olle
7572f3a539
* rework of macro subsystem
...
+ exportable macros for mode macpas
2005-01-09 20:24:43 +00:00
mazen
581b52422c
- remove $IFDEF DELPHI and related code
...
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:14:16 +00:00
peter
e32eac8468
* remove check for shortunitname, it broke units with 8 and 9 chars
...
with the first 8 chars being equal
2004-09-13 20:27:27 +00:00
peter
d3b7458802
* print realmodulename in fatal errors
2004-08-28 20:01:09 +00:00
peter
d763f9e142
browser disabled
...
uf_local_symtable ppu flag when a localsymtable is stored
2004-08-27 21:59:26 +00:00
peter
a939095dbe
* revert has_localst patch
...
* replace aktstaticsymtable/aktglobalsymtable with current_module
2004-07-09 22:17:31 +00:00
peter
9d7048d917
* remove unused and not loaded units before linking
2004-07-06 20:23:25 +00:00
peter
60b53cb1c1
* fix storing of localst in ppu
2004-07-06 19:52:04 +00:00
olle
4b0b17a5aa
+ allow fileextension .p, in mode macpas
2004-07-05 21:26:28 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
olle
b0b02f0d09
* bugfix in [read|write]asmsymbols for data and address labels
2004-03-17 12:12:59 +00:00
olle
4fecc1a56f
* big transformation of Tai_[const_]Symbol.Create[data]name*
2004-03-02 00:36:32 +00:00
peter
c96538d24d
* fix remembering path of main source file
2004-02-03 16:14:13 +00:00
daniel
97e87aaebc
* reginfo now also only allocated during register allocation
...
* third round of gdb cleanups: kick out most of concatstabto
2004-01-26 16:12:27 +00:00
peter
cbbfb018f1
* also check in the same dir as the unit we are loading from, this
...
makes UNITPATH working better
2004-01-22 17:23:56 +00:00
peter
a0c611cbb5
* deref implementation after implementation units are loaded and
...
numbered
2003-12-22 22:15:43 +00:00
peter
b052265ecb
* also check currnet dir when searching source files
2003-12-14 18:13:18 +00:00
peter
d1dbdbd82f
* serach also in include path for used files
2003-11-28 17:23:16 +00:00
marco
953cdb3dfe
* cycle detection patch from peter
2003-11-03 12:32:48 +00:00
peter
9c15bf7fb1
* don't set second_load when second_compile was already set
2003-10-29 21:55:10 +00:00
peter
526cffbaad
* set ms_compiled after the program/unit is parsed
...
* check for ms_compiled before checking preproc matches
2003-10-29 21:02:51 +00:00
peter
4a1ecb07d1
* splitted buildderef and buildderefimpl to fix interface crc
...
calculation
2003-10-23 14:44:07 +00:00
peter
6878c55c80
* write derefdata in a separate ppu entry
2003-10-22 20:39:59 +00:00
peter
28c96ab8e2
* write implementation units in implementation part of the ppu
...
so it doesn't confuse the unit loading
2003-10-22 17:38:25 +00:00
peter
fcabdbbf35
* fixed unitsym-globalsymtable relation so the uses of a unit
...
is counted correctly
2003-10-22 15:22:33 +00:00
florian
22f1ff8da4
* merged Wiktor's Watcom patches in 1.1
2003-09-05 17:41:12 +00:00
peter
90782badfe
* reload flagged units when interface is loaded
2003-08-23 22:29:24 +00:00
peter
7fcb3154d6
* moved message to msg file
2003-06-08 11:40:14 +00:00
peter
e7975c7592
* re-resolving added instead of reloading from ppu
...
* tderef object added to store deref info for resolving
2003-06-07 20:26:32 +00:00
peter
aaf6114364
* moved Comment calls to messge file
2003-05-25 10:27:12 +00:00
peter
e13e129c3c
* write interface crc to .ppu.intf when enabled
...
* when a unit is compiled with -Ur check only interface crc
2003-05-23 17:04:37 +00:00
peter
60978ba89c
* aktprocdef renamed to current_procdef
...
* procinfo renamed to current_procinfo
* procinfo will now be stored in current_module so it can be
cleaned up properly
* gen_main_procsym changed to create_main_proc and release_main_proc
to also generate a tprocinfo structure
* fixed unit implicit initfinal
2003-04-27 11:21:32 +00:00
peter
7f14891d66
* aktprocdef cleanup, aktprocdef is now always nil when parsing
...
a new procdef declaration
* aktprocsym removed
* lexlevel removed, use symtable.symtablelevel instead
* implicit init/final code uses the normal genentry/genexit
* funcret state checking updated for new funcret handling
2003-04-27 07:29:50 +00:00
peter
6720314fc5
* reset aktfilepos when setting new module for compile
2003-04-26 00:30:52 +00:00
peter
750c3b315e
* fixed small mem leaks
2003-03-27 17:44:13 +00:00
peter
bbf8bddbb4
* unit loading changed to first register units and load them
...
afterwards. This is needed to support uses xxx in yyy correctly
* unit dependency check fixed
2002-12-29 14:57:50 +00:00
peter
cab4c8879f
* only compile cs_fp_emulation support when cpufpuemu is defined
...
* define cpufpuemu for m68k only
2002-12-06 16:56:57 +00:00
mazen
301bf08921
* $UNITPATH directive is now working
2002-11-20 12:36:23 +00:00
peter
bfd72ad5d5
* merged changes from 1.0.7 up to 04-11
...
- -V option for generating bug report tracing
- more tracing for option parsing
- errors for cdecl and high()
- win32 import stabs
- win32 records<=8 are returned in eax:edx (turned off by default)
- heaptrc update
- more info for temp management in .s file with EXTDEBUG
2002-11-15 01:58:45 +00:00
peter
21933875b5
* store original source time in ppu so it can be compared instead of
...
comparing with the ppu time
2002-10-20 14:49:31 +00:00
peter
26bf52612f
* set in_second_load flag before resetting the module, this is
...
required to skip some checkings
2002-10-04 20:13:10 +00:00
peter
91b49914f6
* More fixes for cross unit inlining, all tnodes are now implemented
...
* Moved pocall_internconst to po_internconst because it is not a
calling type at all and it conflicted when inlining of these small
functions was requested
2002-08-19 19:36:42 +00:00
peter
197899d70a
* more current_scanner fixes
2002-08-18 19:58:28 +00:00
carl
9d4f336f74
+ fpu emulation helpers (ppu checking also)
2002-08-15 15:09:41 +00:00
peter
724ece4715
* tscannerfile is now destroyed in tmodule.reset and current_scanner
...
is updated accordingly. This removes all the loading and saving of
the old scanner and the invalid flag marking
2002-08-12 16:46:04 +00:00
peter
fb64d51f69
* TScannerFile.SetInvalid added that will also reset inputfile
2002-08-11 14:28:19 +00:00
peter
ac71268ce6
* saving of asmsymbols in ppu supported
...
* asmsymbollist global is removed and moved into a new class
tasmlibrarydata that will hold the info of a .a file which
corresponds with a single module. Added librarydata to tmodule
to keep the library info stored for the module. In the future the
objectfiles will also be stored to the tasmlibrarydata class
* all getlabel/newasmsymbol and friends are moved to the new class
2002-08-11 13:24:10 +00:00
florian
eb2ca8d10f
* rewrote the system handling
2002-07-26 21:15:37 +00:00
carl
21b3a10f02
+ defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
...
+ try to fix temp allocation (still in ifdef)
+ generic constructor calls
+ start of tassembler / tmodulebase class cleanup
2002-05-16 19:46:34 +00:00
peter
2992e1819c
* removed old logs and updated copyright year
2002-05-14 19:34:38 +00:00
peter
4dcd96747e
* moved entry and exitcode to ncgutil and cgobj
...
* foreach gets extra argument for passing local data to the
iterator function
* -CR checks also class typecasts at runtime by changing them
into as
* fixed compiler to cycle with the -CR option
* fixed stabs with elf writer, finally the global variables can
be watched
* removed a lot of routines from cga unit and replaced them by
calls to cgobj
* u32bit-s32bit updates for and,or,xor nodes. When one element is
u32bit then the other is typecasted also to u32bit without giving
a rangecheck warning/error.
* fixed pascal calling method with reversing also the high tree in
the parast, detected by tcalcst3 test
2002-05-12 16:53:04 +00:00
peter
5e7a1e3729
* removed unused units
...
* use tlocation.size in cg.a_*loc*() routines
2002-04-04 19:05:54 +00:00
carl
eb09d6061c
- remove go32v1 support
2002-03-28 20:46:44 +00:00
peter
76f42ba1cb
* check for -Un when loading ppu with wrong name
2002-01-19 14:20:13 +00:00
peter
7b45b6a4a9
* local browser support fixed
2001-08-19 09:39:27 +00:00
peter
e24474d9ac
* -Ur switch (merged)
...
* masm fixes (merged)
* quoted filenames for go32v2 and win32
2001-06-18 20:36:23 +00:00
peter
e2e2b508be
* store used units in original type in ppu
2001-06-04 11:49:08 +00:00
peter
6e65cd0ee4
* support uses <unit> in <file> construction
2001-05-19 23:05:19 +00:00
peter
24f64c776f
* skip program when checking loaded_units for a unit
2001-05-19 21:08:59 +00:00
peter
fb16b1c012
* fixed crash with invalid ppu version detected
2001-05-19 13:22:47 +00:00
Jonas Maebe
d5526ff45c
* range check error fixes from Peter
2001-05-09 14:11:10 +00:00
florian
05cfc07952
* some more support for widechars commited especially
...
regarding type casting and constants
2001-05-08 21:06:30 +00:00
Jonas Maebe
9f845fd10d
* fix from Peter for short_on_file_handles code
2001-05-07 11:53:21 +00:00
peter
6c7708c1e0
* ppu object to class rewrite
...
* move ppu read and write stuff to fppu
2001-05-06 14:49:16 +00:00