Andreas Rumpf
50d593787f
fixes #1518
2016-10-20 23:44:55 +02:00
Andreas Rumpf
db6b2bf1c7
fixes #4879
2016-10-20 23:02:26 +02:00
Andreas Rumpf
20ee65af6d
fixes #3078
2016-10-20 21:40:04 +02:00
Andreas Rumpf
17128f163a
Merge pull request #4904 from FedericoCeratto/spellings
...
Fix few typos
2016-10-20 15:35:31 +02:00
Andreas Rumpf
a12f503b47
fixes #4899
2016-10-19 19:56:51 +02:00
Andreas Rumpf
b389f82d12
Windows console apps do not set the codepage to UTF-8 anymore; use -d:nimSetUtf8CodePage to re-enable this feature
2016-10-18 18:26:29 +02:00
Federico Ceratto
7d24656b0a
Fix few typos
2016-10-17 13:12:15 +01:00
cheatfate
0ff7fbea34
Fix handle of error only events.
2016-10-16 04:03:45 +03:00
Andreas Rumpf
3ba2d08bbc
Merge pull request #4015 from arnetheduck/initallocator-fix
...
fix initAllocator not being called when defined(nogc) and not defined…
2016-10-13 23:25:05 +02:00
Hakan Deryal
34865fbbf5
add exported memory size getter functions for MemRegion objects
2016-10-13 19:10:53 +03:00
Hakan Deryal
67b635029d
fixes memory region not updating when passed to withRegion template.
2016-10-13 19:08:31 +03:00
Jonathan Bernard
68d3486f5a
Bugfix for times.initInterval (issue #4889 )
...
`initInterval` had logic to calculate and carry overflowed fields (65 seconds
turns into 5 seconds and carries 1 minute). However, we were not including that
carried value when we recalculate the carry over for the next period of time.So
if you had, for example, 3600 seconds, we carried 60 minutes into the minutes
calculation, but when we calculated how much we should carry into the hours
value we only considered what the user originally supplied for the minutes
field, and forgot to include those 60 carried minute.
So, for example, with the previous implementation this was true:
`seconds(60 * 60 * 24) == seconds(0)`
Or, as failing tests:
```nimrod
import times
assert seconds(60 * 60 * 24) != seconds(0)
assert seconds(60 * 60 * 24) == days(1)
```
2016-10-12 15:44:21 -05:00
Jacek Sieka
2748da1496
Merge remote-tracking branch 'origin/devel' into initallocator-fix
2016-10-12 21:28:40 +08:00
Alpha Shuro
72b15678a1
Add example for posting json content
...
i struggled to figure out how to post json content with nim's http client. this is a fundamental capability in many web apps, we don't always need to send data as multipart form data (e.g. when communicating via json apis) so frankly i'm surprised it isn't part of the "post" and "postContent" procs
2016-10-12 13:58:34 +02:00
Andreas Rumpf
f46168d654
Merge pull request #4828 from jfhg/unify_waitpid_handling
...
Unify waitpid handling
2016-10-09 19:03:12 +02:00
Araq
08913db924
added registry.nim to the stdlib
2016-10-09 02:01:28 +02:00
Araq
6e6b90278c
koch supports the finish command for smooth installations on Windows
2016-10-09 01:59:50 +02:00
Araq
a28612d869
develop version is 0.15.1
2016-10-08 10:53:38 +02:00
Araq
80ad3d3441
fixes #4844
2016-10-08 10:47:47 +02:00
Andreas Rumpf
754b99e435
Merge pull request #4848 from flyx/fix-debugdlopen
...
Fixed compilation error with -d:nimDebugDlOpen
2016-10-06 10:39:47 +02:00
Andreas Rumpf
6895a417c0
Merge pull request #4857 from yglukhov/gcv2-threads
...
Make gc v2 compile with --threads:on
2016-10-06 10:39:23 +02:00
Andreas Rumpf
0b84eac5ae
Merge pull request #4853 from GaveUp/devel
...
Revert change to osalloc.nim from commit 8d7a45f .
2016-10-06 10:38:39 +02:00
Yuriy Glukhov
1bfcea5d5c
Make gc v2 compile with --threads:on
2016-10-05 20:36:22 +03:00
Jez Kabanov
014a90abad
call initAllocator in foreign thread
2016-10-05 19:16:31 +11:00
GaveUp
fe362543de
Revert change to osalloc.nim from commit 8d7a45f.
...
Change caused MAP_ANONYMOUS to have an incorrect value when compiling
for mipsel.
Fixes #4852 .
2016-10-04 15:22:36 -05:00
Felix Krause
cee445b889
Display hint for -d:nimDebugDlOpen on load failure
2016-10-03 12:06:54 +02:00
Felix Krause
9c91558e62
Fixed compilation error with -d:nimDebugDlOpen
2016-10-03 11:58:21 +02:00
Dominik Picheta
c24d6fe17e
Fixes pesky hint in asyncfutures.
2016-10-01 00:09:17 +02:00
Araq
b16a678a0b
version changed to 0.15.0
2016-10-01 00:02:34 +02:00
Araq
77677c73c8
made test green for 32bit system
2016-09-30 22:14:29 +02:00
Araq
6c022f4500
made test green for 32bit system
2016-09-30 22:14:29 +02:00
Johannes Hofmann
52db21bb2c
convert exitStatus to exit code
2016-09-30 10:19:57 +02:00
Johannes Hofmann
72ee6f78c5
Merge branch 'devel' into unify_waitpid_handling
2016-09-30 08:37:09 +02:00
Federico Ceratto
5e4708ef3b
Add few JSON examples
2016-09-29 15:56:22 +01:00
Andreas Rumpf
55abc3dc38
Merge pull request #4833 from FedericoCeratto/patch-15
...
Add description to arch.nim
2016-09-29 12:46:58 +02:00
cheatfate
64cb03f633
Fix upcoming to pass tpolltimeouts.nim test
2016-09-29 11:16:14 +03:00
Araq
b8325181d1
EIO is called IOError now
2016-09-28 23:39:56 +02:00
Federico Ceratto
a56565fdbd
Add description to arch.nim
2016-09-28 20:00:43 +01:00
Andreas Rumpf
21e35c201c
made async compile again
2016-09-26 23:31:36 +02:00
Andreas Rumpf
0699305121
revert brainless changes
2016-09-26 23:23:47 +02:00
Andreas Rumpf
cfae650750
make travis green
2016-09-26 23:19:09 +02:00
Andreas Rumpf
c7b9883ad0
make linenoise compile in some /tmp directory
2016-09-26 19:26:39 +02:00
Andreas Rumpf
8e845cc79f
docgen fixes for basic3d
2016-09-26 19:26:39 +02:00
Andreas Rumpf
0ca58120b7
docgen fixes for selectors.nim
2016-09-26 19:26:39 +02:00
Andreas Rumpf
1ccdf85eda
docgen fixes for basic2d
2016-09-26 19:26:39 +02:00
Dominik Picheta
df44c71770
Fixes #4587 .
2016-09-25 19:26:28 +02:00
Dominik Picheta
6aa8ff9af6
Moves async futures into asyncfutures module.
2016-09-25 18:24:35 +02:00
Dominik Picheta
927fce4c7f
FutureVar[T] parameters are now completed automatically.
2016-09-25 16:05:22 +02:00
Dominik Picheta
b3c620fc58
Merge branch 'asyncftp-add-removeDir' of https://github.com/pyloor/Nim into pyloor-asyncftp-add-removeDir
2016-09-25 13:11:02 +02:00
Dominik Picheta
1f1ec69fc9
Merge branch 'asyncftp-add-removeFile' of https://github.com/pyloor/Nim into pyloor-asyncftp-add-removeFile
2016-09-25 13:09:32 +02:00