summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Fixed TimeInterval bug.Dominik Picheta2016-01-081-6/+9
|
* Fixed ttime test. Improved docs in times module.Dominik Picheta2016-01-081-3/+16
|
* Merge branch 'times_intervals' of https://github.com/jlp765/Nim into ↵Dominik Picheta2016-01-081-22/+130
|\ | | | | | | jlp765-times_intervals
| * add timeinterval helping functions as per issue #3609JamesP2015-12-081-22/+130
| | | | | | | | | | | | | | | | | | | | add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
* | Lexbase compatible with JSYuriy Glukhov2016-01-061-6/+19
| |
* | Fixes docgen for lib/pure/db_common.nim.Dominik Picheta2016-01-051-1/+3
| | | | | | | | See http://forum.nim-lang.org/t/1916.
* | osproc fix for AndroidYuriy Glukhov2016-01-041-2/+2
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develDominik Picheta2015-12-292-3/+3
|\ \
| * \ Merge pull request #3663 from def-/netbsd-fixDominik Picheta2015-12-251-2/+2
| |\ \ | | | | | | | | Fix osproc compilation on NetBSD, use workaround for missing execvpe
| | * | Fix osproc compilation on NetBSD, use workaround for missing execvpedef2015-12-231-2/+2
| | | |
| * | | Fix nativesockets compilation on OpenBSD and NetBSDdef2015-12-231-1/+1
| |/ /
* / / Fixes incorrect Host header when using httpclient with proxy.Dominik Picheta2015-12-291-5/+5
|/ /
* | profiling doesn't require call to enableProfilingAndreas Rumpf2015-12-181-0/+1
| |
* | modified the integrated profiler to hopefully produce more reliable resultsAndreas Rumpf2015-12-181-11/+26
| |
* | added more column information fieldsAndreas Rumpf2015-12-171-1/+6
| |
* | big update for the db*.nim modules; uses new db_common.nimAndreas Rumpf2015-12-161-0/+96
| |
* | Fixing too many open files on quit command with an explicit socket close, ↵qio-io2015-12-131-5/+5
| | | | | | | | and importing the net module
* | Fixed getAddrInfo on androidYuriy Glukhov2015-12-081-1/+2
|/
* Merge pull request #3570 from juanfra684/patch-1Dominik Picheta2015-12-041-1/+3
|\ | | | | OpenBSD doesn't support AI_V4MAPPED
| * OpenBSD doesn't support AI_V4MAPPEDJuan Francisco Cantero Hurtado2015-11-231-1/+3
| | | | | | Related to #3534
* | Fix typo, minor rephrasing.Federico Ceratto2015-12-031-2/+2
| |
* | Closes: #3611Federico Ceratto2015-12-021-16/+25
| |
* | Add comment at end of file on where to find further testsJamesP2015-12-011-0/+3
| |
* | Removal of tests from times module, that have been moved to ttime.nim test fileJamesP2015-12-011-116/+4
| |
* | fixes memory leak for getAppFilename on WindowsAraq2015-11-261-1/+1
| |
* | Merge pull request #3594 from theduke/unicode-validate-overlongAndreas Rumpf2015-11-261-0/+1
|\ \ | | | | | | validateUtf8: catch overlong ascii
| * | validateUtf8: catch overlong asciitheduke2015-11-261-0/+1
| | | | | | | | | Make unicode.validateUtf8() check for overlong ascii representations, which are 2 bytes long and start with c0 or c1.
* | | fixed float formatting for jsYuriy Glukhov2015-11-261-24/+39
|/ /
* | Fix options module to use new import namedef2015-11-231-2/+2
| |
* | Update comment about `map` being in system moduledef2015-11-231-6/+3
|/
* Fix loop index bug in scan for a[s] in b[s..s+len2-1].Charles Blake2015-11-191-1/+1
| | | | | | a, b must both be indexed starting from s after the common prefix "strip" phase. This resolves issue 3477: https://github.com/nim-lang/Nim/issues/3477
* Prevent Exported C procedure collisionsVarriount2015-11-111-2/+2
| | | Prevents collisions between those C externalized procedures in parseopt and parseopt2.
* fixes newly introduced oswalkdir moduleAraq2015-11-101-3/+14
|
* added oswalkdir.nim for the JS targetAraq2015-11-101-0/+16
|
* os.walkDir is available at compile timeAraq2015-11-101-41/+49
|
* added prefix matching to critbits.nimAraq2015-11-101-16/+24
|
* Fix osproc.closewt2015-11-101-3/+4
|
* Merge pull request #3504 from Matt14916/xmlparser-entitiesDominik Picheta2015-11-081-11/+18
|\ | | | | Create entity nodes with xmlparser, add a test to xmlparser
| * Add a test to xmlparserMatt Sullivan2015-10-311-12/+19
| |
| * Create entity nodes with xmlparserMatt Sullivan2015-10-301-1/+1
| |
* | Merge pull request #3490 from oderwat/osx-libiconvAndreas Rumpf2015-11-011-10/+4
|\ \ | | | | | | Removed libiconv prefix (on OS X) to make encodings compile on OS X.
| * | Removed libiconv prefix (on OS X) to make encodings compile on OS X.Hans Raaf2015-10-281-10/+4
| |/ | | | | | | | | | | | | | | I am not sure since which version OS X does include the libiconv library without the `lib` prefix. But it seems this is the case for some years now. If there are ways to check for the OS X version at compile time this may be needed to support older OS X versions. But I guess thats not needed for most users working with Nim anyway.
* | Use nanoseconds for timeouts less than 1 second on Mac OS X.Dominik Picheta2015-11-011-1/+3
| |
* | Fix poll's timeout for Mac OS X in the seletors module.Dominik Picheta2015-11-011-1/+1
|/
* Merge branch 'devel'Dominik Picheta2015-10-2796-7472/+7571
|\
| * added an assertionAraq2015-10-271-1/+3
| |
| * fixes #3474Araq2015-10-251-1/+1
| |
| * Merge pull request #3442 from Dhertz/develAndreas Rumpf2015-10-231-8/+32
| |\ | | | | | | Make sure the json module decodes UTF16 correctly
| | * Add UTF-16 decoding tests to json moduleDaniel Hertz2015-10-131-3/+7
| | |
| | * Make sure the json module decodes UTF16 correctlyDaniel Hertz2015-10-131-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.