marco
b6824290fc
* initial fileflush, mantis #15824
...
git-svn-id: trunk@37135 -
2017-09-03 16:41:32 +00:00
pierre
e325284160
Fix compilation failure for systems that do not have dynlibs
...
git-svn-id: trunk@37056 -
2017-08-25 07:28:35 +00:00
michael
a4c4ce1764
* Capture result in SafeLoadLibrary
...
git-svn-id: trunk@37050 -
2017-08-24 09:27:49 +00:00
michael
b6700f68b8
* Fix bug #32314 (SafeLoadLibrary does nothing on other platforms than windows)
...
git-svn-id: trunk@37049 -
2017-08-24 08:46:07 +00:00
michael
547f08e6ea
* Add TimeStamp property to TSearchRec (reworked patch from Ondrej Pokorny, bug ID #32165 )
...
git-svn-id: trunk@36750 -
2017-07-20 07:35:51 +00:00
michael
32cdee6f5d
* Fix bugs 30950 & 29781
...
git-svn-id: trunk@36740 -
2017-07-17 16:24:05 +00:00
michael
f247a66c90
* Fix bug ID #31975 , LastIndexOf string helper copy&paste error
...
git-svn-id: trunk@36703 -
2017-07-09 08:43:01 +00:00
michael
e9a3a807d0
* Fix overflows in intstrtodate (bug ID 32098)
...
git-svn-id: trunk@36687 -
2017-07-08 19:52:54 +00:00
nickysn
fce5fbd726
+ added cp3021 (Bulgarian MIK) code page support
...
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
9e74f05343
+ added cp856, iso-8859-10, iso-8859-11, iso-8859-14 and iso-8859-16 to the
...
CodePageNames and CodePageHashes translation tables in the SysUtils unit
git-svn-id: trunk@36443 -
2017-06-07 11:55:54 +00:00
marco
f0a02cdaf9
* reengineered utf8-less fix for #0031257
...
git-svn-id: trunk@36293 -
2017-05-22 13:58:43 +00:00
michael
06227c9557
* Fix bug ID #31814 , StrToDateTimeDef with FormatSettings parameter
...
git-svn-id: trunk@36214 -
2017-05-15 13:10:56 +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
michael
5cd12a2521
* Better m/mm format specifier docs (bug ID 31449)
...
git-svn-id: trunk@35892 -
2017-04-22 10:02:29 +00:00
marcus
824cabd203
Fixed textractquote regression after r35598
...
git-svn-id: trunk@35604 -
2017-03-16 08:04:38 +00:00
michael
e2d704cc8d
* Small optimization in CompareStr as suggested in bug ID #30777
...
git-svn-id: trunk@35601 -
2017-03-15 21:30:19 +00:00
michael
0ee31963ed
* explicit check for Nil in AnsiExtractQuotedString (bug 31212)
...
git-svn-id: trunk@35598 -
2017-03-15 18:05:39 +00:00
michael
8d7fd39282
* Fix isNan, isInfinity, IsPositiveInfinity
...
git-svn-id: trunk@35356 -
2017-01-29 11:58:22 +00:00
michael
b5fb706a65
* Fix bug #31176 : (Try)StrToBool should accept localized floats
...
git-svn-id: trunk@35331 -
2017-01-25 21:23:07 +00:00
marco
e6029140eb
* fix for #31073
...
git-svn-id: trunk@35203 -
2016-12-27 16:31:14 +00:00
marco
b33da605f3
* move tendian to objpas, alias in sysutils, types. mantis #31150
...
git-svn-id: trunk@35202 -
2016-12-27 14:30:13 +00:00
Károly Balogh
c7576e4a3f
sysutils: enable FINDHANDLE_IS_POINTER for Amiga-like systems and Atari. this allows to remove some Pointer<->THandle casts from the amicommon code
...
git-svn-id: trunk@35198 -
2016-12-27 03:23:54 +00:00
michael
c0f183258f
* Added EProgrammerNotFound and EInvalidOpException, by Silvio Clecio (bug ID 30627)
...
git-svn-id: trunk@34986 -
2016-11-27 15:54:06 +00:00
michael
10360a823e
* Fix bug ID #30960
...
git-svn-id: trunk@34970 -
2016-11-26 17:28:55 +00:00
michael
3e21810dbd
* Change comments for AdjustLineBreaks (bug ID 30959)
...
git-svn-id: trunk@34969 -
2016-11-26 17:05:54 +00:00
michael
47a59f269a
* Added some explanatory comments about the use of this include file
...
git-svn-id: trunk@34925 -
2016-11-20 10:07:15 +00:00
michael
8e3381b4bc
Fix bug #30930
...
git-svn-id: trunk@34903 -
2016-11-15 20:15:33 +00:00
michael
f648bdecba
* Made some additional functions inlined (Bug ID 30909)
...
git-svn-id: trunk@34874 -
2016-11-11 10:28:19 +00:00
michael
9b21d9a87e
* Inline some functions, bug ID #30905
...
git-svn-id: trunk@34868 -
2016-11-11 09:33:28 +00:00
pierre
a81d2b58f8
Rectify last accessed char in TBigEndianUnicideEncoding.GetChars, fixes test/units/sysutils/tencodingtest.pp failure with -gc option
...
git-svn-id: trunk@34740 -
2016-10-17 10:48:28 +00:00
michael
9f88f52ddf
* Getters/Setters should be private
...
git-svn-id: trunk@34725 -
2016-10-15 20:59:01 +00:00
svenbarth
63f0c7a2c3
Fix for Mantis #30734 : Implement Delphi-compatible functions StrToUInt64(), StrToUInt64Def and TryStrToUInt64 as inline forwarders to the existing respective QWord functions
...
git-svn-id: trunk@34710 -
2016-10-13 17:49:50 +00:00
michael
5810ff8154
* Patch from Maciej Izak for delphi compatible TLocaleOptions (bug ID 30660)
...
git-svn-id: trunk@34683 -
2016-10-08 22:23:34 +00:00
Jonas Maebe
265923a2ee
* several fixes for TMultiReadExclusiveWriteSynchronizer, based on patch by
...
Derek (mantis #28830 )
o ability for a thread to acquire a readlock when it already holds a
write lock, or vice versa
o detect when thread1 releases a lock while it hadn't acquired one
o correct result of beginwrite (return true only when another thread
held/acquired a write lock before the current thread got it)
o extra compared to Derek's patch: replaced some additional
(mostly pre-existing) interlocked*() hacks with proper memory
barriers, made formatting consistent, fixed compilation on platforms
where tthreadid is not an integer type, improved tthreadid hashing
function for 64 bit platforms, fixed some comments
git-svn-id: trunk@34678 -
2016-10-08 20:45:45 +00:00
michael
f4e3068c8b
* AnsiExtractquotedStr returns original string if unquoted
...
git-svn-id: trunk@34495 -
2016-09-10 18:51:02 +00:00
michael
5917b38706
* AnsiDequotedString needs to return empty if it equals "" (bug ID 30220)
...
git-svn-id: trunk@34494 -
2016-09-10 18:43:59 +00:00
michael
b504cc4131
* Make singletons thread-safe
...
git-svn-id: trunk@34483 -
2016-09-10 16:51:50 +00:00
michael
de7e5d73c0
* Patch from Ondrej Pokorny to add GetAnsiBytes/GetAnsiString
...
git-svn-id: trunk@34474 -
2016-09-10 10:44:30 +00:00
nickysn
c205cb03c8
* in SysUtils.DecodeDate(), cast the result of trunc() to longint (trunc
...
normally returns int64 in FPC), before performing any further calculations -
the result always fits in a longint (the date is range checked against
MaxDateTime and that is well within longint limits). This generates faster
code on non 64-bit targets and also fixes i8086 compilation, which previously
failed on register allocation on this function.
git-svn-id: trunk@33946 -
2016-06-10 19:39:44 +00:00
michael
253589b0b6
* Fix compilation for msdos
...
git-svn-id: trunk@33704 -
2016-05-17 18:41:33 +00:00
michael
a5d38c7ba6
* Added TStringBuilder
...
git-svn-id: trunk@33695 -
2016-05-16 15:23:40 +00:00
michael
3e96806f7e
Renamed DisposeAndNil to FreeMemAndNil
...
git-svn-id: trunk@33378 -
2016-03-29 07:55:58 +00:00
michael
92b8bf97c0
* Added DisposeAndNil (bug ID 28895)
...
git-svn-id: trunk@33377 -
2016-03-29 07:33:28 +00:00
michael
231ec77175
* Delphi compatibility classes (Patch by Silvio Clecio, bug ID #29917 )
...
git-svn-id: trunk@33362 -
2016-03-28 12:57:42 +00:00
michael
f380aeb63d
* Fix from Andrea Mauri to make formatfloat delphi-compatible in case of negative zero (bug ID 26465)
...
git-svn-id: trunk@33344 -
2016-03-27 10:40:09 +00:00
michael
bcdfe055a8
* Fix bug ID #26944 (thousandseparator, patch from wp)
...
git-svn-id: trunk@33343 -
2016-03-27 10:13:16 +00:00
michael
2ec2f1fc16
* Fix bug in WrapText (bug ID 26677)
...
git-svn-id: trunk@33342 -
2016-03-27 09:41:23 +00:00
michael
2b077f6af3
* Revert Integer -> SizeInt change where appropriate, capping result when needed
...
git-svn-id: trunk@33327 -
2016-03-26 07:41:34 +00:00
michael
5085009410
* Added GetDriveIDFromLetter, bug ID #28318
...
git-svn-id: trunk@33300 -
2016-03-20 19:04:49 +00:00
marco
66608fec02
* unicode executeprocess from work during Lazarus convention in IJsselstein
...
git-svn-id: trunk@33290 -
2016-03-19 17:59:42 +00:00