Commit Graph

15351 Commits

Author SHA1 Message Date
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
Jasper Jenkins
6fc74cec55 Iterator fixes (#11234) 2019-05-13 20:50:21 +02:00
Andreas Rumpf
fb1c3a95a5 fixes #11124 2019-05-13 17:34:15 +02:00
Andreas Rumpf
69658ad396 fixes #11131 2019-05-13 17:25:57 +02:00
Araq
f84293ac8f fixes #11237 2019-05-13 09:40:43 +02:00
Araq
869007b005 ccgexprs.nim: fewer newlines 2019-05-13 09:38:56 +02:00
Jasper Jenkins
07eca7decd Fixes #4140 (#11238)
* correct error

* cleaner

* fix line info
2019-05-13 07:47:30 +01:00
Clyybber
0c869eaa47 Fix destructor injections for global variables (#11230)
* attach global destructors at end of mainModule
* Add testcase
* Minor cleanup
* Inject topLevelVar temporaries' destructors early
* Fix megatest
2019-05-13 08:28:33 +02:00
Araq
a3e27ffa2c fixes #11215 2019-05-12 15:07:35 +02:00
Benny Elgazar
a83d609960 exposing procs (#11218) 2019-05-11 10:32:34 +02:00
Arne Döring
b92fd30282 rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) 2019-05-11 10:11:08 +02:00
Araq
f03391d477 fixes #6855 2019-05-10 19:50:23 +02:00
Araq
95b65504e6 sequtils: minor typo 2019-05-10 19:50:23 +02:00
Ico Doornekamp
a170719d1a repr on seq now outputs @[...] (#11224) 2019-05-10 16:33:42 +02:00
Araq
9aa6aa6514 make epochTime available in DLLs; refs #6855 2019-05-10 15:20:39 +02:00