Commit Graph

2571 Commits

Author SHA1 Message Date
Laurent Sansonetti
f27d56f00a mention that older androids have different steps to enable developer mode 2014-08-09 11:47:28 +02:00
Laurent Sansonetti
ee55fdf9f1 add NEWS file for pre-release 2014-08-09 11:26:44 +02:00
Laurent Sansonetti
f13425acc9 Fixed detection of the build tools directory. In some installations of the NDK, the directory can be a version number (ex. '20.0.0').
Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
3fe0821c88 Remove configChanges from the manifest.
Gives problems in older versions and also Google recommends using it as a last resort

"Using this attribute should be avoided and used only as a last resort."
http://developer.android.com/guide/topics/manifest/activity-element.html

Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
ee36b4b967 Use System.loadLibrary() to load the payload. This is what JNI sample apps use.
Line 64:
https://android.googlesource.com/platform/development/+/android-4.4.4_r2/ndk/samples/hello-jni/src/com/example/hellojni/HelloJni.java

This makes RubyMotion work on older Android versions (such as API 8).

Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
39c8890c08 JDK 7 requires explicitly setting this. Should work in JDK 6 too.
"Caution: As of JDK 7, the default signing algorithim has changed, requiring you to specify the signature and digest algorithims (-sigalg and -digestalg) when you sign an APK."

Google Cache:
http://webcache.googleusercontent.com/search?q=cache:OjyaP-Zoz-MJ:developer.android.com/tools/publishing/app-signing.html+&cd=1&hl=es&ct=clnk&client=safari

(Patch by Mark Villacampa)
2014-08-09 11:26:44 +02:00
Watson
c37943bd40 sync 2014-08-09 11:32:57 +09:00
Laurent Sansonetti
afc8381d54 better zipalign detection with a fallback on tools/zipalign (old SDKs) 2014-08-08 23:29:05 +02:00
Watson
0d1abd53e9 [NEWS] Improved Object#method_missing performance. ~8 times faster 2014-08-09 05:03:26 +09:00
Laurent Sansonetti
e725e4d0c3 add support for Android level 8 (2.2.2) 2014-08-08 19:07:05 +02:00
Laurent Sansonetti
07b885f9d7 add android beta notes file 2014-08-08 18:52:06 +02:00
Laurent Sansonetti
c4e7ba6919 better detection of default API version 2014-08-08 17:32:47 +02:00
Laurent Sansonetti
ab466d9cee remove zipalign_path variable (it's best if it's not exposed to the user) 2014-08-08 17:00:01 +02:00
Watson
9ff1dab9eb fix zipalign path 2014-08-08 23:11:54 +09:00
Laurent Sansonetti
35ca278def better detection of Android versions 2014-08-08 13:53:15 +02:00
Laurent Sansonetti
3f25fd2f89 retrieve values for app.sdk_path and app.ndk_path from the respective RUBYMOTION_ANDROID_SDK and RUBYMOTION_ANDROID_NDK environment variables 2014-08-07 16:09:08 +02:00
Watson
d15179963b sync 2014-08-07 11:35:49 +09:00
Watson
9dfc63b3aa [NEWS] Improved Module#define_method performance 2014-08-07 11:34:16 +09:00
Eloy Durán
facf63d024 [osx] Merge all Info.plist data in one place and ensure there's always a principal class. 2014-08-06 11:29:22 +02:00
Watson
0f0066bde7 [NEWS] fix RM-540 2014-08-06 17:40:29 +09:00
Watson
dd05cc82c3 [test] add spec for RM-540 2014-08-06 17:34:24 +09:00
Eloy Durán
06a3121d96 Revert "[test] On iOS, also set the target env var to the deployment target."
This reverts commit 82f38e3606.
2014-08-05 16:05:15 +02:00
Eloy Durán
a5b7ec5dd0 [NEWS] Document fix for http://hipbyte.myjetbrains.com/youtrack/issue/RM-539. 2014-08-05 14:41:27 +02:00
Eloy Durán
82f38e3606 [test] On iOS, also set the target env var to the deployment target. 2014-08-05 14:41:27 +02:00
Eloy Durán
51538c0ac7 [osx] Allow the user to configure a NSApplication subclass and use that instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
2014-08-05 14:41:27 +02:00
Laurent Sansonetti
8f2f9109d6 detect android L at build time 2014-08-05 12:12:01 +02:00
Watson
ffe141cb8b Xcode6-Beta5 2014-08-05 10:02:01 +09:00
Eloy Durán
e7d1da2841 [test] Add failing test case for RM-539. 2014-08-04 17:56:28 +02:00
Watson
73430594d8 [NEWS] Reduced the app boot time 2014-08-04 22:57:00 +09:00
Watson
ed5521ad56 [android] fix an error which /usr/bin/keytool causes if '~/.android' is not existed
This should fix the following error

    /usr/bin/keytool -genkeypair -alias androiddebugkey -keypass android -keystore "/Users/watson/.android/debug.keystore" -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=ja_JP.UTF-8
    keytool エラー: java.io.FileNotFoundException: /Users/watson/.android/debug.keystore (No such file or directory)
2014-08-01 12:40:14 +09:00
Watson
79bf6a146e [NEWS] fix RM-538 2014-08-01 11:12:49 +09:00
Watson
875d465cc0 [NEWS] fix RM-537 2014-08-01 10:02:06 +09:00
Watson
77cf463e7c sync 2014-08-01 08:32:25 +09:00
Watson
1ff9963acb 2.32 2014-08-01 08:32:20 +09:00
Laurent Sansonetti
30c2c3a590 reformat 2014-07-24 17:11:54 +02:00
Watson
729d1e33c1 [test] add spec for RM-407 2014-07-23 23:27:48 +09:00
Watson
e2ee8b06e5 [NEWS] fix RM-407 2014-07-23 23:02:31 +09:00
Watson
3d123bf932 [test] add spec for RM-407 2014-07-23 22:58:52 +09:00
Watson
4f1a2fdb47 add a workaround to avoid compile error for inline function stub of SceneKit 2014-07-22 09:12:46 +09:00
Watson
7575d9b734 Xcode6-Beta4 2014-07-22 09:11:36 +09:00
Watson
da6e8b984f [NEWS] fix RM-480 2014-07-14 11:07:37 +09:00
Watson
b48ff57ac0 load custom LLDB command and user command
http://hipbyte.myjetbrains.com/youtrack/issue/RM-480
2014-07-14 10:56:17 +09:00
Watson
e5fb8a981b [NEWS] fix RM-533 2014-07-11 15:13:34 +09:00
Watson
04fd944ebe fix __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ for OSX 10.10
The definition rule of MAC_OS_X_VERSION_10_XX is changed at OS X 10.10

#define MAC_OS_X_VERSION_10_8         1080
#define MAC_OS_X_VERSION_10_9         1090
#define MAC_OS_X_VERSION_10_10      101000
2014-07-09 22:42:47 +09:00
Watson
2dbcaf2c90 Xcode6-Beta3 2014-07-09 22:19:40 +09:00
Watson
2ae3689829 [NEWS] RM-532 2014-07-09 17:01:23 +09:00
Watson
ef651f7100 not forward signal to LLDB in order to exhibit LLDB prompt
http://hipbyte.myjetbrains.com/youtrack/issue/RM-532
2014-07-09 16:56:01 +09:00
Watson
6afe70723e [NEWS] fix RM-529 2014-07-08 10:13:37 +09:00
Watson
2316d4c085 [NEWS] fix RM-528 2014-07-06 16:48:31 +09:00
Watson
9e2c129081 [test] add spec for RM-528 2014-07-06 16:45:55 +09:00