Commit Graph

164 Commits

Author SHA1 Message Date
michael
f2513ba3cb Changes for resource strings 1999-08-15 21:57:58 +00:00
peter
8d9aa81d3a * hack to support property with record fields 1999-08-14 00:38:53 +00:00
pierre
8b4c7f2402 + stabs for classes and classref working,
a class still needs an ^ to get that content of it,
    but the class fields inside a class don't result into an
    infinite loop anymore!
1999-08-13 14:24:17 +00:00
pierre
be2b57963f * use of procsym field for correct gdb info in local procedures
* exported DLL vars made global to be able to use DLLTOOL with themz
1999-08-10 12:36:31 +00:00
florian
e6c1b96cff * some small problems fixed 1999-08-07 14:20:55 +00:00
daniel
347a47e588 * Fixed open arrays 1999-08-07 13:24:34 +00:00
peter
cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased
* Check for local procedure when assigning procvar
  * fixed comment parsing because directives
  * oldtp mode directives better supported
  * added some messages to errore.msg
1999-08-05 16:52:53 +00:00
florian
e53aceb9be + floating point register variables !!
* pairegalloc is now generated for register variables
1999-08-04 13:45:17 +00:00
peter
ed8eb13d59 * moved bitmask constants to sets
* some other type/const renamings
1999-08-03 22:02:29 +00:00
peter
674e0cc879 * write .size also 1999-07-29 20:53:55 +00:00
peter
30be2bf063 * indirect type referencing is now allowed 1999-07-27 23:42:10 +00:00
michael
d1e6915de3 changes for resourcestrings 1999-07-24 15:12:56 +00:00
michael
916859ebd7 * Fixed resourcestring writing to units 1999-07-24 13:36:23 +00:00
peter
6c00bfc702 * more C packing fixes 1999-07-23 20:59:23 +00:00
peter
07bb58295b * alignment is now saved in the symtable
* C alignment added for records
  * PPU version increased to solve .12 <-> .13 probs
1999-07-23 16:05:18 +00:00
peter
f9c4d1b3a7 * removed oldppu from propertysym 1999-07-23 11:33:23 +00:00
florian
35f636dea1 + resourcestring implemented
+ start of longstring support
1999-07-22 09:37:28 +00:00
florian
72e21acee1 * property reading from PPU fixed (new PPU format), it uses now writesym... 1999-07-05 12:13:22 +00:00
pierre
f426433d78 merged from 0-99-12 branch 1999-06-28 10:49:48 +00:00
pierre
05b6362265 * local browser stuff corrected 1999-06-22 16:24:39 +00:00
pierre
6dd4cfad3d * local Cvar stabs corrected 1999-06-03 16:25:05 +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
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
pierre
722ce4b7e9 * unitsym security stuff 1999-05-17 13:11:40 +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
75aea84e80 * small message fixes 1999-05-10 09:01:43 +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
pierre
200421f1b5 + added aligmnent of data for typed consts
for var it is done by AS or LD or in ag386bin for direct object output
1999-05-07 00:06:22 +00:00
florian
78d13ec796 * changes to compile it with Delphi 4.0 1999-05-04 21:44:30 +00:00
pierre
0d11d01b8d * fix for unitsym problem 1999-05-04 16:05:13 +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
884c517b18 * release storenumber,double_checksum 1999-04-26 13:31:24 +00:00
pierre
03b80377e0 + added is_really_const booleanfield for typedconstsym
for Delphi in $J- mode (not yet implemented !)
1999-04-25 22:38:39 +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
d9e1c47d84 * fixes for storenumber 1999-04-17 13:16:19 +00:00
peter
cc9df8d478 * first things to store the symbol/def number in the ppu 1999-04-14 09:14:44 +00:00
pierre
723e363363 + enable uninitilized warnings for static symbols 1999-04-08 10:11:32 +00:00
peter
2bfdf91c5c * assembler inlining working for ag386bin 1999-03-31 13:55:03 +00:00
peter
d0cb5a147a * fixed bugs 212,222,225,227,229,231,233 1999-03-24 23:16:42 +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
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
pierre
800af168b0 * gdb info for local functions was wrong 1999-02-08 09:51:21 +00:00
florian
90d0bea35a * first running version of the new code generator
* when compiling exceptions under Linux fixed
1999-01-23 23:29:31 +00:00
peter
4517f917fd * fixed array of const
* generic platform independent high() support
1999-01-21 22:10:35 +00:00
peter
ffddbaccac * don't make localvar copies for assembler procedures 1999-01-20 10:20:18 +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
peter
e628968eac + read/write of constnil 1998-12-26 15:35:44 +00:00
peter
6e7f776c4f + -gh for heaptrc unit 1998-12-08 10:18:07 +00:00
peter
b4045fe57e + support for dll variables 1998-11-28 16:20:48 +00:00
peter
a41f61713d + open strings, $P switch support 1998-11-27 14:50:30 +00:00
peter
0cadc4f3c3 * VALUEPARA for tp7 compatible value parameters 1998-11-18 15:44:05 +00:00
peter
4f9c7abff7 * label defines are checked at the end of the proc 1998-11-16 10:13:50 +00:00
peter
2e8ab172c2 * unused label is now a warning 1998-11-13 12:09:09 +00:00
pierre
4323a303a3 * temporary fix for long mangled procsym names 1998-11-10 10:50:57 +00:00
peter
7d2232f3b2 + typedconst.getsize 1998-11-05 23:39:31 +00:00
pierre
1dab5a8cf0 * removed some erros after other errors (introduced by useexcept)
* stabs works again correctly (for how long !)
1998-10-28 18:26:12 +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
peter
acf9818648 + target_os.stackalignment
+ stack can be aligned at 2 or 4 byte boundaries
1998-10-16 08:51:45 +00:00
pierre
bf6369f1b5 * current_module old scanner tagged as invalid if unit is recompiled
+ added ppheap for better info on tracegetmem of heaptrc
    (adds line column and file index)
  * several memory leaks removed ith help of heaptrc !!
