]>
git.mxchange.org Git - core.git/log
Roland Häder [Mon, 1 Jan 2018 06:52:38 +0000 (07:52 +0100)]
Continued:
- added Executor interface from hub project
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 1 Jan 2018 03:51:59 +0000 (04:51 +0100)]
Continued:
- also "documented" namespace expansion (Tld\Domain\) in thrown exceptions
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 1 Jan 2018 03:17:22 +0000 (04:17 +0100)]
Continued:
- also updated these to new namespace
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Nov 2017 22:21:03 +0000 (23:21 +0100)]
Continued:
- also port this to SplFileInfo
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Nov 2017 21:28:08 +0000 (22:28 +0100)]
Continued:
- ops, overwrote fileInstance, rename to fileInfoInstance
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Nov 2017 21:19:37 +0000 (22:19 +0100)]
Continued:
- need to return full SplFileInfo instance instead of file name
- it is a better OOD anyway
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Nov 2017 20:58:42 +0000 (21:58 +0100)]
Continued:
- added Org\Nxchange\ namespace followwing Java convention
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 13 Aug 2017 19:35:13 +0000 (21:35 +0200)]
updated phpunit dependency to ^6.3 (6.3.0 and up until 6.3.9 including)
Roland Häder [Sun, 13 Aug 2017 19:19:54 +0000 (21:19 +0200)]
Rewrite continues:
- EmptyVariableException can be easily replaced by InvalidArgumentException (IEA)
because there is no need for to over-detailed exceptions, but still it is a
good idea to have more (custom) around than the defaults
- MissingMethodException was no longer used and is now emptied
- updated TODOs.txt
- ignored vendor in todo-builder.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 13 Aug 2017 18:51:58 +0000 (20:51 +0200)]
Rewrites:
- *IsEmptyException are all superflous as also NPE and IAE can do the same and
much more generic
- closed TODO to remove inConstructor, was bad code style anyway
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 13 Aug 2017 18:36:12 +0000 (20:36 +0200)]
Rewrite:
- the configuration instance is now instanciated by
FrameworkBootstrap::getConfigurationInstance(), this *may* has made it sure
that the class FrameworkConfiguration can be fully covered by unit tests.
- still a call-back instance test is pending
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 13 Aug 2017 18:15:36 +0000 (20:15 +0200)]
Rewrote a bit:
- removed redundant convertDashesToUnderscores() in FrameworkConfiguration but
had to add an include line again, let's save redudant code, right? :-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 13 Aug 2017 15:52:22 +0000 (17:52 +0200)]
Rewritten:
- rewrote framework to use more SPL's classes SplFileInfo and SplFileObject
instead of "bare" PHP functions (more objects, better type-hints)
- this may break a lot other code, please rewrite, too
- updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 21:46:53 +0000 (23:46 +0200)]
Continued with unit tests:
- some refacturing: all detectFoo() methods are now moved from configuration
to bootstrap class as this seems proper place
- also they can only be called static
- DNS resolver is now globally quieted in tests/bootstrap.php
- created new unit test for FrameworkBootstrap class (partly)
- this origins from configuration unit test
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 21:05:56 +0000 (23:05 +0200)]
Continued:
- Also test unsupported methods if they are still unsupported. Please note, that
these 2 methods may be removed from FrameworkInterface in the future as they
come from very old times where no database frontend classes exist.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 20:47:31 +0000 (22:47 +0200)]
Continued a bit:
- better checks allowing more coverage
- added some sanity-checks
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 17:25:33 +0000 (19:25 +0200)]
Let's name it better, more clear.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 16:40:15 +0000 (18:40 +0200)]
Allow DNS resolver to become quiet about its operations
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 16:19:49 +0000 (18:19 +0200)]
Added first PHPUnit-based unit test. This will test some of the methods in the
configuration class 'FrameworkConfiguration'. Strangely, not all I have tested
have 100% coverage ... Why? :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 15:02:28 +0000 (17:02 +0200)]
Continued a bit:
- some rewrites to make PHPUnit be able to unit-test it
- more sanity-checks on parameters, were sometimes combined
- surpress some anoyances caused by to strict xdebug settings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 12:52:03 +0000 (14:52 +0200)]
Continued:
- added sanity-checks on parameters
- no more these server-based (?) tests
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 12:24:09 +0000 (14:24 +0200)]
Continued:
- imported much more framework stuff, found by CodeCoverage
- renamed some namespaces
- FuseWrapper seems to be no longer maintained? ;-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 11:14:01 +0000 (13:14 +0200)]
Continued:
- rewrote some parts of the class loader to e.g. avoid loading full lust into
variable and then only decode it
- renamed shortended variables
- cut a very long variable down a bit (one word)
- ignored all logfiles in root directory
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 10:56:32 +0000 (12:56 +0200)]
Continued a bit:
- renamed method app_exit() to exitApplication(), still it needs rewritings
- rewrote a bit searching for framework files, also check __DIR__ from
index.php to find it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 10:43:03 +0000 (12:43 +0200)]
Continued a bit:
- start of rewriting unit tests, these old where not very well written anyway
- created phpunit.xml.dist
- created composer.json/lock files. No, I'm not going to replace my class
loader with it. I still like mine better. :-)
- created tests/bootstrap.php which contains an ugly hack for loading my tests
first. Maybe there is a better way?
- moved class to proper (deeper) location
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Jul 2017 00:32:39 +0000 (02:32 +0200)]
Cleanup:
- removed deprecated unit tests, very old-lost stuff
- removed deprecated setMagicQuotesRuntime() which only wraps an already
deprecated PHP function
- unit tests with PHPUnit are coming! :-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Jul 2017 21:05:39 +0000 (23:05 +0200)]
Continued:
- added experimental (maybe not working) iterator for registries
- callbackInstance is now generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Jul 2017 17:46:56 +0000 (19:46 +0200)]
fixed namespace for FiLoStacker + removed config entry which does not point to
a generic class anymore.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Jul 2017 17:43:54 +0000 (19:43 +0200)]
added public (non-sensitive) NetBeans project files
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Jul 2017 21:27:39 +0000 (23:27 +0200)]
Continued a bit:
- added experimental RegistryIterator class which will iterate over all found
entries in the given registry. If a sub-registry is found, also their entries
will be iterated over instead of the sub-registry being returned.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Jul 2017 20:12:38 +0000 (22:12 +0200)]
Added getter/setter for a Register instance (registries)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 30 Jun 2017 20:13:13 +0000 (22:13 +0200)]
Also skip this
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 17 Jun 2017 20:49:40 +0000 (22:49 +0200)]
also skip one element when __callStatic is given
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 17 Jun 2017 20:39:12 +0000 (22:39 +0200)]
Experimental "audio-fetching" script added
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 17 Jun 2017 20:38:25 +0000 (22:38 +0200)]
Some rewrites:
- debugOutput() does not include caller method name and line number
- partialStub() no longer outputs caller method name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 15:57:11 +0000 (17:57 +0200)]
no longer deprecated
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 14:30:37 +0000 (16:30 +0200)]
Nope, this will add hashes to the list ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 14:22:55 +0000 (16:22 +0200)]
Nope, this method needs to be called!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 13:17:32 +0000 (15:17 +0200)]
Also log call-back instance
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 13:15:41 +0000 (15:15 +0200)]
... now call-back array ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 13:13:54 +0000 (15:13 +0200)]
use better method_exists() is_callable() also accepts __call() which is not
wanted here.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 13:11:39 +0000 (15:11 +0200)]
also add new setCallbackInstance() to interface ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 13:03:48 +0000 (15:03 +0200)]
added call-back instance support
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 30 May 2017 11:51:09 +0000 (13:51 +0200)]
Unsupported array found, maybe later add a call-backable class here, for now
at least the array keys are taken into final hash.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 May 2017 20:56:31 +0000 (22:56 +0200)]
imported Helper
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 May 2017 18:17:19 +0000 (20:17 +0200)]
imported OutputStream
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 May 2017 17:37:08 +0000 (19:37 +0200)]
getResponseInstance is now located in FrameworkBootstrap
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 May 2017 17:35:04 +0000 (19:35 +0200)]
imported ApplicationEntryPoint
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 29 May 2017 12:17:16 +0000 (14:17 +0200)]
must implement Registerable
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 23 May 2017 19:11:59 +0000 (21:11 +0200)]
Strict naming-convention (Project\Package[\SubPackage]\SomeFooBar) is now also
done by ObjectFactory.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 20:38:20 +0000 (22:38 +0200)]
imported FrameworkFeature
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 20:36:56 +0000 (22:36 +0200)]
with Github name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 20:29:28 +0000 (22:29 +0200)]
imported InputStream
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 18:57:56 +0000 (20:57 +0200)]
Fixes:
- Opps, application_base_path was somehow double
- use DIRECRORY_SEPARATOR
- renamed variable to clarify it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 18:50:48 +0000 (20:50 +0200)]
imported FileNotFoundException
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 18:48:39 +0000 (20:48 +0200)]
use DIRECTORY_SEPARATOR instead of plain '/'
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 18:45:00 +0000 (20:45 +0200)]
Sorry, I confused it ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 18:40:28 +0000 (20:40 +0200)]
no more 'base_path', now there are 'base_framework_path' and 'base_application_path'
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 17:45:07 +0000 (19:45 +0200)]
imported BaseTemplateEngine
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 17:06:46 +0000 (19:06 +0200)]
No own namespace for these, so no need to import
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 17:02:09 +0000 (19:02 +0200)]
no longer generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 16:52:48 +0000 (18:52 +0200)]
Fixed template:
- imported BaseHandler
- created namespace
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 16:40:29 +0000 (18:40 +0200)]
no more generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 22 May 2017 16:37:46 +0000 (18:37 +0200)]
no more generic!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 21 May 2017 20:20:47 +0000 (22:20 +0200)]
No more this here, it is no longer generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 21 May 2017 13:46:11 +0000 (15:46 +0200)]
No more generic, StorableSocket is not generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 20 May 2017 23:06:13 +0000 (01:06 +0200)]
yet another exception ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 20 May 2017 19:40:25 +0000 (21:40 +0200)]
HandleableProtocol-related stuff is not generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 20 May 2017 19:00:43 +0000 (21:00 +0200)]
other way and don't log __METHOD__ anymore
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 21:50:07 +0000 (23:50 +0200)]
Also no longer generic ... Same reason!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 21:45:45 +0000 (23:45 +0200)]
Cannot be generic, due to StorableSocket class (may be rewritten again, one day)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 21:16:15 +0000 (23:16 +0200)]
Is not generic (ConnectionInfo)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 21:13:59 +0000 (23:13 +0200)]
updated TODOs.txt
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 19:19:39 +0000 (21:19 +0200)]
Continued a bit:
- imported Handleable
- removed HandleableProtocol, is not generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 19:01:12 +0000 (21:01 +0200)]
BaseRawDataHandler is not generic (anymore or was never)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 18:26:58 +0000 (20:26 +0200)]
commits fixes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 18:24:31 +0000 (20:24 +0200)]
imported in template
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 17:10:09 +0000 (19:10 +0200)]
Needs to be here, no way!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:56:49 +0000 (18:56 +0200)]
Moved a lot back to hub:
- ConnectionHelper and ShareableInfo are breaking this
- Else, tons of more hub-specific classes must follow ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:27:55 +0000 (18:27 +0200)]
imported BaseInfo
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:22:49 +0000 (18:22 +0200)]
imported from hub project
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:21:29 +0000 (18:21 +0200)]
imported ConnectionInfoFactory
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:20:37 +0000 (18:20 +0200)]
imported ShareableInfo
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:18:18 +0000 (18:18 +0200)]
also the factory has been imported
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:15:32 +0000 (18:15 +0200)]
also added BaseInfo and ConnectionInfo, now bound to BaseFrameworkSystem
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:12:44 +0000 (18:12 +0200)]
added interface from hub project
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:06:43 +0000 (18:06 +0200)]
template updated
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:03:54 +0000 (18:03 +0200)]
deeper + imported SocketRegistryFactory
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 16:01:57 +0000 (18:01 +0200)]
imported BaseListener
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 15:39:48 +0000 (17:39 +0200)]
imported FrameworkInterface + created namespace
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 14:59:57 +0000 (16:59 +0200)]
Imported HelpableTemplate
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 14:53:32 +0000 (16:53 +0200)]
imported UnsupportedOperationException;
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 14:27:49 +0000 (16:27 +0200)]
need to import Stateable, too. More may follow (aftermath of namespacing)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 14:04:49 +0000 (16:04 +0200)]
Continued:
- imported Stream
- (Input|Output)Stream now have own namespaces
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 14:02:28 +0000 (16:02 +0200)]
Continued a bit:
- imported BaseStream
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 13:56:31 +0000 (15:56 +0200)]
Continued a bit:
- in the wake of mcrypt being deprecated, an OpenSSL-based implementation
needs to be written. This commit marks the start for it. Please note, that
currently you don't have *ANY* encryption as the methods are unfinished
- moved DATA_PAYLOAD_SEPARATOR to EncryptableStream
- updated TODOs.txt
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 13:50:36 +0000 (15:50 +0200)]
no longer deprecated and now imported
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 13:44:36 +0000 (15:44 +0200)]
Please avoid these class_exists() outside any object factory
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 13:32:22 +0000 (15:32 +0200)]
First Database, then Frontend (not Wrapper)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 May 2017 00:25:59 +0000 (02:25 +0200)]
first namespace, then other
Signed-off-by: Roland Häder <roland@mxchange.org>