Jonas Maebe
82ff623390
+ fixed Julian date helpers (based on patch by Bernd Engelhardt, mantis
...
#16040 )
* finished remaining unimplemented Julian date helpers
git-svn-id: trunk@15032 -
2010-03-22 21:01:46 +00:00
Jonas Maebe
fa1d72a2cc
+ definition of pthread_mutex_trylock(), fixes compilation after r15026
...
git-svn-id: trunk@15027 -
2010-03-21 11:47:27 +00:00
marco
c477df5046
* TCriticalSection.Tryenter support (Mantis 15928) + short test/demo
...
tested on FreeBSD (general Unix) and Windows. Note that Haiku seems
to have a native threadmgr rather than the Unix one. Will notify
maintainer (Olivier)
git-svn-id: trunk@15026 -
2010-03-21 11:34:05 +00:00
marco
49fc4795e3
* fix for mantis 16052 RFC4122 compliance of own random GUID creation. Part II
...
git-svn-id: trunk@15024 -
2010-03-20 14:08:10 +00:00
marco
b6048862b8
* fix for mantis 16052 RFC4122 compliance of own random GUID creation.
...
git-svn-id: trunk@15023 -
2010-03-20 13:03:45 +00:00
michael
f29973cc71
* Added Exchange to TCollection. Bug ID #15517
...
git-svn-id: trunk@15012 -
2010-03-14 10:25:32 +00:00
Jonas Maebe
3ea3a41d2a
o patch from Olivier for Haiku libiconv functionality (mantis #15906 ):
...
* Haiku's nl_langinfo implementation is now used under Haiku instead of
the BeOS stub.
* Fix linking to iconv in the iconvenc package. The prefix has change
since the previous Haiku's version.
git-svn-id: trunk@14995 -
2010-03-09 09:58:14 +00:00
pierre
cee190b1f8
* shift128right last parameter should also by var type
...
git-svn-id: trunk@14993 -
2010-03-08 08:00:56 +00:00
olivier
54a0fbc015
* Active out support using $modeswitch under BeOS after r14965
...
git-svn-id: trunk@14990 -
2010-03-07 02:55:47 +00:00
olivier
27c99a7e13
* Active out support using $modeswitch under Haiku after r14965
...
git-svn-id: trunk@14989 -
2010-03-07 02:53:33 +00:00
Jonas Maebe
9cd0a2ff1e
* link to libpthread at compile time on Linux to avoid problems on some
...
newer glibc systems when it's only loaded dynamically at run time
git-svn-id: trunk@14970 -
2010-03-04 15:36:35 +00:00
paul
e2dbccf017
rtl: fix streaming of ancestor components - save/restore FRootAncestor in TWriter.WriteComponent because it can be changed by DoFindAncestor call (if IDE/or user code is connected to OnFindAncestor event)
...
git-svn-id: trunk@14969 -
2010-03-04 07:21:18 +00:00
Legolas
bc1bcf343e
* Updated NDS and GBA to devkitARM r28
...
* Updated libnds to 1.4.1
* Fixed NDS rtl according with last string handling changes
* Fixed nds audio examples
git-svn-id: trunk@14967 -
2010-03-02 21:56:41 +00:00
marco
be98b13554
* fix for 11263, changed fileread and fd_zero to out using $modeswitch.
...
git-svn-id: trunk@14965 -
2010-03-01 22:35:14 +00:00
joost
151fab0548
* Moved TEventType from eventlog.pp tot sysutils
...
* Added empty TCustomApplication.Log method
git-svn-id: trunk@14960 -
2010-03-01 13:15:36 +00:00
marco
4ee7f3adee
* fix for mantis 15865 add hmonitor
...
git-svn-id: trunk@14953 -
2010-02-28 12:38:17 +00:00
paul
8d7312f87b
rtl: use CreateVCLComObject routing to create VCLComObject in case it is not assigned + test
...
git-svn-id: trunk@14948 -
2010-02-27 08:49:50 +00:00
paul
9aa4504369
rtl: initial TComponent.VCLComObject support - map interface related TComponent methods to the appropriate IVCLComObject interface methods
...
git-svn-id: trunk@14947 -
2010-02-27 08:05:51 +00:00
paul
fcaac0ebe1
compiler,rtl - safecall handling:
...
- pass address to SafeCallException method(rtl needed a modification)
- improve code generation for regular safecall routines (not methods)
- improve test - check that passed exception and address are valid
git-svn-id: trunk@14946 -
2010-02-27 04:41:52 +00:00
paul
cf0a1b1af9
compiler: safecall exception handling:
...
- move safecall exception handling from codegenerator to generate_except_block method (which generates nodes)
- call SafeCallException for safecall methods which raises an exception
git-svn-id: trunk@14940 -
2010-02-26 10:17:24 +00:00
paul
ea8bf4f2fd
rtl: TObject.SafeCallException and TComponent.SafeCallException has HResult return value. Fix default return value to catastrophic failure error code.
...
git-svn-id: trunk@14936 -
2010-02-25 04:13:52 +00:00
paul
bfb7d91b74
rtl: fix typos
...
git-svn-id: trunk@14935 -
2010-02-25 04:09:30 +00:00
marco
30207d73ea
* epoll_oneshot constant, mantis 15732
...
git-svn-id: trunk@14931 -
2010-02-20 22:24:01 +00:00
Jonas Maebe
d2a7a4c627
* fixed signal return trampolines for ARM EABI (mantis #15803 )
...
git-svn-id: trunk@14922 -
2010-02-18 20:53:28 +00:00
Jonas Maebe
025ec34e4d
+ "CExtended" type that is the same as "extended", but conforming to the
...
properties/behaviour of the equivalent of Extended in C (i.e., to
"long double" on i386 and x86_64 platforms that support a 10 byte
long double, and to "double" elsewhere)
git-svn-id: trunk@14912 -
2010-02-14 13:45:58 +00:00
Tomas Hajny
5c31042f6a
* SharedSuffix moved to include files to reduce number of ifdefs
...
git-svn-id: trunk@14902 -
2010-02-13 15:44:12 +00:00
marco
ef4954f8d9
* Pascal version for asm code in video (Mantis 15700)
...
git-svn-id: trunk@14901 -
2010-02-13 15:37:07 +00:00
marco
da19c48e05
* initial x86_64 code for compare videobuffer. To be tested later. Mantis 15700
...
git-svn-id: trunk@14900 -
2010-02-13 14:30:07 +00:00
marco
54b15ba318
* tcursorinfo incorrectly was aliassed to console_cursor_info, which is incorrect for
...
getcursorinfo in redef.inc. Added cursor_info structs as per MSDN. Mantis 15745
git-svn-id: trunk@14898 -
2010-02-13 14:06:08 +00:00
ivost
efc3054644
* commented "deprecated". specialization is not working
...
git-svn-id: trunk@14894 -
2010-02-13 00:29:22 +00:00
marco
d742d6db58
* another fix for #15655 , wrongly fixed in r14885
...
git-svn-id: trunk@14893 -
2010-02-12 22:32:22 +00:00
joost
8f90db3e98
* Fixed mem-leaks
...
git-svn-id: trunk@14891 -
2010-02-12 15:44:56 +00:00
ivost
2f20f6efc1
* marked old OnCompare properties as deprecated. use OnKeyCompare or OnDataCompare instead.
...
git-svn-id: trunk@14889 -
2010-02-11 20:48:35 +00:00
ivost
0637586076
* extended TFPGMap so that it's possible to add a custom compare function for data. Default compare function is binary compare.
...
git-svn-id: trunk@14888 -
2010-02-11 20:45:14 +00:00
ivost
02b4a626de
* changed some var parameters to out. the context allows that. it's required to prevent "not initialized variable" warning.
...
git-svn-id: trunk@14886 -
2010-02-11 15:52:37 +00:00
marco
fb1e916ed2
* fix from mantis 15655 that adds notifiers to tlist.addlist.
...
git-svn-id: trunk@14885 -
2010-02-11 13:37:34 +00:00
Jonas Maebe
1b58fcc877
* set moduleislib to true for libraries. Differences with islibrary:
...
a) is also set to true for packages (when packages will beimplemented)
b) exists for each package/library/application separately, instead of
being stored in the package containing the system unit (when packages
will be implemented)
(mantis #15701 )
git-svn-id: trunk@14880 -
2010-02-10 16:10:23 +00:00
florian
0c153a46df
* math.power/intpower(0,0) return 1, this is as recommended in IEEE 754
...
as well as compatible with other programming languages and delphi
git-svn-id: trunk@14873 -
2010-02-06 23:10:03 +00:00
Jonas Maebe
b1d2ab5450
* tobject.inheritsfrom(nil) has to return false (mantis #15690 )
...
git-svn-id: trunk@14870 -
2010-02-06 18:14:26 +00:00
Jonas Maebe
870edaf916
* tobject.unitname and tobject.tostring have to return an ansistring instead
...
of a shortstring (mantis #15693 )
* changed tobject5 so it checks whether the return values are correct
git-svn-id: trunk@14869 -
2010-02-06 17:53:49 +00:00
florian
34f976afea
* enabled internal sar support for sparc and mips as well
...
git-svn-id: trunk@14867 -
2010-02-04 22:04:19 +00:00
marco
706f0b7975
* New more delphi compat intstrtotime by Bart Broersma #15505 + test
...
git-svn-id: trunk@14854 -
2010-02-03 15:10:14 +00:00
pierre
e716c54523
* fix double to clongdouble conversions for 128 bits C long double
...
git-svn-id: trunk@14849 -
2010-02-02 23:36:46 +00:00
pierre
a989b6c1e6
* avoid problems for windows if case of drive letter is different
...
git-svn-id: trunk@14840 -
2010-02-01 15:47:22 +00:00
florian
dfc2652062
+ support of compiler intrinsic sar* using a patch by Benjamin Rosseaux, resolves #15606
...
git-svn-id: trunk@14834 -
2010-01-31 16:47:01 +00:00
pierre
23e171d396
* Fix alignment problem for sparc arch.
...
git-svn-id: trunk@14833 -
2010-01-30 22:19:14 +00:00
Jonas Maebe
89e4e0fd25
* only wake up readers if all recursive write locks have been freed
...
git-svn-id: trunk@14831 -
2010-01-29 21:56:46 +00:00
Jonas Maebe
13e8b3f23e
* don't give a "NoThreadError" for any default rtl/basicevent* routines,
...
so the TMultiReadExclusiveWriteSynchronizer routines can be safely
executed even with the default thread manager -> removed ismultithread
checks, so that it keeps working even if ismultithread is set to true
between acquiring and freeing a lock (mantis #15619 )
git-svn-id: trunk@14830 -
2010-01-29 21:01:11 +00:00
Jonas Maebe
e4858445c7
* make sure fwritelocked remains set correctly when using recursive write locks
...
git-svn-id: trunk@14828 -
2010-01-29 18:10:10 +00:00
pierre
048b2ba67b
* fix pthread problem wen using nice for solaris
...
git-svn-id: trunk@14823 -
2010-01-28 19:05:42 +00:00