Commit Graph

34470 Commits

Author SHA1 Message Date
marco
bc41e65c5c * changed open to .first, mantis #19360
git-svn-id: trunk@18157 -
2011-08-09 19:13:27 +00:00
marco
f20b559668 * Most sqldb example fixes from Mantis #17292.
git-svn-id: trunk@18156 -
2011-08-09 16:42:39 +00:00
joost
6906b47d35 * Disabled eventlog support on WinCE
git-svn-id: trunk@18155 -
2011-08-09 16:14:52 +00:00
pierre
bafbbe9f0f * Fix bug report 7210
git-svn-id: trunk@18154 -
2011-08-09 15:52:03 +00:00
pierre
2b54f5f961 Add test for bug report 7210
git-svn-id: trunk@18153 -
2011-08-09 13:32:47 +00:00
marco
f22ec8545f * test for datetime params + fixes some minor cross-database specific things
patch by Lacak2, mantis #19878

git-svn-id: trunk@18152 -
2011-08-09 13:08:52 +00:00
florian
abd5ca46c8 + build unit and lazarus project for the embedded target
git-svn-id: trunk@18151 -
2011-08-08 20:10:19 +00:00
florian
144e59a1a7 * indention fixed
git-svn-id: trunk@18150 -
2011-08-08 20:09:39 +00:00
pierre
7b5196a4bc Test fix of infinite loop in PUSH/POP directives
git-svn-id: trunk@18142 -
2011-08-07 20:44:55 +00:00
pierre
c43b91ef15 Fix infinite loop in PUSH/POP directives
git-svn-id: trunk@18141 -
2011-08-07 20:44:22 +00:00
marco
cf061cd3ae * provide terminating #0's to wide and stringfields, Patch from Ludo Brands
Mantis 199222

git-svn-id: trunk@18140 -
2011-08-07 18:17:56 +00:00
joost
084c06586a * Pass INSTALL_UNITDIR to fpmake, it is used in the testsuite-scripts
git-svn-id: trunk@18138 -
2011-08-07 14:08:11 +00:00
marco
0f0627e888 * columnsize overrides as per ODBC spec, Mantis #19775 patch by Lacak2
git-svn-id: trunk@18137 -
2011-08-07 13:39:20 +00:00
joost
6cbfab19a7 * Added ability to set unit output dir
* Allow and use macros in UnitOutputDir

