Araq
8be9e46403
udpated the compiler and tester to use getOrDefault
2015-10-13 14:10:33 +02:00
Araq
ec357a3edd
deleted graphics module; it's a Nimble package now
2015-09-23 21:46:36 +02:00
JamesP
0edb04288b
Clean up a line ending
2015-09-06 23:02:28 +10:00
JamesP
9aa9920602
instantRows doco added "the" to improve readability
2015-09-06 22:40:15 +10:00
JamesP
5ae33434f8
fastRows() iterator doco updated (similar to db_mysql) with sqlite specific
...
[Edb] error text
2015-09-06 22:39:23 +10:00
JamesP
81e41dc795
Add example (similar to db_mysql) with changes to table definition
...
and transaction to match sqlite SQL syntax
2015-09-06 22:34:04 +10:00
Dominik Picheta
d7c60e86b4
Bold emphasis and fix typo.
2015-09-05 21:15:01 +01:00
Dominik Picheta
14a233dc75
Merge branch 'db_mysqlExamples' of https://github.com/jlp765/Nim into jlp765-db_mysqlExamples
...
Conflicts:
lib/impure/db_mysql.nim
2015-09-05 21:14:37 +01:00
JamesP
22d56fc494
Cleanup of line endings
2015-09-05 11:49:25 +10:00
JamesP
d02d1219b0
instantRows doco updated with "the" to improve readability
2015-09-05 11:48:47 +10:00
JamesP
5b11ce27c4
fastRows iterator doco updated to clarify what happens
...
when break a fastRows loop
2015-09-05 11:47:28 +10:00
Adam Strzelecki
43bddf62dd
lib: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
JamesP
da2d0845b8
lib/impure/db_mysql add example code-block
2015-08-29 07:50:14 +10:00
JamesP
1b47941b01
fixes #3220 lib/impure/db_mysql.nim getValue()
...
mysql connector command out of sync error due to
breaking the fastRows iterator loop
2015-08-28 22:51:35 +10:00
Araq
10a7830ba2
fixes Windows version of readPasswordFromStdin (setLen doesn't accept negative values anymore)
2015-08-18 13:58:57 +02:00
Araq
a1caef474b
proper distinction between --gc:none and --os:standalone
2015-06-29 02:48:33 +02:00
Araq
aa8b470cf6
use linenoise instead of GNU readline
2015-06-21 10:04:26 +02:00
Araq
87f65f5e72
preparations for more Nimble packages; clear licensing; fixes #2949
2015-06-20 23:24:21 +02:00
patrick dw
15e7fe787a
renamed writeln to writeLine in lib
2015-06-19 01:02:22 -05:00
Flaviu Tamas
90292754f5
Fix flaviut/nre#20
2015-06-18 12:44:12 -04:00
Andreas Rumpf
d31fe7666a
Merge pull request #2818 from flaviut/add-nre
...
Add nre to stdlib
2015-06-12 00:13:19 +02:00
Flaviu Tamas
31514550d3
Revert "Base re off of nre"
...
This reverts commit dc60a51e15 .
2015-06-10 17:14:20 -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
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
Adam Strzelecki
2dcaa75e2d
Fixup: Reverted TZipFileStream name change
...
This fixes broken b0469c11e3 that incompletely
reverted TZipFileStream name change.
2015-06-05 12:44:28 +02:00
Perelandric
b0469c11e3
Reverted TZipFileStream name change
2015-06-04 13:18:41 +02:00
pdw
ea03fc6886
lib/impure - Dropped 'T' from types
2015-06-04 13:17:09 +02:00
Flaviu Tamas
075a5e8440
Disable static building of PCRE
2015-05-26 19:20:00 -04:00
Flaviu Tamas
42db40813c
Clarify nre licencing
2015-05-26 19:18:34 -04:00
Flaviu Tamas
0527e1f9fe
Rearrange nre files
2015-05-26 19:14:04 -04:00
Flaviu Tamas
0d4aeec9be
Merge remote 'nre' into add-nre
...
* nre-proj/master: (132 commits)
Change to options module
Reweave readme
Better handle errors
Update documentation
Change flags to inline
Improve performance
Add tests for empty or non-empty match
Fix skipping an empty match at the end
Add longer flags
Fix getinfo overflows
Use docweave
Convert readme to RST
Fix result shadowing warning
Throw an exception when replacing with a nil value
Fix potential buffer overflow
Fix zero-length matches for multibyte characters
Make splitting an empty string give 1 empty result
Change endpos to inclusive
Change endpos default from -1 to int.high
Change capture upper bounds to inclusive
...
2015-05-26 19:05:43 -04:00
Koala Zen
d620f566b2
Fix comment in re
2015-05-06 09:09:36 -07:00
def
ffad2be237
Make zipfiles module work again
...
Also adds an example usage to the module
2015-05-03 14:22:49 +02:00
def
e5a186a419
Fix Termios wrapper
2015-04-24 19:41:12 +02:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Andreas Rumpf
1b80e2f296
Merge pull request #2506 from BlaXpirit/update-pcre
...
Update and improve PCRE wrapper
2015-04-21 08:58:28 +02:00
Andreas Rumpf
97cb0eb694
Merge pull request #2560 from BlaXpirit/re-nre-hint
...
Add a hint about NRE library to 're' module
2015-04-15 17:32:21 +02:00
Oleh Prypin
aa327efa98
Add a hint about NRE to 're' module
2015-04-14 23:26:53 +03:00
Oleh Prypin
ff25c1272f
Deprecate constant regular expression strings
2015-04-14 22:30:21 +03:00
Oleh Prypin
fd8c6d0a32
Fix deprecation warnings in re
2015-04-10 16:12:54 +03:00