]> git.mxchange.org Git - core.git/log
core.git
2 years agoPlease cherry-pick:
Roland Häder [Sun, 6 Mar 2022 05:26:33 +0000 (06:26 +0100)]
Please cherry-pick:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Mar 2022 05:25:38 +0000 (06:25 +0100)]
Continued:
- updated framework's (and testing application's) copyright year
- also for tests copyright year has been updated

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Mar 2022 05:25:10 +0000 (06:25 +0100)]
Continued:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:56:15 +0000 (03:56 +0100)]
Continued:
- updated composer dependencies

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoPlease cherry-pick:
Roland Häder [Wed, 2 Mar 2022 02:55:59 +0000 (03:55 +0100)]
Please cherry-pick:
- described an if() block why and when that condition may happen (rarely seen)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:55:41 +0000 (03:55 +0100)]
Continued:
- ignored patch/diff files
- added type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:42:48 +0000 (19:42 +0100)]
Continued:
- let's not mess up logfiles with \n characters

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:41:05 +0000 (19:41 +0100)]
Continued:
- no, same result as fgets() is being invoked
- get_class() did the trick here

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:32:08 +0000 (19:32 +0100)]
Continued:
- (maybe) fixed warning "bad file descriptor", it was flooding logfiles

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 30 Dec 2021 03:03:43 +0000 (04:03 +0100)]
Continued:
- caching config entry here saves a lot invocations

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 14:31:24 +0000 (15:31 +0100)]
Continued:
- some exception messages changed (more generalized)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 11:52:42 +0000 (12:52 +0100)]
Continued:
- Better check against SplFileObject instead of is_object(). First one is a
  keyword (instanceof), later is a function call
- More debug logging
- Added missing "import" lines
- Replaced more array() with []

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Mon, 13 Dec 2021 17:49:35 +0000 (18:49 +0100)]
Continued:
- renamed methods to make their purpose more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 09:09:22 +0000 (10:09 +0100)]
Continued:
- "cached" more configuration entries to class fields to avoid "expensive"
  invocations on FrameworkConfiguration->getConfigEntries()
- rewrote some "soft" assertions to hard exceptions as this cannot be let through

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 07:44:25 +0000 (08:44 +0100)]
Continued:
- "cached" configuration entry 'developer_mode_enabled' and
  'debug_*_output_timings' into class fields to avoid "expensive" calls all over
  again to FrameworkConfiguration->getConfigEntry()

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 07:07:39 +0000 (08:07 +0100)]
Continued:
- commented out noisy debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 07:05:34 +0000 (08:05 +0100)]
Continued:
- removed more // END - <something> occurances as I don't do them anymore

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 06:30:30 +0000 (07:30 +0100)]
Continued:
- made ClassLoader final as no inheriting classes shall be made (it is generic
  enough)
- renamed ClassLoader->$foundClasses to $pendingFiles as this describes the
  content of the array more closely
- removed some old-lost "// END - if" (WAY more to follow!)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 11 Dec 2021 23:18:41 +0000 (00:18 +0100)]
Continued:
- StringUtils::convertToClassName() is now "in-method cached". That means that
  the parameter $str is used as key and the value is being generated when the
  key does not exist in self::$cache array

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 11 Dec 2021 23:13:14 +0000 (00:13 +0100)]
Continued:
- moved getCacheKeyByCriteria() to BaseDatabaseFrontend class, maybe not the
  final resting place, but better than in the generic, bloated
  BaseFrameworkSystem class
- Introduced BaseXmlTemplateEngine->$initMethodName to avoid an additional
  invocation of StringUtils::convertToClassName() on each invocation of
  startElement()

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 11 Dec 2021 21:47:55 +0000 (22:47 +0100)]
Continued:
- invoking ksort() by every invocation of setConfigEntry() is very "expensive"
  as sorting arrays take time. Better is to load all configuration files and
  then sort it only once.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoImproved some debug lines
Roland Häder [Sat, 28 Aug 2021 08:36:15 +0000 (10:36 +0200)]
Improved some debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 26 Aug 2021 02:16:20 +0000 (04:16 +0200)]
Continued:
- skip empty lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 26 Aug 2021 02:11:07 +0000 (04:11 +0200)]
Continued:
- CsvInputFile->readCsvFileLine() now accepts optional 2nd parameter
  $expectedMatches
- it also may throw 2 different exceptions on you

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 17 Jan 2021 06:33:09 +0000 (07:33 +0100)]
Continued:
- only __CLASS__ is out-dated
- used "new" array style []

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 17 Jan 2021 06:02:12 +0000 (07:02 +0100)]
Continued:
- "externalized" hard-wired hash function name "sha256" to configuration key
  "crypto_hash_function_name", maybe others will follow?
