summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Allow using CC environment variable with csources (#7754)Flaviu Tamas2018-05-061-2/+2
|
* Fixes #7764 (#7767)Florent2018-05-061-0/+4
| | | | | | | | | | * Fixes #7764 * Change KEY_RECORD_EVENT filter * Update terminal.nim * Revert changes and modify readPasswordFromStdIn
* options: use isSome (#7782)alaviss2018-05-061-4/+4
| | | Fixes #7780
* fixes #7757Andreas Rumpf2018-05-061-0/+1
|
* fixes #7774 (#7783)alaviss2018-05-061-1/+3
|
* make the tester compile without warningsAndreas Rumpf2018-05-061-4/+4
|
* pegs: fixes another null accessing bugAndreas Rumpf2018-05-061-1/+1
|
* fixes #7743Andreas Rumpf2018-05-061-1/+1
|
* update the changelogAndreas Rumpf2018-05-062-432/+3
|
* Merge branch 'devel' into araq-parser-fixesAndreas Rumpf2018-05-0671-389/+226
|\
| * make tests greenAndreas Rumpf2018-05-056-17/+17
| |
| * remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-0554-287/+44
| |
| * Fixes crash in httpclient due to new string indexing rules.Dominik Picheta2018-05-041-1/+1
| |
| * test binarySearch, fix for search in empty. (#7769)Arne Döring2018-05-041-3/+24
| |
| * fixes #7766Araq2018-05-041-0/+2
| |
| * Disable setTerminate when noCppExceptions is defined (#7751)Emery Hemingway2018-05-042-3/+4
| |
| * Fix filter_tmpl errors (#7763)Dmitry Atamanov2018-05-041-12/+15
| |
| * Replace factorial function with a compile time one (#7276)notTito2018-05-041-4/+14
| | | | | | | | | | | | | | | | * Replace factorial function with a compile time one * Fix the indentation * Update
| * Deprecate smart binary search (#7745)Arne Döring2018-05-032-15/+22
| | | | | | | | | | | | * deprecate smartBinarySearch * changelog entry
| * Merge pull request #7760 from yglukhov/fix-7738Dominik Picheta2018-05-031-2/+2
| |\ | | | | | | Fixes #7738
| | * Fixes #7738Yuriy Glukhov2018-05-031-2/+2
| | |
| * | Merge pull request #7624 from skilchen/fix-issue7620Dominik Picheta2018-05-032-7/+21
| |\ \ | | | | | | | | there is no hour 0 in am/pm time (see #7620)
| | * | there is no hour 0 in am/pm timeskilchen2018-04-162-7/+21
| | | |
| * | | Merge pull request #7694 from SolitudeSF/libsslDominik Picheta2018-05-031-1/+1
| |\ \ \ | | | | | | | | | | link against libssl.so.45
| | * | | link against libssl.so.45SolitudeSF2018-04-261-1/+1
| | | | |
| * | | | Merges #7700 manually and adds decodePlus option to decodeUrl too.Dominik Picheta2018-05-031-15/+33
| | | | |
| * | | | Merge pull request #7714 from data-man/show_compile_timestampsDominik Picheta2018-05-031-4/+8
| |\ \ \ \ | | |_|_|/ | |/| | | Compiler: show compile timestamps
| | * | | Compiler: show compile timestampsdata-man2018-04-281-4/+8
| | | | |
| * | | | Make clearCallbacks() public. (#7753)Eugene Kabanov2018-05-031-1/+1
| | | | |
| * | | | fixed high level sendTo for sending to udp6 (#7630)David Krause2018-05-021-3/+2
| | | | |