Commit Graph

2987 Commits

Author SHA1 Message Date
Araq
8d39669233 fixes #2909 2015-06-15 00:56:20 +02:00
Vlad
059b05a804 fixed #1985 2015-06-14 21:42:43 +03:00
Sergey Avseyev
0fe54a5e14 Fix logger formatting
Motivation
----------
Current implementation does not allow to specify any formatting. It
even cannot output log level, because `writeln()` accepts
`varags[string]` and silently ignores everything before last argument.

Modification
------------
Perform formatting in the single place during substitution. Make log
level optional as all other substitution variables. Also make verbose
logging more informative and parseable.

Result
------
Correct handling formatting and substitutions. Machine-friendly default
output of verbose logger.
2015-06-13 14:41:08 +03:00
Andreas Rumpf
e36c12ee37 Merge pull request #2902 from yglukhov/js-copying-fix
Fixed copying of aggregates in JS.
2015-06-12 00:30:49 +02:00
Andreas Rumpf
d31fe7666a Merge pull request #2818 from flaviut/add-nre
Add nre to stdlib
2015-06-12 00:13:19 +02:00
Andreas Rumpf
e7bb37d12c Merge pull request #2896 from r-ku/I64-magics-gone
I64 magics gone
2015-06-12 00:06:39 +02:00
yglukhov
6436d1920c Fixed copying of aggregates in JS. 2015-06-11 23:32:08 +03:00
yglukhov
98ec9615f3 Fixed unittest output. 2015-06-11 23:01:44 +03:00
Flaviu Tamas
31514550d3 Revert "Base re off of nre"
This reverts commit dc60a51e15.
2015-06-10 17:14:20 -04:00
Andreas Rumpf
a9e791823e Merge pull request #2891 from sstirlin/devel
fixed threadpool and atomics to work with Visual Studio 32 and 64 bit
2015-06-10 21:07:00 +02:00
Spencer Stirling
891d953a4c disabled threadpool assertion only for vcc 2015-06-10 07:23:07 -06:00
msiglreith
8905ed1dda Fix doc typos in basic2d and basic3d 2015-06-10 14:34:53 +02:00
Araq
d4610d7716 terminal doesn't use enormous windows module anymore 2015-06-10 11:32:10 +02:00
Araq
1b98d32579 no private deprecated symbols 2015-06-10 11:11:29 +02:00
Andreas Rumpf
f3e7e5fc13 Merge pull request #2866 from nanoant/patch/db-deffered-rows
db: InstantRow and instantRows
2015-06-10 11:06:36 +02:00
Andreas Rumpf
cb439d70bc Merge pull request #2892 from apense/patch-6
Fixes #2886 (moves compiler function into the compiler)
2015-06-10 10:55:31 +02:00
rku
87b6220897 Removed magics: mAbsI64 2015-06-10 10:25:36 +03:00
rku
3984fecae6 Removed magics: mBitnotI64 2015-06-10 10:25:36 +03:00
rku
47114342c4 Removed magics: mEqI64 mLtI64 mLeI64 2015-06-10 10:25:36 +03:00
rku
658dcd2a58 Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64
Author:    rku <rokups@zoho.com>
2015-06-10 10:25:36 +03:00
rku
372a5d3cbb Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64
Author:    rku <rokups@zoho.com>
2015-06-10 10:25:35 +03:00
Federico Omoto
4618cb58c0 Allow to set position at end of stream 2015-06-09 22:25:31 -03:00
apense
3142400351 Removed unnecessary template
`-|` only used in the compiler for negative indexing
2015-06-09 16:21:33 -04:00
Adam Strzelecki
8742907133 db: InstantRow and instantRows
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.
2015-06-09 20:53:03 +02:00
Spencer Stirling
d152ccc1e2 fixed threadpool and atomics to work with Visual Studio 32 and 64 bit 2015-06-09 11:59:26 -06:00
apense
0ee1672d69 Updated whitespace ranges
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.
2015-06-08 19:48:57 -04:00
Dominik Picheta
c4009c6182 Fixes #2884
Haven't tested this patch but should work.
2015-06-08 23:10:50 +01:00
Flaviu Tamas
5118c09f49 Fix ambiguous character literal 2015-06-07 13:13:05 -04:00
Flaviu Tamas
3bbbb1a682 Fix potential code bloat 2015-06-07 13:13:05 -04:00
Flaviu Tamas
ca81749f2a Rename RegexException according to NEP1 2015-06-07 13:13:04 -04:00
Flaviu Tamas
a707f8de65 Edit re and nre doc comments 2015-06-07 13:13:04 -04:00
Flaviu Tamas
4fbd95549d Clean up nre imports 2015-06-07 13:13:04 -04:00
Flaviu Tamas
38064d043a Use stdlib's PCRE in nre 2015-06-07 13:13:04 -04:00
Flaviu Tamas
8caa5cd292 Deprecate re 2015-06-07 13:13:04 -04:00
Flaviu Tamas
15ef227c48 Adjust re for nre's inclusive bounds 2015-06-07 13:13:04 -04:00
Oleh Prypin
dc60a51e15 Base re off of nre 2015-06-07 13:13:04 -04:00
Flaviu Tamas
be64b8d0d4 Ensure no one uses internal module 2015-06-07 13:12:19 -04:00
Flaviu Tamas
90ed34db72 Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
* 'devel' of https://github.com/Araq/Nim:
  Fix #964, fix #1384
  Don't inspect typedescs
2015-06-07 13:12:18 -04:00
Andreas Rumpf
bbb1bdb4a9 Merge pull request #2643 from grncdr/TAny-and-inheritance
Resolve base type fields in `[](TAny, string)`
2015-06-07 10:56:29 +02:00
Andreas Rumpf
94b7da4297 Merge pull request #2645 from def-/builtin_overflow
Use builtin overflow functions of Clang and GCC (WIP, RFC)
2015-06-07 10:55:23 +02:00
Andreas Rumpf
cb1f1cfd52 Merge pull request #2682 from koalazen/refactor_lowerbound_algorithm
shorten lowerBound in algorithm.nim
2015-06-07 10:53:12 +02:00
Andreas Rumpf
faed57dff0 Merge pull request #2878 from Perelandric/rename_fixes
Some fixes from the recent `T` renaming
2015-06-07 10:46:35 +02:00
patrick dw
ff83efa767 Fixed malformed pragma 2015-06-06 12:01:26 -05:00
patrick dw
13163ff13f Reverted TZipFileStream (is going to be reference type) 2015-06-06 10:45:01 -05:00
patrick dw
ca684da044 Updated deprecated names 2015-06-06 10:18:16 -05:00
patrick dw
2e25574ff1 Updated usage of deprecated types 2015-06-06 09:35:15 -05:00
patrick dw
a511562822 Renaming fixes in sdl.nim 2015-06-06 09:09:48 -05:00
patrick dw
a400987590 Dropped from TZipFileStream 2015-06-06 08:57:13 -05:00
Araq
adfdb4623d use new type names 2015-06-06 11:59:35 +02:00
Simon Hafner
c4c64804e5 moved sexp.nim to nimsuggest repo 2015-06-05 11:04:15 -05:00