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