In medley.sh, improve error messages when MAIKODIR and/or the requested
maiko executable (e.g., ldeinit) cannot be found.
Helps clarify error messaging in loadup-mid-from-init script that
utilizes ldeinit.
In PRINT-ALL-DOCUMENTATION only one of two places was checked for the
documentation string.
(Also, MAKEFILE updated the LAMA variable in the CMLEXECCOMS.)
Issue #1735
FB.PROMPTW.FORMAT now uses the global PROMPTWINDOW if called under a
borrowed function (i.e., not a FILEBROWSER window). Tweaked the format
string provided by FB.FASTSEE.ONEFILE to go to newline conditionally.
Issue #1742
FB.PROMPTW.FORMAT now uses the global PROMPTWINDOW if called under a borrowed function (i.e., not a FILEBROWSER window).
Tweaked the format string provided by FB.FASTSEE.ONEFILE to go to newline conditionally.
Update all loadup scripts so that 3 things are true:
1. all sub-scripts are called via `/bin/sh <subscript>` so that exec bit
need not be set on any loadup script
2. medley is called via `scripts/medley/medley.command` rather than just
`medley` so that the top-level medley symbolic link is not necessary for
loadups
3. the loadup scripts do not have to be started while cwd is MEDLEYDIR;
instead MEDLEYDIR is automatically computed based on where the loadup
script is executed from (as the medley script does).
* 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.
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.
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.
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.
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.
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.
* 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
* 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
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.
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.
* 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>
* 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
* 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.
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.
* 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)
* 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
* 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