[dylan-lang/opendylan] 758d9f: [coloring-stream] Start to improve Windows support...

GitHub <[email protected]> Sun, 13 Sep 2015 06:04:28 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55f5745c3ff60_23df3fdff3bc12a016911@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 758d9f5094a42fe78446ca5d622e989c0555812f
      https://github.com/dylan-lang/opendylan/commit/758d9f5094a42fe78446ca5d622e989c0555812f
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M sources/lib/coloring-stream/coloring-stream.dylan
    M sources/lib/coloring-stream/library.dylan
    A sources/lib/coloring-stream/windows-coloring-stream.dylan
    A sources/lib/coloring-stream/windows-coloring-stream.lid
    A sources/registry/x86-win32/coloring-stream

  Log Message:
  -----------
  [coloring-stream] Start to improve Windows support.

* sources/lib/coloring-stream/coloring-stream.dylan
  (coloring-stream-class-for-stream): On Windows, if running under
    ConEmu (like with cmder), return an ANSI stream, otherwise
    return a Windows coloring stream.
  (<windows-coloring-stream>): Define new class to anchor setting
    text attributes on Windows. This is here so that it is available
    everywhere to simplify code in coloring-stream-class-for-stream.

* sources/lib/coloring-stream/library.dylan
  (module coloring-stream-internals): Import $os-name.

* sources/lib/coloring-stream/windows-coloring-stream.dylan
  (print-object): Provide null implementation for now.

* sources/lib/coloring-stream/windows-coloring-stream.lid: Build
  windows-coloring-stream.dylan on Windows so that the implementation
  of print-object is available.

* sources/registry/x86-win32/coloring-stream: Point to the new
  windows-coloring-stream.lid.


  Commit: a19b117f03a86d29a80b49c70803b98853f84596
      https://github.com/dylan-lang/opendylan/commit/a19b117f03a86d29a80b49c70803b98853f84596
  Author: Peter S. Housel <[email protected]>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M sources/lib/coloring-stream/coloring-stream.dylan
    M sources/lib/coloring-stream/library.dylan
    A sources/lib/coloring-stream/windows-coloring-stream.dylan
    A sources/lib/coloring-stream/windows-coloring-stream.lid
    A sources/registry/x86-win32/coloring-stream

  Log Message:
  -----------
  Merge pull request #979 from waywardmonkeys/windows-coloring-stream

[coloring-stream] Start to improve Windows support.


Compare: https://github.com/dylan-lang/opendylan/compare/dab3d41e96dd...a19b117f03a8

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter