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
Dominik Picheta
00cb5b4965
Merge pull request #4890 from jdbernard/fix-times-initinterval
...
Bugfix for times.initInterval (issue #4889 )
2016-10-13 09:17:01 +02: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
Araq
6ade7c0e0d
adapting the lexer for curlysyn
2016-10-12 17:52:29 +02:00
Dominik Picheta
b77fb67fee
Merge pull request #4887 from alphashuro/patch-2
...
Add example for posting json content
2016-10-12 16:33:59 +02:00
Jacek Sieka
d2d618dde7
add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc (see fe36254)
2016-10-12 22:31:59 +08:00
Jacek Sieka
4435d83a88
run gctest for gc:none
2016-10-12 21:32:15 +08: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
e6ff6dd9c8
koch: finish is now its own command
2016-10-11 20:31:43 +02:00
Dominik Picheta
e60868a785
CI: Store build/*.zip artifacts.
2016-10-10 23:53:15 +02:00
Pavel Roschin
dbef9f97c2
Remove TODO for PCRE JIT
2016-10-10 02:21:35 +03:00
Andreas Rumpf
f46168d654
Merge pull request #4828 from jfhg/unify_waitpid_handling
...
Unify waitpid handling
2016-10-09 19:03:12 +02:00
Felix Krause
39f03d816c
Fixes #4871
2016-10-09 18:02:48 +02:00
Araq
00b749c418
zip files for Windows
2016-10-09 14:35:00 +02:00
Andreas Rumpf
c96295b380
better error checking for install_tools.nims script
2016-10-09 13:13:45 +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
3dc8e593ff
document 'nim e' mode
2016-10-08 11:49:17 +02:00
Araq
4ab79faf6e
remove outdated warning about the Nimble installation process
2016-10-08 11:11:36 +02:00
Araq
a28612d869
develop version is 0.15.1
2016-10-08 10:53:38 +02:00
Araq
91722b4aed
install_tools is not for building by source
2016-10-08 10:47:47 +02:00
Araq
3a5dfd6a03
fixes #4845
2016-10-08 10:47:47 +02:00
Araq
7906527297
failed attempt to fix a 'void' inference bug
2016-10-08 10:47:47 +02:00
Araq
80ad3d3441
fixes #4844
2016-10-08 10:47:47 +02:00
Dominik Picheta
f721bdb8f5
Updated sponsors CSV files.
2016-10-06 20:32:47 +02:00
Andrea Ferretti
f0308e9bcf
New version of js console using macros - avoid the use of .apply method
2016-10-06 11:35:29 +02:00
Andrea Ferretti
4c52239394
Updated js console logging to avoid wrapping into array
2016-10-06 10:54:52 +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
Andreas Rumpf
989f794927
Merge pull request #4855 from ftsf/fix-foreignthreads
...
call initAllocator in foreign thread
2016-10-05 17:38:37 +02: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
Andreas Rumpf
79ddf0611d
Merge pull request #4850 from jangko/win_nimmain_export
...
fixes #4840
2016-10-03 21:19:55 +02:00
andri lim
c0470edc4c
fixes #4840
2016-10-03 19:14:27 +07: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
honewatson
065210e6a3
Add respond proc example
...
Add an example for the respond proc demonstration JSON response.
2016-10-03 20:22:32 +11:00
Dominik Picheta
6e1313515d
Improve downloads page.
2016-10-01 12:18:31 +02:00
Andreas Rumpf
d8223d6645
disable warnUninit for --verbosity:2
2016-10-01 09:08:02 +02:00
Fredrik Høisæther Rasch
c93ed48580
Add VCC wrappers
...
Enables automatic loading of Visual Studio C/C++ Build Tools
2016-10-01 01:56:08 +02:00
Araq
6253cf4309
downloads have SHA checksums
2016-10-01 01:52:43 +02:00
Araq
9372fbe36e
website updated
2016-10-01 01:34:25 +02:00
Dominik Picheta
8ec28552bc
NSIS won't force admin privileges.
v0.15.0
2016-10-01 00:09:17 +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
42b64e3257
minor CSS improvement
2016-10-01 00:02:34 +02:00