1 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
5 * helper_funcs.[Ch] (getLatexUnits): see above.
7 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9 * ControlTexinfo.C (getContents): use the right file for .sty files
11 2001-10-10 Herbert Voss <voss@perce.de>
13 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
14 and some more stuff from FormTexinfo.C
16 * ControlShowFile.C: hiding the update-button
18 2001-10-09 Herbert Voss <voss@perce.de>
20 * ControlTexinfo.[Ch]: new files. Display information about the
21 installed texfiles (cls,sty,bst).
23 * ControlShowFile.[Ch]: new files. Display the contents of a file.
25 * GUI.h: added classes GUIShowFile and GUITexinfo.
27 * Makefile.am: modified appropriately.
29 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
31 * ControlAboutlyx.C (getVersion): use lyx_version and
32 lyx_release_date instead of old macros
34 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
36 * ControlSpellchecker.C (check): Behaves well now when the spell
37 library doesn't know a replacement to an incorrect word.
39 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
41 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
42 the correct place. Can now check spelling more than once!
44 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
46 * ControlSplash.[Ch]: removed.
48 * GUI.h: remove GUISplash class.
50 * ViewBase.h: remove ViewSplash class.
52 * Makefile.am: remove ControlSplash.[Ch].
54 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
56 * ControlButtons.h: add variable emergency_exit_. If set to true, the
57 view will be shut down.
60 * ControlInset.h: act on emergency_exit_.
62 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
63 speller fails to launch.
65 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
68 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
70 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
72 * ControlRef.h (disconnectOnApply): new method. Set to true.
73 Perhaps make this user-modifiable?
75 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
80 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
82 * ControlRef.C (getBufferList, getBufferNum): New methods
84 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
86 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
87 of the dialog when the Apply button is pressed. Defaults to false,
88 but can be overridden in the daughter classes.
90 * ControlCitation.h (disconnectOnApply): new method. Set to true.
91 Perhaps make this user-modifiable?
93 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
95 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
96 we have dialogs that update their contents when the buffer changes.
97 Rather embarassing, really!
99 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
101 * ControlSearch (replace): change semantics of replace to NOT move on
102 to the next instance of a word once the present instance has been
103 replaced unless we are replacing ALL instances of the word.
105 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
107 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
109 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
111 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
112 dialog, set all options to "reset", close the dialog, re-open it ->
113 the options are set incorrectly.
115 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
116 When Applying it's useful to know whether the dialog is about to close
117 or not (no point refreshing the display for example).
119 * ControlInset.C (apply): use isClosing.
121 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
124 * ControlDialogs.h: remove bc() hack, now fixed in
125 Qt2 frontend. use member dialog_built_ instead of shared
128 * ButtonController.h:
129 * ButtonPolicies.C: more debug info
131 * ButtonControllerBase.C: call refresh() when setting readOnly !
133 * GUI.h: External form has apply, use the right policy
135 * character.C: fix two off-by-one errors when latex font was removed
137 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
139 * ControlInset.h (apply): tentative fix for the press Apply multiple
140 times and get multiple new Insets problem.
142 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
144 * ControlCharacter.C: fix typo
148 * ControlInsets.C: make sure dialog is built before it is shown, so
149 it works properly the very first time it is shown
151 2001-08-20 Herbert Voss <voss@perce.de>
153 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
154 and styles. Added an option for "bibliography into toc"
156 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
158 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
159 LaTeX is no longer a font property.
161 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
163 * GUI.h: Button controller for Reference dialog changed to
164 NoRepeatedApplyReadOnlyPolicy.
166 * biblio.C (getInfo): output volume and number info. Move year to end
169 2001-08-09 Allan Rae <rae@lyx.org>
171 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
173 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
175 * helper_funcs.C (getVectorFromString): fixed small bug.
177 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
179 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
181 * ControlSpellchecker.C: check next word after insert in personal dict
183 2001-08-06 Juergen Vigna <jug@sad.it>
185 * ControlERT.[Ch]: new file
187 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
189 * ControlInset.h: const and non-const forms of params().
191 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
192 whitespace from either side of each item.
194 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
196 * ControlFloat.h: add a != operator for FloatParams.
197 Lars, how did you get this to compile!!!
199 * ControlMinipage.[Ch]: uncommented someone's commenting out of
200 operator != for MinipageParams. Who's changing stuff and not compiling?
202 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
207 * GUI.h: add class GUIFloat
209 * ControlFloat.[Ch]: new files
211 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
213 * ControlPrint.C: #include Lassert.h here.
215 2001-07-26 Baruch Even <baruch@lyx.org>
217 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
220 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
222 * ControlThesaurus.h:
223 * ControlThesaurus.C:
225 * Makefile.am: thesaurus support
227 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
230 * ControlInclude.C: implement ability to load file
232 2001-07-18 Juergen Vigna <jug@sad.it>
234 * ControlSearch.C (replace): changes to lyxfind.h function calls.
236 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
238 * biblio.C (getInfo): add a .c_str() to handle the usual
241 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
243 * ControlCitation.[Ch]: changes associated with adding natbib support.
244 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
245 New static variable citeStyles_.
247 * biblio.[Ch]: large internal rearrangement.
248 New public enum CiteStyle.
249 New public struct CitationStyle.
250 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
251 getNumericalStrings, getAuthorYearStrings
252 (simpleSearch, regexSearch): no longer publicly accessible.
254 * helper_funcs.C (getStringFromVector): bug fix.
256 2001-07-16 Baruch Even <baruch@lyx.org>
258 * ControlVCLog.h: Added Lsstream.h to includes.
260 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlSpellchecker.[Ch]: remove d-tor.
264 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
266 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
268 2001-07-16 Juergen Vigna <jug@sad.it>
270 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
271 compiled with USE_PSPELL) to be able to switch between ISpell and
274 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
276 Consistent use of Lsstream.h:
277 * ControlAboutlyx.[Ch] (getCredits):
278 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
280 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
282 * ControlCredits.[Ch]: removed
283 * ControlCopyright.[Ch]: removed
284 * ControlAboutlyx.[Ch]: added (replaces previous)
285 * GUI.h: removed credits and copyright added about lyx stuff
287 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
289 * ControlSpellchecker.C (getSuggestion):
290 (getWord): add std:: qualifier
292 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
294 * ControlSpellchecker.[Ch]: added
295 * ViewBase.h: added partialUpdate(int) member
296 * GUI.h: added spell stuff
298 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * ControlExternal.C: (*it). -> it->
302 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
304 * ButtonController.h: move some included header files out of the
305 frontends and into here.
307 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
309 * ControlCharacter.C (c-tor): cosmetic name change of signal.
311 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
313 * *.[h]: added // -*- C++ -*-
314 * *.[C]: removed // -*- C++ -*-
316 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
317 activate Apply button.
318 (clearParams): removed.
319 font_ is now stored as a boost::scoped_ptr.
320 font_ is no longer deleted on hide(), so it's contents can now be used
321 by the Font button on the toolbar.
322 Lots of new methods so that the GUI can easily get the contents of
323 font_ when it update()s.
325 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
327 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
328 crash when the Font button on the Toolbar is pressed.
330 * GUI.h: change policy of Character button controller to
331 OkApplyCancelReadOnlyPolicy.
333 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * ControlToc.C (getContents): don't add anything to the list if it
336 is supposed to be empty.
338 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
340 * helper_funcs.C (getVectorFromString): bug fix.
342 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
345 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
346 from ButtonControllerBase::readOnly. Updates the state of the widgets
347 in the read-only list only when the read-only status of the document
349 (refresh): moved this stuff into refreshReadOnly.
351 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
353 * ControlPrint.C (c-tor):
354 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
356 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
359 * character.h: small clean-ups.
361 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
363 * ControlToc.C (getType): remove support for old float list.
365 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
367 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
368 * ControlGraphics.h: no longer include insetgraphicsParams.h
369 * ControlInset.h: no longer include LyXView.h
374 * ControlCharacter.C:
377 * ControlConnections.C:
378 * ControlCopyright.C:
390 * ControlTabularCreate.C:
392 * ControlVCLog.C: they're now in here!
394 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
396 * ButtonControllerBase.h: C++ mode, inherit privately from
398 * ButtonPolicies.h: ditto
400 * ButtonController.h: C++ mode, swap init order of restore_ and
403 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
405 * ControlTabularCreate.h:
406 * ControlTabularCreate.C: make dialogs use a pair of uints
410 * ControlVCLog.C: fill a stringstream with the log contents
413 * ControlExternal.C: from Angus, clone the new InsetExternal
416 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
418 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
419 and made more robust.
421 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * ControlCopyright.C: include gettext.h
432 * ControlCharacter.C:
433 * character.C: include gettext.h and language.h
435 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
437 * ButtonController.h:
438 * ButtonControllerBase.h:
439 * ButtonControllerBase.C:
446 * ControlConnections.h:
452 * ViewBase.h: s/ControlButton/ControlButtons/
454 s/UndoAll/Restore/ + associated
456 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
458 * ControlToc.[Ch]: new files; a controller for the TOC popup.
461 * Makefile.am: associated changes with all of the above.
463 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
465 * ControlExternal.C: bug fixes. Can now apply changes to the inset
466 and edit, view, update the External Material correctly. I hope!
468 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
470 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
472 * BCTemplates.h: renamed as ButtonController.h
474 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
477 * ControlConnections.h: associated change in #include and class names.
479 * ControlExternal.[Ch]: new files; a controller for the External
483 * Makefile.am: associated changes with all of the above.
485 * ControlGraphics.[Ch]:
486 * ControlInclude.[Ch]:
489 (Browse): new method. Returns the results of a FileDialog browse.
491 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
492 (getVectorFromString): fixed bug.
494 * biblio.C (simpleSearch): cleaned up.
496 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
498 * A slight reworking of Baruch Even's ButtonController patch.
500 * BCTemplates.h: new file; all the templates for the ButtonController.
501 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
502 to the more generic setButtonLabel().
504 * ButtonController.[Ch]: renamed cancel_label and close_label as
505 cancel_label_ and close_label_.
507 * Makefile.am: added BCTemplates.h
509 2001-03-29 Juergen Vigna <jug@sad.it>
511 * ControlMinipage.C: removed widthp_ and all it's functions and changed
512 to use new %-lengths of LyXLength.
514 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
516 * ControlCitation.C (bibkeysInfo): removed Assert.
518 * ControlCopyright.h: moved GUICopyright into GUI.h
522 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
524 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
525 (setDaughterParams): a (by default empty) new method called in show().
534 * ControlUrl.h (clearDaughterParams): removed
536 * ControlMinipage.C (applyParamsToInset): update the view.
537 Added namespace minipage containing a helper function getUnits.
539 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
541 * ControlCharacter.[Ch]: moved out all the helper functions and the
542 enum into their own file.
543 * character.[Ch]: new files; contain the character helper functions,
544 now inside namespace character.
546 * ControlCitation.[Ch]: moved out all the helper functions and the
547 enums into their own file. Simplified interface.
548 * biblio.[Ch]: new files; contain the citation helper functions,
549 now inside namespace biblio. Will be of use also to an improved
552 * ControlGraphics.[Ch]:
553 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
554 popups, respectively.
557 * Makefile.am: associated changes.
559 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlMinipage.[Ch]:
562 * ControlPreamble.[Ch]:
564 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
565 and Print popups and Splash screen, respectively.
567 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
571 * Makefile.am: associated changes.
573 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlConnections.[Ch]: (docType): new method; returns the type
576 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
579 * ControlSearch.[Ch]:
580 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
581 Search and TabularCreate popups, respectively.
584 * Makefile.am: associated changes.
586 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
588 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
591 * ControlInset.h (apply): fix bug. Can now create new insets again.
593 * README: describe program flow.
595 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
597 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
599 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
601 * ControlDialogs.h: moved class ControlInset into its own file.
603 * ControlInset.h: new file. class ControlInset has been expanded to take
604 two template parameters, Inset and Params. Believe that all inset
605 controllers can be derived from this with the minimum of effort.
607 * ControlBibitem.[Ch]:
608 * ControlBibtex.[Ch]:
609 * ControlCitation.[Ch]:
610 * ControlCommand.[Ch]: moved most code into ControlInset.
612 * lots of files. Moved protected stuff into private where possible.
615 * ControlInclude.[Ch]:
616 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
617 Include and Url popups, respectively.
620 * Makefile.am: associated changes.
622 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
624 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
627 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
629 * ControlCredits.C (getCredits): remove std:: qualifier for
632 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
634 * ControlCredits.C (getCredits): add std:: on vector
636 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
638 * ControlCredits.C: remove using that is only used once, use
639 std::ios instead of std::iosbase, add some annoying comments.
641 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
643 * lots of header files: improved explanatory notes.
645 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
646 ControlBase is now a class that only controls the interaction of the
647 View with the ButtonController.
649 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
650 to ControlConnectBase. The class controls the connection/disconnection
651 of signals from the LyX kernel and makes available the kernel (through
652 lv_) to daughter controller classes.
653 Moved out class ControlConnectInset to a new file ControlDialogs.h.
655 * ControlDialogs.h: new file. Contains the definition of two template
656 controller classes, ControlDialog and ControlInset (was
657 ControlConnectInset). ControlInset is a parent class for controllers
658 of inset-popups. ControlDialogs is the rather uninspired name for
659 the base class of all non-inset popups. (Eg, Document and Paragraph.)
660 ControlDialogs is reaching a state of maturity as several popups now use
661 it and its functionality becomes clear. ControlInset is still in a state
662 of flux. It is likely that functionality will be moved out of
663 ControlCommands and into it.
665 * GUI.h: new file. Moved all the template GUIXXX classes out of the
666 individual Controller header files and into one place. These classes
667 serve only as convenient wrappers to simplify code in the respective
668 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
670 * ControlCharacter.[Ch] (show, update, hide):
671 * ControlLog.[Ch] (show, update, hide):
672 * ControlVCLog.[Ch] (show, update, hide): moved back into
673 the ControlDialogs base class.
674 (setParams, clearParams): new methods containing controller-specific
675 code to set/reset the parameters manipulated by the view.
677 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
679 (hide): calls clearParams.
681 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
682 by ControlCommand::hide().
684 * ControlCopyright.[Ch]:
685 * ControlCredits.[Ch]: new files; controllers for the copyright and
686 credits popups, respectively.
688 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
690 * ControlCharacter.C: fix typo
692 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
694 * ControlCharacter.[Ch]: new files; controller for the character popup.
696 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
697 moved to new files helper_funcs.[Ch].
699 * helper_funcs.[Ch]: new files. Some useful helper functions and
702 * Makefile.am: added new files.
704 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
706 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
708 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
711 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
712 Control log files, respectively.
714 * Makefile.am: added new files.
716 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
718 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
720 * Makefile.am: added ControlBibtex.[Ch].
722 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
725 * ControlCitation.C: added "using SigC::slot" declaration.
727 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
728 to FormCitation.C prior to the merger: "Do not put space between
731 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
733 * several files: remove CXX_WORKING_NAMESPACES
735 * ButtonController.h: noncopyable is in namespace boost
736 * ButtonPolicies.h: ditto
738 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
740 * Merging changes from BRANCH_MVC back into HEAD.
742 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
744 * Makefile.am: add ControlBibitem.[Ch].
746 * ControlBibitem.[Ch]: new files that together define the Controller
749 * ControlCommand.h (c-tor): give kb_action a default value of
752 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
754 * ControlCitation.[Ch]: moved search functions out of class.
755 (bibkeysInfo): new method. Returns const reference to private data.
756 (searchKeys): added case-sensitive switch. Used only by simpleSearch
759 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
761 * ControlCitation.[Ch]: added Search functions to the class,
762 (shamelessly lifted from Marco's gnome code). I think that these would
763 be better as helper functions outside the class, but this is a first
766 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
768 * ControlCitation.[Ch]: (getBibkeyList): removed from class
770 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
771 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
772 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
773 implementation of FormCitation.
775 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
777 * ButtonPolicies.h: add SMI_NOOP to enum.
779 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
781 * ButtonController.C (input): add "optimising" if-statement. Actually,
782 things don't work correctly without it...
784 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
786 * ViewBase.h: remove #pragma directive
788 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
791 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
793 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
795 * Makefile.am: added ButtonPolicies.[Ch]
797 * ButtonController.[Ch]: ButtonController is split into
798 ButtonControllerBase and a template ButtonController class. The base
799 class no longer stores a pointer to a ButtonPolicy, but instead
800 accesses the actual instantiation of the policy through a pure virtual
801 method bp(). This method and the ButtonPolicy itself are instantiated
802 in the templatised ButtonController class. This class is derived from
803 the GUI-specific GUIBC class, meaning that the frontends know
804 nothing about the actual policy decided upon by the controllers.
806 * ControlBase.[Ch]: No longer store the View or the ButtonController.
807 Instead the actual instantiations are accessed through pure virtual
808 methods view() and bc(). The daughter classes are responsible for the
809 actual View and ButtonController.
811 * ControlCitation.h: the templatised class GUICitation instantiates
812 the methods view() and bc(). It also stores the instances of the
813 View and ButtonController.
815 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
817 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
818 also changed to ButtonController.
821 * ControlConnections.[Ch]:
822 * ControlCommand.[Ch]:
823 * ControlCitation.[Ch]:
824 * ViewBase.h: Changes associated with this.
826 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
828 * ButtonControllerBase.[Ch]: new files. Split Allan's original
829 xforms/ButtonController class into a GUI-I class (here) and an
830 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
832 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
833 from which all Dialog Controllers should be derived. the Controllers
834 are GUI-independent, but are designed to control the behaviour of
835 GUI-specific implementaions of each dialog.
837 * ControlConnections.[Ch]: new files. Classes controlling the
838 connections of buffer-independent, buffer-dependent and Inset dialogs
841 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
842 InsetCommand subset of insets.
844 * ControlCitation.[Ch]: new files. The test specialisation! A
845 controller for the Citation dialog.
847 * ViewBase.h: new file. ViewBase is an abstract base class from which
848 GUI-specific dialogs should be derived. The functionality that the GUIs
849 must now implement is much reduced.