1 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
4 * ButtonControllerBase.h:
5 * ButtonControllerBase.C:
12 * ControlConnections.h:
18 * ViewBase.h: s/ControlButton/ControlButtons/
20 s/UndoAll/Restore/ + associated
22 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
24 * ControlToc.[Ch]: new files; a controller for the TOC popup.
27 * Makefile.am: associated changes with all of the above.
29 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
31 * ControlExternal.C: bug fixes. Can now apply changes to the inset
32 and edit, view, update the External Material correctly. I hope!
34 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
36 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
38 * BCTemplates.h: renamed as ButtonController.h
40 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
43 * ControlConnections.h: associated change in #include and class names.
45 * ControlExternal.[Ch]: new files; a controller for the External
49 * Makefile.am: associated changes with all of the above.
51 * ControlGraphics.[Ch]:
52 * ControlInclude.[Ch]:
55 (Browse): new method. Returns the results of a FileDialog browse.
57 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
58 (getVectorFromString): fixed bug.
60 * biblio.C (simpleSearch): cleaned up.
62 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
64 * A slight reworking of Baruch Even's ButtonController patch.
66 * BCTemplates.h: new file; all the templates for the ButtonController.
67 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
68 to the more generic setButtonLabel().
70 * ButtonController.[Ch]: renamed cancel_label and close_label as
71 cancel_label_ and close_label_.
73 * Makefile.am: added BCTemplates.h
75 2001-03-29 Juergen Vigna <jug@sad.it>
77 * ControlMinipage.C: removed widthp_ and all it's functions and changed
78 to use new %-lengths of LyXLength.
80 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
82 * ControlCitation.C (bibkeysInfo): removed Assert.
84 * ControlCopyright.h: moved GUICopyright into GUI.h
88 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
90 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
91 (setDaughterParams): a (by default empty) new method called in show().
100 * ControlUrl.h (clearDaughterParams): removed
102 * ControlMinipage.C (applyParamsToInset): update the view.
103 Added namespace minipage containing a helper function getUnits.
105 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
107 * ControlCharacter.[Ch]: moved out all the helper functions and the
108 enum into their own file.
109 * character.[Ch]: new files; contain the character helper functions,
110 now inside namespace character.
112 * ControlCitation.[Ch]: moved out all the helper functions and the
113 enums into their own file. Simplified interface.
114 * biblio.[Ch]: new files; contain the citation helper functions,
115 now inside namespace biblio. Will be of use also to an improved
118 * ControlGraphics.[Ch]:
119 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
120 popups, respectively.
123 * Makefile.am: associated changes.
125 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlMinipage.[Ch]:
128 * ControlPreamble.[Ch]:
130 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
131 and Print popups and Splash screen, respectively.
133 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
137 * Makefile.am: associated changes.
139 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlConnections.[Ch]: (docType): new method; returns the type
142 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
145 * ControlSearch.[Ch]:
146 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
147 Search and TabularCreate popups, respectively.
150 * Makefile.am: associated changes.
152 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
154 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
157 * ControlInset.h (apply): fix bug. Can now create new insets again.
159 * README: describe program flow.
161 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
163 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
165 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlDialogs.h: moved class ControlInset into its own file.
169 * ControlInset.h: new file. class ControlInset has been expanded to take
170 two template parameters, Inset and Params. Believe that all inset
171 controllers can be derived from this with the minimum of effort.
173 * ControlBibitem.[Ch]:
174 * ControlBibtex.[Ch]:
175 * ControlCitation.[Ch]:
176 * ControlCommand.[Ch]: moved most code into ControlInset.
178 * lots of files. Moved protected stuff into private where possible.
181 * ControlInclude.[Ch]:
182 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
183 Include and Url popups, respectively.
186 * Makefile.am: associated changes.
188 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
190 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
193 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * ControlCredits.C (getCredits): remove std:: qualifier for
198 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
200 * ControlCredits.C (getCredits): add std:: on vector
202 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
204 * ControlCredits.C: remove using that is only used once, use
205 std::ios instead of std::iosbase, add some annoying comments.
207 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
209 * lots of header files: improved explanatory notes.
211 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
212 ControlBase is now a class that only controls the interaction of the
213 View with the ButtonController.
215 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
216 to ControlConnectBase. The class controls the connection/disconnection
217 of signals from the LyX kernel and makes available the kernel (through
218 lv_) to daughter controller classes.
219 Moved out class ControlConnectInset to a new file ControlDialogs.h.
221 * ControlDialogs.h: new file. Contains the definition of two template
222 controller classes, ControlDialog and ControlInset (was
223 ControlConnectInset). ControlInset is a parent class for controllers
224 of inset-popups. ControlDialogs is the rather uninspired name for
225 the base class of all non-inset popups. (Eg, Document and Paragraph.)
226 ControlDialogs is reaching a state of maturity as several popups now use
227 it and its functionality becomes clear. ControlInset is still in a state
228 of flux. It is likely that functionality will be moved out of
229 ControlCommands and into it.
231 * GUI.h: new file. Moved all the template GUIXXX classes out of the
232 individual Controller header files and into one place. These classes
233 serve only as convenient wrappers to simplify code in the respective
234 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
236 * ControlCharacter.[Ch] (show, update, hide):
237 * ControlLog.[Ch] (show, update, hide):
238 * ControlVCLog.[Ch] (show, update, hide): moved back into
239 the ControlDialogs base class.
240 (setParams, clearParams): new methods containing controller-specific
241 code to set/reset the parameters manipulated by the view.
243 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
245 (hide): calls clearParams.
247 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
248 by ControlCommand::hide().
250 * ControlCopyright.[Ch]:
251 * ControlCredits.[Ch]: new files; controllers for the copyright and
252 credits popups, respectively.
254 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
256 * ControlCharacter.C: fix typo
258 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
260 * ControlCharacter.[Ch]: new files; controller for the character popup.
262 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
263 moved to new files helper_funcs.[Ch].
265 * helper_funcs.[Ch]: new files. Some useful helper functions and
268 * Makefile.am: added new files.
270 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
274 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
277 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
278 Control log files, respectively.
280 * Makefile.am: added new files.
282 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
284 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
286 * Makefile.am: added ControlBibtex.[Ch].
288 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
291 * ControlCitation.C: added "using SigC::slot" declaration.
293 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
294 to FormCitation.C prior to the merger: "Do not put space between
297 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
299 * several files: remove CXX_WORKING_NAMESPACES
301 * ButtonController.h: noncopyable is in namespace boost
302 * ButtonPolicies.h: ditto
304 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
306 * Merging changes from BRANCH_MVC back into HEAD.
308 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
310 * Makefile.am: add ControlBibitem.[Ch].
312 * ControlBibitem.[Ch]: new files that together define the Controller
315 * ControlCommand.h (c-tor): give kb_action a default value of
318 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
320 * ControlCitation.[Ch]: moved search functions out of class.
321 (bibkeysInfo): new method. Returns const reference to private data.
322 (searchKeys): added case-sensitive switch. Used only by simpleSearch
325 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
327 * ControlCitation.[Ch]: added Search functions to the class,
328 (shamelessly lifted from Marco's gnome code). I think that these would
329 be better as helper functions outside the class, but this is a first
332 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
334 * ControlCitation.[Ch]: (getBibkeyList): removed from class
336 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
337 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
338 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
339 implementation of FormCitation.
341 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
343 * ButtonPolicies.h: add SMI_NOOP to enum.
345 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
347 * ButtonController.C (input): add "optimising" if-statement. Actually,
348 things don't work correctly without it...
350 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
352 * ViewBase.h: remove #pragma directive
354 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
357 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
359 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
361 * Makefile.am: added ButtonPolicies.[Ch]
363 * ButtonController.[Ch]: ButtonController is split into
364 ButtonControllerBase and a template ButtonController class. The base
365 class no longer stores a pointer to a ButtonPolicy, but instead
366 accesses the actual instantiation of the policy through a pure virtual
367 method bp(). This method and the ButtonPolicy itself are instantiated
368 in the templatised ButtonController class. This class is derived from
369 the GUI-specific GUIBC class, meaning that the frontends know
370 nothing about the actual policy decided upon by the controllers.
372 * ControlBase.[Ch]: No longer store the View or the ButtonController.
373 Instead the actual instantiations are accessed through pure virtual
374 methods view() and bc(). The daughter classes are responsible for the
375 actual View and ButtonController.
377 * ControlCitation.h: the templatised class GUICitation instantiates
378 the methods view() and bc(). It also stores the instances of the
379 View and ButtonController.
381 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
383 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
384 also changed to ButtonController.
387 * ControlConnections.[Ch]:
388 * ControlCommand.[Ch]:
389 * ControlCitation.[Ch]:
390 * ViewBase.h: Changes associated with this.
392 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
394 * ButtonControllerBase.[Ch]: new files. Split Allan's original
395 xforms/ButtonController class into a GUI-I class (here) and an
396 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
398 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
399 from which all Dialog Controllers should be derived. the Controllers
400 are GUI-independent, but are designed to control the behaviour of
401 GUI-specific implementaions of each dialog.
403 * ControlConnections.[Ch]: new files. Classes controlling the
404 connections of buffer-independent, buffer-dependent and Inset dialogs
407 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
408 InsetCommand subset of insets.
410 * ControlCitation.[Ch]: new files. The test specialisation! A
411 controller for the Citation dialog.
413 * ViewBase.h: new file. ViewBase is an abstract base class from which
414 GUI-specific dialogs should be derived. The functionality that the GUIs
415 must now implement is much reduced.