Commit Graph

361 Commits

Author SHA1 Message Date
Laurent Sansonetti
2bf5bf8d5d escape --isysroot argument 2013-09-26 07:34:02 +09:00
Watson
7f14980b26 fix a bug in `motion update' where comparing version will do unexpected behavior using the string
"2.9" > "2.10" #=> true

So, when we released version 2.10,
Prompting message to update that may not be appeared.
2013-09-26 07:33:49 +09:00
Laurent Sansonetti
3505592f3e Merge pull request #121 from bracki/patch-1
Always copy over embedded.mobileprovision
2013-09-19 06:13:00 -07:00
Watson
3a0622a9aa fix a bug where "motion device:console" is using same class name with "changelog" command.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-258
2013-09-16 13:25:36 +09:00
Watson
bca9b16dc0 2.9 2013-09-15 10:14:50 +09:00
Watson
d9ca43578b update README.rdoc 2013-09-13 12:33:09 +09:00
Watson
582ff261d4 2.8 2013-09-12 23:23:17 +09:00
Laurent Sansonetti
377919cc21 allow users to customize archs 2013-09-12 22:02:26 +09:00
Watson
0feac329a8 generate 64bit type in bridgesupport if iOS SDK >= 7.0 2013-09-12 22:02:11 +09:00
Laurent Sansonetti
14f0cb174d dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release) 2013-09-12 22:01:49 +09:00
Laurent Sansonetti
f0cc8b08ba ios: in development mode, only build for i386/armv[6-7] for faster builds 2013-09-12 22:01:42 +09:00
Laurent Sansonetti
9e6d0ea003 more arm64 support 2013-09-12 22:01:31 +09:00
Laurent Sansonetti
2280ff0db6 no longer need llc 2013-09-12 21:59:49 +09:00
Laurent Sansonetti
ca96d14e75 now always use clang 2013-09-12 21:58:58 +09:00
Watson
4387f74e0e fix a bug in build system where it cannot build app with Korean as app.name
http://hipbyte.myjetbrains.com/youtrack/issue/RM-247

1)
  String#encode cannot convert from UTF8-MAC to UTF-8 propery.
  Looks like iconv library handles it, however Ruby 2.0 does not bundle iconv library.
  So, we need to bundle the tool/library to convert the encoding using the Objective-C API in order to convert reliably.

  If we bundled it as Ruby C extension library, it will not work between 1.8/1.9/2.0 because Ruby 1.8/1.9/2.0 have not binary compatibility.
  So, we need to bundle three binaries for 1.8/1.9/2.0.

  Therefore, we bundles an executable binary to convert the encoding.

2)
  If we converted from NFD to NFC, it might not match between original NFC and converted NFC even if we used Objective-C API.
  We should normalized with NFD where it handles the string which retrived from filesystem.
2013-09-12 21:58:05 +09:00
Watson
dccfeb7594 Merge pull request #128 from jamonholmgren/bugfix_update_template_working_tree
Fixed issue where template working trees would not be updated upon git pull
2013-09-06 08:29:01 -07:00
Watson
d6443756bc Merge pull request #129 from hboon/fix-platform-name-in-info-plist
Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName)
2013-09-06 08:09:45 -07:00
Hwee-Boon Yar
794b0506af Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName) 2013-09-06 22:50:48 +08:00
Jamon Holmgren
824166b52b Fixed issue where template working trees would not be updated upon git pull 2013-09-04 08:59:25 -07:00
Watson
e72e1a5e35 Merge pull request #125 from clayallsopp/fix_update
Fix character encoding in UpdateCommand#run
2013-08-27 21:14:43 -07:00
Clay Allsopp
c9bd8459df fix characters in UpdateCommand#run
see https://gist.github.com/clayallsopp/6360189
2013-08-27 16:06:49 -07:00
Watson
ac2adc65a1 2.7 2013-08-27 00:28:34 +09:00
Laurent Sansonetti
93f2ac0c59 add 'motion device:console' command 2013-08-27 00:27:24 +09:00
Laurent Sansonetti
b2c8318954 better indent 2013-08-27 00:27:18 +09:00
Laurent Sansonetti
528667b09f better message 2013-08-27 00:27:12 +09:00
Watson
ee06e07cde 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-25 22:05:07 +09:00
Watson
790107a8d4 add a copyright in lldb.py 2013-08-25 22:04:49 +09:00
Laurent Sansonetti
04e5c8f92e app.vendor_projects is defined in config.rb, not xcode_config.rb 2013-08-25 22:04:44 +09:00
Laurent Sansonetti
0739b4852b build the bs flags only once 2013-08-25 22:04:38 +09:00
Jan Brauer
d98894eb11 Always copy embedded.mobileprovision
The `embedded.mobileprovision` should always be copied over in the codesign step. Otherwise subsequent builds with a different provisioning profile will build an incorrect app bundle.
Example use case:
```
rake enterprise # Build an adhoc distribution
rake appstore # Build an appstore release
```
2013-08-20 09:31:48 +02:00
Watson
94bebac686 add Gemfile into gem template 2013-08-20 07:38:10 +09:00
Watson
c96321cd85 add *.gem into .gitignore in gem template 2013-08-20 07:38:00 +09:00
Watson
df5ff5ed1c 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-20 07:37:53 +09:00
Watson
3b95fa1dce add convenient rake task with "gem" namespace which is contained in "bundler/gem_tasks" 2013-08-20 07:37:47 +09:00
Laurent Sansonetti
fbde6cf83f integrate Bundler 2013-08-20 07:37:30 +09:00
Laurent Sansonetti
fa5169f795 add support for spritekit atlas files 2013-08-20 07:37:17 +09:00
Laurent Sansonetti
b6c52e3b49 OSX: add app.codesign_for_development Rakefile variable to enable codesign during development (normally only done in release builds) 2013-08-20 07:37:05 +09:00
Laurent Sansonetti
3a4fbb6cb7 revert 9e8b17013c since the problem seems to have disappeared in master 2013-08-20 07:36:29 +09:00
Laurent Sansonetti
c285b33547 osx: only strip x86_64 symbols 2013-08-20 07:36:12 +09:00
Laurent Sansonetti
32945497ca Merge pull request #118 from HipByte/multiple-rm-versions
allez zou
2013-08-16 13:43:00 -07:00
Joffrey Jaffeux
5704a6b9dd Check if /Library/RubyMotion.old already exists 2013-08-16 22:37:34 +02:00
Joffrey Jaffeux
845741278d fix error in wanted_software_version check 2013-08-09 15:35:17 +02:00
Joffrey Jaffeux
31f33b9fcc add support for multiple rubymotion versions on one machine 2013-08-09 14:17:04 +02:00
Watson
4f97c37a2f add builtin command for lldb 2013-08-08 08:17:45 +09:00
Laurent Sansonetti
7ab5b54439 app.short_version defaults to app.version 2013-08-08 08:16:39 +09:00
Laurent Sansonetti
803a8a0bf6 Merge pull request #115 from markrickert/add-app-store-category
Support app_store_category config var for OSX apps.
2013-08-07 15:52:38 -07:00
Laurent Sansonetti
0cdfe39e99 Merge pull request #107 from dlo/master
Add command line shortcut to view changelog
2013-08-07 15:51:58 -07:00
Dan Loewenherz
330a46d216 update copy for post-update for motion changelog command 2013-08-07 14:30:12 -04:00
Dan Loewenherz
8a55188b49 use system pager to display changelog messages 2013-08-07 14:29:16 -04:00
Watson
87b8ebe37c fix a mistake in 7fffe1ae44 2013-08-07 23:52:34 +09:00