]> Some of my projects - localmylist.git/log
localmylist.git
12 years agoCoding style
APTX [Mon, 15 Apr 2013 14:30:17 +0000 (16:30 +0200)]
Coding style

12 years agoFix possible crash in Database::exec().
APTX [Mon, 15 Apr 2013 14:28:15 +0000 (16:28 +0200)]
Fix possible crash in Database::exec().

Disconnecting clears all prepared statements so a query passed to exec might would invalid.

12 years agoWhen getting a file by path, try mapping the path to a source.
APTX [Sun, 14 Apr 2013 14:54:00 +0000 (16:54 +0200)]
When getting a file by path, try mapping the path to a source.

12 years agoNone of those are used anymore
APTX [Sun, 14 Apr 2013 14:37:05 +0000 (16:37 +0200)]
None of those are used anymore

12 years agoFocus filter line by default
APTX [Sun, 14 Apr 2013 14:36:46 +0000 (16:36 +0200)]
Focus filter line by default

12 years agoMerge branch 'master' of ssh://aptx.org/var/git/localmylist
APTX [Sat, 13 Apr 2013 17:01:40 +0000 (19:01 +0200)]
Merge branch 'master' of ssh://aptx.org/var/git/localmylist

12 years agoPrefix misc tools with "lml-"
APTX [Sat, 13 Apr 2013 17:01:20 +0000 (19:01 +0200)]
Prefix misc tools with "lml-"

12 years agoRename managment-gui to localmylist-management
APTX [Sat, 13 Apr 2013 16:54:29 +0000 (18:54 +0200)]
Rename managment-gui to localmylist-management

12 years agoGCC fixes
APTX [Sat, 13 Apr 2013 16:36:15 +0000 (18:36 +0200)]
GCC fixes

12 years agoFix setFileLocation typo/null values.
APTX [Sat, 13 Apr 2013 15:10:52 +0000 (17:10 +0200)]
Fix setFileLocation typo/null values.

12 years agoPesky newlines
APTX [Sat, 13 Apr 2013 14:54:39 +0000 (16:54 +0200)]
Pesky newlines

12 years agoFix debug line not building with Qt4...
APTX [Sat, 13 Apr 2013 14:19:43 +0000 (16:19 +0200)]
Fix debug line not building with Qt4...

12 years agoIgnore the test-data folder
APTX [Sat, 13 Apr 2013 13:28:51 +0000 (15:28 +0200)]
Ignore the test-data folder

12 years agoAdd ORDER BY to select the first unwatched ep, not just any unwatched ep...
APTX [Sat, 13 Apr 2013 13:27:00 +0000 (15:27 +0200)]
Add ORDER BY to select the first unwatched ep, not just any unwatched ep...

12 years agoUpdate anime titles url
APTX [Sat, 13 Apr 2013 13:09:09 +0000 (15:09 +0200)]
Update anime titles url

12 years agoMake play-next use a local setting for the player it opens.
APTX [Sat, 13 Apr 2013 13:00:09 +0000 (15:00 +0200)]
Make play-next use a local setting for the player it opens.

Gui applications can ask the DE to provide an application to open a file of a given type.
Cli applications need an alternative as they don't link to the DE.

12 years agoMake opening files by title a bit more predictable
APTX [Sat, 13 Apr 2013 12:45:56 +0000 (14:45 +0200)]
Make opening files by title a bit more predictable

12 years agoMake search-gui used a prepared statement for search.
APTX [Fri, 12 Apr 2013 11:41:21 +0000 (13:41 +0200)]
Make search-gui used a prepared statement for search.

12 years agoFix filtering for large models
APTX [Wed, 10 Apr 2013 15:11:03 +0000 (17:11 +0200)]
Fix filtering for large models

12 years agoRequestHandler now handles updates with aid&epno/epmin. Uses lid for updates with...
APTX [Wed, 10 Apr 2013 15:10:39 +0000 (17:10 +0200)]
RequestHandler now handles updates with aid&epno/epmin. Uses lid for updates with fid, if lid is available.

