Konstantin Molchanov
fde4a086c5
8684 add shortcut sort procs ( #9174 )
...
* Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs.
* Add tests for sort, sorted, and isSorted procs from algorithm module.
* Merge sort tests into tsortcall.nim, remove tsort.nim.
* Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs.
* Add tests for sort, sorted, and isSorted procs from algorithm module.
* Merge sort tests into tsortcall.nim, remove tsort.nim.
2018-10-11 22:51:23 +02:00
Oscar Nihlgård
eade49d7a7
Fix OrderedSet.excl ( #9287 )
2018-10-11 08:40:09 +02:00
eqperes
6620b5dc8d
Documentation improved for math module ( #9266 )
2018-10-10 14:25:39 +02:00
Miran
98a8868cb4
better docs for tables module ( #9221 )
...
* better docs for `tables` module
* lower case for the first sentence in docs
2018-10-09 22:39:51 +02:00
Miran
47828efe32
better docs for algorithm module ( #9192 )
...
* better docs for `algorithm` module
* address the comments
* small first letter in the first sentence
* last argument is reverted to be `int`
* `rotateLeft` keeps `discardable` pragma, as discussed on IRC
* another small correction
2018-10-09 21:36:51 +02:00
Miran
27e4825c62
[cleanup] remove xmldom and xmldomparser ( #9234 )
2018-10-09 20:58:56 +02:00
Dominik Picheta
21ecf64d24
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 .
2018-10-09 19:39:12 +02:00
Arne Döring
5076fda2e2
fix for #9082 ( #9089 )
2018-10-09 19:37:53 +02:00
Yasuhiro Horimoto
fe19670c52
Fixes #8841 ( #9101 )
...
Modify comments for readChar and peekChar to the same as the comment for them in the source code.
2018-10-09 19:30:02 +02:00
Timothee Cour
a98b1a7764
fix #8341 : add lastPathPart ( #9116 )
2018-10-09 19:27:31 +02:00
alaviss
2a31f42d35
asyncmacro: add nnkSym support for getName() ( #9204 )
...
Fixes #9201
2018-10-09 15:53:13 +02:00
alaviss
dad290accb
os: use unlink() to remove file ( #9220 )
...
removeFile() behavior should now be consistant between Windows and POSIX
Fixes #9200
2018-10-09 15:37:36 +02:00
Kaushal Modi
c0266e1afa
Fix typo in an algorithm runnableExamples ( #9260 )
...
Fixes the 'koch docs' build failure.
Ref:
b90b45b01b
2018-10-09 15:36:36 +02:00
Timothee Cour
73e6b229aa
[os] clarify docs for existsDir ( #9212 )
...
* Update os.nim
* Update os.nim
2018-10-09 15:04:29 +02:00
pqflx3
b90b45b01b
Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. ( #8778 )
...
* Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. Fixes 8684.
* Change signatures to 'func'. Improve overload sort doc comments
2018-10-09 13:25:25 +02:00
Juan Carlos
bc557e4c6a
HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, marquee, picture, slot, summary ( #9252 )
2018-10-09 13:13:13 +02:00
Dominik Picheta
269b957e29
Merges #8451 manually. Fixes #8099 .
2018-10-03 21:25:11 -07: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
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
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
Leorize
bd3463f776
cpuinfo: fix compilation for 32bit Haiku
2018-09-25 15:47:23 +07:00
Araq
8029a649ba
math.nim: document what to use instead of 'fmod'
2018-09-25 00:10:21 +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
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
0951b5b736
Merge pull request #9011 from LemonBoy/fix-9008
...
Convert *_family fields to cushort
2018-09-19 18:03:30 +02:00
Andreas Rumpf
541debe6e1
stdlib: minor changes to avoid compiler warnings
2018-09-19 15:39:10 +02:00
LemonBoy
a27429304e
Convert *_family fields to cushort
...
Fixes #9008
2018-09-19 12:33:11 +02:00
Vindaar
e9addb3ab2
fix #8925 by using getTypeInst instead of getType
2018-09-17 19:34:40 +02:00
Andreas Rumpf
0330fb2e13
fixes #8911
2018-09-16 12:28:43 +02:00
Andreas Rumpf
866d6d1891
Merge pull request #8897 from timotheecour/pr_startProcessAuxSpawn_raiseOSError_context
...
add data.sysCommand when startProcessAuxSpawn raises
2018-09-16 11:45:10 +02:00
Andreas Rumpf
566edd54b6
Merge pull request #8977 from LemonBoy/fix-unix-sockets
...
Fix connectUnix/bindUnix with abstract socket paths
2018-09-16 11:34:11 +02:00
LemonBoy
a2a06d43f2
Fix connectUnix/bindUnix with abstract socket paths
...
The only way to make this work for both abstract and non-abstract
sockets is to send the kernel an incomplete structure.
Reported by Epictek on the forum.
2018-09-15 20:43:08 +02:00
Araq
7df722844b
typetraits: Dots for sentence endings.
2018-09-15 20:32:11 +02:00
Araq
0841eaa273
typetraits.arity: improve the documentation; fixes #8965
2018-09-15 13:46:00 +02:00
Araq
ea1c28294a
fixes #8925
2018-09-15 00:32:40 +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
Timothee Cour
67aa8eab0b
add data.sysCommand when startProcessAuxSpawn raises
2018-09-06 03:12:10 -07: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