Commit Graph

32003 Commits

Author SHA1 Message Date
marco
19a47dbf9d * fixing fpdoc for strict protected/private additions.
git-svn-id: trunk@15181 -
2010-04-26 10:08:02 +00:00
marco
2b3d3f6fa5 * fix for mantis 16347, support for filename in 'xxx' in unit clause
Partial patch by Dmitry Boyarintsev (filename is not stored in parse hierarchy)

git-svn-id: trunk@15180 -
2010-04-26 08:28:38 +00:00
marco
8c20080391 * patch from Dmitry Boyarintsev for Mantis 16346. Strict private/protected support for fcl pascal parser
git-svn-id: trunk@15179 -
2010-04-26 08:25:10 +00:00
marco
c830e76137 * Patch for class abstract and class sealed support by Dimitry Boyarintsev.
Mnatis 16340

git-svn-id: trunk@15178 -
2010-04-26 08:20:16 +00:00
joost
f95c24176a * Set the value of the LocalRepository macro in both compilersettings, after the globalsettings are read
git-svn-id: trunk@15177 -
2010-04-25 19:54:57 +00:00
joost
3c42ad5e5e * TZipper.ZipFiles should zip files, got broken in r13464
git-svn-id: trunk@15176 -
2010-04-25 18:15:09 +00:00
marco
94eae61a31 * fixed escaping of echo line. (mingw). Mantis 16335
git-svn-id: trunk@15170 -
2010-04-25 09:49:26 +00:00
joost
82eb1a1a1c * Do not handle files with the same name as a package as a package-file if the extension is not .zip
git-svn-id: trunk@15169 -
2010-04-24 21:44:28 +00:00
joost
d27093ceba * Evaluate macros when getting LocalUnitDir and GlobalUnitDir
git-svn-id: trunk@15168 -
2010-04-24 21:38:07 +00:00
ivost
980c353421 * added function IncludeLeadingPathDelimiter: it adds a path delimiter in front of a path
* added function ExcludeLeadingPathDelimiter: it removes a path delimiter in front of a path
* added function ConcatPaths: it concats multiple path fragments, path delimiters are added if necessary

