Commit Graph

260 Commits

Author SHA1 Message Date
Araq
b8325181d1 EIO is called IOError now 2016-09-28 23:39:56 +02: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
JamesP
b2a48b0ed6 tryExec() with SqlQuery now takes "?" substitution parameters
add tryExec() with SqlPrepared parameter

exec() with SqlQuery now expects "?" parameter substitution
2015-10-27 11:05:59 +01:00
JamesP
4e19106221 add check to dbFormat() to verify parameter substitution has "?" identifier
add check to prepare() that parameter substitution has "$1" identifier
2015-10-27 11:05:59 +01:00
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