12 years agoAdd check to make sure that either aid or fid is set for a mylist update
APTX [Wed, 10 Apr 2013 14:27:57 +0000 (16:27 +0200)]
Add check to make sure that either aid or fid is set for a mylist update

12 years agoRemove itemData field from MyListNode. Increase batch size
APTX [Wed, 10 Apr 2013 00:42:31 +0000 (02:42 +0200)]
Remove itemData field from MyListNode. Increase batch size

12 years agoRewrite MyListNode to provide its children with their total row count.
APTX [Tue, 9 Apr 2013 17:40:37 +0000 (19:40 +0200)]
Rewrite MyListNode to provide its children with their total row count.

This eliminates totalRowCountSql() queries that were executed for each child once.

12 years agoUpdate views to include deprecated field and use it in renaming
APTX [Tue, 9 Apr 2013 15:59:29 +0000 (17:59 +0200)]
Update views to include deprecated field and use it in renaming

12 years agoRead deprecated file status
APTX [Tue, 9 Apr 2013 15:55:40 +0000 (17:55 +0200)]
Read deprecated file status

12 years agoUpdate addFileLocation/setFileLocation to use the new fields
APTX [Tue, 9 Apr 2013 15:53:27 +0000 (17:53 +0200)]
Update addFileLocation/setFileLocation to use the new fields

12 years agoSave the original file name when adding a file location
APTX [Tue, 9 Apr 2013 15:23:53 +0000 (17:23 +0200)]
Save the original file name when adding a file location

12 years agoFix qtsingleapplication on unix
APTX [Tue, 9 Apr 2013 13:38:00 +0000 (15:38 +0200)]
Fix qtsingleapplication on unix

12 years agoSet lid if available
APTX [Tue, 9 Apr 2013 13:26:58 +0000 (15:26 +0200)]
Set lid if available

12 years agoAdd new fields that were added to the schema to the database classes
APTX [Tue, 9 Apr 2013 12:57:12 +0000 (14:57 +0200)]
Add new fields that were added to the schema to the database classes

12 years agoAdd copy c-tor and assignment operator to node data classes. The intrusive parts...
APTX [Tue, 9 Apr 2013 12:49:01 +0000 (14:49 +0200)]
Add copy c-tor and assignment operator to node data classes. The intrusive parts should not get copied

12 years agoMake rule names more descriptive. Some rules got overridden by accident
APTX [Tue, 9 Apr 2013 12:46:23 +0000 (14:46 +0200)]
Make rule names more descriptive. Some rules got overridden by accident

12 years agoFix INSERT statements to account for new columns
APTX [Sun, 7 Apr 2013 19:21:57 +0000 (21:21 +0200)]
Fix INSERT statements to account for new columns

12 years agoAdd more columns for future features
APTX [Sun, 7 Apr 2013 18:21:28 +0000 (20:21 +0200)]
Add more columns for future features

12 years agoAdd a version dialog to management-gui
APTX [Sat, 6 Apr 2013 21:43:10 +0000 (23:43 +0200)]
Add a version dialog to management-gui

12 years agoAdd a "import titles from web action" to management-gui
APTX [Thu, 4 Apr 2013 14:36:16 +0000 (16:36 +0200)]
Add a "import titles from web action" to management-gui

12 years agoHeader missing from previous commit
APTX [Thu, 4 Apr 2013 14:35:47 +0000 (16:35 +0200)]
Header missing from previous commit

12 years agoActually implement handling file_location inserts by the model
APTX [Thu, 4 Apr 2013 12:02:32 +0000 (14:02 +0200)]
Actually implement handling file_location inserts by the model

12 years agoAdd changes to OpenFileData to script interface
APTX [Thu, 4 Apr 2013 12:02:03 +0000 (14:02 +0200)]
Add changes to OpenFileData to script interface

12 years agoMake id columns not null. Add a lid column for future use
APTX [Thu, 4 Apr 2013 12:01:16 +0000 (14:01 +0200)]
Make id columns not null. Add a lid column for future use

