Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => News => Topic started by: dartraiden on 04 05 2018, 21:15:27
-
Changelog (http://wiki.miranda-ng.org/Changelog/0.95.8)
(https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x86 Stable Core Build (http://miranda-ng.org/distr/stable/miranda-ng-v0.95.8.7z) ........... (https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x86 Stable Installer (http://miranda-ng.org/distr/stable/miranda-ng-v0.95.8.exe) ........... (https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x86 Stable Debug Symbols (http://miranda-ng.org/distr/stable/miranda-ng-debug-symbols_pdb.7z)
(https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x64 Stable Core Build (http://miranda-ng.org/distr/stable/miranda-ng-v0.95.8_x64.7z) ........... (https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x64 Stable Installer (http://miranda-ng.org/distr/stable/miranda-ng-v0.95.8_x64.exe) ........... (https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fwww.miranda-im.org%2Fwp-content%2Fthemes%2Fmiranda%2Fimages%2Fbullet.gif&hash=a964cc52ed9cbad887b3167907ad30c6e2a412a3) x64 Stable Debug Symbols (http://miranda-ng.org/distr/stable/miranda-ng-debug-symbols_pdb_x64.7z)
Plugin list (http://wiki.miranda-ng.org/index.php?title=Plugin_list) — all the rest of the plugins!
-
Any way to stay on dbx_mmap? I sync the database with Dropbox-alikes, the new one is 2 times bigger and still one large file => needs to be synced every time. That's 250Mb to be uploaded each time before I shut down my PC.
I tried saying "No" to converting but it just quits the Miranda. Please make this an option!
-
Sorry, but no plans about dbx_mmap resurrection. "No" In database conversion dialog means "I prefer don't modify my database and revert to Miranda 0.95.7" (you can find old stable files in \Plugin Updates\Backups\) All protocols already moved to new database API. Dbx_mmap remains in Miranda only for import purposes.
If you need dbx_mmap database, you can stay on 0.95.7 and do not update.
-
Okay... Say I wanted to play with upgrading dbx_mmap to this new API. Any pointers on what's changed outside of include/m_database.h? What parts of the codebase I should look into?
dbx_mmap looks pretty lean and not much has changed in m_database.h so I guess that's not the full story?
-
Say I wanted to play with upgrading dbx_mmap to this new API. Any pointers on what's changed outside of include/m_database.h? What parts of the codebase I should look into?
you will need to implement the indexed search of message ids in history.
both features are missing now in mmap, so I decided to switch to a regular key / value instead of reinventing a wheel
-
Stable version got some fixes (https://wiki.miranda-ng.org/index.php?title=Changelog%2F0.95.8&type=revision&diff=30032&oldid=30014) (also fixed some crashes and database conversion problems).
-
> DbChecker
> deprecated. The new database driver dbx_mdbx does not need to be checked.
I need DbChecker because it has the ability to remove duplicate messages. Is there any way to remove duplicate messages in latest version?
-
Unfortunately there is not. In a way, once proper message handling is implemented, there should be no need for duplicate messages (primarily because the new db driver allows a key to be paired with every message, that way you can make sure you are not retrieving a duplicate; however current protocols are not yet taking advantage of this change and so you are still gonna see duplicates which you can only remove manually for the time being...)
You can create an issue on github with this feature request.
-
Unfortunately there is not. In a way, once proper message handling is implemented, there should be no need for duplicate messages (primarily because the new db driver allows a key to be paired with every message, that way you can make sure you are not retrieving a duplicate; however current protocols are not yet taking advantage of this change and so you are still gonna see duplicates which you can only remove manually for the time being...)
You can create an issue on github with this feature request.
Thanks, I submitted an issue https://github.com/miranda-ng/miranda-ng/issues/1351 (https://github.com/miranda-ng/miranda-ng/issues/1351).
-
Just an update, not sure it's relevant to the new Miranda version or new dbx driver version.
I had problems with it (see for example https://forum.miranda-ng.org/index.php?topic=5434.msg21410#msg21410 ), because the .dat file was locked and couldn't be backed up with Miranda running.
However it is, since the last update, something has changed. Now, windows can copy the file even with live Miranda, and the db_autobackup plugin started working too! ;D
I had problems with this locked database issue from the moment I installed it after the database driver change (because I lost some data). Now, I managed to have one auto backup made since the update. I hope it keeps working.
-
riki,
yes, I removed all file locks from the database plugin, cause they don't work at all in some cases
-
After a few days of intense use, latest Miranda seems to be rock solid. It used to be difficult to kill the old process when restarting, but now all restarts are fluid. I think this was an excellent update! Thanks to all the developers - Ghazan in the first place.
@himselfv - You probably already know, but have you tried database->compact? It significantly reduced .dat file size for me.
-
you will need to implement the indexed search of message ids in history.
both features are missing now in mmap, so I decided to switch to a regular key / value instead of reinventing a wheel
Which interfaces/files are these in? db3x_mdbx seems to only implement MIDatabase/MIDatabaseCommon, the same as db3x_mmap. Is it doing anything special?
I've looked at the DBEVENTINFO but it also seems to be the same as before.
-
@himselfv - You probably already know, but have you tried database->compact? It significantly reduced .dat file size for me.
Thanks, but yeah, that was after doing the compact.
-
Hmm. I have restored the original db3x_mmap and applied the few fixes that happened in its absence and it seems to be working fine. Here's the binaries for Miranda NG 0.95.8.1:
https://github.com/himselfv/miranda-ng/releases/tag/v0.95.8
And here's the source + summary of changes:
https://github.com/himselfv/miranda-ng/tree/dbx_mmap_origin/plugins/Db3x_mmap_origin
I'm going to be maintaining this for the time being for myself.