Commit Graph

61465 Commits

Author SHA1 Message Date
nickysn
ec0fa8f46f - removed unused variables and types from Video.SysUpdateScreen
git-svn-id: branches/unicodekvm@48536 -
2021-02-08 14:26:52 +00:00
nickysn
6109c56066 - removed the cp850 code page mapping from the windows video unit (it is no longer used)
git-svn-id: branches/unicodekvm@48535 -
2021-02-08 14:20:29 +00:00
nickysn
4864aba47a - removed useunicodefunctions from the windows video unit
git-svn-id: branches/unicodekvm@48534 -
2021-02-08 14:13:40 +00:00
nickysn
11db30ab3d * use CP_OEMCP to convert characters in LegacyChar2ExtendedGraphemeCluster
git-svn-id: branches/unicodekvm@48533 -
2021-02-08 14:06:44 +00:00
nickysn
453bdaaafc * switched the windows video driver to use the enhanced (unicode) video buffer
git-svn-id: branches/unicodekvm@48532 -
2021-02-08 13:53:19 +00:00
nickysn
2746b0e035 + added operator = for comparison of TEnhancedVideoCell records
git-svn-id: branches/unicodekvm@48531 -
2021-02-08 13:52:39 +00:00
nickysn
1b2e13bf77 + enabled all debug code generation options in the video unit test .lpi files
git-svn-id: branches/unicodekvm@48530 -
2021-02-08 11:18:22 +00:00
nickysn
56f10ae916 * synchronized with trunk
git-svn-id: branches/unicodekvm@48529 -
2021-02-08 11:13:57 +00:00
nickysn
3634e7823f * .lpi updated
git-svn-id: branches/unicodekvm@48528 -
2021-02-08 11:10:55 +00:00
nickysn
d4913f490f * fixed off by one errors in the new video unit routines
git-svn-id: branches/unicodekvm@48527 -
2021-02-08 11:10:37 +00:00
marco
59a16914f3 * sqrt is 4 characters long, noticed by Artlogic.
git-svn-id: trunk@48525 -
2021-02-08 09:16:13 +00:00
Károly Balogh
ada3d2050c m68k: write inline floating point immediates as hex consts, instead of scientific notation. the scientific notation format parsing depends on the libc the assembler was linked against, which can lead to varying results and compile errors
git-svn-id: trunk@48524 -
2021-02-08 05:01:45 +00:00
Károly Balogh
d0178f7ae0 m68k: fix a_loadfpu_ref_reg to call a_loadfpu_reg_reg instead of a_load_reg_reg. made a_loadfpu_reg_reg internalerror on invalid target sizes when loading to a different reg size
git-svn-id: trunk@48523 -
2021-02-08 04:12:21 +00:00
Károly Balogh
77fee8b4eb m68k: do not use OS_NO for FPU locations, but properly promote location sizes into the CG
git-svn-id: trunk@48522 -
2021-02-08 04:07:04 +00:00
florian
3e453f92fc * statx based Sysutils.FileGetDate with handle fixed
+ test

git-svn-id: trunk@48520 -
2021-02-07 17:59:28 +00:00
florian
b08717fef6 * make statx based Sysutils.FileAge working with relative pathes
+ test

git-svn-id: trunk@48519 -
2021-02-07 17:41:27 +00:00
Jonas Maebe
91d877919e * strip codesignature when comparing compiler binaries on Darwin
o fixes non-converging "make cycle" on macOS/AArch64 with DEBUG=1