12 years agoUnsubscribe before closing the connection.
APTX [Wed, 3 Apr 2013 16:58:16 +0000 (18:58 +0200)]
Unsubscribe before closing the connection.

12 years agoIf the group is unknown, use "Unknown" as group name instead of not showing a name...
APTX [Wed, 3 Apr 2013 16:57:31 +0000 (18:57 +0200)]
If the group is unknown, use "Unknown" as group name instead of not showing a name at all.

12 years agoFix GCC fix...
APTX [Wed, 3 Apr 2013 01:45:03 +0000 (03:45 +0200)]
Fix GCC fix...

12 years agoGCC fixes
APTX [Wed, 3 Apr 2013 01:42:56 +0000 (03:42 +0200)]
GCC fixes

12 years agoAdd new columns to file_location, for future features
APTX [Wed, 3 Apr 2013 01:33:01 +0000 (03:33 +0200)]
Add new columns to file_location, for future features

12 years agoAdd the path_map table to the schema.
APTX [Tue, 2 Apr 2013 19:45:43 +0000 (21:45 +0200)]
Add the path_map table to the schema.

12 years agoMake LocalMyList compile with Qt4 again.
APTX [Tue, 2 Apr 2013 18:00:48 +0000 (20:00 +0200)]
Make LocalMyList compile with Qt4 again.

12 years agoAdd basic support for mapping file paths between hosts.
APTX [Tue, 2 Apr 2013 16:10:57 +0000 (18:10 +0200)]
Add basic support for mapping file paths between hosts.

OpenFileData has a new field, localPath, which holds the path from file_location. path now holds a mapped path, if any.
All getOpenFile* methods will try return a file location with a mapped path that is accessible from the current host.

12 years agoAdd tooltips with alternate names to the model
APTX [Tue, 2 Apr 2013 00:20:34 +0000 (02:20 +0200)]
Add tooltips with alternate names to the model

12 years agoCheck permissions for rename
APTX [Mon, 1 Apr 2013 13:35:11 +0000 (15:35 +0200)]
Check permissions for rename

12 years agoFix report loading
APTX [Mon, 1 Apr 2013 13:11:48 +0000 (15:11 +0200)]
Fix report loading

12 years agoAdd an error to the rename dialog if the selected file can not be used for rename...
APTX [Mon, 1 Apr 2013 13:11:32 +0000 (15:11 +0200)]
Add an error to the rename dialog if the selected file can not be used for rename testing

12 years agoLittle moveChild() cleanup
APTX [Mon, 1 Apr 2013 13:10:49 +0000 (15:10 +0200)]
Little moveChild() cleanup

12 years agoMyListModel now handles additions to the database.
APTX [Sun, 31 Mar 2013 19:26:16 +0000 (21:26 +0200)]
MyListModel now handles additions to the database.
It also reorders rows caused by data updates.

12 years agoMyListModel can now update itself when database entries change.
APTX [Tue, 26 Mar 2013 22:07:36 +0000 (23:07 +0100)]
MyListModel can now update itself when database entries change.

12 years agoUse proper exec in AsyncQueryTask
APTX [Tue, 26 Mar 2013 20:54:29 +0000 (21:54 +0100)]
Use proper exec in AsyncQueryTask

12 years agoNew implementation of MyListModel
APTX [Mon, 25 Mar 2013 15:30:14 +0000 (16:30 +0100)]
New implementation of MyListModel

12 years agoMake SqlAsyncQuery fast. Add functions to fill database classes directly from an...
APTX [Mon, 25 Mar 2013 15:29:52 +0000 (16:29 +0100)]
Make SqlAsyncQuery fast. Add functions to fill database classes directly from an SQL result.

12 years agoSQLAsyncQuery fixes
APTX [Thu, 21 Mar 2013 12:58:13 +0000 (13:58 +0100)]
SQLAsyncQuery fixes

