Timothee Cour
e4e19f8288
stripLineEnd aka chomp ( #9623 )
2018-11-05 08:01:31 +01:00
Federico Ceratto
62693457df
Add 'dedent' to documentation index ( #9615 )
2018-11-04 08:36:13 +01:00
Araq
2eff0ca2b8
added test case for #9594
2018-11-03 22:50:46 +01:00
Andreas Rumpf
ae27f8ac58
fixes #9611
2018-11-03 19:11:10 +01:00
Andreas Rumpf
c739b9192f
produce more helpful error messages when overloading resolution fails
2018-11-03 15:56:13 +01:00
Andreas Rumpf
b4f16fab49
Nim devel is version 0.19.9
2018-11-03 12:45:55 +01:00
Andreas Rumpf
a2e6a873af
fixes #9610
2018-11-03 11:04:30 +01:00
Neelesh Chandola
7a15d2d04b
Fixes #9556 ( #9604 ) [backport]
2018-11-02 18:55:53 +01:00
Neelesh Chandola
2bc016b172
Add test for #6836 ( #9602 )
2018-11-02 13:17:57 +01:00
Araq
234bed1b38
destructors; fixes #9594
2018-11-02 11:29:31 +01:00
Araq
bc26c08862
unicode.nim: minor alignment change
2018-11-02 11:29:30 +01:00
Miran
3806e5640a
delete unused issue_template.md
...
The templates in .github/ISSUE_TEMPLATE are used.
2018-11-02 09:30:33 +01:00
Timothee Cour
d294cec805
Revert "nimsuggest somehow transforms \n into \\x0A, not \x0A"
...
This reverts commit f96e2764c4 .
2018-11-01 14:29:18 -07:00
Timothee Cour
f96e2764c4
nimsuggest somehow transforms \n into \\x0A, not \x0A
...
/cc @Araq
2018-11-01 14:22:09 -07:00
Alexandros Naskos
eb3c9e1d1c
Added "typeof" and "restrict" to special words. ( #9226 )
...
* Added "typeof" and "restrict" to special words.
* Added C and C++ reserved keyword as object field identifier test
2018-11-01 17:24:02 +01:00
Neelesh Chandola
dbfc5c5a44
Fixes https://github.com/nim-lang/Nim/issues/6836 ( #9595 )
2018-11-01 17:23:30 +01:00
PMunch
e9ed4dccb6
Quote do now works with result in block ( #7343 )
...
* Fix result not being able to use in quote do
This fixes the annoying issue of not be able to use result inside a
quote do block. It works by a simple trick. The quote do mechanic is
based on dynamically creating a template and immediately calling it with
the arguments found within the quote do block. Since this is called in
the scope of the macro the result variable is shadowed. This trick works
by changing all occurences of result (which shouldn't cause any issues
as result isn't used for anything else for the same reason) to another
name and then passing in an IdentNode with result as a named parameter
with that name.
Note that currently this just replaces it with a fixed named variable
"res" which should be changed to a non-colliding, dynamically created
name.
* Fix hard coded parameter "res" to anonymous symbol
This fixes the hard coded parameter "res" to be an anonymous symbol
instead so it won't collide with other parts of the argument list.
* Add test case for result in quote do block
A simple test case based on GitHub issue #7323 on how you can't put
result in a quote do block. This test verifies that it actually works
correctly now.
* Add test for explicit capturing of result
* Rebased against devel
2018-10-31 22:14:29 +01:00
Arne Döring
d56312624e
Merge pull request #9586 from b3liever/fix-hypot-js
...
Fix #9585 hypot in js
2018-10-31 21:53:40 +01:00
Arne Döring
0059f16dfb
Merge pull request #9511 from krux02/krux02-devel
...
Krux02 devel
2018-10-31 17:12:36 +01:00
Arne Döring
80843373ba
changelog entry
2018-10-31 14:29:40 +01:00
B3liever
8a1d52fa48
Fix #9585 hypot in js
2018-10-31 14:09:39 +02:00
Arne Döring
84db658eb4
fix typo
2018-10-31 10:44:44 +01:00
Miran
313bbf5b9b
Change documentation details ( closes #5525 ) ( #9542 )
2018-10-31 07:40:05 +01:00
Araq
48f73aaa1c
docgen: fixes #9432 [backport]
2018-10-31 00:19:24 +01:00
Araq
8f28be0dd8
docgen: make tests green again [backport]
2018-10-30 23:30:02 +01:00
Araq
c9e8b899ed
docgen: fixes #9235 [backport]
2018-10-30 23:29:47 +01:00
Araq
b138e89772
contributing guide: document the new [backport] convention
2018-10-30 22:45:38 +01:00
Araq
1dd1d66f16
system.nim: workaround for the fixed documentation generator
2018-10-30 21:58:59 +01:00
Araq
eb03684c57
docgen: fixes #9169 [backport]
2018-10-30 21:58:59 +01:00
Araq
895ac5bec4
nre: don't use the deprecated import syntax
2018-10-30 21:58:59 +01:00
Arne Döring
9c6620eba1
Merge pull request #9570 from b3liever/macrosfixname
...
Fix name set and get procs in macros (fixes #9569 )
2018-10-30 17:15:37 +01:00
Arne Döring
e653121633
fixes #9557
2018-10-30 17:13:02 +01:00
Araq
7ae6b7e9a2
make more tests green for C++; refs #7870
2018-10-30 16:52:33 +01:00
Araq
b3d80dac9c
make tmissingbracket compile for C++; refs #7870
2018-10-30 16:52:33 +01:00
Arne Döring
1ec5c6fdf5
Sizeof alignof fixes ( #9568 )
...
fixes #9545
2018-10-30 16:41:06 +01:00
Arne Döring
cf3d206b9e
undo try break
2018-10-30 16:35:54 +01:00
Araq
432a4d1787
fixes #5549
2018-10-30 15:30:33 +01:00
Araq
e844e536bf
Nim style checker: document the switch; fixes #9564
2018-10-30 15:03:28 +01:00
Araq
5c25b93898
change system.nim to adhere to the style guide
2018-10-30 15:03:28 +01:00
Araq
05964b95e4
change system.nim to adhere to the style guide
2018-10-30 15:03:28 +01:00
B3liever
fb75e3bb49
Fix names set and get procs in macros
2018-10-30 15:42:48 +02:00
Arne Döring
bab9e0020a
fixes #5549
2018-10-30 13:50:06 +01:00
Arne Döring
f84bf45f17
set code owner
2018-10-30 13:50:06 +01:00
Arne Döring
07f76c3ef9
fix compiler crash
2018-10-30 13:50:06 +01:00
Flaviu Tamas
45040a8716
Merge pull request #9539 from flaviut/ft-remove-nre-floats
...
Eliminate floating point arithmatic in nre
2018-10-30 07:29:51 -04:00
Araq
331d1a6ca1
fixes regressions
2018-10-30 11:28:45 +01:00
Araq
f6def4286c
fixes #8603
2018-10-30 11:28:45 +01:00
Ahmed T. Youssef
df68c2da49
write logs to stderr instead of stdout; fixes #9547 ( #9554 )
2018-10-30 07:36:31 +01:00
rec
9899c4525c
Add parsing empty attribs to htmlparser ( #9559 )
2018-10-30 06:58:39 +01:00
jcosborn
69c0a9c6fb
getTypeImpl now returns pragmas for object types ( #9538 )
2018-10-30 06:41:12 +01:00