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