Ecosyste.ms: OpenCollective

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

github.com/hoaproject/Core

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

Enable error- and exception handlers in CLI.

5edb7f99883f93bbdb15a4a40b553af4f81c7b24 authored about 11 years ago by Ivan Enderlin <[email protected]>
Add enable(Exception|Error)Handler() methods.

Error- and exception-handlers are disable by default. To enable them,
use the appropriated methods.

d3d90b3365dd7c469a20595aefce22f67103f7f0 authored about 11 years ago by Ivan Enderlin <[email protected]>
Remove HOA_VERSION_* constants.

bacb2bcdf81fea4ff2c48f829168d4c316e10ddb authored about 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

5811a076b695748c444696d5877d5e3e0f715084 authored about 11 years ago by Ivan Enderlin <[email protected]>
Forget to remove this old debugger attribute.

1dd3ade1fd2bc8f7c75d20268742ebb299f2e676 authored about 11 years ago by Ivan Enderlin <[email protected]>
Remove an used variable.

0b47a01e9eb20a520ccab01d8edaa4905cd5ff9b authored about 11 years ago by Ivan Enderlin <[email protected]>
Remove mentions to from/import in documentations.

9514514c2a05e4b8b5d0ca2a232c1ad58783c878 authored about 11 years ago by Ivan Enderlin <[email protected]>
Be strictly compatible with PHP…

… even if it is not the best behavior regarding Hoa's usages.

37ac89cd452ec39fbb25e0ccad912941d3af2ea2 authored about 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

cd97b3830a2ca9b861876f705e54811dfb2dd896 authored about 11 years ago by Ivan Enderlin <[email protected]>
when required, autoloader is already called by class_exists

beb7fe31ea0075faa56b3909db0f2358c2c7b9ab authored about 11 years ago by Nicolas Grekas <[email protected]>
Enhanced trait_exists() shim

09f258baa2385426fe19047b7ca63869736d133f authored about 11 years ago by Nicolas Grekas <[email protected]>
Format code. #mania

545346126fc9c8da781ec38fc39b28d98217c62a authored about 11 years ago by Ivan Enderlin <[email protected]>
Autoload drops if classname is not namespaced.

436f30f7c63f1ccae64b85caff14d65b6215bd83 authored about 11 years ago by Ivan Enderlin <[email protected]>
Fix a BC break!

If we autoload a “short”-entityname, we switch to the “full”-entityname,
as dnew() already does ...

7f9ef90a3cce6cbf2e2ae82bca35d0ab8c28c554 authored about 11 years ago by Ivan Enderlin <[email protected]>
Better composer compatibility

6585966e820377da7724913ff1fb341771be9914 authored about 11 years ago by jubianchi <[email protected]>
Merge branch 'new_import' into incoming

f90a21a5e781b74e7e1ae68623f092f1594d3b81 authored about 11 years ago by Ivan Enderlin <[email protected]>
New autoloader process!

Thanks to @jubianchi, @marmotz, @osaris, @stephpy, @CircleCode and other
contributors, Hoa has a...

42727b8559aa1ed7d6b24fb4c0996ad69fef5847 authored about 11 years ago by Ivan Enderlin <[email protected]>
errno is propagated into Exception\Error.

dafcabb556531e22693ebe611d1e8363d4a6085e authored about 11 years ago by Ivan Enderlin <[email protected]>
Update PR.

1c9cc1cbe8843c28fcd31ea368ef3e5b0409d730 authored about 11 years ago by Ivan Enderlin <[email protected]>
adding \Hoa\Core\Event\Listener::detachAll method in order to provide an easy and comprehensive way to unbind events

423263fd4934821cbabd52b85bfc438f61a8a940 authored about 11 years ago by b.delespierre <[email protected]>
getMessage() == getFormatted().

And add getRawMessage() to get the original message.

642e0ccfcd23f173db59d70e1400253b4d44f7ff authored over 11 years ago by Ivan Enderlin <[email protected]>
hoa:// support stream_cast definition.

a44ebce28d592977a8b45fe8f60a63621256cd67 authored over 11 years ago by Ivan Enderlin <[email protected]>
Avoid to call raise() on an \Exception.

