Commit Graph

29687 Commits

Author SHA1 Message Date
Jonas Maebe
bb9e962490 * fixed procvar parameter passing on ppc/sysv (by value instead of by
reference -- except for method procvars, for tmethod record compatibility)
  * adapted tw11563 for corrected calling convention

git-svn-id: trunk@12475 -
2009-01-02 15:36:27 +00:00
joost
5ef8122b16 * Removed Oppentium3 compiler flag from default ide configuration files because the flag is not valid on all platforms
git-svn-id: trunk@12468 -
2009-01-02 10:36:42 +00:00
joost
c031a1fcde * If the local-configuration directory is used and does not exist, attempt to create it
* Removed a hard-coded reference to the fpcdir

git-svn-id: trunk@12465 -
2009-01-01 23:46:43 +00:00
Jonas Maebe
22aacd2a60 * return 0 for length(pchar(0)), like Kylix does (using corrected and
multi-platform version of patch in r12461, which caused the i386 version
    of fpc_pchar_length to return 0 in all cases, which used tabs, and did
    not include a test case)

git-svn-id: trunk@12464 -
2009-01-01 22:02:17 +00:00
ivost
8046f82416 * Undoing change commited in r12461, it looks like a feature and not a bug ;)
git-svn-id: trunk@12463 -
2009-01-01 21:45:42 +00:00
joost
c9b5621675 * ExistsDir must also find hidden directories, so that the local configuration files are found
git-svn-id: trunk@12462 -
2009-01-01 21:34:41 +00:00
ivost
fe3263eb08 * i386 version of fpc_pchar_length did not accept NIL strings, maybe we have to check other implementations also
git-svn-id: trunk@12461 -
2009-01-01 21:18:49 +00:00
joost
660a7c4b6d * Load the local mirrors before an update is tried if it is a new installation or else the update will always fail
git-svn-id: trunk@12459 -
2009-01-01 12:09:19 +00:00
florian
2083396fbc * patch to implement MaskDoFormatText by Paul Ishenin
git-svn-id: trunk@12458 -
2008-12-30 10:03:29 +00:00
Tomas Hajny
4e2676ca13 + samplecfg able to create default configuration for IDE now
git-svn-id: trunk@12457 -
2008-12-30 02:05:07 +00:00
joost
b4616d43c1 * PackageAvailableVersionStr should use the AvailableRepository instead of InstalledRepository
git-svn-id: trunk@12456 -
2008-12-29 23:07:55 +00:00
joost
e89b30abef * TDateTimeField.SetAsString now sets the field to NULL if an empty string is provided, bug #12875 + testsuite test
git-svn-id: trunk@12455 -
2008-12-29 20:55:02 +00:00
joost
00e76eab6a * SQLdb now handles queries with statementtype stExecProcedure as select queries so that it is possible to fetch the results. But stExecProcedure will fetch only one row of data.
* TIBConnection now sets the statement type of a call to a stored procedures to stExecProcedure. This also works for "insert into .. returning" queries. (+test)

git-svn-id: trunk@12454 -
2008-12-29 13:17:34 +00:00
Jonas Maebe
0d4c4a213e * only excute tests on platforms for which -gc is supported
git-svn-id: trunk@12453 -
2008-12-29 11:18:26 +00:00
joost
4fc5d5dbef * Show provided invalid date in StroToDate error messages
* Show a proper error-message if an empty string is supplied to StrToDate

git-svn-id: trunk@12452 -
2008-12-28 22:37:59 +00:00
Jonas Maebe
423ee926c2 * verify during parameter parsing that -gc and -pg are implemented/
supported for the chosen target platform

git-svn-id: trunk@12451 -
2008-12-28 15:53:15 +00:00
Jonas Maebe
e54aed98a4 * fixed some small errors/inconsistencies in the wpo messages
git-svn-id: trunk@12450 -
2008-12-28 10:10:16 +00:00
florian
7d849d312b + added missing LaTeX statement for wpo error messages
git-svn-id: trunk@12449 -
2008-12-28 09:51:27 +00:00
joost
204de0d4cf * Added tests for update-buffers and streaming
git-svn-id: trunk@12448 -
2008-12-28 01:12:38 +00:00
joost
5bfc0e094e * Clear FieldDefs before reading them from stream
git-svn-id: trunk@12447 -
2008-12-28 00:57:18 +00:00
Jonas Maebe
2cd1acc77d * element type of ansistrings is cchartype, not u8inttype
git-svn-id: trunk@12446 -
2008-12-27 22:43:45 +00:00
joost
d6a688e6df * Handle ftBCD fields with different precisions correctly. (bug 12862)
git-svn-id: trunk@12445 -
2008-12-27 21:50:55 +00:00
Jonas Maebe
03a7d089b9 + append_block1() to add extra block DW_FORM_block1 attributes to
a dwarf entry
  - (dwarf3) removed stride size from dynamic array entries because
    it's not required there (the stride always equals the element size)
  + (dwarf3) added "allocated" attribute for dynamic arrays 
  + (dwarf3) added generic implementation of string support for dwarf3,
    which no longer depends on the hacked fake record type in gdb's
    Pascal support. Includes support for all string types, except for
    winlike widestrings (because I don't know how to extract the
    length from them)

