michael
7c36912eb0
* Better fix for 35660: Introduced TMissingNameValueSeparatorAction
...
git-svn-id: trunk@42170 -
2019-06-04 07:00:48 +00:00
michael
833e00bfbd
* Fix bug #35660 , introduce prefervaluestonames
...
git-svn-id: trunk@42153 -
2019-06-01 09:42:27 +00:00
michael
167ca93d25
* Patch from Ondrej to remove unnecessary overload keywords
...
git-svn-id: trunk@42062 -
2019-05-14 08:36:52 +00:00
michael
6649fab22d
* Fix bug ID #0035580
...
git-svn-id: trunk@42058 -
2019-05-13 20:23:50 +00:00
michael
e4385d1b19
* Fix bug ID #35576
...
git-svn-id: trunk@42057 -
2019-05-13 20:15:00 +00:00
michael
dc592a888f
* Make explicit that Integer is 32-bit
...
git-svn-id: trunk@42056 -
2019-05-13 11:47:46 +00:00
michael
58f1a8513b
* FIx compilation for platforms that do not have extended
...
git-svn-id: trunk@42048 -
2019-05-12 15:33:26 +00:00
michael
60efc9e81c
* Add Read/Write(Buffer) TBytes, ReadData/WriteData, ReadBufferData/WriteBufferData to be Delphi compatible
...
git-svn-id: trunk@42042 -
2019-05-12 10:09:16 +00:00
michael
08d6b446f0
* Fix bug ID #35345 , allow tstrings.text to exceed 2Gb
...
git-svn-id: trunk@41852 -
2019-04-09 11:16:56 +00:00
michael
2669b68e6d
* Added move on TCollection (bug ID 32673)
...
git-svn-id: trunk@41795 -
2019-03-26 07:03:24 +00:00
nickysn
ff90e7622a
+ added .Sort overloads, that specify an algorithm and use the sortbase defined
...
algorithms for sorting TList, TFPList and TStringList when FPC_TESTGENERICS is
defined as well. Unfortunately, I couldn't test it, because the RTL doesn't
compile with FPC_TESTGENERICS, due to errors, completely unrelated to the
sortbase changes.
git-svn-id: trunk@41248 -
2019-02-07 15:45:13 +00:00
nickysn
d86da19570
* use the sort algorithm from sortbase for TStringList
...
git-svn-id: trunk@41194 -
2019-02-03 17:00:21 +00:00
nickysn
e8dc54c768
+ added TList.Sort overload with a sorting algorithm parameter
...
git-svn-id: trunk@41169 -
2019-02-02 20:31:16 +00:00
nickysn
248fd313f8
+ introduced unit SortBase, which implements the foundation for pluggable
...
sorting algorithms. A default QuickSort implementation is provided by the
unit. Other units can be added, to provide other sorting algorithms (e.g.
HeapSort, MergeSort, IntroSort, etc.)
* TList and TFPList updated to use the current default sorting algorithm defined
in SortBase for their .Sort method.
git-svn-id: trunk@41167 -
2019-02-02 20:06:50 +00:00
svenbarth
81fa0924d8
* an exception does not need to inherit from Exception, so declare that as such for the thread queue entry for the sake of clarity
...
git-svn-id: trunk@40652 -
2018-12-25 23:30:38 +00:00
nickysn
da5868b668
+ added method TBits.CopyBits for fast copying
...
git-svn-id: trunk@40524 -
2018-12-11 15:52:09 +00:00
michael
844a9b0ca6
* Actually observe TStringStream.OwnsEncoding in destructor
...
git-svn-id: trunk@39379 -
2018-07-04 11:03:21 +00:00
michael
8b19eddd13
* Remove scrollh again, Lazarus solved it another way
...
git-svn-id: trunk@38658 -
2018-04-01 08:19:17 +00:00
michael
616d8073f2
* Implement flushbuffer abstract method in TFiler (part 2) (bug ID 33062)
...
git-svn-id: trunk@38656 -
2018-04-01 07:19:34 +00:00
michael
a137486439
* Implement flushbuffer abstract method in TFiler (bug ID 33062)
...
git-svn-id: trunk@38655 -
2018-04-01 07:16:34 +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
56fae4697a
* Accidentally removed keyword virtual from loadfromfile
...
git-svn-id: trunk@37966 -
2018-01-14 11:52:13 +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
svenbarth
81a0f88d8c
+ add Delphi compatible TThread.ForceQueue() which enqueues the method also for the main thread (at least if the RTL is in multi threading mode, otherwise it's still executed right away - whether this is Delphi compatible needs to be tested as I only have a 10.1 currently which does not yet support TThread.ForceQueue())
...
+ added test
git-svn-id: trunk@37359 -
2017-09-29 21:19:45 +00:00
michael
52fe038b53
* use system.HMOdule when available
...
git-svn-id: trunk@37302 -
2017-09-22 15:29:09 +00:00
pierre
07ba4f8cca
Add FSem and FSuspendedExternal private fields for BeOS
...
git-svn-id: trunk@37260 -
2017-09-20 08:50:08 +00:00
michael
3a046bda5f
* Fix bug ID #31647 : added new shift state: ssScrollH
...
git-svn-id: trunk@36768 -
2017-07-23 09:10:11 +00:00
michael
ab0c29e54f
* Rename RawByteString version of TstringStream constructor, compiler cannot decide for empty string
...
git-svn-id: trunk@36759 -
2017-07-21 18:02:26 +00:00
michael
2b1bb6a5f5
* TStringStream now observes encoding, bug ID #30508
...
git-svn-id: trunk@36758 -
2017-07-21 17:02:37 +00:00
michael
e11821f558
* Patch from Ondrej Pokorny to make Datamodule DPI aware (bug ID 31813)
...
git-svn-id: trunk@36212 -
2017-05-15 07:13:37 +00:00
pierre
78343902bf
Allow objpas classes and sysutils units to compile with threading support disabled
...
git-svn-id: trunk@36107 -
2017-05-04 22:13:11 +00:00
marco
6166215174
* make istream signedness equal to MSDN and modern delphi. Denis Kozlov,
...
mantis #31473
git-svn-id: trunk@35542 -
2017-03-08 15:05:11 +00:00
michael
f0a8355b84
* AlwaysQuote added (bug ID 31126)
...
git-svn-id: trunk@35333 -
2017-01-25 22:37:33 +00:00
michael
2e3ab0d37e
* Introduce TFPList.CheckIndex (bug ID 30887)
...
git-svn-id: trunk@34873 -
2016-11-11 10:26:05 +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
svenbarth
d5cc59c22e
Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same).
...
Note: the Sender parameter of WakeMainThread will be Nil for such threads. This is Delphi compatible.
rtl/objpas/classes/classesh.inc, TThread:
+ TThreadQueueEntry: new field ThreadID so that entries with Thread = Nil can be removed
rtl/objpas/classes/classes.inc, TThread:
* InitSynchronizeEvent: setup ThreadID field
* Synchronize: use a local TThreadQueueEntry if no TThread instance was passed in
* Queue: setup ThreadID
* RemoveQueueEvents: also check for ThreadID when trying to find the current thread
git-svn-id: trunk@33863 -
2016-05-31 20:01:52 +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
marco
eb1d895718
* fix reexport of record types in classesh, bug #29776 patch by Ondrej.
...
git-svn-id: trunk@33144 -
2016-03-04 10:42:40 +00:00
michael
789b80f702
* ExecuteInThread added
...
git-svn-id: trunk@33100 -
2016-02-16 18:59:35 +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
9157a11b7e
* Applied partial patch from barlone to change var->out for IdentToInt
...
git-svn-id: trunk@32825 -
2016-01-01 17:37:46 +00:00
michael
6b3b3d5c0c
* Fix bug ID #29155 , wrong declaration of ISTream.
...
git-svn-id: trunk@32820 -
2016-01-01 16:35:38 +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
e6b86d9b5b
* Made string in stringstream constructor optional
...
git-svn-id: trunk@32326 -
2015-11-15 11:05:19 +00:00
Károly Balogh
1a53f6a799
AROS: in agreement with Marcus Sackrow, AThreads is now enabled for AROS, and the old AROS-specific threading implementation is zapped
...
git-svn-id: trunk@31008 -
2015-06-07 18:35:50 +00:00
Károly Balogh
632c46bcb6
amicommon: have a generic tthread.inc which even works, given there is a reasonably advanced ThreadManager
...
git-svn-id: trunk@30914 -
2015-05-25 21:06:53 +00:00
michael
27ff4c95e4
* Made CheckBitIndex protected
...
git-svn-id: trunk@30622 -
2015-04-17 16:53:23 +00:00
michael
910a88122f
* Implemented TWriter.WriteSignature/TReader.ReadSignature (bug ID 27519)
...
git-svn-id: trunk@30367 -
2015-03-29 13:25:12 +00:00