Commit Graph

53567 Commits

Author SHA1 Message Date
Mattias Gaertner
76391fab52 fcl-passrc: resolver: mode delphi: error when passing alias type to var argument
git-svn-id: trunk@38897 -
2018-05-03 10:44:08 +00:00
michael
7aa7f1b96f * Fix bug #33681
git-svn-id: trunk@38896 -
2018-05-03 07:09:05 +00:00
Mattias Gaertner
a6ec8c5e97 pas2js: version 0.9.19
git-svn-id: trunk@38895 -
2018-05-02 12:00:12 +00:00
Mattias Gaertner
7cb5f2a9d7 pastojs: fixed typecast smallint(integer)
git-svn-id: trunk@38894 -
2018-05-02 08:06:05 +00:00
Mattias Gaertner
d0f7497845 pastojs: fixed typecast shortint(integer)
git-svn-id: trunk@38893 -
2018-05-02 06:44:37 +00:00
Mattias Gaertner
37819b8da1 pastojs: fixed typecast(obj[])[]
git-svn-id: trunk@38892 -
2018-05-02 05:51:53 +00:00
Mattias Gaertner
abbba47708 fcl-passrc: resolver: no hint for abstract methods aclassof.create
git-svn-id: trunk@38891 -
2018-05-02 05:51:36 +00:00
Mattias Gaertner
9c724c430a fcl-passrc: resolver: no hint for abstract methods aclassof.create and create is virtual
git-svn-id: trunk@38890 -
2018-05-01 22:13:38 +00:00
Mattias Gaertner
e30da6b412 fcl-passrc: useanalyzer: no hint for external var assigned but not used
git-svn-id: trunk@38889 -
2018-05-01 21:37:46 +00:00
Mattias Gaertner
299ff9b50b pastojs: case string of range
git-svn-id: trunk@38888 -
2018-05-01 21:04:03 +00:00
Mattias Gaertner
c2af7a4d3d resolver: case string of range
git-svn-id: trunk@38887 -
2018-05-01 21:03:51 +00:00
Mattias Gaertner
790e1e6007 pastojs: default(settype|rangetype|currency|string)
git-svn-id: trunk@38886 -
2018-05-01 10:59:52 +00:00
Mattias Gaertner
0493219f48 pastojs: external typed const
git-svn-id: trunk@38885 -
2018-05-01 09:50:42 +00:00
Mattias Gaertner
3741378ec7 fcl-passrc: parse external typed const without expression if po_ExtConstWithoutExpr
git-svn-id: trunk@38884 -
2018-05-01 09:50:18 +00:00
Mattias Gaertner
d140e01abe fcl-image: fixed compile fpreadtiff
git-svn-id: trunk@38883 -
2018-04-30 23:59:56 +00:00
Mattias Gaertner
7ea975a869 pastojs: default(record)
git-svn-id: trunk@38882 -
2018-04-30 23:48:28 +00:00
Mattias Gaertner
78d12d1b5e fcl-passrc: default()
git-svn-id: trunk@38881 -
2018-04-30 23:48:02 +00:00
Mattias Gaertner
f6c09153c2 pastojs: property specifier nodefault
git-svn-id: trunk@38880 -
2018-04-30 22:22:05 +00:00
Mattias Gaertner
293ff51025 fcl-image: fpreadtiff:
Issue #33668, patch from circular
- fix bug with alpha channel with RGB images
- fix for Predictor 2 (using horizontal difference)
- fix for LZW to handle case when end of stream code is omitted
- fix crash by LZW allocating tons of memory
- optimized LZW decompression by avoiding lots of small memory allocations
- handle paletted image (colormap)
- handle 4 bit samples
- handle rotation (when x/y are flipped)
- handle premultiplied RGB values
- handle fill order (bits from low to high) for 1 bit images
- fix code for extra channels (rare case though)
- accepts 1 bit, 4 bit, 8 bit, 12 bit and 16 bit samples for any channel
- avoid using global variable IFD

