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
Araq
10bd488daa
implements #?braces syntax
2016-10-16 00:35:49 +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
Felix Krause
39f03d816c
Fixes #4871
2016-10-09 18:02:48 +02:00
Andrea Ferretti
4c52239394
Updated js console logging to avoid wrapping into array
2016-10-06 10:54:52 +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
Andrea Ferretti
15f7094fde
Added a dump macro for debugging
2016-09-22 12:07:36 +02:00
Andrea Ferretti
693b2b0f5d
Added js console object
2016-09-21 17:35:45 +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
Wh1teDuke
248b5c0468
Run Option: use now processSingleTest
2016-09-19 16:25:39 +02:00
Wh1teDuke
ddb70d33f8
Add processSingleTest, remove file arg from processCategory
2016-09-19 16:24:15 +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
4414dafd5e
tests: add more tests for getFileInfo()
2016-09-17 19:13:30 +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