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
Jonas Maebe
2b210335a1
* fixed pointer arithmetic errors in WideStrAlloc/StrBufSize/StrDispose
...
(patch by Iks, mantis #29710 )
git-svn-id: trunk@33271 -
2016-03-18 13:12:11 +00:00
michael
668f8eec91
* Patch from Silvio Clecio to declare EArgumentNilException (Bug ID 29850)
...
git-svn-id: trunk@33258 -
2016-03-16 19:10:10 +00:00
michael
416151a335
* Adapted string routines so they use sizeint instead of integer (bug ID 29814)
...
git-svn-id: trunk@33246 -
2016-03-13 18:59:21 +00:00
michael
671416959d
* Added SameStr, for symmetry and consistency with SameText (bug ID 29821)
...
git-svn-id: trunk@33238 -
2016-03-13 16:31:41 +00:00
florian
8b81ce7e25
* use PtrUInt instead of Cardinal in GenericAnsiStrLComp and GenericAnsiStrLIComp, resolves #29815
...
git-svn-id: trunk@33218 -
2016-03-11 20:38:48 +00:00
michael
839a0445a4
Fixed bug in split when final word has length 1 (bug ID 29798)
...
git-svn-id: trunk@33209 -
2016-03-09 19:56:57 +00:00
michael
5568ee5513
* Bug ID #29779 , add DWord versions of StrToInt
...
git-svn-id: trunk@33153 -
2016-03-05 13:50:59 +00:00
michael
dd00b26c09
* Implement missing functions (Fraction/Exponent/Mantissa/Sign)
...
git-svn-id: trunk@33060 -
2016-02-06 12:44:23 +00:00
michael
a999f055ef
* Implement missing functions (Fraction/Exponent/Mantissa/Sign)
...
git-svn-id: trunk@33059 -
2016-02-06 12:44:05 +00:00
michael
21920b9cea
* Correct string type
...
git-svn-id: trunk@33058 -
2016-02-06 12:17:41 +00:00
michael
cf530f117e
* Faster stringreplace (bug ID 26864)
...
git-svn-id: trunk@33055 -
2016-02-06 10:19:56 +00:00
michael
6df35742ae
* Fix bug #0029461 , faSymlink is incompatible with Delphi and plain wrong
...
git-svn-id: trunk@32985 -
2016-01-22 21:07:27 +00:00
michael
8544b8a500
* Patch from Anthony Walter to make IsValidIdent more strict in case of dotted identifiers (bug ID 29364)
...
git-svn-id: trunk@32920 -
2016-01-10 22:57:19 +00:00
michael
244be4f4c2
* Added UnicodeStringReplace WideStringReplace (bug ID 28396)
...
git-svn-id: trunk@32815 -
2015-12-31 16:09:05 +00:00
michael
67d0cd1770
* Fix bug #29273 (extra argument for IsValidIdent)
...
git-svn-id: trunk@32791 -
2015-12-29 16:55:00 +00:00
michael
a5eb3777de
* Fix MaxDateTime constant (bug ID 28282)
...
git-svn-id: trunk@32775 -
2015-12-28 14:23:23 +00:00
michael
42804c935f
* Declare TStringSplitOptions with scopedenum (bug ID 29032)
...
git-svn-id: trunk@32730 -
2015-12-26 16:16:02 +00:00
michael
891aaa9732
* Fix bug ID #28737
...
git-svn-id: trunk@32727 -
2015-12-26 15:15:34 +00:00
michael
745c1499df
* Mark forgotten implementations with runerror 219
...
git-svn-id: trunk@32266 -
2015-11-07 12:36:32 +00:00
michael
6955106a13
* Fix TStringSplitOptions
...
git-svn-id: trunk@32265 -
2015-11-07 12:36:10 +00:00
michael
4a32135563
* no type helpers in version 2.6.*
...
git-svn-id: trunk@32263 -
2015-11-07 09:54:43 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
yury
7c62aadf65
* Fixed string conversion warnings in RTL.
...
git-svn-id: trunk@31752 -
2015-09-17 17:25:57 +00:00
yury
e1a0b1204a
* Removed unused vars in RTL.
...
git-svn-id: trunk@31750 -
2015-09-17 16:48:53 +00:00
Jonas Maebe
2afd8eb802
- removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it
...
git-svn-id: trunk@31692 -
2015-09-15 11:51:48 +00:00
svenbarth
2cf8cdd885
Fix for Mantis #28650 .
...
rtl/objpas/sysutils/sysstrh.inc:
* forward PString to ObjPas.PString to avoid potential type conflicts
+ added test
git-svn-id: trunk@31603 -
2015-09-11 15:38:59 +00:00
michael
0958ff80de
* Fix bug #28364
...
git-svn-id: trunk@31185 -
2015-07-01 19:57:10 +00:00
Jonas Maebe
d57a85a2de
* fixed compilation on non-Windows systems after r31035
...
git-svn-id: trunk@31043 -
2015-06-13 22:05:50 +00:00
michael
633c8c7118
* Make sure TSystemTime is seen by fpdoc
...
git-svn-id: trunk@31035 -
2015-06-13 16:36:37 +00:00
Jonas Maebe
afd5ed4afe
* fixed StrPLCopy() with maxlen=0 (mantis #28089 , patch by LacaK)
...
git-svn-id: trunk@30858 -
2015-05-15 09:00:56 +00:00
florian
c2c87828e9
+ slightly modified patch by lelekx to implement plugable file routines for the embedded target, resolves issue #22918
...
git-svn-id: trunk@30759 -
2015-05-02 08:03:18 +00:00
michael
a11fa384b8
* Fix bug #27006
...
git-svn-id: trunk@30704 -
2015-04-22 17:01:14 +00:00
michael
3b33b2a7bc
* Fix bug ID #26512
...
git-svn-id: trunk@30620 -
2015-04-17 16:44:11 +00:00
michael
1e365f341e
* Reverted revision 30557
...
git-svn-id: trunk@30577 -
2015-04-13 19:45:25 +00:00
michael
10633da13b
* Reverted revision 30575 (forgor -depth=immediate
...
git-svn-id: trunk@30576 -
2015-04-13 19:44:51 +00:00
michael
2cab4a9a73
* Reverted revision 30557
...
git-svn-id: trunk@30575 -
2015-04-13 19:43:43 +00:00
michael
56715d5d00
* Fix bug #27832
...
git-svn-id: trunk@30557 -
2015-04-12 17:34:13 +00:00
michael
81fa382c42
* Rename WriteExceptionToStdErr -> WriteErrorsToStdErr
...
git-svn-id: trunk@30555 -
2015-04-12 15:37:46 +00:00