1
0
mirror of synced 2026-01-13 07:29:52 +00:00

1198 Commits

Author SHA1 Message Date
Matt Heffron
4272a6e5ed
GITFNS prc menu is added to the screen instead of just popping up (#1695)
So the full set of available PRs (with their draft/approved status)
remains visible. You can poke from one to the other. May be useful when
we go through the PRs in Monday meetings. (Still doesn't bother with a
menu at all if there is only one PR to work on.)

On this first pass, the menu is placed (but not attached) just under the
current exec window, on the hope that this keeps it out of the way of
the windows that are created during the comparison.

Try it, let me know how this feels, whether this is an improvement over
the previous pop-up.
2024-05-06 16:21:49 -07:00
rmkaplan
6bc9aee7b9 GITFNS prc menu is added to the screen instead of just popping up
So the full set of available PRs (with their draft/approved status) remains visible.  You can poke from one to the other. May be useful when we go through the PRs in Monday meetings.  (Still doesn't bother with a menu at all if there is only one PR to work on.)

On this first pass, the menu is placed (but not attached) just under the current exec window, on the hope that this keeps it out of the way of the windows that are created during the comparison.

Try it, let me know how this feels, whether this is an improvement over the previous pop-up.
2024-05-03 11:11:01 -07:00
Matt Heffron
9f0475936f
GITFNS quote branch names in git commands (#1693)
* GITFNS gets prc information in JSON form

prc uses the simple JSON parser in the new lispusers file JSON to convert the json string into a lisp data structure.  Maybe the commonlisp package YASON that Matt looked at would be more general, but perhaps also requires more understanding.

With this change, drafts should be marked with D, approves should be marked with A.

* Quote branch names in git commands -- attempt to fix issue #1691

---------

Co-authored-by: rmkaplan <ron.kaplan@post.harvard.edu>
medley-240502-9f047593
2024-05-02 23:16:26 -07:00
Frank Halasz
2dfb1b71f6
Temporary fix in medley.sh to work around Issue #1685. Applies to cygwin only. (#1686)
Temp fix in medley.sh to work around issue #1685.  Applies to cygwin only.
2024-04-30 07:18:25 -07:00
rmkaplan
837f4029fe
WINDOWOBJ: Add ENCAPSULATEDOBJP function (#1679)
* WINDOWOBJ:  Add ENCAPSULATEDOBJP function

If provided to TEDIT.MAP.OBJECTS, this will return a list of all unknown image objects and their locations

* Fix earlier misunderstanding of encapsulated set up
2024-04-29 19:46:25 -07:00
rmkaplan
e40d3311c1
Rmk16 remove tedit special stuff from CLIPBOARD, move it to TEDIT-COMMAND. (#1676)
* CLIPBOARD:  Remove Tedit-specific code

* TEDIT-COMMAND:  Add interface to Clipboard

This also implements a different way of dealing with image objects in the selection.  Instead of causing an error (since an imageobject can't be printed to the clipboard stream), it tries to put out a useful representation of the object.  If the object has a preprint function, it applies that.  Otherwise, it prints out the name of the getfn.  Other objects can be explored.
2024-04-29 19:44:29 -07:00
rmkaplan
047aa5ff23
TEDIT.FORMAT.HARDCOPY fetches the AFTERHARDCOPYFN at the end (#1671)
so that it can be set by a display fn or boxfn along the way.  This permits the fix to IRM indexing in PR #1649 to take effect (for HCFILES).
2024-04-29 19:43:01 -07:00
rmkaplan
710513f2fd
TEDIT-FILE with TEXTOBJ argument passed to lower get-piece functions (#1669)
An internal extension, so that error or warning messages if any can be displayed in the local prompt window
2024-04-29 17:20:49 -07:00
rmkaplan
448cb6feba
HARDCOPY: Replace PROMPTFORWORD with TTYINPROMPTFORWORD in popup (#1651)
Also remade HARDCOPY NEW and TCOMPLed the whole file to get everything pretty printed and compiled.  The NEW option to MAKEFILE was not enough, I also had to set MAKEFILEREMAKEFLG to NIL.
2024-04-29 17:05:23 -07:00
rmkaplan
931807ef44
IMINDEX: The displayfn of index image objects sets AFTERHARDCOPYFN to close the index file (#1649)
* IMINDEX:  The displayfn of index image objects sets AFTERHARDCOPYFN to close the index file

Removes the need for advising the Tedit hardcopy function.  This won't have an effect until a separate PR (after rmk7 is merged) that updates the hardcopy function.

* Index image object explicitly uses OLD-INTERLISP-FILE for printing and reading  (cf #1652)
2024-04-29 17:04:12 -07:00
Larry Masinter
d79d5b397b
Remove derived PDFs from repo; now in 'src' repo, comstructed by HCFILES and MAKE-INDEX-HTMLS (#1657)
* Remove derived PDFs from branch other than gh-pages

* only the gh-pages branch should have the pdfs

* make pdfs and listings

* Update HCFILES and MAKE-INDEX-HTMLS, add preliminary documentation

* add a slashit to avoid angle brackets
2024-04-29 16:28:22 -07:00
rmkaplan
14b102f143
TEDIT-MENU: Eliminate illegal arg and caret location errors (#1670)
* TEDIT-MENU: Eliminate illegal arg and caret location errors

@nbriggs got an error when (as I remember) parsing the OTHER font in the charlooks menu.  This was because of a missing BOUNDP check when trying to decide if the other font is a fontclass.

Separately, the caret appeared in the wrong place if a field insert was the first interaction with a menu.

* Remove redundant binding
medley-240420-14b102f1
2024-04-20 22:55:53 -07:00
Matt Heffron
88d10ee75c
Merge pull request #1668 from Interlisp/rmk10--Fix-Tedit-imageobj-hardcopy
TEDIT-HCPY set X position after image object hardcopy display
2024-04-19 11:50:19 -07:00
rmkaplan
0f8652e15b TEDIT-HCPY set X position after image object
Addresses issue #1667
2024-04-19 09:50:39 -07:00
Frank Halasz
c30940ef19
Merge pull request #1639 from Interlisp/rmk7---Names-of-internal-Tedit-function-are-consistently-prefixed-with-TEDIT.-
Systematically renamed internal Tedit files with \TEDIT
2024-04-17 22:03:57 -07:00
Larry Masinter
92fd33eaad
Add support for cl: loop for hash tables (#1605)
* Add support for cl: loop for hash tables
* fix subtle package problems setting up LISP package & conflicts with CLOS
* include fix for 'repeat n' clause
* remake in lower-case p make diffs legible, dfasl for defuns
2024-04-17 16:21:22 -07:00
rmkaplan
3564f502e4
Fixed a missed case in NSDISPLAYSIZES (#1658)
FONTSAVAILABLE calls with SIZE = *
2024-04-16 12:29:38 -07:00
Larry Masinter
0c62577e92
ANSI CL says all non-symbol non-list is self-evaluating; fix CL:EVAL (#1664) 2024-04-16 10:51:23 -07:00
rmkaplan
bda5cf1606
DINFO: recreate textstream if it has disappeared from the window (#1659)
Not sure how this can happen--a Tedit window without a textstream--but now testing for it.  DINFO must have removed it for some unknown reason.
medley-240411-bda5cf16
2024-04-11 15:41:37 -07:00
Larry Masinter
44b1f8a7f3
hash p write pathname (#1612)
* #P"pathname" reads in as pathname
* #P"pathname" used for printing pathnames
* remake to remove extraneous reprint of CMLPATHNAMECOMS
2024-04-09 15:41:11 -07:00
rmkaplan
d5cc219895
NSDISPLAYSIZES: A better attempt at TERMINAL and TITAN (#1655)
This now builds in knowledge of which Titan and Terminal fonts actually exist, so it doesn't try to increase the size to a black hole.  Still a hack, but there are so many MOVD's involved that it is really hard to see how to do it with a generic FIND-NEXT-LARGEST-FONT.
2024-04-08 16:32:33 -07:00
Frank Halasz
a1a99c04cd
Add PLOTANDNC-PATCH from obsolete back to lispusers since its used by Notecards - specifically NCPLOTCARD (#1647) medley-240406-a1a99c04 2024-04-06 21:40:13 -07:00
rmkaplan
f4fd00f8b8 Systematically renamed internal Tedit files with \TEDIT
This includes some files in lispusers that are not in the Tedit core but had references to Tedit internal functions (TMAX, DOC-OBJECTS and some others) that have been renamed. (I hope to clean out those internal references, at some point.)

A few additional changes are here to track the changes that were recently made in the unrenamed master branch.  Going forward, I want to make future changes in this branch.

Eventual plan is to introduce a Tedit package and do another systematic renaming of all \TEDIT.xxx functions to TEDIT::xxx, this is a first step.

This does not yet include a backward-compatibility mapping of oldnames to newnames, as was discussed in the technical meeting.
2024-04-01 20:49:06 -07:00
rmkaplan
f6eb5d9846
Fixex to \FORMATBYTESTRING and \FORMATBYTESTREAM (#1618)
Motivated by the fact that FILEPOS was not being properly informed that the bytes of the encoded stream are stable (unlike XCCS) so it can run at the byte level without character decoding.
2024-04-01 20:21:38 -07:00
rmkaplan
90dc568bae
COMPAREDIRECTORIES makes directory filedate consistent with internal date of Tedit files (#1637) 2024-04-01 19:52:56 -07:00
rmkaplan
720ce08483
COMPARESOURCES ignores arbitrary forms, not just comments (#1533)
* COMPARESOURCES ignores arbitrary forms, not just comments

* Update COMPARESOURCES.TEDIT

* COMPARESOURCES.TEDIT -- typos
2024-04-01 16:13:53 -07:00
Larry Masinter
9b82f1a7c2
lmm57 interrupts clipboard wheelscroll (#1634)
* Changes to interrupt initialization for CLIPBOARD and WHEELSCROLL

* fixed initialization
2024-04-01 15:18:40 -07:00
rmkaplan
e92381b706
SEDIT-MAN arms Meta-D in SEDIT for man page (#1624)
Initial attempt
2024-04-01 15:16:07 -07:00
rmkaplan
2341531ac3
Minor updates to Tedit files (#1617) 2024-04-01 15:04:52 -07:00
rmkaplan
8df2418f97
On-demand UNICODE with READBOM, new .TEDIT, and small 2-way run-time mapping tables (#1620)
Replaces PR rmk105--UNICODE-on-demand
2024-04-01 15:03:45 -07:00
Frank Halasz
5437fac7aa
Merge pull request #1636 from Interlisp/rmk3--Add-TEXTOBOJ-to-TEDIT.PROMPTPRINT-in-TEDIT.PUT
Address issue #1635
2024-04-01 11:29:04 -07:00
rmkaplan
fa39f9ec5d Address issue #1635 2024-03-31 23:52:13 -07:00
Frank Halasz
e4c4bb9f8d
Remove extra scheduled Medley builds that were added for testing purposes last weeek. (#1615) medley-240325-e4c4bb9f 2024-03-25 11:57:34 -07:00
Frank Halasz
43374862e5
Merge pull request #1604 from Interlisp/rmk114--Add-TEDIT.XYTOCH-for-Notecards
Add TEDIT.XYTOCH for Notecards
2024-03-25 11:28:54 -07:00
Frank Halasz
6cbacf754b Merge branch 'master' into rmk114--Add-TEDIT.XYTOCH-for-Notecards 2024-03-25 11:26:53 -07:00
Frank Halasz
ef6d2d5b03
Merge pull request #1606 from Interlisp/rmk115--TEDIT.NORMALIZECARET-all-visible-caret-to-top
TEDIT.NORMALIZECARET moves line with left-most selection to the top
2024-03-25 11:22:53 -07:00
rmkaplan
121a166047 TEDIT.NORMALIZECARET moves line with left-most selection to the top 2024-03-21 21:51:55 -07:00
rmkaplan
1a550ce499 Add TEDIT.XYTOCH for Notecards
Provide a simple public interface function
2024-03-21 10:34:43 -07:00
Larry Masinter
9232a0db90
add more info on setting up directories (#1600) medley-240321-9232a0db 2024-03-21 05:57:22 -07:00
rmkaplan
0a37520014
Fix for TTYINPROMPTFORWORD's bad behavior on CR termination (#1565)
Brute-force addition of parameter to TTYIN that BKSYS/DELETE function (TTYINUNREADBUF) can access freely.  Seems to work.
2024-03-20 20:34:47 -07:00
rmkaplan
6155bcb430
Off-by-one in the interpretation of the event length (#1585) 2024-03-20 20:31:42 -07:00
Larry Masinter
8ca35635e5
first cut at better build explanation (#1507)
* first cut at better build explanation for how medley sysouts are made.
2024-03-20 15:49:04 -07:00
Matt Heffron
2f7972e78d
The BUTTONS lispusers package will edit the button content in the TTY process. So, for example, a copy-paste to the EXEC that had the TTY is not possible. Changed to invoke EDITE as a new process, instead of in the TTY process. (#1594)
(Lots of changes in file because change from FAST-formatted to PRETTY-formatted file. Actually only 1 line of code changed.)
Second, cleaned up, attempt.
medley-240319-2f7972e7
2024-03-19 21:28:33 -07:00
Frank Halasz
2a88ad712e
Further cleanup on cpv script; (#1506)
* Further cleanup on cpv script; add back a ln_or_cp function and use it to cp only when ln fails for all instances of linking/copying in the script;  better handling of case where the unversioned dest file does not exist but version versions of the file DO exst.

* cpv: remove local declarations to be Posix-compliant
2024-03-19 21:24:35 -07:00
Frank Halasz
51cb65cf37
Fix issue with release workflow whereby not pushing docker image to docker hub / update versions on all actions (#1589)
* Update all workflows to use latest versions of actions to accomodate deprecation of Node 16; Change how inputs are handled due to changes in the inputs context in guthiub actions.

* Add more schedule kickoffs for buildRelease... for testing purposes
medley-240318-51cb65cf
2024-03-18 22:02:43 -07:00
Frank Halasz
220c995cda
Minor Tedit tweaks to help Notecards get rid of TEXTOBJs (#1586) 2024-03-18 17:22:37 -07:00
Matt Heffron
fcd0206611
Merge pull request #1582 from Interlisp/fix-wholine-package
Fix bug in setting package with wholine
2024-03-18 17:05:43 -07:00
Matt Heffron
d0edc69cd7
Merge branch 'master' into fix-wholine-package 2024-03-18 17:04:40 -07:00
rmkaplan
5ad5083c6d
GREP: avoids tedit-file formatting, font change chars in Lisp source files, adds TGREP (#1513)
* GREP: avoids tedit-file formatting, font change chars in Lisp source files, adds TGREP

* Oops, TAB is not a fontchange character

* Updated documentation GREP.TEDIT

* Avoids EXPORTS.ALL by doing SYSREC1

* Don't change the outcharfn

* Make it work on Tedit files

* Print out the filename instead of the stream for Tedit files
2024-03-18 16:21:06 -07:00
Larry Masinter
8e07e25b9a
import an LOOP macro (#1579)
* import an LOOP macro
* add to loadup

* change CML-LOOP to XCL-LOOP finish
* Change package to LOOP, no nickname; 'loop' and 'loop-finish' are in LISP package
 Install copyright/acknowledgement
medley-240316-8e07e25b
2024-03-16 19:57:20 -07:00