Commit Graph

558 Commits

Author SHA1 Message Date
Laurent Sansonetti
ad00a5dc04 fix main activity default value 2014-03-22 13:44:55 +01:00
Eloy Durán
064672443d [iOS] Fail build if one of the resources is a dir called `Resources'.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-450.
2014-03-21 17:07:53 +01:00
Laurent Sansonetti
2e53e30346 better logging: cut the log before starting the activity and silence other packages and showing the log 2014-03-12 19:11:44 +01:00
Laurent Sansonetti
daf264f35a payload logging in debug mode 2014-03-12 17:51:31 +01:00
Laurent Sansonetti
515e62b9d8 rake {simulator,device} now shows application logs in the terminal after running the main activity 2014-03-12 17:51:31 +01:00
Eloy Durán
21e0311921 [UI spec] Make tap work with UISwitch.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-440.
2014-03-05 17:28:00 +01:00
Laurent Sansonetti
0f4374526a remove magic encoding comments from template files (which are not needed) 2014-03-05 12:27:58 +01:00
Laurent Sansonetti
f29d89f89a add magic encoding comments to all ruby source files 2014-03-05 12:20:20 +01:00
Eloy Durán
8407a1cfc0 Replace all pretty quotes with ASCII. 2014-03-04 19:05:57 +01:00
Eloy Durán
3391825c02 [iOS] Make flick UI test helper work on iOS 7.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-437
2014-03-04 15:21:50 +01:00
Eloy Durán
c7a0e3ec72 [sim] Fail when launching in BG but not having configured the app.
Otherwise this leads to an ugly ‘failed to start’ error.
2014-03-03 15:08:07 +01:00
Eloy Durán
b1d6162bc5 [iOS] The iPad 2 (non-retina) also has iOS 7 support. 2014-03-03 12:49:29 +01:00
Eloy Durán
8785fed664 [CodeSign] Another small cleanup. 2014-02-27 16:20:49 +01:00
Eloy Durán
c829719530 [CodeSign] Cleanup. 2014-02-27 16:11:47 +01:00
Eloy Durán
0b2a392f98 [CodeSign] Improve cert finding by only checking codesign identities.
Also move the logic out into a separate util module.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-399.
2014-02-27 16:01:20 +01:00
Eloy Durán
ac0fa61943 [rake/iOS] Fail when trying to use retina=false on iOS >= 7. 2014-02-26 14:22:17 +01:00
Eloy Durán
e06180dbb9 [rake/iOS] Fail when targeting a sim SDK older than deployment target. 2014-02-26 14:03:58 +01:00
Eloy Durán
9f564f0c74 [Command] Use Motion::Util::Version to compare. 2014-02-26 13:50:06 +01:00
Eloy Durán
210a577317 [Version] Add a util class that can be used to compare versions. 2014-02-26 13:27:29 +01:00
Laurent Sansonetti
cde9688ca3 move java classes generation before java compilation 2014-02-18 18:07:36 +01:00
Laurent Sansonetti
d5311e4c04 static generation of java files based on compiler map files 2014-02-18 18:03:14 +01:00
Laurent Sansonetti
1fdf2ba2cc pass -g (not sure if it matters...) 2014-02-18 18:03:14 +01:00
Laurent Sansonetti
7df3cab085 hide stdout output by default (unless --trace is given) 2014-02-18 00:20:36 +01:00
Laurent Sansonetti
ac2a8259e2 create empty build/jni/Android.mk file needed for ndk-gdb 2014-02-17 23:57:45 +01:00
Laurent Sansonetti
66b63363cb rake debug=1 support (work in progress) 2014-02-17 23:54:08 +01:00
Laurent Sansonetti
fc71d725f6 refactoring 2014-02-17 16:28:41 +01:00
Laurent Sansonetti
b7d19d7bdd remove hacks 2014-02-12 16:32:50 +01:00
Mark Rickert
b03584250f Ignore .dat* files on new projects. 2014-02-10 17:36:25 +01:00
Eloy Durán
8354e398e6 [Vendor] When an explicit BS file exists in lib root, use that.
This allows a lib author to override the BS metadata by (manually)
creating and supplying one, which seems to be the case with Joybox.
2014-02-10 17:32:34 +01:00
Eloy Durán
d21302479b [Vendor] Cannot reuse opts[:cflags] if it has been deleted before. 2014-02-07 11:25:37 +01:00
Laurent Sansonetti
6e9afb3248 use app.api_version when generating AndroidManifest.xml 2014-02-06 12:45:09 +01:00
Laurent Sansonetti
3ca2306019 add support for sub-activities 2014-02-06 12:45:09 +01:00
Laurent Sansonetti
d127fd1d32 support for vendored jars 2014-02-06 12:45:09 +01:00
Eloy Durán
663e76738d [Command] Improve create --template description to include URLs. 2014-02-06 11:24:49 +01:00
Eloy Durán
7f79ecd295 [Command] Disable template validation for now.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-418.
2014-02-04 17:03:39 +01:00
Eloy Durán
086d232ba0 [REPL/OSX] Make it work when codesigned and sandboxed.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-410
2014-02-04 14:13:43 +01:00
Joffrey JAFFEUX
c591484394 [command] Fix error where a local was used instead of an ivar 2014-02-04 11:47:41 +01:00
Eloy Durán
62a0db4dc8 [Vendor] BS files for :xcode projects are collected differently than :static. 2014-02-03 19:47:49 +01:00
Eloy Durán
0594026ad7 [Vendor] Always explicitely create the dir where the BS will be stored.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-417.
2014-02-03 16:01:46 +01:00
Eloy Durán
882c7b42dc [Vendor] BS files should also go in the platform specific build dir.
* Because they can be different per platform.
* Because this way they are deleted as part of `rake clean.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-416
2014-02-03 13:18:42 +01:00
Eloy Durán
7556f04d5d [iOS Config] Retrieve DTSDKBuild & DTPlatformBuild programatically.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-415.
2014-02-03 12:33:41 +01:00
Eloy Durán
27369a1e18 [Vendor] Use MACOSX_DEPLOYMENT_TARGET when building for OS X.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-412
2014-01-29 15:19:30 +01:00
Watson
d9accd8b83 fix a bug which `motion update --cache-version=X' is broken
http://hipbyte.myjetbrains.com/youtrack/issue/RM-408
2014-01-29 11:42:41 +09:00
Eloy Durán
d1a9b4e0b1 [Command] Add ANSI support to CLI and use bold to prettify output. 2014-01-27 18:14:32 +01:00
Eloy Durán
f4f60cdee7 [Command] Allow gems to register templates and show in help banner.
Load available templates list as late as possible.
2014-01-27 16:31:52 +01:00
Eloy Durán
5afb52f99c [Command] Use RubyGems to load plugins from gems. 2014-01-27 16:31:26 +01:00
Eloy Durán
de7c7732e8 [Command] Deprecate usage of colons in command names. 2014-01-27 13:37:52 +01:00
Laurent Sansonetti
c46835a2fa fix path 2014-01-23 16:37:33 +01:00
Eloy Durán
fea2150aae [Command] Deprecate Motion::Project::Command, long live Motion::Command!
Some of our commands are not related to ‘a project’ at all, so the
namespacing felt incorrect, but this also helps greatly for the
transition process. I.e. old command plugins will inherit from the
deprecated class and still work and we get to re-use the `Command` name.
2014-01-20 17:56:14 +01:00
Eloy Durán
3be41f3343 [command] Change some validations to show help banner. 2014-01-20 17:56:14 +01:00