1 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlDialogs.h: moved class ControlInset into its own file.
5 * ControlInset.h: new file. class ControlInset has been expanded to take
6 two template parameters, Inset and Params. Believe that all inset
7 controllers can be derived from this with the minimum of effort.
11 * ControlCitation.[Ch]:
12 * ControlCommand.[Ch]: moved most code into ControlInset.
14 * lots of files. Moved protected stuff into private where possible.
17 * ControlInclude.[Ch]:
18 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
19 Include and Url popups, respectively.
22 * Makefile.am: associated changes.
24 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
26 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
29 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
31 * ControlCredits.C (getCredits): remove std:: qualifier for
34 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
36 * ControlCredits.C (getCredits): add std:: on vector
38 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
40 * ControlCredits.C: remove using that is only used once, use
41 std::ios instead of std::iosbase, add som annoying comments.
43 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
45 * lots of header files: improved explanatory notes.
47 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
48 ControlBase is now a class that only controls the interaction of the
49 View with the ButtonController.
51 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
52 to ControlConnectBase. The class controls the connection/disconnection
53 of signals from the LyX kernel and makes available the kernel (through
54 lv_) to daughter controller classes.
55 Moved out class ControlConnectInset to a new file ControlDialogs.h.
57 * ControlDialogs.h: new file. Contains the definition of two template
58 controller classes, ControlDialog and ControlInset (was
59 ControlConnectInset). ControlInset is a parent class for controllers
60 of inset-popups. ControlDialogs is the rather uninspired name for
61 the base class of all non-inset popups. (Eg, Document and Paragraph.)
62 ControlDialogs is reaching a state of maturity as several popups now use
63 it and its functionality becomes clear. ControlInset is still in a state
64 of flux. It is likely that functionality will be moved out of
65 ControlCommands and into it.
67 * GUI.h: new file. Moved all the template GUIXXX classes out of the
68 individual Controller header files and into one place. These classes
69 serve only as convenient wrappers to simplify code in the respective
70 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
72 * ControlCharacter.[Ch] (show, update, hide):
73 * ControlLog.[Ch] (show, update, hide):
74 * ControlVCLog.[Ch] (show, update, hide): moved back into
75 the ControlDialogs base class.
76 (setParams, clearParams): new methods containing controller-specific
77 code to set/reset the parameters manipulated by the view.
79 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
81 (hide): calls clearParams.
83 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
84 by ControlCommand::hide().
86 * ControlCopyright.[Ch]:
87 * ControlCredits.[Ch]: new files; controllers for the copyright and
88 credits popups, respectively.
90 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
92 * ControlCharacter.C: fix typo
94 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlCharacter.[Ch]: new files; controller for the character popup.
98 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
99 moved to new files helper_funcs.[Ch].
101 * helper_funcs.[Ch]: new files. Some useful helper functions and
104 * Makefile.am: added new files.
106 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
108 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
110 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
113 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
114 Control log files, respectively.
116 * Makefile.am: added new files.
118 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
122 * Makefile.am: added ControlBibtex.[Ch].
124 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlCitation.C: added "using SigC::slot" declaration.
129 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
130 to FormCitation.C prior to the merger: "Do not put space between
133 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
135 * several files: remove CXX_WORKING_NAMESPACES
137 * ButtonController.h: noncopyable is in namespace boost
138 * ButtonPolicies.h: ditto
140 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
142 * Merging changes from BRANCH_MVC back into HEAD.
144 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
146 * Makefile.am: add ControlBibitem.[Ch].
148 * ControlBibitem.[Ch]: new files that together define the Controller
151 * ControlCommand.h (c-tor): give kb_action a default value of
154 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
156 * ControlCitation.[Ch]: moved search functions out of class.
157 (bibkeysInfo): new method. Returns const reference to private data.
158 (searchKeys): added case-sensitive switch. Used only by simpleSearch
161 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
163 * ControlCitation.[Ch]: added Search functions to the class,
164 (shamelessly lifted from Marco's gnome code). I think that these would
165 be better as helper functions outside the class, but this is a first
168 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
170 * ControlCitation.[Ch]: (getBibkeyList): removed from class
172 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
173 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
174 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
175 implementation of FormCitation.
177 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
179 * ButtonPolicies.h: add SMI_NOOP to enum.
181 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
183 * ButtonController.C (input): add "optimising" if-statement. Actually,
184 things don't work correctly without it...
186 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
188 * ViewBase.h: remove #pragma directive
190 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
193 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
195 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
197 * Makefile.am: added ButtonPolicies.[Ch]
199 * ButtonController.[Ch]: ButtonController is split into
200 ButtonControllerBase and a template ButtonController class. The base
201 class no longer stores a pointer to a ButtonPolicy, but instead
202 accesses the actual instantiation of the policy through a pure virtual
203 method bp(). This method and the ButtonPolicy itself are instantiated
204 in the templatised ButtonController class. This class is derived from
205 the GUI-specific GUIBC class, meaning that the frontends know
206 nothing about the actual policy decided upon by the controllers.
208 * ControlBase.[Ch]: No longer store the View or the ButtonController.
209 Instead the actual instantiations are accessed through pure virtual
210 methods view() and bc(). The daughter classes are responsible for the
211 actual View and ButtonController.
213 * ControlCitation.h: the templatised class GUICitation instantiates
214 the methods view() and bc(). It also stores the instances of the
215 View and ButtonController.
217 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
219 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
220 also changed to ButtonController.
223 * ControlConnections.[Ch]:
224 * ControlCommand.[Ch]:
225 * ControlCitation.[Ch]:
226 * ViewBase.h: Changes associated with this.
228 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
230 * ButtonControllerBase.[Ch]: new files. Split Allan's original
231 xforms/ButtonController class into a GUI-I class (here) and an
232 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
234 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
235 from which all Dialog Controllers should be derived. the Controllers
236 are GUI-independent, but are designed to control the behaviour of
237 GUI-specific implementaions of each dialog.
239 * ControlConnections.[Ch]: new files. Classes controlling the
240 connections of buffer-independent, buffer-dependent and Inset dialogs
243 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
244 InsetCommand subset of insets.
246 * ControlCitation.[Ch]: new files. The test specialisation! A
247 controller for the Citation dialog.
249 * ViewBase.h: new file. ViewBase is an abstract base class from which
250 GUI-specific dialogs should be derived. The functionality that the GUIs
251 must now implement is much reduced.