Commit Graph

46466 Commits

Author SHA1 Message Date
Jonas Maebe
6c9f7b25a9 * updated headers to the OS X 10.9 SDK (includes iOS 7 SDK info)
o translation of SearchKit has been added
   o a new version of the AuthorizationCallbacks record has been introduced.
     Backward compatibility has been ensured by renaming the old
     AuthorizationCallbacks record type to AuthorizationCallbacks0, naming
     the new one AuthorizationCallbacks1 and turning AuthorizationCallbacks
     into a variant record with version0 and version1 fields of those types.
     Similarly, there are now kAuthorizationPluginInterfaceVersion0 and
     kAuthorizationPluginInterfaceVersion1 constants, with
     kAuthorizationPluginInterfaceVersion aliasing
     the new kAuthorizationPluginInterfaceVersion1
   o the CGFunctionCreate and CGFunctionEvaluateCallback signatures have been
     corrected (mantis #28484)

git-svn-id: trunk@31334 -
2015-08-16 17:32:57 +00:00
Jonas Maebe
dc1f5f1a13 * Haiku use UTF-8 from day one, so it make sense to use the corresponding
code page as the default one (patch by Olivier Coursière, mantis #28520)

git-svn-id: trunk@31333 -
2015-08-16 13:22:57 +00:00
Jonas Maebe
750f47d155 * Declare Haiku in CollationOSes to compile units required to pass some
WideString unit tests (like unicodeducet.pas) (patch by Olivier Coursière,
    mantis #28522)

git-svn-id: trunk@31332 -
2015-08-16 13:22:54 +00:00
Jonas Maebe
356703f479 * regenerated after enabling fpwidestring
git-svn-id: trunk@31331 -
2015-08-16 13:22:51 +00:00
Jonas Maebe
f19d978f3d + add support for fpwidestring under Haiku (and a few other units) patch by
Olivier Coursière, mantis #28521)

git-svn-id: trunk@31330 -
2015-08-16 13:22:48 +00:00
Jonas Maebe
7f61cf5519 * Modify CODESET value according to the corresponding declaration in
langinfo.h under Haiku (patch by Olivier Cousière, mantis #28523)

git-svn-id: trunk@31329 -
2015-08-16 13:22:45 +00:00
Jonas Maebe
e06181749c * guarantee the order of parameter pushes again after r31201 on platforms
that don't use a fixed stack (mantis #28454)
   o moved the code to finalise managed out parameters from ncgcal to ncal,
     and add it to the init code of the call node (so it's evaluated before
     any parameters are processed, ensuring that mantis #28390 stays fixed)

git-svn-id: trunk@31328 -
2015-08-16 12:47:09 +00:00
Jonas Maebe
c95a3f2cf7 * firstpass rather than typecheckpass statements added to the call node
init/done block, as these can be added while pass_1 is ongoing

git-svn-id: trunk@31327 -
2015-08-16 12:47:04 +00:00
nickysn
41203a9152 * support far classrefdef targets on i8086 in thlcgcpu.a_loadaddr_ref_reg. This
fixes code generation for loadvmtaddr nodes in i8086 far data memory models
  after r31064.

git-svn-id: trunk@31326 -
2015-08-15 17:24:49 +00:00
Jeppe Johansen
5a302dfabb Fix some addresses that were missing a zero in CortexM7 unit.
Change all .word directives to .long in stm32f7xx headers.

git-svn-id: trunk@31325 -
2015-08-15 12:23:08 +00:00
nickysn
ef207475fd + parse omf modend records and add symbol for module start address
git-svn-id: trunk@31324 -
2015-08-14 15:42:43 +00:00
nickysn
e1298a035c * provide msdos-specific dummy overrides for GetCode/Data/BssSize to avoid crash
when using the (not yet finished) internal linker

git-svn-id: trunk@31323 -
2015-08-14 14:36:18 +00:00
nickysn
d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using
different 'ar' implementations under different platforms
* use the omflib reader instead of the ar reader in the msdos internal linker

git-svn-id: trunk@31322 -
2015-08-14 13:52:45 +00:00
nickysn
8206c6dbd0 * the code for determining the code, data and bss sizes in the internal linker
moved to virtual methods, to allow for platform specific overrides (e.g. for
  supporting section names, other than '.text', '.data' and '.bss', etc.)

git-svn-id: trunk@31321 -
2015-08-13 15:07:24 +00:00
nickysn
e59c164844 + parse FIXUPP records in the omf object reader (although converting them TOmfRelocation is not yet implemented)
git-svn-id: trunk@31320 -
2015-08-13 13:44:46 +00:00
Jeppe Johansen
59f164b948 Changed type of size argument from aint to asizeint. This previously broke things on 8bit targets.
git-svn-id: trunk@31319 -
2015-08-13 01:57:09 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
joost
1f5fab5309 * rstconv.pp depends on fcl-json and uses resourcestrings
git-svn-id: trunk@31316 -
2015-08-12 19:01:50 +00:00
nickysn
c3133c498a + added property tobjectreader.pos, which returns the current position when reading an object file
git-svn-id: trunk@31315 -
2015-08-11 15:46:44 +00:00
nickysn
515d702408 - removed semicolon after 'begin'
git-svn-id: trunk@31314 -
2015-08-11 14:30:32 +00:00
nickysn
0cd1a88588 * fixed memory leak in TOmfObjInput.ReadExtDef
git-svn-id: trunk@31313 -
2015-08-11 13:39:26 +00:00
nickysn
9fc100574c + added property TObjSymbol.group for use with the omf object format
git-svn-id: trunk@31312 -
2015-08-11 13:38:28 +00:00
nickysn
c50991713c + implemented reading of omf public names
git-svn-id: trunk@31311 -
2015-08-11 13:04:22 +00:00
michael
7f1b21e561 * Added example for parameter binding from Laco
git-svn-id: trunk@31310 -
2015-08-11 06:50:18 +00:00
pierre
8847394d02 Accept 3.0.0 as starting compiler
git-svn-id: trunk@31308 -
2015-08-10 13:18:33 +00:00
marco
8cf0c3bcb6 * camel case paramcount as per mantis #28503
git-svn-id: trunk@31307 -
2015-08-10 08:17:46 +00:00
lacak
105af639ce fcl-db: mysql: fix reporting of connection errors. Pass allocated connection handle (not Nil) to MySQLError procedure to correctly read error code, error message and sqlstate.
git-svn-id: trunk@31306 -
2015-08-10 07:08:39 +00:00
michael
437aab34de * Fix by Michalis Kamburelis for bug #28496
git-svn-id: trunk@31305 -
2015-08-09 16:04:01 +00:00
Jonas Maebe
0d87df71a9 * default to ARMv7/VFPv3 for Darwin/ARM (since that's what most iOS devices
use nowadays)

git-svn-id: trunk@31302 -
2015-08-09 09:08:26 +00:00
svenbarth
39016c032e Fix for Mantis #28442. Do not generate the VMT record definition for generic classes. It isn't used anyway.
nobj.pas, TVMTBuilder:
  * generate_vmt_def: check for df_generic (not is_generic!) and abort if set

+ added test

git-svn-id: trunk@31301 -
2015-08-07 15:02:55 +00:00
michael
e5fba07668 * Fix bug #0028486
git-svn-id: trunk@31299 -
2015-08-07 12:00:40 +00:00
Jonas Maebe
4c0807c596 * simplified enum lookup table management by using tfplist instead of
an ad hoc dynamic array implementation

git-svn-id: trunk@31295 -
2015-08-06 18:34:31 +00:00
pierre
d9359ea4af revision.inc update after commit 31240
git-svn-id: trunk@31294 -
2015-08-06 14:27:35 +00:00
michael
3acf0285aa * Allow comments in JSON config file
git-svn-id: trunk@31293 -
2015-08-06 13:09:40 +00:00
michael
97bc0a4bff * Add support for parsing comments
git-svn-id: trunk@31292 -
2015-08-06 12:37:17 +00:00
michael
7c94f09d34 * Convert to/from UTF8
git-svn-id: trunk@31291 -
2015-08-06 11:27:56 +00:00
Jonas Maebe
a722b5dbc5 * add alignment padding to internally constructed llvm records
git-svn-id: trunk@31290 -
2015-08-05 21:06:09 +00:00
Jonas Maebe
eda52f81cd * fixed the type of the "count" parameter of the int_FinalizeArray() forward
declaration

git-svn-id: trunk@31289 -
2015-08-05 21:06:07 +00:00
Jonas Maebe
b4e61b2469 * enable the llvm code generator for VMT generation
git-svn-id: trunk@31288 -
2015-08-05 21:06:04 +00:00
Jonas Maebe
bfa94ae908 * further (final?) reworking of llvm external symbol handling:
o all external symbol definitions are now inserted in the llvmtype post pass
     based on all declarations and types used in llvm instructions
   o this means we don't have to use the workaround with the Pascal mangled
     names anymore for all external names, as we now insert the external
     references only once we know all type information

git-svn-id: trunk@31287 -
2015-08-05 21:06:01 +00:00
Jonas Maebe
6dcf61f057 * an alias is an explicit definition of a symbol -> override types gleaned
from implicit ones

git-svn-id: trunk@31286 -
2015-08-05 21:05:58 +00:00
Jonas Maebe
a58504990a * fixed llvm handling of routines that are normally declared in the
interface of a unit, or forward declared, and then the implementation turns
    out to be external. We now properly generate a wrapper routine at the
    Pascal level for the original declaration that calls through to the
    external routine

git-svn-id: trunk@31285 -
2015-08-05 21:05:55 +00:00
Jonas Maebe
1cdaf8e332 * don't write external linkage for aliases: llvm 3.6 has a bug that rejects
linkage types for aliases (or its documentation hasn't been updated), and
    external linkage is the default so it doesn't matter for earlier versions

git-svn-id: trunk@31284 -
2015-08-05 21:05:52 +00:00
marco
3c30a9b6d1 * fix mantis #28420, extreme corner case.
git-svn-id: trunk@31283 -
2015-08-05 13:10:49 +00:00
michael
7753417631 * Fix bug ID #28469
git-svn-id: trunk@31277 -
2015-08-04 09:19:22 +00:00
michael
05e0d44697 * Widestring -> Unicodestring, optimize StripSlash
git-svn-id: trunk@31273 -
2015-08-04 09:11:27 +00:00
michael
3b9edc840f * Fix formatted indent size
git-svn-id: trunk@31272 -
2015-08-04 09:09:12 +00:00
florian
a797c2fc46 * calculate middle element P correctly if (L+R>=2^31), resolves #28289
git-svn-id: trunk@31267 -
2015-08-03 20:09:50 +00:00
michael
77b1e16330 * MariaDB version 10.1 is also compatible with 5.6
git-svn-id: trunk@31266 -
2015-08-03 19:21:44 +00:00