Arne Döring
638a4d9d9f
rename cast opcodes, fix for 32bit cast, fix python pretty printer ( #12207 )
2019-09-18 09:04:37 +02:00
Araq
ea8a049af3
fixes the testcase
2019-09-17 15:15:12 +02:00
Araq
c9f3a8b269
added a testcase for #12195 ; testament now supports a 'timeout' spec field
2019-09-17 15:15:12 +02:00
Andreas Rumpf
059a16b34d
fixes #12193 ( #12199 )
2019-09-16 15:38:07 +02:00
Araq
6c487a6309
fixes #12196
2019-09-16 12:12:44 +02:00
narimiran
ee6df5bd24
close #7104 by writing a test
2019-09-13 07:59:38 +02:00
narimiran
d79fb77974
close #6731 by writing a test case
2019-09-13 07:46:46 +02:00
Jasper Jenkins
ca7bf3be8b
no commas for empty importcpp splat params ( #12183 )
2019-09-12 08:19:53 +02:00
Andreas Rumpf
560eef5bbe
fixes #12171 ( #12173 )
2019-09-11 18:35:13 +02:00
Araq
cf99c9bfb5
fixes #12051
2019-09-10 09:43:37 +02:00
Yuriy Glukhov
60911304b4
Fixed yield in nnkChckRange ( #12160 )
2019-09-10 07:54:06 +02:00
Andreas Rumpf
aa95ae6af9
Merge pull request #12153 from dumjyl/get_type-range
...
fix range.getType crash
2019-09-08 23:09:41 +02:00
Jasper Jenkins
e5139b0662
error for NimNode index kind ( #12154 )
2019-09-08 20:31:22 +02:00
Euan
24f52d855c
#12141 Define SDL lib name for OpenBSD and FreeBSD ( #12143 )
...
* Define SDL lib name for OpenBSD and FreeBSD
* Merge Linux and FreeBSD definitions
2019-09-06 12:57:38 +02:00
Timothee Cour
32769c478b
exportc now mangles same as importc, fixes #10578 ( #12144 )
...
* fixes #10578
* add tests
* add changelog
* add {.exportcpp.}
2019-09-06 12:54:44 +02:00
Jasper Jenkins
40c5175145
fix range.getType crash
2019-09-05 15:56:44 -07:00
Andreas Rumpf
488f3ed085
fixes yet another gensym regression ( #12145 )
2019-09-06 00:45:00 +02:00
Andreas Rumpf
a5e2db2ac5
allows access to .compileTime vars at runtime ( #12128 )
2019-09-05 11:56:32 +02:00
Andreas Rumpf
58bcf6cd46
fixes #12121 ( #12126 )
2019-09-05 08:21:01 +02:00
Araq
fa5707e7e2
fixes #11713 , fixes #1034
2019-09-04 11:20:30 +02:00
Andreas Rumpf
4972d797e4
gcbench: better memory usage report
2019-09-03 12:39:49 +02:00
Andreas Rumpf
ac6fcab7a4
Merge branch 'devel' into uint-range-checks
2019-09-02 22:03:10 +02:00
Andreas Rumpf
d70e292571
makes more tests green
2019-09-02 22:03:06 +02:00
Andreas Rumpf
5a03eea518
revert #12100 ; typeof(nil) is weird enough, don't allow it as the return type
2019-09-02 17:48:06 +02:00
Andreas Rumpf
f8f96d816c
sink as lvalue ( #12108 )
2019-09-02 15:49:01 +02:00
Andreas Rumpf
7ef85db9a9
fixes #12020 ( #12106 )
2019-09-02 15:47:56 +02:00
Araq
18ca1788f0
makes test green again
2019-09-02 14:23:05 +02:00
Araq
23c44f009a
weaking unsigned/signed indexing requirements in order to not break too much existing code
2019-09-02 12:07:36 +02:00
Arne Döring
3d4ad9739c
fix min/max for float numbers ( #12068 )
2019-09-02 11:21:26 +02:00
Andrii Riabushenko
ba18c12005
sink as lvalue
2019-09-02 10:11:51 +01:00
Araq
755c4428fe
added more tests and updated the changelog
2019-09-02 11:03:08 +02:00
Araq
2396f0ee71
make test green
2019-09-02 10:56:51 +02:00
Araq
e765687646
Merge branch 'devel' into uint-range-checks
2019-09-02 10:27:35 +02:00
Araq
e6ec88d4c3
renamed and moved test
2019-09-02 10:27:33 +02:00
Miran
ab48d7901e
hashes: implement murmur3 ( #12022 )
...
* hashes: implement murmur3
* refactoring; there is only one murmurHash and it works at compile-time via VM hooks
* fixes JS tests
* makes toOpenArrayByte work with C++
* make it bootstrap in C++ mode for 0.20
2019-09-01 00:04:10 +02:00
Oscar Nihlgård
35268c500f
Fix int literals and range interaction ( #11197 )
...
* Fix int literals and range interaction
* Fix test
* remove float range fix; update changelog
2019-08-31 19:34:08 +02:00
Arne Döring
6e01be34ef
fixes #11903 ( #11908 )
2019-08-31 19:32:59 +02:00
Andreas Rumpf
326a333c8b
Merge pull request #12099 from cooldome/destructor_too_late
...
fixes #12092
2019-08-31 19:25:19 +02:00
Andreas Rumpf
15213028b7
Return typeof(nil) ( #12100 )
...
* Allow typeof(nil) as a return type
* $typeof(nil) is now "typeof(nil)", not "nil"
2019-08-31 19:24:44 +02:00
cooldome
2b565aad89
Support iterators returning lent T ( #11938 )
...
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
2019-08-31 19:23:54 +02:00
Albert Safin
efe1bed82e
Allow typeof(nil) as a return type
2019-08-31 10:16:26 +00:00
Andrii Riabushenko
a055f628f4
fixes #12092
2019-08-31 09:49:47 +01:00
Timothee Cour
9ae0dd611f
typeToString can now show (recursively) resolved type aliases; fixes #8569 #8083 #8570 ( #11678 )
...
* nested typeToString
* typeToString: preferResolved
* add test
* fix test
* preferMixed
* fix tests
2019-08-31 08:26:45 +02:00
Clyybber
f9600b7207
Remove ENDB ( #12095 )
2019-08-31 07:44:53 +02:00
Andreas Rumpf
82d5e773e3
make testament a tool we ship with Nim; fixes #12084 ( #12088 )
...
* make testament a tool we ship with Nim; fixes #12084
* moved config to fit
* adapt testament tests to use the testament binary
2019-08-30 15:43:07 +02:00
Clyybber
029dcc6259
fix #12037 ( #12089 )
2019-08-30 06:41:26 +02:00
Andreas Rumpf
2a3b056314
fixes #12042 ( #12083 )
...
* fixes #12042
* make tests green again
2019-08-29 19:09:54 +02:00
Andreas Rumpf
9203d3a982
fixes 5870 ( #11704 )
...
* fixes #5870
* make tclosure test green again
* this check is correct but breaks some Nimble packages
2019-08-29 07:49:58 +02:00
Andreas Rumpf
5f7a6aff06
fixes #11941 ( #12079 )
2019-08-29 00:35:05 +02:00
Andreas Rumpf
21fc8b4d4d
refactor sizealignoffset ( #12077 )
...
* small refactoring
* refactor computeObjectOffsetFoldFunction with AccumObject
* refactor packed object offstes fold function
* refactor compute union object offsets fold function
* merge normal/packed object offset fold function
* compiletime offsetof in c++ inheritance objects
* enable c++ inheritance offsetof tests
* correct alignment for big sets/enums on weird 32bit platforms
* uncomputedSize -> unknownSize
* workaround for travis
* fixes win32 alignment problems
2019-08-28 19:36:29 +02:00