44 Commits
Author SHA1 Message Date
Eero Tamminen d5a6a26932 python-ui: update docs + web links 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
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 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 528a5a871a Update Hatari UI release notes 2022-05-30 02:05:29 +03:00
Eero Tamminen b307798036 Python UI: update release-notes & TODO 2021-01-11 01:54:05 +02:00
Eero Tamminen c48904d591 Remove Python UI support for obsolete (SDL1) --desktop-st option 2021-01-09 19:47:20 +02:00
Eero Tamminen f2fed66cbc Remove (explicit) Python v2 support
Several of the scripts are likely to continue working with both Python
v2.7 and v3.x still (as they haven't changed significantly in a long
time), but from now on, it's accidental, neither tested nor supported.
2021-01-01 22:56:32 +02:00
Eero Tamminen d3d7511051 Specify new Python UI requirements & changes more clearly 2020-12-20 18:48:19 +02:00
Eero Tamminen daeb9474d5 Use different Python UI layouts on Wayland and X11
Because only latter supports Hatari X11 window embedding
2020-12-18 23:47:48 +02:00
Eero Tamminen 8197360164 Fix Python UI asserts on missing Hatari config file
* wait until Hatari has finished writing its config
* check also case where Hatari didn't manage to save config
* show user error dialog on config saving issues
  (Hatari didn't work or config wasn't e.g. writable)

PS. These issues may have been there since 2016 (a6b53512dc)
2020-12-18 17:52:16 +02:00
Eero Tamminen 36a969d657 Python UI: allow Hatari window to be freely scaled
Without this results of resizing the Python UI window looked really
odd (menubar padded itself vertically and right toolbar added padding
to the right).
2020-12-16 19:45:39 +02:00
Eero Tamminen 385a6756d4 Fix issue with Python UI Hatari mass config changes
If config file had invalid paths for some of files, setting full
dialog's worth of options (including faulty ones from config file +
user changed ones) in a single [1] Hatari control API command line
would result in Hatari rejecting all the changes due to one invalid
option value.

Hatari option setting is currently one-way so Python UI doesn't know
about these errors and Hatari doesn't give any indication of them for
user either (except in console).

Therefore this commit will filter out invalid file name options from
the command line (given to Hatari through Python UI control socket).

Note that this is an issue only with (floppy, HD and TOS) image files
as Hatari socket / command line parsing validates those immediately.
It's not an issue with device files as Hatari will itself notify user
about invalid paths and it disabling corresponding device
functionality as result.

[1] Dialog options are given in one go to Hatari so that only one
reboot is needed for all the dialog option changes triggering one.
2020-12-15 00:32:53 +02:00
Eero Tamminen 4f42bc0639 Fixes / improvements to Python UI quit handling
- If user cancels, config changes aren't discarded, so change text
  to ignore
- Ask for config save/ignore/cancel before killing Hatari,
  as quitting can't be canceled after Hatari is dead
- Scale config viewport with dialog resizes, otherwise viewing
  larger number of changes is hard
- Improve Hatari kill dialog text

Resize handling requires GtkScrolledWindow functions that came in Gtk
v3.22, which is available in Ubuntu 16.04 and Debian 9 (current
oldstable) => update docs accordingly.
2020-12-15 00:25:56 +02:00
Eero Tamminen 18d4582b7f Python UI: avoid crash under Wayland
There's a crash if either [1] or both Python UI and Hatari are running
under Wayland, because GtkSocket supports embedding only on X11.

[1] when Weston is run under X11, Python UI (Gtk3) will default to
    running under Wayland, but Hatari (SDL2) defaults to running under
    X11.  I assume similar thing would happen if Xwayland is running
    Wayland, as would happen e.g. under Gnome desktop.
