Commit Graph

47 Commits

Author SHA1 Message Date
peter
66f37e9d4a * fix for valuepara 1998-11-26 21:30:03 +00:00
peter
df89c828e5 * ansistring -> pchar fixed
* ansistring constants fixed
  * ansistring constants are now written once
1998-11-26 14:39:10 +00:00
peter
0cadc4f3c3 * VALUEPARA for tp7 compatible value parameters 1998-11-18 15:44:05 +00:00
peter
3df27389c0 * rename laod/copystring -> load/copyshortstring
* fixed int-bool cnv bug
  + char-ansistring conversion
1998-11-16 15:35:35 +00:00
florian
3bb3dc34ff * some stuff of Pavel implement (win32 dll creation)
* bug with ansistring function results fixed
1998-11-15 16:32:33 +00:00
pierre
274bce92b8 + added -Se in Makefile cvstest target
+ lexlevel cleanup
    normal_function_level main_program_level and unit_init_level defined
  * tins_cache grown to A_EMMS (gave range check error in asm readers)
    (test added in code !)
  * -Un option was wrong
  * _FAIL and _SELF only keyword inside
    constructors and methods respectively
1998-11-13 15:40:12 +00:00
pierre
920691ac0a * fix for first line of function break 1998-11-12 11:19:30 +00:00
peter
0353e61e9b * va_list -> array of const 1998-11-10 10:09:08 +00:00
peter
20188aa991 + va_list for printf support 1998-11-09 11:44:33 +00:00
pierre
6c1766feed * bug fix for IOCHECK inside a procedure with iocheck modifier
* removed the GPF for unexistant overloading
    (firstcall was called with procedinition=nil !)
  * changed typen to what Florian proposed
    gentypenode(p : pdef) sets the typenodetype field
    and resulttype is only set if inside bt_type block !
1998-10-21 15:12:49 +00:00
florian
d666ac848e + ansistring operator +
+ $h and string[n] for n>255 added
  * small problem with TP fixed
1998-10-21 08:39:56 +00:00
pierre
1a77339355 * several memory corruptions due to double freemem solved
=> never use p^.loc.location:=p^.left^.loc.location;
  + finally I added now by default
    that ra386dir translates global and unit symbols
  + added a first field in tsymtable and
    a nextsym field in tsym
    (this allows to obtain ordered type info for
    records and objects in gdb !)
1998-10-20 08:06:37 +00:00
peter
acf9818648 + target_os.stackalignment
+ stack can be aligned at 2 or 4 byte boundaries
1998-10-16 08:51:45 +00:00
pierre
7621dc0b56 * several memory leaks fixed 1998-10-09 08:56:21 +00:00
pierre
3048845e68 * some memory leaks fixed (thanks to Peter for heaptrc !) 1998-10-06 17:16:31 +00:00
peter
2b44a66b5a * fixed value openarray
* ungettemp of arrayconstruct
1998-10-01 09:22:52 +00:00
pierre
a12d8c9417 * changed all length(p^.value_str^) into str_length(p)
to get it work with and without ansistrings
  * changed sourcefiles field of tmodule to a pointer
1998-09-28 16:57:09 +00:00
florian
39584dd9f6 * small problems with DOM and excpetions fixed (code generation
of raise was wrong and self was sometimes destroyed :()
1998-09-26 15:03:02 +00:00
florian
16af381be8 * problems when calling class methods fixed 1998-09-25 00:04:00 +00:00
peter
1b83196296 * some better support for openarray 1998-09-24 14:27:37 +00:00
peter
692155686a * rewritten isconvertable to use case
* array of .. and single variable are compatible
1998-09-24 09:02:13 +00:00
pierre
d11f7636be + added vmt_offset in tobjectdef.write for fututre use
(first steps to have objects without vmt if no virtual !!)
  + added fpu_used field for tabstractprocdef  :
    sets this level to 2 if the functions return with value in FPU
    (is then set to correct value at parsing of implementation)
    THIS MIGHT refuse some code with FPU expression too complex
    that were accepted before and even in some cases
    that don't overflow in fact
    ( like if f : float; is a forward that finally in implementation
     only uses one fpu register !!)
    Nevertheless I think that it will improve security on
    FPU operations !!
  * most other changes only for UseBrowser code
    (added symtable references for record and objects)
    local switch for refs to args and local of each function
    (static symtable still missing)
    UseBrowser still not stable and probably broken by
    the definition hash array !!
1998-09-21 08:45:05 +00:00
peter
634686534e * merged fixes 1998-09-20 12:26:35 +00:00
peter
c72691c843 + pass_2 for cg386
* Message() -> CGMessage() for pass_1/pass_2
1998-09-17 09:42:09 +00:00
peter
181d4769a2 * all internal RTL functions start with FPC_ 1998-09-14 10:43:44 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +00:00
peter
1ce8f6f825 * use pdef^.size instead of orddef^.typ 1998-09-01 12:47:57 +00:00
peter
0eb6dd34aa * secondinline moved to cg386inl 1998-08-31 12:22:14 +00:00
peter
886c7ec88f * fixed error 10 with succ() and pref() 1998-08-31 08:52:03 +00:00
peter
7c8e445400 * fixed 'with object do' bug 1998-08-20 21:36:38 +00:00
Jonas Maebe
f2da32cd91 * changed optimizer switches + cleanup of DestroyRefs in daopt386.pas 1998-08-19 16:07:36 +00:00
pierre
2222aab027 * small warning position bug fixed
* support_mmx switches splitting was missing
  * rhide error and warning output corrected
1998-08-18 09:24:35 +00:00
peter
1a6ee8d4f3 * fixed procedure<>procedure construct 1998-08-13 11:00:09 +00:00
peter
d5e1886c8c * fixed sizeof(array of char) 1998-08-11 14:05:32 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +00:00
florian
a1f903d4b1 * final implemenation of exception support, maybe it needs
some fixes :)
1998-07-30 13:30:31 +00:00
florian
9b4225f26f * internal error 10 together with array access fixed. I hope
that's the final fix.
1998-07-24 22:16:52 +00:00
florian
206549900f * some ansi/wide/longstring support fixed:
o parameter passing
     o returning as result from functions
1998-07-18 22:54:23 +00:00
peter
9330b0e700 * packrecords 4 works
* word aligning of parameters
1998-07-07 17:40:37 +00:00
michael
9c5e9c2189 Added length checking for string reading 1998-07-06 15:51:15 +00:00
michael
9bb3b87cb8 + Added calls for reading/writing ansistrings 1998-07-06 14:19:51 +00:00
peter
4d36bc1cc3 + better writeln/readln handling, now 100% like tp7 1998-07-01 15:28:48 +00:00
peter
4ac8e5d18f + internal inc/dec 1998-06-25 14:04:17 +00:00
florian
028721c4de * first version of rtti support 1998-06-25 08:48:04 +00:00
pierre
5ad339b3d8 + added procedure directive parsing for procvars
(accepted are popstack cdecl and pascal)
  + added C vars with the following syntax
    var C calias 'true_c_name';(can be followed by external)
    reason is that you must add the Cprefix

    which is target dependent
1998-06-09 16:01:33 +00:00
pierre
0e8616ed1f + temporary variables now in temp_gen.pas unit
because it is processor independent
  * mppc68k.bat modified to undefine i386 and support_mmx
    (which are defaults for i386)
1998-06-08 13:13:28 +00:00
peter
6f4cfe38eb * splitted cgi386 1998-06-05 17:44:10 +00:00