Commit Graph

1065 Commits

Author SHA1 Message Date
Laurent Sansonetti
c4fc96bff3 add command-line plugins 2013-05-04 18:59:53 +02:00
Watson
f0d43a489f not handle CoreGraphics framework when is included by other framework because it causes duplicate symbol error
duplicate symbol ___concrete__CGPointMake in:
    /Library/RubyMotion/data/osx/10.8/MacOSX/CoreGraphics_stubs.o
    /Library/RubyMotion/data/osx/10.8/MacOSX/ApplicationServices_stubs.o
2013-05-05 00:14:33 +09:00
Watson
117b990a87 ignore `deprecated' warnings when build bridgesupport stub files
ignore the following warnings:

osx/10.8/BridgeSupport/ApplicationServices_stubs.m:3: warning: ‘CMBitmapCallBackUPP’ is deprecated
2013-05-04 23:40:36 +09:00
Watson
4d6061ea82 osx: generate brigesupport file for nest frameworks
Quartz.framework, WebKit.framework and some frameworks contain the other frameworks
2013-05-04 23:38:46 +09:00
Watson
6f74fd29ef convert string to integer 2013-05-04 09:10:08 +09:00
Watson
287a19f38e osx: check the osx version to detect default SDK 2013-05-04 00:30:43 +09:00
Laurent Sansonetti
88a76e06f6 sync 2013-05-03 15:39:10 +02:00
Laurent Sansonetti
4eb7f8da95 strip symbols from llc/ruby binaries 2013-05-03 15:34:14 +02:00
Laurent Sansonetti
41064b5e61 Merge branch 'master' of github.com:lrz/RubyMotion 2013-05-03 11:19:41 +02:00
Laurent Sansonetti
f21d84a1a9 sync 2013-05-03 11:19:35 +02:00
Watson
9764875efe fix typo 2013-05-03 05:32:32 +09:00
Watson
4304aaadc9 fix a regression of 5a39c5f381 2013-05-03 05:31:31 +09:00
Laurent Sansonetti
00145b4b6c typo 2013-05-02 20:40:50 +02:00
Laurent Sansonetti
7e327a9b5b sync 2013-05-02 20:36:50 +02:00
Laurent Sansonetti
4897d5fb16 allow 3rd-party templates to be located in ~/Library/RubyMotion/template 2013-05-02 20:36:38 +02:00
Laurent Sansonetti
675481a6de sync 2013-05-02 20:03:29 +02:00
Laurent Sansonetti
7abda7c76e sync 2013-05-02 18:56:47 +02:00
Laurent Sansonetti
8eb18c5362 sync 2013-05-02 17:54:16 +02:00
Laurent Sansonetti
7e7f8db7e7 sync + starting fixing english 2013-05-02 17:54:10 +02:00
Watson
0807876888 add line in NEWS 2013-05-02 21:06:26 +09:00
Laurent Sansonetti
45f789996e sync 2013-05-02 13:53:18 +02:00
Laurent Sansonetti
9b1763c9e6 Merge branch 'master' of github.com:lrz/RubyMotion 2013-05-02 13:52:20 +02:00
Laurent Sansonetti
81479771f2 osx: i386 support 2013-05-02 13:51:28 +02:00
Watson
f76139c3d6 sync 2013-05-02 18:38:57 +09:00
Watson
dca2549d95 osx: load all depended frameworks 2013-05-02 18:37:48 +09:00
Watson
5276062e3a osx: move the app window to foreground 2013-05-01 01:39:54 +09:00
Laurent Sansonetti
9a1576debf osx repl: save history, quit app upon SIGINT 2013-04-30 17:03:56 +02:00
Laurent Sansonetti
f20f3cd5b7 sync 2013-04-30 14:33:38 +02:00
Laurent Sansonetti
21aacfd769 fixed a bug when receiving too much input from the repl evaluator 2013-04-30 14:32:22 +02:00
Laurent Sansonetti
bae811b0ef add tests for Struct 2013-04-30 14:31:02 +02:00
Laurent Sansonetti
7b97a987fa sync 2013-04-30 14:30:40 +02:00
Watson
e4ebfcdb4c delete trailing whitespaces 2013-04-30 08:36:43 +09:00
Laurent Sansonetti
1024b202c4 install new executables 2013-04-30 01:03:50 +02:00
Laurent Sansonetti
4df5b0a356 quote executable 2013-04-30 00:21:27 +02:00
Laurent Sansonetti
08a8873c90 oops 2013-04-29 21:09:23 +02:00
Laurent Sansonetti
8f91c9a052 Merge branch 'master' of github.com:lrz/RubyMotion 2013-04-29 21:07:54 +02:00
Laurent Sansonetti
c7152c8143 add osx repl 2013-04-29 21:07:39 +02:00
Watson
0c10064426 refactor 2013-04-30 01:24:30 +09:00
Watson
0410711198 more fix in detecting file dependencies
if add the constant name into @defined and @referred in #on_const_path_ref,
it might not detect dependencies.
2013-04-29 22:05:28 +09:00
Watson
8591584570 make sure to create a Resources directory for mac
Fix the following error:

$ motion create hello --template=osx
$ cd hello
$ rm -rf resources
$ rake
     Build ./build/MacOSX-10.8-Development
   Compile ./app/app_delegate.rb
   Compile ./app/menu.rb
    Create ./build/MacOSX-10.8-Development/hello.app/Contents
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS
      Link ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS/hello
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/Info.plist
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/PkgInfo
rake aborted!
No such file or directory - ./build/MacOSX-10.8-Development/hello.app/Contents/Resources
2013-04-29 12:28:09 +09:00
Watson
027df612ab Revert "make sure to create a Resources directory for mac"
This reverts commit 71ed8ce9b3.

This changing causes the following error:
% mkdir -p resources/en.lproj
% touch resources/en.lproj/InfoPlist.strings
% rake
     Build ./build/iPhoneSimulator-6.1-Development
   Compile ./app/app_delegate.rb
    Create ./build/iPhoneSimulator-6.1-Development/tt.app
      Link ./build/iPhoneSimulator-6.1-Development/tt.app/tt
    Create ./build/iPhoneSimulator-6.1-Development/tt.app/Info.plist
    Create ./build/iPhoneSimulator-6.1-Development/tt.app/PkgInfo
      Copy ./resources/Default-568h@2x.png
      Copy ./resources/en.lproj/InfoPlist.strings
rake aborted!
2013-04-29 12:25:56 +09:00
Watson
2bbc2752cd forget to add a passing argument into another build_file.call 2013-04-28 20:23:28 +09:00
Laurent Sansonetti
2c3d0e2686 install ios platform files 2013-04-27 21:11:25 +02:00
Laurent Sansonetti
c252ba9b3a Merge branch 'master' of github.com:lrz/RubyMotion 2013-04-27 16:10:57 +02:00
Laurent Sansonetti
611d52427d more work on osx template: create empty window, add Credits.rtf file 2013-04-27 16:10:13 +02:00
Laurent Sansonetti
2d9d4aa487 mark file as utf-8 2013-04-27 16:09:35 +02:00
Watson
71ed8ce9b3 make sure to create a Resources directory for mac
Fix the following error:

$ motion create hello --template=osx
$ cd hello
$ rm -rf resources
$ rake
     Build ./build/MacOSX-10.8-Development
   Compile ./app/app_delegate.rb
   Compile ./app/menu.rb
    Create ./build/MacOSX-10.8-Development/hello.app/Contents
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS
      Link ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS/hello
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/Info.plist
    Create ./build/MacOSX-10.8-Development/hello.app/Contents/PkgInfo
rake aborted!
No such file or directory - ./build/MacOSX-10.8-Development/hello.app/Contents/Resources
2013-04-27 11:02:12 +09:00
Watson
872683e177 pass the build directory as block parameter
Proc does not introduce a variable as Proc's scope.
When build process is worked in parallel, the value of the variable is updated in the another build process.
2013-04-27 10:05:23 +09:00
Laurent Sansonetti
6e9ea5d7ce sync 2013-04-27 01:50:38 +02:00
Laurent Sansonetti
2696f6d4e0 add menu 2013-04-27 01:50:06 +02:00