]> Some of my projects - anidbudpclient.git/log
anidbudpclient.git
9 years agoRevert an accidental commit of config.pri
APTX [Sat, 9 Jan 2016 21:27:04 +0000 (22:27 +0100)]
Revert an accidental commit of config.pri

9 years agoAdd VERSION return code.
APTX [Sat, 9 Jan 2016 21:15:59 +0000 (22:15 +0100)]
Add VERSION return code.

Added to API definition on 1 March 2015.

9 years agoAdd typeAsInt for to EpisodeReply.
APTX [Sat, 9 Jan 2016 21:11:10 +0000 (22:11 +0100)]
Add typeAsInt for to EpisodeReply.

Added to API definition 23 December 2012.

10 years agoEnsure the client only connects with IPv4.
APTX [Sun, 25 Oct 2015 13:57:54 +0000 (14:57 +0100)]
Ensure the client only connects with IPv4.

AniDB does not support IPv6.

10 years agofixup! Add debug statements for resolving the API host name.
APTX [Sun, 25 Oct 2015 12:18:18 +0000 (13:18 +0100)]
fixup! Add debug statements for resolving the API host name.

10 years agoAdd debug statements for resolving the API host name.
APTX [Sun, 25 Oct 2015 11:56:50 +0000 (12:56 +0100)]
Add debug statements for resolving the API host name.

10 years agoRemove unnecessary semicolons.
APTX [Sun, 1 Feb 2015 12:38:39 +0000 (13:38 +0100)]
Remove unnecessary semicolons.

10 years agoRemove unused class property.
APTX [Sun, 1 Feb 2015 12:38:14 +0000 (13:38 +0100)]
Remove unused class property.

11 years agoMerge branch 'master' of ssh://aptx.org/var/git/anidbudpclient
APTX [Sun, 31 Aug 2014 16:24:21 +0000 (18:24 +0200)]
Merge branch 'master' of ssh://aptx.org/var/git/anidbudpclient

11 years agoAdd initial qbs support.
APTX [Sun, 31 Aug 2014 16:22:39 +0000 (18:22 +0200)]
Add initial qbs support.

12 years agoIf FileFlag::MyListViewed is available and file is not watched, disregard any view...
APTX [Sat, 15 Jun 2013 20:36:16 +0000 (22:36 +0200)]
If FileFlag::MyListViewed is available and file is not watched, disregard any view date value.

12 years agoConsider 0 an invalid timestamp for a watched date.
APTX [Sun, 9 Jun 2013 01:50:16 +0000 (03:50 +0200)]
Consider 0 an invalid timestamp for a watched date.

12 years agoFileReply::myListViewDate should only return a valid date if the date is set.
APTX [Sun, 9 Jun 2013 01:12:15 +0000 (03:12 +0200)]
FileReply::myListViewDate should only return a valid date if the date is set.

12 years agoProperly read time stamp for FileReply::myListViewDate.
APTX [Sun, 9 Jun 2013 00:56:29 +0000 (02:56 +0200)]
Properly read time stamp for FileReply::myListViewDate.

12 years agoUse RegExp2 for the repl and match.
APTX [Tue, 4 Jun 2013 02:05:03 +0000 (04:05 +0200)]
Use RegExp2 for the repl and match.

12 years agoRegister the match rename script function.
APTX [Tue, 4 Jun 2013 02:04:21 +0000 (04:04 +0200)]
Register the match rename script function.

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

12 years agoDon't check for affected rows.
APTX [Sun, 26 May 2013 12:58:25 +0000 (14:58 +0200)]
Don't check for affected rows.

A row isn't counted as affected if no change is made, but for the purposes of the client the end result is that the requested data is set in your MyList.

12 years agoFix VoteReply.
APTX [Tue, 23 Apr 2013 23:26:00 +0000 (01:26 +0200)]
Fix VoteReply.

Handle VOTE_REVOKED reply correctly, return success if a revoked vote does not exist.

