magic/graphics
Darryl L. Miles 67d6a2ff5a build: address code-review findings (low-risk cleanups)
From an independent review of the branch:

* Makefile.in: `tcltk` is in both INSTALL_CAD_DIRS and PROGRAMS (Tcl build),
  so install@tcltk / install-tcl@tcltk were defined twice -> "given more than
  once" warnings on every command.  Wrap both install lists in $(sort ...) to
  dedup (as CLEAN_TARGETS already does).  Also fix a stale comment (module@ now
  waits for ${DATABASE_H}, not a `depend` phase).

* toolchains/emscripten/defs.mak: the scmos display-file embed globbed
  `mos.*.dstyle`, which misses mos.7bit.mraster_dstyle (an underscore, not a
  dot) -- so the mono-raster style was not embedded in WASM, and the comment
  wrongly called that file non-existent.  Glob `mos.*dstyle` to cover both.

* npm/build.sh: sed_strip_cr wrote the file back unconditionally, bumping the
  mtimes of configure and every scripts/ file on each WASM build (contradicting
  the "source never mutated" guarantee and able to force a coexisting native
  rebuild).  Only write back when a CR was actually stripped.

* graphics/Makefile.in: remove the dead DEPSRCS block left behind by retiring
  the Depend machinery (it also referenced an undefined ${THREE_D_SRCS}).

* scripts/defs.mak.in: clarify that only the SOURCE_DATE_EPOCH branch is UTC.

Verified: 0 duplicate-target warnings, wildcard now lists mos.7bit.mraster_dstyle,
full Tcl build+install rc=0 (375 files), graphics lib builds, build.sh syntax OK.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-26 14:54:11 -04:00
..
cairo_new Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
cairo_orig graphics/cairo_orig/grTCairo5.c uninitialized local variable 2024-10-01 12:36:13 -04:00
DEFAULT.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
FreeMono.pt3 Remove all the $XXX: YYY$ 2020-05-23 17:00:38 -04:00
FreeSans.pt3 Remove all the $XXX: YYY$ 2020-05-23 17:00:38 -04:00
FreeSerif.pt3 Remove all the $XXX: YYY$ 2020-05-23 17:00:38 -04:00
Makefile.in build: address code-review findings (low-risk cleanups) 2026-07-26 14:54:11 -04:00
README.X10a Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
READ_ME Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
W3Dmain.c Reworked the way that magic displays measurement values (both linear 2026-01-24 16:19:12 -05:00
X11Helper.c Use HAVE_SYS_TIME_H and TIME_WITH_SYS_TIME from autoconf where possible 2025-07-27 12:43:04 -04:00
bw.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
color.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
glyphs.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
grCMap.c CodeQL File{MayNot,Never}BeClosed.ql file-handle resource leaks 2025-02-22 21:02:49 -05:00
grClip.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
grDStyle.c freeMagic1() idiom insertion at all sites reported by static code analysis 2025-12-19 09:31:58 -05:00
grGlyphs.c CodeQL InconsistentNullnessTest.ql ourgl != NULL 2025-02-22 21:31:22 -05:00
grLock.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grMain.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grNull.c graphics/grNull.c: typed no-op stubs for WASM call_indirect 2026-05-11 14:20:47 -04:00
grOGL1.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grOGL2.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grOGL3.c grX11su3.c: warning for ClientData compare 2025-10-04 20:50:31 -04:00
grOGL4.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grOGL5.c graphics: multiple definition of `various_x11_symbols' 2024-10-09 20:35:19 -04:00
grOGLInt.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grTCairo1.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTCairo2.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grTCairo3.c fix GrTextSizePtr API interface return type consistency 2025-07-27 12:45:51 -04:00
grTCairo4.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTCairo5.c 38 x warning: suggest parentheses around assignment used as truth value 2024-10-09 21:12:55 -04:00
grTCairoInt.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grTOGL1.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTOGL2.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grTOGL3.c fix GrTextSizePtr API interface return type consistency 2025-07-27 12:45:51 -04:00
grTOGL4.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTOGL5.c 38 x warning: suggest parentheses around assignment used as truth value 2024-10-09 21:12:55 -04:00
grTOGLInt.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grText.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grTk1.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTk2.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
grTk3.c fix GrTextSizePtr API interface return type consistency 2025-07-27 12:45:51 -04:00
grTk4.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grTk5.c 38 x warning: suggest parentheses around assignment used as truth value 2024-10-09 21:12:55 -04:00
grTkCommon.c gtTkCommon.c: SUPPORT_DIRECT_MALLOC around function pointer use of legacy malloc 2025-12-19 09:31:58 -05:00
grTkCommon.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grTkInt.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grX11Int.h header file #ifndef guard presence consistency 2025-07-29 10:50:32 -04:00
grX11su1.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grX11su2.c C99 code compat when configured with no TCL support 2022-10-29 06:07:46 +02:00
grX11su3.c graphics: cleanup various warnings 2025-10-04 20:50:31 -04:00
grX11su4.c utils/magsgtty.h removal and fixup 2026-03-26 09:21:18 -04:00
grX11su5.c graphics: cleanup various warnings 2025-10-04 20:50:31 -04:00
grX11thread.c C99 code compat when configured with no TCL support 2022-10-29 06:07:46 +02:00
graphics.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
graphicsInt.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
prcolors.c Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
wind3d.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00

README.X10a

This driver is a modification of the Stanford X10 driver.  The modifications
were done by Walter Scott and Eric Lunow at Lawrence Livermore National Labs.