1 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * ControlExternal.C (Browse): add a std:: qualifier
5 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7 * ControlExternal.C (Browse): simplify to use browseRelFile
9 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11 * ButtonController.tmpl: added // -*- C++ -*-
13 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
14 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
15 Needed in _one_ of the ControlCommand-derived classes only.
17 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * ControlSearch.h: #include LString.h
22 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
24 * ButtonController.h: split into two. The definition remains in
25 ButtonController.h, the declaration is now in ButtonController.tmpl.
26 These template methods should be #included when the derived class is
27 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
28 and in the qt2 and gnome equivalents.
30 * ControlDialogs.h: removed. The definition of class ControlDialog is
31 now to be found in ControlDialog.h and the declaration of the methods
32 is in ControlDialog.tmpl. The two template instantiations are performed
33 in ControlDialog_impl.[Ch], new files also.
35 * ControlInset.h: split into two. The definition remains in
36 ControlInset.h, the declaration is now in ControlInset.tmpl.
37 These template methods should be #included derived class is
38 instantiated, in this case in 8 other .C files in this directory.
40 * ControlAboutlyx.[Ch]:
41 * ControlCharacter.[Ch]:
51 * ControlPreamble.[Ch]:
54 * ControlShowFile.[Ch]:
55 * ControlSpellchecker.[Ch]:
56 * ControlTabularCreate.[Ch]:
57 * ControlTexinfo.[Ch]:
58 * ControlThesaurus.[Ch]:
59 * ControlVCLog.[Ch]: small changes associated with the above ones.
61 * GUI.h: #include the ButtonController and dialog controller files
62 here, rather than forward declare them. This is the correct place
65 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
66 Rename ControlDialogs.h as ControlDialog.h.
67 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
70 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
72 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
74 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
79 * ControlGraphics.C (Browse): remove overzealous shortcut
81 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
83 * FormMinipage.C (apply, update): MinipageParams::width renamed
84 as MinipageParams::pageWidth. InsetMinipage::width renamed
85 as InsetMinipage::pageWidth.
87 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
89 * ButtonController.h (refreshReadOnly): use explicit typename
91 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
93 * helper_funcs.h (browseFile): add default empty button descriptions.
95 * ControlGraphics.C (Browse):
96 * ControlBibtex.C (Browse):
97 * ControlInclude.C (Browse): add shortcuts to directory buttons
99 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
101 * ControlThesaurus.h:
102 * ControlThesaurus.C: update to Aiksaurus 0.14
104 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlSpellchecker.C (clearParams): show the closing message
107 only if some words have been checked, thereby fixing
110 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
112 * ControlFloat.[Ch]: changes to prevent here definitely being used
115 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
117 * ControlThesaurus.h: do not include <config.h> in header files
119 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
121 * ControlToc.C: changes for floatlist
123 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
125 * ControlVCLog.C: use _()
127 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
132 2001-10-22 Juergen Vigna <jug@sad.it>
134 * ControlSpellchecker.C (clearParams): use the error_ message of the
135 speller_ if available when the spellchecker died.
136 (setParams): remove double error message display.
138 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
140 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
142 * helper_funcs.[Ch] (getLatexUnits): see above.
144 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
146 * ControlTexinfo.C (getContents): use the right file for .sty files
148 2001-10-10 Herbert Voss <voss@perce.de>
150 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
151 and some more stuff from FormTexinfo.C
153 * ControlShowFile.C: hiding the update-button
155 2001-10-09 Herbert Voss <voss@perce.de>
157 * ControlTexinfo.[Ch]: new files. Display information about the
158 installed texfiles (cls,sty,bst).
160 * ControlShowFile.[Ch]: new files. Display the contents of a file.
162 * GUI.h: added classes GUIShowFile and GUITexinfo.
164 * Makefile.am: modified appropriately.
166 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
168 * ControlAboutlyx.C (getVersion): use lyx_version and
169 lyx_release_date instead of old macros
171 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlSpellchecker.C (check): Behaves well now when the spell
174 library doesn't know a replacement to an incorrect word.
176 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
178 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
179 the correct place. Can now check spelling more than once!
181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
183 * ControlSplash.[Ch]: removed.
185 * GUI.h: remove GUISplash class.
187 * ViewBase.h: remove ViewSplash class.
189 * Makefile.am: remove ControlSplash.[Ch].
191 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
193 * ControlButtons.h: add variable emergency_exit_. If set to true, the
194 view will be shut down.
197 * ControlInset.h: act on emergency_exit_.
199 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
200 speller fails to launch.
202 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
205 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
207 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
209 * ControlRef.h (disconnectOnApply): new method. Set to true.
210 Perhaps make this user-modifiable?
212 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
214 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
217 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
219 * ControlRef.C (getBufferList, getBufferNum): New methods
221 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
223 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
224 of the dialog when the Apply button is pressed. Defaults to false,
225 but can be overridden in the daughter classes.
227 * ControlCitation.h (disconnectOnApply): new method. Set to true.
228 Perhaps make this user-modifiable?
230 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
232 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
233 we have dialogs that update their contents when the buffer changes.
234 Rather embarassing, really!
236 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
238 * ControlSearch (replace): change semantics of replace to NOT move on
239 to the next instance of a word once the present instance has been
240 replaced unless we are replacing ALL instances of the word.
242 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
244 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
246 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
248 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
249 dialog, set all options to "reset", close the dialog, re-open it ->
250 the options are set incorrectly.
252 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
253 When Applying it's useful to know whether the dialog is about to close
254 or not (no point refreshing the display for example).
256 * ControlInset.C (apply): use isClosing.
258 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
261 * ControlDialogs.h: remove bc() hack, now fixed in
262 Qt2 frontend. use member dialog_built_ instead of shared
265 * ButtonController.h:
266 * ButtonPolicies.C: more debug info
268 * ButtonControllerBase.C: call refresh() when setting readOnly !
270 * GUI.h: External form has apply, use the right policy
272 * character.C: fix two off-by-one errors when latex font was removed
274 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
276 * ControlInset.h (apply): tentative fix for the press Apply multiple
277 times and get multiple new Insets problem.
279 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
281 * ControlCharacter.C: fix typo
285 * ControlInsets.C: make sure dialog is built before it is shown, so
286 it works properly the very first time it is shown
288 2001-08-20 Herbert Voss <voss@perce.de>
290 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
291 and styles. Added an option for "bibliography into toc"
293 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
295 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
296 LaTeX is no longer a font property.
298 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
300 * GUI.h: Button controller for Reference dialog changed to
301 NoRepeatedApplyReadOnlyPolicy.
303 * biblio.C (getInfo): output volume and number info. Move year to end
306 2001-08-09 Allan Rae <rae@lyx.org>
308 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
310 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
312 * helper_funcs.C (getVectorFromString): fixed small bug.
314 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
316 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
318 * ControlSpellchecker.C: check next word after insert in personal dict
320 2001-08-06 Juergen Vigna <jug@sad.it>
322 * ControlERT.[Ch]: new file
324 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlInset.h: const and non-const forms of params().
328 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
329 whitespace from either side of each item.
331 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlFloat.h: add a != operator for FloatParams.
334 Lars, how did you get this to compile!!!
336 * ControlMinipage.[Ch]: uncommented someone's commenting out of
337 operator != for MinipageParams. Who's changing stuff and not compiling?
339 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
341 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
344 * GUI.h: add class GUIFloat
346 * ControlFloat.[Ch]: new files
348 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
350 * ControlPrint.C: #include Lassert.h here.
352 2001-07-26 Baruch Even <baruch@lyx.org>
354 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
357 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
359 * ControlThesaurus.h:
360 * ControlThesaurus.C:
362 * Makefile.am: thesaurus support
364 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
367 * ControlInclude.C: implement ability to load file
369 2001-07-18 Juergen Vigna <jug@sad.it>
371 * ControlSearch.C (replace): changes to lyxfind.h function calls.
373 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
375 * biblio.C (getInfo): add a .c_str() to handle the usual
378 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlCitation.[Ch]: changes associated with adding natbib support.
381 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
382 New static variable citeStyles_.
384 * biblio.[Ch]: large internal rearrangement.
385 New public enum CiteStyle.
386 New public struct CitationStyle.
387 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
388 getNumericalStrings, getAuthorYearStrings
389 (simpleSearch, regexSearch): no longer publicly accessible.
391 * helper_funcs.C (getStringFromVector): bug fix.
393 2001-07-16 Baruch Even <baruch@lyx.org>
395 * ControlVCLog.h: Added Lsstream.h to includes.
397 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
399 * ControlSpellchecker.[Ch]: remove d-tor.
401 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
403 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
405 2001-07-16 Juergen Vigna <jug@sad.it>
407 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
408 compiled with USE_PSPELL) to be able to switch between ISpell and
411 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
413 Consistent use of Lsstream.h:
414 * ControlAboutlyx.[Ch] (getCredits):
415 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
417 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
419 * ControlCredits.[Ch]: removed
420 * ControlCopyright.[Ch]: removed
421 * ControlAboutlyx.[Ch]: added (replaces previous)
422 * GUI.h: removed credits and copyright added about lyx stuff
424 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * ControlSpellchecker.C (getSuggestion):
427 (getWord): add std:: qualifier
429 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
431 * ControlSpellchecker.[Ch]: added
432 * ViewBase.h: added partialUpdate(int) member
433 * GUI.h: added spell stuff
435 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
437 * ControlExternal.C: (*it). -> it->
439 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
441 * ButtonController.h: move some included header files out of the
442 frontends and into here.
444 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
446 * ControlCharacter.C (c-tor): cosmetic name change of signal.
448 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
450 * *.[h]: added // -*- C++ -*-
451 * *.[C]: removed // -*- C++ -*-
453 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
454 activate Apply button.
455 (clearParams): removed.
456 font_ is now stored as a boost::scoped_ptr.
457 font_ is no longer deleted on hide(), so it's contents can now be used
458 by the Font button on the toolbar.
459 Lots of new methods so that the GUI can easily get the contents of
460 font_ when it update()s.
462 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
464 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
465 crash when the Font button on the Toolbar is pressed.
467 * GUI.h: change policy of Character button controller to
468 OkApplyCancelReadOnlyPolicy.
470 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * ControlToc.C (getContents): don't add anything to the list if it
473 is supposed to be empty.
475 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
477 * helper_funcs.C (getVectorFromString): bug fix.
479 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
482 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
483 from ButtonControllerBase::readOnly. Updates the state of the widgets
484 in the read-only list only when the read-only status of the document
486 (refresh): moved this stuff into refreshReadOnly.
488 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
490 * ControlPrint.C (c-tor):
491 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
493 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
496 * character.h: small clean-ups.
498 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * ControlToc.C (getType): remove support for old float list.
502 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
505 * ControlGraphics.h: no longer include insetgraphicsParams.h
506 * ControlInset.h: no longer include LyXView.h
511 * ControlCharacter.C:
514 * ControlConnections.C:
515 * ControlCopyright.C:
527 * ControlTabularCreate.C:
529 * ControlVCLog.C: they're now in here!
531 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
533 * ButtonControllerBase.h: C++ mode, inherit privately from
535 * ButtonPolicies.h: ditto
537 * ButtonController.h: C++ mode, swap init order of restore_ and
540 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
542 * ControlTabularCreate.h:
543 * ControlTabularCreate.C: make dialogs use a pair of uints
547 * ControlVCLog.C: fill a stringstream with the log contents
550 * ControlExternal.C: from Angus, clone the new InsetExternal
553 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
555 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
556 and made more robust.
558 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * ControlCopyright.C: include gettext.h
569 * ControlCharacter.C:
570 * character.C: include gettext.h and language.h
572 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
574 * ButtonController.h:
575 * ButtonControllerBase.h:
576 * ButtonControllerBase.C:
583 * ControlConnections.h:
589 * ViewBase.h: s/ControlButton/ControlButtons/
591 s/UndoAll/Restore/ + associated
593 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
595 * ControlToc.[Ch]: new files; a controller for the TOC popup.
598 * Makefile.am: associated changes with all of the above.
600 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
602 * ControlExternal.C: bug fixes. Can now apply changes to the inset
603 and edit, view, update the External Material correctly. I hope!
605 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
607 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
609 * BCTemplates.h: renamed as ButtonController.h
611 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
614 * ControlConnections.h: associated change in #include and class names.
616 * ControlExternal.[Ch]: new files; a controller for the External
620 * Makefile.am: associated changes with all of the above.
622 * ControlGraphics.[Ch]:
623 * ControlInclude.[Ch]:
626 (Browse): new method. Returns the results of a FileDialog browse.
628 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
629 (getVectorFromString): fixed bug.
631 * biblio.C (simpleSearch): cleaned up.
633 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
635 * A slight reworking of Baruch Even's ButtonController patch.
637 * BCTemplates.h: new file; all the templates for the ButtonController.
638 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
639 to the more generic setButtonLabel().
641 * ButtonController.[Ch]: renamed cancel_label and close_label as
642 cancel_label_ and close_label_.
644 * Makefile.am: added BCTemplates.h
646 2001-03-29 Juergen Vigna <jug@sad.it>
648 * ControlMinipage.C: removed widthp_ and all it's functions and changed
649 to use new %-lengths of LyXLength.
651 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
653 * ControlCitation.C (bibkeysInfo): removed Assert.
655 * ControlCopyright.h: moved GUICopyright into GUI.h
659 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
661 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
662 (setDaughterParams): a (by default empty) new method called in show().
671 * ControlUrl.h (clearDaughterParams): removed
673 * ControlMinipage.C (applyParamsToInset): update the view.
674 Added namespace minipage containing a helper function getUnits.
676 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
678 * ControlCharacter.[Ch]: moved out all the helper functions and the
679 enum into their own file.
680 * character.[Ch]: new files; contain the character helper functions,
681 now inside namespace character.
683 * ControlCitation.[Ch]: moved out all the helper functions and the
684 enums into their own file. Simplified interface.
685 * biblio.[Ch]: new files; contain the citation helper functions,
686 now inside namespace biblio. Will be of use also to an improved
689 * ControlGraphics.[Ch]:
690 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
691 popups, respectively.
694 * Makefile.am: associated changes.
696 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
698 * ControlMinipage.[Ch]:
699 * ControlPreamble.[Ch]:
701 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
702 and Print popups and Splash screen, respectively.
704 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
708 * Makefile.am: associated changes.
710 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
712 * ControlConnections.[Ch]: (docType): new method; returns the type
713 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
716 * ControlSearch.[Ch]:
717 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
718 Search and TabularCreate popups, respectively.
721 * Makefile.am: associated changes.
723 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
725 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
728 * ControlInset.h (apply): fix bug. Can now create new insets again.
730 * README: describe program flow.
732 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
734 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
736 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
738 * ControlDialogs.h: moved class ControlInset into its own file.
740 * ControlInset.h: new file. class ControlInset has been expanded to take
741 two template parameters, Inset and Params. Believe that all inset
742 controllers can be derived from this with the minimum of effort.
744 * ControlBibitem.[Ch]:
745 * ControlBibtex.[Ch]:
746 * ControlCitation.[Ch]:
747 * ControlCommand.[Ch]: moved most code into ControlInset.
749 * lots of files. Moved protected stuff into private where possible.
752 * ControlInclude.[Ch]:
753 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
754 Include and Url popups, respectively.
757 * Makefile.am: associated changes.
759 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
761 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
764 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
766 * ControlCredits.C (getCredits): remove std:: qualifier for
769 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
771 * ControlCredits.C (getCredits): add std:: on vector
773 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
775 * ControlCredits.C: remove using that is only used once, use
776 std::ios instead of std::iosbase, add some annoying comments.
778 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
780 * lots of header files: improved explanatory notes.
782 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
783 ControlBase is now a class that only controls the interaction of the
784 View with the ButtonController.
786 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
787 to ControlConnectBase. The class controls the connection/disconnection
788 of signals from the LyX kernel and makes available the kernel (through
789 lv_) to daughter controller classes.
790 Moved out class ControlConnectInset to a new file ControlDialogs.h.
792 * ControlDialogs.h: new file. Contains the definition of two template
793 controller classes, ControlDialog and ControlInset (was
794 ControlConnectInset). ControlInset is a parent class for controllers
795 of inset-popups. ControlDialogs is the rather uninspired name for
796 the base class of all non-inset popups. (Eg, Document and Paragraph.)
797 ControlDialogs is reaching a state of maturity as several popups now use
798 it and its functionality becomes clear. ControlInset is still in a state
799 of flux. It is likely that functionality will be moved out of
800 ControlCommands and into it.
802 * GUI.h: new file. Moved all the template GUIXXX classes out of the
803 individual Controller header files and into one place. These classes
804 serve only as convenient wrappers to simplify code in the respective
805 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
807 * ControlCharacter.[Ch] (show, update, hide):
808 * ControlLog.[Ch] (show, update, hide):
809 * ControlVCLog.[Ch] (show, update, hide): moved back into
810 the ControlDialogs base class.
811 (setParams, clearParams): new methods containing controller-specific
812 code to set/reset the parameters manipulated by the view.
814 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
816 (hide): calls clearParams.
818 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
819 by ControlCommand::hide().
821 * ControlCopyright.[Ch]:
822 * ControlCredits.[Ch]: new files; controllers for the copyright and
823 credits popups, respectively.
825 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
827 * ControlCharacter.C: fix typo
829 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
831 * ControlCharacter.[Ch]: new files; controller for the character popup.
833 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
834 moved to new files helper_funcs.[Ch].
836 * helper_funcs.[Ch]: new files. Some useful helper functions and
839 * Makefile.am: added new files.
841 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
843 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
845 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
848 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
849 Control log files, respectively.
851 * Makefile.am: added new files.
853 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
855 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
857 * Makefile.am: added ControlBibtex.[Ch].
859 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
862 * ControlCitation.C: added "using SigC::slot" declaration.
864 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
865 to FormCitation.C prior to the merger: "Do not put space between
868 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
870 * several files: remove CXX_WORKING_NAMESPACES
872 * ButtonController.h: noncopyable is in namespace boost
873 * ButtonPolicies.h: ditto
875 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
877 * Merging changes from BRANCH_MVC back into HEAD.
879 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
881 * Makefile.am: add ControlBibitem.[Ch].
883 * ControlBibitem.[Ch]: new files that together define the Controller
886 * ControlCommand.h (c-tor): give kb_action a default value of
889 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
891 * ControlCitation.[Ch]: moved search functions out of class.
892 (bibkeysInfo): new method. Returns const reference to private data.
893 (searchKeys): added case-sensitive switch. Used only by simpleSearch
896 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
898 * ControlCitation.[Ch]: added Search functions to the class,
899 (shamelessly lifted from Marco's gnome code). I think that these would
900 be better as helper functions outside the class, but this is a first
903 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
905 * ControlCitation.[Ch]: (getBibkeyList): removed from class
907 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
908 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
909 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
910 implementation of FormCitation.
912 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
914 * ButtonPolicies.h: add SMI_NOOP to enum.
916 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
918 * ButtonController.C (input): add "optimising" if-statement. Actually,
919 things don't work correctly without it...
921 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
923 * ViewBase.h: remove #pragma directive
925 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
928 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
930 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
932 * Makefile.am: added ButtonPolicies.[Ch]
934 * ButtonController.[Ch]: ButtonController is split into
935 ButtonControllerBase and a template ButtonController class. The base
936 class no longer stores a pointer to a ButtonPolicy, but instead
937 accesses the actual instantiation of the policy through a pure virtual
938 method bp(). This method and the ButtonPolicy itself are instantiated
939 in the templatised ButtonController class. This class is derived from
940 the GUI-specific GUIBC class, meaning that the frontends know
941 nothing about the actual policy decided upon by the controllers.
943 * ControlBase.[Ch]: No longer store the View or the ButtonController.
944 Instead the actual instantiations are accessed through pure virtual
945 methods view() and bc(). The daughter classes are responsible for the
946 actual View and ButtonController.
948 * ControlCitation.h: the templatised class GUICitation instantiates
949 the methods view() and bc(). It also stores the instances of the
950 View and ButtonController.
952 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
954 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
955 also changed to ButtonController.
958 * ControlConnections.[Ch]:
959 * ControlCommand.[Ch]:
960 * ControlCitation.[Ch]:
961 * ViewBase.h: Changes associated with this.
963 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
965 * ButtonControllerBase.[Ch]: new files. Split Allan's original
966 xforms/ButtonController class into a GUI-I class (here) and an
967 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
969 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
970 from which all Dialog Controllers should be derived. the Controllers
971 are GUI-independent, but are designed to control the behaviour of
972 GUI-specific implementaions of each dialog.
974 * ControlConnections.[Ch]: new files. Classes controlling the
975 connections of buffer-independent, buffer-dependent and Inset dialogs
978 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
979 InsetCommand subset of insets.
981 * ControlCitation.[Ch]: new files. The test specialisation! A
982 controller for the Citation dialog.
984 * ViewBase.h: new file. ViewBase is an abstract base class from which
985 GUI-specific dialogs should be derived. The functionality that the GUIs
986 must now implement is much reduced.