Commit Graph

1226 Commits

Author SHA1 Message Date
Laurent Sansonetti
eea624e43d new tests 2013-07-01 18:28:23 +02:00
Watson
13b2e67fc9 add the tests which causes compile error
% rake spec
require 'motion/project' is deprecated, please require 'motion/project/template/ios' instead
     Build ./build/iPhoneSimulator-7.0-Development
     Build vendor/code
   Compile ./spec/compile/compile1_spec.rb
Instruction does not dominate all uses!
  %16 = call i32* @vm_block_dvar_slot(i8* %15, i32 0)
  %27 = load i32* %16
2013-07-01 14:15:01 +09:00
Laurent Sansonetti
193e7c7524 add test for RM-118 2013-07-01 00:34:12 +02:00
Laurent Sansonetti
c01912f28f sync 2013-07-01 00:09:47 +02:00
Laurent Sansonetti
b63fb9cbe5 add block tests 2013-07-01 00:09:39 +02:00
Watson
f37c5d37a8 sync 2013-07-01 02:20:19 +09:00
Watson
d3810ee6d8 sync 2013-07-01 01:52:32 +09:00
Watson
c5f7d55273 add line in NEWS 2013-06-30 13:07:27 +09:00
Katsuyoshi Ito
30aa719082 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 13:00:52 +09:00
Watson
401137639b add the target 2013-06-29 13:48:27 +09:00
Watson
436eae4b22 update to Xcode5-DP2 2013-06-29 13:41:53 +09:00
Watson
cd1f94f1ef add line in NEWS 2013-06-29 13:41:39 +09:00
Watson
56a4a9381f fix where `rake retina=3.5' does not work with Xcode 5 DP-2 2013-06-29 13:29:39 +09:00
Watson
7402badb25 update 2013-06-29 08:11:16 +09:00
Watson
c7fad6732b sync 2013-06-29 01:48:51 +09:00
Watson
ae541f7c96 sync 2013-06-28 19:56:43 +09:00
Gant
e4aa4bef9b Created a smaller default image 2013-06-28 19:52:01 +09:00
Watson
7e9a09005a sync 2013-06-28 16:38:45 +09:00
Watson
1d19b3be22 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-26 14:51:25 +09:00
Watson
484aca3a66 Revert "fix a bug in `rake device' where it could not build app which has target to less than iOS 7.0"
This reverts commit d3e1ebac00.
2013-06-26 14:49:39 +09:00
Watson
ad47cab628 add line in NEWS 2013-06-26 12:44:41 +09:00
Watson
d3e1ebac00 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-26 12:41:42 +09:00
Laurent Sansonetti
e3b1e9de5d add android project template (work in progress) 2013-06-25 16:16:15 +02:00
Laurent Sansonetti
ea9fba0f40 2.4 2013-06-25 16:15:58 +02:00
Laurent Sansonetti
e91258d836 sync 2013-06-25 13:00:18 +02:00
Laurent Sansonetti
0e81a7d154 don't install android files 2013-06-25 13:00:00 +02:00
Laurent Sansonetti
79db2c4fde include objc/NSObject.h in Foundation.bridgesupport 2013-06-24 22:00:08 +02:00
Watson
460f495fd6 add line in NEWS 2013-06-24 22:58:06 +09:00
Watson
dee029a36b fix a bug in brigesupport where it is missing NSObject methods
http://hipbyte.myjetbrains.com/youtrack/issue/RM-171

To fix a bug, it passes TARGET_OS_IPHONE for iOS and TARGET_OS_MAC for OSX when generate brigesupport files.
2013-06-24 22:40:03 +09:00
Watson
8ba08dfaf6 add line in NEWS 2013-06-23 17:01:22 +09:00
Kristian Freeman
d193d6dd4b 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-23 16:57:12 +09:00
Watson
5573cc39b6 add line in NEWS 2013-06-23 15:52:51 +09:00
Watson
64abb061e6 fix warning message where it would display "warning: no debug symbols in executable (-arch i386)" 2013-06-23 15:44:15 +09:00
Watson
2617e9a3e4 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-23 15:43:23 +09:00
Watson
7298652ba0 sync 2013-06-20 13:17:12 +09:00
Laurent Sansonetti
0993cb0cec move resources_dirs into the main config object 2013-06-19 12:40:18 +02:00
Watson
490debf0b4 sync 2013-06-17 14:35:35 +09:00
Colin T.A. Gray
24b7c9b128 fix the bug in output=colorized which cause a syntax error with system default Ruby1.8 2013-06-17 09:07:29 +09:00
Watson
1a2b4755d2 fix NEWS 2013-06-17 08:22:08 +09:00
Watson
b7ad74a86a add line in NEWS 2013-06-17 08:21:12 +09:00
Colin T.A. Gray
cb3d1438dc adds output=colorized option 2013-06-17 08:20:15 +09:00
Watson
fcf437c351 add line in NEWS 2013-06-17 08:20:02 +09:00
Colin T.A. Gray
11830eade4 added Clay's 'exclude_from_detect_dependencies' feature 2013-06-17 08:14:05 +09:00
Watson
3d72016916 add line in NEWS 2013-06-17 08:10:42 +09:00
Clay Allsopp
b4dd043ab3 set spec_mode and distribution_mode without setup 2013-06-17 08:08:08 +09:00
Watson
dbef9c97dc add line in NEWS 2013-06-17 08:07:05 +09:00
Colin T.A. Gray
313f2470f3 adds 'skip_build' option to 'rake simulater' (ios) and 'rake run' (osx) 2013-06-17 08:05:35 +09:00
Watson
f544fac30c add line in NEWS 2013-06-17 08:00:39 +09:00
Katsuyoshi Ito
c2e4ee81f1 add callback after created controller.
Sometimes view controller has a data.
The controller was set as a root view controller to the window before called "before" block.
But a data is not set at this point.
The view controller access to nil, and crash sometime even if I set a data in "before" block.

After created controller it will call the specified callback method if you set :after_created option

# Example
  describe MyViewController do

    tests MyViewController, after_created: :after_created_controller

    def after_created_controller controller
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-17 07:57:44 +09:00
Watson
d7538ceb46 add line in NEWS 2013-06-17 07:54:38 +09:00