summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Disable unused warnings for error await template too (#14531)Danil Yarantsev2020-06-011-1/+1
|
* fix CI doc windows: style error in lib/std/time_t.nim (#14523)Timothee Cour2020-05-311-2/+2
|
* Disable unused warnings for await in async macro (#14517)Danil Yarantsev2020-05-311-2/+2
| | | | | * Disable unused warnings for await in async macro * Remove used for the error template
* spec: be explicit that NRVO will evolve furtherAraq2020-05-301-0/+4
|
* document NVRO and exception handlingAraq2020-05-301-0/+65
|
* warn about observerable stores but don't prevent them for 1.2.2 ↵Andreas Rumpf2020-05-303-8/+15
| | | | [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510)
* fixes #14498 [backport:1.2] (#14503)Andreas Rumpf2020-05-304-6/+26
|
* fixes #14495 [backport:1.2] (#14496)Andreas Rumpf2020-05-292-9/+47
|
* enable compiler docs with their own index+search (#14493)Timothee Cour2020-05-291-21/+28
| | | * enable compiler docs (with its own index)
* fix #14421 items uses lent T (#14447)Timothee Cour2020-05-2911-13/+40
| | | | | * fix #14421 items uses lent T for seq + openArray * add -d:nimWorkaround14447 * fix test
* hotfix doc comments for procs without body (#14494)Timothee Cour2020-05-296-5/+99
|
* more checking for --gc:arc, no need for valgrind (#14467)Andreas Rumpf2020-05-2912-72/+158
| | | | * sigmatch: removed dead code
* disallow typedesc in arrays & move existing checks to `types.typeAllowedAux` ↵Neelesh Chandola2020-05-2912-50/+70
| | | | | | (#13261) * disallow typedesc in arrays and move previous checks to types.typeAllowedAux
* fix #14485 (#14487)Timothee Cour2020-05-285-3/+44
|
* fix #8871 runnableExamples now preserves source code comments, litterals, ↵Timothee Cour2020-05-2812-76/+927
| | | | | | | | | | | and all formatting; other bug fix (#14439) * fix #8871 runnableExamples now preserves source code comments, litterals, and all formatting * remove orig deadcode from getAllRunnableExamplesImpl * fix expected examples * add test to close https://github.com/nim-lang/Nim/issues/14473 * correctly handle regular comments before 1st token inside runnableExamples * add test to answer https://github.com/nim-lang/Nim/pull/14439#discussion_r431829199 * update tests
* close #14284 document semantics for start for re,nre; improve examples (#14483)Timothee Cour2020-05-283-196/+175
|
* make it easier to figure out how to debug issues (#14477)Timothee Cour2020-05-286-10/+64
|
* Propagate the outDir to rstgen to fix hrefs for modules in subdirs (#14479)Kaushal Modi2020-05-285-6/+41
|
* drnim improvements (#14471)Andreas Rumpf2020-05-272-11/+30
|
* Add thiscall calling convention, mostly for hooking purpose (#14466)Huy Doan2020-05-276-4/+13
| | | | * Add thiscall calling convention, mostly for hooking purpose * add changelog and documentation
* Change `UnpackError` with `UnpackDefect` (#14457)Ivan Bobev2020-05-272-9/+10
| | | | | | | | | | | | | | | | | | * Change `UnpackError` with `UnpackDefect` The deprecation warning for `UnpackError` exception raised by some `inline` procedures in the Nim standard library propagates to the user code. If the user code has a requirement for building without warnings this is a problem for the successful execution of the tests. In order to resolve this, all occurrences of `UnpackError` in the Nim code base are changed to `UnpackDefect`. Only the type alias is retained to not break other people's user code since `UnpackError` is exported type. * Remove the catching of `UnpackDefect` Defect exceptions should not be cached, because they indicate problem in the API usage. The code in `nimblesocket.nim` is rewritten to first check whether there is a value set into the `knownDomain` variable from the `Option` type before usage.
* Revert "niminst: use threaded compression when supported (#14455)" (#14462)alaviss2020-05-271-4/+2
| | | This reverts commit b749d58ea1d77aab0ab758a17140ebc57e32f8c8.
* typoAndreas Rumpf2020-05-261-1/+1
|
* niminst: use threaded compression when supported (#14455)alaviss2020-05-261-2/+4
|
* docgen: mangling using _. instead of @@ to avoid issue (#14454)Timothee Cour2020-05-264-21/+33
|
* 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
|