12 years agoAdd dtor to and emit ready signal to SqlAsyncQuery.
APTX [Wed, 20 Mar 2013 12:33:15 +0000 (13:33 +0100)]
Add dtor to and emit ready signal to SqlAsyncQuery.

12 years agoFix SqlQuery.
APTX [Tue, 19 Mar 2013 22:22:35 +0000 (23:22 +0100)]
Fix SqlQuery.

12 years agoAdd SqlAsyncQuery class.
APTX [Tue, 19 Mar 2013 22:22:09 +0000 (23:22 +0100)]
Add SqlAsyncQuery class.

12 years agoAdd namespace
APTX [Tue, 19 Mar 2013 19:57:30 +0000 (20:57 +0100)]
Add namespace

12 years agoAdd basic wrapper for QSqlQuery
APTX [Tue, 19 Mar 2013 19:51:38 +0000 (20:51 +0100)]
Add basic wrapper for QSqlQuery

12 years agoMove the database classes to their own file.
APTX [Tue, 19 Mar 2013 19:00:37 +0000 (20:00 +0100)]
Move the database classes to their own file.

12 years agoMerge branch 'master' of ssh://aptx.org/var/git/localmylist
APTX [Sat, 2 Mar 2013 17:32:32 +0000 (18:32 +0100)]
Merge branch 'master' of ssh://aptx.org/var/git/localmylist

12 years agoUse isConnected() instead. d Might be 0
APTX [Sat, 2 Mar 2013 17:31:36 +0000 (18:31 +0100)]
Use isConnected() instead. d Might be 0

12 years agoHopefully port qtservice to Qt5.
APTX [Sat, 2 Mar 2013 14:23:30 +0000 (15:23 +0100)]
Hopefully port qtservice to Qt5.

12 years agoDo not include renamesettingsdialog if building without the udp client
APTX [Thu, 21 Feb 2013 02:16:02 +0000 (03:16 +0100)]
Do not include renamesettingsdialog if building without the udp client

12 years agoAdd widgets module for Qt5
APTX [Thu, 21 Feb 2013 02:12:55 +0000 (03:12 +0100)]
Add widgets module for Qt5

12 years agoqtsingleapplication ported to Qt5
APTX [Thu, 21 Feb 2013 02:12:36 +0000 (03:12 +0100)]
qtsingleapplication ported to Qt5

12 years agoQHeaderView::setResizeMode() got renamed, requires QMimeData.
APTX [Thu, 21 Feb 2013 02:12:13 +0000 (03:12 +0100)]
QHeaderView::setResizeMode() got renamed, requires QMimeData.

12 years agotoLatin1() does the same thing as toAscii(), the latter got deprecated.
APTX [Thu, 21 Feb 2013 02:10:40 +0000 (03:10 +0100)]
toLatin1() does the same thing as toAscii(), the latter got deprecated.

12 years agoAllow building LocalMyList without AniDBUdpClient. Note that this disables adding...
APTX [Thu, 21 Feb 2013 01:48:02 +0000 (02:48 +0100)]
Allow building LocalMyList without AniDBUdpClient. Note that this disables adding files, renaming files or handling requests making such version of lml quite limited.

12 years agoAdd some TODOs.
APTX [Thu, 21 Feb 2013 00:40:20 +0000 (01:40 +0100)]
Add some TODOs.

12 years agoDo case insensitive path comparison during rename on windows.
APTX [Tue, 12 Feb 2013 19:58:04 +0000 (20:58 +0100)]
Do case insensitive path comparison during rename on windows.
This solves the problem of having failed renames but doesn't actually do renames that only change case.

12 years agoWorkaround for QTBUG-29662.
APTX [Tue, 12 Feb 2013 18:45:32 +0000 (19:45 +0100)]
Workaround for QTBUG-29662.

12 years agoMisc. cleanup
APTX [Tue, 12 Feb 2013 18:44:47 +0000 (19:44 +0100)]
Misc. cleanup

