Commit Graph

31580 Commits

Author SHA1 Message Date
paul
5cc182ac07 rtl: fix FormatFloat to skip first spaces
git-svn-id: trunk@14490 -
2009-12-28 15:53:35 +00:00
joost
1e3a429367 * Implemented TCustomHTTPModule.Kind: wkPooled, wkOneShot
git-svn-id: trunk@14489 -
2009-12-28 10:24:10 +00:00
paul
4a5fab9c70 tests: fix test to run on all locales
git-svn-id: trunk@14488 -
2009-12-28 01:20:38 +00:00
florian
0d57b2d8da * use 3 op cgobj methods when doing shl/shr code generation, this allows the cg to generate better code on risc archs having 3 operand shifts
git-svn-id: trunk@14487 -
2009-12-27 20:19:23 +00:00
florian
1583907ac4 * improved node complexity calculation: 64 bit operations are more expensive, ord. const nodes on arm can be expensive
git-svn-id: trunk@14486 -
2009-12-27 20:15:30 +00:00
Jonas Maebe
d219109b16 * fixed dumping objectdefs after r14185
+ dump wpo info

git-svn-id: trunk@14484 -
2009-12-27 14:26:37 +00:00
florian
616289f1c8 * Winsock2.GROUP must be of type u_int, resolves #15254
git-svn-id: trunk@14483 -
2009-12-26 22:18:37 +00:00
florian
20995bb01b * patch by Sven Barth: Add CeRapiInvoke to rapi.pp, resolves #15170
git-svn-id: trunk@14482 -
2009-12-26 21:22:42 +00:00
florian
4faf2e9f0f * cleaned up redundant declarations of types like PP(P)Char/Byte and moved them to the system unit
git-svn-id: trunk@14481 -
2009-12-26 20:47:24 +00:00
florian
b42b96752c * linux rtl contains target cpu specific files
git-svn-id: trunk@14480 -
2009-12-26 20:41:26 +00:00
florian
b2be0445bb * reenable ssa on function results if no exit is used, this was broken in r8578
git-svn-id: trunk@14478 -
2009-12-26 13:13:34 +00:00
paul
e9770b180a tests: fixed SetWindowLong test
git-svn-id: trunk@14477 -
2009-12-25 11:42:06 +00:00
paul
1bbd116730 tests: fix $WARN test
git-svn-id: trunk@14476 -
2009-12-25 11:40:35 +00:00
paul
56bd6e830e compiler: fix assembler constant expressions evaluation + fully enable appropriate test
git-svn-id: trunk@14475 -
2009-12-25 05:26:48 +00:00
paul
3fff90de80 tests: fix test
git-svn-id: trunk@14474 -
2009-12-24 09:41:48 +00:00
Jonas Maebe
87849e1fc6 + added missing NSApp declaration
* fixed NSAllocateMemoryPages declaration

