Commit Graph

55499 Commits

Author SHA1 Message Date
Pierre Muller
90301426fc Avoid use of fastmath optimization inside compiler
(cherry picked from commit 91f29419a5)
2022-01-27 00:08:50 +01:00
Pierre Muller
48f68cbeed Add FillWord procedures and implement unicode StringOfChar for JVM cpu
(cherry picked from commit 74c97e8928)
2022-01-25 22:05:14 +00:00
Florian Klämpfl
8731c5f7fd * message files regenerated 2022-01-23 17:58:24 +01:00
Florian Klämpfl
5cd1c4f5bc * manually fix unwanted stripping of exception frame info based on a patch by Gareth J. Moreton 2022-01-23 17:32:40 +01:00
marcoonthegit
08bb8c8dfc * fixed spelling error implicitEly in errore.msg, regenned msg.
(cherry picked from commit 45840da4dd)
2022-01-22 18:09:05 +01:00
marcoonthegit
96c2f883d2 * spelling fix to make Debian Lintian happy.
(cherry picked from commit 7238985091)
2022-01-22 17:42:50 +01:00
marcoonthegit
c31fa9b0ce * set version of delchars, requested by Bart B issue #39473
(cherry picked from commit a89a3f1577)
2022-01-21 18:29:03 +01:00
marcoonthegit
c214b949d4 * implemented stringofchar unicodestring, bug #39483
(cherry picked from commit 4568c77f57)
2022-01-21 18:28:56 +01:00
marcoonthegit
bcdfa7c926 * 24-bit byteswap color constants. Due to Opengl vs GDI conventions confusion?
(cherry picked from commit 742ec5680f)
2022-01-21 18:28:33 +01:00
marcoonthegit
b0db3a20d4 * copyright added based on Michael's original commit message
(cherry picked from commit 9773021315)
2022-01-21 18:28:02 +01:00
marcoonthegit
ac1cd0da9b * fix for 39413
Update DwmApi to support new DWM windows attributes like Windows 8 cloaking, Windows 10 dark mode and new Windows 11 rounded corners

patch by Taufik Rahmad Hidayanto

(cherry picked from commit 36ff644401)
2022-01-21 18:27:54 +01:00
pierre
34a9cc229f Second trial to fix commit 48688
git-svn-id: trunk@48691 -
(cherry picked from commit acf2567bda)
2022-01-16 17:14:14 +00:00
pierre
39ba1c39be Fix previous commit 48688 to avoid accessing 'invalid' positions in sym.value.valueptr
git-svn-id: trunk@48689 -
(cherry picked from commit 34fd36f817)
2022-01-16 17:13:58 +00:00
pierre
09f6a2ad0c Avoid writing characters after sym.value.len for conststring constant symbols
git-svn-id: trunk@48688 -
(cherry picked from commit 6a408fe97e)
2022-01-16 17:13:48 +00:00
florian
7c7f2cfdea * pass float abi always to the arm assembler
git-svn-id: trunk@39996 -
(cherry picked from commit 2cbb9895be)
2022-01-10 22:29:44 +01:00
FPK
31af8ea1a0 * new image
(cherry picked from commit 91337a3675)
2022-01-08 23:42:45 +01:00
florian
d63ad582a7 * cherry picked commit did not compile, fixing it, resolves #24863 2022-01-08 23:06:11 +01:00
florian
5a17765841 * if a variant is read/written, include the variants unit
git-svn-id: trunk@47459 -
(cherry picked from commit bcdfd07bdd)
2022-01-08 22:55:18 +01:00
Michaël Van Canneyt
0df4f6fcaa * --example-dir support
(cherry picked from commit 45c6833258)
2021-12-26 22:13:11 +01:00
florian
c0f20e0e5f * do not join register deallocations/allocations as it makes no use and causes later on trouble in
the assembler optimizer as register allocations are not correct, resolves #33565
(cherry picked from commit c6659d62f8)

# Conflicts:
#	.gitattributes
2021-11-28 15:22:20 +01:00
florian
a76d096254 * workaround missing optimizer capabilites of the fixes branch to fix avr compilation with -CriotR 2021-11-21 22:57:24 +01:00
svenbarth
8b21bf1cce * fix writing of the method and parameter names for the Variant call description
git-svn-id: trunk@49479 -
(cherry picked from commit 7330a0156c)
2021-11-14 11:41:56 +01:00
Sven Barth
28f86382e5 * FPC side fix for #39432: declare TColor the same way as Lazarus does (this way it's also a distinct type from LongInt)
(cherry picked from commit c950bcba9f)
2021-11-13 11:53:19 +01:00
Jonas Maebe
383c4a8e04 iphonesim: use ios_simulator_version_min
The linker expects ios_simulator_version_min rather than -iphoneos_version_min
when targeting the iOS simulator platform. Fixes compilation with Xcode 11
toolchains, which is more strict about this.

(cherry picked from commit 3263e12a3e)
2021-10-30 17:12:29 +02:00
Jonas Maebe
29d0a2a70a iphonesim target: requires proper alignment
Just like the native iOS targets

