Commit Graph

60914 Commits

Author SHA1 Message Date
michael
743e7c1c1b * Forgot to commit
git-svn-id: trunk@48014 -
2021-01-03 15:30:41 +00:00
marco
1332915a10 * still add files that start with ., just not to FTS
git-svn-id: trunk@48013 -
2021-01-03 15:21:43 +00:00
florian
12adb47d65 * clean up
git-svn-id: trunk@48011 -
2021-01-03 15:03:27 +00:00
michael
7ee4954b0b * Refactor HTML engine so it can more easily be extended
git-svn-id: trunk@48010 -
2021-01-03 14:08:48 +00:00
michael
7be3d2f80c * get rid of some warnings
git-svn-id: trunk@48009 -
2021-01-03 14:08:02 +00:00
svenbarth
b8578f804f * fix compilation on targets that use Stabs debug information: ignore generic dummy symbols with no procdefs for generating stabs data
git-svn-id: trunk@48007 -
2021-01-03 12:11:44 +00:00
svenbarth
4a274cd63a + add a copyright/license header for the nullable unit
git-svn-id: trunk@48006 -
2021-01-03 12:11:40 +00:00
michael
1afca037c6 * Help for markdown
git-svn-id: trunk@48005 -
2021-01-03 08:37:52 +00:00
Mattias Gaertner
9825d3b552 pastojs: filer export nameexpr
git-svn-id: trunk@48004 -
2021-01-03 01:06:04 +00:00
Mattias Gaertner
e911431ed4 fcl-passrc: parser: export unit.symbol, resolver: started library export
git-svn-id: trunk@48003 -
2021-01-03 01:04:26 +00:00
svenbarth
c96029ebd5 * Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
+ added tests

Note: what Delphi /does/ allow however is to overload a generic routine with a generic type... go figure. :/ We currently don't allow that

git-svn-id: trunk@48002 -
2021-01-02 23:23:39 +00:00
svenbarth
7343e9c4a2 * correctly handle the case should the generic dummy symbol be a procsym instead of a typesym
git-svn-id: trunk@48001 -
2021-01-02 23:23:34 +00:00
svenbarth
e4eed4e259 * when only a symbol name is provided to generate_specialization_phase1 allow a symbol table to be provided as well
git-svn-id: trunk@48000 -
2021-01-02 23:23:29 +00:00
svenbarth
a65d778f73 * also handle call nodes when determining the generic symbol for inline specializations
git-svn-id: trunk@47999 -
2021-01-02 23:23:24 +00:00
svenbarth
f42b39a7b5 * use a case statement instead of nested if-then statements
git-svn-id: trunk@47998 -
2021-01-02 23:23:20 +00:00
svenbarth
43ba5b69d2 * ensure that the dummy symbol is registered if it's added due to a routine
git-svn-id: trunk@47997 -
2021-01-02 23:23:16 +00:00
svenbarth
9179f9d43b * always add a generic dummy if it is a procsym
git-svn-id: trunk@47996 -
2021-01-02 23:23:12 +00:00
svenbarth
d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr"
+ added tests

git-svn-id: trunk@47995 -
2021-01-02 23:23:08 +00:00
florian
3109005791 + fold also (string const+(string const+string var))
* string tree folding code moved into level 2 opt. block

git-svn-id: trunk@47986 -
2021-01-02 22:18:38 +00:00
michael
b387dd8a94 * Fix AV
git-svn-id: trunk@47981 -
2021-01-02 22:05:34 +00:00
marco
bb8fd96eaa * fix destructor
git-svn-id: trunk@47980 -
2021-01-02 21:13:03 +00:00
florian
9430436a24 + include package/hash in regression tests
git-svn-id: trunk@47979 -
2021-01-02 19:27:01 +00:00
michael
33d7935b93 * Fix class tree & lists
git-svn-id: trunk@47978 -
2021-01-02 19:05:31 +00:00
florian
7de94e7a1d * properly fold string+string const+string const., resolves #38267
git-svn-id: trunk@47977 -
2021-01-02 17:18:54 +00:00
florian
8b08079224 * fpc_AnsiStr_Concat: if one of the strings is empty and CP_NONE is passed, the code page
of the other string is taken, this is also like fpc_AnsiStr_Concat_multi works if length(sarr)=2

