nickysn
5409450195
+ ported and enabled compilation of unit sysutils for win16
...
git-svn-id: trunk@37734 -
2017-12-15 16:58:49 +00:00
michael
32cdee6f5d
* Fix bugs 30950 & 29781
...
git-svn-id: trunk@36740 -
2017-07-17 16:24:05 +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
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
michael
3e21810dbd
* Change comments for AdjustLineBreaks (bug ID 30959)
...
git-svn-id: trunk@34969 -
2016-11-26 17:05:54 +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
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
a5d38c7ba6
* Added TStringBuilder
...
git-svn-id: trunk@33695 -
2016-05-16 15:23:40 +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
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
5568ee5513
* Bug ID #29779 , add DWord versions of StrToInt
...
git-svn-id: trunk@33153 -
2016-03-05 13:50:59 +00:00
michael
cf530f117e
* Faster stringreplace (bug ID 26864)
...
git-svn-id: trunk@33055 -
2016-02-06 10:19:56 +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
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
florian
4d5f1f04fe
* solution in r29126 was brute force, fixed
...
git-svn-id: trunk@29128 -
2014-11-23 20:37:20 +00:00
florian
9a31cba3d3
* do not blindly insert decimal seperators in StrToFloat, resolves #27029
...
git-svn-id: trunk@29126 -
2014-11-23 20:18:19 +00:00
michael
a45890443b
* Fix for regression in 12385
...
git-svn-id: trunk@28741 -
2014-10-04 15:59:37 +00:00
michael
2a4019b012
* Fix tw13076, broken by previous commit 28660
...
git-svn-id: trunk@28680 -
2014-09-16 14:00:41 +00:00
michael
4c86a68345
* Fix bug #23954
...
git-svn-id: trunk@28660 -
2014-09-14 15:58:07 +00:00
nickysn
afea0739c6
* fixed StrToInt, IntToStr and friends for objpas.integer=smallint
...
git-svn-id: trunk@27067 -
2014-03-10 00:33:53 +00:00
Jonas Maebe
5ed4e99dc1
+ uppercase/lowercase(unicodestring) (fixes a warning in fina.inc when
...
compiled with unicodestring)
* changed uppercase/lowercase(ansistring) to use the same logic as the
new unicode versions (unify code for lower/upper, only make result
unique if necessary)
+ test for all four routines
git-svn-id: branches/cpstrrtl@25006 -
2013-06-28 12:46:25 +00:00
Jonas Maebe
25ebb36103
* catch invalid floating point operations in TextToFloat (mantis #24197 )
...
git-svn-id: trunk@24105 -
2013-04-01 11:50:49 +00:00
Jonas Maebe
7dfe1301c3
* fixed type in FloatToStrFIntl introduced in r23311 (mantis #24131 )
...
git-svn-id: trunk@24013 -
2013-03-26 18:53:37 +00:00
florian
6363567fba
* FloatToStrFIntl is used only internally so we can assume that Value is aligned
...
git-svn-id: trunk@23311 -
2013-01-04 19:13:28 +00:00
Jonas Maebe
9804fd527b
* don't add a thousands separator in FormatFloat if there are no digits
...
before it because the value is too small, regardless of what the format
pattern sepcifies (patch by Bart Broersma, mantis #13076 )
git-svn-id: trunk@23095 -
2012-12-02 16:57:41 +00:00
Jonas Maebe
b4971c72d3
* partial fix for mantis #22912 (waiting on clarification from Unicode
...
consortium for the character.pas unit)
git-svn-id: trunk@22494 -
2012-09-28 07:57:45 +00:00
Jonas Maebe
349a682596
* corrected license header from GPL to LGPL + static linking exception like
...
the rest of the FPC RTL, after confirming with the original author that
this is ok (mantis #22879 )
git-svn-id: trunk@22413 -
2012-09-17 12:12:42 +00:00
Jonas Maebe
193c7af57f
* print literal e/E in formatfloat if not followed by +/- (remaining part of
...
mantis #22290 )
git-svn-id: trunk@22248 -
2012-08-26 14:51:32 +00:00
Jonas Maebe
a4804a3c25
* let FloatToStr output the correct number of decimals in case the
...
first significant digit is preceded by several zeroes (patch by
C. Western, mantis #16907 )
git-svn-id: trunk@19738 -
2011-12-03 22:34:00 +00:00
marco
7c1f4b8f20
* pass format string to doformaterror procedure. Mantis 16253
...
git-svn-id: trunk@17080 -
2011-03-05 17:02:43 +00:00
sergei
131b7fcdb2
* RTL: Replaced deprecated formatting symbols with their up-to-date counterparts, reduces compiler noise.
...
* Also removed some unused variables.
git-svn-id: trunk@16744 -
2011-01-09 15:27:05 +00:00
michael
b93ab63038
* Fixed IntToHex in case of (0,0)
...
git-svn-id: trunk@16026 -
2010-09-20 07:46:04 +00:00
michael
154c6ec4d2
* Implementation of values 11..15 of negcurrentformat from Zeljan Rikalo
...
git-svn-id: trunk@15982 -
2010-09-14 11:23:41 +00:00
michael
f7b268713d
* Patch from Zeljan Rikalo to fix issue #13722 (FloatToStrF negative 0)
...
git-svn-id: trunk@15945 -
2010-09-06 11:09:39 +00:00
Jonas Maebe
89be8d45e3
* use TrueBoolStrs/FalseBoolStrs for *StrToBool* (mantis #16848 )
...
git-svn-id: trunk@15764 -
2010-08-10 13:06:22 +00:00
Jonas Maebe
a18f2594e2
* fixed FloatToStr for ffGeneral when dealing with numbers whose number of
...
significant digits before the decimal points matches the precision
parameter exactly (mantis #16188 )
* round instead of cut off digits in FloatToStr with ffGeneral
* take into account the minus sign when determining whether a number needs
to be represented using ffExponent instead of ffGeneral because it has
too many digits
git-svn-id: trunk@15114 -
2010-04-05 14:54:24 +00:00
paul
5cc182ac07
rtl: fix FormatFloat to skip first spaces
...
git-svn-id: trunk@14490 -
2009-12-28 15:53:35 +00:00