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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.85 - (show annotations)
Fri Mar 3 19:38:57 2006 UTC (8 years, 1 month ago) by tmoore
Branch: MAIN
Changes since 1.84: +18 -4 lines
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
1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2
3 ;;; (c) copyright 2004-2005 by
4 ;;; Robert Strandh (strandh@labri.fr)
5 ;;; (c) copyright 2005 by
6 ;;; Matthieu Villeneuve (matthieu.villeneuve@free.fr)
7
8 ;;; This library is free software; you can redistribute it and/or
9 ;;; modify it under the terms of the GNU Library General Public
10 ;;; License as published by the Free Software Foundation; either
11 ;;; version 2 of the License, or (at your option) any later version.
12 ;;;
13 ;;; This library is distributed in the hope that it will be useful,
14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;;; Library General Public License for more details.
17 ;;;
18 ;;; You should have received a copy of the GNU Library General Public
19 ;;; License along with this library; if not, write to the
20 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 ;;; Boston, MA 02111-1307 USA.
22
23 ;;; Package definitions for the Climacs editor.
24
25 (defpackage :climacs-buffer
26 (:use :clim-lisp :flexichain :binseq)
27 (:export #:buffer #:standard-buffer
28 #:mark #:left-sticky-mark #:right-sticky-mark
29 #:standard-left-sticky-mark #:standard-right-sticky-mark
30 #:clone-mark
31 #:no-such-offset #:offset-before-beginning #:offset-after-end
32 #:invalid-motion #:motion-before-beginning #:motion-after-end
33 #:size #:number-of-lines
34 #:offset #:mark< #:mark<= #:mark= #:mark> #:mark>=
35 #:forward-object #:backward-object
36 #:beginning-of-buffer #:end-of-buffer
37 #:beginning-of-buffer-p #:end-of-buffer-p
38 #:beginning-of-line #:end-of-line
39 #:beginning-of-line-p #:end-of-line-p
40 #:buffer-line-number #:buffer-column-number
41 #:line-number #:column-number
42 #:insert-buffer-object #:insert-buffer-sequence
43 #:insert-object #:insert-sequence
44 #:delete-buffer-range #:delete-range
45 #:delete-region
46 #:buffer-object #:buffer-sequence
47 #:object-before #:object-after #:region-to-sequence
48 #:low-mark #:high-mark #:modified-p #:clear-modify
49
50 #:binseq-buffer #:obinseq-buffer #:binseq2-buffer
51 #:persistent-left-sticky-mark #:persistent-right-sticky-mark
52 #:persistent-left-sticky-line-mark #:persistent-right-sticky-line-mark
53 #:p-line-mark-mixin #:buffer-line-offset
54
55 #:delegating-buffer #:implementation))
56
57 (defpackage :climacs-base
58 (:use :clim-lisp :climacs-buffer)
59 (:export #:do-buffer-region
60 #:previous-line #:next-line
61 #:open-line #:kill-line
62 #:empty-line-p
63 #:line-indentation
64 #:buffer-display-column
65 #:number-of-lines-in-region
66 #:constituentp #:whitespacep
67 #:forward-word #:backward-word
68 #:delete-word #:backward-delete-word
69 #:buffer-region-case
70 #:upcase-buffer-region #:upcase-region
71 #:downcase-buffer-region #:downcase-region
72 #:capitalize-buffer-region #:capitalize-region
73 #:upcase-word #:downcase-word #:capitalize-word
74 #:tabify-region #:untabify-region
75 #:indent-line
76 #:delete-indentation
77 #:fill-line
78 #:input-from-stream #:output-to-stream
79 #:name-mixin #:name
80 #:buffer-looking-at #:looking-at
81 #:buffer-search-forward #:buffer-search-backward
82 #:buffer-re-search-forward #:buffer-re-search-backward
83 #:search-forward #:search-backward
84 #:re-search-forward #:re-search-backward))
85
86 (defpackage :climacs-abbrev
87 (:use :clim-lisp :clim :climacs-buffer :climacs-base)
88 (:export #:abbrev-expander #:dictionary-abbrev-expander #:dictionary
89 #:expand-abbrev #:abbrev-mixin #:possibly-expand-abbrev
90 #:add-abbrev))
91
92 (defpackage :climacs-syntax
93 (:use :clim-lisp :clim :climacs-buffer :climacs-base :flexichain)
94 (:export #:syntax #:define-syntax
95 #:syntax-from-name
96 #:basic-syntax
97 #:update-syntax #:update-syntax-for-display
98 #:grammar #:grammar-rule #:add-rule
99 #:parser #:initial-state
100 #:advance-parse
101 #:parse-tree #:start-offset #:end-offset
102 #:lexer #:nb-lexemes #:lexeme #:insert-lexeme
103 #:incremental-lexer #:next-lexeme
104 #:delete-invalid-lexemes #:inter-lexeme-object-p
105 #:skip-inter-lexeme-objects #:update-lex
106 #:parse-stack-top #:target-parse-tree #:parse-state-empty-p
107 #:parse-stack-next #:parse-stack-symbol
108 #:parse-stack-parse-trees #:map-over-parse-trees
109 #:no-such-operation #:no-expression
110 #:name-for-info-pane
111 #:syntax-line-indentation
112 #:forward-expression #:backward-expression
113 #:eval-defun
114 #:beginning-of-definition #:end-of-definition
115 #:redisplay-pane-with-syntax
116 #:backward-paragraph #:forward-paragraph
117 #:backward-sentence #:forward-sentence
118 #:forward-list #:backward-list
119 #:down-list #:up-list
120 #:backward-down-list #:backward-up-list
121 #:syntax-line-comment-string
122 #:line-comment-region #:comment-region
123 #:line-uncomment-region #:uncomment-region))
124
125 (defpackage :climacs-kill-ring
126 (:use :clim-lisp :flexichain)
127 (:export #:kill-ring #:kill-ring-length #:kill-ring-max-size
128 #:append-next-p
129 #:reset-yank-position #:rotate-yank-position #:kill-ring-yank
130 #:kill-ring-standard-push #:kill-ring-concatenating-push
131 #:kill-ring-reverse-concatenating-push))
132
133 (defpackage :undo
134 (:use :common-lisp)
135 (:export #:no-more-undo
136 #:undo-tree #:standard-undo-tree
137 #:undo-record #:standard-undo-record
138 #:add-undo #:flip-undo-record #:undo #:redo))
139
140 (defpackage :climacs-pane
141 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev
142 :climacs-syntax :flexichain :undo)
143 (:export #:climacs-buffer #:needs-saving #:filepath
144 #:read-only-p #:buffer-read-only
145 #:climacs-pane #:point #:mark
146 #:redisplay-pane #:full-redisplay
147 #:display-cursor
148 #:display-mark
149 #:page-down #:page-up
150 #:top #:bot
151 #:tab-space-count #:space-width #:tab-width
152 #:indent-tabs-mode
153 #:auto-fill-mode #:auto-fill-column
154 #:isearch-state #:search-string #:search-mark
155 #:search-forward-p #:search-success-p
156 #:isearch-mode #:isearch-states #:isearch-previous-string
157 #:query-replace-state #:string1 #:string2
158 #:query-replace-mode
159 #:mark-visible-p
160 #:with-undo
161 #:url
162 #:climacs-textual-view #:+climacs-textual-view+))
163
164 #-mcclim
165 (defpackage :clim-extensions
166 (:use :clim-lisp :clim)
167 (:export
168 #:+blue-violet+
169 #:+dark-blue+
170 #:+dark-green+
171 #:+dark-violet+
172 #:+gray50+
173 #:+gray85+
174 #:+maroon+
175 #:+purple+))
176
177 (defpackage :esa
178 (:use :clim-lisp :clim :clim-extensions)
179 (:export #:minibuffer-pane #:display-message
180 #:esa-pane-mixin #:previous-command
181 #:info-pane #:master-pane
182 #:esa-frame-mixin #:windows #:recordingp #:executingp
183 #:*numeric-argument-p* #:*current-gesture*
184 #:esa-top-level #:simple-command-loop
185 #:global-esa-table #:keyboard-macro-table
186 #:help-table
187 #:set-key
188 #:find-applicable-command-table))
189
190 (defpackage :climacs-gui
191 (:use :clim-lisp :clim :climacs-buffer :climacs-base
192 :climacs-abbrev :climacs-syntax
193 :climacs-kill-ring :climacs-pane :clim-extensions :undo :esa)
194 ;;(:import-from :lisp-string)
195 (:export :climacs ; Main entry point.
196 ;; GUI functions follow.
197 :current-window
198 :point
199 :syntax
200 :mark
201 :insert-character))
202
203 (defpackage :climacs-fundamental-syntax
204 (:use :clim-lisp :clim :climacs-buffer :climacs-base
205 :climacs-syntax :flexichain :climacs-pane)
206 (:export))
207
208 (defpackage :climacs-html-syntax
209 (:use :clim-lisp :clim :climacs-buffer :climacs-base
210 :climacs-syntax :flexichain :climacs-pane))
211
212 (defpackage :climacs-prolog-syntax
213 (:use :clim-lisp :clim :climacs-buffer :climacs-base
214 :climacs-syntax :flexichain :climacs-pane)
215 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
216
217 (defpackage :climacs-cl-syntax
218 (:use :clim-lisp :clim :climacs-buffer :climacs-base
219 :climacs-syntax :flexichain :climacs-pane)
220 (:export))
221
222 (defpackage :climacs-lisp-syntax
223 (:use :clim-lisp :clim :clim-extensions :climacs-buffer :climacs-base
224 :climacs-syntax :flexichain :climacs-pane :climacs-gui)
225 (:export :lisp-string))
226
227

  ViewVC Help
Powered by ViewVC 1.1.5