1 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3 * ButtonController.tmpl: added // -*- C++ -*-
5 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
6 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
7 Needed in _one_ of the ControlCommand-derived classes only.
9 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12 * ControlSearch.h: #include LString.h
14 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
16 * ButtonController.h: split into two. The definition remains in
17 ButtonController.h, the declaration is now in ButtonController.tmpl.
18 These template methods should be #included when the derived class is
19 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
20 and in the qt2 and gnome equivalents.
22 * ControlDialogs.h: removed. The definition of class ControlDialog is
23 now to be found in ControlDialog.h and the declaration of the methods
24 is in ControlDialog.tmpl. The two template instantiations are performed
25 in ControlDialog_impl.[Ch], new files also.
27 * ControlInset.h: split into two. The definition remains in
28 ControlInset.h, the declaration is now in ControlInset.tmpl.
29 These template methods should be #included derived class is
30 instantiated, in this case in 8 other .C files in this directory.
32 * ControlAboutlyx.[Ch]:
33 * ControlCharacter.[Ch]:
43 * ControlPreamble.[Ch]:
46 * ControlShowFile.[Ch]:
47 * ControlSpellchecker.[Ch]:
48 * ControlTabularCreate.[Ch]:
49 * ControlTexinfo.[Ch]:
50 * ControlThesaurus.[Ch]:
51 * ControlVCLog.[Ch]: small changes associated with the above ones.
53 * GUI.h: #include the ButtonController and dialog controller files
54 here, rather than forward declare them. This is the correct place
57 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
58 Rename ControlDialogs.h as ControlDialog.h.
59 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
62 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
64 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
66 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
68 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
71 * ControlGraphics.C (Browse): remove overzealous shortcut
73 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
75 * FormMinipage.C (apply, update): MinipageParams::width renamed
76 as MinipageParams::pageWidth. InsetMinipage::width renamed
77 as InsetMinipage::pageWidth.
79 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * ButtonController.h (refreshReadOnly): use explicit typename
83 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * helper_funcs.h (browseFile): add default empty button descriptions.
87 * ControlGraphics.C (Browse):
88 * ControlBibtex.C (Browse):
89 * ControlInclude.C (Browse): add shortcuts to directory buttons
91 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
94 * ControlThesaurus.C: update to Aiksaurus 0.14
96 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
98 * ControlSpellchecker.C (clearParams): show the closing message
99 only if some words have been checked, thereby fixing
102 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
104 * ControlFloat.[Ch]: changes to prevent here definitely being used
107 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
109 * ControlThesaurus.h: do not include <config.h> in header files
111 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
113 * ControlToc.C: changes for floatlist
115 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
117 * ControlVCLog.C: use _()
119 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
124 2001-10-22 Juergen Vigna <jug@sad.it>
126 * ControlSpellchecker.C (clearParams): use the error_ message of the
127 speller_ if available when the spellchecker died.
128 (setParams): remove double error message display.
130 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
134 * helper_funcs.[Ch] (getLatexUnits): see above.
136 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
138 * ControlTexinfo.C (getContents): use the right file for .sty files
140 2001-10-10 Herbert Voss <voss@perce.de>
142 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
143 and some more stuff from FormTexinfo.C
145 * ControlShowFile.C: hiding the update-button
147 2001-10-09 Herbert Voss <voss@perce.de>
149 * ControlTexinfo.[Ch]: new files. Display information about the
150 installed texfiles (cls,sty,bst).
152 * ControlShowFile.[Ch]: new files. Display the contents of a file.
154 * GUI.h: added classes GUIShowFile and GUITexinfo.
156 * Makefile.am: modified appropriately.
158 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
160 * ControlAboutlyx.C (getVersion): use lyx_version and
161 lyx_release_date instead of old macros
163 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlSpellchecker.C (check): Behaves well now when the spell
166 library doesn't know a replacement to an incorrect word.
168 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
170 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
171 the correct place. Can now check spelling more than once!
173 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
175 * ControlSplash.[Ch]: removed.
177 * GUI.h: remove GUISplash class.
179 * ViewBase.h: remove ViewSplash class.
181 * Makefile.am: remove ControlSplash.[Ch].
183 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
185 * ControlButtons.h: add variable emergency_exit_. If set to true, the
186 view will be shut down.
189 * ControlInset.h: act on emergency_exit_.
191 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
192 speller fails to launch.
194 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
196 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
197 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
199 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
201 * ControlRef.h (disconnectOnApply): new method. Set to true.
202 Perhaps make this user-modifiable?
204 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
209 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
211 * ControlRef.C (getBufferList, getBufferNum): New methods
213 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
215 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
216 of the dialog when the Apply button is pressed. Defaults to false,
217 but can be overridden in the daughter classes.
219 * ControlCitation.h (disconnectOnApply): new method. Set to true.
220 Perhaps make this user-modifiable?
222 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
225 we have dialogs that update their contents when the buffer changes.
226 Rather embarassing, really!
228 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
230 * ControlSearch (replace): change semantics of replace to NOT move on
231 to the next instance of a word once the present instance has been
232 replaced unless we are replacing ALL instances of the word.
234 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
236 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
238 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
240 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
241 dialog, set all options to "reset", close the dialog, re-open it ->
242 the options are set incorrectly.
244 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
245 When Applying it's useful to know whether the dialog is about to close
246 or not (no point refreshing the display for example).
248 * ControlInset.C (apply): use isClosing.
250 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
253 * ControlDialogs.h: remove bc() hack, now fixed in
254 Qt2 frontend. use member dialog_built_ instead of shared
257 * ButtonController.h:
258 * ButtonPolicies.C: more debug info
260 * ButtonControllerBase.C: call refresh() when setting readOnly !
262 * GUI.h: External form has apply, use the right policy
264 * character.C: fix two off-by-one errors when latex font was removed
266 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
268 * ControlInset.h (apply): tentative fix for the press Apply multiple
269 times and get multiple new Insets problem.
271 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
273 * ControlCharacter.C: fix typo
277 * ControlInsets.C: make sure dialog is built before it is shown, so
278 it works properly the very first time it is shown
280 2001-08-20 Herbert Voss <voss@perce.de>
282 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
283 and styles. Added an option for "bibliography into toc"
285 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
287 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
288 LaTeX is no longer a font property.
290 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
292 * GUI.h: Button controller for Reference dialog changed to
293 NoRepeatedApplyReadOnlyPolicy.
295 * biblio.C (getInfo): output volume and number info. Move year to end
298 2001-08-09 Allan Rae <rae@lyx.org>
300 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
302 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
304 * helper_funcs.C (getVectorFromString): fixed small bug.
306 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
308 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
310 * ControlSpellchecker.C: check next word after insert in personal dict
312 2001-08-06 Juergen Vigna <jug@sad.it>
314 * ControlERT.[Ch]: new file
316 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
318 * ControlInset.h: const and non-const forms of params().
320 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
321 whitespace from either side of each item.
323 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
325 * ControlFloat.h: add a != operator for FloatParams.
326 Lars, how did you get this to compile!!!
328 * ControlMinipage.[Ch]: uncommented someone's commenting out of
329 operator != for MinipageParams. Who's changing stuff and not compiling?
331 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
333 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
336 * GUI.h: add class GUIFloat
338 * ControlFloat.[Ch]: new files
340 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
342 * ControlPrint.C: #include Lassert.h here.
344 2001-07-26 Baruch Even <baruch@lyx.org>
346 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
349 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
351 * ControlThesaurus.h:
352 * ControlThesaurus.C:
354 * Makefile.am: thesaurus support
356 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
359 * ControlInclude.C: implement ability to load file
361 2001-07-18 Juergen Vigna <jug@sad.it>
363 * ControlSearch.C (replace): changes to lyxfind.h function calls.
365 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
367 * biblio.C (getInfo): add a .c_str() to handle the usual
370 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
372 * ControlCitation.[Ch]: changes associated with adding natbib support.
373 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
374 New static variable citeStyles_.
376 * biblio.[Ch]: large internal rearrangement.
377 New public enum CiteStyle.
378 New public struct CitationStyle.
379 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
380 getNumericalStrings, getAuthorYearStrings
381 (simpleSearch, regexSearch): no longer publicly accessible.
383 * helper_funcs.C (getStringFromVector): bug fix.
385 2001-07-16 Baruch Even <baruch@lyx.org>
387 * ControlVCLog.h: Added Lsstream.h to includes.
389 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlSpellchecker.[Ch]: remove d-tor.
393 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
395 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
397 2001-07-16 Juergen Vigna <jug@sad.it>
399 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
400 compiled with USE_PSPELL) to be able to switch between ISpell and
403 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
405 Consistent use of Lsstream.h:
406 * ControlAboutlyx.[Ch] (getCredits):
407 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
409 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
411 * ControlCredits.[Ch]: removed
412 * ControlCopyright.[Ch]: removed
413 * ControlAboutlyx.[Ch]: added (replaces previous)
414 * GUI.h: removed credits and copyright added about lyx stuff
416 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
418 * ControlSpellchecker.C (getSuggestion):
419 (getWord): add std:: qualifier
421 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
423 * ControlSpellchecker.[Ch]: added
424 * ViewBase.h: added partialUpdate(int) member
425 * GUI.h: added spell stuff
427 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
429 * ControlExternal.C: (*it). -> it->
431 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
433 * ButtonController.h: move some included header files out of the
434 frontends and into here.
436 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlCharacter.C (c-tor): cosmetic name change of signal.
440 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
442 * *.[h]: added // -*- C++ -*-
443 * *.[C]: removed // -*- C++ -*-
445 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
446 activate Apply button.
447 (clearParams): removed.
448 font_ is now stored as a boost::scoped_ptr.
449 font_ is no longer deleted on hide(), so it's contents can now be used
450 by the Font button on the toolbar.
451 Lots of new methods so that the GUI can easily get the contents of
452 font_ when it update()s.
454 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
456 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
457 crash when the Font button on the Toolbar is pressed.
459 * GUI.h: change policy of Character button controller to
460 OkApplyCancelReadOnlyPolicy.
462 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
464 * ControlToc.C (getContents): don't add anything to the list if it
465 is supposed to be empty.
467 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
469 * helper_funcs.C (getVectorFromString): bug fix.
471 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
474 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
475 from ButtonControllerBase::readOnly. Updates the state of the widgets
476 in the read-only list only when the read-only status of the document
478 (refresh): moved this stuff into refreshReadOnly.
480 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
482 * ControlPrint.C (c-tor):
483 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
485 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
488 * character.h: small clean-ups.
490 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
492 * ControlToc.C (getType): remove support for old float list.
494 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
496 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
497 * ControlGraphics.h: no longer include insetgraphicsParams.h
498 * ControlInset.h: no longer include LyXView.h
503 * ControlCharacter.C:
506 * ControlConnections.C:
507 * ControlCopyright.C:
519 * ControlTabularCreate.C:
521 * ControlVCLog.C: they're now in here!
523 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * ButtonControllerBase.h: C++ mode, inherit privately from
527 * ButtonPolicies.h: ditto
529 * ButtonController.h: C++ mode, swap init order of restore_ and
532 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
534 * ControlTabularCreate.h:
535 * ControlTabularCreate.C: make dialogs use a pair of uints
539 * ControlVCLog.C: fill a stringstream with the log contents
542 * ControlExternal.C: from Angus, clone the new InsetExternal
545 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
547 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
548 and made more robust.
550 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
559 * ControlCopyright.C: include gettext.h
561 * ControlCharacter.C:
562 * character.C: include gettext.h and language.h
564 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
566 * ButtonController.h:
567 * ButtonControllerBase.h:
568 * ButtonControllerBase.C:
575 * ControlConnections.h:
581 * ViewBase.h: s/ControlButton/ControlButtons/
583 s/UndoAll/Restore/ + associated
585 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
587 * ControlToc.[Ch]: new files; a controller for the TOC popup.
590 * Makefile.am: associated changes with all of the above.
592 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
594 * ControlExternal.C: bug fixes. Can now apply changes to the inset
595 and edit, view, update the External Material correctly. I hope!
597 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
599 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
601 * BCTemplates.h: renamed as ButtonController.h
603 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
606 * ControlConnections.h: associated change in #include and class names.
608 * ControlExternal.[Ch]: new files; a controller for the External
612 * Makefile.am: associated changes with all of the above.
614 * ControlGraphics.[Ch]:
615 * ControlInclude.[Ch]:
618 (Browse): new method. Returns the results of a FileDialog browse.
620 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
621 (getVectorFromString): fixed bug.
623 * biblio.C (simpleSearch): cleaned up.
625 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
627 * A slight reworking of Baruch Even's ButtonController patch.
629 * BCTemplates.h: new file; all the templates for the ButtonController.
630 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
631 to the more generic setButtonLabel().
633 * ButtonController.[Ch]: renamed cancel_label and close_label as
634 cancel_label_ and close_label_.
636 * Makefile.am: added BCTemplates.h
638 2001-03-29 Juergen Vigna <jug@sad.it>
640 * ControlMinipage.C: removed widthp_ and all it's functions and changed
641 to use new %-lengths of LyXLength.
643 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlCitation.C (bibkeysInfo): removed Assert.
647 * ControlCopyright.h: moved GUICopyright into GUI.h
651 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
653 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
654 (setDaughterParams): a (by default empty) new method called in show().
663 * ControlUrl.h (clearDaughterParams): removed
665 * ControlMinipage.C (applyParamsToInset): update the view.
666 Added namespace minipage containing a helper function getUnits.
668 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
670 * ControlCharacter.[Ch]: moved out all the helper functions and the
671 enum into their own file.
672 * character.[Ch]: new files; contain the character helper functions,
673 now inside namespace character.
675 * ControlCitation.[Ch]: moved out all the helper functions and the
676 enums into their own file. Simplified interface.
677 * biblio.[Ch]: new files; contain the citation helper functions,
678 now inside namespace biblio. Will be of use also to an improved
681 * ControlGraphics.[Ch]:
682 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
683 popups, respectively.
686 * Makefile.am: associated changes.
688 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
690 * ControlMinipage.[Ch]:
691 * ControlPreamble.[Ch]:
693 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
694 and Print popups and Splash screen, respectively.
696 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
700 * Makefile.am: associated changes.
702 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
704 * ControlConnections.[Ch]: (docType): new method; returns the type
705 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
708 * ControlSearch.[Ch]:
709 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
710 Search and TabularCreate popups, respectively.
713 * Makefile.am: associated changes.
715 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
717 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
720 * ControlInset.h (apply): fix bug. Can now create new insets again.
722 * README: describe program flow.
724 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
726 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
728 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
730 * ControlDialogs.h: moved class ControlInset into its own file.
732 * ControlInset.h: new file. class ControlInset has been expanded to take
733 two template parameters, Inset and Params. Believe that all inset
734 controllers can be derived from this with the minimum of effort.
736 * ControlBibitem.[Ch]:
737 * ControlBibtex.[Ch]:
738 * ControlCitation.[Ch]:
739 * ControlCommand.[Ch]: moved most code into ControlInset.
741 * lots of files. Moved protected stuff into private where possible.
744 * ControlInclude.[Ch]:
745 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
746 Include and Url popups, respectively.
749 * Makefile.am: associated changes.
751 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
753 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
756 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
758 * ControlCredits.C (getCredits): remove std:: qualifier for
761 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
763 * ControlCredits.C (getCredits): add std:: on vector
765 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
767 * ControlCredits.C: remove using that is only used once, use
768 std::ios instead of std::iosbase, add some annoying comments.
770 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
772 * lots of header files: improved explanatory notes.
774 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
775 ControlBase is now a class that only controls the interaction of the
776 View with the ButtonController.
778 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
779 to ControlConnectBase. The class controls the connection/disconnection
780 of signals from the LyX kernel and makes available the kernel (through
781 lv_) to daughter controller classes.
782 Moved out class ControlConnectInset to a new file ControlDialogs.h.
784 * ControlDialogs.h: new file. Contains the definition of two template
785 controller classes, ControlDialog and ControlInset (was
786 ControlConnectInset). ControlInset is a parent class for controllers
787 of inset-popups. ControlDialogs is the rather uninspired name for
788 the base class of all non-inset popups. (Eg, Document and Paragraph.)
789 ControlDialogs is reaching a state of maturity as several popups now use
790 it and its functionality becomes clear. ControlInset is still in a state
791 of flux. It is likely that functionality will be moved out of
792 ControlCommands and into it.
794 * GUI.h: new file. Moved all the template GUIXXX classes out of the
795 individual Controller header files and into one place. These classes
796 serve only as convenient wrappers to simplify code in the respective
797 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
799 * ControlCharacter.[Ch] (show, update, hide):
800 * ControlLog.[Ch] (show, update, hide):
801 * ControlVCLog.[Ch] (show, update, hide): moved back into
802 the ControlDialogs base class.
803 (setParams, clearParams): new methods containing controller-specific
804 code to set/reset the parameters manipulated by the view.
806 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
808 (hide): calls clearParams.
810 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
811 by ControlCommand::hide().
813 * ControlCopyright.[Ch]:
814 * ControlCredits.[Ch]: new files; controllers for the copyright and
815 credits popups, respectively.
817 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
819 * ControlCharacter.C: fix typo
821 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
823 * ControlCharacter.[Ch]: new files; controller for the character popup.
825 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
826 moved to new files helper_funcs.[Ch].
828 * helper_funcs.[Ch]: new files. Some useful helper functions and
831 * Makefile.am: added new files.
833 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
837 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
841 Control log files, respectively.
843 * Makefile.am: added new files.
845 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
847 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
849 * Makefile.am: added ControlBibtex.[Ch].
851 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
854 * ControlCitation.C: added "using SigC::slot" declaration.
856 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
857 to FormCitation.C prior to the merger: "Do not put space between
860 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
862 * several files: remove CXX_WORKING_NAMESPACES
864 * ButtonController.h: noncopyable is in namespace boost
865 * ButtonPolicies.h: ditto
867 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
869 * Merging changes from BRANCH_MVC back into HEAD.
871 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
873 * Makefile.am: add ControlBibitem.[Ch].
875 * ControlBibitem.[Ch]: new files that together define the Controller
878 * ControlCommand.h (c-tor): give kb_action a default value of
881 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
883 * ControlCitation.[Ch]: moved search functions out of class.
884 (bibkeysInfo): new method. Returns const reference to private data.
885 (searchKeys): added case-sensitive switch. Used only by simpleSearch
888 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
890 * ControlCitation.[Ch]: added Search functions to the class,
891 (shamelessly lifted from Marco's gnome code). I think that these would
892 be better as helper functions outside the class, but this is a first
895 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
897 * ControlCitation.[Ch]: (getBibkeyList): removed from class
899 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
900 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
901 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
902 implementation of FormCitation.
904 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
906 * ButtonPolicies.h: add SMI_NOOP to enum.
908 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
910 * ButtonController.C (input): add "optimising" if-statement. Actually,
911 things don't work correctly without it...
913 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
915 * ViewBase.h: remove #pragma directive
917 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
920 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
922 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
924 * Makefile.am: added ButtonPolicies.[Ch]
926 * ButtonController.[Ch]: ButtonController is split into
927 ButtonControllerBase and a template ButtonController class. The base
928 class no longer stores a pointer to a ButtonPolicy, but instead
929 accesses the actual instantiation of the policy through a pure virtual
930 method bp(). This method and the ButtonPolicy itself are instantiated
931 in the templatised ButtonController class. This class is derived from
932 the GUI-specific GUIBC class, meaning that the frontends know
933 nothing about the actual policy decided upon by the controllers.
935 * ControlBase.[Ch]: No longer store the View or the ButtonController.
936 Instead the actual instantiations are accessed through pure virtual
937 methods view() and bc(). The daughter classes are responsible for the
938 actual View and ButtonController.
940 * ControlCitation.h: the templatised class GUICitation instantiates
941 the methods view() and bc(). It also stores the instances of the
942 View and ButtonController.
944 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
946 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
947 also changed to ButtonController.
950 * ControlConnections.[Ch]:
951 * ControlCommand.[Ch]:
952 * ControlCitation.[Ch]:
953 * ViewBase.h: Changes associated with this.
955 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
957 * ButtonControllerBase.[Ch]: new files. Split Allan's original
958 xforms/ButtonController class into a GUI-I class (here) and an
959 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
961 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
962 from which all Dialog Controllers should be derived. the Controllers
963 are GUI-independent, but are designed to control the behaviour of
964 GUI-specific implementaions of each dialog.
966 * ControlConnections.[Ch]: new files. Classes controlling the
967 connections of buffer-independent, buffer-dependent and Inset dialogs
970 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
971 InsetCommand subset of insets.
973 * ControlCitation.[Ch]: new files. The test specialisation! A
974 controller for the Citation dialog.
976 * ViewBase.h: new file. ViewBase is an abstract base class from which
977 GUI-specific dialogs should be derived. The functionality that the GUIs
978 must now implement is much reduced.