Commit Graph

67 Commits

Author SHA1 Message Date
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
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
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
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
36e578292b * Merging revisions 42351 from trunk:
------------------------------------------------------------------------
    r42351 | michael | 2019-07-11 22:33:39 +0200 (Thu, 11 Jul 2019) | 1 line
    
    * Fix bug ID #0035817
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42854 -
2019-08-27 07:07:14 +00:00
michael
93ebf5468f * Merging revisions r42153,r42168,r42170,r42171,r42172,r42173,r42174 from trunk:
------------------------------------------------------------------------
    r42153 | michael | 2019-06-01 11:42:27 +0200 (Sat, 01 Jun 2019) | 1 line
    
    * Fix bug #35660, introduce prefervaluestonames
    ------------------------------------------------------------------------
    r42168 | michael | 2019-06-03 08:27:37 +0200 (Mon, 03 Jun 2019) | 1 line
    
    * Changed String.Split to conform to behaviour in Delphi Rio (bug ID 35669)
    ------------------------------------------------------------------------
    r42170 | michael | 2019-06-04 09:00:48 +0200 (Tue, 04 Jun 2019) | 1 line
    
    * Better fix for 35660: Introduced TMissingNameValueSeparatorAction
    ------------------------------------------------------------------------
    r42171 | michael | 2019-06-04 09:08:45 +0200 (Tue, 04 Jun 2019) | 1 line
    
    * Sort public properties/methods in stringlist
    ------------------------------------------------------------------------
    r42172 | michael | 2019-06-04 09:29:53 +0200 (Tue, 04 Jun 2019) | 1 line
    
    * Added constant for new error message in stringlist
    ------------------------------------------------------------------------
    r42173 | michael | 2019-06-04 10:31:39 +0200 (Tue, 04 Jun 2019) | 1 line
    
     Fix bug ID #0035672
    ------------------------------------------------------------------------
    r42174 | michael | 2019-06-05 13:42:40 +0200 (Wed, 05 Jun 2019) | 1 line
    
    * Fix bug ID #35674, do not create filestream for directories
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42429 -
2019-07-13 13:33:31 +00:00
michael
364372f316 * Merging revisions 41853 from trunk:
------------------------------------------------------------------------
    r41853 | michael | 2019-04-09 13:35:56 +0200 (Tue, 09 Apr 2019) | 1 line
    
    * Patch from Serge Anvarov to improve TStrings.GetNextLine and TStrings.GetNextLineBreak (bug ID 35331)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42420 -
2019-07-13 13:22:11 +00:00
michael
e9ed572948 * Merging revisions 41852 from trunk:
------------------------------------------------------------------------
    r41852 | michael | 2019-04-09 13:16:56 +0200 (Tue, 09 Apr 2019) | 1 line
    
    * Fix bug ID #35345, allow tstrings.text to exceed 2Gb 
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42419 -
2019-07-13 13:21:26 +00:00
michael
8a2ff22c03 * Merging revisions 41849 from trunk:
------------------------------------------------------------------------
    r41849 | michael | 2019-04-08 09:51:19 +0200 (Mon, 08 Apr 2019) | 1 line
    
    * Patch from Ondrej Pokorny to let AddStrings call beginupdate/endupdate under all circumstances (bug ID 35341)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@42418 -
