Commit Graph

278 Commits

Author SHA1 Message Date
Andreas Rumpf
b14cc1e3b2 fixes #6631 2017-10-30 14:45:57 +01:00
Andreas Rumpf
f1dab39086 remove old implementation of the roof operator; make tests green again; close #6292 2017-10-29 20:36:07 +01:00
Thomas Johnson
61a50d9c8c Fixes #6571 (#6578) 2017-10-24 10:48:45 +02:00
Dominik Picheta
aa96343f1d Remove reExtended from re constructor. Fixes #5627. (#6514)
* Remove reExtended from re constructor. Fixes #5627.

* Implement `rex` procedure as requested by @Araq.
2017-10-20 21:43:34 +02:00
Andreas Rumpf
503248efde another attempt to make tests green again 2017-10-10 11:26:40 +02:00
Andreas Rumpf
7083c8df57 minor improvement for the db_sqlite module 2017-09-27 12:00:19 +02:00
Lyndsy Simon
8ea78b1bc9 db_postgres: Refactor open() behavior to be consistent with other DBs (#6381) 2017-09-15 16:56:08 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
pgkos
481d8ba24a Fix segfault in db_mysql fastRows (#5605) 2017-03-26 09:42:15 +02:00
Florent
34a3d40d18 fixes #5444 - nre.findIter keeps searching when no match is possible (#5453) 2017-03-02 11:48:41 +01:00
Anatoly Galiulin
279e4b0451 Fixes #5382 2017-02-13 13:35:40 +01:00
ionel anton
636b977457 Column details for postgres. (#5380) 2017-02-13 09:09:43 +01:00
Arne Döring
ca39e113d5 fix in using the linenoise function (#5351) 2017-02-08 10:25:57 +01:00
Andreas Rumpf
d35c561759 fixes #4996 2017-02-05 12:10:57 +01:00
jlp765
704eae8495 re additions for buffer (cstring) RE matching (#5117)
* Replace expr with untyped

* Add buffer (cstring) related procs
Replace expr with untyped
Replace testing assert() procs with doAssert()

* make the string variants call the cstring variants in order to fight code size

* Remove redundant proc

* fix casting of cstring
add init of variables (identified by verbosity:3)

* Speed up - use pattern.e for exec()
inline some procs
2017-01-16 15:55:15 +01:00
Andreas Rumpf
3715a5ac91 Merge pull request #4814 from scriptum/rpg-pcre-jit
Enable JIT in PCRE to improve regular expressions performance
2016-10-24 19:07:30 +02:00
Pavel Roschin
dbef9f97c2 Remove TODO for PCRE JIT 2016-10-10 02:21:35 +03:00
Araq
b8325181d1 EIO is called IOError now 2016-09-28 23:39:56 +02:00
Pavel Roschin
61755945d2 Enable JIT in PCRE to improve regular expressions performance 2016-09-23 01:13:06 +03:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Konstantin Molchanov
41f5b3bf75 Stdlib: nre: Docstring improved. 2016-06-15 15:08:35 +04:00
Andreas Rumpf
112cde69c8 de-deprecate re.nim 2016-06-13 12:18:44 +02:00
Andreas Rumpf
99be6dce81 Merge pull request #4157 from flaviut/update-nre-docs
Generate NRE docs for website
2016-06-02 15:30:16 +02:00
Andreas Rumpf
1a88c01f92 documentation build cleaned up 2016-05-31 03:04:45 +02:00
Andreas Rumpf
2ac265696b Merge branch 'db_odbc2' of https://github.com/jlp765/Nim into jlp765-db_odbc2 2016-05-28 20:11:24 +02:00
Konstantin Molchanov
4006e0b8b7 Stdlib: nre: Add export options
This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
2016-05-27 15:27:35 +04:00
Konstantin Molchanov
4f9b498103 Stdlib: nre: Convenience proc `contains` added. 2016-05-14 09:23:09 +04:00
Flaviu Tamas
4febf2784a Update NRE documentation 2016-05-13 16:43:43 -04:00
Dominik Picheta
8e6f5f20f6 Improve net and ssl module docs. 2016-04-04 20:47:47 +01:00
Dominik Picheta
aa01c346f7 Fixes #3159. 2016-04-04 20:15:52 +01:00
lihf8515
1a5bde28ed Repair using the db_odbc module to query the Oracle database, the program compiled in the release mode, the return of the field value is null. 2016-03-21 15:15:28 +08:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
def
867285c5a9 Rename THANDLE to Handle to fix deprecation warnings 2016-02-11 22:45:03 +01:00
def
ce69f1e037 Revert two deprecation changes 2016-01-26 13:34:08 +01:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
JamesP
8a286d3e58 Fix row reading procs to not use SQLRowCount, but SQLFetch until returns SQL_NO_DATA
change SqlCheck() and SqlGetDBMS() to sqlCheck() and sqlGetDBMS() (camelCase consistency)
2016-01-24 17:32:23 +10:00
Hans Raaf
0634486689 Fixed deprecation warnings while Nim compiles.
I just removed unsigned and changed a writeLn() call to writeLine() to
avoid the remaining deprecation warnings.
2016-01-18 18:14:50 +01:00
Dominik Picheta
6ca9e5cbcc Improved documentation for all db modules. 2016-01-18 13:34:53 +00:00
Dominik Picheta
a34206fe84 More postgres test code. Added getValue for PreparedStmts.
Ref #3569. Ref #3560.
2016-01-18 13:19:07 +00:00
Andreas Rumpf
255177f7cd new db_sqlite requires deadCodeElim:on because not every sqlite3_column_name 2015-12-29 20:39:52 +01:00
Andreas Rumpf
1386592aab implements column information retrival for db_sqlite 2015-12-17 14:39:40 +01:00
Andreas Rumpf
3313170b8d fixes InstantRow decl; implements column information retrival for db_mysql 2015-12-17 14:39:40 +01:00
Andreas Rumpf
a3c8bb9376 updated db*.nim modules 2015-12-16 21:24:13 +01:00
Andreas Rumpf
cb10f30656 big update for the db*.nim modules; uses new db_common.nim 2015-12-16 20:56:12 +01:00
JamesP
16d7db47aa add db_odbc library module 2015-12-09 14:02:28 +10:00
Anatoly Galiulin
c017904363 Fixed issue 3513: wrong setupQuery realization 2015-11-06 10:24:23 +06:00
Dominik Picheta
82f3cab1ac Improved postgres docs and added untestable tests. 2015-10-27 11:06:00 +01:00
JamesP
a82b9cbda3 fix doco by removing extra ` chars, change a word and
line up multi-line text
2015-10-27 11:06:00 +01:00
JamesP
02d882cfbe add doco outlining the two SQL parameter substitution mechanisms for the db_postgres module
adjust doco note: indent by one space

shorten doco example lines, by splitting across multiple lines

shorten doco line widths by splitting long lines into multi-lines

fix to prepare() example in doco "Note:" section
2015-10-27 11:05:59 +01:00
JamesP
033c461a87 setupQuery() with SqlQuery take parameter substitution with "?"
add instantRows() with SqlPrepared parameter

fix setupQuery() for SqlQuery to produce a unique identiying query name

add rows() iterator with SqlPrepared parameter

add execAffectedRows for SqlPrepared
2015-10-27 11:05:59 +01:00