summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src
Commit message (Collapse)AuthorAgeFilesLines
* * replaced bogus "NSProcessInfo_NSObject" class with "NSProcessActivity" ↵jonas2021-02-131-2/+1
| | | | | | category git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@48662 3ad0048d-3df7-0310-abae-a5850022a9f2
* * cocoaint: fix NSActivityUserInitiatedAllowingIdleSystemSleep definitionjonas2021-01-061-1/+1
| | | | | | (as noted by olly, mantis #38317) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@48098 3ad0048d-3df7-0310-abae-a5850022a9f2
* * renamed WebFrame.DOMDocument_ back to DOMDocument after 10.10 updatejonas2020-09-191-1/+1
| | | | | | (mantis #37769) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@46896 3ad0048d-3df7-0310-abae-a5850022a9f2
* * don't link CoreImage by default for compatibility with older (Mac) OS X ↵jonas2020-07-111-1/+3
| | | | | | | | versions (mantis #37040) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45767 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fix linkframework CoreImage directive (mantis #37040)jonas2020-05-161-1/+1
| | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45381 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed ifdef after upgrade to 10.10 headers (patch by Hans Luijten,jonas2020-02-221-1/+1
| | | | | | mantis #36420) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@44231 3ad0048d-3df7-0310-abae-a5850022a9f2
* * cocoaint: fixed signature of IOBluetoothGetObjectIDFromArguments()jonas2019-07-281-1/+1
| | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42515 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed NSApplicationMain() signaturejonas2019-07-281-1/+1
| | | | git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42514 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Cocoa interface fixes after the update tojonas2019-07-26196-149/+331
| | | | | | https://github.com/genericptr/MacOS_10_10 git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42501 3ad0048d-3df7-0310-abae-a5850022a9f2
* * new CocoaInt units based on https://github.com/genericptr/MacOS_10_10jonas2019-07-261678-38671/+89962
| | | | | | | o note that CoreData and QuartzCore are now part of CocoaAll due to dependencies git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42500 3ad0048d-3df7-0310-abae-a5850022a9f2
* * renamed objcbase.BOOL type to objc.ObjCBOOL to prevent name clashesjonas2019-07-23304-2158/+2158
| | | | | | | * fixed some signatures in CocoaInt that should refer to ctypes.cbool but instead used objcbase.(ObjC)BOOL git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42483 3ad0048d-3df7-0310-abae-a5850022a9f2
* * changed definitino of Objective-C BOOL type to Boolean8 wherejonas2018-10-16304-2156/+2156
| | | | | | | | appropriate * changed all Boolean types in the Cocoa headers to BOOL (rest of mantis #34411) git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@39950 3ad0048d-3df7-0310-abae-a5850022a9f2
* * avoid missing autoreleasepool warningsjonas2012-02-111-1/+5
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@20311 3ad0048d-3df7-0310-abae-a5850022a9f2
* * reparsed with latest version of parserjonas2011-08-06142-1912/+2149
| | | | | | | | | | - 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: http://svn.freepascal.org/svn/fpc/trunk@18122 3ad0048d-3df7-0310-abae-a5850022a9f2
* - removed outdated versions (superceded by the ones underjonas2011-02-233-190/+0
| | | | | | | utils/uikit-skel/src) git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16986 3ad0048d-3df7-0310-abae-a5850022a9f2
* * properly update the current enum value ("auto_increment") in case itjonas2011-02-2122-175/+175
| | | | | | | is assigned a particular value in the C header git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16963 3ad0048d-3df7-0310-abae-a5850022a9f2
* * reparsed with latest script version, which adds "optional" sections tojonas2011-02-1647-0/+63
| | | | | | | protocols where required git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16924 3ad0048d-3df7-0310-abae-a5850022a9f2
* - removed version header/timestamp to prevent all files from changing everyjonas2011-02-16519-1038/+0
| | | | | | | time they are parsed git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16922 3ad0048d-3df7-0310-abae-a5850022a9f2
* + forgot to commit (part of r16908)jonas2011-02-121-0/+52
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16909 3ad0048d-3df7-0310-abae-a5850022a9f2
* * automatically comment out methods that take blocks as parameters or returnjonas2011-02-11520-824/+842
| | | | | | | | | | | | | | | | | | | | 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: http://svn.freepascal.org/svn/fpc/trunk@16908 3ad0048d-3df7-0310-abae-a5850022a9f2
* * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Anotherjonas2011-01-02529-4653/+3442
| | | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.freepascal.org/svn/fpc/trunk@16684 3ad0048d-3df7-0310-abae-a5850022a9f2
* * updated to Mac OS X 10.6 SDKjonas2010-12-08545-6401/+17646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.freepascal.org/svn/fpc/trunk@16521 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Removed svn:executable property from source files.mazen2010-09-281-0/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16059 3ad0048d-3df7-0310-abae-a5850022a9f2
* * replaced dependency on MacOSAll with individual units (based onjonas2010-06-213-6/+9
| | | | | | | | | information provided by Scott Knapp) - removed CFErrorRef declaration from UndefinedTypes since the CFError headers are available in the current univint translations git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15468 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed "fast enumeration" types and methodsjonas2010-06-202-4/+5
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15458 3ad0048d-3df7-0310-abae-a5850022a9f2
* + added missing NSApp declarationjonas2009-12-242-1/+2
| | | | | | | * fixed NSAllocateMemoryPages declaration git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14473 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Added missing UndefinedClasses.inc to /uikitjosef2009-12-201-0/+13
| | | | | | | * 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: http://svn.freepascal.org/svn/fpc/trunk@14454 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Removed executable tag from source file.mazen2009-12-121-0/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14430 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed definition of NSInteger and NSUInteger for 64 bit (fix byjonas2009-11-201-2/+2
| | | | | | | Gorazd Krosl) git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14231 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed 64 bit compilationjonas2009-11-063-3/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14086 3ad0048d-3df7-0310-abae-a5850022a9f2
* * NSString constants are parsed in WebKitjosef2009-10-10148-359/+436
| | | | | | | * Fixed parameters erroneously suffixed with "Pointer" in WebKit + Added IBMacros.pp for InterfaceBuilder macros git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13831 3ad0048d-3df7-0310-abae-a5850022a9f2
* * NSRange is defined correctlyjosef2009-10-03177-13/+11087
| | | | | | | + Added CoreData framework + Added WebKit framework git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13796 3ad0048d-3df7-0310-abae-a5850022a9f2
* - removed svn:executable flagsjonas2009-10-023-0/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13792 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed CGFloat definition after r13786jonas2009-10-021-2/+2
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13790 3ad0048d-3df7-0310-abae-a5850022a9f2
* * User patches are now workingjosef2009-10-01281-2355/+1267
| | | | | | * Pointers to classes are no longer untyped. git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13786 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Procedures with varargs are parsed properly.josef2009-09-28281-1258/+1423
| | | | | | | | | | | * Fixed macro that was causing CFString constants to fail. * Removed MacOSAll dependency from iPhoneAll.pas. * More enumerations are parsed in all frameworks. * Properties that returned values in iPhone headers are now fixed. * Properties from categories are included now. + Users can add hand parsed patches by putting them in the patches directory and they will be included during parsing. git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13770 3ad0048d-3df7-0310-abae-a5850022a9f2
* * added missing NSSTR() implementation (fix by Dmitry)jonas2009-09-221-0/+5
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13755 3ad0048d-3df7-0310-abae-a5850022a9f2
* + Parser support for UIKit has been added and iPhoneAll.pasjosef2009-09-22284-2899/+5108
| | | | | | | | | | * Pass by reference arguments are translated as pointers instead of var * Variable length arguments are parsed with the varargs keyword instead of array of const + Added IVarSize.pas which prints the size of ivar's in all AppKit/Foundation classes. + There are now "null" defined macros for IBOutlet and IBAction like in Cocoa. Use these instead of comments and they may become useful in the future for InterfaceBuilder support. + Foundation.pas is included which can be used for command line tools without AppKit. git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13754 3ad0048d-3df7-0310-abae-a5850022a9f2
* + Cocoa interfaces and parser by Ryan Josephjonas2009-09-10292-0/+32427
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13688 3ad0048d-3df7-0310-abae-a5850022a9f2