1
0
mirror of synced 2026-01-13 15:37:38 +00:00

1015 Commits

Author SHA1 Message Date
rmkaplan
f44b96e870
Rmk22 gitfns ignores other owners (#1713)
* GITFNS: prc ignores PRs from other owners

The menu just includes Interlisp PR's.  Fixing it to deal with other owners will take more work.

* JSON:  JSON-GET takes a list of attributes

A convenience for accessing objects embedded in objects

* GITFNS:  a minor cleanup

* Remove JSON-GET left over

* Put the git commands to install remotes in comments

So we don't have to rediscover them when we decide to fix prc to deal with this issue.
2024-05-27 15:16:58 -07:00
Herb Jellinek
e9bea32fa3
Edit of function from popup menu in MASTERSCOPE show paths graph locks mouse process (#1728)
Fix issue #1727
Edit of function from popup menu in MASTERSCOPE show paths graph locks
mouse process.
Left buttonfn didn't include :DONTWAIT option when launching the editor;
middle buttonfn did.
2024-05-27 15:16:29 -07:00
Matt Heffron
10cd51e5b1
Merge branch 'master' into mth12--Fix-1727-Edit-from-MASTERSCOPE-graph-can-lock-mouse-process 2024-05-24 21:45:49 -07:00
Matt Heffron
eda9863432
Fix issue #1719. (#1726)
MANAGER called PF with function NAME in a variable. BUT PF is NLAMBDA so
didn't eval its argument. Changed to use CL:APPLY*. Moved the process
function from a local LAMBDA in Manager.DO.COMMAND to a separate named
function. Tweaked prompt strings for the "CopyDef" and "Rename All" item
menu commands.
2024-05-24 20:42:54 -07:00
Frank Halasz
eb7d34784b
Fix Issue#1730: Break during OPENSTREAM on file on XNS Server (#1733)
Add a DEVICE argument to \NSRANDOM.CREATE.STREAM so that when it creates
a stream, it can pass a device to the stream creation code. As of PR814
of July 2022, streams whose DEVICE field is NIL break during creation.
Update all callers to \NSRANDOM.CREATE.STREAM to pass the new DEVICE
argument.
2024-05-24 19:28:51 -07:00
Frank Halasz
dab6f2635f Add a DEVICE argument to \NSRANDOM.CREATE.STREAM so that when it creates a stream, it can pass a device to the stream creation code. As of PR814 of July 2022, streams whose DEVICE field is NIL break during creation. Update all callers to \NSRANDOM.CREATE.STREAM to pass the new DEVICE argument. 2024-05-23 23:37:07 -07:00
Matt Heffron
40ae5fb9b3 Fix issue #1727
Edit of function from popup menu in MASTERSCOPE show paths graph locks mouse process.
Left buttonfn didn't include :DONTWAIT option when launching the editor; middle buttonfn did.
2024-05-21 23:15:59 -07:00
Matt Heffron
1c2f9bc395 Fix issue #1719.
MANAGER called PF with function NAME in a variable. BUT PF is NLAMBDA so didn't eval its argument. Changed to use CL:APPLY*.
Moved the process function from a local LAMBDA in Manager.DO.COMMAND to a separate named function.
Tweaked prompt strings for the "CopyDef" and "Rename All" item menu commands.
2024-05-21 22:34:30 -07:00
Frank Halasz
9214a6335a
Change Medley release builds from Mon 2:00a PT to Wed 2:00a PT ... (#1722)
Change Medley release builds from Mon 2:00a PT to Wed 2:00a PT
medley-240520-9214a633
2024-05-20 21:17:22 -07:00
Matt Heffron
6c47d75ab9
Fix 1715 - "structural typo" in output of MANAGER Documentation menu item (#1716)
Fix "structural typo" in output of Documentation menu item
medley-240517-6c47d75a
2024-05-17 11:54:55 -07:00
Matt Heffron
1134cb1ce6
Fix Issue 1711: problem with "-x ~" in new medley.sh (#1712)
Fixed two typos in medley_utils.sh:  $%2 -> $2
medley-240513-1134cb1c
2024-05-13 17:05:37 -07:00
Frank Halasz
cc9fcc3e5b Fix Issue 1711 - fix two typos in medley_utils.sh $%2 -> $2 2024-05-13 16:31:58 -07:00
Frank Halasz
5073a793e3
medley.sh: Fix handling of '--title -' in medley_run.sh and medley_args.sh (#1710)
* Fix handilng of '--title -' in medley_run.sh and medley_args.sh

* medley.sh: Fix typo in default title introduced in last commit
2024-05-13 15:33:14 -07:00
rmkaplan
8e22a4dcb9
UNPACKFILENAME produces lt-gt for top-level directory (#1696)
* UNPACKFILENAME produces <> for top-level directory

For virtually any combination of leading <, > or /.  Addresses   #1685.

* Produce < instead of <> for top-level empty directory

Does not yet deal with all combinations of directory-internal bracket sequences
2024-05-13 15:27:52 -07:00
Frank Halasz
b8de8209d0
Update medley man page with latest updates to medley.sh (#1709) 2024-05-13 15:20:37 -07:00
Frank Halasz
9846353c9a
Fix to Issue #1704. Cygwin Install fail (#1707)
In cygwin installer, change cygwin download site to https://mirrors.kernel.org since old gatech site is deprecated.
2024-05-13 14:24:09 -07:00
Frank Halasz
415a698df5
Overhaul of loadup scripts (#1699)
* Make medley.sh and its associated scripts POSIX compliant - i.e., debashify them

* Added config file for medley script, medley now reads from config file and prepends arguemnts from file to the copmmand line arguments

* WIP. Updates to medley.sh scripts.

* WIP.  More on medley.sh and friends update.

* WIP. Medley redo

* WIP.  Debugging new medley scripts

* Renamed medley.sh/medley.command to be medley_main.sh.  Added code to compile single medley.sh/medley.command script by inlining all of the source'd medley_*.sh files.

* Add temp fix for cygwin Issue #1685

* Minor fixup to medley_utils.sh; take debug code out out of run_medley

* Add README to medley directory to explain how to compile medley.sh (medley.command).

* Ooops. This time really adding the README file to the medley directory explaining how to compile medley.sh (medley.command)

* Update loadup- scripts to use updated medley scripts rather than run-medley

* Fix default setting of $config_file in medley_configfile.sh

* Redo medley compile to pick up last commikt

* Fixing how maiko exe is found and sysout argument error processing - both issues discovered testing on MAcOS

* In medley_configfile, replace echo with printf %s because echo - does not work in zsh

* Supress config file on loadups calls to Medley

* Add oldschool support (use original run-medley) to loadup scripts; improve FAILURE detection so loadup-all won't proceed once one of the components fails

* Add in medley_args.sh add -prog as synonym to --maikoprog to aid in loadup scripts; in medley_run.sh script try to get a good exit code for call to maiko, especially useful for loadup scripts

* Run loadup scripts thru shellcheck and update as necessary to make Posix compliant

* Get rid of -nt comparisons in loadup-setup.sh because they are not posix-complaint.  They were not really needed anyway.

* Removing (for now) use of lde exit codes to decide FAILURE case in loadup-setup.sh since exit codes from lde apperar to be inverted on MacOS.

* Update medley man page.  Add - functionality to more args is medley_args.sh

* Compile medley.sh with changes from last commit

* Ooops.  Left medley_args.sh changes out of last commit.  Rectifying here.

* Added support for LDEKEYBOARDTYPE to medley_run to match run-medley

* Add to medley.sh: auto numbered id's and titles with id's inserted

* Cleanup some shellcheck issues in medley_main.sh

* fix maiko args -nh-xxx.  were -nethub-xxxx. In medley_run.sh

* Overhaul handling of pass-on args to manage the quoting issues prevelant in the previous implementation

* Cleanup minor shellcheck issues in medley_*.sh scripts

* Add underscore as character allowed in ids - makes things clearer when id used with +

* Add a self-numbering id to medley calls in loadup scripts

* Put workaround in medley_run.sh for Issue #1702 - issues with sysout arg processing in Maiko

* Oops.  messed up LDESRCSYSOUT in last commit.  should be LDESOURCESYSOUT

* compile medley.sh
medley-240509-415a698d
2024-05-09 21:31:27 -07:00
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