]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
Implemented controller-view split for minipage and preamble popups.
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * ControlMinipage.[Ch]:
4         * ControlPreamble.[Ch]:
5         * ControlPrint.[Ch]:
6         * ControlSplash.[Ch]: new files; controller for the Minipage, Preamble
7         and Print popups and Splash screen, respectively.
8
9         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
10         screens.
11
12         * GUI.h:
13         * Makefile.am: associated changes.
14
15 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
16
17         * ControlConnections.[Ch]: (docType): new method; returns the type
18         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
19
20         * ControlRef.[Ch]:
21         * ControlSearch.[Ch]:
22         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
23         Search and TabularCreate popups, respectively.
24
25         * GUI.h:
26         * Makefile.am: associated changes.
27
28 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
29
30         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
31         contains data.
32
33         * ControlInset.h (apply): fix bug. Can now create new insets again.
34
35         * README: describe program flow.
36
37 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
38
39         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
40
41 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
42
43         * ControlDialogs.h: moved class ControlInset into its own file.
44
45         * ControlInset.h: new file. class ControlInset has been expanded to take
46         two template parameters, Inset and Params. Believe that all inset
47         controllers can be derived from this with the minimum of effort.
48
49         * ControlBibitem.[Ch]:
50         * ControlBibtex.[Ch]:
51         * ControlCitation.[Ch]:
52         * ControlCommand.[Ch]: moved most code into ControlInset.
53
54         * lots of files. Moved protected stuff into private where possible.
55
56         * ControlError.[Ch]:
57         * ControlInclude.[Ch]:
58         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
59         Include and Url popups, respectively.
60
61         * GUI.h:
62         * Makefile.am: associated changes.
63
64 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
65
66         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
67         vector<string>.
68
69 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
70
71         * ControlCredits.C (getCredits): remove std:: qualifier for
72         getline(). 
73
74 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
75
76         * ControlCredits.C (getCredits): add std:: on vector
77
78 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
79
80         * ControlCredits.C: remove using that is only used once, use
81         std::ios instead of std::iosbase, add some annoying comments.
82
83 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
84
85         * lots of header files: improved explanatory notes.
86
87         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
88         ControlBase is now a class that only controls the interaction of the
89         View with the ButtonController.
90
91         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
92         to ControlConnectBase. The class controls the connection/disconnection
93         of signals from the LyX kernel and makes available the kernel (through
94         lv_) to daughter controller classes.
95         Moved out class ControlConnectInset to a new file ControlDialogs.h.
96
97         * ControlDialogs.h: new file. Contains the definition of two template
98         controller classes, ControlDialog and ControlInset (was
99         ControlConnectInset). ControlInset is a parent class for controllers
100         of inset-popups. ControlDialogs is the rather uninspired name for
101         the base class of all non-inset popups. (Eg, Document and Paragraph.)
102         ControlDialogs is reaching a state of maturity as several popups now use
103         it and its functionality becomes clear. ControlInset is still in a state
104         of flux. It is likely that functionality will be moved out of
105         ControlCommands and into it.
106
107         * GUI.h: new file. Moved all the template GUIXXX classes out of the
108         individual Controller header files and into one place. These classes
109         serve only as convenient wrappers to simplify code in the respective
110         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
111
112         * ControlCharacter.[Ch] (show, update, hide):
113         * ControlLog.[Ch] (show, update, hide):
114         * ControlVCLog.[Ch] (show, update, hide): moved back into
115         the ControlDialogs base class.
116         (setParams, clearParams): new methods containing controller-specific
117         code to set/reset the parameters manipulated by the view.
118
119         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
120         empty.
121         (hide): calls clearParams.
122
123         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
124         by ControlCommand::hide().
125
126         * ControlCopyright.[Ch]:
127         * ControlCredits.[Ch]: new files; controllers for the copyright and
128         credits popups, respectively.
129
130 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
131
132         * ControlCharacter.C: fix typo
133
134 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
135
136         * ControlCharacter.[Ch]: new files; controller for the character popup.
137
138         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
139         moved to new files helper_funcs.[Ch].
140
141         * helper_funcs.[Ch]: new files. Some useful helper functions and
142         functors.
143
144         * Makefile.am: added new files.
145
146 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
147
148         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
149
150 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
151
152         * ControlLog.[Ch]:
153         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
154         Control log files, respectively.
155
156         * Makefile.am: added new files.
157
158 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
159
160         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
161
162         * Makefile.am: added ControlBibtex.[Ch].
163
164 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
165
166         * ControlBibitem.C:
167         * ControlCitation.C: added "using SigC::slot" declaration.
168
169         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
170         to FormCitation.C prior to the merger: "Do not put space between
171         multiple keys".
172
173 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
174
175         * several files: remove CXX_WORKING_NAMESPACES
176
177         * ButtonController.h: noncopyable is in namespace boost
178         * ButtonPolicies.h: ditto
179
180 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
181
182         * Merging changes from BRANCH_MVC back into HEAD.
183
184 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
185
186         * Makefile.am: add ControlBibitem.[Ch].
187
188         * ControlBibitem.[Ch]: new files that together define the Controller
189         for a Bibitem popup.
190
191         * ControlCommand.h (c-tor): give  kb_action a default value of
192         LFUN_NOACTION.
193         
194         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
195         
196         * ControlCitation.[Ch]: moved search functions out of class.
197         (bibkeysInfo): new method. Returns const reference to private data.
198         (searchKeys): added case-sensitive switch. Used only by simpleSearch
199         for now.
200
201 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
202
203         * ControlCitation.[Ch]: added Search functions to the class,
204         (shamelessly lifted from Marco's gnome code). I think that these would
205         be better as helper functions outside the class, but this is a first
206         stab at it.
207
208 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
209
210         * ControlCitation.[Ch]: (getBibkeyList): removed from class
211         ControlCitation.
212         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
213         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
214         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
215         implementation of FormCitation.
216
217 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
218
219         * ButtonPolicies.h: add SMI_NOOP to enum.
220
221         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
222
223         * ButtonController.C (input): add "optimising" if-statement. Actually,
224         things don't work correctly without it...
225
226 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
227
228         * ViewBase.h: remove #pragma directive
229
230         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
231         to make g++ happy.
232
233 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
234
235         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
236
237         * Makefile.am: added ButtonPolicies.[Ch]
238
239         * ButtonController.[Ch]: ButtonController is split into
240         ButtonControllerBase and a template ButtonController class. The base
241         class no longer stores a pointer to a ButtonPolicy, but instead
242         accesses the actual instantiation of the policy through a pure virtual
243         method bp(). This method and the ButtonPolicy itself are instantiated
244         in the templatised ButtonController class. This class is derived from
245         the GUI-specific GUIBC class, meaning that the frontends know
246         nothing about the actual policy decided upon by the controllers.
247
248         * ControlBase.[Ch]: No longer store the View or the ButtonController.
249         Instead the actual instantiations are accessed through pure virtual
250         methods view() and bc(). The daughter classes are responsible for the
251         actual View and ButtonController.
252
253         * ControlCitation.h: the templatised class GUICitation instantiates
254         the methods view() and bc(). It also stores the instances of the
255         View and ButtonController.
256         
257 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
258
259         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
260         also changed to ButtonController.
261
262         * ControlBase.[Ch]:
263         * ControlConnections.[Ch]:
264         * ControlCommand.[Ch]:
265         * ControlCitation.[Ch]:
266         * ViewBase.h: Changes associated with this.
267
268 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
269
270         * ButtonControllerBase.[Ch]: new files. Split Allan's original
271         xforms/ButtonController class into a GUI-I class (here) and an
272         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
273
274         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
275         from which all Dialog Controllers should be derived. the Controllers
276         are GUI-independent, but are designed to control the behaviour of
277         GUI-specific implementaions of each dialog.
278
279         * ControlConnections.[Ch]: new files. Classes controlling the
280         connections of buffer-independent, buffer-dependent and Inset dialogs
281         with the LyX kernel.
282
283         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
284         InsetCommand subset of insets.
285
286         * ControlCitation.[Ch]: new files. The test specialisation! A
287         controller for the Citation dialog.
288
289         * ViewBase.h: new file. ViewBase is an abstract base class from which
290         GUI-specific dialogs should be derived. The functionality that the GUIs
291         must now implement is much reduced.