Miran
8088633250
faster CIs ( #13803 )
...
* ttables: smaller table, 5x speedup
* thavlak: less iterations, less loops; 30% speedup
* tasyncclosestall: shorter timeout; 35% speedup
* gcleak4: less iterations, 2x speedup
* ttimes: remove deprecated stuff
* tdangerisrelease: remove cpp backend, 3x speedup
* tfrexp1: smaller range, 2x speedup
* trtree: fix warnings, less iterations, 6x speedup
* tasyncawait_cyclebreaker: smaller swarm size; 2x speedup
* trealloc: smaller number of iterations; 10x speedup
* towned_binary_tree: less iterations, 4x speedup
* tclosure: remove unused code, less iterations; 2x speedup
* twaitany: less durations; 1.4x speedup
* tasync_misc: less iterations, 2x speedup
* t8535: smaller sleep, 1.5x speedup
* tmanyjoin: smaller sleep, 2x speedup
* t12221: shorter sleeps, removed two slower tests; 1.6x speedup
* tfuturestream: smaller sleep; 1.5x speedup
* growobjcrash: less iterations; 2x speedup
* ttryrecv: smaller sleep; 1.5x speedup
* treusetvar: less threads; 2x speedup
* delete tthreadanalysis2, basically a duplicate of tthreadanalysis
* t7758: less iterations, 1.5x speedup
* tasyncawait: smaller swarm, less messages; 1.5x speedup
* tjsandnativeasync: smaller sleep, 1.5x speedup
* tpendingcheck: smaller sleep, 1.5x speedup
* remove rodfiles test category
* move tseq from its own category to 'collections' category
* remove unneeded tests and helpers from 'assert' category
* stdlib: merge tbitops2 into tbitops
* remove 'trepr2' from 'stdlib' cat
* merge 'tstreams' into one file
* remove 'tinefficient_const_table' from 'ccbugs' cat
* merge 'tcollections_to_string' into 'tcollections'
* tblocking_channel: smaller sleep, small speedup
* tconvexhull: less iterartions; 1.2x speedup
* merge 'tdeepcopy2' into 'tdeepcopy'
* merge 'tdisjoint_slice2' into 'tdisjoint_slice1'
* tmissing_deepcopy: smaller sequence
* tsendtwice: smaller arrays; 5x speedup
* remove 'tindexerrorformatbounds'
* disable multimethod tests
* remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests
* koch.nim: bootstrap just with '-d:release', no need for 'csource'
* add github workflow for documentation
* testament: no need for 8 sub-second decimals
2020-03-30 13:18:12 +02:00
Zed
1f8c9aff1f
Fix and reenable thread tests ( #11343 )
2019-05-28 15:23:09 +02:00
Araq
795044ed2b
make tests green again
2019-05-27 21:29:02 +02:00
Andreas Rumpf
32c9ca605e
fixes #10795
2019-03-06 10:15:27 +01:00
Miran
5345c5b130
remove deprecated modules ( #10215 )
...
* removed from `compiler`:
* lists (deprecated 2 years ago)
* removed from `lib` (all deprecated 3 years ago):
* ssl
* matchers
* httpserver
* removed from `lib/deprecated`:
* unsigned
* actors (and three accompanying tests)
* parseurl
* moved to `lib/deprecated`:
* securehash (the reason for not directly removing - it was deprecated (only) one year ago)
2019-01-07 10:37:49 +01:00
Arne Döring
a5ecbf823f
lots of small changes
2018-12-11 21:23:22 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Araq
6279b0587a
make tests green again
2018-11-16 19:54:49 +01:00
Utwo
a68a4bfaf2
Remove install.txt and readme.txt ( #9521 )
...
* Remove install.txt and readme.txt
* Refactor tests that use readme.txt
* Tests open own source code
2018-10-28 13:36:52 +01:00
LemonBoy
ac0f5c83ca
Fixes 8535 ( #8591 )
...
* Goodbye postInitProc
* Give preInitProc its own scope
Avoid any conflict between the variables introduced by preInitProc and
initProc since both are codegen'd in the same function body.
* Fix codegen for global var init in emulated TLS
Fixes #8535
* Add test for #8535
* Keep a bogus stack frame around
* Remove more dead code
2018-08-17 00:34:27 +02:00
Araq
420ed0596b
fixes more nil handling regressions
2018-08-13 17:27:44 +02:00
Andreas Rumpf
c0024fa587
fixes channels for --gc:regions
2018-05-25 16:21:33 +02:00
Zahary Karadjov
ae5c946a32
Support thread-local variables declared inside procs; fixes #7565
2018-05-07 09:37:49 +02:00
Andreas Rumpf
ddc131cf07
the parser finally parses 'echo {1,2}' as it should
2017-09-30 21:35:30 +02:00
Eugene Kabanov
254fbcc548
Fixes #4719 . ( #5585 )
2017-03-23 16:13:38 +01:00
Eugene Kabanov
8310d252c2
Update testament to include all tests from tests/threads category. ( #5576 )
2017-03-20 20:20:26 +01:00
Araq
4f062c3be0
removed onThreadCreation; onThreadDestruction is now thread local
2017-02-26 20:42:19 +01:00
Araq
86833b53a4
added a testcase for getThreadId
2017-01-31 13:18:18 +01:00
Araq
79f4b37d3b
added test case; threadex example crashes now
2017-01-30 21:11:37 +01:00
Andreas Rumpf
eb96eaa5c2
onThreadDestruction feature added to Nim's threading model
2017-01-24 12:07:44 +01:00
Andreas Rumpf
61937974e2
added system.onThreadCreation feature for safe thread local storage initializations
2017-01-18 13:41:55 +01:00
Andreas Rumpf
95bb19a579
moved random procs from math to its own module (breaking change)
2016-05-30 16:24:52 +02:00
def
7177e0058b
Consistently use Channel instead of TChannel
2016-02-25 04:04:45 +01:00
def
c50b5b62ef
Fix a few deprecation warnings
2016-01-25 19:10:37 +01:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
194b14a182
fixes #1816
2015-01-02 03:32:45 +01:00
Araq
c6034277fc
further adaptations
2014-08-29 09:12:12 +02:00
Araq
cd2c6128d1
renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings
2014-08-29 09:03:00 +02:00
Araq
62e454f41b
asynchttpserver compiles again; made some tests green
2014-08-13 01:16:18 +02:00
Araq
be6474af63
removed flawed thread analysis pass
2014-04-20 14:00:04 +02:00
Dominik Picheta
2fb5d62927
Tester now appreciates the test target. Modified 'cmd' in specs.
2014-04-16 21:28:19 +01:00
Araq
76ef752957
made some tests green
2014-03-27 19:43:17 +01:00
Zahary Karadjov
0bbf6081d0
fix #931 and few more tests
2014-02-18 20:04:58 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
505f179515
added tactors2 test
2012-09-21 19:31:18 +02:00
Araq
c6213c9774
fixes #71 ; sorry about the polling implementation
2011-12-05 21:43:45 +01:00
Araq
24e1d22ec9
fixes 70
2011-12-04 20:21:38 +01:00
Araq
4b39ac5cbe
deprecated endOfFile and readLine
2011-11-25 18:17:14 +01:00
Araq
02e8e9c3ea
fixed bug that kept tls emulation from working
2011-11-25 17:26:11 +01:00
Araq
72651de710
bugfix: 'when' sections in generic objects now work, so TThread[void] compiles
2011-11-20 16:13:03 +01:00
Araq
62aa8bed3b
tester: threading tests added
2011-11-19 02:05:16 +01:00
Araq
a497b4d1cf
bugfix: fixed memory leaks in osproc module
2011-11-18 22:14:32 +01:00
Araq
d560e84fcc
locks now in their own core module
2011-08-20 00:24:02 +02:00
Araq
42e6130b2c
first steps to explicit channels for thread communication; added mainThreadId
2011-07-16 18:34:18 +02:00
Araq
5b96eaa953
preparations for 0.8.12
2011-07-10 15:48:13 +02:00