344 Commits
Author SHA1 Message Date
Thomas Huth 7e186000b0 Update the logo in the python-ui 2026-04-11 11:38:53 +02:00
Eero Tamminen 65886363b8 Replace GPLv2+ texts in Python UI code with SPDX license ID
Improves readability a bit.
2025-08-15 18:23:42 +03:00
Eero Tamminen 40c55f03d9 Fix typos in EmuTOS compat list
Reported in Atari-forum
2025-07-01 00:51:12 +03:00
Eero Tamminen 08ae94c0ad Update Python script shebang lines to latest recommendation
"env" usage is deprecated nowadays:
* https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shebang_lines
* https://www.debian.org/doc/packaging-manuals/python-policy/#interpreter-directive-shebang

(RPM based distro packages for Hatari 2.5 were already removing it.)
2025-06-05 00:22:12 +03:00
Eero Tamminen d5a6a26932 python-ui: update docs + web links 2025-05-29 01:11:38 +03:00
Eero Tamminen 1abf5e37cf python-ui: fix some PyLint complaints
Most of these are just code cleanup, but there was also
bug in UI corner-case error path.
2025-05-29 01:11:38 +03:00
Eero Tamminen 7f10d6c1af python-ui: drop duplicates from generated Hatari config type lookup 2025-05-29 01:11:38 +03:00
Eero Tamminen c13ced4795 Fix Python UI data cache setting mismatch 2025-05-20 01:56:42 +03:00
Thomas Huth 1a48e4dcc0 Update hyperlinks to the new home of Hatari 2025-02-09 10:13:40 +01:00
Eero Tamminen 39989b8aa8 Update Python tools to recent changes 2024-06-19 02:29:08 +03:00
Yves Le Berre 5cd7b10ea2 python-ui: add missing closing parenthesis to checkbox texts 2024-06-04 11:36:08 +03:00
Eero Tamminen 36ef27dec0 Support CPU cache option also in Python tools 2024-04-23 20:03:36 +03:00
Eero Tamminen e1364f720c Python UI: drop Hatari <2.4 (oldUAE) support
Also improve TT-RAM / 24-bit addressing support slightly and
update Python UI docs.
2024-03-17 00:37:13 +02:00
Eero Tamminen 9e35613795 Python UI: drop Hatari v2.2, and add v2.4 options compatibility
Additional complication is names for SCC-B config options changes.
2024-03-17 00:37:13 +02:00
Eero Tamminen e4f54e4173 Python UI: Add SCC-A support to GUI
- Add SCC-A enabling options
- Fix Hatari remote API "sccalan" command name
- Sort paths dialog entries by label instead of Hatari command name,
  and change path labels so that they start with the device type i.e.
  get ordered nicer in the dialog

Fixes: 5eff40495d
2024-01-29 00:47:31 +02:00
Eero Tamminen d3e9a3a03a Python UI: Fix uihelpers function comments 2024-01-29 00:42:59 +02:00
Nicolas Pomarede 5eff40495d hatariui.py : update parameters' name for SCC A / SCC A Lan / SCC B in [RS232] config 2024-01-27 14:06:17 +01:00
Thomas Huth 69ce093908 Fix SyntaxWarning from Python 3.12 about invalid escape sequence '\s' 2023-10-31 07:30:30 +01:00
Eero Tamminen ee8137d2d8 Add "cpu_video_cycles" also to Python UI trace dialog 2023-07-01 00:04:24 +03:00
Eero Tamminen 2915769daf Update also Hatari UI doc install & run-time paths
Otherwise "make install" fails.

Reported-By: Yves Le Berre
2023-01-11 21:34:29 +02:00
Eero Tamminen e1381f17b3 Move Hatari UI HTML documentation under doc/
So that it gets automatically exported to Hatari site.
2023-01-05 02:39:28 +02:00
Eero Tamminen 73ff275aaa Minor updates to hatariui script 2023-01-05 02:35:12 +02:00
Eero Tamminen f688d44ff6 Minor updates to python-ui TODO list 2023-01-05 02:35:12 +02:00
Eero Tamminen 6b22537a52 Support more Hatari options in Python UI machine dialog
Add support for setting CPU compatibility + cycle-accuracy,
+  FPU type + accuracy, MMU and ST blitter options.

For now this still takes into account whether underlying Hatari
version uses WinUAE core or not.  That will be removed for next
release.
2022-06-17 21:01:42 +03:00
Eero Tamminen a20d55ccf2 Update Hatari UI release notes 2022-05-31 00:58:54 +03:00
Eero Tamminen dcdbedde4d Hatari UI display dialog layout change: VBox -> Table
Table layout is more readable and consistent with other dialogs.
Dialog value getting and setting are also split to their own methods.
2022-05-31 00:58:12 +03:00
Eero Tamminen fc4a3d5a62 Hatari UI sound dialog layout change: VBox -> Table
Table layout is more readable and consistent with other dialogs.
Dialog value getting and setting are also split to their own methods.
2022-05-31 00:58:12 +03:00
Eero Tamminen 6e3c0d9386 Misc Hatari UI dialog code improvements
* Put successive checkboxes in a table into VBox
* Drop tables column counts to 2 (rest were unused)
* Improve label /tooltip texts and comments
* Drop plurals from class member names
2022-05-31 00:58:12 +03:00
Eero Tamminen 528a5a871a Update Hatari UI release notes 2022-05-30 02:05:29 +03:00
Eero Tamminen a0cb9ce563 Improve Hatari UI machine dialog
Using combo boxes instead of radio buttons makes the dialog clearer.
2022-05-30 02:05:29 +03:00
Eero Tamminen fda572120c Add Hatari UI dialog table combo box helper and use it 2022-05-30 02:05:29 +03:00
Eero Tamminen 045b9015fd Add missing "scc" trace option to Hatari UI 2022-05-30 02:05:29 +03:00
Eero Tamminen 87265acd9a Fix: Hatari UI dialog exceptions under Wayland
Max window size needs to be determined and cached even when Hatari
window is not embedded.

