summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5044 from endragor/dequesAndreas Rumpf2016-11-283-7/+275
|\ | | | | Added deques module, deprecating queues
| * Added deques module, deprecating queuesRuslan Mustakov2016-11-243-7/+275
| |
* | Corrected test case for #5057.Yuriy Glukhov2016-11-271-3/+3
| |
* | Fixes #5057Yuriy Glukhov2016-11-261-12/+28
|/
* further memtracking improvementsAndreas Rumpf2016-11-241-1/+1
|
* make tests green againAndreas Rumpf2016-11-221-17/+19
|
* better memory trackingAndreas Rumpf2016-11-222-55/+64
|
* Fixes asyncdispatch.all completing its res future more than once.Dominik Picheta2016-11-211-15/+16
|
* json.toUgly also uses optimized string routinesAndreas Rumpf2016-11-211-2/+4
|
* speed up json core moduleAndreas Rumpf2016-11-211-11/+27
|
* first version of the new memory tracking featureAndreas Rumpf2016-11-211-0/+71
|
* Merge pull request #5037 from FedericoCeratto/patch-18Dominik Picheta2016-11-191-0/+7
|\ | | | | Add [un]marshalling examples
| * Add marshal format warningFederico Ceratto2016-11-191-0/+1
| |
| * Add [un]marshalling examplesFederico Ceratto2016-11-191-0/+6
| |
* | Async: Refactors asyncdispatch.poll.Dominik Picheta2016-11-191-31/+22
| |
* | Async: Fixes problem when callbacks add other callbacks.Dominik Picheta2016-11-191-6/+12
| | | | | | | | For context, see http://irclogs.nim-lang.org/19-11-2016.html#19:08:51
* | Async: Further callbacks will no longer be called after an EAGAIN.Dominik Picheta2016-11-191-4/+14
|/ | | | For context, see discussion here https://gitter.im/nim-lang/Nim?at=583090a2df9f0f6e7f576e43 or here http://irclogs.nim-lang.org/19-11-2016.html#17:30:59.
* Fixes #5035Felix Krause2016-11-182-14/+13
|
* fixed typoDavid Krause2016-11-171-1/+1
|
* Merge pull request #5024 from flyx/timesimprovementAndreas Rumpf2016-11-151-42/+64
|\ | | | | Improvements to times.nim
| * Updated times.parse() documentationFelix Krause2016-11-141-3/+6
| |
| * Parse 'Z' as valid timezone if offset is expectedFelix Krause2016-11-141-3/+15
| |
| * Assume local DST iff no timezone is givenFelix Krause2016-11-141-3/+16
| |
| * Improved `-`; fixed testsFelix Krause2016-11-141-18/+15
| | | | | | | | | | | | * added prefix `-` operator for TimeInterval * improved `-` for both TimeInterval and TimeInfo * Fixed a DST test
| * Fixed daylight saving timeFelix Krause2016-11-141-19/+16
| | | | | | | | | | | | | | | | | | * When formatting timezone, substract 1 hour from timezone when isDST * Do not depend DST in current timezone when parsing arbitrary date because formatted timestamps are never in DST. * On the way, removed an unnecessary line in parsing code which could cause bugs. * Added DST tests
* | Merge pull request #5027 from nigredo-tori/descriptor-loggerAndreas Rumpf2016-11-151-5/+13
|\ \ | | | | | | Add newFileLogger overload accepting file descriptor
| * | Add newFileLogger overload accepting file descriptorDmitry Polienko2016-11-151-5/+13
| | |
* | | Use default colors for test and suite namesDmitry Polienko2016-11-151-2/+2
|/ /
* | Merge pull request #5023 from nigredo-tori/fix-5022Dominik Picheta2016-11-141-4/+13
|\ \ | |/ |/| Fix asyncfile in Windows Server 2003
| * Fix asyncfile in Windows Server 2003Dmitry Polienko2016-11-141-4/+13
| | | | | | | | Fixes #5022
* | Fixed timezone rendering, added testFelix Krause2016-11-101-4/+5
| |
* | Fixed timezone sign errorFelix Krause2016-11-081-6/+6
|/ | | | | * This was introduced in recent "cosmetic" fix. Not so cosmetic after all…
* htmlparser: different error correctionsAraq2016-11-071-4/+7
|
* Merge pull request #5002 from goldenreign/time-compare-nosideeffectAndreas Rumpf2016-11-071-5/+5
|\ | | | | Add 'noSideEffect' pragma for Time type's operators. Fixes #4981
| * Fix `-` operator for Time type for JS targetgoldenreign2016-11-071-1/+1
| |
| * Add 'noSideEffect' pragma for Time type's operatorsgoldenreign2016-11-071-4/+4
| |
* | Merge pull request #4984 from flyx/timezonefixAndreas Rumpf2016-11-071-145/+84
|\ \ | | | | | | Fixed timezone handling
| * | More cosmetic changesFelix Krause2016-11-071-20/+11
| | | | | | | | | | | | | | | | | | * Don't use factor var, it's overly complicated * Removed proc that's now unused * Better documented timezone field
| * | Cosmetic fixesFelix Krause2016-11-031-16/+17
| | | | | | | | | | | | | | | | | | * Improved comments * Improved spacing * Use consts instead of magic numbers
| * | Use ISO 8601 format for times.`$`. Fixed tests.Felix Krause2016-11-011-46/+36
| | | | | | | | | | | | | | | | | | * `$` now uses format() with explicit time zone. * Fixed errors in rendering "z", "zz" and "zzz" * Updated tests
| * | Removed tzname because it's brokenFelix Krause2016-11-011-32/+2
| | | | | | | | | | | | | | | | | | | | | * No mapping between TimeInfo.tzname and TimeInfo.timezone * tzname of time.h is not well-defined, may have almost arbitrary length, and localization may differ * Code used hardcoded "UTC" string
| * | Fixed timezone offset parsingFelix Krause2016-11-011-10/+12
| | |
| * | Made times.nim compile again to JSFelix Krause2016-11-011-2/+1
| | |
| * | Fixed timezone handlingFelix Krause2016-11-011-55/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mktime always interprets its input as local time even on systems where gmtoff is present, so using it is utterly useless for anything but getting the local timezone. Removed all other usage of gmtoff to avoid confusion. * Properly handle timezone offset in toTime() * Properly handle timezone offset in `$` because asctime also interprets its input as local time * Also tried to fix the JavaScript implementation
* | | [enh] isUpperAscii*, isLowerAscii* speedup execution by stoppingZajcev Evgeny2016-11-071-4/+6
| |/ |/| | | | | iteration as soon as possible
* | os.nim: posix copyFile showed a weird problem about buffer flushing; worked ↵Andreas Rumpf2016-11-061-0/+1
| | | | | | | | around via flushFile() call
* | htmlparser: support parsing of class=foobar without quotesAndreas Rumpf2016-11-051-0/+4
| |
* | better error handling for osproc.nimAndreas Rumpf2016-11-051-1/+5
| |
* | Merge pull request #4989 from endragor/empty-async-allAndreas Rumpf2016-11-031-0/+7
|\ \ | | | | | | async all() now immediately completes if arg is empty
| * | async all() now immediately completes if arg is emptyRuslan Mustakov2016-11-031-0/+7
| | |