git-svn-id: trunk@47976 -
2021-01-02 16:39:39 +00:00
michael
390be00327 * Markdown support for fpdoc
git-svn-id: trunk@47973 -
2021-01-02 14:28:45 +00:00
Mattias Gaertner
f0122bd4a0 fcl-passrc: resolver: parse library
git-svn-id: trunk@47936 -
2021-01-01 22:29:58 +00:00
florian
e6037961e3 * refactored constant folding code
git-svn-id: trunk@47935 -
2021-01-01 21:58:12 +00:00
florian
97abf6b495 * first part of fixing #38267: do not bail out early during constant folding
if the constant is 1 or -1

git-svn-id: trunk@47933 -
2021-01-01 15:26:13 +00:00
marco
8311837468 --no-offset option for chmls, makes it easier to compare listings.
git-svn-id: trunk@47932 -
2021-01-01 13:45:28 +00:00
florian
b4a6c22234 * do not check inlined exit nodes for unset results, resolves #38259
git-svn-id: trunk@47926 -
2020-12-31 15:52:02 +00:00
florian
3482121831 * patch by Christo Crause: Fix missed optimization opportunities, resolves #38285
git-svn-id: trunk@47925 -
2020-12-31 15:33:39 +00:00
Mattias Gaertner
c1a2b6279e pastojs: fixed delay init specialized interface
git-svn-id: trunk@47919 -
2020-12-31 01:07:33 +00:00
marco
4353d36516 * commited patch(-5) by Andrey Sobol from mantis #38153 .
git-svn-id: trunk@47915 -
2020-12-30 20:37:24 +00:00
Mattias Gaertner
7032cba91e fcl-passrc: resolver: fixed typecast a(b.func) marking implicit call
git-svn-id: trunk@47914 -
2020-12-30 16:12:47 +00:00
joost
32999fbaba * Fixed missing slash in fppkg.cfg when installed in the root
git-svn-id: trunk@47913 -
2020-12-30 15:41:44 +00:00
michael
46d301b7b2 * Function result can also contain ^ in type
git-svn-id: trunk@47911 -
2020-12-30 14:35:30 +00:00
florian
b5725ac3ed * while not official supported, bootstrapping with 3.0.4 fixed
git-svn-id: trunk@47901 -
2020-12-30 09:34:22 +00:00
michael
6dafbfb7ca * Fix Pointer types as arguments
git-svn-id: trunk@47900 -
2020-12-30 08:52:38 +00:00
Mattias Gaertner
8eafcd9490 pastojs: await with one param must be async function
git-svn-id: trunk@47895 -
2020-12-29 23:18:41 +00:00
florian
edfbf2ce30 * correctly handle inlined exits in dfa, resolves #38259
git-svn-id: trunk@47894 -
2020-12-29 22:35:33 +00:00
florian
6866b07266 * simplified test after r47892
git-svn-id: trunk@47893 -
2020-12-29 18:26:20 +00:00
florian
eb7702bea4 + implement align directive for records, resolves #28927
git-svn-id: trunk@47892 -
2020-12-29 18:19:35 +00:00
marco
6f2bd77119 * committed fix by Emilio Martinez, first parameter of CreateDataAdviseHolder should be OUT
git-svn-id: trunk@47891 -
2020-12-29 14:52:03 +00:00
Jonas Maebe
2fc672452d * fixed error in load_fpu_location triggered by round() (fixes webtbs/tw32671
on i386 after r47854)

git-svn-id: trunk@47890 -
2020-12-29 13:07:41 +00:00
michael
73dd1afd7d * Fix bug ID #38269 (caret can be start of string)
git-svn-id: trunk@47889 -
2020-12-29 10:42:40 +00:00
Mattias Gaertner
50c659b1ca fcl-passrc: separate hints for not used fields: 4501, 4502
git-svn-id: trunk@47882 -
2020-12-29 02:38:12 +00:00
Mattias Gaertner
baac8efaab fcl-passrc: resolver: fixed resolving string lit switching to utf-16
git-svn-id: trunk@47881 -
2020-12-29 01:54:31 +00:00
Mattias Gaertner
db0fe18de5 fcl-passrc: fixed implicit call of specialized method
git-svn-id: trunk@47880 -
2020-12-29 01:16:22 +00:00
Mattias Gaertner
1f4868caa8 fcl-passrc: fixed parsing a(b).c<d>()
git-svn-id: trunk@47879 -
2020-12-29 00:26:00 +00:00