Commit Graph

2432 Commits

Author SHA1 Message Date
Watson
1151fa271a [NEWS] Fixed a bug which OSX simulator does not work on 10.7 Lion 2014-03-27 23:17:54 +09:00
Watson
9d7ac6b8fc shouldn't use Objective-C literal for 10.7 Lion
http://hipbyte.myjetbrains.com/youtrack/issue/RM-454

Maybe, Objective-C literal will support 10.8 Mountain Lion or later
2014-03-27 23:16:28 +09:00
Watson
ce386c7d83 fix typo 2014-03-27 08:46:54 +09:00
Watson
9f9fadeec1 [NEWS] Fixed an error in `rake device debug=1' if it would use UTF-8 as app name 2014-03-27 08:46:54 +09:00
Watson
c8493e6800 fix an error in remote debugging if use UTF-8 as app name
http://hipbyte.myjetbrains.com/youtrack/issue/RM-452
2014-03-27 08:46:54 +09:00
Laurent Sansonetti
dc6e39e351 don’t try to force-kill the app if it’s already dead 2014-03-26 17:44:11 +01:00
Laurent Sansonetti
2170e6098d follow compiler changes, which now generates bitcode instead of assembly, we now pass the bitcode file to the linker 2014-03-26 15:39:20 +01:00
Laurent Sansonetti
3d8d36ed61 kill the app when pressing ^C 2014-03-26 13:24:13 +01:00
Laurent Sansonetti
7e338ef32b this function isn't used anymore 2014-03-26 13:09:27 +01:00
Laurent Sansonetti
e78dd0fd49 build ruby object files into the obj/local/<arm-abi-directory-name> directory, similar to how NDK projects work 2014-03-26 00:48:04 +01:00
Laurent Sansonetti
7b7a8894d5 the -mtune flag should be passed to the compiler, not the assembler 2014-03-26 00:46:54 +01:00
Laurent Sansonetti
bf07ef7ee3 use latest NDK 2014-03-26 00:35:30 +01:00
Laurent Sansonetti
d237f6cf8a now support armv7 (in addition of armv5) 2014-03-26 00:35:30 +01:00
Laurent Sansonetti
dc3c5b2737 use proper armeabi directory name when compiling for an arch 2014-03-26 00:35:30 +01:00
Laurent Sansonetti
31c71c14ec use proper arch-related flags 2014-03-26 00:35:29 +01:00
Watson
e755e26d0d fix indentation 2014-03-25 13:58:37 +09:00
Watson
2d8912a7b4 [NEWS] Fixed a bug which `rake device debug=1' does not work with Xcode 5.1 2014-03-25 13:49:43 +09:00
Watson
658471d24b fix a bug which Xcode5.1 lldb cannot connect to remote debugserver on iOS device
Looks like Xcode5.1 lldb no longer create UNIX domain socket using "unix-accept" URI.
So, we passes connected socket to lldb using "fd://".
2014-03-25 13:47:32 +09:00
Watson
6f6ce15d59 fix to be able to exit normally if it cannot connect lldb to remote
if deploy command cannot connect lldb to remote,
it causes an infinity loop in where connect to remote.
And lldb will not accept any commands.
2014-03-24 11:08:43 +09:00
Watson
0f9242dd20 fix a build error when “Resource” is contained as resource directory path
This should fix the following case which uses "HTBResources.bundle" as resource.

