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