Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #3474 | Araq | 2015-10-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3442 from Dhertz/devel | Andreas Rumpf | 2015-10-23 | 1 | -8/+32 |
|\ | | | | | Make sure the json module decodes UTF16 correctly | ||||
| * | Add UTF-16 decoding tests to json module | Daniel Hertz | 2015-10-13 | 1 | -3/+7 |
| | | |||||
| * | Make sure the json module decodes UTF16 correctly | Daniel Hertz | 2015-10-13 | 1 | -5/+25 |
| | | | | | | | | | | | | | | Javascript uses UTF-16 as its internal representation of strings, so JSON does so as well. This means that we could have surrogate pairs, with codepoints above 0xFFFF that take 2 ecape codes to decode. | ||||
* | | Merge pull request #3454 from jlp765/osproc | Andreas Rumpf | 2015-10-23 | 1 | -0/+14 |
|\ \ | | | | | | | add simple example for execProcess, exeCmd, execCmdEx | ||||
| * | | add simple example for execProcess, exeCmd, execCmdEx | JamesP | 2015-10-16 | 1 | -0/+14 |
| | | | |||||
* | | | make terminal.nim work with --app:gui | Araq | 2015-10-19 | 1 | -2/+4 |
| | | | |||||
* | | | added poDemon flag for process management | Araq | 2015-10-19 | 1 | -4/+6 |
| | | | |||||
* | | | 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 |
| | | | |||||
* | | | 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 | 10 | -29/+38 |
| | | | |||||
* | | | 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 | 5 | -90/+145 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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/+178 |
| | | | |||||
* | | | 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 | 1 | -35/+168 |
|\ \ \ \ | | | | | | | | | | | Break sequtils | ||||
| * | | | | restore {.immediate.} to toSeq | Peter Mora | 2015-10-06 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | sequtils related changes | Peter Mora | 2015-10-05 | 1 | -36/+169 |
| | | | | | |||||
* | | | | | 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 #3380 from greyanubis/devel | Andreas Rumpf | 2015-10-07 | 1 | -0/+13 |
|\ \ \ \ \ | |/ / / / |/| | | | | Add proc to change an element tag and proc to insert xmlnode child | ||||
| * | | | | added proc to change an element tag and proc to insert xmlnode child | sergey.anufriev | 2015-09-26 | 1 | -0/+13 |
| | | | | | |||||
* | | | | | Merge remote-tracking branch 'origin/devel' into fix-test-failures | Aman Gupta | 2015-10-06 | 16 | -3721/+149 |
|\ \ \ \ \ | |||||
| * | | | | | added critbits.inc proc | Araq | 2015-10-06 | 1 | -0/+8 |
| | | | | | | |||||
| * | | | | | strutils: wrap too long lines | Araq | 2015-10-06 | 1 | -8/+14 |
| | | | | | | |||||
| * | | | | | add assert test to end of module | JamesP | 2015-10-06 | 1 | -6/+9 |
| | | | | | | |||||
| * | | | | | bug fix #3416 add wrapper around `[]=` to account for | JamesP | 2015-10-05 | 1 | -3/+6 |
| | |/ / / | |/| | | | | | | | | | | | | | changes in StringTableRef disabling inc of counter | ||||
| * | | | | Merge pull request #3415 from jlp765/rationals2 | Dominik Picheta | 2015-10-04 | 1 | -0/+62 |
| |\ \ \ \ | | | | | | | | | | | | | rationals add toRational(float) conversion | ||||
| | * | | | | Add toRational(float) conversion from any float to closest | JamesP | 2015-10-04 | 1 | -0/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | approx for specified precision | ||||
| * | | | | | Rename rawsockets module to nativesockets | Adam Strzelecki | 2015-10-03 | 5 | -51/+56 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code. | ||||
| * | | | | Merge pull request #3389 from nanoant/patch/separate-deprecated-modules | Dominik Picheta | 2015-10-03 | 7 | -3661/+0 |
| |\ \ \ \ | | | | | | | | | | | | | Patch/separate deprecated modules |