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

chore(composer) Use `dev-master` dependencies.

61a38c24df0dd20cefcd6fee4a2bb7b76d55e18e authored almost 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

72a4369951d6a5189006786d7db8531a05e39879 authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Update to PHP 7.

30e32eea0c5482f83cc3127c63069fe1445a179c authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Move to PHP 7.

b5cafe1bbcdbb6ea2fb8b9bf8e290bfff0fea6ec authored about 7 years ago by Ivan Enderlin <[email protected]>
chore(path) Move code into the `Source` directory.

273c4f2f048a44f20f395f5fdad1b56fbbe61218 authored over 7 years ago by Ivan Enderlin <[email protected]>
chore(php) Require PHP 7.1.

c06ab83bc07c5d362be0b5617ef486106bc0a9ab authored over 7 years ago by Ivan Enderlin <[email protected]>
chore(composer) add PHP version requirement

Define minimal supported version of PHP needed into composer.json

Address hoaproject/Central#70.

f0180632a818ac75f5aea01e180d1cdcd4d50073 authored over 7 years ago by Alexis von Glasow <[email protected]>
fix for hoaproject/central#69

a8fa11a35a1330865d5c515e3487c29a5237fe98 authored over 7 years ago by Grummfy <[email protected]>
Prepare 3.17.05.02.

e231fd3ea70e6d773576ae78de0bdc1daf331a66 authored over 7 years ago by Ivan Enderlin <[email protected]>
Tput: Deterministic order for `name` and `desc…`.

In PHP 5.x, `list` arguments are assigned from one direction, and in PHP
7.x, the opposite direc...

8e324191382297517135926331d291d21d924368 authored almost 8 years ago by Ivan Enderlin <[email protected]>
CI: Set up Travis.

d43c2c06bf0e8f4a30638427df7a764cbf37fdfd authored almost 8 years ago by Ivan Enderlin <[email protected]>
Prepare 3.17.01.11.

b0913b784157d6414654df5ecd77f2d9f866078c authored almost 8 years ago by Ivan Enderlin <[email protected]>
Quality: Happy new year!

cc0a1bf3e90391d72434674290e05781b665cc4b authored almost 8 years ago by Alexis von Glasow <[email protected]>
Prepare 3.16.11.08.

079d9b8235756470811f20f8f2e83de7ed6cc532 authored about 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Add the “Learn more” link.

c9d811338eadf4207d4ee01465606e4321a93db1 authored about 8 years ago by Ivan Enderlin <[email protected]>
Documentation: New `README.md` file.

9c825b57fdba080d0dc70a75676e2a66617ecabf authored about 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Fix `docs` and `source` links.

203db1dea327c5f76d4ad05b1a0767104012e940 authored over 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Update `support` properties.

d9529045d0e6a722ac65c696eb46505214f023f9 authored over 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Use TLS on `central.hoa`.

dabd11d579ad942440e435a76009f4643e056fcb authored over 8 years ago by Ivan Enderlin <[email protected]>
Prepare 3.16.09.06.

705334c0701e19f13dcdee734c40cac05e11a9ea authored over 8 years ago by Ivan Enderlin <[email protected]>
Documentation: Fix API documentation.

88977a54af2e1ff1af8b13d7bb142e3c1976bbfd authored over 8 years ago by Alexis von Glasow <[email protected]>
Quality: Fix example CS in the `README.md`.

7921f700d34ef2b5d0568377d8154e00ea412587 authored over 8 years ago by Ivan Enderlin <[email protected]>
Autocompleter: Force to work on a sub-line.

Before this patch, all autocompleters were finding words on a complete
line. This were leading t...

6ad87533b52f4a07871b38b51eaa55b8ab294e96 authored over 8 years ago by Ivan Enderlin <[email protected]>
Quality: Fix methods ordering.

72d62ba0e9a73e42cb15da42f07e0598b7479b99 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Implement `Hoa\Console\Output::getStream` which is now required by `Hoa\Stream\IStream\Out`.

090b39f68bab12b98673e10141e286b5ad8f44fc authored almost 9 years ago by Metalaka <[email protected]>
Fix phpDoc.

8f103be5389fe72f9f6c4fd9b9438852d5b5fd00 authored almost 9 years ago by Metalaka <[email protected]>
Prepare 3.16.01.14.

8d279675fd421abe3b16982c5a58f24d1726db3b authored almost 9 years ago by Ivan Enderlin <[email protected]>
Composer: New stable libraries.

77e8e236d44d47e523d0a4671135b275cdd30b2c authored almost 9 years ago by Ivan Enderlin <[email protected]>
Prepare 3.16.01.11.

