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