Commit Graph

12802 Commits

Author SHA1 Message Date
Andreas Rumpf
e957d369b1 Merge pull request #7907 from GULPF/lexer-unicode-fix
Lexer fix for multi byte characters
2018-06-06 11:42:59 +02:00
Andreas Rumpf
8804ecd175 Merge pull request #7966 from hlaaftana/patch-4
Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)
2018-06-06 11:07:21 +02:00
Andreas Rumpf
1593b9cac4 Merge pull request #7967 from nitely/empty_openarray_7904
support empty toOpenArray
2018-06-06 11:06:57 +02:00
Andreas Rumpf
97cf2a309a Merge pull request #7965 from hlaaftana/patch-3
Allow `%` overloading in `%*` macro in json (again)
2018-06-06 10:51:42 +02:00
Andreas Rumpf
a58bd643de Merge pull request #7961 from yglukhov/cosmetics
Cosmetics
2018-06-06 10:51:06 +02:00
nitely
7297195f9f test negative range array 2018-06-06 02:22:33 -03:00
nitely
ba39f359aa check bounds instead of index 2018-06-05 20:22:27 -03:00
hlaaf
7c71e1b058 Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again) 2018-06-06 00:39:07 +03:00
hlaaf
a0cb1a80dd Allow % overloading in %* macro in json (again) 2018-06-06 00:36:56 +03:00
Yuriy Glukhov
44589e9ca8 Cosmetics 2018-06-05 22:47:07 +03:00
Oscar Nihlgård
c69b88688f Combine some of the lexer tests into a single file 2018-06-05 21:05:13 +02:00
Daniil Yarancev
c9a8ada722 Update .travis.yml 2018-06-05 21:27:51 +03:00
Daniil Yarancev
6426413598 Merge pull request #2 from nim-lang/devel
Update
2018-06-05 21:25:45 +03:00
Andreas Rumpf
3cbc07ac78 Merge pull request #7770 from yglukhov/yield-in-try
Yield in try
2018-06-05 19:58:00 +02:00
Daniil Yarancev
b1f483c897 Merge pull request #7960 from kaushalmodi/s-prce-pcre
Fix typo: PRCE -> PCRE
2018-06-05 20:54:42 +03:00
Kaushal Modi
0321ea36c9 Fix typo: PRCE -> PCRE 2018-06-05 12:58:23 -04:00
andri lim
436c122956 combine/reduce test 2018-06-05 22:16:53 +07:00
Koki Fushimi
959b6354c1 Rename tgamma to gamma (#7929)
* Rename tgamma to gamma

* set the deprecating version  0.19.0

* update changelog and use description in deprecated pragma
2018-06-05 11:15:04 -04:00
andri lim
8063ecbb8f fix test case output 2018-06-05 16:54:01 +07:00
Michael Voronin
6590ad6c6d Merge pull request #5 from nim-lang/devel
pull #4
2018-06-05 11:55:13 +03:00
skilchen
230692a22f Fix strformat neg zero (#7954)
* fix strformat handling of neg zero with sign

* better tests for neg zero with sign

* use inplace insertion of the sign as suggested by Varriount
2018-06-05 00:09:07 -04:00
andri lim
80107b360c add more test to 4799 2018-06-05 09:18:20 +07:00
skilchen
fd102f39bb Fix strformat precision handling for strings (#7941)
* fix strformat precision handling for strings

* add some limited unicode awareness to the precision handling for strings

* improvement suggested by Varriount: use setLen and runeOffset instead of runeSubstr
2018-06-04 18:26:16 -04:00
Koki Fushimi
a3e5242d31 Add product proc (#7951)
* Add product proc

* Update changelog
2018-06-04 18:24:34 -04:00
Koki Fushimi
090ffa3869 Use concrete expression 2018-06-05 02:32:39 +09:00
andri lim
069a53ad4b fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)
* fixes #7906, array and openarray arg vs. ptr/ref generic

* add comment
2018-06-04 17:43:15 +02:00
Koki Fushimi
41601e9307 Bug fix 2018-06-05 00:27:04 +09:00
Koki Fushimi
05f81482f4 Change to use log(x, base) 2018-06-05 00:22:40 +09:00
Andreas Rumpf
12996c08a1 fixed merge conflict 2018-06-04 16:16:50 +02:00
Oscar Nihlgård
05b447374b Use higher time resolution when available in os.nim (#7709) 2018-06-04 14:56:56 +02:00
Oscar Nihlgård
440212a154 Fix for newStringOfCap in VM (#7901) 2018-06-04 13:38:26 +02:00
WhiteDuke
59ba1e77af Wait until the end to print hint Conf (#7931) 2018-06-04 13:31:22 +02:00
Andreas Rumpf
582786d068 db_mysql.nim: Work around string nil comparison logic 2018-06-04 12:20:56 +02:00
Andreas Rumpf
2e9d486378 wip 2018-06-04 11:59:02 +02:00
Yuriy Glukhov
395b7506cf Expose GC_setStackBottom (#7885) 2018-06-04 11:12:18 +02:00
Koki Fushimi
abf8ee049a Broaden the argument types 2018-06-04 16:48:11 +09:00
Koki Fushimi
f849db1c5c Generalize and add test 2018-06-04 15:09:17 +09:00
Koki Fushimi
d7913419d7 Add log proc for base b of x 2018-06-04 15:03:08 +09:00
Andreas Rumpf
268260953c completed VM support for incremental compilations 2018-06-04 01:01:08 +02:00
Dominik Picheta
4a88c245d3 Merge pull request #7949 from nim-lang/sqlite-use-empty-strings
Update sqlite example to use empty strings.
2018-06-03 19:38:26 +01:00
Varriount
381acc09e9 Update sqlite example to use empty strings.
Update sqlite example to use empty strings to use empty strings instead of nil.
2018-06-03 14:37:41 -04:00
Andreas Rumpf
b5194f592c WIP: an API for VM replay global state support 2018-06-03 20:18:43 +02:00
Andreas Rumpf
9ab92824f6 AST change: keep nkStaticStmt in the AST for incremental compilation support 2018-06-03 20:16:29 +02:00
Andreas Rumpf
1ed7751dac added btrees.contains 2018-06-03 20:15:37 +02:00
Andreas Rumpf
6d19d1eeb2 macros.nim: remove deprecated symbols 2018-06-03 20:15:12 +02:00
Andreas Rumpf
9d27079606 support iteration over BTrees for the compilation cache 2018-06-03 12:37:03 +02:00
Oscar Nihlgård
fd28236368 Multi byte characters should not be treated as part of an operator 2018-06-03 09:05:50 +02:00
Andreas Rumpf
826c1e2d78 incremental compilation: implemented basic replay logic 2018-06-02 09:41:27 +02:00
skilchen
91765e583d fix handling of default precision in formatBiggestFloat for the js backend (#7928) 2018-06-01 22:24:32 -04:00
skilchen
07ff9940f4 fix strformat zeropadding for floats (#7934) 2018-06-01 22:23:50 -04:00