d27f3155f5eee5c39c63d5b4fb0f5c8e9ad1fe86 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Drop PHP5.4.

3948af12b8e0bad16c795e072778c1555da334e1 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Quality: Run devtools:cs.

41c4f9988c189117f1dc0ff1d9fab28cc94cc1de authored almost 9 years ago by Ivan Enderlin <[email protected]>
Core: Remove `Hoa\Core`.

b50059685871965dcb936bb2bc4eb84ef2a55ba5 authored almost 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Use `Hoa\Consistency`.

6048bc4360b454113c6c91b28b76256f14f1a275 authored about 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Remove `from` calls.

8308f998c07e192e2971e87f76ad9d635a3b0993 authored about 9 years ago by Ivan Enderlin <[email protected]>
Event: Remove `event` calls.

ec25ac8c3bacf85ba50ca100dbd4e1a79bae710b authored about 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Update `registerShutdownFunction`.

c1d27db8d78af1c10e77716f83577b9fe39f69ea authored about 9 years ago by Ivan Enderlin <[email protected]>
Consistency: Update `registerShutdownFunction`.

391467709fb5065516c32446ce34654529ea14d9 authored about 9 years ago by Ivan Enderlin <[email protected]>
Event: Use `Hoa\Event`.

The core is being splitted into several libraries. `Hoa\Event` is one of
them.

b1b64acce95b4794f639a4529610228d4eac6b3a authored about 9 years ago by Ivan Enderlin <[email protected]>
Exception: Use `Hoa\Exception`.

The core is being splitted into several libraries. `Hoa\Exception` is
one of them.

cc767d0cbc31b04ba0af184aa81ccd767fccaad5 authored about 9 years ago by Ivan Enderlin <[email protected]>
Terminfo: Add the `xterm-256color` database.

1. We need it to test advanced part of the API,
2. If a system is missing it, we can fallback to...

1d795bbdab1d9e56bf1bd7a4d2e2dc668c7c068a authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `…completer\Aggregate`.

af6e9ea5afd4806695a4c8f2ab7a2b78b87898d0 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `…Autocompleter\Word`.

6eb8f33ce223ff75040fbb022872a88a1a8ec2ed authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `…e\Readline\Password`.

e01a6bca7bc1dc6796aa154a95b9190060ddab30 authored about 9 years ago by Ivan Enderlin <[email protected]>
GetOption: Reset the `$optionValue` all the time.

The first argument passed to `getOption` is a reference. Its value was
not reset each time. Now ...

a0e4bc119d20aa9929f6d1be20f6d19e641a6421 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `…Autocompleter\Path`.

31a08c95007d4ca9430b7e3cd9bc137594a3986d authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Use `beforeTestMethod` instead of `setUp`.

As @jubianchi noticed, `setUp` runs in the parent process, no inside all
child processes. This i...

073fdbb85c933375cb38152a71f38543e627e8b6 authored about 9 years ago by Ivan Enderlin <[email protected]>
Readline: Use `Console::getInput`.

The readline was previously based on `STDIN`. Now it is based on
`Console::getInput` as every ot...

73d8c5cd4e7dbe6cfbcfdf8ba8fc6a4c2a8446db authored about 9 years ago by Ivan Enderlin <[email protected]>
Mouse: Untrack when tracking fails.

Instead of silently continue to loop when `stream_select` fails or timed
out, i.e. when we no lo...

a5bd9835f68181132dcc98a816247ad7890d5efa authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Add specificity for Windows.

0e9a4cf6503b6e55b7c0563d1e0a494bfe68aad0 authored about 9 years ago by Ivan Enderlin <[email protected]>
CS: Clean namespaces and fix some styles.

3082bd3e88541ad85f374a9a2e10960df560fba5 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\GetOption`.

00033a13f28a640de10149611a8194bba09bbd34 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\Mouse`.

0419f78414e02c97a6e197b3f83c17253e623d56 authored about 9 years ago by Ivan Enderlin <[email protected]>
Mouse: New constants representing pointer codes.

Instead of using hard-coded number for pointer codes, we introduce
constants:

* `BUTTON_LEFT`...

bc6239183ff1ca69af695a72572ae45b9490fc08 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\Window`.

c93d5765b4ff2b0711207fe65b08a6001efa7375 authored about 9 years ago by Ivan Enderlin <[email protected]>
Window: The constructor must be private.

Since the `Window` class is a singleton, its constructor must be
private.

a134d4e0e6b6d53c4e386e89b8ed2591e36d336a authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\Cursor`.

