Commit Graph

28327 Commits

Author SHA1 Message Date
florian
c424f27291 * patch by C Western for #10883
git-svn-id: trunk@10385 -
2008-02-24 20:00:08 +00:00
florian
65e9ad8591 + test for implements with alias
git-svn-id: trunk@10384 -
2008-02-24 19:43:50 +00:00
joost
3bb5a786eb * Do not depend on TDataset.DataEvent when setting up the test-data
git-svn-id: trunk@10383 -
2008-02-24 13:21:16 +00:00
florian
6c53785e3a * first part of implements clean up and fixing
git-svn-id: trunk@10382 -
2008-02-24 11:05:46 +00:00
Jonas Maebe
7433e0ef89 * replaced a trunc() with an int() call (because its result is compared
with a float as well)

git-svn-id: trunk@10375 -
2008-02-21 13:18:56 +00:00
Jonas Maebe
469452b0ba * avoid check being wrongly "optimized" away (left and right
side were convered to int64, after which the expression was
    considered to be never true)

git-svn-id: trunk@10372 -
2008-02-20 21:27:32 +00:00
Jonas Maebe
db34ed44e4 * fixed an {$ifndef cpu64bitalu} which had to be {$ifndef cpu64bitaddr}
git-svn-id: trunk@10371 -
2008-02-20 20:08:03 +00:00
Jonas Maebe
638fc56489 * rlwnm_ -> rlwnm.
git-svn-id: trunk@10368 -
2008-02-20 11:50:12 +00:00
Jonas Maebe
417b5dcfda + internal round/trunc support for ppc970 using fctid/fctidz
* a_fctw_ -> a_fctiw_

