Version 1.5

This commit is contained in:
dgis 2019-07-11 23:59:35 +02:00
parent a14aec3a90
commit f38b2149c4
5 changed files with 20 additions and 13 deletions

View file

@ -54,7 +54,7 @@ NOT WORKING YET
CHANGES CHANGES
Version 1.5 (2019-06-xx) Version 1.5 (2019-07-11)
- Add the Ir printer simulator based on the Christoph Giesselink's HP82240B Printer Simulator for Windows. - Add the Ir printer simulator based on the Christoph Giesselink's HP82240B Printer Simulator for Windows.
- Add the macro support. - Add the macro support.
@ -151,6 +151,9 @@ The Eric's Real scripts ("real*.kml" and "real*.bmp/png") are embedded in this a
TODO TODO
- Add the possibility to load and save the flash in another file.
- Add the possibility to deactivate the zoom.
- Sometimes, the calculator seems to lag and finally freeze.
- In Chrome OS: - In Chrome OS:
- The timezone seems to be GMT (localtime_r not right?)! - The timezone seems to be GMT (localtime_r not right?)!
- sometimes there is no OK button in the KML Script Compilation Result. - sometimes there is no OK button in the KML Script Compilation Result.

View file

@ -33,8 +33,8 @@ android {
applicationId "org.emulator.forty.eight" applicationId "org.emulator.forty.eight"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 28
versionCode 6 versionCode 7
versionName "1.4" versionName "1.5"
setProperty("archivesBaseName", "Emu48-v$versionName") setProperty("archivesBaseName", "Emu48-v$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild { externalNativeBuild {

View file

@ -49,15 +49,15 @@ NOT WORKING YET
- Disassembler - Disassembler
- Debugger - Debugger
- Macro
- Serial Ports (Wire or Ir) - Serial Ports (Wire or Ir)
CHANGES CHANGES
Version 1.5 (2019-06-xx) Version 1.5 (2019-07-11)
- Add the printer simulator (set delay to 0 to speed up!). - Add the Ir printer simulator based on the Christoph Giesselink's HP82240B Printer Simulator for Windows.
- Add the macro support.
- Refactor the code for easier code sharing between Emu48, Emu42 and Emu71. - Refactor the code for easier code sharing between Emu48, Emu42 and Emu71.
- Fix: Bad text characters when copy/paste the stack. - Fix: Bad text characters when copy/paste the stack.
- Fix: Selecting an empty KML folder prevent to select the default embedded KML folder (Github Fix: #5)! - Fix: Selecting an empty KML folder prevent to select the default embedded KML folder (Github Fix: #5)!
@ -66,6 +66,9 @@ Version 1.5 (2019-06-xx)
- Prevent the ESC key from leaving the application (Github Fix: #6). - Prevent the ESC key from leaving the application (Github Fix: #6).
- Map the keyboard DELETE key like it should (Github Fix: #6). - Map the keyboard DELETE key like it should (Github Fix: #6).
- Map the +, -, * and / keys catching the typed character instead of the virtual key (Github Fix: #6). - Map the +, -, * and / keys catching the typed character instead of the virtual key (Github Fix: #6).
- Fix the printer icon in the Eric's script "real49gp-lc.kml" and "real50g-lc.kml".
- Improve the swipe gesture.
- Fix the On+D tests for hp49/50 by mocking "serial.c".
Version 1.4 (2019-06-08) Version 1.4 (2019-06-08)
@ -143,4 +146,4 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Note: some included files are not covered by the GPL; these include ROM image files (copyrighted by HP), KML files and faceplate images (copyrighted by their authors). Note: some included files are not covered by the GPL; these include ROM image files (copyrighted by HP), KML files and faceplate images (copyrighted by their authors).
The Eric's Real scripts ("real*.kml" and "real*.bmp/png") are embedded in this application with the kind permission of Eric Rechlin. The Eric's Real scripts ("real*.kml" and "real*.bmp/png") are embedded in this application with the kind permission of Eric Rechlin.

View file

@ -306,7 +306,7 @@ public class PrinterSimulator {
private void addTextData(int byData) { private void addTextData(int byData) {
do { do {
// special LF and LF characters // special LF and LF characters
if (!preventLineWrap && byData == 0x04 || byData == 0x0A) { if (/*!preventLineWrap &&*/ byData == 0x04 || byData == 0x0A) {
textUpdate.append('\r'); textUpdate.append('\r');
textUpdate.append('\n'); textUpdate.append('\n');
if(debug) Log.d(TAG, "addTextData(" + byData + ")"); if(debug) Log.d(TAG, "addTextData(" + byData + ")");

View file

@ -106,11 +106,12 @@
android:entryValues="@array/settings_printer_model_value" android:entryValues="@array/settings_printer_model_value"
android:defaultValue="1" android:defaultValue="1"
/> />
<SwitchPreference <!--<SwitchPreference-->
android:key="settings_printer_prevent_line_wrap" <!--android:defaultValue="false"-->
android:title="@string/settings_printer_prevent_line_wrap" <!--android:key="settings_printer_prevent_line_wrap"-->
android:summary="@string/settings_printer_prevent_line_wrap_summary" <!--android:summary="@string/settings_printer_prevent_line_wrap_summary"-->
android:defaultValue="false" /> <!--android:title="@string/settings_printer_prevent_line_wrap"-->
<!--/>-->
</PreferenceCategory> </PreferenceCategory>