]> Some of my projects - localmylist.git/log
localmylist.git
11 years agoAdd option to hide watched episodes.
APTX [Sun, 13 Jul 2014 15:32:12 +0000 (17:32 +0200)]
Add option to hide watched episodes.

If all episodes of an anime are watched
and myListHideEmptyAnime is true the anime
is hidden as well.

11 years agoRemove incorrect signal/slot connections.
APTX [Sun, 22 Jun 2014 21:44:10 +0000 (23:44 +0200)]
Remove incorrect signal/slot connections.

11 years agoA service's initial state should be Uninitialized not Stopped state.
APTX [Sun, 22 Jun 2014 16:12:13 +0000 (18:12 +0200)]
A service's initial state should be Uninitialized not Stopped state.

11 years agofixup! Correct stateChanged signal signature.
APTX [Sun, 22 Jun 2014 15:50:40 +0000 (17:50 +0200)]
fixup! Correct stateChanged signal signature.

11 years agoCorrect stateChanged signal signature.
APTX [Sun, 22 Jun 2014 15:44:14 +0000 (17:44 +0200)]
Correct stateChanged signal signature.

11 years agoMerge branch 'master' of ssh://aptx.org/var/git/localmylist
APTX [Sun, 22 Jun 2014 09:43:08 +0000 (11:43 +0200)]
Merge branch 'master' of ssh://aptx.org/var/git/localmylist

11 years agoAdd Service and ServiceManager.
APTX [Sun, 22 Jun 2014 09:36:59 +0000 (11:36 +0200)]
Add Service and ServiceManager.

LML has 3 "services": RequestHandler, RenameHandler and DirectoryWatcher.
Now they have a common base class and a manager.

11 years agoFix query for myListSearch.
APTX [Sat, 15 Mar 2014 15:14:53 +0000 (16:14 +0100)]
Fix query for myListSearch.

11 years agoAdd myListSearch* methods.
APTX [Sat, 15 Mar 2014 15:05:47 +0000 (16:05 +0100)]
Add myListSearch* methods.

These allow for title search simmilar to animeSearch* but limit the
results to entries in your MyList

11 years agoCheck if workThread exists before trying to access it.
APTX [Sat, 15 Mar 2014 13:22:48 +0000 (14:22 +0100)]
Check if workThread exists before trying to access it.

This can only happen if workThread wasn't created and you're trying to
get a Database from a wrong thread.

11 years agoMissing changes from 75b97dfc2db6aa00090f5696e86dfac0be4483ca
APTX [Fri, 14 Feb 2014 18:03:02 +0000 (19:03 +0100)]
Missing changes from 75b97dfc2db6aa00090f5696e86dfac0be4483ca

11 years agoUpdate filter bar arrow key selection.
APTX [Tue, 11 Feb 2014 20:18:57 +0000 (21:18 +0100)]
Update filter bar arrow key selection.

Do not track the selected index independently of the selection model.

This is the first commit using uniform initialization. This means a C++11 compiler at least as good as VS2013 is required to build LML.

12 years agoFix macro typo.
APTX [Wed, 11 Dec 2013 20:35:27 +0000 (21:35 +0100)]
Fix macro typo.

It's nice msvc doesn't even issue a warning.

12 years agoAdd placeholder text for search/filter fields.
APTX [Wed, 11 Dec 2013 20:28:01 +0000 (21:28 +0100)]
Add placeholder text for search/filter fields.

Add clear button to search/filter (Qt5.2 required)

12 years agoAdd Part rename variable.
APTX [Sun, 6 Oct 2013 17:07:31 +0000 (19:07 +0200)]
Add Part rename variable.

Some files represent only a part of an episode. These files will not
differ by Anime/Episode name, number or type. The Part variable
allows to distinguish such files.

12 years agoAdditional mark watched helper functions.
APTX [Thu, 3 Oct 2013 18:49:57 +0000 (20:49 +0200)]
Additional mark watched helper functions.

markWatchedIfUnwatched marks a file watched only if it is unwatched. This can prevent changing an already set view date.
markUnwatched marks a file unwatched. This is exposed in the mylist view.

12 years agoAdd "Rename as Video File" feature.
APTX [Sun, 29 Sep 2013 14:11:25 +0000 (16:11 +0200)]
Add "Rename as Video File" feature.

This feature allows you to rename subtitle files the same way as video files.
This is useful as video players usually look for subtitle files which are named the same way as a video file.

