1
0
mirror of synced 2026-03-14 06:27:11 +00:00
Commit Graph

322 Commits

Author SHA1 Message Date
Frank Halasz
b684d9ec5c Merge branch 'rmk157--Tedit--boundaries,-mapobjects,pagemenu,-glitches' into fgh_irm-01 2026-02-11 15:20:20 -08:00
rmkaplan
d612b5333f Print prompt message when there is no text to get new looks 2026-02-10 21:23:10 -08:00
rmkaplan
7a492b1c8a Merge branch 'master' into rmk157--Tedit--boundaries,-mapobjects,pagemenu,-glitches 2026-02-09 10:00:35 -08:00
Larry Masinter
03b59d5a33 Rename 'NOBIND' table name to 'UNBOUND' to allow running interpreted (#2484)
evaluating a variable bound to NOBIND causes errors when run interpreted (doesn't when run compiled). It's not clear why this design decision was made, but in this case compiling MASTERSCOPE was hung up trying to run a subfuncion involved in macroexpansion after LOAD(MASTERSCOPE).
2026-02-09 09:37:19 -08:00
rmkaplan
1f7e6a00f9 Restore page number pretext and posttext in menu 2026-02-09 09:12:09 -08:00
rmkaplan
e99bac2bc0 Ctrl-p inserts page number object 2026-02-08 19:59:25 -08:00
rmkaplan
2ad19ba3b5 tedit-exports.all collect other declaration updates 2026-02-07 21:35:07 -08:00
rmkaplan
fe145ad55d TEDIT-STREAM add open method 2026-02-07 21:33:59 -08:00
rmkaplan
67d6079ad1 TEDIT-SELECTION includes explicit field for SELOPERATION 2026-02-07 21:32:52 -08:00
rmkaplan
6f2c51e19f TEDIT-SCREEN don't use TTY displaystream if formatting without a window 2026-02-07 21:32:02 -08:00
rmkaplan
15e3840f58 TEDIT-FILE remove useless message 2026-02-07 21:30:41 -08:00
rmkaplan
0470d4dc94 Addresses the page layout menu #2447 and #2457 2026-02-04 18:07:14 -08:00
rmkaplan
724a9ad250 TEDIT-ABBREV: puts quotes around the strings reported in the prompt window 2026-02-04 18:06:15 -08:00
rmkaplan
0b948bab53 TEDIT adds TEDIT.PARAGRAPH.BOUNDARIES, fixed TEDIT.MAP.OBJECTS, a few other bugs 2026-02-04 18:05:29 -08:00
Matt Heffron
05a4c48f38 Fixed dumping of the running page header that was from the HEADER option of TEXTTOIMAGESTREAM. (#2461)
* Fixed dumping of the running page header that was from the HEADER option of TEXTTOIMAGESTREAM.

* Restored (CONSTANT ...) around a TIMES call (that *really* ought to optimize at compilation).
2026-01-27 19:58:12 -08:00
Herb Jellinek
1e77a2e116 FX-80 files are obsolete (#2466)
Moved FX-80 files to obsolete/library.
2026-01-27 14:56:15 -08:00
rmkaplan
65df2ba6a4 Hardcopy to printer (#2290)
* Separate interface for imagefile creation from the send-to-printer interface
* SEND.FILE.TO.PRINTER recognizes :DEFAULTPRINTER
* Various changes to address #2414
* Move BITMAP properties from PRINTERTYPES to PRINTFILETYPES.
* Fix ShellOpen, add UNIX-TMP-FILE-NAME
* Include COERCEFONTSPEC changes in anticipation of HTML streams
* PDFSTREAM compatible with new imagefile architecture plus able to convert non-local Postscript streams
* SKETCH compatible with new imagefile/printing architecture
* TEDIT compatible with new printing architecture
* Tedit files are of type TEDIT, not TEXT, new interface function TEDIT.TO.IMAGEFILE
* ATTACHEDWINDOW:  DOATTACHEDWINDOWCOM allows menu to have a form to EVAL, like the background menu
* WINDOW: fix menus for new hardcopy architecture
* Remove FLUSHFONTSINCORE--FLUSHFONTCACHE is more general
* LOAD character names as suggested in PR #2398
* HARDCOPYW respects file extension
* VIEWER as default printinghost
* SLASHIT interprets '.
* MCCS to UTF8 conversion on printer name
* Deal with {LPT}.LOCAL and upper casing
* @ LPT printers work with exact upper/lower matching
* Using NSPRINT functions to recognize fax
* Let "UNIX" be the name of the default printer of type UNIX
2026-01-26 15:38:22 -08:00
rmkaplan
c793c967c6 Rmk150 tedit and sketch doc files (#2450)
* Add scanned pdfs to library/tedit/docs/

* Add scanned pdfs to library/sketch/docs/
2026-01-21 18:00:20 -08:00
Frank Halasz
5a79b56a4f Resolved merge conflicts by favoring main branch 2026-01-18 13:30:41 -08:00
rmkaplan
65c482bc06 Rmk150 update to tedit.abbrevs (#2439)
* Improved matching for TEDIT-ABBREVS

* Make CHARACTERNAMES available at runtime (SOFT-HYPHEN etc)

* TEDIT-ABBREV: Better parsing strategy

* Added backslash markup

* Document new abbreviation conventions

* Glitch

* Responded to @MattHeffron

* Include backslash in promptwindow message

* Updated edit date
2026-01-14 08:44:03 -08:00
rmkaplan
b9757062e9 Fix typo in MAIKOCOLOR (#2435) 2025-12-31 11:29:43 -08:00
rmkaplan
82c9cd3d94 The SASSOC macro was actually doing ASSOC 2025-12-21 20:45:10 -08:00
rmkaplan
e43fb61bee Rmk140 Sketch uses new font interfaces (#2358)
* Upgrade Sketch to new font interfaces

* Tedit changes so that TEDIT.GETSYNTAX conforms to documentation

* Remove RUBOUT interrupt

* TEDIT-FNKEYS:  uses keywords for action names

* LLKEY:  Change keybindings for DELETE and LOOKS

* SEDIT-COMMANDS:  Shift-DELELETE is wordelete.backwards

* Sketch implements arrow keys
2025-12-04 17:31:47 -08:00
rmkaplan
097f346c3b Rmk143 INITVARS command for MEDLEY-INIT-VARS, FLUSHFONTCACHE (#2383)
* loadup scripts:  set MEDLEY-INIT-VARS to NOBIND before loading MEDLEYDIR
so that INITVARS in MEDLEYDIR replaces any previous settings in the loadup-sysout

* FONT:  add cache for FONTSAVAILABLE, add FLUSHFONTCACHE.  See FONTCODECHANGES.tedit

* Make FONTEXISTS and FONTSAVAILABLE consistent
2025-11-30 09:14:22 -08:00
rmkaplan
9d2809028d Fix Tedit promptwindow overlap when given a title-less window (#2375)
Fix promptwindow overlap when given a title-less window
2025-11-17 13:31:59 -08:00
rmkaplan
428aac56ea TEDIT.INSERT ends with a point selection (#2371) 2025-11-14 10:09:46 -08:00
rmkaplan
72251e34a6 Fix SLASHIT bug (#2356) 2025-11-04 16:08:26 -08:00
rmkaplan
aae53a700f Adjustments to GITFNS (#2321)
prc status is C if changes requested, prc comparison runs in its own process, initial changes for gwc to treat the clone as UNIX, not DSK, so branch-switching doesn't cause files from other branches to pile up.

* COMPAREDIRECTORIES: don't fail on empty directory

* Bug in slashit

* gwc copies to UNIX--doesn't track Medley version numbers when it copies to the clone
2025-10-27 12:12:20 -07:00
rmkaplan
54f8b889b9 Rmk131 Mapping MCCS filenames to (Mac?) UTF-8 file names (#2320)
* Coerce MCCS filename strings to UTF8 filename strings in file-name system calls, coerce system filenames back to MCCS codes

* Add UNICODE-TABLES so MTOUTF8STRING gets defined in right place in the loadup sequence

* ADIR:  Bug fix: UNPACKFILENAME sets FATSTRINGP

* fix virtualkeyboard bug in code assignment

* Unicode canonicalizes non-SMALLP unicodes
2025-10-27 11:54:56 -07:00
rmkaplan
ac570f4b06 TEDIT: Better heuristic estimate of initial region, better management of margin bar (#2326)
* Estimates suggested width for unformatted documents from the width of the first 20 lines
* Recycled regions satisfy minimum and maximum size specifications
* Fine tuning:  suggests recycled no bigger than 90% of screen, no prompt message if old region reused
2025-10-27 11:20:33 -07:00
rmkaplan
82fc95ce18 rmk122--Next round on fonts and MCCS (#2280)
* A revision to the font, Unicode, Tedit, and other modules to implement the MCCS character coding as the standard for internal text strings.  MCCS is a variant of XCCS with arrows switched with circumflex/underscore and $ switched with currency, and allows for additional code assignments over time. :MCCS replaces :XCCS as the default external format, especially for source files.  The file XCCS is removed in favor of the file MCCS, which includes the XCCS external format for backward compatibility.

* This includes a single Medley-font formatted font file for each of the family/size/face display fonts.  The glyph assignments correspond to the MCCS character encoding (except for fonts with idiosyncratic encodings--Hippo, Symbol).  All charsets from legacy font files are included in each file, and the character sets and glyphs in each file have also been extended by offline coercion from related families (e.g. Glyphs not in legacy Terminal are taken from legacy Modern). There should be fewer black boxes, and character-display shouldn't change when you switch fonts.

* The Unicode mapping tables have been redefined to set up correspondences between Unicode and MCCS, not XCCS.  Separate XCCS to/from MCCS mapping functions are provided in the file MCCS; they are no longer included in INTERPRESS.

* TEDIT converts characters in legacy fonts to their new MCCS codes as it reads formatted files, marks the file as MCCS compatible and preserves the new codes on writing.

* Default keyboard assignments produce the MCCS uparrow and leftarrow for shift-6 and shift-hyphen, use Function-6 for circumflex and Function-10 for underscore.

See documentation in FONTCODECHANGES.TEDIT MCCS.TEDIT MEDLEYFONTFORMAT.TEDIT in docs/internal, and library/UNICODE.TEDIT.
2025-10-20 17:17:34 -07:00
rmkaplan
016a71622c Use field names instead of CAR/CADR 2025-10-13 18:05:42 -07:00
rmkaplan
fda911ebb8 Fix \FONTFACE glitch 2025-10-13 17:43:41 -07:00
rmkaplan
28dc362c86 Update KEYBOARDCONFIGS
Get F6/F10 to show/transmit characters
2025-10-13 13:47:12 -07:00
rmkaplan
ab5c28193d Add DEL to MTOUCODE mappings 2025-10-11 13:35:35 -07:00
rmkaplan
b27c9f6968 Update CHAT for MCCS 2025-10-11 13:34:56 -07:00
rmkaplan
f0525bae85 MULTI-ALIST updated to clarify macro names, carrying along because other files got contaminated while waiting 2025-10-09 21:06:13 -07:00
rmkaplan
312f4f389f TEDIT-LOOKS: Bug fix to MCCS code translator 2025-10-06 21:05:18 -07:00
rmkaplan
67a9dbc57a Merge branch 'master' into rmk122--FONT-next-round 2025-10-06 14:07:27 -07:00
rmkaplan
2af7324fff CLIPBOARD passes file to xclip (windows) (#2297)
* CLIPBOARD passes file to xclip (windows)

* More careful to specify {UNIX} as the host on the Medley side

* Make sure the process stream is closed in the xclip case

* This time using ShellCommand

* Use DSK and UNIX-FILE-NAME

* Added .txt to the tmp file
2025-10-06 10:39:33 -07:00
rmkaplan
c9ed0b8817 Fix bug in SHOWCHARS utility 2025-10-05 21:40:53 -07:00
rmkaplan
63e80819fe TEDIT files keep track of document's charencoding property 2025-10-05 21:40:28 -07:00
rmkaplan
83a6fb7ab1 Merge branch 'master' into rmk122--FONT-next-round 2025-09-29 12:33:23 -07:00
Paolo Amoroso
2cb8b51c94 Remove duplicate line of code (#2295)
Fix issue #2226 to remove a duplicate line of code that's potentially
confusing and ambiguous.
2025-09-25 08:14:56 +02:00
rmkaplan
49d15bdfd3 Revert imagetype TEDIT to imagetype TEXT 2025-09-23 08:21:38 -07:00
rmkaplan
2dd5b86913 Update TEDIT-STREAM.LCOM for merge 2025-09-20 11:24:45 -07:00
rmkaplan
e4afa4a8ba TEDIT-STREAM to avoid conflict
Minor changes for forward compatibility with new hardcopy interface, but still good here
2025-09-20 11:08:19 -07:00
rmkaplan
76f09ee3cd Update fontfamily lists, missing translation functions, minor bug 2025-09-20 10:37:27 -07:00
rmkaplan
5cede04328 More Tedit 2025-09-11 23:53:49 -07:00
rmkaplan
68138c470f Tedit compatibility adjustments and small fixups 2025-09-11 23:53:31 -07:00