1
0
mirror of synced 2026-03-23 09:31:09 +00:00
Commit Graph

304 Commits

Author SHA1 Message Date
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
rmkaplan
de0120ac30 Compatibility with new underscore/circumflex assignments 2025-09-11 23:49:27 -07:00
rmkaplan
960d65d80b Hardcopy stuff (includes files from HARDCOPY PR) 2025-09-11 23:48:01 -07:00
rmkaplan
9e7a6b0657 Unicode to MCCS
See new Unicode documentation
2025-09-11 23:43:07 -07:00
rmkaplan
17515ef441 Make sure TEDIT backing files close on error (#2284)
Make sure backing files close on error
2025-09-09 23:44:18 -07:00
rmkaplan
d467bb7f57 UNICODE.TEDIT added description of UTF8TOMSTRING 2025-09-09 10:11:16 -07:00
rmkaplan
bffd56537a Start out with just the documentation files 2025-09-08 00:15:17 -07:00
rmkaplan
1a8a5ca90e Fix TEDIT object insertion (#2279) 2025-09-07 22:15:47 -07:00
rmkaplan
2961670d7d Qualify record names in MASTERSCOPE COMPAREDIRECTORIES TTYIN (#2270)
To avoid conflicts when creating fuller.database
2025-09-05 08:46:15 -07:00
rmkaplan
0206fb6f43 Rmk120 move press to obsolete (#2274)
* Move PRESS and PRESSFROMNS to obsolete

* Remove PRESS from the loadup

Also moves MULTI-ALIST forward to the beginning of LOADUP-LISP

* BACKGROUNDIMAGES depended on PRESSFILEP, now moved here from PRESS
2025-09-03 23:14:47 -07:00
rmkaplan
287b10c9c3 Moving JAPANESE to library adding tiny documentation file (#2253) 2025-08-18 22:49:05 -07:00
rmkaplan
f004d43ef1 Extensions to MULTI-ALIST especially for PLACE (#2261)
* Extensions to MULTI-ALIST especially for PLACE

* Decided to add FETCHMULTI with computed keys parallel to GETMULTI
2025-08-16 13:46:07 -07:00
rmkaplan
74f518ca02 Tedit PLOOKS cleanup plus default paralooks (#2259) 2025-08-16 13:45:28 -07:00
rmkaplan
a9618e4aaf Rmk103 font and related code updates (#2216)
This PR contains a large number of changes in support of the implementation of the  Medley Dsplay Fon file format.

The changes are documented in the docs/internal/FONTCHANGES.TEDIT file.
2025-08-13 09:59:37 -07:00
Matt Heffron
305c419b1d WHERE-IS error handling improvement (#2235)
For loadup --aux reporting of errors during building whereis.hash:
Just ignore pathnames that are just a directory.
For other errors, report the condition that caused the error, instead of just generic Warning message
2025-08-11 11:56:00 -07:00
rmkaplan
37aef55990 SEE-PDF returns the file name, not T (#2237) 2025-07-31 09:06:37 -07:00
rmkaplan
bc7269e3c4 Inspectcode scrolls, has the correct window title (#2222)
* Inspectcode scrolls, has the correct window title

* Add promptwindo so M-f search strings are locally visible

* Fix FILETYPE for LLDISPLAY

* MEDLEYFONTFORMAT More efficient store and read of numeric Interlisp arrays
2025-07-30 15:42:20 -07:00
rmkaplan
5bc05caba5 Rmk100 tedit catch up a few more fixes (#2204)
* Fixed #2185 and  #2173.

* TEDIT-MENU TEDIT-PAGE Fix a few more bugs

* TEDIT-STRESS--cleanup and harden a bit for future use

* TEDIT-FILE:  Allow putting of an APPEND file. There is still a guard against putting a readonly file--use COPYFILE instead. Provide message if won't put

* Get proper insert caret looks before EOL
2025-07-15 15:02:40 -07:00
rmkaplan
63d5849a15 Rmk88 split screen updates and color, eliminate reliance on STREAMHINT xpointer (#2119)
* Tedit window splitting is more robust, interface through menu items instead of split-region on the right of the window.  See TEDIT-RELEASENOTES.TEDIT

* Tedit recognizes color as specfied by DSPCOLOR, passes it to hardcopy

* N-way buttons default to unsorted--new items go at the end. Otherwise keyboard shortcut meta-3 for the 3rd font might pick a different one depending on what went before.

* USER.CM can be specified as an opening property for Bravo conversion.

* Adresses/fixes Tedit issues #2173 #2172 #2171 #2142  #2105 #2062 #2059 #1972 (maybe some others).

* Changes to rationalize internal interfaces and simplify code, and particularly to eliminate internal dependencies on the STREAMHINT Xpointer backlink.  STREAMHINT is only accessed if a client has grabbed the TEXTOBJ and passes it back in.  The stream and window are the safe/reliable way of referencing the Tedit state (and the window and stream know about each other, and know about the TEXTOBJ only through the stream).

* Many changes to TEDIT-STRESS, including new defaults CHECKARRAYS NIL, NSYSOUTS 0, ARRAYBLOCKCHECKING T

* lispusers/EQUATIONS: image object no longer saves state on the stream, not the window (which may not be there).

* Rename CHARNAME to be CHARCODE.ENCODE, parallel to CHARCODE.DECODE
2025-07-03 00:06:10 -07:00