git-svn-id: trunk@10367 -
2008-02-20 11:49:15 +00:00
Jonas Maebe
1cdf575657 + test for previous commit
git-svn-id: trunk@10363 -
2008-02-19 20:24:22 +00:00
Jonas Maebe
e9108ed51c * fixed skipping of character after number of errors to report in
parsing of -Se<xxx> string (mantis #10849)

git-svn-id: trunk@10362 -
2008-02-19 20:20:26 +00:00
joost
3a3657f925 * Do not pass Self to TDataset.SetDataEvent directly. Just to be sure that setting it to something else will not give any problems. (bug 9503)
git-svn-id: trunk@10361 -
2008-02-19 19:32:52 +00:00
joost
c64fea89b7 * Patch from Luiz Americo for bug #10777
git-svn-id: trunk@10357 -
2008-02-18 22:42:55 +00:00
daniel
3540c400dc * Fix read/write enum on cpu's requiring alignment: Call 'align' the proper way.
git-svn-id: trunk@10351 -
2008-02-17 21:43:39 +00:00
joost
203331cc3a * Fixed bug #8464
git-svn-id: trunk@10350 -
2008-02-17 21:14:26 +00:00
joost
af564e4da5 * Fix+test bug #10345
git-svn-id: trunk@10349 -
2008-02-17 20:52:16 +00:00
Almindor
141defd182 * fix aspell runtime error in windows if no library (register keys) are present
git-svn-id: trunk@10348 -
2008-02-17 17:04:15 +00:00
joost
7a114d46c1 * Set the FFirstRecBuf of the default index to nil when the dataset is closed. (Fixes test TestExceptOnsecClose)
git-svn-id: trunk@10347 -
2008-02-17 14:19:46 +00:00
joost
d176f7a417 * Set the default alignment of TNumericFields to taRightJustify. (Patch from Jesus Reyes, bug #9456)
git-svn-id: trunk@10346 -
2008-02-16 22:43:30 +00:00
joost
0fcaf1f671 * Patch from Martin Schreiber to fix AV when using postgres 7.x
git-svn-id: trunk@10345 -
2008-02-16 22:34:49 +00:00
joost
983e723262 * Implemented Port property (bug 10533)
git-svn-id: trunk@10344 -
2008-02-16 22:07:44 +00:00
joost
c5aa15f41b Patch from Luiz Americo:
* Replace StrPas by String
 * Removes unnecessary code
 * Format surrounding code

git-svn-id: trunk@10342 -
2008-02-16 21:18:18 +00:00
joost
c48fe41781 * Patch from Jesus Reyes to set a default for ParseSQL (bug 10798)
git-svn-id: trunk@10341 -
2008-02-16 21:08:54 +00:00
joost
301418c9c9 * Fixed mem-leak
git-svn-id: trunk@10340 -
2008-02-16 18:58:08 +00:00
Jonas Maebe
246eaddce6 * fixed test
git-svn-id: trunk@10339 -
2008-02-16 11:58:39 +00:00
Jonas Maebe
88bdf1d674 * fixed test for non-mswindows platforms
git-svn-id: trunk@10338 -
2008-02-16 11:58:15 +00:00
florian
38230735a5 * testcase for last commit
git-svn-id: trunk@10337 -
2008-02-16 08:55:08 +00:00
florian
796f39a7a7 * force ansistring concatenation when building stabs
git-svn-id: trunk@10336 -
2008-02-16 08:53:54 +00:00
florian
d38da8d0ae * naming fixed
git-svn-id: trunk@10335 -
2008-02-16 08:52:57 +00:00
florian
c46b44b797 resolves #10509
* fixed SetInterfaceProp
+ PInterface
* extended trtti1

git-svn-id: trunk@10334 -
2008-02-15 20:54:10 +00:00
florian
e0246fcf2c * according to Delphi in a Nutshell, EConvertPropertyError is risen by Seg/Get
git-svn-id: trunk@10333 -
2008-02-15 19:57:08 +00:00
marco
efbd862967 * moved two examples and lowercased the name of a {$I statement so I can pull it through makeskel
git-svn-id: trunk@10332 -
2008-02-15 19:50:12 +00:00
florian
d8d96f14e6 + experimental directive, resolves #10833
git-svn-id: trunk@10331 -
2008-02-15 19:29:34 +00:00
florian
e5a960d860 * set default reserved stack size on win32/win64 to 16MB
git-svn-id: trunk@10330 -
2008-02-15 19:06:23 +00:00
Jonas Maebe
c6921cc3df * lineinfo and lnfodwrf depend on inc/exeinfo.pp
+ add fake dependency of lnfodwrf on lineinfo to avoid those two
    units being compiled together, because then inc/exeinfo.pp can
    also be compiled twice at the same time which leads to trouble
    if -ap isn't used

git-svn-id: trunk@10329 -
2008-02-15 14:47:57 +00:00
florian
f28636ac5b + dummy navradd unit
git-svn-id: trunk@10328 -
2008-02-14 20:40:18 +00:00
peter
7ffbfdc9c8 * fix widestring concat multi for winlikewidestring. The
append optimization can't be used in this can because the
    trick with refcnt is not supported

git-svn-id: trunk@10327 -
2008-02-14 20:15:21 +00:00
marco
a4eab5ca58 * another fix. unicode <> ascii swap
git-svn-id: trunk@10326 -
2008-02-14 19:19:07 +00:00
Jonas Maebe
990fb69d19 + test for proper freeing of thread resources
git-svn-id: trunk@10325 -
2008-02-14 16:17:33 +00:00
marco
6948e2c66c * now stdcall
git-svn-id: trunk@10324 -
2008-02-14 15:38:51 +00:00
marco
46acbe2ee0 * moved commdlg functions from windows to commdlg unit. Constants still have to be done.
git-svn-id: trunk@10323 -
2008-02-13 22:21:11 +00:00
Jonas Maebe
d3c590973e * regenerated with darwin/x86_64 support
git-svn-id: trunk@10322 -
2008-02-13 21:07:17 +00:00
marco
2e1682d7a7 * fix for #10772 interlocked now calling convention default (I hope, this modifier is undocumented #10823)
* remove comctl32 functions from windows. In time accctrl and comdlg functions will also go, but for that the respective windows headers must be done first.
      This both for delphi compat, and to avoid duplicate identifiers (and vague errors) as encountered with win32extra merging.

git-svn-id: trunk@10321 -
2008-02-13 21:00:14 +00:00
Jonas Maebe
f36e5411af * split cpu64bit compiler define into
a) cpu64bitaddr, which means that we are generating a compiler which
       will generate code for targets with a 64 bit address space/abi
    b) cpu64bitalu, which means that we are generating a compiler which
       will generate code for a cpu with support for 64 bit integer
       operations (possibly running in a 32 bit address space, depending
       on the cpu64bitaddr define)
   All cpus which had cpu64bit set now have both the above defines set,
   and none of the 32 bit cpus have cpu64bitalu set (and none will
   compile with it currently)
  + pint and puint types, similar to aint/aword (not pword because that
    that conflicts with pword=^word)
  * several changes from aint/aword to pint/pword
  * some changes of tcgsize2size[OS_INT] to sizeof(pint)

git-svn-id: trunk@10320 -
2008-02-13 20:44:00 +00:00
florian
c05d4912f4 + basic system unit for avr-embedded
* fixed several compiler stuff to be able to start system unit compilation on avr

git-svn-id: trunk@10318 -
2008-02-13 20:35:16 +00:00
florian
8aa80c8262 * properties set
git-svn-id: trunk@10317 -
2008-02-13 20:34:45 +00:00
florian
cae52272aa * split ena_rq define
git-svn-id: trunk@10316 -
2008-02-13 19:06:17 +00:00
michael
55f15818d0 * Patch from sergei Gorelkin:
* Optimized Escape() and Unescape() for speed.
  * Corrected relative filename handling in FilenameToURI(), a relative
    filename should remain relative after conversion to URI and back.

git-svn-id: trunk@10315 -
2008-02-13 10:32:12 +00:00
michael
77b38b6be5 * Patch from Sergei Gorelkin:
fcl-xml/src/dom.pp: resolved a number of Level 1 conformance issues:

  * Node.Normalize always deletes empty text nodes
  * Node.Normalize is recursive into Attributes
  * Node.InsertBefore corrected exception code in case when RefChild is
    not one of node's children
  + Node.InsertBefore added missing check for possible cycle in tree
  + Node.AppendChild and Node.InsertBefore added checking type of NewChild
  + CloneNode enabled for Fragment and Entity
  - CloneNode deleted for DocumentType (w3 specs directly prohibit cloning
    it between documents, and cloning within one document is claimed
    'implementation specific' - but makes no sense).
  + Node.ImportNode is now working

  * Uncommented Level 2 node properties (NamespaceURI, localName and
    Prefix), this caused a name clash and a lot of function argument
    renames.

  fcl-xml/src/xmlutils.pp:

  + overloaded IsXmlName() that accepts PWideChars

  fcl-xml/src/xmlconf.pp

  * Applied a fix similar to xmlcfg.pp for Mantis #10554

  fcl-xml/src/xmlread.pp:

  * Major: Got errors reported at correct locations for all 1600+ negative
    tests. Easy to say, but it required modifying almost every second
    line of code.
  * TContentParticle references an existing element definition instead of
    storing its own name (this allows content model matching without
    string comparisons).
  * Resorted to old-style 'object' for TElementValidator and to plain
    procedures for decoders (allows to drop almost all related memory
    management).
  * Moved parameter entity detection from char to token level, this
    simplifies things a bit.
  + Added second level of buffering to input source (a step towards
    supporting arbitrary encodings).
  * The main parsing loop contains no implicit exception frames now.


  fcl-xml/src/xmlwrite.pp

  * Replaced the stupid indenting algorithm with a simple rule: "Do not
    write indents adjacent to text nodes". Now it does not make a mess
    out of the documents which were parsed with PreserveWhitespace=True.
  * Use specialized node properties instead of generic ones, this
    eliminates WideString copies and results in almost 2x performance
    boost in Windows.
  * Even more performance:
    * Write line endings together with indents -> twice less calls.
    * Increase slack in buffer and write strings with known length (i.e.
      most of markup) without overflow checking.

  fcl-xml/tests/xmlts.pp:

  * Use parser options instead of dedicated procedure to 'canonicalize'
    documents, the parser has become mature enough to do that.
  * Fatal error in non-valid category is a test failure, as well as
    validation error alone in not-wellformed category.

  fcl-xml/src/README

  * Brought a bit up to date

  fcl-xml/tests/README

  + Added testsuite errata/issues

git-svn-id: trunk@10314 -
2008-02-13 10:31:09 +00:00
florian
469672cb56 * fixed another crash with the new function result handling for sysv x86-64 abi
git-svn-id: trunk@10312 -
2008-02-12 21:26:46 +00:00