summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* add bindParams to db_sqlite (#14408)Bung2020-05-262-42/+161
| | | | | | | | | | | | | | | | | | | | | * add bindParams to db_sqlite * no need typeinfo * remove extro spaces * reduce bindParams to two branches,raise DbError * Update lib/impure/db_sqlite.nim * change bindParams to macro,accept varargs[untyped] as params * change bind blob val to openArray[byte] * remove unused err type * explicitly using i32 param * using import std/private/since * SQLITE_OK to right hand * bindParam val int using bindParam overload * copy data by default * change exec to template * remove SqlPrepared procs unused varargs * fix setupquery for prepared,reset first for exec prepared,add bindNull for literal nil Co-authored-by: alaviss <leorize+oss@disroot.org>
* docgen: fix #14448 show @@ as .. in href text (#14451)Timothee Cour2020-05-252-4/+9
|
* tnimblepathdollarfail.nim -> tests/nimble/tnimblepathdollar_fault to reduce ↵Timothee Cour2020-05-252-0/+3
| | | | false positives when searching for `fail` in CI logs (#14450)
* fix #9227 procs can now have multiple interleaved doc comments + ↵Timothee Cour2020-05-251-7/+41
| | | | | | runnableExamples and be docgen'd correctly (#14441) * fix #9227 proc doc comments after 1st runnableExamples are not ignored anymore
* make get for options use lent T (#14442)cooldome2020-05-251-2/+2
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix #6583, fix #14376, index+search now generated for all projects, many bug ↵Timothee Cour2020-05-2522-161/+294
| | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
* Add support for mktemps (#14347)Max Grender-Jones2020-05-252-8/+24
|
* manual.rst: updates [backport] (#14445)Andreas Rumpf2020-05-251-23/+24
|
* add test for `define`, `undef` (#14443)Timothee Cour2020-05-251-0/+12
|
* Add clipPath to dom.nim. (#14435)treeform2020-05-241-1/+2
| | | Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
* fix repr(char) example assert (#14437)hlaaftana2020-05-231-1/+1
|
* Fix #14057 - moveFile should overwrite on Windows (#14433)genotrance2020-05-231-2/+2
|
* avoid unsafe Nim features in preparation for --gc:arc (#14431)Andreas Rumpf2020-05-222-16/+17
|
* add insert,tryInsert unify for postgres that need pk name (#14416)Bung2020-05-225-0/+68
| | | | | | | | | | | * add insert,tryInsert unify for postgres that need pk name * add ReadDbEffect to new procs * add .since and changelog * change since to 1.3 * Update lib/impure/db_postgres.nim Co-authored-by: bung87 <crc32@qq.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: alaviss <leorize+oss@disroot.org>
* Add missing attributes and methods to JavaScript DOM (#14428)Mildred Ki'Lya2020-05-221-0/+14
| | | | | | | | | | | | | | | | | - content attribute to access HTML template element: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content - ownerDocument to access the owning document from a DOM Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - outerHTML to get/set the outer HTML representation of a Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - createComment() to create comment Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment - querySelector() and querySelectorAll() on Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll
* no more code duplication bw liMessage and rawMessage + several bug fixes ↵Timothee Cour2020-05-226-153/+92
| | | | | | | (#14415) * no more code duplication bw rawMessage and liMessage; fixes some bugs in rawMessage * all compiler messages work with hint:msgorigin
* make malloc.nim consistent in style (#14427)Andreas Rumpf2020-05-221-9/+9
|
* [cleanup] fix UnusedImport sempass2 compiler/semparallel.nim (#14426)Timothee Cour2020-05-211-1/+1
|
* ARC/ORC: optimize s.setLen(0) to match the old runtime's behaviour (#14423)Andreas Rumpf2020-05-212-3/+2
|
* change the [Processing] messages into dots (#14418)Andreas Rumpf2020-05-215-10/+38
| | | | | | | * change the [Processing] messages into dots * better implementation * maybe I should work on something else...
* fixes a bug reported in https://forum.nim-lang.org/t/6361 (#14422)Andreas Rumpf2020-05-211-31/+31
|
* The whole options module should be inline (#14417) [backport:1.2]Mamy Ratsimbazafy2020-05-212-15/+14
| | | | | | | * The whole options module should be inline * Use inline per proc and tag `lent` where appropriate * Remove lent annotation (failing at compiletime)
* fix #14404 foldr had the classic multiple evaluation bug (#14413)Timothee Cour2020-05-211-7/+7
|
* fix comment from ↵Timothee Cour2020-05-201-2/+2
| | | | https://github.com/nim-lang/Nim/commit/e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6#r39287564 (#14412)
* Remove #PRTEMP leftover commentClyybber2020-05-201-1/+0
|
* Small improvements for string and char repr with gc:arc (#14400)Clyybber2020-05-203-9/+11
| | | | | * Small improvements for string and char repr with gc:arc * Fix test
* fix #10731 ; `runnableExamples "-b:cpp --run:off": code` works (#14384)Timothee Cour2020-05-206-38/+105
| | | | * runnableExamples "-b:cpp -r:off": code
* asyncdispatch, asyncnet: add inheritance control (#14362)alaviss2020-05-204-38/+130
| | | | | * asyncdispatch, asyncnet: add inheritance control * asyncnet, asyncdispatch: cleanup
* Fix some typos in the manual [backport] (#14399)Danil Yarantsev2020-05-201-10/+10
|
* fixes #14126 [backport:1.2] (#14390)Andreas Rumpf2020-05-203-9/+70
| | | | | * fixes #14126 [backport:1.2] * used more logic to optimize it further; updated Nimble version
* specialize genericReset (#14398)Andreas Rumpf2020-05-194-26/+124
| | | | | | | * progress * make tests green * maybe we also want to reset pointers, dunno * progress * cleanup; fixes #13879 [backport:1.2]
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-1914-34/+30
| | | | | | | | | | cleanups (#14377) * use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
* fix #14364 (#14372) [backport:1.2]Ștefan Talpalaru2020-05-181-0/+1
| | | | Turn on the TLS emulation when using Boehm, since it doesn't scan the real TLS.
* Fix #14394 (#14395)Clyybber2020-05-181-1/+1
|
* refs #14369 improve docs for importcpp exceptions (#14391)Timothee Cour2020-05-181-8/+30
| | | | | * refs #14369 improve docs for importcpp exceptions * address comments
* docs:getCurrentException() and getCurrentExceptionMsg() are not available ↵cooldome2020-05-181-1/+3
| | | | for imported exceptions (#14392)
* fix #14174 do not collapse pragma inside runnableExamples (#14385)Timothee Cour2020-05-182-20/+21
|
* fix #14369 (#14386)cooldome2020-05-182-0/+11
| | | | | * fix #14369 * empty commit
* fix #12293 findNimStdLibCompileTime should not break with nimble install ↵Timothee Cour2020-05-181-2/+5
| | | | | | | compiler (#14334) * fix #12293 findNimStdLibCompileTime should not break with nimble install compiler * address comment to unblock PR
* install gtk3 on osx for package testing (#14388)Miran2020-05-182-8/+1
|
* close #12746; minor cleanup (#14379)Timothee Cour2020-05-172-2/+22
|
* docs: fix syntax error in hotCodeReloading example (fixes #14380) (#14381)Frank Schmitt2020-05-171-1/+1
| | | Co-authored-by: Frank Schmitt <frankschmitt@gmx.de>
* add OpenBSD MAP_STACK for coroutines (#14353)John2020-05-161-4/+10
|
* fixes #14370 (#14371)Andreas Rumpf2020-05-163-3/+3
|
* Emscripten: disable epoll (#14361)Dominik Picheta2020-05-161-2/+2
| | | Epoll is not supported by epoll.
* add SqlPrepared api fix #13559 (#14365)Bung2020-05-161-0/+101
| | | Co-authored-by: bung87 <crc32@qq.com>
* fix some issues with --backend (#14363)Timothee Cour2020-05-1611-59/+125
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* docfix: fix wrong link in doc/manual.rst (#14367)Bung2020-05-161-1/+1
|
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-1513-68/+67
| | | | | | | This pragma did nothing. Ref: - https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469 - https://github.com/nim-lang/Nim/issues/12975
* fix #9771 (#14357)Bung2020-05-152-17/+19
| | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com>