Commit Graph

62 Commits

Author SHA1 Message Date
codestation 0b031f28a8 Drop qt4 from debian/rules.
Update copyright.
2014-04-23 19:48:14 -04:30
codestation dc0b30bba1 Enable systray by default. 2014-04-19 23:41:51 -04:30
codestation a4c2301cab Added dbus interface for regular qcma.
Added option to disable the systray: --no-systray.
2014-04-19 23:05:20 -04:30
codestation 00b76f308c Changed read timestamps timezones to UTC.
Fix QListDB::getObjectMetadatas not returning metadata when a single
object was requested.
Show size in GiB for backups.
2014-04-19 15:48:50 -04:30
codestation 00f1c0eee2 Readd QImage includes.
Do not remove gui lib for headless binary as it needs it to use Qimage.
Rename headless package to qcma-cli.
2014-04-04 11:45:53 -04:30
codestation c88c2d34e9 Fix missing headers under Qt4. 2014-04-03 15:24:06 -04:30
codestation 06363de75b Update httpdownloader class. 2014-04-03 15:22:19 -04:30
codestation 20cd8f80a0 Fix compilation of sqlite backend under Qt4.
Fix .pro file.
Add entry in debian rules to headless package.
2014-04-03 14:45:10 -04:30
codestation 80f19e5d23 New qcma headless app.
Updated changelog.
Bumped version to 0.3.0.
2014-03-28 10:07:13 -04:30
codestation 6ed8dd749e Added functions to create virtual entries on the database.
Disabled sqlite setting in config dialog.
2014-03-22 13:58:39 -04:30
codestation ae8657325a Create virtual node table to store category nodes (doesn't exist on the filesystem but need an OHFI).
Enable triggers, disable sync mode and other tweaks so the creation of the database can be faster.
Abort early if a database entry cannot be added.
Fix games and savedatas not being saved with their correct parent id.
Preparing getRootItems to return virtual categories.
Code refactoring.
2014-02-25 09:18:49 -04:30
codestation 99d216d474 Enable SQLiteDB backend.
Multiple fixed and finished the implementation of the SQLite backend.
Try to load the database before trying to attempt a rescan.
Delete the metadala list for backends that allocate them on demand.
Moved some generic functions to the databse class.
Renamed utils header to avoid rare QtCreator bug.
2014-02-05 23:30:12 -04:30
codestation f722c4579b Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.
2014-01-29 01:06:19 -04:30
codestation a021c5db8f Modify removeRecursively to be able to delete a file.
Added getParentId func.
Add the datatype for newly inserted items.
Pass a double pointer instead of a pointer reference so the metadata_t can be optional.
Make sure to delete the files after deleting an entry in the backup manager.
2014-01-28 18:05:43 -04:30
codestation b7ad2b13f4 Create a unified base class to access the database.
Moved the default database class to QListDB and disallow leaking CMAObjects outside this class.
Rewrote QListDB and CMAEvent to use the new internal API.
Moved the file format constants to the base database class.
Moved the metadata loading methods to the base database class.
2014-01-28 14:00:15 -04:30
codestation e1aa32894d Renamed database class to qlistdb in preparation to create generic database class. 2014-01-24 13:08:35 -04:30
codestation d4ad94bfdd Merge duplicated code from Database, CMAObject and SQListDB to utils.
Fix savedata metadata processing.
Insert metadata from games/apps into the database.
2014-01-20 23:23:57 -04:30
codestation 9477a74ba9 Merge branch 'testing' into feature-database
Conflicts:
	src/avdecoder.cpp
	src/avdecoder.h
2014-01-20 23:04:26 -04:30
codestation 7234356319 Refactorized avdecoder class.
Disable warnings from ffmpeg.
2014-01-20 22:55:20 -04:30
codestation ca2e0a4b0c Revert "Change the read method of ffmpeg from filename to buffer". This bug was only affecting the load of photos and that usage was removed. 2014-01-18 21:26:05 -04:30
codestation c4961a8b15 New base for the database backend. 2014-01-17 19:09:08 -04:30
codestation bafae021ed Show if savedata, updates or dlc are present. 2014-01-17 16:58:09 -04:30
codestation 9c8a3e0176 Fixed resource prefix for translations. 2014-01-16 23:15:51 -04:30
codestation 04ce71a9f3 Delay the progress dialog by one second so it doesn't show on quick scans.
Do not show the disconnect message if no connection is established.
Show correct directory separators on Windows.
2014-01-16 21:38:05 -04:30
codestation 21369145e6 Separated translations from main resource file 2014-01-14 12:22:59 -04:30
codestation fca2ae25c4 Set default CString codec to UTF-8 in Qt4 2014-01-11 17:02:42 -04:30
codestation db92890bc3 Set the default video codec to h264 is metadata skip is enabled. 2014-01-10 13:14:30 -04:30
codestation bc92743269 Enable setting for skip metadata retrieval on database scanning.
Enabled settings for enabling/disabling USB/WiFi monitoring.
Make sure to init properly in the db multimedia files copied to the PC.
Translate system Qt widgets.
2014-01-09 02:33:44 -04:30
codestation 019d2a03a4 Send PTP_RC_GeneralError when cancelling object transfers.
Moved back uint64 to unsigned long to avoid variable truncation with the vitamtp library.
Astyle format dds.cpp.
2014-01-07 18:33:21 -04:30
codestation 5fb47de3da Add debug message when cancelling wireless connection 2014-01-06 13:02:35 -04:30
codestation 96d60fb9ce Move stdint.h to header so it can compile under windows. 2014-01-05 21:45:40 -04:30
codestation 88d51420e7 Implement online mode: now qcma can connect to the Internet to check and download update files.
Update embedded xml file.
Updated translations.
2014-01-05 20:58:46 -04:30
codestation a0d9e03d17 Remove the mmap usage. Do not use memory buffer to hold the whole file. 2014-01-05 00:41:22 -04:30
codestation 9784332bae Remove wireless disconnect callback.
Make an interruptable sleep so the USB connection can be aborted more quickly.
Updated translations.
2014-01-03 16:08:16 -04:30
codestation a2468ddf7a Set backup usage to zero if no items are found. 2014-01-03 13:33:42 -04:30
codestation ee787dab46 Added support for native KDE notifier icon. 2014-01-03 00:57:07 -04:30
codestation 960897ea2e Use QImage to load photo metadata instead of ffmpeg. 2014-01-02 13:14:38 -04:30
codestation e2768672e7 Change the read method of ffmpeg from filename to buffer to avoid
passing a filename with incorrect encoding to avformat_open_input.
Increased the size of photo thumbnails a little.
2014-01-02 01:52:11 -04:30
codestation 2f2d381474 Fix lineedit resizing on focus. 2013-12-29 22:01:32 -04:30
codestation e9d46005dc Receive the onlineId earlier so it can be shown in the connection popup.
USB: save the device name after exchanging capability info.
WiFi: save the device name used in the device pairing phrase.
2013-12-25 21:46:42 -04:30
codestation 12b0ad997e Do not use a static row count because it gets invalid once a row is deleted. 2013-12-25 01:54:06 -04:30
codestation ef845f9a1c Adjust the item height on the backup manager so the text doesn't
get cut on OS X.
2013-12-25 00:51:19 -04:30
codestation 0a655d9422 On OSX clearing the QTableWidget doesn't remove the items so lets
adjust the row count before exiting when no items are available.
2013-12-25 00:49:37 -04:30
codestation 3fa40ff080 Remove format warnings. 2013-12-23 23:12:34 -04:30
codestation 3848873ccf Fix crash when opening the backup manager before the first scan. 2013-12-22 20:11:34 -04:30
codestation b67af3b9d2 Only index the database when a valid uuid is present.
Refresh the database when a PS Vita is connected.
2013-12-19 20:53:27 -04:30
codestation ee9237197d Disable savedata details until the CMA device crash has been solved. 2013-12-19 19:40:12 -04:30
codestation 7bc54d3533 Show last selected listing in backup manager. 2013-12-19 17:43:38 -04:30
codestation 2b26fb239c Show PSM icons in backup manager. 2013-12-19 17:41:54 -04:30
codestation d6831fc6c6 Fix compilation under 64bit Windows and standarize the format of the thread ID. 2013-12-19 00:03:13 -04:30