12 years agoAdd support for editing with aid&epno to MyListAddCommand.
APTX [Tue, 9 Apr 2013 19:33:20 +0000 (21:33 +0200)]
Add support for editing with aid&epno to MyListAddCommand.

If multiple combinations are set aid&epno is preferred, followed by lid, fid and finally ed2k&size. aid can only be used for editing.

12 years agoMSVC 2012Update2 reverted handling of this case so an ifdef is required again.
APTX [Tue, 9 Apr 2013 19:28:20 +0000 (21:28 +0200)]
MSVC 2012Update2 reverted handling of this case so an ifdef is required again.

12 years agoTurns out GCC wasn't so bad after all. This works now with latest msvc/gcc.
APTX [Sun, 24 Mar 2013 23:44:08 +0000 (00:44 +0100)]
Turns out GCC wasn't so bad after all. This works now with latest msvc/gcc.

12 years agoRemove Q_ENUMS. It's not really necessary and breaks Qt5 moc.
APTX [Wed, 20 Feb 2013 18:19:27 +0000 (19:19 +0100)]
Remove Q_ENUMS. It's not really necessary and breaks Qt5 moc.

12 years agoQDate::secsTo() returns qint64 in Qt5, forcing all qBound() args to qint64 should...
APTX [Wed, 20 Feb 2013 17:48:54 +0000 (18:48 +0100)]
QDate::secsTo() returns qint64 in Qt5, forcing all qBound() args to qint64 should work for both.

12 years agoHow did this get here...
APTX [Wed, 20 Feb 2013 17:39:53 +0000 (18:39 +0100)]
How did this get here...

12 years agoQFileInfo's meta type is already declared in Qt5.
APTX [Wed, 20 Feb 2013 17:39:24 +0000 (18:39 +0100)]
QFileInfo's meta type is already declared in Qt5.

12 years agoRemove the proxy client. It wasn't used, lml provides an alternative solution.
APTX [Wed, 20 Feb 2013 17:24:53 +0000 (18:24 +0100)]
Remove the proxy client. It wasn't used, lml provides an alternative solution.

13 years agoAdd MyListExport Command
APTX [Sat, 15 Dec 2012 19:59:34 +0000 (20:59 +0100)]
Add MyListExport Command

13 years agoRemove debug macro definitions
APTX [Wed, 11 Jul 2012 00:53:24 +0000 (02:53 +0200)]
Remove debug macro definitions

13 years agoAlways ask for nat info
APTX [Wed, 11 Jul 2012 00:49:01 +0000 (02:49 +0200)]
Always ask for nat info

13 years agoDo not allow leaving from error state without calling clearErrors()
APTX [Wed, 11 Jul 2012 00:46:18 +0000 (02:46 +0200)]
Do not allow leaving from error state without calling clearErrors()

13 years agoAdd ServerBusyError Error type
APTX [Wed, 11 Jul 2012 00:38:48 +0000 (02:38 +0200)]
Add ServerBusyError Error type

13 years agoUpdate ReplyCode enum
APTX [Wed, 11 Jul 2012 00:27:01 +0000 (02:27 +0200)]
Update ReplyCode enum

13 years agoAdd sanitize function to RenameEngine
APTX [Tue, 19 Jun 2012 15:30:00 +0000 (17:30 +0200)]
Add sanitize function to RenameEngine

13 years agoIf UDP API returns UNKNOWN_COMMAND while using encryption, assume the API key is...
APTX [Sun, 17 Jun 2012 15:57:37 +0000 (17:57 +0200)]
If UDP API returns UNKNOWN_COMMAND while using encryption, assume the API key is wrong on the first command and assume the session expired instead.

13 years agoDo not report success if MYLISTADD successfully edited 0 entries
APTX [Sat, 16 Jun 2012 12:22:56 +0000 (14:22 +0200)]
Do not report success if MYLISTADD successfully edited 0 entries

13 years agoUpdate default host
APTX [Fri, 15 Jun 2012 12:55:45 +0000 (14:55 +0200)]
Update default host

13 years agoQueue the command...
APTX [Fri, 15 Jun 2012 12:55:26 +0000 (14:55 +0200)]
Queue the command...

