Commit Graph

35880 Commits

Author SHA1 Message Date
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
pierre
12f3e8fbc3 + Add some missing constants
git-svn-id: trunk@20291 -
2012-02-09 17:34:22 +00:00
pierre
562a60e36a Add some missing units
git-svn-id: trunk@20290 -
2012-02-09 17:33:55 +00:00
pierre
af22d79a31 Add some missing units
git-svn-id: trunk@20289 -
2012-02-09 17:33:35 +00:00
pierre
d9249ab44d Correct passing envp to main
git-svn-id: trunk@20288 -
2012-02-09 17:32:41 +00:00
pierre
6cd1c2a60c + Add CPREFIX macro to allow transition from '_' prefix to ''
git-svn-id: trunk@20287 -
2012-02-09 17:31:43 +00:00
joost
5f1409253a * Changed gdbver-binary output path to make it work with both packages/fpmake
and gdbint/fpmake

git-svn-id: trunk@20286 -
2012-02-09 15:08:00 +00:00
paul
3b153c223a compiler:
- treat the defs equal when convert from rawbytstring to any ansistring type (delphi compatible)
  - set result of ansistring copy() function to the type of first argument for ansistring arguments and to ansistring for pchar and char array arguments (delphi compatible)
  + test

git-svn-id: trunk@20285 -
2012-02-09 08:22:38 +00:00
paul
79b725990c rtl: remove spaces
git-svn-id: trunk@20284 -
2012-02-09 08:13:05 +00:00
florian
e79f3a6930 * range check error fixed
git-svn-id: trunk@20283 -
2012-02-08 21:30:31 +00:00
florian
c19b0ac189 * Fppwrite fixed after yesterday's mess
git-svn-id: trunk@20282 -
2012-02-08 21:29:54 +00:00
florian
d8c377bfed * completed termios constants for mips, some need to be checked on a real mips-linux system, see custom warning
git-svn-id: trunk@20281 -
2012-02-08 21:29:10 +00:00
florian
f927198c2a + gas for mips is by default little endian, so pass the endianess
git-svn-id: trunk@20280 -
2012-02-08 21:28:22 +00:00
pierre
f3b921d281 Fix missing close brace introduced in commit 20277
git-svn-id: trunk@20278 -
2012-02-08 08:28:27 +00:00
florian
806ae36100 * some mips rtl compilation issues fixed
git-svn-id: trunk@20277 -
2012-02-07 22:07:13 +00:00
florian
58fbd386a3 * mips system unit compiles
git-svn-id: trunk@20276 -
2012-02-07 19:39:08 +00:00
sergei
180686e429 * Removed 'first' field and 'packed' attribute from TAnsiRec and TUnicodeRec. Removing 'packed' should yield more efficient code on alignment-sensitive targets, while removing 'first' effectively makes two records identical to each other. Further cleanup is possible, but let's see the test suite results before proceeding.
git-svn-id: trunk@20275 -
2012-02-07 16:23:50 +00:00
marco
c44ce80585 * harmless deprecated warning, just in case.
I get warnings while compiling. Is oldfpccall still live?

git-svn-id: trunk@20274 -
2012-02-07 10:55:11 +00:00
marco
8a2a788bd9 * fix for #21229, use sysutils format for error msgs, as suggested.
git-svn-id: trunk@20273 -
2012-02-06 22:00:18 +00:00
florian
6be7b08b8e * gas reader fixed
git-svn-id: trunk@20272 -
2012-02-06 21:50:05 +00:00
florian
ae37b9f5b9 * fix floating point registers gas name
git-svn-id: trunk@20271 -
2012-02-06 20:33:12 +00:00
sergei
a1cb87bcf8 * Improved ucs4 to utf16 conversions: removed function call on every character and multiple memory allocations, made as much code as possible shared between WideString and UnicodeString versions.
git-svn-id: trunk@20270 -
2012-02-06 19:55:56 +00:00
sergei
e94508d5eb * Improved utf16 to ucs4 conversion routines: removed function call on every character, allocate memory once and made as much as possible code shared between WideString and UnicodeString versions.
git-svn-id: trunk@20269 -
2012-02-06 17:55:06 +00:00
sergei
8dab34b31a * fpc_char_to_unicodestr: call widestringmanager directly instead of nested char_to_uchar conversion.
* UnicodeToUtf8: calculate UCS4 value without three (!) temp string variables. Also removed separate word-sized variable and unsigned subtractions.

git-svn-id: trunk@20268 -
2012-02-06 10:22:17 +00:00
sekelsenmat
c72a639e7b Fixes stack check crash in fmtbcd.pp see bug #21208
git-svn-id: trunk@20267 -
2012-02-06 09:07:35 +00:00
florian
de4a96f96d * fixes several register allocation related mips issues
* fixes range check error in mips code

git-svn-id: trunk@20266 -
2012-02-05 21:58:45 +00:00
michael
723482c814 * Correctly free objects when destroying stringlist instance
git-svn-id: trunk@20265 -
2012-02-05 19:55:21 +00:00
pierre
b058593b53 * Fix compilation for cpu i386
git-svn-id: trunk@20264 -
2012-02-05 18:51:23 +00:00
sergei
c3b106fde3 * StringToOleStr(UnicodeString), reduced to single SetString call, this way it does not depend on private functions and does not require $ifdef's.
git-svn-id: trunk@20263 -
2012-02-05 18:43:20 +00:00
sergei
f07d02b427 - Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff).
- Removed one copy of duplicated utf8 encode/decode procedures.

git-svn-id: trunk@20262 -
2012-02-05 18:01:04 +00:00
florian
3d2a27c66c * fix fpu register type
git-svn-id: trunk@20261 -
2012-02-05 09:14:55 +00:00
florian
f2ee5da112 * fix gas mips integer register naming
git-svn-id: trunk@20260 -
2012-02-05 08:24:51 +00:00
florian
a2009af76e * updated MIPS code so the compiler gets through the system unit
git-svn-id: trunk@20259 -
2012-02-05 08:14:46 +00:00