Commit Graph

300 Commits

Author SHA1 Message Date
Watson
1a64e87371 2.6 2013-07-31 00:00:05 +09:00
Laurent Sansonetti
31df7f7653 support pure NSExceptions 2013-07-30 23:59:04 +09:00
Watson
b149973eba fix a bug in debugger where debugging process will be terminated if press CTRL + C while app is running
rake task receives the signal and it is aborted.
And, GDB process remains as zombie process.

So, rake task ignores the SIGINT if debugger is running
2013-07-30 23:58:57 +09:00
Watson
ec70ec8c28 improve the build system in order to compile spec files with parallel 2013-07-24 23:07:59 +09:00
Watson
a2a983febe Merge pull request #112 from clayallsopp/fix_shell_escape
Fix shell escaping for file names
2013-07-24 07:02:22 -07:00
Clay Allsopp
fed7fde5dd Fix shell escaping for file names 2013-07-23 13:20:40 -07:00
Watson
054b389241 2.5 2013-07-23 23:58:56 +09:00
Laurent Sansonetti
2dbd8e9f09 fix wording + style 2013-07-23 15:35:15 +09:00
Laurent Sansonetti
7021ffc3a4 fix wording 2013-07-23 15:35:10 +09:00
Watson
6e83c0d49d show the message that crash log might have been created 2013-07-23 15:35:02 +09:00
Watson
02582c48b7 add `rake crashlog' task to show a last crash log
http://hipbyte.myjetbrains.com/youtrack/issue/RM-208
2013-07-23 15:34:24 +09:00
Watson
1788c958ac fix a bug in build system where app does not work on iOS5 device
http://hipbyte.myjetbrains.com/youtrack/issue/RM-221

The compile flags for device are missing.
This bug was introduced by 2617e9a3e4
2013-07-20 14:32:47 +09:00
Laurent Sansonetti
89ee47f5c0 remove default exception handlers in main() 2013-07-20 14:32:39 +09:00
Watson
285ddd6a85 fix warning message where it would display "ld: warning: ObjC object file xxxx"
The warning message will be displayed when use Xcode 5 even if deployment_target is not iOS 7.
This will fix c2fc9959ed

% rake
     Build ./build/iPhoneSimulator-6.1-Development
   Compile ./app/app_delegate.rb
    Create ./build/iPhoneSimulator-6.1-Development/hello.app
      Link ./build/iPhoneSimulator-6.1-Development/hello.app/hello
ld: warning: ObjC object file (./build/iPhoneSimulator-6.1-Development/objs/init.o) was compiled for iOS Simulator, but linking for MacOSX
2013-07-13 13:11:23 +09:00
Watson
1ef33c41fe Merge pull request #108 from Tensho/string-deployment-target-sdk-version-comparison
String deployment_target and sdk_version comparison fix
2013-07-12 20:03:41 -07:00
Andrew Babichev
6e2ada4e2d String deployment_target and sdk_version comparison fix 2013-07-12 18:37:57 +03:00
Watson
03dce90535 2.4 2013-07-12 01:02:50 +09:00
Watson
2afbcd0cb1 fix where it does not generate 64bit type into brigesupport in 3rd-party library on MacOSX platform
http://hipbyte.myjetbrains.com/youtrack/issue/RM-192
2013-07-10 21:21:08 +09:00
Watson
1615a36384 fix a bug where `rake' command would re-launch an iOS 7 simulator every time
iOS 7 has only retina simulator and com.apple.iphonesimulator indicates "iPhone Retina (4-inch)" as default.
So, we need to use retina even if it does not configure ENV['retina']
2013-07-10 21:21:01 +09:00
Laurent Sansonetti
22cba43496 rake build now honors the 'keep_temps' env variable, if set, llvm bitcode and asm files will not be deleted from the build directory 2013-07-10 21:20:50 +09:00
Watson
87a8214b5e fix where `rake retina=3.5' does not work with Xcode 5 DP-2 2013-07-10 21:18:10 +09:00
Watson
bc7d3e7ba6 fix a bug where it could not build the 3rd-party library if file path of app contains the spaces
http://hipbyte.myjetbrains.com/youtrack/issue/RM-191
2013-07-03 13:32:23 +09:00
Colin T.A. Gray
4079e017a0 Merge pull request #104 from katsuyoshi/callback_setup_controller
to setup controller using block.
2013-06-29 14:10:15 -07:00
Katsuyoshi Ito
8b73bafe8c to setup controller using block.
I implemented @colinta 's idea which was discussed below link.
https://groups.google.com/d/msg/rubymotion/M9T6LybaEUs/AWip_Vwy5_4J

When you want to setup UIViewController, you can setup it in a block of tests method.

# Example
  describe MyViewController do

    tests MyViewController do |controller|
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-30 00:29:48 +09:00
Colin T.A. Gray
41f1a1e387 Merge pull request #100 from IconoclastLabs/master
Smaller Default Image File Size
2013-06-27 14:06:45 -07:00
Watson
b40a4b55ee fix a bug in `rake device' where it could not build app which has target to less than iOS 7.0
http://hipbyte.myjetbrains.com/youtrack/issue/RM-182

