summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2171 from def-/xmlparse-performanceAndreas Rumpf2015-03-081-18/+22
|\ | | | | Improve performance of parsexml
| * parsexml: Use slices instead of copyMemdef2015-02-271-2/+2
| |
| * Use templates in parsexml instead for performancedef2015-02-271-14/+14
| |
| * Improve performance of parsexmldef2015-02-271-11/+15
| | | | | | | | | | - Prevent string copies when not necessary - Don't allocate a new XMLParser.c all the time
* | Merge pull request #2255 from def-/copiesAndreas Rumpf2015-03-084-20/+32
|\ \ | | | | | | Only copy strings to their size, not capacity
| * | Fix copyStrLast to set the trailing \0 chardef2015-03-041-1/+2
| | |
| * | sizeof(char) is always 1def2015-03-043-10/+10
| | |
| * | Also deepCopy strings only up to their length, not capacitydef2015-03-041-1/+1
| | |
| * | Only zero strings when necessary.def2015-03-042-14/+25
| | | | | | | | | | | | | | | This removes the zeroing when the string is subsequently overwritten by a memcpy anyway.
| * | Only copy strings to their size, not capacitydef2015-03-031-2/+2
| | | | | | | | | | | | | | | Capacity may be much bigger, so we end up with strings that are much larger than they have to be and have to copy more as well.
* | | Merge pull request #2231 from oderwat/upd-sequtilsAndreas Rumpf2015-03-081-2/+31
|\ \ \ | | | | | | | | Adding repeat(s, n) to sequtils.
| * | | Changed cast to type conversion and added XXX.Hans Raaf2015-03-071-1/+1
| | | |
| * | | Do we want we to use the typesystem like this?Hans Raaf2015-03-061-2/+3
| | | |
| * | | Added repeat(seq, n) to sequtils.Hans Raaf2015-03-061-0/+28
| | | | | | | | | | | | | | | | This adds a repeat proc for sequences. There is also an test for it at the end of file.
* | | | Merge pull request #2239 from Maxdamantus/develAndreas Rumpf2015-03-0715-18/+210
|\ \ \ \ | | | | | | | | | | interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
| * | | | add parser combinator test; uses multiple tuples/generics featuresMax Zerzouri2015-03-072-0/+160
| | | | |
| * | | | .n.isNil checks for tyTuple PTypes.Max Zerzouri2015-03-074-2/+5
| | | | |
| * | | | enable syntax for anonymous tuples.Max Zerzouri2015-03-063-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out to be slightly problematic as `(int, int)` could be logically thought of as an expression evaluating to a tuple value containing two typedesc[int]s. To disambiguate, the zero-tuple's type must still be written as `tuple[]`, and what would be tuple value expressions containing only typedescs are interpreted as types. () # value of type `tuple[]` (int, int) # tuple type (int, int, ()) # value of type `(typedesc[int], typedesc[int], tuple[])`
| * | | | interpret `tuple` as a class and `tuple[]` as the empty tupleMax Zerzouri2015-03-068-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the indentation syntax is allowed it is always interpreted as a tuple: type Unit = tuple
* | | | | Merge pull request #2253 from def-/utf8-toAndreas Rumpf2015-03-071-4/+18
|\ \ \ \ \ | | | | | | | | | | | | make toUTF8 support up to 6 bytes
| * | | | | make toUTF8 support up to 6 bytesdef2015-03-031-4/+18
| | |_|/ / | |/| | |
* | | | | fixes #1940; code breakage! stricter template evaluationAraq2015-03-076-435/+479
| | | | |
* | | | | fixes #2205Araq2015-03-071-155/+155
| | | | |
* | | | | fixes #794Araq2015-03-073-18/+33
| | | | |
* | | | | Merge pull request #2275 from reactormonk/better-tester-messagesAndreas Rumpf2015-03-071-14/+16
|\ \ \ \ \ | | | | | | | | | | | | better messages for nimout
| * | | | | better messages for nimoutSimon Hafner2015-03-051-14/+16
| |/ / / /
* | | | | Merge pull request #2284 from oderwat/fix-importerAndreas Rumpf2015-03-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fixing import path support inconsitency.
| * | | | | Fixing import path support inconsitency.Hans Raaf2015-03-071-1/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #2282 from reactormonk/disable-nimble-testsAndreas Rumpf2015-03-061-3/+2
|\ \ \ \ \ | |/ / / / |/| | | | fixed a bug in nimble tests - disable for now
| * | | | fixed a bug in nimble tests - disable for nowSimon Hafner2015-03-061-3/+2
| |/ / /
* | | | Merge pull request #2277 from SSPkrolik/redis-hllDominik Picheta2015-03-061-0/+16
|\ \ \ \ | | | | | | | | | | Added HyperLogLog support to Redis client
| * | | | Added HyperLogLog support to Redis clientkrolik2015-03-061-0/+16
| | | | |
* | | | | Export AsyncFile. Add asyncfile module to docgen.Dominik Picheta2015-03-063-2/+6
|/ / / /
* | | | Merge pull request #2267 from SSPkrolik/tables-getter-fixAndreas Rumpf2015-03-061-1/+5
|\ \ \ \ | |_|/ / |/| | | Fixed table getter not compiling when table key type had not '$' proc ...
| * | | Fixed table getter not compiling when table value type had not '$' proc ↵krolik2015-03-051-1/+5
| | | | | | | | | | | | | | | | overriden
* | | | Fixes bugs introduced by ee62d56cadb. Closes #2227.Dominik Picheta2015-03-052-2/+18
| | | |
* | | | Merge pull request #2265 from jobe2015/korr_hashes_dokureactormonk2015-03-061-2/+2
|\ \ \ \ | | | | | | | | | | Changed some characters (&! -> !&) in the documentation in lib/pure/hash...
| * | | | Changed some characters (&! -> !&) in the documentation in lib/pure/hashes.nimJohanna Berewinkel2015-03-051-2/+2
| |/ / /
* | | | fixes #2229Araq2015-03-053-181/+201
| | | |
* | | | fixes #2250Araq2015-03-052-242/+322
|/ / /
* | | Merge pull request #2249 from flaviut/fix-nimcheckAndreas Rumpf2015-03-051-0/+3
|\ \ \ | | | | | | | | Fix #2247
| * | | Fix #2247Flaviu Tamas2015-03-041-0/+3
| | | | | | | | | | | | | | | | Thanks @Araq for the suggestion
* | | | prevent name mangling for C++ DLLsAraq2015-03-052-34/+42
| | | |
* | | | fixes #2252Araq2015-03-044-45/+55
| | | |
* | | | cleaned up whitespaceAraq2015-03-041-22/+22
| | | |
* | | | Merge pull request #2260 from oderwat/upd-deprecated-repeatsAndreas Rumpf2015-03-0427-73/+73
|\ \ \ \ | | | | | | | | | | Updates to remove deprecated repeatStr() and repeatChar() from all files.
| * | | | Replaced deprecated repeatStr() with repeat().Hans Raaf2015-03-047-14/+14
| | | | |
| * | | | Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-0421-59/+59
| | |/ / | |/| |
* | | | Merge pull request #2262 from jobe2015/re-replace-dokuAndreas Rumpf2015-03-041-2/+2
|\ \ \ \ | | | | | | | | | | Fixed examples in the documentation of module re
| * | | | Fixed examples in the documentation of module re (proc replace and proc ↵Johanna Berewinkel2015-03-041-2/+2
|/ / / / | | | | | | | | | | | | replacef)