Commit Graph

120 Commits

Author SHA1 Message Date
Laurent Sansonetti
8171d8a950 now generate <interface> elements for Java interfaces 2014-04-25 15:31:45 +02:00
Watson
d11675d421 fix a bug which AudioUnit bridgesupport metadata are missing
http://hipbyte.myjetbrains.com/youtrack/issue/RM-470
2014-04-21 13:00:00 +09:00
Watson
84537859c2 use iOS7.1's librubymotion-repl.dylib for iOS platform 2014-04-10 21:33:42 +09:00
Laurent Sansonetti
bbc124e59c copy rubymotion.jar into data directory 2014-04-05 18:51:29 +02:00
Laurent Sansonetti
b43e320425 cover classes without superclasses (ex. java.lang.Object), only cover classes (not interfaces) 2014-03-22 18:14:15 +01:00
Laurent Sansonetti
c27b70c152 support nested classes (ex. android.R$layout) in bridgesupport files 2014-03-13 20:42:35 +01:00
Laurent Sansonetti
e533381064 better fix for last commit 2014-02-12 16:32:50 +01:00
Laurent Sansonetti
df2c280353 name java classes using the '/' separator and not '.' 2014-02-11 20:07:21 +01:00
Watson
7a281a1bba fix that cftype constant in AudioToolbox cannot be used
Relate to :
 - http://hipbyte.myjetbrains.com/youtrack/issue/RM-50
 - https://hipbyte.freshdesk.com/helpdesk/tickets/1514
2014-01-20 16:54:08 +09:00
Laurent Sansonetti
4d3e8c0c70 more work on the android port 2014-01-19 23:38:32 +01:00
Laurent Sansonetti
2dc26beb04 android archs are now defined in the main rakefile 2014-01-10 17:58:34 +01:00
Laurent Sansonetti
bd68f2c299 copy android kernel files, use proper arch name in the sub-directory 2014-01-10 17:50:06 +01:00
Laurent Sansonetti
b0435cfb47 fix android vm path 2014-01-10 16:11:32 +01:00
Watson
44121c7b94 make sure to remove *.dylib files with `rake clean' 2013-12-25 14:53:24 +09:00
Laurent Sansonetti
bd8536dbcc libmacruby -> librubymotion 2013-12-24 18:25:19 +01:00
Laurent Sansonetti
7ca01db686 copy the android runtime 2013-12-18 20:02:56 +01:00
Laurent Sansonetti
c22bb2d381 generate bridgesupport initializers with “<init>” as method name 2013-12-18 20:02:56 +01:00
Laurent Sansonetti
a64f24f529 properly process classes who implement interfaces 2013-12-17 14:16:07 +01:00
Laurent Sansonetti
c1358d091a process JDK classes 2013-12-17 14:16:07 +01:00
Laurent Sansonetti
897f1d003c ‘rake android’ experimental task, generates bridgesupport for the basic android package 2013-12-16 01:24:35 +01:00
Laurent Sansonetti
9b6df0f32b PLATFORMS_DIR -> XCODE_PLATFORMS_DIR 2013-12-15 18:54:51 +01:00
Eloy Durán
dba87148f2 Revert use of PublicAutomation lib. 2013-12-12 22:02:49 +01:00
Eloy Durán
ef803412eb [UIAutomation] Generate BS before all other BS, so it gets copied into all iOS SDK dirs. 2013-12-12 22:02:48 +01:00
Eloy Durán
4fe3869b8d [UIAutomation] Integrate libPublicAutomation into build system. 2013-12-12 22:02:48 +01:00
Eloy Durán
3e164cb220 [UIAutomation] Generate BS metadata for libPublicAutomation. 2013-12-12 22:02:48 +01:00
Eloy Durán
6dd0440e2b [UIAutomation] Build the PublicAutomation lib for the required SDKs. 2013-12-12 22:02:48 +01:00
Eloy Durán
69d9f72ed0 [UIAutomation] Revert additions to generate BS files. 2013-12-12 22:02:48 +01:00
Eloy Durán
b44586b4a9 [BS] Patch iOS CoreText's header to remove CTRunDelegateGetTypeID.
This function is not actually available and appears to be a bug on
Apple’s side.
2013-12-12 22:02:48 +01:00
Eloy Durán
2a58725e78 [UIAutomation] More massaging of headers to generate proper BS for all SDKs. 2013-12-12 22:02:48 +01:00
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