]>
Some of my projects - localmylist.git/log
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.
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.
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.
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.
APTX [Wed, 18 Sep 2013 18:26:17 +0000 (20:26 +0200)]
Fix notification subscribing/unsubscribing.
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.
APTX [Wed, 18 Sep 2013 17:43:45 +0000 (19:43 +0200)]
Slight syntax highlighter adjustments.
APTX [Sat, 31 Aug 2013 18:00:45 +0000 (20:00 +0200)]
Better color scheme for the AniAdd script syntax highlighter
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.
APTX [Sat, 31 Aug 2013 16:14:35 +0000 (18:14 +0200)]
More build fixes.
APTX [Sat, 31 Aug 2013 16:04:21 +0000 (18:04 +0200)]
Build fixes.
APTX [Sat, 31 Aug 2013 15:54:01 +0000 (17:54 +0200)]
Add openEpisode method to to open a specific episode.
APTX [Sat, 31 Aug 2013 15:44:02 +0000 (17:44 +0200)]
Fix compiling with Qt4.
APTX [Sat, 31 Aug 2013 15:43:35 +0000 (17:43 +0200)]
Add Anime Search functions.
APTX [Sat, 31 Aug 2013 15:28:40 +0000 (17:28 +0200)]
Expose a print function to JS in lml-runscript.
APTX [Sat, 31 Aug 2013 10:19:32 +0000 (12:19 +0200)]
Initial version of dynamic model.
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.
APTX [Sat, 15 Jun 2013 22:36:21 +0000 (00:36 +0200)]
Request FileFlag::MyListViewed for better view date parsing.
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.
APTX [Sat, 8 Jun 2013 22:12:56 +0000 (00:12 +0200)]
Proper word boundaries around builtin variables.
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.
APTX [Thu, 6 Jun 2013 14:52:29 +0000 (16:52 +0200)]
Add availableSettings method.
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.
APTX [Thu, 6 Jun 2013 00:47:30 +0000 (02:47 +0200)]
Fix include. Again...
APTX [Thu, 6 Jun 2013 00:42:41 +0000 (02:42 +0200)]
Fix include.
APTX [Thu, 6 Jun 2013 00:38:18 +0000 (02:38 +0200)]
Add syntax highlighting for AniAdd scripts.
The colors are not final.
APTX [Wed, 5 Jun 2013 12:32:50 +0000 (14:32 +0200)]
Add support for nested database transactions.
APTX [Tue, 4 Jun 2013 18:39:28 +0000 (20:39 +0200)]
Better way of setting monospace fonts.
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.
APTX [Tue, 4 Jun 2013 18:30:00 +0000 (20:30 +0200)]
Prefix type with namespace name, for script bindings.
APTX [Tue, 4 Jun 2013 18:13:46 +0000 (20:13 +0200)]
Use monospace fonts in the script editor and client log tab.
APTX [Tue, 4 Jun 2013 17:58:55 +0000 (19:58 +0200)]
Fix messagehandler for Qt4.
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.
APTX [Tue, 4 Jun 2013 17:27:56 +0000 (19:27 +0200)]
Add basic log viewer tab.
APTX [Tue, 4 Jun 2013 01:45:41 +0000 (03:45 +0200)]
Clarify Request Data label in MyList view context menu.
APTX [Mon, 3 Jun 2013 23:50:27 +0000 (01:50 +0200)]
A more complete connection settings dialog.
The settings aren't set yet.
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.
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.
APTX [Sun, 2 Jun 2013 23:49:13 +0000 (01:49 +0200)]
Rename resetPendingRequestErrorCount => resetPendingRequest
APTX [Sun, 2 Jun 2013 23:48:21 +0000 (01:48 +0200)]
Implement UnknownFilesTab::reload()
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.
APTX [Sun, 2 Jun 2013 23:44:25 +0000 (01:44 +0200)]
Add new tab showing current Pending Requests.
APTX [Sun, 2 Jun 2013 16:33:21 +0000 (18:33 +0200)]
Move Select All/Clear Selection buttons to common actions toolbar.
APTX [Thu, 30 May 2013 21:16:42 +0000 (23:16 +0200)]
Compile fixes.
APTX [Thu, 30 May 2013 21:03:58 +0000 (23:03 +0200)]
Compile fixes.
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.
APTX [Thu, 30 May 2013 14:03:26 +0000 (16:03 +0200)]
Fix spelling recieve => receive.
APTX [Thu, 30 May 2013 13:55:13 +0000 (15:55 +0200)]
Search string can be anywhere starting from 3 letters.
APTX [Thu, 30 May 2013 00:17:39 +0000 (02:17 +0200)]
Clang analyzer fixes.
APTX [Sun, 26 May 2013 21:35:17 +0000 (23:35 +0200)]
Set connection_error_count and data_error_count only in one place.
APTX [Sun, 26 May 2013 21:30:27 +0000 (23:30 +0200)]
Clear Pending Request Data Errors with the other ones.
APTX [Sun, 26 May 2013 02:26:27 +0000 (04:26 +0200)]
Print debug message on pending mylist update data error.
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.
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.
APTX [Sun, 26 May 2013 00:20:00 +0000 (02:20 +0200)]
Add clearPendingRequestDataErrors
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.
APTX [Wed, 15 May 2013 15:11:03 +0000 (17:11 +0200)]
Report data errors.
APTX [Mon, 13 May 2013 20:06:07 +0000 (22:06 +0200)]
Automatically fail requests from old clients when starting a new request handler.
APTX [Mon, 13 May 2013 20:04:10 +0000 (22:04 +0200)]
Add new columns to pending_request.
APTX [Mon, 13 May 2013 19:37:16 +0000 (21:37 +0200)]
Add a sequence numbering udp client instances.
APTX [Mon, 13 May 2013 02:18:10 +0000 (04:18 +0200)]
Set lid when adding a new file to AniDB MyList.
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.
APTX [Mon, 13 May 2013 01:49:28 +0000 (03:49 +0200)]
Print the relevant ids in warnings.
APTX [Mon, 13 May 2013 01:18:07 +0000 (03:18 +0200)]
Add shortcut for reload action.
Shortcut: F5.
APTX [Sun, 12 May 2013 12:35:06 +0000 (14:35 +0200)]
Order by episode type ordering as well as epno in OpenFiledata methods.
APTX [Tue, 7 May 2013 22:56:59 +0000 (00:56 +0200)]
Add "OR REPLACE" to all CREATE RULE/VIEW statements in the schema.
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.
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.
APTX [Tue, 7 May 2013 22:33:23 +0000 (00:33 +0200)]
Implement requesting renames for file locations.
APTX [Tue, 7 May 2013 20:44:36 +0000 (22:44 +0200)]
Add pixel/version sorting to the other OpenFileData returning methods.
APTX [Tue, 7 May 2013 20:37:29 +0000 (22:37 +0200)]
Prefer the file with the highest version (and pixels) in firstUnwatched*
APTX [Sun, 5 May 2013 23:06:38 +0000 (01:06 +0200)]
Select newly added tab automatically.
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).
APTX [Sun, 5 May 2013 12:39:33 +0000 (14:39 +0200)]
Fix instantiation order warning.
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.
APTX [Sun, 5 May 2013 00:46:43 +0000 (02:46 +0200)]
Add missing columns to Database::getFileByPath
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.
APTX [Thu, 2 May 2013 23:23:49 +0000 (01:23 +0200)]
Add option to lock Tab Layout.
APTX [Thu, 2 May 2013 14:53:05 +0000 (16:53 +0200)]
Add Search tab to localmylist-management and remove search-gui.
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.
APTX [Tue, 30 Apr 2013 22:21:57 +0000 (00:21 +0200)]
Save currently selected tab.
APTX [Tue, 30 Apr 2013 22:18:04 +0000 (00:18 +0200)]
Add option to delete selected unknown files.
APTX [Tue, 30 Apr 2013 22:17:33 +0000 (00:17 +0200)]
Export RaiiTransaction.
APTX [Tue, 30 Apr 2013 14:43:53 +0000 (16:43 +0200)]
Add Unknown FilesTab.
Currently just shows all unknown files.
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.
APTX [Mon, 29 Apr 2013 23:08:44 +0000 (01:08 +0200)]
Tabs can now be added and removed.
APTX [Mon, 29 Apr 2013 14:56:11 +0000 (16:56 +0200)]
Build fixes.
APTX [Mon, 29 Apr 2013 14:48:56 +0000 (16:48 +0200)]
Split tabs into separate classes.
APTX [Sun, 28 Apr 2013 12:45:24 +0000 (14:45 +0200)]
Account for file/ep relations for the total episodes watched in an anime.
APTX [Sat, 27 Apr 2013 16:28:20 +0000 (18:28 +0200)]
Fix State column values for anime entries.
APTX [Sat, 27 Apr 2013 15:46:36 +0000 (17:46 +0200)]
Use the data from the sent command rather than the config.
The config might change from what has been used with the command.
APTX [Sat, 27 Apr 2013 15:28:22 +0000 (17:28 +0200)]
When adding a file to AniDB MyList, update file with default my* data.
APTX [Sat, 27 Apr 2013 15:13:34 +0000 (17:13 +0200)]
Add State column to MyList model.
APTX [Fri, 26 Apr 2013 20:02:53 +0000 (22:02 +0200)]
Add setting to control removal of directories during rename.
APTX [Fri, 26 Apr 2013 19:53:48 +0000 (21:53 +0200)]
Do not remove watched directories.
APTX [Fri, 26 Apr 2013 19:00:31 +0000 (21:00 +0200)]
Set rename_error.
APTX [Fri, 26 Apr 2013 18:33:03 +0000 (20:33 +0200)]
Correct debug message.
APTX [Fri, 26 Apr 2013 18:30:57 +0000 (20:30 +0200)]
Use QDir::AllDirs to get all directories and and filtered files in one call.
APTX [Fri, 26 Apr 2013 18:27:17 +0000 (20:27 +0200)]
Clean up empty directories after rename.
Sometimes, when data in LML changes, files might get moved from a directory created by rename rules. This might leave some empty directories. This change cleans up those directories after renaming.
APTX [Fri, 26 Apr 2013 16:03:17 +0000 (18:03 +0200)]
Use single quotes for values in theInput field.
Some titles contain double quotes while single quotes are already replaced by `.
The output field does not really need this change as it is not parsed.