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