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

1273 Commits

Author SHA1 Message Date
Larry Masinter
0b3bc9ac48 fix misspelled contributers 2024-10-22 11:15:18 -07:00
Larry Masinter
93ee6a1fbf Update license to mention Interlisp.org but portions copyright Xerox & Venue & others 2024-10-21 18:40:41 -07:00
Matt Heffron
fe04869cb3
Add git commit ID to beginning of loadups .dribble files. (#1778)
* Add git commit ID to beginning of loadups .dribble files.
The commit ID is put into the .dribble file in the .sh scripts. (using echo ... > name.dribble)
The changes to MEDLEY-UTILS, LOADUP-FULL, and LOADUP-LISP are to enable the passing of APPENDFLG to (DRIBBLE ... APPENDFLG).

* I hadn't saved file before previous commit.

* Add to IL:SYSOUTCOMMITS instead of to the .dribble files.

* Initialize SYSOUTCOMMITS so PUTASSOC has somewhere to put value(s)
medley-241007-fe04869c
2024-10-07 10:22:48 -07:00
Frank Halasz
178807afff
Fix Issue#1841: using medley --vnc option on RaspberryPi OS (#1842)
In scripts/medley/medley_vnc.sh, update references to Xvnc and vncviewer to their tigervnc-specific versions Xtigervnc and xtigervncviewer.  Fixes Issue#1841.
2024-10-07 10:19:09 -07:00
Matt Heffron
e1989850f3
Added new module READ-BDF. (#1811)
* Added new module READ-BDF.
This will parse a bdf font file into a BDF::BDF-FONT structure.
It does NOT create (convert into) an IL:FONTDESCRIPTOR instance.
Minimal error checking!

* Remove work-around for bug in CL:READ-FROM-STRING that is fixed in PR #1833
medley-240926-e1989850
2024-09-26 14:08:36 -07:00
Matt Heffron
fface7d9de
CL READ-FROM-STRING returns byte position instead of character position. (#1833)
* Fix for issue 1812: CL:READ-FROM-STRING returns byte position instead of character position.

* Previous edit hadn't noticed corresponding issue using the value of the START argument passed to SETFILEPTR
2024-09-26 13:54:15 -07:00
Matt Heffron
b41ae0cbbe
Extend DEFPACKAGE to accept uninterned symbols as the names to export… (#1822)
…. They are treated the same as strings: the `symbol-name` is first
interned in the package before being exported.
This is defined as the behavior in CLtL2, and using uninterned symbols
appears to be common practice in other Common Lisp code.
medley-240923-b41ae0cb
2024-09-23 10:28:16 -07:00
Matt Heffron
548d3f1567
Import XCL:DEFPACKAGE into LISP package, and then export it. (#1823)
Make DEFPACKAGE accessible from LISP (aka CL:) package.
CLtL2.
See Issue #1684
2024-09-23 10:24:50 -07:00
Matt Heffron
a85d6287ae
Merge branch 'master' into mth19--DEFPACKAGE-accept-uninterned-symbols 2024-09-19 11:12:40 -07:00
Matt Heffron
719b4e744e
Merge branch 'master' into mth20--extend-import-DEFPACKAGE-into-LISP-package 2024-09-19 11:12:17 -07:00
Matt Heffron
387fecf475
Merge branch 'master' into mth20--extend-import-DEFPACKAGE-into-LISP-package 2024-09-19 11:11:33 -07:00
Frank Halasz
433ffaf9e5
Add linux support for --vnc flag in medley script (#1825)
Previously --vnc flag in medley script worked only on WSL.

With this PR, the --vnc flag works on (non-WSL) linux platforms - any
linux distro that support the TigerVNC server and viewer.

To use this feature you must first install both the TigerVNC server and
TigerVNC client on linux. On Debian-based distros (e.g., Ubuntu and
Mint): ```sudo apt install tigervnc-standalone-server tigervnc-viewer```
medley-240911-433ffaf9
2024-09-11 17:44:36 -07:00
Frank Halasz
2cec465f1f Merge branch 'master' into fgh_vnclinux 2024-09-09 14:32:56 -07:00
Frank Halasz
ca03e7f930 First pass - adding linux support to --vnc arg to medley script 2024-09-08 22:08:43 -07:00
Matt Heffron
3526a61be1 Import XCL:DEFPACKAGE into LISP package, and then export it. 2024-09-05 22:40:32 -07:00
Matt Heffron
115ba43100 Extend DEFPACKAGE to accept uninterned symbols as the names to export. They are treated the same as strings: the symbol-name is first interned in the package before being exported. 2024-09-05 21:44:45 -07:00
rmkaplan
d2b87a7327
XTOUCODE doesn't fail for nonexistent mappings (#1816)
assigns a unique otherwise unallocated Unicode code.  Addresses bug reported in #1814
medley-240831-d2b87a73
2024-08-31 15:04:56 -07:00
Frank Halasz
f03a2fb4cb
In scripts/do_hcfiles.sh, save hcfiles.dribble and hcfiles-fails.txt in loadups/. (#1786)
* Add clean-hcfiles.sh; update do_hcfiles.sh to save hcfiles.dribble to loadups and to extract fails to hcfiles-fails.txt in loadups.

* Fix clean_hcfiles.sh to handle pdf files that are tracked by git.

* Tweak output of clean_hcfiles.sh
medley-240729-f03a2fb4
2024-07-29 14:40:27 -07:00
Frank Halasz
244300de7b
WINDOWOBJ: Install classname in IMAGEFNS (#1788)
IMAGEFNSCREATE had an argument CLASSNAME and the IMAGEFNS datatype had a
field IMAGECLASSNAME, but the CLASSNAME wasn't being installed in the
field
medley-240722-244300de
2024-07-22 15:02:26 -07:00
Herb Jellinek
7ed120ca97 TAB-WINDOWS: Step through open windows
Start it running with `(START-TAB-WINDOWS)`.

Bonus: `(KEY-WINDOW)` starts a process that monitors keyboard and mouse button
events and displays them in a little window.
2024-07-19 10:59:52 -07:00
rmkaplan
e9200c73c9 WINDOWOBJ: Install classname in IMAGEFNS 2024-07-17 23:39:33 -07:00
Frank Halasz
1ffcde195a
Automate HCFILES workflow (also add "up one level" button to index.html pages) (#1784)
* First pass at workflow for doing HCFILES on each release

* Finish doHCFILES workflow

* Fix delete of gh-page branch in DoHCFILES workflow

* Redo doHCFILES workflow for files.interlisp.org; add indexing to do_hcfiles script

* Fiddling with workflow names so that I can test doHCFILES.yml on a branch

* in doHCFILES workflow fix use of GH_TOKEN

* Fix typo in doHCFILES workflow

* Debugging doHCFILES workflow

* Fix multiple bugs in do_hcfiles script; fixed multiple bugs in doHCFILES workflow

* Debugging move

* in do_hcfiles.sh add back in Tedit file stoHCFILES run

* Clean up do_hcfiles.sh a bit

* Add debugging code to doHCFILES workflow

* In MAKE-INDEX-HTMLS, add code to ensure that the original case of the files/directory names are preserved since (DIRECTORY) seems to return names ia all-caps, always

* Debugging doHCFILES

* Fiddling with debugging code in doHCFILES workflow

* Add MEDLEY-INIT-VARS to cm file in do_hcfiles.sh

* Undo effect of merging fgh_hcfiles-updates into fgh_hcfiles-workflow.  fgh_hcfiles-update will be abadoned

* Add up button to index.html files in MAKE-INDEX-HTMLS

* Update MAKE-INDEX-HTMLS to include an up-on-level button in index.html files.  Move fio files to medley instead of source.  Streamline doHCFILES workflow

* Debugging

* In MAKE-INDEX-HTMLS, make sure that the up-one button does not appear in the top-level index.html

* In doHCFILES workflow, add difference between development(draft) and production; add doHCFILES workflow into buildReleraseInclDocker workflow

* Update MAKE-INDEX-HTMLS with new onclick script to handle directories properly

* Fix typo in buildRelease workflow

* Polishing up do_hcfiles.sh

* Return buildDocker.yml to original state after using it to test doHCFILES.yml
medley-240715-1ffcde19
2024-07-15 05:56:53 -07:00
rmkaplan
19015712de
Fix hardcopy under XCL exec #1781 (#1782)
* TEDIT-FILE fixes #1781

* TEDIT-FILE fixes #1781
2024-07-11 15:59:22 -07:00
Matt Heffron
7b0c746af2
Add INSPECTMACRO for windows (#1779)
The WINDOW datatype has a bunch of fixed fields for items that are
commonly used, and then it has USERDATA property list for other fields,
some of which are part of the window system and some of which belong to
particular applications.

When you inspect a WINDOW, you see the common fields all nicely laid
out, but you have to click again to bring up the user-data properties in
another window. And if your are inspecting several windows, you have to
keep track of which user properties go with which windows.

This adds an INSPECTMACRO for WINDOW that brings up the USERDATA
properties to the single inspect window, as first-class properties at
the bottom of the fixed-field entries, with a --USERDATA-- separator
medley-240708-7b0c746a
2024-07-08 16:24:00 -07:00
Matt Heffron
325bc9b5da
Merge branch 'master' into rmk31--INSPECTMACRO-for-windows 2024-07-08 16:23:04 -07:00
Matt Heffron
94548bd7da
More consistent HCFILES filenames (#1776) 2024-07-08 16:21:43 -07:00
rmkaplan
d1fcd6cf7e Add INSPECTMACRO for windows
so that USERDATA properties show up in the single Inspect window
2024-07-04 17:00:38 -07:00
Larry Masinter
9e7445927c .nojekyll is used to indicate that no processing or workflows should be run before web publishing 2024-06-30 15:09:40 -07:00
Larry Masinter
31863256c8 The new HCFILES process is simpler if .pdf files aren't ignored 2024-06-30 14:45:46 -07:00
Larry Masinter
a8c82aa9c4 The new HCFILES process is simpler if .pdf files aren't ignored 2024-06-30 14:45:12 -07:00
Larry Masinter
84cd0c73cb More consistent HCFILES filenames 2024-06-30 08:34:22 -07:00
rmkaplan
54bea56b81
Extra argument to COMPAREDIRECTORIES to specify directory names (#1766)
Allow smaller headers for GITFNS browser
medley-240625-54bea56b
2024-06-25 20:36:09 -07:00
rmkaplan
65cfd1dd69
Pass the DW? argument to restore DWIMIFY functionality (#1765)
Got lost somewhere along the way, probably when I was creating the browser
2024-06-25 20:35:22 -07:00
Matt Heffron
7dcc200c91
Fix issue #1749 - type-of NIL doesn't match CLtL2 (#1753)
* Fix issue #1749 - type-of NIL doesn't match CLtL2

* Fix uses of cl:type-of in the LOOP macro to deal with the change to cl:type-of.
medley-240616-7dcc200c
2024-06-16 21:36:37 -07:00
rmkaplan
9e0fdd0283
AFTERHARDCOPYFN not needed in IMTEDIT (#1762)
It is put in the first time the indexing image object is displayed, this was left over from earlier cleanup
2024-06-16 21:20:52 -07:00
rmkaplan
ffe99d6bcc
FILEWATCH, QIX, SOLITAIRE--rename fields that conflict with REGION and POINT (#1763) 2024-06-16 21:17:48 -07:00
Matt Heffron
3e77f627a0
This fixes GITFNS prc not showing any changed files with certain filename/path patterns. (#1757)
This fixes GITFNS `prc` not showing any changed files if they included
`.git` in the full name.
It now is specific, and excludes only those in the `.git/` top-level
directory.
GITFNS also ignored changed files at the top-level of the repo. This is
fixed also.
This can be tested with PR #1756
2024-06-13 19:22:32 -07:00
Matt Heffron
8d648f46b1 The same issue happens with .git in a branch name.
Hoisted on its own petard!
2024-06-12 23:06:21 -07:00
Matt Heffron
e7dccf76a9 This fixes GITFNS prc not showing any changed files if they included .git in the full name.
GITFNS also ignored changed files at the top-level of the repo. This is fixed also.
2024-06-10 18:48:53 -07:00
rmkaplan
ff25001814
Change LAFITEDECLS to LAFITE-DECLS in UNDIGESTIFY (#1746) medley-240610-ff250018 2024-06-10 14:55:48 -07:00
Frank Halasz
9793e48c4e
Update buildReleaseIncDocker workflow to automatically kick off a buildAndDeployMedleyDocker workflow in the online repo (#1752)
* to buildReleaseInclDocker workflow, add call to build and deploy the Online-Medley Docker image to oio

* add version tag to call to buildAndDeploy... workflow in online

* Oh boy, get the name of the build and deploy workflow in online right this time!

* Added explicit secrets to call to medley online build deploy workflow

* fix test code in buildReleaseInclDocker

* debuggin gbuildReleaseInclDocker

* Debugging adding of online deploy to buildReleaseInclDocker

* Change approach to running buildDeployMedleyDocker online workflow to use gh workflow run rather than use a cross-repo workflow call

* GH_TOKEN or GITHUB_TOKEN?

* Create ONLINE_TOKEN to access online repo from medley repo workflows via gh

* From buildReleaseInclDocker workflow, remove debugging stuff; change kickoff of oio build and deploy so that it will not kickoff workflow if draft is true
2024-06-10 14:52:39 -07:00
Matt Heffron
2f6499317b
In medley.sh, improve error messages when MAIKODIR and/or the requested maiko executable (e.g., ldeinit) cannot be found (#1734)
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.
medley-240603-2f649931 medley-240605-758d249a medley-240606-c7cd6519
2024-06-03 15:35:41 -07:00
Frank Halasz
6398c2b8d4
Merge branch 'master' into fgh_fix-maikodir_msg 2024-06-03 15:26:07 -07:00
Frank Halasz
fcd40bc409
Fix PRINT-ALL-DOCUMENTATION locating documentation string (#1736)
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
2024-06-03 15:25:04 -07:00
Frank Halasz
c8133ebb96
Fix FILEBROWSER error when a borrowed function needs the prompt window. (#1743)
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
2024-06-03 15:24:23 -07:00
Frank Halasz
9962a9ca0a
Merge branch 'master' into fgh_fix-maikodir_msg 2024-06-03 14:58:31 -07:00
Matt Heffron
014c34959f
Merge branch 'master' into mth13--qmark_command_omits_documentation_if_given_name_argument 2024-06-01 11:57:16 -07:00
Matt Heffron
4c18373229 Fix FILEBROWSER error when a borrowed function needs the prompt window.
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.
2024-05-29 15:46:15 -07:00
Herb Jellinek
1148cd5945
Further updates to loadup scripts to make its easier to use Lisp-side copy functions to copy medley directories (#1718)
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).
medley-240527-1148cd59
2024-05-27 15:17:29 -07:00
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