Commit Graph

35912 Commits

Author SHA1 Message Date
florian
b19b8badf9 * fix volatible integer register set on mips
* fix available registers on mips

git-svn-id: trunk@20346 -
2012-02-13 21:37:22 +00:00
svenbarth
2a872978dc Fix Mantis #21179
* defcmp.pas:
        + Extend compare_def_ext by the possiblity to specify whether strict or
          loose comparison of undefined defs should be applied.
          * in strict mode undefined defs are incompatible to all other defs
            except other undefined defs
          * in loose mode undefined defs are equal to anything (this is how
            FPC behaved up to now)
        + Enable the strict mode in compare_paras so that overloads with
          generic type parameters are possible
* ptype.pas, single_type:
        If the generic dummy of the currently parsed generic is encountered in
        non-Delphi modes then we need to return the current genericdef. This
        condition needs to be checked using the ObjName of the def, because
        the link from the type symbol to the current def is not yet 
        established 
+ added test for bug report

git-svn-id: trunk@20345 -
2012-02-13 21:17:54 +00:00
sergei
429af6f40b * nobj.pas, finished refactoring VMT generation code, now all child structures except RTTI are written to same data section with VMT itself and their labels are local (since child structures are accessible only through VMT, smartlinking them into different sections is useless).
* Reference GUID/string labels of implemented interfaces instead of duplicating them on every occurrence.

git-svn-id: trunk@20344 -
2012-02-13 18:49:48 +00:00
pierre
8fc1fb5e15 Regenerate Makefile
git-svn-id: trunk@20343 -
2012-02-13 16:57:03 +00:00
pierre
e4acc1d474 Add explicit rule for variants unit compilation for correct dependencies
git-svn-id: trunk@20342 -
2012-02-13 16:56:30 +00:00
pierre
a874ee7f19 Regenerate Makefile
git-svn-id: trunk@20341 -
2012-02-13 16:46:20 +00:00
pierre
c9c61ef559 Add more missing units to NetBSD
git-svn-id: trunk@20340 -
2012-02-13 16:45:47 +00:00
pierre
30bd2229b2 Wide char and mbstate_t types added
git-svn-id: trunk@20339 -
2012-02-13 16:45:15 +00:00
pierre
981ec54226 NetBSD code added
git-svn-id: trunk@20338 -
2012-02-13 16:44:23 +00:00
pierre
24d100d164 NetBSD CODESET and LC_ALL added
git-svn-id: trunk@20337 -
2012-02-13 16:43:45 +00:00
pierre
b4f024362b NetBSD code added
git-svn-id: trunk@20336 -
2012-02-13 16:43:16 +00:00
michael
93d173e38e * Added support for conditional notes
git-svn-id: trunk@20335 -
2012-02-13 13:45:37 +00:00
pierre
34f0538248 Update to add mips-linux support
git-svn-id: trunk@20334 -
2012-02-13 00:13:13 +00:00
pierre
38ecd5371f Add mips and mipsel source_cpu_string
git-svn-id: trunk@20333 -
2012-02-13 00:12:15 +00:00
pierre
2d6ca8a363 * Fix code for SIGFPE and adapt to SignalHandler procedure type change
git-svn-id: trunk@20332 -
2012-02-12 22:55:23 +00:00
Jonas Maebe
974e66abce r336 | jonas | 2012-02-12 22:09:38 +0100 (Sun, 12 Feb 2012) | 2 lines
* fixed several types for 64 bit platforms (32 bit -> C long)

git-svn-id: trunk@20331 -
2012-02-12 21:11:04 +00:00
pierre
0abcb738e5 * Fix SigActionHandler for fcl-extra
git-svn-id: trunk@20330 -
2012-02-12 19:53:27 +00:00
pierre
464c3bff67 + Add missing PSigContext type
git-svn-id: trunk@20329 -
2012-02-12 19:21:00 +00:00
pierre
22b5df0121 * i386 NetBSD uses no C underscore prefix
git-svn-id: trunk@20328 -
2012-02-12 19:14:33 +00:00
pierre
f7d48d6a04 * i386 NetBSD compiled objects added using GCC 4.1.3
git-svn-id: trunk@20327 -
2012-02-12 19:06:01 +00:00
florian
16e79969aa * started to fix simple mips syscalls
* corrected SA_* values