651aab97ebc23d7a67add4607d5cd868e3cdc955 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\Tput`.

001b4152ba239c543e6c8f25fbcf5a3917214403 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console\Parser`.

9d5ac136afeb23bb9a4cc808ac657328c48c84cc authored about 9 years ago by Ivan Enderlin <[email protected]>
Test: Write test suite for `Hoa\Console`.

7ed67a2c11079cb2a9b4179addaf61257cfd73bd authored about 9 years ago by Ivan Enderlin <[email protected]>
Console: Add the `setTput` static method.

Now we are able to set our own instance of `Tput` class.

6e605a77210e3e913ae76b54b1027220041ed603 authored about 9 years ago by Ivan Enderlin <[email protected]>
Console: Ensure `STDIN` is defined before using it.

Sometimes, `STDIN` is not defined when trying to start advanced
interactions. So we must ensure ...

de466b78fb2242dc909693b26827aeb6e60afe2e authored about 9 years ago by Ivan Enderlin <[email protected]>
Tput: If no terminfo found, fallback to `xterm`.

d0cc56c3a02960a71ce05f69d38a2f02f3fa0b66 authored about 9 years ago by Ivan Enderlin <[email protected]>
Tput: Check that `TERM` is set **and** not empty.

In some rare cases, the `TERM` variable is set but empty. We skip this
particular case.

85aebfa6cf3019e41079494b1e14e4954235c4ac authored about 9 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

As @Metalaka suggests, we can remove the `@throws` clause.

9600ab3619818216f16f01f8e0b6dbf3ef8d6095 authored about 9 years ago by Ivan Enderlin <[email protected]>
Console: Solve `stty -f` vs. `stty -F` issue.

