Fabien Potencier
15bede5a63
[Console] refactored style management
...
The current code was broken when a style was defined inline:
<bg=black>Foo</bg=black>
When creatin a new style formatter, it's better to let the formatter
apply the style to the text.
2011-05-23 16:54:36 +02:00
Fabien Potencier
5ad2ff0595
[Console] added the possibility to pass a default value for DialodHelper::askAndValidate()
2011-05-20 08:24:54 +02:00
Fabien Potencier
b6a8f3a267
[Console] fixed typo
2011-05-17 10:27:02 +02:00
Fabien Potencier
6308f93c64
[Console] added some explanation on how DialogHelper::askAndValidate works
2011-05-17 10:26:33 +02:00
Hugo Hamon
c6bd284ecd
[Console] fixed phpdoc for Command class.
2011-04-30 22:17:30 +02:00
Eriksen Costa
164ce5210d
capitalized 'boolean'
2011-04-27 02:35:10 -03:00
Eriksen Costa
4db0752894
replaced 'bool' with 'Boolean'
2011-04-27 02:35:03 -03:00
Victor Berchet
f83e92bf44
Make casting scalar to array consistent
2011-04-26 12:16:35 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Pascal Borreli
b5769c52d6
Fixed various typo
2011-04-22 23:12:50 +00:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Fabien Potencier
514133a6bb
[Console] made ApplicationTester::getDisplay() work even in case of an error during execution and changed returned value of ApplicationTester to the command exit code
2011-04-03 23:46:08 +02:00
Fabien Potencier
dd158a2c99
[Console] made CommandTester::getDispaly() work even in case of an error during execution
2011-04-03 23:25:59 +02:00
Fabien Potencier
ad4a0bda1c
[Console] changed returned value of CommandTester to the command exit code
2011-04-03 22:30:40 +02:00
Fabien Potencier
1ec2886546
[Console] fixed previous commit
2011-03-29 22:03:29 +02:00
Fabien Potencier
49d67645d7
[Console] moved Output constants to OutputInterface
2011-03-29 21:53:28 +02:00
Fabien Potencier
e232218eed
[Console] fixed PHP notice
2011-03-24 13:30:27 +01:00
Fabien Potencier
9206af1773
[Console] tagged the guaranteed BC API
2011-03-24 09:39:53 +01:00
ever.zet
3e7fa82f34
[Console] privatized protected variables, cuz they now have getters/setters
2011-03-17 18:51:37 +02:00
ever.zet
aa084dbc45
[Console] moved whole constructor definitions in one line
2011-03-17 18:51:01 +02:00
ever.zet
8b885a991c
[Console] updated console and stream outputs to support new output formatter
2011-03-17 17:53:46 +02:00
ever.zet
644cf612b3
[Console] updated console output to support new output formatter and styles
2011-03-17 17:52:36 +02:00
ever.zet
4fe2efd49e
[Console] implemented output formatter to decorate and format output messages
2011-03-17 17:51:49 +02:00
ever.zet
e5700b817b
[Console] implemented output formatter style class for defining custom styles
2011-03-17 17:51:25 +02:00
ever.zet
65681cdc85
[Console] added output formatter interfaces
2011-03-17 17:50:42 +02:00
Fabien Potencier
49e3494560
[Console] fixed typo
2011-03-14 12:56:59 +01:00
Fabien Potencier
dcc1948fb6
Merge remote branch 'everzet/console-privatisation-errors'
...
* everzet/console-privatisation-errors:
if we moved definition under private area, than we need to use only public API for that, to be able to redefine it is subclasses
start => finish, begin => end. Mixing them is a bad choice.
ability to define custom regex's for style placeholders
we need ability to get style parameters same way we set them with setStyle
2011-03-12 13:10:09 +01:00
ever.zet
dab8e5888f
if we moved definition under private area, than we need to use only public API for that, to be able to redefine it is subclasses
2011-03-12 13:59:51 +02:00
ever.zet
d4d8576f93
start => finish, begin => end. Mixing them is a bad choice.
2011-03-12 13:57:04 +02:00
ever.zet
a809453416
ability to define custom regex's for style placeholders
...
sometimes, developers like me want to redefine style placeholders
in their applications. From this patch, they can acchieve this from
simple get...Regex() method redefine.
2011-03-12 13:54:35 +02:00
ever.zet
49b968df67
we need ability to get style parameters same way we set them with setStyle
...
from last privatisation update $styles now private. So,
user can set style with public setter (setStyle), but can't
get this value later, which is very stupid behavior!
2011-03-12 13:49:06 +02:00
ever.zet
5ec8f47d7c
if proper style not found, then this is a tag - no need in Exception
2011-03-12 11:55:44 +02:00
Fabien Potencier
b940cc6f40
moved most protected to private in the Console component
2011-03-11 12:53:42 +01:00
Fabien Potencier
c2e9dd27b2
[Console] fixed synopsis when an error occurs
2011-03-11 11:51:05 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Degory Valentine
057e86161e
added test to verify ArgvInput->parse() failure with array input definition
2011-02-28 17:16:58 +01:00
Degory Valentine
0306c9aa66
Fixed array argument parsing in ArgvInput.
2011-02-28 17:16:58 +01:00
Pascal Borreli
46d28ce1b1
[Console] Removed useless else
2011-02-27 18:36:37 +01:00
Fabien Potencier
f54cedfe5e
added LICENSE files for the subtree repositories
2011-02-22 18:58:15 +01:00
Kris Wallsmith
36ff9abe67
[Console] fixed new ArgvInput method
2011-02-12 21:51:34 +01:00
Tim Nagel
76e9b6ec97
[Console] PHPDoc fixes
2011-02-09 06:55:12 +01:00
Fabien Potencier
fae8a557f9
[Console] fixed typo
2011-02-08 22:37:21 +01:00
Fabien Potencier
9f30e42c16
added --debug/-d and --env/-d to console
2011-02-07 03:03:02 +01:00
Tim Nagel
f3b6e1a30c
PHPDoc for Console
2011-02-07 01:54:10 +01:00
Lukas Kahwe Smith
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
2011-02-04 19:30:28 +01:00
Benjamin Eberlei
6ac5c298bd
[Console] Add missing method isInteractive() to InputInterface and added some docblock comments to all interface methods.
2011-01-28 18:28:17 +01:00
Andy Stanberry
0ef67112b2
[Console] added writeln to the OutputInterface
2011-01-25 10:05:07 +01:00
Fabien Potencier
9607e61d86
[Console] fixed typo
2011-01-24 19:05:36 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Martin Hason
f41654fd60
[Console] added rendering previous exceptions
2011-01-11 14:52:32 +01:00