Commit Graph

7146 Commits

Author SHA1 Message Date
Andreas Rumpf
be43467037 Merge pull request #3322 from yglukhov/fix-uint64-str-vm
Uint64 to string in pure nim. array[char] to string fixed in vm.
2015-09-14 20:43:50 +02:00
Araq
1251fc76c3 fixes #3212 2015-09-14 20:30:55 +02:00
Araq
0aa908c86c clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; fixes #3224 2015-09-14 20:25:52 +02:00
Yuriy Glukhov
6ac2ba1223 Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03:00
Andreas Rumpf
fa17707684 Merge pull request #3307 from rogercloud/devel
Fix issue #2245
2015-09-14 17:37:54 +02:00
Andreas Rumpf
272df1e52f Merge pull request #3325 from yglukhov/js-generic-types-fix
Fixed JS gen for generic array types.
2015-09-14 17:32:14 +02:00
Araq
f79ec6cdf5 make the compiler less verbose 2015-09-14 15:13:08 +02:00
Yuriy Glukhov
aeff57627b Fixed JS gen for generic array types. 2015-09-14 14:30:08 +03:00
Araq
48d8728e40 documented implicit compileTime procs 2015-09-14 12:46:43 +02:00
Araq
64d9a5bc85 Merge branch 'devel' into fix_bracket_expr 2015-09-14 12:42:25 +02:00
Araq
a3f791f892 added testcase for #1679 2015-09-14 12:42:22 +02:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Reimer Behrends
b9df1323f7 Provide access to getsockname()/getpeername().
This patch implements procedures getLocalAddr() and getPeerAddr() that
return the results of getsockname() and getpeername(), respectively, as
pairs (string, Port) for both Socket and SockedHandle.
2015-09-14 01:42:46 +02:00
Araq
bbe4afc49b fixes #1782 2015-09-13 23:48:31 +02:00
Araq
14354b436f fixes #2599 2015-09-13 23:26:44 +02:00
Araq
e01e0a4b40 next steps in binding [] properly 2015-09-13 22:42:21 +02:00
Dominik Picheta
148bbee05f Added some info about bugfixes to news.txt. 2015-09-12 21:46:14 +01:00
Araq
03d8467942 Merge branch 'devel' into fix_bracket_expr 2015-09-12 20:42:27 +02:00
Araq
c27019f4d9 fixes generic instantations in concepts 2015-09-12 19:40:08 +02:00
Araq
bf698fbc2a fixes some regressions 2015-09-12 13:32:51 +02:00
Araq
5aaf2f0c31 preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 11:07:49 +02:00
Araq
565c385824 config cleanup 2015-09-12 11:07:49 +02:00
Araq
1562f74500 implicit return types for iterators are now deprecated 2015-09-12 11:07:48 +02:00
Araq
afc891de65 fixes #1528 2015-09-12 11:07:47 +02:00
Araq
a878550ad1 minor testsuite cleanup 2015-09-12 11:07:47 +02:00
Araq
3959a59e57 documented void context 2015-09-12 11:07:46 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
2a797c362a preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 10:51:20 +02:00
Dominik Picheta
ac6b21a018 Fixes failing async tests on Linux. 2015-09-11 17:09:13 +01:00
Dominik Picheta
77c2bcf079 Improve asyncdispatch error messages, fix some tests on Windows. 2015-09-11 14:35:42 +01:00
Dominik Picheta
808253370b Implement strutils.indent 2015-09-11 14:35:25 +01:00
Dominik Picheta
28e3ad945a Reintroduce FutureVar[T] from commit 72b4912c84. 2015-09-11 13:03:59 +01:00
Dominik Picheta
ae15aa529f Merge pull request #3310 from jlp765/timesExamples
times module examples & bug fix
2015-09-11 11:07:55 +01:00
Araq
f1d1ff50e2 config cleanup 2015-09-10 16:06:09 +02:00
Araq
63cdcb2be1 implicit return types for iterators are now deprecated 2015-09-10 15:57:57 +02:00
Araq
34ab1d3e34 fixes #1528 2015-09-10 13:20:15 +02:00
Araq
31bbc24462 minor testsuite cleanup 2015-09-10 13:19:13 +02:00
Araq
bc725eaa13 documented void context 2015-09-10 13:18:11 +02:00
Araq
051e418129 fixes Nim's bigbang regression 2015-09-10 12:20:02 +02:00
JamesP
2d1f26302c Example: add extra getGmTime interval addition example 2015-09-10 19:29:26 +10:00
JamesP
f5d55ad012 tests added: toSeconds with local/GM timezones, interval add/sub
with local/GM timezones
2015-09-10 19:21:27 +10:00
Araq
a92f3bead3 fixes #3195 2015-09-10 11:08:48 +02:00
Araq
d7a472743b fixes #2559 2015-09-10 10:50:29 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
JamesP
c122d71e66 bug fix: + and - handle GM and Local time correctly
eg,  getGmTime(getTime()) + initInterval(hours=1) gave incorrect results
2015-09-10 17:38:00 +10:00
JamesP
612cd2161a add examples block to top of times module 2015-09-10 17:29:52 +10:00
Roger Shi
16fe63180f test case for #2367 2015-09-10 15:16:01 +08:00
Andreas Rumpf
0c7d52e34c Merge pull request #3274 from yglukhov/seq-insert-js-fix
Fixed seq.insert and seq.delete for js.
2015-09-09 17:32:55 +02:00
Roger Shi
58e1068f73 test case for #2245 2015-09-09 21:32:29 +08:00
Araq
ca9c1968d8 fixes typo 2015-09-09 09:39:48 +02:00