summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Updated times.parse() documentationFelix Krause2016-11-141-3/+6
|
* Parse 'Z' as valid timezone if offset is expectedFelix Krause2016-11-142-3/+19
|
* Assume local DST iff no timezone is givenFelix Krause2016-11-141-3/+16
|
* Improved `-`; fixed testsFelix Krause2016-11-142-20/+17
| | | | | | * added prefix `-` operator for TimeInterval * improved `-` for both TimeInterval and TimeInfo * Fixed a DST test
* Fixed daylight saving timeFelix Krause2016-11-142-20/+38
| | | | | | | | | * 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-142-7/+20
|\ | | | | Fixed timezone sign error
| * Fixed timezone rendering, added testFelix Krause2016-11-102-4/+17
| |
| * 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 #5008 from apahl/patch-2Andreas Rumpf2016-11-081-0/+1
|\ \ \ | |_|/ |/| | added dist/ to .gitignore
| * | added dist/ to .gitignoreAxel Pahl2016-11-081-0/+1
|/ / | | | | | | When using `./koch tools`, the directory `dist/` is generated (it contains the `nimble` sources). The `dist` directory was added to .gitignore.
* | Merge pull request #4994 from arnetheduck/nim-check-abiAndreas Rumpf2016-11-083-1/+21
|\ \ | | | | | | add a simple sizeof checker to compare nim & c types
| * | add primitive type abi checkJacek Sieka2016-11-031-2/+11
| | |
| * | abi check: prefer nim constant to enable, documentJacek Sieka2016-11-033-7/+7
| | |
| * | add a simple sizeof checker to compare nim & c typesJacek Sieka2016-11-032-1/+12
| | |
* | | Merge pull request #5006 from apahl/patch-1Andreas Rumpf2016-11-081-0/+1
|\ \ \ | |_|/ |/| | Update .gitignore
| * | Update .gitignoreAxel Pahl2016-11-081-0/+1
|/ / | | | | | | Update .gitignore to reflect the new target dir of the generated documentation. `./koch doc` now writes the documentation to `doc/html/...`
* | htmlparser: different error correctionsAraq2016-11-071-4/+7
| |
* | Merge pull request #5002 from goldenreign/time-compare-nosideeffectAndreas Rumpf2016-11-072-5/+16
|\ \ | | | | | | 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-072-4/+15
| | |
* | | Merge pull request #4984 from flyx/timezonefixAndreas Rumpf2016-11-073-197/+153
|\ \ \ | | | | | | | | 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
| * | | Improved news formattingFelix Krause2016-11-011-3/+3
| | | |
| * | | info about TimeInfo.tzname in newsFelix Krause2016-11-011-1/+3
| | | |
| * | | Use ISO 8601 format for times.`$`. Fixed tests.Felix Krause2016-11-012-97/+102
| | | | | | | | | | | | | | | | | | | | | | | | * `$` 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-012-44/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | Merge pull request #5003 from zevlg/strutils-enhAndreas Rumpf2016-11-071-4/+6
|\ \ \ \ | | | | | | | | | | [enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
| * | | | [enh] isUpperAscii*, isLowerAscii* speedup execution by stoppingZajcev Evgeny2016-11-071-4/+6
| | |/ / | |/| | | | | | | | | | iteration as soon as possible
* / | | fixes #4975Araq2016-11-071-2/+2
|/ / /
* | | never was documented anywayAraq2016-11-071-20/+0
| | |
* | | make tests green againAraq2016-11-062-1/+4
| | |
* | | Merge branch 'devel' into new-dependency-trackingAraq2016-11-062-1/+5
|\ \ \
| * | | nimsuggest: minor bugfix; include file should be dirtied, no the belonging ↵Andreas Rumpf2016-11-061-2/+2
| | | | | | | | | | | | | | | | module
| * | | nimsuggest supports include files properly; added the compiler itself as a ↵Andreas Rumpf2016-11-064-7/+29
| | | | | | | | | | | | | | | | testcase
| * | | nimsuggest & tester: many improvements, test new dependency trackingAndreas Rumpf2016-11-066-15/+127
| | | |
| * | | os.nim: posix copyFile showed a weird problem about buffer flushing; worked ↵Andreas Rumpf2016-11-061-0/+1
| | | | | | | | | | | | | | | | around via flushFile() call
| * | | nimsuggest tester supports editing of filesAndreas Rumpf2016-11-062-16/+62
| | | |
| * | | added missing moduleAraq2016-11-061-0/+92
| | | |
| * | | new dependency tracking for nimsuggestAraq2016-11-0621-407/+298
| | | |
| * | | htmlparser: support parsing of class=foobar without quotesAndreas Rumpf2016-11-051-0/+4
| | | |
| * | | Merge pull request #4997 from cpunion/fix_intern_typoAndreas Rumpf2016-11-051-1/+1
| |\ \ \ | | | | | | | | | | typo
| | * | | typoLi Jie2016-11-051-1/+1
| | | | |
* | | | | nimsuggest: minor bugfix; include file should be dirtied, no the belonging ↵Andreas Rumpf2016-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | module
* | | | | nimsuggest supports include files properly; added the compiler itself as a ↵Andreas Rumpf2016-11-064-7/+29
| | | | | | | | | | | | | | | | | | | | testcase