Commit Graph

91 Commits

Author SHA1 Message Date
Eloy Durán
b552882fd0 [UIAutomation] Integrate BS generation in normal build process. 2013-12-12 22:02:48 +01:00
Eloy Durán
9068fd43a8 [UIAutomation] Place BS files in appropriate iOS SDK dirs. 2013-12-12 22:02:47 +01:00
Eloy Durán
7d58ff674e [UIAutomation] Patch all dumped headers to use canonical CGGeometry structs. 2013-12-12 22:02:47 +01:00
Eloy Durán
1e499df828 [UIAutomation] Remove BS file that was generated for iOS 5. 2013-12-12 22:02:47 +01:00
Eloy Durán
c5b9d3ea5c [UIAutomation] Add rake task to generate BS file from private headers. 2013-12-12 22:02:47 +01:00
Eloy Durán
bc9e4ea9ac [UIAutomation] Add rake task to dump headers from private frameworks. 2013-12-12 22:02:47 +01:00
Watson
1f2f3b0c4f Revert "fix where Boxed#new doesn't work for GLKKit structure."
This reverts commit ac89cf6b4b.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
2013-12-11 17:14:46 +09:00
Laurent Sansonetti
a735faa24b OSX: support for ImageIO 2013-11-19 13:50:01 +01:00
Watson
ef43a6df15 fix a buid error where Xcode has only one iOS SDK (ie Developer Preview) 2013-11-19 10:09:04 +09:00
Eloy Durán
bca3a525e9 [BS] Map linked frameworks: SearchKit and CoreText. 2013-11-18 14:44:21 +01:00
Eloy Durán
0fd0612744 [OSX] Add bridgesupport metadata for Carbon frameworks.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-318
2013-11-11 14:35:43 +01:00
Eloy Durán
23e1322803 [BS] Link OSServices to CoreServices. 2013-11-08 14:15:30 +01:00
Laurent Sansonetti
2d0b2a34da data/ios/libmacruby-repl.dylib is now universal 2013-11-02 18:43:36 +01:00
Watson
93a2cab101 fix RM-304
http://hipbyte.myjetbrains.com/youtrack/issue/RM-304

if stub codes are not generated for 64 bit,
it should share 32 bit stub codes.
2013-11-02 23:49:34 +09:00
Laurent Sansonetti
297500168d no longer strip symbols of our libraries, as it removes EHs 2013-11-01 17:49:51 +01:00
Laurent Sansonetti
edcdf29ed6 ship only one libmacruby-repl.dylib file per platform, the one that has been built with the lowest deployment target (4.3 for ios and 10.7 for osx) 2013-10-30 23:54:57 +01:00
Laurent Sansonetti
9fc87d7180 bring back ColorSync + add support for other umbrella'ted frameworks 2013-10-30 01:56:30 +01:00
Laurent Sansonetti
a135df9cfa exclude ColorSync from the build as it's complicated to link against it (let's enable it again if someone complains) 2013-10-30 00:39:36 +01:00
Laurent Sansonetti
649d9d2e84 generate proper universal (32/64-bit) stubs, deal with 64-bit-only frameworks 2013-10-30 00:33:57 +01:00
Laurent Sansonetti
5b12e917bb correct the value that we pass for the __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ variable 2013-10-30 00:05:07 +01:00
Watson
ac89cf6b4b fix where Boxed#new doesn't work for GLKKit structure.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-293

GLKKit structures are declared as the following.
If use union type when generate bridgesupport,
it is not output the definition of a data structure using <struct> tag into bridgesupport file.
So, Boxed#new does not work for these structure.

    #if defined(__STRICT_ANSI__)
    struct _GLKMatrix4
    {
        float m[16];
    } __attribute__((aligned(16)));
    typedef struct _GLKMatrix4 GLKMatrix4;
    #else
    union _GLKMatrix4
    {
        struct
        {
            float m00, m01, m02, m03;
            float m10, m11, m12, m13;
            float m20, m21, m22, m23;
            float m30, m31, m32, m33;
        };
        float m[16];
    } __attribute__((aligned(16)));
    typedef union _GLKMatrix4 GLKMatrix4;
    #endif
