summaryrefslogtreecommitdiff
path: root/packages/cocoaint
Commit message (Collapse)AuthorAgeFilesLines
* + UIAlertView.incjonas2011-03-151-1/+2
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@17139 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
* - removed icons and aedatamodel units (they're not supported on iOS norjonas2011-02-221-1/+1
| | | | | | | required for compilation) git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16978 3ad0048d-3df7-0310-abae-a5850022a9f2
* * forgot to commit (part of r16923)jonas2011-02-221-0/+140
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16977 3ad0048d-3df7-0310-abae-a5850022a9f2
* * properly update the current enum value ("auto_increment") in case itjonas2011-02-2124-177/+185
| | | | | | | 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
* + support for parsing docsets to add documentation to the parsed headersjonas2011-02-168-25/+186
| | | | | | | | | | | | * 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: http://svn.freepascal.org/svn/fpc/trunk@16923 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
* * whitespace fixes from Ryanjonas2011-02-152-12/+14
| | | | | | | + some comments from Ryan git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16919 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-11531-883/+985
| | | | | | | | | | | | | | | | | | | | 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
* + NSLog() declarationjonas2011-02-111-0/+4
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16907 3ad0048d-3df7-0310-abae-a5850022a9f2
* + new header file for WebKit 3.x (DOMBlob)jonas2011-02-111-0/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16906 3ad0048d-3df7-0310-abae-a5850022a9f2
* * moved to correct location so it's used by the conversion scriptjonas2011-02-092-0/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16903 3ad0048d-3df7-0310-abae-a5850022a9f2
* * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Anotherjonas2011-01-02532-4644/+3499
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* * version 2.13 of the parser, by Ryan Joseph: mainly restructuring andjonas2010-12-306-1592/+1625
| | | | | | | cleanup git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16666 3ad0048d-3df7-0310-abae-a5850022a9f2
* - obsolete, removed (handled by regular script)jonas2010-12-104-5007/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16532 3ad0048d-3df7-0310-abae-a5850022a9f2
* * updated version of the conversion script, used to generate the previouslyjonas2010-12-0830-4525/+5566
| | | | | | | | | | | | | 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: http://svn.freepascal.org/svn/fpc/trunk@16522 3ad0048d-3df7-0310-abae-a5850022a9f2
* * updated to Mac OS X 10.6 SDKjonas2010-12-08547-6402/+17834
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * Fixed spell error revealed by lintian.mazen2010-10-062-2/+2
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16094 3ad0048d-3df7-0310-abae-a5850022a9f2
* + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 andjonas2010-09-291-5/+35
| | | | | | | | | | | | | | | 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: http://svn.freepascal.org/svn/fpc/trunk@16065 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-206-2/+5021
| | | | | | | * 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 C->Pascal type translationsjonas2009-12-121-5/+5
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14429 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Update Makefilespierre2009-12-101-6/+26
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14385 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
* * compile new WebKit and CoreData unitsjonas2009-10-032-59/+64
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13797 3ad0048d-3df7-0310-abae-a5850022a9f2
* * NSRange is defined correctlyjosef2009-10-03180-164/+11262
| | | | | | | + 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-026-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-01286-2379/+1339
| | | | | | * Pointers to classes are no longer untyped. git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13786 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Parser was ignoring -root input in previous version.josef2009-09-281-94/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13772 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Procedures with varargs are parsed properly.josef2009-09-28286-1404/+1607
| | | | | | | | | | | * 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-22290-3158/+6048
| | | | | | | | | | * 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-10298-0/+39071
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/objc@13688 3ad0048d-3df7-0310-abae-a5850022a9f2