Commit Graph

29920 Commits

Author SHA1 Message Date
joost
19c25f22d2 * Added temporary work-around for bug #12985, partly fixes bug #12881
git-svn-id: trunk@12744 -
2009-02-15 18:08:34 +00:00
florian
65b46d5821 * patch by Olivier Coursiere to fix beos building
git-svn-id: trunk@12743 -
2009-02-14 18:02:01 +00:00
joost
a35edda5de * TField.CanModify should return false if the dataset is inactive
git-svn-id: trunk@12741 -
2009-02-14 14:17:59 +00:00
florian
f0b8721f72 * Makefiles regenerated
git-svn-id: trunk@12740 -
2009-02-14 10:38:42 +00:00
florian
475cd9926d * couple of small haiku fixes by Olivier Coursiere
git-svn-id: trunk@12739 -
2009-02-14 10:36:12 +00:00
joost
6c06a902e2 * CanModify should be false for fkLookup and fkCalculated fields. Part of bug #13114
* Added test for lookup-fields which currently fails for sqldb because TSQLQuert.Lookup isnt implemented

git-svn-id: trunk@12738 -
2009-02-13 22:17:25 +00:00
florian
a1b750bc39 * set properties
git-svn-id: trunk@12737 -
2009-02-13 11:50:16 +00:00
marco
fe7c17cfd0 * fix for mantis 13154. Declaration of SHGetSpecialFolderPathW had -A as suffix
git-svn-id: trunk@12735 -
2009-02-13 09:28:12 +00:00
marco
c5eeb5e8c5 * Added sem_timedwait for [BSD]-[Darwin]. Mantis 13148
git-svn-id: trunk@12734 -
2009-02-11 16:49:15 +00:00
marco
bbcf30dc2e * getactiveobject (and friends) missed stdcall, Mantis #13126
git-svn-id: trunk@12733 -
2009-02-11 16:26:45 +00:00
joost
a2f5f7400b * Replaces several direct references to FNSI.QName by the NodeName property, so
that descendent classes can override the NodeName properly
 * Fixed an AV when GetNodeName is called and there is no NodeName set
 * Removed the THtmlCustomElement.NodeName property and override the GetNodeName
   method instead. The hashtable of TDOMNode_NS is not used because
   THtmlCustomElement uses a faster lookupsystem for tag/node-names
 * Added a basic test for the htmlwriter unit

git-svn-id: trunk@12732 -
2009-02-09 21:43:09 +00:00
marco
e038d87411 * left over fix shellscript
git-svn-id: trunk@12731 -
2009-02-09 15:15:34 +00:00
Jonas Maebe
976aa04378 * fixed ppc/ppc64 compilation after r12719
git-svn-id: trunk@12730 -
2009-02-09 09:47:02 +00:00
ivost
0438667eed * fixed bug #5800
* const s: string = icorbainterface; is possible now
* as operator is working now with corba interfaces
* supports helper function is working now with corba interfaces

