1 2002-01-20 Herbert Voss <voss@perce.de>
3 * ControlInclude.[Ch]: better control of unexistings files
4 when entered without the browser
6 * ControlGraphic.C (Browse): add extension "ps" when browsing for
9 2002-01-19 Herbert Voss <voss@perce.de>
11 * biblio.C (getInfo): fix bug when no author is given
13 * biblio.C (parseBibTeX): change the parsing, so that
14 '#'-characters in a bibtex entry are no more a problem.
16 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
18 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
19 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
21 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
23 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
25 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
27 * ControlExternal.C (Browse): add a std:: qualifier
29 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
31 * ControlExternal.C (Browse): simplify to use browseRelFile
33 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
35 * ButtonController.tmpl: added // -*- C++ -*-
37 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
38 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
39 Needed in _one_ of the ControlCommand-derived classes only.
41 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
44 * ControlSearch.h: #include LString.h
46 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
48 * ButtonController.h: split into two. The definition remains in
49 ButtonController.h, the declaration is now in ButtonController.tmpl.
50 These template methods should be #included when the derived class is
51 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
52 and in the qt2 and gnome equivalents.
54 * ControlDialogs.h: removed. The definition of class ControlDialog is
55 now to be found in ControlDialog.h and the declaration of the methods
56 is in ControlDialog.tmpl. The two template instantiations are performed
57 in ControlDialog_impl.[Ch], new files also.
59 * ControlInset.h: split into two. The definition remains in
60 ControlInset.h, the declaration is now in ControlInset.tmpl.
61 These template methods should be #included derived class is
62 instantiated, in this case in 8 other .C files in this directory.
64 * ControlAboutlyx.[Ch]:
65 * ControlCharacter.[Ch]:
75 * ControlPreamble.[Ch]:
78 * ControlShowFile.[Ch]:
79 * ControlSpellchecker.[Ch]:
80 * ControlTabularCreate.[Ch]:
81 * ControlTexinfo.[Ch]:
82 * ControlThesaurus.[Ch]:
83 * ControlVCLog.[Ch]: small changes associated with the above ones.
85 * GUI.h: #include the ButtonController and dialog controller files
86 here, rather than forward declare them. This is the correct place
89 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
90 Rename ControlDialogs.h as ControlDialog.h.
91 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
94 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
98 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
100 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
103 * ControlGraphics.C (Browse): remove overzealous shortcut
105 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
107 * FormMinipage.C (apply, update): MinipageParams::width renamed
108 as MinipageParams::pageWidth. InsetMinipage::width renamed
109 as InsetMinipage::pageWidth.
111 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
113 * ButtonController.h (refreshReadOnly): use explicit typename
115 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
117 * helper_funcs.h (browseFile): add default empty button descriptions.
119 * ControlGraphics.C (Browse):
120 * ControlBibtex.C (Browse):
121 * ControlInclude.C (Browse): add shortcuts to directory buttons
123 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
125 * ControlThesaurus.h:
126 * ControlThesaurus.C: update to Aiksaurus 0.14
128 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
130 * ControlSpellchecker.C (clearParams): show the closing message
131 only if some words have been checked, thereby fixing
134 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
136 * ControlFloat.[Ch]: changes to prevent here definitely being used
139 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
141 * ControlThesaurus.h: do not include <config.h> in header files
143 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
145 * ControlToc.C: changes for floatlist
147 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
149 * ControlVCLog.C: use _()
151 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
153 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
156 2001-10-22 Juergen Vigna <jug@sad.it>
158 * ControlSpellchecker.C (clearParams): use the error_ message of the
159 speller_ if available when the spellchecker died.
160 (setParams): remove double error message display.
162 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
164 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
166 * helper_funcs.[Ch] (getLatexUnits): see above.
168 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
170 * ControlTexinfo.C (getContents): use the right file for .sty files
172 2001-10-10 Herbert Voss <voss@perce.de>
174 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
175 and some more stuff from FormTexinfo.C
177 * ControlShowFile.C: hiding the update-button
179 2001-10-09 Herbert Voss <voss@perce.de>
181 * ControlTexinfo.[Ch]: new files. Display information about the
182 installed texfiles (cls,sty,bst).
184 * ControlShowFile.[Ch]: new files. Display the contents of a file.
186 * GUI.h: added classes GUIShowFile and GUITexinfo.
188 * Makefile.am: modified appropriately.
190 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
192 * ControlAboutlyx.C (getVersion): use lyx_version and
193 lyx_release_date instead of old macros
195 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlSpellchecker.C (check): Behaves well now when the spell
198 library doesn't know a replacement to an incorrect word.
200 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
202 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
203 the correct place. Can now check spelling more than once!
205 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlSplash.[Ch]: removed.
209 * GUI.h: remove GUISplash class.
211 * ViewBase.h: remove ViewSplash class.
213 * Makefile.am: remove ControlSplash.[Ch].
215 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlButtons.h: add variable emergency_exit_. If set to true, the
218 view will be shut down.
221 * ControlInset.h: act on emergency_exit_.
223 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
224 speller fails to launch.
226 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
229 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
231 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlRef.h (disconnectOnApply): new method. Set to true.
234 Perhaps make this user-modifiable?
236 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
238 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
241 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
243 * ControlRef.C (getBufferList, getBufferNum): New methods
245 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
248 of the dialog when the Apply button is pressed. Defaults to false,
249 but can be overridden in the daughter classes.
251 * ControlCitation.h (disconnectOnApply): new method. Set to true.
252 Perhaps make this user-modifiable?
254 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
257 we have dialogs that update their contents when the buffer changes.
258 Rather embarassing, really!
260 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlSearch (replace): change semantics of replace to NOT move on
263 to the next instance of a word once the present instance has been
264 replaced unless we are replacing ALL instances of the word.
266 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
268 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
270 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
273 dialog, set all options to "reset", close the dialog, re-open it ->
274 the options are set incorrectly.
276 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
277 When Applying it's useful to know whether the dialog is about to close
278 or not (no point refreshing the display for example).
280 * ControlInset.C (apply): use isClosing.
282 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
285 * ControlDialogs.h: remove bc() hack, now fixed in
286 Qt2 frontend. use member dialog_built_ instead of shared
289 * ButtonController.h:
290 * ButtonPolicies.C: more debug info
292 * ButtonControllerBase.C: call refresh() when setting readOnly !
294 * GUI.h: External form has apply, use the right policy
296 * character.C: fix two off-by-one errors when latex font was removed
298 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
300 * ControlInset.h (apply): tentative fix for the press Apply multiple
301 times and get multiple new Insets problem.
303 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
305 * ControlCharacter.C: fix typo
309 * ControlInsets.C: make sure dialog is built before it is shown, so
310 it works properly the very first time it is shown
312 2001-08-20 Herbert Voss <voss@perce.de>
314 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
315 and styles. Added an option for "bibliography into toc"
317 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
319 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
320 LaTeX is no longer a font property.
322 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
324 * GUI.h: Button controller for Reference dialog changed to
325 NoRepeatedApplyReadOnlyPolicy.
327 * biblio.C (getInfo): output volume and number info. Move year to end
330 2001-08-09 Allan Rae <rae@lyx.org>
332 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
334 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
336 * helper_funcs.C (getVectorFromString): fixed small bug.
338 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
340 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
342 * ControlSpellchecker.C: check next word after insert in personal dict
344 2001-08-06 Juergen Vigna <jug@sad.it>
346 * ControlERT.[Ch]: new file
348 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
350 * ControlInset.h: const and non-const forms of params().
352 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
353 whitespace from either side of each item.
355 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlFloat.h: add a != operator for FloatParams.
358 Lars, how did you get this to compile!!!
360 * ControlMinipage.[Ch]: uncommented someone's commenting out of
361 operator != for MinipageParams. Who's changing stuff and not compiling?
363 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
365 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
368 * GUI.h: add class GUIFloat
370 * ControlFloat.[Ch]: new files
372 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
374 * ControlPrint.C: #include Lassert.h here.
376 2001-07-26 Baruch Even <baruch@lyx.org>
378 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
381 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
383 * ControlThesaurus.h:
384 * ControlThesaurus.C:
386 * Makefile.am: thesaurus support
388 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
391 * ControlInclude.C: implement ability to load file
393 2001-07-18 Juergen Vigna <jug@sad.it>
395 * ControlSearch.C (replace): changes to lyxfind.h function calls.
397 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * biblio.C (getInfo): add a .c_str() to handle the usual
402 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
404 * ControlCitation.[Ch]: changes associated with adding natbib support.
405 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
406 New static variable citeStyles_.
408 * biblio.[Ch]: large internal rearrangement.
409 New public enum CiteStyle.
410 New public struct CitationStyle.
411 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
412 getNumericalStrings, getAuthorYearStrings
413 (simpleSearch, regexSearch): no longer publicly accessible.
415 * helper_funcs.C (getStringFromVector): bug fix.
417 2001-07-16 Baruch Even <baruch@lyx.org>
419 * ControlVCLog.h: Added Lsstream.h to includes.
421 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
423 * ControlSpellchecker.[Ch]: remove d-tor.
425 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
427 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
429 2001-07-16 Juergen Vigna <jug@sad.it>
431 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
432 compiled with USE_PSPELL) to be able to switch between ISpell and
435 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
437 Consistent use of Lsstream.h:
438 * ControlAboutlyx.[Ch] (getCredits):
439 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
441 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
443 * ControlCredits.[Ch]: removed
444 * ControlCopyright.[Ch]: removed
445 * ControlAboutlyx.[Ch]: added (replaces previous)
446 * GUI.h: removed credits and copyright added about lyx stuff
448 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
450 * ControlSpellchecker.C (getSuggestion):
451 (getWord): add std:: qualifier
453 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
455 * ControlSpellchecker.[Ch]: added
456 * ViewBase.h: added partialUpdate(int) member
457 * GUI.h: added spell stuff
459 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
461 * ControlExternal.C: (*it). -> it->
463 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
465 * ButtonController.h: move some included header files out of the
466 frontends and into here.
468 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
470 * ControlCharacter.C (c-tor): cosmetic name change of signal.
472 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
474 * *.[h]: added // -*- C++ -*-
475 * *.[C]: removed // -*- C++ -*-
477 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
478 activate Apply button.
479 (clearParams): removed.
480 font_ is now stored as a boost::scoped_ptr.
481 font_ is no longer deleted on hide(), so it's contents can now be used
482 by the Font button on the toolbar.
483 Lots of new methods so that the GUI can easily get the contents of
484 font_ when it update()s.
486 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
489 crash when the Font button on the Toolbar is pressed.
491 * GUI.h: change policy of Character button controller to
492 OkApplyCancelReadOnlyPolicy.
494 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * ControlToc.C (getContents): don't add anything to the list if it
497 is supposed to be empty.
499 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
501 * helper_funcs.C (getVectorFromString): bug fix.
503 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
506 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
507 from ButtonControllerBase::readOnly. Updates the state of the widgets
508 in the read-only list only when the read-only status of the document
510 (refresh): moved this stuff into refreshReadOnly.
512 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
514 * ControlPrint.C (c-tor):
515 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
517 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
520 * character.h: small clean-ups.
522 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
524 * ControlToc.C (getType): remove support for old float list.
526 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
528 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
529 * ControlGraphics.h: no longer include insetgraphicsParams.h
530 * ControlInset.h: no longer include LyXView.h
535 * ControlCharacter.C:
538 * ControlConnections.C:
539 * ControlCopyright.C:
551 * ControlTabularCreate.C:
553 * ControlVCLog.C: they're now in here!
555 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
557 * ButtonControllerBase.h: C++ mode, inherit privately from
559 * ButtonPolicies.h: ditto
561 * ButtonController.h: C++ mode, swap init order of restore_ and
564 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
566 * ControlTabularCreate.h:
567 * ControlTabularCreate.C: make dialogs use a pair of uints
571 * ControlVCLog.C: fill a stringstream with the log contents
574 * ControlExternal.C: from Angus, clone the new InsetExternal
577 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
579 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
580 and made more robust.
582 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
591 * ControlCopyright.C: include gettext.h
593 * ControlCharacter.C:
594 * character.C: include gettext.h and language.h
596 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
598 * ButtonController.h:
599 * ButtonControllerBase.h:
600 * ButtonControllerBase.C:
607 * ControlConnections.h:
613 * ViewBase.h: s/ControlButton/ControlButtons/
615 s/UndoAll/Restore/ + associated
617 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
619 * ControlToc.[Ch]: new files; a controller for the TOC popup.
622 * Makefile.am: associated changes with all of the above.
624 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlExternal.C: bug fixes. Can now apply changes to the inset
627 and edit, view, update the External Material correctly. I hope!
629 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
631 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
633 * BCTemplates.h: renamed as ButtonController.h
635 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
638 * ControlConnections.h: associated change in #include and class names.
640 * ControlExternal.[Ch]: new files; a controller for the External
644 * Makefile.am: associated changes with all of the above.
646 * ControlGraphics.[Ch]:
647 * ControlInclude.[Ch]:
650 (Browse): new method. Returns the results of a FileDialog browse.
652 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
653 (getVectorFromString): fixed bug.
655 * biblio.C (simpleSearch): cleaned up.
657 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
659 * A slight reworking of Baruch Even's ButtonController patch.
661 * BCTemplates.h: new file; all the templates for the ButtonController.
662 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
663 to the more generic setButtonLabel().
665 * ButtonController.[Ch]: renamed cancel_label and close_label as
666 cancel_label_ and close_label_.
668 * Makefile.am: added BCTemplates.h
670 2001-03-29 Juergen Vigna <jug@sad.it>
672 * ControlMinipage.C: removed widthp_ and all it's functions and changed
673 to use new %-lengths of LyXLength.
675 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
677 * ControlCitation.C (bibkeysInfo): removed Assert.
679 * ControlCopyright.h: moved GUICopyright into GUI.h
683 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
685 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
686 (setDaughterParams): a (by default empty) new method called in show().
695 * ControlUrl.h (clearDaughterParams): removed
697 * ControlMinipage.C (applyParamsToInset): update the view.
698 Added namespace minipage containing a helper function getUnits.
700 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
702 * ControlCharacter.[Ch]: moved out all the helper functions and the
703 enum into their own file.
704 * character.[Ch]: new files; contain the character helper functions,
705 now inside namespace character.
707 * ControlCitation.[Ch]: moved out all the helper functions and the
708 enums into their own file. Simplified interface.
709 * biblio.[Ch]: new files; contain the citation helper functions,
710 now inside namespace biblio. Will be of use also to an improved
713 * ControlGraphics.[Ch]:
714 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
715 popups, respectively.
718 * Makefile.am: associated changes.
720 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
722 * ControlMinipage.[Ch]:
723 * ControlPreamble.[Ch]:
725 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
726 and Print popups and Splash screen, respectively.
728 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
732 * Makefile.am: associated changes.
734 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
736 * ControlConnections.[Ch]: (docType): new method; returns the type
737 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
740 * ControlSearch.[Ch]:
741 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
742 Search and TabularCreate popups, respectively.
745 * Makefile.am: associated changes.
747 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
749 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
752 * ControlInset.h (apply): fix bug. Can now create new insets again.
754 * README: describe program flow.
756 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
758 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
760 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlDialogs.h: moved class ControlInset into its own file.
764 * ControlInset.h: new file. class ControlInset has been expanded to take
765 two template parameters, Inset and Params. Believe that all inset
766 controllers can be derived from this with the minimum of effort.
768 * ControlBibitem.[Ch]:
769 * ControlBibtex.[Ch]:
770 * ControlCitation.[Ch]:
771 * ControlCommand.[Ch]: moved most code into ControlInset.
773 * lots of files. Moved protected stuff into private where possible.
776 * ControlInclude.[Ch]:
777 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
778 Include and Url popups, respectively.
781 * Makefile.am: associated changes.
783 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
785 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
788 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
790 * ControlCredits.C (getCredits): remove std:: qualifier for
793 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
795 * ControlCredits.C (getCredits): add std:: on vector
797 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
799 * ControlCredits.C: remove using that is only used once, use
800 std::ios instead of std::iosbase, add some annoying comments.
802 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
804 * lots of header files: improved explanatory notes.
806 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
807 ControlBase is now a class that only controls the interaction of the
808 View with the ButtonController.
810 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
811 to ControlConnectBase. The class controls the connection/disconnection
812 of signals from the LyX kernel and makes available the kernel (through
813 lv_) to daughter controller classes.
814 Moved out class ControlConnectInset to a new file ControlDialogs.h.
816 * ControlDialogs.h: new file. Contains the definition of two template
817 controller classes, ControlDialog and ControlInset (was
818 ControlConnectInset). ControlInset is a parent class for controllers
819 of inset-popups. ControlDialogs is the rather uninspired name for
820 the base class of all non-inset popups. (Eg, Document and Paragraph.)
821 ControlDialogs is reaching a state of maturity as several popups now use
822 it and its functionality becomes clear. ControlInset is still in a state
823 of flux. It is likely that functionality will be moved out of
824 ControlCommands and into it.
826 * GUI.h: new file. Moved all the template GUIXXX classes out of the
827 individual Controller header files and into one place. These classes
828 serve only as convenient wrappers to simplify code in the respective
829 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
831 * ControlCharacter.[Ch] (show, update, hide):
832 * ControlLog.[Ch] (show, update, hide):
833 * ControlVCLog.[Ch] (show, update, hide): moved back into
834 the ControlDialogs base class.
835 (setParams, clearParams): new methods containing controller-specific
836 code to set/reset the parameters manipulated by the view.
838 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
840 (hide): calls clearParams.
842 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
843 by ControlCommand::hide().
845 * ControlCopyright.[Ch]:
846 * ControlCredits.[Ch]: new files; controllers for the copyright and
847 credits popups, respectively.
849 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
851 * ControlCharacter.C: fix typo
853 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
855 * ControlCharacter.[Ch]: new files; controller for the character popup.
857 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
858 moved to new files helper_funcs.[Ch].
860 * helper_funcs.[Ch]: new files. Some useful helper functions and
863 * Makefile.am: added new files.
865 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
869 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
872 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
873 Control log files, respectively.
875 * Makefile.am: added new files.
877 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
879 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
881 * Makefile.am: added ControlBibtex.[Ch].
883 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
886 * ControlCitation.C: added "using SigC::slot" declaration.
888 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
889 to FormCitation.C prior to the merger: "Do not put space between
892 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
894 * several files: remove CXX_WORKING_NAMESPACES
896 * ButtonController.h: noncopyable is in namespace boost
897 * ButtonPolicies.h: ditto
899 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
901 * Merging changes from BRANCH_MVC back into HEAD.
903 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
905 * Makefile.am: add ControlBibitem.[Ch].
907 * ControlBibitem.[Ch]: new files that together define the Controller
910 * ControlCommand.h (c-tor): give kb_action a default value of
913 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
915 * ControlCitation.[Ch]: moved search functions out of class.
916 (bibkeysInfo): new method. Returns const reference to private data.
917 (searchKeys): added case-sensitive switch. Used only by simpleSearch
920 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
922 * ControlCitation.[Ch]: added Search functions to the class,
923 (shamelessly lifted from Marco's gnome code). I think that these would
924 be better as helper functions outside the class, but this is a first
927 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
929 * ControlCitation.[Ch]: (getBibkeyList): removed from class
931 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
932 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
933 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
934 implementation of FormCitation.
936 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
938 * ButtonPolicies.h: add SMI_NOOP to enum.
940 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
942 * ButtonController.C (input): add "optimising" if-statement. Actually,
943 things don't work correctly without it...
945 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
947 * ViewBase.h: remove #pragma directive
949 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
952 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
954 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
956 * Makefile.am: added ButtonPolicies.[Ch]
958 * ButtonController.[Ch]: ButtonController is split into
959 ButtonControllerBase and a template ButtonController class. The base
960 class no longer stores a pointer to a ButtonPolicy, but instead
961 accesses the actual instantiation of the policy through a pure virtual
962 method bp(). This method and the ButtonPolicy itself are instantiated
963 in the templatised ButtonController class. This class is derived from
964 the GUI-specific GUIBC class, meaning that the frontends know
965 nothing about the actual policy decided upon by the controllers.
967 * ControlBase.[Ch]: No longer store the View or the ButtonController.
968 Instead the actual instantiations are accessed through pure virtual
969 methods view() and bc(). The daughter classes are responsible for the
970 actual View and ButtonController.
972 * ControlCitation.h: the templatised class GUICitation instantiates
973 the methods view() and bc(). It also stores the instances of the
974 View and ButtonController.
976 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
978 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
979 also changed to ButtonController.
982 * ControlConnections.[Ch]:
983 * ControlCommand.[Ch]:
984 * ControlCitation.[Ch]:
985 * ViewBase.h: Changes associated with this.
987 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
989 * ButtonControllerBase.[Ch]: new files. Split Allan's original
990 xforms/ButtonController class into a GUI-I class (here) and an
991 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
993 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
994 from which all Dialog Controllers should be derived. the Controllers
995 are GUI-independent, but are designed to control the behaviour of
996 GUI-specific implementaions of each dialog.
998 * ControlConnections.[Ch]: new files. Classes controlling the
999 connections of buffer-independent, buffer-dependent and Inset dialogs
1000 with the LyX kernel.
1002 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1003 InsetCommand subset of insets.
1005 * ControlCitation.[Ch]: new files. The test specialisation! A
1006 controller for the Citation dialog.
1008 * ViewBase.h: new file. ViewBase is an abstract base class from which
1009 GUI-specific dialogs should be derived. The functionality that the GUIs
1010 must now implement is much reduced.