/[mcclim]/mcclim/transforms.lisp
ViewVC logotype

Log of /mcclim/transforms.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.33 - (view) (annotate) - [select for diffs]
Fri Mar 10 21:58:13 2006 UTC (8 years, 1 month ago) by tmoore
Branch: MAIN
CVS Tags: HEAD, McCLIM-0-9-2, McCLIM-0-9-3, McCLIM-0-9-4, McCLIM-0-9-5, McCLIM-0-9-6, mcclim-0-9-4
Changes since 1.32: +1 -3 lines
Diff to previous 1.32
Move most protocol class definitions into protocol-classes.lisp, which
is compiled and loaded early. Some class definitions, which had slot
definitions that I didn't have the stomach to tease apart, stayed
behind.

Replace the presentation documentation state mechanism with
updating-output so that other functions / programs can write to the
pointer documentation area and not screw things up. We still use the
state to actually print the documentation.

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Jan 18 14:07:36 2006 UTC (8 years, 3 months ago) by tmoore
Branch: MAIN
Changes since 1.31: +1 -4 lines
Diff to previous 1.31
Changed DEFGENERIC* and DEFMETHOD* to use a private name for the
generic function defined. This avoids warnings from some systems that
don't like having a defsetf macro and a setf function for the same
place. This is an invasive change; *RECOMPILE YOUR FILES*.

Cleaned up some duplicate definitions in decls.lisp, transforms.lisp.

Integrated Troels Henriksen's patch for :insert-default in ACCEPT.

Revision 1.31 - (view) (annotate) - [select for diffs]
Fri Dec 16 16:42:15 2005 UTC (8 years, 4 months ago) by rgoldman
Branch: MAIN
Changes since 1.30: +13 -7 lines
Diff to previous 1.30
Applied Paul Werkowski's patch on ordering transformations to bring
McCLIM in compliance with the standard.

Also added docstring to MAKE-SCALING-TRANSFORMATION, pulled from CLIM
spec.

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Nov 22 11:40:02 2005 UTC (8 years, 5 months ago) by gbaumann
Branch: MAIN
Changes since 1.29: +7 -6 lines
Diff to previous 1.29
Some times we would build standard-translations, that really
should be the identity transformation.

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Feb 2 10:18:58 2005 UTC (9 years, 2 months ago) by tmoore
Branch: MAIN
CVS Tags: McCLIM-0-9-1
Changes since 1.28: +8 -3 lines
Diff to previous 1.28
comments from the peanut gallery

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Oct 6 12:03:56 2004 UTC (9 years, 6 months ago) by moore
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
Changed STREAM-DESIGNATOR-SYMBOL to take a default value
argument. The value corresponding to T isn't always *STANDARD-OUTPUT*.

Fixed a problem in the incremental redisplay code checked in
recently: the output record that holds an updating output record's
children wasn't always created.

Some tweaks (in progress) to ACCEPTING-VALUES.

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Mar 31 13:31:20 2004 UTC (10 years ago) by moore
Branch: MAIN
Changes since 1.26: +1 -14 lines
Diff to previous 1.26
Changed the way defaults are handled by accept. I added a mixin class
to standard-input-editing-stream, empty-input-mixin; an around method
on stream-read-gesture; and some supporting macrology
(handle-empty-input) to detect "empty" input and throw control to the
appropriate place. Accept-1 now uses handle-empty-input to determine
if it should return the default value. This means that the accept
methods no longer need to do anything with their :default argument
unless they use it for merging. I removed the :default and
:default-type arguments from many accept methods all over McCLIM.

Fixed a bad bug in the basic input editing loop
(stream-read-gesture): rescanning-p should be set to nil when the
scan-pointer reaches the fill pointer (not the insertion-pointer).