- renamed $config array to $configData in FrameworkConfiguration class
- since PHP doesn't support static initializer, e.g. like Java does, added
  private, static method staticInitializer() which is (in Java) executed only
  once when the class file has been loaded

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 17 Jan 2021 04:54:29 +0000 (05:54 +0100)]
Continued:
- added hash-benchmark.php; previous in "hub" project aka. mhash-benchmark.php,
  but since ext-mash is replaced by Hash, this needs porting, too.
- "new" array style [] used in audio.php
- ported CryptoUtils::hash() to PHP's new Hash "extension"
- Minor improvements

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 17 Jan 2021 04:22:28 +0000 (05:22 +0100)]
Continued:
- better debug logging

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 17 Jan 2021 00:42:17 +0000 (01:42 +0100)]
Continued:
- added parameter-validation and thrown IAE when not valid
- added more noisy debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 8 Jan 2021 07:56:05 +0000 (08:56 +0100)]
Continued:
- moved self::$hashLength, getHashLength() and hash() methods to new
  CryptoUtils class for lesser monolithic code in BaseFrameworkSystem class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 8 Jan 2021 07:27:10 +0000 (08:27 +0100)]
Continued:
- added missing interface constants
- also BaseFileIndex' header array has now associative array elements

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 8 Jan 2021 06:56:54 +0000 (07:56 +0100)]
Continued:
- moved utilities classes to plural path names and namespaces
- added ArrayUtils class for handling arrrays
- used that new class' method to map numeric array elements to associative

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 7 Jan 2021 23:48:44 +0000 (00:48 +0100)]
Continued:
- rewrote a bit class loader, it used both
  FrameworkBootstrap::getConfigurationInstance() and a copied instance to get
  configuration entries, now only the former one is used
- moved constants to interface BinaryFile

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 7 Jan 2021 20:31:01 +0000 (21:31 +0100)]
Continued:
- fixed bad calls on no-longer existing iterator

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 7 Jan 2021 20:18:27 +0000 (21:18 +0100)]
Continued:
- removed SeekableWritableFileIterator as this had no real function but only
  handled over the method calls to the inner class
- for now on let's get the $binaryFileInstance directly from it

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 6 Jan 2021 19:59:09 +0000 (20:59 +0100)]
Continued:
- fixed bug which occured because the last block was counted twice. This
  happened when read() returns an empty (zero length) string which was not
  properly handled (maybe EOF reached).

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 6 Jan 2021 19:31:31 +0000 (20:31 +0100)]
Continued:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoWIP:
Roland Häder [Wed, 6 Jan 2021 19:28:35 +0000 (20:28 +0100)]
WIP:
- thrown exceptions when parameter values/types are not valid
- added type-hints for primitive variables
- partially fixed writing index files for other non-humanreadable files (see
  BaseBinaryFile class)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 20 Dec 2020 11:43:56 +0000 (12:43 +0100)]
Continued:
- fixed BaseFileIndex' constructor, thanks to the private access, I found my
  mistake here, needs to be protected access and with $className parameter
  (string, of course)
- also include list group only when valid

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 20 Dec 2020 11:22:12 +0000 (12:22 +0100)]
Continued:
- NULL is no longer allowed as "empty" strings for $groupName are not allowed
- this whole thing was a bit complicated core and now still is buth with no NULL

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRewrite:
Roland Häder [Sun, 20 Dec 2020 11:09:05 +0000 (12:09 +0100)]
Rewrite:
- constructors of concrete (=implementing non-abstract) classes should be
  private to avoid somone making an inheriting class of a concrete class
- this is good practice: only make inheriting (concrete) classes of abstract
  classes, not another concrete class only because you want that functionality
  in your class, too
- the private constructor also stops you from doing such wrong things, no need
  to make all concrete classes final

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 20 Dec 2020 10:58:54 +0000 (11:58 +0100)]
Continued:
- added type-hints for primitive variables
- added condition-checks for string/int parameter and when condition is not met
  an IAE is being thrown

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 10 Dec 2020 03:02:24 +0000 (04:02 +0100)]
Continued:
- added missing imports

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 10 Dec 2020 03:00:44 +0000 (04:00 +0100)]
Continued:
- moved $minimumBlockLength to BaseFileIndex

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 10 Dec 2020 02:57:31 +0000 (03:57 +0100)]
Continued:
- added missing import

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 10 Dec 2020 02:53:29 +0000 (03:53 +0100)]
Continued:
- ops, left-over from previous rewrite

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacuring / possible WIP:
Roland Häder [Thu, 10 Dec 2020 01:37:41 +0000 (02:37 +0100)]
Refacuring / possible WIP:
- rewrote a lot clases and cleared up abuse of Block interface
- got rid of $applicationInstance as this can be retrieved singelton
- moved some files, added new BaseFileIndex class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 9 Dec 2020 06:06:43 +0000 (07:06 +0100)]
Continued:
- used ApplicationEntryPoint::exitApplication() instead of die()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 9 Dec 2020 05:40:21 +0000 (06:40 +0100)]
Continued:
- interface Block was abused for file classes (index file/file-based stack) and
  is now free of it
