Commit Graph

5256 Commits

Author SHA1 Message Date
Yuriy Glukhov
1b4fc744db Fixed bad JS codegen for new json with tables. Added json to JS tests. 2016-02-29 17:53:52 +02:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
Andreas Rumpf
bd95bf58bf Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-29 12:20:04 +01:00
Andreas Rumpf
c9966a3e17 use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
Andreas Rumpf
38dee2095c added 'sig' feature; removed tfShared support in the compiler 2016-02-28 19:56:41 +01:00
Konstantin Zaitsev
6f0cab7060 Added checks for CPP 2016-02-28 17:25:12 +06:00
def
ef1d771cf2 Export tables.$ in json module 2016-02-27 23:58:14 +01:00
Dominik Picheta
3390da6746 Merge pull request #3906 from vegansk/issue_3905
Return timezone in seconds instead of minutes for JS target.
2016-02-27 14:06:01 +00:00
Andreas Rumpf
9d0c79ff1e fixes #3901 2016-02-26 15:09:20 +01:00
Anatoly Galiulin
5cfb653094 Fixed issue 3905 with getTimezone in js 2016-02-26 16:17:38 +06:00
Andreas Rumpf
cce64c3357 Merge pull request #3810 from def-/json-speedup
Use tables instead of seqs for json objects
2016-02-25 20:16:58 +01:00
Konstantin Zaitsev
2693179834 Fixed THINSTANCE declaration in dynlib.nim for VS compiler 2016-02-25 15:03:02 +06:00
def
7177e0058b Consistently use Channel instead of TChannel 2016-02-25 04:04:45 +01:00
def
887a8d1f0a Annotate hash with {.noSideEffect.} 2016-02-24 19:03:55 +01:00
def
9aecdb587b Initialize JObject fields with capacity 4 by default to save memory and improve performance 2016-02-24 19:03:55 +01:00
def
129499d8e9 Use tables instead of seqs for json objects
Significant speedup for some operations, fixes #3809
Not tested very well yet
2016-02-24 19:03:55 +01:00
Andreas Rumpf
505b0b6b37 Merge pull request #3880 from cheatfate/issue3879
Resolve "redefintion" errors, when using MSVC.
2016-02-24 17:52:22 +01:00
Dominik Picheta
3762a47cc4 Remove debug echo introduced in #3896. 2016-02-24 00:00:20 +00:00
def
9afe2c1d8f Fix redirection in httpclient (fixes #3895) 2016-02-23 15:18:17 +01:00
def
41e1f3241b Fix building documentation in releases (fixes #3823) 2016-02-21 14:52:26 +01:00
Andreas Rumpf
8a3fd4b129 standalone target works again 2016-02-19 13:06:17 +01:00
Andreas Rumpf
608170b9d6 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-19 01:08:00 +01:00
Andreas Rumpf
12b5c0985d Merge pull request #3881 from endragor/nocppexceptions
Added --noCppExceptions switch
2016-02-19 00:33:47 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
cheatfate
901b7bdaf2 Resolve "redifintion" errors, when using Microsoft Compiler and Visual Studio headers described in Issue #3879 2016-02-18 18:17:01 +02:00
cheatfate
a27e4b5193 bug fix: repr() of sized enums presentation Issue #3864 2016-02-18 15:40:55 +02:00
Anatoly Galiulin
b0eeacf71e Added rlocks module to documentation and news.txt 2016-02-18 09:46:34 +06:00
Anatoly Galiulin
c1028b3363 Added fixes from Araq's comments 2016-02-17 20:44:48 +06:00
Andreas Rumpf
8ec5c01cae further progress on --gc:v2 2016-02-17 14:52:02 +01:00
Anatoly Galiulin
0290bc2240 Added reentrant locks module to stdlib 2016-02-17 17:05:20 +06:00
Yuriy Glukhov
9aceaa0c05 Added -Wpragmas ignore 2016-02-13 21:49:07 +02:00
def
867285c5a9 Rename THANDLE to Handle to fix deprecation warnings 2016-02-11 22:45:03 +01:00
Ruslan Mustakov
82dd2545fb Added pragmas to ignore warnings in Nim-generated files for gcc, clang, vcc 2016-02-10 19:19:01 +06:00
Ruslan Mustakov
ac4dad5193 Added nnkTemplateDef and nnkConverterDef to RoutineNodes set 2016-02-10 14:53:46 +06:00
Andreas Rumpf
8ec7c0af20 php-codegen fixes 2016-02-06 19:58:28 +01:00
Andreas Rumpf
4686f485a6 cleaner toArray magic 2016-02-06 15:39:56 +01:00
Andreas Rumpf
9b44ca17c2 PHP codegen can generate PHP classes 2016-02-06 15:39:56 +01:00
Andreas Rumpf
35567a1eb9 first version of an PHP codegen 2016-02-06 15:39:56 +01:00
Andreas Rumpf
58f6bfb1dc Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-06 15:29:25 +01:00
Andreas Rumpf
73291aa1bc Merge pull request #3781 from rgv151/patch-net-gc-safe
[net/httpclient] make it gc-safe #2692
2016-02-06 15:26:07 +01:00
Andreas Rumpf
981974ab11 Merge pull request #3831 from ephja/nimrod-to-nim
nimrod -> nim
2016-02-06 15:24:09 +01:00
Andreas Rumpf
03f4aa23d7 Merge pull request #3106 from def-/deprecation
Fix a few deprecation warnings
2016-02-06 15:22:19 +01:00
def
62955292f2 Revert removal of raiseOSError 2016-02-06 13:51:51 +01:00
def
11f055c652 Fix json.%* for empty objects 2016-02-06 03:29:09 +01:00
def
bf8e371d7e Revert raiseOSError change 2016-02-06 01:29:12 +01:00
Erik Johansson Andersson
f8d98700ac nimrod -> nim 2016-02-05 19:11:43 +01:00
Andreas Rumpf
4610cb3ae9 Merge pull request #3813 from flyx/rst-svg
RST: Output <object> for SVG images in HTML
2016-02-05 18:24:21 +01:00
Andreas Rumpf
cf9d8d6bba Merge pull request #3814 from scriptum/fix-3802
Use defer in iterator to avoid possible leaks
2016-02-05 03:30:48 +01:00
Andreas Rumpf
19677a11b0 some progress on GC v2 2016-02-03 17:42:10 +01:00
Pavel Roschin
17dff030ae Use defer in iterator to avoid possible leaks. Fixes #3802 2016-02-02 23:20:39 +03:00