summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8941 from timotheecour/pr_fix_8928Andreas Rumpf2018-09-121-2/+5
|\ | | | | fix #8928 regression
| * fix #8928Timothee Cour2018-09-111-2/+5
| |
* | Merge pull request #8949 from nim-lang/araq-for-loop-expressionsAndreas Rumpf2018-09-121-2/+2
|\ \ | | | | | | For loop expressions
| * \ fixes merge conflictsAndreas Rumpf2018-09-11183-7440/+14116
| |\ \
| * | | steps to get for loops as expressionsAndreas Rumpf2018-02-282-4/+7
| | | |
* | | | Fix add(string, cstring) when the lhs is null (#8951)LemonBoy2018-09-121-3/+4
| |_|/ |/| |
* | | Always emit hti object types if needed (#8940)LemonBoy2018-09-111-1/+1
| |/ |/| | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938
* | JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-112-16/+7
| |
* | Fix insert/delete for JS (#8915)LemonBoy2018-09-081-2/+2
| | | | | | Fixes #8914
* | Minor fixes for asyncjs (#8894)LemonBoy2018-09-072-5/+13
| | | | | | | | | | | | | | | | | | | | * Minor fixes for asyncjs Mark internal procedures as used Allow .async. for more node kinds Make .async. work for nkStmtList * Fix logic error in both the async macros
* | Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-3/+3
| | | | | | Fixes #7249
* | Fix too broad generic match for toHex (#8889)LemonBoy2018-09-051-1/+1
| | | | | | Fixes #8865
* | [DOC] fix typos in `strscans` documentation (#8885)Vindaar2018-09-051-3/+3
| |
* | Codegen fix for function pointers marked inline (#8866)LemonBoy2018-09-041-0/+2
| | | | | | | | Fixes #5345 Fixes #5701
* | This has been unnecessary as long as rawNewObj has called zeroMem, (#8867)c-blake2018-09-041-1/+0
| | | | | | | | and more recently indexing past the Nim-logical end has become illegal making this line cause a crash.
* | Merge pull request #8840 from pigmej/fix_with_timeoutDominik Picheta2018-09-031-1/+5
|\ \ | | | | | | Handle fut.failed in asyncdispatch.WithTimeout
| * | Handle fut.failed in asyncdispatch.WithTimeoutJedrzej Nowak2018-09-021-1/+5
| | | | | | | | | | | | Fixes: #8839
* | | make 'koch web' work againAraq2018-09-032-26/+149
| | |
* | | Add sym owner to macros (#8253)cooldome2018-09-031-0/+6
| | |
* | | fix items for cstring for the JS target; makes tests green againAraq2018-09-031-4/+11
| | |
* | | document usage of marshal.to; fixes #3150Araq2018-09-031-0/+11
| | |
* | | deprecate system.onRaise; fixes #1652Araq2018-09-031-1/+4
| | |
* | | fixes #8847Araq2018-09-031-1/+1
|/ /
* | Exports dom.Style (#8444)Dominik Picheta2018-09-011-1/+1
| |
* | strutils: don't deprecate escape/unescape, too much code uses itAraq2018-08-311-6/+2
| |
* | Constant folding for integer casts (#8095)LemonBoy2018-08-311-1/+1
| |
* | 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-311-2/+4
| |
* | times.nim: minor code cleanupAraq2018-08-311-3/+2
| |
* | fixes a parseopt regression (#8820)Andreas Rumpf2018-08-301-2/+5
| |
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-301-0/+9
| |
* | fixes #8768 properlyAraq2018-08-303-17/+18
| |
* | 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
| |
* | 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-281-2/+2
| | | | | | Let's bring those to feature-parity with `error`.
* | Net module fixes (#8597)Dominik Picheta2018-08-281-17/+16
| | | | | | | | | | * 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
* | Add escapeJsonUnquoted for json escaped strings without quotes (#8785)hlaaf2018-08-271-4/+16
| | | | | | | | | | | | * Add escapeJsonUnquoted * Add tests for escapeJsonUnquoted
* | Update html attrs to current html specNathan Cahill2018-08-261-4/+12
| |
* | [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
* | doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-253-16/+27
| |
* | Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-251-19/+24
| |
* | fixes #8739; allow --hint:foo:on --warning:bar:off (#8757)Timothee Cour2018-08-251-2/+2
| |
* | Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-211/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.