dosemu2:sdlttf

Last commit made on 2019-06-29
Get this branch:
git clone -b sdlttf https://git.launchpad.net/dosemu2

Branch merges

Branch information

Name:
sdlttf
Repository:
lp:dosemu2

Recent commits

859d62a... by Andrew Bird

SDL: rework window resizing

Only change the font when the window is resized, this:
   1/ Maintains aspect ratio (as before) but instead of resizing the
window to fit the new cell size addis offsets to centre the drawn text
within the user defined window size.
   2/ Sometimes the calculated font size is too large for the user
defined window size resulting in clipped edges of the text. This is
because scaling the pointsize is not truly linear, at least with the
default font. Possibly a better calcuation could be obtained by
iterating through a range of pointsizes until suitable match is found.
That seems to be an expensize operation on SDL_TTF as the font has to be
opened at each pointsize to glean the respective height/width.

9741e18... by Andrew Bird

builtins: Make xmode use constants from video.h

c78b41e... by Andrew Bird

sdl: Add TTF font support

1/ Add SDL2_ttf to the build
2/ Use fontconfig to find the font on the path
3/ Calculate initial font size from X_winsize if available
4/ Make TTF support optional

32105df... by Andrew Bird

sdl: Add TTF fonts from OldSkool

446c5b7... by stsp

fdpp: add ping() api [fixes #867]

fdpp will ping us even if freedos hangs, so we can work nevertheless.

c7d6f9a... by stsp

fdpp: switch to dosemu on ptr accesses

This leaves dosemu2 process alive even if freedos is traversing
some corrupted linked lists. It does pointer accesses which we
can use for context switching.

Also prototyped but disabled the watchdog code that reboots
fdpp on timeout. Reliably detecting the timeout is difficult so far.

437bd40... by stsp

coopth: more sanity checks

Disallow left and cancelled threads to switch.
Left thread calling a coopth API should be an error.
As for cancelled thread - normally it can't call any API at all,
but unfortunately it actually does if you set up the cancelation
target to something silly that doesn't cancel anything.
These cancelation target games produce a very undebuggable problems. :(

3cd02fc... by stsp

int: pass local copy of regs to plugin [#867]

dae847a... by stsp

fdpp: no longer need to preserve regs on rm calls

https://github.com/stsp/fdpp/issues/79

f538e42... by stsp

fdpp: sync regs on noret calls

This was forgotten. :(
https://github.com/stsp/fdpp/issues/79