2019-07-13 13:21:13 +00:00
michael
bf3e437dd6 * Fix bug #33475, add AddPair for Delphi compatibility, modified patch by Silvio Clecio
git-svn-id: trunk@38587 -
2018-03-21 10:30:02 +00:00
michael
cbc50c5fe6 * Restore signature of loadfromstream/loadfromfile, make default delphi compatible
git-svn-id: trunk@37965 -
2018-01-14 10:11:56 +00:00
michael
5c1df42fa4 * Fix bug #32871
git-svn-id: trunk@37962 -
2018-01-13 18:21:44 +00:00
michael
f0a8355b84 * AlwaysQuote added (bug ID 31126)
git-svn-id: trunk@35333 -
2017-01-25 22:37:33 +00:00
michael
32ec90dccf * Fix wrong index check for insert, border is different
git-svn-id: trunk@34834 -
2016-11-07 13:39:56 +00:00
michael
9926d37dda * Fix bug #30869, introduce CheckIndex in TStringList
git-svn-id: trunk@34817 -
2016-11-06 17:04:37 +00:00
michael
8318ba30d4 * Patch from Ondrej Pokorny to implement specifying encoding when saving/loading from stream
git-svn-id: trunk@34475 -
2016-09-10 10:59:48 +00:00
michael
10bbfce412 * Allow Find to work with user-sorted stringlists.
git-svn-id: trunk@33328 -
2016-03-26 09:13:27 +00:00
michael
ae3b0eab2a * Fix stringlist addstrings so virtual method is preserved (bug id 0029630)
git-svn-id: trunk@33099 -
2016-02-16 18:59:01 +00:00
michael
db19d73ec0 * Add ClearFirst parameter to AddStrings (bug ID 29630)
git-svn-id: trunk@33092 -
2016-02-13 11:03:51 +00:00
michael
4f82d103af * Added SkipLastLineBreak to TStrings (bug ID 28213)
git-svn-id: trunk@32792 -
2015-12-29 18:48:58 +00:00
michael
0042e1d3b8 * Fix bug #29150
git-svn-id: trunk@32765 -
2015-12-27 17:07:31 +00:00
marco
5dcf5a95c5 * move beginupdate before try 3x , Mantis #29164
git-svn-id: trunk@32630 -
2015-12-10 19:21:16 +00:00
marco
aa33a9509f * added try..finally to beginupdate/endupdate, mantis #29165
git-svn-id: trunk@32629 -
2015-12-10 19:19:25 +00:00
michael
7d2c723a54 * Re-instated initialization of memory when adding item
git-svn-id: trunk@32332 -
2015-11-15 18:24:12 +00:00
michael
d00d64021b * Clear memory correctly when setting capacity (bug id 28928)
git-svn-id: trunk@32327 -
2015-11-15 11:15:25 +00:00
michael
aa3a7b7eb8 * Exit find if not sorted (bug id 28774)
git-svn-id: trunk@31941 -
2015-10-04 08:07:51 +00:00
yury
e1a0b1204a * Removed unused vars in RTL.
git-svn-id: trunk@31750 -
2015-09-17 16:48:53 +00:00
michael
e5fba07668 * Fix bug #0028486
git-svn-id: trunk@31299 -
2015-08-07 12:00:40 +00:00
michael
0304b5f1e9 * Copy LineBreak during TStrings.Assign
git-svn-id: trunk@30302 -
2015-03-24 08:47:49 +00:00
michael
063d7f1ce2 * Overloaded version of TStrings.Add that accepts Fmt,Args
git-svn-id: trunk@30301 -
2015-03-24 08:47:14 +00:00
michael
e3111faa2e * Implemented LineBreak property for TStrings
git-svn-id: trunk@30300 -
2015-03-24 08:38:52 +00:00
michael
beafc9fe8c * Fix bug #26717
git-svn-id: trunk@28659 -
2014-09-14 15:06:34 +00:00
michael
1d9ac3aa9e * Fixed bug #26053
git-svn-id: trunk@27770 -
2014-05-11 13:28:00 +00:00
michael
098769d1b3 * Added TStringList.CompareStrings (Delphi compatibility), patch by Stephano, bug ID #24981
git-svn-id: trunk@25582 -
2013-09-26 18:09:12 +00:00
nickysn
e54c87dab1 * changed a method address typecast to CodePointer instead of Pointer in TStringList.QuickSort for compatibility with the i8086 medium and compact memory models
git-svn-id: trunk@25486 -
2013-09-14 13:52:41 +00:00
svenbarth
08543ddeba Fix for Mantis #23899 . Allow to overwrite TStringList.ExchangeItems if necessary.
rtl/objpas/classes/classesh.inc, TStringList:
  * rename the private ExchangeItems to ExchangeItemsInt and allow inlining
  + add a protected virtual ExchangeItems
rtl/objpas/classes/stringl.inc, TStringList:
  * Exchange: call ExchangeItemsInt
  + let default implementation of ExchangeItems simply call ExchangeItemsInt
  * QuickSort: call ExchangeItemsInt directly if there is no override otherwise call ExchangeItems

+ added test

git-svn-id: trunk@25480 -
2013-09-13 14:17:01 +00:00
michael
3c7881ef04 * Fixed AV when setting capacity to something smaller than count but larger than 0 (bug ID 24943)
git-svn-id: trunk@25403 -
2013-09-03 07:10:53 +00:00
michael
4afefd6cbe * Added AddText as suggested in bug ID #24764
git-svn-id: trunk@25129 -
2013-07-19 07:16:06 +00:00
marco
eebfeca41d * removed all ver2_* defines older than 2_4. 2_4 can probably also get removed from trunk, but better in a separate commit.
git-svn-id: trunk@24971 -
2013-06-25 12:46:30 +00:00
marco
912d8f1c52 * set namevalueseparator to =, mantis #24116
git-svn-id: trunk@24451 -
2013-05-05 14:04:15 +00:00
michael
37ba6f9b27 * Fixed 23805
git-svn-id: trunk@23899 -
2013-03-17 17:00:39 +00:00
florian
b00ff8a4e0 * patch by Bart Broersma, simplify TStringList.InsertItem, resolves #23860
git-svn-id: trunk@23638 -
2013-02-20 21:36:02 +00:00
michael
11a531ab62 * Fixed bug #23477
git-svn-id: trunk@23135 -
2012-12-12 15:21:28 +00:00
michael
4ecfde31e1 * Prevent Move from freeing an associated object if OwnsObjects=True (reported on sourceforge)
git-svn-id: trunk@22992 -
2012-11-16 11:04:44 +00:00
florian
39aef35bdc * pass not only exception address but also frame to raise:
if an address is passed the compiler cannot know a good 
  value for the frame so it passed nil and no stack trace is printed, resolves #12528

git-svn-id: trunk@22932 -
2012-11-04 20:40:21 +00:00
marco
a48aba60fb * fix for Delphi incompatible DelimitedText, Mantis #19610, big patch from Reinier Olislagers.
git-svn-id: trunk@22549 -
2012-10-05 16:56:09 +00:00
michael
441e059f32 * Changed ooChanged to ooChange, to be more consistent with tense in other values
git-svn-id: trunk@22262 -
2012-08-28 12:32:15 +00:00