+ added test (needs to work with any exception handling mechanism; currently tested with SetJmp/LongJmp, SEH 32-bit and SEH 64-bit based exception handling)
git-svn-id: trunk@49486 -
(cherry picked from commit 2b3edb2c53)
This version is correct and supposedly better in other ways (except for a bit of clarity maybe).
(cherry picked from commit 1c4151d82e)
edited to work around changes related to the massive unmergable dotted rtl commits.
* fix for Mantis #38145: allow overloading of assignment operators that return ShortStrings with a specific size
+ added tests
The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
- if a found assignment operator returns a default ShortString then that is used
- if only one assignment operator to a String[x] is found then that is used
- otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
........
* with the recent ShortString changes this test is no longer needed as it was added exactly to check the condition I removed, so disable it for 3.2.1 and newer (as I want to merge these changes back to fixes)
........
git-svn-id: branches/fixes_3_2@49055 -
U packages/rtl-objpas/src/inc/strutils.pp
A tests/test/units/strutils/tboyer.pp
--- Recording mergeinfo for merge of r48752 into '.':
U .
# revisions: 48752
r48752 | florian | 2021-02-21 14:54:25 +0100 (Sun, 21 Feb 2021) | 2 lines
Changed paths:
M /trunk/packages/rtl-objpas/src/inc/strutils.pp
A /trunk/tests/test/units/strutils/tboyer.pp
* fix by avk for issue #38513
+ test
git-svn-id: branches/fixes_3_2@49050 -
* apply patch by Blaise.ru to allow record methods to be assigned to method variables as well (this is Delphi compatible)
+ added test
........
* apply patch by Blaise.ru to allow specializations for the result type of function and method variables
+ added tests
........
* fix for Mantis #38238: when creating a copy of a procdef for a procvar set the methodpointer flag also for methods of records
+ added test
........
git-svn-id: branches/fixes_3_2@48653 -
U rtl/objpas/sysutils/fmtflt.inc
A tests/test/units/sysutils/tw37374.pp
-- Aufzeichnung der Informationen für Zusammenführung von r46778 in ».«:
U .
git-svn-id: branches/fixes_3_2@48104 -
U rtl/inc/text.inc
--- Recording mergeinfo for merge of r46853 into '.':
U .
--- Merging r46864 into '.':
G rtl/inc/text.inc
--- Recording mergeinfo for merge of r46864 into '.':
G .
--- Merging r46946 into '.':
G rtl/inc/text.inc
A tests/test/units/system/tseekeof.pp
--- Recording mergeinfo for merge of r46946 into '.':
G .
--- Merging r47542 into '.':
U rtl/go32v2/sysutils.pp
U rtl/msdos/sysutils.pp
U rtl/watcom/sysutils.pp
--- Recording mergeinfo for merge of r47542 into '.':
G .
--- Merging r47543 into '.':
G rtl/msdos/sysutils.pp
--- Recording mergeinfo for merge of r47543 into '.':
G .
--- Merging r47544 into '.':
G rtl/go32v2/sysutils.pp
--- Recording mergeinfo for merge of r47544 into '.':
G .
# revisions: 46853,46864,46946,47542,47543,47544
r46853 | hajny | 2020-09-12 01:43:32 +0200 (Sat, 12 Sep 2020) | 1 line
Changed paths:
M /trunk/rtl/inc/text.inc
* fix for bug #37716 by Andrey 'Croco' Stolyarov
r46864 | hajny | 2020-09-14 07:30:59 +0200 (Mon, 14 Sep 2020) | 1 line
Changed paths:
M /trunk/rtl/inc/text.inc
* fix for problem with commit 46853
r46946 | hajny | 2020-09-24 21:33:28 +0200 (Thu, 24 Sep 2020) | 1 line
Changed paths:
M /trunk/rtl/inc/text.inc
A /trunk/tests/test/units/system/tseekeof.pp
* simplified version of SeekEof for improved TP/BP/Delphi compatibility by Andrey 'Croco' Stolyarov as fix for #37716, plus a new test for testing the compatibility
r47542 | hajny | 2020-11-24 01:25:20 +0100 (Tue, 24 Nov 2020) | 1 line
Changed paths:
M /trunk/rtl/go32v2/sysutils.pp
M /trunk/rtl/msdos/sysutils.pp
M /trunk/rtl/watcom/sysutils.pp
+ provided sysbeep for DOS targets
r47543 | hajny | 2020-11-24 01:27:06 +0100 (Tue, 24 Nov 2020) | 1 line
Changed paths:
M /trunk/rtl/msdos/sysutils.pp
* reverted a change not belonging to the previous commit
r47544 | hajny | 2020-11-24 01:29:08 +0100 (Tue, 24 Nov 2020) | 1 line
Changed paths:
M /trunk/rtl/go32v2/sysutils.pp
* reverted a change not belonging to the previous commit
git-svn-id: branches/fixes_3_2@47907 -
U compiler/systems/t_embed.pas
--- Recording mergeinfo for merge of r45365 into '.':
U .
--- Merging r45707 into '.':
U compiler/defcmp.pas
A tests/tbs/tb0675.pp
--- Recording mergeinfo for merge of r45707 into '.':
G .
--- Merging r46279 into '.':
U compiler/pexpr.pas
A tests/test/tarrconstr8.pp
--- Recording mergeinfo for merge of r46279 into '.':
G .
--- Merging r47110 into '.':
U compiler/symdef.pas
A tests/tbs/tb0679.pp
A tests/tbs/tb0680.pp
--- Recording mergeinfo for merge of r47110 into '.':
G .
git-svn-id: branches/fixes_3_2@47819 -
U compiler/defcmp.pas
--- Recording mergeinfo for merge of r45972 into '.':
U .
--- Merging r47101 into '.':
U compiler/pexpr.pas
A tests/webtbs/tw37844.pp
--- Recording mergeinfo for merge of r47101 into '.':
G .
--- Merging r47253 into '.':
G compiler/defcmp.pas
A tests/webtbs/tw38012.pp
--- Recording mergeinfo for merge of r47253 into '.':
G .
--- Merging r47424 into '.':
U compiler/pdecsub.pas
A tests/webtbs/tw38083.pp
--- Recording mergeinfo for merge of r47424 into '.':
G .
--- Merging r47425 into '.':
U compiler/nflw.pas
A tests/webtbs/tw38058.pp
--- Recording mergeinfo for merge of r47425 into '.':
G .
--- Merging r47686 into '.':
U compiler/ncal.pas
A tests/test/tgenfunc23.pp
--- Recording mergeinfo for merge of r47686 into '.':
G .
git-svn-id: branches/fixes_3_2@47803 -