Commit Graph

19375 Commits

Author SHA1 Message Date
Andreas Rumpf
f65f760dee fixes #15884 (#18230)
* fixes #15884

* micro optimization
2021-06-10 18:19:20 +02:00
Andreas Rumpf
2ea7287217 view types: spec changes (#18226)
* view types: spec changes

* Update doc/manual_experimental.rst

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

* Update doc/manual_experimental.rst

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
2021-06-10 16:49:17 +02:00
Kaushal Modi
3481ff6172 Update nims.rst to reflect that -d:release is now allowed in config.nims (#18221)
`-d:release` and `-d:danger` started working in `config.nims` after df429fa287 .
2021-06-10 14:29:03 +02:00
Fröhlich A
7bf0404dd8 #18216 make moveDir work across partitions on windows (#18223)
* return false if AccessDeniedError in tryMoveFSObject - fixes #18216

* add moveDir & moveFile tests

* rename `isMoveDir` parameter to `isDir`
2021-06-10 14:28:00 +02:00
Timothee Cour
8a9b20579e update changelog for wrapnils (#18228) 2021-06-10 01:27:12 -07:00
Andreas Rumpf
0a4858dc59 fixes #18220 (#18227) 2021-06-10 09:25:51 +02:00
Timothee Cour
79ded694d7 avoid re-exporting options from std/wrapnils (#18222) 2021-06-10 07:00:34 +02:00
Timothee Cour
19918ceb2b update .github/ISSUE_TEMPLATE/bug_report.md, mention PRs, contributing, devel branch (#18224) 2021-06-09 22:46:00 +01:00
Andreas Rumpf
47acc80f4e make strict funcs analysis smarter (#18219)
* make strict funcs analysis smarter: varParam[i] = v is different from varParam[i][] = v
* added a test case
* Update compiler/varpartitions.nim

Co-authored-by: Clyybber <darkmine956@gmail.com>
2021-06-09 17:33:19 +02:00
drtheuns
51ab7ccec1 Fix JS error on index page and detect dark mode (#18191)
* Fix JS error on index page and detect dark mode

The theindex.html page doesn't have a dark mode switch so the main
function will error because `toggleSwitch` is not defined. Checks have
been added to prevent this from happening.

Also add automatic detection of system settings for dark-mode. This
could also be done with pure css, but then the dark mode variable
declarations would have to be duplicated to work with the switch so I
went with this approach.

* Fix nimdoc tests

* Fix rst2html tests
2021-06-07 18:40:09 +02:00
Andreas Rumpf
21f3b8539a fixes #18088 (#18209) 2021-06-07 17:22:35 +02:00
flywind
5bad022d58 alternative to #18185 (#18206) 2021-06-07 15:32:37 +02:00
Bung
429b128632 change mimedb stroe stringtable to orderedtable (#18065)
* change mimedb stroe stringtable to orderedtable

* Update lib/pure/mimetypes.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2021-06-07 13:57:42 +02:00
Federico Ceratto
2ec52faae5 koch: print help if no command is given (#18199) 2021-06-07 11:44:43 +02:00
slangmgh
e7aa41ff3f fix 18186 with adding importc _umul128 (#18200) 2021-06-07 11:42:32 +02:00
Andrey Makarov
e7816a3e77 update docgen documentation (#18192)
* update docgen documentation

* --fullhelp

* Update doc/docgen.rst

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* [skip ci] fix typos

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
2021-06-06 09:55:20 +02:00
Timothee Cour
9106ab7db1 make changeDetectedViaJsonBuildInstructions warning less verbose when json file invalid (eg due to spec change) (#18197) 2021-06-06 09:53:22 +02:00
Timothee Cour
b9843b156d fix #18178, set a CI timeout for github action pipelines instead of the 6 hour default (#18179) 2021-06-05 09:47:28 +02:00
Timothee Cour
9c6259e557 up to 20x faster jsonutils deserialization (#18183)
* up to 20x faster jsonutils deserialization

* noinline
2021-06-05 09:45:37 +02:00
Andrey Makarov
9c0666e0bb rst: remove roSkipPounds option (#18175) 2021-06-05 09:12:37 +02:00
Rainbow Asteroids
295429f425 add dom.scrollIntoView with options; refs #18093 (#18181) 2021-06-05 09:07:26 +02:00
Timothee Cour
3cc547f2df macros.treeRepr + friends: collapse SymChoice (#18072)
* macros.treeRepr + friends: collapse SymChoice

* make repr+friends work with invalid symchoice nodes

* address comment
2021-06-05 06:58:26 +02:00
Euan
a2b6081256 Ref #18177 - lbgc.so.5.0 on OpenBSD 6.9 (#18180) 2021-06-04 15:46:57 -07:00
Timothee Cour
cc7ec5a6a4 fix #7295: use move(result) inside template to avoid copy with --gc:refc (#18168) 2021-06-04 15:32:46 -07:00
flywind
a77360da5b workaround bug in sharedtables.withValue to unblock frozen CI on OSX (#18172) 2021-06-04 12:41:13 -07:00
Andreas Rumpf
5423915e5a real bugfix for #17170 (#18171)
* real bugfix for #17170

* better fix
2021-06-04 16:20:47 +02:00
Andrey Makarov
7e21218a07 follow-up #18013 - inline syntax highlighting (#18166) 2021-06-04 16:16:51 +02:00
Timothee Cour
654a20166e simplify extccomp.nim json logic via jsonutils; fix #18084 (#18100)
* simplify extccomp.nim json logic via jsonutils
* fix #18084
* simplify further
* workaround for bootstrap that can be removed after updating csources_v1 >= 1.2
2021-06-03 22:29:45 +02:00
Timothee Cour
d91d78f8ae changelog for --unitsep (#18167) 2021-06-03 13:25:36 -07:00
Andreas Rumpf
28f2abe1a2 fixes #18112 (#18165) 2021-06-03 20:55:41 +02:00
Andreas Rumpf
06232b7f2e fixes #18058 (#18162) 2021-06-03 17:12:45 +02:00
flywind
d31cbfd167 Revert "add missing import to asynchttpserver's example" (#18164)
This reverts commit 7ef364a402.
2021-06-03 16:44:11 +02:00
Andreas Rumpf
0aa8b793a5 clarify what a 'monotonic' timestamp is (#18163) 2021-06-03 16:27:34 +02:00
narimiran
7ef364a402 add missing import to asynchttpserver's example 2021-06-03 15:20:42 +02:00
Artem Klevtsov
3e57c2f780 Improve db_postgres iterators (#18144)
* Fix pqSetSingleRowMode case. Add links to the docs

* Add missing PGContextVisibility enum

* Remove unused PGContextVisibility enum

* Improve db_postgres iterators

* Fix instantRows with DbColumns. Cosmetics.

* Reduce copy&paste in db_postgres

* Move pqclear inside loop
2021-06-03 14:41:57 +02:00
n5m
9df631a379 reuse algorithm.fill while building SkipTable (#18138)
* reuse algorithm.fill while building SkipTable

* Update lib/pure/strutils.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
2021-06-03 14:25:52 +02:00
Araq
282d61bafa added lib/deps.txt 2021-06-03 14:00:53 +02:00
Andreas Rumpf
daaa40973c added float32 schubfach algorithm; wip (#18155)
* added float32 schubfach algorithm; wip

* fixes #18418
2021-06-03 12:09:40 +02:00
flywind
06960bb9cb Ref #17697 improve withValue docs (#18154)
* Ref #17697 improve withValue docs

* address comments
2021-06-03 07:35:24 +02:00
flywind
bbce3d2da9 [std/tables] remove unnecessary do: (#18160) 2021-06-02 21:09:04 -07:00
flywind
f27f3f65df [std/hashcommon]improve docs a bit (#18153)
* reduce duplicated deprecated messages
2021-06-02 22:59:06 -04:00
Timothee Cour
0de3d4292f fix #16993, #18054, #17835 runnableExamples now works with templates and nested templates (#18082) 2021-06-02 09:02:14 -07:00
n5m
4ee6eddad4 add string-string tests for find and rfind (#18137)
* add string-string tests for find and rfind

* remove duplicate test cases

* remove more redundant test cases
2021-06-02 16:19:30 +02:00
Andreas Rumpf
6768f507fb refactoring: removed empty withBracketExpr template (#18152) 2021-06-02 13:14:10 +02:00
Andreas Rumpf
f10eef29b5 fixes #18059 (#18140)
* fixes #18059
2021-06-02 13:13:23 +02:00
Andreas Rumpf
63db2b19bf use dragonbox algorithm; alternative to #18008 (#18139)
* use dragonbox algorithm; alternative to #18008
* removed unsafe code
2021-06-01 22:29:53 +02:00
Andrey Makarov
ba3ec7b049 docs: Latex generation improvements (#18141)
* docs: improve Latex generation

* make it work on Windows + fix ] escaping

* minor fixes with escapes and style
2021-06-01 20:47:23 +02:00
flywind
c2e3dc0ed1 close #18129 Add setCurrentException for JS backend (#18145)
* [std/re] make interface consistent

* tiny

* revert

* close #18129  add setCurrentException

* changelog entry
2021-06-01 18:16:25 +02:00
flywind
c0e8199acc [std/re] fix findBounds and find procs (#18028)
* [std/re] make interface consistent

* tiny

* revert
2021-05-31 23:28:22 +02:00
Dylan Modesitt
06d50bfd4c Fixes #5034 illformed AST from getImpl with proc returning value (#17976)
* Fixes 5034

* address comments
2021-05-31 22:51:32 +02:00