Miran
3e0fac7c20
finish #11292 : fix addQuoted and add changelog entry ( #11301 )
...
* finish #11292 : fix `addQuoted` and add changelog entry
* JS is special
2019-05-22 18:57:52 +02:00
Araq
85ac4bfff6
closes #6076
2019-05-22 15:42:34 +02:00
Araq
279df834ba
Nim is not a header file generator anymore; closes #4723
2019-05-22 15:13:26 +02:00
Andreas Rumpf
1e97b420bb
fixes #7167 ( #11300 )
...
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
57bc8d73b4
fixes subtype relation regression
2019-05-22 07:41:16 +02:00
Araq
1f7f0908ef
make bootstrapping work with older Nims
2019-05-22 07:41:16 +02:00
Araq
90e882d55b
fixes #11239
2019-05-22 07:41:16 +02:00
Araq
11fca968b2
stdlib: more consistent formatting
2019-05-22 07:41:16 +02:00
Araq
845f89ab54
better default for nimgrep
2019-05-22 07:41:16 +02:00
Andreas Rumpf
23dbc9ad58
fixes #11268 ( #11299 )
2019-05-22 07:37:25 +02:00
Miran
bab5e30972
fixes #10963 , disallow implicit mixing of strings and ints/floats ( #11292 )
2019-05-21 21:32:37 +02:00
Arne Döring
f94ec363ab
Allow void macro result ( #11286 )
...
* allow void macro result
* add test for void macro result type
2019-05-21 21:31:40 +02:00
Miran
68b5e3e3fe
colors: fix mix, add documentation ( #11295 )
2019-05-21 21:28:29 +02:00
Miran
1251e1ad16
faster hashing ( #11203 )
...
* faster hashing
* multibyte hashing for:
* string and string slices
* cstring
* string, ignoring case
* string, ignoring style
* openArray of byte or char
* address the review comments
* use optimized version for all ints
* add more tests
* make it work in VM
* put warnings about differences between CT and runtime
* minor style tweaks
2019-05-21 21:26:27 +02:00
Miran
9bd4347abb
fix #10910 , optimize squaring and cubing ( #11291 )
2019-05-21 15:57:33 +02:00
Miran
6586516511
fix #8395 , fix #8734 : normalize os.tailDir and os.parentDir ( #11288 )
2019-05-21 15:57:20 +02:00
liuxiaodong
5e552ad3a5
getDateStr and getClockStr takes a default parameter ( #11108 )
2019-05-21 09:54:09 +02:00
Miran
dc6a4b1d43
fixes #11049 , wrong streams.readBool and streams.peekBool ( #11284 )
2019-05-20 19:39:38 +02:00
treeform
d490bc519a
Add force openSSL version with -d:sslVersion=1.0.0 ( #11272 )
2019-05-20 16:53:24 +02:00
Ico Doornekamp
c01f7bfdaf
More specific error message for unsupported recursion in iterators ( #11283 )
2019-05-20 15:22:42 +02:00
Arne Döring
aeb6ec27de
fix for return in macro ( #9666 ); fixes #5874
2019-05-20 12:18:53 +02:00
jcosborn
433ce7bea2
move test for #7632 above import strformat ( #11270 )
2019-05-20 10:17:56 +02:00
Ștefan Talpalaru
13b3e4af8a
fixes #11275 ( #11276 )
2019-05-20 09:29:13 +02:00
Miran
a63c2a25d0
fix changing case for Unicode characters which change size ( #11271 )
...
Some Unicode characters don't have the same byte length
in their upper- and lower-case variants.
2019-05-20 09:18:47 +02:00
jiro
468599c654
db_sqlite: Update documentation ( #10330 ) ( #11266 )
2019-05-19 20:27:12 +02:00
Dominik Picheta
f1a8edc14d
Merge pull request #11263 from jrfondren/asyncstreams-fix-immediately-vs-soon
...
fix unnecessary poll() (and default 500ms delay) in some uses of async
2019-05-16 23:24:53 +01:00
Miran
9d4190a5cc
fixes #11139 (re.nim memory leak) ( #11265 )
...
Use the same PCRE function for freeing up the memory as nre.nim does.
2019-05-16 21:06:31 +02:00
Miran
8f198db2ca
fixes #10952 , UNC paths ( #11260 )
2019-05-16 21:06:04 +02:00
Jasper Jenkins
90ed904c4d
range/case fixes ( #11264 )
2019-05-16 16:36:40 +02:00
Julian Fondren
22b4cf192d
fix for unnecessary poll() in some uses of async
2019-05-15 19:57:45 -05:00
Andreas Rumpf
e26545797e
fixes #7816 ( #11261 )
2019-05-15 21:12:07 +02:00
Clyybber
4e0e706cfe
Correct global destructor injections for js backend ( #11240 )
2019-05-15 19:16:32 +02:00
Araq
791abfbc16
selectors: exceptions are for errors, not for bugs
2019-05-15 18:19:17 +02:00
Araq
a470ba673b
manual_experiments: clarifications
2019-05-15 18:16:45 +02:00
Dominik Picheta
d0b8724aa2
Fixes crashes when asyncdispatch.adjustTimeout returns a negative value. ( #11231 )
2019-05-15 18:15:10 +02:00
Arne Döring
2339542832
Tuple error message ( #11141 ); fixes #3211
2019-05-15 17:59:06 +02:00
Boris Shomodjvarac
de6b2e88d2
added getSocket proc ( #11233 )
2019-05-15 17:47:25 +02:00
Araq
7fb256bded
fixes #8053
2019-05-15 12:25:31 +02:00
Arne Döring
5e68d8f9e9
less copy tree ( #11249 )
2019-05-15 12:11:03 +02:00
Ștefan Talpalaru
dfc7685420
fixes #11250 ( #11251 )
2019-05-15 08:42:30 +02:00
Oscar Nihlgård
bc0f2f0dd2
Add test case for #3766 ( #11252 )
2019-05-15 08:22:45 +02:00
Dominik Picheta
6b2ed28d55
Workaround "move not found" exception in JS when using tables. ( #11256 )
2019-05-15 08:21:25 +02:00
Andreas Rumpf
95f8ed0382
fixes #6732 ( #11255 )
2019-05-15 08:18:20 +02:00
Andreas Rumpf
9ecb24e443
fixes #88 ( #11243 )
2019-05-15 08:17:29 +02:00
Ștefan Talpalaru
fa3d19b477
cas(): use an "__atomic" builtin instead of the legacy "__sync" one ( #11246 )
...
"New code should always use the ‘__atomic’ builtins rather than the ‘__sync’ builtins." - https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
2019-05-14 21:47:14 +02:00
Hitesh Jasani
0b41f26bd6
Expose api to disable autoinitializing OpenSSL. ( #11247 )
2019-05-14 17:08:52 +02:00
Andreas Rumpf
651ae68567
fixes #11202
2019-05-14 12:02:26 +02:00
Andreas Rumpf
2fba65b29f
fixes #7937 ( #11244 )
2019-05-14 07:44:39 +02:00
Aditya Siram
a6d4421241
Fixes #9365 : let with exportC pragma in template. ( #11235 )
...
* Fixes #9365 : let with exportC pragma in template.
* Fix according to comments.
2019-05-14 01:34:32 +02:00
Arne Döring
55cf971adf
fixes #11194 ( #11242 )
2019-05-14 01:28:44 +02:00