12 years agoSet the application_name PG connection option.
APTX [Wed, 18 Sep 2013 18:40:48 +0000 (20:40 +0200)]
Set the application_name PG connection option.

This helps debugging as it gives different names to
all connections LML establishes.

12 years agoFix notification subscribing/unsubscribing.
APTX [Wed, 18 Sep 2013 18:26:17 +0000 (20:26 +0200)]
Fix notification subscribing/unsubscribing.

12 years agoAdd active connection checking.
APTX [Wed, 18 Sep 2013 18:16:36 +0000 (20:16 +0200)]
Add active connection checking.

QtSQL (pg driver) does not send any notification that the connection
to the database has terminated. LML tries to reconnect if a query
fails with a connection error. That check is not sufficient for the
objects that wait for DB notifications. This solution checks if the
connection is still alive by executing a simple query every minute.
If the query fails on a connection error the reconnect mechanism
triggers as before. A new reconnected() signal is emitted when a
reconnect occurs. The active connection checking is only done in
the main thread. Request-/Rename-handler listen for the new signal.

12 years agoSlight syntax highlighter adjustments.
APTX [Wed, 18 Sep 2013 17:43:45 +0000 (19:43 +0200)]
Slight syntax highlighter adjustments.

12 years agoBetter color scheme for the AniAdd script syntax highlighter
APTX [Sat, 31 Aug 2013 18:00:45 +0000 (20:00 +0200)]
Better color scheme for the AniAdd script syntax highlighter

12 years agoMake the search tab use the same search query as the anime search functions.
APTX [Sat, 31 Aug 2013 17:59:49 +0000 (19:59 +0200)]
Make the search tab use the same search query as the anime search functions.

12 years agoMore build fixes.
APTX [Sat, 31 Aug 2013 16:14:35 +0000 (18:14 +0200)]
More build fixes.

12 years agoBuild fixes.
APTX [Sat, 31 Aug 2013 16:04:21 +0000 (18:04 +0200)]
Build fixes.

12 years agoAdd openEpisode method to to open a specific episode.
APTX [Sat, 31 Aug 2013 15:54:01 +0000 (17:54 +0200)]
Add openEpisode method to to open a specific episode.

12 years agoFix compiling with Qt4.
APTX [Sat, 31 Aug 2013 15:44:02 +0000 (17:44 +0200)]
Fix compiling with Qt4.

12 years agoAdd Anime Search functions.
APTX [Sat, 31 Aug 2013 15:43:35 +0000 (17:43 +0200)]
Add Anime Search functions.

12 years agoExpose a print function to JS in lml-runscript.
APTX [Sat, 31 Aug 2013 15:28:40 +0000 (17:28 +0200)]
Expose a print function to JS in lml-runscript.

12 years agoInitial version of dynamic model.
APTX [Sat, 31 Aug 2013 10:19:32 +0000 (12:19 +0200)]
Initial version of dynamic model.

12 years agoFix updateFilesFromPendingMyListUpdate accidentally using set_my_watched for setting...
APTX [Sat, 6 Jul 2013 11:04:59 +0000 (13:04 +0200)]
Fix updateFilesFromPendingMyListUpdate accidentally using set_my_watched for setting the state.

This caused files to flip in state to unknown (in lml only) when marking episodes/anime as watched.

12 years agoRequest FileFlag::MyListViewed for better view date parsing.
APTX [Sat, 15 Jun 2013 22:36:21 +0000 (00:36 +0200)]
Request FileFlag::MyListViewed for better view date parsing.

12 years agoAdd rule to notify new_pending_request on update.
APTX [Sat, 8 Jun 2013 22:21:40 +0000 (00:21 +0200)]
Add rule to notify new_pending_request on update.

This notifies when a failed request can be retried.

12 years agoProper word boundaries around builtin variables.
APTX [Sat, 8 Jun 2013 22:12:56 +0000 (00:12 +0200)]
Proper word boundaries around builtin variables.

12 years agoAdd line numbers to the rename script editor.
APTX [Thu, 6 Jun 2013 15:11:25 +0000 (17:11 +0200)]
Add line numbers to the rename script editor.

This uses code from a Qt example of a code editor.

12 years agoAdd availableSettings method.
APTX [Thu, 6 Jun 2013 14:52:29 +0000 (16:52 +0200)]
Add availableSettings method.

12 years agoAdd a very basic Settings Dialog to edit settings stored in the DB.
APTX [Thu, 6 Jun 2013 14:46:27 +0000 (16:46 +0200)]
Add a very basic Settings Dialog to edit settings stored in the DB.

