Commit Graph

174 Commits

Author SHA1 Message Date
Jannik 42b8434a58 Cloud sync rework
* reworked the hole cloud sync controller
this will make it more save to use the cloud sync
THIS IS WORK IN PROGRESS, NOT READY FOR DAILY USE!
2017-12-12 23:52:54 +01:00
Jannik 9b443dfeae small DBController code clean up 2017-12-12 19:19:01 +01:00
Jannik c70786cdf4 minor ui improvements 2017-12-12 19:01:17 +01:00
Jannik a3a7d415c7 fixed a few bugs
* games.db -> reference_games.db
* fix picture cache path under linux
2017-12-12 12:02:28 +01:00
Jannik 9ccb7e6b42 better coding style
* used gettersand setter for accessing the mainparts of the UI elements, uch aus primarStage
* dbController -> DBController
2017-12-12 11:19:33 +01:00
Jannik 99574ce6ef updated version to 0.2.2 build 061
* updated version to 0.2.2 build 061
* the license text textarea is not editable anymore
2017-12-11 17:07:20 +01:00
Jannik 3289bb4aed smmdb course images are now correctly scaled
* added a scaling function for smm course images
* smm course images are scrollable now
2017-12-11 16:44:47 +01:00
Jannik a1bab241b6 log contains some infos about the currect system now
such as os version java re version
2017-12-11 15:51:04 +01:00
Jannik 02d7cb6a3e smmdb image is now in a scrollpane
* smmdb image is now in a scrollpane, now we can resize the image to the correct height
2017-12-11 11:31:39 +01:00
Jannik e92a43a37e added a search bar for smmdb courses
* added a search bar for the smmdbcourse table
* fixed some wrong Anschors at the smmdb Anchorpane
2017-12-11 10:31:23 +01:00
Jannik 75d8e6b525 smmdb api auery is now in it's own thread
* smmdb api auery is now in it's own thread
* fixed a issue where cemu_UI freezed on a 502 http error of the smmdb api
* jfoenix 1.10 -> 1.11
* sqlite 3.20.0. -> sqlite 3.20.0.1
2017-12-09 13:10:19 +01:00
Jannik 548629eeaf TestArea -> TextArea 2017-12-09 10:19:52 +01:00
Jannik 37d55abe9a fiexd a typo 2017-12-09 10:16:03 +01:00
Jannik 95df2b9359 fixed a few cloud sync bugs
* fixed a bug where cemu_UI faild to set the correct text to the playBtn
* fixed cemu_UI crashing when activationg cloud sync under linux
2017-12-07 22:52:32 +01:00
Jannik e4bf16e7a1 added a dialog to sow all licenses
* added a dialog to sow all licenses of all programms and libraries used int cemu_UI
2017-12-06 13:39:00 +01:00
Jannik 0cfbd2b125 code clean up 2017-11-28 23:07:20 +01:00
Jannik 2e200e5a88 ui fixes
* the spinner backgri´ound is not clear anymore
* code clean up
* added a better description of issue #10
2017-11-28 13:55:07 +01:00
Jannik 46c57ef330 code clean up
* removed old reloadRomBtn code
* fixed an issue where the saveSettings after successfully syncing to the cloud failed
2017-11-27 21:57:59 +01:00
Jannik e0a73a1fbe code clean up
* the mwc init process is now only one call in main
* renamed a few methodes for better clearance
* added a few TODOs
2017-11-27 10:57:16 +01:00
Jannik 0f7d262bcb License dialog update 2017-11-26 11:35:02 +01:00
Jannik f5e16d2f58 travis ci test 2017-11-25 10:57:11 +01:00
Jannik 73bb433d03 clean up 2017-11-24 21:40:55 +01:00
Jannik 5f756f613f formating work 2017-11-24 21:40:02 +01:00
Jannik fe6ddedab9 code clean up 2017-11-24 21:36:03 +01:00
Jannik 922b1443e1 clean up
* fixed a few typos
* code clean up
2017-11-24 17:07:53 +01:00
Jannik ba9fd1bb32 dialog rework and mor license shipping work
* update/add DLC are now JFXDilaog styled
* added MIT license
2017-11-22 23:30:20 +01:00
Jannik 15196718c5 added license lable action 2017-11-22 22:53:15 +01:00
Jannik 890830b84e added gpl3 and apache 2
* added gpl3
* added apache 2
* code clean up
2017-11-20 11:32:14 +01:00
Jannik 2b17d34841 code clean up 2017-11-15 22:00:28 +01:00
Jannik 0a208f5a6b add and edit dialog is now material styled
* added material add/edit dialog
* lots of code clean up
2017-11-15 21:21:52 +01:00
Jannik 88a83e5f0d maen fixes, clean up and add/edit dialog work
* maven uses now apache shaped as build plugin
* begun reworking the addGame Dialog
2017-11-15 15:58:23 +01:00
Jannik 6a2c5d050f update 0.2.1 (055) 2017-11-14 23:44:49 +01:00
Jannik b8f4f89ec6 renamed SmmdbAPIQuery to SMMDBAPIController 2017-11-14 12:02:39 +01:00
Jannik dafd0b84df maven buildsystem
* maven is now used to build cemu_UI
* cleaned up a lot of code for better overview
2017-11-13 16:44:39 +01:00
Jannik 06429eaf87 added jfxokaycanceldialog class
* added jfxokaycanceldialog class
* code clean up
2017-11-11 22:27:19 +01:00
Jannik 9e3b553851 added jfxinfodialog class
* added jfxinfodialog class
* code clean up
2017-11-10 17:11:19 +01:00
Jannik 61e02f6ac1 added support for updating to different branches
* added support for updating to different branches
* smmdb api fixed bad response from http url, using https now
* code clean-up
2017-11-10 15:58:20 +01:00
Jannik 6cc9790c5a added update support
* added a manuall update function
* added a auto update function
2017-11-06 10:42:31 +01:00
Jannik 3bcbf902d5 added adialog to explain missing values if adding a game manually 2017-11-06 10:00:10 +01:00
Jannik 3f85fdf07b fiyed typos 2017-11-04 17:04:21 +01:00
Jannik 1a4027e687 added edit dialog
* added a dialog for editing existing games
* a few UI clean ups
* you need to have valid values in every text field if you're adding a new game manually
2017-10-31 14:11:17 +01:00
Jannik 9c4934966c UI clean up
* added a dialog if cloud sync init fails
*  fixed sideMenuSlideOut() is call even if its already outside
* code clean up
2017-10-30 18:28:58 +01:00
Jannik 74440e3d7e add new Game is now one dialog
* add new game will now show only one dialog
* code clean up
2017-10-30 17:52:45 +01:00
Jannik e4a316f62c added System.exit(0) in main 2017-10-29 23:57:39 +01:00
Jannik eb127282ad more lib updates and cloud sync fixes
* added a fallback if something went wrong with cloud sync init
* removed old libs
2017-10-29 23:27:36 +01:00
Jannik 5b46a0b58c updated some libraries
* google api libraries 1.22 -> 1.23
* apache commons-io 2.3 -> 2.6
* apache commons-codec 1.10 -> 1.11
2017-10-29 22:04:40 +01:00
Jannik 6169a5e7cd added support for cemu 1.11 save path change
see https://github.com/Seil0/cemu_UI/issues/6
2017-10-28 16:43:04 +02:00
Jannik f53055db7e buildnumber 043 -> 045 2017-10-26 23:40:09 +02:00
Jannik 8d759a724b fixed PlayBtn Position on startup
* fixed playBtn has a wrong Position on startup
2017-10-26 21:13:56 +02:00
Jannik 607bcf8ace added a update section in the settings
* added "check now!" button (not working for now)
* added a toggle button for auto updates (not working for now)
* all labels used in the settings are now accessable from the mwc (preparation for supporting more languages)
2017-10-24 22:41:56 +02:00
Jannik 0f0f962d8c update to version 0.2.0 "Puzzle Plank Galaxy" 2017-10-24 21:07:49 +02:00
Jannik 0d46e818e1 code clean up
* removed old addGame() methode
2017-10-24 21:06:25 +02:00
Jannik 05f6f7e664 code clean up
* Code is under GNU GPL version 3 now
* reworked the addGame() Method
* text fixes
2017-10-15 13:37:45 +02:00
Jannik 8d49ce902e updated libraries
* jfoenix 1.8.0 -> 1.9.1
* code clean up
2017-10-15 12:29:18 +02:00
Jannik 6d5e9409a5 window resize workaround
* added a workaround for the resizing option (this could be a linux specific bug, windows was not tested)
* begun reworking of the addGames() Method, not activated yet
2017-10-14 15:42:13 +02:00
Jannik bda73cf627 code clean up 2017-10-13 21:15:51 +02:00
Seil0 f09258190a save windows size only if ther is 500ms no action
* if the window is resized, the new size is only saved if no resize
action is done for 5000ms
2017-09-16 17:08:50 +02:00
Seil0 109bcf6e03 performance improvements
* call refreshUIData() only if there is enough space for another column
2017-09-15 19:23:44 +02:00
Jannik 3853f70895 removed workaround for SmmdbApiQuery 2017-09-14 00:05:16 +02:00
Jannik 9b4bc3ada9 Merge remote-tracking branch 'origin/master' 2017-09-13 23:58:58 +02:00
Jannik 3bc571bacd window resize performance tuning
* only call refreshUI if space change is enough
* added FIXME for pane.setPrefWidth under windows, other parts that are affected see issue main.1
2017-09-13 23:57:29 +02:00
Seil0 729a4ee10e fixed generating position
* ROM covers are placed now correctly on resize action
2017-09-13 00:14:54 +02:00
Jannik 3f98dfa059 save window size 2017-09-12 20:13:26 +02:00
Jannik 78791bb7e1 added a resize option
* if the window is resized and ther is enough space for a new column, the UI will be adapt to fit the new size
2017-09-12 19:45:39 +02:00
Jannik 959963f9bc more logger work and lib updates
* jfoenix 1.7.0 -> 1.8.0
* sqlite 3.19.1 -> 3.20.0
* replaced all remaining syso/syse with logger output
* fixed a bug in smmdb api integration by only requesting the first 70 courses (this is a temporary workaround)
* code clean up
* typo fixes
2017-09-12 15:04:21 +02:00
Jannik 85fc66e8d6 logging to file
* the logger output is now written into a file in the cemu_UI directory called app.log
2017-09-02 17:38:40 +02:00
Jannik 6c1663f386 reworked loadSettings
* loadSettings() should be 100% bulletproof
* replaced a few more syso with logger
2017-08-30 11:29:58 +02:00
Jannik 71cf0316ec replace syso with logger
* replacing all debug/info syso and all syse with log4j 2 logger
2017-08-27 20:44:08 +02:00
Jannik a24783f18c code clean up
* smmdb api query is not started anymore when closing the smmdb window
* general code clean up
2017-08-27 18:23:09 +02:00
Seil0 dbd52cbe9c smmdb api integration rework
* fixed wrong placment of the downloaded courses
2017-08-27 17:25:41 +02:00
Jannik 4c8a0a51e9 smmdb api integration rework part 2/2
* fixed all remaining parameters
* course is downloaded as .zip now
* junrar is replaced by zip4j
2017-08-26 00:13:09 +02:00
Jannik 7a2112a759 smmd rework part 1
due to changes on the smmdb api i have to rework the smmdb integration
2017-08-25 14:57:15 +02:00
Jannik 9930a4cb15 added a smmID
* added 44fc5929 to smmIDs
2017-08-24 22:04:06 +02:00
Jannik d36b869e80 updated build number 2017-08-11 20:04:36 +02:00
Jannik 43a7e22254 fixed loading error
* fixed an issue with loading sttings when no cloudService is set
2017-08-11 20:01:43 +02:00
Jannik 07d33df63a updated libraries
* jfoenix 1.4.0 -> 1.7.0
* sqlite-jdbc 3.18.0 -> 3.19.3
* flow 8.0.1
2017-08-01 20:20:37 +02:00
Jannik e394b1a573 Material styled dialogs
* added material styled dialogs
2017-08-01 20:11:17 +02:00
Seil0 c83f3233d1 smmdbapi part 7
* smmdb api is now fully working
2017-07-16 00:13:43 +02:00
Seil0 ca70940fcf smmdbapi part 6
* added unrar function based on junrar
2017-07-13 22:26:32 +02:00
Jannik a6e4899854 added SuppressWarnings("unlikely-arg-type") 2017-06-29 14:52:58 +02:00
Jannik 02fc213887 smmdbapi part 5.1
* implemented downloading courses from smmdbapi, for now they are temporarly saved in cemu root directory
2017-06-18 14:45:13 +02:00
Jannik 20835d4611 smmdbapi part 5
* displaying course information
* treetableview is now material too
2017-06-18 13:01:04 +02:00
Jannik 1b828d6e4b smmdbapi part 4
* added additional information and finished ui design
2017-06-18 00:33:07 +02:00
Jannik fe88271c90 clean up
cleaned up DataTypes
2017-06-16 23:35:56 +02:00
Jannik 4ce6c06d2f smmdbapi part 3.1
code clean up
2017-06-16 16:37:56 +02:00
Jannik 224e4e6eec smmdbapi part 3
begun work on ui frontend
*courses are displayed and selectable
2017-06-16 16:23:03 +02:00
Jannik 5c3cb8398f smmdbapi part 2
api query fully working
2017-06-05 17:16:39 +02:00
Jannik bb72ed04ee smmdbapi part 1
working so far, until the api returns null as result
2017-06-04 20:15:04 +02:00
Jannik 1b5bcceeeb update to 021 2017-06-01 17:44:05 +02:00
Jannik 1ed7400a02 fixed typo error and error during first installation
*cloud service is set to "" to prevent NullPointerException
2017-06-01 16:21:24 +02:00
Seil0 95cbf91a7f added sav and bin files to cloud sync
should also be downloaded now
2017-05-30 21:36:56 +02:00
Seil0 e91892f552 added sav and bin files to cloud sync 2017-05-30 21:23:41 +02:00
Seil0 7611030f81 updated jfoenix sqlite-jdbc
*jfoenix 1.3.0 -> 1.4.0
*sqlite-jdbc 3.16.1 -> 3.18
2017-05-25 19:27:42 +02:00
Seil0 9ab7b61cd9 code clean up and minor fixes
*better save twice than non
*fixed a bug that prevented cemu_UI from finding the savegames folder in
google drive
2017-05-25 19:07:16 +02:00
Seil0 69d034aed3 fixed a bug that corrupted downloaded files
always close yur streams
2017-05-24 19:26:36 +02:00
Seil0 f2d054029f fixed a bug that corrupted downloaded files
always close your streams
2017-05-24 19:24:22 +02:00
Seil0 ef2d913ace google drive integration v2/cloud integration clean up
* Clean up the cloud part
* Added an alert to verify activation of cloud sync
2017-05-07 19:57:55 +02:00
Seil0 e796b582fa a little clean up 2017-05-04 22:32:25 +02:00
Seil0 c7fe070de6 google drive integration v2
this will hopefully fix up and downloading all day long
2017-05-04 22:07:50 +02:00
Seil0 bd81cca0a7 cloud/google drive integration part 3
sync and upload are now running in its own thread, this will speedup
start
2017-05-01 16:46:00 +02:00