Jonas Maebe
5f61271824
* fixed val_sint(x,longint) for negative hex/bin values on 64 bit
...
platforms
git-svn-id: trunk@6205 -
2007-01-26 18:43:50 +00:00
Jonas Maebe
6c578f55df
* support 'x1f' and 'X1f' for hex notation in val() (Delphi compatibility,
...
mantis 8177)
git-svn-id: trunk@6204 -
2007-01-26 18:34:08 +00:00
yury
21dcfcd404
* fixed fpc_ShortStr_Currency in case of 0 value.
...
git-svn-id: trunk@5895 -
2007-01-11 18:52:00 +00:00
yury
f45a5e2961
* fixed compilation on 64 bit targets.
...
git-svn-id: trunk@5871 -
2007-01-10 18:26:48 +00:00
Jonas Maebe
2fa51a485f
* bootstrapping for systems where currency is not a float
...
git-svn-id: trunk@5865 -
2007-01-09 16:24:45 +00:00
yury
adae4e9976
* implemented fpc_WideStr_Currency, fpc_chararray_Currency, fpc_Val_Currency_WideStr.
...
git-svn-id: trunk@5861 -
2007-01-09 00:06:28 +00:00
yury
b6b9582d8e
* implemented fpc_AnsiStr_Currency and fpc_Val_Currency_AnsiStr.
...
* fixed fpc_ShortStr_Currency.
git-svn-id: trunk@5856 -
2007-01-08 19:40:14 +00:00
yury
2d683bcbe6
* implemented fpc_Val_Currency_ShortStr.Not used yet.
...
git-svn-id: trunk@5852 -
2007-01-08 17:37:21 +00:00
yury
697875f5af
* Fixed reading beyond input string in fpc_Val_Real_ShortStr if empty string was passed.
...
git-svn-id: trunk@5849 -
2007-01-08 15:12:48 +00:00
yury
a2f4c7fd2a
* fixed fpc_ShortStr_Currency.
...
git-svn-id: trunk@5848 -
2007-01-08 14:13:49 +00:00
yury
37b9258431
* Implemented fpc_ShortStr_Currency. Not used yet.
...
git-svn-id: trunk@5847 -
2007-01-08 13:51:04 +00:00
Jonas Maebe
1914a723c0
* fixed parsing of denormals (mantis #6493 )
...
git-svn-id: trunk@5772 -
2007-01-01 14:23:29 +00:00
Jonas Maebe
9a08cdccf0
* several changes of var parameters into out parameters to avoid
...
useless warnings: code parameter of val(), destination of str(),
destinations of ansi2wide and wide2ansi
git-svn-id: trunk@2041 -
2005-12-23 22:25:26 +00:00
Jonas Maebe
2dea0c793f
* made the target parameter of SetString an "out" instead of "var" parameter
...
git-svn-id: trunk@1896 -
2005-12-07 16:06:34 +00:00
florian
ed95c19399
* reallocation of widestrings on windows fixed
...
* warnings in sstrings.inc fixed
git-svn-id: trunk@500 -
2005-06-26 08:17:21 +00:00
michael
7449f99d5f
+ Removed all compatibility defines from compiler
...
git-svn-id: trunk@335 -
2005-06-09 21:14:22 +00:00
michael
06ab2d2ee6
+ Removed STR_USES_VALINT define
...
git-svn-id: trunk@305 -
2005-06-09 17:53:01 +00:00
michael
93ba0409be
+ Removed HASCOMPILERPROC define
...
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
michael
db5d9d75aa
+ Removed INTERNCOPY define
...
git-svn-id: trunk@259 -
2005-06-07 21:11:49 +00:00
michael
a20556e62d
+ Removed INTERNLENGTH/INTERNSETLENGTH defines
...
git-svn-id: trunk@257 -
2005-06-07 21:07:21 +00:00
michael
23ad0ae1ec
+ Removed HASINTF and VER1_0 defines
...
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
f787600c86
+ 0x is now recognized as hex prefix
2005-04-02 07:57:38 +00:00
michael
5c047389a6
+ Patch from Colin Western to fix uninitialized memory reads
2005-03-20 12:45:19 +00:00
peter
7eeca4fdce
* added HexStr(Pointer)
2005-02-25 12:34:46 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
14eb8f59b4
internconst, internproc and some external declarations moved to interface
2004-11-17 22:19:04 +00:00
Jonas Maebe
d9267aafdf
* fixed endianess bug in fpc_val_int64_shortstr() (webtbf/tw2128)
2004-11-02 22:38:58 +00:00
peter
81b6d9f16c
* replace strlenint with sizeint
2004-05-01 23:55:18 +00:00
peter
b5df63e617
* ValSInt fixed for 64 bit
2004-05-01 20:52:50 +00:00
peter
cafed35e77
* str() helpers now also use valint/valuint
...
* int64/qword helpers disabled for cpu64
2004-04-29 18:59:43 +00:00
Jonas Maebe
eee67f89ea
* fixed shortstring version of setstring
2003-02-26 20:04:47 +00:00
Jonas Maebe
f5a775bc7c
* fixed some buffer overflow errors in SetString (both short and
...
ansistring versions) (merged)
2002-10-21 19:52:47 +00:00
michael
aae8314d02
+ Added check for nil buffer to setstring
2002-10-19 17:06:50 +00:00
peter
603b3bc48b
* Copy() changed to internal function calling compilerprocs
...
* FPC_SHORTSTR_COPY renamed to FPC_SHORTSTR_ASSIGN because of the
new copy functions
2002-10-02 18:21:51 +00:00
carl
e1167f8d09
* Delphi compatibility fix (with string routines)
2002-09-14 11:20:50 +00:00
carl
7cbb2eb379
* cardinal -> longword
2002-09-07 21:16:45 +00:00
peter
01dfac4a4e
* old logs removed and tabs fixed
2002-09-07 15:06:34 +00:00
peter
a17291b2d4
* array of char support for Str()
2002-09-02 19:24:41 +00:00
michael
b5717d4dde
+ Added support for octal strings (using &)
2002-08-06 20:53:38 +00:00
peter
c6fd513271
* lowercase() overloaded
2002-01-24 18:27:06 +00:00
Jonas Maebe
1b89398cec
* optimized fpc_val_sint_shortstr
2001-11-16 15:09:47 +00:00
Jonas Maebe
4716f168dd
* renamed some str(x,y) and val(x,y) helpers so the naming scheme is the
...
same for all string types
+ added the str(x,y) and val(x,y,z) helpers for int64/qword to
compproc.inc
2001-08-13 12:40:16 +00:00
Jonas Maebe
b9f6efc85b
+ "compproc" helpers
...
* renamed several helpers so that their name is the same as their
"public alias", which should facilitate the conversion of processor
specific code in the code generator to processor independent code
* some small fixes to the val_ansistring and val_widestring helpers
(always immediately exit if the source string is longer than 255
chars)
* fixed fpc_dynarray_high and fpc_dynarray_length if the dynarray is
still nil (used to crash, now return resp -1 and 0)
2001-08-01 15:00:09 +00:00
peter
ca8d604964
* various widestring updates, it works now mostly without charset
...
mapping supported
2001-07-08 21:00:14 +00:00
Jonas Maebe
417d6849a8
* fixed bug in ValSignedInt (it accepted some values slightly larger than
...
high(cardinal) such as 4294967297) (merged)
2001-07-04 12:02:14 +00:00
peter
741d455ab7
* Formal const to var fixes
...
* Hexstr(int64) added
2001-06-04 11:43:51 +00:00
peter
e150c46c78
* remove warnings
2001-04-13 22:26:32 +00:00