Andreas Rumpf
e518c7a005
LL works reasonably well; closure iterators still not implemented
2015-12-29 20:29:44 +01:00
Andreas Rumpf
bbb5ce38c7
updated test cases
2015-12-29 20:25:05 +01:00
Andreas Rumpf
e079db95f8
changed testcase for new LL semantics
2015-12-29 19:42:11 +01:00
Andreas Rumpf
99f167724b
updated test case for changed LL
2015-12-29 19:41:26 +01:00
Dominik Picheta
deef047f27
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2015-12-29 16:25:43 +00:00
Dominik Picheta
bf4c13711a
Fixes incorrect Host header when using httpclient with proxy.
2015-12-29 16:25:21 +00:00
Andreas Rumpf
b6c18e4bba
breaking change: disallow .closure procs for const
2015-12-29 15:42:12 +01:00
Andreas Rumpf
9971c06062
fixes missing 'illegal capture' error message regression
2015-12-29 13:41:35 +01:00
Andreas Rumpf
5c9332c57d
fixes closure generation when only paramters are captured
2015-12-29 02:44:37 +01:00
Andreas Rumpf
870b03707b
bootstrapping works again
2015-12-29 01:59:36 +01:00
Andreas Rumpf
57149a4794
up references work
2015-12-28 23:46:19 +01:00
Andreas Rumpf
c12c41c7ad
made indirectAccess slightly more efficient
2015-12-28 23:40:39 +01:00
Andreas Rumpf
b3600a04c2
compute LL before the other transformations as that should produce more efficient code for closure iterators
2015-12-28 23:39:37 +01:00
Andreas Rumpf
9309f8101d
new-ll: further progress (bootstrapping still fails)
2015-12-27 00:17:48 +01:00
Andreas Rumpf
7dc0bca53a
up references might work; got rid of debugging code
2015-12-26 01:26:12 +01:00
Andreas Rumpf
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
Dominik Picheta
cbab2ecea2
Merge pull request #3663 from def-/netbsd-fix
...
Fix osproc compilation on NetBSD, use workaround for missing execvpe
2015-12-25 14:30:23 +00:00
Dominik Picheta
b822d2f616
Merge pull request #3662 from def-/openbsd-fix
...
Fix nativesockets compilation on OpenBSD
2015-12-24 23:24:17 +00:00
Yuriy Glukhov
936265df72
Fixed lineinfo in getType
2015-12-25 01:03:15 +02:00
Dominik Picheta
a01eb098f1
Task proc in nimscript module will now export the proc it creates.
2015-12-24 17:09:58 +00:00
Andreas Rumpf
ebd14bde4f
Merge pull request #3666 from trustable-code/PR10
...
Fix multimethods issue #3550
2015-12-24 00:13:16 +01:00
trustable-code
3c557a0144
fix issue #3550
2015-12-24 00:07:03 +01:00
def
31cc1815d1
Fix nativesockets compilation on OpenBSD and NetBSD
2015-12-23 05:59:29 +01:00
def
25e862b9bc
Fix osproc compilation on NetBSD, use workaround for missing execvpe
2015-12-23 05:56:42 +01:00
Andreas Rumpf
86bb9d8b47
Merge pull request #3651 from jangko/vm_'excl'
...
fixed compile time `excl ` cause SIGSEGV #3639
2015-12-21 00:40:24 +01:00
Andreas Rumpf
17a78f4f8d
Merge pull request #3654 from jangko/vm_uinttouint64conv
...
fixed #2514 unable to echo uint8-32 at compile time
2015-12-21 00:37:48 +01:00
Andreas Rumpf
ca0715082c
Merge pull request #3657 from oderwat/fix-excl-regression
...
Fix regression in set.excl code generation.
2015-12-21 00:36:50 +01:00
Hans Raaf
5a028b3956
Fix regression in set.excl code generation.
2015-12-21 00:35:20 +01:00
jangko
26d02c9120
fixed VM touint conversion #2514
2015-12-19 12:53:51 +07:00
Andreas Rumpf
d6fbc1425f
profiling doesn't require call to enableProfiling
2015-12-18 01:50:27 +01:00
Andreas Rumpf
f75d11193a
modified the integrated profiler to hopefully produce more reliable results
2015-12-18 01:47:39 +01:00
Andreas Rumpf
1386592aab
implements column information retrival for db_sqlite
2015-12-17 14:39:40 +01:00
Andreas Rumpf
3313170b8d
fixes InstantRow decl; implements column information retrival for db_mysql
2015-12-17 14:39:40 +01:00
Andreas Rumpf
de989e6fbd
added column_table_name proc
2015-12-17 14:39:40 +01:00
Andreas Rumpf
4e157114a6
added more column information fields
2015-12-17 14:39:40 +01:00
Andreas Rumpf
7d98ae7e61
Merge pull request #3653 from oderwat/mysql-fields-sizeof-fix
...
Fixing mysql_field.
2015-12-17 14:31:25 +01:00
Hans Raaf
169cb7178b
Fixing mysql_field.
...
FIELD had the wrong size which made mysql.fetch_fields() useless.
2015-12-17 14:08:44 +01:00
jangko
60a400eeb0
fixed compile time excl cause SIGSEGV #3639
2015-12-17 10:14:48 +07:00
Andreas Rumpf
a3c8bb9376
updated db*.nim modules
2015-12-16 21:24:13 +01:00
Andreas Rumpf
cb10f30656
big update for the db*.nim modules; uses new db_common.nim
2015-12-16 20:56:12 +01:00
Andreas Rumpf
8d5115886f
Merge pull request #3635 from jlp765/odbcsql1
...
odbcsql.nim and db_odbc.nim
2015-12-16 20:55:42 +01:00
Dominik Picheta
39f78ae4f1
Merge pull request #3649 from yglukhov/nil-seq-copy
...
Fixed copying of nil seq in JS
2015-12-16 14:07:01 +00:00
Yuriy Glukhov
62422b93c6
Fixed copying of nil seq in JS
2015-12-16 15:25:58 +02:00
Andreas Rumpf
fe8b07876c
Merge pull request #3647 from rbehrends/fix-tnimtype
...
Fix code generation issues with TNimType.
2015-12-16 12:48:38 +01:00
Federico Ceratto
e174aa1dbc
Add SO_REUSEPORT support
2015-12-16 00:42:22 +00:00
Reimer Behrends
f664c576c2
Fix code generation issues with TNimType.
...
This is an alternative attempt to fix issue #2841 in a way that does not
rely on non-standard C compiler behavior.
The underlying problem is that the typeinfo module includes
system/hti.nim, but system/hti.nim is also included by system.nim. The
result is that the compiler at any given point has two instances of
TNimType with the same external name and will generate code either for
one or both of them. Code generation for the second version is normally
suppressed by using {.importc.}, but that results in a missing type
declaration for modules that only use the second version. This happens
for modules that import typeinfo, because the the second component of
typeinfo.Any has type PNimType = ptr TNimType, which generates a
"TNimType *" struct member.
The previous solution was to have a typedef for TNimType in nimbase.h;
however, this results in duplicate typedefs (specifically, but not only
for the code generated for typeinfo.nim). Duplicate typedefs with the
same type name are allowed in C++ and C11, but are explicitly forbidden
in C89 and C99. Modern versions of gcc and clang accept them anyway, but
this is not standard-compliant and may break for other C compilers or
older versions of gcc and clang.
This patch attempts to fix the issue by making the second component of
typeinfo.Nim a pointer instead of a PNimType and casting back and forth
as needed. Thus, the second version of TNimType occurs only within the
code for typeinfo.nim, where it can be safely omitted.
2015-12-15 13:33:38 +01:00
Andreas Rumpf
31ebb11d73
disabled appveyor tests since they die with a timeout
2015-12-15 00:41:03 +01:00
Andreas Rumpf
bd8e89774e
fixes a critical bug concerning a[^1] rewritings
2015-12-14 18:40:58 +01:00
Dominik Picheta
b012d2f79e
Merge pull request #3641 from qio-io/patch-1
...
Explicit socket close, and importing the net module
2015-12-14 16:41:12 +00:00
qio-io
135668a7ba
Fixing too many open files on quit command with an explicit socket close, and importing the net module
2015-12-13 15:36:26 -04:00