git-svn-id: trunk@18136 -
2011-08-07 13:13:46 +00:00
Jonas Maebe
0a88009059 * comment and formatting fixes by Christian Budde (mantis #19919)
git-svn-id: trunk@18134 -
2011-08-07 10:10:51 +00:00
joost
29d33f1aa9 * Dependency of fcl-db on fcl-base added to packages/Makefile*
git-svn-id: trunk@18133 -
2011-08-07 10:08:07 +00:00
florian
562961fd42 * catch EOSError, EIOError and IOutOfMemory exceptions inside the compiler
so a proper error message is written (resolves #19871), 
  EOutOfMemory is not handle perfectly because it could be that the exception
  handling requires again a memory allocation

git-svn-id: trunk@18132 -
2011-08-07 09:18:07 +00:00
florian
28126cf0d5 * convert disk full to run time error 101
git-svn-id: trunk@18131 -
2011-08-07 09:15:42 +00:00
joost
9b9cc6d94f * re-generated Makefile after r18129
git-svn-id: trunk@18130 -
2011-08-06 23:42:55 +00:00
joost
a08ae27e11 * fcl-net does not depend on all targets on fcl-async
git-svn-id: trunk@18129 -
2011-08-06 23:42:02 +00:00
joost
3b30ec8c7c * Use fpc_cleanall instead of fpc_distclean on a make distclean when no fpmake-binary is available. Because fpc_cleanall could be an empty target
git-svn-id: trunk@18128 -
2011-08-06 22:52:41 +00:00
marco
e62a37a1af * Initial implementation rowsaffected for Oracle. Patch from mantis #16885
git-svn-id: trunk@18127 -
2011-08-06 22:51:35 +00:00
joost
aeba41218a * fcl-net depends on fcl-async, dependency added to packages/Makefile*
git-svn-id: trunk@18126 -
2011-08-06 21:56:43 +00:00
florian
e6e6b98dd8 * stellaris => ct_stellaris
git-svn-id: trunk@18125 -
2011-08-06 19:56:01 +00:00
Jonas Maebe
20c3809c3a * when a constant Objective-C class reference is used for anything but
the methodpointer of a call, transform it into a call to the classclass
    method because otherwise it can be used before the first call to any
    method of the class (such as in the packages/cocoaint/src/IvarSize test)
    and this can result in crashes

git-svn-id: trunk@18124 -
2011-08-06 19:49:59 +00:00
joost
f9b27806e4 * Switched packages to fpmake building
git-svn-id: trunk@18123 -
2011-08-06 18:15:44 +00:00
Jonas Maebe
c03ca27e60 * reparsed with latest version of parser
- disabled some headers for 64 bit platforms that are not available there
  * updated cocoa patch to adjust missed unions by the parser
  -> when compiled with current compiler, all field offsets
     and instance sizes should now match gcc's exactly

git-svn-id: trunk@18122 -
2011-08-06 18:12:40 +00:00
sergei
fec5dde5b6 * Fix handling of Windows WideString typed constants, resolves #15842 and completes the related #14308:
* Do not initialize unused symbols, because finalization code is not generated for them either.
  * Always initialize/finalize such constants, even if they are declared in {$J-} state and cannot be modified by user code.

git-svn-id: trunk@18121 -
2011-08-06 18:11:39 +00:00
Jonas Maebe
138a5cd0bd + enabled/tested objcrtl package also for 64 bit Darwin targets
git-svn-id: trunk@18120 -
2011-08-06 18:04:56 +00:00
Jonas Maebe
0398ff6bf5 * also save/restore the size of the padding of record/objectsymtables
* when creating a child class, ignore the padding added to the parent
    in case of objcclasses (gcc/clang also do that; maybe the same
    has to be done for cppclass as well)
  -> objcclass layouts seem to finally completely match the gcc ones

git-svn-id: trunk@18119 -
2011-08-06 18:01:39 +00:00
Jonas Maebe
1c11f6c8b7 + tppufile.putasizeint()
* save/restore tabstractrecordsymtable.datasize as asizeint instead of
    aint (not ppu version change because they are the same on all
    production targets)
  * add shortint() typecasts when reading/writing fieldalignment/
    recordalignment fields

git-svn-id: trunk@18118 -
2011-08-06 17:18:21 +00:00
Jonas Maebe
13598f1b5f * update of ppudump for r18114
git-svn-id: trunk@18117 -
2011-08-06 17:14:22 +00:00
joost
28446a9682 * Pass -ie to fpmake on distinstall, so that the example-sources are installed
git-svn-id: trunk@18116 -
2011-08-06 15:04:30 +00:00
Jonas Maebe
e0e326be8e + add {$packrecords c} to all units importing Objective-C records since
that's the alignment used by the system headers

git-svn-id: trunk@18115 -
2011-08-06 13:16:03 +00:00
Jonas Maebe
86b088f398 * store the current field alignment of tobjectdefs that use C_alignment,
because it influences the offset at which the next field in child classes
    should be placed in case it also uses C_alignment
  * also pad objectdefs based on the packrecords setting (Delphi-compatible)
  -> field offset calculation in objcclasses is now correct if they are
     compiled with {$packrecords c}

git-svn-id: trunk@18114 -
2011-08-06 13:11:23 +00:00
Jonas Maebe
5ed31d4345 * mark records containing at least one bitpacked field as "bitpacked" rather
than only record containing nothing but bitpacked fields (although in
    theory this can also cause errors, it results in correct data layouts
    for all Cocoa structs while the previous code didn't)
  * changed the translation of bitpacked structs so that the compiler will
    properly align them. This requires that all bitpacked fields are
    wrapped into a separate record though, so all fields are now accessible
    via recname.data.field instead of via recname.field. Since all fields
    in the Cocoa classes are private, this should not cause problems
    (except if exported record types are also used elsewhere)

git-svn-id: trunk@18113 -
2011-08-06 12:38:31 +00:00
Jonas Maebe
8af064cf00 * replaced a few eregi's with the faster preg_match()
git-svn-id: trunk@18112 -
2011-08-06 12:32:07 +00:00
Jonas Maebe
9de57f1bd8 * do not calculate array bounds in php, since they may be expressed via
symbolic constants rather than numerically
  * replace an empty C array (such as int[0]) with an empty record declaration
    rather than with an array of one element, since it doesn't take up any
    space in C either

git-svn-id: trunk@18111 -
2011-08-06 12:21:40 +00:00
marco
b59c42f2c7 * removed exporting a non standard strtotime, which was a workaround for missing
formatsettings/locale versions. Patch by Lacak2, Mantis #19870 (3rd)

git-svn-id: trunk@18110 -
2011-08-06 12:19:44 +00:00
joost
911a220a13 * Added the option (-ie) to install the example-sources
git-svn-id: trunk@18109 -
2011-08-06 12:17:57 +00:00
marco
a09a7f1b2e * Mantis #19567: PostgreSQL TIME datatype fix by Lacak2. milliseconds and not correcting fttime fields with epoch.
git-svn-id: trunk@18108 -
2011-08-06 11:38:55 +00:00
sergei
0231863fce + Added missing PMULLD instruction, part of Mantis #19910
git-svn-id: trunk@18106 -
2011-08-06 06:59:33 +00:00
marco
83af0c8a1b * TProcess.setparameter assigned a TStrings instead of .assign()ing it.
Patch from Cyrax, Mantis #19906

git-svn-id: trunk@18105 -
2011-08-05 22:17:30 +00:00
sergei
57ba5f956e + After reaching EOF condition, clear FNodeData[0] slot
* For entities in attributes, place entity name to FQName rather than to FValueStr.
* Allow doc to stay unassigned.

git-svn-id: trunk@18104 -
2011-08-05 18:45:16 +00:00
sergei
45771d0a70 * Changed behavior of FNesting to conform closer to semantics of .net XmlReader: increment it after the start tag has been parsed and decrement before processing the end tag, except for the root element (which is placed at index zero).
git-svn-id: trunk@18103 -
2011-08-05 15:34:42 +00:00
sergei
151a8b59fb * Factored ParseIgnoreSection into separate procedure
+ Overloaded THashTable.FindOrAdd(const WideString) for convenience

git-svn-id: trunk@18102 -
2011-08-05 15:06:39 +00:00
marco
431f1992d1 * Fixed filename in readme, patch from Attila Borka, Mantis #19826
git-svn-id: trunk@18101 -
2011-08-05 13:42:49 +00:00
marco
bf65638891 * strtodatetime adapted to new strtotime regime. Take separator from formatsettings.
Second patch fo Mantis #19870

git-svn-id: trunk@18100 -
2011-08-05 13:37:16 +00:00
marco
aeb7dac66e * TDataset.BlockReadSize, patch by Luiz, mantis 19897 (library part. test in that report not included)
git-svn-id: trunk@18099 -
2011-08-05 12:27:42 +00:00
Jonas Maebe
0d4d1a2ac8 * fixed two places where after r1913 valid_for_assign() didn't immediately
exit anymore if an error was detected

git-svn-id: trunk@18098 -
2011-08-04 22:44:00 +00:00