git-svn-id: trunk@20326 -
2012-02-12 18:20:43 +00:00
pierre
2959d6064f add missing package dependencies
git-svn-id: trunk@20325 -
2012-02-12 10:48:35 +00:00
pierre
c0db4f0a1e add missing fcl-base package
git-svn-id: trunk@20324 -
2012-02-12 10:47:25 +00:00
pierre
8e0bb8298a + Add missing netbsd unit dependencies
git-svn-id: trunk@20323 -
2012-02-12 10:46:45 +00:00
pierre
44151a4db0 + Add missing fcl-base package
git-svn-id: trunk@20322 -
2012-02-12 10:45:41 +00:00
pierre
7314c1e76d add missing hash package
git-svn-id: trunk@20321 -
2012-02-12 10:44:25 +00:00
pierre
de7d4e094d Disable Threads for netbsd
git-svn-id: trunk@20320 -
2012-02-12 10:43:21 +00:00
pierre
2ed3f184dc + Add freetype and ftfont for netbsd
git-svn-id: trunk@20319 -
2012-02-12 10:40:09 +00:00
Tomas Hajny
cba68ee384 * prepare support of opengl for OS/2 (not finished yet)
git-svn-id: trunk@20318 -
2012-02-12 01:42:26 +00:00
Tomas Hajny
0d84668cc1 * don't try to compile som and wpstk
git-svn-id: trunk@20317 -
2012-02-12 01:38:57 +00:00
joost
668dbde745 * Set exitcode=1 when a package failed to compile and threads are used
* Show the error-message as last message when threads are used

git-svn-id: trunk@20316 -
2012-02-11 21:50:49 +00:00
joost
2735e656b0 * Switched packages building from make/fpmake hybrid to fpmake building.
git-svn-id: trunk@20315 -
2012-02-11 17:55:26 +00:00
Jonas Maebe
b5b193ead2 * fixed fpmake files for darwin/arm and iphonesim
git-svn-id: trunk@20313 -
2012-02-11 16:23:43 +00:00
Jonas Maebe
55d40b4db6 r335 | jonas | 2012-02-11 17:22:41 +0100 (Sat, 11 Feb 2012) | 3 lines
Changed paths:
   M /trunk/MPPInterfaces/Files.pas

  * fixed DirIDType declaration (unsigned -> signed)
  * fixed last parameter of FSOpenFork() (SInt16 -> FSIORefNum)

git-svn-id: trunk@20312 -
2012-02-11 16:23:27 +00:00
Jonas Maebe
38d5945f12 * avoid missing autoreleasepool warnings
git-svn-id: trunk@20311 -
2012-02-11 16:18:54 +00:00
sergei
3eeca2b172 * Emit published method table into single object section (previously every method name was written into a section of its own), labels for method names no longer have to be global.
* Pass target asmlist as parameter to genpublishedmethodstable and generate_field_table.
* Omit field table if there are no published fields (Delphi compatible).

git-svn-id: trunk@20310 -
2012-02-11 13:51:29 +00:00
sergei
4b5c8bcac2 * Access VMT members using TVmt record instead of pointer manipulations.
* Check FieldTable<>nil before dereferencing. It should be nil if class doesn't have published fields, but currently compiler always generates field table. This produces redundant data and isn't Delphi compatible, therefore it's subject to fix.
* Use ClassNameIs to check the class name instead of doing case-insensitive comparing manually.

git-svn-id: trunk@20305 -
2012-02-11 10:16:50 +00:00
michael
57647f4521 * Added functionality to add (and show) notes
git-svn-id: trunk@20304 -
2012-02-11 09:58:13 +00:00
sergei
3b006c4a9c nobj.pas, cleanup/refactoring:
- removed empty destructors, overriding destructor without calling inherited is incorrect (although harmless here).
* pass target asmlist as parameter to message table generation procedures, instead of using global variables.

git-svn-id: trunk@20303 -
2012-02-11 09:27:03 +00:00
svenbarth
06aef9350f Add win64 as supported platform so that building using
packages/Makefile.fpc.fpmake works.

git-svn-id: trunk@20302 -
2012-02-10 15:57:39 +00:00
joost
30c1db6446 * Added the ability to pass options to fpmake with the FPMAKEOPT define
git-svn-id: trunk@20301 -
2012-02-10 12:48:04 +00:00
michael
d700e61cf7 * Patch from Mattias Gaertner to handle Chunked transfer encoding
git-svn-id: trunk@20300 -
2012-02-10 08:13:50 +00:00
pierre
beaed6ba70 Regenerate after Makefile.fpc change
git-svn-id: trunk@20299 -
2012-02-10 00:24:57 +00:00
pierre
b7864f2edb Add missing units
git-svn-id: trunk@20298 -
2012-02-10 00:24:27 +00:00
pierre
ed3284546a New file adapted from Darwin
git-svn-id: trunk@20297 -
2012-02-10 00:23:50 +00:00
pierre
ac9f2fc750 Add missing kqueue and kevent syscalls
git-svn-id: trunk@20296 -
2012-02-10 00:21:42 +00:00
pierre
b72b38fdaa * Try to implement real pmutext, not yet working
git-svn-id: trunk@20295 -
2012-02-10 00:20:52 +00:00
michael
f106f0e30c * Clean translation of glu.h
git-svn-id: trunk@20294 -
2012-02-09 22:15:03 +00:00
pierre
8efbcbaabb NetBSD also needs explicit DynamicLinker
git-svn-id: trunk@20293 -
2012-02-09 17:38:10 +00:00
pierre
0f1a4f94af Modern i386 NetBSD has no underscore prefix, but since when?
git-svn-id: trunk@20292 -
2012-02-09 17:37:40 +00:00