paul
db0f23e643
compiler: write not dummy unit name for enumeration and dynamic array rtti
...
git-svn-id: trunk@14511 -
2010-01-01 19:32:53 +00:00
Jonas Maebe
dd94f5cf2b
* no longer allow typed files of reference counted data (mantis #15447 )
...
git-svn-id: trunk@14509 -
2010-01-01 14:56:33 +00:00
paul
17bd267141
compiler, rtl: write calling conventions for tkMethod members (issue #0014573 )
...
git-svn-id: trunk@14508 -
2010-01-01 14:36:33 +00:00
Jonas Maebe
7592388858
* the parameter to flagdependent() is not the ppu for which to flag the
...
dependent units, but the ppu that caused the current unit to be loaded
-> last comment of r14505 was wrong, and that change has been reverted
git-svn-id: trunk@14506 -
2010-01-01 12:17:52 +00:00
Jonas Maebe
820edb41a5
* hopefully fixed occasional endless ppu resolving loops after r14503
...
o keep track of a global defsgeneration counter that's increased every time
a unit has finished compiling its interface or implementation
o give each ppumodule the current defsgeneration number when its compiled
o only re-resolve a unit if its defsgeneration number is smaller than that
of the unit that wants it to be re-resolved
* fixed an error in the re-resolving logic added last time: re-resolve
units that depend on the current unit rather than those that also depend
on the parent unit
git-svn-id: trunk@14505 -
2009-12-31 13:28:38 +00:00
Jonas Maebe
b214448b9e
* don't access the thread instance after calling DoTerminate to avoid
...
race conditions in case DoTerminate can cause the thread to be freed
already. Side-effect: changing FreeOnTerminate in DoTerminate no longer
has any effects, but this is compatible with the generic code for
ThreadProc in objpas/classes/classes.inc (patch by Nikolai ZHUBR)
git-svn-id: trunk@14504 -
2009-12-30 14:46:56 +00:00
Jonas Maebe
1743c6f1a8
* also recompile a unit if class/object definitions in indirectly used
...
units have changed, because these can influence the code of the
current unit in case method signatures changed (mantis #13840 )
+ manual test
* fixed some recompilation crashes related to WPO info
* clarified the unit_u_add_depend_to message
git-svn-id: trunk@14503 -
2009-12-30 14:03:31 +00:00
Jonas Maebe
58c7c2f636
* fixed compilation in case overflow checking is enabled, but range
...
checking isn't
git-svn-id: trunk@14502 -
2009-12-30 13:21:23 +00:00
Jonas Maebe
ab60790c73
* renamed ZStream to zstream in the uses clause so it matches the unit's
...
file name. Solves the problem that zstream's .o file was not installed
in case of
a) compiling on a case-preserving file systems
b) on an OS that is marked as case-sensitive
c) when using the -Fd command line option (so the directory cache
does not emulate the case-sensitive behaviour)
git-svn-id: trunk@14501 -
2009-12-30 13:19:51 +00:00
paul
c025471433
rtl: fix SetPropValue/GetPropValue:
...
- raise a ERangeError in SetPropValue when passed value is out of property range
- handle QWord values both in SetPropValue and GetPropValue
git-svn-id: trunk@14500 -
2009-12-30 00:41:44 +00:00
marco
9efa49b468
* Am now able to generate helpfiles with contextids from xml via chmfilewriter. XML format needs some rethinking though.
...
git-svn-id: trunk@14499 -
2009-12-29 23:33:34 +00:00
marco
c8f3925944
* small fix for last commit that avoids trouble when project is created programmatically
...
git-svn-id: trunk@14498 -
2009-12-29 21:04:23 +00:00
marco
a0c169e0b9
* context support in the project.
...
git-svn-id: trunk@14497 -
2009-12-29 20:29:37 +00:00
florian
701d911f58
* continued on node cse
...
git-svn-id: trunk@14496 -
2009-12-29 19:45:33 +00:00
florian
fdb67a28ab
* node complexity of subscribing increased because it's not only a simple operation to a register but requires a memory access
...
git-svn-id: trunk@14495 -
2009-12-29 19:43:32 +00:00
florian
1632a10305
* search also nested common subexpressions on node level
...
* don't write stats for a release compiler
git-svn-id: trunk@14494 -
2009-12-29 12:55:17 +00:00
paul
b084d70ae4
compiler: cleanup - remove unused variables
...
git-svn-id: trunk@14493 -
2009-12-29 06:14:52 +00:00
paul
6b1f84087d
tests: fix 2 database tests which assumed that dates are in yyyy-mm-dd format on all locales
...
git-svn-id: trunk@14492 -
2009-12-29 03:30:33 +00:00
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