Commit Graph

12201 Commits

Author SHA1 Message Date
Dominik Picheta
7ef0cfebb5 Merge pull request #7495 from GULPF/fix-fill-bug
Fix algorithm.fill for empty input
2018-04-04 13:54:40 +01:00
Oscar Nihlgård
34df046d37 Fix algorithm.fill for empty input 2018-04-04 13:02:14 +02:00
Oscar Nihlgård
da077eea7c Move algorithm tests away from koch 2018-04-04 13:00:51 +02:00
Arne Döring
abfcbaa74c fewer temporary string allocations for the compiler's renderer (#7484) 2018-04-04 08:46:35 +02:00
Araq
f108e89670 implemented v2 string literals 2018-04-03 23:41:20 +02:00
Roman Ovseitsev
17d0e29d40 Fix documentation link for set type (#7465) 2018-04-03 10:39:17 +02:00
Andreas Rumpf
8b0ea4b501 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-04-03 10:25:26 +02:00
Andreas Rumpf
d837362216 C codegen: preparations for different seq and string implementations 2018-04-03 10:25:20 +02:00
Eugene Kabanov
0b99e8e8cb Fix compiler stuck on waiting C/CPP backends. (#7472) 2018-04-02 21:54:27 +02:00
Andreas Rumpf
b25044286b sysstr.nim: fix minor typos 2018-04-02 17:01:40 +02:00
Andreas Rumpf
cc6fe6e578 fixes codegen for nil cstrings 2018-04-02 17:00:35 +02:00
Dominik Picheta
755570bcfb Merge pull request #7459 from arnetheduck/posix-rlimit-nofile
RLIMIT_NOFILE as posix const
2018-04-02 14:35:04 +01:00
Dominik Picheta
39c71d6211 Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversions
Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
2018-04-02 14:31:05 +01:00
Dominik Picheta
92d2ce01d6 Merge pull request #7456 from data-man/cmp_datetime
Comparing datetimes
2018-04-01 17:02:23 +01:00
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
Jacek Sieka
9e51e737b6 RLIMIT_NOFILE as posix const 2018-04-01 20:17:32 +08: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
data-man
759023e157 Comparing datetimes 2018-04-01 00:41:38 +03: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
Yuriy Glukhov
0770844285 Comments addressed 2018-03-24 22:55:06 +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