Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | documentation improvements; system.nim docs adapted to unix's braindead idea ↵ | Araq | 2015-10-21 | 1 | -8/+0 |
| | | | | of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either | ||||
* | fixes wrong doc comments | Araq | 2015-10-19 | 1 | -4/+4 |
| | |||||
* | make terminal.nim work with --app:gui | Araq | 2015-10-19 | 1 | -2/+4 |
| | |||||
* | createThread is more convenient to use with a proc taking no arguments | Araq | 2015-10-19 | 1 | -0/+3 |
| | |||||
* | added poDemon flag for process management | Araq | 2015-10-19 | 2 | -4/+8 |
| | |||||
* | add example to proc headings for | JamesP | 2015-10-19 | 1 | -2/+42 |
| | | | | addr, and, or, xor, div, mod, shl, cmp, setLen | ||||
* | terminal: Support both styled stdout and stderr | Adam Strzelecki | 2015-10-16 | 1 | -118/+189 |
| | | | | | | | | | | | | 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). | ||||
* | terminal: Remove superflous hStdout = conHandle | Adam Strzelecki | 2015-10-16 | 1 | -17/+13 |
| | | | | Use just hStdout on Windows to keep handle to process stdout. | ||||
* | Merge pull request #3437 from nim-lang/threadpool-isready | Andreas Rumpf | 2015-10-15 | 1 | -0/+11 |
|\ | | | | | Implement isReady procedure in threadpool module. | ||||
| * | Implement isReady procedure in threadpool module. | Dominik Picheta | 2015-10-12 | 1 | -0/+11 |
| | | |||||
* | | Avoid extra copy in JS when inserting. | Yuriy Glukhov | 2015-10-15 | 1 | -1/+1 |
| | | |||||
* | | Fixed ret by var in js | Yuriy Glukhov | 2015-10-15 | 2 | -4/+11 |
| | | |||||
* | | add {.pop.} for {.push debugger:off.} to balance push/pop | JamesP | 2015-10-14 | 1 | -1/+3 |
| | | |||||
* | | updated httpclient to use tables.getOrDefault | Araq | 2015-10-14 | 1 | -7/+7 |
| | | |||||
* | | Merge branch 'devel' of https://github.com/nim-lang/Nim into devel | Araq | 2015-10-13 | 2 | -1/+95 |
|\ \ | |||||
| * | | added all/any/allIt/anyIt with tests and inline documentation | rbmz | 2015-10-13 | 1 | -0/+93 |
| |/ | | | | | | | Signed-off-by: rbmz <rbmz@users.noreply.github.com> | ||||
| * | Merge pull request #3335 from SSPkrolik/teardown-move | Andreas Rumpf | 2015-10-12 | 1 | -1/+2 |
| |\ | | | | | | | Moved teardown call to try block for namespace access reasons | ||||
| | * | Moved teardown call to try block for namespace access reasons | Rostyslav Dzinko | 2015-09-17 | 1 | -1/+2 |
| | | | |||||
* | | | udpated the compiler and tester to use getOrDefault | Araq | 2015-10-13 | 13 | -40/+59 |
| | | | |||||
* | | | added getOrDefault; bootstrapping works again | Araq | 2015-10-13 | 4 | -34/+46 |
| | | | |||||
* | | | Merge branch 'mget' of https://github.com/def-/Nim into def--mget | Araq | 2015-10-13 | 5 | -57/+125 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim | ||||
| * | | Rename mget to `[]` | def | 2015-03-31 | 6 | -91/+146 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string | ||||
* | | | logging.nim: expose underlying 'file' object; errors and fatals flush the ↵ | Araq | 2015-10-12 | 1 | -10/+13 |
| | | | | | | | | | | | | buffer; refs #3270 | ||||
* | | | docs now build again | Araq | 2015-10-12 | 2 | -2/+0 |
| | | | |||||
* | | | Merge pull request #3432 from FedericoCeratto/patch-4 | Andreas Rumpf | 2015-10-12 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | Export substituteLog | ||||
| * | | | Add substituteLog docs | Federico Ceratto | 2015-10-09 | 1 | -0/+2 |
| | | | | |||||
| * | | | Export substituteLog | Federico Ceratto | 2015-10-09 | 1 | -1/+1 |
| | | | | | | | | | | | | Allow Nim users to create their own loggers | ||||
* | | | | Merge pull request #3423 from petermora/breakSequtils | Andreas Rumpf | 2015-10-12 | 2 | -82/+168 |
|\ \ \ \ | | | | | | | | | | | Break sequtils | ||||
| * | | | | restore {.immediate.} to toSeq | Peter Mora | 2015-10-06 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | sequtils related changes | Peter Mora | 2015-10-05 | 2 | -83/+169 |
| | | | | | |||||
* | | | | | Merge branch 'gc-fixes' of https://github.com/rbehrends/Nim into ↵ | Araq | 2015-10-12 | 3 | -42/+74 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | rbehrends-gc-fixes | ||||
| * | | | | | Remove spurious unsigned operations from system/threads.nim. | Reimer Behrends | 2015-09-08 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These operations were included before the unsigned module was incorporated directly into system.nim and subsequently caused compilation errors with --gc:go due to duplicate definitions. | ||||
| * | | | | | Properly register threads with the Boehm GC. | Reimer Behrends | 2015-09-08 | 3 | -38/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to scan thread stacks, the Boehm GC needs to know about newly created threads. We establish the end of the stack by using GC_call_with_stack_base (this works properly also with the dual-stack Itanium architecture) and then GC_register_my_thread() to register a thrad and GC_unregister_my_thread() to unregister it again. This patch also includes a modification for the refc and markandsweep collectors to set the stack bottom for thread stacks correctly even if an optimizer aggressively inlines and optimizes procedures (this is already being done for the stack of the main thread). Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm API uses no specific calling convention. | ||||
| * | | | | | Properly initialize the Boehm GC on all platforms. | Reimer Behrends | 2015-09-06 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | cleaned up ospaths module | Araq | 2015-10-12 | 1 | -19/+27 |
| | | | | | | |||||
* | | | | | | Made strutils string test procs less redundant. | Joey Payne | 2015-10-10 | 1 | -49/+49 |
| | | | | | | |||||
* | | | | | | Added tests for string test procs. | Joey Payne | 2015-10-10 | 1 | -0/+52 |
| | | | | | | |||||
* | | | | | | Changed alphanumeric check to "or" instead of "and". | Joey Payne | 2015-10-10 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Added useful procs to strutils for string testing. | Joey Payne | 2015-10-09 | 1 | -0/+126 |
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added procs: isAlpha isAlphaNumeric isDigit isSpace isUpper isLower | ||||
* | | | | | Merge pull request #3425 from jlp765/hashes1 | Dominik Picheta | 2015-10-08 | 1 | -4/+70 |
|\ \ \ \ \ | | | | | | | | | | | | | added hash procs for handling portions of strings/arrays/seqs. | ||||
| * | | | | | added hash procs for handling portions of strings/arrays/seqs. | JamesP | 2015-10-07 | 1 | -4/+70 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added tests at bottom of file changed some doco layout Makes hashing iteratively through buffers faster when you don't have to pass copied portions of the buffer to the hash function | ||||
* | | | | | | osproc: fixes a long standing buffering bug on Windows | Araq | 2015-10-07 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | fixes regression | Araq | 2015-10-07 | 1 | -3/+3 |
| | | | | | | |||||
* | | | | | | Merge pull request #3314 from haiodo/emscripten-support | Andreas Rumpf | 2015-10-07 | 2 | -9/+58 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Emscripten support | ||||
| * \ \ \ \ \ | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-10-06 | 18 | -61/+150 |
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | |||||
| * | | | | | | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-10-01 | 4 | -13/+18 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-09-30 | 8 | -42/+315 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-09-29 | 1 | -0/+10 |
| |\ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-09-28 | 2 | -1/+67 |
| |\ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ | Merge remote-tracking branch 'nim-lang/devel' into emscripten-support | Andrey Sobolev | 2015-09-25 | 1 | -0/+25 |
| |\ \ \ \ \ \ \ \ \ \ |