(cherry picked from commit 334cf9c19d)
2021-10-30 17:12:29 +02:00
marcoonthegit
8c765cf938 * add BI_ALPHABITFIELDS
(cherry picked from commit 9e1606f221)
2021-10-29 22:43:25 +02:00
ondrej
46a96d568e freetype: include bearings and invisible characters into text bounds
git-svn-id: trunk@49629 -
(cherry picked from commit b9db32ca05)
2021-10-29 22:43:11 +02:00
ondrej
cd4cdf65b3 freetype: fix font output, isuue 17156
git-svn-id: trunk@49628 -
(cherry picked from commit 41d6374bb6)
2021-10-29 22:42:59 +02:00
ondrej
36e8c54875 * glyph advances are stored in 16.16 fixed-point format and not 26.6 format (https://www.freetype.org/freetype2/docs/reference/ft2-glyph_management.html#ft_glyph)
git-svn-id: trunk@49627 -
(cherry picked from commit 83bb854f1e)
2021-10-29 22:42:48 +02:00
ondrej
daeb159232 TBAseStringBitmaps.CalculateGlobals: the first <non-empty> bitmap should be used, not the first one
git-svn-id: trunk@49625 -
(cherry picked from commit ade1bad057)
2021-10-29 22:42:39 +02:00
michael
0bd2aa7487 * Fix (by Han) for issue ID #35080
git-svn-id: trunk@49336 -
(cherry picked from commit 18a78020fa)
2021-10-29 22:42:19 +02:00
marco
b56aa3d475 * fix for mantis #39153 to fix calling release unbalanced wrt initialize.
git-svn-id: trunk@49615 -
(cherry picked from commit 84507b49c2)
2021-10-24 17:35:19 +02:00
marco
765c8bb557 * ProjectDir changes broke adding index and toc to latex CHMs
git-svn-id: trunk@49617 -
(cherry picked from commit 622554b59f)
2021-10-24 17:35:03 +02:00
florian
d9cb4be507 * last commit was wrong 2021-10-24 13:57:27 +02:00
florian
62875030b5 * hopefully i8086 compilation fixed 2021-10-24 13:50:48 +02:00
florian
feb9274963 * fix tcgobj.a_op_reg_ref and tcgobj.a_op_ref_reg after recent avr related merges 2021-10-24 12:40:38 +02:00
nickysn
c9d2028ebd * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign
* changed the way OP_NEG and OP_NOT are handled in op_reg_ref, in order to be
  consistent with op_reg_reg
* introduced op_reg,op_ref,op_subsetreg,op_subsetref and op_loc for the unary
  operations only (OP_NEG,OP_NOT)

git-svn-id: trunk@45302 -
(cherry picked from commit 0f6ab0de17)

# Conflicts:
#	compiler/cgobj.pas
2021-10-24 12:40:38 +02:00
florian
3b8df7736c * patch by Christo Crause: Passing a file name with extension to cross compiler
with -o causes error, fixed, resolves #36562

git-svn-id: trunk@43921 -
(cherry picked from commit 9926eb8dc6)

# Conflicts:
#	compiler/systems/t_embed.pas
2021-10-24 12:40:38 +02:00
Jeppe Johansen
38576b4830 * Add support for generating map files for embedded target.
git-svn-id: trunk@43866 -
(cherry picked from commit 89a961f960)
2021-10-24 12:40:38 +02:00
florian
d2d1c30b53 * patch by Christo Crause, resolves #38961, fixes the following formatting and spelling problems in the AVR compiler files:
- Change spelling of AM_PREDRECEMENT to AM_PREDECREMENT
    - Fix multiline comment style to use {}
    - Fix indenting of code in method tcgavr.g_concatcopy

git-svn-id: trunk@49474 -
(cherry picked from commit aec49340a3)
2021-10-24 12:40:38 +02:00
florian
6a653c298c * patch by Christo Crause: do not generate LDD for avrtiny, resolves #38958
git-svn-id: trunk@49473 -
(cherry picked from commit 9d6ceda532)
2021-10-24 12:40:38 +02:00
florian
235c82feaa + AVR: MovOp2Op 2 optimization
git-svn-id: trunk@49350 -
(cherry picked from commit 9bfc731bb6)
2021-10-24 12:40:38 +02:00
florian
e168707f5b * patch by Christo Crause: handle references to absolute address 0 correctly, resolves #38861
git-svn-id: trunk@49344 -
(cherry picked from commit 5e1e6c24a4)
2021-10-24 12:40:38 +02:00
florian
1333d5aea8 + patch by Dimitrios Chr. Ioannidis: include dwar-3 sections in avr-embedded linker script
git-svn-id: trunk@48659 -
(cherry picked from commit 98a748bdd6)
2021-10-24 12:40:38 +02:00
florian
0049abce42 * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321
git-svn-id: trunk@48095 -
(cherry picked from commit 6d75992674)
2021-10-24 12:40:38 +02:00
florian
99588969b9 * patch by Christo Crause: Fix missed optimization opportunities, resolves #38285
git-svn-id: trunk@47925 -
(cherry picked from commit 3482121831)
2021-10-24 12:40:38 +02:00
florian
d75fb82753 * do not reuse a loaded reference for avrtiny in a_op_const*, resolves #38142
git-svn-id: trunk@47612 -
(cherry picked from commit eb098a3d11)

# Conflicts:
#	compiler/cgobj.pas
2021-10-24 12:40:38 +02:00
florian
af4eb12b43 * patch by Christo Crause to fix illegal ldd generation for avrtiny, resolves #37929
git-svn-id: trunk@47118 -
(cherry picked from commit fa54335938)
2021-10-24 12:40:38 +02:00
florian
64ff162e3f * patch by Christo Crause: r0, r1 are no volatile registers for avr tiny
git-svn-id: trunk@47102 -
(cherry picked from commit b8c707ed7e)
2021-10-24 12:40:37 +02:00
florian
35b2d80271 * avr: patch by Christo Crause: replace findreg_by_gasname with gas_regname_table, resolves #37131
git-svn-id: trunk@45509 -
(cherry picked from commit 37a3b542e6)
2021-10-24 12:40:37 +02:00