Andreas Rumpf
fa101a722f
updated sqlite3 wrapper slightly
2016-11-21 12:10:44 +01:00
Dominik Picheta
53f5f26c66
Merge pull request #5037 from FedericoCeratto/patch-18
...
Add [un]marshalling examples
2016-11-19 20:40:35 +01:00
Dominik Picheta
beb44ef13d
Async: Refactors asyncdispatch.poll.
2016-11-19 20:21:52 +01:00
Dominik Picheta
ffbe7382f8
Async: Fixes problem when callbacks add other callbacks.
...
For context, see http://irclogs.nim-lang.org/19-11-2016.html#19:08:51
2016-11-19 20:16:15 +01:00
Dominik Picheta
d847d35009
Async: Further callbacks will no longer be called after an EAGAIN.
...
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 .
2016-11-19 20:06:23 +01:00
Federico Ceratto
0ce459ac53
Add marshal format warning
2016-11-19 18:52:28 +00:00
Federico Ceratto
80744fe4f7
Add [un]marshalling examples
2016-11-19 16:55:47 +00:00
Felix Krause
93a998204c
Fixes #5035
2016-11-18 23:42:15 +01:00
Andreas Rumpf
7c1b5b3c2b
fixes deepcopy regression
2016-11-18 09:54:12 +01:00
Andreas Rumpf
8875ca750f
deepCopy: proper sharing of refs
2016-11-17 19:57:35 +01:00
David Krause
5058ae1ba5
fixed typo
2016-11-17 16:47:36 +01:00
Andreas Rumpf
c629d6fef1
Merge pull request #5024 from flyx/timesimprovement
...
Improvements to times.nim
2016-11-15 09:32:48 +01:00
Andreas Rumpf
ff628e242f
Merge pull request #5027 from nigredo-tori/descriptor-logger
...
Add newFileLogger overload accepting file descriptor
2016-11-15 09:29:29 +01:00
Dmitry Polienko
c62c38ca46
Use default colors for test and suite names
2016-11-15 13:43:39 +07:00
Dmitry Polienko
2c46fdd0ab
Add newFileLogger overload accepting file descriptor
2016-11-15 12:13:05 +07:00
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
Dominik Picheta
52f20abf22
Merge pull request #5023 from nigredo-tori/fix-5022
...
Fix asyncfile in Windows Server 2003
2016-11-14 18:45:48 +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
Dmitry Polienko
e695d3bfba
Fix asyncfile in Windows Server 2003
...
Fixes #5022
2016-11-14 02:55:57 -08: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
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
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
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
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
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
5471b1eaca
htmlparser: support parsing of class=foobar without quotes
2016-11-05 15:27:47 +01:00
Andreas Rumpf
0a6787f956
better error handling for osproc.nim
2016-11-05 09:04:16 +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
fa86571448
abi check: prefer nim constant to enable, document
2016-11-03 22:30:00 +08:00
Jacek Sieka
be1e3c4e09
add a simple sizeof checker to compare nim & c types
2016-11-03 21:11:39 +08:00
Andreas Rumpf
ee8c1c6f93
Merge pull request #4989 from endragor/empty-async-all
...
async all() now immediately completes if arg is empty
2016-11-03 10:54:19 +01:00
Ruslan Mustakov
f2bded180f
async all() now immediately completes if arg is empty
2016-11-03 10:50:43 +07:00
Dominik Picheta
e784fdee45
Merge pull request #4970 from nigredo-tori/fix-4969
...
Fix problems with persistent HTTP connections
2016-11-02 18:57:00 +01:00
lihf8515
89d4574445
Update parsecfg.nim
...
Value includes double quotation marks.
2016-11-02 11:48:11 +08:00
Dmitry Polienko
4753149227
Implement suggestions from @dom96
2016-11-02 09:19:20 +07:00
Vladislav
9bc79b923c
added description to fmWrite mode to be more exact
2016-11-01 22:33:09 +02:00
Felix Krause
9d5de8021b
Use ISO 8601 format for times.$. Fixed tests.
...
* `$` now uses format() with explicit time zone.
* Fixed errors in rendering "z", "zz" and "zzz"
* Updated tests
2016-11-01 21:14:52 +01:00
Felix Krause
170745eb39
Removed tzname because it's broken
...
* 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
2016-11-01 20:26:50 +01:00
Felix Krause
c1f0b7643c
Fixed timezone offset parsing
2016-11-01 19:33:43 +01:00