Commit Graph

35481 Commits

Author SHA1 Message Date
Jonas Maebe
22dd93858d * don't try to write rtti for fields in Pascal records/classes/objects/...
whose type is an objc type (objcclass, objcprotocol): they only need
    objc-style rtti, which is generated elsewhere (and to prevent bugs
    they give an internal error if we try to generate FPC-style rtti for
    them) (mantis #20876)

git-svn-id: trunk@19861 -
2011-12-17 11:43:13 +00:00
michael
2d2436c256 * Added dependency of fcl-db on fcl-json
git-svn-id: trunk@19860 -
2011-12-17 10:24:53 +00:00
michael
b13b02956d * Removed fpwebdata
git-svn-id: trunk@19858 -
2011-12-16 19:51:22 +00:00
michael
9135ece182 * Example for JSON dataset
git-svn-id: trunk@19857 -
2011-12-16 16:31:13 +00:00
michael
b4cc174cd7 * Added JSON dataset
git-svn-id: trunk@19855 -
2011-12-16 16:23:33 +00:00
michael
d58859af47 * Renamed to fpjsondataset, in line with other FPC units
git-svn-id: trunk@19854 -
2011-12-16 16:21:36 +00:00
michael
23c969a962 * Initial implementation of JSON dataset
git-svn-id: trunk@19853 -
2011-12-16 16:20:13 +00:00
sekelsenmat
3fff7b04fd Virtualizes more TFPCustomCanvas drawing methods so that descendents can properly override them instead of hiding them, thus improving the hability to draw to a generic TFPCustomCanvas and get the same output in a TCanvas
git-svn-id: trunk@19852 -
2011-12-15 09:46:43 +00:00
sergei
724f41a9af - Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day.
git-svn-id: trunk@19851 -
2011-12-14 22:40:08 +00:00
michael
3106e57631 * Corrected program name clause
git-svn-id: trunk@19850 -
2011-12-14 22:34:05 +00:00
sergei
abdbe49861 + SysUtils part of SEH (enabled only for win64)
* EExternal.ExceptionRecord changed from field to property and made available on all Windows, not just win32.
* CatchUnhandledException: removed AnsiString variable, ideally there should be no memory allocations in this code path.

git-svn-id: trunk@19849 -
2011-12-14 10:47:26 +00:00
sergei
b3335abe75 * MOVSXD destination operand cannot be in memory, resolves #20850.
git-svn-id: trunk@19848 -
2011-12-13 22:56:24 +00:00
sergei
5b6b6cdd11 - clean out remaining ver2_0, REGCALL, FPC_HAS_INDIRECT_MAIN_INFORMATION defines.
git-svn-id: trunk@19847 -
2011-12-13 21:40:22 +00:00
sergei
2642403d5b * float_raise: Reduce amount of threadvar accesses, gains a bit more compact code. Functionality is not changed.
git-svn-id: trunk@19846 -
2011-12-13 20:21:22 +00:00
pierre
3fcf1f0050 * Do not use InfoLong as size can be different from InfoPtr used in Message
git-svn-id: trunk@19844 -
2011-12-13 16:36:15 +00:00
pierre
c25a96bd37 Avoid wrong exitcode 512 of Grep for Unix
git-svn-id: trunk@19843 -
2011-12-13 16:33:44 +00:00
pierre
bbc196ac02 Remove junk in test1 source file from alst commit
git-svn-id: trunk@19842 -
2011-12-13 15:09:57 +00:00
pierre
8b86d4ecb3 Fix AsciiTab proble for powerpc64, InfoLong and InfoPtr are not equivalent
git-svn-id: trunk@19841 -
2011-12-13 13:51:23 +00:00
pierre
179ccf2c6b Enable AsciiTable and fix compilation with -dDEBUG
git-svn-id: trunk@19840 -
2011-12-13 13:35:32 +00:00
pierre
243687b6d4 Remove platform.inc
git-svn-id: trunk@19839 -
2011-12-13 13:34:47 +00:00
pierre
09d8a6423c Use platform.inc file from ../src directory
git-svn-id: trunk@19838 -
2011-12-13 13:34:16 +00:00
pierre
5a0486a0cc Use platform.inc file from ../src directory
git-svn-id: trunk@19837 -
2011-12-13 13:33:28 +00:00
sergei
bcbd25568e * Call InitHeap before InitSystemThreads in TLS callback (necessary because InitSystemThreads calls RelocateHeap), and skip both of them in initialization section of system.pp if they have been called from TLS callback. This restores correct initialization sequence which was broken by r19779, resulting in lots of debug messages about corrupted heap when running tests/test/theapthread.pp
git-svn-id: trunk@19836 -
2011-12-13 07:40:02 +00:00
pierre
470adb22e1 + Add overloaded Testne function in test1 unit
git-svn-id: trunk@19834 -
2011-12-12 16:50:29 +00:00
pierre
4e21fc6373 Recent mingw64 does not seem to provide fctMsvcrtLongJmp
git-svn-id: trunk@19833 -
2011-12-12 16:49:49 +00:00
pierre
37a7332b81 Try to improve script
git-svn-id: trunk@19832 -
2011-12-12 16:48:37 +00:00
pierre
6140a41007 * Try to support upcoming GDB 7.4 version
git-svn-id: trunk@19831 -
2011-12-12 16:48:14 +00:00
sergei
4208269221 + Test case for bug #20827. The issue itself was fixed in r19668.
git-svn-id: trunk@19820 -
2011-12-11 17:00:26 +00:00
svenbarth
52a6699d55 Check whether the globalsymtable is not Nil before using it! Otherwise an access violation occurs when compiling a program that contains specializations.
git-svn-id: trunk@19819 -
2011-12-11 16:10:02 +00:00
svenbarth
fca525a85b When checking whether the current specialization was already done before we also need to check the globalsymtable if we're currently in the implementation section. Otherwise the specialization will be generated twice and will result in a "duplicate identifier" error. This fixes mantis #20872 .
git-svn-id: trunk@19818 -
2011-12-11 16:03:55 +00:00
svenbarth
5ffba57b51 Add tests for resolved generic bug reports.
Also adjusted test for report 20836 (removed unneeded units and the {$R ...} directive completely and added a "%NORUN" modifier).

git-svn-id: trunk@19817 -
2011-12-11 15:49:22 +00:00
sergei
54ea6a9be1 - removed 'var' parameter, it isn't necessary and prevents passing TStream descendants (Mantis #20867).
git-svn-id: trunk@19812 -
2011-12-11 04:15:26 +00:00
Tomas Hajny
6b43ce2e13 * boolean must not be used for DosCalls API parameters
git-svn-id: trunk@19811 -
2011-12-11 00:46:55 +00:00
Tomas Hajny
12e216ed4e * boolean must not be used for DosCalls API parameters
git-svn-id: trunk@19810 -
2011-12-11 00:46:16 +00:00
michael
aa625a23e6 * Unit Tests for scanner
git-svn-id: trunk@19798 -
2011-12-10 14:20:55 +00:00
michael
2c43e15a0e * Forgot to commit
git-svn-id: trunk@19797 -
2011-12-10 14:16:54 +00:00
michael
c52a892852 * Speed Improvements and option to use (virtual file) streams.
git-svn-id: trunk@19796 -
2011-12-10 14:03:13 +00:00
michael
3e3852a489 * Fix bug #20791
git-svn-id: trunk@19795 -
2011-12-10 13:32:17 +00:00
sergei
631528a08b * XML writer: reject characters in range #0-#31 (excluding #9,#10,#13) in text node and attribute contents. Resolves #20780.
git-svn-id: trunk@19792 -
2011-12-10 00:43:48 +00:00
florian
41636711e4 * fix to align float64 correctly
git-svn-id: trunk@19791 -
2011-12-09 21:34:09 +00:00
florian
c7f846ebd5 + added missing syscalls so sparc-linux rtl compiles again
git-svn-id: trunk@19790 -
2011-12-09 20:35:11 +00:00
michael
0bdccfa2b0 * Added clock_getres, clock_gettime, clock_settime calls
git-svn-id: trunk@19789 -
2011-12-09 16:30:23 +00:00
michael
2d7dbacee0 * Added inotify calls
git-svn-id: trunk@19788 -
2011-12-09 16:05:35 +00:00
sergei
3b904943e7 * Moved ExceptObjProc from objpas to system, because it is going to be called from system. Also added ExceptClsProc variable.
* Fixed SExceptionErrorMessage, it was missing format placeholder.

git-svn-id: trunk@19787 -
2011-12-09 14:52:26 +00:00
michael
f7da4a210c * Fixed external name case for procedure
git-svn-id: trunk@19786 -
2011-12-09 10:54:07 +00:00
sergei
b223e104ac Refactoring:
- Removed references to global variables current_procinfo and current_structdef from the methods of tcgprocinfo.
* Changed nested procedure do_generate_code into public method of tcgprocinfo.

git-svn-id: trunk@19784 -
2011-12-09 02:07:11 +00:00
Tomas Hajny
f56cd3d6d9 * fix for SysThreadSetPriority
git-svn-id: trunk@19783 -
2011-12-09 00:26:51 +00:00
florian
4a79262728 * make asciinr string long enough for binary char constants as pointed out by Matti Kronman, resolves #20821
git-svn-id: trunk@19782 -
2011-12-08 22:04:32 +00:00
sergei
76b9d7e766 - Removed Win32Wide2AnsiMove() again, it was removed already in r17202 but got restored during subsequent cpstrnew merging.
git-svn-id: trunk@19781 -
2011-12-08 21:28:12 +00:00
marco
28c27c409e * fixed up messages compilation after last commit.
git-svn-id: trunk@19780 -
2011-12-08 20:49:18 +00:00