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

Log of /climacs/gui.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.264 - (view) (annotate) - [select for diffs]
Sun Dec 7 20:23:26 2008 UTC (5 years, 4 months ago) by rstrandh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.263: +1 -1 lines
Diff to previous 1.263 , to selected 1.138
Make the default text style :fix.

Revision 1.263 - (view) (annotate) - [select for diffs]
Sun May 18 09:04:41 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.262: +0 -1 lines
Diff to previous 1.262 , to selected 1.138
Don't provide default dimensions, now handled by a compose-space
method for esa:minibuffer-pane.

Revision 1.262 - (view) (annotate) - [select for diffs]
Fri Mar 28 21:10:31 2008 UTC (6 years ago) by thenriksen
Branch: MAIN
Changes since 1.261: +2 -4 lines
Diff to previous 1.261 , to selected 1.138
Update to use a global kill ring.

Revision 1.261 - (view) (annotate) - [select for diffs]
Wed Feb 6 09:22:58 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.260: +1 -1 lines
Diff to previous 1.260 , to selected 1.138
Blank typeout views before printing help information in them.

Revision 1.260 - (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.259: +12 -10 lines
Diff to previous 1.259 , to selected 1.138
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.259 - (view) (annotate) - [select for diffs]
Sun Feb 3 09:03:42 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.258: +4 -1 lines
Diff to previous 1.258 , to selected 1.138
Updates to handle Drei changes.

Revision 1.258 - (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.257: +4 -27 lines
Diff to previous 1.257 , to selected 1.138
Added sweet new menu items.

Revision 1.257 - (view) (annotate) - [select for diffs]
Mon Jan 28 17:08:50 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.256: +36 -7 lines
Diff to previous 1.256 , to selected 1.138
Added command menu.

Only covers a few generic commands for now. I think McCLIM support for
:inherit-menu would make this implementable in a much better way.

Revision 1.256 - (view) (annotate) - [select for diffs]
Sat Jan 26 23:06:04 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.255: +5 -0 lines
Diff to previous 1.255 , to selected 1.138
Make defaults for view-switching slightly nicer.

Revision 1.255 - (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.254: +40 -174 lines
Diff to previous 1.254 , to selected 1.138
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.254 - (view) (annotate) - [select for diffs]
Fri Jan 18 07:16:22 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.253: +5 -1 lines
Diff to previous 1.253 , to selected 1.138
Added `switch-to-pane' restart for (setf view).

Revision 1.253 - (view) (annotate) - [select for diffs]
Thu Jan 17 11:30:47 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.252: +4 -2 lines
Diff to previous 1.252 , to selected 1.138
Update in response to *drei-instance* changes.

Revision 1.252 - (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.251: +4 -0 lines
Diff to previous 1.251 , to selected 1.138
Added *climacs-text-style* variable for customisation.

Revision 1.251 - (view) (annotate) - [select for diffs]
Fri Jan 11 04:08:15 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.250: +1 -0 lines
Diff to previous 1.250 , to selected 1.138
Made climacs-pane be of metaclass modual-class.

Revision 1.250 - (view) (annotate) - [select for diffs]
Sun Jan 6 11:54:45 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.249: +27 -26 lines
Diff to previous 1.249 , to selected 1.138
Fixed embarassing bug in (setf view) method that caused it to return
T, not the argument to setf. Oops.

Revision 1.249 - (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.248: +4 -0 lines
Diff to previous 1.248 , to selected 1.138
Implemented support for scrolling typeout panes in M-C-v, M-C-V.

Revision 1.248 - (view) (annotate) - [select for diffs]
Tue Jan 1 21:18:48 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.247: +1 -0 lines
Diff to previous 1.247 , to selected 1.138
Climacs panes should no longer use incremental redisplay, Drei does
not like it.

Revision 1.247 - (view) (annotate) - [select for diffs]
Thu Dec 27 16:34:08 2007 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.246: +2 -1 lines
Diff to previous 1.246 , to selected 1.138
The current buffer is now NIL if no the current window is not a
buffer-pane.

Revision 1.246 - (view) (annotate) - [select for diffs]
Thu Dec 27 16:27:47 2007 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.245: +1 -1 lines
Diff to previous 1.245 , to selected 1.138
A pane is now only a buffer pane if its view is a buffer-view.

Revision 1.245 - (view) (annotate) - [select for diffs]
Sat Dec 15 07:22:50 2007 UTC (6 years, 4 months ago) by rstrandh
Branch: MAIN
Changes since 1.244: +1 -1 lines
Diff to previous 1.244 , to selected 1.138
Fixed a double negative.

Revision 1.244 - (view) (annotate) - [select for diffs]
Thu Dec 13 08:57:08 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.243: +113 -10 lines
Diff to previous 1.243 , to selected 1.138
Added "typeout stream" idea that redirects *standard-output* to a
typeout window.

Also include commands defined in buffer-table.

Revision 1.243 - (view) (annotate) - [select for diffs]
Tue Dec 11 23:42:15 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.242: +26 -12 lines
Diff to previous 1.242 , to selected 1.138
Made Climacs respect typeout panes a little more. There's no reason to
be sour just because the pane you happen to grab doesn't have a view.

Revision 1.242 - (view) (annotate) - [select for diffs]
Tue Dec 11 23:19:45 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.241: +52 -33 lines
Diff to previous 1.241 , to selected 1.138
Made typeout windows work again. Now Climacs doesn't primarily deal
with the "active view" any more (that was a mistake on my part,
typeout windows do not have views, hence this would never work) but
the "active window". Not a user-visible change, but fixes typeout
windows.

Revision 1.241 - (view) (annotate) - [select for diffs]
Mon Dec 10 21:31:09 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.240: +70 -54 lines
Diff to previous 1.240 , to selected 1.138
Make Climacs support nonstandard views somewhat.

Easier than I expected, so bugs probably still abound.

There's not really much UI candy to make nonstandard views very useful
currently, consider this to be proof of concept support.

Revision 1.240 - (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.239: +243 -100 lines
Diff to previous 1.239 , to selected 1.138
Changed Climacs to use a view-paradigm. Somewhat hacky, probably buggy.

Revision 1.239 - (view) (annotate) - [select for diffs]
Tue Nov 20 12:59:54 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.238: +17 -20 lines
Diff to previous 1.238 , to selected 1.138
Fixed Climacs to adapt to changes in Drei.

Revision 1.238 - (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.237: +6 -1 lines
Diff to previous 1.237 , to selected 1.138
Restored Climacs' Group-support.

Revision 1.237 - (view) (annotate) - [select for diffs]
Fri Nov 16 09:25:03 2007 UTC (6 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.236: +8 -0 lines
Diff to previous 1.236 , to selected 1.138
Made code for buffer switching in Climacs a bit more centralised, you
no longer have to use `switch-to-buffer' or experience pain.

Revision 1.236 - (view) (annotate) - [select for diffs]
Mon Feb 19 22:06:18 2007 UTC (7 years, 1 month ago) by thenriksen
Branch: MAIN
Changes since 1.235: +8 -5 lines
Diff to previous 1.235 , to selected 1.138
Made Climacs more happy about having commands fed to it by other
threads.

Revision 1.235 - (view) (annotate) - [select for diffs]
Sun Jan 14 19:48:18 2007 UTC (7 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.234: +1 -1 lines
Diff to previous 1.234 , to selected 1.138
Drei requires command table objects, not command table designators.

Revision 1.234 - (view) (annotate) - [select for diffs]
Sun Dec 10 19:44:56 2006 UTC (7 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.233: +8 -4 lines
Diff to previous 1.233 , to selected 1.138
Updated to keep up with Drei changes, in particular the improvements
to the Lisp syntax module.

Revision 1.233 - (view) (annotate) - [select for diffs]
Wed Nov 22 18:27:03 2006 UTC (7 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.232: +0 -3 lines
Diff to previous 1.232 , to selected 1.138
This definition is not actually necessary.

Revision 1.232 - (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.231: +145 -203 lines
Diff to previous 1.231 , to selected 1.138
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.231 - (view) (annotate) - [select for diffs]
Tue Sep 12 19:49:18 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
CVS Tags: works-with-0_9_3
Changes since 1.230: +43 -18 lines
Diff to previous 1.230 , to selected 1.138
Try to naively unbreak typeout panes a little more. Also some fixes
related to accepting buffers.

Revision 1.230 - (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.229: +2 -0 lines
Diff to previous 1.229 , to selected 1.138
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.229 - (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.228: +5 -1 lines
Diff to previous 1.228 , to selected 1.138
Implement `frame-current-buffer' and define and export `current-mark'.

Revision 1.228 - (view) (annotate) - [select for diffs]
Sun Aug 20 13:06:39 2006 UTC (7 years, 7 months ago) by thenriksen
Branch: MAIN
Changes since 1.227: +3 -2 lines
Diff to previous 1.227 , to selected 1.138
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.227 - (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.226: +1 -1 lines
Diff to previous 1.226 , to selected 1.138
* 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.226 - (view) (annotate) - [select for diffs]
Thu Jul 27 14:35:35 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.225: +13 -9 lines
Diff to previous 1.225 , to selected 1.138
Changed `typeout-window' to return the existing pane if a pane with
the specified label already exists.

Revision 1.225 - (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.224: +1 -172 lines
Diff to previous 1.224 , to selected 1.138
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.224 - (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.223: +166 -5 lines
Diff to previous 1.223 , to selected 1.138
* 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.223 - (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.222: +8 -6 lines
Diff to previous 1.222 , to selected 1.138
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.222 - (view) (annotate) - [select for diffs]
Sat Jul 22 20:35:06 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.221: +3 -3 lines
Diff to previous 1.221 , to selected 1.138
C-x C-b now behaves as an Emacs user would expect.

Revision 1.221 - (view) (annotate) - [select for diffs]
Fri Jul 21 06:25:45 2006 UTC (7 years, 8 months ago) by thenriksen
Branch: MAIN
Changes since 1.220: +1 -1 lines
Diff to previous 1.220 , to selected 1.138
Changed `with-undo' so undo works properly for commands that modify
buffers that were not the current buffer when the command loop
started. A single undo operation still cannot undo for multiple
buffers, however, so the user will have to manually invoke undo for
each buffer.

Revision 1.220 - (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.219: +0 -46 lines
Diff to previous 1.219 , to selected 1.138
Added new CLIMACS package and moved entry points to it.

Revision 1.219 - (view) (annotate) - [select for diffs]
Tue Jun 13 11:34:52 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.218: +12 -2 lines
Diff to previous 1.218 , to selected 1.138
Added internal option to show line and column number in info-pane,
fixed bug in info-pane display code where buffers with long names
would cause an error.

Revision 1.218 - (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.217: +0 -2 lines
Diff to previous 1.217 , to selected 1.138
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.217 - (view) (annotate) - [select for diffs]
Sun Jun 4 16:27:18 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.216: +1 -1 lines
Diff to previous 1.216 , to selected 1.138
Oops. Call `name-for-info-pane' with the master pane as the :pane
parameter, not the info pane itself.

Revision 1.216 - (view) (annotate) - [select for diffs]
Sun Jun 4 16:21:06 2006 UTC (7 years, 10 months ago) by thenriksen
Branch: MAIN
Changes since 1.215: +1 -1 lines
Diff to previous 1.215 , to selected 1.138
Added optional keyword parameters to the `name-for-info-pane' generic
function.

Revision 1.215 - (view) (annotate) - [select for diffs]
Sun May 14 17:42:21 2006 UTC (7 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.214: +75 -19 lines
Diff to previous 1.214 , to selected 1.138
A few bells and whistles:

* add a command argument for kill-buffer, rather than an accept in the
body;

* when running execute-frame-command, only update syntax etc. when the
frame argument is also *application-frame*;

* climacs implementations of read-only and modified widgets for the info
pane.  Ideally that should be ESA functionality, but it didn't look to
me that the info pane was well factored yet.

* #+sbcl implementation of climacs-as-cl:ed.

Revision 1.214 - (view) (annotate) - [select for diffs]
Sat May 13 17:19:10 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.213: +3 -43 lines
Diff to previous 1.213 , to selected 1.138
Changes relating to the new help facilities in ESA.

Revision 1.213 - (view) (annotate) - [select for diffs]
Fri May 12 10:31:56 2006 UTC (7 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.212: +15 -7 lines
Diff to previous 1.212 , to selected 1.138
Don't scribble over ESA's command tables; instead, define a
climacs-help-table to contain customizations of commands.

Revision 1.212 - (view) (annotate) - [select for diffs]
Thu May 4 19:03:46 2006 UTC (7 years, 11 months ago) by dmurray
Branch: MAIN
Changes since 1.211: +8 -0 lines
Diff to previous 1.211 , to selected 1.138
Added some docstrings to commands.

Revision 1.211 - (view) (annotate) - [select for diffs]
Tue May 2 18:02:15 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.210: +46 -0 lines
Diff to previous 1.210 , to selected 1.138
Added new help commands.

Revision 1.210 - (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.209: +11 -17 lines
Diff to previous 1.209 , to selected 1.138
Changed the colors of `climacs-rv' slightly and exported the symbol
from the :climacs-gui package.

Revision 1.209 - (view) (annotate) - [select for diffs]
Mon Mar 27 15:54:31 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.208: +3 -1 lines
Diff to previous 1.208 , to selected 1.138
Make kill-buffer do a full redisplay of the replacement buffer.

Revision 1.208 - (view) (annotate) - [select for diffs]
Mon Mar 27 15:43:17 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.207: +9 -14 lines
Diff to previous 1.207 , to selected 1.138
The order of events when executing a command must go:

1. execute the command
2. (a) update-syntax;
   (b) update needs-saving;
3. redisplay panes
4. clear-modify

Put 1. and 2. in execute-frame-command :after and 4. in
execute-frame-command :around; 3. happens in execute-frame-command
:around ESA.  It's not the tidiest implementation right now but it sort
of works.

Make sure that a loaded file has an up-to-date syntax and a cleared
modified flag.

Revision 1.207 - (view) (annotate) - [select for diffs]
Mon Mar 27 14:10:24 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.206: +3 -4 lines
Diff to previous 1.206 , to selected 1.138
Argh.  Now that EXECUTE-FRAME-COMMAND calls REDISPLAY-FRAME-PANES, we
mustn't clear-modify in REDISPLAY-FRAME-PANES because otherwise we never
notice that we have to save anything.  Band-aid fix because I need to
produce binaries this afternoon.

Revision 1.206 - (view) (annotate) - [select for diffs]
Sun Mar 26 14:17:04 2006 UTC (8 years ago) by thenriksen
Branch: MAIN
Changes since 1.205: +8 -0 lines
Diff to previous 1.205 , to selected 1.138
Added `current-point' and `current-buffer' convenience functions.

Revision 1.205 - (view) (annotate) - [select for diffs]
Sat Mar 25 22:29:12 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.204: +22 -23 lines
Diff to previous 1.204 , to selected 1.138
Modify gui.lisp to use frame arguments where applicable, as redisplay
methods need not be run in the application thread.

Document the need for external flexichain and esa checkouts, and remove
esa.lisp.

Revision 1.204 - (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.203: +8 -2 lines
Diff to previous 1.203 , to selected 1.138
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.203 - (view) (annotate) - [select for diffs]
Sat Feb 25 10:19:09 2006 UTC (8 years, 1 month ago) by thenriksen
Branch: MAIN
Changes since 1.202: +2 -0 lines
Diff to previous 1.202 , to selected 1.138
Make `climacs-rv' with :new-process t work under SBCL, where dynamic
bindings are not inherited by child processes. (Sorry, last
commit-message was erroneous.)

Revision 1.202 - (view) (annotate) - [select for diffs]
Sat Feb 25 10:14:29 2006 UTC (8 years, 1 month ago) by thenriksen
Branch: MAIN
Changes since 1.201: +17 -7 lines
Diff to previous 1.201 , to selected 1.138
Added `reset-esa' restart to break out of deadlocks.

Revision 1.201 - (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.200: +8 -3 lines
Diff to previous 1.200 , to selected 1.138
Refactored the Lisp syntax module so it is no longer integrated with
the global command table and gui.lisp.

Revision 1.200 - (view) (annotate) - [select for diffs]
Sun Jan 22 13:20:54 2006 UTC (8 years, 2 months ago) by dmurray
Branch: MAIN
Changes since 1.199: +1 -1 lines
Diff to previous 1.199 , to selected 1.138
Changed *info-bg-color* to +gray85+

Revision 1.199 - (view) (annotate) - [select for diffs]
Sun Jan 8 09:08:17 2006 UTC (8 years, 3 months ago) by dholman
Branch: MAIN
Changes since 1.198: +25 -1 lines
Diff to previous 1.198 , to selected 1.138
Adds basic color customization and an example of its use.
See (climacs-gui::climacs-rv) for climacs in reverse video.
(Similar to `emacs -rv`)

Revision 1.198 - (view) (annotate) - [select for diffs]
Mon Nov 14 16:30:13 2005 UTC (8 years, 5 months ago) by dlewis
Branch: MAIN
Changes since 1.197: +2 -1 lines
Diff to previous 1.197 , to selected 1.138
Added command-table slot to syntax objects. Define-syntax now passes command-table
to new syntaxes. com-extended-command uses find-applicable-command-table.

Revision 1.197 - (view) (annotate) - [select for diffs]
Sun Nov 13 09:24:45 2005 UTC (8 years, 5 months ago) by dmurray
Branch: MAIN
Changes since 1.196: +16 -4 lines
Diff to previous 1.196 , to selected 1.138
Replaced (typep x 'extended-pane) tests with new gf buffer-pane-p.
Fixed command-table bug with non-buffer panes. Still need a way to
choose command-tables for non-buffer panes e.g. help panes.

Revision 1.196 - (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.195: +13 -5 lines
Diff to previous 1.195 , to selected 1.138
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.195 - (view) (annotate) - [select for diffs]
Sat Nov 12 09:34:34 2005 UTC (8 years, 5 months ago) by dmurray
Branch: MAIN
Changes since 1.194: +36 -2344 lines
Diff to previous 1.194 , to selected 1.138
Moved various things from gui.lisp into developer-commands.lisp,
file-commands.lisp, misc-commands.lisp (rather large...),
search-commands.lisp, unicode-commands.lisp and
window-commands.lisp. Also tried to get the .asd right.
Additionally, removed "lisp" as a file-type for the Common Lisp
syntax.

Revision 1.194 - (view) (annotate) - [select for diffs]
Thu Nov 3 10:17:40 2005 UTC (8 years, 5 months ago) by crhodes
Branch: MAIN
Changes since 1.193: +10 -3 lines
Diff to previous 1.193 , to selected 1.138
Be gentle to those users (i.e. .gold.ac.uk) using climacs for its
buffers and syntaxes without the gui.  Pile another hack in the
:around method for (setf syntax).  Live in hope that one day all this
will be cleaned up.

Revision 1.193 - (view) (annotate) - [select for diffs]
Mon Oct 31 13:42:31 2005 UTC (8 years, 5 months ago) by crhodes
Branch: MAIN
Changes since 1.192: +16 -1 lines
Diff to previous 1.192 , to selected 1.138
Fix slidemacs-gui syntax, in a slightly hacky way (but less hacky than
CSR climacs-devel 2005-10-30).

New function CLIMACS-GUI::NOTE-PANE-SYNTAX-CHANGED, used by (SETF
BUFFER) and (SETF SYNTAX), and with methods automatically defined with
the :COMMAND-TABLE option to DEFINE-SYNTAX.

Don't let slidemacs-gui put stuff in the global command table.

Revision 1.192 - (view) (annotate) - [select for diffs]
Wed Oct 19 20:56:59 2005 UTC (8 years, 6 months ago) by dmurray
Branch: MAIN
Changes since 1.191: +49 -50 lines
Diff to previous 1.191 , to selected 1.138
Removed formatting-table stuff from info-pane (didn't
really add much).
Fixed bug when C-x b-ing with only one buffer.

Revision 1.191 - (view) (annotate) - [select for diffs]
Thu Oct 13 09:34:12 2005 UTC (8 years, 6 months ago) by crhodes
Branch: MAIN
Changes since 1.190: +5 -4 lines
Diff to previous 1.190 , to selected 1.138
Fix for unintuitive capitalization of replacement string ("X4" replaced
by "Xa////" got turned into "XA////").

Revision 1.190 - (view) (annotate) - [select for diffs]
Tue Oct 11 21:20:52 2005 UTC (8 years, 6 months ago) by dmurray
Branch: MAIN
Changes since 1.189: +72 -35 lines
Diff to previous 1.189 , to selected 1.138
Added :errorp nil to command-table definitions for easier reloading
during development.
Also added right-click (sets mark to previous point, point to
where clicked, and copies resulting region to kill-ring) and
middle-click (pastes from kill-ring).

Revision 1.189 - (view) (annotate) - [select for diffs]
Tue Sep 13 19:38:02 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.188: +5 -5 lines
Diff to previous 1.188 , to selected 1.138
Quick close-paren fix.

Revision 1.188 - (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.187: +682 -433 lines
Diff to previous 1.187 , to selected 1.138
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.187 - (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.186: +9 -6 lines
Diff to previous 1.186 , to selected 1.138
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.186 - (view) (annotate) - [select for diffs]
Thu Sep 1 01:05:51 2005 UTC (8 years, 7 months ago) by mretzlaff
Branch: MAIN
Changes since 1.185: +37 -37 lines
Diff to previous 1.185 , to selected 1.138
Manually substituted all occasions of the following abbreviations:

  int -> minibuffer (sic! See below)
  win -> window
  buf -> buffer

This is no assembler, right? We have more than three letters for symbols.


> Robert Strandh wrote:
> > Max-Gerd Retzlaff writes:
>  > Okay, that's all. Only one question left: Why is the variable in the
>  > DEFINE-APPLICATION-FRAME form that holds the minibuffer-pane called
>  > "int"? What is the meaning of "int"?  I don't get it.
>
> *blush* it used to be for "interactor".  Feel free to rename it.

Revision 1.185 - (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.184: +21 -28 lines
Diff to previous 1.184 , to selected 1.138
 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.184 - (view) (annotate) - [select for diffs]
Tue Aug 30 17:28:52 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.183: +467 -333 lines
Diff to previous 1.183 , to selected 1.138
Changed ESA's set-key to automatically create dead-escape
equivalents to :meta commands. Changed all global-set-keys
to use set-key instead. Now key-chords are assigned next to
the command definitions. All commands currently in
global-climacs-table. The next task is to redistribute them
among relevant groupings of tables.

Revision 1.183 - (view) (annotate) - [select for diffs]
Thu Aug 25 08:43:55 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.182: +0 -2 lines
Diff to previous 1.182 , to selected 1.138
Removed debugging message.

Revision 1.182 - (view) (annotate) - [select for diffs]
Thu Aug 25 07:48:13 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.181: +15 -0 lines
Diff to previous 1.181 , to selected 1.138
Added dead-escape #\x back to global-climacs-table.
Added com-regex-search and com-regex-search-forward to
let people experiment with the cl-automaton regex
facility.

Revision 1.181 - (view) (annotate) - [select for diffs]
Sat Aug 20 19:44:08 2005 UTC (8 years, 7 months ago) by dmurray
Branch: MAIN
Changes since 1.180: +69 -26 lines
Diff to previous 1.180 , to selected 1.138
Fix isearch bug (introduced earlier), futzed with modeline
format string, added default to Kill Buffer.

Revision 1.180 - (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.179: +81 -25 lines
Diff to previous 1.179 , to selected 1.138
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.179 - (view) (annotate) - [select for diffs]
Thu Aug 18 20:44:48 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.178: +79 -29 lines
Diff to previous 1.178 , to selected 1.138
Add com-set-visited-file-name, com-revert-buffer,
backups ("file.foo~") when saving existing files,
some more file/directory checks.
Also fixed some problems I introduced last time.
(erase-buffer is v. slow.)

Revision 1.178 - (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.177: +423 -304 lines
Diff to previous 1.177 , to selected 1.138
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.177 - (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.176: +3 -0 lines
Diff to previous 1.176 , to selected 1.138
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.176 - (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.175: +25 -0 lines
Diff to previous 1.175 , to selected 1.138
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.175 - (view) (annotate) - [select for diffs]
Sun Aug 14 12:11:21 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.174: +142 -17 lines
Diff to previous 1.174 , to selected 1.138
Added com-backward-kill-expression (M-C-Backspace),
com-kill-expression (M-C-k), com-forward-list (M-C-n),
com-backward-list (M-C-p), com-down-list (M-C-d),
com-backward-up-list (M-C-u), com-up-list,
com-backward-down-list.
Also a (currently empty) C-c command table,
and a hacky way of choosing my favourite look over the
standard look (by setting climacs-gui::*with-scrollbars*
to nil before starting).

Revision 1.174 - (view) (annotate) - [select for diffs]
Mon Aug 8 18:32:02 2005 UTC (8 years, 8 months ago) by crhodes
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 , to selected 1.138
delete a couple of stray extra parens

Revision 1.173 - (view) (annotate) - [select for diffs]
Mon Aug 8 14:48:21 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.172: +59 -1 lines
Diff to previous 1.172 , to selected 1.138
Added new commands.

com-delete-horizontal-space (M-\), com-scroll-other-window (M-C-v),
com-kill-sentence (M-k), com-backward-kill-sentence (C-x Backspace),
com-mark-page (C-x C-p).

Revision 1.172 - (view) (annotate) - [select for diffs]
Mon Aug 8 12:15:05 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.171: +26 -3 lines
Diff to previous 1.171 , to selected 1.138
Added com-count-lines-region (M-=) and com-what-cursor-position (C-x =).
(Also altered com-browse-url to actually run on my iBook.)

Revision 1.171 - (view) (annotate) - [select for diffs]
Sat Aug 6 20:51:19 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.170: +99 -46 lines
Diff to previous 1.170 , to selected 1.138
Mainly numeric argument additions.
Altered numeric argument reading to accept negative arguments,
and made consequent changes to commands (e.g. com-self-insert now accepts
numeric arguments, com-forward-object goes backwards with negative prefix
argument etc.).
Also, ensure initial *scratch* buffer is on application buffer list

Revision 1.170 - (view) (annotate) - [select for diffs]
Fri Aug 5 12:40:56 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.169: +136 -32 lines
Diff to previous 1.169 , to selected 1.138
Added and altered various commands.

#\Page added to whitespacep for non-sbcl
Added com-not-modified (M-~), com-set-fill-column (C-x f),
com-kill-word (M-d), com-backward-kill-word (M-Backspace),
com-backward-sentence (M-a), com-forward-sentence (M-e_,
com-forward-page (C-x ]), com-backward-page (C-x [),
com-count-lines-page (C-x l), com-beginning-of-definition (M-C-a),
com-end-of-definition (M-C-e), com-mark-definition (M-C-h).
Changed com-goto-line to be 1-based, not 0-based.
Renamed com-cut-out -> com-kill-region, com-copy-out -> com-copy-region,
com-beginning-of-paragraph -> com-backward-paragraph,
com-end-of-paragraph -> com-forward-paragraph.

Revision 1.169 - (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.168: +12 -0 lines
Diff to previous 1.168 , to selected 1.138
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.168 - (view) (annotate) - [select for diffs]
Mon Aug 1 21:53:38 2005 UTC (8 years, 8 months ago) by dmurray
Branch: MAIN
Changes since 1.167: +36 -0 lines
Diff to previous 1.167 , to selected 1.138
Added Mark Word, Mark Whole Buffer, Mark Paragraph and Mark Expression commands.

Revision 1.167 - (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.166: +4 -5 lines
Diff to previous 1.166 , to selected 1.138
Change climacs application frame to use global-climacs-table

Revision 1.166 - (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.165: +14 -0 lines
Diff to previous 1.165 , to selected 1.138
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.165 - (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.164: +2 -23 lines
Diff to previous 1.164 , to selected 1.138
Moved keyboard macros to esa.lisp and to a new command table:
keyboard-macro-table.

Revision 1.164 - (view) (annotate) - [select for diffs]
Sun Jul 24 05:10:47 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.163: +18 -25 lines
Diff to previous 1.163 , to selected 1.138
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.163 - (view) (annotate) - [select for diffs]
Fri Jul 22 13:15:47 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.162: +1 -1 lines
Diff to previous 1.162 , to selected 1.138
Fixed a bug that made extended commands unavailable.

Revision 1.162 - (view) (annotate) - [select for diffs]
Fri Jul 22 05:35:06 2005 UTC (8 years, 8 months ago) by rstrandh
Branch: MAIN
Changes since 1.161: +0 -11 lines
Diff to previous 1.161 , to selected 1.138
Removed functions find-climacs-pane and find-real-pane because they
are no longer needed.

Removed stupid names from panes, because they are not needed.

Wrote a new version of set-key that can take a list of key strokes and
that creates nested command tables as needed.  Modified the esa
example to take advantage of this new feature.  Now, Climacs itself
should probably be modified to take advantage of it.

Revision 1.161 - (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.160: +26 -211 lines
Diff to previous 1.160 , to selected 1.138
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.160 - (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.159: +14 -39 lines
Diff to previous 1.159 , to selected 1.138
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.159 - (view) (annotate) - [select for diffs]
Wed Jul 20 09:41:06 2005 UTC (8 years, 9 months ago) by dholman
Branch: MAIN
Changes since 1.158: +31 -0 lines
Diff to previous 1.158 , to selected 1.138
Added zap-to commands.
Added sentences to text-syntax.  Currently treated as expressions, with
M-a and M-e bound to the expression movement commands.
Text-syntax might also be a bit faster.

Revision 1.158 - (view) (annotate) - [select for diffs]
Tue Jul 19 18:35:22 2005 UTC (8 years, 9 months ago) by dmurray
Branch: MAIN
Changes since 1.157: +4 -4 lines
Diff to previous 1.157 , to selected 1.138
Replaced cloned marks with (setf offsets) to retain mark identity on switching buffers/panes

Revision 1.157 - (view) (annotate) - [select for diffs]
Mon Jul 18 06:09:50 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.156: +26 -21 lines
Diff to previous 1.156 , to selected 1.138
Renamed things that aren't Climacs specific.

Moved the code for marking buffers as needing to be saved to an :after
method of execute-frame-command.  The previous code was not right, in
that it is entirely possible for a command to modify a buffer which is
not the current one.

Revision 1.156 - (view) (annotate) - [select for diffs]
Sun Jul 17 22:40:37 2005 UTC (8 years, 9 months ago) by abakic
Branch: MAIN
Changes since 1.155: +2 -6 lines
Diff to previous 1.155 , to selected 1.138
Bug fix: coalesced two "same" execute-frame-command methods.

Revision 1.155 - (view) (annotate) - [select for diffs]
Sun Jul 17 15:31:38 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.154: +9 -3 lines
Diff to previous 1.154 , to selected 1.138
Reassign *standard-input* when the current pane changes, otherwise the
concept of previous-command (which is per-pane) does not make sense.

Revision 1.154 - (view) (annotate) - [select for diffs]
Sun Jul 17 12:40:19 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.153: +41 -41 lines
Diff to previous 1.153 , to selected 1.138
factored out process-gestures from climacs-top-level

Revision 1.153 - (view) (annotate) - [select for diffs]
Sun Jul 17 12:31:55 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.152: +22 -19 lines
Diff to previous 1.152 , to selected 1.138
moved do-command and update-climacs out of climacs-top-level

Revision 1.152 - (view) (annotate) - [select for diffs]
Sun Jul 17 10:24:15 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.151: +23 -16 lines
Diff to previous 1.151 , to selected 1.138
more code factoring of GUI components

Revision 1.151 - (view) (annotate) - [select for diffs]
Sun Jul 17 05:07:41 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.150: +45 -39 lines
Diff to previous 1.150 , to selected 1.138
A small step in towards factoring out common GUI components into a
Climacs-independent module so that they can be reused in similar
applications such as Gsharp.

Specifically, I am trying to factor out:

   * the info pane (done)
   * the minibuffer pane (done)
   * the pane constellation containing an application pane (possibly
     within a scroller pane) and an info pane inside a vbox pane
   * the command loop
   * command processing
   * if possible, common commands such as C-x 0, C-x 1, C-x 2, C-x 3

Revision 1.150 - (view) (annotate) - [select for diffs]
Mon Jul 11 08:47:50 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.149: +1 -0 lines
Diff to previous 1.149 , to selected 1.138
Indentation for defclass.

Code factoring through a macro called define-list-indentor.

Ignore errors when reading package name after `in-package'.

Add C-i as another key for invoking com-indent-line.

Revision 1.149 - (view) (annotate) - [select for diffs]
Sat Jul 2 15:54:22 2005 UTC (8 years, 9 months ago) by crhodes
Branch: MAIN
Changes since 1.148: +1 -1 lines
Diff to previous 1.148 , to selected 1.138
Experimental fix for CSR minibuffer problems.

Oddly, not everyone suffers from this.  Nor from the problem the
handle-repaint method was included to solve: the scrollbars not
adjusting properly.

handle-repaint is not necessarily the right place for this functionality
to be hooked on, but note-sheet-region-changed isn't either: drawing to
a viewport also seems to change the region, so drawing to the frame from
within the note-sheed-region-changed is a bad idea.

Revision 1.148 - (view) (annotate) - [select for diffs]
Tue Jun 28 05:02:34 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.147: +4 -2 lines
Diff to previous 1.147 , to selected 1.138
Fixed a few bugs in the calls to undo and redo
(thanks to Dirk Gerrits for reporting these)

Revision 1.147 - (view) (annotate) - [select for diffs]
Wed Jun 22 18:35:59 2005 UTC (8 years, 9 months ago) by bmastenbrook
Branch: MAIN
Changes since 1.146: +1 -10 lines
Diff to previous 1.146 , to selected 1.138
Add an :after method on (setf syntax) for buffers; this updates the top and bottom marks correctly

Revision 1.146 - (view) (annotate) - [select for diffs]
Sat Jun 18 02:01:56 2005 UTC (8 years, 10 months ago) by bmastenbrook
Branch: MAIN
Changes since 1.145: +7 -0 lines
Diff to previous 1.145 , to selected 1.138
Current state of slidemacs

Revision 1.145 - (view) (annotate) - [select for diffs]
Fri Jun 17 10:42:32 2005 UTC (8 years, 10 months ago) by dbarlow
Branch: MAIN
Changes since 1.144: +1 -1 lines
Diff to previous 1.144 , to selected 1.138
Fix errant apostrophe that was causing COMMAND-TABLE-NOT-FOUND errors
at odd times

Revision 1.144 - (view) (annotate) - [select for diffs]
Wed Jun 15 06:00:12 2005 UTC (8 years, 10 months ago) by rstrandh
Branch: MAIN
Changes since 1.143: +12 -0 lines
Diff to previous 1.143 , to selected 1.138
Initial steps toward more Common Lisp awareness.  For now, we parse
lexemes into symbols whenever possible, and present them as such.  For
experimentation, two commands com-accept-string and com-accept-symbol
exist to verify that the presentation works.

The symbols we obtain will be used to compute indentation, which is
next on the list of things to do.

Revision 1.143 - (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.142: +7 -0 lines
Diff to previous 1.142 , to selected 1.138
New command `eval-defun' bound to C-M-x

Revision 1.142 - (view) (annotate) - [select for diffs]
Mon May 30 07:51:32 2005 UTC (8 years, 10 months ago) by rstrandh
Branch: MAIN
Changes since 1.141: +4 -2 lines
Diff to previous 1.141 , to selected 1.138
added reader conditionals around calls to sb-profile:xxx

Revision 1.141 - (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.140: +35 -1 lines
Diff to previous 1.140 , to selected 1.138
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.140 - (view) (annotate) - [select for diffs]
Thu May 26 08:31:53 2005 UTC (8 years, 10 months ago) by crhodes
Branch: MAIN
Changes since 1.139: +14 -2 lines
Diff to previous 1.139 , to selected 1.138
OK, no-one complained too much, so I'm going ahead with the syntax
file-type changes discussed in <sqmzqrhbma.fsf@cam.ac.uk>:
DEFINE-SYNTAX's syntax is changed incompatibly.

Revision 1.139 - (view) (annotate) - [select for diffs]
Thu May 19 09:04:26 2005 UTC (8 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.138: +15 -0 lines
Diff to previous 1.138
Add com-insert-file (from David Lewis)

Revision 1.138 - (view) (annotate) - [selected]
Tue May 10 16:28:53 2005 UTC (8 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137
Restore the (in-package ...) and the copyright information to
buffer.lisp

The buffer accessor is FILEPATH, not FILENAME

Revision 1.137 - (view) (annotate) - [select for diffs]
Mon May 9 14:47:45 2005 UTC (8 years, 11 months ago) by rstrandh
Branch: MAIN
Changes since 1.136: +6 -2 lines
Diff to previous 1.136 , to selected 1.138
Patch from John Q Splittist making the behavior of points in panes
more natural.

Revision 1.136 - (view) (annotate) - [select for diffs]
Mon May 9 14:13:44 2005 UTC (8 years, 11 months ago) by rstrandh
Branch: MAIN
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 , to selected 1.138
Patch from John Q Splittist making Climacs not ask about saving buffers
without associated file names.

Revision 1.135 - (view) (annotate) - [select for diffs]
Sun May 8 20:16:32 2005 UTC (8 years, 11 months ago) by abakic
Branch: MAIN
Changes since 1.134: +43 -18 lines
Diff to previous 1.134 , to selected 1.138
Contribution by John Q Splittist: Feedback and default replacements
for Query Replace.

Revision 1.134 - (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.133: +19 -19 lines
Diff to previous 1.133 , to selected 1.138
Contribution by John Q Splittist: Renamed occurrences of `filename'
(actually referring to pathnames) to `filepath'.

Revision 1.133 - (view) (annotate) - [select for diffs]
Fri May 6 16:56:32 2005 UTC (8 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.132: +39 -32 lines
Diff to previous 1.132 , to selected 1.138
rearrange the toplevel loop a little

Revision 1.132 - (view) (annotate) - [select for diffs]
Thu May 5 23:00:23 2005 UTC (8 years, 11 months ago) by abakic
Branch: MAIN
Changes since 1.131: +0 -3 lines
Diff to previous 1.131 , to selected 1.138
Contribution by John Q Splittist: Removed syntax and point reset from
com-switch-to-buffer.

Revision 1.131 - (view) (annotate) - [select for diffs]
Thu May 5 10:59:42 2005 UTC (8 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.130: +14 -14 lines
Diff to previous 1.130 , to selected 1.138
Provide a "comfort" restart, allowing recovery from unhandled lisp
errors in the dynamic extent of the climacs command loop

Revision 1.130 - (view) (annotate) - [select for diffs]
Wed May 4 22:51:19 2005 UTC (8 years, 11 months ago) by abakic
Branch: MAIN
Changes since 1.129: +9 -1 lines
Diff to previous 1.129 , to selected 1.138
Contribution by John Q. Splittist: Minibuffer feedback for the Isearch fns.

Revision 1.129 - (view) (annotate) - [select for diffs]
Tue May 3 20:45:17 2005 UTC (8 years, 11 months ago) by abakic
Branch: MAIN
Changes since 1.128: +12 -6 lines
Diff to previous 1.128 , to selected 1.138
Contribution by John Q. Splittist: Made Find File more portable by
copying some code from cl-fad.

Revision 1.128 - (view) (annotate) - [select for diffs]
Sat Mar 19 22:08:31 2005 UTC (9 years, 1 month ago) by abakic
Branch: MAIN
Changes since 1.127: +4 -2 lines
Diff to previous 1.127 , to selected 1.138
Persistent/persistent-undo.lisp: new file containing the simple
version of the Undo protocol that relies on persistent buffers. Marks
are not persistent (yet?), they are only "fixed" to prevent trivial
errors.

climacs.asd: added Persistent/persistent-undo.lisp.

gui.lisp: added calls to full-redisplay at the end of com-undo and
com-redo (could not find a better way).

pane.lisp: added copyright info; fixed a bug in with-undo macro;
modified extended-binseq2-buffer to inherit from p-undo-mixin; cleaned
up some mark cloning code.

Revision 1.127 - (view) (annotate) - [select for diffs]
Sat Mar 5 07:03:52 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126 , to selected 1.138
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.126 - (view) (annotate) - [select for diffs]
Mon Feb 28 08:51:33 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.125: +0 -12 lines
Diff to previous 1.125 , to selected 1.138
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.125 - (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.124: +23 -21 lines
Diff to previous 1.124 , to selected 1.138
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.124 - (view) (annotate) - [select for diffs]
Thu Feb 24 08:30:28 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.123: +52 -15 lines
Diff to previous 1.123 , to selected 1.138
Many commands now capture their own error situations and give
reasonable error messages in the minibuffer.

Revision 1.123 - (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.122: +17 -8 lines
Diff to previous 1.122 , to selected 1.138
Implemented new conditions according to proposal on the devel list.

Revision 1.122 - (view) (annotate) - [select for diffs]
Wed Feb 23 06:13:09 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.121: +16 -14 lines
Diff to previous 1.121 , to selected 1.138
Fixed a problem introduced by a recent change to the command loop, where
the numeric argument flag was not replaced in commands.

Revision 1.121 - (view) (annotate) - [select for diffs]
Tue Feb 22 11:01:38 2005 UTC (9 years, 1 month ago) by crhodes
Branch: MAIN
Changes since 1.120: +57 -49 lines
Diff to previous 1.120 , to selected 1.138
Implement, basically from Tim Moore, a command input context for the climacs
top level.  (This allows presentation-to-command translators to be clickable)

Revision 1.120 - (view) (annotate) - [select for diffs]
Tue Feb 22 08:29:03 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119 , to selected 1.138
Give the user a message after C-g.

Revision 1.119 - (view) (annotate) - [select for diffs]
Tue Feb 22 07:29:08 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.118: +34 -35 lines
Diff to previous 1.118 , to selected 1.138
C-g now aborts extended commands.

Revision 1.118 - (view) (annotate) - [select for diffs]
Mon Feb 21 12:51:55 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.117: +0 -3 lines
Diff to previous 1.117 , to selected 1.138
Removed debug message and an obsolete comment.

Revision 1.117 - (view) (annotate) - [select for diffs]
Mon Feb 21 08:51:03 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.116: +37 -76 lines
Diff to previous 1.116 , to selected 1.138
Fixed old problem with using adjuster gadget.

Revision 1.116 - (view) (annotate) - [select for diffs]
Mon Feb 21 07:58:39 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.115: +7 -13 lines
Diff to previous 1.115 , to selected 1.138
Simplified implementation of com-delete-window

Revision 1.115 - (view) (annotate) - [select for diffs]
Mon Feb 21 07:47:26 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.114: +4 -19 lines
Diff to previous 1.114 , to selected 1.138
Simplified implementation of com-single-window and made it independent
of the clim-internals package.

Revision 1.114 - (view) (annotate) - [select for diffs]
Sun Feb 20 05:39:16 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.113: +2 -0 lines
Diff to previous 1.113 , to selected 1.138
Lines are no longer wrapped by CLIM.  Scrolling does not work very well
either though.  We do need that custom scroller pane.

Revision 1.113 - (view) (annotate) - [select for diffs]
Sun Feb 20 05:11:39 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.112: +4 -0 lines
Diff to previous 1.112 , to selected 1.138
Redisplay is now invoked when the frame is resized.

Revision 1.112 - (view) (annotate) - [select for diffs]
Sat Feb 19 06:19:06 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 , to selected 1.138
open-line now takes an optional count argument.

com-open-line now accepts a numeric argument that it passes on to
open-line.

Revision 1.111 - (view) (annotate) - [select for diffs]
Sat Feb 19 06:09:45 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.110: +8 -8 lines
Diff to previous 1.110 , to selected 1.138
next-line and previous-line now take an additional optional argument
indicating how many lines to move.

com-next-line and com-previous-line now take numeric arguments and pass
then on to next-line and previous-line.

Revision 1.110 - (view) (annotate) - [select for diffs]
Sat Feb 19 05:45:03 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.109: +19 -13 lines
Diff to previous 1.109 , to selected 1.138
Used the new *numeric-argument-p* feature to implement Emacs-like
behavior for kill-line.

Revision 1.109 - (view) (annotate) - [select for diffs]
Sat Feb 19 05:23:16 2005 UTC (9 years, 1 month ago) by rstrandh
Branch: MAIN
Changes since 1.108: +44 -28 lines
Diff to previous 1.108 , to selected 1.138
Implemented flag *numeric-argument-p* to detect whether a numeric
argument was given att all.

Implemented eval-expression, M-:, which uses numeric-argument-p to
dentermine whether to show the result in the minibuffer or to insert
it into the buffer itself.

Revision 1.108 - (view) (annotate) - [select for diffs]
Sun Feb 13 02:52:08 2005 UTC (9 years, 2 months ago) by ejohnson
Branch: MAIN
Changes since 1.107: +1 -2 lines
Diff to previous 1.107 , to selected 1.138
heh left some test code in there, sorry

Revision 1.107 - (view) (annotate) - [select for diffs]
Sun Feb 13 02:47:06 2005 UTC (9 years, 2 months ago) by ejohnson
Branch: MAIN
Changes since 1.106: +24 -0 lines
Diff to previous 1.106 , to selected 1.138
Hi guys, added com-single-window [ C-x 1 ] which closes all but the current window.  I'm not gone, I've just been busy.

Revision 1.106 - (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.105: +29 -6 lines
Diff to previous 1.105 , to selected 1.138
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.105 - (view) (annotate) - [select for diffs]
Sun Jan 30 22:17:30 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.104: +18 -13 lines
Diff to previous 1.104 , to selected 1.138
Fixed bad isearch behaviour when searching after a failure

Revision 1.104 - (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.103: +19 -5 lines
Diff to previous 1.103 , to selected 1.138
Made query-replace respect the case of replaced strings.

Revision 1.103 - (view) (annotate) - [select for diffs]
Sat Jan 29 07:05:42 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.102: +6 -6 lines
Diff to previous 1.102 , to selected 1.138
The functions delete-word and backward-delete-word now
take an optional count argument.

The corresponding Climacs commands now accept numeric arguments.

Revision 1.102 - (view) (annotate) - [select for diffs]
Sat Jan 29 06:53:44 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.101: +8 -8 lines
Diff to previous 1.101 , to selected 1.138
The functions forward-word and backward-word now thake an
optional count argument.

The corresponding Climacs command now accept numeric arguments.

Revision 1.101 - (view) (annotate) - [select for diffs]
Fri Jan 28 18:47:29 2005 UTC (9 years, 2 months ago) by abakic
Branch: MAIN
Changes since 1.100: +6 -6 lines
Diff to previous 1.100 , to selected 1.138
Changed downcase, upcase and capitalize methods to be symmetrical wrt. marks.
Added (setf buffer-object) methods to binseq-buffer and obinseq-buffer.
More tests and comments.

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

Revision 1.99 - (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.98: +1 -1 lines
Diff to previous 1.98 , to selected 1.138
Persistent/balanced-tree buffer implementations with tests.

Revision 1.98 - (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.97: +13 -0 lines
Diff to previous 1.97 , to selected 1.138
Implemented undo and redo.

Revision 1.97 - (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.96: +57 -36 lines
Diff to previous 1.96 , to selected 1.138
Added backward isearch

Revision 1.96 - (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.95: +119 -12 lines
Diff to previous 1.95 , to selected 1.138
Added basic Isearch support

Revision 1.95 - (view) (annotate) - [select for diffs]
Sat Jan 22 15:20:44 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.94: +8 -4 lines
Diff to previous 1.94 , to selected 1.138
Copy auto-fill parameters when splitting panes, moved auto-fill-column to pane

Revision 1.94 - (view) (annotate) - [select for diffs]
Sat Jan 22 08:04:35 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.93: +24 -0 lines
Diff to previous 1.93 , to selected 1.138
Prepare for the day when McCLIM moves output records instead
of recomputing them.

Revision 1.93 - (view) (annotate) - [select for diffs]
Sat Jan 22 05:45:25 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.92: +25 -14 lines
Diff to previous 1.92 , to selected 1.138
Factored out buffer saving into a separate function.

Improved on com-quit so that it asks the user to save buffers before
quitting.

Revision 1.92 - (view) (annotate) - [select for diffs]
Fri Jan 21 19:39:50 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 , to selected 1.138
Moved auto-fill-mode from buffer to pane

Revision 1.91 - (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.90: +42 -0 lines
Diff to previous 1.90 , to selected 1.138
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.90 - (view) (annotate) - [select for diffs]
Thu Jan 20 23:42:04 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.89: +21 -0 lines
Diff to previous 1.89 , to selected 1.138
Added command fill-paragraph (bound to M-q)

Revision 1.89 - (view) (annotate) - [select for diffs]
Thu Jan 20 19:12:48 2005 UTC (9 years, 2 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.88: +19 -19 lines
Diff to previous 1.88 , to selected 1.138
Fixed bug in fill-line with words longer than fill-column

Revision 1.88 - (view) (annotate) - [select for diffs]
Thu Jan 20 06:01:56 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.87: +5 -3 lines
Diff to previous 1.87 , to selected 1.138
Fixed bug in keyboard macros.

Revision 1.87 - (view) (annotate) - [select for diffs]
Thu Jan 20 01:22:19 2005 UTC (9 years, 2 months ago) by abakic
Branch: MAIN
Changes since 1.86: +3 -4 lines
Diff to previous 1.86 , to selected 1.138
A note/comment about macro use and a few buffer performance tests.

Revision 1.86 - (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.85: +38 -9 lines
Diff to previous 1.85 , to selected 1.138
Added auto-fill mode

Revision 1.85 - (view) (annotate) - [select for diffs]
Wed Jan 19 14:38:47 2005 UTC (9 years, 2 months ago) by rstrandh
Branch: MAIN
Changes since 1.84: +56 -11 lines
Diff to previous 1.84 , to selected 1.138
Implemented keyboard macros, except that there is a bug that
do not have time to track down right now, leaving an extra 'e'
in the buffer.

Revision 1.84 - (view) (annotate) - [select for diffs]
Wed Jan 19 05:28:38 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.83: +4 -2 lines
Diff to previous 1.83 , to selected 1.138
find-file does not create the file if it does not exist.
(thanks to Lawrence Mitchell)

Revision 1.83 - (view) (annotate) - [select for diffs]
Wed Jan 19 05:21:16 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.82: +114 -35 lines
Diff to previous 1.82 , to selected 1.138
implemented preliminary multi-window support.  C-x 2 splits the window
vertically, C-x splits horizontally.  C-x 0 deletes the current
window.  This is still preliminary code.  One annoying problem is that
the entire frame gets resized whenever a new window is added or
deleted.

Revision 1.82 - (view) (annotate) - [select for diffs]
Tue Jan 18 18:59:51 2005 UTC (9 years, 3 months ago) by abakic
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 , to selected 1.138
Rudi's change to delete-region (the relative order of marks should not
matter) and one more related to insertions at the end of buffer.

Revision 1.81 - (view) (annotate) - [select for diffs]
Tue Jan 18 06:55:47 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.80: +35 -25 lines
Diff to previous 1.80 , to selected 1.138
The info pane now displays info about its own associated Climacs pane.

Revision 1.80 - (view) (annotate) - [select for diffs]
Tue Jan 18 05:58:24 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.79: +84 -92 lines
Diff to previous 1.79 , to selected 1.138
Cleaned up some useless code.

Introduced a macro `current-window' in preparation for true
multi-window support.  Please use it now instead of the previous idiom
(win *application-frame*).

A key sequence such as ESC <key> now works the same way as they
keystroke M-<key>.
(thanks to Ignas Mikalajunas)

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

Revision 1.78 - (view) (annotate) - [select for diffs]
Mon Jan 17 13:35:52 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 , to selected 1.138
Code factoring in text-syntax.lisp
(thanks to Rudi Schlatte).

Revision 1.77 - (view) (annotate) - [select for diffs]
Mon Jan 17 12:26:11 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.76: +103 -49 lines
Diff to previous 1.76 , to selected 1.138
preliminary multi-window support.

Revision 1.76 - (view) (annotate) - [select for diffs]
Mon Jan 17 08:04:44 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 , to selected 1.138
Create a new buffer when a name that corresponds to no existing buffer
is issued by the user when prompted for a buffer name.

Revision 1.75 - (view) (annotate) - [select for diffs]
Mon Jan 17 07:10:19 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.74: +33 -2 lines
Diff to previous 1.74 , to selected 1.138
implemented full-redisplay (C-l).

implemented multi-buffer support, with C-x b bound to
the command switch-to-buffer.  Buffer completion works as
expected.

Revision 1.74 - (view) (annotate) - [select for diffs]
Sun Jan 16 20:24:07 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.73: +1 -1 lines
Diff to previous 1.73 , to selected 1.138
Fixed key binding for delete-indentation

Revision 1.73 - (view) (annotate) - [select for diffs]
Sun Jan 16 20:08:54 2005 UTC (9 years, 3 months ago) by mvilleneuve
Branch: MAIN
Changes since 1.72: +1 -0 lines
Diff to previous 1.72 , to selected 1.138
Added key binding for delete-indentation

Revision 1.72 - (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.71: +3 -0 lines
Diff to previous 1.71 , to selected 1.138
Added delete-indentation

Revision 1.71 - (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.70: +14 -0 lines
Diff to previous 1.70 , to selected 1.138
Implemented beginning-of-paragraph and end-of-paragraph, the first
commands to exploit a syntax, in this case text-syntax.

Revision 1.70 - (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.69: +39 -60 lines
Diff to previous 1.69 , to selected 1.138
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.69 - (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.68: +10 -0 lines
Diff to previous 1.68 , to selected 1.138
Added tabify/untabify-region

Revision 1.68 - (view) (annotate) - [select for diffs]
Fri Jan 14 20:44:47 2005 UTC (9 years, 3 months ago) by abakic
Branch: MAIN
Changes since 1.67: +11 -7 lines
Diff to previous 1.67 , to selected 1.138
Turned *overwrite-mode* variable into a slot of climacs-pane. (Perhaps
there should be pane-mixin and buffer-mixin for non-essential slots.)

Revision 1.67 - (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.66: +7 -3 lines
Diff to previous 1.66 , to selected 1.138
First attempt at a syntax for ordinary text.

Revision 1.66 - (view) (annotate) - [select for diffs]
Thu Jan 13 19:36:28 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65 , to selected 1.138
missing comma befor forward-object's *numeric-argument-marker* argument

Revision 1.65 - (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.64: +4 -2 lines
Diff to previous 1.64 , to selected 1.138
Fixed wrong usage of mark-mixin, updated copyrights

Revision 1.64 - (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.63: +21 -7 lines
Diff to previous 1.63 , to selected 1.138
Added upcase/downcase/capitalize-region, and a do-buffer-region macro

Revision 1.63 - (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.62: +6 -0 lines
Diff to previous 1.62 , to selected 1.138
Fixed up abbrevs somewhat.

Made the cursor wider, so easier to find.

Added new command `Load File'.

Revision 1.62 - (view) (annotate) - [select for diffs]
Wed Jan 12 16:41:16 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.61: +57 -52 lines
Diff to previous 1.61 , to selected 1.138
  * added numeric arguments.  This feature requires a CVS version of McCLIM as
    of 2005-01-11.  Only a few commands take numeric arguments at the moment
    such as forward-object, backward-object, delete-object, and
    backward-delete-object.  There are more to come.

  * the cursor display problem has been "fixed" by drawing a rectangle rather than
    a line.  This makes obsolete the hacky code for explicit rounding of cursor
    coordinates.

Revision 1.61 - (view) (annotate) - [select for diffs]
Mon Jan 10 05:31:16 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60 , to selected 1.138
Removed the line number from the status line until we have
the better buffer implementation.  Right now, this function
requires scanning the entire buffer and counting newlines.

Fixed adjust-cache so that it doesn't do anything when there has been no
modification of the buffer since previous redisplay.

Revision 1.60 - (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.59: +12 -1 lines
Diff to previous 1.59 , to selected 1.138
upcase, downcase, capitalize words from Rudi Schlatte.  Thanks!

Revision 1.59 - (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.58: +0 -10 lines
Diff to previous 1.58 , to selected 1.138
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.58 - (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.57: +20 -5 lines
Diff to previous 1.57 , to selected 1.138
Overwrite mode: first iteration (no protocol changes).

Revision 1.57 - (view) (annotate) - [select for diffs]
Sat Jan 8 17:16:19 2005 UTC (9 years, 3 months ago) by abridgewater
Branch: MAIN
Changes since 1.56: +2 -0 lines
Diff to previous 1.56 , to selected 1.138
Made PgUp and PgDn (:PRIOR and :NEXT) keys work.

Revision 1.56 - (view) (annotate) - [select for diffs]
Sat Jan 8 07:46:33 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.55: +6 -7 lines
Diff to previous 1.55 , to selected 1.138
Fixed the beeping from C-k at end-of-buffer, thanks Robert

Revision 1.55 - (view) (annotate) - [select for diffs]
Sat Jan 8 06:30:25 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.54: +8 -14 lines
Diff to previous 1.54 , to selected 1.138
Minor clean ups on com-cut-out and com-copy-out.  Basically leftover bits of code that could be factored out.

Revision 1.54 - (view) (annotate) - [select for diffs]
Fri Jan 7 18:58:08 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.53: +33 -38 lines
Diff to previous 1.53 , to selected 1.138
Kill Ring clean up.  Fixed com-cut-out bug and substituted my habitual use of lambdas for progn's

Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Jan 7 15:01:20 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.52: +7 -5 lines
Diff to previous 1.52 , to selected 1.138
Lets try this again

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Jan 7 14:59:15 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 , to selected 1.138
Now C-k dosn't kill newlines be default and does kill newlines if kills are performed at the end of line.  Good stuff :)

Revision 1.51 - (view) (annotate) - [select for diffs]
Fri Jan 7 14:29:05 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.50: +12 -15 lines
Diff to previous 1.50 , to selected 1.138
fixed up a flaw in C-k, thanks antifuchsls

Revision 1.50 - (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.49: +48 -27 lines
Diff to previous 1.49 , to selected 1.138
kill ring updated and functioning protocol.  Enjoy C-k and M-y like you never have in climacs before:)

Revision 1.49 - (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.48: +63 -18 lines
Diff to previous 1.48 , to selected 1.138
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.48 - (view) (annotate) - [select for diffs]
Thu Jan 6 16:41:11 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.47: +18 -3 lines
Diff to previous 1.47 , to selected 1.138
Improved next- and previous-line commands so that a sequence
of such commands tries to preserve the original column.

Revision 1.47 - (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.46: +64 -39 lines
Diff to previous 1.46 , to selected 1.138
Added (non-incremental for now) search functions.

Revision 1.46 - (view) (annotate) - [select for diffs]
Mon Jan 3 13:36:34 2005 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 , to selected 1.138
a very small fix.  Fixnum was a bad choice here.  Integer works much nicer

Revision 1.45 - (view) (annotate) - [select for diffs]
Mon Jan 3 12:21:19 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.44: +49 -5 lines
Diff to previous 1.44 , to selected 1.138
2005-01-02  Lawrence Mitchell  <wence@gmx.li>

	* gui.lisp ((define-application-frame climacs)): Add a
	without-interactor clause to the frame :layout.  This is a layout
	without a minibuffer pane.
	(com-toggle-layout): Toggle layout between 'default and
	'without-interactor.  Note the without-interactor layout no longer
	allows you to enter extended commands (there's nowhere for
	*standard-input* to go) so I'm not sure how useful it is.
	(com-set-mark): Fix indentation.
	(com-exchange-point-and-mark): New command, exchange the positions
	of point and mark, bound to C-x C-x.
	(com-transpose-lines): New command, bound to C-x C-t.

	* syntax.lisp (present-contents): Fix typo in argument list.

Revision 1.44 - (view) (annotate) - [select for diffs]
Mon Jan 3 10:25:43 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.43: +149 -0 lines
Diff to previous 1.43 , to selected 1.138
Added support for input of latin-1 characters for those
who have a keyboard configured as us-international, where
the following keys are dead: ' ` " ~ ^

Revision 1.43 - (view) (annotate) - [select for diffs]
Sat Jan 1 19:58:40 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.42: +47 -12 lines
Diff to previous 1.42 , to selected 1.138
Patch from Christophe Rhodes implementing transpose-objects and
transpose-words.  Thank you.

Revision 1.42 - (view) (annotate) - [select for diffs]
Sat Jan 1 13:25:19 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.41: +12 -0 lines
Diff to previous 1.41 , to selected 1.138
implemented transpose-objects (C-t) according to a suggestion by
Christophe Rhodes.  Applied some code factoring to his initial
suggestion.

Revision 1.41 - (view) (annotate) - [select for diffs]
Sat Jan 1 12:55:01 2005 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 , to selected 1.138
Committed fix for bug found by Christophe Rhodes.  Thanks.

Revision 1.40 - (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.39: +5 -0 lines
Diff to previous 1.39 , to selected 1.138
Implemented page-down (M-v).

Revision 1.39 - (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.38: +5 -0 lines
Diff to previous 1.38 , to selected 1.138
Implemented page-down (C-v).

Revision 1.38 - (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.37: +12 -5 lines
Diff to previous 1.37 , to selected 1.138
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.37 - (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.36: +2 -2 lines
Diff to previous 1.36 , to selected 1.138
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.36 - (view) (annotate) - [select for diffs]
Fri Dec 31 06:39:21 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.35: +48 -6 lines
Diff to previous 1.35 , to selected 1.138
Prelimary code for reading numeric argument.  However, I suspect a bug
in McCLIM with respect to unread-gesture, so waiting for a fix for
that before actually using the code.

Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Dec 30 10:42:45 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 , to selected 1.138
Wrapped an (EVAL-WHEN (:compile-toplevel) ...) around COMPLETABLE-PATHNAME to rid us of an asdf style warning

Revision 1.34 - (view) (annotate) - [select for diffs]
Thu Dec 30 05:37:34 2004 UTC (9 years, 3 months ago) by abridgewater
Branch: MAIN
Changes since 1.33: +35 -32 lines
Diff to previous 1.33 , to selected 1.138
Added DEFINE-NAMED-COMMAND and converted most commands to use it.

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Dec 30 05:28:21 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 , to selected 1.138
fixed some problems with word delete commands.

Used define-climacs-command instead of :command-table climacs, and :name t
when appropriate (as of now: always).

Revision 1.32 - (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.31: +34 -2 lines
Diff to previous 1.31 , to selected 1.138
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.31 - (view) (annotate) - [select for diffs]
Wed Dec 29 08:02:45 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.30: +18 -38 lines
Diff to previous 1.30 , to selected 1.138
factored out kr generic functions in gui.lisp for define-commands

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Dec 29 07:26:02 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.29: +18 -10 lines
Diff to previous 1.29 , to selected 1.138
Implemented a suggestion from Lawrence Mitchell to avoid saving
a buffer that has not need to be saved.

Revision 1.29 - (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.28: +25 -1 lines
Diff to previous 1.28 , to selected 1.138
Tiding up a kill ring warning and move buffer related material to gui.lisp

Revision 1.28 - (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.27: +37 -41 lines
Diff to previous 1.27 , to selected 1.138
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.27 - (view) (annotate) - [select for diffs]
Wed Dec 29 05:55:26 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.26: +450 -1893 lines
Diff to previous 1.26 , to selected 1.138
An error on my part.  Sorry about that.

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Dec 29 05:49:04 2004 UTC (9 years, 3 months ago) by ejohnson
Branch: MAIN
Changes since 1.25: +1893 -450 lines
Diff to previous 1.25 , to selected 1.138
needed gui commands for kill ring

Revision 1.25 - (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.24: +55 -2 lines
Diff to previous 1.24 , to selected 1.138
adding in kill ring material

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Dec 29 04:55:20 2004 UTC (9 years, 3 months ago) by abridgewater
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 , to selected 1.138
First cut at getting M-x extended commands to work.
Covers Quit and Find File.

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue Dec 28 17:32:18 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.22: +10 -2 lines
Diff to previous 1.22 , to selected 1.138
Better buffer name.

Save-buffer now sets the filename and the name of the buffer.

Revision 1.22 - (view) (annotate) - [select for diffs]
Tue Dec 28 16:57:26 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.21: +57 -17 lines
Diff to previous 1.21 , to selected 1.138
Nicer layout.

Buffer name and buffer modification flag shown on new status line.

write-buffer command.

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Dec 27 16:47:45 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 , to selected 1.138
Patch to get incremental redisplay to work.  There is still a small
problem with the cursor disappearing.

Thanks to Alastair Bridgewater.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Dec 27 11:32:46 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 , to selected 1.138
performance improvements.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Dec 27 05:58:29 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.18: +25 -1 lines
Diff to previous 1.18 , to selected 1.138
Key bindings for several function keys.

Thanks to Alastair Bridgewater.

Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Dec 27 04:32:43 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 , to selected 1.138
Patch for C-c problem by Alastair Bridgewater.  Thanks again.

Revision 1.17 - (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.16: +3 -3 lines
Diff to previous 1.16 , to selected 1.138
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.16 - (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.15: +3 -3 lines
Diff to previous 1.15 , to selected 1.138
Simplified the syntax protocol according to suggestions from Teemu Kalvas.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Dec 25 13:36:20 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.14: +0 -4 lines
Diff to previous 1.14 , to selected 1.138
I made a mistake trying to fix the conflict in gui.lisp.  It should
be OK now.

Revision 1.14 - (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.13: +21 -5 lines
Diff to previous 1.13 , to selected 1.138
Resolved conflict in gui.lisp.

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Dec 24 23:17:48 2004 UTC (9 years, 3 months ago) by abakic
Branch: MAIN
Changes since 1.12: +6 -10 lines
Diff to previous 1.12 , to selected 1.138
A minor refactoring, in fact to get around a CMUCL problem (probably related
to eval-when...).

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Dec 24 08:21:34 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.11: +16 -11 lines
Diff to previous 1.11 , to selected 1.138
Implemented a basic syntax according to the syntax protocol
specification (which I haven't written yet). The current
implementation should be improved upon, but it basically shows how to
do it.

Also implemented a demo command that accepts a string and inserts its
reverse in the buffer.  This shows that the words in the buffer are
actually presentations (of type string) that become clickable by the
accept.

Added two missing methods on region-to-sequence.  There were no
methods when one of the arguments is an offset instead of a mark.

Revision 1.11 - (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.10: +3 -58 lines
Diff to previous 1.10 , to selected 1.138
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.10 - (view) (annotate) - [select for diffs]
Thu Dec 23 16:37:08 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.9: +12 -4 lines
Diff to previous 1.9 , to selected 1.138
Rendering of #\Tab characters works.

Replaced occurrences of (win frame) by pane in display function.

The #\Tab character now self-inserts.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Dec 23 08:03:53 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 , to selected 1.138
fixed unbalanced parenthesis problem.

Revision 1.8 - (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.7: +9 -3 lines
Diff to previous 1.7 , to selected 1.138
Docstrings from Elliott Johnson.

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

Revision 1.7 - (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.6: +60 -40 lines
Diff to previous 1.6 , to selected 1.138
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.6 - (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.5: +8 -11 lines
Diff to previous 1.5 , to selected 1.138
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.5 - (view) (annotate) - [select for diffs]
Wed Dec 22 05:38:05 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.4: +109 -15 lines
Diff to previous 1.4 , to selected 1.138
Added find-file.

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Dec 21 18:36:31 2004 UTC (9 years, 3 months ago) by strandh
Branch: MAIN
Changes since 1.3: +10 -5 lines
Diff to previous 1.3 , to selected 1.138
Improved error checking.

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: +79 -26 lines
Diff to previous 1.2 , to selected 1.138
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: +5 -2 lines
Diff to previous 1.1 , to selected 1.138
mostly bug fixes.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Dec 16 06:23:42 2004 UTC (9 years, 4 months ago) by strandh
Branch: MAIN
Diff to selected 1.138
Added file climacs.asd containing system definition.

Added file INSTALL describing how to install Climacs using ASDF.

Removed climacs.lisp and added gui.lisp with the same contents.

Added a file base.lisp containing basic functionality on top of the
buffer protocol.

Implemented functions such as {forward,backward}-word,
{open,kill}-line, {previous,next}-line.

Added Copyright and License to each 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