git-svn-id: trunk@14473 -
2009-12-24 09:34:06 +00:00
Jonas Maebe
2d2465aac4 * disabled the use of samevalue() when comparing float variants, because
a) it's Delphi-incompatible
     b) when a tdatetime property is obtained via GetPropValue(), then
        it will be a varfloat rather than a vardate, and there full
        precision certainly is required (mantis #15296)
  - since DoVarCmpFloat() is now identical to DoVarCmpDate(), removed
    DoVarCmpFloat

git-svn-id: trunk@14472 -
2009-12-23 21:30:58 +00:00
florian
30538c4dd3 * export CreateRegKey and friends from ComObj, resolves #15299
* CreateRegKey throws an EOleRegistrationError exception on error

git-svn-id: trunk@14471 -
2009-12-23 21:25:42 +00:00
Jonas Maebe
666b4e2469 * fixed range errors in label bookkeeping that caused too much memory to be
allocated for optimising jumps

git-svn-id: trunk@14470 -
2009-12-23 21:08:05 +00:00
Jonas Maebe
18e3f01552 * fixed compilation with range checking enabled
git-svn-id: trunk@14469 -
2009-12-23 21:06:52 +00:00
Jonas Maebe
e254d607d6 * support arrayconstructornodes of procvars (mantis #15391)
git-svn-id: trunk@14468 -
2009-12-23 20:11:35 +00:00
florian
448f3d99c1 * cleanup of case <string> of code by Sergei Gorelkin, resolves #13700
git-svn-id: trunk@14467 -
2009-12-23 19:27:50 +00:00
florian
dab642986e * patch by Sergei Gorelkin, fixes several issues with implements, resolves #15209
git-svn-id: trunk@14466 -
2009-12-23 16:23:19 +00:00
joost
b9df4690d6 * THtmlSelectProducer.jsOnChange property
git-svn-id: trunk@14463 -
2009-12-22 21:18:32 +00:00
Jonas Maebe
1a87386bfe * allow and properly handle @classtype(pointerconst).field (mantis #15415)
git-svn-id: trunk@14462 -
2009-12-22 15:19:05 +00:00
florian
8cecea9b53 * GetEnumName handles subrange types correctly, resolves #15377
git-svn-id: trunk@14461 -
2009-12-22 11:36:47 +00:00
pierre
04f0544570 * fix stabs/dwarf register numbers for GDB
git-svn-id: trunk@14460 -
2009-12-21 18:16:19 +00:00
florian
737514c434 * win crt unit returns #13 for numeric enter as well, resolves #13203
git-svn-id: trunk@14459 -
2009-12-21 09:59:04 +00:00
paul
d89463588c compiler: don't compile incorrect statements if operators are involved (issue #0015338) + test
git-svn-id: trunk@14458 -
2009-12-21 06:57:38 +00:00
paul
80e2d8f221 test: fix tres4.pp - it required unit windows on windows systems
git-svn-id: trunk@14457 -
2009-12-21 06:09:26 +00:00
paul
da41694995 test: fix tdfa2.pp - it is not a unit
git-svn-id: trunk@14456 -
2009-12-21 06:08:31 +00:00
florian
9955e6b2bf * dfa fixes by Sergei Gorelkin, resolve #15402
git-svn-id: trunk@14455 -
2009-12-20 21:02:11 +00:00
josef
b99a49d982 * Added missing UndefinedClasses.inc to /uikit
* Changed the PHP variable which was causing the parser to not produce iphone headers
  * Added /utils/iphone directory which is the last safe version of the parser. This is because future versions of the parser will likely break the iphone parsing ability before it can be fully restored.

git-svn-id: trunk@14454 -
2009-12-20 14:29:12 +00:00
pierre
ca6eabd55d * fi for tw10831 test failure on sparc solaris
git-svn-id: trunk@14453 -
2009-12-20 09:17:36 +00:00
Jonas Maebe
cce3ae1a7a * disable -Xg when used in combination with generating Stabs debug info on
Mac OS X, since it's not supported on that platform

git-svn-id: trunk@14452 -
2009-12-18 16:53:06 +00:00
Jonas Maebe
2515ad6c35 * don't write debug info for absolute varsyms referring to a field or array
element of a parameter that's passed by reference (indirections with
    offsets aren't supported yet) (mantis #15379)

git-svn-id: trunk@14451 -
2009-12-18 16:29:35 +00:00
michael
d4ab90dffc * Some installation instructions for pxlib
git-svn-id: trunk@14450 -
2009-12-18 08:03:02 +00:00
Jonas Maebe
d3f9e6290b * fixed error in r14402 for functions/procedures that are not declared as
"assembler" (mantis #15370)

git-svn-id: trunk@14449 -
2009-12-17 16:04:09 +00:00
pierre
e3293a4e11 * Test changed to check that w value is correctly passed to ax register
git-svn-id: trunk@14448 -
2009-12-17 15:41:25 +00:00
pierre
d294e80eea * test for bug report 15370
git-svn-id: trunk@14447 -
2009-12-17 15:07:56 +00:00
Jonas Maebe
c0bdcf62e0 * don't call the "self" parameter of class methods 'this' in the debug info,
because the 'this' parameter was not used by gdb in that case for anything
    anyway, and as of gdb 7.0 you get an error in gdb because the 'this'
    parameter is not an aggregate in that case (but rather a pointer to the
    vmt) (mantis #15362)

git-svn-id: trunk@14446 -
2009-12-17 14:43:22 +00:00
Jonas Maebe
10cfba3b28 * convert booleans to the actual array index type (mantis #15364)
git-svn-id: trunk@14445 -
2009-12-17 13:53:09 +00:00
Jonas Maebe
5f10ff067f * new Portuguese translations by Marcelo B Paula (mantis #15344)
git-svn-id: trunk@14443 -
2009-12-15 12:22:05 +00:00
florian
cc0d946f16 * fixes bootstrapping with 2.2.4
git-svn-id: trunk@14442 -
2009-12-14 18:51:57 +00:00
blikblum
32e7daeee9 * Ensure value 1 is stored for True boolean values (fpc > 2.2 stores -1 in a wordbool when assigned a True boolean value)
git-svn-id: trunk@14441 -
2009-12-14 18:24:17 +00:00
florian
6d79cfc6f2 * as in #15337 reported, in newer Delphi versions EOleRegistrationError inherits from EOleSysError
git-svn-id: trunk@14440 -
2009-12-13 21:22:00 +00:00
Jonas Maebe
2393f2be4f * fcl-base now depends on univint for all darwin platforms
- removed duplicate dependency rules for paszlib

git-svn-id: trunk@14439 -
2009-12-13 17:47:53 +00:00
florian
d3cd6132f2 * handle rounding of currency values correctly, resolves #12207
git-svn-id: trunk@14438 -
2009-12-13 16:19:56 +00:00
Jonas Maebe
b29f033afb * part of r14418, forgot to commit
git-svn-id: trunk@14437 -
2009-12-13 15:27:57 +00:00
florian
230142f08b * change length parameter of CompareMem/CompareMemRange into PtrUInt, resolves #15190
* use CompareByte inside these routines instead of simple handmade code

git-svn-id: trunk@14435 -
2009-12-13 11:42:05 +00:00