| Continued: - caching config entry here saves a lot invocations |
|
More...
|
almost 4 years ago
|
| Continued: - some exception messages changed (more generalized) |
|
More...
|
almost 4 years ago
|
| 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 [] |
|
More...
|
almost 4 years ago
|
| Continued: - renamed methods to make their purpose more clear |
|
More...
|
about 4 years ago
|
| 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 |
|
More...
|
about 4 years ago
|
| Continued: - "cached" configuration entry 'developer_mode_enabled' and 'debug_*_output_timings' into class fields to avoid "expensive" calls all over again to FrameworkConfiguration->getConfigEntry() |
|
More...
|
about 4 years ago
|
| Continued: - commented out noisy debug lines |
|
More...
|
about 4 years ago
|
| Continued: - removed more // END - <something> occurances as I don't do them anymore |
|
More...
|
about 4 years ago
|
| 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!) |
|
More...
|
about 4 years ago
|
| 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 |
|
More...
|
about 4 years ago
|
| 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() |
|
More...
|
about 4 years ago
|
| 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. |
|
More...
|
about 4 years ago
|
| Improved some debug lines |
|
More...
|
over 4 years ago
|
| Continued: - skip empty lines |
|
More...
|
over 4 years ago
|
| Continued: - CsvInputFile->readCsvFileLine() now accepts optional 2nd parameter $expectedMatches - it also may throw 2 different exceptions on you |
|
More...
|
over 4 years ago
|
| Continued: - only __CLASS__ is out-dated - used "new" array style [] |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|
| Continued: - better debug logging |
|
More...
|
almost 5 years ago
|
| Continued: - added parameter-validation and thrown IAE when not valid - added more noisy debug lines |
|
More...
|
almost 5 years ago
|
| Continued: - moved self::$hashLength, getHashLength() and hash() methods to new CryptoUtils class for lesser monolithic code in BaseFrameworkSystem class |
|
More...
|
almost 5 years ago
|
| Continued: - added missing interface constants - also BaseFileIndex' header array has now associative array elements |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|
| Continued: - fixed bad calls on no-longer existing iterator |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|
| 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). |
|
More...
|
almost 5 years ago
|
| Continued: - updated copyright year |
|
More...
|
almost 5 years ago
|
| 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) |
|
More...
|
almost 5 years ago
|
| 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 |
|
More...
|
almost 5 years ago
|