Currently shows everything in a plain line edit, including the password.

12 years agoFix include. Again...
APTX [Thu, 6 Jun 2013 00:47:30 +0000 (02:47 +0200)]
Fix include. Again...

12 years agoFix include.
APTX [Thu, 6 Jun 2013 00:42:41 +0000 (02:42 +0200)]
Fix include.

12 years agoAdd syntax highlighting for AniAdd scripts.
APTX [Thu, 6 Jun 2013 00:38:18 +0000 (02:38 +0200)]
Add syntax highlighting for AniAdd scripts.

The colors are not final.

12 years agoAdd support for nested database transactions.
APTX [Wed, 5 Jun 2013 12:32:50 +0000 (14:32 +0200)]
Add support for nested database transactions.

12 years agoBetter way of setting monospace fonts.
APTX [Tue, 4 Jun 2013 18:39:28 +0000 (20:39 +0200)]
Better way of setting monospace fonts.

12 years agoFix how requests failed with data errors interacts with failing requests from old...
APTX [Tue, 4 Jun 2013 18:32:15 +0000 (20:32 +0200)]
Fix how requests failed with data errors interacts with failing requests from old clients.

Failing requests from old clients ignores failed requests. Failing a request with a data error sets the client_id to 0.

12 years agoPrefix type with namespace name, for script bindings.
APTX [Tue, 4 Jun 2013 18:30:00 +0000 (20:30 +0200)]
Prefix type with namespace name, for script bindings.

12 years agoUse monospace fonts in the script editor and client log tab.
APTX [Tue, 4 Jun 2013 18:13:46 +0000 (20:13 +0200)]
Use monospace fonts in the script editor and client log tab.

12 years agoFix messagehandler for Qt4.
APTX [Tue, 4 Jun 2013 17:58:55 +0000 (19:58 +0200)]
Fix messagehandler for Qt4.

12 years agoAdd simple client log tab.
APTX [Tue, 4 Jun 2013 17:50:07 +0000 (19:50 +0200)]
Add simple client log tab.

Displays whatever gets printed to (usually) stderr starting from the time the tab was opened.

12 years agoAdd basic log viewer tab.
APTX [Tue, 4 Jun 2013 17:27:56 +0000 (19:27 +0200)]
Add basic log viewer tab.

12 years agoClarify Request Data label in MyList view context menu.
APTX [Tue, 4 Jun 2013 01:45:41 +0000 (03:45 +0200)]
Clarify Request Data label in MyList view context menu.

12 years agoA more complete connection settings dialog.
APTX [Mon, 3 Jun 2013 23:50:27 +0000 (01:50 +0200)]
A more complete connection settings dialog.

The settings aren't set yet.

12 years agoFix clearPendingRequestDataErrors.
APTX [Mon, 3 Jun 2013 13:52:57 +0000 (15:52 +0200)]
Fix clearPendingRequestDataErrors.

clearPendingRequestDataErrors increments data_error_count so it should start with 0, not 1.

12 years agoDisable deletion of pending requests.
APTX [Sun, 2 Jun 2013 23:54:08 +0000 (01:54 +0200)]
Disable deletion of pending requests.

This is actually quite dangerous. Requests for Unknown Files already get deleted when the Unknown File is deleted. Other requests may be vital for LML to be able to rename/display files.

12 years agoRename resetPendingRequestErrorCount => resetPendingRequest
APTX [Sun, 2 Jun 2013 23:49:13 +0000 (01:49 +0200)]
Rename resetPendingRequestErrorCount => resetPendingRequest

12 years agoImplement UnknownFilesTab::reload()
APTX [Sun, 2 Jun 2013 23:48:21 +0000 (01:48 +0200)]
Implement UnknownFilesTab::reload()

12 years agoUse a more useful selection mode.
APTX [Sun, 2 Jun 2013 23:46:52 +0000 (01:46 +0200)]
Use a more useful selection mode.

This selection mode makes it easy to select entries with the keyboard.

12 years agoAdd new tab showing current Pending Requests.
APTX [Sun, 2 Jun 2013 23:44:25 +0000 (01:44 +0200)]
Add new tab showing current Pending Requests.

12 years agoMove Select All/Clear Selection buttons to common actions toolbar.
APTX [Sun, 2 Jun 2013 16:33:21 +0000 (18:33 +0200)]
Move Select All/Clear Selection buttons to common actions toolbar.

12 years agoCompile fixes.
APTX [Thu, 30 May 2013 21:16:42 +0000 (23:16 +0200)]
Compile fixes.

