daniel
220565fb94
* Remove unused lea from skip loop.
...
git-svn-id: trunk@9789 -
2008-01-19 08:33:48 +00:00
Jonas Maebe
8c45c66e13
* removed accidentally committed global disable of assembler int_str
...
* fixed compilation of int_str on darwin/pic
* disabled int_str for darwin because it crashes
git-svn-id: trunk@9785 -
2008-01-18 23:09:37 +00:00
Jonas Maebe
95c991872b
+ added exeinfo to implicit units so make install works again
...
git-svn-id: trunk@9784 -
2008-01-18 23:03:38 +00:00
daniel
b8fdbb1055
* Some final tweaks to asm int_str.
...
git-svn-id: trunk@9782 -
2008-01-18 22:21:49 +00:00
daniel
f94d457429
* Add Darwin PIC support to assembler int_str again.
...
* Make it respect the open string boundary
* Activate it again
git-svn-id: trunk@9781 -
2008-01-18 22:12:16 +00:00
peter
3befb1f832
* refactor executable loading into exeinfo unit so
...
it can be reused also for lnfodwrf
git-svn-id: trunk@9780 -
2008-01-17 23:47:42 +00:00
michael
41cce2fe42
* Fixed IsEmptyStr
...
git-svn-id: trunk@9775 -
2008-01-16 16:15:05 +00:00
joost
3852af4afb
* Moved StringsReplace from sqldb to strutils
...
* Removed unused NotYetImplemented procedure from strutils
git-svn-id: trunk@9771 -
2008-01-15 22:13:47 +00:00
peter
923aac0390
* give range error if setlength value < 0 and the array is not filled
...
git-svn-id: trunk@9758 -
2008-01-14 18:05:48 +00:00
micha
a9972548b0
+ add arm-linux/uclibc startup code
...
git-svn-id: trunk@9725 -
2008-01-12 17:08:43 +00:00
Jonas Maebe
cdfb7c8f26
* patch from Sergei Gorelkin to return ansi/widestrings by reference
...
in an invisible parameter (Delphi compatible, faster/smaller code)
git-svn-id: trunk@9718 -
2008-01-11 22:36:50 +00:00
Jonas Maebe
eb83213f10
* Only start recycling oschunks once MaxKeptOSChunks chuncks have
...
been allocated. E.g. allocate 100 blocks of 80 bytes and free them
all, then the same with blocks of 96, 112, 128, 144, 160 and 176
bytes, after which again 80 bytes -> previously, regardless of
the value of MaxKeptOSChunks, the empty block for 80 bytes was
reformatted for those of 96 bytes, then for 112 bytes etc. Now,
if MaxKeptOSChunks is set to 7, none will ever be reformatted
because enough chunks will be allocated from the OS.
git-svn-id: trunk@9696 -
2008-01-09 20:39:59 +00:00
Jonas Maebe
588822b14d
* more ptruint type casts to avoid 64 bit comparisons on 32 bit
...
platforms
git-svn-id: trunk@9693 -
2008-01-09 18:32:37 +00:00
peter
4c54059cd7
* start of conversion to fpmake
...
git-svn-id: trunk@9687 -
2008-01-08 23:44:09 +00:00
Jonas Maebe
bf9b021749
* optimized align() so it no longer contains any branches which
...
are undecidable at compile time
+ basic test for align() function
git-svn-id: trunk@9674 -
2008-01-07 21:41:12 +00:00
Jonas Maebe
6dd8e51ee5
* folded a constant addition
...
* typecasted a subtraction's result to ptruint to avoid a needless
64 bit calculation on 32 bit platforms
git-svn-id: trunk@9673 -
2008-01-07 21:28:58 +00:00
daniel
2ce992b4ae
- Disable asm str_int again now that testsuites have run.
...
git-svn-id: trunk@9665 -
2008-01-07 07:45:58 +00:00
daniel
47c2cc095b
* Make str_int pic proof.
...
git-svn-id: trunk@9661 -
2008-01-06 22:41:05 +00:00
daniel
6e2af37c48
Convert str_int to ATT assembler and activate it.
...
git-svn-id: trunk@9659 -
2008-01-06 21:29:31 +00:00
marco
5e95516323
* ancestor of TContainedObject fixed
...
git-svn-id: trunk@9651 -
2008-01-06 15:16:56 +00:00
peter
f6384b9361
* disable range/overflow checking when calculating with Nan
...
git-svn-id: trunk@9649 -
2008-01-06 12:45:03 +00:00
marco
408d5831ea
* isimplementorof/referenceinfo, bug #10567
...
git-svn-id: trunk@9647 -
2008-01-06 00:12:43 +00:00
Jonas Maebe
337e53e712
* fixed mantis #10519 (when rounding for the first decimal digit and
...
it is at the same time the last, append the 0)
git-svn-id: trunk@9623 -
2008-01-03 22:14:54 +00:00
marco
97b1d04d8f
* Fix for 10482, iinterfacecomponentreference
...
git-svn-id: trunk@9618 -
2008-01-02 20:45:09 +00:00
Jonas Maebe
edffeac316
* declare math.pinteger as an alias of objpas.pinteger to avoid type
...
masking errors (mantis #10540 )
git-svn-id: trunk@9617 -
2008-01-02 19:53:14 +00:00
marco
574827a844
* Fix for 10534. tagstatstg now aliased in activex.pp to types.pp
...
git-svn-id: trunk@9616 -
2008-01-02 19:50:02 +00:00
marco
4b43848d66
* More fixes for 10522
...
git-svn-id: trunk@9608 -
2008-01-01 17:41:15 +00:00
marco
29b72c584a
* DFCS_* constants for win2000+. Part of #10522
...
git-svn-id: trunk@9607 -
2008-01-01 17:28:54 +00:00
mazen
7c19e36595
* Added implementation for Julian date computaton.
...
git-svn-id: trunk@9604 -
2007-12-31 16:34:45 +00:00
peter
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
...
case optimziation
git-svn-id: trunk@9603 -
2007-12-31 13:36:16 +00:00
michael
8793de3166
* Applied patch from Sergei Gorelkin for ComposeDateTime and IncAMonth
...
git-svn-id: trunk@9600 -
2007-12-30 22:20:11 +00:00
michael
067d1ab582
* Added EPropertyConvertError class
...
git-svn-id: trunk@9598 -
2007-12-30 22:03:56 +00:00
michael
a375df54f2
Implemented get/setinterfaceproperty. Needs checking
...
git-svn-id: trunk@9597 -
2007-12-30 22:01:53 +00:00
michael
d7f94a8282
* Added GetModuleName
...
git-svn-id: trunk@9596 -
2007-12-30 21:50:40 +00:00
michael
eec321b2f8
* Implemented ExtractShortPathName
...
git-svn-id: trunk@9595 -
2007-12-30 21:45:48 +00:00
daniel
0cfdde094d
- Disable assembler implementations of str_int because of mysterious
...
cycle failure on Win32.
git-svn-id: trunk@9593 -
2007-12-30 21:27:05 +00:00
michael
1b0307ae5c
* Fixed bug #10140
...
git-svn-id: trunk@9586 -
2007-12-30 20:17:08 +00:00
daniel
d8bffd27fc
- Intergrate i386/strlen.inc and remove it.
...
+ int_str assembler implementations for i386
+ fpc_shortstr_to_shortstr assembler implementation for ARM
+ fpc_shortstr_assign assembler implementation for ARM
+ fpc_Pchar_length assembler implementation for ARM
git-svn-id: trunk@9582 -
2007-12-30 11:19:10 +00:00
michael
b244f6eb71
* Patch from Sergei Gorelkin, making TStream.Read and .Write virtual
...
git-svn-id: trunk@9572 -
2007-12-29 19:03:56 +00:00
marco
eb2a80d272
* TContainedObject 10496. First implementation copied from TInterfacedObject
...
git-svn-id: trunk@9569 -
2007-12-29 15:30:57 +00:00
marco
c6e2d72e3c
* D7 compat, neginfinity (bug 10490)
...
git-svn-id: trunk@9564 -
2007-12-29 13:12:10 +00:00
marco
bce663bb43
* Fix for 10491, pdatetime now defined.
...
git-svn-id: trunk@9563 -
2007-12-29 13:11:23 +00:00
yury
e475735c43
* ifdefed fatal error messages in exception handling to be available only if debugging is needed.
...
git-svn-id: trunk@9562 -
2007-12-28 20:10:19 +00:00
yury
3a5cfb7575
* Fixed compilation.
...
git-svn-id: trunk@9560 -
2007-12-28 15:28:03 +00:00
yury
e5f3a6b631
* Fixed compilation.
...
git-svn-id: trunk@9559 -
2007-12-28 15:24:27 +00:00
yury
c4e60fd1a5
- Removed systhrd.inc from targets where thread manager is stub by default. Stub is installed in common thread.inc file if DISABLE_NO_THREAD_MANAGER is not defined.
...
git-svn-id: trunk@9558 -
2007-12-28 15:21:02 +00:00
yury
0dcad4d822
* Implemented late thread manager initialization. Thread manager code is not included to executable if thread stuff are not used. WinCE executable size is reduced by 4KB, Win32 executable size is reduced by 3KB. No testsuite regressions.
...
git-svn-id: trunk@9557 -
2007-12-28 14:40:28 +00:00
yury
e00bacdcef
* Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
...
git-svn-id: trunk@9556 -
2007-12-28 11:30:46 +00:00
yury
93e62a3c0d
* Raise range error exception directly to prevent note "Local variable "rcheck" is assigned but never used".
...
git-svn-id: trunk@9555 -
2007-12-28 00:17:11 +00:00
yury
cd03a2893b
* Explicitly increment and decrement ref count to keep copy of destination string in fpc_AnsiStr_Concat_multi and fpc_WideStr_Concat_multi. It prevents note "Local variable "destcopy" is assigned but never used".
...
git-svn-id: trunk@9554 -
2007-12-28 00:02:35 +00:00