summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Faster binary gcd algorithm (#7849)Koki Fushimi2018-05-261-2/+30
| | | | | | | | | | | | * Faster binary gcd algorithm. * Use built in countTrailingZeroBits to calculate gcd. * Add definitions of gcd for integers and other types. * Unified signed case and unsinged case in one proc by using when syntax. * Change to faster one.
* Fixes for parseUntil when until.len == 0 (or nil)data-man2018-05-251-0/+3
|
* Hide readAll from js for tests passingdata-man2018-05-251-13/+14
|
* Fixes streams bugsdata-man2018-05-251-3/+3
|
* Fixes #7877data-man2018-05-251-1/+0
|
* Fixes #7877data-man2018-05-251-6/+8
|
* Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-15/+7
|
* Rstgen/xml tree fixes (#7823)Dominik Picheta2018-05-231-10/+16
| | | | | | | | | | | | | * Don't prefix lang names with "lang" in rstgen. * Implements ability to render xmltree w/o \n. Fixes <> for `data-*` attrs. * Various rstgen fixes. * Fixes security vulnerabilities due to not escaping some code. * Adds <video> support and improve `.. image:: ` directive. * Adds comment as requested.
* Fixes binarySearch's bugdata-man2018-05-231-2/+2
|
* binarySearch became even betterdata-man2018-05-231-6/+10
|
* Fixes pegs bugs, continuedata-man2018-05-231-12/+22
|
* Fixes pegs bugsdata-man2018-05-231-11/+11
|
* Faster binarySearchdata-man2018-05-231-0/+6
|
* Patch the PEG library to work with the JS backend (#7866)Tyler2018-05-231-8/+12
| | | * Added compiler check on transformFile
* hotfix: fixes SSL initialization for httpclient with --threads:on (#7863)Andreas Rumpf2018-05-221-20/+18
| | | | * hotfix: fixes SSL initialization for httpclient with --threads:on
* 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
|
* remove unneeded check on lengthkoranza2018-05-191-1/+1
|
* check string lengths to avoid index out of boundkoranza2018-05-181-2/+4
|
* 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
|
* fixes #7817Araq2018-05-141-0/+3
|
* Minor fixes to enable tccGanesh Viswanathan2018-05-141-1/+1
|
* 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.
* 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-0653-329/+153
|\
| * remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-0551-279/+43
| |
| * 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
| |
| * 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
| | | |
| * | | 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
| | |