/[mcclim]/mcclim/Drei/views.lisp
ViewVC logotype

Log of /mcclim/Drei/views.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.47 - (view) (annotate) - [select for diffs]
Sun May 31 07:28:18 2009 UTC (4 years, 10 months ago) by rstrandh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +28 -1 lines
Diff to previous 1.46
I added a new kind of undo record named CHANGE-RECORD, created by
(setf buffer-object).

This fixes a problem that was reported by Nikodemus Siivola where
fill-paragraph did not record any undo information, because it was
using (setf buffer-object) as opposed to insert or delete.

Revision 1.46 - (view) (annotate) - [select for diffs]
Thu May 15 13:51:40 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
Delete the line cache when changing the buffer of a Drei buffer view.

Revision 1.45 - (view) (annotate) - [select for diffs]
Sat May 3 07:47:17 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.44: +5 -0 lines
Diff to previous 1.44
Moved defvar to remove warnings.

Revision 1.44 - (view) (annotate) - [select for diffs]
Fri Mar 7 15:23:14 2008 UTC (6 years, 1 month ago) by dlichteblau
Branch: MAIN
CVS Tags: McCLIM-0-9-6
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
compilation fix

Revision 1.43 - (view) (annotate) - [select for diffs]
Fri Mar 7 11:45:18 2008 UTC (6 years, 1 month ago) by thenriksen
Branch: MAIN
Changes since 1.42: +4 -2 lines
Diff to previous 1.42
Update line data on Drei buffer-view creation.

This fixes problem with modifying the buffer before initial
synchronisation has been done.

Revision 1.42 - (view) (annotate) - [select for diffs]
Sun Feb 17 14:54:47 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41
Fixed obscure Lisp syntax redisplay issue that could cause trouble with literal objects.

Revision 1.41 - (view) (annotate) - [select for diffs]
Sat Feb 16 10:30:10 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
Fixed somewhat-rare Drei redisplay issue where strokes that were changed weren't invalidated.

Revision 1.40 - (view) (annotate) - [select for diffs]
Fri Feb 15 13:17:54 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
Fixed range check on access to the flexichain of lines. Oops.

Revision 1.39 - (view) (annotate) - [select for diffs]
Fri Feb 15 13:16:17 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.38: +105 -24 lines
Diff to previous 1.38
Improved Drei redisplay performance by 66% in most cases.

The main difference is that syntaxes are now supposed to report which
parts of the display may need to be updated, previously their view of
the display was computed for every redisplay iteration, and any
changes drawn.

Of course, no syntaxes do that yet, so if you use Lisp block-comments
or string-quoting, you will see "delayed" redrawing of some parts of
the display. Just like Emacs!

Currently, a heuristic is used that invalidates parts of the display
corresponding to buffer regions that have actually been changed, so it
does work fine for the common cases.

Revision 1.38 - (view) (annotate) - [select for diffs]
Thu Feb 14 08:15:01 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.37: +1 -0 lines
Diff to previous 1.37
Oops, accidentally reintroduced old bug. Pick up on buffer changes affecting strokes.

Revision 1.37 - (view) (annotate) - [select for diffs]
Wed Feb 13 21:58:50 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.36: +103 -82 lines
Diff to previous 1.36
Some general cleanups in Drei redisplay.
No functionality changes.

Revision 1.36 - (view) (annotate) - [select for diffs]
Tue Feb 12 19:22:37 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.35: +14 -51 lines
Diff to previous 1.35
Changed how buffer changes are registered by the redisplay module.

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Feb 11 22:50:05 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.34: +144 -3 lines
Diff to previous 1.34
Flayed Fundamental syntax, most of what it used to do is now done by
the drei-buffer-view directly.

Revision 1.34 - (view) (annotate) - [select for diffs]
Sun Feb 3 07:16:48 2008 UTC (6 years, 2 months ago) by dmurray
Branch: MAIN
Changes since 1.33: +28 -2 lines
Diff to previous 1.33
Slightly more general tab-stops. May break the tabify abstraction -
which I don't understand - but doesn't seem to break the code.

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Jan 31 08:34:15 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Put point at offset 0, even if there are initial contents.

Made some tests run.

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Jan 30 21:21:43 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.31: +23 -9 lines
Diff to previous 1.31
WITH-INPUT-EDITING now works really well with Drei.

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Jan 30 07:31:34 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.30: +8 -3 lines
Diff to previous 1.30
Added generic function clear-redisplay-information.

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Jan 29 23:34:36 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.29: +3 -0 lines
Diff to previous 1.29
When a buffer-view is set as the view of a Drei instance, invalidate
all redisplay information.

This fixes a bug in Climacs where old and erroneous redisplay
information could be kept when a view was hidden, and then brought
back.

Revision 1.29 - (view) (annotate) - [select for diffs]
Thu Jan 24 09:25:17 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28
When clearing the undo history, also clear the undo accumulator.

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Jan 23 19:01:40 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.27: +9 -1 lines
Diff to previous 1.27
Add `syntax-view-p' and `mark-view-p'.

Revision 1.27 - (view) (annotate) - [select for diffs]
Tue Jan 22 20:14:43 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.26: +1 -3 lines
Diff to previous 1.26
Fixed small bug in `remember-changed-region'.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Jan 22 15:21:07 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.25: +83 -35 lines
Diff to previous 1.25
Fixed redisplay issue where changes to the contents of strokes were sometimes not picked up correctly.

Revision 1.25 - (view) (annotate) - [select for diffs]
Mon Jan 21 17:08:28 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
Added new command table, `view-table', that contains generic commands used for all views.

