1 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3 * lots of header files: improved explanatory notes.
5 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
6 ControlBase is now a class that only controls the interaction of the
7 View with the ButtonController.
9 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
10 to ControlConnectBase. The class controls the connection/disconnection
11 of signals from the LyX kernel and makes available the kernel (through
12 lv_) to daughter controller classes.
13 Moved out class ControlConnectInset to a new file ControlDialogs.h.
15 * ControlDialogs.h: new file. Contains the definition of two template
16 controller classes, ControlDialog and ControlInset (was
17 ControlConnectInset). ControlInset is a parent class for controllers
18 of inset-popups. ControlDialogs is the rather uninspired name for
19 the base class of all non-inset popups. (Eg, Document and Paragraph.)
20 ControlDialogs is reaching a state of maturity as several popups now use
21 it and its functionality becomes clear. ControlInset is still in a state
22 of flux. It is likely that functionality will be moved out of
23 ControlCommands and into it.
25 * GUI.h: new file. Moved all the template GUIXXX classes out of the
26 individual Controller header files and into one place. These classes
27 serve only as convenient wrappers to simplify code in the respective
28 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
30 * ControlCharacter.[Ch] (show, update, hide):
31 * ControlLog.[Ch] (show, update, hide):
32 * ControlVCLog.[Ch] (show, update, hide): moved back into
33 the ControlDialogs base class.
34 (setParams, clearParams): new methods containing controller-specific
35 code to set/reset the parameters manipulated by the view.
37 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
39 (hide): calls clearParams.
41 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
42 by ControlCommand::hide().
44 * ControlCopyright.[Ch]:
45 * ControlCredits.[Ch]: new files; controllers for the copyright and
46 credits popups, respectively.
48 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
50 * ControlCharacter.C: fix typo
52 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlCharacter.[Ch]: new files; controller for the character popup.
56 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
57 moved to new files helper_funcs.[Ch].
59 * helper_funcs.[Ch]: new files. Some useful helper functions and
62 * Makefile.am: added new files.
64 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
66 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
68 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
72 Control log files, respectively.
74 * Makefile.am: added new files.
76 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
78 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
80 * Makefile.am: added ControlBibtex.[Ch].
82 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
85 * ControlCitation.C: added "using SigC::slot" declaration.
87 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
88 to FormCitation.C prior to the merger: "Do not put space between
91 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
93 * several files: remove CXX_WORKING_NAMESPACES
95 * ButtonController.h: noncopyable is in namespace boost
96 * ButtonPolicies.h: ditto
98 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
100 * Merging changes from BRANCH_MVC back into HEAD.
102 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
104 * Makefile.am: add ControlBibitem.[Ch].
106 * ControlBibitem.[Ch]: new files that together define the Controller
109 * ControlCommand.h (c-tor): give kb_action a default value of
112 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
114 * ControlCitation.[Ch]: moved search functions out of class.
115 (bibkeysInfo): new method. Returns const reference to private data.
116 (searchKeys): added case-sensitive switch. Used only by simpleSearch
119 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlCitation.[Ch]: added Search functions to the class,
122 (shamelessly lifted from Marco's gnome code). I think that these would
123 be better as helper functions outside the class, but this is a first
126 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
128 * ControlCitation.[Ch]: (getBibkeyList): removed from class
130 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
131 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
132 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
133 implementation of FormCitation.
135 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
137 * ButtonPolicies.h: add SMI_NOOP to enum.
139 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
141 * ButtonController.C (input): add "optimising" if-statement. Actually,
142 things don't work correctly without it...
144 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
146 * ViewBase.h: remove #pragma directive
148 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
151 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
153 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
155 * Makefile.am: added ButtonPolicies.[Ch]
157 * ButtonController.[Ch]: ButtonController is split into
158 ButtonControllerBase and a template ButtonController class. The base
159 class no longer stores a pointer to a ButtonPolicy, but instead
160 accesses the actual instantiation of the policy through a pure virtual
161 method bp(). This method and the ButtonPolicy itself are instantiated
162 in the templatised ButtonController class. This class is derived from
163 the GUI-specific GUIBC class, meaning that the frontends know
164 nothing about the actual policy decided upon by the controllers.
166 * ControlBase.[Ch]: No longer store the View or the ButtonController.
167 Instead the actual instantiations are accessed through pure virtual
168 methods view() and bc(). The daughter classes are responsible for the
169 actual View and ButtonController.
171 * ControlCitation.h: the templatised class GUICitation instantiates
172 the methods view() and bc(). It also stores the instances of the
173 View and ButtonController.
175 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
177 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
178 also changed to ButtonController.
181 * ControlConnections.[Ch]:
182 * ControlCommand.[Ch]:
183 * ControlCitation.[Ch]:
184 * ViewBase.h: Changes associated with this.
186 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
188 * ButtonControllerBase.[Ch]: new files. Split Allan's original
189 xforms/ButtonController class into a GUI-I class (here) and an
190 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
192 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
193 from which all Dialog Controllers should be derived. the Controllers
194 are GUI-independent, but are designed to control the behaviour of
195 GUI-specific implementaions of each dialog.
197 * ControlConnections.[Ch]: new files. Classes controlling the
198 connections of buffer-independent, buffer-dependent and Inset dialogs
201 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
202 InsetCommand subset of insets.
204 * ControlCitation.[Ch]: new files. The test specialisation! A
205 controller for the Citation dialog.
207 * ViewBase.h: new file. ViewBase is an abstract base class from which
208 GUI-specific dialogs should be derived. The functionality that the GUIs
209 must now implement is much reduced.