Commit Graph

31584 Commits

Author SHA1 Message Date
pierre
d4e57bcfa9 * Update testsuite web interface
git-svn-id: trunk@14562 -
2010-01-07 15:22:18 +00:00
florian
e6648da567 * make heaptrc aware of the fact that multi threading could be initialized before heaptrc itself is initialized, this is currently the case for windows dlls
git-svn-id: trunk@14560 -
2010-01-07 13:41:43 +00:00
florian
fb07fe5856 * always assume a multithreaded application when using threadvars in dlls, resolves #14992
git-svn-id: trunk@14557 -
2010-01-06 21:26:49 +00:00
marco
0b4b9b5220 * Windows specific overloads for ExecuteProcess that implements a hack for redir that exists for dos.exec too.
.. but then not using a global variable

git-svn-id: trunk@14556 -
2010-01-06 19:50:09 +00:00
florian
158e36b9c5 * white space and indention fixes
git-svn-id: trunk@14553 -
2010-01-06 10:39:19 +00:00
paul
bf45b463bc compiler: fix no finalization calls for libraries caused by r14543
git-svn-id: trunk@14552 -
2010-01-06 09:03:09 +00:00
marco
d52071fc04 * Onprogress added to .compress and .decompress
git-svn-id: trunk@14551 -
2010-01-05 23:02:40 +00:00
paul
4989a1016f compiler: don't use non-visible for current unit assignment and enumerator operators (fixes test webtbf/tw4103)
git-svn-id: trunk@14550 -
2010-01-05 21:22:54 +00:00
Jonas Maebe
285ea223d4 * replaced commented-out code from r14543 with a comment explaining why that
code is no longer necessary

git-svn-id: trunk@14549 -
2010-01-05 19:53:43 +00:00
Jonas Maebe
5cca798316 * fix crashes when compiling with -gt
git-svn-id: trunk@14548 -
2010-01-05 19:52:53 +00:00
paul
556afdca51 compiler: fix uninitialized result caused by r14543
git-svn-id: trunk@14547 -
2010-01-05 19:15:16 +00:00
Jonas Maebe
80b651f79c * fixed (harmless) class cast error
git-svn-id: trunk@14546 -
2010-01-05 17:57:16 +00:00
paul
f25c21c287 compiler: fix wrong typecast
git-svn-id: trunk@14545 -
2010-01-05 16:22:26 +00:00
florian
4ddebcbf1c * handle subrange enumeration types in GetEnumValue correctly, resolves #15467
git-svn-id: trunk@14544 -
2010-01-05 16:10:13 +00:00
paul
8b27daae2c compiler: don't generate code for empty initialization and finalization sections (with help of Florian) (issue #0013482)
git-svn-id: trunk@14543 -
2010-01-05 16:07:37 +00:00
Károly Balogh
95ccc3ea40 + fixed sysdir.inc to follow recent rtl changes. trunk now cycles again on MorphOS.
git-svn-id: trunk@14542 -
2010-01-04 23:49:46 +00:00
Károly Balogh
99a94573ed + removed empty Beep(); function, uses OnBeep now, sysutils should compile again
git-svn-id: trunk@14541 -
2010-01-04 23:42:16 +00:00
Jonas Maebe
83c3e7a94b * fixed pred/succ for integer constants that equal the low/high bound of a
built-in integer type (reported by Stefan Kisdaroczi) 

git-svn-id: trunk@14537 -
2010-01-04 15:12:27 +00:00
florian
40cea8d4d5 * handle mm register properly when used as top_local, resolves #14566
git-svn-id: trunk@14535 -
2010-01-03 20:33:01 +00:00
florian
7e7f154f88 + OpenCL package by Dmitry Boyarintsev, fixed and tested on win32 and win64, enabled for i386-darwin because submitter tested on Mac OS X, resolves #15297
git-svn-id: trunk@14534 -
2010-01-03 18:26:07 +00:00
Jonas Maebe
6399bcd4e3 * improve precision of values specified with a decimal point and an exponent
(based on report/hints by Dariusz Mazur)

git-svn-id: trunk@14533 -
2010-01-03 15:56:06 +00:00
florian
31e2f16484 resolves #15453:
* fixes i386 DivMod with negative numbers with a patch from Jonas
* fixes generic DivMod with negative numbers
* test updated

git-svn-id: trunk@14532 -
2010-01-03 14:59:01 +00:00
joost
a8a332e029 * Cleanup session for the case that a webmodule instance is used for more then one request (wkPooled)
git-svn-id: trunk@14528 -
2010-01-03 11:39:26 +00:00
Jonas Maebe
b4c572483b * always call procvars inside varargs in TP/Delphi mode (mantis #15446)
git-svn-id: trunk@14527 -
2010-01-02 21:43:19 +00:00
florian
7672c08d2f * lower/upper case typo fixes, resolves probably #14934
git-svn-id: trunk@14526 -
2010-01-02 18:07:46 +00:00
florian
3fa46810be * don't generate invalid line information for template specializations if no line info is available, resolves #9671
git-svn-id: trunk@14525 -
2010-01-02 17:56:30 +00:00
Jonas Maebe
407d60f8a4 * fixed in case fpc is installed under a path containing spaces
git-svn-id: trunk@14524 -
2010-01-02 17:27:03 +00:00
florian
42ae8bf971 * fixed memory stream compilation on 64 bit targets
git-svn-id: trunk@14523 -
2010-01-02 16:05:57 +00:00
florian
1d1e62fcd0 * .lpi version update
git-svn-id: trunk@14522 -
2010-01-02 15:54:39 +00:00
joost
6b4be62244 * Removed double code introduced in r14518
git-svn-id: trunk@14520 -
2010-01-02 12:53:41 +00:00
joost
1fa4f903fc * Fixed streaming of TWebModule.Kind property
* Free the webmodule when Kind is wkOneShot and an exception occurs

git-svn-id: trunk@14518 -
2010-01-02 12:44:41 +00:00
Jonas Maebe
b3a1833e0f * lowered symbol length at which we start shortening it with a crc so
tw15203 also compiles on darwin

git-svn-id: trunk@14517 -
2010-01-02 11:54:16 +00:00
Jonas Maebe
04606982ac * fixed evaluation of "mod" operator for tconstexprint with signed operands
(part of mantis #15453)

git-svn-id: trunk@14516 -
2010-01-01 22:50:35 +00:00
florian
81f34dd4bb * avoid too long prefixes of manglednames by using a CRC like for long parameter name lists, resolves #15203
git-svn-id: trunk@14515 -
2010-01-01 21:56:55 +00:00
florian
b5167560c3 * T*MemoryStream now uses PtrInt for sizes and positions so it can be bigger than 2 GB on 64 Bit systems, resolves #15313
git-svn-id: trunk@14513 -
2010-01-01 21:05:18 +00:00
paul
c83fc67e32 compiler: write correct method kind for constructors,destructors and class methods
git-svn-id: trunk@14512 -
2010-01-01 20:22:02 +00:00
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