Commit Graph

29054 Commits

Author SHA1 Message Date
michael
930de03fae * Fixes so it compiles in all cases
git-svn-id: trunk@11356 -
2008-07-10 14:37:27 +00:00
michael
14ffd4dd6d * Corrected int64 type name
git-svn-id: trunk@11355 -
2008-07-10 09:40:37 +00:00
michael
c33657c0e0 * Improvements to tiopf code generator, and build project for use with lazarus
git-svn-id: trunk@11354 -
2008-07-10 09:08:40 +00:00
florian
fffc05731c * don't crash when ranges are passed erroneously to an array of const, resolves #11632
git-svn-id: trunk@11353 -
2008-07-09 21:06:24 +00:00
michael
f4c51462ad * Code generator for populating a data dictionary in code
git-svn-id: trunk@11352 -
2008-07-09 13:50:12 +00:00
michael
4705c4c5de * Fixed saving/restoring of precision in TDDFielddef
git-svn-id: trunk@11351 -
2008-07-09 13:49:05 +00:00
marco
7e72e81662 * pboolean is now deprecated because it conflicts with system.pboolean. Under ifndef 2_2. (#11380)
Merging not needed, except maybe for documentation purposes?

git-svn-id: trunk@11350 -
2008-07-09 13:43:27 +00:00
Almindor
3195d8bd79 * patch from Vincent to fix TReader.ReadCollection calling clear() logic
git-svn-id: trunk@11348 -
2008-07-07 21:21:44 +00:00
Jonas Maebe
f07b132292 * enabled smart linking by default for Darwin (will break building
on Mac OS X 10.2.x, and also on 10.3.x if not at least Xcode 1.5 is
    installed; compiled programs can however still work on such systems
    without any problem)

git-svn-id: trunk@11345 -
2008-07-07 20:12:03 +00:00
florian
38a6d955e3 * moved to proper location
git-svn-id: trunk@11344 -
2008-07-07 18:41:44 +00:00
florian
f5d9a9d1b7 * empty tprocess command line results on windows now in the same exception as on unix
* some code unified

git-svn-id: trunk@11343 -
2008-07-07 18:41:10 +00:00
florian
d71c80b757 - $Id tag removed
git-svn-id: trunk@11342 -
2008-07-07 18:35:46 +00:00
florian
ed9c7ceaea * support deprecated for types
git-svn-id: trunk@11341 -
2008-07-07 17:59:48 +00:00
Almindor
68fffefb33 * remove useless redefinitions
git-svn-id: trunk@11338 -
2008-07-06 13:30:28 +00:00
marco
c12945d323 * mode objfpc in gzio to avoid 16-bit blocksize gzio as per #11611.
git-svn-id: trunk@11337 -
2008-07-06 10:50:22 +00:00
Jonas Maebe
c00108009d * insert vmt as hidden field in objectdefs
* don't output hidden fields in the debug info

git-svn-id: trunk@11334 -
2008-07-06 09:41:56 +00:00
Jonas Maebe
98e843c092 * support overriding debuginfo for classrefdefs
git-svn-id: trunk@11327 -
2008-07-05 14:25:23 +00:00
joost
fdb790ad2c * Fixed compilation by reverting r11321 because after the added dependency on the dom unit the package dependency on fcl-xml is missing in the makefiles and I do not know how to fix that properly
git-svn-id: trunk@11323 -
2008-07-04 22:35:43 +00:00
marco
70e08a344b * fix for the problems Sebastian G. mentioned. refiid's not everywhere translated to const x :tiid. Fixed, also found a place where it was written as constrefidd: tiid
git-svn-id: trunk@11322 -
2008-07-04 22:22:54 +00:00
joost
976151cf02 * First try to implement TBufDataset.LoadFromFile and SaveToFile (xml)
git-svn-id: trunk@11321 -
2008-07-04 21:07:27 +00:00
Jonas Maebe
2348c7ea00 * allow ssa to happen for outer for-loop control variables
git-svn-id: trunk@11320 -
2008-07-03 19:39:23 +00:00
giulio
5a3f7c5bad Added symbolic to installer
git-svn-id: trunk@11317 -
2008-07-03 15:37:04 +00:00
michael
1ea2129c0d * Changed var to out parameters for strtoint*
git-svn-id: trunk@11314 -
2008-07-02 18:00:07 +00:00
michael
b32a493b7d * Fixed memory leak when re-assigning datasource property
git-svn-id: trunk@11312 -
2008-07-02 16:23:13 +00:00
michael
d812fa0c92 * Patch from Sergei Gorelkin:
* excludes #$FFFE and #$FFFF from allowed XML 1.1 name chars, so
  IsXmlName result is correct when its argument comes not from the
  parser.
xmlread.pp:
+ Two new parsing options, Namespaces and ResolveExternals (not
  functional yet but needed to proceed).
* Fixed checking of WFC [28a], forces fatal error as soon as possible
  and prevents parsing of further (potentially malicious) data.
  Hopefully now it is truly compliant to the specs and not just
  satisfies the tests.
* In entity value literals, nesting is checked by entity, not by the
  input source (consistent to other places).
- Saving FCursor around attribute default value isn't necessary because
  FCursor is always nil while parsing the DTD.
* TList's changed to more lightweight TFPList's.
* Changed once more (probably the last time) recognizing the standalone
  percent sign in parameter entity declarations. Rationale is that
  FCurChar is no more out of sync with FSource.FBuf^, and therefore may
  be removed.

tests/xmlts.pp and tests/README:
+ Added support for the latest XML test suite (by skipping tests
  targeted for the upcoming fifth edition of XML specs).
+ 'Namespaces' option is passed to the parser.
* README updated with the latest testsuite URL.

git-svn-id: trunk@11303 -
2008-07-01 19:14:56 +00:00
Jonas Maebe
f3afd6d934 * fixed TCollection.FindItemID as suggested by "de" (mantis #11588)
git-svn-id: trunk@11301 -
2008-06-30 19:18:45 +00:00
giulio
c05626b4b5 Fixed typo (GBD=>GDB)
git-svn-id: trunk@11298 -
2008-06-30 11:40:41 +00:00
marco
f9c179da18 * add psize_t
git-svn-id: trunk@11296 -
2008-06-28 18:16:44 +00:00
Jonas Maebe
310ec39757 * fixed + optimized generic round_real
- removed cgenmath version of round_real because it wasn't any better
    than the generic one anymore

git-svn-id: trunk@11295 -
2008-06-28 14:17:06 +00:00
michael
bf9e4971be * Fix from Paul Ishenin to fix assigning
git-svn-id: trunk@11291 -
2008-06-27 17:45:08 +00:00
Jonas Maebe
30a51c2dee + support for the different rounding modes in the generic rounding
routines (mantis #11392)

git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00
Jonas Maebe
4d4b7ddbf6 * renamed for consistency
git-svn-id: trunk@11289 -
2008-06-27 14:30:02 +00:00
joost
20f7187d1f * Fix ftBCDField after r11279
git-svn-id: trunk@11285 -
2008-06-26 20:21:22 +00:00
florian
67e811db60 * handle booleans correctly in Typinfo.GetEnum*, resolves #11372
git-svn-id: trunk@11284 -
2008-06-26 20:01:31 +00:00
giulio
048c7224b0 go32v2 graph: fix for seg_bytemove so that it works with oldfpccall and register calling
conventions.

git-svn-id: trunk@11283 -
2008-06-26 13:43:21 +00:00
joost
fdd8ad7608 * Also for Oracle: TBCDField.Size should contain the amount of digits after the decimal-sign, not the full size (bug 11544)
git-svn-id: trunk@11279 -
2008-06-25 20:40:18 +00:00
giulio
cc08543f57 Patch from Petr Kristan for AnsiStrComp/AnsiStrIComp to fix comparison
when both strings are empty and differ after the null character + test.

git-svn-id: trunk@11277 -
2008-06-25 07:07:54 +00:00
joost
88b8195c19 * Align field-data when needed (bug 10957)
* Fix for bookmark property

git-svn-id: trunk@11276 -
2008-06-24 22:06:13 +00:00
joost
38b265f60f * Add ability to test TSdfDataset
git-svn-id: trunk@11275 -
2008-06-24 21:50:16 +00:00
joost
c140dae2b5 * Do not add a terminating zero, since the terminating zeros are not stored in the buffer at all
git-svn-id: trunk@11274 -
2008-06-24 21:36:48 +00:00
florian
fca8883f27 * moved oo_copied into defoptions
* record symtables are now handled properly as well if a record is copied, resolves #9144
* fixed a memory leak when copying classes
* increased PPU version to 91

git-svn-id: trunk@11273 -
2008-06-24 20:23:45 +00:00
giulio
5998ab33f2 Fix handling of ctrl-c/ctrl-break on go32v2:
* the default handler now silently quits if CtrlBreakHandler returns false or
   it hasn't been installed, instead of generating an unknown RTE 0.
Compiler: signal handlers are declared cdecl on go32v2 too.
This fixes bug #11494.

git-svn-id: trunk@11272 -
2008-06-24 17:02:17 +00:00
joost
aa23bebeb0 * Only align data when needed
git-svn-id: trunk@11270 -
2008-06-23 22:15:21 +00:00
joost
864f01ebea * Fixed overflow for large records (bug10003)
git-svn-id: trunk@11269 -
2008-06-23 21:39:54 +00:00
michael
96edd65a89 * Fixed style reading for OOffice documents
git-svn-id: trunk@11268 -
2008-06-23 19:38:40 +00:00
florian
91116c2e21 * fixed test
git-svn-id: trunk@11267 -
2008-06-23 19:16:24 +00:00
florian
467aeb3446 * avoid ie 99080501 when overloading procedures with open arrays of widechar, resolves #11543
git-svn-id: trunk@11266 -
2008-06-23 18:50:51 +00:00
joost
545c6b0d64 * Added support for ftDateTime fields
* Call CreateTable on open when this is not done yet (bug 10958)
 * Check if the dataset is inactive on CreateTable
 * Opening a closed dataset is possible again
 * Implemented BookmarkValid + test (bug 8511)

git-svn-id: trunk@11263 -
2008-06-22 21:59:12 +00:00
florian
396b1c7c1e * do not write a "copied" symtable to a ppu when holding only a reference to it,
write the owner instead and get a reference to the symtable again when loading
  a ppu, might resolve #8180

git-svn-id: trunk@11262 -
2008-06-22 21:12:22 +00:00
michael
29c2d93a57 * Fixed reading of alternate font name
git-svn-id: trunk@11261 -
2008-06-21 21:13:25 +00:00