git-svn-id: trunk@15167 -
2010-04-24 21:05:05 +00:00
florian
fecd661bcb * fixed COPYDATASTRUCT as suggested by Dmitry Boyarintsev, resolves #16321
git-svn-id: trunk@15166 -
2010-04-24 17:21:55 +00:00
Jonas Maebe
c67712f81f + tthread.start method, simply calls tthread.resume for now (mantis #16326)
git-svn-id: trunk@15165 -
2010-04-24 14:52:08 +00:00
Jonas Maebe
34487fa455 * part of r15163, forgot to commit
git-svn-id: trunk@15164 -
2010-04-24 12:49:53 +00:00
Jonas Maebe
0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code
without {$modeswitch objectivec1}

git-svn-id: trunk@15163 -
2010-04-24 12:49:16 +00:00
Jonas Maebe
2eddd5e704 * don't try to bitpack types > 32 bit on 32 bit cpus (mantis #16328)
git-svn-id: trunk@15162 -
2010-04-24 12:46:02 +00:00
joost
3295cd8370 * First search for a user-specific configuration file, if that does not exist,
search for a system-wide configuration file. If this one also does not exist,
   create a system-wide configuration if the user is a super-user. Else create
   a user-specific configuration file

git-svn-id: trunk@15161 -
2010-04-23 12:57:55 +00:00
florian
e235d71cb7 * update of Portuguese message files by Marcelo B Paula, resolves #16314
git-svn-id: trunk@15160 -
2010-04-22 09:25:49 +00:00
joost
2ca892c361 * Added ability to use macros ({AppConfigDir}, {UserDir} and {LocalRepository}) in path settings
git-svn-id: trunk@15159 -
2010-04-22 09:17:45 +00:00
joost
28395de42e * Moved fptemplate from fcl-web to fcl-base
git-svn-id: trunk@15158 -
2010-04-22 08:54:00 +00:00
florian
62c630abce * handle usage of generics type as class type correctly, resolves #16065
git-svn-id: trunk@15157 -
2010-04-21 20:19:18 +00:00
Jonas Maebe
f2e1819bae * put the call to afterconstructor inside the implicit try/catch block
block of the constructor, so that exceptions thrown there also
    properly abort construction (mantis #16311)

git-svn-id: trunk@15156 -
2010-04-21 20:06:54 +00:00
Jonas Maebe
4a934bdb33 * fixed small Darwin-specific dependency error (fcl-extra_smart has to
depend on fcl-base_smart, not on fcl-base_release)

git-svn-id: trunk@15155 -
2010-04-21 19:42:06 +00:00
florian
3aa1315c06 * thumb2 opcode fixes by Jeppe Johansen, resolves #16306
git-svn-id: trunk@15154 -
2010-04-21 17:40:35 +00:00
ivost
c9e3480f44 * implemented uuid_create_sha1_from_name
* changed some var to out parameters (so that there's no not initialized warning)

git-svn-id: trunk@15153 -
2010-04-19 12:18:18 +00:00
ivost
c3c1cfbb9f * added crc128 support
* fixed crc example

git-svn-id: trunk@15152 -
2010-04-19 11:28:26 +00:00
paul
f982d041e5 tests: fix test for powerpc
git-svn-id: trunk@15151 -
2010-04-18 09:50:32 +00:00
Jonas Maebe
72758864e4 * only allow field names in record/object typed constant declarations (mantis #16234)
* improved error recovery after encountering invalid field name in record/object typed constant
    declaration

git-svn-id: trunk@15150 -
2010-04-18 07:55:42 +00:00
joost
1c2e134a5b * Use the gtk2 build-unit
git-svn-id: trunk@15149 -
2010-04-16 10:33:50 +00:00
joost
855cbebf19 Fixed fpmake.pp files:
* ExternalURL does not exist anymore
 * Do not add dependencies on files in other packages, add a package dependency
   on the package where the files are in instead
 * Replaced the copy of fcl-base's fpmake.pp in fcl-extra with a real one
 * Fixed some dependencies and file-names

git-svn-id: trunk@15148 -
2010-04-15 20:26:03 +00:00
joost
fe85ed0345 * Write 'Done' when compiling succeeded
* Add the package-path of a dependency to the command line also when it was
   not necessary to compile the dependency
 * Show a warning when a dependency on a package is added to a target, because
   such dependencies are ignored
 * When a package is not available for a platform, but nevertheless a
   dependency on it is added, give a warning and ignore the package
 * When a package is already processed for an earlier dependency, do not fail
   but give a notice

git-svn-id: trunk@15147 -
2010-04-15 20:00:18 +00:00
paul
d6c514b6db compiler: apply patch of Sven Barth to add nativent-i386 and linux-mips to the ppudump (issue #0016266)
git-svn-id: trunk@15146 -
2010-04-15 13:06:53 +00:00
joost
70f4c963b0 * Improved error message for unknown targets in dependencies
git-svn-id: trunk@15145 -
2010-04-15 10:37:57 +00:00
joost
df76e4eeb2 * Include package name in warning when file is not found
* Do not try to compile files that do not exist, but raise an error

git-svn-id: trunk@15144 -
2010-04-15 08:30:16 +00:00
paul
ceccce93f5 compiler: add class constructors, class destructors to the initfinal table as regular initialization/finalization sections (class constructors is still not striped away with the class)
git-svn-id: trunk@15143 -
2010-04-15 07:37:41 +00:00
marco
ab551a2662 * patch from Ido Kanner adding BiDi related functions, Mantis 16269
git-svn-id: trunk@15142 -
2010-04-14 11:11:10 +00:00
paul
be1ba05a4c tests: fix compilation for platforms without activeX
git-svn-id: trunk@15141 -
2010-04-12 06:29:01 +00:00
Tomas Hajny
c1c9b97412 + bzip2 unit added
git-svn-id: trunk@15140 -
2010-04-11 16:35:04 +00:00
Tomas Hajny
ef669a31c8 * initialize previously missing fields of threadmanager record
git-svn-id: trunk@15139 -
2010-04-11 15:14:18 +00:00
paul
a1d94c6829 rtl: implement TStreamAdapter.CopyTo, .SetSize, return proper error value for Clone instead of raising exception (#0016161) + test
git-svn-id: trunk@15138 -
2010-04-11 12:52:31 +00:00
Tomas Hajny
f27bb1efd3 * (again :-( ) make cdecl the default calling convention for everything except Windows and fix compilation under OS/2
git-svn-id: trunk@15137 -
2010-04-11 11:57:46 +00:00
marco
cbf7b49dd1 * removed packed from statstg, which causes trouble in win64, and is probably wrong. Mantis 16159
git-svn-id: trunk@15136 -
2010-04-11 11:21:39 +00:00
blikblum
2ded0b93df sqliteds: * Use Value instead of AsString in SetMasterIndexValue
git-svn-id: trunk@15135 -
2010-04-11 01:18:04 +00:00
blikblum
7bad77aff8 sqliteds: * Create SQLList on demand
git-svn-id: trunk@15134 -
2010-04-11 01:09:09 +00:00
blikblum
4842a5fd1c sqliteds: + Add ExecSQL overload that takes as parameter a TStrings
git-svn-id: trunk@15133 -
2010-04-11 01:06:15 +00:00
blikblum
b1ddd060ff sqliteds: + Add property to control if fielddefs will be stored. Default to False
git-svn-id: trunk@15132 -
2010-04-11 01:02:22 +00:00
Tomas Hajny
a87a867271 * fix for exception handling - avoid endless loop in case of fatal exceptions, safer checking for prefetch bug
git-svn-id: trunk@15131 -
2010-04-11 00:37:01 +00:00
Tomas Hajny
393db3d359 * fix previously broken TProgram based FV programs (assuming that unit Video initializes screen parameters at startup)
git-svn-id: trunk@15130 -
2010-04-11 00:29:09 +00:00
Tomas Hajny
e0c8c39d74 * safer handling of video buffer changes, free original screen buffer at termination and initialized screen parameters at start to allow proper working of TProgram based FV programs
git-svn-id: trunk@15129 -
2010-04-11 00:26:03 +00:00
Tomas Hajny
d05b8dbbda * fix long term problem resulting in crashes of FV apps under OS/2
git-svn-id: trunk@15128 -
2010-04-11 00:18:24 +00:00
paul
17687d90ce rtl: minor changes for TStreamAdapter:
- return STG_E_INVALIDPOINTER instead of E_INVLIDARG for Read,Write as msdn requires
  - return STG_E_INVALIDFUNCTION instead of E_INVLIDARG for Seek as msdn requires

git-svn-id: trunk@15127 -
2010-04-10 17:50:29 +00:00