Commit Graph

55566 Commits

Author SHA1 Message Date
Sven/Sarah Barth
ab5f200a61 * fix #39548: correctly declare the function result of SysAllocStringLen()
(cherry picked from commit e39f7ec8a0)
2022-06-26 18:58:13 +02:00
marcoonthegit
72769d9560 * typo fix in last commit
(cherry picked from commit c4be74abf3)
2022-06-26 18:56:42 +02:00
marcoonthegit
b40ebe5d99 * Also set clock12 to false if ampm is before %I. bug #39760 and fix from liao bozhi
(cherry picked from commit 009816cbc5)
2022-06-26 18:56:24 +02:00
marcoonthegit
d85a33474e * Improve Delphi compatibility of TEvent(object) constructors, while keeping also backwards compat by adding default parameters.
(cherry picked from commit 616538c251)
2022-06-20 19:54:34 +02:00
marcoonthegit
b76535ebe4 * TStringlist constructor with ownsobjects parameter, Delphi compatible + empty constructor to avoid compiler getting confused
(cherry picked from commit 2457016671)
2022-06-20 19:54:11 +02:00
marcoonthegit
2aa8da16c5 * add GetDateFormatEx, from bug #35118 by 440bx
(cherry picked from commit db9375d23f)
2022-06-20 12:18:04 +02:00
marcoonthegit
f289275932 * also remove .git dirs.
(cherry picked from commit ca332f1002)
2022-06-20 12:17:38 +02:00
marcoonthegit
8c8178443d * add overload to getenvironmentvariable so that it is also found when windows is before sysutils in the uses list. bug #39448
(cherry picked from commit c203097ec2)
2022-06-20 12:17:21 +02:00
marcoonthegit
dda26e2c01 * typo fix in last commit.
(cherry picked from commit dcb3906741)
2022-06-20 11:08:42 +02:00
marcoonthegit
a97beb3fd5 * add IEquatable<T>, requested on forum.
(cherry picked from commit d38c881828)
2022-06-20 11:00:32 +02:00
marcoonthegit
8fae763673 * fix ipv6_ constants in unxsockh. bug 29111 Apparently changed since 2005
(cherry picked from commit 41704feab4)
2022-06-20 11:00:03 +02:00
marcoonthegit
4d9fbd2faf * fix bit setting macros in windows unit. Should fix bug #39272.
(bit setting only allowed setting bits to one, not zero, and not added).

(cherry picked from commit b42bc966ac)
2022-06-20 10:59:44 +02:00
marcoonthegit
ea03f9c3d2 * fix TreeView_GetItemRect reported by 440bx on forum
(cherry picked from commit 4a8ddc50b3)
2022-06-20 10:59:16 +02:00
marcoonthegit
d9bac3a47d * restore old behaviour for non freebsd for _syscall
(cherry picked from commit e384e36e84)
2022-06-19 17:20:13 +02:00
marcoonthegit
c75945a32b * add parameter (=0) to getdirentries, hopefully fixes occasional EFAULT loops.
probably the random value of the register caused problems, already in the patch from bug #37220

(cherry picked from commit adf1a0642f)
2022-06-19 15:24:47 +02:00
marcoonthegit
4f07bff6ac * commented statat for non freebsd, and fixed a typo.
(cherry picked from commit 43010ed471)
2022-06-19 13:37:52 +02:00
pierre
001a37aa97 Update dev_t, ino_t and nlink_t types to cunit64
git-svn-id: trunk@41968 -
(cherry picked from commit 429bd929e8)
2022-06-18 15:03:54 +02:00
Pierre Muller
02b969cc59 Fix freebsd rtl compilation failure after better type check of variant element inside record case clause
(cherry picked from commit 4b196ece47)
2022-06-18 15:03:31 +02:00
pierre
87961ec9ea FreeBSD fixes for stat and dirent records
git-svn-id: trunk@41967 -
(cherry picked from commit 5fb61dc386)
2022-06-18 14:58:56 +02:00
marcoonthegit
69eb400d54 * commit ACM's fpc.diff, resolves mantis #37220 and FreeBSD 12/13 syscall port
(cherry picked from commit 99e3789fa3)
2022-06-18 14:08:07 +02:00
marcoonthegit
bd4b14a28b * manually merged part of d8021a1102 that prohibits later merges 2022-06-18 14:06:43 +02:00
marcoonthegit
622472d891 * prt0 for x86_64
(cherry picked from commit 4118173e1d)
2022-06-18 13:47:06 +02:00
marcoonthegit
d604cadab0 * fix ident patch script and i386/cprt0.as
(cherry picked from commit 61f559ff56)
2022-06-18 13:46:30 +02:00
marcoonthegit
ae6945b120 * change note section to be more 12 conformant
(cherry picked from commit b201d0a752)
2022-06-18 13:45:24 +02:00
marcoonthegit
f1c11cea44 * set freebsd to ld.bfd
(cherry picked from commit fb7565fc6c)
2022-06-18 13:44:38 +02:00
marcoonthegit
ce01ac7695 * FreeBSD version to 12 in trunk
(cherry picked from commit b36b610424)
2022-06-18 13:43:25 +02:00
florian
be560dadf8 * manual fixes to get .weak support in fixes 2022-04-18 23:00:40 +02:00
florian
0afa5dc4aa + support .weak in the internal assembler
(cherry picked from commit 191dd0c637)

