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