1 2001-10-09 Herbert Voss <voss@perce.de>
3 * ControlTexinfo.[Ch]: new files. Display information about the
4 installed texfiles (cls,sty,bst).
6 * ControlShowFile.[Ch]: new files. Display the contents of a file.
8 * GUI.h: added classes GUIShowFile and GUITexinfo.
10 * Makefile.am: modified appropriately.
12 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14 * ControlAboutlyx.C (getVersion): use lyx_version and
15 lyx_release_date instead of old macros
17 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
19 * ControlSpellchecker.C (check): Behaves well now when the spell
20 library doesn't know a replacement to an incorrect word.
22 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
24 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
25 the correct place. Can now check spelling more than once!
27 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
29 * ControlSplash.[Ch]: removed.
31 * GUI.h: remove GUISplash class.
33 * ViewBase.h: remove ViewSplash class.
35 * Makefile.am: remove ControlSplash.[Ch].
37 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
39 * ControlButtons.h: add variable emergency_exit_. If set to true, the
40 view will be shut down.
43 * ControlInset.h: act on emergency_exit_.
45 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
46 speller fails to launch.
48 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
51 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
53 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
55 * ControlRef.h (disconnectOnApply): new method. Set to true.
56 Perhaps make this user-modifiable?
58 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
63 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
65 * ControlRef.C (getBufferList, getBufferNum): New methods
67 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
70 of the dialog when the Apply button is pressed. Defaults to false,
71 but can be overridden in the daughter classes.
73 * ControlCitation.h (disconnectOnApply): new method. Set to true.
74 Perhaps make this user-modifiable?
76 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
78 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
79 we have dialogs that update their contents when the buffer changes.
80 Rather embarassing, really!
82 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
84 * ControlSearch (replace): change semantics of replace to NOT move on
85 to the next instance of a word once the present instance has been
86 replaced unless we are replacing ALL instances of the word.
88 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
90 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
92 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
95 dialog, set all options to "reset", close the dialog, re-open it ->
96 the options are set incorrectly.
98 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
99 When Applying it's useful to know whether the dialog is about to close
100 or not (no point refreshing the display for example).
102 * ControlInset.C (apply): use isClosing.
104 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
107 * ControlDialogs.h: remove bc() hack, now fixed in
108 Qt2 frontend. use member dialog_built_ instead of shared
111 * ButtonController.h:
112 * ButtonPolicies.C: more debug info
114 * ButtonControllerBase.C: call refresh() when setting readOnly !
116 * GUI.h: External form has apply, use the right policy
118 * character.C: fix two off-by-one errors when latex font was removed
120 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlInset.h (apply): tentative fix for the press Apply multiple
123 times and get multiple new Insets problem.
125 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
127 * ControlCharacter.C: fix typo
131 * ControlInsets.C: make sure dialog is built before it is shown, so
132 it works properly the very first time it is shown
134 2001-08-20 Herbert Voss <voss@perce.de>
136 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
137 and styles. Added an option for "bibliography into toc"
139 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
141 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
142 LaTeX is no longer a font property.
144 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
146 * GUI.h: Button controller for Reference dialog changed to
147 NoRepeatedApplyReadOnlyPolicy.
149 * biblio.C (getInfo): output volume and number info. Move year to end
152 2001-08-09 Allan Rae <rae@lyx.org>
154 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
156 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
158 * helper_funcs.C (getVectorFromString): fixed small bug.
160 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
162 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
164 * ControlSpellchecker.C: check next word after insert in personal dict
166 2001-08-06 Juergen Vigna <jug@sad.it>
168 * ControlERT.[Ch]: new file
170 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
172 * ControlInset.h: const and non-const forms of params().
174 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
175 whitespace from either side of each item.
177 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
179 * ControlFloat.h: add a != operator for FloatParams.
180 Lars, how did you get this to compile!!!
182 * ControlMinipage.[Ch]: uncommented someone's commenting out of
183 operator != for MinipageParams. Who's changing stuff and not compiling?
185 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
187 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
190 * GUI.h: add class GUIFloat
192 * ControlFloat.[Ch]: new files
194 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
196 * ControlPrint.C: #include Lassert.h here.
198 2001-07-26 Baruch Even <baruch@lyx.org>
200 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
203 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
205 * ControlThesaurus.h:
206 * ControlThesaurus.C:
208 * Makefile.am: thesaurus support
210 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
213 * ControlInclude.C: implement ability to load file
215 2001-07-18 Juergen Vigna <jug@sad.it>
217 * ControlSearch.C (replace): changes to lyxfind.h function calls.
219 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
221 * biblio.C (getInfo): add a .c_str() to handle the usual
224 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
226 * ControlCitation.[Ch]: changes associated with adding natbib support.
227 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
228 New static variable citeStyles_.
230 * biblio.[Ch]: large internal rearrangement.
231 New public enum CiteStyle.
232 New public struct CitationStyle.
233 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
234 getNumericalStrings, getAuthorYearStrings
235 (simpleSearch, regexSearch): no longer publicly accessible.
237 * helper_funcs.C (getStringFromVector): bug fix.
239 2001-07-16 Baruch Even <baruch@lyx.org>
241 * ControlVCLog.h: Added Lsstream.h to includes.
243 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
245 * ControlSpellchecker.[Ch]: remove d-tor.
247 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
249 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
251 2001-07-16 Juergen Vigna <jug@sad.it>
253 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
254 compiled with USE_PSPELL) to be able to switch between ISpell and
257 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
259 Consistent use of Lsstream.h:
260 * ControlAboutlyx.[Ch] (getCredits):
261 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
263 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
265 * ControlCredits.[Ch]: removed
266 * ControlCopyright.[Ch]: removed
267 * ControlAboutlyx.[Ch]: added (replaces previous)
268 * GUI.h: removed credits and copyright added about lyx stuff
270 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
272 * ControlSpellchecker.C (getSuggestion):
273 (getWord): add std:: qualifier
275 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
277 * ControlSpellchecker.[Ch]: added
278 * ViewBase.h: added partialUpdate(int) member
279 * GUI.h: added spell stuff
281 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
283 * ControlExternal.C: (*it). -> it->
285 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
287 * ButtonController.h: move some included header files out of the
288 frontends and into here.
290 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlCharacter.C (c-tor): cosmetic name change of signal.
294 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
296 * *.[h]: added // -*- C++ -*-
297 * *.[C]: removed // -*- C++ -*-
299 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
300 activate Apply button.
301 (clearParams): removed.
302 font_ is now stored as a boost::scoped_ptr.
303 font_ is no longer deleted on hide(), so it's contents can now be used
304 by the Font button on the toolbar.
305 Lots of new methods so that the GUI can easily get the contents of
306 font_ when it update()s.
308 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
311 crash when the Font button on the Toolbar is pressed.
313 * GUI.h: change policy of Character button controller to
314 OkApplyCancelReadOnlyPolicy.
316 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
318 * ControlToc.C (getContents): don't add anything to the list if it
319 is supposed to be empty.
321 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
323 * helper_funcs.C (getVectorFromString): bug fix.
325 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
328 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
329 from ButtonControllerBase::readOnly. Updates the state of the widgets
330 in the read-only list only when the read-only status of the document
332 (refresh): moved this stuff into refreshReadOnly.
334 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
336 * ControlPrint.C (c-tor):
337 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
339 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
342 * character.h: small clean-ups.
344 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
346 * ControlToc.C (getType): remove support for old float list.
348 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
350 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
351 * ControlGraphics.h: no longer include insetgraphicsParams.h
352 * ControlInset.h: no longer include LyXView.h
357 * ControlCharacter.C:
360 * ControlConnections.C:
361 * ControlCopyright.C:
373 * ControlTabularCreate.C:
375 * ControlVCLog.C: they're now in here!
377 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * ButtonControllerBase.h: C++ mode, inherit privately from
381 * ButtonPolicies.h: ditto
383 * ButtonController.h: C++ mode, swap init order of restore_ and
386 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
388 * ControlTabularCreate.h:
389 * ControlTabularCreate.C: make dialogs use a pair of uints
393 * ControlVCLog.C: fill a stringstream with the log contents
396 * ControlExternal.C: from Angus, clone the new InsetExternal
399 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
401 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
402 and made more robust.
404 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
413 * ControlCopyright.C: include gettext.h
415 * ControlCharacter.C:
416 * character.C: include gettext.h and language.h
418 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
420 * ButtonController.h:
421 * ButtonControllerBase.h:
422 * ButtonControllerBase.C:
429 * ControlConnections.h:
435 * ViewBase.h: s/ControlButton/ControlButtons/
437 s/UndoAll/Restore/ + associated
439 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
441 * ControlToc.[Ch]: new files; a controller for the TOC popup.
444 * Makefile.am: associated changes with all of the above.
446 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlExternal.C: bug fixes. Can now apply changes to the inset
449 and edit, view, update the External Material correctly. I hope!
451 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
453 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
455 * BCTemplates.h: renamed as ButtonController.h
457 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
460 * ControlConnections.h: associated change in #include and class names.
462 * ControlExternal.[Ch]: new files; a controller for the External
466 * Makefile.am: associated changes with all of the above.
468 * ControlGraphics.[Ch]:
469 * ControlInclude.[Ch]:
472 (Browse): new method. Returns the results of a FileDialog browse.
474 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
475 (getVectorFromString): fixed bug.
477 * biblio.C (simpleSearch): cleaned up.
479 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
481 * A slight reworking of Baruch Even's ButtonController patch.
483 * BCTemplates.h: new file; all the templates for the ButtonController.
484 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
485 to the more generic setButtonLabel().
487 * ButtonController.[Ch]: renamed cancel_label and close_label as
488 cancel_label_ and close_label_.
490 * Makefile.am: added BCTemplates.h
492 2001-03-29 Juergen Vigna <jug@sad.it>
494 * ControlMinipage.C: removed widthp_ and all it's functions and changed
495 to use new %-lengths of LyXLength.
497 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
499 * ControlCitation.C (bibkeysInfo): removed Assert.
501 * ControlCopyright.h: moved GUICopyright into GUI.h
505 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
507 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
508 (setDaughterParams): a (by default empty) new method called in show().
517 * ControlUrl.h (clearDaughterParams): removed
519 * ControlMinipage.C (applyParamsToInset): update the view.
520 Added namespace minipage containing a helper function getUnits.
522 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
524 * ControlCharacter.[Ch]: moved out all the helper functions and the
525 enum into their own file.
526 * character.[Ch]: new files; contain the character helper functions,
527 now inside namespace character.
529 * ControlCitation.[Ch]: moved out all the helper functions and the
530 enums into their own file. Simplified interface.
531 * biblio.[Ch]: new files; contain the citation helper functions,
532 now inside namespace biblio. Will be of use also to an improved
535 * ControlGraphics.[Ch]:
536 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
537 popups, respectively.
540 * Makefile.am: associated changes.
542 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
544 * ControlMinipage.[Ch]:
545 * ControlPreamble.[Ch]:
547 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
548 and Print popups and Splash screen, respectively.
550 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
554 * Makefile.am: associated changes.
556 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
558 * ControlConnections.[Ch]: (docType): new method; returns the type
559 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
562 * ControlSearch.[Ch]:
563 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
564 Search and TabularCreate popups, respectively.
567 * Makefile.am: associated changes.
569 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
571 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
574 * ControlInset.h (apply): fix bug. Can now create new insets again.
576 * README: describe program flow.
578 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
580 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
582 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
584 * ControlDialogs.h: moved class ControlInset into its own file.
586 * ControlInset.h: new file. class ControlInset has been expanded to take
587 two template parameters, Inset and Params. Believe that all inset
588 controllers can be derived from this with the minimum of effort.
590 * ControlBibitem.[Ch]:
591 * ControlBibtex.[Ch]:
592 * ControlCitation.[Ch]:
593 * ControlCommand.[Ch]: moved most code into ControlInset.
595 * lots of files. Moved protected stuff into private where possible.
598 * ControlInclude.[Ch]:
599 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
600 Include and Url popups, respectively.
603 * Makefile.am: associated changes.
605 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
607 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
610 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
612 * ControlCredits.C (getCredits): remove std:: qualifier for
615 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
617 * ControlCredits.C (getCredits): add std:: on vector
619 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
621 * ControlCredits.C: remove using that is only used once, use
622 std::ios instead of std::iosbase, add some annoying comments.
624 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
626 * lots of header files: improved explanatory notes.
628 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
629 ControlBase is now a class that only controls the interaction of the
630 View with the ButtonController.
632 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
633 to ControlConnectBase. The class controls the connection/disconnection
634 of signals from the LyX kernel and makes available the kernel (through
635 lv_) to daughter controller classes.
636 Moved out class ControlConnectInset to a new file ControlDialogs.h.
638 * ControlDialogs.h: new file. Contains the definition of two template
639 controller classes, ControlDialog and ControlInset (was
640 ControlConnectInset). ControlInset is a parent class for controllers
641 of inset-popups. ControlDialogs is the rather uninspired name for
642 the base class of all non-inset popups. (Eg, Document and Paragraph.)
643 ControlDialogs is reaching a state of maturity as several popups now use
644 it and its functionality becomes clear. ControlInset is still in a state
645 of flux. It is likely that functionality will be moved out of
646 ControlCommands and into it.
648 * GUI.h: new file. Moved all the template GUIXXX classes out of the
649 individual Controller header files and into one place. These classes
650 serve only as convenient wrappers to simplify code in the respective
651 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
653 * ControlCharacter.[Ch] (show, update, hide):
654 * ControlLog.[Ch] (show, update, hide):
655 * ControlVCLog.[Ch] (show, update, hide): moved back into
656 the ControlDialogs base class.
657 (setParams, clearParams): new methods containing controller-specific
658 code to set/reset the parameters manipulated by the view.
660 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
662 (hide): calls clearParams.
664 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
665 by ControlCommand::hide().
667 * ControlCopyright.[Ch]:
668 * ControlCredits.[Ch]: new files; controllers for the copyright and
669 credits popups, respectively.
671 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
673 * ControlCharacter.C: fix typo
675 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
677 * ControlCharacter.[Ch]: new files; controller for the character popup.
679 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
680 moved to new files helper_funcs.[Ch].
682 * helper_funcs.[Ch]: new files. Some useful helper functions and
685 * Makefile.am: added new files.
687 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
689 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
691 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
694 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
695 Control log files, respectively.
697 * Makefile.am: added new files.
699 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
701 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
703 * Makefile.am: added ControlBibtex.[Ch].
705 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
708 * ControlCitation.C: added "using SigC::slot" declaration.
710 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
711 to FormCitation.C prior to the merger: "Do not put space between
714 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
716 * several files: remove CXX_WORKING_NAMESPACES
718 * ButtonController.h: noncopyable is in namespace boost
719 * ButtonPolicies.h: ditto
721 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
723 * Merging changes from BRANCH_MVC back into HEAD.
725 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
727 * Makefile.am: add ControlBibitem.[Ch].
729 * ControlBibitem.[Ch]: new files that together define the Controller
732 * ControlCommand.h (c-tor): give kb_action a default value of
735 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
737 * ControlCitation.[Ch]: moved search functions out of class.
738 (bibkeysInfo): new method. Returns const reference to private data.
739 (searchKeys): added case-sensitive switch. Used only by simpleSearch
742 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
744 * ControlCitation.[Ch]: added Search functions to the class,
745 (shamelessly lifted from Marco's gnome code). I think that these would
746 be better as helper functions outside the class, but this is a first
749 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
751 * ControlCitation.[Ch]: (getBibkeyList): removed from class
753 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
754 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
755 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
756 implementation of FormCitation.
758 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
760 * ButtonPolicies.h: add SMI_NOOP to enum.
762 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
764 * ButtonController.C (input): add "optimising" if-statement. Actually,
765 things don't work correctly without it...
767 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
769 * ViewBase.h: remove #pragma directive
771 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
774 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
776 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
778 * Makefile.am: added ButtonPolicies.[Ch]
780 * ButtonController.[Ch]: ButtonController is split into
781 ButtonControllerBase and a template ButtonController class. The base
782 class no longer stores a pointer to a ButtonPolicy, but instead
783 accesses the actual instantiation of the policy through a pure virtual
784 method bp(). This method and the ButtonPolicy itself are instantiated
785 in the templatised ButtonController class. This class is derived from
786 the GUI-specific GUIBC class, meaning that the frontends know
787 nothing about the actual policy decided upon by the controllers.
789 * ControlBase.[Ch]: No longer store the View or the ButtonController.
790 Instead the actual instantiations are accessed through pure virtual
791 methods view() and bc(). The daughter classes are responsible for the
792 actual View and ButtonController.
794 * ControlCitation.h: the templatised class GUICitation instantiates
795 the methods view() and bc(). It also stores the instances of the
796 View and ButtonController.
798 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
800 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
801 also changed to ButtonController.
804 * ControlConnections.[Ch]:
805 * ControlCommand.[Ch]:
806 * ControlCitation.[Ch]:
807 * ViewBase.h: Changes associated with this.
809 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
811 * ButtonControllerBase.[Ch]: new files. Split Allan's original
812 xforms/ButtonController class into a GUI-I class (here) and an
813 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
815 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
816 from which all Dialog Controllers should be derived. the Controllers
817 are GUI-independent, but are designed to control the behaviour of
818 GUI-specific implementaions of each dialog.
820 * ControlConnections.[Ch]: new files. Classes controlling the
821 connections of buffer-independent, buffer-dependent and Inset dialogs
824 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
825 InsetCommand subset of insets.
827 * ControlCitation.[Ch]: new files. The test specialisation! A
828 controller for the Citation dialog.
830 * ViewBase.h: new file. ViewBase is an abstract base class from which
831 GUI-specific dialogs should be derived. The functionality that the GUIs
832 must now implement is much reduced.