Commit Graph

17607 Commits

Author SHA1 Message Date
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
Araq
fa338768a3 fixes #8847 2018-09-03 08:37:32 +02:00
Andreas Rumpf
dc67dd3bef fixes #8028 2018-09-03 01:35:45 +02:00
Andreas Rumpf
0d68ef9f11 runnableExample: put each example to its own file; fixes #7285 2018-09-03 00:43:12 +02:00
Andreas Rumpf
06dbe9697f fixes #8831 2018-09-03 00:43:12 +02:00
LemonBoy
fd7fd1819c Make sure addGotoOut always inserts its node (#8843)
Fixes #8773
2018-09-03 00:32:26 +02:00
Andreas Rumpf
1948eadc24 change runnableExamples implementation; fixes #8641; fixes #7135; runnableExamples works for templates and generics 2018-09-02 22:56:26 +02:00
Andreas Rumpf
4cf704bb3e fixes #8694 2018-09-02 22:44:48 +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
Araq
e09eeb02bf fixes #8052 2018-08-31 17:27:57 +02:00
LemonBoy
2c8361bd39 Constant folding for integer casts (#8095) 2018-08-31 13:45:42 +02:00
LemonBoy
b74faf354e Do not materialize empty varargs[untyped] arrays (#8715)
When an empty nkArgList `varargs[untyped]` is passed around it is now
reused for efficiency sake and to prevent the introduction of a spurious
element: before this commit we'd pass the caller a
nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty
nkArgList.

Fixes #8706
2018-08-31 12:16:46 +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
Vindaar
47c7fd037e Improve enumerate macro (#8819)
* fix case macro manual entry to produce code block

Previously line breaks were so weird that the code blocks were not created.

* improve `enumerate` for loop macro by wrapping in block
2018-08-31 01:16:44 +02:00
Araq
2f7b979e38 fixes #8066 2018-08-31 00:30:19 +02:00
Araq
fab4498727 times.nim: minor code cleanup 2018-08-31 00:30:19 +02:00
Araq
6fd0a33265 Tutorial 1: Simplifiy the discription of enums; it is a tutorial, not a manual 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
e98e214422 fixes #7854 2018-08-30 15:49:51 +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
Timothee Cour
ed0cb7b85d make config.nims behave like nim.cfg in terms of where these scripts are searched / run (#8682)
* run project config.nims if exists, then inputfile.nims if exists
* ~/.config/nim/config.nims can now be used
* also check in getSystemConfigPath for config.nims
* refactor handleCmdLine for nim and nimsuggest
2018-08-30 13:52:32 +02:00
awr
8062698e7f [Docs] Added {.reorder.} to manual 2018-08-29 13:49:45 -05:00
Timothee Cour
01211ced1d add nim c -r nimsuggest/tester to travis (#8805) 2018-08-29 16:03: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