On Linux, this is the `stty -F $file` or `stty --file $file` options.
On BSD, this is the `stty ...

df9d501d67db876808306f0841d0e7dbcbbfaaa7 authored about 9 years ago by Ivan Enderlin <[email protected]>
Input: Add the `getStream` method.

The `getStream` method allows to access to the underlying stream that
the `Input` class wraps.

e08c9d7c81804ed2499ee717b02345ce97878558 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test the `Input` class.

8a669040d8bbf44aefa463e23bd6004d8fd66feb authored about 9 years ago by Ivan Enderlin <[email protected]>
Create the `Input` interface.

Exactly like the `Output` class, the `Input` interface represents a
stream of the program, here ...

1693a866663b70661e5c3076701e3c6c212b4049 authored about 9 years ago by Ivan Enderlin <[email protected]>
`stty` uses `/dev/tty` instead of the std. input.

In case `STDIN` has been closed, `stty` will not be able to act as
expected. So we force it to u...

3d5fd4122ffd677b85e6c2c2b342ea143f0adee7 authored about 9 years ago by Ivan Enderlin <[email protected]>
Advanced interaction can be forced.

By default, the advanced interaction is not enabled if `STDIN` is not
direct. We can now bypass ...

cc35c0922a1da50432ec68b738b32c7af93f089e authored about 9 years ago by Ivan Enderlin <[email protected]>
Fix, doc.

e503461f54c7c18c7c518c7ed291b962650d3da9 authored about 9 years ago by Metalaka <[email protected]>
Improve Output behavior.

`Hoa\Console::getOutput` return `Hoa\Stream\IStream\Out` and then type
check must be done to all...

6f56d41087d642566bdd7d13d0fc87e149743aa2 authored about 9 years ago by Metalaka <[email protected]>
!fixup output (review)

f7e4b63f053e265e1b1e55b24773273457e490cd authored about 9 years ago by Ivan Enderlin <[email protected]>
!fixup output

b728565013b7b42d85a5790f22b5af0450618ce7 authored about 9 years ago by Ivan Enderlin <[email protected]>
Test the `Output` classes.

299f8e4d93d2bd5b820be8083d61d0ead3f1959f authored about 9 years ago by Ivan Enderlin <[email protected]>
Arrays are “var exported” on the output.

When writing an array on the output, its values were transformed into
lines. Now, to preserve it...

69c8ccb048846f9fc5d47b0d4b6cf75c0e737d7c authored about 9 years ago by Ivan Enderlin <[email protected]>
`Window` uses `Output` & multiplexer support.

The multiplexer API on the `Output` has been recently introduced. Now we
can use it and conseque...

8bbca90fd95dbc17ede394cad7cf44b92222c27c authored about 9 years ago by Ivan Enderlin <[email protected]>
Consider multiplexer while writing on the output.

Sometimes, when writing on the output, one might would like to by-pass
the multiplexer or to wri...

40d99d15f89fa1bc821f3fd961acc453a13d3b14 authored about 9 years ago by Ivan Enderlin <[email protected]>
Use `Hoa\Console::getOutput` when possible.

0bc8dbfb654f491480d540e470faa5e6367cfe78 authored over 9 years ago by Ivan Enderlin <[email protected]>
Introduce the `Output` object.

First we define an `Output` object. It represents the output of a
program, e.g. the standard out...

c0372f391553ee4b8f2fdb0f630be090091f8cdc authored over 9 years ago by Ivan Enderlin <[email protected]>
Format API documentation.

086f699c1535050f9006e875079dd2d44d783b4c authored over 9 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

90dbcde50d180ae7f600d3851367c968419d69db authored over 9 years ago by Ivan Enderlin <[email protected]>
Add TMUX(1) support for `Window::copy`.

Refering to
http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324,
we learn th...

a13a9a25c65c221acba23de6401bf871f8db0f4c authored over 9 years ago by Ivan Enderlin <[email protected]>
Add the `Console::isTmuxRunning` method.

Sometimes this is useful to know whether we are running behind TMUX(1)
or not. For instance, som...

a0a7e1d744bbee4990d29c104643ac6ac4394666 authored over 9 years ago by Ivan Enderlin <[email protected]>
Add a `.gitignore` file.

Add a `.gitignore` file to the repo as defined in hoaproject/Central#22.

1859b9cb900c57a1b4ed45405b8b914982b92ae5 authored over 9 years ago by Stéphane HULARD <[email protected]>
Prepare 2.15.07.27.

3b871f5f1059a3664acb5380ebadd988daa7a0db authored over 9 years ago by Ivan Enderlin <[email protected]>
Bip when an “invalid” character is pressed.

Previous commit avoids to print a non-printable character. This one just
add a “bell”/“bip” when...

5a83b5eb5c79b43dd894804f8bc059de5dce80be authored over 9 years ago by Ivan Enderlin <[email protected]>
Print character only if printable.

When a character is not printable, the readline did still print it. In
some cases, it could crea...

e8b85179d8511a122406da746520493d2308ef4c authored over 9 years ago by Ivan Enderlin <[email protected]>
Optimize the `_readline` control flow graph.

We return earlier to avoid a deep control flow graph. It simplify the next
commit.

e46582a2e6baedf04b2de5da8749bc62617d8398 authored over 9 years ago by Ivan Enderlin <[email protected]>
Prepare 2.15.07.23.

dce030d7160447e67961c453174af7a90a949085 authored over 9 years ago by Ivan Enderlin <[email protected]>
More detailed API documentation.

180abb4facee56c71053ea3493e5e6abd0f65986 authored over 9 years ago by Ivan Enderlin <[email protected]>
Update the API documentation.

1820d231f5a5b786c38855e045888e4096cc9c8d authored over 9 years ago by Ivan Enderlin <[email protected]>
Fix phpDoc.

7b2cdfe0c4ff9d88f7308823391d0e3ca5a874c8 authored over 9 years ago by Metalaka <[email protected]>
Prepare 2.15.05.29.

fcb8c85de0832a37a1f81b7d98d2fb2a456efc77 authored over 9 years ago by Ivan Enderlin <[email protected]>
Move to `Hoa\Ustring`.

2f1b64d580864e9911ae9430fcd3d2a7beb6228d authored over 9 years ago by Ivan Enderlin <[email protected]>
Move to PSR-1 and PSR-2.

3792d047a983f9b5915198bbd37e38f38bde2296 authored over 9 years ago by Ivan Enderlin <[email protected]>
Prepare 2.15.03.19.

0586670d92481c5517f80cb1d3a13c186a659e45 authored almost 10 years ago by Ivan Enderlin <[email protected]>
Add timeout on `getTitle` and `getLabel` for tmux.

Some versions of tmux does not support the dialog inside `getTitle` and
`getLabel`. Thus we add ...

5cabbb051ce6ead76d367f212894c7a1a75d9248 authored almost 10 years ago by Ivan Enderlin <[email protected]>
Prepare 2.15.03.06.

eb392b056a64b9635948daaecbb19760cd603869 authored almost 10 years ago by Ivan Enderlin <[email protected]>
Fix a bug in the ambiguity resolver.

When there is no choice to deal with, we didn't throw the exception.

9fe6c75861f607166b7a7e0649694ab74fddd0d0 authored almost 10 years ago by Ivan Enderlin <[email protected]>