Commits on Source (14)
-
this allows to compare two lists and generate a list of insertions and deletion from the old list to the new one. This is useful to UI frontends to preform partial updates of their view when data change on the backend.
230c1d1a -
dbcbe6b9
-
ff3329ff
-
f4bb9b1a
-
3f4f441e
-
65ed6019
-
9860b13b
-
d6ae28da
-
this allows to submit to the view only the changes made on the model when the database changes instead of invalidating and resetting the whole view. data cache is changed from a windowed view over the data, to a model where data is loaded from the start and loaded by chunk (append to the cache), when data is invalidated the data is reloaded in background and the difference (insertions and deletions) are propagated to the view.
6bf9a88b -
64523537
-
ed433cc7
-
this would allow to move or update elements in "a priori" before getting the notification from the database
5e7e9cac -
35de0a01
-
This remains is disabled by default, The extra cost isn't really worth it as move operations originated from the database are very rare, move operations from the user are usually handled "a priori".
4e67a7c0
Showing
- include/vlc_diffutil.h 224 additions, 0 deletionsinclude/vlc_diffutil.h
- include/vlc_media_library.h 5 additions, 0 deletionsinclude/vlc_media_library.h
- modules/gui/qt/medialibrary/mlalbummodel.cpp 31 additions, 8 deletionsmodules/gui/qt/medialibrary/mlalbummodel.cpp
- modules/gui/qt/medialibrary/mlalbummodel.hpp 2 additions, 1 deletionmodules/gui/qt/medialibrary/mlalbummodel.hpp
- modules/gui/qt/medialibrary/mlalbumtrackmodel.cpp 32 additions, 14 deletionsmodules/gui/qt/medialibrary/mlalbumtrackmodel.cpp
- modules/gui/qt/medialibrary/mlalbumtrackmodel.hpp 2 additions, 1 deletionmodules/gui/qt/medialibrary/mlalbumtrackmodel.hpp
- modules/gui/qt/medialibrary/mlartistmodel.cpp 28 additions, 6 deletionsmodules/gui/qt/medialibrary/mlartistmodel.cpp
- modules/gui/qt/medialibrary/mlartistmodel.hpp 2 additions, 1 deletionmodules/gui/qt/medialibrary/mlartistmodel.hpp
- modules/gui/qt/medialibrary/mlbasemodel.cpp 150 additions, 57 deletionsmodules/gui/qt/medialibrary/mlbasemodel.cpp
- modules/gui/qt/medialibrary/mlbasemodel.hpp 24 additions, 4 deletionsmodules/gui/qt/medialibrary/mlbasemodel.hpp
- modules/gui/qt/medialibrary/mlevent.hpp 2 additions, 0 deletionsmodules/gui/qt/medialibrary/mlevent.hpp
- modules/gui/qt/medialibrary/mlgenremodel.cpp 25 additions, 4 deletionsmodules/gui/qt/medialibrary/mlgenremodel.cpp
- modules/gui/qt/medialibrary/mlgenremodel.hpp 2 additions, 1 deletionmodules/gui/qt/medialibrary/mlgenremodel.hpp
- modules/gui/qt/medialibrary/mllistcache.cpp 434 additions, 52 deletionsmodules/gui/qt/medialibrary/mllistcache.cpp
- modules/gui/qt/medialibrary/mllistcache.hpp 152 additions, 19 deletionsmodules/gui/qt/medialibrary/mllistcache.hpp
- modules/gui/qt/medialibrary/mlplaylistlistmodel.cpp 34 additions, 11 deletionsmodules/gui/qt/medialibrary/mlplaylistlistmodel.cpp
- modules/gui/qt/medialibrary/mlplaylistlistmodel.hpp 3 additions, 1 deletionmodules/gui/qt/medialibrary/mlplaylistlistmodel.hpp
- modules/gui/qt/medialibrary/mlplaylistmodel.cpp 29 additions, 15 deletionsmodules/gui/qt/medialibrary/mlplaylistmodel.cpp
- modules/gui/qt/medialibrary/mlplaylistmodel.hpp 3 additions, 1 deletionmodules/gui/qt/medialibrary/mlplaylistmodel.hpp
- modules/gui/qt/medialibrary/mlrecentsmodel.cpp 15 additions, 8 deletionsmodules/gui/qt/medialibrary/mlrecentsmodel.cpp
include/vlc_diffutil.h
0 → 100644