summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes yet another indexing bug caused by the strict stringsAraq2018-05-211-1/+1
|
* json.nim: delete should raise KeyError, not IndexError, minor cleanup of the ↵Araq2018-05-201-4/+4
| | | | tests
* binarySearch improvements (#7850)Dmitry Atamanov2018-05-202-14/+37
|
* Merge pull request #7843 from koranza/develDominik Picheta2018-05-201-1/+3
|\ | | | | os.findExe: check string lengths to avoid index out of bound
| * remove unneeded check on lengthkoranza2018-05-191-1/+1
| |
| * check string lengths to avoid index out of boundkoranza2018-05-181-2/+4
| |
| * Merge pull request #1 from nim-lang/develkoranza2018-05-18342-13341/+9767
| |\ | | | | | | updating my fork with the head repo
* | | Removed space between "array" and a square bracket in the docsdata-man2018-05-192-3/+3
| | |
* | | Fixes #6832 (#7813)Dmitry Atamanov2018-05-191-1/+3
| | | | | | | | | Fixes #6832
* | | added experimental undokumented std/varints moduleAndreas Rumpf2018-05-191-0/+145
| |/ |/|
* | Fixes CritBitTree.inc's bug (#7838)Dmitry Atamanov2018-05-182-4/+15
| | | | | | | | | | | | * Fixes CritBitTree.inc's bug * Update changelog
* | Merge pull request #7841 from coffeepots/patch-5Dmitry Atamanov2018-05-181-1/+1
|\ \ | | | | | | Fix typo in "out of bounds" error message
| * | Fix typo in "out of bounds" error messagecoffeepots2018-05-181-1/+1
|/ /
* | Provide configuration for Genode toolchainEmery Hemingway2018-05-181-0/+8
| |
* | move parsejson logic into its own standard lib moduleAraq2018-05-182-505/+547
| |
* | keep unicode.nim warning freeAraq2018-05-181-4/+4
| |
* | keep algorithm.nim warning freeAraq2018-05-181-6/+6
| |
* | Merge pull request #7835 from data-man/fix_facDmitry Atamanov2018-05-171-1/+12
|\ \ | | | | | | Fixes factorial's bug
| * | Fixes factorial's bugdata-man2018-05-171-1/+12
|/ /
* | Allow better optimisations by removing NOINLINE from module init procsYuriy Glukhov2018-05-161-4/+4
| |
* | Merge branch 'devel' into araq-big-refactoringAraq2018-05-151-0/+3
|\ \
| * | fixes #7817Araq2018-05-141-0/+3
| | |
* | | documentation generator works againAndreas Rumpf2018-05-152-9/+9
| | |
* | | make tests green on UnixAndreas Rumpf2018-05-152-5/+6
| | |
* | | make tests green againAraq2018-05-1420-33/+33
| | |
* | | fixes testament compilationAraq2018-05-1441-338/+1026
|\| |
| * | Adds TextAreaElement type.Dominik Picheta2018-05-141-1/+7
| | |
| * | Adds onpopstate and proc related to Events to dom module.Dominik Picheta2018-05-141-0/+3
| | |
| * | Minor fixes to enable tccGanesh Viswanathan2018-05-143-4/+4
| | |
| * | Better db_sqlite errors when db_sqlite not connected.Dominik Picheta2018-05-131-0/+3
| | |
| * | Add connectUnix and bindUnix to net docsMathias Stearn2018-05-091-1/+1
| | | | | | | | | fixes #7715
| * | Modify hash for HashSet to use `xor` to mix hash of items.Lolo Iccl2018-05-092-9/+2
| | |
| * | Modify previous commit and add testsLolo Iccl2018-05-092-6/+57
| | |
| * | Modify previous commitLolo Iccl2018-05-091-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 OrderedSetLolo Iccl2018-05-091-0/+10
| | | | | | | | | | | | close #7772
| * | Add nimble dir to path via finishGanesh Viswanathan2018-05-091-7/+20
| | |
| * | VM fix for refsOscar Nihlgård2018-05-082-2/+20
| | |
| * | Export an 'escapeXml' proc from xmldomZahary Karadjov2018-05-072-8/+15
| | | | | | | | | | | | The interface is similar to escapeJson
| * | Fix the compilation of terminal.nim on WindowsZahary Karadjov2018-05-071-4/+1
| | |
| * | bugfix: strutils.find was broken for strings with uneven number of charsZahary Karadjov2018-05-071-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 statementZahary Karadjov2018-05-076-7/+41
| | |
| * | Bugfix: The compiler were not inserting proper downcasts for generic typesZahary Karadjov2018-05-074-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++ modeZahary Karadjov2018-05-072-9/+9
| | |
| * | The `terminal` module now exports additional procs for generating ANSI colorZahary Karadjov2018-05-072-21/+45
| | | | | | | | | | | | codes as strings.
| * | Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-074-3/+85
| | |
| * | Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-073-6/+18
| | |
| * | Bugfix: Allow matching on nkExprEqExpr against varargs[untyped]Zahary Karadjov2018-05-072-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 Karadjov2018-05-075-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 Karadjov2018-05-077-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)alaviss2018-05-072-2/+2
| | | | | | | | | This allows nimble to be built with compiler as a nimble package