Jonathan Bernard
b7232bd425
Fix #4922 , bug in times.parse, mishandling DST.
2016-10-21 17:06:36 -05:00
cheatfate
0c69891b8d
One more attempt to fix #4867
2016-10-21 11:15:33 +03:00
Andreas Rumpf
7c0fa52bbd
fixes #4875
2016-10-20 21:40:04 +02:00
Andreas Rumpf
a8dc4df8be
removed async test that never produced reliable results
2016-10-20 15:20:57 +02:00
Andreas Rumpf
bae3baf9cc
fixes #4856
2016-10-20 15:20:27 +02:00
Andreas Rumpf
d0ec83eaa8
fixes #4863
2016-10-19 19:28:27 +02:00
Andreas Rumpf
3ba2d08bbc
Merge pull request #4015 from arnetheduck/initallocator-fix
...
fix initAllocator not being called when defined(nogc) and not defined…
2016-10-13 23:25:05 +02:00
Jonathan Bernard
68d3486f5a
Bugfix for times.initInterval (issue #4889 )
...
`initInterval` had logic to calculate and carry overflowed fields (65 seconds
turns into 5 seconds and carries 1 minute). However, we were not including that
carried value when we recalculate the carry over for the next period of time.So
if you had, for example, 3600 seconds, we carried 60 minutes into the minutes
calculation, but when we calculated how much we should carry into the hours
value we only considered what the user originally supplied for the minutes
field, and forgot to include those 60 carried minute.
So, for example, with the previous implementation this was true:
`seconds(60 * 60 * 24) == seconds(0)`
Or, as failing tests:
```nimrod
import times
assert seconds(60 * 60 * 24) != seconds(0)
assert seconds(60 * 60 * 24) == days(1)
```
2016-10-12 15:44:21 -05:00
Jacek Sieka
4435d83a88
run gctest for gc:none
2016-10-12 21:32:15 +08:00
Andreas Rumpf
f46168d654
Merge pull request #4828 from jfhg/unify_waitpid_handling
...
Unify waitpid handling
2016-10-09 19:03:12 +02:00
Araq
d17709cc46
made test green for Windows
2016-09-30 22:14:29 +02:00
Johannes Hofmann
7f25db2dd1
rename tfalse.nim to tafalse.nim
2016-09-30 10:39:57 +02:00
Johannes Hofmann
8d85809d62
add testcase for exit code handling
2016-09-30 10:27:59 +02:00
Dominik Picheta
c188c2076b
Merge pull request #4830 from cheatfate/disabletimetest
...
tupcoming_async: Disable real time test comparison
2016-09-25 17:18:58 +02:00
Dominik Picheta
927fce4c7f
FutureVar[T] parameters are now completed automatically.
2016-09-25 16:05:22 +02:00
cheatfate
54977e3709
Disable time error test.
2016-09-25 15:28:57 +03:00
Dominik Picheta
cff6ec2155
Implements onProgressChanged callback for httpclient.
2016-09-24 22:58:10 +02:00
Dominik Picheta
0baef8e6ea
Implements getContent and postContent for (Async)HttpClient.
2016-09-24 20:33:00 +02:00
Dominik Picheta
fa9ec7a6b5
Handle redirects in HttpClient's post procs & post test.
2016-09-24 17:50:58 +02:00
cheatfate
f40c1d3ad1
Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test for it.
2016-09-24 05:16:39 +03:00
Andreas Rumpf
66bbf7518e
fixes #4776
2016-09-24 02:27:12 +02:00
Yuriy Glukhov
82b022ebc6
JS: Fixed ICE on ptr assignment
2016-09-20 17:01:53 +03:00
Dominik Picheta
1fb5dd2477
Fixes #4797 .
2016-09-19 19:36:35 +02:00
Dominik Picheta
8386476592
Implements proxy support for (Async)HttpClient. Ref #4423 .
...
Fixes #2160 .
2016-09-18 22:59:12 +02:00
Dominik Picheta
0c99523ad3
Implements timeouts for synchronous HttpClient.
2016-09-18 19:08:12 +02:00
Dominik Picheta
3ad368f8ca
Improvements to httpclient. Refs #4423 .
...
* Adds ability to query HttpCode and compare it with strings.
* Moves HttpMethod to HttpCore module.
* Implements synchronous HttpClient using {.multisync.}.
2016-09-18 18:16:51 +02:00
Dominik Picheta
1740619c0c
Implements {.multisync.} pragma for async and sync proc combos.
2016-09-18 18:15:20 +02:00
Dominik Picheta
07c637c24c
Increase error rate for upcoming timers test.
2016-09-17 22:09:10 +02:00
Simon Ruderich
38505e31c8
tests: tnewasyncudp: use constant
2016-09-17 18:11:12 +02:00
Dominik Picheta
75e5c87f15
Fixes #4170 .
2016-09-17 14:19:26 +02:00
Dominik Picheta
5bf16439e1
Fixes #4262 .
2016-09-17 13:22:04 +02:00
cheatfate
3d556a9719
Fix #4777 network buffers overflow because of immediate sendTo call.
2016-09-17 03:07:57 +03:00
Ruslan Mustakov
e26f9cb665
Use array encoding for non-UTF-8 strings in marshal. Fixes #4779 .
2016-09-16 17:02:34 +07:00
Simon Ruderich
2680a613be
Always use https:// in git clone
...
git:// is unencrypted.
2016-09-15 04:20:24 +02:00
Andreas Rumpf
b78029b5af
fixes #4626
2016-09-13 16:33:43 +02:00
Andreas Rumpf
3710e62241
fixes #4625
2016-09-13 16:33:43 +02:00
Andreas Rumpf
3a5edd2c6c
fixes #4671
2016-09-13 16:33:43 +02:00
Dmitry Polienko
191ff51859
Fix tasyncsend4757 test (Linux)
2016-09-13 02:40:48 -07:00
Dmitry Polienko
a2a5985a2d
Add test for issue #4757
2016-09-13 02:00:37 -07:00
cheatfate
cc2a8409e1
update path to SSL certificates
2016-09-07 12:51:18 +03:00
cheatfate
1350d5312b
Removed tests with asyncio.
...
Fix ssl connection drop in asyncnet
Add tasyncssl test
2016-09-07 12:19:06 +03:00
Andreas Rumpf
08a6f3fc67
fixes #4721
2016-09-07 08:29:45 +02:00
Andreas Rumpf
e554c1d7cf
Merge pull request #4725 from cheatfate/fixtest_upcoming
...
upcoming_async: Fix multiple issues and add test.
2016-09-06 13:48:50 +02:00
cheatfate
ec7aec3d58
Fix windows issues.
...
Fix semantic of AsyncEvent close/unregister #4694 .
Fix #4697 .
Added first test.
2016-09-06 12:29:53 +03:00
Andreas Rumpf
4077050a42
fixes a critical tables bug that caused 'enlarge' to crash after 'add'
2016-09-05 08:51:38 +02:00
Andreas Rumpf
7e86ed00ce
Merge pull request #4706 from cheatfate/testupcoming
...
Add upcoming/asyncdispatch.nim to tests.
2016-09-04 19:29:29 +02:00
cheatfate
5a1db8af54
Fix define.
2016-09-04 01:48:13 +03:00
cheatfate
015e22c8c0
Add upcoming/asyncdispatch.nim to tests.
2016-09-04 01:22:04 +03:00
Yuriy Glukhov
a994f142b5
Enabled logging tests for js
2016-09-03 22:46:10 +03:00
Andreas Rumpf
ea8a11dd73
Merge pull request #4701 from mbaulch/fix4675
...
pickBestCandidate: pre-calculate candidates when symbol table modified
2016-09-03 15:45:22 +02:00