Commit Graph

34490 Commits

Author SHA1 Message Date
pierre
47b943d236 + Add traling separators tests
git-svn-id: trunk@18177 -
2011-08-12 09:01:29 +00:00
pierre
9d763ec052 * Avoid warnings about pointer to signed integers typecasts
+ Accept on trailing directory seperator for DirectoryExists
    and handle 'X:' directory separately by calling
    GetDir(drive,dir) to find the current directory of the drive
    considered.

git-svn-id: trunk@18176 -
2011-08-12 08:35:55 +00:00
pierre
9fff19cda9 + DirectoryExists tests
git-svn-id: trunk@18175 -
2011-08-12 08:30:46 +00:00
florian
883eab626d * inline Types.Point(...)
git-svn-id: trunk@18174 -
2011-08-11 20:53:59 +00:00
Jonas Maebe
d8a2c47c75 * fixed calling inherited message handlers after r18162
git-svn-id: trunk@18173 -
2011-08-11 20:08:43 +00:00
sergei
392dafd175 * Another attempt to align section raw data size in COFF headers. Without this, image modification WinAPIs like BeginUpdateResource/EndUpdateResource typically corrupt the image. Resolves #16852 (at least partially).
git-svn-id: trunk@18172 -
2011-08-11 16:42:24 +00:00
Jonas Maebe
48695a7705 * when removing unnecessary 64 bit widenings, modify both the resultdef
and the totypedef of typeconvnodes because the totypedef is used for
    equality comparisons in the node cse

git-svn-id: trunk@18171 -
2011-08-11 16:05:11 +00:00
pierre
7fd2f2b3ed * Skip go32v2 target has there is no thread support
git-svn-id: trunk@18170 -
2011-08-11 13:13:35 +00:00
pierre
3d701bc644 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18169 -
2011-08-11 12:30:14 +00:00
pierre
405cf34bd3 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18168 -
2011-08-11 12:27:48 +00:00
pierre
9b79c280be Add stdconvs unit for go32v2 target
git-svn-id: trunk@18167 -
2011-08-11 12:05:16 +00:00
sergei
25bf0012f2 * When the interface method mapping is present, being unable to find the implementing procedure using the mapped name is a error condition. No attempt to find implementing procedure using symbol name should be made in this case. Resolves #19591.
git-svn-id: trunk@18166 -
2011-08-10 21:33:39 +00:00
joost
a88ee0d95d * Compile freetype, freetypeh and ftfont only on those
targets they were compiled for by fpcmake. (Not go32v2)

git-svn-id: trunk@18165 -
2011-08-10 21:32:26 +00:00
joost
e114d05d19 * implemented -e option, to use the environment to pass arguments to the
compiler. Does only work when compiled with fcl-process

git-svn-id: trunk@18164 -
2011-08-10 20:49:41 +00:00
joost
b160aed929 * Do not use the CPU in the unit-output directory on OSes that use 8.3
filenames.
 * Add the search for the unit-output directory to the debug log

git-svn-id: trunk@18163 -
2011-08-10 20:15:13 +00:00
Jonas Maebe
9195506c56 * make sure that anonymous inherited calls only call through to the
overridden method, rather than to any method that can accept similar
    parameters as the current one (Delphi-compatible, and corresponds to
    what is described in our documentation)
  * do not flag "inherited" call nodes that are not "anonymous inherited"
    calls using the cnf_anon_inherited flag

git-svn-id: trunk@18162 -
2011-08-10 17:26:19 +00:00
Jonas Maebe
4de8f53f03 * prevent exception when the compiler is compiled with -CR and we find a
non-procsym during overload resolving

git-svn-id: trunk@18161 -
2011-08-10 15:41:00 +00:00
pierre
59720fa55a * Fix error in last commit for quoted args.
end_of_args needs to be reset for even if
    curent_arg is empty.

git-svn-id: trunk@18160 -
2011-08-10 15:34:08 +00:00
pierre
1dfa5c2e74 + Implement !proxy support for long command line
this allows passing command lines longer than 126 chars to
    Free Pascal or go32v2 programs.

    By default only command lines longer than 126 chars are
    passed using !proxy method,
    it is however possible to disable this conversion completely by
    set Use_go32v2_proxy boolean variable to false (true by fdefault).
    In that case, command lines longer than 126 will be truncated, but
    a warning is echoed to stderr.
    For testing purposes, it is possible to set the boolean variable
    force_go32v2_proxy to true to force systematic use of this
    conversion.

    This is set by default if the RTL is compiled with
    SYSTEM_DEBUG_STARTUP conditional set.

    To allow use by sysutils unit, a new procedure:
    exec_ansistring(path : string;comline : ansistring);

    has been added to the interface, which is now called instead
    of Dos.Exec from Sysutils.ExecuteProcess

git-svn-id: trunk@18159 -
2011-08-10 14:27:24 +00:00
joost
914debabfe * Do not make the logger active in the getter, so that the application is able to change the log-type.
git-svn-id: trunk@18158 -
2011-08-10 12:31:00 +00:00
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