Show KML log on request.

This commit is contained in:
dgis 2021-09-09 17:16:39 +02:00
parent e22e7f36a5
commit 1f603be9ca
5 changed files with 11 additions and 3 deletions

View file

@ -68,6 +68,7 @@ Version 2.3 (2021-09-xx)
BUG: When openIO on real device, 1st OPENIO failed, 2nd OPENIO succeeded
TEST: With real HP48SX
TODO: Check the self test about UART
- Show KML log on request.
- Allows pressing a calculator button with the right button of the mouse and prevents its release to allow the On+A+F key combination (with Android version >= 5.0).
- Update the embedded help file "Emu48.html" to the latest version.
- Open an external web browser when you click an external links in the Help.
@ -241,13 +242,11 @@ Portions of this source code (about the usb-serial) were originally created by G
TODO
- Add a Cancel button to the HP48 memory card creator dialog.
- Show KML log on request.
- Manage the HP 48 port 2 with the same kind of interface for the memory card.
- The render pixels are very nice. A solution to obtain uniform pixel size could be a preset (a multiplier, auto) so the user could decide and upscale/downscale (Michael P).
- Somehow LEFT (Shift on the keyboard) + 7 activates the DIVIDE-key (z-Key)..., but with the NUM-Key it can make it work without problems...
I think it might have something to do with the "/" sign on the Shifted-7-key.
- The clock seems not synchronized sometimes (Michael P).
- Retain a key by right clicking if it is from a mouse.
- Sometimes, the calculator seems to lag and finally freeze.
- In Chrome OS, sometimes there is no OK button in the KML Script Compilation Result.
- Add KML script loading dependencies fallback to the inner ROM (and may be KML include?).

View file

@ -58,6 +58,7 @@ CHANGES
Version 2.3 (2021-09-xx)
- Add the serial port support (via USB OTG).
- Show KML log on request.
- Allows pressing a calculator button with the right button of the mouse and prevents its release to allow the On+A+F key combination (with Android version >= 5.0).
- Update the embedded help file "Emu48.html" to the latest version.
- Open an external web browser when you click an external links in the Help.

View file

@ -378,6 +378,8 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
OnBackupDelete();
} else if (id == R.id.nav_change_kml_script) {
OnViewScript();
} else if (id == R.id.nav_show_kml_script_compilation_result) {
showKMLLogForce();
} else if (id == R.id.nav_show_printer) {
OnViewPrinter();
} else if (id == R.id.nav_create_ram_card) {
@ -446,7 +448,8 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
menu.findItem(R.id.nav_backup_save).setEnabled(uRun);
menu.findItem(R.id.nav_backup_restore).setEnabled(uRun && isBackup);
menu.findItem(R.id.nav_backup_delete).setEnabled(uRun && isBackup);
menu.findItem(R.id.nav_change_kml_script).setEnabled(uRun);
menu.findItem(R.id.nav_change_kml_script).setEnabled(uRun);
menu.findItem(R.id.nav_show_kml_script_compilation_result).setEnabled(uRun);
menu.findItem(R.id.nav_manage_flash_rom).setEnabled(uRun && (cCurrentRomType == 'X' || cCurrentRomType == 'Q'));
menu.findItem(R.id.nav_macro_record).setEnabled(uRun && nMacroState == 0 /* MACRO_OFF */);
menu.findItem(R.id.nav_macro_play).setEnabled(uRun && nMacroState == 0 /* MACRO_OFF */);

View file

@ -92,6 +92,10 @@
android:id="@+id/nav_change_kml_script"
android:icon="@drawable/ic_wallpaper_black_24dp"
android:title="@string/nav_change_kml_script" />
<item
android:id="@+id/nav_show_kml_script_compilation_result"
android:icon="@drawable/ic_wallpaper_black_24dp"
android:title="@string/nav_show_kml_script_compilation_result" />
<item
android:id="@+id/nav_show_printer"
android:icon="@drawable/ic_print_black_24dp"

View file

@ -45,6 +45,7 @@
<string name="nav_delete_backup">Delete Backup</string>
<string name="nav_view">View</string>
<string name="nav_change_kml_script">Change KML Script...</string>
<string name="nav_show_kml_script_compilation_result">Show KML Script Compilation Result</string>
<string name="nav_show_printer">Show the Printer Simulator...</string>
<string name="nav_tool">Tool</string>
<string name="nav_create_ram_card">Create RAM Card (HP48)...</string>