1 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlMinipage.[Ch]:
4 * ControlPreamble.[Ch]:
6 * ControlSplash.[Ch]: new files; controller for the Minipage, Preamble
7 and Print popups and Splash screen, respectively.
9 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
13 * Makefile.am: associated changes.
15 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
17 * ControlConnections.[Ch]: (docType): new method; returns the type
18 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
22 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
23 Search and TabularCreate popups, respectively.
26 * Makefile.am: associated changes.
28 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
30 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
33 * ControlInset.h (apply): fix bug. Can now create new insets again.
35 * README: describe program flow.
37 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
39 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
41 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
43 * ControlDialogs.h: moved class ControlInset into its own file.
45 * ControlInset.h: new file. class ControlInset has been expanded to take
46 two template parameters, Inset and Params. Believe that all inset
47 controllers can be derived from this with the minimum of effort.
49 * ControlBibitem.[Ch]:
51 * ControlCitation.[Ch]:
52 * ControlCommand.[Ch]: moved most code into ControlInset.
54 * lots of files. Moved protected stuff into private where possible.
57 * ControlInclude.[Ch]:
58 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
59 Include and Url popups, respectively.
62 * Makefile.am: associated changes.
64 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
66 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
69 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
71 * ControlCredits.C (getCredits): remove std:: qualifier for
74 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
76 * ControlCredits.C (getCredits): add std:: on vector
78 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
80 * ControlCredits.C: remove using that is only used once, use
81 std::ios instead of std::iosbase, add some annoying comments.
83 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
85 * lots of header files: improved explanatory notes.
87 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
88 ControlBase is now a class that only controls the interaction of the
89 View with the ButtonController.
91 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
92 to ControlConnectBase. The class controls the connection/disconnection
93 of signals from the LyX kernel and makes available the kernel (through
94 lv_) to daughter controller classes.
95 Moved out class ControlConnectInset to a new file ControlDialogs.h.
97 * ControlDialogs.h: new file. Contains the definition of two template
98 controller classes, ControlDialog and ControlInset (was
99 ControlConnectInset). ControlInset is a parent class for controllers
100 of inset-popups. ControlDialogs is the rather uninspired name for
101 the base class of all non-inset popups. (Eg, Document and Paragraph.)
102 ControlDialogs is reaching a state of maturity as several popups now use
103 it and its functionality becomes clear. ControlInset is still in a state
104 of flux. It is likely that functionality will be moved out of
105 ControlCommands and into it.
107 * GUI.h: new file. Moved all the template GUIXXX classes out of the
108 individual Controller header files and into one place. These classes
109 serve only as convenient wrappers to simplify code in the respective
110 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
112 * ControlCharacter.[Ch] (show, update, hide):
113 * ControlLog.[Ch] (show, update, hide):
114 * ControlVCLog.[Ch] (show, update, hide): moved back into
115 the ControlDialogs base class.
116 (setParams, clearParams): new methods containing controller-specific
117 code to set/reset the parameters manipulated by the view.
119 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
121 (hide): calls clearParams.
123 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
124 by ControlCommand::hide().
126 * ControlCopyright.[Ch]:
127 * ControlCredits.[Ch]: new files; controllers for the copyright and
128 credits popups, respectively.
130 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
132 * ControlCharacter.C: fix typo
134 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlCharacter.[Ch]: new files; controller for the character popup.
138 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
139 moved to new files helper_funcs.[Ch].
141 * helper_funcs.[Ch]: new files. Some useful helper functions and
144 * Makefile.am: added new files.
146 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
148 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
150 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
153 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
154 Control log files, respectively.
156 * Makefile.am: added new files.
158 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
162 * Makefile.am: added ControlBibtex.[Ch].
164 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlCitation.C: added "using SigC::slot" declaration.
169 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
170 to FormCitation.C prior to the merger: "Do not put space between
173 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
175 * several files: remove CXX_WORKING_NAMESPACES
177 * ButtonController.h: noncopyable is in namespace boost
178 * ButtonPolicies.h: ditto
180 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
182 * Merging changes from BRANCH_MVC back into HEAD.
184 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
186 * Makefile.am: add ControlBibitem.[Ch].
188 * ControlBibitem.[Ch]: new files that together define the Controller
191 * ControlCommand.h (c-tor): give kb_action a default value of
194 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
196 * ControlCitation.[Ch]: moved search functions out of class.
197 (bibkeysInfo): new method. Returns const reference to private data.
198 (searchKeys): added case-sensitive switch. Used only by simpleSearch
201 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
203 * ControlCitation.[Ch]: added Search functions to the class,
204 (shamelessly lifted from Marco's gnome code). I think that these would
205 be better as helper functions outside the class, but this is a first
208 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlCitation.[Ch]: (getBibkeyList): removed from class
212 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
213 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
214 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
215 implementation of FormCitation.
217 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
219 * ButtonPolicies.h: add SMI_NOOP to enum.
221 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
223 * ButtonController.C (input): add "optimising" if-statement. Actually,
224 things don't work correctly without it...
226 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
228 * ViewBase.h: remove #pragma directive
230 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
233 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
235 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
237 * Makefile.am: added ButtonPolicies.[Ch]
239 * ButtonController.[Ch]: ButtonController is split into
240 ButtonControllerBase and a template ButtonController class. The base
241 class no longer stores a pointer to a ButtonPolicy, but instead
242 accesses the actual instantiation of the policy through a pure virtual
243 method bp(). This method and the ButtonPolicy itself are instantiated
244 in the templatised ButtonController class. This class is derived from
245 the GUI-specific GUIBC class, meaning that the frontends know
246 nothing about the actual policy decided upon by the controllers.
248 * ControlBase.[Ch]: No longer store the View or the ButtonController.
249 Instead the actual instantiations are accessed through pure virtual
250 methods view() and bc(). The daughter classes are responsible for the
251 actual View and ButtonController.
253 * ControlCitation.h: the templatised class GUICitation instantiates
254 the methods view() and bc(). It also stores the instances of the
255 View and ButtonController.
257 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
259 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
260 also changed to ButtonController.
263 * ControlConnections.[Ch]:
264 * ControlCommand.[Ch]:
265 * ControlCitation.[Ch]:
266 * ViewBase.h: Changes associated with this.
268 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
270 * ButtonControllerBase.[Ch]: new files. Split Allan's original
271 xforms/ButtonController class into a GUI-I class (here) and an
272 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
274 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
275 from which all Dialog Controllers should be derived. the Controllers
276 are GUI-independent, but are designed to control the behaviour of
277 GUI-specific implementaions of each dialog.
279 * ControlConnections.[Ch]: new files. Classes controlling the
280 connections of buffer-independent, buffer-dependent and Inset dialogs
283 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
284 InsetCommand subset of insets.
286 * ControlCitation.[Ch]: new files. The test specialisation! A
287 controller for the Citation dialog.
289 * ViewBase.h: new file. ViewBase is an abstract base class from which
290 GUI-specific dialogs should be derived. The functionality that the GUIs
291 must now implement is much reduced.