12 years agoCompile fixes.
APTX [Thu, 30 May 2013 21:03:58 +0000 (23:03 +0200)]
Compile fixes.

12 years agoAdd custom message handler installed by MyList.
APTX [Thu, 30 May 2013 21:00:46 +0000 (23:00 +0200)]
Add custom message handler installed by MyList.

To disable set MyList::INSTALL_CUSTOM_ERROR_HANDLER to false.

12 years agoFix spelling recieve => receive.
APTX [Thu, 30 May 2013 14:03:26 +0000 (16:03 +0200)]
Fix spelling recieve => receive.

12 years agoSearch string can be anywhere starting from 3 letters.
APTX [Thu, 30 May 2013 13:55:13 +0000 (15:55 +0200)]
Search string can be anywhere starting from 3 letters.

12 years agoClang analyzer fixes.
APTX [Thu, 30 May 2013 00:17:39 +0000 (02:17 +0200)]
Clang analyzer fixes.

12 years agoSet connection_error_count and data_error_count only in one place.
APTX [Sun, 26 May 2013 21:35:17 +0000 (23:35 +0200)]
Set connection_error_count and data_error_count only in one place.

12 years agoClear Pending Request Data Errors with the other ones.
APTX [Sun, 26 May 2013 21:30:27 +0000 (23:30 +0200)]
Clear Pending Request Data Errors with the other ones.

12 years agoPrint debug message on pending mylist update data error.
APTX [Sun, 26 May 2013 02:26:27 +0000 (04:26 +0200)]
Print debug message on pending mylist update data error.

12 years agoFix typo.
APTX [Sun, 26 May 2013 02:25:50 +0000 (04:25 +0200)]
Fix typo.

This doesn't actually fix anything. Named binds are emulated with positional ones on pg so the result should be the same.

12 years agoIncrease the size of the codec columns.
APTX [Sun, 26 May 2013 01:48:57 +0000 (03:48 +0200)]
Increase the size of the codec columns.

Codecs of all streams are concatenated and some files have a lot of streams.

12 years agoAdd clearPendingRequestDataErrors
APTX [Sun, 26 May 2013 00:20:00 +0000 (02:20 +0200)]
Add clearPendingRequestDataErrors

12 years agoAdd failed column to pending_request marking that a request failed with a data error.
APTX [Sat, 25 May 2013 20:51:46 +0000 (22:51 +0200)]
Add failed column to pending_request marking that a request failed with a data error.

A connection error is no reply in x time, while data errors have to be retried after x time.

12 years agoReport data errors.
APTX [Wed, 15 May 2013 15:11:03 +0000 (17:11 +0200)]
Report data errors.

12 years agoAutomatically fail requests from old clients when starting a new request handler.
APTX [Mon, 13 May 2013 20:06:07 +0000 (22:06 +0200)]
Automatically fail requests from old clients when starting a new request handler.

12 years agoAdd new columns to pending_request.
APTX [Mon, 13 May 2013 20:04:10 +0000 (22:04 +0200)]
Add new columns to pending_request.

12 years agoAdd a sequence numbering udp client instances.
APTX [Mon, 13 May 2013 19:37:16 +0000 (21:37 +0200)]
Add a sequence numbering udp client instances.

12 years agoSet lid when adding a new file to AniDB MyList.
APTX [Mon, 13 May 2013 02:18:10 +0000 (04:18 +0200)]
Set lid when adding a new file to AniDB MyList.

12 years agoSet the fid as well as the lid.
APTX [Mon, 13 May 2013 02:08:19 +0000 (04:08 +0200)]
Set the fid as well as the lid.

The fid is used to update the file entry when a reply is received. MyListAddCommand prefers the lid over fid.

12 years agoPrint the relevant ids in warnings.
APTX [Mon, 13 May 2013 01:49:28 +0000 (03:49 +0200)]
Print the relevant ids in warnings.

12 years agoAdd shortcut for reload action.
APTX [Mon, 13 May 2013 01:18:07 +0000 (03:18 +0200)]
Add shortcut for reload action.

Shortcut: F5.

12 years agoOrder by episode type ordering as well as epno in OpenFiledata methods.
APTX [Sun, 12 May 2013 12:35:06 +0000 (14:35 +0200)]
Order by episode type ordering as well as epno in OpenFiledata methods.

12 years agoAdd "OR REPLACE" to all CREATE RULE/VIEW statements in the schema.
APTX [Tue, 7 May 2013 22:56:59 +0000 (00:56 +0200)]
Add "OR REPLACE" to all CREATE RULE/VIEW statements in the schema.

