Commit Graph

3323 Commits

Author SHA1 Message Date
Dominik Picheta
eb4263a0fc Fixes dom96/jester#45. 2015-09-06 23:50:42 +01: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
Araq
d7996a9ede attempt to support recursions for spawn 2015-09-06 02:40:26 +02: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
Araq
0320c0c73b fixes DLL hell on Windows 2015-09-05 12:03:53 +02:00
Araq
0f2a37cf1b fixes #3282 2015-09-05 11:34:36 +02:00
Andreas Rumpf
63a6bfce71 Merge pull request #3286 from yglukhov/when-nimvm
when nimvm stmt
2015-09-05 10:03:35 +02: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
Dominik Picheta
37fe21b64a Merge pull request #3288 from Snowie/devel
Include port in host header as expected
2015-09-04 21:25:34 +01:00
Doran
619ab0bcf0 Include port in host header as expected 2015-09-04 16:10:32 -04:00
Dominik Picheta
538fc0467b Merge pull request #3285 from nanoant/patch/lib-pure-osproc-spawn-vs-fork-simplify
osproc: Define and select spawn/fork same way
2015-09-04 20:19:38 +01:00
Yuriy Glukhov
790ef23c48 nimvm is magic 2015-09-04 20:50:29 +03:00
Araq
178275f494 split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support 2015-09-04 12:22:23 +02:00
Dominik Picheta
4fefdb4d91 Merge pull request #3281 from nanoant/patch/lib-pure-times-hotfix
times: Export & document countLeapYears/Years/Days
2015-09-03 21:37:35 +01:00
Adam Strzelecki
a9f114cf13 osproc: Define and select spawn/fork same way
Previously startProcessAuxFork was defined even when it was unused, also the
compile time condition to select spawn vs fork was not always the same for
definitions and calls.

This change just defines the condition in one place as constant, then in other
places we just check for `when useProcessAuxSpawn`.
2015-09-03 18:00:15 +02:00
Araq
a373bdd0c9 improvements for NimScript support 2015-09-03 14:30:11 +02:00
Araq
e90c155260 fixes 'line too long' warnings 2015-09-03 14:30:10 +02:00
Andreas Rumpf
580855d2eb Merge pull request #3273 from yglukhov/js-copy-fix
Fixed JS copying.
2015-09-03 14:22:10 +02:00
Andreas Rumpf
c3d399ed70 Merge pull request #3264 from jlp765/db_mysql
fixes #3220 lib/impure/db_mysql.nim getValue()
2015-09-03 14:09:43 +02:00
Andreas Rumpf
d61461157f Merge pull request #3280 from jlp765/endb
lib/system/endb.nim bug fix: Switch state to dbgSkipCurrent for Eval, Local & Global
2015-09-03 12:37:55 +02:00
Andreas Rumpf
5a9d2d8e75 Merge pull request #3266 from rbehrends/fix-readline
Fix readLine handling of long lines.
2015-09-03 12:36:15 +02:00
Adam Strzelecki
ef5f0b1ac9 times: Export & document countLeapYears/Years/Days
Previously countYears & countDays procs were not public, but there were unused,
causing unnecessary warnings generated by standard library.

Since these procs seems to be useful it is better to just export them than
remove them completely. Also turning inline comments into proper documentation.
2015-09-03 10:39:14 +02:00
JamesP
a3cc519ea9 bug fix: Switch state to dbgSkipCurrent for Eval, Local & Global commands.
This avoids stepping into the endb code if previous command was single step.

Other two changes are trailing spaces removed.
2015-09-03 09:21:25 +10:00
Araq
1e597c6332 formatFloat takes an optional decimalSep parameter 2015-09-01 23:41:03 +02:00
Yuriy Glukhov
02214d8d1b Fixed JS copying. 2015-08-31 21:44:07 +03:00
Dominik Picheta
c60728326e Add :idx: for suspend in coro module. 2015-08-30 13:11:27 +01:00
Dominik Picheta
fa99a60222 Merge branch 'coro-remove-prefix' of https://github.com/reactormonk/nim into reactormonk-coro-remove-prefix 2015-08-30 13:08:30 +01:00
Simon Hafner
24655ecd52 coro.sleep -> suspend 2015-08-30 10:24:13 +02:00
xland
755d86ff3d Add link button for IUP wrapper
Add link button for IUP wrapper
2015-08-30 08:30:22 +08:00
JamesP
da2d0845b8 lib/impure/db_mysql add example code-block 2015-08-29 07:50:14 +10:00
Reimer Behrends
7dd263f506 Fix readLine handling of long lines. 2015-08-28 17:21:03 +02:00
coffeepots
f089d70010 Add widestring versions of SQLPrepare and SQLExecDirect
SQLPrepareW and SQLExecDirectW are needed to use unicode as otherwise ODBC only recognises ansi codepages.
2015-08-28 14:10:30 +01: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
Dominik Picheta
887869d953 Merge pull request #3251 from jck/msp430
add msp430 cpu support
2015-08-26 23:21:26 +01:00
Araq
20c2b00822 make --gc:none work with --threads:on 2015-08-26 23:59:00 +02:00
Keerthan Jaic
66ff1792fa add msp430 cpu support 2015-08-26 00:00:46 -04:00
Simon Hafner
d876960b9d removed coro deprecations 2015-08-25 23:52:14 +02:00
Araq
c0ad9a96ce fixes #3237 2015-08-25 22:44:53 +02:00
Andreas Rumpf
f091ce258e Merge pull request #3239 from xyz32/devel
When reading files, check if the eof flag is set before throwing.
2015-08-25 22:22:32 +02:00
Simon Hafner
7d9a748fcd removed coro prefixes from coro.nim 2015-08-25 16:33:44 +02:00
Araq
999c107c52 fixes #3245 2015-08-25 15:13:39 +02:00
xyz
1def8ec9f9 remove fileError 2015-08-25 06:48:58 -04:00
Andreas Rumpf
5cfce2623b Merge pull request #3160 from r-ku/coroutines
Coroutines
2015-08-25 10:54:05 +02:00