git-svn-id: trunk@12729 -
2009-02-09 00:35:09 +00:00
ivost
b3d611ab8f * extended test for bug #5800
git-svn-id: trunk@12728 -
2009-02-09 00:33:08 +00:00
Tomas Hajny
54f3d28ce8 * prefix for import libraries now configurable rather than hardcoded, plus fixed issue with name of OS/2 import libraries
git-svn-id: trunk@12727 -
2009-02-09 00:01:15 +00:00
ivost
cf7b755dc0 * additional negative testcase for interfaces
git-svn-id: trunk@12726 -
2009-02-08 23:10:43 +00:00
ivost
e9dd2694b2 * updated testcase for bug #5800
git-svn-id: trunk@12725 -
2009-02-08 21:25:00 +00:00
ivost
b2235eb873 * new negative test cases for interface to TGuid/Shortstring assign
git-svn-id: trunk@12724 -
2009-02-08 21:24:28 +00:00
Jonas Maebe
549f1ecc1b * when using overloaded functions in Delphi mode without the "overload"
directive, state that "overload" is missing rather than that
    overloading is disabled (mantis #10081)

git-svn-id: trunk@12723 -
2009-02-08 16:01:41 +00:00
Jonas Maebe
58456508f1 * renamed to correct bug number
git-svn-id: trunk@12722 -
2009-02-08 15:44:49 +00:00
Jonas Maebe
053493fbeb * fixed FahrenheitToCelsius() and CelsiusToFahrenheit() (mantis #13133)
git-svn-id: trunk@12721 -
2009-02-08 15:30:59 +00:00
Jonas Maebe
e672ead77a * fixed class cast errors in range checking code
git-svn-id: trunk@12720 -
2009-02-08 13:07:12 +00:00
Jonas Maebe
7d459cf12a * the compiler now explicitly keeps track of the minimally guaranteed
alignment for each memory reference (mantis #12137, and
    test/packages/fcl-registry/tregistry1.pp on sparc). This also
    enables better code generation for packed records in many cases.
  o several changes were made to the compiler to minimise the chances
    of accidentally forgetting to set the alignment of memory references
    in the future:
    - reference_reset*() now has an extra alignment parameter
    - location_reset() can now only be used for non LOC_(C)REFERENCE,
      use location_reset_ref() for those (split the tloc enum so the
      compiler can catch errors using range checking)

git-svn-id: trunk@12719 -
2009-02-08 13:00:24 +00:00
Jonas Maebe
73a394bca6 * fixed class cast error
git-svn-id: trunk@12718 -
2009-02-08 12:59:31 +00:00
Jonas Maebe
a4cc881693 * fixed compilation after addition of support for weak symbols
git-svn-id: trunk@12716 -
2009-02-08 10:21:17 +00:00
Jonas Maebe
9b790edd4f * fixed parsing of "var x: <type> absolute <value>;" on 64 bit platforms
(tests/tbs/tb0350)

git-svn-id: trunk@12715 -
2009-02-08 09:00:49 +00:00
Tomas Hajny
7bb670800d * -Ratt removed from default fp.cfg - it is not necessary and makes troubles under sparc
git-svn-id: trunk@12714 -
2009-02-08 01:00:02 +00:00
Jonas Maebe
95431c57f5 * fixed variantarrays for 64 bit systems after the changes in 2.2.0 to
turn variantarray indices into longints
  * extended tw9161 to also test storing and retrieving dynamic arrays
    in/from variant arrays

git-svn-id: trunk@12713 -
2009-02-08 00:24:03 +00:00
Jonas Maebe
31756489a2 * now range check error also fixed for 64 bit targets
git-svn-id: trunk@12712 -
2009-02-07 23:03:29 +00:00
Jonas Maebe
4e1859e108 * fixed spilling of "mov $64bitconst,%reg" on x86_64
git-svn-id: trunk@12711 -
2009-02-07 22:57:59 +00:00
Jonas Maebe
7950db7f2f * fixed (harmless) range check errors
git-svn-id: trunk@12710 -
2009-02-07 22:25:33 +00:00
Jonas Maebe
dc2d1c6926 * fixed (harmless) range check errors
* fixed indentation

git-svn-id: trunk@12709 -
2009-02-07 22:25:07 +00:00
Jonas Maebe
b3aa2ab759 + new test which should fail but doesn't yet (it should not be possible to
use a char typecasted as a chararray with more than one element as an
    lvalue)

git-svn-id: trunk@12708 -
2009-02-07 22:20:47 +00:00
Jonas Maebe
31f3d1ead1 * fixed range check errors
git-svn-id: trunk@12707 -
2009-02-07 21:50:22 +00:00
florian
05fcdceb6d + list of possible feature switches
git-svn-id: trunk@12706 -
2009-02-07 21:48:43 +00:00
florian
d6ba5ab341 * another patch for seeking in compressed streams by Danny Milosavljevic, resolves #12830
git-svn-id: trunk@12705 -
2009-02-07 21:31:17 +00:00
Jonas Maebe
1f75d8734d * fixed range/overflow errors
git-svn-id: trunk@12704 -
2009-02-07 21:27:34 +00:00
Jonas Maebe
0a14c8824e * fixed invalid class typecasts in rol/ror handling
git-svn-id: trunk@12703 -
2009-02-07 21:21:43 +00:00
Jonas Maebe
ef7d9c7a41 * fixed range check errors when typecasting vBoolean to unsigned ordinals
git-svn-id: trunk@12702 -
2009-02-07 21:12:01 +00:00
Jonas Maebe
1c82b105fa * fixed (harmless) range check error
git-svn-id: trunk@12701 -
2009-02-07 20:43:18 +00:00
Jonas Maebe
eee1525de8 * fixed compilation with range checking switched on
git-svn-id: trunk@12700 -
2009-02-07 20:42:45 +00:00
florian
0bd33cbbc1 * applied fix from 12833
git-svn-id: trunk@12699 -
2009-02-07 16:13:05 +00:00
florian
0c65d53f45 + added register keyword to Interlocked* definitions as suggested by Jonas, resolves #12255
git-svn-id: trunk@12698 -
2009-02-07 16:09:05 +00:00
Jonas Maebe
c4310a6f08 * replaced invalid {$STACKSIZE } directive with {$MINSTACKSIZE }
git-svn-id: trunk@12697 -
2009-02-06 20:04:11 +00:00
Jonas Maebe
ae45a80d46 * allow the usage of symbolic constants to specify the "stored" attribute
of properties (mantis #10492). Not really clean (and Delphi supports
    full expressions, e.g. also "(const1=const2)"), but cannot do better
    without rewriting the complete symlist parsing to use parse trees instead
    of parser tokens as input

git-svn-id: trunk@12696 -
2009-02-06 19:54:29 +00:00
ivost
452d2b5fee * updated error message
git-svn-id: trunk@12695 -
2009-02-06 17:00:32 +00:00
ivost
555d72a37b * fixed library name (typo)
git-svn-id: trunk@12694 -
2009-02-06 16:58:06 +00:00
ivost
76694f6ec8 * added new test for interface to tguid or shortstring constants
git-svn-id: trunk@12693 -
2009-02-06 12:08:48 +00:00
ivost
0f519439b5 * reverted r12690 and r12691
* but extended ptconst so that a com interface maybe assigned to a TGuid const

git-svn-id: trunk@12692 -
2009-02-06 02:56:13 +00:00