Commit graph

163 commits

Author SHA1 Message Date
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
fe983b1309 fixes a regression where memset was used without including <string.h> 2013-12-03 01:59:38 +01:00
Reimer Behrends
68b7779bc7 Fixes various issues with shallow copying.
* The {.shallow.} pragma is now properly respected for objects and
  tuples that are not handled by genGenericAsgn(). Mirroring the
  decision in generic assignments, whether an assignment is shallow
  depends on the destination of the assignment, but not the source.
* String literals and complex inline constants are now properly assigned
  a location kind of locData.
* Assignments from a locData source will now force deep copying to
  occur, even if shallowCopy or {.shallow.} is being used. This
  avoids potential crashes from `shallowCopy s, "xxx"` or from
  `shallowCopy t, ("a", "b")`.
2013-12-01 19:15:43 +01:00
Araq
275c7ccf82 fixes #575 2013-09-10 22:04:12 +02:00
Araq
6cc06cd35d fixes #569; C++ codegen works again 2013-08-31 02:07:52 +02:00
Araq
7056ceda67 float64 is now an alias to 'float'; fixes #545 2013-08-30 12:24:54 +02:00
Zahary Karadjov
ca3a4ce672 hacky fix for generic constraints matching 2013-08-19 01:48:25 +03:00
Araq
c093139494 fixes #411 2013-05-26 01:53:24 +02:00
Araq
4fd900f3d5 attempt to fix a codegen bug 2013-05-20 12:33:07 +02:00
Araq
38ed2373ab fixes #432, fixes #427 2013-05-19 02:49:10 +02:00
Araq
62c80cd570 fixes #439 2013-05-19 02:00:35 +02:00
Araq
6c0425d574 'result/return' triggers a void context 2013-05-06 18:30:54 +02:00
Araq
fa0a327dd6 completed expr/stmt unification 2013-05-03 23:51:43 +02:00
Araq
2afadc5c9c first steps to the expr/stmt unification 2013-04-30 02:38:49 +02:00
Araq
3cb3813eed fixes #287; bugfix: subrange checking is performed again 2013-04-12 16:24:58 +02:00
Araq
6ed18a8b24 fixes #366 2013-03-17 20:11:16 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
a64d4dc35c documented object constrs; endb works again 2013-03-09 20:43:56 +01:00
Araq
2b4922aea0 object constructors work now 2013-03-08 01:19:47 +01:00
Araq
296e7c9f40 next steps for object construction expressions 2013-03-07 19:19:40 +01:00
Araq
f1b8f83495 next steps for object construction expressions 2013-03-07 08:43:44 +01:00
Araq
4b0cdc6db7 fixes for the new overloading resolution 2013-03-03 16:35:19 +01:00
Araq
5b0d8246f7 make some tests green 2013-03-03 12:05:03 +01:00
Araq
9fc2bfa799 codegen produces better code for complex assignments 2013-02-24 03:51:45 +01:00
Araq
2a2b630757 cleaner GC switching 2013-01-31 16:34:39 +01:00
Zahary Karadjov
81a3585872 merged upstream master 2013-01-27 23:41:45 +02:00
Araq
0d978c4a9a fixed some closure related bugs 2013-01-22 00:29:54 +01:00
Zahary Karadjov
86bf97a730 cleaned up some debugging code 2013-01-20 21:22:07 +02:00
Araq
20a5e37169 fixes #270 2013-01-08 17:23:52 +01:00
Araq
76885c754a first version of ropes.nim with unsafeNew (broken) 2012-12-02 00:44:29 +01:00
Zahary Karadjov
e9e22ccb2a track the "owner" heap object in the ref write barrier
See the papers for reference counting with heap sliding views for details:
2012-12-01 15:37:13 +02:00
Zahary Karadjov
a42545ea3e disables the compile-time rope formatting during bootstrapping 2012-11-28 01:15:14 +02:00
Zahary Karadjov
e817d54369 first batch of rope code converted to rfmt
The results so far are inconclusive:
The rope cache tries have been reduced by more than 125K (nearly 20%),
but the bootstrap time seems to be ever slightly increasing (0.01s).
2012-11-28 01:15:13 +02:00
Araq
565dc932fa fixes #261 2012-11-21 22:57:15 +01:00
Araq
814fcb2639 bugfix: stack traces; first class iterators almost working 2012-11-15 01:27:25 +01:00
Araq
86ed918157 fixes #235 2012-10-24 23:26:13 +02:00
Araq
172b6aacf8 fixes #230; fixes #227 2012-10-19 20:45:26 +02:00
Araq
b20663ce19 fixes #232 2012-10-19 13:24:42 +02:00
Zahary Karadjov
2efdf3df81 fixes #106 2012-10-16 02:21:28 +03:00
Araq
af7c92c003 term rewriting macros fully implemented; still buggy 2012-09-03 00:55:44 +02:00
Araq
51de278bd4 next steps for tyVarargs/tyOpenArray split 2012-08-14 08:44:26 +02:00
Araq
b9afdffb3e fixes #178 2012-07-28 16:37:31 +02:00
Araq
840e5f34ef no range checks for conversion to unsigned (but I may reconsider this) 2012-07-25 22:09:08 +02:00
Araq
39f399f424 fixes #172 2012-07-25 00:56:34 +02:00
Araq
1e4fc02e5e small bugfix: code generation for nil closures 2012-07-25 00:12:56 +02:00
Araq
ed915a309e DLLs should work again; fixes #169 2012-07-24 01:14:21 +02:00
Araq
43f057c5aa got rid of some mAddU64 etc. magics 2012-07-20 07:52:04 +02:00
Zahary Karadjov
4841b6390c removed nimdat in favor of per-module dat init procs 2012-07-19 19:43:58 +03:00