Jonas Maebe
316c4d6313
* fixed web bug tw4954 (warning when reading from a typed file)
...
+ test for the above (submitted test program minus childish remarks)
git-svn-id: trunk@3733 -
2006-05-29 09:54:42 +00:00
florian
570c1bc3a5
* widestrings aren't ref. counted anymore on windows
...
git-svn-id: trunk@3466 -
2006-05-09 20:54:26 +00:00
peter
a77f503a30
* optimize multiple concats for ansi/widestring
...
git-svn-id: trunk@2650 -
2006-02-20 10:58:28 +00:00
Jonas Maebe
0e2a5dde24
* the pointer parameter of fpc_Read_Text_PChar_As_Pointer is not an
...
out parameter, but a const (the pointer is const and must be
valid already)
git-svn-id: trunk@2486 -
2006-02-08 20:32:32 +00:00
Jonas Maebe
58381ff7b6
* made chararray handling 98% TP-compatible, fixes web bugs 3012
...
and 4080. The compatibility differences are:
a) writing a chararray which is zero-based but not zero-
terminated does not cause a buffer overflow
b) non-zero-based chararrays can also be read
The difference was that previously, all chararrays were treated
as pchars. In TP/Delphi (and now also in FPC), this is only done
for zero-based chararrays. For non-zero-based ones, the entire
contents of the array should always be used (including #0 's).
The default parameters in the system unit for the chararray
helpers are to avoid having to use a define for bootstrapping.
git-svn-id: trunk@2152 -
2006-01-04 10:05:10 +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
florian
398cafb1a0
* fixed cases
...
git-svn-id: trunk@1969 -
2005-12-15 22:55:43 +00:00
florian
e2a4dac215
+ i386 assembler versions of decr_ansistring and unique_ansistring
...
git-svn-id: trunk@1963 -
2005-12-15 19:51:57 +00:00
peter
198aa2e72a
* change value to const string to remvoe implicit exception stack:
...
git-svn-id: trunk@1949 -
2005-12-14 17:23:32 +00:00
michael
198b2104be
+ Removed HASFUNCTIONCOPYDYNARR define
...
git-svn-id: trunk@313 -
2005-06-09 18:06:35 +00:00
michael
06ab2d2ee6
+ Removed STR_USES_VALINT define
...
git-svn-id: trunk@305 -
2005-06-09 17:53:01 +00:00
michael
a775d3d487
+ Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
...
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
michael
3a2eaa94b1
+ Removed INTERNCONSTINTF define
...
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
93ba0409be
+ Removed HASCOMPILERPROC define
...
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
michael
21425e303c
+ Removed HASVARIANT define
...
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52
+ Removed HASWIDESTRING/HASWIDECHAR defines
...
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
florian
f8c314a7b7
* changed fpc_read_text to use out instead of var
...
git-svn-id: trunk@73 -
2005-05-22 18:17:15 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
peter
b68af1b0e3
* post 2.0.0 fixes from cvs
...
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
olle
559ee781b3
- Removed outcommented function
2005-05-14 11:53:31 +00:00
florian
372711eea4
+ a lot of vararray stuff
2005-03-28 13:38:05 +00:00
florian
eeaded577a
* fixed copy(dyn. array,...);
2005-03-05 16:37:28 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
florian
13c5439bb1
+ basic rtl support for variant <-> interface implemented
2005-01-07 21:15:46 +00:00
florian
48c248d6c0
* widecharray patch from Peter
2005-01-06 13:39:59 +00:00
florian
7fb9bd0f57
* implemented helper for variant<->dyn. array type cast
2004-12-05 11:49:06 +00:00
Jonas Maebe
b6a6e78db1
* fixed remaining compilation problems
2004-11-21 16:14:59 +00:00
peter
4d8460ec2f
* float routines all use internproc and compilerproc helpers
2004-11-21 15:35:23 +00:00
peter
95e0ed26f8
* use helper call to retrieve address of input/output to reduce
...
code that is generated in the main program for loading the
threadvar
2004-11-09 23:10:22 +00:00
mazen
b65cffcdef
* widestring conversion routines takes a widechar so no
...
information is lost
2004-09-29 14:55:49 +00:00
peter
962ef697d5
* remove comment warnings
2004-05-31 14:31:57 +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
53ec165e68
* x86-64 fixes
2004-04-29 19:50:13 +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
florian
2e3fb337ff
* fixed getmem prototype for 64 bit systems
2004-04-12 18:51:02 +00:00
Jonas Maebe
c2efd86268
+ integer division-by-zero detection support for ppc
...
+ compilerproc FPC_DIVBYZERO
2004-01-01 17:58:16 +00:00
florian
78a00b657b
* fixed copy(<dynarray>, ...)
2003-10-25 22:52:07 +00:00
florian
e346ebacb6
* write helper comproc for variants fixed
2003-10-04 23:40:42 +00:00
florian
8585d3d0b8
* ifdef'd some helpers
2003-09-02 13:04:08 +00:00
peter
10f0e5cb6e
* pcomp added for sparc
2003-09-01 20:47:23 +00:00
olle
f062855e7f
- removed parameter from fpc_iocheck
2003-08-21 22:07:43 +00:00
Jonas Maebe
4be7651aa2
* fixed conversion of fpc_*str_unique to compilerproc
2003-06-17 19:24:08 +00:00
Jonas Maebe
394b70f94d
* fpc_{ansistr|widestr}_unique is now a function so it can be used as
...
compilerproc
2003-06-17 16:38:53 +00:00
peter
60407e302b
* fpc_shortstr_concat is now the same for all targets
...
* fpc_shortstr_append_shortstr added for optimized code generation
2003-05-26 19:36:46 +00:00
florian
35bb4d682f
* fixed generic shortstr_compare
2003-05-16 22:40:11 +00:00
peter
163e06f93b
* fpc_help_fail compilerproc
...
* fpc_new_class, fpc_dispose_class not needed by latest compiler
2003-05-13 19:18:08 +00:00
peter
c2c11ba6a6
* constructor helper added
2003-05-11 21:39:14 +00:00