Commit Graph

12585 Commits

Author SHA1 Message Date
Andreas Rumpf
db4bcd80e5 jsgen refactoring: use graph.backend field instead of a global variable 2018-05-28 12:24:18 +02:00
Andreas Rumpf
afdd77363e Merge branch 'devel' into araq-big-refactoring 2018-05-28 12:13:50 +02:00
Andreas Rumpf
5db01f7abe Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-05-28 11:24:37 +02:00
Andreas Rumpf
3221ac0943 hotfix for --gc:regions 2018-05-28 11:24:29 +02:00
七秒不觉梦
b6b6382e0b Added: type name output when exception raised from unittest (#7869) 2018-05-28 05:24:04 +03:00
Federico Ceratto
21fb0db6e2 Update existsFile documentation (#7888) 2018-05-27 19:35:19 -04:00
Dominik Picheta
f2f7896c2b Merge pull request #7892 from Wh1teDuke/patch-5
acceptAddr: Set domain to client socket
2018-05-28 00:31:01 +01:00
Andreas Rumpf
006ee79a91 make dependency analyser free of global variables 2018-05-28 00:04:55 +02:00
Andreas Rumpf
73799903ee removed global variable from rstgen.nim 2018-05-27 23:38:49 +02:00
Andreas Rumpf
c640bd2d1b cleanup compiler/prettybase to not use redudant global variables 2018-05-27 22:52:10 +02:00
Andreas Rumpf
545b1582cd refactoring: make projectMainIdx typesafe 2018-05-27 22:30:36 +02:00
Andreas Rumpf
40ec7be45c refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly 2018-05-27 22:09:15 +02:00
WhiteDuke
b36c499907 Set domain to client 2018-05-27 21:08:37 +02:00
Andreas Rumpf
a325692fb2 refactoring: fewer global variables 2018-05-27 19:19:12 +02:00
Daniil Yarancev
c0ea647c37 Remove #
I don't even know how it got there.
2018-05-27 18:48:24 +03:00
Andreas Rumpf
18a3833d60 more refactoring 2018-05-27 15:22:17 +02:00
Andreas Rumpf
dd8a6ef3a2 implements --hint[globalvar]:on switch for quickly finding global variables 2018-05-27 14:00:44 +02:00
Andreas Rumpf
9849808720 Merge branch 'devel' into araq-big-refactoring 2018-05-27 13:38:09 +02:00
Andreas Rumpf
7e8eadb6ba SSL implementation: added nimNoAllocForSSL 2018-05-27 11:31:27 +02:00
Andreas Rumpf
88bc2d8df4 make memory regions robust; disable free lists for now 2018-05-27 11:15:45 +02:00
Andreas Rumpf
669a564492 remove more global variables in the Nim compiler 2018-05-27 11:10:56 +02:00
Zahary Karadjov
1c478db375 fix #7883; fix #7829 2018-05-26 20:46:22 +03:00
Andreas Rumpf
12bd1c494c fixes merge conflict 2018-05-26 19:09:02 +02:00
Koki Fushimi
09283bb939 Faster binary gcd algorithm (#7849)
* Faster binary gcd algorithm.

* Use built in countTrailingZeroBits to calculate gcd.

* Add definitions of gcd for integers and other types.

* Unified signed case and unsinged case in one proc by using when syntax.

* Change to faster one.
2018-05-26 08:31:45 +03:00
Araq
08637bc272 JS hotfix for the Internet Explorer up to version 11 2018-05-25 23:19:54 +02:00
data-man
856dc4c5c1 Fixes for parseUntil when until.len == 0 (or nil) 2018-05-25 18:52:04 +03:00
Andreas Rumpf
6536535470 add missing compilerProcs for memory regions 2018-05-25 16:23:21 +02:00
Andreas Rumpf
c0024fa587 fixes channels for --gc:regions 2018-05-25 16:21:33 +02:00
Andreas Rumpf
b885fc906f make travis use GCC instead of clang 2018-05-25 14:13:37 +02:00
data-man
cc9e94cd96 Hide readAll from js for tests passing 2018-05-25 08:48:09 +03:00
data-man
8149c07458 Fixes streams bugs 2018-05-25 07:46:48 +03:00
data-man
3fd48b7622 Fixes #7877 2018-05-25 06:59:54 +03:00
data-man
605b65487f Fixes #7877 2018-05-25 06:58:07 +03:00
Dmitry Atamanov
e206a8d952 Use new binarySearch everywhere (#7876) 2018-05-25 00:04:30 +03:00
Dominik Picheta
85b7d8fcc4 Rstgen/xml tree fixes (#7823)
* Don't prefix lang names with "lang" in rstgen.

* Implements ability to render xmltree w/o \n. Fixes <> for `data-*` attrs.

* Various rstgen fixes.

* Fixes security vulnerabilities due to not escaping some code.
* Adds <video> support and improve `.. image:: ` directive.

* Adds comment as requested.
2018-05-23 16:28:53 +02:00
data-man
17b8bb8b47 Fixes binarySearch's bug 2018-05-23 12:58:26 +03:00
data-man
a093605ab0 binarySearch became even better 2018-05-23 12:40:55 +03:00
data-man
df37796d88 Fixes pegs bugs, continue 2018-05-23 10:23:19 +03:00
data-man
6acbe6fb01 Fixes pegs bugs 2018-05-23 09:45:51 +03:00
data-man
39a1ad650c Faster binarySearch 2018-05-23 08:42:22 +03:00
Tyler
799674168d Patch the PEG library to work with the JS backend (#7866)
* Added compiler check on transformFile
2018-05-23 05:27:28 +03:00
Andreas Rumpf
c6a9a9c30b hotfix: fixes SSL initialization for httpclient with --threads:on (#7863)
* hotfix: fixes SSL initialization for httpclient with --threads:on
2018-05-22 23:07:02 +02:00
genotrance
1d72ec3f1b Detect gcc arch in build.bat (#7856)
* Detect gcc arch in build.bat

* Fix 64-bit test
2018-05-22 20:53:29 +02:00
data-man
4da0135ace fixes filter bug for empty lines 2018-05-22 18:56:27 +03:00
andri lim
c12726d41e fixes #7696, add ConfigRef.arguments initialization (#7858) 2018-05-22 13:17:09 +02:00
data-man
a39b989ce2 fixes #7855 2018-05-21 23:41:32 +03:00
Andreas Rumpf
e55a1051ea fixes yet another index out of bounds issue in renderer.nim 2018-05-21 19:53:52 +02:00
Andreas Rumpf
cb6a4ffa86 Merge branch 'devel' into araq-big-refactoring 2018-05-21 17:31:23 +02:00
Araq
dc809bd485 fixes yet another indexing bug caused by the strict strings 2018-05-21 14:22:02 +02:00
Araq
5472574f72 json.nim: delete should raise KeyError, not IndexError, minor cleanup of the tests 2018-05-20 23:00:39 +02:00