Commit Graph

166 Commits

Author SHA1 Message Date
hippydave
d6c780256f Add starred favourites at start of list (#91)
* Add starred favourites at start of list
2019-07-09 13:33:21 -04:00
Dave Murphy
dcad6f2afa fix assets.zip dependency. Closes #88 2019-07-01 16:14:41 +02:00
yellows8
753a97ef7b
Don't lock the mutex before calling netstatusGetDetails, lock it afterwards and use tmp fields. 2019-06-25 16:21:30 -04:00
yellows8
f0ef77b2f2
Added support for loading {filename}.nacp similar to {filename}.jpg, when processing files for fileassoc. 2019-06-24 17:05:24 -04:00
yellows8
9e257d7606
Use netstatusGetDetails from a dedicated thread, since nifmGetInternetConnectionStatus can block for a few seconds. 2019-06-24 15:41:35 -04:00
yellows8
7c029c18b0
Moved status gfx around (charging icon moved to the right of the battery icon). Previously there was gfx overlap when the battery charge was 100%. 2019-06-24 11:43:15 -04:00
yellows8
3ea2af46a5
Added netstatus files which were missing from e917589. Closes #86. 2019-06-22 17:47:31 -04:00
yellows8
e91758984c
Display a netstatus icon. Updated/added icons from #79. Closes #79. 2019-06-20 17:34:22 -04:00
yellows8
527ecb6ce3
Fixed regression caused by 8531833 where the gfx for the current active menu entry wasn't rendered in some cases. 2019-06-17 19:27:59 -04:00
yellows8
85318335fb
Fixed slowdown due to drawing too many menu entries. Closes #84. 2019-06-17 18:56:38 -04:00
fincs
6ec7388834 Update makefile 2019-03-26 23:12:39 +01:00
yellows8
1e3f057b23 Updated nx_power.c for latest libnx & changed nx_power psm prefix to 'power'. 2019-01-02 03:51:49 -05:00
fincs
29caa76884 Adapt to new libnx NWindow/Framebuffer API 2018-12-19 19:39:29 +01:00
lookye
d4af9cd2b9 Update language.c - german language strings
Added some german language strings, corrected some small grammatical mistakes.
2018-12-03 11:47:43 -05:00
yellows8
4739c8e730 Release v3.0.1 2018-11-28 17:55:18 -05:00
Dachuu
2a3564f53a Added french strings 2018-11-04 13:25:51 -05:00
yellows8
8e8e62ac33 In menuScan(), don't add an extra '/' to the path when the cwd path already has it at the end, which happens with rootdir. This fixes rootdir support on 1.0.0. Added check for '/' in menuEntryLoad() for the dirlisting code which checks menuGetRootPath(). 2018-11-01 21:41:23 -04:00
yellows8
d2bb1da2fa Disable touch horizontal swipe handling when it would conflict with the app-listing, fixes issue #73. 2018-10-30 12:22:51 -04:00
yellows8
0580a6bcdc
Updated wiki URLs in README. 2018-10-29 22:26:13 -04:00
yellows8
357913b0bd Release v3.0.0 2018-10-29 20:58:38 -04:00
yellows8
bb53a8ac81 Load assets from a .zip in romfs (romfs/ dir for pc-build) using minizip, instead of embedding it in data/. Sync Makefile.nx with latest switch-examples Makefile, with romfs. Automatically build the assets .zip in Makefile. Moved data/ to assets/ and moved data/unused/ to assets_unused/. Use #error in nx_audio.c since it's not supported currently. 2018-10-29 00:30:09 -04:00
Daniel Bernard
bc6d98a534 Expand pow(#, 2) to optimize math in nx_touch 2018-10-28 19:45:07 -04:00
yellows8
1483f4d012 Fixed building for pc-build. 2018-10-28 14:48:44 -04:00
yellows8
d616ed02a7 Fixed buffer overflow vuln with netloader args introduced with the original netloader commit. Fixed unrelated bounds check in launchAddArg() which assumed there was nothing after argData_s.buf within argData_s, which was no longer the case once nxlink_host was added to argData_s. 2018-10-27 16:11:02 -04:00
yellows8
1435a2fb3b Use non-blocking for netloader_datafd. Added sendall which is used instead of calling send directly, the output len from sendall is now checked. Check recvall len output when transferring args. The blocking handling in recvall/sendall now uses netloaderGetExit(). netloader_error() now uses locking, and only writes to netloader_errortext when it's not set. netloader_error() also aborts when netloader exit was requested. 2018-10-27 14:42:07 -04:00
yellows8
982120a9fd Added touch input support for entering theme-menu via swipe-left. 2018-10-26 20:14:23 -04:00
yellows8
2695d48ba7 Use psm StateChangeEvent to cache isCharging. 2018-10-26 13:12:12 -04:00
yellows8
35f48a59d0 Use applet exit-locking. 2018-10-25 13:28:19 -04:00
yellows8
8888bff85f Fixed touch handling with netloader msgbox. Swipe up can now be used to exit netloader. Added menuIsNetloaderActive(). 2018-10-24 19:47:45 -04:00
yellows8
784dbc3623 Append output from 'git describe' to APP_VERSION when RELEASE isn't specified. 2018-10-24 19:25:31 -04:00
yellows8
d97eebc26f Display a progress bar for netloader in the msgbox. Adjusted the language.c netloader strings so that the total newlines for each StrId matches. Fixed GetTextXCoordinate with 'c'. Moved the menuMsgBoxSetNetloaderState call into menuUpdateNetloader and only pass netloaderState into menuUpdateNetloader, etc. Use theme colors in msgbox. Various msgbox adjustments. Added progressBarColor to theme. 2018-10-24 18:38:50 -04:00
yellows8
e648cc9485
Added build requirements to the README. 2018-10-23 23:08:05 -04:00
yellows8
86632292b0 Display netloader status with a modified msgbox.
* Enabled StrIds in language.c for this with some adjustments.
* Moved sockets init/exit into netloaderInit/netloaderExit, netloaderInit now returns Result.
* Changed the params for netloaderGetState to an output struct.
* In netloaderTask(), check netloader_exitflag at the end before clearing it.
* Moved code calling loadnro from netloader_loop into netloaderTask.
* Call thrd_sleep with the while-loop calling netloader_loop in netloaderTask.
* Various other changes.
2018-10-23 20:13:10 -04:00
yellows8
ba4c80d76d Fixed exiting with + button when netloader is active. 2018-10-22 22:13:33 -04:00
yellows8
6d6fb4e3a3 Allow aborting the netloader transfer when the user presses B. When decompress() aborts/fails, delete the file. When returning to HBMENU_DEFAULT from netloader, reload the menu since the netloader NRO may have been deleted due to transfer abort/failure. Minor adjustments. 2018-10-20 12:54:03 -04:00
yellows8
45a10488b1 Moved netloader to the worker thread. Minor improvements. 2018-10-20 11:13:29 -04:00
yellows8
59e2d7a306 Display an error screen with print-console instead of using fatalSimple. Display a msgbox in launchFile() when an error occurs instead of using fatalSimple. Better error handling etc in worker/launch. 2018-10-18 19:06:59 -04:00
yellows8
11dccb4fd0 Added worker, based on 3ds new-hbmenu. 2018-10-17 22:18:09 -04:00
yellows8
55efa03f15 Removed gfxWaitForVsync call which is no longer needed with latest libnx. 2018-10-17 13:57:47 -04:00
yellows8
437895a3c8 Display '{button} {text}' for theme-menu. 2018-10-17 12:10:45 -04:00
yellows8
80e2e0aae7 Display '{button} {text}' for netloader. Added theme handling for this. StrId_NetLoader is used for this, with '3dslink' removed from the text. 2018-10-17 10:17:47 -04:00
Dachuu
b28ddcaddc Added french strings (#69)
* Added french strings
2018-10-16 15:01:08 -04:00
yellows8
0abcb1172a Implemented support for file-associations, closes #25. Various improvements. Cleanup icon/icon_size state in menuEntryParseIcon() on failure. Added fsobjExists() which is now called at the start of menuEntryLoad(). Added menuEntryLoadExternalIcon() and menuEntryImportIconGfx(). 2018-10-10 18:55:37 -04:00
yellows8
40e971ba99 Fixed broken pc-build caused by the power commit. 2018-10-09 18:48:45 -04:00
Daniel Bernard
8b86b36393 Add support to display current charge, and indicate whether or not device is charging (#67)
* Add support to display current charge, and indicate whether or not device is charging.
Updated Makefile.pc to incorporate new icon binaries

* Refactored power-related code, added drawIcon

Added common power interface

* Add battery icon and shift charge text as required
2018-10-09 18:27:43 -04:00
Sunguk Lee
afa9bd49d0 Change Korean translation for StrId_Actions_Apply 2018-10-09 11:41:46 -04:00
yellows8
e1a1bac230 More pos adjustments for time-display and ThemeMenu text. 2018-10-06 21:59:15 -04:00
yellows8
a059b856b5 Swap y-pos for time-display and ThemeMenu text. 2018-10-06 11:12:33 -04:00
yellows8
020a9f61ba Enabled time display with some adjustments, localtime() is now used for this. 2018-10-05 21:13:52 -04:00
yellows8
e01ca3150e Moved path init code from menuStartup() into new func menuStartupPath(), which now creates the config dirs if needed. Added menuGetRootBasePath(), which is now used for config paths and pc-build fonts. Changed some funcs from () to (void). Fixed broken button handling in pc_main for theme-menu. This fixes pc-build support for config/theme-menu. 2018-10-01 12:53:42 -04:00