1 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * ControlExternal.C (Browse): simplify to use browseRelFile
5 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7 * ButtonController.tmpl: added // -*- C++ -*-
9 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
10 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
11 Needed in _one_ of the ControlCommand-derived classes only.
13 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlSearch.h: #include LString.h
18 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * ButtonController.h: split into two. The definition remains in
21 ButtonController.h, the declaration is now in ButtonController.tmpl.
22 These template methods should be #included when the derived class is
23 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
24 and in the qt2 and gnome equivalents.
26 * ControlDialogs.h: removed. The definition of class ControlDialog is
27 now to be found in ControlDialog.h and the declaration of the methods
28 is in ControlDialog.tmpl. The two template instantiations are performed
29 in ControlDialog_impl.[Ch], new files also.
31 * ControlInset.h: split into two. The definition remains in
32 ControlInset.h, the declaration is now in ControlInset.tmpl.
33 These template methods should be #included derived class is
34 instantiated, in this case in 8 other .C files in this directory.
36 * ControlAboutlyx.[Ch]:
37 * ControlCharacter.[Ch]:
47 * ControlPreamble.[Ch]:
50 * ControlShowFile.[Ch]:
51 * ControlSpellchecker.[Ch]:
52 * ControlTabularCreate.[Ch]:
53 * ControlTexinfo.[Ch]:
54 * ControlThesaurus.[Ch]:
55 * ControlVCLog.[Ch]: small changes associated with the above ones.
57 * GUI.h: #include the ButtonController and dialog controller files
58 here, rather than forward declare them. This is the correct place
61 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
62 Rename ControlDialogs.h as ControlDialog.h.
63 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
66 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
68 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
70 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
72 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
75 * ControlGraphics.C (Browse): remove overzealous shortcut
77 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
79 * FormMinipage.C (apply, update): MinipageParams::width renamed
80 as MinipageParams::pageWidth. InsetMinipage::width renamed
81 as InsetMinipage::pageWidth.
83 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * ButtonController.h (refreshReadOnly): use explicit typename
87 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
89 * helper_funcs.h (browseFile): add default empty button descriptions.
91 * ControlGraphics.C (Browse):
92 * ControlBibtex.C (Browse):
93 * ControlInclude.C (Browse): add shortcuts to directory buttons
95 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
98 * ControlThesaurus.C: update to Aiksaurus 0.14
100 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
102 * ControlSpellchecker.C (clearParams): show the closing message
103 only if some words have been checked, thereby fixing
106 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
108 * ControlFloat.[Ch]: changes to prevent here definitely being used
111 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
113 * ControlThesaurus.h: do not include <config.h> in header files
115 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
117 * ControlToc.C: changes for floatlist
119 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
121 * ControlVCLog.C: use _()
123 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
125 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
128 2001-10-22 Juergen Vigna <jug@sad.it>
130 * ControlSpellchecker.C (clearParams): use the error_ message of the
131 speller_ if available when the spellchecker died.
132 (setParams): remove double error message display.
134 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
138 * helper_funcs.[Ch] (getLatexUnits): see above.
140 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
142 * ControlTexinfo.C (getContents): use the right file for .sty files
144 2001-10-10 Herbert Voss <voss@perce.de>
146 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
147 and some more stuff from FormTexinfo.C
149 * ControlShowFile.C: hiding the update-button
151 2001-10-09 Herbert Voss <voss@perce.de>
153 * ControlTexinfo.[Ch]: new files. Display information about the
154 installed texfiles (cls,sty,bst).
156 * ControlShowFile.[Ch]: new files. Display the contents of a file.
158 * GUI.h: added classes GUIShowFile and GUITexinfo.
160 * Makefile.am: modified appropriately.
162 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
164 * ControlAboutlyx.C (getVersion): use lyx_version and
165 lyx_release_date instead of old macros
167 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlSpellchecker.C (check): Behaves well now when the spell
170 library doesn't know a replacement to an incorrect word.
172 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
175 the correct place. Can now check spelling more than once!
177 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
179 * ControlSplash.[Ch]: removed.
181 * GUI.h: remove GUISplash class.
183 * ViewBase.h: remove ViewSplash class.
185 * Makefile.am: remove ControlSplash.[Ch].
187 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
189 * ControlButtons.h: add variable emergency_exit_. If set to true, the
190 view will be shut down.
193 * ControlInset.h: act on emergency_exit_.
195 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
196 speller fails to launch.
198 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
200 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
201 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
203 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
205 * ControlRef.h (disconnectOnApply): new method. Set to true.
206 Perhaps make this user-modifiable?
208 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
210 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
213 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
215 * ControlRef.C (getBufferList, getBufferNum): New methods
217 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
219 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
220 of the dialog when the Apply button is pressed. Defaults to false,
221 but can be overridden in the daughter classes.
223 * ControlCitation.h (disconnectOnApply): new method. Set to true.
224 Perhaps make this user-modifiable?
226 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
229 we have dialogs that update their contents when the buffer changes.
230 Rather embarassing, really!
232 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
234 * ControlSearch (replace): change semantics of replace to NOT move on
235 to the next instance of a word once the present instance has been
236 replaced unless we are replacing ALL instances of the word.
238 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
240 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
242 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
245 dialog, set all options to "reset", close the dialog, re-open it ->
246 the options are set incorrectly.
248 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
249 When Applying it's useful to know whether the dialog is about to close
250 or not (no point refreshing the display for example).
252 * ControlInset.C (apply): use isClosing.
254 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
257 * ControlDialogs.h: remove bc() hack, now fixed in
258 Qt2 frontend. use member dialog_built_ instead of shared
261 * ButtonController.h:
262 * ButtonPolicies.C: more debug info
264 * ButtonControllerBase.C: call refresh() when setting readOnly !
266 * GUI.h: External form has apply, use the right policy
268 * character.C: fix two off-by-one errors when latex font was removed
270 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlInset.h (apply): tentative fix for the press Apply multiple
273 times and get multiple new Insets problem.
275 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
277 * ControlCharacter.C: fix typo
281 * ControlInsets.C: make sure dialog is built before it is shown, so
282 it works properly the very first time it is shown
284 2001-08-20 Herbert Voss <voss@perce.de>
286 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
287 and styles. Added an option for "bibliography into toc"
289 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
291 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
292 LaTeX is no longer a font property.
294 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
296 * GUI.h: Button controller for Reference dialog changed to
297 NoRepeatedApplyReadOnlyPolicy.
299 * biblio.C (getInfo): output volume and number info. Move year to end
302 2001-08-09 Allan Rae <rae@lyx.org>
304 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
306 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
308 * helper_funcs.C (getVectorFromString): fixed small bug.
310 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
312 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
314 * ControlSpellchecker.C: check next word after insert in personal dict
316 2001-08-06 Juergen Vigna <jug@sad.it>
318 * ControlERT.[Ch]: new file
320 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
322 * ControlInset.h: const and non-const forms of params().
324 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
325 whitespace from either side of each item.
327 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlFloat.h: add a != operator for FloatParams.
330 Lars, how did you get this to compile!!!
332 * ControlMinipage.[Ch]: uncommented someone's commenting out of
333 operator != for MinipageParams. Who's changing stuff and not compiling?
335 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
337 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
340 * GUI.h: add class GUIFloat
342 * ControlFloat.[Ch]: new files
344 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
346 * ControlPrint.C: #include Lassert.h here.
348 2001-07-26 Baruch Even <baruch@lyx.org>
350 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
353 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
355 * ControlThesaurus.h:
356 * ControlThesaurus.C:
358 * Makefile.am: thesaurus support
360 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
363 * ControlInclude.C: implement ability to load file
365 2001-07-18 Juergen Vigna <jug@sad.it>
367 * ControlSearch.C (replace): changes to lyxfind.h function calls.
369 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * biblio.C (getInfo): add a .c_str() to handle the usual
374 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
376 * ControlCitation.[Ch]: changes associated with adding natbib support.
377 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
378 New static variable citeStyles_.
380 * biblio.[Ch]: large internal rearrangement.
381 New public enum CiteStyle.
382 New public struct CitationStyle.
383 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
384 getNumericalStrings, getAuthorYearStrings
385 (simpleSearch, regexSearch): no longer publicly accessible.
387 * helper_funcs.C (getStringFromVector): bug fix.
389 2001-07-16 Baruch Even <baruch@lyx.org>
391 * ControlVCLog.h: Added Lsstream.h to includes.
393 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
395 * ControlSpellchecker.[Ch]: remove d-tor.
397 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
399 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
401 2001-07-16 Juergen Vigna <jug@sad.it>
403 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
404 compiled with USE_PSPELL) to be able to switch between ISpell and
407 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
409 Consistent use of Lsstream.h:
410 * ControlAboutlyx.[Ch] (getCredits):
411 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
413 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
415 * ControlCredits.[Ch]: removed
416 * ControlCopyright.[Ch]: removed
417 * ControlAboutlyx.[Ch]: added (replaces previous)
418 * GUI.h: removed credits and copyright added about lyx stuff
420 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
422 * ControlSpellchecker.C (getSuggestion):
423 (getWord): add std:: qualifier
425 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
427 * ControlSpellchecker.[Ch]: added
428 * ViewBase.h: added partialUpdate(int) member
429 * GUI.h: added spell stuff
431 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
433 * ControlExternal.C: (*it). -> it->
435 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
437 * ButtonController.h: move some included header files out of the
438 frontends and into here.
440 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
442 * ControlCharacter.C (c-tor): cosmetic name change of signal.
444 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
446 * *.[h]: added // -*- C++ -*-
447 * *.[C]: removed // -*- C++ -*-
449 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
450 activate Apply button.
451 (clearParams): removed.
452 font_ is now stored as a boost::scoped_ptr.
453 font_ is no longer deleted on hide(), so it's contents can now be used
454 by the Font button on the toolbar.
455 Lots of new methods so that the GUI can easily get the contents of
456 font_ when it update()s.
458 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
460 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
461 crash when the Font button on the Toolbar is pressed.
463 * GUI.h: change policy of Character button controller to
464 OkApplyCancelReadOnlyPolicy.
466 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
468 * ControlToc.C (getContents): don't add anything to the list if it
469 is supposed to be empty.
471 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
473 * helper_funcs.C (getVectorFromString): bug fix.
475 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
478 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
479 from ButtonControllerBase::readOnly. Updates the state of the widgets
480 in the read-only list only when the read-only status of the document
482 (refresh): moved this stuff into refreshReadOnly.
484 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
486 * ControlPrint.C (c-tor):
487 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
489 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
492 * character.h: small clean-ups.
494 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * ControlToc.C (getType): remove support for old float list.
498 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
500 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
501 * ControlGraphics.h: no longer include insetgraphicsParams.h
502 * ControlInset.h: no longer include LyXView.h
507 * ControlCharacter.C:
510 * ControlConnections.C:
511 * ControlCopyright.C:
523 * ControlTabularCreate.C:
525 * ControlVCLog.C: they're now in here!
527 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * ButtonControllerBase.h: C++ mode, inherit privately from
531 * ButtonPolicies.h: ditto
533 * ButtonController.h: C++ mode, swap init order of restore_ and
536 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
538 * ControlTabularCreate.h:
539 * ControlTabularCreate.C: make dialogs use a pair of uints
543 * ControlVCLog.C: fill a stringstream with the log contents
546 * ControlExternal.C: from Angus, clone the new InsetExternal
549 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
551 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
552 and made more robust.
554 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * ControlCopyright.C: include gettext.h
565 * ControlCharacter.C:
566 * character.C: include gettext.h and language.h
568 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
570 * ButtonController.h:
571 * ButtonControllerBase.h:
572 * ButtonControllerBase.C:
579 * ControlConnections.h:
585 * ViewBase.h: s/ControlButton/ControlButtons/
587 s/UndoAll/Restore/ + associated
589 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
591 * ControlToc.[Ch]: new files; a controller for the TOC popup.
594 * Makefile.am: associated changes with all of the above.
596 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlExternal.C: bug fixes. Can now apply changes to the inset
599 and edit, view, update the External Material correctly. I hope!
601 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
603 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
605 * BCTemplates.h: renamed as ButtonController.h
607 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
610 * ControlConnections.h: associated change in #include and class names.
612 * ControlExternal.[Ch]: new files; a controller for the External
616 * Makefile.am: associated changes with all of the above.
618 * ControlGraphics.[Ch]:
619 * ControlInclude.[Ch]:
622 (Browse): new method. Returns the results of a FileDialog browse.
624 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
625 (getVectorFromString): fixed bug.
627 * biblio.C (simpleSearch): cleaned up.
629 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
631 * A slight reworking of Baruch Even's ButtonController patch.
633 * BCTemplates.h: new file; all the templates for the ButtonController.
634 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
635 to the more generic setButtonLabel().
637 * ButtonController.[Ch]: renamed cancel_label and close_label as
638 cancel_label_ and close_label_.
640 * Makefile.am: added BCTemplates.h
642 2001-03-29 Juergen Vigna <jug@sad.it>
644 * ControlMinipage.C: removed widthp_ and all it's functions and changed
645 to use new %-lengths of LyXLength.
647 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
649 * ControlCitation.C (bibkeysInfo): removed Assert.
651 * ControlCopyright.h: moved GUICopyright into GUI.h
655 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
657 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
658 (setDaughterParams): a (by default empty) new method called in show().
667 * ControlUrl.h (clearDaughterParams): removed
669 * ControlMinipage.C (applyParamsToInset): update the view.
670 Added namespace minipage containing a helper function getUnits.
672 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
674 * ControlCharacter.[Ch]: moved out all the helper functions and the
675 enum into their own file.
676 * character.[Ch]: new files; contain the character helper functions,
677 now inside namespace character.
679 * ControlCitation.[Ch]: moved out all the helper functions and the
680 enums into their own file. Simplified interface.
681 * biblio.[Ch]: new files; contain the citation helper functions,
682 now inside namespace biblio. Will be of use also to an improved
685 * ControlGraphics.[Ch]:
686 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
687 popups, respectively.
690 * Makefile.am: associated changes.
692 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
694 * ControlMinipage.[Ch]:
695 * ControlPreamble.[Ch]:
697 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
698 and Print popups and Splash screen, respectively.
700 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
704 * Makefile.am: associated changes.
706 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
708 * ControlConnections.[Ch]: (docType): new method; returns the type
709 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
712 * ControlSearch.[Ch]:
713 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
714 Search and TabularCreate popups, respectively.
717 * Makefile.am: associated changes.
719 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
721 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
724 * ControlInset.h (apply): fix bug. Can now create new insets again.
726 * README: describe program flow.
728 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
730 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
732 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
734 * ControlDialogs.h: moved class ControlInset into its own file.
736 * ControlInset.h: new file. class ControlInset has been expanded to take
737 two template parameters, Inset and Params. Believe that all inset
738 controllers can be derived from this with the minimum of effort.
740 * ControlBibitem.[Ch]:
741 * ControlBibtex.[Ch]:
742 * ControlCitation.[Ch]:
743 * ControlCommand.[Ch]: moved most code into ControlInset.
745 * lots of files. Moved protected stuff into private where possible.
748 * ControlInclude.[Ch]:
749 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
750 Include and Url popups, respectively.
753 * Makefile.am: associated changes.
755 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
757 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
760 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
762 * ControlCredits.C (getCredits): remove std:: qualifier for
765 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
767 * ControlCredits.C (getCredits): add std:: on vector
769 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
771 * ControlCredits.C: remove using that is only used once, use
772 std::ios instead of std::iosbase, add some annoying comments.
774 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
776 * lots of header files: improved explanatory notes.
778 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
779 ControlBase is now a class that only controls the interaction of the
780 View with the ButtonController.
782 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
783 to ControlConnectBase. The class controls the connection/disconnection
784 of signals from the LyX kernel and makes available the kernel (through
785 lv_) to daughter controller classes.
786 Moved out class ControlConnectInset to a new file ControlDialogs.h.
788 * ControlDialogs.h: new file. Contains the definition of two template
789 controller classes, ControlDialog and ControlInset (was
790 ControlConnectInset). ControlInset is a parent class for controllers
791 of inset-popups. ControlDialogs is the rather uninspired name for
792 the base class of all non-inset popups. (Eg, Document and Paragraph.)
793 ControlDialogs is reaching a state of maturity as several popups now use
794 it and its functionality becomes clear. ControlInset is still in a state
795 of flux. It is likely that functionality will be moved out of
796 ControlCommands and into it.
798 * GUI.h: new file. Moved all the template GUIXXX classes out of the
799 individual Controller header files and into one place. These classes
800 serve only as convenient wrappers to simplify code in the respective
801 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
803 * ControlCharacter.[Ch] (show, update, hide):
804 * ControlLog.[Ch] (show, update, hide):
805 * ControlVCLog.[Ch] (show, update, hide): moved back into
806 the ControlDialogs base class.
807 (setParams, clearParams): new methods containing controller-specific
808 code to set/reset the parameters manipulated by the view.
810 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
812 (hide): calls clearParams.
814 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
815 by ControlCommand::hide().
817 * ControlCopyright.[Ch]:
818 * ControlCredits.[Ch]: new files; controllers for the copyright and
819 credits popups, respectively.
821 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
823 * ControlCharacter.C: fix typo
825 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlCharacter.[Ch]: new files; controller for the character popup.
829 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
830 moved to new files helper_funcs.[Ch].
832 * helper_funcs.[Ch]: new files. Some useful helper functions and
835 * Makefile.am: added new files.
837 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
839 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
841 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
844 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
845 Control log files, respectively.
847 * Makefile.am: added new files.
849 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
851 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
853 * Makefile.am: added ControlBibtex.[Ch].
855 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
858 * ControlCitation.C: added "using SigC::slot" declaration.
860 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
861 to FormCitation.C prior to the merger: "Do not put space between
864 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
866 * several files: remove CXX_WORKING_NAMESPACES
868 * ButtonController.h: noncopyable is in namespace boost
869 * ButtonPolicies.h: ditto
871 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
873 * Merging changes from BRANCH_MVC back into HEAD.
875 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
877 * Makefile.am: add ControlBibitem.[Ch].
879 * ControlBibitem.[Ch]: new files that together define the Controller
882 * ControlCommand.h (c-tor): give kb_action a default value of
885 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
887 * ControlCitation.[Ch]: moved search functions out of class.
888 (bibkeysInfo): new method. Returns const reference to private data.
889 (searchKeys): added case-sensitive switch. Used only by simpleSearch
892 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
894 * ControlCitation.[Ch]: added Search functions to the class,
895 (shamelessly lifted from Marco's gnome code). I think that these would
896 be better as helper functions outside the class, but this is a first
899 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
901 * ControlCitation.[Ch]: (getBibkeyList): removed from class
903 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
904 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
905 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
906 implementation of FormCitation.
908 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
910 * ButtonPolicies.h: add SMI_NOOP to enum.
912 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
914 * ButtonController.C (input): add "optimising" if-statement. Actually,
915 things don't work correctly without it...
917 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
919 * ViewBase.h: remove #pragma directive
921 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
924 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
926 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
928 * Makefile.am: added ButtonPolicies.[Ch]
930 * ButtonController.[Ch]: ButtonController is split into
931 ButtonControllerBase and a template ButtonController class. The base
932 class no longer stores a pointer to a ButtonPolicy, but instead
933 accesses the actual instantiation of the policy through a pure virtual
934 method bp(). This method and the ButtonPolicy itself are instantiated
935 in the templatised ButtonController class. This class is derived from
936 the GUI-specific GUIBC class, meaning that the frontends know
937 nothing about the actual policy decided upon by the controllers.
939 * ControlBase.[Ch]: No longer store the View or the ButtonController.
940 Instead the actual instantiations are accessed through pure virtual
941 methods view() and bc(). The daughter classes are responsible for the
942 actual View and ButtonController.
944 * ControlCitation.h: the templatised class GUICitation instantiates
945 the methods view() and bc(). It also stores the instances of the
946 View and ButtonController.
948 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
950 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
951 also changed to ButtonController.
954 * ControlConnections.[Ch]:
955 * ControlCommand.[Ch]:
956 * ControlCitation.[Ch]:
957 * ViewBase.h: Changes associated with this.
959 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
961 * ButtonControllerBase.[Ch]: new files. Split Allan's original
962 xforms/ButtonController class into a GUI-I class (here) and an
963 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
965 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
966 from which all Dialog Controllers should be derived. the Controllers
967 are GUI-independent, but are designed to control the behaviour of
968 GUI-specific implementaions of each dialog.
970 * ControlConnections.[Ch]: new files. Classes controlling the
971 connections of buffer-independent, buffer-dependent and Inset dialogs
974 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
975 InsetCommand subset of insets.
977 * ControlCitation.[Ch]: new files. The test specialisation! A
978 controller for the Citation dialog.
980 * ViewBase.h: new file. ViewBase is an abstract base class from which
981 GUI-specific dialogs should be derived. The functionality that the GUIs
982 must now implement is much reduced.