The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
ondrej 9e9c7e1409 Merging revisions r43838, r43839, r43840, r43841, r43842, r43844, r43845, r43846, r43848, r43942, r43945, r43946, r43947, r43948 from trunk
(TStrings&TEncoding encoding fixes)

r43838
classes: fix TMBCSEncoding.IsSingleByte. Issue #36504
---------------------
r43839
classes: fix TStrings.SaveToStream overloads (Delphi-compatibility + introduce IgnoreEncoding-overload for legacy FPC code like for LoadFromStream)
---------------------
r43840
sysutils: fix TMBCSEncoding.GetPreamble
---------------------
r43841
classes: add TStrings.Options (Delphi-compatibility)
---------------------
r43842
sysutils: change TEncoding.Default from ANSI to SystemEncoding. (It is Delphi-compatible indeed because default SystemEncoding is ANSI.)
---------------------
r43844
fpmkunit: fix compilation after r43841
---------------------
r43845
classes: introduce TRawByteStringStream
---------------------
r43846
sysutils: TEncoding.IsStandardEncoding: FSystemEncodings are standard encodings (they must not be destroyed in user code)
---------------------
r43848
classes: add TStringsOption.soPreserveBOM
---------------------
r43942
TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
---------------------
r43945
TStrings: add missing SaveToFile overload with IgnoreEncoding parameter
---------------------
r43946
Revert r43942: TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
---------------------
r43947
TStrings: default options:  * remove soWriteBOM for FPC backwards compatibility * add soPreserveBOM so that a loaded file is correctly resaved
---------------------
r43948
TStrings.SaveToStream(TStream): use FEncoding as the default for IgnoreEncoding=False so that loaded files are correctly resaved
---------------------

git-svn-id: branches/fixes_3_2@44067 -
2020-01-30 06:21:12 +00:00
compiler Merge of commit r44056 2020-01-29 21:50:42 +00:00
installer Update all Makefile's to enable x86_64-haiku target 2019-05-28 22:07:11 +00:00
packages Merging revisions r43838, r43839, r43840, r43841, r43842, r43844, r43845, r43846, r43848, r43942, r43945, r43946, r43947, r43948 from trunk 2020-01-30 06:21:12 +00:00
rtl Merging revisions r43838, r43839, r43840, r43841, r43842, r43844, r43845, r43846, r43848, r43942, r43945, r43946, r43947, r43948 from trunk 2020-01-30 06:21:12 +00:00
tests Merged revision(s) 39902, 39964 from trunk: 2020-01-27 16:44:58 +00:00
utils --- Merging r43618 into '.': 2020-01-16 13:36:11 +00:00
.gitattributes Merged revision(s) 39902, 39964 from trunk: 2020-01-27 16:44:58 +00:00
.gitignore * made the ide a package, so it can be build in parallel with the other packages, reasons: 2018-01-06 20:22:30 +00:00
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp
Makefile Update all Makefile's to enable x86_64-haiku target 2019-05-28 22:07:11 +00:00
Makefile.fpc * version to 3.2.0-beta 2018-08-18 15:25:41 +00:00