/[climacs]/climacs/packages.lisp
ViewVC logotype

Log of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.139 - (view) (annotate) - [select for diffs]
Sun Jun 15 09:11:23 2008 UTC (5 years, 10 months ago) by thenriksen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.138: +1 -1 lines
Diff to previous 1.138 , to selected 1.7
Use ESA-UTILS:FORMAT-SYM for formatting symbols.

Revision 1.138 - (view) (annotate) - [select for diffs]
Tue Feb 5 22:07:31 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.137: +1 -0 lines
Diff to previous 1.137 , to selected 1.7
Added hackish implementation of typeout overlays. They are used for
symbol-completion in Lisp syntax and not really anything else.

They're also not keyboard-sensitive or anything. I plan on making them
appear like an actual window to Climacs, so they fit in with the
command loop, though they'll still be highly ephemeral. They are not
to be used to display information that should stay alive during an
editing session.

Revision 1.137 - (view) (annotate) - [select for diffs]
Tue Jan 29 23:09:22 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 , to selected 1.7
Added sweet new menu items.

Revision 1.136 - (view) (annotate) - [select for diffs]
Wed Jan 23 18:17:05 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 , to selected 1.7
Added code by Rudi Schlatte to integrated Climacs with CL:ED. Only
SBCL is supported for now.

Revision 1.135 - (view) (annotate) - [select for diffs]
Mon Jan 21 17:19:34 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.134: +2 -1 lines
Diff to previous 1.134 , to selected 1.7
Added Print Last Expression command, TODO changes and README changes,
courtesy of Cyrus Harmon.

Revision 1.134 - (view) (annotate) - [select for diffs]
Sun Jan 20 19:51:48 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.133: +8 -9 lines
Diff to previous 1.133 , to selected 1.7
Revamped typeout panes and turned them into typeout views.

Stability not guaranteed, the code is... special.

Some things are still known to be suboptimal.

Revision 1.133 - (view) (annotate) - [select for diffs]
Fri Jan 18 07:44:57 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.132: +1 -1 lines
Diff to previous 1.132 , to selected 1.7
Added `switch-or-move-to-view' function.

Revision 1.132 - (view) (annotate) - [select for diffs]
Fri Jan 18 07:16:25 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.131: +1 -1 lines
Diff to previous 1.131 , to selected 1.7
Added `switch-to-pane' restart for (setf view).

Revision 1.131 - (view) (annotate) - [select for diffs]
Sat Jan 12 11:49:35 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.130: +1 -0 lines
Diff to previous 1.130 , to selected 1.7
Added *climacs-text-style* variable for customisation.

Revision 1.130 - (view) (annotate) - [select for diffs]
Fri Jan 11 02:15:08 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.129: +7 -0 lines
Diff to previous 1.129 , to selected 1.7
Moved Structedit's defpackage form into packages.lisp and exported
some symbols from it.

Revision 1.129 - (view) (annotate) - [select for diffs]
Thu Jan 10 14:15:51 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 , to selected 1.7
Fixed Text syntax.

Revision 1.128 - (view) (annotate) - [select for diffs]
Sun Jan 6 10:26:12 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.127: +1 -1 lines
Diff to previous 1.127 , to selected 1.7
Implemented support for scrolling typeout panes in M-C-v, M-C-V.

Revision 1.127 - (view) (annotate) - [select for diffs]
Sat Dec 8 08:55:06 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.126: +20 -8 lines
Diff to previous 1.126 , to selected 1.7
Changed Climacs to use a view-paradigm. Somewhat hacky, probably buggy.

