Commit Graph

66 Commits

Author SHA1 Message Date
florian
eadcc6ad1a * new introduded problem with classes fix, the parent class wasn't set
correct, if the class was defined forward before
1998-10-26 22:58:16 +00:00
pierre
c7167e92ff + added options -lS and -lT for source and target os output
(to have a easier way to test OS_SOURCE abd OS_TARGET in makefiles)
  * several problems with rtti data
    (type of sym was not checked)
    assumed to be varsym when they could be procsym or property syms !!
1998-10-26 14:19:28 +00:00
pierre
eea45c0432 + terminated the include exclude implementation for i386
* enums inside records fixed
1998-10-22 17:11:13 +00:00
peter
9a650233f0 * removed some unused vars 1998-10-20 09:32:54 +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
pierre
a5f0168fbb * wrong stabs info corrected once again !!
+ variable vmt offset with vmt field only if required
    implemented now !!!
1998-10-19 08:54:53 +00:00
pierre
6b1fd26b42 * added vmt_offsets in destructors code also !!!
* vmt_offset code for m68k
1998-10-16 13:12:46 +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
d91210671d + added oo_hasconstructor and oo_hasdestructor
for objects options
1998-10-15 15:13:25 +00:00
pierre
8d823b38c3 * smallsets are not entirely implemented for
m68k added a ifdef usesmallset
    that is allways defined for i386
    (enables testing for m68k)
1998-10-14 15:54:20 +00:00
pierre
4073682c64 * still more memory leaks fixes !! 1998-10-09 11:47:45 +00:00
pierre
3048845e68 * some memory leaks fixed (thanks to Peter for heaptrc !) 1998-10-06 17:16:31 +00:00
peter
4f0915d6e1 * fixed 161,165,166,167,168 1998-10-05 21:33:15 +00:00
pierre
2fa5fa850d * wrong handling of range check for arrays fixed 1998-10-05 12:48:39 +00:00
florian
491cd2afe3 * range checking in units doesn't work if the units are smartlinked, fixed 1998-10-02 07:20:35 +00:00
florian
75c7b44b80 * tobjectdef.publicsyms.datasize was set to savesize, this is wrong now
because the symtable size is read from the ppu file
1998-09-25 12:01:41 +00:00
florian
7ff17144f4 * problem with with and classes fixed 1998-09-23 15:46:36 +00:00
peter
0f3b84ca23 * overloading fix for array of const 1998-09-23 12:03:51 +00:00
peter
3b63bc36fe + array of const start 1998-09-22 15:37:23 +00:00
michael
92fce0e812 Applied florians fix for check_rec_inittable 1998-09-21 15:46:01 +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
florian
8aa2cc1118 + bit 6 of tpropinfo.propprocs is set, if the property contains a
constant index
1998-09-20 08:31:29 +00:00
florian
dc3bc0cd43 * rtti for ordtypes corrected 1998-09-19 15:23:58 +00:00
florian
603b152b1f * problem with writing of class references fixed 1998-09-18 17:12:40 +00:00
pierre
8aa4df4046 sizeof(TPOINT) problem 1998-09-17 13:41:16 +00:00
Jonas Maebe
30b5736b50 + bugfix from bugfix branch 1998-09-15 17:39:30 +00:00
peter
255803cc04 * removed warnings 1998-09-09 15:33:58 +00:00
pierre
70b08b24f2 * name field of filedef corrected 1998-09-08 10:23:44 +00:00
florian
29fe330347 * a lot of stuff fixed regarding rtti and publishing of properties,
basics should now work
1998-09-07 23:10:17 +00:00
florian
26dbc1a7ba + some stuff for property rtti added:
- NameIndex of the TPropInfo record is now written correctly
     - the DEFAULT/NODEFAULT keyword is supported now
     - the default value and the storedsym/def are now written to
       the PPU fiel
1998-09-07 19:33:20 +00:00
florian
e7f5a26700 * first fixes for published properties 1998-09-07 17:37:00 +00:00
florian
9523c61fc1 + rtti genreation for properties added 1998-09-06 22:42:02 +00:00
peter
fadc4f7b86 * filedef updated 1998-09-04 18:15:02 +00:00
pierre
e1bc033a5c * better lines for stabs
(no scroll back to if before else part
    no return to case line at jump outside case)
  + source lines also if not in order
1998-09-03 17:08:37 +00:00
florian
66f6852b96 + rtti generation
* init table generation changed
1998-09-03 16:03:14 +00:00
peter
6a5a4973cc * enum packing changed from len to max 1998-09-02 15:14:28 +00:00
peter
d3671db8bf * removed debug writeln :( 1998-09-01 17:37:29 +00:00
peter
c4ed67543a + aktpackenum 1998-09-01 12:53:19 +00:00
pierre
3b015ab652 * UseBrowser a little updated (might still be buggy !!)
* bug in psub.pas in function specifier removed
  * stdcall allowed in interface and in implementation
    (FPC will not yet complain if it is missing in either part
    because stdcall is only a dummy !!)
1998-09-01 07:54:16 +00:00
florian
8cf2b05bf3 + ansistring to pchar type cast fixed 1998-08-28 12:51:39 +00:00
pierre
b94116497c * CDECL changed to CVAR for variables
specifications are read in structures also
  + started adding GPC compatibility mode ( option  -Sp)
  * names changed to lowercase
1998-08-25 12:42:36 +00:00
florian
544b4099f7 + rtti generation for classes added
+ new/dispose do now also a call to INITIALIZE/FINALIZE, if necessaray
1998-08-23 21:04:34 +00:00
peter
f656c1bb73 * object_options are always written for object syms 1998-08-20 12:53:26 +00:00
peter
35c6030a1b + subrange types for enums
+ checking for bounds type with ranges
1998-08-19 00:42:39 +00:00
peter
6cc16ea7f1 - removed OLDPPU 1998-08-17 10:10:04 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +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
1bffd4e290 * released NEWINPUT 1998-07-14 14:46:36 +00:00
peter
2cd0720f62 * m68k updates 1998-07-10 10:50:54 +00:00
peter
5e5e2fd78d * fixed ttypesym bug finally
* fileinfo in the symtable and better using for unused vars
1998-07-09 23:59:59 +00:00