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
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
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
Yuriy Glukhov
bb1bf2b7d0
Corrected lib name for macos.
2015-08-25 11:21:07 +03:00
Araq
646af76c87
implemented nimPinToCpu threadpool feature
2015-08-24 18:01:41 +02:00
Araq
e703afdb3b
fixes sysio regression for nimscript support
2015-08-24 18:01:40 +02:00
xyz
88247e6857
Append the readAllBuffer to what was read already
2015-08-23 18:54:15 -04:00
xyz
385a883e14
Use seLen as sugested, and fix typos
2015-08-23 18:29:38 -04:00
Dominik Picheta
9b0ac8afa8
Improves osproc.startProcess error message on POSIX. Ref #2183 .
2015-08-23 22:07:37 +01:00
Dominik Picheta
1b73cd41bf
Improves osproc.startProcess error message. Fixes #2183 .
2015-08-23 21:57:45 +01:00
Dominik Picheta
fe190ee83f
Better docs for os.getCreationTime(). Fixes #1058 .
2015-08-23 19:57:23 +01:00
Dominik Picheta
193f248ea0
Fixes parsing of URIs that begin with '//'.
2015-08-23 18:22:37 +01:00
xyz
dc6c0559e9
When reading files, check if the eof flag is set before throwing.
2015-08-22 10:59:20 -04:00
Araq
c56a1f8266
math.nim works with NimScript
2015-08-21 21:34:15 +02:00
Andreas Rumpf
2733c508ef
Merge pull request #3143 from def-/readline-faster
...
Improve performance of readLine by using fgets
2015-08-21 21:30:27 +02:00
Andreas Rumpf
47919e219b
Merge pull request #3205 from fenekku/unittest-work-2
...
other unittest pull-request
2015-08-21 21:30:10 +02:00
Andreas Rumpf
abccaa15d8
Merge pull request #3231 from jangko/devel
...
fixed UTF-16 to UTF-8 conversion in widestrs.nim
2015-08-21 21:28:24 +02:00
Andreas Rumpf
6733af414d
Merge pull request #3232 from yglukhov/js-pointer-fix
...
JS: Untyped pointers codegen changed. addr expression fixed.
2015-08-21 21:25:41 +02:00
Andreas Rumpf
e4c164144d
Merge pull request #3215 from rbehrends/fix-reversed-empty
...
Fixed algorithm.reversed to work for empty seq's.
2015-08-21 17:06:30 +02:00