git-svn-id: trunk@12444 -
2008-12-27 21:43:45 +00:00
marco
658dc2d8cd * increased very low (64k) TBits limit to +/- 2GB, like most datastructures.
Artifact of TP times? Mantis 12431. Further increasing (e.g. for 64-bit)
     needs cleanup (ptr(u)int?) first.

git-svn-id: trunk@12443 -
2008-12-27 21:15:30 +00:00
marco
f0c236b992 * Made overloading situation ifthen more Delphi compatible. Mantis #12662
All string variants now in one unit.

git-svn-id: trunk@12442 -
2008-12-27 18:43:22 +00:00
yury
972a12b98d * Added bugtraq:url and bugtraq:logregex svn properties to enable nice links to Mantis bug reports in TortoiseSVN client.
git-svn-id: trunk@12440 -
2008-12-27 14:30:18 +00:00
yury
c1f373ee71 * Fixed case when TJSONStringType = WideString.
* Fixed warnings.

git-svn-id: trunk@12438 -
2008-12-27 14:02:38 +00:00
yury
69d1b4813c * Fixed .res resources handling when -o switch is used to specify executable full path and name in the same folder where .res files are located. Mantis #12856.
git-svn-id: trunk@12437 -
2008-12-25 10:14:34 +00:00
Jonas Maebe
a3732f5cfc * changed debuginfo for dynamic arrays in stabs and dwarf2 into a pointer to
the array type, rather than an array type (since they are pointers)
  + fully implemented debug info for dynamic arrays using dwarf3 (as supported
    by the gdb "archer" project with the archer-jankratochvil-vla branch)
    (mantis #12789)

git-svn-id: trunk@12436 -
2008-12-24 19:59:44 +00:00
florian
e512367dbd * formatting fix
git-svn-id: trunk@12435 -
2008-12-24 16:17:35 +00:00
florian
23bbb087bd * indention fixed
git-svn-id: trunk@12434 -
2008-12-24 16:17:09 +00:00
florian
3329a9b895 + ascii85 decoder stream by Danny Milosavljevic, resolves #0012833
+ test case

git-svn-id: trunk@12433 -
2008-12-24 16:16:23 +00:00
marco
2ff48d2576 * len now longint.
git-svn-id: trunk@12432 -
2008-12-24 15:37:31 +00:00
florian
ff205c6e90 * set result of tdecompressionstream.seek by Danny Milosavljevic, resolves #12830
git-svn-id: trunk@12431 -
2008-12-24 15:32:23 +00:00
michael
de5861c689 * Added GIF reader from Mattias Gaertner
git-svn-id: trunk@12429 -
2008-12-24 12:23:35 +00:00
joost
5703c2a888 * Fetch all records before building an index using IndexFieldNames
git-svn-id: trunk@12428 -
2008-12-24 12:22:08 +00:00
joost
ddeea252b5 * Partly reverted r11511 so that a query is prepared only once
git-svn-id: trunk@12427 -
2008-12-24 10:04:33 +00:00
Károly Balogh
75fae87e46 + removed probably accidentally left in A_BL generation, which caused double BL <name> instruction generation
on MorphOS (and all PowerPC32 systems, except Darwin)... These systems now should cycle again.

git-svn-id: trunk@12425 -
2008-12-23 20:48:43 +00:00
Jonas Maebe
513b89f961 * fixed commented out dwarf-3 dyn array debug information location
(works with archer/origin/archer-jankratochvil-vla gdb branch,
     see http://people.redhat.com/jkratoch/vla/MOVED)

git-svn-id: trunk@12424 -
2008-12-23 16:52:31 +00:00
marco
b8194205af * two more culong(1) shl fixes.
git-svn-id: trunk@12419 -
2008-12-23 14:00:59 +00:00
marco
a88ebff6dd * fix for 64-bit signed<->unsigned issue, bug #12841
git-svn-id: trunk@12418 -
2008-12-23 13:57:25 +00:00
joost
7cd20771b0 * Restore the order of two deleted records bound to the same record properly when reading a dataset from file
git-svn-id: trunk@12417 -
2008-12-22 22:06:31 +00:00
joost
fc2409d812 * Restructured makefiles for examples
git-svn-id: trunk@12412 -
2008-12-20 22:40:04 +00:00
joost
a31137d822 * Restructured makefiles for examples
git-svn-id: trunk@12411 -
2008-12-20 22:28:26 +00:00
joost
c5346ebbc0 * Fixed compilation of example
git-svn-id: trunk@12410 -
2008-12-20 22:24:12 +00:00
joost
ada2768347 * Restructured makefiles for examples
git-svn-id: trunk@12409 -
2008-12-20 22:12:27 +00:00
joost
00c9b17cec * Restructured makefiles for examples
git-svn-id: trunk@12408 -
2008-12-20 21:56:45 +00:00
joost
d5da3f316f * Fixed compilation of example
git-svn-id: trunk@12407 -
2008-12-20 21:52:00 +00:00
joost
3a50161c65 * Restructured makefiles for examples
git-svn-id: trunk@12406 -
2008-12-20 21:36:03 +00:00
joost
a4ca4ae32e * Restructured makefiles for examples
git-svn-id: trunk@12405 -
2008-12-20 21:32:46 +00:00