Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
Fix parse-space, the unit name is :inches, not :inch (that's what all the backends use, anyway).
Added working `with-system-redefinition-allowed' for CLISP.
Patches from dtc for Scieneer Common Lisp, and a few other fixes too.
Fixed destination highlighting for drag-and-drop translators. Added documentation for dnd translators. Corrected the default value for modifier-state in find-innermost-applicable-presentation and friends. This isn't as big as it looks :)
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.
- added more DEFGENERICs - fiddled with a few IGNORE declarations - with CMUCL, macros no longer attempt to declare special variables IGNORABLE
Start removing uses of the infamous dada macro.
Hammered on with-room-for-graphics. It should now leave the cursor in the right place and do the right thing with respect to recording options. Changed with-drawing-options to not rebind its medium argument at all. Added :label and :scroll-bars arguments to with-menu which are currently ignored.
(get-environment-variable): Add support for CLISP.
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.
Change invoke-with-new-output-record and invoke-with-output-to-output-record to take a constructor argument, as per the Franz CLIM user manual. This permits one to call make-instance with a constant class argument, which can be a big win in some implementations. Change with-new-output-record and friends to use this new form. This change requires a recompile of user code. Change stream-write-output to take a width argument. If the width of the string is already available (and it usually is), this saves an extra call to the expensive function stream-string-width.
dragging-output and drag-output-record. I rewrote the tracking-pointer implementation to follow a little protocol. Work is in progress on presentation drag-and-drop translators. The :incremental-redisplay option in a pane specification can be a list of arguments that will be passed to the call to redisplay. This change is described in the Franz user manual. Added some checks of :check-overlapping in the incremental redisplay code. Changed funcall-presentation-generic-function to call the private generic function directly, bypassing %funcall-presentation-generic-function. Added the :parent keyword to invoke-with-new-output-record. Optimized the table layout code a bit. Avoid traversing the whole table hierarchy: stop at the level of interest. Use arrays instead of lists in adjust-table-cells. Patch for SBCL package locks from Nikodemus Siivola (firstname.lastname@example.org). Listener SBCL fixes from Christophe Rhodes (email@example.com)
2004-03-24 Timothy Moore <firstname.lastname@example.org> * 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.
fix typo - David Lichteblau
Presentation histories. The new goatee command C-M y works reasonably well in the listener demo. More testing and user documentation is needed. Work in progress on the OpenGL backend.
add support for CMUCL package lock per Eric Marsden
Support (in OpenMCL) for accepting the subforms of a form, as opposed to blowing away the entire form in progress. Put the transform for coord-seqs in the recording methods, not the def-grecording macro. Fake MOP functions for OpenMCL in order to support the listener application.
added missing arg - Christophe Rhodes
Attempting to merge Neonsquare's fixes for LispWorks.
Christophe Rhodes' SBCL cleanups.
- use GEN-INVOKE-TRAMPOLINE, STREAM-DESIGNATOR-SYMBOL and trivial trampoline macro expansions everywhere - MAP-OVER-ROW-CELLS and MAP-OVER-COLUMN-CELLS now use MAP-OVER-BLOCK-CELLS and not the other way round. - BLOCK-OUTPUT-RECORD included as mixin into STANDARD-TABLE-ROW and STANDARD-TABLE-COLUMN to keep TABLE-ROW and TABLE-COLUMN "pure" protocol classes. - STANDARD-ITEM-LIST-OUTPUT-RECORD now also inherits from BLOCK-OUTPUT-RECORD-MIX. - MAP-OVER-ITEM-LIST-CELLS is implemented by means of MAP-OVER-BLOCK-CELLS. - doing away with the EMPTY-STANDARD-TABLE-OUTPUT-RECORD and CHANGE-CLASS hack, because I fear this might break in case somebody adds its own OR. It breaks anyway if there are intervening records. Also: The spec demands that there is a STANDARD-TABLE-OUTPUT-RECORD with appropriate behavior. In theory the user could have written formatting-table himself. - we have just one ADJUST-TABLE-CELLS now. - fixed bugs: - min-width was not working correctly - baseline alignment was missing - intervening OR were not allowed - row-wise works now. - PARSE-SPACE moved to utils.lisp - OUTPUT-RECORD-BASELINE Generic function declaration in decls.lisp
DO-SEQUENCE: Added a of-type fixnum declaration GEN-INVOKE-TRAMPOLINE: New helper function for macros. I am not that happy with its name though.
STREAM-DESIGNATOR-SYMBOL: new helper function for the WITH-xyz macros.
make all of the package names passed to in-package be lowercase keywords for ACL's java mode
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.
Fix of _some_ instances of symbol name creation via FORMAT. Further I deleted the "nifty" version of EVENT-TYPE.
3 sets of additions/changes/fixes: presentation-replace-input Bugs I fixed while at ILC, including implementing accept-from-string. Fixes made in the course of getting cl-reversi to work (it mostly does modulo display timing issues). This includes a revamping of command tables, menus and keystrokes.
Commit of patch submitted my Oliver Markovic. Original message: Message-ID: <email@example.com> From: Oliver Markovic <firstname.lastname@example.org> To: email@example.com Subject: Protocol Classes Date: Sat, 09 Nov 2002 22:06:50 +0100 Hi, Attached is a patch, which uses DEFINE-PROTOCOL-CLASS for all protocol classes as defined in the spec (not all were using that macro). I also added simple docstrings to the macro and changed the error message to something more civil :-) This should also add some required predicates, which were missing. I also noticed that protocol classes were given slots contradicting the definition in 2.5: "A protocol class is an "abstract" class with no slots and no methods (except perhaps for some default methods) [...]". But I guess that's no serious deviation from the spec though. greetz, -- Oliver Markovic
Fixed bug reported by Paul Werkowski; coordinate sequences can now be lists or vectors. Introduced a do-sequence macro that has similar semantics to dotimes and dolist as well as features of map-sequence. Implemented frame-state (except for :shrunk). Changed timing of when frames are generated, adopted and enabled to follow the spec. Fixed clim-fig to adapt to this new world order. Disable the frame when the top level function exits. Remove erroring methods for copy-to-pixmap (stream ...) and friends. Wrote a with-keywords-removed macro that attempts to be efficient about about removing arguments from argument lists.
John Wiseman's (aka lemonodor) contributions for McCLIM with OpenMCL on Mac OS X.
* ORF: new macro.
* MAYBE-FUNCALL, some anaphoric macros added.
* WITH-METHOD: new macro.
LETF supports multiple value places.
* NCONCF: New macro.
* WITH-GENSYMS: new macro.
* Removed bogus SHADOW
Presentation translators, including define-presentation-to-command-translator and command translators generated by the :gesture option in define-command arguments. With this checkin the address book demo mostly works as intended, except for creating new address book entries. Added builtin-commands.lisp to hold global commands and presentation translators. Added a nifty help command with context sensitive command names.
Fix to updating-output macro to make it work with CMUCL. New maxf and minf modify macros. Overhaul of recording.lisp: fix typo of map-over-overlaping-region -> map-over-overlapping-region Suppress recompute-extent-for-changed-child when setffing output-record-position Strictly separate class structure into protocol classes and implementation classes
reworked *default-server-path* handling
CURRY ALWAYS Added these meta-functions, hope nobody objects.
Spend a minimal DEFINE-PROTOCOL-CLASS. For now its only functionality: . it prevents instantiation. . it defines the protocol predicate Later we might want some way to define the associated protocol.
CLAMP New function. Was panes.lisp: DO-IN initally.
MAP-REPEATED-SEQUENCE New tool.
LETF didn't bind the STORE-VAL gensym
Moved the LETF macro from recording.lisp to utils.lisp
Added a file to put commonly used macros or functions.
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.
|Powered by ViewVC 1.1.5|