Commit Graph

9782 Commits

Author SHA1 Message Date
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
Federico Ceratto
8adfe793d3 Support OpenSSL 1.0.2
1.0.2 is a current OpenSSL stable release.
2016-10-17 12:10:31 +01:00
Dominik Picheta
f176128f07 CI: ZIPs don't have an underscore in the filename. 2016-10-16 17:03:24 +02:00
Dominik Picheta
b3c18b8dd8 Improve niminst zip error message and fix CI build. 2016-10-16 16:40:00 +02:00
Dominik Picheta
0e7ff0df5f Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-10-16 16:12:14 +02:00
Dominik Picheta
d004a06c6e Fixes niminst zip not creating output dir & cleans related code. 2016-10-16 16:11:26 +02:00
Dominik Picheta
bf92efc570 Merge pull request #4900 from cheatfate/asyncerronly
asyncdispatch: Fix handle of error only events.
2016-10-16 16:01:51 +02:00
cheatfate
0ff7fbea34 Fix handle of error only events. 2016-10-16 04:03:45 +03:00
Araq
10bd488daa implements #?braces syntax 2016-10-16 00:35:49 +02:00
Andreas Rumpf
2d2b1a9d48 fixes a simple .borrow bug 2016-10-14 12:17:12 +02:00
Andreas Rumpf
e92a902439 Merge pull request #4896 from hcorion/add-mingw
Add Mingw build support for build.sh
2016-10-14 11:51:45 +02:00
Zion Nimchuk
9b7231a6ab Add Mingw build support for build.sh 2016-10-13 18:38:57 -07: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
Andreas Rumpf
c3959ea6c3 Merge pull request #4894 from hakanderyal/gc-stack-fix
Gc stack fix
2016-10-13 23:20:45 +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
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