Commit Graph

30982 Commits

Author SHA1 Message Date
Tomas Hajny
0179fb503e * Fix by Giulio: Fix compilation of redir.pp for go32v2
git-svn-id: trunk@14026 -
2009-11-03 22:48:45 +00:00
pierre
3a96d163fd + Add mingw unit
git-svn-id: trunk@14025 -
2009-11-03 22:43:08 +00:00
pierre
45b652581a + Add support for gdblib.inc file in libgdb directory
git-svn-id: trunk@14024 -
2009-11-03 22:30:15 +00:00
blikblum
d0783df9f8 * Fix visibility of methods
git-svn-id: trunk@14023 -
2009-11-03 22:20:12 +00:00
marco
e798f1164d * patch (don't call waitprocess if not running) from Mantis 14707
git-svn-id: trunk@14022 -
2009-11-03 22:16:39 +00:00
pierre
1992daedd5 + Add support for GDB 7.0.
git-svn-id: trunk@14021 -
2009-11-03 22:16:29 +00:00
marco
5c8ee686cb * Patch from Mantis 14709
git-svn-id: trunk@14020 -
2009-11-03 22:15:29 +00:00
pierre
de0f1b2866 * Add start_break_number field to TGDBController object
git-svn-id: trunk@14019 -
2009-11-03 22:08:11 +00:00
marco
8bc0583045 * trystrto* variants with formatsettings.
git-svn-id: trunk@14018 -
2009-11-03 21:20:10 +00:00
Jonas Maebe
c49c838270 * fixed 64 bit compilation
git-svn-id: trunk@14017 -
2009-11-03 14:05:02 +00:00
marco
030379bc57 * Minor optimization from mantis 14974
git-svn-id: trunk@14016 -
2009-11-03 12:59:12 +00:00
marco
91a756e51a * slight adjustment. Bug #14420 fixed.
git-svn-id: trunk@14015 -
2009-11-03 11:18:27 +00:00
marco
ce87b907ee * fix for windows compilation after last chances (mantis 14980)
git-svn-id: trunk@14014 -
2009-11-03 09:21:58 +00:00
paul
8292fcc49e rtl: override TObject.Equals for TBits and TStrings classes
git-svn-id: trunk@14013 -
2009-11-03 02:01:06 +00:00
marco
2c906dd4a1 * rearranged the append/rewrite slightly
git-svn-id: trunk@14012 -
2009-11-02 21:58:37 +00:00
marco
4b498be828 * add "append" mode, fixes 14420
git-svn-id: trunk@14011 -
2009-11-02 21:53:07 +00:00
Tomas Hajny
597285117c * added support for installation of IDE sources
git-svn-id: trunk@14010 -
2009-11-02 21:10:13 +00:00
marco
ac5552cec0 * German msg files from KMS, mantis 14966
git-svn-id: trunk@14009 -
2009-11-02 20:15:14 +00:00
paul
aa5a5e79ce merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994:
rtl: add enumerators to the basic classes
tests: add enumerators test which compiles and work both by fpc and dcc
compiler: 
  + start for-in loop implementation: implement for-in loop for types (enumerations and ranges), strings, arrays and sets. todo: perform type checking, optimize array and string loops - use temp for expression, implement for-in loop for classes
test:
  + add a simple test for the 'for-in' loop
compiler: fix string for-in loop. now it uses a temp variable to store string expression result
complier: fix for-in array loop. use a temp variable for the loop expression only if loop is not an open array loop
complier: continue enumerator implementation:
  + add operator enumerator which give an ability to add enumerator for an existent type (for example to override builtin string enumerator)
  + add class enumerator support via delphi compatible GetEnumerator method + enumerator class/object template (function MoveNext: Boolean; property Current)
  + tests
compiler: fix for-in loop for arrays. delphi does not copy arrays to a temp variable and it is possible to change array during loop. + test
compiler: add reference for the enumerator operator when it is used + another test for operator enumerator for a class
compiler: add reference for the enumerator operator when it is used + another test for operator enumerator for a class
compiler: enumerator directive support:
  + allow to mark methods and properties by 'enumerator MoveNext' and 'enumerator Current' modifiers. Parser checks return types and duplicates.
  + prefer *marked* by enumerator directive methods and properties than GetEnumerator and Current builtin symbols
  + increase ppu version
  + test
rtl: add IEnumerator and IEnumerable interfaces declarations
tests: for-in loop tests:
  + add small comment at the top of test program
compiler: allow 'enumerator MoveNext' for the interface function declaration + test
compiler: move all for-in loop helpers to the nflw unit
compiler: don't allow the compiler to choose the non-valid enumerator operator for the for-in loop

git-svn-id: trunk@14008 -
2009-11-02 03:24:48 +00:00
Tomas Hajny
0a6888dbcb + enhanced clone of GNU rm, helper for building GO32v2 releases under WinXP, but possibly useful in some other cases too
git-svn-id: trunk@14007 -
2009-11-01 21:33:07 +00:00
Jonas Maebe
8d65471fe2 * give a proper error when trying to use val() on a boolean (mantis #14777)
* don't allow a boolean or (wide)char to be used as the "error" parameter
    for val()

git-svn-id: trunk@14006 -
2009-11-01 17:18:40 +00:00
paul
dfef902c53 rtl: introduce new TObject methods: UnitName, GetHashCode, Equals, ToString added for compatibility with delphi 2009.
+ changes in compiler, utils, packages to resolve identifier conflicts with the new TObject methods (like changing of UnitName arguments to AUnitName, adding Classes. before the toString, etc). (issue #0014931)

git-svn-id: trunk@14005 -
2009-11-01 16:22:47 +00:00
paul
dfdfec0201 compiler: don't write zero ClassInfo pointer even if class does not have published methods rtti (issue #14930)
git-svn-id: trunk@14004 -
2009-11-01 16:01:23 +00:00
paul
a13c657e69 fix test (should fail)
git-svn-id: trunk@14003 -
2009-11-01 15:59:22 +00:00
Jonas Maebe
c2190ebd30 * return errors from unimplemented functions instead of random values
git-svn-id: trunk@14002 -
2009-11-01 15:41:29 +00:00
Jonas Maebe
3e624d990d * only allow one "message" modifier per method declaration (mantis #14946)
git-svn-id: trunk@14001 -
2009-11-01 15:23:57 +00:00
Jonas Maebe
ab9980967f * use "open" rather than xterm for poNewConsole on Darwin (patch by
Dmitry Boyarintsev, fixes mantis #14957)

git-svn-id: trunk@14000 -
2009-11-01 14:53:45 +00:00
paul
c2e749797b + test
git-svn-id: trunk@13999 -
2009-11-01 14:42:52 +00:00
paul
a901cd3e91 compiler: don't select non-valid assignment operator (have more than 1 argument) since this cause an internal error (bug #0014962)
git-svn-id: trunk@13998 -
2009-11-01 14:41:33 +00:00
paul
e784ec1079 merge revisions 13898-13899:
- compiler: allow message after the *deprecated* keyword
 - compiler: raise an internal error if deprecated message is trying to set to a non clear string pointer

git-svn-id: trunk@13997 -
2009-11-01 14:06:30 +00:00
ivost
e5ef111466 * updated testpackages to use newest version of libhandler
git-svn-id: trunk@13996 -
2009-11-01 11:31:37 +00:00
ivost
a9150ebb8a * lib handler: default libraries can be changed now
git-svn-id: trunk@13995 -
2009-11-01 11:28:17 +00:00
ivost
4e35433504 * added some new functions to zorba headers
* added an example

git-svn-id: trunk@13993 -
2009-11-01 01:26:13 +00:00
ivost
095e2f2263 * added zorba header files (www.zorba-xquery.com)
git-svn-id: trunk@13992 -
2009-11-01 00:48:11 +00:00
marco
de350d5c26 * fixed compilation win32/win64 after (my) last commit.
due to wince <-> win32/win64 headerwise. wince has some identifiers in Windows that win32/win64 has in activex
 * patches for comobj/comserv from 0014822 and 0014939	as well as one minor fix to activex.

git-svn-id: trunk@13991 -
2009-10-31 22:31:26 +00:00
ivost
4d0272fd5c * resourcestring SCannotCreateDir: translated from german to english
git-svn-id: trunk@13990 -
2009-10-31 22:08:22 +00:00
Tomas Hajny
05346b4ee3 * fixed compilation broken by rename of unit unzip to unzip51g
git-svn-id: trunk@13989 -
2009-10-31 21:27:34 +00:00
marco
09b22de964 * TStreamAdapter + relevant constants. From 10608
git-svn-id: trunk@13988 -
2009-10-31 20:13:41 +00:00
marco
54f0caad4d * enabled bzip2
git-svn-id: trunk@13987 -
2009-10-31 10:32:15 +00:00
Jonas Maebe
e017015c00 * fixed Darwin compilation after r13975 (dynlibs now depends on sysconst,
rtlconsts and sysutils)

git-svn-id: trunk@13986 -
2009-10-31 10:11:00 +00:00
ivost
8c1f97f1ae * simplified mysqlvlib definition
git-svn-id: trunk@13985 -
2009-10-30 22:46:02 +00:00
marco
b5e361a4cb * TOleStream + TProxystream (Mantis 8376)
git-svn-id: trunk@13984 -
2009-10-30 18:27:26 +00:00
ivost
4a7f3de318 * call library handler function directly
git-svn-id: trunk@13982 -
2009-10-30 15:27:11 +00:00
ivost
03b37dde50 * removed unused units
git-svn-id: trunk@13981 -
2009-10-30 14:35:28 +00:00
ivost
f816d1e31a * removed unused units
git-svn-id: trunk@13980 -
2009-10-30 14:35:16 +00:00
ivost
3e16584155 * symbols are cleared now after unloading the library (ClearLibrarySymbols)
git-svn-id: trunk@13979 -
2009-10-30 13:42:49 +00:00
ivost
47debd9850 * changed the order of helper functions (easier to read)
git-svn-id: trunk@13978 -
2009-10-30 13:26:55 +00:00
ivost
68fd458a8d * modified mysql to use library handler functions of dynlibs.pas (no interface changes)
git-svn-id: trunk@13977 -
2009-10-30 13:21:27 +00:00
ivost
60242219ef * modified sqlite3dyn to use library handler of dynlibs.pas (no interface changes)
git-svn-id: trunk@13976 -
2009-10-30 13:18:21 +00:00
ivost
bd25e02096 * added some highlevel helper functions to load/unload dynamic libraries.
* initialize/release calls are refcounted. On loading, requested symbols are checked.

git-svn-id: trunk@13975 -
2009-10-30 13:16:13 +00:00