Commit Graph

144 Commits

Author SHA1 Message Date
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
9be7250bfa Merge branch 'testing' into feature-database 2014-01-23 22:45:59 -04:30
codestation
86e1282e04 Create separate spec files for Fedora. 2014-01-23 13:16:20 -04:30
codestation
c14d4e2df6 Use lrelease from Qt5 and update build deps. 2014-01-22 19:17:19 -04:30
codestation
7b3d3e8249 Removed the *64 spec files. Now the same spec file works for both architectures. 2014-01-22 17:15:18 -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
67f0a0fa1f Move KDE related config into their section. 2014-01-16 22:53:00 -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
230bbcfb43 Include revision and commit hash to the version if available.
Rewritten qcma.pro file.
2014-01-16 14:03:51 -04:30
codestation
c2092a8a69 Updated changelog (by using a real one). 2014-01-16 12:59:57 -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
f9112fb691 Bump version to 0.2.8 2014-01-09 09:44:31 -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
fc4bd30b42 Bump version to 0.2.7. 2014-01-05 22:06:03 -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
7ce88ec968 Merge branch 'testing' of github.com:codestation/qcma into testing 2014-01-02 17:02:28 -04:30
codestation
fe74585c2b Merge pull request #8 from xiannox/testing
Added QCMA NSIS install script
2014-01-02 13:31:42 -08:00
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
Xian Nox
705f7a4b97 Added QCMA NSIS install script 2013-12-29 23:46:00 +01:00
codestation
81e3545f29 Updated translations 2013-12-25 21:56:06 -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
1fea358b7c Fix OS X icon location. 2013-12-24 22:57:27 -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
c2558b6b2a Updated translations. 2013-12-19 21:01:33 -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