1 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
4 (setDaughterParams): a (by default empty) new method called in show().
13 * ControlUrl.h (clearDaughterParams): removed
15 * ControlMinipage.C (applyParamsToInset): update the view.
16 Added namespace minipage containing a helper function getUnits.
18 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
20 * ControlCharacter.[Ch]: moved out all the helper functions and the
21 enum into their own file.
22 * character.[Ch]: new files; contain the character helper functions,
23 now inside namespace character.
25 * ControlCitation.[Ch]: moved out all the helper functions and the
26 enums into their own file. Simplified interface.
27 * biblio.[Ch]: new files; contain the citation helper functions,
28 now inside namespace biblio. Will be of use also to an improved
31 * ControlGraphics.[Ch]:
32 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
36 * Makefile.am: associated changes.
38 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
40 * ControlMinipage.[Ch]:
41 * ControlPreamble.[Ch]:
43 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
44 and Print popups and Splash screen, respectively.
46 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
50 * Makefile.am: associated changes.
52 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlConnections.[Ch]: (docType): new method; returns the type
55 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
59 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
60 Search and TabularCreate popups, respectively.
63 * Makefile.am: associated changes.
65 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
70 * ControlInset.h (apply): fix bug. Can now create new insets again.
72 * README: describe program flow.
74 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
76 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
78 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
80 * ControlDialogs.h: moved class ControlInset into its own file.
82 * ControlInset.h: new file. class ControlInset has been expanded to take
83 two template parameters, Inset and Params. Believe that all inset
84 controllers can be derived from this with the minimum of effort.
86 * ControlBibitem.[Ch]:
88 * ControlCitation.[Ch]:
89 * ControlCommand.[Ch]: moved most code into ControlInset.
91 * lots of files. Moved protected stuff into private where possible.
94 * ControlInclude.[Ch]:
95 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
96 Include and Url popups, respectively.
99 * Makefile.am: associated changes.
101 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
103 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
106 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
108 * ControlCredits.C (getCredits): remove std:: qualifier for
111 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
113 * ControlCredits.C (getCredits): add std:: on vector
115 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
117 * ControlCredits.C: remove using that is only used once, use
118 std::ios instead of std::iosbase, add some annoying comments.
120 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
122 * lots of header files: improved explanatory notes.
124 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
125 ControlBase is now a class that only controls the interaction of the
126 View with the ButtonController.
128 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
129 to ControlConnectBase. The class controls the connection/disconnection
130 of signals from the LyX kernel and makes available the kernel (through
131 lv_) to daughter controller classes.
132 Moved out class ControlConnectInset to a new file ControlDialogs.h.
134 * ControlDialogs.h: new file. Contains the definition of two template
135 controller classes, ControlDialog and ControlInset (was
136 ControlConnectInset). ControlInset is a parent class for controllers
137 of inset-popups. ControlDialogs is the rather uninspired name for
138 the base class of all non-inset popups. (Eg, Document and Paragraph.)
139 ControlDialogs is reaching a state of maturity as several popups now use
140 it and its functionality becomes clear. ControlInset is still in a state
141 of flux. It is likely that functionality will be moved out of
142 ControlCommands and into it.
144 * GUI.h: new file. Moved all the template GUIXXX classes out of the
145 individual Controller header files and into one place. These classes
146 serve only as convenient wrappers to simplify code in the respective
147 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
149 * ControlCharacter.[Ch] (show, update, hide):
150 * ControlLog.[Ch] (show, update, hide):
151 * ControlVCLog.[Ch] (show, update, hide): moved back into
152 the ControlDialogs base class.
153 (setParams, clearParams): new methods containing controller-specific
154 code to set/reset the parameters manipulated by the view.
156 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
158 (hide): calls clearParams.
160 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
161 by ControlCommand::hide().
163 * ControlCopyright.[Ch]:
164 * ControlCredits.[Ch]: new files; controllers for the copyright and
165 credits popups, respectively.
167 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
169 * ControlCharacter.C: fix typo
171 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlCharacter.[Ch]: new files; controller for the character popup.
175 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
176 moved to new files helper_funcs.[Ch].
178 * helper_funcs.[Ch]: new files. Some useful helper functions and
181 * Makefile.am: added new files.
183 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
185 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
187 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
190 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
191 Control log files, respectively.
193 * Makefile.am: added new files.
195 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
199 * Makefile.am: added ControlBibtex.[Ch].
201 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlCitation.C: added "using SigC::slot" declaration.
206 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
207 to FormCitation.C prior to the merger: "Do not put space between
210 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
212 * several files: remove CXX_WORKING_NAMESPACES
214 * ButtonController.h: noncopyable is in namespace boost
215 * ButtonPolicies.h: ditto
217 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
219 * Merging changes from BRANCH_MVC back into HEAD.
221 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
223 * Makefile.am: add ControlBibitem.[Ch].
225 * ControlBibitem.[Ch]: new files that together define the Controller
228 * ControlCommand.h (c-tor): give kb_action a default value of
231 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
233 * ControlCitation.[Ch]: moved search functions out of class.
234 (bibkeysInfo): new method. Returns const reference to private data.
235 (searchKeys): added case-sensitive switch. Used only by simpleSearch
238 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
240 * ControlCitation.[Ch]: added Search functions to the class,
241 (shamelessly lifted from Marco's gnome code). I think that these would
242 be better as helper functions outside the class, but this is a first
245 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlCitation.[Ch]: (getBibkeyList): removed from class
249 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
250 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
251 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
252 implementation of FormCitation.
254 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
256 * ButtonPolicies.h: add SMI_NOOP to enum.
258 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
260 * ButtonController.C (input): add "optimising" if-statement. Actually,
261 things don't work correctly without it...
263 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
265 * ViewBase.h: remove #pragma directive
267 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
270 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
272 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
274 * Makefile.am: added ButtonPolicies.[Ch]
276 * ButtonController.[Ch]: ButtonController is split into
277 ButtonControllerBase and a template ButtonController class. The base
278 class no longer stores a pointer to a ButtonPolicy, but instead
279 accesses the actual instantiation of the policy through a pure virtual
280 method bp(). This method and the ButtonPolicy itself are instantiated
281 in the templatised ButtonController class. This class is derived from
282 the GUI-specific GUIBC class, meaning that the frontends know
283 nothing about the actual policy decided upon by the controllers.
285 * ControlBase.[Ch]: No longer store the View or the ButtonController.
286 Instead the actual instantiations are accessed through pure virtual
287 methods view() and bc(). The daughter classes are responsible for the
288 actual View and ButtonController.
290 * ControlCitation.h: the templatised class GUICitation instantiates
291 the methods view() and bc(). It also stores the instances of the
292 View and ButtonController.
294 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
296 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
297 also changed to ButtonController.
300 * ControlConnections.[Ch]:
301 * ControlCommand.[Ch]:
302 * ControlCitation.[Ch]:
303 * ViewBase.h: Changes associated with this.
305 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
307 * ButtonControllerBase.[Ch]: new files. Split Allan's original
308 xforms/ButtonController class into a GUI-I class (here) and an
309 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
311 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
312 from which all Dialog Controllers should be derived. the Controllers
313 are GUI-independent, but are designed to control the behaviour of
314 GUI-specific implementaions of each dialog.
316 * ControlConnections.[Ch]: new files. Classes controlling the
317 connections of buffer-independent, buffer-dependent and Inset dialogs
320 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
321 InsetCommand subset of insets.
323 * ControlCitation.[Ch]: new files. The test specialisation! A
324 controller for the Citation dialog.
326 * ViewBase.h: new file. ViewBase is an abstract base class from which
327 GUI-specific dialogs should be derived. The functionality that the GUIs
328 must now implement is much reduced.