-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: auto update * Using sce mutex insted of std mutex * Make network thread safe * Fix re-entrant mutex usage in activity * Reworked font - Added methods to draw fonts and clip to rectangle. - vita2d draws fonts relative to their baseline => added methods to compensate * Improved mutex logging * Update check + dialog * Version creation tool fixed to use little endian * Fix broken log function name format Didn't handle functions correctly that returned std::* * Fixed nan progress when downloading things * Adding updater app * Rename src/updater.* -> src/update.* * DialogView: refactor macros to cpp + focus on up/down * Lock PS and power buttons in updater app * Update thread opens dialog on error (instead of crashing) * Rename update thread Updater->Update * Fix "have to close vhbb" popup when staring updater app * Show plain background while updating * Minor improvments in CMakeList * adding compiled release files * Fix version comparison only woriking on big endian * Remove debug logging * Start working threads (icon fetch etc) after update check is done * Refactor std::string in macros to c-style strings * Use shared_ptr for DialogViewResult + code style * Only link debugnet in updater if enabled * Add missing newlines * Using YAML to store latest version + download url * Make updater log to file * Copy updater from resources instead of embedding it * Improve misc code style * Add fixme about merging the duplicate debug log sources together * updater: fix style issues * Remove unused Font::Draw() * Rename Font::DrawFromBaseline to Font::Draw * Update version YAML URL
- Loading branch information
1 parent
e88ee5a
commit 356b65c
Showing
50 changed files
with
2,067 additions
and
464 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/updater/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version: "00.83" | ||
url: "https://github.com/devnoname120/vhbb/releases/download/0.83/VitaHBBrowser.vpk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# pragma once | ||
|
||
#include "../global_include.h" | ||
|
||
enum CommonDialogStatus { | ||
COMMON_DIALOG_STATUS_NONE = SCE_COMMON_DIALOG_STATUS_NONE, | ||
COMMON_DIALOG_STATUS_RUNNING = SCE_COMMON_DIALOG_STATUS_RUNNING, | ||
COMMON_DIALOG_STATUS_FINISHED = SCE_COMMON_DIALOG_STATUS_FINISHED, | ||
COMMON_DIALOG_STATUS_CANCELED | ||
}; | ||
|
||
inline void commonDialogSetConfig() { | ||
SceCommonDialogConfigParam sce_common_dialog_config_param; | ||
sceCommonDialogConfigParamInit(&sce_common_dialog_config_param); | ||
sce_common_dialog_config_param.language = SCE_SYSTEM_PARAM_LANG_ENGLISH_US; | ||
sce_common_dialog_config_param.enterButtonAssign = SCE_SYSTEM_PARAM_ENTER_BUTTON_CROSS; | ||
int res = sceCommonDialogSetConfigParam(&sce_common_dialog_config_param); | ||
if (res) | ||
log_printf(DBG_ERROR, "sceCommonDialogSetConfigParam failed: %0.8x", res); | ||
}; |
Oops, something went wrong.