1 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
4 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
6 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
8 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
12 * ControlExternal.C (Browse): add a std:: qualifier
14 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
16 * ControlExternal.C (Browse): simplify to use browseRelFile
18 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * ButtonController.tmpl: added // -*- C++ -*-
22 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
23 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
24 Needed in _one_ of the ControlCommand-derived classes only.
26 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
29 * ControlSearch.h: #include LString.h
31 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
33 * ButtonController.h: split into two. The definition remains in
34 ButtonController.h, the declaration is now in ButtonController.tmpl.
35 These template methods should be #included when the derived class is
36 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
37 and in the qt2 and gnome equivalents.
39 * ControlDialogs.h: removed. The definition of class ControlDialog is
40 now to be found in ControlDialog.h and the declaration of the methods
41 is in ControlDialog.tmpl. The two template instantiations are performed
42 in ControlDialog_impl.[Ch], new files also.
44 * ControlInset.h: split into two. The definition remains in
45 ControlInset.h, the declaration is now in ControlInset.tmpl.
46 These template methods should be #included derived class is
47 instantiated, in this case in 8 other .C files in this directory.
49 * ControlAboutlyx.[Ch]:
50 * ControlCharacter.[Ch]:
60 * ControlPreamble.[Ch]:
63 * ControlShowFile.[Ch]:
64 * ControlSpellchecker.[Ch]:
65 * ControlTabularCreate.[Ch]:
66 * ControlTexinfo.[Ch]:
67 * ControlThesaurus.[Ch]:
68 * ControlVCLog.[Ch]: small changes associated with the above ones.
70 * GUI.h: #include the ButtonController and dialog controller files
71 here, rather than forward declare them. This is the correct place
74 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
75 Rename ControlDialogs.h as ControlDialog.h.
76 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
79 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
81 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
83 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
88 * ControlGraphics.C (Browse): remove overzealous shortcut
90 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
92 * FormMinipage.C (apply, update): MinipageParams::width renamed
93 as MinipageParams::pageWidth. InsetMinipage::width renamed
94 as InsetMinipage::pageWidth.
96 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
98 * ButtonController.h (refreshReadOnly): use explicit typename
100 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
102 * helper_funcs.h (browseFile): add default empty button descriptions.
104 * ControlGraphics.C (Browse):
105 * ControlBibtex.C (Browse):
106 * ControlInclude.C (Browse): add shortcuts to directory buttons
108 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
110 * ControlThesaurus.h:
111 * ControlThesaurus.C: update to Aiksaurus 0.14
113 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
115 * ControlSpellchecker.C (clearParams): show the closing message
116 only if some words have been checked, thereby fixing
119 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
121 * ControlFloat.[Ch]: changes to prevent here definitely being used
124 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
126 * ControlThesaurus.h: do not include <config.h> in header files
128 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
130 * ControlToc.C: changes for floatlist
132 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
134 * ControlVCLog.C: use _()
136 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
138 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
141 2001-10-22 Juergen Vigna <jug@sad.it>
143 * ControlSpellchecker.C (clearParams): use the error_ message of the
144 speller_ if available when the spellchecker died.
145 (setParams): remove double error message display.
147 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
149 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
151 * helper_funcs.[Ch] (getLatexUnits): see above.
153 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
155 * ControlTexinfo.C (getContents): use the right file for .sty files
157 2001-10-10 Herbert Voss <voss@perce.de>
159 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
160 and some more stuff from FormTexinfo.C
162 * ControlShowFile.C: hiding the update-button
164 2001-10-09 Herbert Voss <voss@perce.de>
166 * ControlTexinfo.[Ch]: new files. Display information about the
167 installed texfiles (cls,sty,bst).
169 * ControlShowFile.[Ch]: new files. Display the contents of a file.
171 * GUI.h: added classes GUIShowFile and GUITexinfo.
173 * Makefile.am: modified appropriately.
175 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
177 * ControlAboutlyx.C (getVersion): use lyx_version and
178 lyx_release_date instead of old macros
180 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
182 * ControlSpellchecker.C (check): Behaves well now when the spell
183 library doesn't know a replacement to an incorrect word.
185 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
187 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
188 the correct place. Can now check spelling more than once!
190 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
192 * ControlSplash.[Ch]: removed.
194 * GUI.h: remove GUISplash class.
196 * ViewBase.h: remove ViewSplash class.
198 * Makefile.am: remove ControlSplash.[Ch].
200 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
202 * ControlButtons.h: add variable emergency_exit_. If set to true, the
203 view will be shut down.
206 * ControlInset.h: act on emergency_exit_.
208 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
209 speller fails to launch.
211 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
213 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
214 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
216 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
218 * ControlRef.h (disconnectOnApply): new method. Set to true.
219 Perhaps make this user-modifiable?
221 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
223 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
226 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
228 * ControlRef.C (getBufferList, getBufferNum): New methods
230 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
232 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
233 of the dialog when the Apply button is pressed. Defaults to false,
234 but can be overridden in the daughter classes.
236 * ControlCitation.h (disconnectOnApply): new method. Set to true.
237 Perhaps make this user-modifiable?
239 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
241 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
242 we have dialogs that update their contents when the buffer changes.
243 Rather embarassing, really!
245 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlSearch (replace): change semantics of replace to NOT move on
248 to the next instance of a word once the present instance has been
249 replaced unless we are replacing ALL instances of the word.
251 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
253 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
255 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
257 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
258 dialog, set all options to "reset", close the dialog, re-open it ->
259 the options are set incorrectly.
261 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
262 When Applying it's useful to know whether the dialog is about to close
263 or not (no point refreshing the display for example).
265 * ControlInset.C (apply): use isClosing.
267 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
270 * ControlDialogs.h: remove bc() hack, now fixed in
271 Qt2 frontend. use member dialog_built_ instead of shared
274 * ButtonController.h:
275 * ButtonPolicies.C: more debug info
277 * ButtonControllerBase.C: call refresh() when setting readOnly !
279 * GUI.h: External form has apply, use the right policy
281 * character.C: fix two off-by-one errors when latex font was removed
283 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
285 * ControlInset.h (apply): tentative fix for the press Apply multiple
286 times and get multiple new Insets problem.
288 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
290 * ControlCharacter.C: fix typo
294 * ControlInsets.C: make sure dialog is built before it is shown, so
295 it works properly the very first time it is shown
297 2001-08-20 Herbert Voss <voss@perce.de>
299 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
300 and styles. Added an option for "bibliography into toc"
302 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
304 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
305 LaTeX is no longer a font property.
307 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
309 * GUI.h: Button controller for Reference dialog changed to
310 NoRepeatedApplyReadOnlyPolicy.
312 * biblio.C (getInfo): output volume and number info. Move year to end
315 2001-08-09 Allan Rae <rae@lyx.org>
317 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
319 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
321 * helper_funcs.C (getVectorFromString): fixed small bug.
323 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
325 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
327 * ControlSpellchecker.C: check next word after insert in personal dict
329 2001-08-06 Juergen Vigna <jug@sad.it>
331 * ControlERT.[Ch]: new file
333 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlInset.h: const and non-const forms of params().
337 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
338 whitespace from either side of each item.
340 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
342 * ControlFloat.h: add a != operator for FloatParams.
343 Lars, how did you get this to compile!!!
345 * ControlMinipage.[Ch]: uncommented someone's commenting out of
346 operator != for MinipageParams. Who's changing stuff and not compiling?
348 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
350 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
353 * GUI.h: add class GUIFloat
355 * ControlFloat.[Ch]: new files
357 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * ControlPrint.C: #include Lassert.h here.
361 2001-07-26 Baruch Even <baruch@lyx.org>
363 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
366 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
368 * ControlThesaurus.h:
369 * ControlThesaurus.C:
371 * Makefile.am: thesaurus support
373 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
376 * ControlInclude.C: implement ability to load file
378 2001-07-18 Juergen Vigna <jug@sad.it>
380 * ControlSearch.C (replace): changes to lyxfind.h function calls.
382 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
384 * biblio.C (getInfo): add a .c_str() to handle the usual
387 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlCitation.[Ch]: changes associated with adding natbib support.
390 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
391 New static variable citeStyles_.
393 * biblio.[Ch]: large internal rearrangement.
394 New public enum CiteStyle.
395 New public struct CitationStyle.
396 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
397 getNumericalStrings, getAuthorYearStrings
398 (simpleSearch, regexSearch): no longer publicly accessible.
400 * helper_funcs.C (getStringFromVector): bug fix.
402 2001-07-16 Baruch Even <baruch@lyx.org>
404 * ControlVCLog.h: Added Lsstream.h to includes.
406 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
408 * ControlSpellchecker.[Ch]: remove d-tor.
410 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
412 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
414 2001-07-16 Juergen Vigna <jug@sad.it>
416 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
417 compiled with USE_PSPELL) to be able to switch between ISpell and
420 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
422 Consistent use of Lsstream.h:
423 * ControlAboutlyx.[Ch] (getCredits):
424 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
426 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
428 * ControlCredits.[Ch]: removed
429 * ControlCopyright.[Ch]: removed
430 * ControlAboutlyx.[Ch]: added (replaces previous)
431 * GUI.h: removed credits and copyright added about lyx stuff
433 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
435 * ControlSpellchecker.C (getSuggestion):
436 (getWord): add std:: qualifier
438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
440 * ControlSpellchecker.[Ch]: added
441 * ViewBase.h: added partialUpdate(int) member
442 * GUI.h: added spell stuff
444 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * ControlExternal.C: (*it). -> it->
448 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
450 * ButtonController.h: move some included header files out of the
451 frontends and into here.
453 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlCharacter.C (c-tor): cosmetic name change of signal.
457 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
459 * *.[h]: added // -*- C++ -*-
460 * *.[C]: removed // -*- C++ -*-
462 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
463 activate Apply button.
464 (clearParams): removed.
465 font_ is now stored as a boost::scoped_ptr.
466 font_ is no longer deleted on hide(), so it's contents can now be used
467 by the Font button on the toolbar.
468 Lots of new methods so that the GUI can easily get the contents of
469 font_ when it update()s.
471 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
473 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
474 crash when the Font button on the Toolbar is pressed.
476 * GUI.h: change policy of Character button controller to
477 OkApplyCancelReadOnlyPolicy.
479 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
481 * ControlToc.C (getContents): don't add anything to the list if it
482 is supposed to be empty.
484 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
486 * helper_funcs.C (getVectorFromString): bug fix.
488 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
491 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
492 from ButtonControllerBase::readOnly. Updates the state of the widgets
493 in the read-only list only when the read-only status of the document
495 (refresh): moved this stuff into refreshReadOnly.
497 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
499 * ControlPrint.C (c-tor):
500 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
502 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
505 * character.h: small clean-ups.
507 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
509 * ControlToc.C (getType): remove support for old float list.
511 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
514 * ControlGraphics.h: no longer include insetgraphicsParams.h
515 * ControlInset.h: no longer include LyXView.h
520 * ControlCharacter.C:
523 * ControlConnections.C:
524 * ControlCopyright.C:
536 * ControlTabularCreate.C:
538 * ControlVCLog.C: they're now in here!
540 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
542 * ButtonControllerBase.h: C++ mode, inherit privately from
544 * ButtonPolicies.h: ditto
546 * ButtonController.h: C++ mode, swap init order of restore_ and
549 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
551 * ControlTabularCreate.h:
552 * ControlTabularCreate.C: make dialogs use a pair of uints
556 * ControlVCLog.C: fill a stringstream with the log contents
559 * ControlExternal.C: from Angus, clone the new InsetExternal
562 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
564 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
565 and made more robust.
567 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
576 * ControlCopyright.C: include gettext.h
578 * ControlCharacter.C:
579 * character.C: include gettext.h and language.h
581 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
583 * ButtonController.h:
584 * ButtonControllerBase.h:
585 * ButtonControllerBase.C:
592 * ControlConnections.h:
598 * ViewBase.h: s/ControlButton/ControlButtons/
600 s/UndoAll/Restore/ + associated
602 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
604 * ControlToc.[Ch]: new files; a controller for the TOC popup.
607 * Makefile.am: associated changes with all of the above.
609 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
611 * ControlExternal.C: bug fixes. Can now apply changes to the inset
612 and edit, view, update the External Material correctly. I hope!
614 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
616 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
618 * BCTemplates.h: renamed as ButtonController.h
620 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
623 * ControlConnections.h: associated change in #include and class names.
625 * ControlExternal.[Ch]: new files; a controller for the External
629 * Makefile.am: associated changes with all of the above.
631 * ControlGraphics.[Ch]:
632 * ControlInclude.[Ch]:
635 (Browse): new method. Returns the results of a FileDialog browse.
637 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
638 (getVectorFromString): fixed bug.
640 * biblio.C (simpleSearch): cleaned up.
642 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
644 * A slight reworking of Baruch Even's ButtonController patch.
646 * BCTemplates.h: new file; all the templates for the ButtonController.
647 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
648 to the more generic setButtonLabel().
650 * ButtonController.[Ch]: renamed cancel_label and close_label as
651 cancel_label_ and close_label_.
653 * Makefile.am: added BCTemplates.h
655 2001-03-29 Juergen Vigna <jug@sad.it>
657 * ControlMinipage.C: removed widthp_ and all it's functions and changed
658 to use new %-lengths of LyXLength.
660 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
662 * ControlCitation.C (bibkeysInfo): removed Assert.
664 * ControlCopyright.h: moved GUICopyright into GUI.h
668 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
670 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
671 (setDaughterParams): a (by default empty) new method called in show().
680 * ControlUrl.h (clearDaughterParams): removed
682 * ControlMinipage.C (applyParamsToInset): update the view.
683 Added namespace minipage containing a helper function getUnits.
685 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
687 * ControlCharacter.[Ch]: moved out all the helper functions and the
688 enum into their own file.
689 * character.[Ch]: new files; contain the character helper functions,
690 now inside namespace character.
692 * ControlCitation.[Ch]: moved out all the helper functions and the
693 enums into their own file. Simplified interface.
694 * biblio.[Ch]: new files; contain the citation helper functions,
695 now inside namespace biblio. Will be of use also to an improved
698 * ControlGraphics.[Ch]:
699 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
700 popups, respectively.
703 * Makefile.am: associated changes.
705 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
707 * ControlMinipage.[Ch]:
708 * ControlPreamble.[Ch]:
710 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
711 and Print popups and Splash screen, respectively.
713 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
717 * Makefile.am: associated changes.
719 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
721 * ControlConnections.[Ch]: (docType): new method; returns the type
722 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
725 * ControlSearch.[Ch]:
726 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
727 Search and TabularCreate popups, respectively.
730 * Makefile.am: associated changes.
732 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
734 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
737 * ControlInset.h (apply): fix bug. Can now create new insets again.
739 * README: describe program flow.
741 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
743 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
745 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlDialogs.h: moved class ControlInset into its own file.
749 * ControlInset.h: new file. class ControlInset has been expanded to take
750 two template parameters, Inset and Params. Believe that all inset
751 controllers can be derived from this with the minimum of effort.
753 * ControlBibitem.[Ch]:
754 * ControlBibtex.[Ch]:
755 * ControlCitation.[Ch]:
756 * ControlCommand.[Ch]: moved most code into ControlInset.
758 * lots of files. Moved protected stuff into private where possible.
761 * ControlInclude.[Ch]:
762 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
763 Include and Url popups, respectively.
766 * Makefile.am: associated changes.
768 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
770 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
773 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
775 * ControlCredits.C (getCredits): remove std:: qualifier for
778 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
780 * ControlCredits.C (getCredits): add std:: on vector
782 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
784 * ControlCredits.C: remove using that is only used once, use
785 std::ios instead of std::iosbase, add some annoying comments.
787 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
789 * lots of header files: improved explanatory notes.
791 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
792 ControlBase is now a class that only controls the interaction of the
793 View with the ButtonController.
795 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
796 to ControlConnectBase. The class controls the connection/disconnection
797 of signals from the LyX kernel and makes available the kernel (through
798 lv_) to daughter controller classes.
799 Moved out class ControlConnectInset to a new file ControlDialogs.h.
801 * ControlDialogs.h: new file. Contains the definition of two template
802 controller classes, ControlDialog and ControlInset (was
803 ControlConnectInset). ControlInset is a parent class for controllers
804 of inset-popups. ControlDialogs is the rather uninspired name for
805 the base class of all non-inset popups. (Eg, Document and Paragraph.)
806 ControlDialogs is reaching a state of maturity as several popups now use
807 it and its functionality becomes clear. ControlInset is still in a state
808 of flux. It is likely that functionality will be moved out of
809 ControlCommands and into it.
811 * GUI.h: new file. Moved all the template GUIXXX classes out of the
812 individual Controller header files and into one place. These classes
813 serve only as convenient wrappers to simplify code in the respective
814 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
816 * ControlCharacter.[Ch] (show, update, hide):
817 * ControlLog.[Ch] (show, update, hide):
818 * ControlVCLog.[Ch] (show, update, hide): moved back into
819 the ControlDialogs base class.
820 (setParams, clearParams): new methods containing controller-specific
821 code to set/reset the parameters manipulated by the view.
823 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
825 (hide): calls clearParams.
827 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
828 by ControlCommand::hide().
830 * ControlCopyright.[Ch]:
831 * ControlCredits.[Ch]: new files; controllers for the copyright and
832 credits popups, respectively.
834 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
836 * ControlCharacter.C: fix typo
838 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlCharacter.[Ch]: new files; controller for the character popup.
842 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
843 moved to new files helper_funcs.[Ch].
845 * helper_funcs.[Ch]: new files. Some useful helper functions and
848 * Makefile.am: added new files.
850 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
852 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
854 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
857 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
858 Control log files, respectively.
860 * Makefile.am: added new files.
862 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
864 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
866 * Makefile.am: added ControlBibtex.[Ch].
868 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
871 * ControlCitation.C: added "using SigC::slot" declaration.
873 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
874 to FormCitation.C prior to the merger: "Do not put space between
877 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
879 * several files: remove CXX_WORKING_NAMESPACES
881 * ButtonController.h: noncopyable is in namespace boost
882 * ButtonPolicies.h: ditto
884 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
886 * Merging changes from BRANCH_MVC back into HEAD.
888 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
890 * Makefile.am: add ControlBibitem.[Ch].
892 * ControlBibitem.[Ch]: new files that together define the Controller
895 * ControlCommand.h (c-tor): give kb_action a default value of
898 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
900 * ControlCitation.[Ch]: moved search functions out of class.
901 (bibkeysInfo): new method. Returns const reference to private data.
902 (searchKeys): added case-sensitive switch. Used only by simpleSearch
905 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
907 * ControlCitation.[Ch]: added Search functions to the class,
908 (shamelessly lifted from Marco's gnome code). I think that these would
909 be better as helper functions outside the class, but this is a first
912 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
914 * ControlCitation.[Ch]: (getBibkeyList): removed from class
916 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
917 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
918 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
919 implementation of FormCitation.
921 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
923 * ButtonPolicies.h: add SMI_NOOP to enum.
925 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
927 * ButtonController.C (input): add "optimising" if-statement. Actually,
928 things don't work correctly without it...
930 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
932 * ViewBase.h: remove #pragma directive
934 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
937 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
939 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
941 * Makefile.am: added ButtonPolicies.[Ch]
943 * ButtonController.[Ch]: ButtonController is split into
944 ButtonControllerBase and a template ButtonController class. The base
945 class no longer stores a pointer to a ButtonPolicy, but instead
946 accesses the actual instantiation of the policy through a pure virtual
947 method bp(). This method and the ButtonPolicy itself are instantiated
948 in the templatised ButtonController class. This class is derived from
949 the GUI-specific GUIBC class, meaning that the frontends know
950 nothing about the actual policy decided upon by the controllers.
952 * ControlBase.[Ch]: No longer store the View or the ButtonController.
953 Instead the actual instantiations are accessed through pure virtual
954 methods view() and bc(). The daughter classes are responsible for the
955 actual View and ButtonController.
957 * ControlCitation.h: the templatised class GUICitation instantiates
958 the methods view() and bc(). It also stores the instances of the
959 View and ButtonController.
961 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
963 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
964 also changed to ButtonController.
967 * ControlConnections.[Ch]:
968 * ControlCommand.[Ch]:
969 * ControlCitation.[Ch]:
970 * ViewBase.h: Changes associated with this.
972 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
974 * ButtonControllerBase.[Ch]: new files. Split Allan's original
975 xforms/ButtonController class into a GUI-I class (here) and an
976 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
978 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
979 from which all Dialog Controllers should be derived. the Controllers
980 are GUI-independent, but are designed to control the behaviour of
981 GUI-specific implementaions of each dialog.
983 * ControlConnections.[Ch]: new files. Classes controlling the
984 connections of buffer-independent, buffer-dependent and Inset dialogs
987 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
988 InsetCommand subset of insets.
990 * ControlCitation.[Ch]: new files. The test specialisation! A
991 controller for the Citation dialog.
993 * ViewBase.h: new file. ViewBase is an abstract base class from which
994 GUI-specific dialogs should be derived. The functionality that the GUIs
995 must now implement is much reduced.