florian
62cb5453d3
* a lot bug fixes:
...
- po_external isn't any longer necessary for procedure compatibility
- m_tp_procvar is in -Sd now available
- error messages of procedure variables improved
- return values with init./finalization fixed
- data types with init./finalization aren't any longer allowed in variant
record
1999-07-06 21:48:09 +00:00
pierre
05b6362265
* local browser stuff corrected
1999-06-22 16:24:39 +00:00
pierre
5f05d07dcb
* previous wrong log corrected
1999-06-02 22:43:57 +00:00
pierre
35777a48a1
types.pas
1999-06-02 22:25:22 +00:00
florian
0b7957291d
* corrected order of parameter type for -vb
1999-06-02 10:26:50 +00:00
florian
2ad3da43e6
* make cycle fixed i.e. compilation with 0.99.10
...
* some fixes for qword
* start of register calling conventions
1999-06-02 10:11:39 +00:00
peter
cc0511a890
* @procvar is now always needed for FPC
1999-06-01 14:45:40 +00:00
peter
1bb9950cc9
* interfacedef flag for procdef if it's defined in the interface, to
...
make a difference with 'forward;' directive forwarddef. Fixes 253
1999-05-31 16:42:33 +00:00
peter
0b272f13c7
* removed oldasm
...
* plabel -> pasmlabel
* -a switches to source writing automaticly
* assembler readers OOPed
* asmsymbol automaticly external
* jumptables and other label fixes for asm readers
1999-05-27 19:43:55 +00:00
florian
6b33f4d87d
* better error recovering in typed constants
...
* some problems with arrays of const fixed, some problems
due my previous
- the location type of array constructor is now LOC_MEM
- the pushing of high fixed
- parameter copying fixed
- zero temp. allocation removed
* small problem in the assembler writers fixed:
ref to nil wasn't written correctly
1999-05-23 18:41:55 +00:00
peter
bfed29ff8b
* NEWLAB for label as symbol
1999-05-21 13:54:38 +00:00
pierre
bee8d805f7
+ added synonym filed for ttypesym
...
allows a clean disposal of tdefs and related ttypesyms
1999-05-20 22:22:42 +00:00
florian
1316bbd21f
* tdef.typename: returns a now a proper type name for the most types
1999-05-19 16:48:21 +00:00
florian
39ab53a15b
* tobject wasn't set as default anchestor, was a problem with the new ppu
...
handling
1999-05-19 12:08:11 +00:00
florian
8706cd801f
* new temporary ansistring handling
1999-05-17 21:56:57 +00:00
peter
2775b9877e
* fixed loading of classrefdef
1999-05-16 02:26:51 +00:00
peter
24ad159d09
* new deref code
1999-05-14 17:52:26 +00:00
peter
a47afc3857
* removed oldppu code
...
* warning if objpas is loaded from uses
* first things for new deref writing
1999-05-13 21:59:19 +00:00
peter
bc903063c1
* removed R_DEFAULT_SEG
...
* uniform float names
1999-05-12 00:19:34 +00:00
peter
2bb065a00a
+ MessagePos() which is enhanced Message() function but also gets the
...
position info
* Removed comp warnings
1999-05-08 19:52:32 +00:00
florian
848c61018b
* enumeration type names are now written in lowercase (rtti)
1999-05-07 11:06:37 +00:00
peter
1c96916943
* generic write_float and str_float
...
* fixed constant float conversions
1999-05-06 09:05:05 +00:00
florian
253ba04a57
* a delphi compiled compiler recompiles ppc
1999-05-05 10:05:48 +00:00
pierre
4da4e5b843
* delete -> deleteindex in tdef.correct_owner_symtable
1999-04-28 22:30:52 +00:00
florian
d27b21891b
* changes of Bruessel:
...
+ message handler can now take an explicit self
* typinfo fixed: sometimes the type names weren't written
* the type checking for pointer comparisations and subtraction
and are now more strict (was also buggy)
* small bug fix to link.pas to support compiling on another
drive
* probable bug in popt386 fixed: call/jmp => push/jmp
transformation didn't count correctly the jmp references
+ threadvar support
* warning if ln/sqrt gets an invalid constant argument
1999-04-28 06:01:54 +00:00
peter
49786e5fe5
* farpointerdef moved into pointerdef.is_far
1999-04-26 18:29:54 +00:00
peter
884c517b18
* release storenumber,double_checksum
1999-04-26 13:31:24 +00:00
peter
cb70b62a82
* storenumber works
...
* fixed some typos in double_checksum
+ incompatible types type1 and type2 message (with storenumber)
1999-04-21 09:43:28 +00:00
peter
c044125b7d
* fixed crash when writing overload operator to ppu
1999-04-19 09:28:20 +00:00
pierre
3cd628d2f2
* typo error fix in STORENUMBER code
1999-04-17 22:01:28 +00:00
peter
cc9df8d478
* first things to store the symbol/def number in the ppu
1999-04-14 09:14:44 +00:00
peter
dda7bf2bc9
+ subrange checking for readln()
1999-04-08 15:57:44 +00:00
pierre
ab9465df1b
+ double_checksum code added
1999-04-07 15:39:29 +00:00
peter
a27a69d7af
* reset savesize in tdef.init
1999-03-06 17:24:16 +00:00
pierre
466989af54
+ added staticppusymtable symtable type for local browsing
1999-03-01 13:45:04 +00:00
peter
c8f444b65f
* ag386bin updates
...
+ coff writer
1999-02-25 21:02:16 +00:00
pierre
2541a27a5a
* win32 compilation error fix
...
+ some work for local browser (not cl=omplete yet)
1999-02-23 18:29:20 +00:00
florian
3c576cce7d
+ first implementation of message keyword
1999-02-22 20:13:32 +00:00
pierre
0669413251
+ -b and -bl options work !
...
+ cs_local_browser ($L+) is disabled if cs_browser ($Y+)
is not enabled when quitting global section
* local vars and procedures are not yet stored into PPU
1999-02-22 13:06:52 +00:00
peter
1b0e76cdca
* set the first enumsym also for subrange types
1999-02-17 10:14:20 +00:00
pierre
800af168b0
* gdb info for local functions was wrong
1999-02-08 09:51:21 +00:00
pierre
34b0307b1a
* open arrays stabs changed
1999-01-26 09:57:29 +00:00
pierre
f0c36a6ce2
* overflow in addname for open arrays removed
1999-01-22 17:29:30 +00:00
pierre
10d97a9144
* bugs related to mangledname solved
...
- linux external without name
-external procs already used
(added count and is_used boolean fiels in tprocvar)
1999-01-20 14:18:32 +00:00
pierre
e4dadb6b3b
typeof(object) without vmt generates an error instead of an internalerror
1999-01-19 10:56:05 +00:00
peter
f379498229
+ BrowserLog for browser.log generation
...
+ BrowserCol for browser info in TCollections
* released all other UseBrowser
1999-01-12 14:25:24 +00:00
peter
6ee9d913cd
+ farpointer type
...
* absolutesym now also stores if its far
1998-12-30 22:15:45 +00:00
peter
000336a586
* released valuepara
1998-12-30 13:41:05 +00:00
pierre
0252e17f0e
* procvar stabs correction
1998-12-21 14:03:08 +00:00
florian
d656d708b7
* ansistring memory leaks fixed
1998-12-19 00:23:40 +00:00
pierre
ad717054b5
* internal gdb types for booleans and 64bit integers
1998-12-11 08:57:22 +00:00
florian
4244dda54b
+ basic operations with int64/qord (compiler with -dint64)
...
+ rtti of enumerations extended: names are now written
1998-12-10 09:47:13 +00:00
peter
6e7f776c4f
+ -gh for heaptrc unit
1998-12-08 10:18:07 +00:00
pierre
917fc582ad
+ constructor destructor info for gdbpas
1998-12-08 09:06:30 +00:00
pierre
f61d574389
* function type problem for gdb fix
1998-12-01 23:37:39 +00:00
florian
67d932c449
* problem with arrays with init tables fixed
1998-11-29 21:45:48 +00:00
peter
a53f6ba9d4
* hack for arraydef.size overflow
1998-11-29 12:45:59 +00:00
peter
a41f61713d
+ open strings, $P switch support
1998-11-27 14:50:30 +00:00
michael
4b33489b11
+ Fixed RTTI constants
1998-11-26 14:47:00 +00:00
florian
6b71ea1c62
* writting of rtti for properties fixed
1998-11-25 14:35:28 +00:00
florian
d5aea5e17f
* problems with rtti fixed, hope it works
1998-11-20 15:35:54 +00:00
peter
0cadc4f3c3
* VALUEPARA for tp7 compatible value parameters
1998-11-18 15:44:05 +00:00
peter
c49f4590fd
* removed warning
1998-11-10 17:54:56 +00:00
peter
babc359c3f
* don't dispose staticsymtable (caused crash under tp7 after a fatal
...
error)
1998-11-05 23:34:36 +00:00
peter
3037445491
* released useansistring
...
* removed -Sv, its now available in fpc modes
1998-11-05 12:02:30 +00:00
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
peter
911abb5abc
+ NEWINPUT for a better inputfile and scanner object
1998-07-07 11:19:50 +00:00
peter
804397de24
* ifdef newppu -> ifndef oldppu
1998-06-24 14:48:34 +00:00
peter
c2d5abdfed
+ targetcpu
...
* cleaner pmodules for newppu
1998-06-16 08:56:17 +00:00
pierre
2d681748ac
* small bug in systems.pas corrected
...
+ operators in different units better hanlded
1998-06-15 15:38:07 +00:00
daniel
4035b254df
* Reverted my changes.
1998-06-15 14:30:12 +00:00
daniel
d9445e22e9
* Fixes to make it compilable under BP again.
1998-06-15 13:31:20 +00:00
peter
c614d62eaf
* working browser and newppu
...
* some small fixes against crashes which occured in bp7 (but not in
fpc?!)
1998-06-13 00:10:04 +00:00
michael
004da8b801
* Fixed wrong code for ansistring
1998-06-12 14:10:37 +00:00
peter
6cd01467c6
* -gb works again
1998-06-11 10:11:57 +00:00
florian
4a381dad31
+ first working rtti
...
+ data init/final. for local variables
1998-06-07 15:30:25 +00:00
pierre
1a44be1502
* fixes for inline for operators
...
* inline procedure more correctly restricted
1998-06-05 14:37:27 +00:00
peter
f66f837fc8
* m68k compiles
...
+ .def file creation moved to gendef.pas so it could also be used
for win32
1998-06-04 23:51:26 +00:00
pierre
afe0d5a50d
* demangled name of procsym reworked to become independant of the mangling scheme
...
Come test_funcret improvements (not yet working)S: ----------------------------------------------------------------------
1998-06-04 09:55:35 +00:00
peter
d6268ae22f
+ wordbool,longbool
...
* rename bis,von -> high,low
* moved some systemunit loading/creating to psystem.pas
1998-06-03 22:48:50 +00:00
peter
659c2fb45d
* fixed call bugs with assembler readers
...
+ OPR_SYMBOL to hold a symbol in the asm parser
* fixed staticsymtable vars which were acessed through %ebp instead of
name
1998-05-31 14:13:30 +00:00
peter
7b28ebd6ef
* symtable.pas splitted into includefiles
...
* symtable adapted for $ifdef NEWPPU
1998-05-27 19:45:02 +00:00