Commit Graph

2165 Commits

Author SHA1 Message Date
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
Laurent Sansonetti
a7dc2b71f8 Merge branch 'master' of github.com:lrz/RubyMotion 2014-03-11 14:58:08 +01:00
Laurent Sansonetti
153c4d2b14 sync 2014-03-11 14:57:57 +01:00
Eloy Durán
e9d6044185 [README] Add link to SDKs and update Xcode section for 5.1. 2014-03-11 13:16:27 +01:00
Laurent Sansonetti
e99ffba35f we not depend on llvm 3.4 2014-03-11 12:48:39 +01:00
Watson
214316ce7d sync 2014-03-10 17:35:10 +09:00
Watson
d779318dae [NEWS] Improved Object#instance_variable_set 2014-03-09 15:08:20 +09:00
Watson
4f4702566e [NEWS] Improved Object#instance_variable_set 2014-03-08 16:32:24 +09:00
Eloy Durán
067e0a0600 Add a failing test for an ImmediateRef dispatching to self.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-443.
2014-03-06 18:09:04 +01:00
Watson
ab6fedc899 sync 2014-03-06 13:24:59 +09:00
Watson
d7d1c02698 sync 2014-03-06 10:38:22 +09:00
Eloy Durán
db4ddbaa32 Add failing test for String#rindex with multibyte chars.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-441
2014-03-05 17:45:40 +01:00
Eloy Durán
7af091acb9 [UI spec] Add failing test for flick and direction.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-439
2014-03-05 17:28:01 +01:00
Eloy Durán
21e0311921 [UI spec] Make tap work with UISwitch.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-440.
2014-03-05 17:28:00 +01:00
Laurent Sansonetti
1c5513e9aa add mention of reverted commit back 2014-03-05 13:41:29 +01:00
Laurent Sansonetti
438a8407f6 sync 2014-03-05 13:41:22 +01:00
Laurent Sansonetti
cf5feb908e 2.25 2014-03-05 13:39:55 +01:00
Laurent Sansonetti
0e6228a545 add magic encoding comments 2014-03-05 13:07:38 +01:00