Gdk does not provide primary monitor info under Wayland and whole
method is deprecated, so just use first monitor info:
	https://gitlab.gnome.org/GNOME/gtk/-/issues/1028
2022-05-30 02:05:29 +03:00
Eero Tamminen 272ec5489c Fix: Handle UAE disassembly + symbols output in Hatari UI debug UI 2022-05-30 02:05:29 +03:00
Eero Tamminen 5f8c22e5b3 Fix tidy notes for Hatari UI documentation
And improve descriptions for screenshot sections
2022-05-28 19:19:54 +03:00
Thomas Huth 90706e1c9d Fix some typos (discovered with codespell) 2022-05-28 08:51:39 +02:00
Eero Tamminen ac00bf2a5e Install Python UI documentation to DOCDIR
Update Python UI code document links accordingly, and add
menu item for Hatari bugs list.
2022-05-24 03:11:41 +03:00
Eero Tamminen 07436c1bb2 Add Hatari Python UI documentation
eerott.mbnet.fi site is going away after next release (in fall),
so documentation needs to be updated before release.  By adding
relevant pieces to Hatari repo.
2022-05-24 03:11:41 +03:00
Eero Tamminen 8302d8e3cb Increase max TT-RAM amount to 1024 MiB
As requested in in atari-forum thread, pointing out HW
modification allowing this amount of TT-RAM:
https://www.atari-forum.com/viewtopic.php?t=41770
2022-04-22 00:44:20 +03:00
Eero Tamminen 61634f20c9 Improve MIDI tracing
- Move MIDI IRQ & register read/write trace output to separate
  "midi_raw" option, as that output being triggered just by moving
  mouse messes up debugging rest of MIDI funcionality
- Log PortMidi device open failures
2021-12-13 22:30:58 +02:00
Eero Tamminen 08fd8d6dda Python UI: remove deprecation warning + update TODO
Setting the socket bg isn't really necessary, so just remove it.
Otherwise fixing the deprecation warning would require changing
it to use Gtk Style context, Style provider, CSS etc.

After this the only remaining PyGTK (v3.22+) deprecation warnings
should be for Gtk Action/ActionGroup widgets i.e. menu handling.
Update TODO accordingly.
2021-01-12 01:27:51 +02:00
Eero Tamminen 8bf5895426 Python UI: misc debugger UI improvements
- Use more appropriate fsel var name instead of file
- Fix rest of PyGTK deprecation warnings by:
  - changing how GtkDialog is created
  - not using monospaced font in address entry
  - using GtkTextView instead of GtkLabel to get text widget
    with monospaced font
- Remove left/right arrow keyboard shorcuts for memory address
  changing as then that would be triggered also when editing
  the memory adddress
- Call set_dumpmode() method at start and dump() after options dialog
  so that debugger window is immediately in right size
2021-01-12 01:12:39 +02:00
Eero Tamminen b307798036 Python UI: update release-notes & TODO 2021-01-11 01:54:05 +02:00
Eero Tamminen 859e497f82 Python UI: update Hatari trace options list and sort it 2021-01-11 01:54:05 +02:00
Eero Tamminen 4000996ed4 Python UI: fix more "positional argument" PyGTKDeprecationWarnings
"Using positional arguments with the GObject constructor has been
deprecated. Please specify keyword ... or use a class specific
constructor."
2021-01-11 01:54:05 +02:00
Eero Tamminen 5019116bef Python UI: fix/improve file selector titles
Fix: specify for Gtk.FileChooserButton() that label is to be used as
file selector title.

Allow title to be specified also FselEntry, not just for file
selectors gotten from FselAndEjectFactory.

Use labels in front of options (in settings dialogs) also as their
file selector titles, and have all of them ending with ':' for
consistency.
2021-01-11 01:54:05 +02:00
Eero Tamminen c47320c4a6 Python UI: change rest of deprecated HScale widgets to Scale ones
Also add tooltips to debugger options settings, and set DisplayDialog
variables in both instances in same order.
2021-01-11 01:54:05 +02:00
Eero Tamminen 49dc6d870e Python UI: update TT-RAM setting
- Hatari allows now 512MB of TT-RAM
- Align amount to 4MB as Hatari does
- Change deprecated HScale widget to newer Scale widget
2021-01-11 01:54:05 +02:00
Eero Tamminen 3f1d35b5b7 Python UI: fix/improve sound buffer size setting
- Support the (Hatari default) zero (=auto) value
- Change deprecated HScale widget to newer Scale widget
- Add annotations to the widget range
2021-01-11 01:54:05 +02:00
Eero Tamminen bc3c46093b Python UI: fix debug UI config saving
ConfigStore does now stricter section & key checks against Hatari
config, which broke debug UI config saving.  Because debug UI is
likely to go away at some point (doing debugging from another process
has too many restrictions), do minimal fix (don't save follow-pc
option).
2021-01-11 01:54:05 +02:00