a392b329860a034ceaa86a0f02f107c22743a424 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix stream_seek for hoa://.

6df1e45a20190faebfa5f7c6b72105d435c91f20 authored over 11 years ago by Ivan Enderlin <[email protected]>
ext/mbstring is strongly suggested.

4d69b93ad0b7551a123176e9bab4a8aaf81c7e5f authored over 11 years ago by Ivan Enderlin <[email protected]>
Avoid errors with un-FQCN.

984bb33a415c7204b7b8a56dd98a5143327461cd authored over 11 years ago by Ivan Enderlin <[email protected]>
Throw an exception only with `Hoa` family classes.

Because some other vendors can misuse `class_exists()`.

0735018f28f21a8cd8fa81c6f150ad7149e3fe67 authored over 11 years ago by Ivan Enderlin <[email protected]>
Be stricter with underscores.

29febbcc91a47edcad7f21e2d491da2d5296f14d authored over 11 years ago by Ivan Enderlin <[email protected]>
Support underscores if other old project use Hoa.

e5ac824556f255e4ac071533993af39afaaeed77 authored over 11 years ago by Ivan Enderlin <[email protected]>
Autoloader is quiet if another one is registered.

Do not throw an exception in the autoloader if another one is
registered, except if it is used t...

79693c785bef45e538a3a9829a4eec2c5dc9a6e7 authored over 11 years ago by Ivan Enderlin <[email protected]>
Remove useless dump function

3e4a8e16ae3da08d027432f662f5e686734b4e5a authored over 11 years ago by Renaud LITTOLFF <[email protected]>
Preload is not required by default.

Remove \ArrayAccess interface and remove the three previous autoloader
states. Now we have only ...

ec256a4e97d1f280319ff606e2136ee92ef16ac3 authored over 11 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

59eef391359da03220a8deb9633347a3b9f9e017 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add support for array callback.

2af040f37726c261ee1cb1a621a44cf9f761e8e1 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add an extra space.

Better when using colours in terminal.

660f0e7fd6cd6a461778f10ab9e28ff5866294c6 authored over 11 years ago by Ivan Enderlin <[email protected]>
Oops…

e41ad82228c1b635fff606c3b4291b5bf5a03fab authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix Composer insanity…

53c121c37ded6841d2aa67281c55b104faa6d77b authored over 11 years ago by Ivan Enderlin <[email protected]>
WITH_COMPOSER works in CLI too!

69195c7a483077038734723731873720ab5e03b2 authored over 11 years ago by Ivan Enderlin <[email protected]>
Hoa\Core\Event::unregister can be soft or hard.

Before, when unregistering an event, both source and attached callables
were deleted. Now, by de...

ab5c0c2e86c904bb1c1e4498fbd98828b0cafaca authored over 11 years ago by Ivan Enderlin <[email protected]>
Let other autoloaders do the job.

6d6e171a6828adffc3419d91ee5e91df4891a740 authored over 11 years ago by Ivan Enderlin <[email protected]>
Update composer.json.

91e851b726fee26ade85b4f917c822f5ab5b6d4f authored over 11 years ago by Ivan Enderlin <[email protected]>
Update output of exceptions.

We use colors to make exceptions flashy. And we support basic \Exception.

51897d86daa5930737ea8741ebe41b737a3794f5 authored over 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'incoming'

3f9f5cdd313397dec6a02b27147f835c93b9b337 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a regression!

e40f89b92c99ee363ffeb9f9be9d70370ef93d31 authored over 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'incoming'

6440ba70cd36e4fbd3c1068f40d4396bda28e99a authored over 11 years ago by Ivan Enderlin <[email protected]>
Do not postpone “static callback” resolution.

4b10b4ce4309bb64e0c387d36a11e249e8f472d0 authored over 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'incoming'

8658abb8c6a47a7e9da001e2877d892e86a65562 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add the isIdentifier() static method.

36433870fdaadc52df5c337a3b456881a7a6caa4 authored over 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'incoming'

8e990f0d1906f2c3fcf70e18a0e24b9a81f84d4f authored over 11 years ago by Ivan Enderlin <[email protected]>
Support __invoke in Xcallable.

