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