13 years agoSeems KeepAliveIdlePolicy hasn't been used since version 2... and LogoutIdlePolicy...
APTX [Fri, 15 Jun 2012 11:42:23 +0000 (13:42 +0200)]
Seems KeepAliveIdlePolicy hasn't been used since version 2... and LogoutIdlePolicy hasn't ever been used

13 years agoMake sure sentCommandOrder and sentCommands stay in sync. Reset the replyTimeoutTimer...
APTX [Thu, 14 Jun 2012 11:47:11 +0000 (13:47 +0200)]
Make sure sentCommandOrder and sentCommands stay in sync. Reset the replyTimeoutTimer to the next commands timeout, rather than the current ones.

13 years agoThis should be it.
APTX [Wed, 13 Jun 2012 14:40:59 +0000 (16:40 +0200)]
This should be it.

13 years agoAlmost there...
APTX [Wed, 13 Jun 2012 14:29:58 +0000 (16:29 +0200)]
Almost there...

13 years agoSome major qmake shuffle to install headers in the right locations.
APTX [Wed, 13 Jun 2012 14:20:09 +0000 (16:20 +0200)]
Some major qmake shuffle to install headers in the right locations.

13 years agoInstall RenameEngine header correct directory.
APTX [Wed, 13 Jun 2012 12:09:29 +0000 (14:09 +0200)]
Install RenameEngine header correct directory.

13 years agoFix clang warnings
APTX [Wed, 13 Jun 2012 11:55:03 +0000 (13:55 +0200)]
Fix clang warnings

13 years agoAllow the client to recover from errors and provide a way to leave error state.
APTX [Sat, 9 Jun 2012 17:03:17 +0000 (19:03 +0200)]
Allow the client to recover from errors and provide a way to leave error state.

13 years agoAdd automatic cleanup of Client instance
APTX [Thu, 7 Jun 2012 01:04:29 +0000 (03:04 +0200)]
Add automatic cleanup of Client instance

13 years agoAdd the new convenience headers to CONV_HEADERS
APTX [Sat, 2 Jun 2012 13:03:23 +0000 (15:03 +0200)]
Add the new convenience headers to CONV_HEADERS

13 years agoPadding is up to and including 16.
APTX [Wed, 23 May 2012 23:23:36 +0000 (01:23 +0200)]
Padding is up to and including 16.

13 years agoAnimeReply::year() should return a string, not an int.
APTX [Wed, 23 May 2012 23:22:46 +0000 (01:22 +0200)]
AnimeReply::year() should return a string, not an int.

13 years agoI though I got this...
APTX [Wed, 23 May 2012 22:35:59 +0000 (00:35 +0200)]
I though I got this...

13 years agoAdd FileReply::videoColorDepth() for newly added flag.
APTX [Wed, 23 May 2012 22:31:47 +0000 (00:31 +0200)]
Add FileReply::videoColorDepth() for newly added flag.

13 years agoMore fixes to the bitfields.
APTX [Wed, 23 May 2012 22:21:22 +0000 (00:21 +0200)]
More fixes to the bitfields.

13 years agoWarn if amask/fmask bits get removed. Setting invalid bits might make break result...
APTX [Wed, 23 May 2012 22:20:37 +0000 (00:20 +0200)]
Warn if amask/fmask bits get removed. Setting invalid bits might make break result parsing.

13 years agoAdd method to read the vote as double.
APTX [Wed, 23 May 2012 22:18:43 +0000 (00:18 +0200)]
Add method to read the vote as double.

13 years agoSeparate command debug from misc debug.
APTX [Wed, 23 May 2012 22:17:19 +0000 (00:17 +0200)]
Separate command debug from misc debug.

13 years agoActually implement reply parsing in VoteReply.
APTX [Tue, 22 May 2012 20:17:11 +0000 (22:17 +0200)]
Actually implement reply parsing in VoteReply.

13 years agoMake EpisodeReply return the episode number as int as well.
APTX [Tue, 22 May 2012 20:16:21 +0000 (22:16 +0200)]
Make EpisodeReply return the episode number as int as well.

