summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Constant folding for integer casts (#8095)LemonBoy2018-08-313-8/+86
|
* Do not materialize empty varargs[untyped] arrays (#8715)LemonBoy2018-08-312-6/+38
| | | | | | | | | When an empty nkArgList `varargs[untyped]` is passed around it is now reused for efficiency sake and to prevent the introduction of a spurious element: before this commit we'd pass the caller a nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty nkArgList. Fixes #8706
* Update html elements to current html spec (#8791)Nathan Cahill2018-08-311-50/+241
|
* system/excpt: nil is no longer vaild for seqs (#8825)alaviss2018-08-311-1/+1
|
* merged #8624 manually; fixes #8442; closes #8575Araq2018-08-312-2/+36
|
* Improve enumerate macro (#8819)Vindaar2018-08-311-8/+12
| | | | | | | | * fix case macro manual entry to produce code block Previously line breaks were so weird that the code blocks were not created. * improve `enumerate` for loop macro by wrapping in block
* fixes #8066Araq2018-08-314-10/+46
|
* times.nim: minor code cleanupAraq2018-08-311-3/+2
|
* Tutorial 1: Simplifiy the discription of enums; it is a tutorial, not a manualAraq2018-08-311-11/+2
|
* fixes a parseopt regression (#8820)Andreas Rumpf2018-08-301-2/+5
|
* introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-304-3/+33
|
* fixes #8768 properlyAraq2018-08-303-17/+18
|
* fixes #7854Araq2018-08-302-1/+38
|
* unidecode module: change the default to: embed resource file into the ↵Araq2018-08-301-10/+10
| | | | application; fixes #8767
* fixes #8768Araq2018-08-303-430/+430
|
* fix tests/coroutines/texceptions.nim (#8810)Timothee Cour2018-08-301-1/+6
|
* make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-307-118/+156
| | | | | | | | | searched / run (#8682) * run project config.nims if exists, then inputfile.nims if exists * ~/.config/nim/config.nims can now be used * also check in getSystemConfigPath for config.nims * refactor handleCmdLine for nim and nimsuggest
* add nim c -r nimsuggest/tester to travis (#8805)Timothee Cour2018-08-2910-3/+27
|
* Allow Nimble to override the ``task`` template in nimscript. (#8798)Dominik Picheta2018-08-281-18/+18
|
* Allow `hint` and `warning` to specify its loc info (#8771)LemonBoy2018-08-284-12/+40
| | | Let's bring those to feature-parity with `error`.
* Net module fixes (#8597)Dominik Picheta2018-08-282-17/+19
| | | | | * net.accept no longer needs an initialised socket. Fixes #7848. * Assert error when using sendTo/recvFrom on TCP socket. * net.sendTo now raises OSError.
* make parseopt work with DLLs on UnixAraq2018-08-281-7/+8
|
* make parsopt compile under --taintMode:onAraq2018-08-281-6/+6
|
* parseopt: keep the seq of arguments as given; fixes various command line ↵Araq2018-08-281-34/+75
| | | | parsing edge cases; refs #6818
* fixes #4766Araq2018-08-282-1/+21
|
* added a test to ensure that for-loop-variables cannot be mutatedAraq2018-08-281-0/+15
|
* Fix nkImportAs regression (#8796)Oscar Nihlgård2018-08-282-9/+19
|
* show all mismatching overloads againAraq2018-08-271-9/+11
|
* improve the error message for mutability problems that arise from implicit ↵Araq2018-08-271-1/+3
| | | | converter calls
* manual: document the order of evaluationAraq2018-08-271-0/+49
|
* Add escapeJsonUnquoted for json escaped strings without quotes (#8785)hlaaf2018-08-271-4/+16
| | | | | | * Add escapeJsonUnquoted * Add tests for escapeJsonUnquoted
* fixes #8776Araq2018-08-271-10/+11
|
* added missing file to make tests greenAraq2018-08-271-0/+30
|
* allow .experimental in a .push/pop environment; refs #8676Araq2018-08-274-18/+61
|
* optimize away genericReset for result assignment; refs #8745Araq2018-08-271-3/+112
|
* fixes #8781 by appending "_U" instead of 'U' (#8787)Vindaar2018-08-272-1/+28
|
* Update html attrs to current html specNathan Cahill2018-08-261-4/+12
|
* Added to docs: warning string for {.deprecated.} pragma (#8783)awr12018-08-261-1/+5
|
* [ospaths] simplify getConfigDir and introduce normalizePathEnd to make (#8680)Timothee Cour2018-08-261-4/+50
| | | | sure path endings are normalized with 0 or 1 trailing sep, taking care of edge cases
* Deprecate xlen() for strings and seqs (#8782)awr12018-08-261-2/+7
| | | | | | * deprecates xlen() for strings and seqs * added docs
* gitignore html output of nim doc foo (#8742)Timothee Cour2018-08-251-1/+5
|
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-256-31/+108
|
* Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-252-24/+30
|
* More checks for custom pragmas placement (#8765)LemonBoy2018-08-252-4/+7
| | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them.
* fixes #8739; allow --hint:foo:on --warning:bar:off (#8757)Timothee Cour2018-08-253-10/+19
|
* Fixes #8766 (#8769)hlaaf2018-08-241-1/+1
|
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-243-247/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* fixes 8754 (#8755)cooldome2018-08-242-5/+22
| | | | | | * fixes 8754 * improve test
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-08-240-0/+0
|\
| * Validate pragmas attached to for variables (#8749)LemonBoy2018-08-233-0/+13
| | | | | | Fixes #8741