1998-10-08 17:17:07 +00:00
peter
47c808f95a * fixed memory leaks for do nothing source
* fixed unit interdependency
1998-10-08 13:48:40 +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
peter
d4ac5e456b + idtoken and only one token table 1998-09-26 17:45:30 +00:00
peter
3d947ea74d * fixed enum for not GDB 1998-09-24 15:11:17 +00:00
pierre
9589f619d7 * browser bugfixes
was adding a reference when looking for the symbol
    if -bSYM_NAME was used
1998-09-23 15:38:59 +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
af83d90357 * some changes to compile with Delphi 1998-09-18 16:03:37 +00:00
pierre
be29a0b86d + improvement on the usebrowser part
(does not work correctly for now)
1998-09-18 08:01:35 +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
peter
12a80cf3dc * update smartlinking, uses getdatalabel
* renamed ptree.value vars to value_str,value_real,value_set
1998-09-07 18:45:52 +00:00
florian
e7f5a26700 * first fixes for published properties 1998-09-07 17:37:00 +00:00
florian
16c2b4a41f + switch -vb
* while/repeat loops accept now also word/longbool conditions
  * makebooltojump did an invalid ungetregister32, fixed
1998-09-05 22:10:54 +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
pierre
27c439c940 * corrected mangling sheme :
cvar add Cprefix to the mixed case name whereas
    export or public use direct name
1998-08-25 13:09:25 +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
pierre
b61cd6cd0e + TEST_FUNCRET now default (old code removed)
works also for m68k (at least compiles)
1998-08-21 14:08:39 +00:00
peter
f656c1bb73 * object_options are always written for object syms 1998-08-20 12:53:26 +00:00
pierre
2d9cbf7fde + funcret setting in underproc testing
compile with _dTEST_FUNCRET
1998-08-20 09:26:37 +00:00
peter
6cc16ea7f1 - removed OLDPPU 1998-08-17 10:10:04 +00:00
peter
a30819a8ee * constant sets are now written correctly to the ppufile 1998-08-13 10:57:29 +00:00
peter
befed16714 * write extended to ppu file
* new version 0.99.7
1998-08-11 15:31:35 +00:00
peter
90fc7e176d * fixed pushing of high value for openarray 1998-08-11 14:07:27 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +00:00
peter
6396267185 + Compiler,Comphook unit which are the new interface units to the
compiler
1998-08-10 10:18:23 +00:00
florian
38ec73449d + first implementation of try ... except on .. do end;
* limitiation of 65535 bytes parameters for cdecl removed
1998-07-30 11:18:13 +00:00
florian
a824e04fc5 * handling of ansi string constants should now work 1998-07-20 18:40:10 +00:00
peter
4b6ca45e6b * fixed packrecords as discussed at the alias 1998-07-14 21:37:24 +00:00
peter
1bffd4e290 * released NEWINPUT 1998-07-14 14:46:36 +00:00
florian
0912889c24 * changed to compile with TP 1998-07-13 21:17:38 +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
9330b0e700 * packrecords 4 works
* word aligning of parameters
1998-07-07 17:40:37 +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
cc8071a7b1 * removed cosntructor/constructor warning and 0.99.5 recompiles it again 1998-06-19 15:40:42 +00:00
peter
f07849effe * small os2 fixes
* fixed interdependent units with newppu (remake3 under linux works now)
1998-06-17 14:10:11 +00:00