Felix Krause
0ffd14e169
Updated times.parse() documentation
2016-11-14 19:18:23 +01:00
Felix Krause
434c27343e
Parse 'Z' as valid timezone if offset is expected
2016-11-14 18:46:35 +01:00
Felix Krause
0587a57807
Assume local DST iff no timezone is given
2016-11-14 18:36:03 +01:00
Felix Krause
aa08c32c2b
Improved -; fixed tests
...
* added prefix `-` operator for TimeInterval
* improved `-` for both TimeInterval and TimeInfo
* Fixed a DST test
2016-11-14 18:28:55 +01:00
Felix Krause
544a2cfe1a
Fixed daylight saving time
...
* 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
2016-11-14 18:28:55 +01:00
Andreas Rumpf
4a4a3cdf67
Merge pull request #5009 from flyx/timezonefix2
...
Fixed timezone sign error
2016-11-14 16:44:01 +01:00
Felix Krause
91a0674961
Fixed timezone rendering, added test
2016-11-10 19:03:46 +01:00
Dominik Picheta
a29387424a
Merge pull request #5011 from yglukhov/opensll-android
...
Fixed openssl for android
2016-11-09 20:39:41 +01:00
Yuriy Glukhov
2f3c8c2f34
Fixed openssl for android
2016-11-09 15:09:08 +02:00
Andreas Rumpf
d3162fb19a
Merge pull request #5008 from apahl/patch-2
...
added dist/ to .gitignore
2016-11-08 22:06:59 +01:00
Felix Krause
9b2aaf0df6
Fixed timezone sign error
...
* This was introduced in recent "cosmetic" fix. Not so cosmetic
after all…
2016-11-08 20:57:53 +01:00
Axel Pahl
9a68e1ad05
added dist/ to .gitignore
...
When using `./koch tools`, the directory `dist/` is generated (it contains the `nimble` sources).
The `dist` directory was added to .gitignore.
2016-11-08 15:09:37 +01:00
Andreas Rumpf
86b58e83ea
Merge pull request #4994 from arnetheduck/nim-check-abi
...
add a simple sizeof checker to compare nim & c types
2016-11-08 14:08:36 +01:00
Andreas Rumpf
b2f694a326
Merge pull request #5006 from apahl/patch-1
...
Update .gitignore
2016-11-08 12:59:45 +01:00
Axel Pahl
2f48dbd166
Update .gitignore
...
Update .gitignore to reflect the new target dir of the generated documentation.
`./koch doc` now writes the documentation to `doc/html/...`
2016-11-08 09:08:42 +01:00
Araq
c66580911e
htmlparser: different error corrections
2016-11-07 18:58:39 +01:00
Andreas Rumpf
4c79583a95
Merge pull request #5002 from goldenreign/time-compare-nosideeffect
...
Add 'noSideEffect' pragma for Time type's operators. Fixes #4981
2016-11-07 16:52:34 +01:00
Andreas Rumpf
be296c3274
Merge pull request #4984 from flyx/timezonefix
...
Fixed timezone handling
2016-11-07 14:28:54 +01:00
Andreas Rumpf
d7bfafaa42
Merge pull request #5003 from zevlg/strutils-enh
...
[enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
2016-11-07 13:47:22 +01:00
Araq
24c47dd6e7
fixes #4975
2016-11-07 12:07:52 +01:00
Zajcev Evgeny
b1a369d2fb
[enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
...
iteration as soon as possible
2016-11-07 13:21:17 +03:00
Felix Krause
6e604e2f9f
More cosmetic changes
...
* Don't use factor var, it's overly complicated
* Removed proc that's now unused
* Better documented timezone field
2016-11-07 11:08:31 +01:00
goldenreign
63c450abdc
Fix - operator for Time type for JS target
2016-11-07 14:26:27 +07:00
goldenreign
554105ff7c
Add 'noSideEffect' pragma for Time type's operators
2016-11-07 12:14:28 +07:00
Araq
8b30506f72
never was documented anyway
2016-11-07 00:56:47 +01:00
Araq
52bb696cd4
make tests green again
2016-11-06 18:59:49 +01:00
Araq
d6601b729f
Merge branch 'devel' into new-dependency-tracking
2016-11-06 17:35:16 +01:00
Andreas Rumpf
2f7c2de1c2
nimsuggest: minor bugfix; include file should be dirtied, no the belonging module
2016-11-06 17:33:33 +01:00
Andreas Rumpf
2caf08855f
nimsuggest supports include files properly; added the compiler itself as a testcase
2016-11-06 17:33:33 +01:00
Andreas Rumpf
fc7127153f
nimsuggest & tester: many improvements, test new dependency tracking
2016-11-06 17:33:33 +01:00
Andreas Rumpf
91bcf99d8a
os.nim: posix copyFile showed a weird problem about buffer flushing; worked around via flushFile() call
2016-11-06 17:33:33 +01:00
Andreas Rumpf
a99b94e523
nimsuggest tester supports editing of files
2016-11-06 17:33:33 +01:00
Araq
03edb91caf
added missing module
2016-11-06 17:33:33 +01:00
Araq
bec9c4be27
new dependency tracking for nimsuggest
2016-11-06 17:33:33 +01:00
Andreas Rumpf
21288c220a
nimsuggest: minor bugfix; include file should be dirtied, no the belonging module
2016-11-06 17:13:40 +01:00
Andreas Rumpf
0c49822b50
nimsuggest supports include files properly; added the compiler itself as a testcase
2016-11-06 11:19:59 +01:00
Andreas Rumpf
eb2455075e
nimsuggest & tester: many improvements, test new dependency tracking
2016-11-05 22:56:33 +01:00
Andreas Rumpf
a644471b12
os.nim: posix copyFile showed a weird problem about buffer flushing; worked around via flushFile() call
2016-11-05 22:54:52 +01:00
Andreas Rumpf
5471b1eaca
htmlparser: support parsing of class=foobar without quotes
2016-11-05 15:27:47 +01:00
Andreas Rumpf
162f5ddb7d
nimsuggest tester supports editing of files
2016-11-05 10:32:24 +01:00
Andreas Rumpf
708b481c42
Merge pull request #4997 from cpunion/fix_intern_typo
...
typo
2016-11-05 09:53:38 +01:00
Andreas Rumpf
499ae7297b
Merge branch 'devel' into new-dependency-tracking
2016-11-05 09:32:09 +01:00
Araq
8fa3e0cb25
added missing module
2016-11-05 09:27:46 +01:00
Andreas Rumpf
d606f6b348
cleanup nimsuggest tests
2016-11-05 09:07:51 +01:00
Andreas Rumpf
0a6787f956
better error handling for osproc.nim
2016-11-05 09:04:16 +01:00
Li Jie
3989d8fa79
typo
2016-11-05 00:22:51 -07:00
Araq
9e6fb3f696
new dependency tracking for nimsuggest
2016-11-05 01:19:23 +01:00
Felix Krause
f500b9f47b
Cosmetic fixes
...
* Improved comments
* Improved spacing
* Use consts instead of magic numbers
2016-11-03 18:45:52 +01:00
Jacek Sieka
fb7850a10a
add primitive type abi check
2016-11-03 23:04:33 +08:00
Jacek Sieka
fa86571448
abi check: prefer nim constant to enable, document
2016-11-03 22:30:00 +08:00