Commit Graph

231 Commits

Author SHA1 Message Date
florian
89c403c529 * very basic widestring support 1999-12-18 14:54:34 +00:00
peter
ada779a989 * support !ENVVAR for long commandlines
* win32/go32v2 write short pathnames to link.res so c:\Program Files\ is
    finally supported as installdir.
1999-12-06 18:21:03 +00:00
peter
d3b404c1a4 * fixed bug #698
* removed some notes about unused vars
1999-12-01 12:42:31 +00:00
pierre
5fb34a8946 * restore the correct way for stabs of forward defs 1999-12-01 10:26:38 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
pierre
d766ee87fc + better reference pos for forward defs 1999-11-09 23:35:49 +00:00
pierre
aa99cfa4d0 + higher level browser 1999-11-07 23:57:36 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +00:00
pierre
25553ebfea * local browsing works at first level
ie for function defined in interface or implementation
    not yet for functions inside other functions
1999-11-05 17:18:02 +00:00
peter
503d5a1cfa * const parameter is now checked
* better and generic check if a node can be used for assigning
  * export fixes
  * procvar equal works now (it never had worked at least from 0.99.8)
  * defcoll changed to linkedlist with pparaitem so it can easily be
    walked both directions
1999-10-26 12:30:40 +00:00
peter
e10d770cc3 * fixed stabs writting for forward types 1999-10-06 17:39:14 +00:00
michael
35feded070 * patch from peter for classes 1999-10-04 13:46:04 +00:00
peter
1a52969bdd * inittable for record fixed (it was only checking for classes) 1999-10-03 19:41:38 +00:00
peter
532d85cd50 + procedure directive support in const declarations, fixes bug #232 1999-10-01 10:05:37 +00:00
peter
49fcd8aceb * forward type declaration rewritten 1999-10-01 08:02:45 +00:00
peter
2687d75c38 + constant pointer support which can happend with typecasting like
const p=pointer(1)
  * better procvar parsing in typed consts
1999-09-26 21:30:15 +00:00
peter
71f28ed588 * cs_create_smart instead of cs_smartlink
* -CX is create smartlink
  * -CD is create dynamic, but does nothing atm.
1999-09-20 16:38:51 +00:00
florian
863df30860 + rtti is now automatically generated for published classes, i.e.
they are handled like an implicit property
1999-09-15 22:09:15 +00:00
florian
1c638f2952 * small fix to operator overloading when in MMX mode
+ the compiler uses now fldz and fld1 if possible
  + some fixes to floating point registers
  + some math. functions (arctan, ln, sin, cos, sqrt, sqr, pi) are now inlined
  * .... ???
1999-09-15 20:35:37 +00:00
florian
02c2611b20 * bugs 593 and 607 fixed
* some other potential bugs with array constructors fixed
  * for classes compiled in $M+ and it's childs, the default access method
    is now published
  * fixed copyright message (it is now 1993-99)
1999-09-12 08:48:03 +00:00
florian
a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid)
* most things for stored properties fixed
1999-09-10 18:48:00 +00:00
florian
63ceb87e8f * problems with -Or fixed: tdef.isfpuregable was wrong! 1999-09-02 17:07:38 +00:00
pierre
7288d7bd89 + simplify_ppu code added :
sets all registers used at PPU writing
  * tprocdef mangledname writing is CRC relevant
1999-08-27 10:52:19 +00:00
michael
ea0a5097c8 + Inittables should not contain fields which are classes 1999-08-27 10:24:34 +00:00
peter
1ae7f425c5 * array elementsize of 0 doesn't crash anymore 1999-08-26 21:13:58 +00:00
michael
94d0da0639 RTTI writing patch 1999-08-17 13:58:56 +00:00
pierre
576a2e4f42 * error in stabs for tclassrefdef corrected 1999-08-16 16:26:04 +00:00
peter
8d9aa81d3a * hack to support property with record fields 1999-08-14 00:38:53 +00:00
peter
d7a37edfbd * support for array constructors extended and more error checking 1999-08-13 21:33:09 +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
peter
420127efe6 * long line fix 1999-08-12 14:31:20 +00:00
michael
3afbd99ce6 * RTTI fix from Sebastian Guenther 1999-08-11 08:56:53 +00:00
pierre
7982d8c842 * vmtmethodoffset made cross target compatible 1999-08-10 13:22:08 +00:00
pierre
4565d76c4e * avoid overflow in tarraydef.size 1999-08-10 12:32:13 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +00:00
florian
e6c1b96cff * some small problems fixed 1999-08-07 14:20:55 +00:00
daniel
df07c1a0f5 * Recommitted the arraydef overflow bugfix. 1999-08-07 13:36:54 +00:00
peter
1d5226f856 * removed daniels changes, because it broke all 'array of ...' code 1999-08-06 23:36:42 +00:00
peter
3b89a3c501 * fixed message which was wrong styled 1999-08-06 11:13:17 +00:00
daniel
bf3fc7b96d *** empty log message *** 1999-08-05 22:41: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
Jonas Maebe
ace7ff6983 * all tokens now start with an underscore
* PowerPC compiles!!
1999-08-04 13:02:40 +00:00
peter
ed8eb13d59 * moved bitmask constants to sets
* some other type/const renamings
1999-08-03 22:02:29 +00:00
florian
eac806034d * the main branch psub.pas is now used for
newcg compiler
1999-08-02 21:28:56 +00:00
michael
9600a0718a * Fix of initialization information generation 1999-07-31 22:37:17 +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
peter
b09c315030 * fixed stabs for record which still used savesize 1999-07-23 23:07:03 +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
florian
774df6096e * bug #487 fixed, (inc(<property>) isn't allowed)
* more fixes to compile with Delphi
1999-07-18 14:47:19 +00:00
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