1 2002-01-20 Herbert Voss <voss@perce.de>
3 * ControlGraphic.C (Browse): add extension "ps" when browsing for
6 2002-01-19 Herbert Voss <voss@perce.de>
8 * biblio.C (getInfo): fix bug when no author is given
10 * biblio.C (parseBibTeX): change the parsing, so that
11 '#'-characters in a bibtex entry are no more a problem.
13 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
16 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
18 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
20 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
22 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
24 * ControlExternal.C (Browse): add a std:: qualifier
26 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
28 * ControlExternal.C (Browse): simplify to use browseRelFile
30 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
32 * ButtonController.tmpl: added // -*- C++ -*-
34 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
35 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
36 Needed in _one_ of the ControlCommand-derived classes only.
38 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
41 * ControlSearch.h: #include LString.h
43 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
45 * ButtonController.h: split into two. The definition remains in
46 ButtonController.h, the declaration is now in ButtonController.tmpl.
47 These template methods should be #included when the derived class is
48 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
49 and in the qt2 and gnome equivalents.
51 * ControlDialogs.h: removed. The definition of class ControlDialog is
52 now to be found in ControlDialog.h and the declaration of the methods
53 is in ControlDialog.tmpl. The two template instantiations are performed
54 in ControlDialog_impl.[Ch], new files also.
56 * ControlInset.h: split into two. The definition remains in
57 ControlInset.h, the declaration is now in ControlInset.tmpl.
58 These template methods should be #included derived class is
59 instantiated, in this case in 8 other .C files in this directory.
61 * ControlAboutlyx.[Ch]:
62 * ControlCharacter.[Ch]:
72 * ControlPreamble.[Ch]:
75 * ControlShowFile.[Ch]:
76 * ControlSpellchecker.[Ch]:
77 * ControlTabularCreate.[Ch]:
78 * ControlTexinfo.[Ch]:
79 * ControlThesaurus.[Ch]:
80 * ControlVCLog.[Ch]: small changes associated with the above ones.
82 * GUI.h: #include the ButtonController and dialog controller files
83 here, rather than forward declare them. This is the correct place
86 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
87 Rename ControlDialogs.h as ControlDialog.h.
88 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
91 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
93 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
95 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
97 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
100 * ControlGraphics.C (Browse): remove overzealous shortcut
102 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
104 * FormMinipage.C (apply, update): MinipageParams::width renamed
105 as MinipageParams::pageWidth. InsetMinipage::width renamed
106 as InsetMinipage::pageWidth.
108 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * ButtonController.h (refreshReadOnly): use explicit typename
112 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
114 * helper_funcs.h (browseFile): add default empty button descriptions.
116 * ControlGraphics.C (Browse):
117 * ControlBibtex.C (Browse):
118 * ControlInclude.C (Browse): add shortcuts to directory buttons
120 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
122 * ControlThesaurus.h:
123 * ControlThesaurus.C: update to Aiksaurus 0.14
125 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlSpellchecker.C (clearParams): show the closing message
128 only if some words have been checked, thereby fixing
131 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
133 * ControlFloat.[Ch]: changes to prevent here definitely being used
136 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
138 * ControlThesaurus.h: do not include <config.h> in header files
140 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
142 * ControlToc.C: changes for floatlist
144 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
146 * ControlVCLog.C: use _()
148 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
150 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
153 2001-10-22 Juergen Vigna <jug@sad.it>
155 * ControlSpellchecker.C (clearParams): use the error_ message of the
156 speller_ if available when the spellchecker died.
157 (setParams): remove double error message display.
159 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
161 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
163 * helper_funcs.[Ch] (getLatexUnits): see above.
165 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
167 * ControlTexinfo.C (getContents): use the right file for .sty files
169 2001-10-10 Herbert Voss <voss@perce.de>
171 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
172 and some more stuff from FormTexinfo.C
174 * ControlShowFile.C: hiding the update-button
176 2001-10-09 Herbert Voss <voss@perce.de>
178 * ControlTexinfo.[Ch]: new files. Display information about the
179 installed texfiles (cls,sty,bst).
181 * ControlShowFile.[Ch]: new files. Display the contents of a file.
183 * GUI.h: added classes GUIShowFile and GUITexinfo.
185 * Makefile.am: modified appropriately.
187 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
189 * ControlAboutlyx.C (getVersion): use lyx_version and
190 lyx_release_date instead of old macros
192 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
194 * ControlSpellchecker.C (check): Behaves well now when the spell
195 library doesn't know a replacement to an incorrect word.
197 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
199 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
200 the correct place. Can now check spelling more than once!
202 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlSplash.[Ch]: removed.
206 * GUI.h: remove GUISplash class.
208 * ViewBase.h: remove ViewSplash class.
210 * Makefile.am: remove ControlSplash.[Ch].
212 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
214 * ControlButtons.h: add variable emergency_exit_. If set to true, the
215 view will be shut down.
218 * ControlInset.h: act on emergency_exit_.
220 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
221 speller fails to launch.
223 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
226 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
228 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
230 * ControlRef.h (disconnectOnApply): new method. Set to true.
231 Perhaps make this user-modifiable?
233 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
235 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
238 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
240 * ControlRef.C (getBufferList, getBufferNum): New methods
242 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
245 of the dialog when the Apply button is pressed. Defaults to false,
246 but can be overridden in the daughter classes.
248 * ControlCitation.h (disconnectOnApply): new method. Set to true.
249 Perhaps make this user-modifiable?
251 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
254 we have dialogs that update their contents when the buffer changes.
255 Rather embarassing, really!
257 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
259 * ControlSearch (replace): change semantics of replace to NOT move on
260 to the next instance of a word once the present instance has been
261 replaced unless we are replacing ALL instances of the word.
263 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
265 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
267 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
269 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
270 dialog, set all options to "reset", close the dialog, re-open it ->
271 the options are set incorrectly.
273 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
274 When Applying it's useful to know whether the dialog is about to close
275 or not (no point refreshing the display for example).
277 * ControlInset.C (apply): use isClosing.
279 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
282 * ControlDialogs.h: remove bc() hack, now fixed in
283 Qt2 frontend. use member dialog_built_ instead of shared
286 * ButtonController.h:
287 * ButtonPolicies.C: more debug info
289 * ButtonControllerBase.C: call refresh() when setting readOnly !
291 * GUI.h: External form has apply, use the right policy
293 * character.C: fix two off-by-one errors when latex font was removed
295 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlInset.h (apply): tentative fix for the press Apply multiple
298 times and get multiple new Insets problem.
300 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
302 * ControlCharacter.C: fix typo
306 * ControlInsets.C: make sure dialog is built before it is shown, so
307 it works properly the very first time it is shown
309 2001-08-20 Herbert Voss <voss@perce.de>
311 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
312 and styles. Added an option for "bibliography into toc"
314 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
316 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
317 LaTeX is no longer a font property.
319 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
321 * GUI.h: Button controller for Reference dialog changed to
322 NoRepeatedApplyReadOnlyPolicy.
324 * biblio.C (getInfo): output volume and number info. Move year to end
327 2001-08-09 Allan Rae <rae@lyx.org>
329 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
331 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
333 * helper_funcs.C (getVectorFromString): fixed small bug.
335 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
337 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
339 * ControlSpellchecker.C: check next word after insert in personal dict
341 2001-08-06 Juergen Vigna <jug@sad.it>
343 * ControlERT.[Ch]: new file
345 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlInset.h: const and non-const forms of params().
349 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
350 whitespace from either side of each item.
352 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlFloat.h: add a != operator for FloatParams.
355 Lars, how did you get this to compile!!!
357 * ControlMinipage.[Ch]: uncommented someone's commenting out of
358 operator != for MinipageParams. Who's changing stuff and not compiling?
360 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
365 * GUI.h: add class GUIFloat
367 * ControlFloat.[Ch]: new files
369 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * ControlPrint.C: #include Lassert.h here.
373 2001-07-26 Baruch Even <baruch@lyx.org>
375 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
378 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
380 * ControlThesaurus.h:
381 * ControlThesaurus.C:
383 * Makefile.am: thesaurus support
385 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
388 * ControlInclude.C: implement ability to load file
390 2001-07-18 Juergen Vigna <jug@sad.it>
392 * ControlSearch.C (replace): changes to lyxfind.h function calls.
394 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * biblio.C (getInfo): add a .c_str() to handle the usual
399 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
401 * ControlCitation.[Ch]: changes associated with adding natbib support.
402 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
403 New static variable citeStyles_.
405 * biblio.[Ch]: large internal rearrangement.
406 New public enum CiteStyle.
407 New public struct CitationStyle.
408 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
409 getNumericalStrings, getAuthorYearStrings
410 (simpleSearch, regexSearch): no longer publicly accessible.
412 * helper_funcs.C (getStringFromVector): bug fix.
414 2001-07-16 Baruch Even <baruch@lyx.org>
416 * ControlVCLog.h: Added Lsstream.h to includes.
418 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlSpellchecker.[Ch]: remove d-tor.
422 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
424 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
426 2001-07-16 Juergen Vigna <jug@sad.it>
428 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
429 compiled with USE_PSPELL) to be able to switch between ISpell and
432 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
434 Consistent use of Lsstream.h:
435 * ControlAboutlyx.[Ch] (getCredits):
436 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
440 * ControlCredits.[Ch]: removed
441 * ControlCopyright.[Ch]: removed
442 * ControlAboutlyx.[Ch]: added (replaces previous)
443 * GUI.h: removed credits and copyright added about lyx stuff
445 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * ControlSpellchecker.C (getSuggestion):
448 (getWord): add std:: qualifier
450 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
452 * ControlSpellchecker.[Ch]: added
453 * ViewBase.h: added partialUpdate(int) member
454 * GUI.h: added spell stuff
456 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * ControlExternal.C: (*it). -> it->
460 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
462 * ButtonController.h: move some included header files out of the
463 frontends and into here.
465 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
467 * ControlCharacter.C (c-tor): cosmetic name change of signal.
469 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
471 * *.[h]: added // -*- C++ -*-
472 * *.[C]: removed // -*- C++ -*-
474 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
475 activate Apply button.
476 (clearParams): removed.
477 font_ is now stored as a boost::scoped_ptr.
478 font_ is no longer deleted on hide(), so it's contents can now be used
479 by the Font button on the toolbar.
480 Lots of new methods so that the GUI can easily get the contents of
481 font_ when it update()s.
483 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
485 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
486 crash when the Font button on the Toolbar is pressed.
488 * GUI.h: change policy of Character button controller to
489 OkApplyCancelReadOnlyPolicy.
491 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * ControlToc.C (getContents): don't add anything to the list if it
494 is supposed to be empty.
496 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
498 * helper_funcs.C (getVectorFromString): bug fix.
500 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
503 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
504 from ButtonControllerBase::readOnly. Updates the state of the widgets
505 in the read-only list only when the read-only status of the document
507 (refresh): moved this stuff into refreshReadOnly.
509 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
511 * ControlPrint.C (c-tor):
512 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
514 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
517 * character.h: small clean-ups.
519 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
521 * ControlToc.C (getType): remove support for old float list.
523 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
526 * ControlGraphics.h: no longer include insetgraphicsParams.h
527 * ControlInset.h: no longer include LyXView.h
532 * ControlCharacter.C:
535 * ControlConnections.C:
536 * ControlCopyright.C:
548 * ControlTabularCreate.C:
550 * ControlVCLog.C: they're now in here!
552 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
554 * ButtonControllerBase.h: C++ mode, inherit privately from
556 * ButtonPolicies.h: ditto
558 * ButtonController.h: C++ mode, swap init order of restore_ and
561 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
563 * ControlTabularCreate.h:
564 * ControlTabularCreate.C: make dialogs use a pair of uints
568 * ControlVCLog.C: fill a stringstream with the log contents
571 * ControlExternal.C: from Angus, clone the new InsetExternal
574 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
576 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
577 and made more robust.
579 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
588 * ControlCopyright.C: include gettext.h
590 * ControlCharacter.C:
591 * character.C: include gettext.h and language.h
593 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
595 * ButtonController.h:
596 * ButtonControllerBase.h:
597 * ButtonControllerBase.C:
604 * ControlConnections.h:
610 * ViewBase.h: s/ControlButton/ControlButtons/
612 s/UndoAll/Restore/ + associated
614 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
616 * ControlToc.[Ch]: new files; a controller for the TOC popup.
619 * Makefile.am: associated changes with all of the above.
621 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
623 * ControlExternal.C: bug fixes. Can now apply changes to the inset
624 and edit, view, update the External Material correctly. I hope!
626 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
628 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
630 * BCTemplates.h: renamed as ButtonController.h
632 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
635 * ControlConnections.h: associated change in #include and class names.
637 * ControlExternal.[Ch]: new files; a controller for the External
641 * Makefile.am: associated changes with all of the above.
643 * ControlGraphics.[Ch]:
644 * ControlInclude.[Ch]:
647 (Browse): new method. Returns the results of a FileDialog browse.
649 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
650 (getVectorFromString): fixed bug.
652 * biblio.C (simpleSearch): cleaned up.
654 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
656 * A slight reworking of Baruch Even's ButtonController patch.
658 * BCTemplates.h: new file; all the templates for the ButtonController.
659 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
660 to the more generic setButtonLabel().
662 * ButtonController.[Ch]: renamed cancel_label and close_label as
663 cancel_label_ and close_label_.
665 * Makefile.am: added BCTemplates.h
667 2001-03-29 Juergen Vigna <jug@sad.it>
669 * ControlMinipage.C: removed widthp_ and all it's functions and changed
670 to use new %-lengths of LyXLength.
672 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
674 * ControlCitation.C (bibkeysInfo): removed Assert.
676 * ControlCopyright.h: moved GUICopyright into GUI.h
680 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
682 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
683 (setDaughterParams): a (by default empty) new method called in show().
692 * ControlUrl.h (clearDaughterParams): removed
694 * ControlMinipage.C (applyParamsToInset): update the view.
695 Added namespace minipage containing a helper function getUnits.
697 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
699 * ControlCharacter.[Ch]: moved out all the helper functions and the
700 enum into their own file.
701 * character.[Ch]: new files; contain the character helper functions,
702 now inside namespace character.
704 * ControlCitation.[Ch]: moved out all the helper functions and the
705 enums into their own file. Simplified interface.
706 * biblio.[Ch]: new files; contain the citation helper functions,
707 now inside namespace biblio. Will be of use also to an improved
710 * ControlGraphics.[Ch]:
711 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
712 popups, respectively.
715 * Makefile.am: associated changes.
717 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
719 * ControlMinipage.[Ch]:
720 * ControlPreamble.[Ch]:
722 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
723 and Print popups and Splash screen, respectively.
725 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
729 * Makefile.am: associated changes.
731 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
733 * ControlConnections.[Ch]: (docType): new method; returns the type
734 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
737 * ControlSearch.[Ch]:
738 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
739 Search and TabularCreate popups, respectively.
742 * Makefile.am: associated changes.
744 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
746 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
749 * ControlInset.h (apply): fix bug. Can now create new insets again.
751 * README: describe program flow.
753 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
755 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
757 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
759 * ControlDialogs.h: moved class ControlInset into its own file.
761 * ControlInset.h: new file. class ControlInset has been expanded to take
762 two template parameters, Inset and Params. Believe that all inset
763 controllers can be derived from this with the minimum of effort.
765 * ControlBibitem.[Ch]:
766 * ControlBibtex.[Ch]:
767 * ControlCitation.[Ch]:
768 * ControlCommand.[Ch]: moved most code into ControlInset.
770 * lots of files. Moved protected stuff into private where possible.
773 * ControlInclude.[Ch]:
774 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
775 Include and Url popups, respectively.
778 * Makefile.am: associated changes.
780 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
782 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
785 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
787 * ControlCredits.C (getCredits): remove std:: qualifier for
790 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
792 * ControlCredits.C (getCredits): add std:: on vector
794 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
796 * ControlCredits.C: remove using that is only used once, use
797 std::ios instead of std::iosbase, add some annoying comments.
799 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
801 * lots of header files: improved explanatory notes.
803 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
804 ControlBase is now a class that only controls the interaction of the
805 View with the ButtonController.
807 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
808 to ControlConnectBase. The class controls the connection/disconnection
809 of signals from the LyX kernel and makes available the kernel (through
810 lv_) to daughter controller classes.
811 Moved out class ControlConnectInset to a new file ControlDialogs.h.
813 * ControlDialogs.h: new file. Contains the definition of two template
814 controller classes, ControlDialog and ControlInset (was
815 ControlConnectInset). ControlInset is a parent class for controllers
816 of inset-popups. ControlDialogs is the rather uninspired name for
817 the base class of all non-inset popups. (Eg, Document and Paragraph.)
818 ControlDialogs is reaching a state of maturity as several popups now use
819 it and its functionality becomes clear. ControlInset is still in a state
820 of flux. It is likely that functionality will be moved out of
821 ControlCommands and into it.
823 * GUI.h: new file. Moved all the template GUIXXX classes out of the
824 individual Controller header files and into one place. These classes
825 serve only as convenient wrappers to simplify code in the respective
826 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
828 * ControlCharacter.[Ch] (show, update, hide):
829 * ControlLog.[Ch] (show, update, hide):
830 * ControlVCLog.[Ch] (show, update, hide): moved back into
831 the ControlDialogs base class.
832 (setParams, clearParams): new methods containing controller-specific
833 code to set/reset the parameters manipulated by the view.
835 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
837 (hide): calls clearParams.
839 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
840 by ControlCommand::hide().
842 * ControlCopyright.[Ch]:
843 * ControlCredits.[Ch]: new files; controllers for the copyright and
844 credits popups, respectively.
846 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
848 * ControlCharacter.C: fix typo
850 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
852 * ControlCharacter.[Ch]: new files; controller for the character popup.
854 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
855 moved to new files helper_funcs.[Ch].
857 * helper_funcs.[Ch]: new files. Some useful helper functions and
860 * Makefile.am: added new files.
862 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
864 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
866 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
869 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
870 Control log files, respectively.
872 * Makefile.am: added new files.
874 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
876 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
878 * Makefile.am: added ControlBibtex.[Ch].
880 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
883 * ControlCitation.C: added "using SigC::slot" declaration.
885 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
886 to FormCitation.C prior to the merger: "Do not put space between
889 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
891 * several files: remove CXX_WORKING_NAMESPACES
893 * ButtonController.h: noncopyable is in namespace boost
894 * ButtonPolicies.h: ditto
896 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
898 * Merging changes from BRANCH_MVC back into HEAD.
900 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
902 * Makefile.am: add ControlBibitem.[Ch].
904 * ControlBibitem.[Ch]: new files that together define the Controller
907 * ControlCommand.h (c-tor): give kb_action a default value of
910 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
912 * ControlCitation.[Ch]: moved search functions out of class.
913 (bibkeysInfo): new method. Returns const reference to private data.
914 (searchKeys): added case-sensitive switch. Used only by simpleSearch
917 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
919 * ControlCitation.[Ch]: added Search functions to the class,
920 (shamelessly lifted from Marco's gnome code). I think that these would
921 be better as helper functions outside the class, but this is a first
924 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
926 * ControlCitation.[Ch]: (getBibkeyList): removed from class
928 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
929 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
930 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
931 implementation of FormCitation.
933 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
935 * ButtonPolicies.h: add SMI_NOOP to enum.
937 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
939 * ButtonController.C (input): add "optimising" if-statement. Actually,
940 things don't work correctly without it...
942 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
944 * ViewBase.h: remove #pragma directive
946 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
949 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
951 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
953 * Makefile.am: added ButtonPolicies.[Ch]
955 * ButtonController.[Ch]: ButtonController is split into
956 ButtonControllerBase and a template ButtonController class. The base
957 class no longer stores a pointer to a ButtonPolicy, but instead
958 accesses the actual instantiation of the policy through a pure virtual
959 method bp(). This method and the ButtonPolicy itself are instantiated
960 in the templatised ButtonController class. This class is derived from
961 the GUI-specific GUIBC class, meaning that the frontends know
962 nothing about the actual policy decided upon by the controllers.
964 * ControlBase.[Ch]: No longer store the View or the ButtonController.
965 Instead the actual instantiations are accessed through pure virtual
966 methods view() and bc(). The daughter classes are responsible for the
967 actual View and ButtonController.
969 * ControlCitation.h: the templatised class GUICitation instantiates
970 the methods view() and bc(). It also stores the instances of the
971 View and ButtonController.
973 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
975 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
976 also changed to ButtonController.
979 * ControlConnections.[Ch]:
980 * ControlCommand.[Ch]:
981 * ControlCitation.[Ch]:
982 * ViewBase.h: Changes associated with this.
984 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
986 * ButtonControllerBase.[Ch]: new files. Split Allan's original
987 xforms/ButtonController class into a GUI-I class (here) and an
988 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
990 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
991 from which all Dialog Controllers should be derived. the Controllers
992 are GUI-independent, but are designed to control the behaviour of
993 GUI-specific implementaions of each dialog.
995 * ControlConnections.[Ch]: new files. Classes controlling the
996 connections of buffer-independent, buffer-dependent and Inset dialogs
999 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1000 InsetCommand subset of insets.
1002 * ControlCitation.[Ch]: new files. The test specialisation! A
1003 controller for the Citation dialog.
1005 * ViewBase.h: new file. ViewBase is an abstract base class from which
1006 GUI-specific dialogs should be derived. The functionality that the GUIs
1007 must now implement is much reduced.