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
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
370781b773
update Visual Studio command line flags
2015-08-27 01:01:58 +02: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
Andreas Rumpf
19f58704ee
Merge pull request #3234 from petermora/mapAutoAuto
...
extending metatype matching in sigmatch.nim
2015-08-25 22:21:40 +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
Yuriy Glukhov
a66b968d3b
Fixed passing byvar
2015-08-25 15:47:34 +03:00
xyz
1def8ec9f9
remove fileError
2015-08-25 06:48:58 -04:00