1 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4 * ControlSearch.h: #include LString.h
6 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8 * ButtonController.h: split into two. The definition remains in
9 ButtonController.h, the declaration is now in ButtonController.tmpl.
10 These template methods should be #included when the derived class is
11 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
12 and in the qt2 and gnome equivalents.
14 * ControlDialogs.h: removed. The definition of class ControlDialog is
15 now to be found in ControlDialog.h and the declaration of the methods
16 is in ControlDialog.tmpl. The two template instantiations are performed
17 in ControlDialog_impl.[Ch], new files also.
19 * ControlInset.h: split into two. The definition remains in
20 ControlInset.h, the declaration is now in ControlInset.tmpl.
21 These template methods should be #included derived class is
22 instantiated, in this case in 8 other .C files in this directory.
24 * ControlAboutlyx.[Ch]:
25 * ControlCharacter.[Ch]:
35 * ControlPreamble.[Ch]:
38 * ControlShowFile.[Ch]:
39 * ControlSpellchecker.[Ch]:
40 * ControlTabularCreate.[Ch]:
41 * ControlTexinfo.[Ch]:
42 * ControlThesaurus.[Ch]:
43 * ControlVCLog.[Ch]: small changes associated with the above ones.
45 * GUI.h: #include the ButtonController and dialog controller files
46 here, rather than forward declare them. This is the correct place
49 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
50 Rename ControlDialogs.h as ControlDialog.h.
51 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
54 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
56 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
58 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
60 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
63 * ControlGraphics.C (Browse): remove overzealous shortcut
65 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
67 * FormMinipage.C (apply, update): MinipageParams::width renamed
68 as MinipageParams::pageWidth. InsetMinipage::width renamed
69 as InsetMinipage::pageWidth.
71 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
73 * ButtonController.h (refreshReadOnly): use explicit typename
75 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
77 * helper_funcs.h (browseFile): add default empty button descriptions.
79 * ControlGraphics.C (Browse):
80 * ControlBibtex.C (Browse):
81 * ControlInclude.C (Browse): add shortcuts to directory buttons
83 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
86 * ControlThesaurus.C: update to Aiksaurus 0.14
88 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
90 * ControlSpellchecker.C (clearParams): show the closing message
91 only if some words have been checked, thereby fixing
94 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
96 * ControlFloat.[Ch]: changes to prevent here definitely being used
99 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * ControlThesaurus.h: do not include <config.h> in header files
103 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
105 * ControlToc.C: changes for floatlist
107 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
109 * ControlVCLog.C: use _()
111 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
113 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
116 2001-10-22 Juergen Vigna <jug@sad.it>
118 * ControlSpellchecker.C (clearParams): use the error_ message of the
119 speller_ if available when the spellchecker died.
120 (setParams): remove double error message display.
122 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
124 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
126 * helper_funcs.[Ch] (getLatexUnits): see above.
128 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
130 * ControlTexinfo.C (getContents): use the right file for .sty files
132 2001-10-10 Herbert Voss <voss@perce.de>
134 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
135 and some more stuff from FormTexinfo.C
137 * ControlShowFile.C: hiding the update-button
139 2001-10-09 Herbert Voss <voss@perce.de>
141 * ControlTexinfo.[Ch]: new files. Display information about the
142 installed texfiles (cls,sty,bst).
144 * ControlShowFile.[Ch]: new files. Display the contents of a file.
146 * GUI.h: added classes GUIShowFile and GUITexinfo.
148 * Makefile.am: modified appropriately.
150 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
152 * ControlAboutlyx.C (getVersion): use lyx_version and
153 lyx_release_date instead of old macros
155 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
157 * ControlSpellchecker.C (check): Behaves well now when the spell
158 library doesn't know a replacement to an incorrect word.
160 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
162 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
163 the correct place. Can now check spelling more than once!
165 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlSplash.[Ch]: removed.
169 * GUI.h: remove GUISplash class.
171 * ViewBase.h: remove ViewSplash class.
173 * Makefile.am: remove ControlSplash.[Ch].
175 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlButtons.h: add variable emergency_exit_. If set to true, the
178 view will be shut down.
181 * ControlInset.h: act on emergency_exit_.
183 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
184 speller fails to launch.
186 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
188 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
189 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
191 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
193 * ControlRef.h (disconnectOnApply): new method. Set to true.
194 Perhaps make this user-modifiable?
196 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
198 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
201 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
203 * ControlRef.C (getBufferList, getBufferNum): New methods
205 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
208 of the dialog when the Apply button is pressed. Defaults to false,
209 but can be overridden in the daughter classes.
211 * ControlCitation.h (disconnectOnApply): new method. Set to true.
212 Perhaps make this user-modifiable?
214 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
216 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
217 we have dialogs that update their contents when the buffer changes.
218 Rather embarassing, really!
220 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
222 * ControlSearch (replace): change semantics of replace to NOT move on
223 to the next instance of a word once the present instance has been
224 replaced unless we are replacing ALL instances of the word.
226 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
228 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
230 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
232 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
233 dialog, set all options to "reset", close the dialog, re-open it ->
234 the options are set incorrectly.
236 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
237 When Applying it's useful to know whether the dialog is about to close
238 or not (no point refreshing the display for example).
240 * ControlInset.C (apply): use isClosing.
242 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
245 * ControlDialogs.h: remove bc() hack, now fixed in
246 Qt2 frontend. use member dialog_built_ instead of shared
249 * ButtonController.h:
250 * ButtonPolicies.C: more debug info
252 * ButtonControllerBase.C: call refresh() when setting readOnly !
254 * GUI.h: External form has apply, use the right policy
256 * character.C: fix two off-by-one errors when latex font was removed
258 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
260 * ControlInset.h (apply): tentative fix for the press Apply multiple
261 times and get multiple new Insets problem.
263 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
265 * ControlCharacter.C: fix typo
269 * ControlInsets.C: make sure dialog is built before it is shown, so
270 it works properly the very first time it is shown
272 2001-08-20 Herbert Voss <voss@perce.de>
274 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
275 and styles. Added an option for "bibliography into toc"
277 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
279 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
280 LaTeX is no longer a font property.
282 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
284 * GUI.h: Button controller for Reference dialog changed to
285 NoRepeatedApplyReadOnlyPolicy.
287 * biblio.C (getInfo): output volume and number info. Move year to end
290 2001-08-09 Allan Rae <rae@lyx.org>
292 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
294 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
296 * helper_funcs.C (getVectorFromString): fixed small bug.
298 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
300 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
302 * ControlSpellchecker.C: check next word after insert in personal dict
304 2001-08-06 Juergen Vigna <jug@sad.it>
306 * ControlERT.[Ch]: new file
308 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlInset.h: const and non-const forms of params().
312 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
313 whitespace from either side of each item.
315 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
317 * ControlFloat.h: add a != operator for FloatParams.
318 Lars, how did you get this to compile!!!
320 * ControlMinipage.[Ch]: uncommented someone's commenting out of
321 operator != for MinipageParams. Who's changing stuff and not compiling?
323 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
328 * GUI.h: add class GUIFloat
330 * ControlFloat.[Ch]: new files
332 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
334 * ControlPrint.C: #include Lassert.h here.
336 2001-07-26 Baruch Even <baruch@lyx.org>
338 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
341 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
343 * ControlThesaurus.h:
344 * ControlThesaurus.C:
346 * Makefile.am: thesaurus support
348 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
351 * ControlInclude.C: implement ability to load file
353 2001-07-18 Juergen Vigna <jug@sad.it>
355 * ControlSearch.C (replace): changes to lyxfind.h function calls.
357 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * biblio.C (getInfo): add a .c_str() to handle the usual
362 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlCitation.[Ch]: changes associated with adding natbib support.
365 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
366 New static variable citeStyles_.
368 * biblio.[Ch]: large internal rearrangement.
369 New public enum CiteStyle.
370 New public struct CitationStyle.
371 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
372 getNumericalStrings, getAuthorYearStrings
373 (simpleSearch, regexSearch): no longer publicly accessible.
375 * helper_funcs.C (getStringFromVector): bug fix.
377 2001-07-16 Baruch Even <baruch@lyx.org>
379 * ControlVCLog.h: Added Lsstream.h to includes.
381 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
383 * ControlSpellchecker.[Ch]: remove d-tor.
385 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
387 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
389 2001-07-16 Juergen Vigna <jug@sad.it>
391 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
392 compiled with USE_PSPELL) to be able to switch between ISpell and
395 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
397 Consistent use of Lsstream.h:
398 * ControlAboutlyx.[Ch] (getCredits):
399 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
401 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
403 * ControlCredits.[Ch]: removed
404 * ControlCopyright.[Ch]: removed
405 * ControlAboutlyx.[Ch]: added (replaces previous)
406 * GUI.h: removed credits and copyright added about lyx stuff
408 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * ControlSpellchecker.C (getSuggestion):
411 (getWord): add std:: qualifier
413 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
415 * ControlSpellchecker.[Ch]: added
416 * ViewBase.h: added partialUpdate(int) member
417 * GUI.h: added spell stuff
419 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
421 * ControlExternal.C: (*it). -> it->
423 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
425 * ButtonController.h: move some included header files out of the
426 frontends and into here.
428 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
430 * ControlCharacter.C (c-tor): cosmetic name change of signal.
432 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
434 * *.[h]: added // -*- C++ -*-
435 * *.[C]: removed // -*- C++ -*-
437 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
438 activate Apply button.
439 (clearParams): removed.
440 font_ is now stored as a boost::scoped_ptr.
441 font_ is no longer deleted on hide(), so it's contents can now be used
442 by the Font button on the toolbar.
443 Lots of new methods so that the GUI can easily get the contents of
444 font_ when it update()s.
446 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
449 crash when the Font button on the Toolbar is pressed.
451 * GUI.h: change policy of Character button controller to
452 OkApplyCancelReadOnlyPolicy.
454 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
456 * ControlToc.C (getContents): don't add anything to the list if it
457 is supposed to be empty.
459 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
461 * helper_funcs.C (getVectorFromString): bug fix.
463 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
466 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
467 from ButtonControllerBase::readOnly. Updates the state of the widgets
468 in the read-only list only when the read-only status of the document
470 (refresh): moved this stuff into refreshReadOnly.
472 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlPrint.C (c-tor):
475 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
477 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
480 * character.h: small clean-ups.
482 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * ControlToc.C (getType): remove support for old float list.
486 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
489 * ControlGraphics.h: no longer include insetgraphicsParams.h
490 * ControlInset.h: no longer include LyXView.h
495 * ControlCharacter.C:
498 * ControlConnections.C:
499 * ControlCopyright.C:
511 * ControlTabularCreate.C:
513 * ControlVCLog.C: they're now in here!
515 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * ButtonControllerBase.h: C++ mode, inherit privately from
519 * ButtonPolicies.h: ditto
521 * ButtonController.h: C++ mode, swap init order of restore_ and
524 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
526 * ControlTabularCreate.h:
527 * ControlTabularCreate.C: make dialogs use a pair of uints
531 * ControlVCLog.C: fill a stringstream with the log contents
534 * ControlExternal.C: from Angus, clone the new InsetExternal
537 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
539 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
540 and made more robust.
542 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
551 * ControlCopyright.C: include gettext.h
553 * ControlCharacter.C:
554 * character.C: include gettext.h and language.h
556 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
558 * ButtonController.h:
559 * ButtonControllerBase.h:
560 * ButtonControllerBase.C:
567 * ControlConnections.h:
573 * ViewBase.h: s/ControlButton/ControlButtons/
575 s/UndoAll/Restore/ + associated
577 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
579 * ControlToc.[Ch]: new files; a controller for the TOC popup.
582 * Makefile.am: associated changes with all of the above.
584 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
586 * ControlExternal.C: bug fixes. Can now apply changes to the inset
587 and edit, view, update the External Material correctly. I hope!
589 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
591 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
593 * BCTemplates.h: renamed as ButtonController.h
595 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
598 * ControlConnections.h: associated change in #include and class names.
600 * ControlExternal.[Ch]: new files; a controller for the External
604 * Makefile.am: associated changes with all of the above.
606 * ControlGraphics.[Ch]:
607 * ControlInclude.[Ch]:
610 (Browse): new method. Returns the results of a FileDialog browse.
612 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
613 (getVectorFromString): fixed bug.
615 * biblio.C (simpleSearch): cleaned up.
617 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
619 * A slight reworking of Baruch Even's ButtonController patch.
621 * BCTemplates.h: new file; all the templates for the ButtonController.
622 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
623 to the more generic setButtonLabel().
625 * ButtonController.[Ch]: renamed cancel_label and close_label as
626 cancel_label_ and close_label_.
628 * Makefile.am: added BCTemplates.h
630 2001-03-29 Juergen Vigna <jug@sad.it>
632 * ControlMinipage.C: removed widthp_ and all it's functions and changed
633 to use new %-lengths of LyXLength.
635 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
637 * ControlCitation.C (bibkeysInfo): removed Assert.
639 * ControlCopyright.h: moved GUICopyright into GUI.h
643 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
646 (setDaughterParams): a (by default empty) new method called in show().
655 * ControlUrl.h (clearDaughterParams): removed
657 * ControlMinipage.C (applyParamsToInset): update the view.
658 Added namespace minipage containing a helper function getUnits.
660 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
662 * ControlCharacter.[Ch]: moved out all the helper functions and the
663 enum into their own file.
664 * character.[Ch]: new files; contain the character helper functions,
665 now inside namespace character.
667 * ControlCitation.[Ch]: moved out all the helper functions and the
668 enums into their own file. Simplified interface.
669 * biblio.[Ch]: new files; contain the citation helper functions,
670 now inside namespace biblio. Will be of use also to an improved
673 * ControlGraphics.[Ch]:
674 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
675 popups, respectively.
678 * Makefile.am: associated changes.
680 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
682 * ControlMinipage.[Ch]:
683 * ControlPreamble.[Ch]:
685 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
686 and Print popups and Splash screen, respectively.
688 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
692 * Makefile.am: associated changes.
694 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
696 * ControlConnections.[Ch]: (docType): new method; returns the type
697 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
700 * ControlSearch.[Ch]:
701 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
702 Search and TabularCreate popups, respectively.
705 * Makefile.am: associated changes.
707 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
709 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
712 * ControlInset.h (apply): fix bug. Can now create new insets again.
714 * README: describe program flow.
716 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
718 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
720 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
722 * ControlDialogs.h: moved class ControlInset into its own file.
724 * ControlInset.h: new file. class ControlInset has been expanded to take
725 two template parameters, Inset and Params. Believe that all inset
726 controllers can be derived from this with the minimum of effort.
728 * ControlBibitem.[Ch]:
729 * ControlBibtex.[Ch]:
730 * ControlCitation.[Ch]:
731 * ControlCommand.[Ch]: moved most code into ControlInset.
733 * lots of files. Moved protected stuff into private where possible.
736 * ControlInclude.[Ch]:
737 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
738 Include and Url popups, respectively.
741 * Makefile.am: associated changes.
743 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
745 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
748 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
750 * ControlCredits.C (getCredits): remove std:: qualifier for
753 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
755 * ControlCredits.C (getCredits): add std:: on vector
757 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
759 * ControlCredits.C: remove using that is only used once, use
760 std::ios instead of std::iosbase, add some annoying comments.
762 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
764 * lots of header files: improved explanatory notes.
766 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
767 ControlBase is now a class that only controls the interaction of the
768 View with the ButtonController.
770 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
771 to ControlConnectBase. The class controls the connection/disconnection
772 of signals from the LyX kernel and makes available the kernel (through
773 lv_) to daughter controller classes.
774 Moved out class ControlConnectInset to a new file ControlDialogs.h.
776 * ControlDialogs.h: new file. Contains the definition of two template
777 controller classes, ControlDialog and ControlInset (was
778 ControlConnectInset). ControlInset is a parent class for controllers
779 of inset-popups. ControlDialogs is the rather uninspired name for
780 the base class of all non-inset popups. (Eg, Document and Paragraph.)
781 ControlDialogs is reaching a state of maturity as several popups now use
782 it and its functionality becomes clear. ControlInset is still in a state
783 of flux. It is likely that functionality will be moved out of
784 ControlCommands and into it.
786 * GUI.h: new file. Moved all the template GUIXXX classes out of the
787 individual Controller header files and into one place. These classes
788 serve only as convenient wrappers to simplify code in the respective
789 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
791 * ControlCharacter.[Ch] (show, update, hide):
792 * ControlLog.[Ch] (show, update, hide):
793 * ControlVCLog.[Ch] (show, update, hide): moved back into
794 the ControlDialogs base class.
795 (setParams, clearParams): new methods containing controller-specific
796 code to set/reset the parameters manipulated by the view.
798 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
800 (hide): calls clearParams.
802 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
803 by ControlCommand::hide().
805 * ControlCopyright.[Ch]:
806 * ControlCredits.[Ch]: new files; controllers for the copyright and
807 credits popups, respectively.
809 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
811 * ControlCharacter.C: fix typo
813 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
815 * ControlCharacter.[Ch]: new files; controller for the character popup.
817 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
818 moved to new files helper_funcs.[Ch].
820 * helper_funcs.[Ch]: new files. Some useful helper functions and
823 * Makefile.am: added new files.
825 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
829 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
832 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
833 Control log files, respectively.
835 * Makefile.am: added new files.
837 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
839 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
841 * Makefile.am: added ControlBibtex.[Ch].
843 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
846 * ControlCitation.C: added "using SigC::slot" declaration.
848 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
849 to FormCitation.C prior to the merger: "Do not put space between
852 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
854 * several files: remove CXX_WORKING_NAMESPACES
856 * ButtonController.h: noncopyable is in namespace boost
857 * ButtonPolicies.h: ditto
859 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
861 * Merging changes from BRANCH_MVC back into HEAD.
863 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
865 * Makefile.am: add ControlBibitem.[Ch].
867 * ControlBibitem.[Ch]: new files that together define the Controller
870 * ControlCommand.h (c-tor): give kb_action a default value of
873 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
875 * ControlCitation.[Ch]: moved search functions out of class.
876 (bibkeysInfo): new method. Returns const reference to private data.
877 (searchKeys): added case-sensitive switch. Used only by simpleSearch
880 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
882 * ControlCitation.[Ch]: added Search functions to the class,
883 (shamelessly lifted from Marco's gnome code). I think that these would
884 be better as helper functions outside the class, but this is a first
887 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
889 * ControlCitation.[Ch]: (getBibkeyList): removed from class
891 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
892 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
893 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
894 implementation of FormCitation.
896 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
898 * ButtonPolicies.h: add SMI_NOOP to enum.
900 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
902 * ButtonController.C (input): add "optimising" if-statement. Actually,
903 things don't work correctly without it...
905 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
907 * ViewBase.h: remove #pragma directive
909 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
912 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
914 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
916 * Makefile.am: added ButtonPolicies.[Ch]
918 * ButtonController.[Ch]: ButtonController is split into
919 ButtonControllerBase and a template ButtonController class. The base
920 class no longer stores a pointer to a ButtonPolicy, but instead
921 accesses the actual instantiation of the policy through a pure virtual
922 method bp(). This method and the ButtonPolicy itself are instantiated
923 in the templatised ButtonController class. This class is derived from
924 the GUI-specific GUIBC class, meaning that the frontends know
925 nothing about the actual policy decided upon by the controllers.
927 * ControlBase.[Ch]: No longer store the View or the ButtonController.
928 Instead the actual instantiations are accessed through pure virtual
929 methods view() and bc(). The daughter classes are responsible for the
930 actual View and ButtonController.
932 * ControlCitation.h: the templatised class GUICitation instantiates
933 the methods view() and bc(). It also stores the instances of the
934 View and ButtonController.
936 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
938 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
939 also changed to ButtonController.
942 * ControlConnections.[Ch]:
943 * ControlCommand.[Ch]:
944 * ControlCitation.[Ch]:
945 * ViewBase.h: Changes associated with this.
947 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
949 * ButtonControllerBase.[Ch]: new files. Split Allan's original
950 xforms/ButtonController class into a GUI-I class (here) and an
951 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
953 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
954 from which all Dialog Controllers should be derived. the Controllers
955 are GUI-independent, but are designed to control the behaviour of
956 GUI-specific implementaions of each dialog.
958 * ControlConnections.[Ch]: new files. Classes controlling the
959 connections of buffer-independent, buffer-dependent and Inset dialogs
962 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
963 InsetCommand subset of insets.
965 * ControlCitation.[Ch]: new files. The test specialisation! A
966 controller for the Citation dialog.
968 * ViewBase.h: new file. ViewBase is an abstract base class from which
969 GUI-specific dialogs should be derived. The functionality that the GUIs
970 must now implement is much reduced.