From 9cf62a20e3df156ec5161fba817de7b39e8c3ad5 Mon Sep 17 00:00:00 2001 From: Watson Date: Thu, 28 Mar 2013 16:33:57 +0100 Subject: [PATCH 1/5] fix a bug in REPL which often causes an error with "exit" command --- bin/sim.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/sim.m b/bin/sim.m index 6e40a5af..a7da9061 100644 --- a/bin/sim.m +++ b/bin/sim.m @@ -793,7 +793,8 @@ again: add_history([expr UTF8String]); NSString *res = [self replEval:expr]; if (res == nil) { - if ([line compare:@"quit"] == NSOrderedSame) { + if ([line compare:@"quit"] == NSOrderedSame + || [line compare:@"exit"] == NSOrderedSame) { terminate_session(); } break; From 7a8219a108eb0f68725cef8a980bbe18811e9bb1 Mon Sep 17 00:00:00 2001 From: Watson Date: Thu, 28 Mar 2013 17:59:45 +0100 Subject: [PATCH 2/5] add line in NEWS --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c92b505f..b0b1e79f 100644 --- a/NEWS +++ b/NEWS @@ -8,7 +8,7 @@ strings into file. * Fixed a bug in Object#respond_to? which might return true for a method that does not exist. - * Fixed a bug in REPL which often causes an error with "quit" command. + * Fixed a bug in REPL which often causes an error with quit and exit command. * Fixed a bug which AVPlayer#currentTime causes `{?=qiIq}@:' not precompiled' error. * Improved `rake spec' error message to include the details. Thanks to From 42352abb4476c23e9da390d7cf85b3a0fc8444ef Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 2 Apr 2013 12:01:27 +0900 Subject: [PATCH 3/5] fix a bug in build system which does not load all depended frameworks http://hipbyte.myjetbrains.com/youtrack/issue/RM-97 --- lib/motion/project/config.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/motion/project/config.rb b/lib/motion/project/config.rb index b1adc390..04e1ba4b 100644 --- a/lib/motion/project/config.rb +++ b/lib/motion/project/config.rb @@ -319,21 +319,21 @@ EOS def frameworks_dependencies @frameworks_dependencies ||= begin # Compute the list of frameworks, including dependencies, that the project uses. - deps = [] + deps = frameworks.dup.uniq slf = File.join(sdk('iPhoneSimulator'), 'System', 'Library', 'Frameworks') - frameworks.each do |framework| + deps.each do |framework| framework_path = File.join(slf, framework + '.framework', framework) if File.exist?(framework_path) `#{locate_binary('otool')} -L \"#{framework_path}\"`.scan(/\t([^\s]+)\s\(/).each do |dep| # Only care about public, non-umbrella frameworks (for now). if md = dep[0].match(/^\/System\/Library\/Frameworks\/(.+)\.framework\/(.+)$/) and md[1] == md[2] deps << md[1] + deps.uniq! end end end - deps << framework end - deps.uniq! + if @framework_search_paths.empty? deps = deps.select { |dep| File.exist?(File.join(datadir, 'BridgeSupport', dep + '.bridgesupport')) } end From 48b7abf1724a24a743fdf54ca277ae6261725b3a Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 2 Apr 2013 12:14:06 +0900 Subject: [PATCH 4/5] add line in NEWS --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index b0b1e79f..0073e681 100644 --- a/NEWS +++ b/NEWS @@ -27,6 +27,7 @@ on module and then use its method. * Fixed a bug where 'rake device debug=1' will cause a crash when contained UTF-8 characters in app name. + * Fix a bug in build system which does not load all depended frameworks. = RubyMotion 1.34 = From 3ff66ae72cc715aa8828d3abd2ea056299352451 Mon Sep 17 00:00:00 2001 From: Watson Date: Thu, 4 Apr 2013 14:28:35 +0900 Subject: [PATCH 5/5] sync --- NEWS | 4 +++- vm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 0073e681..cca1b5a4 100644 --- a/NEWS +++ b/NEWS @@ -27,7 +27,9 @@ on module and then use its method. * Fixed a bug where 'rake device debug=1' will cause a crash when contained UTF-8 characters in app name. - * Fix a bug in build system which does not load all depended frameworks. + * Fixed a bug in build system which does not load all depended frameworks. + * Fixed a bug in super which fails to look up method in method which called + by super. = RubyMotion 1.34 = diff --git a/vm b/vm index 950af4d1..54340e64 160000 --- a/vm +++ b/vm @@ -1 +1 @@ -Subproject commit 950af4d14fd9beceb4ea7c164b6ba2d511f66e4e +Subproject commit 54340e6477d4dbf96c41963d0c21c92139e02391