Commit Graph

8291 Commits

Author SHA1 Message Date
Yuriy Glukhov
f46d40cb37 Added a test case 2016-05-18 13:51:07 +03:00
Dominik Picheta
d3e9589b3d Merge pull request #4180 from cheatfate/callsoon2
Resolve bugs with `deep recursion` of asyncdispatch.
2016-05-18 11:45:56 +01:00
Andreas Rumpf
9fd2d6ff5a Merge pull request #4182 from Parashurama/fix_issue_4181
fix issue #4181. add testcase.
2016-05-18 12:42:43 +02:00
Andreas Rumpf
2ac3e12372 fixes #4066 2016-05-18 12:40:01 +02:00
Andreas Rumpf
3ac6bd8ae1 refactoring: flags instead of bools 2016-05-18 12:40:01 +02:00
Parashurama
f5761e23d3 fix issue 4181. add testcase. 2016-05-18 12:12:01 +02:00
cheatfate
aba60e54d5 Resolve bugs with deep recursion of asyncdispatch.
Introduce callSoon() implementation.
Patch tests to use waitFor() instead of asyncCheck()
2016-05-18 00:53:53 +03:00
Andreas Rumpf
3f075b7921 Merge pull request #4173 from Parashurama/better_float_parsing
fixes issue #4117 and make float parsing locale independent.
2016-05-17 17:15:23 +02:00
Andreas Rumpf
0dc2ecae09 Merge pull request #4171 from Parashurama/devel
fixes typo in system/timers.nim
2016-05-17 14:24:46 +02:00
Parashurama
60e03ee27c make float parsing locale independent. 2016-05-16 22:06:35 +02:00
Parashurama
fdcb4907bc fixes typo in system/timers. 2016-05-16 17:21:49 +02:00
Dominik Picheta
f4f7edf00f Merge pull request #4075 from yglukhov/json
Json serialization for openarrays and objects
2016-05-15 12:39:26 +01:00
Andreas Rumpf
c770715b16 Merge pull request #4161 from moigagoo/devel
Stdlib: nre: Convenience proc ``contains`` added.
2016-05-15 11:01:22 +02:00
Andreas Rumpf
28a45f7ac9 Merge pull request #4154 from yglukhov/sizeof-doc
Added limitations note to sizeof. Closes #4153.
2016-05-15 10:57:42 +02:00
Andreas Rumpf
0662f3be4c Merge pull request #4162 from Lompik/devel
Fix 2 compile errors in LockFreeHash.nim
2016-05-15 10:57:10 +02:00
Lompiktab
72ba30d0a9 Fix 2 compile errors in LockFreeHash.nim
* type mismatch in range (line 55)
* invalid indentation (line 249)
2016-05-14 09:41:35 +04:00
Konstantin Molchanov
4f9b498103 Stdlib: nre: Convenience proc `contains` added. 2016-05-14 09:23:09 +04:00
Dominik Picheta
7341465439 Merge pull request #4155 from Lompik/devel
Fix missing `]`
2016-05-13 19:37:56 +01:00
Stephane Fontaine
fbd6291f2f Fix missing ]
other nim can't parse the file.
Introduced in 192ba3bbc0 (diff-1a01187da2fad29f03da8ce36ffe1f91)
2016-05-13 22:14:22 +04:00
Yuriy Glukhov
5a49c51b4c Added limitations note to sizeof. Closes #4153. 2016-05-13 20:09:14 +03:00
Yuriy Glukhov
6e135468f8 Json serialization for openarrays and objects 2016-05-13 17:25:40 +03:00
Dominik Picheta
299989f3aa Restore sanity check for bytesReceived in asyncdispatch. 2016-05-13 13:41:46 +01:00
Dominik Picheta
373c47ba70 Merge pull request #4150 from cheatfate/winasync
Resolve bugs based on unreliable `bytesReceived` value.
2016-05-13 13:34:50 +01:00
Andreas Rumpf
746132d696 PHP codegen improvements 2016-05-13 00:47:18 +02:00
cheatfate
6fa6fdeb34 Resolve bugs based on unreliable bytesReceived value. 2016-05-12 21:11:42 +03:00
Andreas Rumpf
6e6c15081d Merge pull request #4142 from endragor/gc-allow-skip-stack
Added stackSize parameter to GC_step
2016-05-12 15:00:08 +02:00
Andreas Rumpf
4b13484025 Merge pull request #4025 from flyx/highlight-yaml
YAML highlighting support for doctools/highlite
2016-05-12 14:59:00 +02:00
Andreas Rumpf
81ebb96922 Merge pull request #4149 from oderwat/HARA-PHP_ArrayConstr_Hack
PHP codegen array constructor hack (!!!) for demo purpose only I guess
2016-05-12 01:43:04 +02:00
Andreas Rumpf
c02963bcea Pegs: fixes edge case 2016-05-12 01:36:23 +02:00
Andreas Rumpf
8e2528ebbc fixes #4148 2016-05-12 01:05:41 +02:00
Andreas Rumpf
909a161ad2 fixes #4146 2016-05-12 00:57:43 +02:00
Andreas Rumpf
5bdde429e7 fixes #4147 2016-05-12 00:43:57 +02:00
Andreas Rumpf
a9c251b8e0 fixes #3763 2016-05-12 00:38:15 +02:00
Andreas Rumpf
eae30d1961 fixes #950 2016-05-12 00:38:15 +02:00
Andreas Rumpf
34110fc118 Merge pull request #4136 from oderwat/HARA-peg-replace-cb
Added a replace() with callback to pegs.
2016-05-11 23:31:22 +02:00
Hans Raaf
d3bae50c3c PHP codegen array constructor hack.
Because of PHP can't have refs for literal function parameters I
needed to come up with a hack such that the following code compiles with
PHP target.

```nim
type Foo = tuple[a: string, b: int]

var foo: array [0..2, Foo]

foo[0] = ("Test", 1)
foo[1] = ("Me", 2)

for x in foo:
  echo x.a
  echo x.b
```
2016-05-11 22:51:27 +02:00
Andreas Rumpf
4f9083268f fixes #4145 2016-05-11 21:56:56 +02:00
Andreas Rumpf
1ae95310ad fixes #3992 2016-05-11 21:34:54 +02:00
Andreas Rumpf
ac1a753aff fixes #3956 2016-05-11 21:20:53 +02:00
Andreas Rumpf
8dec1dcd1f make tests green 2016-05-11 21:17:13 +02:00
Andreas Rumpf
685b8963da fixes #4110 2016-05-11 21:16:26 +02:00
Andreas Rumpf
11d0f3f7ec fixes #4034 2016-05-11 20:50:03 +02:00
Andreas Rumpf
38040e7691 fixes #4040 2016-05-11 20:00:28 +02:00
Andreas Rumpf
299351a909 fixes #4070 2016-05-11 18:16:25 +02:00
Andreas Rumpf
95ffeb6079 fixes #177 2016-05-11 17:39:37 +02:00
Andreas Rumpf
d0c91131c1 makes tests green again 2016-05-11 17:11:55 +02:00
Ruslan Mustakov
0dc35b7841 Replaced ignoreStackAndRegisters with stackSize in GC_step 2016-05-11 20:02:12 +06:00
Andreas Rumpf
61700861d3 fixes #4144 2016-05-11 15:59:51 +02:00
Araq
b654aa399a better debugging support for native debuggers; changed name mangling; fixes #3471 2016-05-10 22:03:07 +02:00
Araq
97129ebd8a added another version of eqIdent 2016-05-10 22:03:07 +02:00