- BinaryFile replaces it and other inheriting interfaces are cleared (moved
  methods to BinaryFile)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 9 Dec 2020 01:41:22 +0000 (02:41 +0100)]
Continued:
- renamed ambicious methods key/valid/... as they are iterator-only methods
- also got rid of key() as determineSeekPosition() and getSeekPosition() are
  there already

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Tue, 8 Dec 2020 23:22:25 +0000 (00:22 +0100)]
Continued:
- finally commented them out ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Tue, 8 Dec 2020 23:20:01 +0000 (00:20 +0100)]
Continued:
- commented out a lot debug messages
- still closeFile() and __destruct() interfere with PHPUnit's output
- Fixed bugs in pre-allocating binary files and needed to add 2 to header size for first free gap
- also introduced some private methods to ease adding gaps (start/end seek positions)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRewrites:
Roland Häder [Mon, 7 Dec 2020 14:16:48 +0000 (15:16 +0100)]
Rewrites:
- more thrown exceptions
- more debug logging (currently messing up phpunit output)
- more type-hints for primitive variables added
- writeAtPosition() must be used instead of writeData() as the later one
  increments the counter
- debug log files could contain non-text data, so let's treat them as as text
  anyway ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 11:01:32 +0000 (12:01 +0100)]
Continued:
- seeking to position zero within a zero-sized file doesn't make sense

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 10:57:31 +0000 (11:57 +0100)]
Continued:
- renamed BaseStacker/BaseFileStack->addValue() to addValueToStack()
- added more debug lines
- added more parameter validation
- updated index.php

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 09:47:50 +0000 (10:47 +0100)]
Continued:
- moved constants from BaseIndex class to Indexable interface
- removed extra file

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 08:30:25 +0000 (09:30 +0100)]
Continued:
- ops, forgot to import here

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 07:55:19 +0000 (08:55 +0100)]
Continued:
- ObjectFactoty is now final, extend BaseFactory instead and if you still need
  to invoke methods, just do it the normal way
- this allows better unit-testing

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 7 Dec 2020 07:48:12 +0000 (08:48 +0100)]
Continued:
- moved ObjectFactory into deeper package

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 23:58:00 +0000 (00:58 +0100)]
Continued:
- replaced old array() with "new" [] style

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 20:30:46 +0000 (21:30 +0100)]
Continued:
- ops, needs to be static

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 20:28:07 +0000 (21:28 +0100)]
Continued:
- added type-hints for primitive variables
- throw IAE when a parameter is not valid, e.g. empty hostname or IP address

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 19:10:29 +0000 (20:10 +0100)]
Continued:
- renamed DatabaseConnection->$dbLayer to $backendInstance (old-lost name)
- added more checks on empty string parameter and throw an IAE

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 11:29:43 +0000 (12:29 +0100)]
Continued:
- replaced InvalidInterfaceException with UnexpectedValueException
- removed that deprecated interface

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 11:24:23 +0000 (12:24 +0100)]
Continued:
- replaced InvalidObjectException with InvalidArgumentException
- that custom exception was already deprecated/unwanted anyway
- moved classes to deeper packages

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:35:21 +0000 (11:35 +0100)]
Continued:
- reduced over-usage of is_string()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:22:10 +0000 (11:22 +0100)]
Continued:
- configuration keys __detected_* are abusive to the configuration class,
  faster and more confirm is to use static class fields and static getter
  for it.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:03:35 +0000 (11:03 +0100)]
Continued:
- added type-hints for primitive variables
- still a lot is left for refacturing ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 09:49:38 +0000 (10:49 +0100)]
Continued:
- minimum block length is the same for all file indexes and file-based stacks
- merged 2 lines together in BaseFrameworkSystem class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 09:32:52 +0000 (10:32 +0100)]
Continued:
- updated index.php
- PHP_Invoker is now with a namespace, so no need for disabling strict
  naming-convention check
