1 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * ControlTexinfo.C (getContents): use the right file for .sty files
5 2001-10-10 Herbert Voss <voss@perce.de>
7 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
8 and some more stuff from FormTexinfo.C
10 * ControlShowFile.C: hiding the update-button
12 2001-10-09 Herbert Voss <voss@perce.de>
14 * ControlTexinfo.[Ch]: new files. Display information about the
15 installed texfiles (cls,sty,bst).
17 * ControlShowFile.[Ch]: new files. Display the contents of a file.
19 * GUI.h: added classes GUIShowFile and GUITexinfo.
21 * Makefile.am: modified appropriately.
23 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
25 * ControlAboutlyx.C (getVersion): use lyx_version and
26 lyx_release_date instead of old macros
28 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
30 * ControlSpellchecker.C (check): Behaves well now when the spell
31 library doesn't know a replacement to an incorrect word.
33 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
35 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
36 the correct place. Can now check spelling more than once!
38 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
40 * ControlSplash.[Ch]: removed.
42 * GUI.h: remove GUISplash class.
44 * ViewBase.h: remove ViewSplash class.
46 * Makefile.am: remove ControlSplash.[Ch].
48 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlButtons.h: add variable emergency_exit_. If set to true, the
51 view will be shut down.
54 * ControlInset.h: act on emergency_exit_.
56 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
57 speller fails to launch.
59 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
61 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
62 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
64 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
66 * ControlRef.h (disconnectOnApply): new method. Set to true.
67 Perhaps make this user-modifiable?
69 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
71 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
74 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
76 * ControlRef.C (getBufferList, getBufferNum): New methods
78 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
80 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
81 of the dialog when the Apply button is pressed. Defaults to false,
82 but can be overridden in the daughter classes.
84 * ControlCitation.h (disconnectOnApply): new method. Set to true.
85 Perhaps make this user-modifiable?
87 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
89 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
90 we have dialogs that update their contents when the buffer changes.
91 Rather embarassing, really!
93 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
95 * ControlSearch (replace): change semantics of replace to NOT move on
96 to the next instance of a word once the present instance has been
97 replaced unless we are replacing ALL instances of the word.
99 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
101 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
103 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
105 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
106 dialog, set all options to "reset", close the dialog, re-open it ->
107 the options are set incorrectly.
109 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
110 When Applying it's useful to know whether the dialog is about to close
111 or not (no point refreshing the display for example).
113 * ControlInset.C (apply): use isClosing.
115 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
118 * ControlDialogs.h: remove bc() hack, now fixed in
119 Qt2 frontend. use member dialog_built_ instead of shared
122 * ButtonController.h:
123 * ButtonPolicies.C: more debug info
125 * ButtonControllerBase.C: call refresh() when setting readOnly !
127 * GUI.h: External form has apply, use the right policy
129 * character.C: fix two off-by-one errors when latex font was removed
131 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlInset.h (apply): tentative fix for the press Apply multiple
134 times and get multiple new Insets problem.
136 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
138 * ControlCharacter.C: fix typo
142 * ControlInsets.C: make sure dialog is built before it is shown, so
143 it works properly the very first time it is shown
145 2001-08-20 Herbert Voss <voss@perce.de>
147 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
148 and styles. Added an option for "bibliography into toc"
150 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
152 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
153 LaTeX is no longer a font property.
155 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
157 * GUI.h: Button controller for Reference dialog changed to
158 NoRepeatedApplyReadOnlyPolicy.
160 * biblio.C (getInfo): output volume and number info. Move year to end
163 2001-08-09 Allan Rae <rae@lyx.org>
165 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
167 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
169 * helper_funcs.C (getVectorFromString): fixed small bug.
171 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
173 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
175 * ControlSpellchecker.C: check next word after insert in personal dict
177 2001-08-06 Juergen Vigna <jug@sad.it>
179 * ControlERT.[Ch]: new file
181 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
183 * ControlInset.h: const and non-const forms of params().
185 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
186 whitespace from either side of each item.
188 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
190 * ControlFloat.h: add a != operator for FloatParams.
191 Lars, how did you get this to compile!!!
193 * ControlMinipage.[Ch]: uncommented someone's commenting out of
194 operator != for MinipageParams. Who's changing stuff and not compiling?
196 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
201 * GUI.h: add class GUIFloat
203 * ControlFloat.[Ch]: new files
205 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
207 * ControlPrint.C: #include Lassert.h here.
209 2001-07-26 Baruch Even <baruch@lyx.org>
211 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
214 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
216 * ControlThesaurus.h:
217 * ControlThesaurus.C:
219 * Makefile.am: thesaurus support
221 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
224 * ControlInclude.C: implement ability to load file
226 2001-07-18 Juergen Vigna <jug@sad.it>
228 * ControlSearch.C (replace): changes to lyxfind.h function calls.
230 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
232 * biblio.C (getInfo): add a .c_str() to handle the usual
235 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlCitation.[Ch]: changes associated with adding natbib support.
238 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
239 New static variable citeStyles_.
241 * biblio.[Ch]: large internal rearrangement.
242 New public enum CiteStyle.
243 New public struct CitationStyle.
244 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
245 getNumericalStrings, getAuthorYearStrings
246 (simpleSearch, regexSearch): no longer publicly accessible.
248 * helper_funcs.C (getStringFromVector): bug fix.
250 2001-07-16 Baruch Even <baruch@lyx.org>
252 * ControlVCLog.h: Added Lsstream.h to includes.
254 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlSpellchecker.[Ch]: remove d-tor.
258 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
260 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
262 2001-07-16 Juergen Vigna <jug@sad.it>
264 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
265 compiled with USE_PSPELL) to be able to switch between ISpell and
268 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
270 Consistent use of Lsstream.h:
271 * ControlAboutlyx.[Ch] (getCredits):
272 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
274 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
276 * ControlCredits.[Ch]: removed
277 * ControlCopyright.[Ch]: removed
278 * ControlAboutlyx.[Ch]: added (replaces previous)
279 * GUI.h: removed credits and copyright added about lyx stuff
281 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
283 * ControlSpellchecker.C (getSuggestion):
284 (getWord): add std:: qualifier
286 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
288 * ControlSpellchecker.[Ch]: added
289 * ViewBase.h: added partialUpdate(int) member
290 * GUI.h: added spell stuff
292 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * ControlExternal.C: (*it). -> it->
296 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
298 * ButtonController.h: move some included header files out of the
299 frontends and into here.
301 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlCharacter.C (c-tor): cosmetic name change of signal.
305 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
307 * *.[h]: added // -*- C++ -*-
308 * *.[C]: removed // -*- C++ -*-
310 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
311 activate Apply button.
312 (clearParams): removed.
313 font_ is now stored as a boost::scoped_ptr.
314 font_ is no longer deleted on hide(), so it's contents can now be used
315 by the Font button on the toolbar.
316 Lots of new methods so that the GUI can easily get the contents of
317 font_ when it update()s.
319 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
322 crash when the Font button on the Toolbar is pressed.
324 * GUI.h: change policy of Character button controller to
325 OkApplyCancelReadOnlyPolicy.
327 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * ControlToc.C (getContents): don't add anything to the list if it
330 is supposed to be empty.
332 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
334 * helper_funcs.C (getVectorFromString): bug fix.
336 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
339 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
340 from ButtonControllerBase::readOnly. Updates the state of the widgets
341 in the read-only list only when the read-only status of the document
343 (refresh): moved this stuff into refreshReadOnly.
345 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlPrint.C (c-tor):
348 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
350 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
353 * character.h: small clean-ups.
355 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
357 * ControlToc.C (getType): remove support for old float list.
359 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
362 * ControlGraphics.h: no longer include insetgraphicsParams.h
363 * ControlInset.h: no longer include LyXView.h
368 * ControlCharacter.C:
371 * ControlConnections.C:
372 * ControlCopyright.C:
384 * ControlTabularCreate.C:
386 * ControlVCLog.C: they're now in here!
388 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
390 * ButtonControllerBase.h: C++ mode, inherit privately from
392 * ButtonPolicies.h: ditto
394 * ButtonController.h: C++ mode, swap init order of restore_ and
397 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
399 * ControlTabularCreate.h:
400 * ControlTabularCreate.C: make dialogs use a pair of uints
404 * ControlVCLog.C: fill a stringstream with the log contents
407 * ControlExternal.C: from Angus, clone the new InsetExternal
410 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
412 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
413 and made more robust.
415 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
424 * ControlCopyright.C: include gettext.h
426 * ControlCharacter.C:
427 * character.C: include gettext.h and language.h
429 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
431 * ButtonController.h:
432 * ButtonControllerBase.h:
433 * ButtonControllerBase.C:
440 * ControlConnections.h:
446 * ViewBase.h: s/ControlButton/ControlButtons/
448 s/UndoAll/Restore/ + associated
450 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
452 * ControlToc.[Ch]: new files; a controller for the TOC popup.
455 * Makefile.am: associated changes with all of the above.
457 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
459 * ControlExternal.C: bug fixes. Can now apply changes to the inset
460 and edit, view, update the External Material correctly. I hope!
462 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
464 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
466 * BCTemplates.h: renamed as ButtonController.h
468 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
471 * ControlConnections.h: associated change in #include and class names.
473 * ControlExternal.[Ch]: new files; a controller for the External
477 * Makefile.am: associated changes with all of the above.
479 * ControlGraphics.[Ch]:
480 * ControlInclude.[Ch]:
483 (Browse): new method. Returns the results of a FileDialog browse.
485 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
486 (getVectorFromString): fixed bug.
488 * biblio.C (simpleSearch): cleaned up.
490 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
492 * A slight reworking of Baruch Even's ButtonController patch.
494 * BCTemplates.h: new file; all the templates for the ButtonController.
495 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
496 to the more generic setButtonLabel().
498 * ButtonController.[Ch]: renamed cancel_label and close_label as
499 cancel_label_ and close_label_.
501 * Makefile.am: added BCTemplates.h
503 2001-03-29 Juergen Vigna <jug@sad.it>
505 * ControlMinipage.C: removed widthp_ and all it's functions and changed
506 to use new %-lengths of LyXLength.
508 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
510 * ControlCitation.C (bibkeysInfo): removed Assert.
512 * ControlCopyright.h: moved GUICopyright into GUI.h
516 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
518 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
519 (setDaughterParams): a (by default empty) new method called in show().
528 * ControlUrl.h (clearDaughterParams): removed
530 * ControlMinipage.C (applyParamsToInset): update the view.
531 Added namespace minipage containing a helper function getUnits.
533 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
535 * ControlCharacter.[Ch]: moved out all the helper functions and the
536 enum into their own file.
537 * character.[Ch]: new files; contain the character helper functions,
538 now inside namespace character.
540 * ControlCitation.[Ch]: moved out all the helper functions and the
541 enums into their own file. Simplified interface.
542 * biblio.[Ch]: new files; contain the citation helper functions,
543 now inside namespace biblio. Will be of use also to an improved
546 * ControlGraphics.[Ch]:
547 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
548 popups, respectively.
551 * Makefile.am: associated changes.
553 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
555 * ControlMinipage.[Ch]:
556 * ControlPreamble.[Ch]:
558 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
559 and Print popups and Splash screen, respectively.
561 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
565 * Makefile.am: associated changes.
567 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
569 * ControlConnections.[Ch]: (docType): new method; returns the type
570 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
573 * ControlSearch.[Ch]:
574 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
575 Search and TabularCreate popups, respectively.
578 * Makefile.am: associated changes.
580 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
585 * ControlInset.h (apply): fix bug. Can now create new insets again.
587 * README: describe program flow.
589 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
591 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
593 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
595 * ControlDialogs.h: moved class ControlInset into its own file.
597 * ControlInset.h: new file. class ControlInset has been expanded to take
598 two template parameters, Inset and Params. Believe that all inset
599 controllers can be derived from this with the minimum of effort.
601 * ControlBibitem.[Ch]:
602 * ControlBibtex.[Ch]:
603 * ControlCitation.[Ch]:
604 * ControlCommand.[Ch]: moved most code into ControlInset.
606 * lots of files. Moved protected stuff into private where possible.
609 * ControlInclude.[Ch]:
610 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
611 Include and Url popups, respectively.
614 * Makefile.am: associated changes.
616 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
621 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
623 * ControlCredits.C (getCredits): remove std:: qualifier for
626 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
628 * ControlCredits.C (getCredits): add std:: on vector
630 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
632 * ControlCredits.C: remove using that is only used once, use
633 std::ios instead of std::iosbase, add some annoying comments.
635 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
637 * lots of header files: improved explanatory notes.
639 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
640 ControlBase is now a class that only controls the interaction of the
641 View with the ButtonController.
643 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
644 to ControlConnectBase. The class controls the connection/disconnection
645 of signals from the LyX kernel and makes available the kernel (through
646 lv_) to daughter controller classes.
647 Moved out class ControlConnectInset to a new file ControlDialogs.h.
649 * ControlDialogs.h: new file. Contains the definition of two template
650 controller classes, ControlDialog and ControlInset (was
651 ControlConnectInset). ControlInset is a parent class for controllers
652 of inset-popups. ControlDialogs is the rather uninspired name for
653 the base class of all non-inset popups. (Eg, Document and Paragraph.)
654 ControlDialogs is reaching a state of maturity as several popups now use
655 it and its functionality becomes clear. ControlInset is still in a state
656 of flux. It is likely that functionality will be moved out of
657 ControlCommands and into it.
659 * GUI.h: new file. Moved all the template GUIXXX classes out of the
660 individual Controller header files and into one place. These classes
661 serve only as convenient wrappers to simplify code in the respective
662 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
664 * ControlCharacter.[Ch] (show, update, hide):
665 * ControlLog.[Ch] (show, update, hide):
666 * ControlVCLog.[Ch] (show, update, hide): moved back into
667 the ControlDialogs base class.
668 (setParams, clearParams): new methods containing controller-specific
669 code to set/reset the parameters manipulated by the view.
671 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
673 (hide): calls clearParams.
675 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
676 by ControlCommand::hide().
678 * ControlCopyright.[Ch]:
679 * ControlCredits.[Ch]: new files; controllers for the copyright and
680 credits popups, respectively.
682 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
684 * ControlCharacter.C: fix typo
686 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
688 * ControlCharacter.[Ch]: new files; controller for the character popup.
690 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
691 moved to new files helper_funcs.[Ch].
693 * helper_funcs.[Ch]: new files. Some useful helper functions and
696 * Makefile.am: added new files.
698 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
700 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
702 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
705 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
706 Control log files, respectively.
708 * Makefile.am: added new files.
710 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
712 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
714 * Makefile.am: added ControlBibtex.[Ch].
716 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
719 * ControlCitation.C: added "using SigC::slot" declaration.
721 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
722 to FormCitation.C prior to the merger: "Do not put space between
725 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
727 * several files: remove CXX_WORKING_NAMESPACES
729 * ButtonController.h: noncopyable is in namespace boost
730 * ButtonPolicies.h: ditto
732 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
734 * Merging changes from BRANCH_MVC back into HEAD.
736 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
738 * Makefile.am: add ControlBibitem.[Ch].
740 * ControlBibitem.[Ch]: new files that together define the Controller
743 * ControlCommand.h (c-tor): give kb_action a default value of
746 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
748 * ControlCitation.[Ch]: moved search functions out of class.
749 (bibkeysInfo): new method. Returns const reference to private data.
750 (searchKeys): added case-sensitive switch. Used only by simpleSearch
753 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
755 * ControlCitation.[Ch]: added Search functions to the class,
756 (shamelessly lifted from Marco's gnome code). I think that these would
757 be better as helper functions outside the class, but this is a first
760 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlCitation.[Ch]: (getBibkeyList): removed from class
764 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
765 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
766 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
767 implementation of FormCitation.
769 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
771 * ButtonPolicies.h: add SMI_NOOP to enum.
773 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
775 * ButtonController.C (input): add "optimising" if-statement. Actually,
776 things don't work correctly without it...
778 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
780 * ViewBase.h: remove #pragma directive
782 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
785 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
787 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
789 * Makefile.am: added ButtonPolicies.[Ch]
791 * ButtonController.[Ch]: ButtonController is split into
792 ButtonControllerBase and a template ButtonController class. The base
793 class no longer stores a pointer to a ButtonPolicy, but instead
794 accesses the actual instantiation of the policy through a pure virtual
795 method bp(). This method and the ButtonPolicy itself are instantiated
796 in the templatised ButtonController class. This class is derived from
797 the GUI-specific GUIBC class, meaning that the frontends know
798 nothing about the actual policy decided upon by the controllers.
800 * ControlBase.[Ch]: No longer store the View or the ButtonController.
801 Instead the actual instantiations are accessed through pure virtual
802 methods view() and bc(). The daughter classes are responsible for the
803 actual View and ButtonController.
805 * ControlCitation.h: the templatised class GUICitation instantiates
806 the methods view() and bc(). It also stores the instances of the
807 View and ButtonController.
809 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
811 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
812 also changed to ButtonController.
815 * ControlConnections.[Ch]:
816 * ControlCommand.[Ch]:
817 * ControlCitation.[Ch]:
818 * ViewBase.h: Changes associated with this.
820 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
822 * ButtonControllerBase.[Ch]: new files. Split Allan's original
823 xforms/ButtonController class into a GUI-I class (here) and an
824 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
826 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
827 from which all Dialog Controllers should be derived. the Controllers
828 are GUI-independent, but are designed to control the behaviour of
829 GUI-specific implementaions of each dialog.
831 * ControlConnections.[Ch]: new files. Classes controlling the
832 connections of buffer-independent, buffer-dependent and Inset dialogs
835 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
836 InsetCommand subset of insets.
838 * ControlCitation.[Ch]: new files. The test specialisation! A
839 controller for the Citation dialog.
841 * ViewBase.h: new file. ViewBase is an abstract base class from which
842 GUI-specific dialogs should be derived. The functionality that the GUIs
843 must now implement is much reduced.