Avoid out-of-memory problems in log viewer
fixes #3919
Squashed commit of the following:
commit
322d0846f39b0641ab7af69e24d1bd70a95b58b5
Author: Andreas Gohr <andi@splitbrain.org>
Date: Mon Mar 20 18:45:30 2023 +0100
some more simplifications for the log viewer
* use exceptions to abort on read errors
* use the same fread call regardless of log size
commit
b8a3dfbd90a77811db380510cc279f973c92bd01
Author: Hamid <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:49:41 2023 +0330
Fix code style
commit
aa0e5b6692f9c26a9c22875111760803e280c9ac
Merge:
23b372c94 ac1d8211a
Author: Hamid <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:39:05 2023 +0330
Merge branch 'dokuwiki:master' into fix-display-large-log
commit
23b372c94d466ff3436177bf8386c879b78c5777
Merge:
d82b8818c e410a7b8f
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:35:07 2023 +0330
Merge branch 'fix-display-large-log' of github.com:Adibzadeh/dokuwiki into fix-display-large-log
commit
d82b8818c86f614f7d504cf19ad6d0492bb6d92f
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:29:43 2023 +0330
Use only fopen to read logfile
commit
e410a7b8fa7663039bbdcfd6a90aed89877bb744
Author: Hamid <hamid0x4c@gmail.com>
Date: Sat Mar 18 10:30:19 2023 +0330
White-space removed
commit
8f1ad23f785b1cccb790b39371b8989514777a38
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 10:12:16 2023 +0330
Refactoring getLogLines and code improvements
commit
37a0e60c920343ff45ed12ede2cf96c2251108a3
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 00:27:27 2023 +0330
Refactoring and improve error handling
commit
25d3465289053130546c9066c82b0b620f596c33
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 00:00:59 2023 +0330
Translation for log errors in Fa and En
commit
cc96b9babee12e4f4678380208685b3497a29b70
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Fri Mar 17 00:34:06 2023 +0330
code improve
commit
9c0e42285fc8d553e26c030d407d46f69f8c3d91
Author: Hamid <hamid0x4c@gmail.com>
Date: Tue Mar 14 18:16:23 2023 +0330
variable name fixed
commit
89124317ba2cccc12cb506f4d641a9e6288969e1
Author: Hamid <hamid0x4c@gmail.com>
Date: Tue Mar 14 18:13:30 2023 +0330
tab indent fix
commit
b154bfde3ecd2039c16b8f8002ada291301e19b2
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Tue Mar 14 17:21:09 2023 +0330
fix #3919 log viewer runs into OOM