Euan
0e01a5f76c
Fix #12133 - use libgc.so.4.0 for OpenBSD ( #12134 )
2019-09-06 14:31:39 +02:00
Andreas Rumpf
ac6fcab7a4
Merge branch 'devel' into uint-range-checks
2019-09-02 22:03:10 +02:00
Arne Döring
3d4ad9739c
fix min/max for float numbers ( #12068 )
2019-09-02 11:21:26 +02:00
Araq
e765687646
Merge branch 'devel' into uint-range-checks
2019-09-02 10:27:35 +02:00
Araq
ad82e65387
gc:destructors progress
2019-09-01 23:28:26 +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
Clyybber
f9600b7207
Remove ENDB ( #12095 )
2019-08-31 07:44:53 +02:00
Andreas Rumpf
cd106cf680
fixes #12074 ( #12080 )
2019-08-29 07:43:35 +02:00
Arne Döring
d564130a3b
Fix to int to biggest int ( #12066 )
...
* fix to(Biggest)Int
* kill toFloat magics as well
2019-08-27 23:18:46 +02:00
Andreas Rumpf
ce7f29e8e6
fixes #11833 ( #12018 )
2019-08-24 06:25:47 +02:00
Arne Döring
a562de2d91
squashed and merged with devel
2019-08-21 19:24:36 +02:00
Andreas Rumpf
742862b847
more enhancements for #11618 ( #11976 )
...
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
2019-08-18 22:57:56 +02:00
Andreas Rumpf
7cb31455ee
fixes #11618 ( #11969 )
2019-08-17 21:19:57 +02:00
Arne Döring
a25d43ca6b
fix warnings in system.nim ( #11944 )
2019-08-14 17:48:11 +02:00
Fabian Keller
83397a69fc
Consistent behavior of exec; Improved docs around exec, staticExec, gorgeEx, etc. ( #10967 )
...
* improved docs around exec, staticExec, gorgeEx, etc.
* incorporate review comment; made behavior of exec consistent
2019-08-13 07:41:08 +02:00
Andy Davidoff
d208d7a995
set[T].len is an alias for set[T].card ( #11885 ) [feature]
2019-08-05 14:27:45 +02:00
Araq
61c66abbfe
newruntime: make system.delete and friends work with owned ref (bugfix); reported on the forum
2019-08-05 00:14:30 +02:00
Timothee Cour
8c93c692b9
run runnableExamples in the module scope ( #11732 ) [feature]
2019-07-22 16:22:57 +02:00
Araq
5a020d641d
style improvements; fixes #11774
2019-07-19 17:25:04 +02:00
Araq
fab70e4fe3
minor update for the genode target
2019-07-14 16:08:15 +02:00
Araq
03ded27021
preparations to be able to use atomics in runtime_v2.nim
2019-07-12 21:53:45 +02:00
Araq
eaf4b42ff9
JS codegen: supports toOpenArray [bugfix]
2019-07-12 10:11:59 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Araq
ff4a9a226f
style changes
2019-07-10 09:06:54 +02:00
Araq
c6c9e30379
minor system.nim style changes
2019-07-10 00:29:58 +02:00
Araq
ad58ed344a
newruntime: map system.reset to =destroy
2019-07-09 20:15:57 +02:00
Andreas Rumpf
5f515410af
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
2019-07-05 01:42:17 +02:00
Arne Döring
20d0ef8afb
[backport] fix #11320 ( #11538 )
...
* [backport] fix #11320
* fix test for 32 bit test
2019-07-03 08:00:40 +02:00
Araq
dd39b11b13
[bugfix] make -d:nimSetUtf8CodePage switch work again
2019-07-01 10:35:52 +02:00
Araq
f36a61e6d4
make tests green again
2019-06-27 17:10:11 +02:00
Andreas Rumpf
fb878330a9
fixes #11445
2019-06-27 14:46:38 +02:00
Andreas Rumpf
e083a1533b
fixes #11098
2019-06-26 19:34:05 +02:00
Arne Döring
e90d91f0e4
[refactoring] remove zeroExtend and friends from the compiler builtins. ( #11531 )
...
* remove zeroExtend and friends from the compiler builtins.
* fix jssys
2019-06-24 09:19:02 +02:00
Andreas Rumpf
280193cc07
[bugfix] system.nim: make pop work with --newruntime
2019-06-20 19:39:42 +02:00
Kaushal Modi
d1ce86fdc6
[bugfix] Fix the link to "For Loop Macro" section ( #11505 )
2019-06-14 23:02:30 +02:00
Jasper Jenkins
06ef56ba72
[bugfix] fix quit errormsg in nimvm ( #11490 )
2019-06-13 15:30:30 +02:00
Arne Döring
c7e1c665a1
[refactoring] refactor the compiler and stdlib to deprecation warnings ( #11419 )
2019-06-11 16:49:56 +02:00
nc-x
bce908f6ee
fix koch docs failing at io.nim with import os in config.nims ( #11418 ) [bugfix]
2019-06-08 00:37:08 +02:00
Araq
5a37224102
develop version is 0.20.99 [feature]
2019-06-07 10:49:56 +02:00
narimiran
be9c38d265
bump version to 0.20.0
2019-06-05 18:38:45 +02:00
narimiran
e3ddc6b83a
revert unintended changes
2019-06-04 14:33:55 +02:00
narimiran
1f883f6d78
better documentation for the new shr
2019-06-04 12:29:52 +02:00
Jasper Jenkins
55af21c662
rename (un)likely ( #11391 )
2019-06-03 20:33:24 +02:00
LemonBoy
7d217a71d3
Render deprecated pragmas ( #8886 )
...
* Render deprecated pragmas
* fix the expected html
* clean up the documentation regarding deprecations
* fix typo
* fix system.nim
* fix random
2019-06-03 10:15:20 +02:00
Araq
64518380a5
undeprecate system.programResult until we have a good solution at hand
2019-06-03 09:35:04 +02:00
Arne Döring
5b27b263fd
Remove immediate pragma ( #11308 )
...
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
Araq
eb471acffb
system.nim: minor fix for the new 'unown' template
2019-05-29 20:49:36 +02:00
Araq
dc5fa90b43
switch should be nimOldShiftRight with the nim prefix
2019-05-29 17:06:39 +02:00
Arne Döring
88b5dd3362
right shift is now by default sign preserving ( #11322 )
...
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
Yuriy Glukhov
6904f323aa
Fixed #9762 ( #11296 )
2019-05-29 12:11:03 +02:00