# Conflicts:
#	compiler/assemble.pas
2022-04-18 22:50:53 +02:00
florian
3dc09bbedd * provide __libc_csu_init and __libc_csu_fini as weak symbols
(cherry picked from commit 35a7490ae1)
2022-04-18 22:45:08 +02:00
florian
9bd665d069 * pic'fied startup code
(cherry picked from commit baa28faa19)
2022-04-18 22:44:57 +02:00
florian
6db696a782 * define __libc_csu_* symbols as weak symbols on aarch64-linux
(cherry picked from commit a20a7e3497)
2022-04-11 20:46:02 +02:00
Sven/Sarah Barth
9b467007ea * fix #32034 and fix #39656: in a for-in-loop with an array constructor enforce the type of the loop variable for the elements
+ added tests

(cherry picked from commit 815734c47a)
2022-04-09 15:05:54 +02:00
Sven/Sarah Barth
d8aa721f88 * free the placeholder for the count of the dynamic array in end_dynarray_const() and document it as such
(cherry picked from commit 1180589046)
2022-04-09 15:05:32 +02:00
Pierre Muller
d9ac2f58ad Revert "Add trunk only system_CPU_OS values to ensure that the same integervlaue is uused for system_aarch64_darwin"
This reverts commit 313643ea1c.
2022-03-24 21:23:18 +00:00
Pierre Muller
f320acd7e3 Revert "build fix of ppudump after 313643ea1c4d"
This reverts commit 25166cf7ca.
2022-03-24 21:23:02 +00:00
Karoly Balogh
25166cf7ca build fix of ppudump after 313643ea1c 2022-03-24 09:56:43 +01:00
Pierre Muller
313643ea1c Add trunk only system_CPU_OS values to ensure that the same integervlaue is uused for system_aarch64_darwin 2022-03-24 07:25:51 +00:00
Jonas Maebe
6827c4810d PPC64: fix wrong ifdef for SYSV ABI
The TOC is used by PPC64, not by PPC32. Resolves #39571

(cherry picked from commit 14289173bb)
2022-03-20 13:45:16 +01:00
Jonas Maebe
076c9b06c1 PPC64: don't save TOC in pure assembler routines
Fix by Pierre

(cherry picked from commit 0fcc57fb4b)
2022-03-20 13:45:16 +01:00
Jonas Maebe
89bf3fe5ea PowerPC32 SysV: fix abis_ppc_toc declaration
No TOC on those platforms (as mentioned in tcgppcgen.get_rtoc_offset), so also
exclude from this constant

(cherry picked from commit 2ee45c7ed8)
2022-03-20 13:45:15 +01:00
Jonas Maebe
04717861ac TOC handling: clean up
Also fix on 32 bits PowerPC

(cherry picked from commit 629c1de460)
2022-03-20 13:45:15 +01:00
florian
c565900c41 * patch by J. Gareth Moreton: handle register allocations correctly in MovMov2Mov 3, resolves #38703
git-svn-id: trunk@49128 -
(cherry picked from commit 503fc85dff)
2022-03-13 19:07:52 +01:00
florian
6d97cff2e3 * added eliglible and blocked information to the current repository 2022-03-12 19:39:10 +01:00
Pierre Muller
224e83f67a Regenerated after fpcmake.inc change 2022-03-10 14:52:28 +01:00
Pierre Muller
52bda8fa7c Add _IO_stdin_used global
(cherry picked from commit ae3c0a2151)
2022-03-09 21:45:41 +01:00
Tomas Hajny
3c93c77902 * align shortname to previous releases
(cherry picked from commit 8602a29383)

# Conflicts:
#	utils/json2pas/fpmake.pp
2022-03-05 23:51:14 +01:00
Tomas Hajny
f9f6146ed3 * make shortname really short
git-svn-id: trunk@48838 -
(cherry picked from commit 0aae9dd375)
2022-03-04 23:01:16 +01:00
Tomas Hajny
e31036b5d6 * include installer building in zipinstall make target when building for relevant OS targets
(cherry picked from commit d70bb6a8c2)
2022-03-04 22:56:42 +01:00
florian
db49020205 * patch from Debian package by Abou Al Montacir: Change path of localization fies to fit Debian standard, http://bugs.debian.org/73368
(cherry picked from commit 5bdf60376a)
2022-03-04 22:53:01 +01:00
florian
896f33681f * patch from Debian packages by Paul Gevers, fixes spelling
(cherry picked from commit 19ff0fe9e5)
2022-03-04 22:52:30 +01:00