From 6fb0a8184fd5cfa53faca2dce7bf722f95364afd Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Sun, 17 Jun 2012 16:26:59 +0200 Subject: [PATCH] 1.12 --- NEWS | 30 ++++++++++++++++++++++++++++++ Rakefile | 4 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index dd633ad7..88ffd7ea 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,33 @@ += RubyMotion 1.12 = + + * Fixed a bug where sending an `init' message alone (without using `alloc' + before) would lead to a memory crash. This was possible when overloading + an initWith* method and doing `self.init' inside. + * Fixed a bug where performing Objective-C methods that accept CFType objects + would crash the program (ex. [ABPersonViewController setDisplayedPerson:]). + * Switched to clang++ to link the executable bits. This fixes linker crashes + on iOS 6.0. + * Added `fast' output for `rake spec'. Fixed a bug in the other outputs. + Patch by Marin Usalj. + * Improved the build system to let the user specify CPU archs that should be + used for a certain platform. The `app.archs' method returns a Hash that one + can tweak. This is so far only useful when you target 4.3 (which is armv6 + and armv7) and want to link with a 3rd-party library that only supports + armv7 (ex. app.archs['iPhoneOS'] = ['armv7']). + * Improved `rake simulator' to honor the `deployment_target' environment + variable (ex. rake deployment_target=4.3). Patch by Satoshi Ebisawa. + * Fixed a bug in the build system where the compiler would not use the right + BridgeSupport files when using a lower deployment_target. + Patch by Satoshi Ebisawa. + * Fixed the build system to re-link the .app executable in case one of the + vendored libraries changed. + * Fixed bugs in both ARM/simulator compilers where structures smaller than + 64-bit would not be following the ABI and causing unexpected behavior in + certain cases (ex. cocos2d). Thanks to Aaron Hurley for the detective work. + * Removed Kernel#select as it clashes with a private `select' method defined + by iOS and triggered when hittin the select button in a paste action. + Thanks to Francis Chong for the detective work. + = RubyMotion 1.11 = * Fixed a bug where the runtime would not allow `nil' to be passed as a diff --git a/Rakefile b/Rakefile index 2ed2c4c0..ee4ec5a6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ -PLATFORMS_DIR = '/Applications/Xcode.app/Contents/Developer/Platforms' -PROJECT_VERSION = '1.11' +PROJECT_VERSION = '1.12' +PLATFORMS_DIR = (ENV['PLATFORMS_DIR'] || '/Applications/Xcode.app/Contents/Developer/Platforms') sim_sdks = Dir.glob(File.join(PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk')).map do |path| File.basename(path).scan(/^iPhoneSimulator(.+)\.sdk$/)[0][0]