1 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
5 * BCTemplates.h: renamed as ButtonController.h
7 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
10 * ControlConnections.h: associated change in #include and class names.
12 * ControlExternal.[Ch]: new files; a controller for the External
16 * Makefile.am: associated changes with all of the above.
18 * ControlGraphics.[Ch]:
19 * ControlInclude.[Ch]:
22 (Browse): new method. Returns the results of a FileDialog browse.
24 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
25 (getVectorFromString): fixed bug.
27 * biblio.C (simpleSearch): cleaned up.
29 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
31 * A slight reworking of Baruch Even's ButtonController patch.
33 * BCTemplates.h: new file; all the templates for the ButtonController.
34 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
35 to the more generic setButtonLabel().
37 * ButtonController.[Ch]: renamed cancel_label and close_label as
38 cancel_label_ and close_label_.
40 * Makefile.am: added BCTemplates.h
42 2001-03-29 Juergen Vigna <jug@sad.it>
44 * ControlMinipage.C: removed widthp_ and all it's functions and changed
45 to use new %-lengths of LyXLength.
47 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
49 * ControlCitation.C (bibkeysInfo): removed Assert.
51 * ControlCopyright.h: moved GUICopyright into GUI.h
55 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
57 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
58 (setDaughterParams): a (by default empty) new method called in show().
67 * ControlUrl.h (clearDaughterParams): removed
69 * ControlMinipage.C (applyParamsToInset): update the view.
70 Added namespace minipage containing a helper function getUnits.
72 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
74 * ControlCharacter.[Ch]: moved out all the helper functions and the
75 enum into their own file.
76 * character.[Ch]: new files; contain the character helper functions,
77 now inside namespace character.
79 * ControlCitation.[Ch]: moved out all the helper functions and the
80 enums into their own file. Simplified interface.
81 * biblio.[Ch]: new files; contain the citation helper functions,
82 now inside namespace biblio. Will be of use also to an improved
85 * ControlGraphics.[Ch]:
86 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
90 * Makefile.am: associated changes.
92 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlMinipage.[Ch]:
95 * ControlPreamble.[Ch]:
97 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
98 and Print popups and Splash screen, respectively.
100 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
104 * Makefile.am: associated changes.
106 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
108 * ControlConnections.[Ch]: (docType): new method; returns the type
109 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
112 * ControlSearch.[Ch]:
113 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
114 Search and TabularCreate popups, respectively.
117 * Makefile.am: associated changes.
119 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
124 * ControlInset.h (apply): fix bug. Can now create new insets again.
126 * README: describe program flow.
128 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
130 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
132 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
134 * ControlDialogs.h: moved class ControlInset into its own file.
136 * ControlInset.h: new file. class ControlInset has been expanded to take
137 two template parameters, Inset and Params. Believe that all inset
138 controllers can be derived from this with the minimum of effort.
140 * ControlBibitem.[Ch]:
141 * ControlBibtex.[Ch]:
142 * ControlCitation.[Ch]:
143 * ControlCommand.[Ch]: moved most code into ControlInset.
145 * lots of files. Moved protected stuff into private where possible.
148 * ControlInclude.[Ch]:
149 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
150 Include and Url popups, respectively.
153 * Makefile.am: associated changes.
155 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
157 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
160 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
162 * ControlCredits.C (getCredits): remove std:: qualifier for
165 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
167 * ControlCredits.C (getCredits): add std:: on vector
169 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
171 * ControlCredits.C: remove using that is only used once, use
172 std::ios instead of std::iosbase, add some annoying comments.
174 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
176 * lots of header files: improved explanatory notes.
178 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
179 ControlBase is now a class that only controls the interaction of the
180 View with the ButtonController.
182 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
183 to ControlConnectBase. The class controls the connection/disconnection
184 of signals from the LyX kernel and makes available the kernel (through
185 lv_) to daughter controller classes.
186 Moved out class ControlConnectInset to a new file ControlDialogs.h.
188 * ControlDialogs.h: new file. Contains the definition of two template
189 controller classes, ControlDialog and ControlInset (was
190 ControlConnectInset). ControlInset is a parent class for controllers
191 of inset-popups. ControlDialogs is the rather uninspired name for
192 the base class of all non-inset popups. (Eg, Document and Paragraph.)
193 ControlDialogs is reaching a state of maturity as several popups now use
194 it and its functionality becomes clear. ControlInset is still in a state
195 of flux. It is likely that functionality will be moved out of
196 ControlCommands and into it.
198 * GUI.h: new file. Moved all the template GUIXXX classes out of the
199 individual Controller header files and into one place. These classes
200 serve only as convenient wrappers to simplify code in the respective
201 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
203 * ControlCharacter.[Ch] (show, update, hide):
204 * ControlLog.[Ch] (show, update, hide):
205 * ControlVCLog.[Ch] (show, update, hide): moved back into
206 the ControlDialogs base class.
207 (setParams, clearParams): new methods containing controller-specific
208 code to set/reset the parameters manipulated by the view.
210 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
212 (hide): calls clearParams.
214 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
215 by ControlCommand::hide().
217 * ControlCopyright.[Ch]:
218 * ControlCredits.[Ch]: new files; controllers for the copyright and
219 credits popups, respectively.
221 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
223 * ControlCharacter.C: fix typo
225 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlCharacter.[Ch]: new files; controller for the character popup.
229 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
230 moved to new files helper_funcs.[Ch].
232 * helper_funcs.[Ch]: new files. Some useful helper functions and
235 * Makefile.am: added new files.
237 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
239 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
241 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
245 Control log files, respectively.
247 * Makefile.am: added new files.
249 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
253 * Makefile.am: added ControlBibtex.[Ch].
255 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlCitation.C: added "using SigC::slot" declaration.
260 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
261 to FormCitation.C prior to the merger: "Do not put space between
264 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
266 * several files: remove CXX_WORKING_NAMESPACES
268 * ButtonController.h: noncopyable is in namespace boost
269 * ButtonPolicies.h: ditto
271 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
273 * Merging changes from BRANCH_MVC back into HEAD.
275 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
277 * Makefile.am: add ControlBibitem.[Ch].
279 * ControlBibitem.[Ch]: new files that together define the Controller
282 * ControlCommand.h (c-tor): give kb_action a default value of
285 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
287 * ControlCitation.[Ch]: moved search functions out of class.
288 (bibkeysInfo): new method. Returns const reference to private data.
289 (searchKeys): added case-sensitive switch. Used only by simpleSearch
292 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
294 * ControlCitation.[Ch]: added Search functions to the class,
295 (shamelessly lifted from Marco's gnome code). I think that these would
296 be better as helper functions outside the class, but this is a first
299 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
301 * ControlCitation.[Ch]: (getBibkeyList): removed from class
303 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
304 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
305 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
306 implementation of FormCitation.
308 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
310 * ButtonPolicies.h: add SMI_NOOP to enum.
312 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
314 * ButtonController.C (input): add "optimising" if-statement. Actually,
315 things don't work correctly without it...
317 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
319 * ViewBase.h: remove #pragma directive
321 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
324 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
326 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
328 * Makefile.am: added ButtonPolicies.[Ch]
330 * ButtonController.[Ch]: ButtonController is split into
331 ButtonControllerBase and a template ButtonController class. The base
332 class no longer stores a pointer to a ButtonPolicy, but instead
333 accesses the actual instantiation of the policy through a pure virtual
334 method bp(). This method and the ButtonPolicy itself are instantiated
335 in the templatised ButtonController class. This class is derived from
336 the GUI-specific GUIBC class, meaning that the frontends know
337 nothing about the actual policy decided upon by the controllers.
339 * ControlBase.[Ch]: No longer store the View or the ButtonController.
340 Instead the actual instantiations are accessed through pure virtual
341 methods view() and bc(). The daughter classes are responsible for the
342 actual View and ButtonController.
344 * ControlCitation.h: the templatised class GUICitation instantiates
345 the methods view() and bc(). It also stores the instances of the
346 View and ButtonController.
348 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
350 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
351 also changed to ButtonController.
354 * ControlConnections.[Ch]:
355 * ControlCommand.[Ch]:
356 * ControlCitation.[Ch]:
357 * ViewBase.h: Changes associated with this.
359 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
361 * ButtonControllerBase.[Ch]: new files. Split Allan's original
362 xforms/ButtonController class into a GUI-I class (here) and an
363 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
365 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
366 from which all Dialog Controllers should be derived. the Controllers
367 are GUI-independent, but are designed to control the behaviour of
368 GUI-specific implementaions of each dialog.
370 * ControlConnections.[Ch]: new files. Classes controlling the
371 connections of buffer-independent, buffer-dependent and Inset dialogs
374 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
375 InsetCommand subset of insets.
377 * ControlCitation.[Ch]: new files. The test specialisation! A
378 controller for the Citation dialog.
380 * ViewBase.h: new file. ViewBase is an abstract base class from which
381 GUI-specific dialogs should be derived. The functionality that the GUIs
382 must now implement is much reduced.