summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* json.nim: delete should raise KeyError, not IndexError, minor cleanup of the ↵Araq2018-05-201-4/+4
| | | | tests
* binarySearch improvements (#7850)Dmitry Atamanov2018-05-201-14/+36
|
* Merge pull request #7843 from koranza/develDominik Picheta2018-05-201-1/+3
|\ | | | | os.findExe: check string lengths to avoid index out of bound
| * remove unneeded check on lengthkoranza2018-05-191-1/+1
| |
| * check string lengths to avoid index out of boundkoranza2018-05-181-2/+4
| |
* | Fixes #6832 (#7813)Dmitry Atamanov2018-05-191-1/+3
| | | | | | Fixes #6832
* | added experimental undokumented std/varints moduleAndreas Rumpf2018-05-191-0/+145
|/
* Fixes CritBitTree.inc's bug (#7838)Dmitry Atamanov2018-05-181-4/+14
| | | | | | * Fixes CritBitTree.inc's bug * Update changelog
* move parsejson logic into its own standard lib moduleAraq2018-05-182-505/+547
|
* keep unicode.nim warning freeAraq2018-05-181-4/+4
|
* keep algorithm.nim warning freeAraq2018-05-181-6/+6
|
* Fixes factorial's bugdata-man2018-05-171-1/+12
|
* Merge branch 'devel' into araq-big-refactoringAraq2018-05-151-0/+3
|\
| * fixes #7817Araq2018-05-141-0/+3
| |
* | fixes testament compilationAraq2018-05-1410-286/+374
|\|
| * Adds TextAreaElement type.Dominik Picheta2018-05-141-1/+7
| |
| * Adds onpopstate and proc related to Events to dom module.Dominik Picheta2018-05-141-0/+3
| |
| * Minor fixes to enable tccGanesh Viswanathan2018-05-142-3/+3
| |
| * Better db_sqlite errors when db_sqlite not connected.Dominik Picheta2018-05-131-0/+3
| |
| * Add connectUnix and bindUnix to net docsMathias Stearn2018-05-091-1/+1
| | | | | | fixes #7715
| * Modify hash for HashSet to use `xor` to mix hash of items.Lolo Iccl2018-05-091-5/+2
| |
| * Modify previous commit and add testsLolo Iccl2018-05-091-2/+5
| |
| * Modify previous commitLolo Iccl2018-05-091-4/+8
| | | | | | | | | | Modify previous commit to use data[h].hcode in proc hash for HashSet and for OrderedSet.
| * Add proc hash for HashSet and for OrderedSetLolo Iccl2018-05-091-0/+10
| | | | | | | | close #7772
| * 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.
* | docgen compiles againAndreas Rumpf2018-05-111-2/+2
|/
* 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
| | | |