summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Export an 'escapeXml' proc from xmldomZahary Karadjov2018-05-072-8/+15
| | | | The interface is similar to escapeJson
* Fix the compilation of terminal.nim on WindowsZahary Karadjov2018-05-071-4/+1
|
* bugfix: strutils.find was broken for strings with uneven number of charsZahary Karadjov2018-05-071-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 colorZahary Karadjov2018-05-071-21/+43
| | | | codes as strings.
* Better support for treating templates and macros as symbols.Zahary Karadjov2018-05-071-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)Florent2018-05-061-0/+4
| | | | | | | | | | * Fixes #7764 * Change KEY_RECORD_EVENT filter * Update terminal.nim * Revert changes and modify readPasswordFromStdIn
* options: use isSome (#7782)alaviss2018-05-061-4/+4
| | | Fixes #7780
* pegs: fixes another null accessing bugAndreas Rumpf2018-05-061-1/+1
|
* Merge branch 'devel' into araq-parser-fixesAndreas Rumpf2018-05-0659-340/+160
|\
| * remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-0554-287/+44
| |
| * Fixes crash in httpclient due to new string indexing rules.Dominik Picheta2018-05-041-1/+1
| |
| * test binarySearch, fix for search in empty. (#7769)Arne Döring2018-05-041-3/+24
| |
| * fixes #7766Araq2018-05-041-0/+2
| |
| * Disable setTerminate when noCppExceptions is defined (#7751)Emery Hemingway2018-05-041-2/+3
| |
| * Replace factorial function with a compile time one (#7276)notTito2018-05-041-4/+14
| | | | | | | | | | | | | | | | * Replace factorial function with a compile time one * Fix the indentation * Update
| * Deprecate smart binary search (#7745)Arne Döring2018-05-031-15/+19
| | | | | | | | | | | | * deprecate smartBinarySearch * changelog entry
| * Merge pull request #7760 from yglukhov/fix-7738Dominik Picheta2018-05-031-2/+2
| |\ | | | | | | Fixes #7738
| | * Fixes #7738Yuriy Glukhov2018-05-031-2/+2
| | |
| * | Merge pull request #7624 from skilchen/fix-issue7620Dominik Picheta2018-05-031-7/+15
| |\ \ | | | | | | | | there is no hour 0 in am/pm time (see #7620)
| | * | there is no hour 0 in am/pm timeskilchen2018-04-161-7/+15
| | | |
| * | | Merge pull request #7694 from SolitudeSF/libsslDominik Picheta2018-05-031-1/+1
| |\ \ \ | | | | | | | | | | link against libssl.so.45
| | * | | link against libssl.so.45SolitudeSF2018-04-261-1/+1
| | | | |
| * | | | Merges #7700 manually and adds decodePlus option to decodeUrl too.Dominik Picheta2018-05-031-15/+33
| | |_|/ | |/| |
| * | | Make clearCallbacks() public. (#7753)Eugene Kabanov2018-05-031-1/+1
| | | |
| * | | fixed high level sendTo for sending to udp6 (#7630)David Krause2018-05-021-3/+2
| | | |
* | | | warn about inconsistent spacing around binary operators; fixes #7582Andreas Rumpf2018-05-055-14/+14
|/ / /
* | | fixes #7749Araq2018-05-021-1/+1
| | |
* | | make tests green againAndreas Rumpf2018-05-021-1/+1
| | |
* | | make 'not nil' experimentalAndreas Rumpf2018-05-022-5/+5
| | |
* | | Merge branch 'araq-strings-v1' into develAraq2018-04-3017-126/+132
|\ \ \
| * | | make more tests greenAraq2018-04-302-2/+2
| | | |
| * | | Merge branch 'devel' into araq-strings-v1Araq2018-04-301-9/+9
| |\ \ \
| * | | | more fixes for the new string behaviourAndreas Rumpf2018-04-302-12/+10
| | | | |
| * | | | make more tests greenAndreas Rumpf2018-04-307-31/+31
| | | | |
| * | | | make asyncnet work againAndreas Rumpf2018-04-301-1/+1
| | | | |
| * | | | make logging module compile againAndreas Rumpf2018-04-301-1/+1
| | | | |
| * | | | times.nim: don't rely on zero terminatorAndreas Rumpf2018-04-291-47/+50
| | | | |
| * | | | make httpclient work without zero terminatorsAndreas Rumpf2018-04-291-7/+3
| | | | |
| * | | | make nre compile againAndreas Rumpf2018-04-291-4/+4
| | | | |
| * | | | pegs: don't rely on terminating zeroAndreas Rumpf2018-04-291-17/+25
| | | | |
| * | | | critbits: don't rely on terminating zeroAndreas Rumpf2018-04-291-3/+4
| | | | |
| * | | | make more tests greenAndreas Rumpf2018-04-292-3/+3
| | | | |
* | | | | strtabs: fixes stupid typoAndreas Rumpf2018-04-301-1/+1
| | | | |
* | | | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-04-301-9/+9
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | make VM tests greenAraq2018-04-301-9/+9
| | | |
* | | | uri.nim: don't rely on zero terminationAndreas Rumpf2018-04-291-21/+18
| | | |
* | | | parseopt stdlib module: dont rely on the zero terminatorAndreas Rumpf2018-04-291-23/+25
| | | |
* | | | cgi module: don't depent on the terminating zeroAndreas Rumpf2018-04-291-10/+10
| | | |
* | | | RST package: don't use obsolete toLower procAndreas Rumpf2018-04-291-1/+1
| | | |
* | | | parseutils does not depend on the zero terminator anymoreAndreas Rumpf2018-04-291-53/+54
| | | |