Commit Graph

160 Commits

Author SHA1 Message Date
nickysn
831a8cbcfa * regenerated makefiles in the packages directory
git-svn-id: branches/z80@44821 -
2020-04-19 04:05:59 +00:00
Jonas Maebe
4b59bcb0ca * regenerated makefiles
git-svn-id: trunk@44793 -
2020-04-18 16:08:25 +00:00
florian
5bab6201d5 * rebuild Makefiles
git-svn-id: trunk@44679 -
2020-04-10 19:42:14 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
Jonas Maebe
dce9a62eb4 * fixed ifdef after upgrade to 10.10 headers (patch by Hans Luijten,
mantis #36420)

git-svn-id: trunk@44231 -
2020-02-22 16:22:13 +00:00
pierre
a09e40945c Regenerate all Makefile's after commit #43472
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
pierre
41216b04ea Set explicitly packages ShortName's according to renametoshort rule in Makefile.fpc
git-svn-id: trunk@42842 -
2019-08-26 21:34:07 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
Jonas Maebe
911a59a721 * cocoaint: fixed signature of IOBluetoothGetObjectIDFromArguments()
git-svn-id: trunk@42515 -
2019-07-28 12:21:44 +00:00
Jonas Maebe
277db0d62e * fixed NSApplicationMain() signature
git-svn-id: trunk@42514 -
2019-07-28 12:03:50 +00:00
Jonas Maebe
bf71795324 * fixed make install for cocoaint
git-svn-id: trunk@42509 -
2019-07-28 11:15:02 +00:00
Jonas Maebe
aa48d5d18c * Cocoa interface fixes after the update to
https://github.com/genericptr/MacOS_10_10

git-svn-id: trunk@42501 -
2019-07-26 17:43:59 +00:00
Jonas Maebe
b9948899e3 * new CocoaInt units based on https://github.com/genericptr/MacOS_10_10
o note that CoreData and QuartzCore are now part of CocoaAll due to
     dependencies

git-svn-id: trunk@42500 -
2019-07-26 17:43:41 +00:00
Jonas Maebe
4bc657a067 * renamed objcbase.BOOL type to objc.ObjCBOOL to prevent name clashes
* fixed some signatures in CocoaInt that should refer to ctypes.cbool
    but instead used objcbase.(ObjC)BOOL

git-svn-id: trunk@42483 -
2019-07-23 09:08:32 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
Jonas Maebe
fbfc98a600 * changed definitino of Objective-C BOOL type to Boolean8 where
appropriate
  * changed all Boolean types in the Cocoa headers to BOOL (rest of
    mantis #34411)

git-svn-id: trunk@39950 -
2018-10-16 21:14:26 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4e7003fb94 Update all packages Makefile's
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
pierre
a93fe1b363 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +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
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
joost
1a90d29063 * Re-generated packages-Makefile.fpcs and Makefiles
git-svn-id: trunk@29409 -
2015-01-05 11:34:47 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles
git-svn-id: trunk@26641 -
2014-02-01 00:11:09 +00:00
joost
df4191acb3 * Handle the location of each package at run-time, not at compilation time
* Added a fpmake.pp in the root, to compile the utils and packages in one go

git-svn-id: trunk@24783 -
2013-06-02 17:55:23 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00
joost
527c407b62 * Re-generated Makefiles for the changes in the Makefile.fpcs in r24349
git-svn-id: trunk@24350 -
2013-04-27 20:48:14 +00:00
joost
20a3809e58 * Now zipinstall is passed to fpmake by all Makefile.fpc's
git-svn-id: trunk@24349 -
2013-04-27 20:34:00 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +00:00
joost
316717a710 * Re-generated all the Makefile.fpcs from the packages. So they are almost all the same now.
git-svn-id: trunk@23001 -
2012-11-17 00:18:50 +00:00
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
tom_at_work
7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
tom_at_work
7b6bcd315f Pass FPCOPT to fpmkunit and fpmake compilation. This prevents build errors of these programs if the given FPCOPT options of the previously compiled RTL are incompatible to default options. Regenerated associated makefiles.
git-svn-id: trunk@22080 -
2012-08-14 19:09:17 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +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
38d5945f12 * avoid missing autoreleasepool warnings
git-svn-id: trunk@20311 -
2012-02-11 16:18:54 +00:00
joost
68d9066200 * Changed more packages to fpmake building
git-svn-id: trunk@20089 -
2012-01-15 18:26:19 +00:00
joost
459f866b6f * Fixed fpmake.pp, all units have .pas as extension, not .pp
git-svn-id: trunk@20007 -
2012-01-08 12:04:49 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
Jonas Maebe
c03ca27e60 * reparsed with latest version of parser
- disabled some headers for 64 bit platforms that are not available there
  * updated cocoa patch to adjust missed unions by the parser
  -> when compiled with current compiler, all field offsets
     and instance sizes should now match gcc's exactly

git-svn-id: trunk@18122 -
2011-08-06 18:12:40 +00:00
Jonas Maebe
e0e326be8e + add {$packrecords c} to all units importing Objective-C records since
that's the alignment used by the system headers

git-svn-id: trunk@18115 -
2011-08-06 13:16:03 +00:00
Jonas Maebe
5ed31d4345 * mark records containing at least one bitpacked field as "bitpacked" rather
than only record containing nothing but bitpacked fields (although in
    theory this can also cause errors, it results in correct data layouts
    for all Cocoa structs while the previous code didn't)
  * changed the translation of bitpacked structs so that the compiler will
    properly align them. This requires that all bitpacked fields are
    wrapped into a separate record though, so all fields are now accessible
    via recname.data.field instead of via recname.field. Since all fields
    in the Cocoa classes are private, this should not cause problems
    (except if exported record types are also used elsewhere)

git-svn-id: trunk@18113 -
2011-08-06 12:38:31 +00:00
Jonas Maebe
8af064cf00 * replaced a few eregi's with the faster preg_match()
git-svn-id: trunk@18112 -
2011-08-06 12:32:07 +00:00
Jonas Maebe
9de57f1bd8 * do not calculate array bounds in php, since they may be expressed via
symbolic constants rather than numerically
  * replace an empty C array (such as int[0]) with an empty record declaration
    rather than with an array of one element, since it doesn't take up any
    space in C either

git-svn-id: trunk@18111 -
2011-08-06 12:21:40 +00:00
joost
48a56e03d7 * fpmake.pp-file fixes
git-svn-id: trunk@18087 -
2011-08-03 22:04:39 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
Jonas Maebe
d8627f24f4 + UIAlertView.inc
git-svn-id: trunk@17139 -
2011-03-15 17:43:13 +00:00
Jonas Maebe
a11709658c - removed outdated versions (superceded by the ones under
utils/uikit-skel/src)

git-svn-id: trunk@16986 -
2011-02-23 12:34:35 +00:00
Jonas Maebe
e8ca4b8b84 - removed icons and aedatamodel units (they're not supported on iOS nor
required for compilation)

git-svn-id: trunk@16978 -
2011-02-22 18:23:38 +00:00
Jonas Maebe
9d033909df * forgot to commit (part of r16923)
git-svn-id: trunk@16977 -
2011-02-22 17:49:12 +00:00
Jonas Maebe
11d780e62f * properly update the current enum value ("auto_increment") in case it
is assigned a particular value in the C header

git-svn-id: trunk@16963 -
2011-02-21 19:43:27 +00:00
Jonas Maebe
06ae2896ea * reparsed with latest script version, which adds "optional" sections to
protocols where required

git-svn-id: trunk@16924 -
2011-02-16 18:48:22 +00:00
Jonas Maebe
b3ee4ea4eb + support for parsing docsets to add documentation to the parsed headers
* re-enabled support for ignoring certain methods, but removed all ignored
    methods because all of them are handled correctly with the current version
  - disabled adding the script version and time stamp to the generated headers,
    so not all headers change every time they are re-parsed
  + support for optional/required sections in protocols
  + documentation from Ryan

git-svn-id: trunk@16923 -
2011-02-16 18:46:26 +00:00
Jonas Maebe
bbe5b792af - removed version header/timestamp to prevent all files from changing every
time they are parsed

git-svn-id: trunk@16922 -
2011-02-16 18:34:01 +00:00
Jonas Maebe
c1385b6446 * whitespace fixes from Ryan
+ some comments from Ryan

git-svn-id: trunk@16919 -
2011-02-15 20:53:03 +00:00
Jonas Maebe
c87a7c3d3b + forgot to commit (part of r16908)
git-svn-id: trunk@16909 -
2011-02-12 12:38:16 +00:00
Jonas Maebe
d6e7023038 * automatically comment out methods that take blocks as parameters or return
them
  * handle inline protocol definitions in parameter lists (replace id<protocol>
    with protocol, and class<protocol[,protocol,..]> with class), and made
    some fixes to this support for fields (many "id" fields/parameters are
    now protocols)
  * fix from Phil Hess for parsing some read-only properties
  * also translate ..._BUT_DEPRECATED macros (without any "_IN_VERSION..."
    coming after it) into "deprecated" modifiers
  * several fixes for handling deprecation macros (in several cases, half the
    macro was mangled into the name of the symbol itself)
  * default now to parsing the iOS 4.2 SDK headers, and fixed passing an
    alternate SDK on the command line to make-ios-headers.sh
  * updated Cocoa headers as parsed by the new parser, and with the headers
    from Mac OS X 10.6.5/Safari 5.0.2 (contains some WebKit updates)

git-svn-id: trunk@16908 -
2011-02-11 21:26:24 +00:00
Jonas Maebe
9e3a0282ce + NSLog() declaration
git-svn-id: trunk@16907 -
2011-02-11 20:53:12 +00:00
Jonas Maebe
06bd860e62 + new header file for WebKit 3.x (DOMBlob)
git-svn-id: trunk@16906 -
2011-02-11 20:15:56 +00:00
Jonas Maebe
8143a009fd * moved to correct location so it's used by the conversion script
git-svn-id: trunk@16903 -
2011-02-09 21:07:29 +00:00
Jonas Maebe
3ca3276400 * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
change is that it is now also allowed to specify an external name for
    formal external class definitions, but if they are later mixed with
    regular class definitions the external names have to match.
   o because the "external" status of methods is now set while parsing the
     class rather than afterwards, some procdir compatibility checks had to
     be inlined because they only have to be performed for 
  * also adapted the syntax for external cppclasses in the same way
  * fixed return type of NSObject.retainCount and NSObject.hash
    (NSUInteger instead of cint)
  * moved "patches" directory from cocoaint/src to cocoaint/utils/cocoa-skel
    so they are used by the conversion script when re-parsing the headers
  * updated Objective-C header parser script to
   o use the new external class syntax
   o not write inheritance information for root classes (NSObject, NSProxy)
   o use internal translation tables for some conflicting method names that
    are named specially in objcbase.pp
   and updated parsed headers
  * fixed rtl/inc/objcbase.pp and tests to conform to the new external class
    syntax

git-svn-id: trunk@16684 -
2011-01-02 14:50:46 +00:00
Jonas Maebe
482a244f30 * version 2.13 of the parser, by Ryan Joseph: mainly restructuring and
cleanup

git-svn-id: trunk@16666 -
2010-12-30 23:28:02 +00:00
Jonas Maebe
9410f7d5d3 - obsolete, removed (handled by regular script)
git-svn-id: trunk@16532 -
2010-12-10 10:13:55 +00:00
Jonas Maebe
a880603816 * updated version of the conversion script, used to generate the previously
committed cocoa unit conversions, and which can also be used to translate
    the iOS SDK 3.2 headers
  + scripts (make-cocoa-headers.sh, make-ios-headers.sh) to (re)build the
    Cocoa/iOS headers, along with skeleton directories that contain the
    necessary helper files and a few required patches
  + frameworks.xml used by the conversion script
  * updated build instructions

git-svn-id: trunk@16522 -
2010-12-08 21:12:27 +00:00
Jonas Maebe
c132727caf * updated to Mac OS X 10.6 SDK
* generated with version 2.1.2 of the conversion script, with many
    improvements (script and instructions to regenerate headers will
    be committed separately)
   o QuartzCore framework translation
   o categories are no longer merged into classes, but separate
   o corrected several C->Pascal type definitions
   o handle pointer types for parameters, return types and property types 
   o handle struct/class fields that are arrays or pointers
   o handle pointers to id
   o handle external functions that return "void *" (they were parsed as
     procedures)
   o handle anonymous classes (@class NSAnonType, such as CIImage) using
     the "NSAnonType = objcclass; external;" syntax
   o corrected handling of opaque structs
   o fixed parsing of function pointer types
   o instance-bitfields that do not appear in a struct are now recognised
   o bitpacked structs are now translated into bitpacked records (but only
     if they only contain bitpacked fields)
   o C macros indicating deprecation are now translated into "deprecated"
     modifiers for methods/variables/functions/properties
   o no longer ignore deprecated categories, because some categories are
     deprecated in Mac OS X 10.5/10.6, and we want to support writing code
     for older systems too
   o several fixes to property and enum parsing

git-svn-id: trunk@16521 -
2010-12-08 11:27:05 +00:00
mazen
b127fc154a * Fixed spell error revealed by lintian.
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
mazen
6863b0ab46 * Removed svn:executable property from source files.
git-svn-id: trunk@16059 -
2010-09-28 21:40:50 +00:00
Jonas Maebe
351d110507 * replaced dependency on MacOSAll with individual units (based on
information provided by Scott Knapp)
  - removed CFErrorRef declaration from UndefinedTypes since the CFError
    headers are available in the current univint translations

git-svn-id: trunk@15468 -
2010-06-21 15:43:34 +00:00
Jonas Maebe
293d51a277 * fixed "fast enumeration" types and methods
git-svn-id: trunk@15458 -
2010-06-20 12:06:55 +00:00
Jonas Maebe
87849e1fc6 + added missing NSApp declaration
* fixed NSAllocateMemoryPages declaration

git-svn-id: trunk@14473 -
2009-12-24 09:34:06 +00:00
josef
b99a49d982 * Added missing UndefinedClasses.inc to /uikit
* Changed the PHP variable which was causing the parser to not produce iphone headers
  * Added /utils/iphone directory which is the last safe version of the parser. This is because future versions of the parser will likely break the iphone parsing ability before it can be fully restored.

git-svn-id: trunk@14454 -
2009-12-20 14:29:12 +00:00
mazen
4c3cb51ea8 * Removed executable tag from source file.
git-svn-id: trunk@14430 -
2009-12-12 22:59:05 +00:00
Jonas Maebe
919cf1151b * fixed C->Pascal type translations
git-svn-id: trunk@14429 -
2009-12-12 20:58:21 +00:00
pierre
55cffbef12 * Update Makefiles
git-svn-id: trunk@14385 -
2009-12-10 08:36:52 +00:00
Jonas Maebe
1900d12a0c * fixed definition of NSInteger and NSUInteger for 64 bit (fix by
Gorazd Krosl)

git-svn-id: trunk@14231 -
2009-11-20 22:35:55 +00:00
Jonas Maebe
f339276179 * fixed 64 bit compilation
git-svn-id: trunk@14086 -
2009-11-06 17:27:27 +00:00
josef
36e6e452d2 * NSString constants are parsed in WebKit
* Fixed parameters erroneously suffixed with "Pointer" in WebKit
  + Added IBMacros.pp for InterfaceBuilder macros

git-svn-id: branches/objc@13831 -
2009-10-10 01:48:37 +00:00