Commit Graph

34801 Commits

Author SHA1 Message Date
marco
bb2e98c4f1 * load listseparator from locale. Patch by Bart B. Mantis 19976
git-svn-id: trunk@18188 -
2011-08-13 09:16:46 +00:00
michael
27acf845d2 * Removed comment about bug ID #19440
git-svn-id: trunk@18187 -
2011-08-13 07:28:29 +00:00
Tomas Hajny
867ad94115 * fix for DirectoryExists - proper handling of root directory
git-svn-id: trunk@18186 -
2011-08-13 00:06:14 +00:00
Tomas Hajny
4230a33272 * MkDir and RmDir usually not allow trailing directory separator (except when running under Win32)
git-svn-id: trunk@18185 -
2011-08-12 23:50:00 +00:00
michael
992d01719a * Exit process when a shutdown event is received from mod_fastcgi
git-svn-id: trunk@18184 -
2011-08-12 21:20:02 +00:00
florian
8b58d69576 * accept undefineddef (generic parameter) as parameter for assigned, resolves #19974
git-svn-id: trunk@18183 -
2011-08-12 20:33:22 +00:00
michael
5d59d00fdc * Some fixes and additional unit from Darius Blaszijk
git-svn-id: trunk@18182 -
2011-08-12 19:26:51 +00:00
michael
7dc58d81d9 * Some fixes and additional unit from Darius Blaszijk
git-svn-id: trunk@18181 -
2011-08-12 19:26:38 +00:00
marco
215852ac85 * QuickEvaluate, an helper procedure to quickly evaluate formulas.
git-svn-id: trunk@18180 -
2011-08-12 18:03:07 +00:00
sergei
bbae63a4f2 * Check that a single interface is only delegated to a single property within a class.
* Disallow simultaneous use of method resolution and delegation for the same interface. An interface with method resolution must be implemented directly. This is Delphi compatible and resolves #18058.

git-svn-id: trunk@18179 -
2011-08-12 14:42:30 +00:00
sergei
b8c6c7c893 * Fixed undefined return value of SysGetData function. Also don't ignore the input BufSize parameter but pass it on to GetValueData. Bug #19962.
git-svn-id: trunk@18178 -
2011-08-12 10:43:12 +00:00
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