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

387 Commits

Author SHA1 Message Date
rmkaplan
3de2ebb719 FILEIO UNICODE: Fix THROUGHIN, cleanup UTF8-16 back 2021-08-06 10:36:05 -07:00
rmkaplan
b1d209484a FILEIO, MACHINEINDEPENDENT
\EXTERNALFORMAT extracts the format from a reader-environment
WRITEFILE uses the format in *OLD-IINTERLISP-READ-ENVIRONMENT* (now :XCCS)
2021-08-05 21:08:05 -07:00
rmkaplan
c2cff44a64 MACHIINEINDEPENDENT
MAKEFILE NEW with Interlisp read table, as per Larry's request
2021-08-05 15:17:41 -07:00
rmkaplan
c94e044bf3 FILEIO: Fix bad IF statement in \EXTERNALFORMAT 2021-08-05 14:44:01 -07:00
rmkaplan
d64e9282bf
DEFINE-FILE-INFO with its own reader environment (#381)
* DEFINE-FILE-INFO with its own reader environment

Including format.  That reader environment also allows colon as a package delimiter, in addition to the funky control and upper panel character.

"Function" is now a synonym for character set 2.  WITH-READER-ENVIRONMENT doesn't bind EXTERNALFORMAT.

* Changed *DEFAULT-MAKEFILE-ENVIRONMENT* to use Interlisp rdtbl

* Store FDEV's default externalformat in the FDEV

And related adjustments so that the display output stream (which is created in various places) is always created with the right (CR) EOL convention.  Also a little simpler interface for creating external formats.
2021-08-05 13:43:08 -07:00
Larry Masinter
9b7df4a022
Add option (mainly for Ron) to add tmp to front of directories where exports.all and other newly created sources will come from (when using SIMPLE-INIT). Modified fn MEDLEY-INIT-VARS in LOADUP-LISP. (#383) 2021-08-02 20:14:54 -07:00
rmkaplan
4ea68c6746 Store FDEV's default externalformat in the FDEV
And related adjustments so that the display output stream (which is created in various places) is always created with the right (CR) EOL convention.  Also a little simpler interface for creating external formats.
2021-08-02 19:56:19 -07:00
rmkaplan
ff134ecd23 Changed *DEFAULT-MAKEFILE-ENVIRONMENT* to use Interlisp rdtbl 2021-08-01 21:03:24 -07:00
rmkaplan
925adc1deb DEFINE-FILE-INFO with its own reader environment
Including format.  That reader environment also allows colon as a package delimiter, in addition to the funky control and upper panel character.

"Function" is now a synonym for character set 2.  WITH-READER-ENVIRONMENT doesn't bind EXTERNALFORMAT.
2021-07-30 19:37:48 -07:00
Larry Masinter
4efe2f93af
Merge (rebase) Cleanup-character-IO-interfaces with master (#356)
* Cleanup  of character IO interface

Committing this branch for further testing.  I know at least that the TTY output stream somehow is defaulting to :XCCS, which is wrong, but I haven't yet found the interface for that.

* Clean out \NSIN etc

No top-level calls to the NS specific functions, just to the generic \OUTCHAR etc.

Updated full.database

* MODERNIZE: added dragging for fixed-menu windows

They can be dragged by their title bars

* UNICODE:  Added Greek to the default set

Also made spelling of default-externalformats consistent with FILEIO

* FASLOAD: EOL conversion in FASL::READ-TEXT

EOL's printed as LF's will be read as EOL

* LLREAD:  Added meta as a CHARACTERSETNAME

meta,a maps to 1,a now.  But slowly propagating this to TEDIT, SEDIT, etc will make it easier to change the coding of meta characters, e.g. as part of a Unicode transition.

* APRINT FILEIO LLREAD: \OUTCHAR now a closed function

Removed the macro

* LLKEY: call CHARCODE.DECODE directory in \KEYACTION1

Minor cleanup, avoid typical user entry and APPLY*

* WHEELSCROLL: re-enable on AFTERMAKESYS/SYSOUT FORMS

Also sets up mappings in the \COMMANDKEYACTIONS, whatever that is

* ABASIC:  NILL and ZERO change from LAMBDA NOBIND to LAMBDA NIL

So that things like Masterscope don't break

* MASTERSCOPE:  Added WHEREIS as last-resort for CONTAINS

Looks at the WHEREIS database, if present, for FNS and FUNCTIONS if it has no other information.  . WHO CONTAINS ANY CALLING FOO works, but not the inverse:  . WHO DOES FUM CONTAIN.  We still need to figure out why the CONTAINS table isn't populated

* POSTSCRIPTSTREAM: use standard \OUTCHAR conventions

Now uses generic \OUTCHAR to get the proper function from the stream (or default)

* Recompile with right EXPORTS.ALL

Some of the macros weren't correct.

* Fix POSTSCRIPTSTREAM

Cleaner separation between external \OUTCHAR and internal BOUT

* POSTSCRIPTSTREAM gets its own external format

* Minor fix

* Compile-time warning about EXPORTS.ALL

* MODERNIZE:  Modern button fn has same args as the original

For Notecards  #343

* Fixed another glitch in the MODERNIZE  arglist thing

\TEDIT.BUTTONEVENTFN actually takes a second STREAM argument.  I don't see where it is ever called with that.  The modernize replacement binds that argument, but it isn't being passed to the original.

* FILEWATCH:  added missing record field

* Update FILEWATCH.LCOM

* Eliminating record/type name conflicts

Mostly just qualifying references, more work to get BIGBITMAP stuff out of ADISPLAY and to eliminate ambiguity of LINE record (now XXLINE in XXGEOM)

* Compile away open calls to \OUTCHAR, add loadups/full.database

Mostly new LCOMS where \OUTCHAR calls were compiled open

* Remove garbage library/XCCS

Old tools for reading wikipedia XCCS tables, sources/XCCS will deal with XCCS external format

* Next step:  Remove open input-character calls, factor XCCS to separate file

XCCS is the default, but can be swapped out (eventually) by setting a few variables, without recompiling everything

* Lots of residual cleanup for XCCS isolation

* Delete old file MACINTERFACE (migrated to MODERNIZE)

* Eliminate straggling NS calls:  LAFITE, READINTERPRESS

* Typo

* READINTERPRESS:  removed CHARSET

* MODERNIZE: Interface to control title-bar response (for Notecards)

* Many changes for external format name consistency

Very close to the end of this

* Put :FORMAT in file info, fix TEDIT plaintext hardcopy

I distributed :FORMAT :XCCS as the default marking, but somehow one of the variables seems to get revert during the loadup.  This is correct, as far as it goes.

* Getting the format in the file-info

This is all very twisty, different variables set in different places.  It now seems to do the right thing, at least for new files.  Marks them with :FORMAT :XCCS.

* Another fileinfo glitch

* CLIPBOARD -UNICODE:  Make UTF8 to UTF-8 to match standards

* MODERNIZE:  fix bug in MODERWINDOW

* External format as MAKEFILE option, LOAD applies the file's format

(MAKEFILE 'XX '((FORMAT :UTF-8)))
  will dump XX as a UTF-8 file.  LOAD will load it back to XCCS internal.

* Compilers respect DEFINE-FILE-INFO format

* MODERNIZE:  little glitch

* Delete old FILEIO.LCOM

* More edge cases of external format thru MAKEFILE, PRETTY, PRETTYFILEINDEX etc.

* FILEBROWSER:  Can SEE UTF-8 Lisp sourcefile

* INSPECT:  Better macro for inspecting readtables

* recompile changed files and do new loadup

Co-authored-by: rmkaplan <ron.kaplan@post.harvard.edu>
2021-07-29 17:07:23 -07:00
Larry Masinter
105b0d1f3a Some files were checked in with only versioned files (from unix side) 2021-06-23 20:52:49 -07:00
Larry Masinter
a781751832
Better handling of no-ether when starting without ethernet (#327)
* Better handling of no-ether when starting without ethernet

* before save, with ether, clear \ETHERPORTS, passwords

* move SUBRCALL to separate function
2021-05-06 15:05:19 -07:00
Larry Masinter
0a5ff04393
Use .CM to loadup full, to avoid GREET call (#322) 2021-05-01 20:43:14 -07:00
rmkaplan
05df858e55 Revert Linebuffer to CR
Explicitly made LINEBUFFER in ATERM specify CR independent of the new default stream EOLCONVENTION of LF in FILEIO.  Don't know why the TTY editor needs CR.
2021-04-29 09:53:56 -07:00
Larry Masinter
f64f8bbb87
loadup cleanups (#306) 2021-04-28 18:07:23 -07:00
Larry Masinter
2388f730ca
fix permissions (#307) 2021-04-28 17:57:07 -07:00
rmkaplan
f0ad3c5f60
All source files converted to LF (#315)
* All source files converted to LF

Also, HPRINT:  EQUALALL knows about CL arrays
FILEIO:  STREAM record with fields for external format functions

* Delete makeinit.dribble

* Converted CR to LF on internal/library and docs/Documentation Tools
2021-04-28 15:36:03 -07:00
rmkaplan
21c8759084
Change default EOL to LF on UFS (#312)
UFS changes the the default in \UFSeol to LF.EOLC.  LLREAD changes \rprint2 to convert EOL to LF if escaped in a string.  NSPROTECTION eliminates literal EOL
2021-04-22 21:10:48 -07:00
Larry Masinter
1d81350714 guard didn't include #endif 2021-04-05 21:56:17 -07:00
Larry Masinter
5a83a9cd8f Add writing guard and running again 2021-04-05 21:56:17 -07:00
Larry Masinter
7d8efbdfd6 Fix MAKESYSNAME (misspelled) and move GATHER-INFO to my personal init 2021-04-05 21:53:13 -07:00
Larry Masinter
6e9791ad0a Add back in files that were in lisp.venuesysout 2021-04-05 21:53:13 -07:00
Larry Masinter
3e64317db5 TEMPORARILY add files needed to compile (or load) that had been moved to 'obsolete/' 2021-03-31 14:07:31 -07:00
Larry Masinter
78d53039c5
dwim dwimify checktran fix (#295)
* Use checktran for all uses except in newfault1 block

* Replace CHECKTRAN+ with /DWIMCHECKTRAN only used in DWIM to undoably /RPLNODE the original, e.g. for spelling correction. Should be fixed for CL:LAMBDA
2021-03-22 20:25:17 -07:00
Larry Masinter
094f0146c9
sysout logout version (#296)
* Fix sysout makesys to make new versions

* redoing some lost edits
2021-03-22 20:22:22 -07:00
Larry Masinter
3c33ba0b7e
Revert "Fix sysout makesys to make new versions (#277)" (#293)
This reverts commit 3409522d6718e180245ef6ad34575ccb10d61609.
2021-03-22 09:56:33 -07:00
Larry Masinter
489642573d
Revert "Checktran called from outside block, remove one blockcompile (#278)" (#292)
This reverts commit ada3a6391ac119aee45ff1930948f5ed72c72714.
2021-03-22 09:45:31 -07:00
Larry Masinter
ada3a6391a
Checktran called from outside block, remove one blockcompile (#278) 2021-03-22 09:33:55 -07:00
Larry Masinter
3409522d67
Fix sysout makesys to make new versions (#277)
* Fix sysout makesys to make new versions

* redoing some lost edits

* add new loadups
2021-03-22 09:31:52 -07:00
Larry Masinter
9975e44b0a
MAPATOMS contains an older definition (by a few hours) than fn in LLBASIC (#256) 2021-03-19 12:45:29 -07:00
Larry Masinter
9b80a9f81b
Changes to interpret.rem.cm and sysout et all (#273) 2021-03-15 17:18:00 -07:00
Larry Masinter
114fbebc5a
Remove awkward duplicate function CHECKTRAN (#274) 2021-03-15 16:41:50 -07:00
Larry Masinter
7c4b45fa81
new loadup full (#261)
* (hopefully) improve the loadup-full process

* go back to rebuilding in {CORE} and copy when done

* I think these fix the loadups problem

* perhaps unnecessary update but useful test'

* WIP: more loadup cleanup

* brute force: close open files when done loadup

* new loadups to match
2021-03-12 17:27:19 -08:00
Larry Masinter
f6eed8b043
READ-PRINT-PROFILE only mentioned by internal/library/MULTI-COMPILE (#258) 2021-03-10 21:42:00 +00:00
Larry Masinter
4119b2a680
Make exports.all and whereis.hash in tmp directory. Add script to release. (#249) 2021-03-09 17:25:13 -08:00
Larry Masinter
5d93ffc7c5
SUNFONT set DISPLAYFONTDIRECTORIES incorrectly (#248) 2021-03-09 17:21:50 -08:00
Larry Masinter
b5fdf0fd50
XREM.CM used in mid-from-init loadup script doesn't need package lookups (#246) 2021-03-08 22:52:49 -08:00
Larry Masinter
a0f3d8b475
remove nits (#245)
* Not 100% sure about this one, looks like proposed change not sure if it was taken o abandoned; no referenced

* YREM.CM was used with old loadup process; P4A.scn isn't referenced, looks like junk
2021-03-08 22:44:03 -08:00
Larry Masinter
3e6e104d86
Main cleanup of new init process, scripts, etc (#243) 2021-03-08 22:36:27 -08:00
Larry Masinter
ea9137f71f
Of historical interest: BCPL and Dorado microcode, moved (#240) 2021-03-08 22:22:39 -08:00
Larry Masinter
6c3fcbac7e
SYNCLISPFILES was the way of patching sysouts but it was unreliable, full of special cases, obsolete now (#242) 2021-03-09 04:51:22 +00:00
Larry Masinter
6f9648868b
delete WINDOW-OLD, old version of WINDOW (#241) 2021-03-09 02:51:25 +00:00
Larry Masinter
9464ec780c
remove note files (#238) 2021-03-08 17:04:48 -08:00
Larry Masinter
ec63826fdd
Removed files duplicated in Lispusers (#237) 2021-03-08 17:02:04 -08:00
Larry Masinter
a4f447565e
Move unused X-window package sources to obsolete (#236) 2021-03-08 17:01:42 -08:00
Larry Masinter
55d6821966 Early file cleanup; move networking-related maikoloadupfns to another file 2021-03-03 14:18:40 -08:00
Larry Masinter
e02c47e90c Merge of LOAD-FULL from Ron and makeinit7, redone 2021-02-28 19:53:57 -08:00
Larry Masinter
1dcd55b258 Merge in changed files 2021-02-28 18:08:43 -08:00
rmkaplan
2f1b68ea4f MODERNIZE: More work on attached windows, LOADUP-FULL with MODERNIZE replacing MACINTERFACE 2021-02-27 22:01:14 -08:00
Larry Masinter
d6f40b5437 set makesysname 2021-02-24 11:33:14 -08:00