12 years agoUse provided key, not it.key()
APTX [Tue, 7 May 2013 22:50:05 +0000 (00:50 +0200)]
Use provided key, not it.key()

The iterator is invalid if it can not find the key.

12 years agoactualPath should be the exact path of the new path, not the old path.
APTX [Tue, 7 May 2013 22:46:58 +0000 (00:46 +0200)]
actualPath should be the exact path of the new path, not the old path.

12 years agoImplement requesting renames for file locations.
APTX [Tue, 7 May 2013 22:33:23 +0000 (00:33 +0200)]
Implement requesting renames for file locations.

12 years agoAdd pixel/version sorting to the other OpenFileData returning methods.
APTX [Tue, 7 May 2013 20:44:36 +0000 (22:44 +0200)]
Add pixel/version sorting to the other OpenFileData returning methods.

12 years agoPrefer the file with the highest version (and pixels) in firstUnwatched*
APTX [Tue, 7 May 2013 20:37:29 +0000 (22:37 +0200)]
Prefer the file with the highest version (and pixels) in firstUnwatched*

12 years agoSelect newly added tab automatically.
APTX [Sun, 5 May 2013 23:06:38 +0000 (01:06 +0200)]
Select newly added tab automatically.

12 years agoUpdate fileLocationUpdate handling.
APTX [Sun, 5 May 2013 13:05:19 +0000 (15:05 +0200)]
Update fileLocationUpdate handling.

fid was added to the payload but it wasn't handled in the code. This fixes file location updates in the model (Qt5 only).

12 years agoFix instantiation order warning.
APTX [Sun, 5 May 2013 12:39:33 +0000 (14:39 +0200)]
Fix instantiation order warning.

12 years agoImprove renaming on windows.
APTX [Sun, 5 May 2013 00:53:19 +0000 (02:53 +0200)]
Improve renaming on windows.

Files can now be renamed, even if they differ in case only. Case changes are more difficult to handle on windows, because a case change does not change the path, requiring checking and/or renaming of every path element. The path stored in file location is now the path reported by the system.

12 years agoAdd missing columns to Database::getFileByPath
APTX [Sun, 5 May 2013 00:46:43 +0000 (02:46 +0200)]
Add missing columns to Database::getFileByPath

12 years agoRemove all reload buttons from tabs and replace them with a generic reload action.
APTX [Fri, 3 May 2013 14:44:02 +0000 (16:44 +0200)]
Remove all reload buttons from tabs and replace them with a generic reload action.

12 years agoAdd option to lock Tab Layout.
APTX [Thu, 2 May 2013 23:23:49 +0000 (01:23 +0200)]
Add option to lock Tab Layout.

12 years agoAdd Search tab to localmylist-management and remove search-gui.
APTX [Thu, 2 May 2013 14:53:05 +0000 (16:53 +0200)]
Add Search tab to localmylist-management and remove search-gui.

12 years agoMyListTab keyboard selection of rows from filter line.
APTX [Tue, 30 Apr 2013 23:18:47 +0000 (01:18 +0200)]
MyListTab keyboard selection of rows from filter line.

Pressing return opens first unwatched file.

12 years agoSave currently selected tab.
APTX [Tue, 30 Apr 2013 22:21:57 +0000 (00:21 +0200)]
Save currently selected tab.

12 years agoAdd option to delete selected unknown files.
APTX [Tue, 30 Apr 2013 22:18:04 +0000 (00:18 +0200)]
Add option to delete selected unknown files.

12 years agoExport RaiiTransaction.
APTX [Tue, 30 Apr 2013 22:17:33 +0000 (00:17 +0200)]
Export RaiiTransaction.

12 years agoAdd Unknown FilesTab.
APTX [Tue, 30 Apr 2013 14:43:53 +0000 (16:43 +0200)]
Add Unknown FilesTab.

Currently just shows all unknown files.

12 years agoSome improvements for Tabs and TabWidget.
APTX [Tue, 30 Apr 2013 13:19:32 +0000 (15:19 +0200)]
Some improvements for Tabs and TabWidget.

Have a way of getting the id statically and via virtual call. Not perfect, but works.
Create tabs with a parent set. Avoids creating top-level windows only to be given a parent later.

12 years agoTabs can now be added and removed.
APTX [Mon, 29 Apr 2013 23:08:44 +0000 (01:08 +0200)]
Tabs can now be added and removed.