186afe6bfe6fe3e9e7943ceb6d4d2d2302c27e1d authored over 11 years ago by Ivan Enderlin <[email protected]>
Merge branch 'incoming'

ef51ebed74d4f9e51d7bdbfe5aa9b86e24ef3f87 authored over 11 years ago by Ivan Enderlin <[email protected]>
Avoid an implicit cast.

e96edb75250cc536097d1a24829a7001364edbc0 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a bug with import + * + Composer.

Thanks @stephpy!

bb5fbef2fca88fc2f2c38fb9fcce361c63932d98 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a bug with import + * + Composer.

a0f1fb2b5d160c4e70352fe7561001c6c2be0d76 authored over 11 years ago by Ivan Enderlin <[email protected]>
import() wildcard * supports Composer.

85f1b0f7d1b879032409bffbc3375e422f058086 authored over 11 years ago by Stéphane PY <[email protected]>
Initialize mbstring directly.

155b08d0664bedc307fa2928946cd5f49def1d75 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add the Hoa\Core::getPHPBinary() static method.

9143ecffb5f334a04c7603ed299e0bbaf576decd authored over 11 years ago by Ivan Enderlin <[email protected]>
Add the Hoa\Core::uuid() static method.

Moved from `hoa core:uuid`.

449659e3f10a2a1ee13239a0eb007e4f29c172a0 authored over 11 years ago by Ivan Enderlin <[email protected]>
Remove internal debugger.

70217acadb2df8575346a36b0f6ce46347b2bd85 authored over 11 years ago by Ivan Enderlin <[email protected]>
Bypass parser to exit when Hoa is included twice.

Hoa\Core has a special constant HOA to detect whether the core is
included twice. Unfortunatly, ...

1dcd6fec402f2dd68a27515799ce7bebf57d0c8a authored over 11 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

fefa0c3495d941d45c09befbb550f6541dc7c9bc authored over 11 years ago by Ivan Enderlin <[email protected]>
Update exit message.

bfbe6f15f6cd8569d20f6c043fd58bc4f3a147f1 authored over 11 years ago by Ivan Enderlin <[email protected]>
The $_SERVER['LANG'] is not always defined.

d927acccfc8f7f56c5461975ba99e254c919e305 authored over 11 years ago by Ivan Enderlin <[email protected]>
Use traditionnal transaction vocabulary.

3559b2a30449a6167aa0b2575678a5432e313828 authored over 11 years ago by Ivan Enderlin <[email protected]>
Format spaces when raising a group of exceptions.

e75dcf7d03aa340f1348d2a07686e5831b4a4195 authored over 11 years ago by Ivan Enderlin <[email protected]>
Hoa\Core\Exception\Group supports transactions.

Example:
$e = new Hoa\Core\Exception\Group('This is a cluster', 7);
$e1 = new Hoa\Cor...

53ded657ea706d7b04e8f30b17f5637de0684092 authored over 11 years ago by Ivan Enderlin <[email protected]>
Allow to call getValidCallback() without argument.

a4fae5cf28e5973e502d21ea1e2211f5ae0a65be authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix a typo. Thanks @CircleCode!

294ff7ed01543a3486861c5106cbfc2455d4b810 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add Hoa\Core\Exception\Group.

A Hoa\Core\Exception\Group instance is an exception that contains a
group of exceptions.

ed3bb090cf4c26a03736212ace0c6314fef570e2 authored over 11 years ago by Ivan Enderlin <[email protected]>
Uncaught exceptions always print previous ones.

023e473a3a7e4c9b29e84c9f28eef0a6383f9595 authored over 11 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

31a4b2c31e796fe25bb4f81cb8850c0f4747edb8 authored over 11 years ago by Ivan Enderlin <[email protected]>
Set require-dev as suggest feature , because require-dev has not recursive

Add suggest explication

9188eac7ec89e8c311bcba3aae02a6b4c43a5b2e authored over 11 years ago by camael24 <[email protected]>
Ease rolling-release.

00878a86042330998a8fa461464c67d53002867d authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix composer dependencies

