Commit Graph

99 Commits

Author SHA1 Message Date
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
Xian Nox 8e92fcda21 Fixed wrong build info define names
Tray popup delay is now only applied the first time
2013-12-18 21:34:54 +01:00
Xian Nox 3f9e82ebf8 Added 500ms delay to message popups 2013-12-18 21:18:25 +01:00
Xian Nox 64016fc8ff Added switch to get git hash and branch name 2013-12-18 17:35:21 +01:00
Xian Nox 6178d75cde Check if account user name is valid 2013-12-18 12:25:45 +01:00
Xian Nox 8cec4e1549 Added build hash and branch to about dialog 2013-12-18 11:03:01 +01:00
Xian Nox b3c36d0de7 Fixed system tray icon update bug 2013-12-18 10:00:46 +01:00
codestation f80810f3a2 Fix the CMA crash on the PS Vita because it expects xml files that
doesn't follow the spec o_O
2013-12-17 20:41:13 -04:30
codestation b0345a6656 Change the tray ico color to indicate if the device is connected. 2013-12-17 20:38:53 -04:30
codestation 73a48a76f2 Updated translations. 2013-12-17 20:36:46 -04:30
Xian Nox 4c5356a35d Moved qcma.rc and qcma.qrc 2013-12-16 14:35:56 +01:00
Xian Nox 5c255ea221 Fixed filterlineedit location 2013-12-16 13:39:02 +01:00
Xian Nox efced3781c Changed folder structure 2013-12-16 10:34:48 +01:00