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