Araq
2fc63838c8
appveyor: attempt to make the build more robust
2018-09-10 14:13:18 +02:00
Araq
769b562764
some protection against injected doc comments from templates
2018-09-08 10:45:51 +02:00
Araq
ca77f9388a
'nim doc': fixes index generation regression
2018-09-08 10:04:22 +02:00
Araq
c7ba7a97c0
fixes merge conflict
2018-09-07 19:25:05 +02:00
Araq
f078f272e5
make tests green again
2018-09-07 19:21:17 +02:00
Araq
e06a89e112
fixes bootstrapping problems
2018-09-07 19:21:17 +02:00
Andreas Rumpf
b017138c32
added a test for 'nim doc'
2018-09-07 19:21:16 +02:00
Andreas Rumpf
86556ebfdb
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
2018-09-07 19:21:16 +02:00
Andreas Rumpf
b5730ec01f
system.nim: fix doc comment for 'once'
2018-09-07 19:21:15 +02:00
Andreas Rumpf
7f55bfc7d5
fixes #3655
2018-09-07 19:21:15 +02:00
LemonBoy
90025e242d
Minor fixes for asyncjs ( #8894 )
...
* Minor fixes for asyncjs
Mark internal procedures as used
Allow .async. for more node kinds
Make .async. work for nkStmtList
* Fix logic error in both the async macros
2018-09-07 16:42:38 +02:00
Yuriy Glukhov
1e6eca973d
Fixes #8243 ( #8904 )
2018-09-07 16:30:50 +02:00
Araq
7a8c575924
fixes bootstrapping problems
2018-09-07 14:07:42 +02:00
Andreas Rumpf
eb8b36c84d
added a test for 'nim doc'
2018-09-07 13:13:35 +02:00
LemonBoy
e81fe6d32f
Allow wCodegenDecl on lambdas ( #8892 )
2018-09-07 01:58:49 +02:00
LemonBoy
84eab97fed
Sync line generation between C and JS backends ( #8888 )
...
Fixes #7224
2018-09-07 01:56:36 +02:00
LemonBoy
af1e84f54d
Automatic deref for everything but pointers in asm/emit ( #8891 )
...
Fixes #7249
2018-09-07 01:54:59 +02:00
Andreas Rumpf
ad9db5cb1a
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
2018-09-07 01:53:09 +02:00
cooldome
c033ff990a
Renderer bug fixes ( #8804 )
...
Fixes #8763 : render bug: pure enums not handled correctly
Fixes #8762 : render bug: binary operators called with quotes rendered incorrectly
FIxes #8761 : render bug: inversion of operator priorities
2018-09-07 01:52:42 +02:00
LemonBoy
36e6ca16d1
Fix too broad generic match for toHex ( #8889 )
...
Fixes #8865
2018-09-05 20:57:50 +02:00
Andreas Rumpf
92863c0e75
system.nim: fix doc comment for 'once'
2018-09-05 18:05:55 +02:00
Vindaar
d34233b501
[DOC] fix typos in strscans documentation ( #8885 )
2018-09-05 14:57:36 +02:00
Andreas Rumpf
49708d9c25
fixes #3655
2018-09-05 08:47:39 +02:00
LemonBoy
4aba2981dd
Codegen fix for function pointers marked inline ( #8866 )
...
Fixes #5345
Fixes #5701
2018-09-04 15:28:14 +02:00
c-blake
cec89d8354
This has been unnecessary as long as rawNewObj has called zeroMem, ( #8867 )
...
and more recently indexing past the Nim-logical end has become
illegal making this line cause a crash.
2018-09-04 15:26:34 +02:00
Yuriy Glukhov
d2eea9e1c9
Fixes #8851 ( #8859 )
2018-09-04 08:18:11 +02:00
Dominik Picheta
e789acb59b
Merge pull request #8840 from pigmej/fix_with_timeout
...
Handle fut.failed in asyncdispatch.WithTimeout
2018-09-03 21:34:52 +01:00
Andreas Rumpf
e4be1cb814
system.compileDate and compileTime are in UTC; fixes #7305 ; docgen supports SOURCE_DATE_EPOCH, fixes #3113
2018-09-03 22:23:10 +02:00
Araq
b53531ee31
make 'koch web' work again
2018-09-03 20:02:59 +02:00
Araq
320582a55c
cleanup Nim's examples/ directory; closes #7725
2018-09-03 18:29:11 +02:00
LemonBoy
1a60ffcf1d
Correctly mangle this in the JS backend ( #8853 )
...
As shown in pragmagic/karax#67 using `this` as parameter name made the
codegen output wrong code (and the user didn't notice the errors in the
browser console).
2018-09-03 17:51:30 +02:00
Araq
0694c9080f
fixes #8043
2018-09-03 16:07:44 +02:00
cooldome
e63c66b810
Add sym owner to macros ( #8253 )
2018-09-03 13:25:59 +02:00
Araq
1abef2dc59
improve the error message for 'addQuitProc' etc; fixes #5794
2018-09-03 12:27:23 +02:00
Araq
6261309d1b
document the fact that --define symbols are completely case insensitive; closes #7506
2018-09-03 12:09:14 +02:00
Araq
4e05bca96f
manual: add a note about the terminating zero for strings; refs #5596
2018-09-03 12:06:34 +02:00
Araq
d1e3a7c827
document Nim's signal handling briefly; closes #8224
2018-09-03 12:02:56 +02:00
Araq
4b823b2825
manual: more documentation for the 'using' statement; closes #8565
2018-09-03 11:51:15 +02:00
Araq
602aeef4d4
manual: document the 'unsafeAddr' operator; closes #5038
2018-09-03 11:40:14 +02:00
Araq
4993274f2f
document 'var T' and 'typedesc' restriction in generics; closes #1156
2018-09-03 11:38:15 +02:00
Araq
47cbe0e54d
fixes #8852
2018-09-03 11:19:18 +02:00
Araq
e0fd1cdb5f
fix items for cstring for the JS target; makes tests green again
2018-09-03 11:13:59 +02:00
Araq
b3c3a46317
fixes #5745
2018-09-03 10:50:39 +02:00
Araq
7cea0c1765
closes #5252
2018-09-03 10:16:11 +02:00
Araq
9e48999567
closes #4750
2018-09-03 10:02:37 +02:00
Araq
ef771cde1a
document usage of marshal.to; fixes #3150
2018-09-03 09:44:44 +02:00
Araq
7278f28740
fixes the remaining fixable Nimrod->Nim renamings; closes #2032
2018-09-03 09:34:31 +02:00
Araq
7ace82440f
deprecate system.onRaise; fixes #1652
2018-09-03 09:22:19 +02:00
Araq
077f24ab2d
fixes #8797
2018-09-03 09:14:12 +02:00
Araq
cfbf9dcc59
fixes #8740
2018-09-03 09:06:52 +02:00