0
I Use This!
Very Low Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Dec 14, 2024 — Dec 14, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Continued: - caching config entry here saves a lot invocations
Quix0r
as Roland Häder
More... almost 4 years ago
Continued: - some exception messages changed (more generalized)
Quix0r
as Roland Häder
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 []
Quix0r
as Roland Häder
More... almost 4 years ago
Continued: - renamed methods to make their purpose more clear
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
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()
Quix0r
as Roland Häder
More... about 4 years ago
Continued: - commented out noisy debug lines
Quix0r
as Roland Häder
More... about 4 years ago
Continued: - removed more // END - <something> occurances as I don't do them anymore
Quix0r
as Roland Häder
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!)
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
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()
Quix0r
as Roland Häder
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.
Quix0r
as Roland Häder
More... about 4 years ago
Improved some debug lines
Quix0r
as Roland Häder
More... over 4 years ago
Continued: - skip empty lines
Quix0r
as Roland Häder
More... over 4 years ago
Continued: - CsvInputFile->readCsvFileLine() now accepts optional 2nd parameter $expectedMatches - it also may throw 2 different exceptions on you
Quix0r
as Roland Häder
More... over 4 years ago
Continued: - only __CLASS__ is out-dated - used "new" array style []
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - better debug logging
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - added parameter-validation and thrown IAE when not valid - added more noisy debug lines
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - moved self::$hashLength, getHashLength() and hash() methods to new CryptoUtils class for lesser monolithic code in BaseFrameworkSystem class
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - added missing interface constants - also BaseFileIndex' header array has now associative array elements
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - fixed bad calls on no-longer existing iterator
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
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).
Quix0r
as Roland Häder
More... almost 5 years ago
Continued: - updated copyright year
Quix0r
as Roland Häder
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)
Quix0r
as Roland Häder
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
Quix0r
as Roland Häder
More... almost 5 years ago