12 years agoprepareOneShot does not return a reference.
APTX [Thu, 31 Jan 2013 01:44:02 +0000 (02:44 +0100)]
prepareOneShot does not return a reference.

13 years agoAlways use the Database versions of prepare/exec
APTX [Fri, 14 Dec 2012 14:43:35 +0000 (15:43 +0100)]
Always use the Database versions of prepare/exec

13 years agoAdd some management-gui specific settings
APTX [Fri, 14 Dec 2012 14:36:57 +0000 (15:36 +0100)]
Add some management-gui specific settings

13 years agoReturn default QSettings to allow clients store additional settings
APTX [Fri, 14 Dec 2012 14:36:27 +0000 (15:36 +0100)]
Return default QSettings to allow clients store additional settings

13 years agoShow episode type in the model
APTX [Fri, 14 Dec 2012 02:28:17 +0000 (03:28 +0100)]
Show episode type in the model

13 years agoMake it possible to update anime titles directly from anidb.
APTX [Sat, 10 Nov 2012 03:03:40 +0000 (04:03 +0100)]
Make it possible to update anime titles directly from anidb.

13 years agoMerge branch 'master' of ssh://aptx.org/var/git/localmylist
APTX [Mon, 5 Nov 2012 21:16:51 +0000 (22:16 +0100)]
Merge branch 'master' of ssh://aptx.org/var/git/localmylist

13 years agoAdd option to disable automatic destruction of MyList.
APTX [Mon, 5 Nov 2012 21:16:29 +0000 (22:16 +0100)]
Add option to disable automatic destruction of MyList.

13 years agoAdd default to switch
APTX [Thu, 6 Sep 2012 14:37:12 +0000 (16:37 +0200)]
Add default to switch

13 years agogcc fixes
APTX [Thu, 6 Sep 2012 14:35:36 +0000 (16:35 +0200)]
gcc fixes

13 years agoNot all queries can be prepared
APTX [Wed, 5 Sep 2012 17:55:48 +0000 (19:55 +0200)]
Not all queries can be prepared

13 years agoTry to reconnect automatically.
APTX [Wed, 5 Sep 2012 01:45:35 +0000 (03:45 +0200)]
Try to reconnect automatically.

13 years agoAdd scriptable MyList Reports (currently just allows you to run an SQL query)
APTX [Tue, 28 Aug 2012 13:53:17 +0000 (15:53 +0200)]
Add scriptable MyList Reports (currently just allows you to run an SQL query)

13 years agoAdd file when management-gui starts
APTX [Thu, 2 Aug 2012 21:19:21 +0000 (23:19 +0200)]
Add file when management-gui starts

13 years agoAllow scripts run by runscript to access cli arguments via the arg variable
APTX [Mon, 30 Jul 2012 23:51:58 +0000 (01:51 +0200)]
Allow scripts run by runscript to access cli arguments via the arg variable

13 years agoFix renaming files. Pretty critical error...
APTX [Wed, 25 Jul 2012 01:21:23 +0000 (03:21 +0200)]
Fix renaming files. Pretty critical error...

13 years agoCall RequestHandler directly at startup
APTX [Wed, 25 Jul 2012 00:03:19 +0000 (02:03 +0200)]
Call RequestHandler directly at startup

13 years agoExpose RequestHandler...
APTX [Wed, 25 Jul 2012 00:02:48 +0000 (02:02 +0200)]
Expose RequestHandler...

13 years agoFix missing include
APTX [Wed, 25 Jul 2012 00:01:27 +0000 (02:01 +0200)]
Fix missing include

13 years agoExpose RequestHandler instance through MyList
APTX [Tue, 24 Jul 2012 23:50:07 +0000 (01:50 +0200)]
Expose RequestHandler instance through MyList

13 years agoStop at more signals
APTX [Tue, 24 Jul 2012 22:54:34 +0000 (00:54 +0200)]
Stop at more signals

13 years agoSome messages
APTX [Tue, 24 Jul 2012 22:37:28 +0000 (00:37 +0200)]
Some messages