Commit Graph

1881 Commits

Author SHA1 Message Date
florian
dc2a8787a1 + VarArrayPut and VarArrayGet from Igor, resolves #9161
git-svn-id: trunk@8117 -
2007-07-21 18:49:10 +00:00
daniel
f0087dad28 * Write zero to extra bytes of quadruple when converting to it.
git-svn-id: trunk@8115 -
2007-07-21 15:36:38 +00:00
daniel
4861c8b7ed * Convert clongdouble from double <=> quadruple on non-x86.
git-svn-id: trunk@8114 -
2007-07-21 15:32:15 +00:00
daniel
c5ac7638ed * Make clongdouble 16 bytes on Darwin.
git-svn-id: trunk@8113 -
2007-07-21 15:00:52 +00:00
daniel
2fbe0038b9 * Make clongdouble:
- 8 bytes on windows
    - For other platforms: 12 bytes on 32-bit and 16 bytes on 64-bit cpus.
    ... using a record with assignment overloads.

git-svn-id: trunk@8112 -
2007-07-21 13:02:11 +00:00
Almindor
fdecceebd0 * fix UnicodeToUtf8 if Dest is nil, patch by Sergei Gorelkin
git-svn-id: trunk@8078 -
2007-07-16 18:24:32 +00:00
yury
4da2e1a04f * fixed conversion zero int64 to double in softfloat mode.
git-svn-id: trunk@8050 -
2007-07-14 18:45:00 +00:00
yury
04b640880c * fixed exp() for hardfloat on arm.
git-svn-id: trunk@8013 -
2007-07-10 20:31:47 +00:00
marco
9c45584938 * Safeloadlibrary
git-svn-id: trunk@7985 -
2007-07-09 08:07:42 +00:00
yury
55d6a37865 * Fixed bug #9221.
+ Test.

git-svn-id: trunk@7975 -
2007-07-07 17:37:34 +00:00
florian
4917931c63 * don't compile objects in fpu emulation mode
git-svn-id: trunk@7964 -
2007-07-05 20:01:01 +00:00
Jonas Maebe
1eb1bf4c42 * fixed str(extended(0.005):0:2) and related problems
git-svn-id: trunk@7959 -
2007-07-05 15:25:01 +00:00
Jonas Maebe
17e0807a20 * fixed cycle (fpc_getmem argument from ptrint -> ptruint)
git-svn-id: trunk@7951 -
2007-07-04 19:57:07 +00:00
daniel
0c3a2a257d * Convert heap to ptruint.
git-svn-id: trunk@7950 -
2007-07-04 19:46:47 +00:00
Jonas Maebe
0d8594a705 * made cwstring thread safe without locks + test (twide4): widestring
manager now has two extra parameterless procedures (ThreadInitProc
    and ThreadFiniProc) which are called whenever a thread begins/ends,
    and cwstring uses these to create separate iconv handles for
    each thread (via threadvars)
  * renamed UCS4 to UCS-4BE/LE, because UCS4 is not recognised by most
    systems
  * clean up all iconv handles on exit, and check whether they are
    valid before doing so

git-svn-id: trunk@7949 -
2007-07-04 18:10:34 +00:00
daniel
02bed23a11 * Prevent range check error at compile time.
git-svn-id: trunk@7938 -
2007-07-03 21:28:59 +00:00
yury
8a0cc8c888 * Reallocate source winlike widestring on assign. It fixes bug #9190.
* Error handling on allocating winlike widestring.
+ Test.

git-svn-id: trunk@7917 -
2007-07-01 21:57:39 +00:00
yury
ec2d657a32 * Small addition to r7911.
git-svn-id: trunk@7914 -
2007-07-01 20:29:01 +00:00
yury
8379edbb5d * Clean fix for bug #9170. Thanks Peter.
git-svn-id: trunk@7911 -
2007-07-01 18:57:49 +00:00
daniel
296501f036 * Remove more ptrint usage.'
git-svn-id: trunk@7909 -
2007-07-01 15:44:52 +00:00
daniel
5e24870b8b * Pointer to integer conversion not necessary here.
git-svn-id: trunk@7902 -
2007-07-01 11:42:34 +00:00
daniel
35b6980254 * Put pptrint back in place.
git-svn-id: trunk@7897 -
2007-07-01 11:05:39 +00:00
daniel
6491a6e914 * Make vtype signed again to prevent unnecessary 64 bit promotions.
Should be okay as it isn't a pointer.