Currently this is limited to page-up/page-down commands, and it's not
likely it will ever get anything but very high-level
movement/scrolling commands (I want to add generic
end-of-view/beginning-of-view commands too), because we can make so
few assumptions about views.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Jan 20 19:50:20 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.23: +12 -0 lines
Diff to previous 1.23
Improved support for nonbuffer views, including various bugfixes here
and there, used that support to revamp Climacs' typeout panes, which
in turn required some ESA changes.

Stability not guaranteed, please test.

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Jan 18 11:00:23 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22
Added line motion with goal columns.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Jan 16 09:03:26 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
Fixed post-edit cursor positioning for Drei areas.

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Jan 15 18:43:29 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.20: +8 -1 lines
Diff to previous 1.20
Alright! Horizontal-scrolling workage, I think.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Jan 15 14:08:19 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.19: +6 -8 lines
Diff to previous 1.19
Reintroduce early support for long lines (and horizontal scrolling) in
Drei. Still doesn't deal properly with cursors, and is very eager at
scrolling back.

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Jan 15 07:43:05 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.18: +4 -8 lines
Diff to previous 1.18
Removed attempts at figuring out when not to reparse from view code,
only the syntax modules can really make that decision.

Revision 1.18 - (view) (annotate) - [select for diffs]
Sun Jan 13 10:33:10 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.17: +14 -4 lines
Diff to previous 1.17
Updated Drei documentation. Should now build, at least.

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Jan 11 02:44:13 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.16: +6 -1 lines
Diff to previous 1.16
Changed the Drei/ESA modes-idea to work through metaclasses, enabling default modes.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Jan 9 19:26:14 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
Start out with a recoreded buffer size of -1 to force reparsing.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Jan 8 21:05:50 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.14: +9 -8 lines
Diff to previous 1.14
Pretend to to incremental reparse for Lr syntaxes.

This required some fixed in the view mechanism, and doesn't affect
much yet. Except that I had to disable intelligent package-handling in
Lisp syntax.

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Jan 8 19:53:28 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.13: +19 -17 lines
Diff to previous 1.13
Made the view mechanisms more capable of handling incremental/lazy parsing.

Still haven't been able to create a lazy LR parser.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Jan 7 22:01:58 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.12: +21 -10 lines
Diff to previous 1.12
Changed the update-syntax protocol to use a nonstandard method
combination for added job security.

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Jan 3 18:09:27 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.11: +3 -0 lines
Diff to previous 1.11
Invalidate strokes when changing syntax, clear up to
line-vertical-spacing.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Jan 3 16:21:20 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.10: +15 -12 lines
Diff to previous 1.10
Buffer-views no longer responsible for updating syntax-view data.

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Jan 2 14:43:40 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.9: +19 -0 lines
Diff to previous 1.9
Connect redisplay to syntax information.

Currently, the necessary methods are only implemented for Fundamental
syntax, so there is still no syntax highlighting. There is, however, a
30-40% performance increase in redisplay, as Fundamental syntax is
much better at keeping track of buffer contents than the hack I wrote
for drei-buffer-view.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Jan 1 18:43:36 2008 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.8: +54 -13 lines
Diff to previous 1.8
Added new redisplay engine for Drei. Used by default. Does not yet
talk to the syntax, so there is no syntax highlighting, but other
syntax facilities work just fine. It is significantly faster than the
old engine, but not yet Emacs-style fast. It supports variable-width
fonts, lines of varying height (though lines are topline-adjusted at
the moment) and even arbitrary buffer objects with reasonable
performance.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Dec 28 10:08:35 2007 UTC (6 years, 3 months ago) by thenriksen
Branch: MAIN
Changes since 1.7: +21 -2 lines
Diff to previous 1.7
Added support for "modes" (roughly similar to Emacs' minor-modes) to Drei.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Dec 19 17:17:37 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.6: +13 -4 lines
Diff to previous 1.6
Added a bunch of neat convenience functions to Lisp syntax.

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Dec 18 08:39:43 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5
Changed the tab-indentation code a bit. Whether or not to indent with
tabs is now a property of the view, not the buffer.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sat Dec 15 07:23:54 2007 UTC (6 years, 4 months ago) by rstrandh
Branch: MAIN
Changes since 1.4: +4 -0 lines
Diff to previous 1.4
Facilitate debugging by printing subscriptable views with the name
and the subscript.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Dec 13 07:30:53 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.3: +9 -5 lines
Diff to previous 1.3
Always update the syntax of a view at least once, even when the buffer
is always empty.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Dec 10 21:25:12 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changes since 1.2: +65 -35 lines
Diff to previous 1.2
Make Drei support nonstandard views somewhat.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Dec 10 05:27:46 2007 UTC (6 years, 4 months ago) by rstrandh
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Changed the :initarg of the %tab-space-count slot from nil to 8, which
makes tab-width systematically computed as 8 times the space width.

This is probably a temporary fix, but it makes Drei behave more like
Emacs in the presence of TABs.

Revision 1.1 - (view) (annotate) - [select for diffs]
Sat Dec 8 08:53:49 2007 UTC (6 years, 4 months ago) by thenriksen
Branch: MAIN
Changed Drei to use a view-based paradigm, didn't make any significant
changes to ESA just yet.

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