13 years ago... or is it?
APTX [Tue, 22 May 2012 20:15:21 +0000 (22:15 +0200)]
... or is it?

13 years agoFileReply improvements.
APTX [Mon, 21 May 2012 23:38:32 +0000 (01:38 +0200)]
FileReply improvements.

13 years agoAll this old QtScript stuff should probably be removed.
APTX [Mon, 21 May 2012 19:12:32 +0000 (21:12 +0200)]
All this old QtScript stuff should probably be removed.

13 years agoGet AnimeCommand to a usable state.
APTX [Mon, 21 May 2012 19:11:54 +0000 (21:11 +0200)]
Get AnimeCommand to a usable state.

13 years agoUpdate FileReply to use new LastFlag flags.
APTX [Mon, 21 May 2012 19:11:04 +0000 (21:11 +0200)]
Update FileReply to use new LastFlag flags.

13 years agoRework the various flag enums.
APTX [Mon, 21 May 2012 19:09:46 +0000 (21:09 +0200)]
Rework the various flag enums.

13 years agoAdd missing convenience headers
APTX [Sun, 13 May 2012 17:31:46 +0000 (19:31 +0200)]
Add missing convenience headers

13 years agoAdd AnimeCommand (unfinished)
APTX [Sun, 13 May 2012 17:30:50 +0000 (19:30 +0200)]
Add AnimeCommand (unfinished)

13 years agoAbtractReply's (and children's) command() should be public.
APTX [Sun, 13 May 2012 17:27:34 +0000 (19:27 +0200)]
AbtractReply's (and children's) command() should be public.

13 years agoAdd EPISODE command.
APTX [Tue, 28 Feb 2012 20:47:03 +0000 (21:47 +0100)]
Add EPISODE command.

13 years agoMake sure there's enough parts to read from.
APTX [Tue, 28 Feb 2012 19:43:29 +0000 (20:43 +0100)]
Make sure there's enough parts to read from.

13 years agoMake it possible to tell if a command's parameter combination will result in a valid...
APTX [Tue, 28 Feb 2012 19:35:44 +0000 (20:35 +0100)]
Make it possible to tell if a command's parameter combination will result in a valid command. Prevent client from sending invalid commands.

13 years agoDo not stall when hashing a 0 length file.
APTX [Mon, 27 Feb 2012 17:58:53 +0000 (18:58 +0100)]
Do not stall when hashing a 0 length file.

13 years agoed2k hashing changes for edge cases.
APTX [Sat, 18 Feb 2012 15:36:48 +0000 (16:36 +0100)]
ed2k hashing changes for edge cases.

13 years agoAdd error messages for trying to connect without user/pass/api key set.
APTX [Sun, 15 Jan 2012 14:00:37 +0000 (15:00 +0100)]
Add error messages for trying to connect without user/pass/api key set.

13 years agoUse the right variable...
APTX [Fri, 13 Jan 2012 21:39:14 +0000 (22:39 +0100)]
Use the right variable...

13 years agoUse correct reply...
APTX [Fri, 13 Jan 2012 03:08:57 +0000 (04:08 +0100)]
Use correct reply...

13 years agoAdd missing break;...
APTX [Fri, 13 Jan 2012 03:07:52 +0000 (04:07 +0100)]
Add missing break;...

13 years agoPossible fix for weird crash. Cleanup.
APTX [Thu, 12 Jan 2012 21:50:17 +0000 (22:50 +0100)]
Possible fix for weird crash. Cleanup.

13 years agoPossible fix for weird crash.
APTX [Thu, 12 Jan 2012 21:29:48 +0000 (22:29 +0100)]
Possible fix for weird crash.

13 years agoPossible fix for weird crash.
APTX [Thu, 12 Jan 2012 20:23:13 +0000 (21:23 +0100)]
Possible fix for weird crash.

13 years agoFix File: actually reduce number of commands sent and make updateState work().
APTX [Thu, 12 Jan 2012 20:06:51 +0000 (21:06 +0100)]
Fix File: actually reduce number of commands sent and make updateState work().

