Commit Graph

398 Commits

Author SHA1 Message Date
Laurent Sansonetti
2bc5b334cd add 'motion device:console' command 2013-08-26 15:20:40 +02:00
Laurent Sansonetti
9b3619c210 better indent 2013-08-26 15:20:22 +02:00
Laurent Sansonetti
d8cb48e4d0 better message 2013-08-26 14:26:43 +02:00
Watson
c13e0afb6c fix a bug where ARR_CYCLES_DISABLE are disabled with distributed app
In order to enable ARR_CYCLES_DISABLE, we need to set ARR_CYCLES_DISABLE as environment variable when launch the app.
So, embedded ARR_CYCLES_DISABLE variable into app

http://hipbyte.myjetbrains.com/youtrack/issue/RM-245
2013-08-23 12:33:49 +09:00
Laurent Sansonetti
54914a528a app.vendor_projects is defined in config.rb, not xcode_config.rb 2013-08-20 18:01:39 +02:00
Laurent Sansonetti
ab276a5d18 build the bs flags only once 2013-08-20 18:01:21 +02:00
Watson
7bcf279148 add Gemfile into gem template 2013-08-19 17:16:36 +09:00
Watson
11f1e0eeaf add *.gem into .gitignore in gem template 2013-08-19 16:56:07 +09:00
Watson
60f1b37bb6 add 'rake' gem into Gemfile because `bundle exec rake' cause a Gem::LoadError
If run `bundle exec rake' without `rake' gem, the following error is occurred.
% bundle exec rake
/Users/watson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /Users/watson/.rbenv/versions/2.0.0-p247/bin/rake:22:in `<main>'
2013-08-19 16:08:52 +09:00
Watson
99839d5e7e add convenient rake task with "gem" namespace which is contained in "bundler/gem_tasks" 2013-08-19 15:54:20 +09:00
Joffrey Jaffeux
824707cbde Check if /Library/RubyMotion.old already exists 2013-08-17 22:29:16 +09:00
Joffrey Jaffeux
d03063c1a6 fix error in wanted_software_version check 2013-08-17 22:29:16 +09:00
Joffrey Jaffeux
5202936ac6 add support for multiple rubymotion versions on one machine 2013-08-17 22:29:16 +09:00
Laurent Sansonetti
3767d0eff4 integrate Bundler 2013-08-17 14:09:24 +02:00
Laurent Sansonetti
c0fdf58e1a add support for spritekit atlas files 2013-08-16 22:37:24 +02:00
Laurent Sansonetti
fd6255ec0b OSX: add app.codesign_for_development Rakefile variable to enable codesign during development (normally only done in release builds) 2013-08-11 21:23:03 +02:00
Laurent Sansonetti
022c504a80 revert 9e8b17013c since the problem seems to have disappeared in master 2013-08-10 14:44:51 +02:00
Laurent Sansonetti
9e8b17013c osx: only strip x86_64 symbols 2013-08-09 16:44:28 +02:00
Mark Rickert
6c146a9021 Fix typo - LSApplicationCategoryType 2013-08-08 08:13:38 +09:00
Mark Rickert
80687c78d0 Updated code based on Laurent's suggestion. 2013-08-08 08:13:34 +09:00
Mark Rickert
42d720a22e Added a default value for LSApplicationCategoryType (utilities). Extracted hash to its own method. 2013-08-08 08:13:30 +09:00
Mark Rickert
06e1efee8e Rename @app_store_category to just @category 2013-08-08 08:13:19 +09:00
Mark Rickert
26d52f0daa Support app_store_category config var for OSX apps.
Allows you to set app_store category configuration value instead of doing this:

app.info_plist['LSApplicationCategoryType'] = 'public.app-category.developer-tools'

This allows you to specify:

app.app_store_category = 'developer-tools'
 - or -
app.app_store_category = 'public.app-category.developer-tools'
2013-08-08 08:13:09 +09:00
Dan Loewenherz
e847b8c924 update copy for post-update for motion changelog command 2013-08-08 08:12:17 +09:00
Dan Loewenherz
a0ff6cc464 use system pager to display changelog messages 2013-08-08 08:12:12 +09:00
Dan Loewenherz
98d4ddf5b0 add command line shortcut to view changelog
I keep forgetting where this file lives (and like to refer to it pretty often), so I figured it might be a nice thing to expose in the motion command.
2013-08-08 08:12:07 +09:00
Laurent Sansonetti
b3ccf122ff app.short_version defaults to app.version 2013-08-08 01:01:22 +02:00
Watson
8e404a3cf3 fix a mistake in 7fffe1ae44 2013-08-07 23:51:34 +09:00
Watson
d2687f2f38 fix a bug in `rake spec' which always return exit(0) status 2013-08-07 22:49:55 +09:00
Laurent Sansonetti
9d95a7211d refactor crash message + fix wording 2013-08-07 15:17:28 +02:00
Laurent Sansonetti
ab129f4aa9 Merge branch 'master' of github.com:lrz/RubyMotion 2013-08-07 14:31:12 +02:00
Laurent Sansonetti
ee7ceb0d1f fix escaping + print message if there are no crash logs 2013-08-07 14:30:43 +02:00
Chris Radford
785fd65d59 Update to add new status bar style
Added UIStatusBarStyleLightContent as an option for status_bar_style, a new option added in iOS7.
2013-08-07 20:31:47 +09:00
Laurent Sansonetti
2ee0de0747 support pure NSExceptions 2013-07-30 14:59:25 +02:00
Watson
bfac409496 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 00:54:28 +09:00
Clay Allsopp
ed0fcf5455 Fix shell escaping for file names 2013-07-24 23:04:07 +09:00
Watson
6164f93ed8 improve the build system in order to compile spec files with parallel 2013-07-24 21:48:11 +09:00
Laurent Sansonetti
aa668c58a7 fix wording + style 2013-07-22 20:24:04 +02:00
Laurent Sansonetti
59e829527e fix wording 2013-07-22 20:19:06 +02:00
Watson
81e6ee5666 show the message that crash log might have been created 2013-07-23 02:30:56 +09:00
Watson
1795f11a0f move `rake crashlog' task into project.rb 2013-07-22 20:18:18 +09:00
Watson
83764c4c07 add `rake crashlog' task to show a last crash log
http://hipbyte.myjetbrains.com/youtrack/issue/RM-208
2013-07-22 14:41:55 +09:00
Watson
3b75fb79ee 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 12:32:55 +09:00
Laurent Sansonetti
e0aca0e09e remove default exception handlers in main() 2013-07-19 18:05:19 +02:00
Watson
3d6ac4fea6 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:04:46 +09:00
Andrew Babichev
6ae8b7b23e String deployment_target and sdk_version comparison fix 2013-07-13 12:05:44 +09:00
Watson
a8a76ad537 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 11:03:39 +09:00
Watson
f388e17d47 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-09 20:42:16 +09:00
Laurent Sansonetti
9416484344 Merge branch 'master' of github.com:lrz/RubyMotion 2013-07-04 15:13:15 +02:00
Laurent Sansonetti
1047948afc 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-04 15:11:36 +02:00