Commit Graph

51 Commits

Author SHA1 Message Date
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
Stefan Talpalaru
b487d4e425 conditional TGenericSeq extension 2015-06-16 15:15:17 +02:00
Stefan Talpalaru
02ddbae8f6 fix growObj() with strings 2015-06-09 17:58:54 +02:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
Araq
ee57bb3e3e fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
def
20426e77e9 Fix copyStrLast to set the trailing \0 char 2015-03-04 03:37:50 +01:00
def
d875951124 sizeof(char) is always 1 2015-03-04 03:22:06 +01:00
def
f5968c7946 Only zero strings when necessary.
This removes the zeroing when the string is subsequently overwritten by
a memcpy anyway.
2015-03-04 01:48:09 +01:00
def
fa3620be9e Only copy strings to their size, not capacity
Capacity may be much bigger, so we end up with strings that are much
larger than they have to be and have to copy more as well.
2015-03-03 22:23:35 +01:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Andreas Rumpf
13c2d9b8e2 Merge pull request #2150 from def-/gc2-compiling
Make gc2 compile again and fix some deprecation warnings
2015-02-16 20:33:25 +01:00
def
b9abeff617 Clean up some more deprecation warnings 2015-02-16 19:13:49 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
fde869f1b1 fixes #1712 2014-12-07 22:07:48 +01:00
Araq
fc0fda14ae system files use new identifiers 2014-08-23 00:58:04 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
6219ad6a66 fixes #1391 2014-07-22 20:15:57 +02:00
Araq
a7911addf7 parseBiggestFloat is now builtin 2014-07-16 00:41:03 +02:00
katlogic
cea2a9087d More human readable $(float)
The output matches that of Python (eg 1e100, not 1.0e100), but also
reflects locale (assuming it was set using setlocale() before).
2014-06-15 01:49:14 +02:00
Dominik Picheta
ca2b73f64a Revert 4b09baa0a and 33fcd1123. 2014-04-20 22:35:17 +01:00
Simon Hafner
33fcd11236 add a trailing zero to $float 2014-02-11 17:46:34 -06:00
Simon Hafner
4b09baa0a0 use .f instead of .16e for floats
It doesn't write a trailing zero, but it's better than floats being all
over your screen.
2014-02-11 15:06:24 -06:00
Araq
1101a40f91 improvements for 'pretty' 2013-12-28 23:30:53 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
c87e1c96ad some bugfixes; no system.$ for object as it breaks code 2013-02-24 12:34:50 +01:00
Araq
ab6f793408 first version of a simple mark&sweep GC; activate with --gc:markAndSweep 2013-02-07 01:57:10 +01:00
Araq
65fdd641a9 revert to old GC; use --gc:v2 to activate the new GC 2013-01-31 17:24:55 +01:00
Zahary Karadjov
67f37264b3 few notes about the remaining problems with retired buffers 2013-01-27 22:23:57 +02:00
Zahary Karadjov
86bf97a730 cleaned up some debugging code 2013-01-20 21:22:07 +02:00
Zahary Karadjov
083d4f4708 fixes the recently discovered GC memory leaks
This revision is intended as comparison point between the old and the new GC
The used GC can be switched in mmdisp and various statistics will be gathered during
execution (these will be removed/disabled in later revisions)
2012-12-20 15:51:21 +02:00
Araq
ed915a309e DLLs should work again; fixes #169 2012-07-24 01:14:21 +02:00
Araq
959e370ae9 @ is a sigil-like operator 2012-04-15 10:02:15 +02:00
Araq
fb35b855d5 added 'system.shallow' 2012-02-09 20:13:36 +01:00
Araq
4de5b82fdc better inferfacing to boehm GC 2012-01-15 23:47:49 +01:00
Araq
b5aafb4cf3 bugfix: +1 unnecessary in resizeString; caused annoying reallocations for strings created with 'newStringOfCap' 2012-01-02 23:53:07 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
e8376067ef C code gen: generate even better code for the GC 2011-12-12 22:46:21 +01:00
Araq
4487b614e1 c2nim compiles again 2011-12-12 19:11:31 +01:00
Araq
e25384db89 improvements to get code size down for programs that don't use GC 2011-06-26 20:17:19 +02:00
Araq
990dc2d715 code gen bugfixes; marshal.nim implemented 2011-06-26 17:21:52 +02:00
Araq
8d734244b1 linearScanEnd pragma; string case statement optimization 2011-03-14 23:57:41 +01:00
Araq
fa111b9067 cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section 2011-01-15 23:57:19 +01:00
Andreas Rumpf
ff02ce2d50 handling of compiler procs improved for DLL generation 2010-07-29 21:30:04 +02:00
PhiLho
286e5958d6 Integrating my changes, mostly minor/cosmetic fixes; plus a big Windows lib update 2010-05-21 16:03:21 +02:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
3f3dda5a77 implemented multi methods 2009-09-23 23:38:00 +02:00
Andreas Rumpf
66a7e3d37c added tools and web dirs 2009-09-15 23:22:22 +02:00