```
% rake
    ERROR! An iOS application cannot be installed if it contains a directory called `resources'. Please rename the directory at path `vendor/Pods/Resources/HTBResources.bundle' to, for instance, `vendor/Pods/Resources/assets'.
````
2014-03-24 08:29:20 +09:00
Watson
a531914ae4 sync 2014-03-24 08:25:38 +09:00
Watson
7bb8f69a2e fix a bug where nested array cannot be handled
it cause an error If app.resources_dirs has nested array

  app.resources_dirs << ['Images']

```
% rake
rake aborted!
no implicit conversion of Array into String
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `exists?'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `block in pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `each'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:67:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:122:in `block in <top (required)>'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
```
2014-03-23 02:38:06 +09: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
Watson
a4cd4a4cec fix build error if resource directory does not exits
This bug is introduced by 064672443d

% motion create hello && cd hello
% rm -rf resources
% rake
rake aborted!
No such file or directory @ dir_initialize - ./resources
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `open'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `entries'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `block in pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `each'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:66:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:121:in `block in <top (required)>'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
2014-03-23 00:39:16 +09:00
Laurent Sansonetti
ad00a5dc04 fix main activity default value 2014-03-22 13:44:55 +01:00
Eloy Durán
064672443d [iOS] Fail build if one of the resources is a dir called `Resources'.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-450.
2014-03-21 17:07:53 +01:00
Eloy Durán
ba604b707e [vm] sync 2014-03-20 12:17:13 +01:00
Eloy Durán
1ba0d8baf1 [NEWS] Document WeakRef to raise with unsupported classes. 2014-03-20 12:12:50 +01:00
Eloy Durán
84e2a3b914 [test] Let tests fail on 32-bit, now that we reverted to LLVM 3.3. 2014-03-19 20:06:12 +01:00
Eloy Durán
8bd9956459 [NEWS] Document KVC property validation method types fix. 2014-03-19 17:52:29 +01:00
Eloy Durán
82c0396cd0 [test] Rename ‘helper selectors’ to ‘special selectors’. 2014-03-19 17:48:43 +01:00
Eloy Durán
c606a0aef8 [test] Add failing tests for KVC property validation methods. 2014-03-19 17:45:13 +01:00
Eloy Durán
2814af43c6 [test] Add tests for helper selectors: setters, predicates. 2014-03-18 12:11:53 +01:00
Watson
cf56d3d8cd we still use LLVM 3.3 2014-03-18 07:57:27 +09:00
Watson
5528ff6773 Revert "we not depend on llvm 3.4"
This reverts commit e99ffba35f.
2014-03-18 07:57:11 +09:00
Eloy Durán
82cb030e97 [test] Make test suite run for OS X 32 and 64 bit. 2014-03-17 19:40:49 +01:00
Watson
95065fba7a [NEWS] Improved method dispatcher performance 2014-03-18 01:51:41 +09:00
Eloy Durán
0d29a453bc [test] Get source to build on OS X 10.7 32-bit. 2014-03-17 17:13:46 +01:00
Eloy Durán
f024795ed0 [test] Improve task descriptions. 2014-03-17 16:29:12 +01:00
Eloy Durán
f2a106d388 [test] Replace custom tagged object with NSIndexPath. 2014-03-17 16:26:37 +01:00
Eloy Durán
395c574e17 [test] Add tasks to run tests on all 32 or 64 bit platforms. 2014-03-17 16:26:09 +01:00
Eloy Durán
da34327713 [test] Aggregate test results for multiple platforms/archs. 2014-03-17 15:49:57 +01:00
Eloy Durán
174c3b3b8a [NEWS] Document ImmediateRef introspection enhancements. 2014-03-17 12:19:35 +01:00
Eloy Durán
c2b2042232 [NEWS] Document Ruby methods on tagged pointer objects fix. 2014-03-14 17:47:52 +01:00
Eloy Durán
044fe33a57 [ImmediateRef] Add failing tests for Ruby methods and relfection. 2014-03-14 17:46:32 +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
2e53e30346 better logging: cut the log before starting the activity and silence other packages and showing the log 2014-03-12 19:11:44 +01:00
Laurent Sansonetti
daf264f35a payload logging in debug mode 2014-03-12 17:51:31 +01:00
Laurent Sansonetti
515e62b9d8 rake {simulator,device} now shows application logs in the terminal after running the main activity 2014-03-12 17:51:31 +01:00
Watson
7788b26d7a sync 2014-03-12 13:50:23 +09:00