Commit Graph

6365 Commits

Author SHA1 Message Date
Tomohiro
495585bc1e manual: Fix links to Parallel & Spawn (#9342)
(cherry picked from commit eb4272ba1c)
2018-11-01 17:36:02 +01:00
eqperes
7de3bcfb8e Proposed solution for issue #8919 (#9280)
* Proposed solution for issue #8919

* count sub/subs must be non-empty

(cherry picked from commit 14925ee8b6)
2018-11-01 17:35:29 +01:00
Jacek Sieka
7cf3944c38 Testament pre parallel (#9137)
* testament: move to root dir (it's not a test)

* osproc: fix process index passed to afterRunEvent for parallel runs

it was passing the index of the process, not index of all commands

* testament: complete file move

(cherry picked from commit 97738a4f28)
2018-11-01 17:35:08 +01:00
Araq
596524d2ec fixes #9306
(cherry picked from commit 8ab6fa1be2)
2018-11-01 17:32:41 +01:00
eqperes
8a9680e3a2 compile date and compile time tz written in doc (#9283)
(cherry picked from commit 00c4aba828)
2018-11-01 17:32:21 +01:00
Oscar Nihlgård
291d7499a4 Fix OrderedSet.excl (#9287)
(cherry picked from commit eade49d7a7)
2018-11-01 17:31:56 +01:00
eqperes
65c2f19cff Documentation improved for math module 2018-11-01 17:30:51 +01:00
Miran
46f0c7c554 better docs for tables module (#9221)
* better docs for `tables` module

* lower case for the first sentence in docs

(cherry picked from commit 98a8868cb4)
2018-11-01 17:28:42 +01:00
hlaaf
8120d8bede Separate high/low/len docs for each overload (#8816)
(cherry picked from commit c68ea019f9)
2018-11-01 17:27:53 +01:00
Dominik Picheta
7ff17aff5f Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183)
* Fixes #8994. FutureStream read procedure data loss no longer occurs.

* Optimises the fix for #8994.

(cherry picked from commit 21ecf64d24)
2018-11-01 17:27:35 +01:00
Yasuhiro Horimoto
f2a44aa8cf Fixes #8841 (#9101)
Modify comments for readChar and peekChar to the same as the comment for them in the source code.

(cherry picked from commit fe19670c52)
2018-11-01 17:27:28 +01:00
Timothee Cour
2923eb08ab [os] clarify docs for existsDir (#9212)
* Update os.nim

* Update os.nim

(cherry picked from commit 73e6b229aa)
2018-11-01 17:26:06 +01:00
Juan Carlos
4e9686d1a9 HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, marquee, picture, slot, summary (#9252)
(cherry picked from commit bc557e4c6a)
2018-11-01 17:24:04 +01:00
LemonBoy
d29fc8c693 Replace the sha1 implementation w/ a working one (#9242)
As #9239 points out the old implementation had some serious flaws.
The new implementation is a port of the MIT-licensed one used by
Chromium OS and has been tested against the FIPS-provided vectors and by
generating huge files like the ones mentioned in the issue above.

While I tried my best to take into account the existence of BE machines
the code has only been tested on a LE one.

(cherry picked from commit 18023c023d)
2018-11-01 17:23:49 +01:00
Araq
66c0f7c3fb development version is 0.19.1 2018-10-09 10:31:27 +02:00
Timothee Cour
403f5aea14 define NIM_NIL nullptr when __cplusplus >= 201103L 2018-10-08 14:05:43 +02:00
Dominik Picheta
269b957e29 Merges #8451 manually. Fixes #8099. 2018-10-03 21:25:11 -07:00
Dominik Picheta
8c2f576527 Merge pull request #9171 from flaviut/fix-9053
Use runnableExamples for nre example code where possible
2018-10-03 20:43:47 -07:00
Timothee Cour
64ae47e6f0 Update macros.nim (#9182)
* Update macros.nim

* Update macros.nim
2018-10-03 20:33:57 -07:00
Flaviu Tamas
f55580383c Use runnableExamples for example nre code 2018-10-03 16:39:43 -04:00
LemonBoy
2c0bfb34fd Fix regression w/ templates defined in async proc 2018-10-03 18:25:25 +02:00
Steve Kellock
91c13a0163 [docs/json]: expands existing examples + shows {} operator in action (#9157)
* [docs/json]: expands existing examples + shows {} operator in action

* adds import stmt and fixes butchered syntax in json examples
2018-10-02 20:47:21 -07:00
Araq
9bd23b2d4c nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't know nullptr 2018-10-03 00:01:48 +02:00
Araq
c2de135905 C++ codegen: map nil to nullptr 2018-10-02 16:18:16 +02:00
Dominik Picheta
c6e10a442d Merge pull request #9151 from flaviut/fix-9053
Fix option documentation in nre (fixes #9053)
2018-10-01 20:33:51 -07:00
Flaviu Tamas
a0ac0b9696 Fix option documentation in nre (fixes #9053) 2018-10-01 21:38:56 -04:00
Andreas Rumpf
e867c8e5c3 Merge branch 'devel' into fix_issues_9126 2018-10-01 14:15:35 +02:00
Araq
5298c509a7 fixes #9126 2018-10-01 12:51:44 +02:00
Yasuhiro Horimoto
aa8249d177 Fix #9126: use splitPath instead of substr 2018-09-30 23:20:14 +09:00
Andreas Rumpf
2dfd09b1be Merge pull request #9115 from mashingan/fix-json-aliased
Fix #9111; error when parsing to aliased type field
2018-09-29 13:27:37 +02:00
Araq
4f8cf945fb docs: remove most stale links; refs #9109 2018-09-29 11:23:29 +02:00
mashingan
5624036251 Fix #9111; error when parsing to aliased type field 2018-09-29 15:48:01 +07:00
Kaushal Modi
903886396d Don't prevent ',' from getting escaped in theindex.html
- Enable escaping of links in theindex.html
- Fixes https://github.com/nim-lang/Nim/issues/9107.
- Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
2018-09-28 15:39:22 -04:00
LemonBoy
907969d69b Allocate OpenSSL memory outside of the thread heap
Prevent spurious segfaults when OpenSSL is used in multithreaded
environments since the library isn't able to handle thread-local memory.

Fixes #9016
2018-09-27 17:23:55 +02:00
Dominik Picheta
acf4e02514 Merge pull request #9057 from LemonBoy/fix-9055
Make getSockDomain work with AF_UNIX sockets
2018-09-25 05:00:09 -07:00
Andreas Rumpf
27b622665d Merge pull request #9065 from alaviss/haiku-32bit-fix
cpuinfo: fix compilation for 32bit Haiku
2018-09-25 12:13:11 +02:00
Andreas Rumpf
c240806756 update version to 0.19 2018-09-25 12:21:04 +02:00
Andreas Rumpf
b0deb55814 Merge pull request #9059 from Vindaar/onSignalMod
fix `posix.onSignal` example, inject current signal as `s`
2018-09-25 11:59:46 +02:00
Leorize
bd3463f776 cpuinfo: fix compilation for 32bit Haiku 2018-09-25 15:47:23 +07:00
Araq
548fc778c9 .error for routines now can also have a custom error message; improve error message for 'nil' strings 2018-09-25 00:28:39 +02:00
Araq
8029a649ba math.nim: document what to use instead of 'fmod' 2018-09-25 00:10:21 +02:00
Sebastian Schmidt
621ef18478 inject sig from anonymous proc instead of for loop 2018-09-24 23:49:13 +02:00
LemonBoy
d87606b100 Make getSockDomain work with AF_UNIX sockets
Fixes #9055
2018-09-24 17:26:45 +02:00
Leorize
8cc1c55620 os: add getAppFilename() implementation for Haiku 2018-09-24 21:01:55 +07:00
Andreas Rumpf
c1aecb8914 os.nim: allow walkDir to work on hierarchies with dangling symbolic links; refs #9034 2018-09-24 13:15:55 +02:00
Vindaar
4c6382a334 fix posix.onSignal example, inject current signal as s 2018-09-24 11:21:45 +02:00
Andreas Rumpf
a2587aad0d Merge pull request #9035 from LemonBoy/fix-3075
Skip nested procedures in .async. macro
2018-09-22 20:18:13 +02:00
LemonBoy
75a981cf80 Skip nested procedures in .async. macro
Fixes #3075
2018-09-22 17:30:17 +02:00
Leorize
08c6484298 ioselectors_poll: don't pollRemove() if not needed
pollAdd() is called only if events set isn't empty.
2018-09-22 14:01:05 +07:00
Andreas Rumpf
a19d2f76f6 Merge pull request #9015 from LemonBoy/fix-9013
Fix linking issue in cpp codegen
2018-09-19 22:53:52 +02:00