summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2866 from nanoant/patch/db-deffered-rowsAndreas Rumpf2015-06-103-1/+71
|\ | | | | db: InstantRow and instantRows
| * db: InstantRow and instantRowsAdam Strzelecki2015-06-093-1/+71
| | | | | | | | | | | | | | | | | | | | | | It is drop-in replacement for Row and fastRows, however instantRows returns a handle, not seq[string], so no Nim string is created until [] operator is called on the given handle. Also there is a len() proc returning number of columns in the handle. In some situations, when we iterate through many rows, but later we just read few columns this solution will be quicker than converting all column to Nim seq[string] on each iteration.
* | Merge pull request #2892 from apense/patch-6Andreas Rumpf2015-06-101-3/+0
|\ \ | | | | | | Fixes #2886 (moves compiler function into the compiler)
| * | Removed unnecessary templateapense2015-06-091-3/+0
| |/ | | | | `-|` only used in the compiler for negative indexing
* / Allow to set position at end of streamFederico Omoto2015-06-091-1/+1
|/
* Updated whitespace rangesapense2015-06-081-2/+8
| | | Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt>_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode>_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed.
* Fixes #2884Dominik Picheta2015-06-081-2/+4
| | | | Haven't tested this patch but should work.
* Merge pull request #2643 from grncdr/TAny-and-inheritanceAndreas Rumpf2015-06-071-0/+2
|\ | | | | Resolve base type fields in `[](TAny, string)`
| * Resolve base type fields in `[](TAny, string)`Stephen Sugden2015-05-031-0/+2
| |
* | Merge pull request #2645 from def-/builtin_overflowAndreas Rumpf2015-06-071-54/+122
|\ \ | | | | | | Use builtin overflow functions of Clang and GCC (WIP, RFC)
| * | Use -d:builtinOverflow for builtin overflow checksdef2015-05-081-141/+110
| | | | | | | | | | | | | | | | | | | | | | | | of recent Clang and GCC >= 5.0. Maybe it's better that it's optional after all. GCC's code with builtin overflow checks seems to be a bit slower actually, while Clang's is 3 times faster.
| * | Use builtin overflow functions of Clang and GCC (WIP, RFC)def2015-05-031-0/+99
| |/ | | | | | | | | | | | | | | | | | | | | This only works with recent Clang and GCC 5.0. Currently it doesn't work because __has_builtin can't be defined. This is totally ugly. But we can't reliably detect whether we can use the builtins from Nim, especially with cross-compiling where the user may be using an older compiler version. Switching this on/off manually with a define seems weird as well, this should work automatically.
* | Merge pull request #2682 from koalazen/refactor_lowerbound_algorithmAndreas Rumpf2015-06-071-7/+17
|\ \ | | | | | | shorten lowerBound in algorithm.nim
| * | refactored lowerBound in algorithm.nimKoala Zen2015-05-181-7/+17
| | |
* | | Merge pull request #2878 from Perelandric/rename_fixesAndreas Rumpf2015-06-074-53/+57
|\ \ \ | | | | | | | | Some fixes from the recent `T` renaming
| * | | Fixed malformed pragmapatrick dw2015-06-061-1/+1
| | | |
| * | | Reverted TZipFileStream (is going to be reference type)patrick dw2015-06-061-3/+2
| | | |
| * | | Updated deprecated namespatrick dw2015-06-061-4/+4
| | | |
| * | | Updated usage of deprecated typespatrick dw2015-06-062-25/+25
| | | |
| * | | Renaming fixes in sdl.nimpatrick dw2015-06-061-23/+27
| | | |
| * | | Dropped from TZipFileStreampatrick dw2015-06-061-1/+2
| | | |
* | | | use new type namesAraq2015-06-061-5/+5
| | | |
* | | | moved sexp.nim to nimsuggest repoSimon Hafner2015-06-051-698/+0
| | | |
* | | | Merge branch 'exportnewsocket' of https://github.com/boopcat/Nim into ↵Dominik Picheta2015-06-052-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boopcat-exportnewsocket Conflicts: lib/pure/asyncnet.nim
| * | | | Export newSocket(fd) from net.nim and standardize args in net/asyncnetboopcat2015-05-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your own socket FD. newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of "isBuff" and defaults to true to match the other constructors on both.
* | | | | Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-051-5/+4
|\ \ \ \ \ | | | | | | | | | | | | Perform lambda lifting for compile-time stuff when targeting JS.
| * | | | | Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | unittest test.
* | | | | | Fixup: Reverted TZipFileStream name changeAdam Strzelecki2015-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes broken b0469c11e334e96cebe53cbe804b6a877831c85a that incompletely reverted TZipFileStream name change.
* | | | | | Add WSAEADDRINUSE to winlean.Dominik Picheta2015-06-041-0/+1
| | | | | |
* | | | | | Fixes compilation with --gc:markandsweep.Dominik Picheta2015-06-041-1/+1
| |_|/ / / |/| | | |
* | | | | stdlib: don't use deprecated symbolsAraq2015-06-044-52/+52
| | | | |
* | | | | Reverted all changesPerelandric2015-06-041-75/+69
| | | | |
* | | | | Reverted TZipFileStream name changePerelandric2015-06-041-2/+1
| | | | |
* | | | | Added line breaks to long 'deprecated' pragmasPerelandric2015-06-041-16/+165
| | | | |
* | | | | lib/wrappers/s-z - Dropped 'T' from typespdw2015-06-0415-540/+613
| | | | |
* | | | | lib/wrappers/c-r - Dropped 'T' from typespdw2015-06-0414-1310/+1459
| | | | |
* | | | | lib/windows - Dropped 'T' from typespdw2015-06-046-1299/+848
| | | | |
* | | | | lib/system/g-w - Dropped 'T' from typespdw2015-06-0413-397/+427
| | | | |
* | | | | lib/system/a-e - Dropped 'T' from typespdw2015-06-0411-252/+270
| | | | |
* | | | | lib/pure/p-t - Dropped 'T' from typespdw2015-06-0413-84/+89
| | | | |
* | | | | lib/pure/e-o - Dropped 'T' from typespdw2015-06-0413-185/+202
| | | | |
* | | | | lib/pure/a-c - Dropped 'T' from typespdw2015-06-0413-470/+477
| | | | |
* | | | | lib/posix - Dropped 'T' from typespdw2015-06-044-467/+495
| | | | |
* | | | | lib/packages/docutils - Dropped 'T' from typespdw2015-06-044-235/+253
| | | | |
* | | | | lib/js - Dropped 'T' from typespdw2015-06-041-69/+75
| | | | |
* | | | | lib/impure - Dropped 'T' from typespdw2015-06-047-157/+165
| | | | |
* | | | | lib/core - Dropped 'T' from typespdw2015-06-042-81/+84
| | | | |
* | | | | Merge pull request #2830 from yglukhov/logging-no-formatDominik Picheta2015-06-041-30/+22
|\ \ \ \ \ | | | | | | | | | | | | Removed formatting from logging.
| * | | | | Removed formatting from logging.yglukhov2015-05-281-30/+22
| |/ / / /
* | | | | Merge pull request #2861 from apense/patch-5Andreas Rumpf2015-06-041-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Added slight explanation for count{down|up}