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