2020-11-22 18:30:28 +02:00
Eero Tamminen fac475e3f6 Python UI: update release-notes & TODOs 2020-11-21 21:28:47 +02:00
Eero Tamminen 66ef70d5b8 Update Python UI documentation / links 2019-02-24 22:32:43 +02:00
Eero Tamminen e7a44c03a1 Python-UI: version/release-notes update
Main changes are Python v3 support and especially
the pygtk2 -> gtk3 change.
2019-01-09 20:57:44 +02:00
Eero Tamminen 210843ad9b Update docs for Hatari UI 2018-10-13 20:10:01 +03:00
Eero Tamminen 015a1f3cc9 Hatari UI fix for systems where "python" is v3
GUI parts are python2 only due to PyGtk dependency,
so set that as hashbang as specified in:
	https://www.python.org/dev/peps/pep-0394/
2017-01-04 00:25:44 +02:00
Eero Tamminen a6b53512dc PythonUI: Support for Hatari v2.0 option changes
- no RTC option, instead there's new ModelType option
  that includes MegaST/E (which has RTC)
- WinUAE & oldUAE support different set of CPUs
- Keep ST resolution option is valid only with
  SDL1 builds
2016-12-23 01:26:18 +02:00
Eero Tamminen 6d6a9b107d update Hatari Python GUI documentation 2015-05-18 22:38:12 +03:00
Eero Tamminen fb9ec1a84f add support for many new Hatari options 2014-06-27 00:36:29 +03:00
Eero Tamminen b57e9aa915 python GUI support for --desktop-st and --force-max 2012-05-22 00:20:28 +03:00
Eero Tamminen ad0f98e098 hatari UI and hatari control socket support for file paths with spaces
(UI code quotes spaces in filenames with '\' and Hatari option
setting supports that now for control socket and debugger.)
2012-01-27 23:39:37 +02:00
Eero Tamminen 9aa6fda609 update UI version to v1.1 + docs on recent changes 2012-01-08 22:26:33 +02:00
Eero Tamminen 8d3466301c fix python & gtk version numbers in docs 2012-01-06 12:42:21 +02:00
Nicolas Pomarède 4a7543b66c Replace --slowfdc by --fastfdc (speed up FDC delays by x10)
For maximum compatibility, the default mode for Hatari is now to run the FDC
at the same speed as a real ST. The option --fastfdc can be used to speed up
most FDC delays (this should works with most of the games/demos, but can lead
sometimes to incompatibilities when the programis expect some precise timings)
2011-10-06 23:29:42 +02:00
Eero Tamminen 02056f90cf add --desktop support to Python UI + update TODO 2011-04-21 01:17:47 +03:00
Eero Tamminen 195a368539 add RTC support to python UI 2011-04-21 00:54:41 +03:00
Eero Tamminen 876c44d843 update release notes 2011-02-19 21:17:35 +02:00
Eero Tamminen 8233a6dbe8 add capture crop support to python UI + finetune other options 2011-01-30 18:58:22 +02:00
Eero Tamminen 916cad756a switch to new Gtk v2.12 tooltips API
(as older one is deprecated)
2011-01-30 17:35:37 +02:00
Eero Tamminen 71f3b05bc1 add hconsole documentation and update hatariui docs accordingly 2010-10-11 00:15:12 +03:00
Eero Tamminen 144b6ca1aa minor hatari doc update 2010-05-30 18:27:18 +03:00
Eero Tamminen 1d157e067f Option for whether Hatari UI debugger will change to new PC address
(whenever emulation is stopped again)
2010-04-19 00:30:29 +03:00
Eero Tamminen fd7df018fd update python UI docs 2010-04-18 22:23:17 +03:00
Eero Tamminen b5c6c2f011 trivial doc updates 2010-04-13 23:57:23 +03:00
Eero Tamminen 7e6255f658 hatari-console can be scripted.
(moved also the code around so that now all functions are methods
in some suitable class)
2010-03-12 23:54:30 +02:00
Eero Tamminen 5db3257b65 update Hatari UI release notes and hatari-console options. 2010-03-12 00:05:32 +02:00
Eero Tamminen 1261cb1712 support new hatari options in hatari-console 2009-12-05 22:21:16 +02:00
Eero Tamminen f6d75b70d8 rename changelog to (user visible) release-notes.txt as suggest by Thomas 2009-09-20 19:50:58 +03:00