Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Export an 'escapeXml' proc from xmldom | Zahary Karadjov | 2018-05-07 | 2 | -8/+15 |
| | | | | The interface is similar to escapeJson | ||||
* | Fix the compilation of terminal.nim on Windows | Zahary Karadjov | 2018-05-07 | 1 | -4/+1 |
| | |||||
* | bugfix: strutils.find was broken for strings with uneven number of chars | Zahary Karadjov | 2018-05-07 | 1 | -248/+284 |
| | | | | | | | | | | | | For some reason, the problem was manifesting only inside the VM, it was detecting an attempt to read past the string end (i.e. the formerly accessible null byte). To catch such errors, strutils now performs static tests too. I've solved the problem by re-implementing the Boyer-Moore algotihm in a cleaner way and I took the opportunity to make some other optimisations to strutils. | ||||
* | The `terminal` module now exports additional procs for generating ANSI color | Zahary Karadjov | 2018-05-07 | 1 | -21/+43 |
| | | | | codes as strings. | ||||
* | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs. | ||||
* | Fixes #7764 (#7767) | Florent | 2018-05-06 | 1 | -0/+4 |
| | | | | | | | | | | * Fixes #7764 * Change KEY_RECORD_EVENT filter * Update terminal.nim * Revert changes and modify readPasswordFromStdIn | ||||
* | options: use isSome (#7782) | alaviss | 2018-05-06 | 1 | -4/+4 |
| | | | Fixes #7780 | ||||
* | pegs: fixes another null accessing bug | Andreas Rumpf | 2018-05-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into araq-parser-fixes | Andreas Rumpf | 2018-05-06 | 59 | -340/+160 |
|\ | |||||
| * | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 54 | -287/+44 |
| | | |||||
| * | Fixes crash in httpclient due to new string indexing rules. | Dominik Picheta | 2018-05-04 | 1 | -1/+1 |
| | | |||||
| * | test binarySearch, fix for search in empty. (#7769) | Arne Döring | 2018-05-04 | 1 | -3/+24 |
| | | |||||
| * | fixes #7766 | Araq | 2018-05-04 | 1 | -0/+2 |
| | | |||||
| * | Disable setTerminate when noCppExceptions is defined (#7751) | Emery Hemingway | 2018-05-04 | 1 | -2/+3 |
| | | |||||
| * | Replace factorial function with a compile time one (#7276) | notTito | 2018-05-04 | 1 | -4/+14 |
| | | | | | | | | | | | | | | | | * Replace factorial function with a compile time one * Fix the indentation * Update | ||||
| * | Deprecate smart binary search (#7745) | Arne Döring | 2018-05-03 | 1 | -15/+19 |
| | | | | | | | | | | | | * deprecate smartBinarySearch * changelog entry | ||||
| * | Merge pull request #7760 from yglukhov/fix-7738 | Dominik Picheta | 2018-05-03 | 1 | -2/+2 |
| |\ | | | | | | | Fixes #7738 | ||||
| | * | Fixes #7738 | Yuriy Glukhov | 2018-05-03 | 1 | -2/+2 |
| | | | |||||
| * | | Merge pull request #7624 from skilchen/fix-issue7620 | Dominik Picheta | 2018-05-03 | 1 | -7/+15 |
| |\ \ | | | | | | | | | there is no hour 0 in am/pm time (see #7620) | ||||
| | * | | there is no hour 0 in am/pm time | skilchen | 2018-04-16 | 1 | -7/+15 |
| | | | | |||||
| * | | | Merge pull request #7694 from SolitudeSF/libssl | Dominik Picheta | 2018-05-03 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | link against libssl.so.45 | ||||
| | * | | | link against libssl.so.45 | SolitudeSF | 2018-04-26 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merges #7700 manually and adds decodePlus option to decodeUrl too. | Dominik Picheta | 2018-05-03 | 1 | -15/+33 |
| | |_|/ | |/| | | |||||
| * | | | Make clearCallbacks() public. (#7753) | Eugene Kabanov | 2018-05-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | fixed high level sendTo for sending to udp6 (#7630) | David Krause | 2018-05-02 | 1 | -3/+2 |
| | | | | |||||
* | | | | warn about inconsistent spacing around binary operators; fixes #7582 | Andreas Rumpf | 2018-05-05 | 5 | -14/+14 |
|/ / / | |||||
* | | | fixes #7749 | Araq | 2018-05-02 | 1 | -1/+1 |
| | | | |||||
* | | | make tests green again | Andreas Rumpf | 2018-05-02 | 1 | -1/+1 |
| | | | |||||
* | | | make 'not nil' experimental | Andreas Rumpf | 2018-05-02 | 2 | -5/+5 |
| | | | |||||
* | | | Merge branch 'araq-strings-v1' into devel | Araq | 2018-04-30 | 17 | -126/+132 |
|\ \ \ | |||||
| * | | | make more tests green | Araq | 2018-04-30 | 2 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'devel' into araq-strings-v1 | Araq | 2018-04-30 | 1 | -9/+9 |
| |\ \ \ | |||||
| * | | | | more fixes for the new string behaviour | Andreas Rumpf | 2018-04-30 | 2 | -12/+10 |
| | | | | | |||||
| * | | | | make more tests green | Andreas Rumpf | 2018-04-30 | 7 | -31/+31 |
| | | | | | |||||
| * | | | | make asyncnet work again | Andreas Rumpf | 2018-04-30 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | make logging module compile again | Andreas Rumpf | 2018-04-30 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | times.nim: don't rely on zero terminator | Andreas Rumpf | 2018-04-29 | 1 | -47/+50 |
| | | | | | |||||
| * | | | | make httpclient work without zero terminators | Andreas Rumpf | 2018-04-29 | 1 | -7/+3 |
| | | | | | |||||
| * | | | | make nre compile again | Andreas Rumpf | 2018-04-29 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | pegs: don't rely on terminating zero | Andreas Rumpf | 2018-04-29 | 1 | -17/+25 |
| | | | | | |||||
| * | | | | critbits: don't rely on terminating zero | Andreas Rumpf | 2018-04-29 | 1 | -3/+4 |
| | | | | | |||||
| * | | | | make more tests green | Andreas Rumpf | 2018-04-29 | 2 | -3/+3 |
| | | | | | |||||
* | | | | | strtabs: fixes stupid typo | Andreas Rumpf | 2018-04-30 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2018-04-30 | 1 | -9/+9 |
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | |||||
| * | | | make VM tests green | Araq | 2018-04-30 | 1 | -9/+9 |
| | | | | |||||
* | | | | uri.nim: don't rely on zero termination | Andreas Rumpf | 2018-04-29 | 1 | -21/+18 |
| | | | | |||||
* | | | | parseopt stdlib module: dont rely on the zero terminator | Andreas Rumpf | 2018-04-29 | 1 | -23/+25 |
| | | | | |||||
* | | | | cgi module: don't depent on the terminating zero | Andreas Rumpf | 2018-04-29 | 1 | -10/+10 |
| | | | | |||||
* | | | | RST package: don't use obsolete toLower proc | Andreas Rumpf | 2018-04-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | parseutils does not depend on the zero terminator anymore | Andreas Rumpf | 2018-04-29 | 1 | -53/+54 |
| | | | |