Revision 1.126 - (view) (annotate) - [select for diffs]
Fri Nov 16 09:29:47 2007 UTC (6 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.125: +4 -3 lines
Diff to previous 1.125 , to selected 1.7
Restored Climacs' Group-support.

Revision 1.125 - (view) (annotate) - [select for diffs]
Mon Jun 4 21:52:06 2007 UTC (6 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.124: +4 -0 lines
Diff to previous 1.124 , to selected 1.7
Put Text Syntax into its own package.

Revision 1.124 - (view) (annotate) - [select for diffs]
Tue May 1 17:09:52 2007 UTC (6 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.123: +10 -0 lines
Diff to previous 1.123 , to selected 1.7
Added initial support for Java syntax.

Revision 1.123 - (view) (annotate) - [select for diffs]
Fri Apr 27 21:39:23 2007 UTC (6 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.122: +10 -0 lines
Diff to previous 1.122 , to selected 1.7
Added splittist's in-progress (but very screenshotable!) C syntax
module.

Revision 1.122 - (view) (annotate) - [select for diffs]
Sun Nov 12 21:07:59 2006 UTC (7 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.121: +1 -1 lines
Diff to previous 1.121 , to selected 1.7
Oops. Remove mention of :flexi-streams package.

Revision 1.121 - (view) (annotate) - [select for diffs]
Sun Nov 12 16:06:06 2006 UTC (7 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.120: +28 -378 lines
Diff to previous 1.120 , to selected 1.7
Make Climacs use Drei. There are known problems (apart from the docs
now being outdated):

* Some syntaxes have not been updated.
* Group functionality has been disabled.
* It's a large change and Climacs has no test suite. Bugs probably
  still remain.

But it should work nicely most of the time. Otherwise, you'll get a
full refund.

Revision 1.120 - (view) (annotate) - [select for diffs]
Fri Sep 15 22:34:24 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
CVS Tags: works-with-0_9_3
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 , to selected 1.7
Added new utility function (`list-aref'), added Lisp parser
recognition of incomplete quote forms, added support for "blank"
completion in Lisp syntax, so you no longer need to complete from a
symbol, but can get a list of all (applicable) completions. Is very,
very slow when listing all possible symbols due to the "slow" McCLIM
menu implementation.

Revision 1.119 - (view) (annotate) - [select for diffs]
Tue Sep 12 19:49:18 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.118: +1 -0 lines
Diff to previous 1.118 , to selected 1.7
Try to naively unbreak typeout panes a little more. Also some fixes
related to accepting buffers.

Revision 1.118 - (view) (annotate) - [select for diffs]
Mon Sep 11 20:13:32 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.117: +14 -5 lines
Diff to previous 1.117 , to selected 1.7
Added utils.lisp file and CLIMACS-UTILS package so it's no longer
necessary to hand-roll `with-gensyms', `once-only' and other helpful
macros.

Revision 1.117 - (view) (annotate) - [select for diffs]
Wed Sep 6 20:07:21 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.116: +19 -1 lines
Diff to previous 1.116 , to selected 1.7
Added Group functionality to Climacs (the additions to the User Manual
was erroneously part of my previous commit). Needs testing and better
support from search/replace commands.

Revision 1.116 - (view) (annotate) - [select for diffs]
Mon Sep 4 09:00:30 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.115: +11 -1 lines
Diff to previous 1.115 , to selected 1.7
Added GNU Emacs-style rectangle editing.

Revision 1.115 - (view) (annotate) - [select for diffs]
Mon Sep 4 07:05:21 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.114: +1 -0 lines
Diff to previous 1.114 , to selected 1.7
Add `move-to-column' function to CLIMACS-BASE.

Revision 1.114 - (view) (annotate) - [select for diffs]
Sun Sep 3 21:23:29 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.113: +1 -0 lines
Diff to previous 1.113 , to selected 1.7
Implement `frame-current-buffer' and define and export `current-mark'.

Revision 1.113 - (view) (annotate) - [select for diffs]
Sat Sep 2 21:43:56 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.112: +12 -12 lines
Diff to previous 1.112 , to selected 1.7
Removed the Basic syntax and the `cache' slot in the `climacs-pane'
class. Fundamental syntax is now the default. This also required
moving some things around, but there has not been any functionality
changes.

Revision 1.112 - (view) (annotate) - [select for diffs]
Sun Aug 20 13:06:38 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.111: +14 -10 lines
Diff to previous 1.111 , to selected 1.7
Changed Climacs to use the ESA-IO and ESA-BUFFER functionality instead
of duplicating essentially the same code across multiple
projects. This is rather invasive as some of the ESA functions have a
subtly different signature.

Revision 1.111 - (view) (annotate) - [select for diffs]
Fri Aug 11 21:59:05 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.110: +1 -0 lines
Diff to previous 1.110 , to selected 1.7
* Added `display-syntax-name' generic function so syntaxes can do more
  than just return a string for their info-pane.

* Changed package display for Lisp syntax so the package specified by
  the `in-package' form preceding point will be displayed, whether or
  not the package can be found in the image. If it cannot be found,
  the specified package name will be displayed in italics in the
  info-pane.

* Changed `with-syntax-package' to rebind `*package*' instead of just
  being a glorified `let'-wrapper.

* Changed other bits and pieces that depended on the prior behavior of
  the above three changes.

Revision 1.110 - (view) (annotate) - [select for diffs]
Tue Aug 1 16:06:37 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.109: +4 -1 lines
Diff to previous 1.109 , to selected 1.7
Yet another big patch:

    * Added Set Package and Set Syntax commands to Lisp syntax.

    * Added Update Attribute List command (and associated functions).

    * Fixed issue in Lisp syntax where deletion of `(in-package)'
      forms was not properly picked up.

Revision 1.109 - (view) (annotate) - [select for diffs]
Thu Jul 27 10:39:32 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.108: +1 -0 lines
Diff to previous 1.108 , to selected 1.7
Updated the kill ring protocol to signal a condition if a yank
operation is attempted on an empty kill ring, updated the kill ring
documentation, added kill ring tests to the test suite.

Revision 1.108 - (view) (annotate) - [select for diffs]
Tue Jul 25 11:38:05 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.107: +29 -8 lines
Diff to previous 1.107 , to selected 1.7
More refactoring of stuff out from CLIMACS-GUI to CLIMACS-CORE and
CLIMACS-COMMANDS. More reusable functions have been moved from the
*-commands.lisp files to core.lisp.

Revision 1.107 - (view) (annotate) - [select for diffs]
Mon Jul 24 16:33:16 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.106: +9 -3 lines
Diff to previous 1.106 , to selected 1.7
* Moved some functions from window-commands.lisp to gui.lisp (and the
  CLIMACs-GUI package) and export them.

 * The kill ring is no longer a global, special symbol, thus fixing a
  bunch of problems regarding sharing of kill rings between instances
  of Climacs (and remembering the kill ring across invocations).

* Various yank-commands no longer signal an error when the kill ring
  is empty. This is done by handling the flexichain:at-end-error
  condition, which is suboptimal - user code should not need to be
  aware of the implementation of the kill ring. Will be fixed at some
  point.

CVS problems made it too hard to divide this up into several patches,
sorry.

Revision 1.106 - (view) (annotate) - [select for diffs]
Mon Jul 24 13:24:40 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.105: +77 -50 lines
Diff to previous 1.105 , to selected 1.7
Final major package-cleanup for now. New package, CLIMACS-CORE,
added. Lots of commands moved from CLIMACS-GUI to CLIMACS-COMMANDS,
reusable functions moved to CLIMACS-CORE.

Revision 1.105 - (view) (annotate) - [select for diffs]
Sun Jul 23 11:59:38 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 , to selected 1.7
Export the `as-offsets' macro from :climacs-base.

Revision 1.104 - (view) (annotate) - [select for diffs]
Tue Jul 11 14:20:20 2006 UTC (7 years, 9 months ago) by thenriksen
Branch: MAIN
Changes since 1.103: +47 -27 lines
Diff to previous 1.103 , to selected 1.7
Added new CLIMACS package and moved entry points to it.

Revision 1.103 - (view) (annotate) - [select for diffs]
Sun Jul 9 18:44:50 2006 UTC (7 years, 9 months ago) by thenriksen
Branch: MAIN
Changes since 1.102: +45 -19 lines
Diff to previous 1.102 , to selected 1.7
Unified CLIMACS-MOTION-COMMANDS and CLIMACS-EDITING-COMMANDS into a
CLIMACS-COMMANDS package, added documentation strings to some package
definitions to make it more clear what they (are supposed to) contain.

Revision 1.102 - (view) (annotate) - [select for diffs]
Fri Jul 7 23:59:38 2006 UTC (7 years, 9 months ago) by thenriksen
Branch: MAIN
Changes since 1.101: +11 -9 lines
Diff to previous 1.101 , to selected 1.7
A number of major changes, involving moving a bit of stuff back from
editing.lisp (and CLIMACS EDITING) to base.lisp (and CLIMACS-BASE).

  * Reintroduced primitive, non-syntax-aware `previous-line' and
    `next-line' generic functions.

  * Moved `open-line' back to base.lisp and added a primitive
    `delete-line' function for deleting lines at a given mark.

  * Moved most of the character casing, tabyfying and indentation code
    back from editing.lisp to base.lisp. I'm still not sure it belongs
    there, but it will have to do for now.

Revision 1.101 - (view) (annotate) - [select for diffs]
Mon Jul 3 15:46:53 2006 UTC (7 years, 9 months ago) by thenriksen
Branch: MAIN
Changes since 1.100: +1 -0 lines
Diff to previous 1.100 , to selected 1.7
Added `just-n-spaces' function.

Revision 1.100 - (view) (annotate) - [select for diffs]
Mon Jun 12 19:10:58 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.99: +174 -33 lines
Diff to previous 1.99 , to selected 1.7
Major motion and editing functions and commands refactoring (see the
thread "paredit.lisp, regularization of motion commands, and more" on
climacs-devel for full details).

Breakage not found during testing, but still expected.

Revision 1.99 - (view) (annotate) - [select for diffs]
Tue Jun 6 16:50:36 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.98: +2 -0 lines
Diff to previous 1.98 , to selected 1.7
Export `current-buffer' and `current-point' from CLIMACS-GUI.

Revision 1.98 - (view) (annotate) - [select for diffs]
Mon Jun 5 21:01:51 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.97: +1 -1 lines
Diff to previous 1.97 , to selected 1.7
Added `fill-region' function and used it to implement filling of
strings in the Lisp syntax. I have not implemented a Fill Region
command because it seemed to fit poorly within the way filling works
in Climacs.

Revision 1.97 - (view) (annotate) - [select for diffs]
Sun May 28 15:58:24 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.96: +1 -0 lines
Diff to previous 1.96 , to selected 1.7
Added `current-buffer' to list of exported symbols.

Revision 1.96 - (view) (annotate) - [select for diffs]
Sun May 14 20:35:44 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 , to selected 1.7
Undo fundamental/basic breakage. Sorry. Also add
String Search, Reverse String Search, Word Search and
Reverse Word Search commands.

Revision 1.95 - (view) (annotate) - [select for diffs]
Sun May 14 09:37:01 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 , to selected 1.7
Moved use of :climacs-pane package to after its definition.

Revision 1.94 - (view) (annotate) - [select for diffs]
Sun May 14 07:13:43 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.93: +7 -7 lines
Diff to previous 1.93 , to selected 1.7
Banish Basic syntax in favour of Fundamental (and some
region highlighting fiddling).

Revision 1.93 - (view) (annotate) - [select for diffs]
Sat May 6 19:51:04 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 , to selected 1.7
Changed mark-visibility to region visibility. Turn it on
and off with Visible Region, for now.

Revision 1.92 - (view) (annotate) - [select for diffs]
Sat May 6 06:27:14 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 , to selected 1.7
Changed backup behaviour. Now makes emacs-style versioned backups
(foo.lisp~42~) once per session. Also checks to see if the file
has changed on disk when saving and reverting.

Revision 1.91 - (view) (annotate) - [select for diffs]
Mon May 1 18:36:41 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.90: +1 -0 lines
Diff to previous 1.90 , to selected 1.7
Changed the colors of `climacs-rv' slightly and exported the symbol
from the :climacs-gui package.

Revision 1.90 - (view) (annotate) - [select for diffs]
Sun Apr 30 15:20:46 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.89: +1 -0 lines
Diff to previous 1.89 , to selected 1.7
Added `buffer-substring' function.

Revision 1.89 - (view) (annotate) - [select for diffs]
Sun Apr 23 19:37:58 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.88: +1 -0 lines
Diff to previous 1.88 , to selected 1.7
Added code to clear the cache of panes (the previous `clear-pane'
invocation was apparently too naive).

Revision 1.88 - (view) (annotate) - [select for diffs]
Sun Apr 23 12:11:26 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.87: +2 -0 lines
Diff to previous 1.87 , to selected 1.7
Added support for local options lines (the -*- ... -*- stuff), the
generic option Syntax/Mode and Base and Package options for Lisp
syntax.

Revision 1.87 - (view) (annotate) - [select for diffs]
Sun Mar 26 14:14:48 2006 UTC (8 years ago) by thenriksen
Branch: MAIN
Changes since 1.86: +2 -0 lines
Diff to previous 1.86 , to selected 1.7
Added region- and expression-indentation commands.

Revision 1.86 - (view) (annotate) - [select for diffs]
Sat Mar 25 21:15:21 2006 UTC (8 years ago) by thenriksen
Branch: MAIN
Changes since 1.85: +0 -26 lines
Diff to previous 1.85 , to selected 1.7
Changed package and system definitions to use external :esa system.

Revision 1.85 - (view) (annotate) - [select for diffs]
Fri Mar 3 19:38:57 2006 UTC (8 years, 1 month ago) by tmoore
Branch: MAIN
Changes since 1.84: +18 -4 lines
Diff to previous 1.84 , to selected 1.7
Changes for running climacs in Allegro Common Lisp with Classic CLIM (tm). This includes a bunch of modern mode-related changes to symbol names and creating symbols and reordering of syntax rules definitions due to different compile-time behavior of defclass. The CLIM changes are suprisingly small

Revision 1.84 - (view) (annotate) - [select for diffs]
Tue Feb 7 15:21:30 2006 UTC (8 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.83: +26 -18 lines
Diff to previous 1.83 , to selected 1.7
Refactored the Lisp syntax module so it is no longer integrated with
the global command table and gui.lisp.

Revision 1.83 - (view) (annotate) - [select for diffs]
Sat Nov 12 23:09:34 2005 UTC (8 years, 5 months ago) by dmurray
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 , to selected 1.7
Introduce find-applicable-command-table, specialised on frame class.
Remove some :around kludgery from (setf syntax) and (setf buffer).
At the moment f-a-c-t for climacs just asks the syntax which command-table
to use, but this could be extended to views etc.

Revision 1.82 - (view) (annotate) - [select for diffs]
Tue Sep 13 19:23:59 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.81: +1 -0 lines
Diff to previous 1.81 , to selected 1.7
Two major groups of changes, as steps towards supporting
the multi-pane paradigm: (a) changes to support non-buffer-
containing panes (a typeout pane is the first example - try
C-h b); (b) distributed commands among a plethora of little
command tables, as threatened on the mailing list.
Also: changed info-pane (again) - now includes call to
name-for-info-pane (specialised on syntax) - try a lisp file
where climacs can work out the package name; got rid of
'Toggle' names (didn't add anything); mouse-clicks now change
window and position the cursor; now command Insert Parentheses
(M-() that almost works.
Slidemacs temporarily broken...

Revision 1.81 - (view) (annotate) - [select for diffs]
Tue Sep 6 21:30:33 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.80: +1 -0 lines
Diff to previous 1.80 , to selected 1.7
Initial implementation of Where Is (C-h w) and
Describe Bindings (C-h b); renamed Describe Key (C-h k)
to Describe Key Briefly (C-h c) and added new
help-table to ESA.
Also, changed set-key to not clobber defined commands in
command tables, fixed some minor errors in gui.lisp,
and included keyboard-macro-table and help-table in
global-climacs-table's inheritance list.

Revision 1.80 - (view) (annotate) - [select for diffs]
Thu Sep 1 00:21:08 2005 UTC (8 years, 7 months ago) by mretzlaff
Branch: MAIN
Changes since 1.79: +4 -3 lines
Diff to previous 1.79 , to selected 1.7
 The COMPLETABLE-PATHNAME class

This patch mainly removes the class COMPLETABLE-PATHNAME. There is
nothing special about those pathnames that make them completable. They
are just ordinary pathnames (no offence meant). Instead, the ACCEPT
and PRESENT method that formerly specialized on that presentation
type, specialize now on the ordinary PATHNAME class *and* on climacs'
custom view class CLIMACS-TEXTUAL-VIEW, that was already defined in
pane.lisp but was not yet used anywhere. (Robert Strandh accedes:
"I think it must have been meant for this kind of situation.")


The variable climacs-pane:+climacs-textual-view+ has been added, it
hold an instance of the class climacs-pane:climacs-textual-view, just
as there are such variables for the standard view classes (see clim
spec 23.6).  Both symbols, #:climacs-textual-view and
#:+climacs-textual-view+, of the package CLIMACS-PANE are exported.


+climacs-textual-view+ is the :DEFAULT-VIEW for the class
CLIMACS-GUI::CLIMACS-MINIBUFFER-PANE now (set via the
:DEFAULT-INITARGS parameter of the class definition) so that the
aforementioned ACCEPT and PRESENT methods for pathnames are used in
the minibuffer. (See at the beginning of gui.lisp.)

The :DEFAULT-VIEW for the class CLIMACS-PANE:CLIMACS-PANE was not
specified in the same way, but in the :AFTER method of
(initialize-instance (pane climacs-pane)) via the line:

  (setf (stream-default-view pane) (make-instance 'climacs-textual-view))

This is changed to be specified in the appropriate DEFCLASS form, as
well.


As the :DEFAULT-VIEW of the minibuffer is now changed, all the calls to
     (accept 'completable-pathname :prompt "..")
are now substituted by just
     (accept 'pathname :prompt "..")
without the need for explicit specification by use of the :VIEW
keyword. All these calls are changed, even the one in
slidemacs-gui.lisp.


(If we feel the need for a special view class for the info-pane
we can always subclass CLIMACS-MINIBUFFER-PANE later. Only the
:DEFAULT-VIEW inside the :DEFAULT-INITARGS argument has to be
changed then, if we do things correctly.)



 The function CLIMACS-GUI:CLIMACS

I added the keywords NEW-PROCESS and PROCESS-NAME to the lambda-list
and the correspondent construct. You can now do
     (climacs-gui:climacs :new-process t)
Just as it is possible with Clouseau and the Climacs-Listener.

CLIMACS-GUI:CLIMACS is also exported now. Why wasn't it before?



Some further comments, in case this message is not long enough for you,
can be found in the original mail in which I published my patch:
     http://article.gmane.org/gmane.lisp.climacs.devel/264

Revision 1.79 - (view) (annotate) - [select for diffs]
Fri Aug 19 09:12:48 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.78: +1 -0 lines
Diff to previous 1.78 , to selected 1.7
Added read-only buffers, com-find-file-read-only (C-x C-r),
com-toggle-read-only (C-x C-q) and "%%" display in mode line.

Revision 1.78 - (view) (annotate) - [select for diffs]
Tue Aug 16 23:10:29 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.77: +1 -0 lines
Diff to previous 1.77 , to selected 1.7
Various refactoring to allow non-interactive access to functionality.
Checks to see that buffers aren't written to, or attempted to be
read from, directories. com-load-file now on C-c C-l.
Also some rearrangement of stuff in gui.lisp.

Revision 1.77 - (view) (annotate) - [select for diffs]
Mon Aug 15 23:31:22 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.76: +3 -0 lines
Diff to previous 1.76 , to selected 1.7
Factored out cursor display from syntaxes to a display-cursor
method on basic-syntax. Also added a display-mark method,
a mark-visible-p slot on climacs-pane, and a command
com-toggle-visible-mark to turn display of the mark on
and off - useful for developing marking commands.

Revision 1.76 - (view) (annotate) - [select for diffs]
Sun Aug 14 18:09:42 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 , to selected 1.7
Added com-just-one-space (M-Space), com-scroll-other-window-up (C-M-V),
com-append-next-kill (M-C-w).
Also, I think I've fixed expression-navigation funkiness.

Revision 1.75 - (view) (annotate) - [select for diffs]
Sun Aug 14 12:12:35 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.74: +3 -0 lines
Diff to previous 1.74 , to selected 1.7
The other parts of the list movement commands.

Revision 1.74 - (view) (annotate) - [select for diffs]
Fri Aug 5 08:07:17 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.73: +5 -2 lines
Diff to previous 1.73 , to selected 1.7
Additional commands.

Revision 1.73 - (view) (annotate) - [select for diffs]
Thu Aug 4 22:07:45 2005 UTC (8 years, 8 months ago) by abakic
Branch: MAIN
Changes since 1.72: +3 -1 lines
Diff to previous 1.72 , to selected 1.7
Added cl-automaton module and support for regexp searches. Below are
some notes. Also modified one constituentp-related test.

Instead of having module "cl-automaton" within the :climacs defsystem,
the module could be turned into a dependence on :automaton, defined in
cl-automaton/automaton.asd. Similarly for cl-automaton/automaton-test.asd.

For slower buffer implementations, a buffer iterator is needed for
higher performance of regexp searches. Greedy matching should be
improved (see automaton::run-to-first-unmatch).

Perhaps, fast (tabular) automaton representation should be implemented,
unless it would be taking way too much space.

Incremental regexp search needs to be done.

Revision 1.72 - (view) (annotate) - [select for diffs]
Thu Aug 4 01:10:45 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71 , to selected 1.7
Implemented comment-region and uncomment region as syntax-dependent
generic functions.

Need to figure out how a command that is not invoked by keystrokes can
determine whether it was called with a numeric argument.

Revision 1.71 - (view) (annotate) - [select for diffs]
Thu Jul 28 20:36:36 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 , to selected 1.7
Change climacs application frame to use global-climacs-table

Revision 1.70 - (view) (annotate) - [select for diffs]
Tue Jul 26 05:28:39 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 , to selected 1.7
Improvements to Lisp syntax.
(thanks to John Q Splittist)

Here is his own description of these improvements:

This patch:

* fixes presentations of multi-token symbols and strings
* introduces a new presentation type, the 'unknown-symbol, for symbol
tokens that haven't got a package in the image (because, eg. the file
hasn't been loaded)
* introduces a new presentation type, the 'lisp-string, for strings in
the file surrounded by #\"s
* presents every token as a 'string.

Also included is a presentation translator from 'lisp-string to 'string
that doesn't work. It ought to, and I seem to have got back into the
gesture/pointer-event code with things still making (to me) sense, so
I'd be grateful if someone could check whether it works for them.

Things to play with:

* M-x Accept String (most things mouseable)
* M-x Accept Symbol (see what the system can find, and where - 'symbols
are returned as the actual symbol; 'unknown-symbols are returned as strings
* M-x Accept Lisp String (source code strings are mouseable)
* M-% [being Query Replace], then mouse and click to choose the strings!

Things to think about:

* Should 'string be for actual lisp strings, and (say) ESA-string (or
editor-string) be for sequences of objects in the buffer? This makes
sense to me, as some commands that accept a sequence of objects from the
buffer might be usable in non-text-editor contexts. (Simply changing
commands like com-query-replace from (accept 'string ...) to (accept
'esa-string ...), and changing a couple of things in lisp-syntax, would
work.)
* What other things might it be useful to mouse around with?
* Is there a natural meaning for simply clicking on something in the buffer?

Things to do:

* (still!) Numbers
* work out why the presentation translator isn't working...

Revision 1.69 - (view) (annotate) - [select for diffs]
Mon Jul 25 03:41:13 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.68: +1 -3 lines
Diff to previous 1.68 , to selected 1.7
Moved keyboard macros to esa.lisp and to a new command table:
keyboard-macro-table.

Revision 1.68 - (view) (annotate) - [select for diffs]
Sun Jul 24 05:10:48 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.67: +1 -0 lines
Diff to previous 1.67 , to selected 1.7
Climacs no longer uses the command table of the application frame, but
now has a command table per pane.  Eventually, this command table will
inherit from a syntax-specific one, but that is not implemented yet.

The global-climacs-table inherits from the global-esa-table.

The commands com-quit and com-extended have been moved to the
clobal-esa-table.

Handling modified buffers before quitting has been moved to an :around
method on frame-exit.

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Jul 21 12:24:30 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.66: +6 -3 lines
Diff to previous 1.66 , to selected 1.7
Migration of initial common functionality from gui.lisp to esa.lisp
completed.  Next to migrate should be keyboard macros, pane splitting,
and other functionality not specific to Climacs.

Revision 1.66 - (view) (annotate) - [select for diffs]
Thu Jul 21 05:13:51 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.65: +9 -1 lines
Diff to previous 1.65 , to selected 1.7
Included the ESA module in climacs.asd and packages.asd

Removed some functionality from gui.lisp in favor of equivalent
functionality in esa.lisp

Adapted some functionality in gui.lisp to resemble the corresponding
functionality in esa.lisp to facilitate the eventual move.

Revision 1.65 - (view) (annotate) - [select for diffs]
Tue Jul 19 10:02:02 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.64: +5 -0 lines
Diff to previous 1.64 , to selected 1.7
New syntax: `fundamental'

My idea is to eventually get rid of the `basic' syntax.  Not only is
the name not great, but the code it contains some cruft that I would
like to get rid of.  For instance, the cache is no longer necessary
and is messy to manage anyway.

In addition, the `basic' syntax is problematic with respect to factoring
out the GUI part of Climacs into a separate application-independent
module.  That's another good reason to get rid of it.

So, I would appreciate if you would please check out this new syntax
and let me know how it turns out.  If I hear no complaints, I'll start
by making `fundamental' the default syntax, and then remove the
`basic' syntax altogether.

Revision 1.64 - (view) (annotate) - [select for diffs]
Mon May 30 09:33:39 2005 UTC (8 years, 10 months ago) by rstrandh
Branch: MAIN
Changes since 1.63: +1 -0 lines
Diff to previous 1.63 , to selected 1.7
New command `eval-defun' bound to C-M-x

Revision 1.63 - (view) (annotate) - [select for diffs]
Mon May 30 07:25:13 2005 UTC (8 years, 10 months ago) by rstrandh
Branch: MAIN
Changes since 1.62: +7 -0 lines
Diff to previous 1.62 , to selected 1.7
Alternative syntax for editing common lisp (called "Lisp").

I have not completely lost hope of making the Earley-based syntax
module fast enough, but as of now I don't know how.

This syntax module provides an incremental resynchronizing LR parser
for Common Lisp.  It is fast enough the parse tree for the entire
buffer is kept updated, as opposed to just for what is visible in the
CLIM pane.

Ultimately, I hope to factor out the parts that are not specific to
Lisp into a different module, perhaps the existing syntax.lisp file.
I'll be interested in your opinions.

Revision 1.62 - (view) (annotate) - [select for diffs]
Fri May 6 22:32:28 2005 UTC (8 years, 11 months ago) by abakic
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 , to selected 1.7
Contribution by John Q Splittist: Renamed occurrences of `filename'
(actually referring to pathnames) to `filepath'.

Revision 1.61 - (view) (annotate) - [select for diffs]
Fri Apr 22 08:19:11 2005 UTC (8 years, 11 months ago) by pfong
Branch: MAIN
Changes since 1.60: +5 -4 lines
Diff to previous 1.60 , to selected 1.7
asdf package

Revision 1.60 - (view) (annotate) - [select for diffs]
Sun Mar 27 14:29:32 2005 UTC (9 years ago) by crhodes
Branch: MAIN
Changes since 1.59: +5 -0 lines
Diff to previous 1.59 , to selected 1.7
Add a half-baked half-finished ISO Prolog syntax.

Known internal lacunae:
  * does not handle quotations correctly:
    ** fails to recognize '' as an escaped quote character (and similarly
       for other quote characters);
    ** fails to canonize quoted atoms; will fail to identify the operator
       ; from the quoted atom ';';
    ** does not contain any logic for backslash-escaped data.
  * does not implement parsing floating point numbers.
  * comments before directives get italicized.
  * way too long.  Expect some refactoring.

Known suboptimal interactions with the syntax framework:
  * parses the entire buffer at every keystroke; incremental parsing caused
    a problem at some point and has not (yet) been restored.
  * displays the entire buffer at every keystroke.
  * the incremental lexer gets confused in the presence of comments.
    (see forthcoming mail to climacs-devel)

Revision 1.59 - (view) (annotate) - [select for diffs]
Fri Mar 18 07:49:17 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.58: +0 -1 lines
Diff to previous 1.58 , to selected 1.7
Added setf methods for offset of parse-trees.  Either a numerical
offset can be given, in which case, the start-mark must exist (since
we don't know the buffer), or else a mark can be given, in which case
it is cloned.

Removed references to start-mark from html-syntax.lisp, and removed it
from the export list of the climacs-syntax package.

Revision 1.58 - (view) (annotate) - [select for diffs]
Tue Mar 15 12:51:39 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 , to selected 1.7
Minor fixes

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Mar 15 05:39:24 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.56: +8 -1 lines
Diff to previous 1.56 , to selected 1.7
The incremental lexer is now in the climacs-syntax package in the
syntax.lisp file.

Revision 1.56 - (view) (annotate) - [select for diffs]
Sun Mar 13 20:51:48 2005 UTC (9 years, 1 month ago) by abakic
Branch: MAIN
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 , to selected 1.7
Line-oriented persistent buffer (binseq2). Warning: Need to fix minor
bugs (related to number-of-lines-in-region, I believe).

base.lisp: Added faster methods on previous-line, next-line,
buffer-number-of-lines-in-region.

pane.lisp, cl-syntax.lisp, html-syntax.lisp, text-syntax.lisp:
Replaced some calls to make-instance to calls to clone-mark and (setf
offset), in order to avoid passing climacs-buffer to marks. This also
made possible to get rid of delegating methods on syntax.

climacs.asd: Added Persistent/binseq2.

packages.lisp: Added binseq2-related symbols.

Persistent/binseq.lisp, Persistent/obinseq.lisp: Cleanup.

Persistent/persistent-buffer.lisp: Added code for binseq2-buffer and
related marks. Also some minor fixes.

Revision 1.55 - (view) (annotate) - [select for diffs]
Thu Mar 10 06:37:40 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 , to selected 1.7
More progress on html-syntax, which may eventually become a model
for many different language syntax modules.

The display function now traverses the parse tree up as long as a
valid parse tree exists.  The rest of the display is done from the
token sequence.  It is likely that all of this can be abstracted out
and put into syntax.lisp so that html-syntax would just become a
client among others for this traversal.

Not only is the cursor still not displayed, whitespace is not handled
during the traversal of the parse tree.  This will likely be fixed in
the next few day.

Revision 1.54 - (view) (annotate) - [select for diffs]
Mon Mar 7 06:51:03 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 , to selected 1.7
First attempt at a display function (for html syntax) that uses the
output of an incremental lexer and parser.  This code is not complete
yet:

  * right now, it uses only the lexer output, and not the parser

  * the cursor is not displayed yet

  * it is too slow, most likely because the output records are all in
    one big bag, as opposed to being tree structured, such as the
    lines of basic syntax.

The slowness is not a serious problem, because one day, McCLIM will
have tree-structured output records itself, and because most syntax
modules (including this one, very soon) will have some tree structure
itself.  It might be worthwhile to display the part of the buffer
beyond a parse error in some artificially structured way, such as by
lines as in the current basic syntax.

Revision 1.53 - (view) (annotate) - [select for diffs]
Sat Mar 5 07:03:53 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.52: +10 -0 lines
Diff to previous 1.52 , to selected 1.7
Split off the climacs-html-syntax package from the climacs-syntax
package.  Exported some more symbols from the climacs-syntax package.
Implemented a few more functions in the climacs-syntax package that
can be used to travarse the parse stack.

The redisplay-pane function now calls a generic function
redisplay-pane-with-syntax that also takes a syntax object as argument.

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Feb 28 08:51:35 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.51: +1 -2 lines
Diff to previous 1.51 , to selected 1.7
Improvements to HTML syntax.  This syntax module now uses an
incremental lexer, and and incremental parser based on the existing
Earley parser in syntax.lisp.

Removed backward-to-error and forward-to-error, since I am not sure
that these are what we want.

Revision 1.51 - (view) (annotate) - [select for diffs]
Sun Feb 27 18:52:01 2005 UTC (9 years, 1 month ago) by abakic
Branch: MAIN
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 , to selected 1.7
package.lisp, pane.lisp: Added delegation-buffer class, allowing for
dynamic buffer implementation choices. Modified climacs-buffer
accordingly and added two extended buffer implementation classes and a
few methods delegating undo and syntax functionality. Removed
hard-coded uses of standard-buffer and standard mark classes. Modified
:buffer arguments to syntax creation to make sure they are buffer
implementations.

gui.lisp: Removed obsolete region-limits. Modified :buffer arguments
to syntax creation to make sure they are buffer
implementations. Removed hard-coded uses of standard-buffer and
standard mark classes.

kill-ring.lisp: Fixed parameter order in (setf kill-ring-max-size).

buffer-test.lisp, base-test.lisp: Added tests for
delegating-standard-buffer. Replaced all but two mark instantiations
with calls to clone-mark.

Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Feb 23 18:15:32 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 , to selected 1.7
Implemented new conditions according to proposal on the devel list.

Revision 1.49 - (view) (annotate) - [select for diffs]
Sat Feb 12 15:34:46 2005 UTC (9 years, 2 months ago) by abakic
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 , to selected 1.7
Improvements and fixes to fill-line and buffer-search-word* functions,
and the remaining base tests.

Revision 1.48 - (view) (annotate) - [select for diffs]
Mon Feb 7 15:26:41 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.47: +4 -0 lines
Diff to previous 1.47 , to selected 1.7
Beginning of a Common Lisp syntax that will be extended during the
spring by our group of students.

For now, it contains an incremental lexer that maintains the entire
buffer as a flexichain of `elements', i.e., syntactic elements that
are going to be meaningful to the incremental parser.

Revision 1.47 - (view) (annotate) - [select for diffs]
Sat Feb 5 07:04:03 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 , to selected 1.7
Moved forward-object and backward-object to the buffer protocol.
Updated buffer.lisp and base.lisp accordingly.  Also added the
documentation of these functions to the Texinfo documentation.

Revision 1.46 - (view) (annotate) - [select for diffs]
Sat Feb 5 06:49:53 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 , to selected 1.7
Implemented the new buffer-modification protocol with both
update-syntax and update-syntax-for-display.

Revision 1.45 - (view) (annotate) - [select for diffs]
Wed Feb 2 07:59:41 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 , to selected 1.7
Fixed the display-message function so that it actually displays a message
in the minibuffer.

Implemented an incremental Earley parser for the syntax module.

Revision 1.44 - (view) (annotate) - [select for diffs]
Sun Jan 30 22:17:31 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 , to selected 1.7
Fixed bad isearch behaviour when searching after a failure

Revision 1.43 - (view) (annotate) - [select for diffs]
Sun Jan 30 19:56:53 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 , to selected 1.7
Made query-replace respect the case of replaced strings.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Jan 26 22:49:47 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.41: +2 -0 lines
Diff to previous 1.41 , to selected 1.7
Added basic query-replace support. First humble try at command loop factoring

Revision 1.41 - (view) (annotate) - [select for diffs]
Wed Jan 26 16:10:40 2005 UTC (9 years, 2 months ago) by abakic
Branch: MAIN
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 , to selected 1.7
Persistent/balanced-tree buffer implementations with tests.

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Jan 24 12:49:09 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.39: +10 -2 lines
Diff to previous 1.39 , to selected 1.7
Implemented undo and redo.

Revision 1.39 - (view) (annotate) - [select for diffs]
Sun Jan 23 23:30:34 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 , to selected 1.7
Added backward isearch

Revision 1.38 - (view) (annotate) - [select for diffs]
Sun Jan 23 10:21:08 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.37: +2 -0 lines
Diff to previous 1.37 , to selected 1.7
Added basic Isearch support

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri Jan 21 06:54:54 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 , to selected 1.7
Box ajuster gadget for changing size of windows
(thanks to Nicolas Lamirault)
[though I did not put this in yet, because it seems to break
com-delete-window.  If someone can figure out why, I'll put it in.]

Kill-buffer command
(thanks to Lawrence Mitchell)

Revision 1.36 - (view) (annotate) - [select for diffs]
Wed Jan 19 20:04:39 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.35: +3 -0 lines
Diff to previous 1.35 , to selected 1.7
Added auto-fill mode

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Jan 17 23:10:24 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.34: +5 -0 lines
Diff to previous 1.34 , to selected 1.7
Added indent-line and newline-and-indent (bound to C-j)

Revision 1.34 - (view) (annotate) - [select for diffs]
Sun Jan 16 20:04:59 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.33: +1 -0 lines
Diff to previous 1.33 , to selected 1.7
Added delete-indentation

Revision 1.33 - (view) (annotate) - [select for diffs]
Sat Jan 15 21:35:53 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 , to selected 1.7
Implemented beginning-of-paragraph and end-of-paragraph, the first
commands to exploit a syntax, in this case text-syntax.

Revision 1.32 - (view) (annotate) - [select for diffs]
Sat Jan 15 19:50:43 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.31: +14 -6 lines
Diff to previous 1.31 , to selected 1.7
Did a major overhaul of the syntax facility.  The previous
functionality is now divided into three parts: the first one is the
real syntax, associated with the buffer instead of with the pane.  The
second part is the cache management, now associated with the pane
instead of with the syntax.  The third part is a CLIM view, associated
with the pane, which determines presentation parameters such as
highlighting.

modified the tabify/untabify code so that the space-width and
tab-width are no longer in the syntax, but in the view.

Factored out the climacs pane and displaying of text in the pane into
a new file, pane.lisp.

Revision 1.31 - (view) (annotate) - [select for diffs]
Sat Jan 15 17:39:24 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.30: +3 -0 lines
Diff to previous 1.30 , to selected 1.7
Added tabify/untabify-region

Revision 1.30 - (view) (annotate) - [select for diffs]
Fri Jan 14 13:07:39 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 , to selected 1.7
First attempt at a syntax for ordinary text.

Revision 1.29 - (view) (annotate) - [select for diffs]
Thu Jan 13 16:52:14 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 , to selected 1.7
Fixed wrong usage of mark-mixin, updated copyrights

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Jan 13 15:34:05 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 , to selected 1.7
Added upcase/downcase/capitalize-region, and a do-buffer-region macro

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Jan 13 05:38:41 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 , to selected 1.7
Fixed up abbrevs somewhat.

Made the cursor wider, so easier to find.

Added new command `Load File'.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Jan 9 14:08:27 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.25: +1 -0 lines
Diff to previous 1.25 , to selected 1.7
upcase, downcase, capitalize words from Rudi Schlatte.  Thanks!

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Jan 9 11:54:50 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 , to selected 1.7
Moved forward-object and backward-object to base.lisp because I
needed them in syntax.lisp.

Improved performance of end-of-line, the slowness of which was
a problem for redisplay.

Fixed (I hope) bug in redisplay code.  I don't seem to be able to
convince McCLIM to avoid redrawing all the lines after a new
line has been inserted, though.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Jan 9 02:46:35 2005 UTC (9 years, 3 months ago) by abakic
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 , to selected 1.7
Rollback (repeat: no protocol changes).

Revision 1.23 - (view) (annotate) - [select for diffs]
Sun Jan 9 02:42:14 2005 UTC (9 years, 3 months ago) by abakic
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 , to selected 1.7
Overwrite mode: first iteration (no protocol changes).

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Jan 7 13:07:45 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 , to selected 1.7
kill ring updated and functioning protocol.  Enjoy C-k and M-y like you never have in climacs before:)

Revision 1.21 - (view) (annotate) - [select for diffs]
Fri Jan 7 07:26:24 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 , to selected 1.7
replaced *previous-command* and *goal-column* by slots in
the pane according to a suggestion by Rudi Schlatte.

implemented dynamic abbrev expansion according to a suggestion
by Luigi Panzeri.

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Jan 5 05:09:04 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 , to selected 1.7
Added (non-incremental for now) search functions.

Revision 1.19 - (view) (annotate) - [select for diffs]
Sat Jan 1 10:43:39 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 , to selected 1.7
Implemented page-down (M-v).

Revision 1.18 - (view) (annotate) - [select for diffs]
Sat Jan 1 10:06:21 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17 , to selected 1.7
Implemented page-down (C-v).

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Jan 1 09:34:25 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 , to selected 1.7
Factored aspects of named objects (currently buffers and syntaxes) into
a syntax-mixin class in base.lisp.  Updated packages.lisp accordingly.

Implemented syntax completion (i.e., the possibility to use CLIM
completion to determine the name of a syntax).  I

Implemented an extended command "Set Syntax" using the completion.
Currently, it does not invalidate the CLIM output history, because I
need to think a bit more about how to do that properly.

Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Dec 31 13:33:06 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 , to selected 1.7
Simplified the redisplay routine.  Introduced a cache of lines in
the form of a flexichain.

The ultra-fast redisplay is not yet in place, because I thought the
bottle neck was in Climacs, whereas it is in McCLIM.  I know how to
fix that, though, by using :cache-test #'eq for cached lines.  The
only problem with that is that the line has to be traversed (despite
being cached) in order that we can compute the position of the cursor.
This might involve either invalidating the line with the cursor on it,
so that it will be rescanned, or else rescanning it anyway, despite it
being cached.

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Dec 29 16:03:21 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 , to selected 1.7
New commands:

M-m          (back to indentation)
M-d          (delete word)
M-backspace  (backward delete word)
M-x goto-position
M-x goto-line

New function whitespacep.

Used `:name t' instead of repeating the command name in
define-command.

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Dec 29 07:06:46 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 , to selected 1.7
Tiding up a kill ring warning and move buffer related material to gui.lisp

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Dec 29 06:58:53 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 , to selected 1.7
Modified the buffer protocol to contain a modification flag, and
implemented the modification.  Updated the documentation.

Added a flag to the climacs-buffer indicating whether the buffer needs
saving.  This is different from the modification flag, which is only
valid during one iteration of the command loop.  The needs-saving flag
checks the modification flag, though, after each command execution.

Revision 1.12 - (view) (annotate) - [select for diffs]
Wed Dec 29 05:45:37 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 , to selected 1.7
adding in kill ring material

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Dec 26 07:18:01 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10 , to selected 1.7
Much improved redisplay algorithm.

The behavior when point is outside the current region on display is
much faster and similar to that of Emacs, in that the algorithm tries
to position point in the middle of the pane.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat Dec 25 14:49:54 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 , to selected 1.7
Simplified the syntax protocol according to suggestions from Teemu Kalvas.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Dec 25 12:29:24 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 , to selected 1.7
Resolved conflict in gui.lisp.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Dec 23 18:49:32 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7
First steps toward a decent redisplay function.

We introduce a protocol class `syntax' used to specialize methods of
the redisplay functions.

We also introduce a class `basic-syntax', a subclass of `syntax' that
can redisplay basic text.  Currently, the redisplay method on
basic-syntax is not terribly smart, as it displays the entire buffer.

Each pane that displays a buffer also contains a syntax used to
determine the way the buffer is to be rendered in that pane.

Currently, the implementation is ahead of the specification with
respect to this syntax abstraction.  That will not be the case for
very long, though.

Revision 1.7 - (view) (annotate) - [selected]
Thu Dec 23 17:24:45 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6
Completed the description of the buffer modification protocol.

Implemented the protocol.

Updated the buffer package accordingly.

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Dec 23 08:00:33 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 , to selected 1.7
Docstrings from Elliott Johnson.

the find-file command now stores the filename in the buffer for
later use by save-buffer.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Dec 23 07:01:56 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 , to selected 1.7
Implemented save-buffer.

Made buffer and point part of the pane instead of the frame.  Created
a climacs-pane, subset of application-pane.

Turned abbrevs and filenames into buffer mixins, and defined a
climacs-buffer class.  Removed the abbrev-buffer class.

Updated package file to reflect new names.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Dec 22 14:43:18 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 , to selected 1.7
Added new file io.lisp with input/output functions and the
packages.lisp file accordingly.

Added README file.

Totally rewrote the buffer implementation to use a single flexichain.
It should now be fast enough to replace Goatee.

Modified climacs.asd to reflect the use of Flexichain

Updated INSTALL file to give instructions for fetching Flexichain.

Updated gui.lisp to reflect the new functionality in io.lisp

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Dec 21 16:19:26 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 , to selected 1.7
I am now convinced the buffer can contain arbitrary objects.  I
therefore updated the protocol descriptions and the code to reflect
that.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Dec 17 07:00:27 2004 UTC (9 years, 4 months ago) by strandh
Branch: MAIN
Changes since 1.1: +8 -2 lines
Diff to previous 1.1 , to selected 1.7
mostly bug fixes.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Dec 16 19:25:31 2004 UTC (9 years, 4 months ago) by strandh
Branch: MAIN
Diff to selected 1.7
New file.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5