Andreas Rumpf
0c04b80651
Merge pull request #8966 from LemonBoy/fix-8964
...
Fix hashing for codegenProc (sic) types
2018-09-14 22:28:12 +02:00
Araq
5709736e82
Merge branch 'devel' into araq-better-docgen
2018-09-14 15:48:07 +02:00
LemonBoy
839953c3e1
Fix hashing for codegenProc (sic) types
...
Since the name mangling is inhibited we should take the user-supplied
name during the sighash computation.
Fixes #8964
2018-09-14 15:37:51 +02:00
Araq
4ab9953787
fixes #8961
2018-09-14 11:40:43 +02:00
Araq
7d9c5be333
nim doc: simplifiy index generation
2018-09-13 20:28:51 +02:00
Araq
b9ed684dd2
index generation for docgen knows about subdirectories; index knows about enum values; fixes import statement for runnableExamples
2018-09-13 01:05:51 +02:00
Andreas Rumpf
8f046792cf
Merge pull request #8941 from timotheecour/pr_fix_8928
...
fix #8928 regression
2018-09-12 10:28:57 +02:00
Andreas Rumpf
132eb31e32
Merge pull request #8949 from nim-lang/araq-for-loop-expressions
...
For loop expressions
2018-09-12 10:27:54 +02:00
LemonBoy
b195204549
Fix add(string, cstring) when the lhs is null ( #8951 )
2018-09-12 10:10:00 +02:00
Timothee Cour
b5f463c3f6
fix #8928
2018-09-11 11:36:15 -07:00
Andreas Rumpf
f7d1902043
fixes merge conflicts
2018-09-11 17:27:47 +02:00
LemonBoy
e7d4043406
Always emit hti object types if needed ( #8940 )
...
The compiler is now smart enough to emit types only if needed without
all the importc tricks. This also fixes a codegen bug where, if all the
stars align correctly, typeinfo doesn't include any definition of
`TNimType` but uses it.
Found by @skilchen in #8938
2018-09-11 17:03:21 +02:00
LemonBoy
9ba80d2044
JS strings have no trailing zero anymore ( #8936 )
2018-09-11 11:45:02 +02:00
LemonBoy
3f16711254
Fix insert/delete for JS ( #8915 )
...
Fixes #8914
2018-09-08 10:38:18 +02:00
Andreas Rumpf
b5730ec01f
system.nim: fix doc comment for 'once'
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
LemonBoy
af1e84f54d
Automatic deref for everything but pointers in asm/emit ( #8891 )
...
Fixes #7249
2018-09-07 01:54:59 +02:00
LemonBoy
36e6ca16d1
Fix too broad generic match for toHex ( #8889 )
...
Fixes #8865
2018-09-05 20:57:50 +02:00
Vindaar
d34233b501
[DOC] fix typos in strscans documentation ( #8885 )
2018-09-05 14:57:36 +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
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
Araq
b53531ee31
make 'koch web' work again
2018-09-03 20:02:59 +02:00
cooldome
e63c66b810
Add sym owner to macros ( #8253 )
2018-09-03 13:25:59 +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
ef771cde1a
document usage of marshal.to; fixes #3150
2018-09-03 09:44:44 +02:00
Araq
7ace82440f
deprecate system.onRaise; fixes #1652
2018-09-03 09:22:19 +02:00
Araq
fa338768a3
fixes #8847
2018-09-03 08:37:32 +02:00
Jedrzej Nowak
ac066c5db0
Handle fut.failed in asyncdispatch.WithTimeout
...
Fixes : #8839
2018-09-02 01:49:03 +02:00
Dominik Picheta
d06da9ccf0
Exports dom.Style ( #8444 )
2018-09-01 00:24:09 +02:00
Araq
06e6c38d99
strutils: don't deprecate escape/unescape, too much code uses it
2018-08-31 17:30:58 +02:00
LemonBoy
2c8361bd39
Constant folding for integer casts ( #8095 )
2018-08-31 13:45:42 +02:00
Nathan Cahill
aa33bcb974
Update html elements to current html spec ( #8791 )
2018-08-31 12:03:49 +02:00
alaviss
198e34ec1d
system/excpt: nil is no longer vaild for seqs ( #8825 )
2018-08-31 11:24:01 +02:00
Araq
bacf08e65d
merged #8624 manually; fixes #8442 ; closes #8575
2018-08-31 11:19:42 +02:00
Araq
fab4498727
times.nim: minor code cleanup
2018-08-31 00:30:19 +02:00
Andreas Rumpf
36473acf47
fixes a parseopt regression ( #8820 )
2018-08-30 23:50:09 +02:00
Andreas Rumpf
df4d5b77a1
introduce precise string '[]', '[]=' accessors; fixes #8049 ( #8817 )
2018-08-30 23:01:15 +02:00
Araq
dfdf8e58c7
fixes #8768 properly
2018-08-30 16:54:03 +02:00
Araq
8e33667262
unidecode module: change the default to: embed resource file into the application; fixes #8767
2018-08-30 15:39:47 +02:00
Araq
a14ffd6119
fixes #8768
2018-08-30 15:33:34 +02:00
Timothee Cour
3e6b58323b
fix tests/coroutines/texceptions.nim ( #8810 )
2018-08-30 13:53:16 +02:00
Dominik Picheta
9ad17091cc
Allow Nimble to override the `task` template in nimscript. ( #8798 )
2018-08-28 23:05:46 +02:00
LemonBoy
5cd152bfda
Allow hint and warning to specify its loc info ( #8771 )
...
Let's bring those to feature-parity with `error`.
2018-08-28 22:59:28 +02:00
Dominik Picheta
6e83746caa
Net module fixes ( #8597 )
...
* net.accept no longer needs an initialised socket. Fixes #7848 .
* Assert error when using sendTo/recvFrom on TCP socket.
* net.sendTo now raises OSError.
2018-08-28 15:52:28 +02:00
Araq
a42150f9a8
make parseopt work with DLLs on Unix
2018-08-28 15:41:55 +02:00
Araq
e02e057a70
make parsopt compile under --taintMode:on
2018-08-28 15:41:55 +02:00
Araq
6f16166c60
parseopt: keep the seq of arguments as given; fixes various command line parsing edge cases; refs #6818
2018-08-28 15:41:55 +02:00
hlaaf
a270899502
Add escapeJsonUnquoted for json escaped strings without quotes ( #8785 )
...
* Add escapeJsonUnquoted
* Add tests for escapeJsonUnquoted
2018-08-27 12:22:55 +02:00
Nathan Cahill
238809f506
Update html attrs to current html spec
2018-08-26 21:48:37 +01:00