Commit Graph

3495 Commits

Author SHA1 Message Date
Reimer Behrends
8b8a21cb59 Fixed parsing of float literals.
Float literals were not parsed properly when their fractional part
exceeded 53 significant bits. This affected in particular math.PI
and math.E. Rather than reinventing the wheel, this patch reuses
C's strtod() implementation, which already does the heavy lifting
with respect to correctness, though some caution is necessary to
keep float parsing locale-independent.
2014-05-23 11:27:39 +02:00
Varriount
b54f66eeff Merge pull request #1182 from boydgreenfield/devel
Clarify newFileSize & mappedSize params in memfiles.open() docs
2014-05-21 18:17:48 -04:00
Varriount
2232c187a7 Merge pull request #1191 from gradha/pr_removes_abstypes
Moves abstypes content into manual.
2014-05-21 17:56:54 -04:00
Varriount
8581fb715f Merge pull request #1204 from flaviut/quotedidentescape
Fix #1081
2014-05-21 17:56:43 -04:00
Varriount
f05ba51391 Merge pull request #1210 from boydgreenfield/nimprof-lock-fix
Fix nimprof import error when --threads:on.
2014-05-21 17:55:07 -04:00
Varriount
c40f2d682e Merge pull request #1169 from Araq/sigpipe
Fixes #1168
2014-05-21 17:54:55 -04:00
Varriount
2fa739a2e8 Merge pull request #1206 from barcharcraz/windowsRandom
Windows random(float): float
2014-05-21 17:54:22 -04:00
Varriount
6b6262bc1c Merge pull request #1207 from barcharcraz/cstringManual
added note about `$` for cstrings to the manual
2014-05-21 17:53:33 -04:00
Nick Greenfield
35e603b89c Fix nimprof import error when --threads:on. 2014-05-20 17:07:20 -04:00
boydgreenfield
fd352cc0b5 Revert 876cad3a - making nimprof fix on a new branch 2014-05-20 17:02:51 -04:00
boydgreenfield
876cad3a91 Fix missing import in nimprof.nim when --threads:on 2014-05-20 16:57:33 -04:00
Charlie
e59ba5d8b2 added note about $ for cstrings to the manual 2014-05-18 18:48:12 -04:00
Charlie
d32b4272c3 added a note about random(max: float): float's resolution on windows 2014-05-18 15:16:35 -04:00
Charlie
8a183dac78 added random(max: float): float support to windows 2014-05-18 15:13:37 -04:00
flaviut
e30294c5fe Merge https://github.com/Araq/Nimrod into quotedidentescape 2014-05-16 19:32:34 -04:00
flaviut
2026137fc1 Add test for #1081 2014-05-16 19:27:15 -04:00
flaviut
a568c6102f Make codegen for 1 and similar valid 2014-05-16 19:07:32 -04:00
Dominik Picheta
e54ab22bf9 Fixes #1197. 2014-05-14 23:35:46 +01:00
Grzegorz Adam Hankiewicz
a16f762ce2 Moves abstypes content into manual. 2014-05-11 09:58:44 +02:00
Simon Hafner
4d5ad91775 Merge pull request #1186 from ppelleti/typos
fix some typos
2014-05-08 13:17:22 -05:00
Patrick Pelletier
809390ef46 fix some typos 2014-05-07 17:34:22 -07:00
Simon Hafner
71ca28fa2b Merge pull request #1185 from barcharcraz/kochilk
added .ilk files to the koch clean list
2014-05-06 22:14:41 -05:00
Araq
bdb2d21f27 bugfix: bool for case statements 2014-05-06 21:03:05 +02:00
Charlie
ae6dac6b63 added .ilk files to the koch clean list, these are incremental link information files for MSVC 2014-05-06 14:31:35 -04:00
Araq
1549bed82f 2nd attempt to fix bootstrapping 2014-05-06 07:28:19 +02:00
Araq
1df344dee3 attempt to fix the bootstrapping 2014-05-06 07:01:15 +02:00
boydgreenfield
a309a5f38a Update posix open() call to incl. permissions
This explicitly grants user read/write access to newly-created mmap files. Previously, on some systems files would be created but could not be re-opened as the user lacked sufficient permissions.
2014-05-05 16:42:30 -07:00
Araq
77d5ab1708 bootstraps works again; get rid of compile-time 'rand' (too weird) 2014-05-06 00:17:41 +02:00
Araq
71de04b4ba Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-05-06 00:05:38 +02:00
Araq
fe690a2c91 added test case for bug #1140 2014-05-06 00:05:30 +02:00
Araq
4055fd4376 some additions to winlean 2014-05-06 00:04:36 +02:00
boydgreenfield
c210e1255c Clarify newFileSize & mappedSize params in memfiles.open() docs 2014-05-05 14:56:14 -07:00
Araq
a11ae9248f fixes #1140 2014-05-05 23:29:46 +02:00
Dominik Picheta
88cb4850ce Merge pull request #1175 from EXetoC/await-discard
Fix #1170.
2014-05-04 21:04:07 +01:00
Andreas Rumpf
93fed1f6d9 Merge pull request #1177 from rbehrends/reftables
Added support for ref type hash tables.
2014-05-04 21:04:04 +02:00
Reimer Behrends
79891b6b9b Added support for ref type hash tables.
This reuses the hash table implementation for objects (and the
associated tests). For efficiency reasons, iterator implementations
are currently adapted rather than calling the TTable code.
2014-05-04 15:22:50 +02:00
EXetoC
b1c865a656 Fix #1170. 2014-05-04 01:52:42 +02:00
Dominik Picheta
05712fe805 Merge pull request #1173 from EXetoC/pfuture-nested-type-param
Fix #1171.
2014-05-03 22:51:03 +01:00
EXetoC
8802688e9f Fix #1171. 2014-05-03 23:32:14 +02:00
Simon Hafner
9428bedcc8 Fixes #1168 2014-05-03 15:59:04 -05:00
Dominik Picheta
24babdedf1 DWORD -> PULONG for POverlapped. 2014-05-03 21:05:45 +01:00
Simon Hafner
dfeb573edb fixed paths because caasdriver is now in testament 2014-05-03 12:14:28 -05:00
Simon Hafner
3adceb34e0 fixed constant typo (SimulateCaasMemReset) 2014-05-02 17:17:12 -05:00
Araq
d0438540d0 implemented builtin noncopying slice 2014-05-02 08:44:03 +02:00
Dominik Picheta
a21289f5d5 Await is now supported in try statements. 2014-05-01 23:27:43 +01:00
Dominik Picheta
543687f345 Fixes buffered recv in asyncnet. 2014-04-30 22:50:17 +01:00
Dominik Picheta
6c4870d812 Get rid unsafe pointer type in GetQueuedCompletionStatus. 2014-04-30 17:38:44 +01:00
Araq
81d4049797 bugfix: MS-GC GC_unref 2014-04-30 01:05:52 +02:00
Araq
bd705a517f compiler prepared for the new comment handling 2014-04-30 00:53:44 +02:00
Araq
d438ecc246 async might work now reliably 2014-04-30 00:52:58 +02:00