Nim/lib/pure
Adam Strzelecki 2bc6acc808 terminal: Support both styled stdout and stderr
This is important if we want to write styled diagnostics to stderr, eg. some
tool outputting results to stdout, but writing styled error messages to stderr.

Previously this module was assuming we are writing only to stdout. Now all
module procs take file handle as first argument. Wrappers assuming stdout are
provided for backwards compatibility.

The new terminal.styledWriteLine(f, args) is provided and documented as
counterpart for unstyled plain writeLine(f, args).
2015-10-16 20:55:17 +02:00
..
collections Merge branch 'devel' of https://github.com/nim-lang/Nim into devel 2015-10-13 15:54:33 +02:00
concurrency Implement isReady procedure in threadpool module. 2015-10-12 23:05:41 +01:00
unidecode lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
algorithm.nim Fixed algorithm.reversed to work for empty seq's. 2015-08-14 15:14:56 +02:00
asyncdispatch.nim fixes regression 2015-10-07 10:03:45 +02:00
asyncdispatch.nim.cfg Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
asyncfile.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
asyncftpclient.nim Added examples to asyncftpclient module. 2015-09-17 22:45:30 +01:00
asynchttpserver.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
asyncnet.nim Rename rawsockets module to nativesockets 2015-10-03 19:45:41 +02:00
base64.nim Added examples and more docs to base64 module. 2015-09-17 20:44:16 +01:00
basic2d.nim mark code-blocks in 2d/3d docs 2015-09-20 18:24:49 -07:00
basic3d.nim mark code-blocks in 2d/3d docs 2015-09-20 18:24:49 -07:00
browsers.nim Fix a few more warnings 2015-02-17 02:22:30 +01:00
cgi.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
colors.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
complex.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
cookies.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
coro.nim only compile coro.nim by avoiding "when isMainModule" string match in 2015-10-02 18:56:57 -07:00
coro.nimcfg fix test failure in coro.nim 2015-10-01 12:05:45 -07:00
dynlib.nim Trim trailling spaces 2015-06-26 07:42:58 +03:00
encodings.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
endians.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
etcpriv.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
events.nim Fixed my name. 2015-09-07 19:51:52 -05:00
fenv.nim Fix fenv.fpRadix 2015-03-24 03:36:34 +01:00
fsmonitor.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
future.nim fixing TypelessParam warning in x=>x+1, added test 2015-09-22 18:34:43 +02:00
gentabs.nim lib/pure/e-o - Dropped 'T' from types 2015-06-04 13:18:35 +02:00
hashes.nim added hash procs for handling portions of strings/arrays/seqs. 2015-10-07 13:03:31 +10:00
htmlgen.nim Turn some test outputs into actual tests 2015-04-21 15:59:32 +03:00
htmlparser.nim minor doc updates 2015-07-01 15:40:29 +02:00
httpclient.nim updated httpclient to use tables.getOrDefault 2015-10-14 00:41:04 +02:00
httpserver.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
json.nim Transparently coerce int to float in JsonNode.getFNum 2015-09-17 17:54:01 +03:00
lexbase.nim fixes #2429 2015-07-01 15:47:15 +02:00
logging.nim logging.nim: expose underlying 'file' object; errors and fatals flush the buffer; refs #3270 2015-10-12 21:08:44 +02:00
marshal.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
matchers.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
math.nim fix float comparision failure in math tests 2015-10-02 18:34:04 -07:00
md5.nim docs now build again 2015-10-12 20:58:46 +02:00
memfiles.nim Bug fix: change non-fmRead file mode to set GENERIC_READ or GENERIC_WRITE 2015-09-24 09:04:55 +10:00
mersenne.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
mimetypes.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
nativesockets.nim Merge remote-tracking branch 'origin/devel' into fix-test-failures 2015-10-06 11:06:41 -07:00
net.nim Rename rawsockets module to nativesockets 2015-10-03 19:45:41 +02:00
nimprof.nim renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
nimprof.nim.cfg Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
numeric.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
oids.nim Added == operator for comparing two Object IDs 2015-09-08 11:16:22 +03:00
options.nim Extend option functionality 2015-09-23 08:52:51 -07:00
os.nim os.walkDir supports yielding relative paths 2015-09-29 19:30:44 +02:00
ospaths.nim cleaned up ospaths module 2015-10-12 16:55:23 +02:00
osproc.nim osproc: fixes a long standing buffering bug on Windows 2015-10-07 10:03:46 +02:00
parsecfg.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
parsecsv.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
parseopt.nim docs now build again 2015-10-12 20:58:46 +02:00
parseopt2.nim Fix typos 2015-02-15 16:20:32 +00:00
parsesql.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
parseutils.nim fixes #2909 2015-06-15 00:56:20 +02:00
parsexml.nim fixes regression in XML parsing 2015-07-15 22:00:44 +02:00
pegs.nim renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
poly.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
rationals.nim Add toRational(float) conversion from any float to closest 2015-10-04 15:58:02 +10:00
redis.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
romans.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
ropes.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
scgi.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
securehash.nim documentation generator emits configurable html for code listings 2015-07-14 01:37:09 +02:00
selectors.nim selectors: Cleanup a bit epoll flavor 2015-09-29 19:28:10 +02:00
smtp.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
smtp.nim.cfg Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
streams.nim use const instead of let 2015-09-30 09:49:22 -04:00
strtabs.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
strutils.nim add {.pop.} for {.push debugger:off.} to balance push/pop 2015-10-14 09:11:19 +10:00
subexes.nim remove trailing whitespace requirement from subexes test file 2015-10-02 18:08:23 -07:00
terminal.nim terminal: Support both styled stdout and stderr 2015-10-16 20:55:17 +02:00
times.nim Example: add extra getGmTime interval addition example 2015-09-10 19:29:26 +10:00
typetraits.nim Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
unicode.nim fixesunicode.lastRune 2015-09-29 19:30:44 +02:00
unittest.nim Moved teardown call to try block for namespace access reasons 2015-09-17 13:11:51 +03:00
uri.nim Fixes #3207. 2015-09-28 23:04:17 +01:00
xmldom.nim Clean up returns in xmldom a bit 2015-03-24 03:47:12 +01:00
xmldomparser.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
xmlparser.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
xmltree.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00