git-svn-id: trunk@38879 -
2018-04-30 21:06:43 +00:00
Mattias Gaertner
8100f9b222 pastojs: nested classes
git-svn-id: trunk@38878 -
2018-04-30 18:03:48 +00:00
Mattias Gaertner
ee8896b988 fcl-passrc: resolver: nested classes
git-svn-id: trunk@38877 -
2018-04-30 18:01:59 +00:00
Mattias Gaertner
a918071130 pastojs: docs
git-svn-id: trunk@38876 -
2018-04-30 08:32:44 +00:00
Mattias Gaertner
e16651f18c fcl-passrc: resolver: forbid assignment of for-loop variable
git-svn-id: trunk@38875 -
2018-04-30 08:32:23 +00:00
michael
e4ca90ba1f * Fix warnings, read <keyword> for gobble keywords
git-svn-id: trunk@38874 -
2018-04-30 07:14:04 +00:00
michael
09e45aabfd * Attempt to generate less empty lines
git-svn-id: trunk@38873 -
2018-04-30 06:41:15 +00:00
Mattias Gaertner
7db9ac914f fcl-passrc: $Writeableconst
git-svn-id: trunk@38872 -
2018-04-29 23:34:36 +00:00
Mattias Gaertner
b1b6b52842 fcl-passrc: added bool flag $PointerMath
git-svn-id: trunk@38871 -
2018-04-29 22:42:16 +00:00
Mattias Gaertner
994167481d pas2js: docs: record const
git-svn-id: trunk@38870 -
2018-04-29 19:26:57 +00:00
Mattias Gaertner
01ccfbcf61 pastojs: record const
git-svn-id: trunk@38869 -
2018-04-29 19:26:45 +00:00
Mattias Gaertner
70b4a4b9a5 fcl-passrc: resolver: record const
git-svn-id: trunk@38868 -
2018-04-29 19:26:31 +00:00
Mattias Gaertner
6bab0e1892 fcl-passrc: added TRecordValuesItems.NameExp
git-svn-id: trunk@38867 -
2018-04-29 19:26:20 +00:00
marco
64d8f26b38 * more compiler suffix fixes, mantis #33606, Aarch64 and m68k
git-svn-id: trunk@38866 -
2018-04-29 14:08:00 +00:00
marco
8c854cedee * more case fixes, mantis #32832 manually done.
git-svn-id: trunk@38865 -
2018-04-29 14:05:09 +00:00
Jonas Maebe
8da8b956b0 * discard type conversions from/to generic defs for llvm as well
git-svn-id: trunk@38864 -
2018-04-28 16:17:45 +00:00
Jonas Maebe
eaafb166ad * set totypedef correctly when converting @class.classmethod to a procvar
of object in FPC mode (for llvm)

git-svn-id: trunk@38863 -
2018-04-28 16:17:41 +00:00
Jonas Maebe
807fcb3371 * support pasbool8 as type for a record field when a record is passed/
returned in multiple registers (llvm)

git-svn-id: trunk@38862 -
2018-04-28 16:17:37 +00:00
svenbarth
afbbd22544 - the labtree argument is no longer needed
git-svn-id: trunk@38861 -
2018-04-27 21:09:09 +00:00
svenbarth
cfa373a8cf * fix case of string with ranges as labels
+ add test

git-svn-id: trunk@38860 -
2018-04-27 21:06:33 +00:00
Jonas Maebe
52e7678033 * ensure that load nodes only substitute temps in case both references point
to the start of their respective temps

git-svn-id: trunk@38859 -
2018-04-27 19:18:59 +00:00
Jonas Maebe
d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated
by the temp manager of the current procedure

git-svn-id: trunk@38858 -
2018-04-27 19:18:55 +00:00
svenbarth
d8dd8d9978 + add test for Mantis #33635 which was fixed by r38856
git-svn-id: trunk@38857 -
2018-04-27 15:23:46 +00:00
svenbarth
e3ea46d1cb * disable SSE optimized Frac() for Win64; it has a much lower supported range than the existing Pascal implementation which uses Int() (in essence Round() and Trunc() should be corrected as well)
git-svn-id: trunk@38856 -
2018-04-27 15:18:36 +00:00
nickysn
8a32d7c663 + also support constants like 'dd [5]' in the intel syntax inline asm (for BP7
compatibility)

git-svn-id: trunk@38855 -
2018-04-27 11:21:51 +00:00
nickysn
a8a627f334 - removed the _count_asmdirectives and _count_asmoperators constants from the
rax86int unit. Instead, the _asmoperators and _asmdirectives arrays now use
  tasmtoken directly as index.

git-svn-id: trunk@38854 -
2018-04-27 11:02:54 +00:00
Mattias Gaertner
b6f50c9847 pas2js: docs: type alias type
git-svn-id: trunk@38853 -
2018-04-27 08:45:36 +00:00
Mattias Gaertner
3f0d3af123 pastojs: type alias type
git-svn-id: trunk@38852 -
2018-04-27 08:45:16 +00:00
Mattias Gaertner
20199d3903 fcl-passrc: resolver: type alias type
git-svn-id: trunk@38851 -
2018-04-27 08:45:00 +00:00
nickysn
16e0172021 + partial support for BP7 reference-like inline asm constants
git-svn-id: trunk@38850 -
2018-04-26 14:31:13 +00:00
nickysn
d1fc31de94 + add support for '[' and ']' parenthesis in addition to '(' and ')' in
rautils.TExprParse. They behave exactly like '(' and ')'. However, you cannot
  nest '(' with ']' and '[' with ')'. This is introduced in order to help
  implementing support for BP7 asm constants that are parsed like references,
  e.g. 'dd Rec.Str[5]' or 'dd 5[7]'.

git-svn-id: trunk@38849 -
2018-04-26 14:13:30 +00:00
Károly Balogh
c840c4d6a8 athreads: add a custom API to retrieve underlying process ID from AThreads. this makes it possible to combine some Amiga API features like Signaling with FPC's thread handling
git-svn-id: trunk@38848 -
2018-04-26 11:28:38 +00:00