Commit Graph

7456 Commits

Author SHA1 Message Date
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
Yuriy Glukhov
c0fa4b7d9c Added documentation for when nimvm statement. 2015-09-05 01:19:14 +03:00
Andreas Rumpf
cd9d126a2f Merge pull request #3289 from nanoant/patch/fix-whitespace
Patch/fix whitespace
2015-09-04 23:37:59 +02:00
Adam Strzelecki
c5d7f6d2b3 Trim remaining .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:12:25 +02:00
Adam Strzelecki
c99a9e5a6c examples: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:12:03 +02:00
Adam Strzelecki
567b7d5a6a tests: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:11:11 +02:00
Adam Strzelecki
0b44d812f1 doc: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:10:48 +02:00
Adam Strzelecki
51488766e7 empty.txt files: Trim trailing whitespace 2015-09-04 23:09:54 +02:00
Adam Strzelecki
eab773f060 Convert contributors to UTF-8 2015-09-04 23:08:34 +02:00
Adam Strzelecki
5d80548cce examples: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:05:22 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Adam Strzelecki
ac9c1cd6b9 tools: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:17 +02: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
Adam Strzelecki
d681812465 compiler: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:22 +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
Yuriy Glukhov
49869a2b10 when nimvm stmt proof of concept 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
Araq
aa8da7f031 optimized writetracking 2015-09-03 14:30:09 +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
6fc01d1501 'var T' doesn't imply escaping 2015-09-02 00:55:31 +02:00
Araq
1e597c6332 formatFloat takes an optional decimalSep parameter 2015-09-01 23:41:03 +02:00
Araq
940b3ceca8 write tracking: leaner code; minor bug fixes (still unusable) 2015-08-31 23:06:35 +02:00
Araq
e733debec7 first implementation of write tracking and escape analysis; still disabled 2015-08-31 23:06:34 +02:00
Yuriy Glukhov
02214d8d1b Fixed JS copying. 2015-08-31 21:44:07 +03:00
Dominik Picheta
0e2a798af4 Merge branch 'reactormonk-coro-remove-prefix' into devel 2015-08-30 13:11:47 +01: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
Dominik Picheta
50fa1759aa Merge pull request #3271 from xland/devel
Add link button for IUP wrapper
2015-08-30 10:38:39 +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
Andreas Rumpf
c718e0eb2d Merge pull request #3242 from yglukhov/byvar-fix
JS: Fixed passing byvar
2015-08-28 18:28:54 +02:00
Andreas Rumpf
3452f6ce41 Merge pull request #3265 from coffeepots/patch-2
Add widestring versions of SQLPrepare and SQLExecDirect
2015-08-28 18:27:26 +02: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