Commit Graph

13635 Commits

Author SHA1 Message Date
LemonBoy
0f080fdce3 Fix range type construction in the VM (#9205)
The `range[X,Y]` representation is wrong, we use `range[X .. Y]`
instead.

Fixes #9194

(cherry picked from commit 8a1055adce)
2018-11-01 17:26:50 +01:00
cooldome
221c67b880 fixes #9222 (#9224)
(cherry picked from commit 036c52f0b6)
2018-11-01 17:26:15 +01:00
Timothee Cour
2923eb08ab [os] clarify docs for existsDir (#9212)
* Update os.nim

* Update os.nim

(cherry picked from commit 73e6b229aa)
2018-11-01 17:26:06 +01:00
LemonBoy
ddd54a3413 Prevent the construction of recursive tyStatic types (#9256)
Fixes #9255

(cherry picked from commit b8d2f79ef0)
2018-11-01 17:25:51 +01:00
Dheepak Krishnamurthy
ffeb3c6cec Add checks for except: body blocks (#9191)
(cherry picked from commit 70018aa683)
2018-11-01 17:25:30 +01:00
jcosborn
82896abcbe fixes #4435 (#9185)
(cherry picked from commit dd65986795)
2018-11-01 17:25:07 +01:00
Juan Carlos
4e9686d1a9 HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, marquee, picture, slot, summary (#9252)
(cherry picked from commit bc557e4c6a)
2018-11-01 17:24:04 +01:00
LemonBoy
d29fc8c693 Replace the sha1 implementation w/ a working one (#9242)
As #9239 points out the old implementation had some serious flaws.
The new implementation is a port of the MIT-licensed one used by
Chromium OS and has been tested against the FIPS-provided vectors and by
generating huge files like the ones mentioned in the issue above.

While I tried my best to take into account the existence of BE machines
the code has only been tested on a LE one.

(cherry picked from commit 18023c023d)
2018-11-01 17:23:49 +01:00
Araq
66c0f7c3fb development version is 0.19.1 2018-10-09 10:31:27 +02:00
Miran
cd5049e078 [cleanup] remove web folder (#9233)
Closes #7577
2018-10-08 20:42:38 +02:00
Timothee Cour
7cadb5a65d build_all.sh fix bug introduced in https://github.com/nim-lang/Nim/pull/9145
/cc @valtron printf doesn't include trailing newline, unlike echo
2018-10-08 14:07:09 +02:00
Timothee Cour
403f5aea14 define NIM_NIL nullptr when __cplusplus >= 201103L 2018-10-08 14:05:43 +02:00
Dominik Picheta
269b957e29 Merges #8451 manually. Fixes #8099. 2018-10-03 21:25:11 -07:00
Dominik Picheta
8c2f576527 Merge pull request #9171 from flaviut/fix-9053
Use runnableExamples for nre example code where possible
2018-10-03 20:43:47 -07:00
Timothee Cour
64ae47e6f0 Update macros.nim (#9182)
* Update macros.nim

* Update macros.nim
2018-10-03 20:33:57 -07:00
Flaviu Tamas
f55580383c Use runnableExamples for example nre code 2018-10-03 16:39:43 -04:00
Andreas Rumpf
5ea0bf1940 koch tools: build Nimble in release mode 2018-10-03 22:19:45 +02:00
Andreas Rumpf
4b845d8edb Merge pull request #9168 from timotheecour/patch-4
add link to https://nim-lang.github.io/Nim/ in readme.md
2018-10-03 21:00:54 +02:00
Andreas Rumpf
6e09f40c4e Merge pull request #9167 from LemonBoy/fix-asyncmacro-regression
Fix regression w/ templates defined in async proc
2018-10-03 19:20:33 +02:00
Timothee Cour
d3ea56ad15 add link to https://nim-lang.github.io/Nim/ in readme.md 2018-10-03 09:46:40 -07:00
LemonBoy
2c0bfb34fd Fix regression w/ templates defined in async proc 2018-10-03 18:25:25 +02:00
Steve Kellock
91c13a0163 [docs/json]: expands existing examples + shows {} operator in action (#9157)
* [docs/json]: expands existing examples + shows {} operator in action

* adds import stmt and fixes butchered syntax in json examples
2018-10-02 20:47:21 -07:00
Dominik Picheta
afd5b00310 Merge pull request #9152 from barbeque/4934-remove-old-install-scripts
Remove install_nimble.nims, install_tools.nims as per #4934
2018-10-02 20:03:45 -07:00
Araq
82693514c5 attempt to fix the .line pragma 2018-10-03 01:25:47 +02:00
Araq
1428aeccfb closes #5868 2018-10-03 00:08:45 +02:00
Araq
9bd23b2d4c nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't know nullptr 2018-10-03 00:01:48 +02:00
Araq
c92fdb24c8 fixes #5015 2018-10-03 00:00:19 +02:00
Araq
bf85955802 fixes #7092 2018-10-02 23:45:27 +02:00
Araq
7ac1e6e528 fixes #5479 2018-10-02 23:31:39 +02:00
Araq
f673fbd91f fixes #6533 2018-10-02 19:54:02 +02:00
Araq
400a7ff1bb closes #6249 2018-10-02 19:41:47 +02:00
Araq
c3465e4379 nimsuggest docs: minor update; v2 of the protocol is now the default 2018-10-02 19:41:20 +02:00
Araq
7935c4aa5a C++ codegen: emit correctly typed code for closures in 'const'; refs #7870 2018-10-02 19:35:24 +02:00
Araq
7bac21ac23 ccgtypes: improve internal documentation 2018-10-02 19:33:29 +02:00
Araq
c2de135905 C++ codegen: map nil to nullptr 2018-10-02 16:18:16 +02:00
Araq
6f23b05c09 docgen: fixes typo 2018-10-02 16:18:16 +02:00
Araq
621b2db2e8 compiler IC: minor improvements 2018-10-02 16:18:16 +02:00
Araq
ae901b3272 fixes #7351 2018-10-02 16:18:16 +02:00
Araq
f98352a498 compiler: fixes path generation for .line pragma 2018-10-02 16:18:16 +02:00
Araq
76aab9baf1 compiler: make symbolfiles feature compile again 2018-10-02 16:18:15 +02:00
mike stedman
cf2142d82a Remove install_nimble.nims, install_tools.nims as per #4934 2018-10-01 22:41:46 -06:00
Dominik Picheta
c6e10a442d Merge pull request #9151 from flaviut/fix-9053
Fix option documentation in nre (fixes #9053)
2018-10-01 20:33:51 -07:00
Flaviu Tamas
a0ac0b9696 Fix option documentation in nre (fixes #9053) 2018-10-01 21:38:56 -04:00
Andreas Rumpf
41bd6ed628 Merge pull request #9145 from valtron/devel
Misc portability stuff
2018-10-01 22:55:20 +02:00
valtron
78078ea6b4 detect msys "os" 2018-10-01 10:30:52 -06:00
valtron
9db92530de fix: echo "\n" not portable 2018-10-01 10:27:13 -06:00
Andreas Rumpf
fcbb00b97a Merge pull request #9134 from komainu8/fix_issues_9126
Fix #9126: use splitPath instead of substr
2018-10-01 16:50:09 +02:00
Araq
4e120d5997 docgen: also build nre/util.nim; fixes #9109 2018-10-01 16:44:38 +02:00
Araq
34398a9d66 fixes #9140 2018-10-01 15:07:41 +02:00
Araq
47653882ef compiler: minor documentation improvement 2018-10-01 14:54:31 +02:00