Arne Döring
dfa3099929
deprecated list comprehension ( #10636 )
2019-02-13 23:30:14 +01:00
Juan Carlos
f5e55162ba
Lowercase ext before querying the mimedb on mimetypes module, change isMainModule to runnableExamples ( #10644 )
2019-02-13 23:30:14 +01:00
narimiran
e26a0c4f1a
better docs: times
2019-02-13 23:30:14 +01:00
Juan Carlos
d3a74ea515
Update mimetypes ( #10621 )
...
* Update mimetypes const mimes, Fix for Nim mimetypes to recognize Nim and Nimble
2019-02-13 23:30:14 +01:00
narimiran
572739a4f3
macros: add links in the docs [ci skip]
2019-02-13 23:30:14 +01:00
Jjp137
7bb94abc31
better docs: random ( #10546 )
2019-02-13 23:30:14 +01:00
Timothee Cour
942495611b
revive #10228 ( fix #9880 ) ( #10610 )
...
* Make index out of bounds more useful by including the 'bounds'.
* fixes #9880 index out of bounds (remaining cases); revives #10228
* change err msg to: `index 3 not in 0 .. 1`
2019-02-13 23:30:14 +01:00
Federico Ceratto
8f05b34125
Add note on channel usage with spawn ( #10627 ) [ci skip]
2019-02-13 23:30:14 +01:00
Emery Hemingway
d1e3f58afc
Use standard XML escaping
2019-02-13 23:30:14 +01:00
Dean Thompson
f785286743
Expanded the typeinfo module's doc comment to warn that rtti will evolve and suggest alternative approaches. ( #10596 )
2019-02-13 23:30:14 +01:00
Juan Carlos
dcbab1031a
Fixes #10357 ( #10618 )
2019-02-13 23:30:14 +01:00
Brent Pedersen
fe26328a19
sets: avoid calling countBits32 for 0 ( #10619 )
...
this speeds up the system.sets time from ~0.2 to ~0.06
in release mode. This is still slower than intsets and
tables (which both are ~0.01).
This assumes that most sets will be sparse.
fixes #10617
2019-02-13 23:30:14 +01:00
Oscar Nihlgård
779c51c29b
Implement json.% for tables and options
2019-02-13 23:30:14 +01:00
LemonBoy
eb30c78694
Misc macro things ( #10612 )
...
* Misc cleanup in macro code
Generate error messages using `error` instead of `assert`.
Fixes #10574
* Fix crash with hasCustomPragma on quoted fields
Use the `$` operator instead of reaching for the `strVal` field directly
2019-02-13 23:30:14 +01:00
Kobi
dd422bfb0f
fix replacef typo in example
2019-02-13 23:30:14 +01:00
LemonBoy
048a7a6539
Fix compilation w/ Atomic[T] types ( #10607 )
2019-02-13 23:30:14 +01:00
cooldome
d70dd6f3cb
Move cpp exception handler from system to excpt next to the signal handler ( #9435 )
2019-02-13 23:30:14 +01:00
b3liever
695206a00c
Add summation algorithms ( #9284 )
2019-02-13 23:30:14 +01:00
Andreas Rumpf
ec68d89e42
make it work with latest system.nim
2019-02-08 17:41:34 +01:00
Andreas Rumpf
0841c64a32
Merge branch 'devel' into araq-quirky-exceptions
2019-02-08 17:18:17 +01:00
Andreas Rumpf
6fc90ab1c2
macros.nim: minor comment change
2019-02-08 16:09:22 +01:00
Araq
8bc7c50c86
DOM module: re-add more missing stuff
2019-02-08 12:18:42 +01:00
Araq
4572568045
fixes #10602
2019-02-08 09:52:29 +01:00
Araq
3dc270eee5
DOM module: add more missing stuff
2019-02-07 15:04:05 +01:00
Araq
d5da450100
helpers2 now has a real name
2019-02-07 12:12:20 +01:00
Andreas Rumpf
37f9ace517
further system.nim cleanups
2019-02-06 22:35:51 +01:00
Andreas Rumpf
0036014727
system refactorings ( #10559 )
...
* move IO subsystem into its own module; refs #10385
* make standalone test compile again
* make C++ examples compile again
* make more tests green
* make sysAssert and gcAssert work again
2019-02-06 21:00:00 +01:00
Andreas Rumpf
65f3e390e8
fixes #10584 [backport]
2019-02-06 20:58:28 +01:00
Oscar Nihlgård
bfb2ad5078
New implementation of times.between ( #10523 )
...
* Refactor ttimes
* New implementation of times.between
* Deprecate times.toTimeInterval
2019-02-06 20:13:29 +01:00
Araq
e457ccc7e1
make travis green
2019-02-06 17:42:38 +01:00
Araq
035134de42
make streams.close more forgiving in order to break less code out there
2019-02-06 15:51:21 +01:00
Araq
b5991f52b9
DOM.nim: fix regression, missing procs
2019-02-06 15:37:32 +01:00
LemonBoy
26255c72fd
Fix getCustomPragmaVal on var fields
2019-02-06 11:34:55 +01:00
Vindaar
7424ea4315
fix typo in stats module ( #10562 ) [ci skip]
2019-02-05 15:37:55 +01:00
Arne Döring
824f39b32e
Vm bitops fixes ( #10520 )
2019-02-05 09:31:37 +01:00
LemonBoy
bcb5995ddf
Fix regression w/ keep-alive connections to AsyncHttpServer
...
We should keep listening if the connection is marked as keep-alive.
Fixes #10536
2019-02-04 22:16:55 +00:00
LemonBoy
59574b89a6
Clean up some code using a tuple unpack expression
2019-02-04 22:16:55 +00:00
LemonBoy
d7ca7fd03e
Small change in how tuples are handled in async macro
...
A small change that brings no functional change beside a flatter tree.
2019-02-04 22:16:55 +00:00
Andreas Rumpf
56d2b08c5a
times.nim: make it compile on older OSX versions
2019-02-04 21:06:43 +01:00
Andreas Rumpf
57b49cc509
allocators: add a name field for easier debugging
2019-02-04 21:06:23 +01:00
Oscar Nihlgård
315abd7163
Change strtabs.nextTry to match the assumption in strtabs.del
2019-02-03 09:37:11 +01:00
Oscar Nihlgård
0091f2ad3b
Implement {.booldefine.} ( #10533 )
2019-02-03 09:06:00 +01:00
Andreas Rumpf
17d0ce9c1c
DOM API: make compatible with Karax's requirements ( #10517 )
...
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Timothee Cour
2b35a51651
brew almost never requires sudo ( #10525 )
2019-02-01 14:56:31 -08:00
Oscar Nihlgård
1ac28f6f5e
Deprecate the times.countX procs ( #10522 )
2019-02-01 20:05:05 +01:00
narimiran
237a36075a
another quickfix for os.nim documentation
2019-02-01 19:44:19 +01:00
narimiran
9bd0c2d59a
quick-fix for os.nim documentation
2019-02-01 19:37:24 +01:00
Andreas Rumpf
fc99ddc648
Merge pull request #10513 from LemonBoy/uri-encq
...
Add `encodeQuery` and `?` to Uri module
2019-01-31 18:19:37 +01:00
Araq
0ecec8362a
distros.nim: brew usually requires 'sudo'
2019-01-31 15:12:36 +01:00
LemonBoy
ec26bc472d
Add encodeQuery and ? to Uri module
2019-01-31 13:47:51 +01:00