Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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
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
codestation 0fc2198436 Merge pull request #7 from xiannox/testing
Merge Xian Nox qcma branch into testing
2013-12-18 16:39:51 -08:00
codestation 647b8dad2f Fix ico path location in windows resource file. 2013-12-18 19:20:09 -04:30
codestation 38fa92b854 Fix icon location on desktop file. 2013-12-17 21:20:18 -04:30
codestation 2b26a2b3de Bump version to 0.2.5 2013-12-17 20:45:13 -04:30
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
codestation 8e33c89412 Merge pull request #6 from xiannox/testing
Merge pull request #5 from xiannox/testing
2013-12-17 17:06:00 -08:00
codestation 9c67329549 Merge pull request #5 from xiannox/testing
Merge Xian Nox qcma branch into testing
2013-12-17 06:08:06 -08:00
codestation 616c58c876 Merge pull request #4 from xiannox/testing
Merge Xian Nox qcma branch into testing
2013-12-16 13:18:05 -08:00
codestation 57fcd8adb3 Fix the stupid PIN bug. 2013-12-15 09:42:01 -04:30
codestation c4eaad6b8c Astyle formatting 2013-12-15 09:01:04 -04:30
codestation e68f01c858 Always read the account name.
Create the backup directories.
2013-12-13 09:33:46 -04:30
codestation 5827c6ad0c Added feature-filter from Xian Nox (with minor formatting changes) 2013-12-11 21:15:57 -04:30
codestation db3c400864 Added some help messages to the Settings window; --set-locale switch 2013-12-11 20:45:45 -04:30
codestation a6347fcded Remove executable bit to desktop file. 2013-11-19 14:48:04 -04:30
codestation 84289bd5ac Better way to detect the broadcast message. 2013-11-05 20:10:09 -04:30
codestation 2e745a75de Support new CMA broadcast string.
Identify as PS Vita TV compatible.
2013-11-04 23:22:49 -04:30
codestation f0146d76b5 Make sure that it uses statvfs64 on 32bit builds. 2013-10-06 16:38:50 -04:30
codestation 9489a14fa2 Fix about menu entry and newline 2013-10-01 13:36:58 -04:30
codestation 6b60b8a89f Add version so this project is easier to track 2013-10-01 13:24:57 -04:30
codestation 854eadfb8d Added OS X icon 2013-09-29 14:33:49 -04:30
codestation 03e3fb9ad5 Fix handle casting in debug messages.
Change statvfs64 to statvfs and leave the build system configure it, so
it doesn't break on OS X.
Enable pkg-config on OS X.
2013-09-29 11:10:47 -04:30
codestation 2d88347e4d Merge pull request #1 from 173210/master
Japanese translation added
2013-09-27 06:47:10 -07:00
codestation 5582c5f047 Fix negative values on pin 2013-09-24 18:27:00 -04:30
codestation 269243d04d Adjust row height in backup manager. 2013-09-22 23:06:54 -04:30
codestation d6a8e4a73d Include vitamtp.h header. 2013-09-22 22:43:21 -04:30
codestation 71a7bed50d Fix memory leaks.
Use "/" separator for internal cmaobject nodes.
Use new vitamtp init function.
Remove console config for Win32.
2013-09-22 19:02:42 -04:30
codestation d2e584220e Enable console logging under Win32.
Fix struct size issue under Win32.
2013-09-21 18:08:09 -04:30
codestation 50a12cbf93 Generate correct random value on 32bits 2013-09-19 19:50:49 -04:30
codestation 0454272e94 Added windows icon file. 2013-09-16 00:49:45 -04:30
codestation 092e0d9aa0 Added Windows icon.
Use a 16x16 tray icon under Windows.
Fix disk space funcion under Windows.
2013-09-16 00:46:43 -04:30
codestation 6d432bfafb Initialize file_type. 2013-09-15 23:56:37 -04:30
codestation 6bff6b9831 Return the correct codec/format type for all the supported file types. 2013-09-14 17:30:10 -04:30
codestation 339b08704a Added deb packaging rules. 2013-09-02 17:11:10 -04:30
codestation 647a9983e0 Fix compilation failure of previous commit 2013-09-02 14:42:19 -04:30
codestation 7c83b86ca8 Fix compilation with older ffmpeg.
Fix compilation under 32bits.
2013-09-02 14:38:07 -04:30
codestation db576350ce Updated translations and readme. 2013-09-01 14:12:12 -04:30
codestation f6b7d47757 Add registration callback to close the PIN dialog properly. 2013-09-01 02:25:03 -04:30
codestation 8ab004c6d7 Basic support for event canceling 2013-09-01 01:37:48 -04:30
codestation 7e34493d74 Enable the rest of the music categories but filter out any files from them (for now). 2013-08-31 01:36:49 -04:30
codestation 1e4a8348d4 Fix music streaming. 2013-08-31 00:06:55 -04:30
codestation bc9e84ad13 Enable verbose and debug logging in command line options. 2013-08-30 13:46:24 -04:30
codestation fb0845e8a1 Include future options in settings dialog.
Only send the file name to the progress dialog.
2013-08-30 11:56:04 -04:30
codestation 04853712d0 Update the database in a different thread so it doesn't freeze the main
thread.
Show PIN in a dialog instead of a notification popup.
Translations updated.
2013-08-30 11:10:43 -04:30
codestation b46156b507 Use the correct dialog for directory selection. 2013-08-29 16:17:16 -04:30
codestation acbdf57b1a Spanish translation added 2013-08-29 14:49:29 -04:30