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