summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* don't use conio.h on windows (#2137)Araq2015-03-082-21/+63
|
* GC: get rid of pathological behaviour for stack markingAraq2015-03-082-141/+145
|
* Merge pull request #2225 from dyu/freebsdAndreas Rumpf2015-03-081-0/+2
|\ | | | | compile nim on freebsd
| * compile nim on freebsddyu2015-02-271-0/+2
| |
* | 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-071-1/+1
|\ \ \ \ | | | | | | | | | | interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
| * | | | interpret `tuple` as a class and `tuple[]` as the empty tupleMax Zerzouri2015-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-31/+31
| | | | |
* | | | | fixes #2205Araq2015-03-071-155/+155
| |_|/ / |/| | |
* | | | 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-061-2/+2
|/ / / /
* | | | 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
| | | |
* | | | Changed some characters (&! -> !&) in the documentation in lib/pure/hashes.nimJohanna Berewinkel2015-03-051-2/+2
|/ / /
* | | prevent name mangling for C++ DLLsAraq2015-03-051-5/+13
| | |
* | | Merge pull request #2260 from oderwat/upd-deprecated-repeatsAndreas Rumpf2015-03-048-23/+23
|\ \ \ | | | | | | | | Updates to remove deprecated repeatStr() and repeatChar() from all files.
| * | | Replaced deprecated repeatStr() with repeat().Hans Raaf2015-03-041-2/+2
| | | |
| * | | Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-048-21/+21
| |/ /
* | | Fixed examples in the documentation of module re (proc replace and proc ↵Johanna Berewinkel2015-03-041-2/+2
| | | | | | | | | | | | replacef)
* | | Merge pull request #2230 from Archs/develAndreas Rumpf2015-03-041-4/+6
|\ \ \ | | | | | | | | streams.ssWriteData: Call setLen only when new data truly increases the underlying string buffer
| * | | set the correct length for s.data when data truely increasedArchs2015-03-041-2/+2
| | | |
| * | | streams.ssWriteData: calling setLen only when new data truely increases the ↵Archs2015-03-011-3/+5
| | | | | | | | | | | | | | | | underlying string buffer
* | | | Merge pull request #2175 from def-/sortedAndreas Rumpf2015-03-041-0/+28
|\ \ \ \ | |_|/ / |/| | | sorted & sortByIt
| * | | Move sortByIt to algorithm module and add an example for itdef2015-03-032-15/+21
| | | |
| * | | Rename sortedBy to sortByItdef2015-02-211-1/+1
| | | |
| * | | Add sortedBy template to sequtilsdef2015-02-201-0/+15
| | | |
| * | | Add sorted proc to algorithm moduledef2015-02-201-0/+7
| | | |
* | | | Merge pull request #2232 from oderwat/upd-strutilsAndreas Rumpf2015-03-031-10/+31
|\ \ \ \ | | | | | | | | | | `repeat` instead of `repeatStr` + parameter swapped
| * | | | Replaced repeatStr() and repeatChar() with more natural versions.Hans Raaf2015-03-031-10/+31
| | | | |
* | | | | Merge pull request #2248 from chrisheller/develAndreas Rumpf2015-03-031-5/+19
|\ \ \ \ \ | |/ / / / |/| | | | Make macros.nim expectKind error message with a single TNimrodNodeKind c...
| * | | | Clone the implementation of cmpIgnoreStyle into macros.nim from typeinfo.nim ↵Chris Heller2015-03-031-2/+16
| | | | | | | | | | | | | | | | | | | | so that we get rid of any imports in the core modules
| * | | | Remove use of .format() from macros.nim to avoid importing into core. There ↵Chris Heller2015-03-031-4/+4
| | | | | | | | | | | | | | | | | | | | is still a remaining import of cmpIgnoreStyle from strutils that needs to be removed as well
| * | | | Make macros.nim expectKind error message with a single TNimrodNodeKind ↵Chris Heller2015-03-021-3/+3
| | | | | | | | | | | | | | | | | | | | consistent with error message shown with a set of TNimrodNodeKind by displaying the actual node kind (as well as the expected)