Michaël Van Canneyt
fd6c033b9d
* Some nested loop improvements. fixes issue #40250
...
(cherry picked from commit 5da20fc860
)
2023-06-20 12:55:46 +02:00
marcoonthegit
62a326553e
* more loopvar sorting by Lagwaggon.
...
(cherry picked from commit 4d0b397029
)
2023-06-20 12:51:03 +02:00
marcoonthegit
155b065ecd
* fix from Werner P. Setter for clipregion to fix memory leak.
...
resolves #40232
(cherry picked from commit facf28fb29
)
2023-06-20 12:32:32 +02:00
florian
f4583b0ce4
* patch by Werner Pamler: Typo in TFPCustomCanvas.Draw, resolves #40176
...
(cherry picked from commit 1fad287896
)
2023-06-20 12:31:14 +02:00
Michaël Van Canneyt
f88632b6a2
* Fix AV when reading palette. Fixes issue #39823
...
(cherry picked from commit f754ecf3d4
)
2023-06-20 12:17:46 +02:00
marcoonthegit
0a05f301f2
* 4 more headers added in fcl-image
...
(cherry picked from commit 6c466d2a38
)
2023-06-20 12:14:31 +02:00
michael
1e23652e48
* Fix issue ID #38900 : union wrongly implemented
...
git-svn-id: trunk@49376 -
(cherry picked from commit 59d4aaf5ec
)
2023-06-20 10:53:19 +02:00
marcoonthegit
f14b65ccdc
* generate fp.cfg help section.
...
(cherry picked from commit d2ddf47d19
)
2023-06-19 22:04:43 +02:00
marcoonthegit
bd1682f3e9
* some extra constants and added typing to setexecutionstate
...
(cherry picked from commit 2ac86ab662
)
2023-06-19 18:15:36 +02:00
marcoonthegit
5a97fbbc27
* SetThreadExecutionState
...
(cherry picked from commit 4871ad4707
)
2023-06-19 18:14:33 +02:00
marcoonthegit
fc9a5407c1
* change HDEVNOTIFY to lpvoid/pointer instead of thandle
...
(cherry picked from commit f0debbe649
)
2023-06-19 16:11:10 +02:00
marcoonthegit
c876d508f1
* RegisterDeviceNotification
...
(cherry picked from commit 67eac52f07
)
2023-06-19 16:11:10 +02:00
marcoonthegit
1ab189e253
* movefile_* consts expanded
...
(cherry picked from commit f4155dc710
)
2023-06-19 16:11:09 +02:00
marcoonthegit
ca554ff2b0
* use predefined pointer types from system as much as possible. This avoids trouble between objpas.pinteger and windows.pinteger in generics. (if windows is only in implementation).
...
(cherry picked from commit e9352b4894
)
2023-06-19 16:09:10 +02:00
marcoonthegit
19ec74f353
* move ifdefed part from tvitem* to tvitemex*, closes #40312
...
(cherry picked from commit 9bfb45dc05
)
2023-06-19 16:08:11 +02:00
florian
92fe577846
* fix error on win64 and concerns about pulling math into the windows unit by a local arctan2 copy
...
(cherry picked from commit 7bd5613954
)
2023-06-19 11:08:50 +02:00
florian
4e32172df0
* fixed and improved generic ArcTan2 implementation by Paolo Valle, resolves #39861
...
(cherry picked from commit f18d6f1c85
)
2023-06-19 08:57:34 +00:00
marcoonthegit
705e7429d3
* Add AMPM to string, patch from closes #39973
...
(cherry picked from commit f9a76aaa56
)
2023-06-18 16:16:32 +02:00
marcoonthegit
3aa9e1dc62
* free doc before calling a readxmlfile procedure routine with OUT parameter. Fixes #40126
...
(cherry picked from commit 8c888d9744
)
2023-06-18 16:13:24 +02:00
marcoonthegit
66bfb69e96
* Tpoint.Angle initial version using arctan2
...
(cherry picked from commit 5fb88cef00
)
2023-06-18 16:12:27 +02:00
marcoonthegit
12c586f22e
* fix for issue #40006
...
set jwadhcpcsdk packing to 8 for win64.
(cherry picked from commit 3b4c396edd
)
2023-06-18 16:02:14 +02:00
Pierre Muller
0c53c25dbf
Set iconv_is_in_libc macro for DragonFly OS
...
(cherry picked from commit a342b74f66
)
2023-06-09 12:54:51 +02:00
Pierre Muller
2c884b8e49
Set macro iconv_is_in_libc for FreeBSD OS
...
(cherry picked from commit 01ad5f2c28
)
2023-06-09 12:54:36 +02:00
Károly Balogh
ad0f8099d5
netbsd: updated to link against the right setlocale function. the renaming from __setlocale_mb_len_max_32 to __setlocale50 occured in NetBSD include/locale.h in rev 1.17, which was in 2010, and shipped in NetBSD 6 in 2012.
...
git-svn-id: trunk@43118 -
(cherry picked from commit 7f0675d937
)
2023-06-09 12:54:17 +02:00
Pierre Muller
2a33e47277
Add test for mips code generation bug
...
(cherry picked from commit e1b3c03daf
)
2023-06-09 07:53:30 +01:00
Pierre Muller
837df925c5
Short version of the mips code genration bug
...
(cherry picked from commit dce70b3b70
)
2023-06-09 07:53:29 +01:00
florian
56a99d2512
+ sanity checks in mips and sparc register allocator
...
(cherry picked from commit 03f4685455
)
2023-06-09 07:53:29 +01:00
Pierre Muller
36c7b7b655
Improve test for unaligned access
...
(cherry picked from commit 11a390117c
)
2023-05-25 21:37:47 +00:00
pierre
91aad00398
Fix for bug report 38549 about wrong code generation
...
for mips/mipsel and riscv32/riscv64 CPUs for
set operators '<=' and '>='.
New tests for this bug report.
tw38549.pp, main source, also included
by tw38549a.pp, tw38549b.pp, tw38459c.pp and tw38459d.pp
with explicit {$packset X}, with X=1,2,4, or 8 added.
git-svn-id: trunk@48874 -
(cherry picked from commit 01a351f804
)
2023-05-25 21:37:47 +00:00
Pierre Muller
caf964ac31
Fix storing of unaligned 64-bit to memory
...
(cherry picked from commit dc04a8a677
)
2023-05-25 21:37:47 +00:00
Pierre Muller
59ad47503b
Avoid float_raise call in FPC_SOFT_FPUX80 code
...
(cherry picked from commit 5cedecbe25
)
2023-05-25 21:37:47 +00:00
pierre
0b5af8a53f
Extend ait_ua_elf_const2str to all aitconst_XXX to fix mips/mipsel RTTI generation
...
git-svn-id: trunk@45719 -
(cherry picked from commit f71415a2de
)
2023-05-25 21:37:47 +00:00
Pierre Muller
7b2f6871ff
Fix bug report #39952 .
...
* compiler/aggas.pas: Avoid use of .long for 64bit constant
for targets that automatically insert alignments.
+ tests/webtbs/tw39952.pp: New test from bug report 39952.
(cherry picked from commit d217a459aa
)
2023-05-25 21:37:47 +00:00
Pierre Muller
2640e77307
Fix a_load64_reg_ref and a_load64_ref_reg mips methods
...
(cherry picked from commit d18ff64ed7
)
2023-05-25 21:37:47 +00:00
Pierre Muller
2aa3270ca0
Handle unaligned references in 64-bit a_load_ref_reg and a_load_reg_ref methods
...
(cherry picked from commit c96bb0f416
)
2023-05-25 21:37:47 +00:00
florian
07f3b23c78
* handle -Ca (as proposed by Michael Ring) and -Cf in the first option pass as well
...
git-svn-id: trunk@48668 -
(cherry picked from commit 50bc387688
)
2023-05-25 21:37:47 +00:00
pierre
8d165d7e98
Revert wrong part in commit 42580: reinstate 'override FPC=' for cycle targets
...
git-svn-id: trunk@42585 -
(cherry picked from commit c74007b580
)
2023-05-25 17:36:26 +02:00
florian
b3baa35179
* handle -Ca (as proposed by Michael Ring) and -Cf in the first option pass as well
...
git-svn-id: trunk@48668 -
(cherry picked from commit 50bc387688
)
2023-04-16 18:26:18 +02:00
Pierre Muller
a1040cf1b2
Treat -Cb / -Cb- options in first pass (to be able to use FPC_BIG_ENDIAN inside .fpc.cfg config file)
...
(cherry picked from commit 892220d6fe
)
2023-04-16 18:03:50 +02:00
marcoonthegit
9b97e5743e
Merge branch 'fixes_3_2' of gitlab.com:freepascal.org/fpc/source into fixes_3_2
2023-04-16 17:40:22 +02:00
marcoonthegit
2563a7a072
* Add ptr types for fixed(u)int, fixes #40205
...
(cherry picked from commit 33071fd179
)
2023-04-16 17:39:35 +02:00
Pierre Muller
2a3efea7ba
Avoid read past buffer end for empty source when checking for utf-8 signature
...
(cherry picked from commit aaf356ba9f
)
2023-04-16 17:35:31 +02:00
marcoonthegit
d6587b00f5
Merge branch 'fixes_3_2' of gitlab.com:freepascal.org/fpc/source into fixes_3_2
2023-04-16 17:33:08 +02:00
marcoonthegit
40906ec49d
* fix #40242 by inverting some more x and y loops
...
(cherry picked from commit 322e8ca7e3
)
2023-04-16 17:32:47 +02:00
marcoonthegit
c944b0446e
* switch loops in TFPCustomCanvas.Erase closes #40246
...
(cherry picked from commit 5e47b4a7b9
)
2023-04-16 17:32:20 +02:00
florian
3498d78aad
* make eabihf/eabi changeable at compilation time
...
git-svn-id: trunk@44706 -
(cherry picked from commit 9d7261a60b
)
2023-04-06 22:02:58 +02:00
florian
15194c6ee9
* correctly compile constant multiplications by 6 for 80386 (fix needed only for 3.2.x), resolves #40230
2023-04-02 22:52:10 +02:00
ccrause
aadb53e72c
Only perform OpCp2Op optimization when the first Op is ANDI and comparison is against 0.
...
(cherry picked from commit f83a8f0f8f
)
2023-03-10 23:27:48 +01:00
Marcus Sackrow
0c5256300a
AThreads: ThreadInfo for the main thread move to a global var to prevent problems with heap manager
2023-02-20 10:19:18 +01:00
Marcus Sackrow
ac93ad48e3
Amiga: System CloseList() and CleanupThreadProcChain() are called after the memory manager is already shut down changed to native os memory allocation
2023-02-20 10:18:38 +01:00