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