Skip to content

Extensive loadup scripts revamp #2111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Apr 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fca8885
Fixed INTERPRET.REM.CM so that it no longer tries to load the file po…
fghalasz Feb 10, 2025
c45533c
WIP. Updating all loadup scripts to more gracefull handle errors
fghalasz Feb 16, 2025
f2f642f
Update component loadup scripts to take advantage of the fact that IL…
fghalasz Feb 20, 2025
4ac992d
Debugging error exits from loadup-full-from-lisp.sh
fghalasz Feb 22, 2025
f13ea47
1) Major revamp of loadup scripts to better detect and report failure…
fghalasz Mar 10, 2025
5de816c
Merge in latest master
fghalasz Mar 10, 2025
ba9accc
Rename (git mv) scripts/loadup-scripts to be scripts/loadups
fghalasz Mar 10, 2025
b959456
Remove redundant scripts/loadup-setup.sh. Real scripts is in scripts…
fghalasz Mar 10, 2025
8a0e981
Fix symbolic links to point to new scripts/loadups instead of old scr…
fghalasz Mar 10, 2025
6dc5450
Merge branch 'master' into fgh_loadups-25-03
fghalasz Apr 14, 2025
5219400
Resurecting lost changes. WIP on completing man-page.
fghalasz Apr 14, 2025
aad9083
Merge master into fgh_loadups-25-03
fghalasz Apr 16, 2025
3d26c34
Finish complete first pass of new loadup scripts including man page, …
fghalasz Apr 19, 2025
e4acfce
Rearrange loadup script directories; add loadup-*.sh scripts that jus…
fghalasz Apr 19, 2025
33a21f7
Add -thinw, -thinl and -nocopy options to loadup script. Add these t…
fghalasz Apr 19, 2025
62b5183
Fix git handling in loadup-setup. Fix logic of no_loadup flag in loa…
fghalasz Apr 19, 2025
7d8ad18
In loadup -apps now runs aux automatically. Can use -apps- toprevent…
fghalasz Apr 19, 2025
38dde9f
Fix typos on loadup man page
fghalasz Apr 20, 2025
8d0eef4
Oops forgot to publish updated man page before commiting.
fghalasz Apr 20, 2025
36098df
Various minor fixes based on running a loadup scripts thru shellcheck
fghalasz Apr 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ loadups/*.dribble
loadups/whereis.hash
loadups/apps.sysout
loadups/fuller.database
loadups/build/

# manual cross-reference files

Expand Down
79 changes: 61 additions & 18 deletions internal/loadups/LOADUP-APPS
Original file line number Diff line number Diff line change
@@ -1,43 +1,86 @@
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)

(FILECREATED "17-Jan-2023 20:34:02" {DSK}<home>frank>il>medley>gmedley>sources>LOADUP-APPS.;3 2095
(FILECREATED " 9-Mar-2025 20:03:27" {DSK}<home>frank>il>medley>internal>loadups>LOADUP-APPS.;10 3274

:CHANGES-TO (FNS Apps.RemoveBackgroundMenuItem)
:EDIT-BY "frank"

:PREVIOUS-DATE "17-Jan-2023 20:29:39" {DSK}<home>frank>il>medley>gmedley>sources>LOADUP-APPS.;2
:CHANGES-TO (FNS LOADUP-APPS)

:PREVIOUS-DATE " 9-Mar-2025 19:42:36" {DSK}<home>frank>il>medley>internal>loadups>LOADUP-APPS.;8
)


(PRETTYCOMPRINT LOADUP-APPSCOMS)

(RPAQQ LOADUP-APPSCOMS ((GLOBALVARS *ALL-BUTTONS* BackgroundMenuCommands BackgroundMenu)
(FNS Apps.LOADUP Apps.RemoveBackgroundMenuItem)))
(FNS LOADUP-APPS Apps.RemoveBackgroundMenuItem)))
(DECLARE%: DOEVAL@COMPILE DONTCOPY

(GLOBALVARS *ALL-BUTTONS* BackgroundMenuCommands BackgroundMenu)
)
(DEFINEQ

(Apps.LOADUP
[LAMBDA NIL (* ; "Edited 12-Nov-2022 14:03 by FGH")
(PROGN
(* ;; " Delete button(s) that are created when lispusers/BUTTONS is loaded")
(LOADUP-APPS
[LAMBDA NIL (* ; "Edited 9-Mar-2025 20:02 by frank")
(* ; "Edited 2-Jan-2025 20:38 by lmm")
(* ; "Edited 2-Jan-2025 06:30 by larry")

(* ;; "= = = = = = = = = = = = = = = = = =")

(* ;; " Load ROOMS")

(* ;; "")

(DOFILESLOAD `((SYSLOAD SOURCE)
(FROM ,(MEDLEYDIR "ROOMS"))
ROOMS))

(* ;; "======================")

(* ;; " Load Notecards and %"fix up%"")

(* ;; "")

(DOFILESLOAD `((SYSLOAD)
(FROM ,(CONCAT (UNIX-GETENV "NOTECARDSDIR")
"/system"))
NOTECARDS))
(Apps.RemoveBackgroundMenuItem 'NoteCards) (* ; "")
(PUTASSOC 'NOTECARDS (LIST (UNIX-GETENV 'NOTECARDS_COMMIT_ID))
SYSOUTCOMMITS)

(* ;; "======================")

(* ;; " Load CLOS and %"fix up%"")

(* ;; " Assumes that clos/DEFSYS.DFASL has already been loaded (so CLOS: package is defined)")

(* ;; "")

(LOADUP-CLOS)
(CLOS::LOAD-CLOS) (* ; "")
(Apps.RemoveBackgroundMenuItem 'BrowseClass)

(* ;; "= = = = = = = = = = = = = == = = = ")

(for B in *ALL-BUTTONS* do (DELETE-BUTTON B))
(* ;; " Load lispusers/BUTTONS and %"fix up%"")

(* ;; " Remove the BUTTONS BackgroundMenu item")
(* ;; "")

(Apps.RemoveBackgroundMenuItem "Button Control")
(DOFILESLOAD '((SYSLOAD)
BUTTONS))
(Apps.RemoveBackgroundMenuItem "Button Control")
(for B in *ALL-BUTTONS* do (DELETE-BUTTON B))

(* ;; " Remove the NoteCards Background Menu Item")
(* ;; "= = = = = = = = = = = = = == = = = ")

(Apps.RemoveBackgroundMenuItem 'NoteCards)
(* ;; " Do misc")

(* ;; " Remove the CLOS Background Menu Item")
(* ;; "")

(Apps.RemoveBackgroundMenuItem 'BrowseClass)
(RPLACA [CAR (LIST '(A B C]
NIL])
(PUTASSOC 'MEDLEY (LIST (UNIX-GETENV 'LOADUP_COMMIT_ID))
SYSOUTCOMMITS)
(PRINTOUT T "commits-- " SYSOUTCOMMITS T])

(Apps.RemoveBackgroundMenuItem
[LAMBDA (ItemStringOrAtom)
Expand All @@ -52,5 +95,5 @@
Apps.SBG])
)
(DECLARE%: DONTCOPY
(FILEMAP (NIL (647 2072 (Apps.LOADUP 657 . 1400) (Apps.RemoveBackgroundMenuItem 1402 . 2070)))))
(FILEMAP (NIL (656 3251 (LOADUP-APPS 666 . 2579) (Apps.RemoveBackgroundMenuItem 2581 . 3249)))))
STOP
Binary file modified internal/loadups/LOADUP-APPS.LCOM
Binary file not shown.
23 changes: 23 additions & 0 deletions internal/loadups/LOADUP-CLOS
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)

(FILECREATED " 9-Mar-2025 19:04:34" {DSK}<home>frank>il>medley>internal>loadups>LOADUP-CLOS.;1 600

:EDIT-BY "frank"

:CHANGES-TO (VARS LOADUP-CLOSCOMS))


(PRETTYCOMPRINT LOADUP-CLOSCOMS)

(RPAQQ LOADUP-CLOSCOMS ((FNS LOADUP-CLOS)))
(DEFINEQ

(LOADUP-CLOS
[LAMBDA NIL (* ; "Edited 9-Mar-2025 18:53 by frank")
(DOFILESLOAD `((SYSLOAD)
(FROM ,(MEDLEYDIR "CLOS"))
DEFSYS])
)
(DECLARE%: DONTCOPY
(FILEMAP (NIL (333 577 (LOADUP-CLOS 343 . 575)))))
STOP
Binary file added internal/loadups/LOADUP-CLOS.LCOM
Binary file not shown.
Loading
Loading