git-svn-id: trunk@48518 -
2021-02-07 14:40:14 +00:00
florian
539a578cce * create \index entries in the messages.inc for an index of message texts and numbers in the user manual
git-svn-id: trunk@48517 -
2021-02-06 16:59:02 +00:00
florian
b1f7fb4ba1 * test for already fixed issue #24434
git-svn-id: trunk@48516 -
2021-02-06 12:53:04 +00:00
florian
d0910b5ac8 * allow sub/add nodes in constant pointer expressions, resolves #34027
git-svn-id: trunk@48514 -
2021-02-05 22:10:27 +00:00
florian
91586331b5 * x86_64-linux: assembler helpers syscalls do not need a stackframe
git-svn-id: trunk@48512 -
2021-02-04 20:57:11 +00:00
florian
1e960a9aeb * the size of the CIE_pointer in an FDE is always 32 bit
git-svn-id: trunk@48507 -
2021-02-03 20:05:56 +00:00
pierre
64bd8336f1 Fix compilation of linux unit with -dFPC_USE_LIBC option
git-svn-id: trunk@48504 -
2021-02-02 23:56:22 +00:00
florian
a67c184200 * test for already fixed issue #32139
git-svn-id: trunk@48501 -
2021-02-02 21:36:54 +00:00
nickysn
4119d1e05f * synchronized with trunk
git-svn-id: branches/unicodekvm@48499 -
2021-02-02 04:03:00 +00:00
Mattias Gaertner
d4d401b26d fcl-passrc: resolver: include(intset,int)
git-svn-id: trunk@48497 -
2021-02-01 22:12:48 +00:00
florian
40b8bde305 * test for 32 bit targets fixed
git-svn-id: trunk@48496 -
2021-02-01 21:14:19 +00:00
florian
3922926d17 * disable new syscalls on android
git-svn-id: trunk@48495 -
2021-02-01 21:05:23 +00:00
michael
f2a4a9d0d4 * Specify mode
git-svn-id: trunk@48490 -
2021-02-01 13:16:20 +00:00
michael
f128e64ccb * Some small improvements from Andrey Sobol: better specialization declaration in markdown, write more detailed end log
git-svn-id: trunk@48489 -
2021-02-01 13:15:05 +00:00
nickysn
c907f4cb28 + added lazarus projects for the video unit tests for Windows
git-svn-id: branches/unicodekvm@48488 -
2021-02-01 11:29:09 +00:00
nickysn
d5283cae7f + support both legacy and enhanced video buffers in Video.ClearScreen
git-svn-id: branches/unicodekvm@48487 -
2021-02-01 06:19:12 +00:00
nickysn
cb6ba25e1b * formatting
git-svn-id: branches/unicodekvm@48486 -
2021-02-01 06:11:32 +00:00
nickysn
ce6260c897 + added unicode video unit test
git-svn-id: branches/unicodekvm@48485 -
2021-02-01 06:09:32 +00:00
nickysn
ea3124ed4a + introduced initialization of the video unit in enhanced (Unicode) mode
git-svn-id: branches/unicodekvm@48484 -
2021-02-01 06:08:13 +00:00
nickysn
90113ef819 + added simple test for the video unit
git-svn-id: branches/unicodekvm@48483 -
2021-02-01 05:10:39 +00:00
nickysn
b13c8e3ef6 * use UnicodeString instead of WideString in TEnhancedVideoCell
git-svn-id: branches/unicodekvm@48482 -
2021-02-01 03:26:56 +00:00
nickysn
c15f12ef0d * synchronized with trunk
git-svn-id: branches/unicodekvm@48481 -
2021-02-01 01:13:58 +00:00
florian
b4a1c27c58 * renamed new syscall wrapper in linux to be consist with the others
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
svenbarth
d13838ac0b + add a test which ensures that a "const TVarData" parameter is passed as a reference.
This is required for Delphi compatibility as implementers of IVarInvokable or
  inheritors of TInvokableVariantType need to modify the variant data by using
  a pointer to the TVarData because it's passed as const and thus not modifyable
  by itself.
  This behavior is documented in so far as the C++ builder documentation shows
  that the same parameter is implemented as "const&".

git-svn-id: trunk@48478 -
2021-01-31 21:23:29 +00:00
svenbarth
fe5b29c111 * fix for Mantis #38249: apply adjusted patch by avk to implemnt CastTo handling when the source variant is a custom variant, but the destination type is not
+ added test (includes test for #20849)

git-svn-id: trunk@48477 -
2021-01-31 20:26:26 +00:00
florian
90ba89a128 * linux: FileGetDate makes use of statx if needed
git-svn-id: trunk@48476 -
2021-01-31 18:38:50 +00:00
florian
ef04e3983f * sysutils on linux uses only the new syscalls if the system has no suitable clong type
git-svn-id: trunk@48475 -
2021-01-31 18:20:01 +00:00
florian
c3656c6b1c * fallback to fputime if fputimensat fails as not being available
git-svn-id: trunk@48474 -
2021-01-31 18:09:57 +00:00
florian
d402e0b940 * Y2K38 problem for linux in sysutils.findfirst/findnext should be solved
git-svn-id: trunk@48473 -
2021-01-31 18:02:55 +00:00
florian
b8ab06aae7 + futimens syscall
* make use of futimens syscall in sysutils unit
  + tests

git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
e6f575d43c + make use of the fputimensat syscall on linux to enable always times beyond 32 bit
git-svn-id: trunk@48471 -
2021-01-31 16:43:53 +00:00
florian
0c77536f11 + linux.fputimensat which properly uses the _tim64 version if needed and available
+ test

git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
florian
33cd5778cd * properly check for linux version supporting statx
git-svn-id: trunk@48469 -
2021-01-31 16:23:23 +00:00
nickysn
0d1fef96a1 + introduced OldEnhancedVideoBuf
git-svn-id: branches/unicodekvm@48468 -
2021-01-31 14:28:41 +00:00