Skip to content

Chore: Delete code for unsupported platforms #204

@n1ywb-1

Description

@n1ywb-1

There's still quite a bit of code in here related to platforms we no longer support. Trimming the cruft would simplify maintenance and improve portability to future platforms. AFAIK we deprecated support for these platforms in ucblogo v6, and if anybody wants to resurrect support for them the code still exists in v5.

Therefor I propose the following

  • Remove Mac OSX Carbon support (OSX Classic MacOS Environment, unsupported since 10.15 circa 2019) Remove obsolete Classic MacOS and Carbon code #205
  • Remove code marked mac (Classic MacOS)
  • Remove code marked ibm and TURBOC (MSDOS)
  • Remove code marked __RZTC__ and __ZTC__ (THINK-C/MSDOS)
  • Remove <sgtty.h> imports (Ancient Unix)
  • Remove xlib graphics (Ancient Unix)
  • Remove old win32 terminal
  • Remove MSVC support _MSC_VER (replaced by GCC)
  • Update autoconf
  • Build and test on Linux
  • Build and test on Win32
  • Build and test on Mac OSX

DO NOT REMOVE WIN32 STUFF; we still depend on it.

Do we care about any other unixes? BSDs? Commercial distros?

How far back to we want to officially support these systems? 10 years? Just a guideline of course. We want to maximize our potential user base without wasting effort on obsolete systems better supported by ucblogo v5.

And of course I would like to add WASM but we'll be targeting Emscripten's POSIX API so it smells like another unix port.

Files to remove

	deleted:    mac-fontmod/include/wx/mac/carbon/fontdlg.h
	deleted:    mac-fontmod/include/wx/mac/carbon/private.h
	deleted:    mac-fontmod/include/wx/mac/fontdlg.h
	deleted:    mac-fontmod/src/mac/carbon/bfontdlg.cpp
	deleted:    mac-fontmod/src/mac/carbon/bfontdlgosx.mm
	deleted:    mac-fontmod/src/mac/carbon/fontdlg.cpp
	deleted:    mac-fontmod/src/mac/carbon/fontdlgosx.mm
	deleted:    macterm.c
	deleted:    macterm.h
	deleted:    win32trm.c
	deleted:    win32trm.h
	deleted:    xgraphics.c
	deleted:    xgraphics.h
	deleted:    ztcterm.c
	deleted:    ztcterm.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions