Commit Graph

12181 Commits

Author SHA1 Message Date
Andreas Rumpf
e4e6b1f496 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-04-01 18:00:00 +02:00
Andreas Rumpf
542618da70 sink parameters: next steps 2018-04-01 17:59:54 +02:00
Dominik Picheta
86c65db18d Some more fixes to the readme. 2018-04-01 00:51:45 +01:00
Dominik Picheta
f97decaa2f Improve compilation instructions in readme 2018-04-01 00:50:48 +01:00
Andreas Rumpf
455dd36135 destructors: first version of 'sink' parameter logic 2018-03-31 20:27:08 +02:00
Dominik Picheta
61f00da4bc Merge pull request #7445 from nim-lang/asyncstreams-doc
Added documentation for asyncstreams
2018-03-30 14:07:36 +01:00
Dominik Picheta
d6d3c5695b Fixes #7400 2018-03-30 13:16:59 +01:00
Andrea Ferretti
59124aed0b Added asyncfutures doc 2018-03-30 14:13:22 +02:00
Andrea Ferretti
4608ecee5e Update website.ini 2018-03-30 10:15:14 +02:00
Araq
a9691aeef5 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-03-30 02:32:29 +02:00
Araq
9de05ec3e0 further steps in implementing sink parameters; refs #7041 2018-03-30 02:32:13 +02:00
Dominik Picheta
325d76b56a Merge pull request #7437 from treeform/patch-2
Add some missing things to dom.nim
2018-03-29 14:30:15 +01:00
treeform
577025c319 Add some missing things to dom.nim
Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
2018-03-29 05:31:19 -07:00
Dominik Picheta
9c2cdc94a2 Fixes #7433. 2018-03-29 11:57:53 +01:00
Dominik Picheta
082b071683 Merge pull request #7075 from lcrees/get_default
Add default argument to tables.getOrDefault
2018-03-29 11:41:25 +01:00
Dominik Picheta
916ce09c80 Merge pull request #7423 from alehander42/feature-disable-param-filtering
Unittest param filtering
2018-03-29 11:37:34 +01:00
Dominik Picheta
a429afaa21 Merge pull request #7436 from gmfawcett/fawcett-net-connect-error
net.connect (with timeout), raise error on connect failure
2018-03-29 11:35:03 +01:00
cooldome
bcda71a8a7 fixes #7414 (#7434) 2018-03-29 09:19:03 +02:00
Graham Fawcett
ace96bf83e net.connect (with timeout), raise error on connect failure
Under Linux (probably POSIX), the current code tests for timeout, but
does not test for connection failure. connectAsync() returns succesfully
upon an EINPROGRESS result; but at this point, the connection state is
still unknown. After selectWrite() is done, we need to test the socket
for errors again.
2018-03-28 19:09:16 -04:00
Alexander Ivanov
53088c05cb Disable param filtering 2018-03-27 19:23:08 +03:00
Timothee Cour
50229293ae doc: fix path to $HOME/.config/nim.cfg to work on POSIX (not just unix but also osx) (#7421) 2018-03-27 09:45:43 +02:00
Abhishek
23064bba3a fix small typo in the documentation (#7411) 2018-03-26 09:48:39 +02:00
Araq
1d9343080d added toOpenArray builtin for zero-copy slices; syntax sugar yet to come 2018-03-24 20:26:34 +01:00
zah
121b9e26fb Static[T] fixes (#7333)
* fix the usage of unresolved static[T] parameters in proc signatures
* fix tsametype and tmacrogenerics
* Allow creating composite type classes with concepts and using them in type signatures
* Allow integers to be used in ident concatenations
* Support using imported C++ generic types in proc signatures
* fixes #7230
* closes #7379
* re-enable some metatype tests
2018-03-24 15:28:09 +01:00
Andreas Rumpf
2e7a0e1cdd make tests green again 2018-03-24 11:30:29 +01:00
Andreas Rumpf
299e944cf7 fixes the 'var T' checking 2018-03-24 10:10:28 +01:00
Andreas Rumpf
3be4f9111c enforce 'var T' produces a view into the first parameter; refs #7373 2018-03-24 09:41:04 +01:00
Andreas Rumpf
6f747674be more checking for 'var T' as return type; refs #7373 2018-03-24 08:37:09 +01:00
Andreas Rumpf
88d8a14fb4 mysql.nim: fixes how the DLL version loading works 2018-03-24 08:37:09 +01:00
cooldome
e2c2ae8e7e fixes #7392 (#7395) 2018-03-23 13:28:22 +01:00
Araq
a0b547001b nimsuggest: do not execute the .nims file when requested to auto-complete it 2018-03-22 15:51:23 +01:00
Araq
7e835a84b8 further planning of Nim is done via RFCs; no todo.txt anymore 2018-03-22 15:16:48 +01:00
Dominik Picheta
43c636c449 Merge pull request #7388 from euantorano/patch-1
Add an example to the `dynlib` module doc
2018-03-21 12:23:44 +00:00
Euan T
9e0e099cc0 Add an example to the dynlib module doc
Following a quesiton on Gitter about loading libraries dynamically based upon some runtime parameter, I noticed there's no documentation on the `dynlib` module for something that's quite common.
2018-03-21 10:30:58 +00:00
Solitude
fc22627dbd libssl.so.44 fix (#7358) 2018-03-20 11:15:21 +01:00
cooldome
23230572e2 Fixes #7363 (#7371) 2018-03-20 11:14:47 +01:00
Dominik Picheta
a581118d0e Merge pull request #7368 from GULPF/patch-2
Remove basic2d & 3d from module list
2018-03-19 20:43:46 +00:00
Araq
d738ed9c92 better error messages for illegal captures 2018-03-19 19:39:44 +01:00
Araq
e83bce3f13 disable flaky fragmenation test for AppVeyor 2018-03-19 17:42:52 +01:00
Araq
8831e654c6 fixes #7364 2018-03-19 17:42:05 +01:00
Oscar Nihlgård
d8108d0449 Remove basic2d & 3d from module list
`basic2d` and `basic3d` has been moved to nimble packages
2018-03-19 15:52:45 +01:00
Dominik Picheta
a1879cae57 Remove bugfixes heading from changelog
This heading is for the automatically generated list of issues fixed.
2018-03-19 09:10:01 +00:00
Araq
3979e83a59 fixes #7331 2018-03-18 17:56:28 +01:00
Dominik Picheta
403c19fba0 Merge pull request #7326 from trustable-code/patch-6
Fix background-color in nimdoc.cfg
2018-03-18 14:40:06 +00:00
Dominik Picheta
58cda83d9e Merge pull request #7356 from GULPF/parseXml-string
Add string overload for parseXml
2018-03-18 13:00:43 +00:00
Araq
863c626078 fixes #7335 2018-03-18 12:13:55 +01:00
Araq
b0994c7f92 better error messages 2018-03-18 12:04:22 +01:00
Oscar Nihlgård
e0ce4f842b Add string overload for parseXml 2018-03-18 11:30:11 +01:00
Araq
4301744e49 raise the max instruction count for the VM to one billion 2018-03-18 11:04:53 +01:00
jcosborn
e39f2a9283 fix allocator corruption for large sizes (#7338)
* fix allocator corruption for large sizes
* allow large chunks to coalesce and added test case
* use correct constants in MaxBigChunkSize
2018-03-17 23:59:04 +01:00