summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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 #5009 from flyx/timezonefix2Andreas Rumpf2016-11-141-7/+8
|\ | | | | Fixed timezone sign error
| * 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…
* | Merge pull request #5011 from yglukhov/opensll-androidDominik Picheta2016-11-091-3/+6
|\ \ | |/ |/| Fixed openssl for android
| * Fixed openssl for androidYuriy Glukhov2016-11-091-3/+6
| |
* | Merge pull request #4994 from arnetheduck/nim-check-abiAndreas Rumpf2016-11-081-0/+4
|\ \ | |/ |/| add a simple sizeof checker to compare nim & c types
| * abi check: prefer nim constant to enable, documentJacek Sieka2016-11-031-6/+2
| |
| * add a simple sizeof checker to compare nim & c typesJacek Sieka2016-11-031-0/+8
| |
* | 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
| | |
* | | Merge pull request #4970 from nigredo-tori/fix-4969Dominik Picheta2016-11-022-20/+47
|\ \ \ | |/ / |/| | Fix problems with persistent HTTP connections
| * | Implement suggestions from @dom96Dmitry Polienko2016-11-022-20/+19
| | |
| * | Don't persist generated headers between requestsDmitry Polienko2016-10-311-11/+32
| | |
| * | Skip empty lines before status lineDmitry Polienko2016-10-311-7/+14
| | | | | | | | | | | | As recommended here: https://tools.ietf.org/html/rfc7230#section-3.5
* | | Update parsecfg.nimlihf85152016-11-021-4/+10
| | | | | | | | | Value includes double quotation marks.
* | | added description to fmWrite mode to be more exactVladislav2016-11-011-0/+2
| |/ |/|
* | change TimeImpl for MingWAraq2016-11-011-1/+1
| |
* | fixes bootstrappingAraq2016-11-011-2/+5
| |
* | Merge pull request #4980 from jlp765/tostringAndreas Rumpf2016-11-011-1/+2
|\ \ | | | | | | Add nill value handling for seq/sets to system.CollectionToString()
| * | Add nill value handling for seq/setsjlp7652016-11-011-1/+2
| |/
* | Fixes #4974Felix Krause2016-10-311-9/+15
| |
* | updated development versionAraq2016-10-312-6/+6
|/
* Merge pull request #4964 from jangko/orderedtable_initialsizeAndreas Rumpf2016-10-271-1/+1
|\ | | | | fixes #4940
| * fixes #4940andri lim2016-10-271-1/+1
| |
* | fixes #4915andri lim2016-10-271-4/+4
|/
* fixed == and cmp to work on nimvmArne Döring2016-10-261-25/+33
|
* Fixes #4959.Dominik Picheta2016-10-261-0/+10
|
* Mark socketError as gcsafeYuriy Glukhov2016-10-261-1/+1
|
* Fixes #4946Felix Krause2016-10-241-0/+1
|
* Merge pull request #4888 from arnetheduck/mmap-fixesAndreas Rumpf2016-10-241-3/+10
|\ | | | | add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc
| * add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc (see fe36254)Jacek Sieka2016-10-121-3/+10
| |
* | Merge pull request #4924 from nigredo-tori/fix-4917Andreas Rumpf2016-10-241-9/+47
|\ \ | | | | | | Make createDir return discardable bool
| * | Improve as previously discussedDmitry Polienko2016-10-221-11/+21
| | | | | | | | | | | | Better name for exposed primitive function, checks for pre-existing files