author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
323,346 | 10.08.2022 19:07:00 | -28,800 | f397a8c6c5669b5161f8c5c66fedb7c68dae38bd | Try to fix SQL error on re-executing SQL after reconnect | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMySQL.php",
"new_path": "Ext/libMySQL.php",
"diff": "@@ -29,6 +29,7 @@ class libMySQL extends Factory\n{\npublic \\PDO $pdo;\npublic libPDO $libPDO;\n+ public \\PDOStatement $PDOStatement;\npublic int $retry_times = 0;\npublic int $affected_rows = 0;\n@... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Try to fix SQL error on re-executing SQL after reconnect |
323,346 | 10.08.2022 20:06:58 | -28,800 | 9ea5de93743913529a351ddec5cc34ef990dff96 | Remove catch logic of listenTo and connectTo | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/SocketMgr.php",
"new_path": "Core/Mgr/SocketMgr.php",
"diff": "@@ -219,10 +219,10 @@ class SocketMgr extends Factory\n* @param string $address\n*\n* @return void\n+ * @throws \\Throwable\n*/\npublic function listenTo(string $address): void\n{\n- try {... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Remove catch logic of listenTo and connectTo |
323,346 | 11.08.2022 20:36:35 | -28,800 | ae12e69173ddfc71b9bef04e40173e22c0d15d88 | Change libMPC logic using ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -22,331 +22,105 @@ namespace Nervsys\\Ext;\nuse Nervsys\\Core\\Factory;\nuse Nervsys\\Core\\Lib\\App;\n-use Nervsys\\Core\\Lib\\Caller;\nuse Nervsys\\Core\\Lib\\Error;\n-use Nervsys\\Core\\Lib\\IOData;... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Change libMPC logic using ProcMgr |
323,346 | 11.08.2022 20:50:15 | -28,800 | 914545f2c193600a604aefec29333aa5da2b5692 | Run child fiber after send cmd | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -76,6 +76,7 @@ class libMPC extends Factory\n/**\n* @return void\n* @throws \\ReflectionException\n+ * @throws \\Throwable\n*/\npublic function childProc(): void\n{\n@@ -121,6 +122,8 @@ class libMPC ex... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Run child fiber after send cmd |
323,346 | 11.08.2022 22:31:07 | -28,800 | da047b250bb4f09edbe45236669316f8ef036343 | Rename all "run" function in Mgr classes to "commit" | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/FiberMgr.php",
"new_path": "Core/Mgr/FiberMgr.php",
"diff": "@@ -42,6 +42,7 @@ class FiberMgr extends Factory\n/**\n* Await callable function, generate Fiber instance\n+ * Using \"await()->getReturn()\" to get Fiber returned result\n*\n* @param callab... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Rename all "run" function in Mgr classes to "commit" |
323,346 | 11.08.2022 22:54:24 | -28,800 | 41f77c1573abc2293c6e9a0a12ae607c91d5fa5c | Keep libMPC returned data structure by passed argv count | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -121,7 +121,17 @@ class libMPC extends Factory\n$fiberMgr->await([parent::getObj($cmd_data[0], $data), $cmd_data[1]], $data),\nfunction (): void\n{\n- echo json_encode(func_get_args(), JSON_FORMAT) . \... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Keep libMPC returned data structure by passed argv count |
323,346 | 11.08.2022 23:56:51 | -28,800 | b610d4ff8afff5f4452da3567ee112fe8882d89e | Add select_timeout property to ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -28,6 +28,8 @@ class ProcMgr extends Factory\npublic OSMgr $OSMgr;\npublic FiberMgr $fiberMgr;\n+ public int $select_timeout = 200000; // microseconds\n+\nprivate string $command;\nprivate ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add select_timeout property to ProcMgr |
323,346 | 12.08.2022 12:46:37 | -28,800 | c501bb889380768e27435ffd191639dd75aa789a | Property renamed | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -28,7 +28,7 @@ class ProcMgr extends Factory\npublic OSMgr $OSMgr;\npublic FiberMgr $fiberMgr;\n- public int $select_timeout = 200000; // microseconds\n+ public int $watch_timeout = 200000;... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Property renamed |
323,346 | 12.08.2022 12:54:05 | -28,800 | 03ae8e093753993940e2d1260e39a25c4e27632d | Add watch_timeout param defaults to 10000 microseconds in libMPC | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -34,12 +34,13 @@ class libMPC extends Factory\n/**\n* @param string $php_path\n* @param int $proc_num\n+ * @param int $watch_timeout\n*\n* @return $this\n* @throws \\ReflectionException\n* @throws \\Ex... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add watch_timeout param defaults to 10000 microseconds in libMPC |
323,346 | 12.08.2022 12:56:04 | -28,800 | a6159cbbdb8c40103489ceb67ffb4c5cef1c7763 | Rename select_timeout to watch_timeout | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/SocketMgr.php",
"new_path": "Core/Mgr/SocketMgr.php",
"diff": "@@ -30,7 +30,7 @@ class SocketMgr extends Factory\npublic int $wait_timeout = 3; // seconds\npublic int $alive_timeout = 30; // seconds\n- public int $select_timeout = 200000; // microseco... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Rename select_timeout to watch_timeout |
323,346 | 12.08.2022 23:37:32 | -28,800 | b941dd3bc44c088ca0f994d285f2819af028a9e8 | Open all functions in ProcMgr for other libs which may need them | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -168,7 +168,7 @@ class ProcMgr extends Factory\n* @return bool\n* @throws \\Exception\n*/\n- private function isProcAlive(int $proc_idx): bool\n+ public function isProcAlive(int $proc_idx):... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Open all functions in ProcMgr for other libs which may need them |
323,346 | 12.08.2022 23:48:41 | -28,800 | 67a8117cff60f4189286b848ab0216fa6f38ed3d | Return $this after createProc | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -187,10 +187,10 @@ class ProcMgr extends Factory\n/**\n* @param int $proc_idx\n*\n- * @return void\n+ * @return $this\n* @throws \\Exception\n*/\n- public function createProc(int $proc_idx)... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Return $this after createProc |
323,346 | 12.08.2022 23:59:09 | -28,800 | 0eb85386d31f15330e79be7a560aeeb45f7ef20e | Add autoCreateProc function in ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -28,6 +28,8 @@ class ProcMgr extends Factory\npublic OSMgr $OSMgr;\npublic FiberMgr $fiberMgr;\n+ public bool $auto_create = false; //Auto create process\n+\npublic int $watch_timeout = 200... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add autoCreateProc function in ProcMgr |
323,346 | 13.08.2022 00:01:50 | -28,800 | 85d08be2142de29f6a6bceae6a78e56e34ae7679 | Always auto create proc in libMPC | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -46,10 +46,12 @@ class libMPC extends Factory\n$cmd = $php_path . \"\\n\"\n. $app->script_path . \"\\n\"\n- . '-c' . \"\\n\" . '/' . __CLASS__ . '/childProc';\n+ . '-c' . \"\\n\"\n+ . '/' . __CLASS__ .... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Always auto create proc in libMPC |
323,346 | 13.08.2022 00:19:10 | -28,800 | e9a31eafb258de0e55187c047cdc093b2f80b074 | Add writeProc function | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -121,7 +121,8 @@ class ProcMgr extends Factory\n}\n++$this->load_list[$proc_idx];\n- fwrite($this->input_list[$proc_idx], $argv . \"\\n\");\n+\n+ $this->writeProc($proc_idx, $argv);\n$this-... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add writeProc function |
323,346 | 13.08.2022 00:30:52 | -28,800 | d6b9e24c545e227ba84cf392df7da6d5d5f0f181 | Rewrite libExec | [
{
"change_type": "MODIFY",
"old_path": "Ext/libExeC.php",
"new_path": "Ext/libExeC.php",
"diff": "namespace Nervsys\\Ext;\nuse Nervsys\\Core\\Factory;\n+use Nervsys\\Core\\Mgr\\ProcMgr;\nclass libExeC extends Factory\n{\n- const PREFIX = 'EXEC:';\n- const WORKER = self::PREFIX . 'worker';\n- const S... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Rewrite libExec |
323,346 | 13.08.2022 07:58:24 | -28,800 | ce0bc72c24b37ca0bb68fa85c757350b59b11e7f | Always sleep for microseconds of value watch_timeout between commit async jobs | [
{
"change_type": "MODIFY",
"old_path": "Ext/libExeC.php",
"new_path": "Ext/libExeC.php",
"diff": "@@ -128,7 +128,7 @@ class libExeC extends Factory\n->setWatchTimeout($watch_timeout)\n->createProc(0);\n- unset($command, $working_path, $watch_timeout);\n+ unset($command, $working_path);\nwhile ($this... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Always sleep for microseconds of value watch_timeout between commit async jobs |
323,346 | 13.08.2022 08:48:35 | -28,800 | c1fbd37a066c07285454730acd9ec12a71397bb2 | Using pipe instead of socket in ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -214,7 +214,7 @@ class ProcMgr extends Factory\n$proc = proc_open(\n$this->proc_cmd,\n[\n- ['socket', 'rb'],\n+ ['pipe', 'rb'],\n['socket', 'wb'],\n['socket', 'wb']\n],\n"
}
] | PHP | Apache License 2.0 | jerry-shaw/nervsys | Using pipe instead of socket in ProcMgr |
323,346 | 13.08.2022 09:05:56 | -28,800 | 89585f09d6c42634c09e20901368d59ffe528772 | Add EXIT_CMD and related logic | [
{
"change_type": "MODIFY",
"old_path": "Ext/libExeC.php",
"new_path": "Ext/libExeC.php",
"diff": "@@ -25,6 +25,8 @@ use Nervsys\\Core\\Mgr\\ProcMgr;\nclass libExeC extends Factory\n{\n+ const EXIT_CMD = 'ExitProc';\n+\npublic ProcMgr $procMgr;\npublic string $proc_id;\n@@ -152,6 +154,11 @@ class lib... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add EXIT_CMD and related logic |
323,346 | 13.08.2022 10:08:24 | -28,800 | 93dcda89cd9f0f46ed4e982c594c5031ec103547 | Using boolean instead of string command to exit proc watching loop | [
{
"change_type": "MODIFY",
"old_path": "Ext/libExeC.php",
"new_path": "Ext/libExeC.php",
"diff": "@@ -25,12 +25,12 @@ use Nervsys\\Core\\Mgr\\ProcMgr;\nclass libExeC extends Factory\n{\n- const EXIT_CMD = 'ExitProc';\n-\npublic ProcMgr $procMgr;\npublic string $proc_id;\n+ public bool $exit_proc = f... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Using boolean instead of string command to exit proc watching loop |
323,346 | 01.09.2022 16:00:16 | -28,800 | c5aa343e42e68ccd173a98d33286b57f1c1958e3 | Give a default value of [] to data in libMPC | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -67,7 +67,7 @@ class libMPC extends Factory\n* @throws \\ReflectionException\n* @throws \\Throwable\n*/\n- public function sendCMD(string $cmd, array $data, callable $callable = null): self\n+ public f... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Give a default value of [] to data in libMPC |
323,346 | 01.09.2022 20:47:35 | -28,800 | d5003ef284cd5bd612244fad72fbc434e2cd6134 | New libQueue class | [
{
"change_type": "MODIFY",
"old_path": "Ext/libQueue.php",
"new_path": "Ext/libQueue.php",
"diff": "namespace Nervsys\\Ext;\nuse Nervsys\\Core\\Factory;\n-use Nervsys\\Core\\Lib\\App;\n-use Nervsys\\Core\\Lib\\Caller;\n-use Nervsys\\Core\\Lib\\IOData;\n-use Nervsys\\Core\\Lib\\Router;\nuse Nervsys\\... | PHP | Apache License 2.0 | jerry-shaw/nervsys | New libQueue class |
323,346 | 01.09.2022 21:16:20 | -28,800 | 9a6fa7f918d6fc4c09185eaad07e382ef025a60a | Using "@" instead of "c" to avoid a potential variable overwritten in libMPC and libQueue | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMPC.php",
"new_path": "Ext/libMPC.php",
"diff": "@@ -69,7 +69,7 @@ class libMPC extends Factory\n*/\npublic function sendCMD(string $cmd, array $data = [], callable $callable = null): self\n{\n- $data['c'] = &$cmd;\n+ $data['@'] = &$cmd;\n$this->procMgr... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Using "@" instead of "c" to avoid a potential variable overwritten in libMPC and libQueue |
323,346 | 02.09.2022 23:17:57 | -28,800 | 99e757709930e7633d037cc791817d1d1d1db4af | Remove dependence of FiberMgr from ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "namespace Nervsys\\Core\\Mgr;\nuse Nervsys\\Core\\Factory;\n+use Nervsys\\Core\\Reflect;\nclass ProcMgr extends Factory\n{\npublic OSMgr $OSMgr;\n- public FiberMgr $fiberMgr;\npublic bool $aut... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Remove dependence of FiberMgr from ProcMgr |
323,346 | 03.09.2022 11:08:11 | -28,800 | 7cf01d1eac53b07462392599a50c1af1b1a17729 | Simplified FiberMgr to reduce memory usage | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/FiberMgr.php",
"new_path": "Core/Mgr/FiberMgr.php",
"diff": "@@ -42,7 +42,7 @@ class FiberMgr extends Factory\n/**\n* Await callable function, generate Fiber instance\n- * Using \"await()->getReturn()\" to get Fiber returned result\n+ * MUST call \"Fi... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Simplified FiberMgr to reduce memory usage |
323,346 | 03.09.2022 12:00:24 | -28,800 | 496cbc9a96dbfe8f711c21e17af62498b53bf977 | Remove useless code logic in FiberMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/FiberMgr.php",
"new_path": "Core/Mgr/FiberMgr.php",
"diff": "@@ -26,19 +26,7 @@ use Nervsys\\Core\\Reflect;\nclass FiberMgr extends Factory\n{\n- private \\Fiber $fiber;\n- private array $child = [];\n-\n- /**\n- * FiberMgr constructor.\n- *\n- * @thr... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Remove useless code logic in FiberMgr |
323,346 | 03.09.2022 13:37:46 | -28,800 | 1de79c727998b146425bed79f4cd9acfedcf3530 | FiberMgr code cleanup | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/FiberMgr.php",
"new_path": "Core/Mgr/FiberMgr.php",
"diff": "@@ -54,7 +54,7 @@ class FiberMgr extends Factory\n}\n/**\n- * Add await fiber into async child list, pass a callable function to process returned result\n+ * Add await fiber into async fiber... | PHP | Apache License 2.0 | jerry-shaw/nervsys | FiberMgr code cleanup |
323,346 | 03.09.2022 18:05:10 | -28,800 | a5c1acb73d6755ffc13097a168e5e738af069780 | Improve ProcMgr | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -109,7 +109,6 @@ class ProcMgr extends Factory\n* @param callable|null $callable\n*\n* @return $this\n- * @throws \\ReflectionException\n* @throws \\Exception\n*/\npublic function sendArgv(... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Improve ProcMgr |
323,346 | 03.09.2022 19:18:29 | -28,800 | a12461adf35c2e24ec0f3ef55899837651fc160b | Add auto commit property | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "namespace Nervsys\\Core\\Mgr;\nuse Nervsys\\Core\\Factory;\n-use Nervsys\\Core\\Reflect;\nclass ProcMgr extends Factory\n{\n@@ -30,6 +29,7 @@ class ProcMgr extends Factory\npublic bool $auto_c... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Add auto commit property |
323,346 | 03.09.2022 20:47:15 | -28,800 | 629eef4f904f421ec5f9cc201a88e8d5aba4217f | Change awaitProc logic | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -29,7 +29,7 @@ class ProcMgr extends Factory\npublic bool $auto_create = false; //Auto create process\n- public int $flush_on_load = 10; //Auto commit on pending jobs per process\n+ public ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Change awaitProc logic |
323,346 | 03.09.2022 22:12:38 | -28,800 | 9ffb8a6c4d8a680ee32254ec8fe6137ef3761ab8 | Improve libExeC | [
{
"change_type": "MODIFY",
"old_path": "Ext/libExeC.php",
"new_path": "Ext/libExeC.php",
"diff": "@@ -141,10 +141,14 @@ class libExeC extends Factory\ntry {\n$output = $this->procMgr->awaitProc(0);\n} catch (\\Throwable) {\n+ $this->procMgr->closeProc(0);\nbreak;\n}\n+ if ('' !== $output) {\ncall_us... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Improve libExeC |
323,346 | 03.09.2022 23:49:11 | -28,800 | 9788cc39f4ad62dc39d74f2f55bab824419ad266 | libZIP: Fix adding directories that do not actually exist | [
{
"change_type": "MODIFY",
"old_path": "Ext/libZip.php",
"new_path": "Ext/libZip.php",
"diff": "@@ -158,7 +158,7 @@ class libZip extends Factory\n*/\nprivate function getEntryName(string $path, string $base_path): string\n{\n- return substr($path, strpos($path, $base_path));\n+ return strtr(substr($... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libZIP: Fix adding directories that do not actually exist |
323,346 | 06.09.2022 19:05:25 | -28,800 | 6189fdd7056fd7f4653fddffc97b5c792c27f10d | ProcMgr: Fix init job count equals zero caused division error | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -113,7 +113,7 @@ class ProcMgr extends Factory\n*/\npublic function sendArgv(string $argv, callable $callable = null): self\n{\n- if ($this->flush_on_load < (count($this->job_list, COUNT_RE... | PHP | Apache License 2.0 | jerry-shaw/nervsys | ProcMgr: Fix init job count equals zero caused division error |
323,346 | 06.09.2022 22:10:54 | -28,800 | 8aac698ffe5131526fb456844ab9d677e1579f00 | ProcMgr: Remove useProfile() option which may cause proc_open() failed to create process | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -54,7 +54,7 @@ class ProcMgr extends Factory\n$this->working_path = &$working_path;\n- $this->command = $this->OSMgr->useProfile(true)->buildCmd($command);\n+ $this->command = $this->OSMgr-... | PHP | Apache License 2.0 | jerry-shaw/nervsys | ProcMgr: Remove useProfile() option which may cause proc_open() failed to create process |
323,346 | 09.09.2022 14:22:47 | -28,800 | 98db50ed1402a1994c6df59f3f5f40b68206eed5 | ProcMgr: add char_eol argument on creating process | [
{
"change_type": "MODIFY",
"old_path": "Core/Mgr/ProcMgr.php",
"new_path": "Core/Mgr/ProcMgr.php",
"diff": "@@ -33,6 +33,7 @@ class ProcMgr extends Factory\npublic int $watch_timeout = 200000; //microseconds\nprivate string $command;\n+ private string $char_eol = \"\\n\";\nprivate string $working_pa... | PHP | Apache License 2.0 | jerry-shaw/nervsys | ProcMgr: add char_eol argument on creating process |
323,346 | 10.09.2022 09:18:00 | -28,800 | f046060914335f384d05840280cd55b0a1b6686f | Version: reset version back to 8.1.0 for stable release | [
{
"change_type": "MODIFY",
"old_path": "NS.php",
"new_path": "NS.php",
"diff": "@@ -32,7 +32,7 @@ if (version_compare(PHP_VERSION, '8.1.0', '<')) {\nset_time_limit(0);\nignore_user_abort(true);\n-define('NS_VER', '8.1.2');\n+define('NS_VER', '8.1.0');\ndefine('NS_ROOT', __DIR__);\ndefine('NS_NAMESPA... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Version: reset version back to 8.1.0 for stable release |
323,346 | 12.09.2022 18:24:00 | -28,800 | 84042f917b1049f0a85a3ca16b9deeba06bf41df | libImage: String can be added as watermark in 5 different positions | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -148,6 +148,66 @@ class libImage extends Factory\nreturn $result;\n}\n+ /**\n+ * @param string $img_src\n+ * @param string $img_dst\n+ * @param string $text\n+ * @param string $font\n+ * @param int... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: String can be added as watermark in 5 different positions |
323,346 | 13.09.2022 10:25:07 | -28,800 | 7c5d8efeae6fc45852ae4187abe9e01c79d38645 | libImage: using strlen instead of mb_strlen to get text width | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -171,11 +171,9 @@ class libImage extends Factory\n$img_type = substr($img_info['mime'], 6);\n$src_img = call_user_func('imagecreatefrom' . $img_type, $img_src);\n- $text_len = mb_strlen($text, 'UTF... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: using strlen instead of mb_strlen to get text width |
323,346 | 13.09.2022 10:30:03 | -28,800 | 1105cc8df69d97f0a3c9fd715bccc8dbcd926a8a | libImage: set watermark's alpha value default to 127 | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -174,7 +174,7 @@ class libImage extends Factory\n$font_size = $options['size'] ?? 16;\n$text_angle = $options['angle'] ?? 0;\n$text_width = strlen($text) * $font_size;\n- $font_color = $options['co... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: set watermark's alpha value default to 127 |
323,346 | 13.09.2022 10:59:07 | -28,800 | 48d4b9a85636e00c61d68423b895b32af5a3d38e | libImage: set alpha value back to 64 (50%) | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -174,7 +174,7 @@ class libImage extends Factory\n$font_size = $options['size'] ?? 16;\n$text_angle = $options['angle'] ?? 0;\n$text_width = strlen($text) * $font_size;\n- $font_color = $options['co... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: set alpha value back to 64 (50%) |
323,346 | 13.09.2022 13:19:36 | -28,800 | df91be2b4a73ba1fe187618f376aa3067c5e5a9c | algoImage: remove __construct, round gray value | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -31,11 +31,16 @@ class algoImage extends Factory\n/**\n* @param string $image_file_path\n+ *\n+ * @return $this\n*/\n- public function __construct(string $image_file_path)\n+ public function setI... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: remove __construct, round gray value |
323,346 | 14.09.2022 16:26:46 | -28,800 | 2bef7a0817f7825bc075accd58144aa9880c191c | algoImage: using imagesx/imagesy instead of getimagesize to improve IO performance | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -27,7 +27,8 @@ class algoImage extends Factory\n{\npublic \\GdImage $gdImage;\n- public array $image_size;\n+ public int $image_width;\n+ public int $image_height;\n/**\n* @param string $image_fi... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: using imagesx/imagesy instead of getimagesize to improve IO performance |
323,346 | 19.09.2022 15:00:28 | -28,800 | 692e9f87a566618b198fed6c0ef1b22557f2d14d | libImage: methods rename and change to public | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -48,8 +48,8 @@ class libImage extends Factory\n//Get new size\n$img_size = $crop\n- ? self::crop($img_info[0], $img_info[1], $width, $height)\n- : self::zoom($img_info[0], $img_info[1], $width, $he... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: methods rename and change to public |
323,346 | 19.10.2022 12:52:19 | -28,800 | 79e9b6b23e744cfd5249b5025aeb60a8d2688d54 | Router: remove class and method checking, leave them to Security library | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Router.php",
"new_path": "Core/Lib/Router.php",
"diff": "@@ -85,11 +85,11 @@ class Router extends Factory\n$cmd_list = $this->getCmdList($c);\nforeach ($cmd_list as $cmd_raw) {\n- try {\n$cmd_val = strtr($cmd_raw, '\\\\', '/');\nif (false === strpos($... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Router: remove class and method checking, leave them to Security library |
323,346 | 19.10.2022 13:32:44 | -28,800 | 40f36c1e2c980e4b60601e4bd5c8072969407707 | Caller: catch ReflectionException on calling when target class or method NOT exists | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Caller.php",
"new_path": "Core/Lib/Caller.php",
"diff": "namespace Nervsys\\Core\\Lib;\nuse Nervsys\\Core\\Factory;\n-use Nervsys\\Core\\Reflect;\nuse Nervsys\\Core\\Mgr\\OSMgr;\n+use Nervsys\\Core\\Reflect;\nclass Caller extends Factory\n{\n@@ -44,9 ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Caller: catch ReflectionException on calling when target class or method NOT exists |
323,346 | 19.10.2022 14:34:52 | -28,800 | 975694bb59a599fd723ba346b58ed473945a3b2a | Caller: calling method in Security library directly as they cannot be called via CGI | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Caller.php",
"new_path": "Core/Lib/Caller.php",
"diff": "@@ -42,7 +42,10 @@ class Caller extends Factory\ntry {\n$args = $security->antiXss($args);\n- $api_fn = $security->getApiMethod($cmd[0], $cmd[1], $args, \\ReflectionMethod::IS_PUBLIC);\n+ $api_f... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Caller: calling method in Security library directly as they cannot be called via CGI |
323,346 | 20.10.2022 16:47:18 | -28,800 | 64067cf3c2390734c87be05f0dd46f19635f422d | libMySQL: order method now supports "ORDER BY FIELD()" | [
{
"change_type": "MODIFY",
"old_path": "Ext/libMySQL.php",
"new_path": "Ext/libMySQL.php",
"diff": "@@ -530,12 +530,30 @@ class libMySQL extends Factory\nforeach ($param as $col => $val) {\n$this->isRaw($col);\n+\n+ if (is_string($val) && in_array(strtoupper($val), ['ASC', 'DESC'], true)) {\n+ //By ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libMySQL: order method now supports "ORDER BY FIELD()" |
323,346 | 29.10.2022 10:55:40 | -28,800 | ab43eb256cd0b6c0a0efc6a68c7220c61f6b1861 | Error: variable renamed | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Error.php",
"new_path": "Core/Lib/Error.php",
"diff": "@@ -201,12 +201,12 @@ class Error extends Factory\n*/\nprivate function saveLog(string $log_file, string $err_lv, string $message, array $context = []): void\n{\n- $handler = fopen($log_file, 'ab+... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Error: variable renamed |
323,346 | 29.10.2022 22:28:09 | -28,800 | 6d8689a39e3afda9b7dd21f398ddb32c38022a95 | libFileIO: add getDirContents() to get all folder names and file names in a directory | [
{
"change_type": "MODIFY",
"old_path": "Ext/libFileIO.php",
"new_path": "Ext/libFileIO.php",
"diff": "@@ -150,6 +150,39 @@ class libFileIO extends Factory\nreturn $file_list;\n}\n+ /**\n+ * @param string $path\n+ *\n+ * @return array\n+ */\n+ public function getDirContents(string $path): array\n+ {\... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libFileIO: add getDirContents() to get all folder names and file names in a directory |
323,346 | 29.10.2022 22:48:37 | -28,800 | 2932fa4a4b3783c00484f8d850b585136424bb20 | libFileIO: replace absolute path to relative path | [
{
"change_type": "MODIFY",
"old_path": "Ext/libFileIO.php",
"new_path": "Ext/libFileIO.php",
"diff": "@@ -171,8 +171,8 @@ class libFileIO extends Factory\n$file_path = $path . DIRECTORY_SEPARATOR . $content;\n$content_list[] = [\n- 'name' => basename($content),\n- 'path' => $file_path,\n+ 'filename'... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libFileIO: replace absolute path to relative path |
323,346 | 02.11.2022 22:10:56 | -28,800 | ae2ec34660193d97f84a84226a946731af0ebe31 | libHttp: small changes on content-type string | [
{
"change_type": "MODIFY",
"old_path": "Ext/libHttp.php",
"new_path": "Ext/libHttp.php",
"diff": "@@ -29,7 +29,7 @@ class libHttp extends Factory\nconst CONTENT_TYPE_XML = 'application/xml; charset=utf-8';\nconst CONTENT_TYPE_JSON = 'application/json; charset=utf-8';\nconst CONTENT_TYPE_FORM_DATA = ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libHttp: small changes on content-type string |
323,346 | 11.11.2022 21:48:36 | -28,800 | 3ac5278f41fff960f6d60c71f2ddc296d8348d22 | libImage: support adding watermark from a given image | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -48,8 +48,8 @@ class libImage extends Factory\n//Get new size\n$img_size = $crop\n- ? self::getCropSize($img_info[0], $img_info[1], $width, $height)\n- : self::getZoomSize($img_info[0], $img_info[1... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: support adding watermark from a given image |
323,346 | 11.11.2022 22:04:34 | -28,800 | c759ce87ba27bdfaae9f4b5e787988bdc68acbd0 | libImage: always save to jpeg when adding watermark | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -199,7 +199,8 @@ class libImage extends Factory\nunset($y, $x);\n}\n- $result = call_user_func('image' . $img_type, $src_img, $img_dst);\n+ $result = imagejpeg($src_img, $img_dst, 50);\n+\nimagedes... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: always save to jpeg when adding watermark |
323,346 | 16.11.2022 20:32:10 | -28,800 | 4758a775d800053d930cdcc8d1014d9f8db1dc14 | libImage: fix add watermark from image alpha param errors and positions | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -274,19 +274,16 @@ class libImage extends Factory\n}\nif (0 === $type) {\n- for ($y = 0; $y < $src_height; $y += $target_height) {\n- for ($x = 0; $x < $src_width; $x += $target_width) {\n- imageco... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: fix add watermark from image alpha param errors and positions |
323,346 | 16.11.2022 22:13:39 | -28,800 | 4f62467abe6f4bb3cbf362a59065d24af119f5a5 | libImage: use another way to support PNG transperant watermark | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -73,8 +73,8 @@ class libImage extends Factory\ncase 3:\n//Deal with the transparent color in a PNG\n$transparent = imagecolorallocatealpha($img_thumb, 0, 0, 0, 127);\n- imagealphablending($img_thum... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: use another way to support PNG transperant watermark |
323,346 | 16.11.2022 22:44:24 | -28,800 | 80616942be01242257a1035d22221de1d6a479ef | libImage: add $quality param, fix source image becomes dark when pct is set | [
{
"change_type": "MODIFY",
"old_path": "Ext/libImage.php",
"new_path": "Ext/libImage.php",
"diff": "@@ -155,10 +155,11 @@ class libImage extends Factory\n* @param string $font\n* @param int $type\n* @param array $options\n+ * @param int $quality\n*\n* @return bool\n*/\n- public function addWatermark... | PHP | Apache License 2.0 | jerry-shaw/nervsys | libImage: add $quality param, fix source image becomes dark when pct is set |
323,346 | 01.01.2023 23:45:09 | -28,800 | d3d4c525d295961d03366153170f1f672b581856 | Security: add support for custom callback functions | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Caller.php",
"new_path": "Core/Lib/Caller.php",
"diff": "@@ -53,7 +53,7 @@ class Caller extends Factory\nunset($reflectionException);\n} catch (\\Throwable $throwable) {\n- $api_fn = [$security, 'ArgumentInvalid'];\n+ $api_fn = [$security, 'argumentIn... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Security: add support for custom callback functions |
323,346 | 02.01.2023 00:07:16 | -28,800 | 7165bec5ace60bfabb495b1fdf2a34e083bded87 | Security: always return callable to Caller instead of calling in Security | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Security.php",
"new_path": "Core/Lib/Security.php",
"diff": "@@ -28,9 +28,9 @@ class Security extends Factory\n{\npublic array $xss_skip_keys = [];\n- public array $callable_target_blocked = [];\n- public array $callable_target_invalid = [];\n- public... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Security: always return callable to Caller instead of calling in Security |
323,346 | 02.01.2023 00:08:08 | -28,800 | 9b01fa992aeefd21403c64ab922b96cb81f89574 | Caller: using callable defined in Security properties | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Caller.php",
"new_path": "Core/Lib/Caller.php",
"diff": "@@ -48,12 +48,12 @@ class Caller extends Factory\n$api_args = parent::buildArgs(Reflect::getCallable($api_fn)->getParameters(), $args);\n} catch (\\ReflectionException $reflectionException) {\n-... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Caller: using callable defined in Security properties |
323,346 | 02.01.2023 00:10:37 | -28,800 | cda7c3d823367952d553bab0a9f03bfefbc0115c | Security: function rename | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/Security.php",
"new_path": "Core/Lib/Security.php",
"diff": "@@ -110,7 +110,7 @@ class Security extends Factory\n*\n* @return void\n*/\n- public function targetBlocked(App $app, IOData $IOData): void\n+ public function fnTargetBlocked(App $app, IOData... | PHP | Apache License 2.0 | jerry-shaw/nervsys | Security: function rename |
323,346 | 02.01.2023 00:14:12 | -28,800 | 93d0bfbd0d08128e863fbb013f4c78387da97ede | System: add support to set custom callable functions for Security | [
{
"change_type": "MODIFY",
"old_path": "Core/System.php",
"new_path": "Core/System.php",
"diff": "@@ -76,6 +76,10 @@ trait System\n$this->router->cgi_router_stack[] = [$this->router, 'getCgiUnit'];\n$this->router->cli_router_stack[] = [$this->router, 'getCliUnit'];\n+ $this->security->fn_target_bloc... | PHP | Apache License 2.0 | jerry-shaw/nervsys | System: add support to set custom callable functions for Security |
323,346 | 02.01.2023 00:23:48 | -28,800 | 72a30bc37baa6de46ef47c0f6caa750bb83693c9 | System: fix data structure error in initApp for Security properties | [
{
"change_type": "MODIFY",
"old_path": "Core/System.php",
"new_path": "Core/System.php",
"diff": "@@ -76,9 +76,9 @@ trait System\n$this->router->cgi_router_stack[] = [$this->router, 'getCgiUnit'];\n$this->router->cli_router_stack[] = [$this->router, 'getCliUnit'];\n- $this->security->fn_target_block... | PHP | Apache License 2.0 | jerry-shaw/nervsys | System: fix data structure error in initApp for Security properties |
323,346 | 27.01.2023 21:32:45 | -28,800 | a5ea63380e6a1b91d276a7f8cdb7ecfc561d27fc | algoNGram: using string instead of array for source data argument | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoNGram.php",
"new_path": "Ext/algoNGram.php",
"diff": "@@ -29,18 +29,22 @@ class algoNGram extends Factory\npublic array $src_data;\n/**\n- * Set data list cut in minimal length\n- *\n- * @param array $data\n+ * @param string $source\n+ * @param string ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoNGram: using string instead of array for source data argument |
323,346 | 07.02.2023 10:40:17 | -28,800 | dbfff92cafd7756df6635f93396e26597dcd97f1 | algoImage: using separated functions instead of one | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -27,9 +27,6 @@ class algoImage extends Factory\n{\npublic \\GdImage $gdImage;\n- public int $image_width;\n- public int $image_height;\n-\n/**\n* @param string $image_file_path\n*\n@@ -39,9 +36,6... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: using separated functions instead of one |
323,346 | 07.02.2023 12:34:35 | -28,800 | 7e8666a47daad4bd16c31ab4a77b68662f1b993d | algoImage: add getHistogram by pixel gray data | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -85,4 +85,27 @@ class algoImage extends Factory\n{\nreturn round((1 - $this->toIntensity($red, $green, $blue) / 255) * 100);\n}\n+\n+ /**\n+ * @param array $pixel_gray_data\n+ *\n+ * @return arra... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: add getHistogram by pixel gray data |
323,346 | 07.02.2023 12:50:26 | -28,800 | 3ca193eb3dfb82fd11924dd5438e628c14357484 | IOData: fix potential errors when header already sent | [
{
"change_type": "MODIFY",
"old_path": "Core/Lib/IOData.php",
"new_path": "Core/Lib/IOData.php",
"diff": "@@ -187,7 +187,7 @@ class IOData extends Factory\necho $res;\n} else {\n//Force output data as JSON string\n- header('Content-Type: application/json; charset=utf-8');\n+ !headers_sent() && heade... | PHP | Apache License 2.0 | jerry-shaw/nervsys | IOData: fix potential errors when header already sent |
323,346 | 07.02.2023 13:05:58 | -28,800 | 0ec981abaedcbc5fb85affcc48415c08a52dd62f | algoImage: add by_percentage param to getHistogram() | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -88,10 +88,11 @@ class algoImage extends Factory\n/**\n* @param array $pixel_gray_data\n+ * @param bool $by_percentage\n*\n* @return array\n*/\n- public function getHistogram(array $pixel_gray_da... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: add by_percentage param to getHistogram() |
323,346 | 07.02.2023 14:05:57 | -28,800 | 2a9d6ea21a6733cc93d5b4bc29148a48259758f6 | algoImage: function rename, add getVarianceByGrayscale() function based on OTSU logic | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -43,7 +43,7 @@ class algoImage extends Factory\n/**\n* @return array\n*/\n- public function getSizeXY(): array\n+ public function getImageSize(): array\n{\nreturn [\n'width' => imagesx($this->gdI... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: function rename, add getVarianceByGrayscale() function based on OTSU logic |
323,346 | 08.02.2023 15:57:47 | -28,800 | efbfba551bfe775feb3edad6c25d92187fdc067d | algoImage: remove getVarianceByGrayscale, add getThresholdByOTSU | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -83,7 +83,7 @@ class algoImage extends Factory\n*/\npublic function rgbToGrayscale(int $red, int $green, int $blue): int\n{\n- return round((1 - $this->rgbToIntensity($red, $green, $blue) / 255) ... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: remove getVarianceByGrayscale, add getThresholdByOTSU |
323,346 | 10.02.2023 12:38:40 | -28,800 | 25e241158afc604db2bd9c59778f9d3e584e16b6 | algoImage: change getGrayHistogram function to get gray histogram from GD image instead of pixel data list | [
{
"change_type": "MODIFY",
"old_path": "Ext/algoImage.php",
"new_path": "Ext/algoImage.php",
"diff": "@@ -81,28 +81,38 @@ class algoImage extends Factory\n}\n/**\n- * @param array $pixel_gray_data\n+ * @param \\GdImage $gd_image\n* @param bool $by_percentage\n*\n* @return array\n*/\n- public functio... | PHP | Apache License 2.0 | jerry-shaw/nervsys | algoImage: change getGrayHistogram function to get gray histogram from GD image instead of pixel data list |
140,981 | 28.02.2017 11:31:09 | 0 | 91db823847b67aa0d3944159e6c3a5efab17d632 | Add software description of CLTune tool. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "soft/.cm/alias-a-tool.cltune",
"diff": "+4a0fc75eab604a79\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "soft/.cm/alias-u-4a0fc75eab604a79",
"diff": "+tool.cltune\n"
},
{
"change_type": "ADD",
"old_p... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add software description of CLTune tool. |
140,981 | 14.03.2017 13:28:20 | 0 | 9f0248f991f9f5d20f0a79c0caf266dc88f907df | Fix scripts for Drangon board platform | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/dragonboard-android/ck-set-cpu-ondemand",
"diff": "+#! /system/bin/sh\n+\n+#\n+# Collective Knowledge (CK)\n+#\n+# See CK LICENSE.txt for licensing details.\n+# See CK COPYRIGHT.txt for copyright details.\n+#\n+# Developer: Grigori... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix scripts for Drangon board platform |
140,981 | 14.03.2017 14:47:41 | 0 | 45f5e55891ae24958ee770a135ec9992a7a03197 | Fix scripts for drangon borad and hikey | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/hikey-android/README.txt",
"diff": "+CPU 8 Core\n+No Powersave governor\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/hikey-android/ck-print-cpu-freq",
"diff": "+#! /system/bin/sh\n+... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix scripts for drangon borad and hikey |
140,981 | 14.03.2017 14:48:35 | 0 | ea2dc8a82dc55a79ecd14897645f55c3c86bd0ec | Fix script for dragonboard | [
{
"change_type": "MODIFY",
"old_path": "platform.init/dragonboard-android/ck-print-cpu-freq",
"new_path": "platform.init/dragonboard-android/ck-print-cpu-freq",
"diff": "@@ -15,6 +15,9 @@ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq\n#echo \"*** Current frequency from cpuinfo:\"\n#cat /... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix script for dragonboard |
140,981 | 14.03.2017 17:12:50 | 0 | 415c7d30f296a07caf0cc01ae0b636856a8915c4 | Add platform gpu scripts for MediaTech board | [
{
"change_type": "MODIFY",
"old_path": "platform.init/dragonboard-android/ck-set-cpu-online-and-frequency",
"new_path": "platform.init/dragonboard-android/ck-set-cpu-online-and-frequency",
"diff": "@@ -32,7 +32,7 @@ do\necho \" Setting $governor state ...\"\necho $governor > $cpudir/cpufreq/scaling_... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add platform gpu scripts for MediaTech board |
140,981 | 15.03.2017 16:34:22 | 0 | 147b42289f3cedf0b7268407f8c78f4a1b380ee5 | Add platform scripts for firefly. Fix platform scripts for Mediatek board | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/firefly-android/README.txt",
"diff": "+CPU 8 Core\n+No Powersave governor\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/firefly-android/ck-print-cpu-freq",
"diff": "+#! /system/bin/s... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add platform scripts for firefly. Fix platform scripts for Mediatek board |
140,981 | 16.03.2017 10:58:25 | 0 | d817e45702cc11aca45aacc0b11f6661a15e0b42 | Fix and Test platform scripts for Dragonboard | [
{
"change_type": "MODIFY",
"old_path": "platform.init/dragonboard-android/ck-print-gpu-freq",
"new_path": "platform.init/dragonboard-android/ck-print-gpu-freq",
"diff": "#\necho \"*** Current GPU frequency:\"\n-#TBD: which file to read?\ncat /sys/class/kgsl/kgsl-3d0/gpuclk\n+echo \"*** Current GPU g... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix and Test platform scripts for Dragonboard |
140,981 | 16.03.2017 11:54:19 | 0 | d41dd5d8f9ca2c071fa5fc65067770974f60a763 | Fix platform scripts for Metediatek boaer. WARNING set cpu freq script is not deterministic | [
{
"change_type": "MODIFY",
"old_path": "platform.init/mediatek-android/ck-print-gpu-freq",
"new_path": "platform.init/mediatek-android/ck-print-gpu-freq",
"diff": "@@ -24,7 +24,7 @@ cat /proc/mali/dvfs_enable\necho \"*** Min frequency:\"\n-cat /proc/gpufreq/gpufreq_opp_dump | cut -d \",\" -f1 | cut ... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix platform scripts for Metediatek boaer. WARNING set cpu freq script is not deterministic |
140,981 | 16.03.2017 12:41:03 | 0 | 6c77aa649d516ed07ff7a9c5ca67891b4a1a304d | Test platforms scripts for firefly board | [
{
"change_type": "MODIFY",
"old_path": "platform.init/firefly-android/ck-set-cpu-online-and-frequency",
"new_path": "platform.init/firefly-android/ck-set-cpu-online-and-frequency",
"diff": "@@ -16,13 +16,13 @@ if [ \"$CK_CPU_ONLINE\" != \"\" ]; then\nonline=$CK_CPU_ONLINE\nfi\n-if [ \"$online\" == \... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Test platforms scripts for firefly board |
140,981 | 17.03.2017 14:49:18 | 0 | 6dd9be59b2b370fdb3bc2d3b46a07e12f76538d9 | fix platform script Mediatek board | [
{
"change_type": "MODIFY",
"old_path": "platform.init/dragonboard-android/ck-set-gpu-performance",
"new_path": "platform.init/dragonboard-android/ck-set-gpu-performance",
"diff": "@@ -16,6 +16,6 @@ export CK_GPU_FREQ_GOVERNOR=performance\necho 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on\necho 1 > /sys... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | fix platform script Mediatek board |
140,981 | 23.03.2017 10:45:32 | 0 | ddf6e04665122f920ac46378517e5ce1d3ed2fd4 | Add LD_LIBRARY_PATH to soft/tool.cltune | [
{
"change_type": "MODIFY",
"old_path": "soft/tool.cltune/customize.py",
"new_path": "soft/tool.cltune/customize.py",
"diff": "@@ -60,7 +60,7 @@ def setup(i):\ndeps=i.get('deps',{})\ntags=i.get('tags',[])\ncus=i.get('customize',{})\n-\n+ hosd=i['host_os_dict']\ntarget_d=i.get('target_os_dict',{})\nwi... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add LD_LIBRARY_PATH to soft/tool.cltune |
140,981 | 18.04.2017 12:19:33 | -3,600 | b6f3404b4f39f6ecada4d79a8b1bf4c4eaf6f361 | Add metadata platform.init firefly board | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-a-firefly-android",
"diff": "+cd0fdb5de4e07ad7\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-u-cd0fdb5de4e07ad7",
"diff": "+firefly-android\n"
},
{
"chang... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add metadata platform.init firefly board |
140,981 | 18.04.2017 13:16:33 | -3,600 | 1191c773c26c1a59beb4e6c9dba4ca36f24bc583 | Add hikey platform init metadata | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-a-hikey-android",
"diff": "+17498e87a4f3b2ed\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-u-17498e87a4f3b2ed",
"diff": "+hikey-android\n"
},
{
"change_ty... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add hikey platform init metadata |
140,981 | 18.04.2017 13:19:05 | -3,600 | 002027becbdc0372e7fa8db48dbee41ba9cc7d2b | Add Mediatek platform init metadata | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-a-mediatek-android",
"diff": "+ab7e09cd493803fb\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-u-ab7e09cd493803fb",
"diff": "+mediatek-android\n"
},
{
"cha... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add Mediatek platform init metadata |
140,981 | 19.04.2017 15:23:15 | -3,600 | 10df0e31cd48eeb6e5c8e726d8b79b8db251d301 | Add platform.init firefly-linux | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-a-firefly-linux",
"diff": "+3974712b1d42f0a3\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform.init/.cm/alias-u-3974712b1d42f0a3",
"diff": "+firefly-linux\n"
},
{
"change_ty... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add platform.init firefly-linux |
140,981 | 04.05.2017 15:35:59 | -3,600 | e4c2d95258e33574ba9a2c3cae19ee6f2b5ac1a0 | Fix generic odroid platform init scripts | [
{
"change_type": "MODIFY",
"old_path": "platform.init/generic-odroid/ck-set-cpu-performance",
"new_path": "platform.init/generic-odroid/ck-set-cpu-performance",
"diff": "export CK_CPU_FREQ_GOVERNER=performance\nexport CK_CPU_FREQ_FILE=cpuinfo_max_freq\nexport CK_CPU_ONLINE=1\n-\n+cd \"$(dirname \"${... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix generic odroid platform init scripts |
140,981 | 01.06.2017 12:14:50 | -3,600 | 96f9c14db64e78a7a1309ab349e280235a3b7956 | Add cjson lib | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/.cm/alias-a-lib-cjson-master-universal",
"diff": "+29bda32a8e0f465a\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/.cm/alias-u-29bda32a8e0f465a",
"diff": "+lib-cjson-master-universal\n"
},
{
... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add cjson lib |
140,981 | 01.06.2017 12:25:06 | -3,600 | 7d95c2e99b6a0c1c5e261946f8ce19dce8419378 | Add dvdt-prof-cjson-master-universal | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/.cm/alias-a-tool-dvdt-prof-cjson-master-universal",
"diff": "+3f8bb4b6ea930cf8\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/.cm/alias-u-3f8bb4b6ea930cf8",
"diff": "+tool-dvdt-prof-cjson-master-... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add dvdt-prof-cjson-master-universal |
140,981 | 01.06.2017 12:47:46 | -3,600 | 85ce1373b38aaab6cb290e734105784bf9a7bafd | Add tool-dvdt-prof-cjson-master-universal | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/tool-dvdt-prof-cjson-master-universal/.cm/desc.json",
"diff": "+{}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "package/tool-dvdt-prof-cjson-master-universal/.cm/info.json",
"diff": "+{\n+ \"backup_dat... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add tool-dvdt-prof-cjson-master-universal |
140,981 | 02.06.2017 11:52:01 | -3,600 | 459459d6f733ef53fdb5ca47456e21f88d5dc06b | Fix cjson lib package installation script | [
{
"change_type": "MODIFY",
"old_path": "package/lib-cjson-master-universal/.cm/meta.json",
"new_path": "package/lib-cjson-master-universal/.cm/meta.json",
"diff": "\"linux\"\n],\n\"process_script\": \"install\",\n- \"soft_uoa\": \"59c52485faf01e9a\",\n+ \"soft_uoa\": \"eb8146fc8f72921a\",\n\"suggest... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix cjson lib package installation script |
140,981 | 02.06.2017 12:23:04 | -3,600 | 941adb118352d2034e2f35080f1de029e433ada3 | Modify export include directory. Overload .a with .so due to | [
{
"change_type": "MODIFY",
"old_path": "soft/lib.cjson/customize.py",
"new_path": "soft/lib.cjson/customize.py",
"diff": "@@ -104,6 +104,9 @@ def setup(i):\ns += r['script']\ncus['include_name']='cJSON.h'\ncus['static_lib']='libcjson'+sext\n+#FIX ME; It is just a work around. https://github.com/Dave... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Modify export include directory. Overload .a with .so due to https://github.com/DaveGamble/cJSON/issues/178 |
140,977 | 12.06.2017 10:07:32 | 0 | c52f5251feaeac145939e353453f77cebda9a0b6 | Add Boost include/lib paths for dvdt-prof. | [
{
"change_type": "MODIFY",
"old_path": "package/tool-dvdt-prof/install.sh",
"new_path": "package/tool-dvdt-prof/install.sh",
"diff": "#\n# Developer(s):\n# - Grigori Fursin, grigori@dividiti.com, 2015\n-# - Anton Lokhmotov, anton@dividiti.com, 2016\n+# - Anton Lokhmotov, anton@dividiti.com, 2016-201... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add Boost include/lib paths for dvdt-prof. |
140,977 | 12.06.2017 10:09:12 | 0 | e7e30b6da4642edbe86e60b664d7a789a9acd6de | Disable sanitizers for cJSON universal. | [
{
"change_type": "MODIFY",
"old_path": "package/lib-cjson-master-universal/scripts.linux/install.sh",
"new_path": "package/lib-cjson-master-universal/scripts.linux/install.sh",
"diff": "#! /bin/bash\n#\n-# Extra Installation script\n+# Extra installation script\n#\n# See CK LICENSE.txt for licensing... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Disable sanitizers for cJSON universal. |
140,986 | 12.06.2017 11:53:26 | -3,600 | 62bdbf4217172028e6f5ce12a1b5a3c56ef880c4 | Add versioncode tracking to APK management
* Adds (optional) parameter to apk add that stores the versioncode.
In an Android APK a versioncode is used to distinguish different binary builds
of the same release version. | [
{
"change_type": "MODIFY",
"old_path": "module/apk/module.py",
"new_path": "module/apk/module.py",
"diff": "@@ -282,6 +282,7 @@ def add(i):\n(abi) - list of ABI separated by comma (default=armeabi,armeabi-v7a,arm64-v8a)\n(version) - version\n+ (versioncode) - versioncode\n(path) - path to APK on loc... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add versioncode tracking to APK management
* Adds (optional) parameter to apk add that stores the versioncode.
In an Android APK a versioncode is used to distinguish different binary builds
of the same release version. |
140,986 | 21.06.2017 13:43:53 | -3,600 | 95884d5cd1a2bd2a328f1be36062325aaae7fa87 | When installing APK fallback to compatible abi
All current (and to date expected) Android devices that support 64-bit,
support 32-bit abis. When processing ck install apk for 64-bit target and
no suitable binary found, fall back to corresponding 32-bit target | [
{
"change_type": "MODIFY",
"old_path": "module/apk/module.py",
"new_path": "module/apk/module.py",
"diff": "@@ -227,6 +227,19 @@ def install(i):\naname=apk.get('apk_name','')\nbreak\n+ # If the preferred abi didn't match but is 64-bit,\n+ # look for a 32-bit binary (worst case won't install)\n+ alt_... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | When installing APK fallback to compatible abi
All current (and to date expected) Android devices that support 64-bit,
support 32-bit abis. When processing ck install apk for 64-bit target and
no suitable binary found, fall back to corresponding 32-bit target |
140,986 | 11.07.2017 18:03:22 | -3,600 | 4d22c94c7715b819a0ef6dc9dac264ebd9e13301 | Add list_installed and uninstall_all actions to apk
To help with managing applications on a device, add action to
list all present and to remove all but default applications. | [
{
"change_type": "MODIFY",
"old_path": "module/apk/.cm/meta.json",
"new_path": "module/apk/.cm/meta.json",
"diff": "\"add\": {\n\"desc\": \"add apk\"\n},\n+ \"detect\": {\n+ \"desc\": \"detect installed APKs\"\n+ },\n\"install\": {\n\"desc\": \"install APK\"\n},\n- \"detect\": {\n- \"desc\": \"detec... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add list_installed and uninstall_all actions to apk
To help with managing applications on a device, add action to
list all present and to remove all but default applications. |
140,981 | 06.09.2017 13:40:29 | 0 | cc56734809c9fa8ea3924ec02a583394561ada80 | Fix include cltune | [
{
"change_type": "MODIFY",
"old_path": "soft/tool.cltune/customize.py",
"new_path": "soft/tool.cltune/customize.py",
"diff": "@@ -74,7 +74,6 @@ def setup(i):\npl=os.path.dirname(fp)\npi=os.path.dirname(pl)\n-\n################################################################\nslib='libcltune.a'\n@@ -... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix include cltune |
140,980 | 02.01.2018 13:08:54 | 0 | d9e96f572496ea77a67fd47d88013bc801c38339 | Fix for package module referencing incorrect custom script | [
{
"change_type": "MODIFY",
"old_path": "module/package/module.py",
"new_path": "module/package/module.py",
"diff": "@@ -691,7 +691,7 @@ def install(i):\nif cso!=None and 'pre_path' in dir(cso):\n# In the new directory\n- rx=cs.pre_path(ii)\n+ rx=cso.pre_path(ii)\nif rx['return']>0: return rx\nnew_en... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Fix for package module referencing incorrect custom script |
140,986 | 15.01.2018 15:02:31 | 0 | 70889ee3bd75bda6ad258ebd0d3cc3c768fa34c5 | Make abi fallback respond to arm64 as well as arm64-v8a | [
{
"change_type": "MODIFY",
"old_path": "module/apk/module.py",
"new_path": "module/apk/module.py",
"diff": "@@ -230,7 +230,7 @@ def install(i):\n# If the preferred abi didn't match but is 64-bit,\n# look for a 32-bit binary (worst case won't install)\nalt_abi = ''\n- if abi=='arm64-v8a':\n+ if abi i... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Make abi fallback respond to arm64 as well as arm64-v8a |
140,981 | 15.02.2018 16:54:57 | 0 | 13829064c66e6482b4b6438420cae3954f39cef8 | Add soft entry blas | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "soft/.cm/alias-a-lib.blas",
"diff": "+1d8d2740ebbb02a2\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "soft/.cm/alias-u-1d8d2740ebbb02a2",
"diff": "+lib.blas\n"
},
{
"change_type": "ADD",
"old_path": ... | Python | BSD 3-Clause New or Revised License | ctuning/ck-env | Add soft entry blas |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.