7304637d526c0c3e10fc022ffdec34644893db07 authored over 11 years ago by Julien BIANCHI <[email protected]>
Remove a useless space. #mania

404c76de110f5f66f665c9244513b8d2492027aa authored over 11 years ago by Ivan Enderlin <[email protected]>
Update the help message.

17401eb25bfbf16f7c931a992e5e8645ddd98559 authored over 11 years ago by Ivan Enderlin <[email protected]>
Add the -u/--unfold option.

Corresponding to the $unfold argument of the Hoa\Core\Protocol::resolve
method.

b5c4302c06359902b6d04546755adfad421e0ce2 authored over 11 years ago by Ivan Enderlin <[email protected]>
Fix getFrom() with the error handler.

a8771380c376d683c3202c9d3d2b7448cc5602e3 authored over 11 years ago by Ivan Enderlin <[email protected]>
Error to exception depends on error_reporting.

144b24ae7e87b156ff597db4b56a91b11221ec0b authored almost 12 years ago by Ivan Enderlin <[email protected]>
Avoid to trigger an error.

c4a43cbebbf258fba74c377a16d128315b8c6ee0 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Fix versions.

5c4eabb511770ca618f53c77e00f9f3935b56faa authored almost 12 years ago by Ivan Enderlin <[email protected]>
“suggest” libraries are now “require-dev”.

49732b40436e47694fbcc04e14b3c72743410ef5 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Verbosity automatically depends on mode of STDIN.

Before:

$ hoa :resolve hoa://Library -V | xargs echo

Now, because verbosity depends of the...

893d8910ea1026f29b05e3c8e63159de272cce35 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Move extra core functions into Hoa\Core.

68c93523b01a4adc95b57033c6edfd523c2c946b authored almost 12 years ago by Ivan Enderlin <[email protected]>
Hard-preload Event, Exception & Data. #performance

Hoa\Core\Event, Hoa\Core\Exception and Hoa\Core\Data are not useful
everytime. By hard-preloadin...

47533e60dbbbf0b1e3c73b9966ea19a2cc47f79c authored almost 12 years ago by Ivan Enderlin <[email protected]>
Save calls to preg_match(). #performance

a5aff793fafe279ee53a46dd5de942fd49ac1621 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Compare keyword constants in lowercase.

4a601239ea0e1a78c01737f28cf1732ef67949bc authored almost 12 years ago by Ivan Enderlin <[email protected]>
Increase performance by 98.18%, yup.

It appears that date() is slow, so we run date() once and explode the
result, which is much better.

868862824e9dcc55ff35c4c6396190eee49fdaf8 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Be stricter regarding structure of given arrays.

63cd99ad0a970bd0b14653e6b56dca196c493e08 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Allow resolve() to catch complex ID.

Example: hoa://Library/Registry#foo/bar.

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

fe425f6acc6a58cf9bfa756945d1f57282ae6a48 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Simplify namespaces accesses.

f2cf647ba2864189295ac3dcf9b64a28392142b3 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Prevent an error when static::$_class is empty.

0ac9ae281959cfb295db83db12afe4ef08ef7733 authored about 12 years ago by Ivan Enderlin <[email protected]>
Happy new year \o/.

715b2ea2458fd6dbe48a3d6b303015f7f7ca5ca6 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add foreachImport() method.

84694247febadce4f9e5594b70fedf30904c4297 authored about 12 years ago by Ivan Enderlin <[email protected]>
Remove a useless variable.

e99ba3a9ee82f7c40b5703344c980c43f2d394c7 authored about 12 years ago by Ivan Enderlin <[email protected]>
_import() does no longer throw exception.

_import() previously thrown exception if file did not exist. This
exception was caught by import...

54373e203cac319d4df290e3602fdd92119d3738 authored about 12 years ago by Ivan Enderlin <[email protected]>
Add isKeyword() static method.

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

84fea92c456e61d3f94e8916099bfda30c889620 authored about 12 years ago by Ivan Enderlin <[email protected]>
Fix a parse error in the composer.json file.

c6e0be76a4a6e955a749430ce2bd11824c1caabe authored about 12 years ago by Ivan Enderlin <[email protected]>