add `-stdlib=libstdc++' for linker
2013-06-27 23:24:03 +09:00
Colin T.A. Gray
e3c87c02ce Merge pull request #76 from tkadauke/install_tasks
Rake tasks that make development and testing easier. Thanks, Thomas!
2013-06-26 09:03:06 -07:00
Watson
431ff1a2c7 2.3 2013-06-25 20:47:45 +09:00
Watson
e9d314ac4a delete trailing whitespaces 2013-06-25 19:59:38 +09:00
Watson
b08aa73697 fix warning message where it would display "warning: no debug symbols in executable (-arch i386)" 2013-06-25 19:48:15 +09:00
Watson
c2fc9959ed fix warning message where it would display "ld: warning: ObjC object file (./build/iPhoneSimulator-7.0-Development/objs/init.o) was compiled for iOS Simulator, but linking for MacOSX"
use "-mios-simulator-version-min" instead of "-miphoneos-version-min"
2013-06-25 19:48:10 +09:00
Laurent Sansonetti
88d35371c9 move resources_dirs into the main config object 2013-06-25 19:48:02 +09:00
Laurent Sansonetti
2f07401cb6 define RUBYMOTION_ENV earlier 2013-06-25 19:46:38 +09:00
Gant
c5e3058f1d Created a smaller default image 2013-06-23 23:26:17 -05:00
Watson
58a77d9b15 refactor #98 2013-06-23 16:50:21 +09:00
Watson
8d9ea3687c Merge pull request #98 from imkmf/78-nib-xib-rake-clean-edits
Adds a check in the `rake clean` process for nib/xib existence.
2013-06-23 00:37:54 -07:00
Colin T.A. Gray
a0a39d5333 AH! Commas! 2013-06-16 20:02:43 -04:00
Laurent Sansonetti
1fb3c6bab0 revert zombie env change because it's going to be implemented into the 'sim' executable instead 2013-06-16 16:56:49 +02:00
Kristian Freeman
076deed9be Adds a check in the rake clean process for nib/xib existence.
Fixes #78 by checking for the existence of a xib when attempting to clean a nib file. If a xib file exists, delete the nib; otherwise, delete it.
2013-06-15 15:35:38 -07:00
Watson
7ea395a1af use local scope variable 2013-06-15 01:25:00 +09:00
Watson
349c3ada05 refactor #92 2013-06-15 01:00:20 +09:00
Colin T.A. Gray
b9cc611643 adds 'skip_build' option to 'rake simulater' (ios) and 'rake run' (osx) 2013-06-14 08:47:54 -06:00
Colin T.A. Gray
806b0db569 Revert "Added "rake sim" to run simulator without recompiling."
This reverts commit 1810044d20.
2013-06-14 08:28:08 -06:00
Colin T.A. Gray
2104880f01 adds output=colorized option 2013-06-13 10:24:04 -06:00
Colin T.A. Gray
370df0d6d2 Revert "use the correct env name", because the arguments passed to rake don't
work how i thought they did ;-)

This reverts commit 95f31bf35f.
2013-06-13 10:08:37 -06:00
Watson
c186f84ff5 2.2 2013-06-14 01:02:53 +09:00
Laurent Sansonetti
5a8179ed95 use llvm-gcc for .rb compilation, retrieve compilers from stable Xcode (in the meantime we really migrate to clang) 2013-06-14 01:02:53 +09:00
Colin T.A. Gray
0345af91b2 added Clay's 'exclude_from_detect_dependencies' feature 2013-06-13 09:38:19 -06:00
Colin T.A. Gray
95f31bf35f use the correct env name 2013-06-13 09:19:28 -06:00
Colin T.A. Gray
0e0ad10f6b added zombies to OSX 2013-06-13 09:12:31 -06:00