Commit Graph

1738 Commits

Author SHA1 Message Date
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