111 Commits

Author SHA1 Message Date
Mitchell Hashimoto
f2f58655e8 core: get rid of more references to scope, old terminology 2014-01-21 12:06:04 -08:00
Mitchell Hashimoto
26366d0673 core: remove BasicScope class, not used anymore 2014-01-21 12:04:32 -08:00
Mitchell Hashimoto
a32e154e6e core: use cleaner UI abstractions 2014-01-20 17:18:36 -08:00
Mitchell Hashimoto
fc86a10796 core: only bold when output is part of a machine 2014-01-20 16:37:06 -08:00
Mitchell Hashimoto
714c690d8b Merge pull request #2857 from mitchellh/f-ui-revamp
UI revamp
2014-01-20 16:22:36 -08:00
Carlos López
8d1cc513ec Fixed: dup string if frozen when formatting output for machine. 2014-01-19 14:34:32 +00:00
Mitchell Hashimoto
3f62addac2 core: make output white for now 2014-01-17 21:53:17 -08:00
Mitchell Hashimoto
0eec9aa599 core: extensive tests for Vagrant::UI classes 2014-01-17 21:31:07 -08:00
Mitchell Hashimoto
ac2ca2537d core: Ui color should be red on errors, yellow on warnings 2014-01-17 21:03:05 -08:00
Mitchell Hashimoto
5b449c8000 providers/virtualbox: many detail level output 2014-01-17 21:03:00 -08:00
Mitchell Hashimoto
b557ee5625 core: align text and make sure its all lined up with prefixes 2014-01-17 21:02:59 -08:00
Mitchell Hashimoto
f3d102e069 core: colorize VM output for each VM in a command 2014-01-17 21:02:58 -08:00
Mitchell Hashimoto
afbed7e816 core: add output/detail methods to Ui, prefix with arrows 2014-01-17 21:02:57 -08:00
Mitchell Hashimoto
757ad016b1 core: ctrl-c no longer raises trap-context exception 2013-12-30 12:42:21 -08:00
Mitchell Hashimoto
42a71a953d commands/status: add machine-readable output 2013-11-24 11:11:38 -08:00
Mitchell Hashimoto
c5a7ab7953 core: Add the MachineReadable UI, --machine-readable flag 2013-11-24 11:04:54 -08:00
Mitchell Hashimoto
33a36830fe core: don't output \e[0K on Windows [GH-2246] 2013-09-20 17:20:29 -07:00
Mitchell Hashimoto
5fe8cbb083 Proper clear line text for Cygwin 2013-04-07 13:48:26 -07:00
Mitchell Hashimoto
0874d4a77a Assume Cygwin has a TTY for input [GH-1430] 2013-04-06 16:07:20 -07:00
Mitchell Hashimoto
7446b3c4ef Make the Basic/Colored UI objects threadsafe 2013-04-03 08:31:42 -07:00
Mitchell Hashimoto
7b0745abcc UI objects use "scopes" now 2013-04-03 08:31:42 -07:00
Mitchell Hashimoto
78e9853b71 The resource in the UI doesn't show up if it is nil 2013-02-03 14:20:40 -08:00
Mitchell Hashimoto
a34801588c Handle the case where ctrl-D is pressed on input. 2012-07-11 18:30:37 -07:00
Mitchell Hashimoto
641a8daac8 safe_puts to avoid EPIPE [GH-819] 2012-03-18 17:45:49 -06:00
Mitchell Hashimoto
0b28910b77 Update CHANGELOG + Style 2012-03-09 10:18:40 -08:00
Daniel Simmons
38212969c6 Don't attempt to calculate percentage if total is not set
Prevents a FloatDomainError if the total is zero or not known. Fixes #788.
2012-03-09 11:10:30 +00:00
Mitchell Hashimoto
bab5d7b685 Silent UI can't respond to ask 2012-03-07 22:42:47 -08:00
Mitchell Hashimoto
95b3e9f82f UI errors if a TTY is required and not given 2012-03-07 22:32:44 -08:00
Mitchell Hashimoto
22d042cb94 Vagrant now asks what adapter to bridge to 2012-01-01 00:05:47 -08:00
Mitchell Hashimoto
f65a6c3c6f vagrant ssh -c stderr now goes to stderr on the host as well 2011-12-26 10:03:12 -08:00
Mitchell Hashimoto
5f567f30d8 Provisioner output is now colorized based on stdout/stderr [GH-595] 2011-12-16 17:55:12 -08:00
Mitchell Hashimoto
baba6af4ff Resource prefixes in UI output work 2011-12-10 16:17:09 -08:00
Mitchell Hashimoto
0a47c9d6fa Make log4r a first class dependency as we start to switch to it 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto
282bf37350 Get the tests passing 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
6ea3335de6 DRY up the new UI class a bit 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
d84ec88fae Add color to the colored UI 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
af56c274c0 Add the "Basic" UI for non-colored messages 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
f519434285 Rip out Thor::Shell 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
d4ff392be4 Fix wrong # of argument issue. [closes GH-518]
The second parameter actually is supposed to be options.
2011-10-14 17:19:16 +02:00
Mitchell Hashimoto
3c1b16f286 vagrant ssh -c no longer emits prefix and newlines [closes GH-462] 2011-08-14 13:51:20 -07:00
Lewis Marshall
25dee4ac6d Default Vagrant::UI#clear_line to do nothing [closes GH-466]
This needs to be defined as it is used in Vagrant::Action::VM::Import#call
2011-08-13 18:55:38 -07:00
Mitchell Hashimoto
3f9a2814c7 Clean up some of the UI output 2011-08-10 22:17:37 -07:00
Mitchell Hashimoto
ad36340674 Specify program names for previous logging locations 2011-07-10 16:50:26 -07:00
Mitchell Hashimoto
be3f7ffbfc Log all console output 2011-07-10 16:21:41 -07:00
Mitchell Hashimoto
5143556065 Standardize on Util::Platform 2011-07-09 16:51:04 -07:00
Mitchell Hashimoto
0f3055b968 More Ruby 1.8.7 trickery 2010-09-27 12:21:34 -07:00
Mitchell Hashimoto
8a8d1f84ae A quick 0.6.2 to fix a simple coloring issue :) 2010-09-27 12:19:25 -07:00
Mitchell Hashimoto
1199c89a4a Fix issues with Ruby 1.8.7 where Vagrant wouldn't even run 2010-09-27 12:10:17 -07:00
Mitchell Hashimoto
caa80d54ac Don't use Ruby 1.9-only code 2010-09-27 12:01:56 -07:00
Mitchell Hashimoto
b909adde1c Since I18n isn't automatic for UI class, get rid of _ prefix on options 2010-09-21 18:14:18 -06:00