1 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
6 * ControlInset.h (apply): fix bug. Can now create new insets again.
8 * README: describe program flow.
10 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
14 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlDialogs.h: moved class ControlInset into its own file.
18 * ControlInset.h: new file. class ControlInset has been expanded to take
19 two template parameters, Inset and Params. Believe that all inset
20 controllers can be derived from this with the minimum of effort.
22 * ControlBibitem.[Ch]:
24 * ControlCitation.[Ch]:
25 * ControlCommand.[Ch]: moved most code into ControlInset.
27 * lots of files. Moved protected stuff into private where possible.
30 * ControlInclude.[Ch]:
31 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
32 Include and Url popups, respectively.
35 * Makefile.am: associated changes.
37 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
39 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
42 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
44 * ControlCredits.C (getCredits): remove std:: qualifier for
47 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
49 * ControlCredits.C (getCredits): add std:: on vector
51 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
53 * ControlCredits.C: remove using that is only used once, use
54 std::ios instead of std::iosbase, add som annoying comments.
56 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
58 * lots of header files: improved explanatory notes.
60 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
61 ControlBase is now a class that only controls the interaction of the
62 View with the ButtonController.
64 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
65 to ControlConnectBase. The class controls the connection/disconnection
66 of signals from the LyX kernel and makes available the kernel (through
67 lv_) to daughter controller classes.
68 Moved out class ControlConnectInset to a new file ControlDialogs.h.
70 * ControlDialogs.h: new file. Contains the definition of two template
71 controller classes, ControlDialog and ControlInset (was
72 ControlConnectInset). ControlInset is a parent class for controllers
73 of inset-popups. ControlDialogs is the rather uninspired name for
74 the base class of all non-inset popups. (Eg, Document and Paragraph.)
75 ControlDialogs is reaching a state of maturity as several popups now use
76 it and its functionality becomes clear. ControlInset is still in a state
77 of flux. It is likely that functionality will be moved out of
78 ControlCommands and into it.
80 * GUI.h: new file. Moved all the template GUIXXX classes out of the
81 individual Controller header files and into one place. These classes
82 serve only as convenient wrappers to simplify code in the respective
83 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
85 * ControlCharacter.[Ch] (show, update, hide):
86 * ControlLog.[Ch] (show, update, hide):
87 * ControlVCLog.[Ch] (show, update, hide): moved back into
88 the ControlDialogs base class.
89 (setParams, clearParams): new methods containing controller-specific
90 code to set/reset the parameters manipulated by the view.
92 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
94 (hide): calls clearParams.
96 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
97 by ControlCommand::hide().
99 * ControlCopyright.[Ch]:
100 * ControlCredits.[Ch]: new files; controllers for the copyright and
101 credits popups, respectively.
103 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
105 * ControlCharacter.C: fix typo
107 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlCharacter.[Ch]: new files; controller for the character popup.
111 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
112 moved to new files helper_funcs.[Ch].
114 * helper_funcs.[Ch]: new files. Some useful helper functions and
117 * Makefile.am: added new files.
119 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
123 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
127 Control log files, respectively.
129 * Makefile.am: added new files.
131 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
135 * Makefile.am: added ControlBibtex.[Ch].
137 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
140 * ControlCitation.C: added "using SigC::slot" declaration.
142 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
143 to FormCitation.C prior to the merger: "Do not put space between
146 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
148 * several files: remove CXX_WORKING_NAMESPACES
150 * ButtonController.h: noncopyable is in namespace boost
151 * ButtonPolicies.h: ditto
153 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
155 * Merging changes from BRANCH_MVC back into HEAD.
157 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
159 * Makefile.am: add ControlBibitem.[Ch].
161 * ControlBibitem.[Ch]: new files that together define the Controller
164 * ControlCommand.h (c-tor): give kb_action a default value of
167 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
169 * ControlCitation.[Ch]: moved search functions out of class.
170 (bibkeysInfo): new method. Returns const reference to private data.
171 (searchKeys): added case-sensitive switch. Used only by simpleSearch
174 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
176 * ControlCitation.[Ch]: added Search functions to the class,
177 (shamelessly lifted from Marco's gnome code). I think that these would
178 be better as helper functions outside the class, but this is a first
181 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
183 * ControlCitation.[Ch]: (getBibkeyList): removed from class
185 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
186 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
187 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
188 implementation of FormCitation.
190 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
192 * ButtonPolicies.h: add SMI_NOOP to enum.
194 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
196 * ButtonController.C (input): add "optimising" if-statement. Actually,
197 things don't work correctly without it...
199 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
201 * ViewBase.h: remove #pragma directive
203 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
206 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
208 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
210 * Makefile.am: added ButtonPolicies.[Ch]
212 * ButtonController.[Ch]: ButtonController is split into
213 ButtonControllerBase and a template ButtonController class. The base
214 class no longer stores a pointer to a ButtonPolicy, but instead
215 accesses the actual instantiation of the policy through a pure virtual
216 method bp(). This method and the ButtonPolicy itself are instantiated
217 in the templatised ButtonController class. This class is derived from
218 the GUI-specific GUIBC class, meaning that the frontends know
219 nothing about the actual policy decided upon by the controllers.
221 * ControlBase.[Ch]: No longer store the View or the ButtonController.
222 Instead the actual instantiations are accessed through pure virtual
223 methods view() and bc(). The daughter classes are responsible for the
224 actual View and ButtonController.
226 * ControlCitation.h: the templatised class GUICitation instantiates
227 the methods view() and bc(). It also stores the instances of the
228 View and ButtonController.
230 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
232 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
233 also changed to ButtonController.
236 * ControlConnections.[Ch]:
237 * ControlCommand.[Ch]:
238 * ControlCitation.[Ch]:
239 * ViewBase.h: Changes associated with this.
241 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
243 * ButtonControllerBase.[Ch]: new files. Split Allan's original
244 xforms/ButtonController class into a GUI-I class (here) and an
245 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
247 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
248 from which all Dialog Controllers should be derived. the Controllers
249 are GUI-independent, but are designed to control the behaviour of
250 GUI-specific implementaions of each dialog.
252 * ControlConnections.[Ch]: new files. Classes controlling the
253 connections of buffer-independent, buffer-dependent and Inset dialogs
256 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
257 InsetCommand subset of insets.
259 * ControlCitation.[Ch]: new files. The test specialisation! A
260 controller for the Citation dialog.
262 * ViewBase.h: new file. ViewBase is an abstract base class from which
263 GUI-specific dialogs should be derived. The functionality that the GUIs
264 must now implement is much reduced.