florian
d5d3779360
* patch for #8375 from Roozbeh Gholizadeh
...
git-svn-id: trunk@6621 -
2007-02-23 19:35:35 +00:00
daniel
0cc43888e9
* Redefine ucs4char as subrange type ($0..$10ffff), which is the legal
...
Unicode range.
git-svn-id: trunk@6618 -
2007-02-23 14:41:33 +00:00
michael
d49ffdf543
* Renamed dynlibs.pas
...
git-svn-id: trunk@6613 -
2007-02-23 11:06:37 +00:00
Jonas Maebe
b52c4f821a
* make sure the size of tinterfaceentry is correct, regardless of
...
the maxrecordalign setting of the target
git-svn-id: trunk@6591 -
2007-02-21 19:26:09 +00:00
florian
f42a2d67b9
* made exitcode a longint, at least windows supports it, delphi uses a longint too
...
git-svn-id: trunk@6549 -
2007-02-18 20:26:28 +00:00
daniel
7c5d3f69ac
* hexstr can handle pointers
...
git-svn-id: trunk@6526 -
2007-02-17 16:39:02 +00:00
florian
3aa64eb6b4
* made vararrays working on win64
...
git-svn-id: trunk@6515 -
2007-02-16 20:12:34 +00:00
Tomas Hajny
70ca5f79e9
* fix for bug #7539
...
git-svn-id: trunk@6464 -
2007-02-12 21:49:41 +00:00
marco
0d070eef7f
* Patch from Thorsten for bug in lower than equal( only did lower than)
...
git-svn-id: trunk@6423 -
2007-02-11 14:38:29 +00:00
daniel
8ff402109f
+ Add type and constants to ease porting from Kylix libc unit
...
to sockets unit.
git-svn-id: trunk@6414 -
2007-02-11 12:21:01 +00:00
peter
ebccbf720c
* fix concat_multi for widestrings, patch was already done for ansistrings fixes 8292
...
git-svn-id: trunk@6384 -
2007-02-09 12:28:22 +00:00
florian
8ed35dd5fb
* do a stack trace in case of abording with an heap error when EXTRA is defined
...
git-svn-id: trunk@6358 -
2007-02-07 19:35:54 +00:00
peter
cd767cf5c8
* i386 uses generic fpc_compare_shortstr_equal
...
git-svn-id: trunk@6335 -
2007-02-04 16:24:02 +00:00
florian
2fb33c4664
* better export of EXTRA define of heaptrc unit
...
git-svn-id: trunk@6317 -
2007-02-03 11:14:18 +00:00
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
Károly Balogh
f4a21e599a
+ fixed this to compile at least on bigendian
...
git-svn-id: trunk@5709 -
2006-12-25 14:07:04 +00:00
chrivers
c0c59912dd
+ Added sockaddr_un for AF_UNIX local sockets
...
+ Added psockaddr_un for ^sockaddr_un
git-svn-id: trunk@5708 -
2006-12-25 12:51:49 +00:00
florian
df5a5cf75e
* started to fix compilation
...
git-svn-id: trunk@5701 -
2006-12-24 17:06:59 +00:00
florian
454120a504
+ raw conversion of float80 and float128 support commited
...
git-svn-id: trunk@5700 -
2006-12-24 15:13:52 +00:00
daniel
984191ef0e
* Also add symteminline condition.
...
git-svn-id: trunk@5691 -
2006-12-23 15:48:28 +00:00
daniel
29ee556451
* Make real48 operators inline
...
git-svn-id: trunk@5690 -
2006-12-23 15:44:46 +00:00
Jonas Maebe
0c3afc0cf4
+ implementation of cSemaphore* and BasicRTLEvent based on
...
sem_open/sem_close for Darwin (doesn't have sem_init/sem_destroy)
+ implementation of cSemaphore* based on pipes (for potential future
systems that don't have either sem* routines)
+ test for basicrtlevent
* fixed datarace whereby a TThread could be started, run and exit before
TThread.AfterConstructor had been called (Mantis 6693, all platforms)
* throw EThread exceptions in TThread.create if something during creating
the tthread goes wrong (*nix)
* don't crash in TThread.Destroy if the TThread throws an exception before
it was fully initialised (*nix)
* changed order of operations in TThread.Destroy so it doesn't perform
invalid thread operations in some edge cases (*nix)
* fixed usage of sem_wait/sem_trywait (can be interrupted) in Semaphore
and RTLEvent implementations
* fixed erroneous waiting for threads after they had already exited via
pthread_detach/pthread_exit
* fixed several memory leaks in case of thread intialisation errors
(*nix)
* unified tthread.inc for all Unices
git-svn-id: trunk@5662 -
2006-12-21 18:22:47 +00:00
tom_at_work
949aa60805
* DWARF debug lineinfo reader
...
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
florian
fd2032dab2
+ start of embedded rtl
...
+ feature support in the compiler
git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
ivost
0a63d12099
* added RFC4122 fields to TGuid (those are used by uuid.pas, an implementation of RFC4122 functions)
...
git-svn-id: trunk@5609 -
2006-12-16 11:32:35 +00:00
Legolas
9e6d19a494
* rtl part of first Nintendo DS port
...
git-svn-id: trunk@5593 -
2006-12-14 17:34:51 +00:00
florian
f37ed0cf25
* improved r5564
...
git-svn-id: trunk@5573 -
2006-12-11 21:44:01 +00:00
florian
a5c5c0956d
* edited fix from Rimgaudas Laucius to fix #7868
...
git-svn-id: trunk@5564 -
2006-12-10 22:49:18 +00:00
ivost
7e2f18ea7e
* removed debug output (sorry, forgot the remove it, my bad)
...
git-svn-id: trunk@5560 -
2006-12-08 18:14:29 +00:00
ivost
73713d14e3
* improved getinterfaceentry and getinterfaceentrybystr
...
* fixed InitInterfacePointers (just etStandard interface pointers need to be initialized!)
* to fix: EntryOffset and IOffset should be merged (compiler thing)
* to fix: Interface pointer allocation in TClass for not etStandard interfaces is not necessary! (also compiler thing)
git-svn-id: trunk@5559 -
2006-12-08 17:59:31 +00:00
marco
f68280e91c
* Patch from 7048
...
git-svn-id: trunk@5535 -
2006-12-03 19:12:11 +00:00
Almindor
0219dcf2ab
* removes old (wrong) AF_ and PF_ consts from socketsh.inc
...
* adds platform specific AF_ and PF_ consts to respective unxsockh.inc files for freeBSD and Linux (others to follow)
git-svn-id: trunk@5440 -
2006-11-22 10:50:19 +00:00
yury
61f0f0b793
* define FPC_DOUBLE_HILO_SWAPPED for ARM CPU if needed to properly handle doubles in RTL.
...
git-svn-id: trunk@5439 -
2006-11-21 21:24:01 +00:00
florian
442ad0cbe8
* fixed long type and derivates for win64
...
git-svn-id: trunk@5409 -
2006-11-16 20:39:00 +00:00
yury
63a162ac83
* fixed tw4700.
...
git-svn-id: trunk@5388 -
2006-11-15 07:17:41 +00:00
yury
4bfe0e6819
* Optimization for code size.
...
git-svn-id: trunk@5331 -
2006-11-11 14:19:33 +00:00
yury
3ab20922d6
* Optimization for code size. It saves 1.5KB for ARM and 0.5KB for i386.
...
git-svn-id: trunk@5329 -
2006-11-11 13:26:09 +00:00
Jonas Maebe
865a4573cf
* exit with exitcode 217 instead of some random OS result
...
on an unhandled exception
git-svn-id: trunk@5314 -
2006-11-10 20:32:20 +00:00
yury
84d5552deb
* Added HAS_WIDESTRINGMANAGER define to turn off default wide string manager routines.
...
git-svn-id: trunk@5308 -
2006-11-10 14:47:28 +00:00
yury
cc2b691c0c
* Cleanup of variant manager stub in System unit. FPC 2.1.1 adds Variants unit implicitly. Variant manager stub in System unit is never called. This cleanup shrinks wince executable size by 3KB.
...
git-svn-id: trunk@5307 -
2006-11-10 14:41:45 +00:00
yury
c00d0debf0
* fixed some notes/warnings.
...
git-svn-id: trunk@5306 -
2006-11-10 12:36:45 +00:00
yury
677defd615
* Small optimization.
...
git-svn-id: trunk@5304 -
2006-11-10 10:20:38 +00:00
florian
7781e842fc
* varset support fixed
...
git-svn-id: trunk@5294 -
2006-11-08 22:48:44 +00:00
florian
7cc78b6ae1
* improved complex / operator by Dimitrios Apostolou
...
git-svn-id: trunk@5279 -
2006-11-07 21:09:57 +00:00
Jonas Maebe
4240479f5d
* fixed datarace in CBeginThread
...
git-svn-id: trunk@5274 -
2006-11-07 14:05:09 +00:00
yury
df6fec5301
* removed runtime error on unhandled exception when SysUtils is used.
...
git-svn-id: trunk@5273 -
2006-11-07 10:32:27 +00:00
florian
60b1d1e162
* fpc_dispinvoke_variant is a compilerproc
...
git-svn-id: trunk@5256 -
2006-11-05 21:39:32 +00:00
florian
a13d358f1e
* first partially working implementation of variant com invoking
...
git-svn-id: trunk@5247 -
2006-11-05 15:34:15 +00:00
florian
4cbb67aa00
* some fpu emulation code from arm to generic code generator moved
...
* several m68k fixes
git-svn-id: trunk@5218 -
2006-11-04 10:23:35 +00:00
florian
c947295cb8
+ ttertiarynode
...
* traise node refactored using tertiarynode
* more dipatch stuff
git-svn-id: trunk@5215 -
2006-11-03 23:03:31 +00:00
micha
53f935213f
* re-export operatingsystem_result (only not needed for i386-linux-2.1.1)
...
git-svn-id: trunk@5203 -
2006-11-03 13:42:51 +00:00