1 2002-01-19 Herbert Voss <voss@perce.de>
3 * biblio.C (parseBibTeX): change the parsing, so that
4 '#'-characters in a bibtex entry are no more a problem.
6 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
9 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
11 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
13 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
17 * ControlExternal.C (Browse): add a std:: qualifier
19 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
21 * ControlExternal.C (Browse): simplify to use browseRelFile
23 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
25 * ButtonController.tmpl: added // -*- C++ -*-
27 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
28 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
29 Needed in _one_ of the ControlCommand-derived classes only.
31 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
34 * ControlSearch.h: #include LString.h
36 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
38 * ButtonController.h: split into two. The definition remains in
39 ButtonController.h, the declaration is now in ButtonController.tmpl.
40 These template methods should be #included when the derived class is
41 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
42 and in the qt2 and gnome equivalents.
44 * ControlDialogs.h: removed. The definition of class ControlDialog is
45 now to be found in ControlDialog.h and the declaration of the methods
46 is in ControlDialog.tmpl. The two template instantiations are performed
47 in ControlDialog_impl.[Ch], new files also.
49 * ControlInset.h: split into two. The definition remains in
50 ControlInset.h, the declaration is now in ControlInset.tmpl.
51 These template methods should be #included derived class is
52 instantiated, in this case in 8 other .C files in this directory.
54 * ControlAboutlyx.[Ch]:
55 * ControlCharacter.[Ch]:
65 * ControlPreamble.[Ch]:
68 * ControlShowFile.[Ch]:
69 * ControlSpellchecker.[Ch]:
70 * ControlTabularCreate.[Ch]:
71 * ControlTexinfo.[Ch]:
72 * ControlThesaurus.[Ch]:
73 * ControlVCLog.[Ch]: small changes associated with the above ones.
75 * GUI.h: #include the ButtonController and dialog controller files
76 here, rather than forward declare them. This is the correct place
79 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
80 Rename ControlDialogs.h as ControlDialog.h.
81 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
84 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
86 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
88 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
90 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
93 * ControlGraphics.C (Browse): remove overzealous shortcut
95 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
97 * FormMinipage.C (apply, update): MinipageParams::width renamed
98 as MinipageParams::pageWidth. InsetMinipage::width renamed
99 as InsetMinipage::pageWidth.
101 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * ButtonController.h (refreshReadOnly): use explicit typename
105 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
107 * helper_funcs.h (browseFile): add default empty button descriptions.
109 * ControlGraphics.C (Browse):
110 * ControlBibtex.C (Browse):
111 * ControlInclude.C (Browse): add shortcuts to directory buttons
113 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
115 * ControlThesaurus.h:
116 * ControlThesaurus.C: update to Aiksaurus 0.14
118 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlSpellchecker.C (clearParams): show the closing message
121 only if some words have been checked, thereby fixing
124 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
126 * ControlFloat.[Ch]: changes to prevent here definitely being used
129 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
131 * ControlThesaurus.h: do not include <config.h> in header files
133 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
135 * ControlToc.C: changes for floatlist
137 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
139 * ControlVCLog.C: use _()
141 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
143 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
146 2001-10-22 Juergen Vigna <jug@sad.it>
148 * ControlSpellchecker.C (clearParams): use the error_ message of the
149 speller_ if available when the spellchecker died.
150 (setParams): remove double error message display.
152 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
154 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
156 * helper_funcs.[Ch] (getLatexUnits): see above.
158 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
160 * ControlTexinfo.C (getContents): use the right file for .sty files
162 2001-10-10 Herbert Voss <voss@perce.de>
164 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
165 and some more stuff from FormTexinfo.C
167 * ControlShowFile.C: hiding the update-button
169 2001-10-09 Herbert Voss <voss@perce.de>
171 * ControlTexinfo.[Ch]: new files. Display information about the
172 installed texfiles (cls,sty,bst).
174 * ControlShowFile.[Ch]: new files. Display the contents of a file.
176 * GUI.h: added classes GUIShowFile and GUITexinfo.
178 * Makefile.am: modified appropriately.
180 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
182 * ControlAboutlyx.C (getVersion): use lyx_version and
183 lyx_release_date instead of old macros
185 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
187 * ControlSpellchecker.C (check): Behaves well now when the spell
188 library doesn't know a replacement to an incorrect word.
190 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
192 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
193 the correct place. Can now check spelling more than once!
195 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlSplash.[Ch]: removed.
199 * GUI.h: remove GUISplash class.
201 * ViewBase.h: remove ViewSplash class.
203 * Makefile.am: remove ControlSplash.[Ch].
205 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlButtons.h: add variable emergency_exit_. If set to true, the
208 view will be shut down.
211 * ControlInset.h: act on emergency_exit_.
213 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
214 speller fails to launch.
216 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
218 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
219 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
221 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
223 * ControlRef.h (disconnectOnApply): new method. Set to true.
224 Perhaps make this user-modifiable?
226 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
231 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
233 * ControlRef.C (getBufferList, getBufferNum): New methods
235 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
238 of the dialog when the Apply button is pressed. Defaults to false,
239 but can be overridden in the daughter classes.
241 * ControlCitation.h (disconnectOnApply): new method. Set to true.
242 Perhaps make this user-modifiable?
244 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
246 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
247 we have dialogs that update their contents when the buffer changes.
248 Rather embarassing, really!
250 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
252 * ControlSearch (replace): change semantics of replace to NOT move on
253 to the next instance of a word once the present instance has been
254 replaced unless we are replacing ALL instances of the word.
256 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
258 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
260 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
263 dialog, set all options to "reset", close the dialog, re-open it ->
264 the options are set incorrectly.
266 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
267 When Applying it's useful to know whether the dialog is about to close
268 or not (no point refreshing the display for example).
270 * ControlInset.C (apply): use isClosing.
272 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
275 * ControlDialogs.h: remove bc() hack, now fixed in
276 Qt2 frontend. use member dialog_built_ instead of shared
279 * ButtonController.h:
280 * ButtonPolicies.C: more debug info
282 * ButtonControllerBase.C: call refresh() when setting readOnly !
284 * GUI.h: External form has apply, use the right policy
286 * character.C: fix two off-by-one errors when latex font was removed
288 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
290 * ControlInset.h (apply): tentative fix for the press Apply multiple
291 times and get multiple new Insets problem.
293 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
295 * ControlCharacter.C: fix typo
299 * ControlInsets.C: make sure dialog is built before it is shown, so
300 it works properly the very first time it is shown
302 2001-08-20 Herbert Voss <voss@perce.de>
304 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
305 and styles. Added an option for "bibliography into toc"
307 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
309 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
310 LaTeX is no longer a font property.
312 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
314 * GUI.h: Button controller for Reference dialog changed to
315 NoRepeatedApplyReadOnlyPolicy.
317 * biblio.C (getInfo): output volume and number info. Move year to end
320 2001-08-09 Allan Rae <rae@lyx.org>
322 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
324 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
326 * helper_funcs.C (getVectorFromString): fixed small bug.
328 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
330 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
332 * ControlSpellchecker.C: check next word after insert in personal dict
334 2001-08-06 Juergen Vigna <jug@sad.it>
336 * ControlERT.[Ch]: new file
338 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlInset.h: const and non-const forms of params().
342 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
343 whitespace from either side of each item.
345 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlFloat.h: add a != operator for FloatParams.
348 Lars, how did you get this to compile!!!
350 * ControlMinipage.[Ch]: uncommented someone's commenting out of
351 operator != for MinipageParams. Who's changing stuff and not compiling?
353 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
358 * GUI.h: add class GUIFloat
360 * ControlFloat.[Ch]: new files
362 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
364 * ControlPrint.C: #include Lassert.h here.
366 2001-07-26 Baruch Even <baruch@lyx.org>
368 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
371 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
373 * ControlThesaurus.h:
374 * ControlThesaurus.C:
376 * Makefile.am: thesaurus support
378 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
381 * ControlInclude.C: implement ability to load file
383 2001-07-18 Juergen Vigna <jug@sad.it>
385 * ControlSearch.C (replace): changes to lyxfind.h function calls.
387 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
389 * biblio.C (getInfo): add a .c_str() to handle the usual
392 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
394 * ControlCitation.[Ch]: changes associated with adding natbib support.
395 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
396 New static variable citeStyles_.
398 * biblio.[Ch]: large internal rearrangement.
399 New public enum CiteStyle.
400 New public struct CitationStyle.
401 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
402 getNumericalStrings, getAuthorYearStrings
403 (simpleSearch, regexSearch): no longer publicly accessible.
405 * helper_funcs.C (getStringFromVector): bug fix.
407 2001-07-16 Baruch Even <baruch@lyx.org>
409 * ControlVCLog.h: Added Lsstream.h to includes.
411 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
413 * ControlSpellchecker.[Ch]: remove d-tor.
415 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
417 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
419 2001-07-16 Juergen Vigna <jug@sad.it>
421 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
422 compiled with USE_PSPELL) to be able to switch between ISpell and
425 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
427 Consistent use of Lsstream.h:
428 * ControlAboutlyx.[Ch] (getCredits):
429 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
431 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
433 * ControlCredits.[Ch]: removed
434 * ControlCopyright.[Ch]: removed
435 * ControlAboutlyx.[Ch]: added (replaces previous)
436 * GUI.h: removed credits and copyright added about lyx stuff
438 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
440 * ControlSpellchecker.C (getSuggestion):
441 (getWord): add std:: qualifier
443 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
445 * ControlSpellchecker.[Ch]: added
446 * ViewBase.h: added partialUpdate(int) member
447 * GUI.h: added spell stuff
449 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
451 * ControlExternal.C: (*it). -> it->
453 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
455 * ButtonController.h: move some included header files out of the
456 frontends and into here.
458 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
460 * ControlCharacter.C (c-tor): cosmetic name change of signal.
462 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
464 * *.[h]: added // -*- C++ -*-
465 * *.[C]: removed // -*- C++ -*-
467 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
468 activate Apply button.
469 (clearParams): removed.
470 font_ is now stored as a boost::scoped_ptr.
471 font_ is no longer deleted on hide(), so it's contents can now be used
472 by the Font button on the toolbar.
473 Lots of new methods so that the GUI can easily get the contents of
474 font_ when it update()s.
476 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
478 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
479 crash when the Font button on the Toolbar is pressed.
481 * GUI.h: change policy of Character button controller to
482 OkApplyCancelReadOnlyPolicy.
484 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * ControlToc.C (getContents): don't add anything to the list if it
487 is supposed to be empty.
489 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
491 * helper_funcs.C (getVectorFromString): bug fix.
493 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
496 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
497 from ButtonControllerBase::readOnly. Updates the state of the widgets
498 in the read-only list only when the read-only status of the document
500 (refresh): moved this stuff into refreshReadOnly.
502 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlPrint.C (c-tor):
505 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
507 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
510 * character.h: small clean-ups.
512 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
514 * ControlToc.C (getType): remove support for old float list.
516 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
518 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
519 * ControlGraphics.h: no longer include insetgraphicsParams.h
520 * ControlInset.h: no longer include LyXView.h
525 * ControlCharacter.C:
528 * ControlConnections.C:
529 * ControlCopyright.C:
541 * ControlTabularCreate.C:
543 * ControlVCLog.C: they're now in here!
545 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
547 * ButtonControllerBase.h: C++ mode, inherit privately from
549 * ButtonPolicies.h: ditto
551 * ButtonController.h: C++ mode, swap init order of restore_ and
554 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
556 * ControlTabularCreate.h:
557 * ControlTabularCreate.C: make dialogs use a pair of uints
561 * ControlVCLog.C: fill a stringstream with the log contents
564 * ControlExternal.C: from Angus, clone the new InsetExternal
567 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
569 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
570 and made more robust.
572 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
581 * ControlCopyright.C: include gettext.h
583 * ControlCharacter.C:
584 * character.C: include gettext.h and language.h
586 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
588 * ButtonController.h:
589 * ButtonControllerBase.h:
590 * ButtonControllerBase.C:
597 * ControlConnections.h:
603 * ViewBase.h: s/ControlButton/ControlButtons/
605 s/UndoAll/Restore/ + associated
607 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlToc.[Ch]: new files; a controller for the TOC popup.
612 * Makefile.am: associated changes with all of the above.
614 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
616 * ControlExternal.C: bug fixes. Can now apply changes to the inset
617 and edit, view, update the External Material correctly. I hope!
619 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
621 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
623 * BCTemplates.h: renamed as ButtonController.h
625 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
628 * ControlConnections.h: associated change in #include and class names.
630 * ControlExternal.[Ch]: new files; a controller for the External
634 * Makefile.am: associated changes with all of the above.
636 * ControlGraphics.[Ch]:
637 * ControlInclude.[Ch]:
640 (Browse): new method. Returns the results of a FileDialog browse.
642 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
643 (getVectorFromString): fixed bug.
645 * biblio.C (simpleSearch): cleaned up.
647 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
649 * A slight reworking of Baruch Even's ButtonController patch.
651 * BCTemplates.h: new file; all the templates for the ButtonController.
652 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
653 to the more generic setButtonLabel().
655 * ButtonController.[Ch]: renamed cancel_label and close_label as
656 cancel_label_ and close_label_.
658 * Makefile.am: added BCTemplates.h
660 2001-03-29 Juergen Vigna <jug@sad.it>
662 * ControlMinipage.C: removed widthp_ and all it's functions and changed
663 to use new %-lengths of LyXLength.
665 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
667 * ControlCitation.C (bibkeysInfo): removed Assert.
669 * ControlCopyright.h: moved GUICopyright into GUI.h
673 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
675 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
676 (setDaughterParams): a (by default empty) new method called in show().
685 * ControlUrl.h (clearDaughterParams): removed
687 * ControlMinipage.C (applyParamsToInset): update the view.
688 Added namespace minipage containing a helper function getUnits.
690 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
692 * ControlCharacter.[Ch]: moved out all the helper functions and the
693 enum into their own file.
694 * character.[Ch]: new files; contain the character helper functions,
695 now inside namespace character.
697 * ControlCitation.[Ch]: moved out all the helper functions and the
698 enums into their own file. Simplified interface.
699 * biblio.[Ch]: new files; contain the citation helper functions,
700 now inside namespace biblio. Will be of use also to an improved
703 * ControlGraphics.[Ch]:
704 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
705 popups, respectively.
708 * Makefile.am: associated changes.
710 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
712 * ControlMinipage.[Ch]:
713 * ControlPreamble.[Ch]:
715 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
716 and Print popups and Splash screen, respectively.
718 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
722 * Makefile.am: associated changes.
724 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
726 * ControlConnections.[Ch]: (docType): new method; returns the type
727 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
730 * ControlSearch.[Ch]:
731 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
732 Search and TabularCreate popups, respectively.
735 * Makefile.am: associated changes.
737 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
739 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
742 * ControlInset.h (apply): fix bug. Can now create new insets again.
744 * README: describe program flow.
746 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
748 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
750 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
752 * ControlDialogs.h: moved class ControlInset into its own file.
754 * ControlInset.h: new file. class ControlInset has been expanded to take
755 two template parameters, Inset and Params. Believe that all inset
756 controllers can be derived from this with the minimum of effort.
758 * ControlBibitem.[Ch]:
759 * ControlBibtex.[Ch]:
760 * ControlCitation.[Ch]:
761 * ControlCommand.[Ch]: moved most code into ControlInset.
763 * lots of files. Moved protected stuff into private where possible.
766 * ControlInclude.[Ch]:
767 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
768 Include and Url popups, respectively.
771 * Makefile.am: associated changes.
773 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
775 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
778 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
780 * ControlCredits.C (getCredits): remove std:: qualifier for
783 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
785 * ControlCredits.C (getCredits): add std:: on vector
787 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
789 * ControlCredits.C: remove using that is only used once, use
790 std::ios instead of std::iosbase, add some annoying comments.
792 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
794 * lots of header files: improved explanatory notes.
796 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
797 ControlBase is now a class that only controls the interaction of the
798 View with the ButtonController.
800 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
801 to ControlConnectBase. The class controls the connection/disconnection
802 of signals from the LyX kernel and makes available the kernel (through
803 lv_) to daughter controller classes.
804 Moved out class ControlConnectInset to a new file ControlDialogs.h.
806 * ControlDialogs.h: new file. Contains the definition of two template
807 controller classes, ControlDialog and ControlInset (was
808 ControlConnectInset). ControlInset is a parent class for controllers
809 of inset-popups. ControlDialogs is the rather uninspired name for
810 the base class of all non-inset popups. (Eg, Document and Paragraph.)
811 ControlDialogs is reaching a state of maturity as several popups now use
812 it and its functionality becomes clear. ControlInset is still in a state
813 of flux. It is likely that functionality will be moved out of
814 ControlCommands and into it.
816 * GUI.h: new file. Moved all the template GUIXXX classes out of the
817 individual Controller header files and into one place. These classes
818 serve only as convenient wrappers to simplify code in the respective
819 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
821 * ControlCharacter.[Ch] (show, update, hide):
822 * ControlLog.[Ch] (show, update, hide):
823 * ControlVCLog.[Ch] (show, update, hide): moved back into
824 the ControlDialogs base class.
825 (setParams, clearParams): new methods containing controller-specific
826 code to set/reset the parameters manipulated by the view.
828 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
830 (hide): calls clearParams.
832 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
833 by ControlCommand::hide().
835 * ControlCopyright.[Ch]:
836 * ControlCredits.[Ch]: new files; controllers for the copyright and
837 credits popups, respectively.
839 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
841 * ControlCharacter.C: fix typo
843 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
845 * ControlCharacter.[Ch]: new files; controller for the character popup.
847 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
848 moved to new files helper_funcs.[Ch].
850 * helper_funcs.[Ch]: new files. Some useful helper functions and
853 * Makefile.am: added new files.
855 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
857 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
859 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
862 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
863 Control log files, respectively.
865 * Makefile.am: added new files.
867 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
869 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
871 * Makefile.am: added ControlBibtex.[Ch].
873 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
876 * ControlCitation.C: added "using SigC::slot" declaration.
878 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
879 to FormCitation.C prior to the merger: "Do not put space between
882 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
884 * several files: remove CXX_WORKING_NAMESPACES
886 * ButtonController.h: noncopyable is in namespace boost
887 * ButtonPolicies.h: ditto
889 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
891 * Merging changes from BRANCH_MVC back into HEAD.
893 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
895 * Makefile.am: add ControlBibitem.[Ch].
897 * ControlBibitem.[Ch]: new files that together define the Controller
900 * ControlCommand.h (c-tor): give kb_action a default value of
903 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
905 * ControlCitation.[Ch]: moved search functions out of class.
906 (bibkeysInfo): new method. Returns const reference to private data.
907 (searchKeys): added case-sensitive switch. Used only by simpleSearch
910 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
912 * ControlCitation.[Ch]: added Search functions to the class,
913 (shamelessly lifted from Marco's gnome code). I think that these would
914 be better as helper functions outside the class, but this is a first
917 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
919 * ControlCitation.[Ch]: (getBibkeyList): removed from class
921 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
922 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
923 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
924 implementation of FormCitation.
926 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
928 * ButtonPolicies.h: add SMI_NOOP to enum.
930 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
932 * ButtonController.C (input): add "optimising" if-statement. Actually,
933 things don't work correctly without it...
935 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
937 * ViewBase.h: remove #pragma directive
939 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
942 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
944 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
946 * Makefile.am: added ButtonPolicies.[Ch]
948 * ButtonController.[Ch]: ButtonController is split into
949 ButtonControllerBase and a template ButtonController class. The base
950 class no longer stores a pointer to a ButtonPolicy, but instead
951 accesses the actual instantiation of the policy through a pure virtual
952 method bp(). This method and the ButtonPolicy itself are instantiated
953 in the templatised ButtonController class. This class is derived from
954 the GUI-specific GUIBC class, meaning that the frontends know
955 nothing about the actual policy decided upon by the controllers.
957 * ControlBase.[Ch]: No longer store the View or the ButtonController.
958 Instead the actual instantiations are accessed through pure virtual
959 methods view() and bc(). The daughter classes are responsible for the
960 actual View and ButtonController.
962 * ControlCitation.h: the templatised class GUICitation instantiates
963 the methods view() and bc(). It also stores the instances of the
964 View and ButtonController.
966 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
968 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
969 also changed to ButtonController.
972 * ControlConnections.[Ch]:
973 * ControlCommand.[Ch]:
974 * ControlCitation.[Ch]:
975 * ViewBase.h: Changes associated with this.
977 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
979 * ButtonControllerBase.[Ch]: new files. Split Allan's original
980 xforms/ButtonController class into a GUI-I class (here) and an
981 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
983 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
984 from which all Dialog Controllers should be derived. the Controllers
985 are GUI-independent, but are designed to control the behaviour of
986 GUI-specific implementaions of each dialog.
988 * ControlConnections.[Ch]: new files. Classes controlling the
989 connections of buffer-independent, buffer-dependent and Inset dialogs
992 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
993 InsetCommand subset of insets.
995 * ControlCitation.[Ch]: new files. The test specialisation! A
996 controller for the Citation dialog.
998 * ViewBase.h: new file. ViewBase is an abstract base class from which
999 GUI-specific dialogs should be derived. The functionality that the GUIs
1000 must now implement is much reduced.