Peter Mora
925e7b0ca1
fixing TypelessParam warning in x=>x+1, added test
2015-09-22 18:34:43 +02:00
Araq
73279aba39
added unicode.lastRun, unicode.graphemeLen
2015-09-21 15:49:46 +02:00
Aman Gupta
cd40137d1e
mark code-blocks in 2d/3d docs
2015-09-20 18:24:49 -07:00
Aman Gupta
50b4406694
s/acces/access/g
2015-09-20 18:24:38 -07:00
Dominik Picheta
492f5eb704
Fixes asyncnet.recvLine. Fixes #3346 .
2015-09-19 14:01:45 +01:00
wt
4231574111
Fix proc closeSocket (posix): bad file descriptor error
2015-09-18 18:26:15 +08:00
Araq
a4a5003b7d
fixes #3312
2015-09-18 02:24:13 +02:00
Dominik Picheta
432884861e
Merge pull request #3337 from yglukhov/json-coerce-int-to-float
...
Transparently coerce int to float in JsonNode.getFNum
2015-09-17 23:09:00 +01:00
Dominik Picheta
0f933bbf55
Deprecated ftpclient module.
2015-09-17 23:05:16 +01:00
Dominik Picheta
5998f53280
Added examples to asyncftpclient module.
2015-09-17 22:45:30 +01:00
Dominik Picheta
6b002e805e
Added examples and more docs to base64 module.
2015-09-17 20:44:16 +01:00
Yuriy Glukhov
721324380d
Transparently coerce int to float in JsonNode.getFNum
2015-09-17 17:54:01 +03:00
Rostyslav Dzinko
bfe84d9c8b
Added missing 412 - 417 http codes which are standard according to rfc2616 which is HTTP/1.1 standard.
2015-09-17 16:01:11 +03:00
Dominik Picheta
4da5e47414
Implements getPeerAddr/getPeerName on Windows and adds IDX.
2015-09-15 10:37:16 +01:00
Dominik Picheta
01c99ff258
Merge branch 'socket-address' of https://github.com/rbehrends/Nim into rbehrends-socket-address
2015-09-15 09:20:45 +01:00
Andreas Rumpf
fa17707684
Merge pull request #3307 from rogercloud/devel
...
Fix issue #2245
2015-09-14 17:37:54 +02:00
Reimer Behrends
b9df1323f7
Provide access to getsockname()/getpeername().
...
This patch implements procedures getLocalAddr() and getPeerAddr() that
return the results of getsockname() and getpeername(), respectively, as
pairs (string, Port) for both Socket and SockedHandle.
2015-09-14 01:42:46 +02:00
Dominik Picheta
77c2bcf079
Improve asyncdispatch error messages, fix some tests on Windows.
2015-09-11 14:35:42 +01:00
Dominik Picheta
808253370b
Implement strutils.indent
2015-09-11 14:35:25 +01:00
Dominik Picheta
28e3ad945a
Reintroduce FutureVar[T] from commit 72b4912c84.
2015-09-11 13:03:59 +01:00
JamesP
2d1f26302c
Example: add extra getGmTime interval addition example
2015-09-10 19:29:26 +10:00
JamesP
f5d55ad012
tests added: toSeconds with local/GM timezones, interval add/sub
...
with local/GM timezones
2015-09-10 19:21:27 +10:00
JamesP
c122d71e66
bug fix: + and - handle GM and Local time correctly
...
eg, getGmTime(getTime()) + initInterval(hours=1) gave incorrect results
2015-09-10 17:38:00 +10:00
JamesP
612cd2161a
add examples block to top of times module
2015-09-10 17:29:52 +10:00
Roger Shi
16fe63180f
test case for #2367
2015-09-10 15:16:01 +08:00
Roger Shi
8f9ce5285f
fix #2367
2015-09-09 11:40:13 +08:00
Andreas Rumpf
55e479657a
Merge pull request #3303 from Amrykid/amrykid-name-change
...
Fixed my name.
2015-09-08 11:06:03 +02:00
Rostyslav Dzinko
bd12b7de96
Added == operator for comparing two Object IDs
2015-09-08 11:16:22 +03:00
Alexander Mitchell-Robinson
564c9f4013
Fixed my name.
2015-09-07 19:51:52 -05:00
Andrey Sobolev
4e57ea9345
Merge remote-tracking branch 'upstream/devel' into improve-xmltree
2015-09-07 21:20:30 +06:00
Andrey Sobolev
a534434056
allow to delete xmlnode childs
2015-09-07 21:19:52 +06:00
Araq
adf34082f0
documented NimScript
2015-09-07 12:31:34 +02:00
Andrey Sobolev
f405876b35
add text modification proc
2015-09-07 12:25:53 +06:00
Dominik Picheta
eb4263a0fc
Fixes dom96/jester#45 .
2015-09-06 23:50:42 +01:00
Araq
d7996a9ede
attempt to support recursions for spawn
2015-09-06 02:40:26 +02:00
Araq
0f2a37cf1b
fixes #3282
2015-09-05 11:34:36 +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
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
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
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
Araq
1e597c6332
formatFloat takes an optional decimalSep parameter
2015-09-01 23:41:03 +02:00
Dominik Picheta
c60728326e
Add :idx: for suspend in coro module.
2015-08-30 13:11:27 +01:00
Simon Hafner
24655ecd52
coro.sleep -> suspend
2015-08-30 10:24:13 +02:00
Simon Hafner
d876960b9d
removed coro deprecations
2015-08-25 23:52:14 +02:00
Simon Hafner
7d9a748fcd
removed coro prefixes from coro.nim
2015-08-25 16:33:44 +02:00
Andreas Rumpf
5cfce2623b
Merge pull request #3160 from r-ku/coroutines
...
Coroutines
2015-08-25 10:54:05 +02:00
Araq
646af76c87
implemented nimPinToCpu threadpool feature
2015-08-24 18:01:41 +02:00