Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tests green again | Andreas Rumpf | 2018-05-18 | 16 | -52/+65 |
| | |||||
* | os.nim: don't use echo for error reporting | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | make semantic checking free of globals | Andreas Rumpf | 2018-05-18 | 3 | -15/+15 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 35 | -678/+538 |
| | |||||
* | compiler/ropes.nim has no global error handler anymore | Andreas Rumpf | 2018-05-17 | 6 | -42/+48 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 38 | -183/+179 |
| | |||||
* | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 29 | -312/+148 |
| | |||||
* | ccgutils: code cleanup, no globals | Araq | 2018-05-16 | 1 | -108/+1 |
| | |||||
* | extccomp: no globals anymore | Araq | 2018-05-16 | 7 | -111/+118 |
| | |||||
* | Merge branch 'devel' into araq-big-refactoring | Araq | 2018-05-15 | 1 | -0/+3 |
|\ | |||||
| * | fixes #7817 | Araq | 2018-05-14 | 1 | -0/+3 |
| | | |||||
* | | documentation generator works again | Andreas Rumpf | 2018-05-15 | 2 | -9/+9 |
| | | |||||
* | | make tests green on Unix | Andreas Rumpf | 2018-05-15 | 2 | -5/+6 |
| | | |||||
* | | make tests green again | Araq | 2018-05-14 | 20 | -33/+33 |
| | | |||||
* | | fixes testament compilation | Araq | 2018-05-14 | 41 | -338/+1026 |
|\| | |||||
| * | Adds TextAreaElement type. | Dominik Picheta | 2018-05-14 | 1 | -1/+7 |
| | | |||||
| * | Adds onpopstate and proc related to Events to dom module. | Dominik Picheta | 2018-05-14 | 1 | -0/+3 |
| | | |||||
| * | Minor fixes to enable tcc | Ganesh Viswanathan | 2018-05-14 | 3 | -4/+4 |
| | | |||||
| * | Better db_sqlite errors when db_sqlite not connected. | Dominik Picheta | 2018-05-13 | 1 | -0/+3 |
| | | |||||
| * | Add connectUnix and bindUnix to net docs | Mathias Stearn | 2018-05-09 | 1 | -1/+1 |
| | | | | | | fixes #7715 | ||||
| * | Modify hash for HashSet to use `xor` to mix hash of items. | Lolo Iccl | 2018-05-09 | 2 | -9/+2 |
| | | |||||
| * | Modify previous commit and add tests | Lolo Iccl | 2018-05-09 | 2 | -6/+57 |
| | | |||||
| * | Modify previous commit | Lolo Iccl | 2018-05-09 | 1 | -4/+8 |
| | | | | | | | | | | Modify previous commit to use data[h].hcode in proc hash for HashSet and for OrderedSet. | ||||
| * | Add proc hash for HashSet and for OrderedSet | Lolo Iccl | 2018-05-09 | 1 | -0/+10 |
| | | | | | | | | close #7772 | ||||
| * | Add nimble dir to path via finish | Ganesh Viswanathan | 2018-05-09 | 1 | -7/+20 |
| | | |||||
| * | VM fix for refs | Oscar NihlgÄrd | 2018-05-08 | 2 | -2/+20 |
| | | |||||
| * | Export an 'escapeXml' proc from xmldom | Zahary Karadjov | 2018-05-07 | 2 | -8/+15 |
| | | | | | | | | The interface is similar to escapeJson | ||||
| * | Fix the compilation of terminal.nim on Windows | Zahary Karadjov | 2018-05-07 | 1 | -4/+1 |
| | | |||||
| * | bugfix: strutils.find was broken for strings with uneven number of chars | Zahary Karadjov | 2018-05-07 | 1 | -248/+284 |
| | | | | | | | | | | | | | | | | | | | | | | | | For some reason, the problem was manifesting only inside the VM, it was detecting an attempt to read past the string end (i.e. the formerly accessible null byte). To catch such errors, strutils now performs static tests too. I've solved the problem by re-implementing the Boyer-Moore algotihm in a cleaner way and I took the opportunity to make some other optimisations to strutils. | ||||
| * | implement the export/except statement | Zahary Karadjov | 2018-05-07 | 6 | -7/+41 |
| | | |||||
| * | Bugfix: The compiler were not inserting proper downcasts for generic types | Zahary Karadjov | 2018-05-07 | 4 | -4/+25 |
| | | | | | | | | | | | | | | This resulted in a codegen error in C++ mode, because the generic types were not defined in modules where calls requiring downcasts were used (generating a downcast forces the inclusion of the full definition of the involved types). | ||||
| * | fix a compiler crash related to the new strings in C++ mode | Zahary Karadjov | 2018-05-07 | 2 | -9/+9 |
| | | |||||
| * | The `terminal` module now exports additional procs for generating ANSI color | Zahary Karadjov | 2018-05-07 | 2 | -21/+45 |
| | | | | | | | | codes as strings. | ||||
| * | Support thread-local variables declared inside procs; fixes #7565 | Zahary Karadjov | 2018-05-07 | 4 | -3/+85 |
| | | |||||
| * | Backwards-compatible support for keyword arguments in the command syntax | Zahary Karadjov | 2018-05-07 | 3 | -6/+18 |
| | | |||||
| * | Bugfix: Allow matching on nkExprEqExpr against varargs[untyped] | Zahary Karadjov | 2018-05-07 | 2 | -1/+17 |
| | | | | | | | | | | | | | | | | | | This enables macros accepting arbitrary keyword arguments: log("foo", prop1 = "bar", prop2 = "baz") As an added bonus, simple templates with varargs arguments can now forward their params to procs accepting keyword arguments. | ||||
| * | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 5 | -1/+160 |
| | | | | | | | | | | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks) | ||||
| * | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 7 | -8/+202 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs. | ||||
| * | pretty, prettybase: simplify relative paths (#7779) | alaviss | 2018-05-07 | 2 | -2/+2 |
| | | | | | | This allows nimble to be built with compiler as a nimble package | ||||
* | | make nimsuggest compile again | Andreas Rumpf | 2018-05-14 | 1 | -10/+10 |
| | | |||||
* | | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 46 | -507/+509 |
| | | |||||
* | | move more globals into the config object | Andreas Rumpf | 2018-05-13 | 6 | -93/+101 |
| | | |||||
* | | make nimsuggest compile again | Andreas Rumpf | 2018-05-13 | 7 | -89/+97 |
| | | |||||
* | | bootstrapping works | Andreas Rumpf | 2018-05-13 | 1 | -1/+1 |
| | | |||||
* | | compiler compiles again; simple programs do work | Andreas Rumpf | 2018-05-13 | 4 | -158/+152 |
| | | |||||
* | | the remaining passes all compile again | Andreas Rumpf | 2018-05-13 | 8 | -117/+129 |
| | | |||||
* | | C code generator compiles again | Andreas Rumpf | 2018-05-12 | 11 | -202/+208 |
| | | |||||
* | | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 12 | -263/+269 |
| | | |||||
* | | semstmts compiles again | Andreas Rumpf | 2018-05-12 | 6 | -198/+192 |
| | | |||||
* | | more modules compile again | Andreas Rumpf | 2018-05-12 | 15 | -518/+544 |
| | |