Commit Graph

13073 Commits

Author SHA1 Message Date
michael
f42f55aed8 * Merging revisions 46778 from trunk:
------------------------------------------------------------------------
    r46778 | jonas | 2020-09-05 20:44:57 +0200 (Sat, 05 Sep 2020) | 2 lines
    
      * fix formatfloat for 0 in exponential format (based on patch by
        Jamie Philbrook, mantis #37374)
    ------------------------------------------------------------------------

git-svn-id: tags/release_3_2_0@47409 -
2020-11-13 20:41:07 +00:00
michael
d9849b37fb * Fix bug ID #37172
git-svn-id: tags/release_3_2_0@45583 -
2020-06-03 20:50:45 +00:00
marco
f1f3e219fe # revisions: 45533
git-svn-id: tags/release_3_2_0@45534 -
2020-05-30 16:07:42 +00:00
marco
7201fbe85e # revisions: 43880,44093
git-svn-id: branches/fixes_3_2@45533 -
2020-05-30 16:02:35 +00:00
marco
322509bd4e # revisions: 45460,45481
git-svn-id: tags/release_3_2_0@45532 -
2020-05-30 15:51:18 +00:00
marco
42a7ca2a92 --- Merging r43589 into '.':
U    rtl/linux/pthread.inc
U    rtl/unix/cthreads.pp
--- Recording mergeinfo for merge of r43589 into '.':
 U   .

# revisions: 43589
r43589 | florian | 2019-11-25 21:58:18 +0100 (Mon, 25 Nov 2019) | 1 line
Changed paths:
   M /trunk/rtl/linux/pthread.inc
   M /trunk/rtl/unix/cthreads.pp

  * patch by Benjamin Rosseaux: TEvent.WaitFor on *nix uses Monotonic Clock now

git-svn-id: branches/fixes_3_2@45460 -
2020-05-22 10:35:15 +00:00
marco
ec31176a39 * Makefile regen with fpcmake 3.2.0 + vers update.
git-svn-id: tags/release_3_2_0@45256 -
2020-05-04 16:58:27 +00:00
marco
b087c236b5 # revisions: 44457,44777
git-svn-id: branches/fixes_3_2@44865 -
2020-04-19 18:20:20 +00:00
marco
32b4647870 # revisions: 44443,44667,44714,44724
git-svn-id: branches/fixes_3_2@44864 -
2020-04-19 18:13:59 +00:00
marco
8250336193 # revisions: 44496,44529,44632,44635,44643,44644,44664
git-svn-id: branches/fixes_3_2@44863 -
2020-04-19 18:06:48 +00:00
pierre
a4758f3560 Merge commit #43305 into fixes branch.
------------------------------------------------------------------------
r43305 | pierre | 2019-10-23 06:38:10 +0000 (Wed, 23 Oct 2019) | 1 line

 Completely disable Round functions if FPUNONE is defined, to fix avr builds without flaot support
------------------------------------------------------------------------
--- Merging r43305 into '.':
U    rtl/inc/iso7185.pp
--- Recording mergeinfo for merge of r43305 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44701 -
2020-04-12 13:13:41 +00:00
pierre
a77f220a51 ------------------------------------------------------------------------
r41140 | pierre | 2019-01-30 10:48:21 +0000 (Wed, 30 Jan 2019) | 1 line

 Fix cycling of arm compiler starting with release ppcarm 3.0.4
------------------------------------------------------------------------
--- Merging r41140 into '.':
U    rtl/arm/setjump.inc
--- Recording mergeinfo for merge of r41140 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44375 -
2020-03-27 21:49:47 +00:00
Jonas Maebe
8ef53e60e2 --- Merging r41136 into '.':
U    rtl/arm/setjump.inc
--- Recording mergeinfo for merge of r41136 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44365 -
2020-03-26 21:33:22 +00:00
marco
6d1a81ffde --- Recording mergeinfo for merge of r44225 into '.':
G   .

# revisions: 44225

git-svn-id: branches/fixes_3_2@44307 -
2020-03-17 09:36:47 +00:00
marco
626c2b52c0 # revisions: 40850,41429,43188,43281,43282,43283,43801
git-svn-id: branches/fixes_3_2@44301 -
2020-03-14 16:08:36 +00:00
marco
913dd3190f # revisions: 43950,44275,44276,44277,44278,44280,44282,44290
git-svn-id: branches/fixes_3_2@44298 -
2020-03-14 15:22:22 +00:00
marco
8a2da3c007 --- Merging r44258 into '.':
U    rtl/win/wininc/struct.inc
--- Recording mergeinfo for merge of r44258 into '.':
 U   .
--- Merging r44259 into '.':
U    packages/winunits-base/src/commctrl.pp
U    packages/winunits-base/src/nb30.pp
--- Recording mergeinfo for merge of r44259 into '.':
 G   .
--- Merging r44260 into '.':
G    packages/winunits-base/src/commctrl.pp
--- Recording mergeinfo for merge of r44260 into '.':
 G   .

# revisions: 44258,44259,44260

git-svn-id: branches/fixes_3_2@44263 -
2020-03-04 09:37:16 +00:00
joost
4b06ea7fe7 --- Merging (from foreign repository) r44090 into '.':
U    rtl/unix/sysutils.pp

git-svn-id: branches/fixes_3_2@44228 -
2020-02-21 14:49:57 +00:00
marco
10af070def --- Merging r44210 into '.':
U    rtl/go32v2/msmouse.pp
--- Recording mergeinfo for merge of r44210 into '.':
 U   .

# revisions: 44210

git-svn-id: branches/fixes_3_2@44211 -
2020-02-18 17:06:17 +00:00
pierre
09a2fabb43 Merge of commit 43029
------------------------------------------------------------------------
r43029 | pierre | 2019-09-18 07:45:47 +0000 (Wed, 18 Sep 2019) | 1 line

 Fix bug report #36081: fix cycling starting with i386-linux 3.0.4 release compiler
------------------------------------------------------------------------
--- Merging r43029 into '.':
U    rtl/inc/system.inc
--- Recording mergeinfo for merge of r43029 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44109 -
2020-02-03 23:16:03 +00:00
marco
1bf341f0ff * revs 43341 (Solaris makefile) ,43971 (ismanagedtype usage 3.2.x ifdef in
fgl)

git-svn-id: branches/fixes_3_2@44091 -
2020-02-02 14:12:42 +00:00
pierre
b6cce11107 Merge of commit 43027 (to fix go32v2 with -Criot tests)
------------------------------------------------------------------------
r43027 | florian | 2019-09-17 18:42:40 +0000 (Tue, 17 Sep 2019) | 1 line

* fixed define
------------------------------------------------------------------------
--- Merging r43027 into '.':
U    rtl/inc/system.inc
--- Recording mergeinfo for merge of r43027 into '.':
 U   .

git-svn-id: branches/fixes_3_2@44069 -
2020-01-30 15:24:02 +00:00
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
michael
57026e8804 * Merging revisions 43787,r43798,r43799,r43800,r43806,r43807,r43836 from trunk:
------------------------------------------------------------------------
    r43787 | michael | 2019-12-25 14:56:23 +0100 (Wed, 25 Dec 2019) | 1 line
    
    * Remove some unused identifiers
    ------------------------------------------------------------------------
    r43798 | michael | 2019-12-27 12:02:30 +0100 (Fri, 27 Dec 2019) | 1 line
    
    * Fix bug ID #36484: macos forbids loading unversioned library
    ------------------------------------------------------------------------
    r43799 | michael | 2019-12-27 12:08:52 +0100 (Fri, 27 Dec 2019) | 1 line
    
    * Fix bug #36478: add array of category names
    ------------------------------------------------------------------------
    r43800 | michael | 2019-12-27 23:09:52 +0100 (Fri, 27 Dec 2019) | 1 line
    
    * Fix recno
    ------------------------------------------------------------------------
    r43806 | michael | 2019-12-28 22:21:13 +0100 (Sat, 28 Dec 2019) | 1 line
    
    * Search with Postscript font name and humanreadable font name
    ------------------------------------------------------------------------
    r43807 | michael | 2019-12-28 22:21:45 +0100 (Sat, 28 Dec 2019) | 1 line
    
    * Set default font to postscript name
    ------------------------------------------------------------------------
    r43836 | michael | 2020-01-02 15:10:29 +0100 (Thu, 02 Jan 2020) | 1 line
    
    * Fix bug #0036503
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43989 -
2020-01-19 16:17:05 +00:00
joost
3504d9ea5f --- Merging r42294 into '.':
U    rtl/win64/sysinit.pp
--- Recording mergeinfo for merge of r42294 into '.':
 U   .

git-svn-id: branches/fixes_3_2@43979 -
2020-01-19 13:22:25 +00:00
marco
897ae85a0e revs 43962,43963,43964,43965,43969
* license clarifications. Accidental GPL removed. Introduced by me during
    *nix reform in a few .incs and those templates got copied around (os* sysc*)
  * clarify OS2/EMX license to actually name the license rather than 
    saying "NOT GPL" and refering to EMX.

git-svn-id: branches/fixes_3_2@43970 -
2020-01-18 12:32:05 +00:00
marco
e01f4d52f5 --- Merging r42062 into '.':
U    rtl/objpas/classes/classesh.inc
--- Recording mergeinfo for merge of r42062 into '.':
 U   .

# revisions: 42062

git-svn-id: branches/fixes_3_2@43961 -
2020-01-17 08:57:19 +00:00
pierre
d79fe2a393 Try to solve compilation failure for several system by
merge of revisions 43773, 43774 and 43775 from trunk to fixes_3_2
------------------------------------------------------------------------
r43773 | svenbarth | 2019-12-24 21:29:51 +0000 (Tue, 24 Dec 2019) | 1 line

* as long as the Comp type is declared, declare PComp as well
------------------------------------------------------------------------
--- Merging r43773 into '.':
U    rtl/inc/systemh.inc
--- Recording mergeinfo for merge of r43773 into '.':
 U   .
------------------------------------------------------------------------
r43774 | svenbarth | 2019-12-24 21:29:53 +0000 (Tue, 24 Dec 2019) | 1 line

* if a CPU platform doesn't explicitely provide the Comp type we declare it as an alias to Int64
------------------------------------------------------------------------
--- Merging r43774 into '.':
G    rtl/inc/systemh.inc
--- Recording mergeinfo for merge of r43774 into '.':
 G   .
------------------------------------------------------------------------
r43775 | svenbarth | 2019-12-24 21:29:57 +0000 (Tue, 24 Dec 2019) | 1 line

* Delphi allows overloading based on Comp, so declare it as a type rename instead of a mere alias
------------------------------------------------------------------------
--- Merging r43775 into '.':
G    rtl/inc/systemh.inc
--- Recording mergeinfo for merge of r43775 into '.':
 G   .

git-svn-id: branches/fixes_3_2@43958 -
2020-01-16 15:37:19 +00:00
marco
b4f641ba85 --- Merging r43618 into '.':
U    rtl/linux/buildrtl.lpi
U    rtl/linux/buildrtl.pp
--- Recording mergeinfo for merge of r43618 into '.':
 U   .
--- Merging r43669 into '.':
U    utils/mkinsadd.pp
--- Recording mergeinfo for merge of r43669 into '.':
 G   .

# revisions: 43618,43669

git-svn-id: branches/fixes_3_2@43957 -
2020-01-16 13:36:11 +00:00
marco
73d3bed3d1 # revisions: 43901
git-svn-id: branches/fixes_3_2@43940 -
2020-01-14 10:36:43 +00:00
marco
09e568fb0f --- Merging r43324 into '.':
U    rtl/unix/genfdset.inc
--- Recording mergeinfo for merge of r43324 into '.':
 U   .
--- Merging r43389 into '.':
U    packages/ncurses/src/ncurses.pp
--- Recording mergeinfo for merge of r43389 into '.':
 G   .

# revisions: 43324,43389

git-svn-id: branches/fixes_3_2@43927 -
2020-01-13 11:20:22 +00:00
marco
21cdd55d9c --- Merging r43826 into '.':
U    rtl/objpas/sysutils/sysutilh.inc
U    rtl/objpas/sysutils/sysutils.inc
--- Recording mergeinfo for merge of r43826 into '.':
 U   .

# revisions: 43826

git-svn-id: branches/fixes_3_2@43925 -
2020-01-13 11:17:43 +00:00
marco
46c900fbc7 --- Merging r42610 into '.':
U    rtl/netbsd/Makefile
U    rtl/netbsd/Makefile.fpc
--- Recording mergeinfo for merge of r42610 into '.':
 U   .

# revisions: 42610

git-svn-id: branches/fixes_3_2@43922 -
2020-01-13 11:13:25 +00:00
michael
b355df88ad * Merging revisions r43513 from trunk:
------------------------------------------------------------------------
    r43513 | michael | 2019-11-18 17:00:03 +0100 (Mon, 18 Nov 2019) | 1 line
    
    * Treat 3.2 as 3.0.4
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43754 -
2019-12-23 13:49:57 +00:00
michael
5594fb1cc3 * Merging revisions r43714 from trunk:
------------------------------------------------------------------------
    r43714 | michael | 2019-12-23 14:15:19 +0100 (Mon, 23 Dec 2019) | 1 line
    
    * Fix bug ID #34303, readability opimizations
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43753 -
2019-12-23 13:45:48 +00:00
michael
bc1966c1dc * Merging revisions r43482 from trunk:
------------------------------------------------------------------------
    r43482 | michael | 2019-11-15 17:57:13 +0100 (Fri, 15 Nov 2019) | 1 line
    
    * Fix compilation with 3.0.4
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43752 -
2019-12-23 13:44:40 +00:00
michael
9e36aec7b1 * Merging revisions r43474 from trunk:
------------------------------------------------------------------------
    r43474 | michael | 2019-11-15 15:26:12 +0100 (Fri, 15 Nov 2019) | 1 line
    
    * avoid warning about visibility of ItemIsmanaged
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43750 -
2019-12-23 13:43:54 +00:00
michael
a51130badd * Merging revisions r43473 from trunk:
------------------------------------------------------------------------
    r43473 | michael | 2019-11-15 15:12:11 +0100 (Fri, 15 Nov 2019) | 1 line
    
    * Fix bug #0036270: optimize TFPSList.AddList and .Assign
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43749 -
2019-12-23 13:43:40 +00:00
michael
385d0ab62f * Merging revisions r43454 from trunk:
------------------------------------------------------------------------
    r43454 | michael | 2019-11-12 14:04:07 +0100 (Tue, 12 Nov 2019) | 1 line
    
    * Fix bug #36284: small refactoring
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43747 -
2019-12-23 13:42:07 +00:00
michael
4c6149e1fd * Merging revisions r43417 from trunk:
------------------------------------------------------------------------
    r43417 | michael | 2019-11-08 12:43:10 +0100 (Fri, 08 Nov 2019) | 1 line
    
    * Bit helpers for ordinal functions, adapted from batch by Thaddy De Koning (bug ID 0036146)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43745 -
2019-12-23 13:38:27 +00:00
michael
18e1a2db97 * Merging revisions r43416 from trunk:
------------------------------------------------------------------------
    r43416 | michael | 2019-11-08 10:31:45 +0100 (Fri, 08 Nov 2019) | 1 line
    
    * Observe doclear
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43744 -
2019-12-23 13:38:07 +00:00
michael
a7c884aea0 * Merging revisions r43415 from trunk:
------------------------------------------------------------------------
    r43415 | michael | 2019-11-08 10:21:08 +0100 (Fri, 08 Nov 2019) | 1 line
    
    * Refactor AddDelimitedText/SetDelimitedText
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43743 -
2019-12-23 13:37:58 +00:00
michael
32b9d91358 * Merging revisions r43414 from trunk:
------------------------------------------------------------------------
    r43414 | michael | 2019-11-08 09:36:31 +0100 (Fri, 08 Nov 2019) | 1 line
    
    * Reduce use of Length(aValue) in setdelimitedtext
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43742 -
2019-12-23 13:37:46 +00:00
michael
c99c6a45c2 * Merging revisions r43405 from trunk:
------------------------------------------------------------------------
    r43405 | michael | 2019-11-06 11:51:34 +0100 (Wed, 06 Nov 2019) | 1 line
    
    * Add AddDelimitedText,AddCommatext by Werner Pamler (bug ID 36249)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43741 -
2019-12-23 13:37:31 +00:00
michael
469350538a * Merging revisions r43404 from trunk:
------------------------------------------------------------------------
    r43404 | michael | 2019-11-06 11:42:11 +0100 (Wed, 06 Nov 2019) | 1 line
    
    * Fix bug ID #0036268, more descriptive comment
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43740 -
2019-12-23 13:36:48 +00:00
michael
0678bdf90b * Merging revisions r43365 from trunk:
------------------------------------------------------------------------
    r43365 | michael | 2019-11-02 16:08:27 +0100 (Sat, 02 Nov 2019) | 1 line
    
    * Add some functional methods to TStrings
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43739 -
2019-12-23 13:34:43 +00:00
michael
0e58449360 * Merging revisions r43357 from trunk:
------------------------------------------------------------------------
    r43357 | michael | 2019-11-02 12:51:28 +0100 (Sat, 02 Nov 2019) | 1 line
    
    * Fix bug ID #36234: unicodedatastering must be of type unicodestring
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43735 -
2019-12-23 13:33:47 +00:00
michael
00f800b0dd * Merging revisions r43353 from trunk:
------------------------------------------------------------------------
    r43353 | michael | 2019-11-02 11:25:42 +0100 (Sat, 02 Nov 2019) | 1 line
    
    * Fix bug ID #0036246, delphi compatibility property
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43731 -
2019-12-23 13:32:53 +00:00
michael
e70f886f55 * Merging revisions 43678 from trunk:
------------------------------------------------------------------------
    r43678 | michael | 2019-12-12 16:07:46 +0100 (Thu, 12 Dec 2019) | 1 line
    
    * Fix bug ID #36425
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43679 -
2019-12-12 15:08:47 +00:00
pierre
59600e12bc Add missing pieces of commit r41949 into fixes branch
git-svn-id: branches/fixes_3_2@43601 -
2019-11-28 10:47:22 +00:00