florian
2167655902
* patch from Thorsten Engler submitted in #8235
...
git-svn-id: trunk@6272 -
2007-01-30 19:53:42 +00:00
daniel
e8050233af
+ Patch by Thorsten Engler to optimize string comparisons for = and <> cases. (Mantis #8231 )
...
git-svn-id: trunk@6241 -
2007-01-28 10:58:52 +00:00
florian
26ffc101da
* fixed softfloat trunc
...
git-svn-id: trunk@6239 -
2007-01-28 09:52:20 +00:00
ivost
c0e9be49b8
* fixed bug related to IMPLEMENTS keyword. The interface type was stored inside the interface defintion what was wrong! now it's set per TImplementedInterface$
...
* merged IOffset and EntryOffset of TInterfaceEntry. The meaning of IOffset depends now on IType
* to optimize: IOffset and FieldOffset of TImplementedInterface can be merged also! fpc still generate an interfacetable entry even for interfaces that aren't implemented in the current class (redirected by IMPLEMENTS keyword)
git-svn-id: trunk@6206 -
2007-01-26 20:58:46 +00:00
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
florian
2579cd139f
+ support for sets with size 1 and 2
...
git-svn-id: trunk@6172 -
2007-01-24 20:06:56 +00:00
florian
5596cd5391
* ensure that qword_to_double is calculated using doubles
...
git-svn-id: trunk@6152 -
2007-01-23 21:06:46 +00:00
Jonas Maebe
3eb4823209
* made return value of TInterfacedObject._AddRef and
...
TInterfacedObject._Release thread safe
git-svn-id: trunk@6130 -
2007-01-22 15:39:55 +00:00
florian
49796e5151
+ TAggregatedObject, fixes #8149
...
git-svn-id: trunk@6089 -
2007-01-20 20:28:29 +00:00
Jonas Maebe
01749b93f3
* disabled checkpointer for Darwin since it doesn't work
...
git-svn-id: trunk@6079 -
2007-01-19 21:40:58 +00:00
tom_at_work
e501fab034
* replaced all HandleError() calls to appropriate float_raise() calls
...
* added overflow handling for fpc_exp_real
* removed arbitrary tabbing by spaces, improving readability somewhat
git-svn-id: trunk@6061 -
2007-01-18 22:10:32 +00:00
yury
fa5865845a
* use float_raise instead of HandleError in fpc_exp_real.
...
git-svn-id: trunk@6036 -
2007-01-18 00:20:29 +00:00
tom_at_work
67e6d8d2da
* fixed float_error() to call HandleError instead of RunError so that they are properly converted to exceptions
...
git-svn-id: trunk@6032 -
2007-01-17 22:08:36 +00:00
daniel
e47681ab0d
* Remove reming usage of errno.
...
git-svn-id: trunk@5981 -
2007-01-14 21:50:24 +00:00
daniel
e6438fe23d
* Make error constants cross platform.
...
git-svn-id: trunk@5977 -
2007-01-14 21:22:47 +00:00
daniel
1c452dd4f9
+ Restore and fix text/file socket functionality.
...
git-svn-id: trunk@5973 -
2007-01-14 18:50:19 +00:00
florian
ce6f6ee4bf
* fixed compilation on i386
...
git-svn-id: trunk@5968 -
2007-01-14 13:56:11 +00:00
florian
b3a1868ff0
* correct masking of exceptions in genmath code
...
git-svn-id: trunk@5965 -
2007-01-14 10:44:10 +00:00
yury
4f5c8cfe1f
* fixed fpc_WideStr_Concat in case when strings the same.
...
git-svn-id: trunk@5964 -
2007-01-14 01:20:16 +00:00
yury
3c10856a4f
* Dont throw runerrors in default MemoryMutexManager if HAS_MT_MEMORYMANAGER is defined.
...
git-svn-id: trunk@5962 -
2007-01-14 01:14:12 +00:00
yury
97e6235535
* fixed fpc_AnsiStr_Concat in case when strings the same.
...
git-svn-id: trunk@5958 -
2007-01-13 23:44:59 +00:00
Almindor
62e276d064
* remove text and file based socket conversions and operations from sockets
...
git-svn-id: trunk@5955 -
2007-01-13 22:21:38 +00:00
yury
737634d781
* Call HandleError in fpc_exp_real for overflow and underflow. It fixes webtbs/tw3157.pp for targets where generic fpc_exp_real is used.
...
git-svn-id: trunk@5948 -
2007-01-13 16:51:43 +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
a95e47507b
* Replaced lot of duplicate code in fpc_Read_xxx procedures by call to internal CheckRead function.
...
git-svn-id: trunk@5877 -
2007-01-11 01:25:14 +00:00
yury
71961bb8ce
* Implemented fpc_Write_Text_Currency and fpc_Read_Text_Currency.
...
git-svn-id: trunk@5874 -
2007-01-10 22:07:42 +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
b04c30dfb8
* fixed warnings.
...
git-svn-id: trunk@5855 -
2007-01-08 19:14:51 +00:00
micha
702685717f
* cleanup of rtlevents, remove startwait due to persistance guarantee
...
git-svn-id: trunk@5854 -
2007-01-08 19:11:07 +00:00
yury
2244f1b9c6
* fixed warning.
...
git-svn-id: trunk@5853 -
2007-01-08 19:08:34 +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
florian
8e8c0832c6
* fixed previous commit
...
git-svn-id: trunk@5843 -
2007-01-07 18:20:58 +00:00
florian
4c7c5e5adf
* hopefully fpc_intf_assign_by_iid improved
...
git-svn-id: trunk@5842 -
2007-01-07 17:59:46 +00:00
pierre
1eefed6cfe
+ HaltOnNotReleased boolean added:defaults to false.
...
if set to true, and all memory is not freed,
a RTE 203 is generated.
Can only be set via HEAPTRC environment variable.
git-svn-id: trunk@5806 -
2007-01-04 10:48:22 +00:00
florian
a2ec2e72b6
* better hint about abstract methods (fixes 5098)
...
+ code generation for invoking dispinterface methods
* small dispinterface problems fixed
git-svn-id: trunk@5798 -
2007-01-03 19:14:31 +00:00
florian
21955282d0
+ infrastructure for DispInterface call dispatching
...
git-svn-id: trunk@5793 -
2007-01-02 23:06:17 +00:00
florian
48e51671e5
* don't include compiler proc. in the docs
...
git-svn-id: trunk@5779 -
2007-01-01 22:55:40 +00:00
Jonas Maebe
1914a723c0
* fixed parsing of denormals (mantis #6493 )
...
git-svn-id: trunk@5772 -
2007-01-01 14:23:29 +00:00
florian
28d59bbf6f
* pos(...,...) overloads with variants, see tb0520.pp for the reason
...
git-svn-id: trunk@5770 -
2006-12-31 17:47:05 +00:00
florian
1e75956435
* continued to work on float128 translation, tedious work
...
git-svn-id: trunk@5747 -
2006-12-29 22:56:41 +00:00
Jonas Maebe
c839d560ab
* store widechar as integer rather than as widestring in variants
...
(Delphi-compatible)
git-svn-id: trunk@5731 -
2006-12-28 16:17:57 +00:00
tom_at_work
92538bcb2a
Fixed lineinfo compilation with -gl
...
git-svn-id: trunk@5723 -
2006-12-26 19:27:45 +00:00
florian
7365009a64
* continued on float128 softfpu code
...
git-svn-id: trunk@5712 -
2006-12-25 22:37:59 +00:00