* INSPECT: Sort datatype fields alphabetically, fixed a small bug
* INSPECT: Sort only DATATYPE records
* VIRTUALKEYBOARD: fix loadup
* Reorganizing VIRTUALKEYBOARDS as described in #1267
* KEYBOARDEDITOR: fixed one bug, still is out of step
* MEDLEYDIR: Pack DSK as the default HOST on the value of (UNIX-GETENV "MEDLEYDIR")
* Move KEYBOARDCONFIGS KEYBOARDEDIT to library/virtualkeyboards
This collects all files relevant to VIRTUALKEYBOARDS into the same subdirectory
* NEARESTCORNER must be onscreen (addresses #1294
Mouse jumps to the nearest onscreen corner of the ghost region
* EQUALALL tests equivalence of bitmaps and big bitmaps
* Oops, off by one
* INSPECT: had wrong test in deciding whether to sort or not
* Improve check for closed stream in \UFSCloseFile.
Check if the (STREAM ACCESS) bits are NIL, indicating a closed stream, and
if so do not attempt to close the file again
* COMPAREDIRECTORIES, COMPARESOURCES, COMPARETEXT, EXAMINEDEFS
Relatively minor cleanups, little or no functionality improvements
* Remove calls to OPENFILE
OPENFILE is a residual Interlisp function that returns a litatom instead of a stream. In almost all cases, this immediate causes an error that litatom files are no longer supported. I have found (FINDCALLERS) all the examples in lispusers/sources/library/ and replaced OPENFILE with OPENSTREAM (except for the calls from \PEEKPUP and \PEEKNS, that I didn't track down). There was a trivai call in COMPILE.FILECHECK in COMPILE, but that function is not called anywhere. So I removed it.
* ADIR: remove OPENFILE calls, also another stab at \COPYSYS
With respect to \COPYSYS, this replaces the draft PR #1263. This applies TRUEFILENAME at the start, but remembers whether it was in fact a pseudohost and restores that for the return value. So if you start in a pseudo world you end up there.
* Next version of TEDIT core files
* Update
* Update
* UPDATE
* UPDATE
* UPDATE: FORCE-END fix
* FILEIO: OPENSTREAM parameters default to STREAMPROP
also add LINELENGTH
* Expose useful subfunctions
* TEDITDORADOKEYS - compatibility with new declarations
* Update tedit-exports.all
* * removed from title when all changes are undone
* Delete old tedit fiels
* Add TEDIT.FILEDATE
* REGISTER-TYPED-REGION creates a new TYPED-REGIONS entry
If a window is closed whose region is of an as-yet-unknown type, a new entry will be added implicitly to TYPED-REGIONS to that that region and future regions of that type can be recycled.
* COMPAREDIRECTORIES: Get AUTHOR only if selected
This may provide a little speed up. But of more importance, almost all the array crashes I am seeing are underneath (GETFILEINFO xxx 'AUTHOR). The UFS implementation may be smashing array space, or maybe it is just detecting the corruption. For now, I'm eliminating this potential source of bad behavior.
* Hilighting and caret flashing in split windows
* A little more on window splitting caret/hilights
* Rename caret functions
* REGIONMANAGER: Compatibility with REGIONMANAGER PR
* EXAMINEDEFS: Better interpretation of TYPE NIL = (FNS FUNCTIONS) with better formatting
* Refining caret behavior, importing separate changes also in other PRs for compatibility
* Mostly dealing with highlighting and caret flashing in split windows
* FONTPROFILE: specvars declaration for cleanliness
* Prep for UTF8, a little performance tuning
* Meta EOL = non-paragraph linebreak
* Back-scrolling based on linebreak characters, not paragraph breaks, also eliminate obsolete code
* FIddling around with window titles (getting *'s when changed), dealing with titles not computed by Tedit
* Recompile DOC-OBJECTS because \DIRTY bit has changed
* COMPARETEXT: fixed to avoid EOF error if EOL gets confused
* CLIPBOARD (bug fix also a separate PR)
* \TEXTBOUT of EOL doesn't create a paragraph, though typing does
Otherwise, every line in a plaintext or lisp sourcefile is a separate paragraph, which adds unnecessary overhead.
* TEDIT-PCTREE: Move some straggling piece and btree functions to their proper home
* Change \TEDIT2 to \TEDIT1 as a way of recognizing a Tedit process
* Prepping for more speed up in SEEing of large source files
* Miscellaneous stability/maintenance/performance changes
Fixes the TEDIT.TITLEMENUFN problem, adds TEDIT.COLLECT.OBJECTS
* TEDIT-FILE : fix readers for obsolete Tedit file formats
* Cleanout misplaced pane/ files
* Fix for most of the lispusers/ hardcopy failures
They all had to do with the diacritic overbar in Env-os.
* Another diacritic glitch
* MODERNIZE: Fixed off by one bug in NEARESTCORNER
* Update tedit-exports.all
* The "HELP PURGE" problem, plus a little cleanup
* hide initial caret in menus
* TEDIT-LOOKS, TEDIT-PCTREE: prep for reducing FIXP's
* LLSYMBOL's FILEMAP was also incomplete
This update hopefully won't reveal any other problems
* Introduce NOTSPLITTABLE TEXTPROPERTY
If T, window-splitting cannot happen for this text stream. Hopefully removes need for Notecards advice on \TEDIT.SPLITW.
* PSEUDHOSTS and .TEDIT: Apply TRUEFILENAME on PREFIX, update documentation
Documentation addresses #1303 . Using TRUEFILENAME makes sure it always goes to a ground instance in e.g. (PSEUDOHOST 'MEDLEY '{MEDLEY}).
* Don't allow Put of readonly file
* Inverted selection (black) hilights in readonly texts
More visible than a little underline when there is no blinking cursor
* Remove redundant type-tests
The I.S.OPRs test the I.V. type for lines and pieces, so that field accesses can safely be fast inside the loops
* MULTIPLE-HARDCOPY: at least fix obvious issues with new Tedit
Also avoided FILELST as a bound variable. This needs work and maybe a little support from Tedit--it shouldn't be advising and unadvising a Tedit function.
* TEDIT-SELECTION: Fix hilighting glitch with READONLY texts
(Shift select should have its usual highlighting)
* TEDIT menus are not splittable
* TEDIT-FILE fixes imageobj bug in old Tedit formats
Revealed by running HCFILES
* Improve conversion of unformatted to formatted
Also cache HINTPC inside \CHTOPC
* Fix to pageregion problem in old versions
Also adds TEDIT.NCHARS
* Code cleanup after testing faster scrolling
* EXTERNALFORMAT: \CHECKECOLC macro confusedf ANY vs CR EOL convention
* Recompile callers of \CHECKEOLC macro
* EXTERNALFORMAT: \CHECKECOLC macro confusedf ANY vs CR EOL convention
* Recompile callers of \CHECKEOLC macro
* Mostly work on scrolling and HCFILE issues
* Trying to fix PSEUDHOSTS conficts
* PDFSTREAM
Backing up to fix merge problems
* update EXTERNALFORMAT to avoid conflicdt
* Mostly diacritic display and hardcopy
* Change DIRTY field to LDIRTY
* Added new user function TEDIT.FINDLOOKS
* WINDOWOBJ: READIMAGEOBJ doesn't ask for permission
If the image object is on a hyphenated file and it can find a nonhyphenated sister, it loads that. If that doesn't provide the getfn, it tries the original file.
* If ANY and no CR after LF, return EOL instead of CR
* Move charset management to externalformat (addresses #1454)
Removed IMCHARSET from IMAGEOPS declaration, added FORMATCHARSETFN to EXTERNALFORMAT, put XCCS charset handling in the XCCS externalformat.
* XCCS, fixed a glitch
* Fix EXTERNALFORMAT clash
* Mostly CHARENCODING
* TEDIT-PF-SEE: Use TEDIT.ATOMBOUND.READTABLE
Tedit word-selection → atom selection in source files
* For merging with new charset arrangement
* Mostly work on hardcopy-display
Also asks before it saves a plaintext file as a formatted file
* Changing to hardcopy display doesn't mark "dirty"
* Mostly Put and Get, reorganizing for UTF8, plus odds and ends
* Straggler: TMAX-XREF.LCOM
* Meta-EOL
* Fix and extend page-format updates
Original TEDIT.PAGEFORMAT was unsafe and less useful. Also did not update history for undoing.
* Use window's screen's height/width to test offscreen
* Write and read unbreakable character property
* Don't suggest put-name if TEMPLATE
* 2 point hilight if readonly
* Mostly proper treatment of invisible pieces and forward char-delete
* Forward word delete, better paragraph selection, cleanup, lisp source atom selection
* fix conflicts for merge
* fix incompatible merge
* Updates including UTF-8 plaintext files
Other continuing cleanups
* Continue edit after writing out UTF-8 plaintext
* TEDIT-FILE EOL stays EOL after putting to a different EOL convention
for continued editing.
* Update EXTERNALFORMAT from master
* Get rid of needless file change
* EOL processing
* Fix Lafite glitches
Including relaxing constraints on the order of pieces in Tedit files.
* Unsplit any existing panes before main window is reused
* TEDIT-FILE glitch
* Better TEDIT.FORMATTEDFILEP, more TEDIT.CONCAT
* Headings with concatenated Tedit files
* Adjust page headers and numbers
* Reshaping reestablishes the YBOT of PLINES
* Tighten up on binable, better error when binning on empty textstream
* TEDIT.PUT.STREAM, left click gives point selection
* TEDIT.PUT.STREAM
* Unhighlighting of menu buttons
related to point vs. single-character selection
* Better behavior when moving to foreign target
also some cleanup of the file-putting code
* More improvements to cursor tracking
* Single-char shift-selection (lost an edit)
* Try it again
* Suppress EOF error
* BIN instead of GETBASEBYTE, more cleanup of buttonevent and TEDIT.PUT
* Mostly work on process and menu configuration
* A little more careful in choosing the current selection (as opposed to prior search target) for find and substitutes
Use the selection if it is greater than a single character, otherwise the prior target. meta,G is available for clearly just repeating the prior target.
* Make the names of the Tedit menu process more distinctive
E.g. TEDIT-Charlooks instead of TEDIT#2. TEDIT and TEDIT#n stand out as the document processes.
* Logically correct undo of Move between different documents
The destination document keeps the delete event in the source, if it is still the most recent source event when the move is undone, the deletion is undone in the source. Otherwise, the deletion is ignored.
* Line spacing reflects offsets
* TEXTPROP returns length
* TEDIT-HISTORY: Redo of a move just does a new-location insert
* remove unwanted cpv from PR
* Removed the unecessary SPTEXTOBJ field in SELPIECES, move work on move-undo
* Fix hardcopy bug
* More work on the hardcopy interface
* TEDIT-FILE addresses put of empty stream (issue #1577)
---------
Co-authored-by: Nick Briggs <nicholas.h.briggs@gmail.com>
Co-authored-by: Larry Masinter <lmm@acm.org>
* COMPAREDIRECTORIES, COMPARESOURCES, COMPARETEXT, EXAMINEDEFS
Relatively minor cleanups, little or no functionality improvements
* COMPAREDIRECTORIES: Get AUTHOR only if selected
This may provide a little speed up. But of more importance, almost all the array crashes I am seeing are underneath (GETFILEINFO xxx 'AUTHOR). The UFS implementation may be smashing array space, or maybe it is just detecting the corruption. For now, I'm eliminating this potential source of bad behavior.
* EXAMINEDEFS: Better interpretation of TYPE NIL = (FNS FUNCTIONS) with better formatting
* COMPARETEXT: fixed to avoid EOF error if EOL gets confused
* COMPARETEXT: Inverted nodes stay inverted when scrolled
* COMPARESOURCES: Remove unused stub for browsing in TEDIT window
* COMPAREDIRECTORIES: Upgrade to new LISPFILETYPE, add CD-COMPARE-FILES
CD-COMPARE-FILES interface to compare 2 given files, not whole directory
* TEDIT: Show only file name, not stream address
* COREIO: preserve STREAMPROPS on stream reopen
* GITFNS: Various project and git-interface cleanups
* SETSTRINGLENGTH.TEDIT: Orphan TEDIT file, no code in lispusers
It will be restored when the code it goes with is moved over from LFG
* COMPAREDIRECTORIES: minor fix
* COMPARESOURCES: Add IGNORECOMMENTS flag
* GITFNS: Add new "project" capability for multiple clones
The TEDIT file got smashed, so new features are not yet documented. Should work as before for the Medley project. If you set up unix variables LOOPS or NOTECARDS to point to their local clones (or just name the clones git-loops or git-notecards as sisters to your MEDLEYDIR), you should be able to do prc loops or prc notecards.
* Update GITFNS.TEDIT
Repaired the Tedit smash
* EDITINTERFACE: All date comments at the same comment level
* EDITINTERFACE: Improved date alignment
* GITFNS again: added cdg and cdw commands
* PSEUDOHOSTS: Overlay a file system at the end of a path in another file system
New package, please look through it.
* REGIONMANAGER: added RELCREATEPOSITION, allow for arguments to be spread
If the WIDTH argument looks like a list of arguments, the arguments are spread out. Means that a relative region can be passed through intermediate functions.
* EXAMINEDEFS: More control over regions and windows
Examination windows are returned so that callers can manipulate them
* TEDIT-PF-SEE: tf respects reader environment and bold faces of DEFUN and DEFMACRO names
* COMPAREDIRECTORIES: refactored for more flexibility and easier maintenance
Also, based on SPY, made more internal operations work on streams that are located and created once, rather than on file
Added CDMERGE to merge CDVALUES for different subdirectories, to permit scrolling of all differences in a single browser window
* COMPARESOURCES: Region for CS browser is passed through, window is returned
Also tried to eliminate mismatching of simple edit timestamps
* COMPARETEXT: Files can be input streams, region is passed in, window is returned
* COMPAREDIRECTORIES again: Fixed a promptwindow bug
* GITFNS: New package for comparing and copying back and forth from My Medley to the git clone
* REGIONMANAGER: Added CLOSEWITH and MOVEWITh
Primitives for building hierarchically dependent window clusters
* PSEUDOHOSTS: Added PSEUDOHOSTNAME, hierarchical hosts #663
For hierarchical hosts (hosts whose prefixes are extensions of the prefixes of other pseudohosts), always the pseudofilename is always the shortest one. See #663 for more details
* EXAMINEDEFS: Fix prettyprint of non-function expressions
* GITFNS, Comparison files: Use CLOSEWITH and MOVEWITH abstractions for window hierarchies
* PSEUDOHOSTS: Overlay a file system at the end of a path in another file system
New package, please look through it.
* REGIONMANAGER: added RELCREATEPOSITION, allow for arguments to be spread
If the WIDTH argument looks like a list of arguments, the arguments are spread out. Means that a relative region can be passed through intermediate functions.
* EXAMINEDEFS: More control over regions and windows
Examination windows are returned so that callers can manipulate them
* TEDIT-PF-SEE: tf respects reader environment and bold faces of DEFUN and DEFMACRO names
* COMPAREDIRECTORIES: refactored for more flexibility and easier maintenance
Also, based on SPY, made more internal operations work on streams that are located and created once, rather than on file
Added CDMERGE to merge CDVALUES for different subdirectories, to permit scrolling of all differences in a single browser window
* COMPARESOURCES: Region for CS browser is passed through, window is returned
Also tried to eliminate mismatching of simple edit timestamps
* COMPARETEXT: Files can be input streams, region is passed in, window is returned
* COMPAREDIRECTORIES again: Fixed a promptwindow bug
* GITFNS: New package for comparing and copying back and forth from My Medley to the git clone
* TEXTOFD: Property OBJECTBYTE returned instead of image objects
This allows COMPARETEXT to work on TEDIT files
* ATBL: Default reader environment uses *DEFAULT-EXTERNALFORMAT* instead of :XCCS constant
* CMLEXEC: Fix FILETYPE property
It had CL:COMPILE-FILE, but the directory had LCOMs. Changed to :FAKE-COMPILE-FILE.
* FILEIO: single place for EOL specification
Now only in SETFILEINFO, not separately in \DO.PARAMS.AT.OPEN
* WINDOWOBJ: COPYINSERT now uniformly allows lists of objects
It was incomplete.
* COMPARETEXT: Now works for TEDIT files
* EXAMINEDEFS: side-by-side attached SEDIT windows for comparing alternative definitions
* OBJECTWINDOW: container for arbitrary image objects
* ATBL: fixed typo
* MODERNIZEP: pass shape and move to main window if PASSTOMAINCOMS
* EXAMINEDEFS: Remove EXAMINEDEFS-REGION
Replaced by equivalent functionality in new package REGIONMANAGER
* TEDIT: adjustments to give caller control of window region
* Revert "TEDIT: adjustments to give caller control of window region"
This reverts commit aec12b41f0877d4d8b0864bdabc7cc412a313bc9.
* Revert "EXAMINEDEFS: Remove EXAMINEDEFS-REGION"
This reverts commit 0c670bbc564499f72c17bbfbc0eb24a7da4059b4.
* TEDIT, TEDITWINDOW: Adjustments for propagating (typed) regions
* EXAMINEDEFS: added EXAMINEFILES for looking viewing files side-by-side
Fix titling glitch, add EXAMINEFILES
* OBJECTWINDOW: minor cleanup
* REGIONMANAGER: new package for managing typed regions, relative regions, and constellation regions
* TEDIT-PF-SEE: commands for scrollable PF and SEE alternatives
* COREIO: Fixed bug in \CORE.SETFILEINFO
* COMPAREDIRECTORIES: Added CDBROWSER
and associated reworking
* COMPARESOURCES: Added CSBROWSER
and associated reworking
* COMPARETEXT: Reworked for TEDIT files
Also for better window management