git-svn-id: trunk@7893 -
2007-07-01 10:25:10 +00:00
daniel
ea47fcfc97 * ptrint -> ptruint
git-svn-id: trunk@7892 -
2007-07-01 10:14:19 +00:00
daniel
32216bcccd * ptrint -> ptruint
git-svn-id: trunk@7888 -
2007-07-01 09:41:07 +00:00
micha
b8822c88b5 * fix heap manager adding to wrong free list, and race condition
git-svn-id: trunk@7878 -
2007-06-30 21:13:48 +00:00
yury
fd4f90d3ff * fixed bug #9187.
+ test.

git-svn-id: trunk@7876 -
2007-06-30 21:02:10 +00:00
yury
53b47273c4 * Fixed bug #9170.
git-svn-id: trunk@7868 -
2007-06-30 12:28:03 +00:00
daniel
441b015a7d * Use ptruint instead of ptrint.
git-svn-id: trunk@7816 -
2007-06-26 06:57:20 +00:00
micha
cd1a283a18 * fix heap var size chunk search to be as intended (search constant number of blocks from best, not from any bigger)
git-svn-id: trunk@7807 -
2007-06-24 21:50:05 +00:00
micha
b4363e046b * fix heaptrace segfault, access of lost block
git-svn-id: trunk@7806 -
2007-06-24 21:33:29 +00:00
micha
afb5f32f65 * fix heap block recycle flag when orphaning
git-svn-id: trunk@7805 -
2007-06-24 21:32:31 +00:00
daniel
8ee5966a2e * Fix comparedword and change it to cardinal.
git-svn-id: trunk@7804 -
2007-06-24 21:17:43 +00:00
florian
5c58f69595 + ModuleIs* typed consts added
git-svn-id: trunk@7799 -
2007-06-24 20:28:40 +00:00
Jonas Maebe
76c783f0a1 * removed divisions from val() for unsigned types
git-svn-id: trunk@7790 -
2007-06-24 13:04:44 +00:00
micha
a70f5bb51e * fix lock release in heap trace
git-svn-id: trunk@7782 -
2007-06-23 09:35:47 +00:00
florian
657ef819e0 * comment fixed
git-svn-id: trunk@7779 -
2007-06-23 09:16:21 +00:00
micha
787f9a44c7 * heap manager: do not try to leave critical section twice, moron
git-svn-id: trunk@7763 -
2007-06-21 20:19:33 +00:00
micha
c0fa8fd255 * heap manager: fix thread exit race condition by using single global lock
fix finishing to be freed list in orphaned list context
  fix heaptrace finalization

git-svn-id: trunk@7752 -
2007-06-20 21:10:35 +00:00
micha
3b7792ead1 * heaptrace: cleanup orphaned lock only in case of threading used
also improve readability of zeroing LSB

git-svn-id: trunk@7726 -
2007-06-18 21:05:32 +00:00
yury
5afc9355f8 * use proper runtime error codes for EIntfCastError and ESafecallException exceptions.
git-svn-id: trunk@7723 -
2007-06-18 17:38:07 +00:00
Jonas Maebe
d9284963b3 * fix for fpc_copy on 64 bit systems from Florian
git-svn-id: trunk@7713 -
2007-06-17 15:07:52 +00:00
florian
ea97b8b137 * fixed copying of remaining elements
git-svn-id: trunk@7699 -
2007-06-17 09:47:05 +00:00
florian
2c4aeefbf4 * fixed copying of automated records
git-svn-id: trunk@7696 -
2007-06-16 21:44:55 +00:00
florian
37bd49692e * proper fix for 8481 et. al.
git-svn-id: trunk@7691 -
2007-06-16 19:03:53 +00:00
Jonas Maebe
0a10f521f6 * added {$inline on} directive to fix compilation with 2.0.4
git-svn-id: trunk@7658 -
2007-06-14 07:25:47 +00:00
micha
c226f6fd44 * heap manager: handle freeing of block owned by exited thread
* heap trace: ditto

git-svn-id: trunk@7649 -
2007-06-13 20:27:42 +00:00
Jonas Maebe
ceaaa0e552 * fixed writing of widestrings
git-svn-id: trunk@7645 -
2007-06-13 13:00:25 +00:00
Jonas Maebe
20b99dade3 - reverted r7600, see additional comments in mantis #9027
git-svn-id: trunk@7606 -
2007-06-09 17:14:28 +00:00
marco
b846f2596e * Fix for 9220 for socket2text stuff too
git-svn-id: trunk@7604 -
2007-06-09 14:24:13 +00:00