Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hoaproject/Console

The Hoa\Console library.
https://github.com/hoaproject/Console

Add an example with events.

72a6e3c7772888fb8aadca8d12c7c53d0be8b856 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

0b5b2900369941cf4e007ece53270a0501fd8114 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add method isSuccessful() to improve Processus API.

e3db604c04c120529ba02cd82b82d6299eaf4c2c authored almost 12 years ago by Stéphane PY <[email protected]>
Add timeout and events supports.

Example:

$processus = new Hoa\Console\Processus('ls');
$processus->on('output', functio...

76a3fa78a4c77923567c8da74f00b0e724236ecd authored almost 12 years ago by Ivan Enderlin <[email protected]>
Simplify the code. #performance

77682aceb89e7dc1a444248ba2bbad214132a4ac authored almost 12 years ago by Ivan Enderlin <[email protected]>
Welcome to Hoa\Console\Chrome\Pager \o/.

Usage:

from('Hoa')
-> import('Console.Chrome.Pager');

ob_start('Hoa\Console\Chrome...

1139eb0d60542423befff355d327303dea44eb07 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Format example. #mania

381a1e7aad805be131069034d1b5bc8b1400b479 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix a bug with only one valued switch.

6f9db82ceb501b8449a7fc051241299d0edc2550 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Simplify a return statement.

6b4791ecc1f2f4ba6ca7f167a71faaad62ecbe07 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Do not echo if STATE_CONTINUE & STATE_NO_ECHO.

99f7850c047b082de18e3a99a5047f1941a16833 authored almost 12 years ago by Ivan Enderlin <[email protected]>
s/self/static

8f65edd9dc6cfa595aea15bcc2afe1f02eb48789 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Do not echo the tab if there is no autocompleter.

127ef1a1c149ff656ead9448ee957d4f55a38b31 authored almost 12 years ago by Ivan Enderlin <[email protected]>
s/this/self when necessary.

61ebadf415d7287b8aa96d3b05cb64b974cb63bf authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix a variable case.

f2a037e62fb814a7977adff657aa91c707153272 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Auto-enable advanced interaction.

dd326c9b1ad81e579fc46c5eb12ac8afccdd8dff authored almost 12 years ago by Ivan Enderlin <[email protected]>
Hide and show cursor when (re-)printing the menu.

7b916504c754f96a558c06795e727164dc7b651f authored almost 12 years ago by Ivan Enderlin <[email protected]>
Move up the getPosition() method.

b621e4ec76fa159d9df2b88daca7d767f406f62b authored almost 12 years ago by Ivan Enderlin <[email protected]>
Auto-enable advanced interaction.

a88ebddb388e3e446589d3c7b30614e833d6e195 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Remove auto-advanced interaction.

8dcd3b69d2841d8b21699f82ac2b7b98845b4836 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Please, see previous commit.

e9379a629de0c9c49854ff3e78119fd4ecd966c1 authored almost 12 years ago by Ivan Enderlin <[email protected]>
scroll() does no longer replace the cursor.

84640980c33ef3851b3cce6bb0de030297e4546e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Auto-enable advanced interaction.

84d2fa5b5f5ea725df0bcb586081482874bc4a80 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix a bug: X and Y were reversed…

60b626681acae03c72ca5fb9bb11f55f5b3f563e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add restoreInteraction() shutdown method.

8163f01e46ba95078c72b250ac5ac2425f076944 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add scroll() in README.md as an example.

d054fb5f81fa67e43a8467f138e3ef571b307e90 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Scroll if space is not enough for autocompletion.

When printing all solutions from an autocompleter (the menu), we scroll
up if there is no enough...

c4a4272bc4a1f529e78e44c67fae508908d74218 authored almost 12 years ago by Ivan Enderlin <[email protected]>
scroll() does not change the cursor positions.

92e7f1a26d3dcb444abd6cdd8bc50e8cd6bd9de5 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Move Cursor::scroll() to Window::scroll() and improve.

scroll() has now a $repeat argument.

9ef9fccba931a39c8801eb2e8894372d69983eda authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

96ce8a94465761bf3ee3cd75bf4b39a1edff3f79 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

6148a0947cb4a647ba6670de235ada7c68f4e83c authored almost 12 years ago by Ivan Enderlin <[email protected]>
Colors do not work on Windows.

76eaa480ad162cb92310697aa7bd6da4185a343e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add example with hexadecimal.

8fbb464a0e41a47585654b55e031a59b3200cfcf authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add support of RGB (mapped to 256 palette).

In the foreground and background “functions”:

Hoa\Console\Cursor::colorize('foreground(#dc1...

ec7483c8062c63ba34bf6abf38b7ea052b8ff48e authored almost 12 years ago by Ivan Enderlin <[email protected]>
Update README.md.

0f8d1668b91a8d122fc2eabc16ea8917417dc8a9 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add colorize() and changeColor() methods.

d8dd61983fb3afa4fbf45d0c27bd96f083ba58e1 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Clipboard access does not work on Windows.

e9e3a067c9fe24d5efa22217f0b707154d61d490 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add the copy() method.

Allow to manipulate the clipboard.

94a24066eee5a155b83192fcb017a8ad2a08a21c authored almost 12 years ago by Ivan Enderlin <[email protected]>
Add documentation.

906537cd45d1f217e9b6a8cff4399de543ec7978 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Happy new year \o/.

dd026fdab7e858a7d7415ac5dde82c4ecfa6c965 authored about 12 years ago by Ivan Enderlin <[email protected]>
Autocompleters totally erase current word.

Instead of adding the rest of the word. It allows to change the
beginning of the word.

0e9802721db1925ad3fec6f185a09d5ef2ec0f54 authored about 12 years ago by Ivan Enderlin <[email protected]>
Mapping works immediately when leaving the menu.

Readline has a “core” method (a fallback one). When the menu is
displayed, if a key is pressed a...

01bf2807aa011046873517a556efe3cb1eb548c2 authored about 12 years ago by Ivan Enderlin <[email protected]>
Verified that STDIN is associated to a terminal.

Avoid error when running `stty` from a pipe.

9c9c130e9bc4a911aaf634f268e59ba699291ab4 authored about 12 years ago by Ivan Enderlin <[email protected]>
Update link to Hoa's logo.

b6be80e51ca374342b07a7daa16c7e8fcfe1607b authored about 12 years ago by Ivan Enderlin <[email protected]>
Hoa\String\Search is now statics.

10965c9ac18b146e1d05971cd1eead259ac83b69 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add notes about Windows support.

23cbe7b7d45ef1a89d277d3dc19a4928344fc5e1 authored about 12 years ago by Ivan Enderlin <[email protected]>
Avoid errors on Windows. Thanks @iraphael!

1312a9d93369b0429e6d3d1144d0b5ebd4ac1663 authored about 12 years ago by Ivan Enderlin <[email protected]>
Simplify a clearing.

cb81f4f2b8b8ac7c95d4580f0f9af39b03d979e7 authored about 12 years ago by Ivan Enderlin <[email protected]>
Update README.md.

Autocompleters are no longer “under development”.

e421ebba34e483da9e3ec694ae87b247f58559c2 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add the “word” auto-completer.

7d02a90df12d081c8faee6743ac664bb9ab107b2 authored about 12 years ago by Ivan Enderlin <[email protected]>
Introduce a menu à la Zsh to select a solution.

When an auto-completer proposes many solutions, we print a menu à la
Zsh: we are able to navigat...

2f9b71eec76a4e216b59d78fed624f32bac28902 authored about 12 years ago by Ivan Enderlin <[email protected]>
Can repeat a move() and concatenate clear().

abe1e8802ae858a096da284a670e990ef7eee200 authored about 12 years ago by Ivan Enderlin <[email protected]>
Clarify an example. Thanks @CircleCode!

0ec9d257045cad9e1d4df207fdbab86ee95fd2c6 authored about 12 years ago by Ivan Enderlin <[email protected]>
Write the README.md file.

1dbe000fe443f9570fe3f4e60dbe506240763753 authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix API documentation.

3bc603c319f5ca5e76b54d2d20b1d618fea45bee authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix eof() method.

ea7e44a1d0037305cb25e611ca579984fc22897b authored about 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

bbc217c676b441f43b80b78f36e9350b4e022a7d authored about 12 years ago by Ivan Enderlin <[email protected]>
Restore when bindings are not callable.

412e57ccd1c027659092af5675e5048c9ae05513 authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix X and Y coordinates when moving the window.

18dec3b47fdb34196b1b01d63499803839fb74fa authored about 12 years ago by Ivan Enderlin <[email protected]>
Update composer.json.

b7974659edbf2dd60f3190f8bf1eea32c7ca7fa0 authored about 12 years ago by Ivan Enderlin <[email protected]>
Remove a dependence to Hoa\Router.

fe3bf84da14dbb2f3a3fbb4538788bff73a3b7b7 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add the hoa://Event/Console/Window:resize event.

We need ext/pcntl + declare(ticks = 1) and it works!

fe0a3ac6bb081537809c27be3ecd240fa8a3bd19 authored about 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

9da3f469832e12b84f9c8ed130597207f59a491b authored about 12 years ago by Ivan Enderlin <[email protected]>
Add setStyle() method.

Amongst ▋, _, |, and blink or steady.

679c490383449d63d2238718e7734adcddae1f80 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add minimize() and getLabel() operations.

960a832db9b74fd89ac8d1157a947861692f5e12 authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix a typo in the inline documentation.

d4584829f4053dd175f339b73512413bfc18883a authored about 12 years ago by Ivan Enderlin <[email protected]>
Update usage output.

c4ac7f93eb6547565dd4935bbeab9691b124dea8 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add an “advanced interaction” mode.

Just change STTY configuration.

32b48979fa0da592cd4b4e7975d2e4d590ff679f authored about 12 years ago by Ivan Enderlin <[email protected]>
Update code.

da684696f5a251deac8dba8b8f0245903c083b94 authored about 12 years ago by Ivan Enderlin <[email protected]>
Bye bye Animation and Sound.

ae22d4d93512c64950316f88210e14d94f101919 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add “cursor” and “window” as keywords.

b387fb47763b67b852fd67c0c1676dcc0f725e98 authored about 12 years ago by Ivan Enderlin <[email protected]>
Bye bye Hoa\Console\Io.

a0dc6b51f6aba20c751b21f60dc008d9fc96143d authored about 12 years ago by Ivan Enderlin <[email protected]>
Bye bye Hoa\Console\Environment.

c35ac3ad070aa9ced6ffd435ba59c0e54bae8673 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add the “bip” operation.

6b832fa6ec9c3b2134c63de77fcd867bf892daad authored about 12 years ago by Ivan Enderlin <[email protected]>
Welcome to Hoa\Console\Window \o/.

Allow to manipulate the window:
• setSize;
• getSize;
• moveTo;
• getPosition;
...

058b6501beb2599f1150d4a47226d28461f56106 authored about 12 years ago by Ivan Enderlin <[email protected]>
Bye bye Hoa\Console\System.

Replaced by Hoa\Console\Processus.

f6acace7cad63d86f38cb4d2392dae36e227412b authored about 12 years ago by Ivan Enderlin <[email protected]>
Welcome to Hoa\Console\Processus \o/.

It allows to manipulate process as a stream (which implements
Hoa\Stream\IStream\In, Hoa\Stream\...

c387ed87617e6b594b4602b75cd19ed8c60ac26e authored about 12 years ago by Ivan Enderlin <[email protected]>
clear('line') is faster.

We use \r\033[K instead of \033[2K + moveTo(1).

7bfc5b436c48caa49e53bfd2ace55ec5f541178c authored about 12 years ago by Ivan Enderlin <[email protected]>
Use Hoa\Console\Cursor and update autocompletion.

When autocompletion proposes many solutions, we do not print a new
prompt.

d65a3eff741a5a99a23fe55bfe00f4741deac2fa authored about 12 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

8bd9da8460348329231dc8f8dc7c505d429d1c7b authored about 12 years ago by Ivan Enderlin <[email protected]>
Welcome to Hoa\Console\Cursor \o/.

Following operations are available:
• move;
• moveTo;
• save;
• restore;
• c...

a95f67e18979fd3019ecb930588f5ef48f64717a authored about 12 years ago by Ivan Enderlin <[email protected]>
Update code: use the insertLine() method.

720d77ce4b5ea317b33c32e39c5ae2660db8f343 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add autocompleter interface.

63120e699a954bc04a47c18304b3930ace766e57 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add the _bindTab() method for auto-completion.

bf426fb8ac6edd64cd908fd7e89035d298a539d4 authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix a typo in the API documentation.

86ba6db86fb453cde0696c8c9872ed61d934f58c authored about 12 years ago by Ivan Enderlin <[email protected]>
Avoid error with stty.

Sometimes, PHP throws an error when executing `stty -a`.

ab45341e0141e5c859fcda5f4ff3eb08750f4c3e authored about 12 years ago by Ivan Enderlin <[email protected]>
Readline now supports Unicode \o/!

d0b2172132c8545e41475a56a19c844a2566bd2c authored over 12 years ago by Ivan Enderlin <[email protected]>
On Windows, print the prefix.

b111f797fa656934b2fccede896aafe3fa20e7b8 authored over 12 years ago by Ivan Enderlin <[email protected]>
Add composer.json.

aae37dd4166063f37b344f576d3e1c2bfbbe60c8 authored over 12 years ago by Ivan Enderlin <[email protected]>
Oops, bad migration fix.

487915e39c85995b19b9e11a906548ac4ce19f72 authored over 12 years ago by Ivan Enderlin <[email protected]>
Libification (split from Central).

c05f0e5f38d2bcf77c5bc7fb38d13c7708e50764 authored over 12 years ago by Ivan Enderlin <[email protected]>
Enhance auto-correcting of typos in options by proposing a new method in

Hoa\Console\Dispatcher\Kit. Usage:

while(false !== $c = $this->getOption($v)) switch($c) {

...

a23e4693492aac93cf89020e1bf53bd4474fd2ec authored almost 13 years ago by Ivan Enderlin <[email protected]>
Update Hoa\Console\GetOption by using Hoa\String\Search to auto-correct typos in options.

5b7b6072af44e50bc944e52eb30fb5a23e8389f7 authored almost 13 years ago by Ivan Enderlin <[email protected]>
#merge

2fbac62be320c82ad00da275965a95d64c6e4105 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Merge.

9a6d8ef01aee24aa903ee755e8c1f8d27fabf546 authored almost 13 years ago by Ivan Enderlin <[email protected]>
s/2007-2011/2007-2012/

2b2ad8b78a1af992910d396562fa3fccbaa3440b authored almost 13 years ago by Ivan Enderlin <[email protected]>
Add some bindings to our line editor:

• Ctrl-A: move cursor to beginning of line;
• Ctrl-B: move cursor backward one word;
...

53a0fcd8c1b90f4328ee44bf9a26f505693044ce authored about 13 years ago by Ivan Enderlin <[email protected]>
Add readLine() and readPassword() methods on console kit.

40d9dfeafaa0a464b9919b87acf1bc36873abeb4 authored about 13 years ago by Ivan Enderlin <[email protected]>
Readline can manipulate a prefix.

d8e6a98e2ca9224bd80d65910a8f3d1e8f70e297 authored about 13 years ago by Ivan Enderlin <[email protected]>
Remove an old code.

c1eac97188996c13cac85f6afca6715bdd7ac627 authored about 13 years ago by Ivan Enderlin <[email protected]>
Add readline \o/.

761e2f124d328902ca66789f82c0ab5ae1bc1f9b authored about 13 years ago by Ivan Enderlin <[email protected]>