- removed some old END - *
- renamed configuration entries 'detect_*' to '__detect_*' as they are dummies
- maybe later get rid of them as the configuration class seem to be "abused"
  here a bit
- converted old array() to "new" []

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 08:35:47 +0000 (09:35 +0100)]
Continued:
- updated composer files and dependencies

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 08:00:57 +0000 (09:00 +0100)]
Continued:
- ops, also need to use/"load" the trait ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 07:48:31 +0000 (08:48 +0100)]
Continued:
- Application instance in generic registry was a little of an overdoze when
  there is ApplicationHelper::getSelfInstance() around, this means lesser
  method invocations and a bit smaller footprint (one registry entry lesser)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 04:20:03 +0000 (05:20 +0100)]
Continued:
- added more parameter validation
- added commented-out noisy debug lines
- rewrote more assert() calls to thrown exceptions (not private methods)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Sun, 6 Dec 2020 00:51:31 +0000 (01:51 +0100)]
Refacturing:
- introduced IndexableTrait
- the test for loadable classes is basically finished, later add more tests
  (filters) for each single class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoFixed:
Roland Häder [Sun, 6 Dec 2020 00:08:59 +0000 (01:08 +0100)]
Fixed:
- added missing sprintf() (ops)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 23:56:23 +0000 (00:56 +0100)]
Continued:
- validated more parameters to avoid bad invocation with invalid values
- int $bytes = NULL was my default, SPL says 0, not NULL as default value
- improved logger messages by adding type and all parameters

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 22:24:29 +0000 (23:24 +0100)]
Continued:
- renamed some namespaces
- renamed BaseFileStack::ARRAY_INDEX_* to ARRAY_NAME_* as these constants
  contain names and not numbers
- also moved them to interface StackableFile

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 10:14:09 +0000 (11:14 +0100)]
Continued:
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 06:39:32 +0000 (07:39 +0100)]
Continued:
- shouldn't the header array being set after it has been hex-decoded?

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 23:36:52 +0000 (00:36 +0100)]
Continued:
- next() needs to increase current position and then check if it is still valid

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 22:38:25 +0000 (23:38 +0100)]
Continued:
- confusing between valid() (current position is valid) and next() (next entry
  is valid) is fixed before

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 22:02:41 +0000 (23:02 +0100)]
Continued:
- fixes for currentPos calculation, needs to be done in factory method (or
  private method being invoked there)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 20:48:15 +0000 (21:48 +0100)]
Continued:
- logging __METHOD__ + __LINE__ again is no more needed since rewrite of logger
- possible fix for wrong valid() result (was FALSE while there was one entry
  there)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 21:21:00 +0000 (22:21 +0100)]
Continued:
- fixed socketType in exception, is now a getter

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 19:24:48 +0000 (20:24 +0100)]
Refacturing:
- replaced $helperInstance with HelperTrait

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:49:29 +0000 (19:49 +0100)]
Continued:
- ops, added missing "import", Java wouldn't allow that

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 18:42:58 +0000 (19:42 +0100)]
Refacturing:
- introduced RegisterTrait instead of $registryInstance

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:37:34 +0000 (19:37 +0100)]
Continued:
- must be public getter in some situations, avoid public setter!

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:33:47 +0000 (19:33 +0100)]
Continued:
- added trait for $handlerInstance

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 17:45:47 +0000 (18:45 +0100)]
Continued:
- added type-hints for primitive variables
- thanks to these type-hints, some tests are no longer needed

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 12:22:14 +0000 (13:22 +0100)]
Continued:
- No more database wrappers, they are now called frontends

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 10:11:30 +0000 (11:11 +0100)]
Continued:
- rewrote deprecated DEVELOPER constant to developer_mode_enabled configuration
  entry
- added missing "import" line for exception

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 07:18:15 +0000 (08:18 +0100)]
Continued:
- introduced CompileableXmlTemplate class
- also BaseXmlTemplateEngine needs a trait

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 06:09:59 +0000 (07:09 +0100)]
Continued:
- first parameter can be an alternative log file

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 06:01:48 +0000 (07:01 +0100)]
Continued:
- added BaseXmlTemplateEngine from hub code

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 05:54:59 +0000 (06:54 +0100)]
Continued:
- MenuTemplateEnggine requires a StackableTrait
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:45:15 +0000 (06:45 +0100)]
Refacturing:
- extracted $stack as trait

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:37:52 +0000 (06:37 +0100)]
Refacturing:
- replaced $listInstance with trait

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:34:32 +0000 (06:34 +0100)]
Refacturing:
- extracted traits for $list and $visitor instances

Signed-off-by: Roland Häder <roland@mxchange.org>