Commit Graph

2204 Commits

Author SHA1 Message Date
Laurent Sansonetti
b24839acc7 add android test suite (very early work) 2014-04-04 17:12:52 +02:00
Eloy Durán
73ad72e54d Add failing tests for http://hipbyte.myjetbrains.com/youtrack/issue/RM-447 2014-04-04 11:38:08 +02:00
Watson
48cd537b8a [NEWS] update 2014-04-03 10:36:47 +09:00
Watson
a1ce8e1f64 [NEWS] marge pull request #151 2014-04-03 10:36:21 +09:00
Mark Rickert
378aa6730b Add gemspec to Gemfile for gem template.
Since spec.add_development_dependency "rake" is already in the gemspec template, we don't need it in the Gemfile and we should always defer to the gemspec for our dependencies except for advanced use cases.
2014-04-03 10:33:46 +09:00
Watson
5368700216 [NEWS] merge pull request #152 2014-04-03 10:26:02 +09:00
Watson
c7aa81f8cf update variable name
because it contains also non bridge support files.
2014-04-03 10:11:31 +09:00
Hwee-Boon Yar
0850987a37 Include app's source code when running rake ctags 2014-04-03 09:15:23 +09:00
Watson
d771fdc469 [NEWS] Improved memory management performance. ~25% faster 2014-04-02 22:49:11 +09:00
Watson
e467b0be95 [NEWS] Added support for OSX 10.6 as deployment target 2014-04-02 12:17:27 +09:00
Watson
fe7b54766f [NEWS] RM-458 2014-03-31 22:52:41 +09:00
Watson
5b1398c796 fix a bug which simulator use high CPU usage if app cannot respond
http://hipbyte.myjetbrains.com/youtrack/issue/RM-458

repl_fd is non-blocking socket.

If app cannot respond with heavy work load,
it caused a infinity loop without waiting in
9d7ac6b8fc/bin/sim.m (L714-L720)
2014-03-31 22:50:22 +09:00
Watson
12b746b24b sync 2014-03-31 17:26:29 +09:00
Watson
081e6567bc [NEWS] fix RM-457 2014-03-31 15:20:22 +09:00
Watson
ef787ffc28 [NEWS] Improved Object#method performance 2014-03-31 11:31:42 +09:00
Watson
104b91bd31 [NEW] Fixed a memory leak in Object#{method, ...}
http://hipbyte.myjetbrains.com/youtrack/issue/RM-456
2014-03-30 16:16:00 +09:00
Watson
42409e6554 [NEWS] update
Array#flatten will call two lock/unlock pairs in RoxorCore::respond_to().
  1. 1a7e2efb6f/dispatcher.cpp (L1717-L1720)
  2. 1a7e2efb6f/dispatcher.cpp (L1760-L1762)

So, the one of pair improved 20% performance.
2014-03-30 07:34:41 +09:00
Watson
c238d026a2 sync 2014-03-29 22:50:45 +09:00
Watson
0349389acb [NEWS] Improved fine-grained lock performance 2014-03-29 22:49:36 +09:00
Watson
3244b71da1 [NEWS] update 2014-03-29 22:45:40 +09:00
Watson
7b15e11859 use Xcode5.app to build kernel.c 2014-03-28 11:26:14 +09:00
Eloy Durán
279b2dfd50 [vm] Sync and add NEWS+tests for warning when overriding attr methods. 2014-03-27 20:31:01 +01:00
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