13 years agoAdd stateSet() method to MyListAddReply.
APTX [Thu, 12 Jan 2012 19:54:15 +0000 (20:54 +0100)]
Add stateSet() method to MyListAddReply.

13 years agoObtain lid from FILE_ALREADY_IN_MYLIST.
APTX [Thu, 12 Jan 2012 19:41:41 +0000 (20:41 +0100)]
Obtain lid from FILE_ALREADY_IN_MYLIST.

13 years agoFix AniQFlags.
APTX [Thu, 12 Jan 2012 19:26:37 +0000 (20:26 +0100)]
Fix AniQFlags.

13 years agoMake File send less commands. Don't try adding to MyList if lid is known. Don't set...
APTX [Thu, 12 Jan 2012 16:51:21 +0000 (17:51 +0100)]
Make File send less commands. Don't try adding to MyList if lid is known. Don't set state if file was just added.

13 years agoAdd revision info.
APTX [Thu, 12 Jan 2012 15:16:00 +0000 (16:16 +0100)]
Add revision info.

13 years agoAdd detection incorrect API Key.
APTX [Tue, 3 Jan 2012 01:30:02 +0000 (02:30 +0100)]
Add detection incorrect API Key.

13 years agoSet new client version
APTX [Tue, 3 Jan 2012 00:34:09 +0000 (01:34 +0100)]
Set new client version

13 years agoMerge branch 'encrypt'
APTX [Tue, 3 Jan 2012 00:26:38 +0000 (01:26 +0100)]
Merge branch 'encrypt'

13 years agoAdd newVersionAvailable signal.
APTX [Mon, 2 Jan 2012 17:30:25 +0000 (18:30 +0100)]
Add newVersionAvailable signal.

13 years agoRemove unused signals.
APTX [Mon, 2 Jan 2012 17:14:40 +0000 (18:14 +0100)]
Remove unused signals.

13 years agoMake sure lib builds without encryption and that encryption failures result in connec...
APTX [Mon, 2 Jan 2012 16:33:52 +0000 (17:33 +0100)]
Make sure lib builds without encryption and that encryption failures result in connection errors.

13 years agoInitialize all variables...
APTX [Mon, 2 Jan 2012 00:50:07 +0000 (01:50 +0100)]
Initialize all variables...

13 years agoAdd ENCRYPT support. May be buggy.
APTX [Sun, 1 Jan 2012 22:58:28 +0000 (23:58 +0100)]
Add ENCRYPT support. May be buggy.

14 years agoRemove double space.
APTX [Fri, 16 Dec 2011 01:45:52 +0000 (02:45 +0100)]
Remove double space.

14 years agoRemove debug spam.
APTX [Fri, 16 Dec 2011 01:45:32 +0000 (02:45 +0100)]
Remove debug spam.

14 years agoHash::endHashing has something to do even if it's a canceled request...
APTX [Thu, 25 Aug 2011 16:05:09 +0000 (18:05 +0200)]
Hash::endHashing has something to do even if it's a canceled request...

14 years agoMake it possible to cancel a hash request. Hash cancels automatically if the RashResu...
APTX [Thu, 25 Aug 2011 16:01:56 +0000 (18:01 +0200)]
Make it possible to cancel a hash request. Hash cancels automatically if the RashResult is deleted.

14 years agoThe values set for GTs and GTl were reversed in FileRenameDelegate.
APTX [Sun, 21 Aug 2011 23:51:08 +0000 (01:51 +0200)]
The values set for GTs and GTl were reversed in FileRenameDelegate.

14 years agoMinor fixes for RenameParser functions.
APTX [Sun, 21 Aug 2011 23:50:02 +0000 (01:50 +0200)]
Minor fixes for RenameParser functions.

14 years agoAdd some new/missing RenameEngine variables.
APTX [Mon, 8 Aug 2011 22:10:17 +0000 (00:10 +0200)]
Add some new/missing RenameEngine variables.