Andreas Rumpf
347a04606b
fixes #12885 [backport] ( #12895 )
2019-12-13 19:20:29 +01:00
cooldome
12d2b980e8
Fixes #12883 ( #12894 )
...
* fixes #12883
* fix comment
* add normalize
* fix
2019-12-13 13:30:27 +00:00
cooldome
1e1fd73530
fixes #12882 ( #12889 )
...
* fixes #12882
2019-12-13 11:24:05 +00:00
Andreas Rumpf
3524944e21
ARC: fixes cycle detection and move the .cursor attribute into closures ( #12872 )
2019-12-11 06:57:00 +01:00
Ico Doornekamp
e61d702206
Increased TInstr field sizes: allow long jumps and 65535 VM registers ( #12777 )
...
* Increased regBx size from 16 to 24 bits to increase jump range in the VM
from 32K to 8M instructions. Fixes #12727
* Increased VM TInst register field sizes to 16 bits to allow up to 65535 VM registers per proc
* Added test case for >255 VM registers
2019-12-10 19:04:02 +01:00
Andreas Rumpf
b8152b29e8
ARC: yet another bugfix ( #12871 )
2019-12-10 16:44:54 +01:00
Judd
56cf3403b4
introduce capture macro ( #12712 )
...
capture works for more cases than `closureScope`.
2019-12-10 13:16:37 +01:00
cooldome
13d232ec56
fixes #12827 ( #12829 ) [backport]
2019-12-10 07:08:46 +01:00
cooldome
5929c3da21
fixes #12820 ( #12828 )
2019-12-09 20:03:23 +01:00
Neelesh Chandola
7ebb2baa6c
Assigning template to var/let/const gives a proper error ( #12851 )
...
* Assigning template to var/let/const gives a proper error
* Fix style
2019-12-09 08:19:40 +00:00
Andy Davidoff
a3d45d0c1b
add a StringTable.clear that requires no mode specification ( #12853 )
...
* add clear overload, test, changelog
* add since annotation
2019-12-09 06:58:36 +01:00
cooldome
7213969901
fixes #12821 ( #12822 )
2019-12-06 09:56:54 +01:00
Neelesh Chandola
1db21721ec
Fixed objects being erroneously zeroed out before object construction ( #12814 ) [backport]
2019-12-05 17:31:51 +01:00
Andreas Rumpf
3fbb3bfd3f
ARC related bugfixes and refactorings ( #12781 )
2019-12-05 16:59:06 +01:00
Andreas Rumpf
0e7338d65c
better support for PROGMEM like annotations for lets/vars; fixes #12216 ( #12799 )
2019-12-05 13:45:16 +01:00
cooldome
0987872675
fixes #12804 ( #12809 )
2019-12-05 07:38:12 +01:00
Arne Döring
b0c06aa711
fix #12740 ( #12774 )
...
* fix #12740
* A different kind of a hack
* proper fix
* fix typo
2019-12-04 07:33:01 +00:00
Euan
c5c6bae2a4
#12103 - CI for FreeBSD ( #12179 )
...
* Ref #12103 - adds FreeBSD CI
* Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length
* Show last commit in setup task.
* Remove .git from repository URL
* Don't include noisy details showing last commit.
* Add FreeBSD build status badge
* Fix #12182 - disable tconsole on FreeBSD
* Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol.
* Install boehm-gc-threaded
* Use libgc-threaded.so on FreeBSD rather than libgc.so.
* Simplify build failure handling. Update alt text for CI badge.
* Disable test on FreeBSD
* Simplify build config
- use GNU make to build csources
- set PATH variable using the environment key
- remove modification of config to set CC as this is already set
* Install git which seems to be missing from current freebsd images
* Revert change to how path is set
* Add a comment explaining why the length is truncated
* Fix tconsole.
2019-11-29 21:00:54 +01:00
Araq
7e6e399d10
fixes #12669
2019-11-29 19:46:21 +01:00
Araq
b688250202
fixes #12766
2019-11-29 19:46:21 +01:00
genotrance
49db2a08ba
Fixes #12767 ( #12768 )
2019-11-29 10:18:44 +01:00
Jasper Jenkins
9ea55eccbb
make addQuoted work on nimscript ( #12717 ) [backport]
2019-11-28 23:01:17 +01:00
Araq
87f0d534d6
fixes #12488 [backport]
2019-11-28 23:00:34 +01:00
genotrance
010067f3cc
Substitute $nimbleDir in --path flags ( #12750 )
2019-11-28 13:58:38 +01:00
Andreas Rumpf
abe07eb75d
VM: improvements for var T/addr ( #12667 ); fixes #12489
2019-11-28 09:56:02 +01:00
Araq
d4cae118dc
fixes a flaky test for the realtime GC
2019-11-28 09:33:01 +01:00
Brian Wignall
a7aeabb9d2
[backport] Fix spelling typos ( #12755 )
2019-11-28 08:30:55 +01:00
Araq
80b508d337
test suite: rename tests containing 'fail' for easier search in logs
2019-11-26 16:04:28 +01:00
Araq
72237e2bcf
ARC: ported the GC tests over to --gc:arc
2019-11-26 16:04:28 +01:00
Miran
879801c639
increase the timeout for 'tasyncclosestall' ( #12744 )
...
This test is very flaky, this change might help reducing the
number of failings (usually solved by restarting the test suite).
Refs https://github.com/nim-lang/Nim/pull/12694#issuecomment-557583790
2019-11-26 14:12:15 +01:00
Arne Döring
04614a30bd
fix in tests/js/tconsole ( #12709 )
2019-11-25 10:30:22 +01:00
narimiran
015bec6254
Revert "ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data"
...
This reverts commit 8b2f8f5430 .
2019-11-24 09:50:52 +01:00
Araq
8b2f8f5430
ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data
2019-11-22 21:41:45 +01:00
Arne Döring
2acf74d458
delete list comprehension ( #12392 )
...
The `lc` macro is now part of `graveyard` repository.
2019-11-22 19:57:43 +01:00
Araq
c85e266d1d
ARC: yet another silly bugfix
2019-11-22 17:18:11 +01:00
Araq
135774d92b
thavlak.nim: more idiomatic code
2019-11-21 20:01:43 +01:00
Araq
d45a736cc8
more thavlak.nim improvements
2019-11-21 16:06:04 +01:00
Araq
f07774d064
more thavlak.nim improvements
2019-11-21 16:03:44 +01:00
Araq
48eed1f522
thavlak.nim test: improved the code style
2019-11-21 15:34:45 +01:00
Andreas Rumpf
78e02d174d
fixes #12670 [backport] ( #12693 )
2019-11-20 19:08:16 +01:00
Andreas Rumpf
85ffcd80c0
more arc improvements ( #12690 )
...
* ARC: bugfix for =destroy for inherited objects
* added code useful for debugging
2019-11-20 14:34:05 +01:00
Andreas Rumpf
56a00da34a
fixes #12612 [backport] ( #12681 )
2019-11-19 12:09:36 +01:00
Arne Döring
03fa9a9041
fix regression in align ( #12680 )
...
* fix regression in align
* add test typesym without type
2019-11-19 09:58:47 +01:00
Andreas Rumpf
5278cf80eb
ARC: closure bugfixes ( #12677 )
...
* ARC: closure bugfixes
* progress
* ARC closures: create =hooks for captured parameters
* ARC: always destroy constructions like tuples, arrays properly, even in edge cases
* fixes a regression
2019-11-18 12:33:44 +01:00
Andreas Rumpf
223e65e529
attempt to add valgrind support to the CIs and testament ( #12646 )
...
* attempt to add valgrind support to the CIs and testament
* valgrind (currently) works only on 64-bit Linux
2019-11-18 09:10:48 +01:00
Andreas Rumpf
58f3e07b1a
fixes and changes the recently introduced 'alignas' to be 'align' ( #12666 )
...
* fixes and changes the recently introduced 'alignas' to be 'align'
* more improvements
2019-11-15 20:24:14 +01:00
Andreas Rumpf
76179cbec2
ARC: fixes leaking new() statement ( #12665 )
2019-11-15 12:38:11 +01:00
Andreas Rumpf
a14abc5708
ARC: solves phase ordering problems ( #12654 )
2019-11-14 23:19:18 +01:00
Araq
f22d3c75aa
ARC: closure inside object constructor now works
2019-11-13 23:29:21 +01:00
Arne Döring
0496a666e2
implemented alignas pragma ( #12643 )
...
* implemented alignas pragma
* fix bootstrap
* generate c++ compatible syntax for alignas
* Make it work.
* Multiple alignof expressions. Implement top level alignof.
2019-11-13 08:22:41 +00:00