Fixed a small bug in make-gf-specialized-ptype, a support function
for com-show-generic-function.

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Mar 24 09:30:29 2004 UTC (10 years, 1 month ago) by moore
Branch: MAIN
Changes since 1.25: +8 -4 lines
Diff to previous 1.25
2004-03-24  Timothy Moore  <moore@bricoworks.com>

	* INSTALL.OPENMCL: updated instructions.

	* builtin-commands.lisp (default-translator): Return the
	presentation type of the presentation as the second value.
	(document-form-translator): New function
	(%frob-constant-form, %frob-form): Use document-form-translator. Add
	translators from standard-object to expression and form.
	(expression-as-form): Add a menu entry for this translator.
	(ccl::%read-list-expression, (accept expression t textual-view),
	read, read-preserving-whitespace): Move the Lisp form reader
	stuff from the ptype 'form to the ptype 'expression. Disallow any
	activation or delimiter gestures while reading an expression.

	* commands.lisp (command-name-from-symbol): Don't strip leading
	subsequences of "COM-" from the command name.
	(keyword-arg-name-from-symbol): New function.
	(command-parsers): Add argument-unparser slot
	(make-keyword): New function
	(make-key-accessors): Use it. Accept keynames that begin with a
	#\: and have dashes replaced by spaces.
	(make-unprocessor-fun) New function to create an unprocessor
	function for each command.
	(%define-command): New macro preserving  old behavior. Use new
	unprocessor stuff.
	(output-destination, invoke-with-standard-output): New class and
	generic function for outputing the results of commands to an
	output stream.
	(define-command): Implement :provide-output-destination-keyword
	(command-line-unparser): Call new stuff instead.

	* dialog.lisp: Add (redundant):provide-output-destination-keyword
	keyword argument to some commands.

	* incremental-redisplay.lisp: Work in progress. Turn things
	inside-out.

	* input-editing.lisp (complete-input): Don't insert input when mode is
	:complete and we've failed.

	* presentation-defs.lisp (accept-1): Use multiple-value-list when
	looking at results of accept method.
	((present t completion t t)): Use the arguments to the type to drive
	the present method here.
	((accept sequence t textual-view)): Don't peek-char initially! It
	breaks accepting the first element via mouse click.
	(accept sequence-enumerated t textual-view): new method.

	* recording.lisp : Cosmetic fixups.

	* regions.lisp (ellipse-normal-radii*): Add Gilbert's English
	translation of the comment and clean up the function.

	* system.lisp: Add Goatee/presentation-history.

	* transforms.lisp (+identity-transformation+): Move earlier in the
	file to avoid a warning.

	* utils.lisp (delete-1, parse-lambda-list): new functions.

	* Apps/Listener/dev-commands.lisp : Add
	:provide-output-destination-keyword argument to many commands.
	((presentation-type generic-function)): Rewrite. Make it inherit from
	t, add accept method. The type of the object is generic-function, not
	the name or something.
	((presentation-type standard-generic-function), (presentation-type
	method), (presentation-type standard-method)): add.
	(Show Generic Function): All-singing all-dancing command for exploring
	generic functions and their methods.
	((presentation-type package)): New type with completing accept method.
	(Set Package): New command

	* Apps/Listener/listener.lisp (run-frame-top-level): Add bindings for
	all the Common Lisp reader and printer variables.

	* Apps/Scigraph/dwim/macros.lisp (define-command): Add
	:provide-output-destination-keyword support for McCLIM.

	* Goatee/goatee-command.lisp (lookup-gesture-command): Disable
	annoying debugging output.

	* Lisp-Dep/fix-openmcl.lisp (:clim-mop): In OpenMCL 0.14 use and
	export all symbols from :openmcl-mop.
	(compute-applicable-methods-using-classes): Hack for the listener.

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Nov 7 20:22:02 2003 UTC (10 years, 5 months ago) by hefner1
Branch: MAIN
CVS Tags: McCLIM-0-9
Changes since 1.24: +5 -2 lines
Diff to previous 1.24
Fixed erroneous declaration (declared something as simple-vector inside a
(typep coord-seq 'vector) cond clause.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Aug 10 07:29:55 2003 UTC (10 years, 8 months ago) by gilbert
Branch: MAIN
Changes since 1.23: +9 -8 lines
Diff to previous 1.23
delete one of the two definitions of MAKE-TRANSLATION-TRANSFORMATION.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Aug 9 00:55:40 2003 UTC (10 years, 8 months ago) by gilbert
Branch: MAIN
Changes since 1.22: +199 -58 lines
Diff to previous 1.22
Introduced special classes for the identity and translations for both
less consing and less cycles spend.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed May 28 19:23:31 2003 UTC (10 years, 10 months ago) by gilbert
Branch: MAIN
Changes since 1.21: +5 -55 lines
Diff to previous 1.21
Due to WITH-DRAWING-OPTIONS defined a little late, I moved
the INVOKE-WITH-IDENTITY-TRANSFORMATION, INVOKE-WITH-LOCAL-COORDINATES,
INVOKE-WITH-FIRST-QUADRANT-COORDINATES to graphics.lisp.

Perhaps we should start gathering macros into a macros.lisp file?

Revision 1.21 - (view) (annotate) - [select for diffs]
Wed May 28 18:44:14 2003 UTC (10 years, 10 months ago) by gilbert
Branch: MAIN
Changes since 1.20: +167 -14 lines
Diff to previous 1.20
WITH-IDENTITY-TRANSFORMATION
WITH-LOCAL-COORDINATES
WITH-FIRST-QUADRANT-COORDINATES
    Implemented

TRANSFORM-POSITIONS
    Faster implementation.

Revision 1.20 - (view) (annotate) - [select for diffs]
Sun May 25 10:34:14 2003 UTC (10 years, 11 months ago) by gilbert
Branch: MAIN
Changes since 1.19: +0 -51 lines
Diff to previous 1.19
did away with the silly EXPORT comments.

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Mar 26 17:49:26 2003 UTC (11 years, 1 month ago) by gilbert
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
:TYPE slot option for STANDARD-TRANSFORMATION INVERSE fixed.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Mar 21 21:36:59 2003 UTC (11 years, 1 month ago) by mikemac
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
make all of the package names passed to in-package be lowercase keywords for ACL's java mode

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Jan 28 08:17:41 2003 UTC (11 years, 2 months ago) by moore
Branch: MAIN
Changes since 1.16: +6 -0 lines
Diff to previous 1.16
Output record values are stored in stream coordinates, not user (post
medium transformation) coordinates.

All medium state values are stored in output records by individual
mixin classes that are assembled for each output record type.

Medium parameters are only set in replay-output-record, not set and
restored.  Medium values are set/restored in replay.

Checkpoint of incremental redisplay, currently disabled.

Implement match-output-record.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Jun 26 05:48:28 2002 UTC (11 years, 10 months ago) by adejneka
Branch: MAIN
Changes since 1.15: +13 -14 lines
Diff to previous 1.15
* Make a result of MAKE-SCALING-TRANSFORMATION be recognized as
  SCALING-TRANSFORMATION.

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Jun 19 04:38:57 2002 UTC (11 years, 10 months ago) by adejneka
Branch: MAIN
Changes since 1.14: +16 -9 lines
Diff to previous 1.14
* TRANSFORM-{POSITION,DISTANCE}: declared types of coordinates.

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Feb 21 03:12:50 2002 UTC (12 years, 2 months ago) by gilbert
Branch: MAIN
Changes since 1.13: +6 -20 lines
Diff to previous 1.13
TRANSFORMATION
    Uses DEFINE-PROTOCOL-CLASS

STANDARD-TRANSFORMATION
    different printer

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Feb 7 23:54:07 2002 UTC (12 years, 2 months ago) by gilbert
Branch: MAIN
Changes since 1.12: +6 -7 lines
Diff to previous 1.12
TRANSFORM-POSITIONS
    uses new toy.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Sep 14 15:12:45 2001 UTC (12 years, 7 months ago) by strandh
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
Fixed names of packages and library left over from old days.
Thanks to Paul Werkowski for this fix.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Aug 21 13:50:40 2001 UTC (12 years, 8 months ago) by rouanet
Branch: MAIN
Changes since 1.10: +7 -0 lines
Diff to previous 1.10
Added the y-inverting-transformation-p function (not defined in the spec)
used by sheet-y-inverting-transformation-mixin.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Aug 9 17:18:47 2001 UTC (12 years, 8 months ago) by rouanet
Branch: MAIN
Changes since 1.9: +5 -0 lines
Diff to previous 1.9
Added with-identity-transformation.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Jul 19 06:57:00 2001 UTC (12 years, 9 months ago) by adejneka
Branch: MAIN
Changes since 1.8: +21 -4 lines
Diff to previous 1.8
* TRANSFORM-ANGLE, UNTRANSFORM-ANGLE: Make them be continuous for
  all values of arguments

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Jul 19 03:43:11 2001 UTC (12 years, 9 months ago) by adejneka
Branch: MAIN
Changes since 1.7: +9 -0 lines
Diff to previous 1.7
* TRANSFORM-POSITIONS: New function

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jul 17 05:45:33 2001 UTC (12 years, 9 months ago) by gilbert
Branch: MAIN
Changes since 1.6: +37 -22 lines
Diff to previous 1.6
added a cache for the inverse transformation

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Aug 25 16:18:11 2000 UTC (13 years, 8 months ago) by cvs
Branch: MAIN
Changes since 1.5: +2 -0 lines
Diff to previous 1.5
Added copyright notice to reflect modifications.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Aug 14 08:30:17 2000 UTC (13 years, 8 months ago) by cvs
Branch: MAIN
Changes since 1.4: +31 -25 lines
Diff to previous 1.4
Added readers for condition slots to avoid compilation warnings, and to
conform to the ANSI specification.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Jul 13 14:19:40 2000 UTC (13 years, 9 months ago) by cvs
Branch: MAIN
Changes since 1.3: +420 -280 lines
Diff to previous 1.3
Gilbert Baumann's code for transformations.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Jun 19 02:30:39 2000 UTC (13 years, 10 months ago) by cvs
Branch: MAIN
Changes since 1.2: +153 -68 lines
Diff to previous 1.2
check in Lieven Marchand's <mal@bewoner.dma.be> transform code

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jun 12 12:39:13 2000 UTC (13 years, 10 months ago) by cvs
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Added missing argument to transform-position.

Revision 1.1.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Thu Jun 8 22:01:12 2000 UTC (13 years, 10 months ago) by mikemac
Branch: initial
CVS Tags: start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.33
Initial check-in

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Jun 8 22:01:12 2000 UTC (13 years, 10 months ago) by mikemac
Branch: MAIN
Branch point for: initial
Initial revision

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