2013-10-22 13:22:52 +09:00
Watson
545b2c8a6f fix generating bridgesupport where it was forgotten to pass the '--64-bit' for iOS 7 2013-10-22 11:32:22 +09:00
Eloy Durán
23165c9edf [BS] Make use of our own bin/gen_bridge_metadata during builds. 2013-10-18 17:29:30 +02:00
Watson
a87fcea92b introduce the flag to stop strip in order to debug RubyMotion app 2013-10-01 17:59:55 +09:00
Watson
8690a34289 generate 64bit type in bridgesupport if iOS SDK >= 7.0 2013-09-12 13:34:38 +09:00
Laurent Sansonetti
b930d2383a generate BS stubs for ios7/x86_64 2013-09-11 13:27:09 +02:00
Watson
482a48293a add `arm64' into build rule 2013-09-11 12:18:00 +09:00
Watson
d58d495fbe fix a bug where wrong bridgesupport is generated when merges bridgesupport of subframework
The wrong bridgesupport is generated if there is no "</signatures>" in bridgesupport's last line.
2013-08-17 23:23:37 +09:00
Watson
b550e0f6c2 fix a bug when generated bridgesupport in iOS where it is not handled subframework
http://hipbyte.myjetbrains.com/youtrack/issue/RM-173
2013-08-17 23:23:37 +09:00
Watson
2a381fb23c Revert "fix a bug when generated bridgesupport in iOS where it is not handled subframework"
This reverts commit 8652acfd8b.
2013-08-17 12:12:02 +09:00
Watson
8652acfd8b fix a bug when generated bridgesupport in iOS where it is not handled subframework
http://hipbyte.myjetbrains.com/youtrack/issue/RM-173
2013-08-17 10:51:02 +09:00
Watson
c5a62f9b34 fix a bug where it could not use NSUIntegerMax in iOS 7
http://hipbyte.myjetbrains.com/youtrack/issue/RM-222

Add objc/NSObjCRuntime.h to generate a bridgesupport because NSUIntegerMax is defined in /usr/include/objc/NSObjCRuntime.h
2013-07-22 14:14:59 +09:00
Laurent Sansonetti
79db2c4fde include objc/NSObject.h in Foundation.bridgesupport 2013-06-24 22:00:08 +02:00
Watson
dee029a36b fix a bug in brigesupport where it is missing NSObject methods
http://hipbyte.myjetbrains.com/youtrack/issue/RM-171

To fix a bug, it passes TARGET_OS_IPHONE for iOS and TARGET_OS_MAC for OSX when generate brigesupport files.
2013-06-24 22:40:03 +09:00
Laurent Sansonetti
11194b3342 ignore some frameworks, use clang 2013-06-11 20:18:13 +02:00
Laurent Sansonetti
f99d7025a7 add Carbon to the list of excluded frameworks 2013-05-07 18:10:08 +02:00
Watson
162f37b622 should not handle sub framework in Carbon framework 2013-05-07 21:14:20 +09:00
Watson
706a57dc4d generate CoreGraphics.bridgesupport as subframework in OSX 10.7
in OSX 10.7, CoreGraphics is contains in ApplicationServices only.
so, we have to handle it in OSX 10.7.

When generate CoreGraphics.bridgesupport, it need the following information:
  1. framework search path : -F#{sdk_path}/System/Library/Frameworks/ApplicationServices.framework/Frameworks
  2. link framework : -framework ApplicationServices
2013-05-05 12:23:33 +09:00
Watson
f0d43a489f not handle CoreGraphics framework when is included by other framework because it causes duplicate symbol error
duplicate symbol ___concrete__CGPointMake in:
    /Library/RubyMotion/data/osx/10.8/MacOSX/CoreGraphics_stubs.o
    /Library/RubyMotion/data/osx/10.8/MacOSX/ApplicationServices_stubs.o
2013-05-05 00:14:33 +09:00
Watson
117b990a87 ignore `deprecated' warnings when build bridgesupport stub files
ignore the following warnings:

osx/10.8/BridgeSupport/ApplicationServices_stubs.m:3: warning: ‘CMBitmapCallBackUPP’ is deprecated
2013-05-04 23:40:36 +09:00
Watson
4d6061ea82 osx: generate brigesupport file for nest frameworks
Quartz.framework, WebKit.framework and some frameworks contain the other frameworks
2013-05-04 23:38:46 +09:00
Laurent Sansonetti
08a8873c90 oops 2013-04-29 21:09:23 +02:00
Laurent Sansonetti
c7152c8143 add osx repl 2013-04-29 21:07:39 +02:00
Laurent Sansonetti
d49183d7ce macport: add support for inline functions 2013-04-26 17:37:46 +02:00
Laurent Sansonetti
105a915f3d mac port 2013-04-25 02:26:56 +02:00
Laurent Sansonetti
ed3ea68ca1 remove debug symbols from macruby VM 2012-09-19 15:08:36 +02:00
Laurent Sansonetti
dcda0eb397 build stub files for armv7s on 6.0 2012-09-14 17:34:05 +02:00
Laurent Sansonetti
3eea78e85a use DP4 2012-09-06 15:09:49 +02:00
Laurent Sansonetti
f57204d7c8 better regex rules 2012-09-03 13:17:03 +02:00
Laurent Sansonetti
0658667cfa in ML, all cftypes are opaque 2012-07-30 12:30:22 +02:00