1 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlToc.[Ch]: new files; a controller for the TOC popup.
6 * Makefile.am: associated changes with all of the above.
8 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10 * ControlExternal.C: bug fixes. Can now apply changes to the inset
11 and edit, view, update the External Material correctly. I hope!
13 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
17 * BCTemplates.h: renamed as ButtonController.h
19 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
22 * ControlConnections.h: associated change in #include and class names.
24 * ControlExternal.[Ch]: new files; a controller for the External
28 * Makefile.am: associated changes with all of the above.
30 * ControlGraphics.[Ch]:
31 * ControlInclude.[Ch]:
34 (Browse): new method. Returns the results of a FileDialog browse.
36 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
37 (getVectorFromString): fixed bug.
39 * biblio.C (simpleSearch): cleaned up.
41 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
43 * A slight reworking of Baruch Even's ButtonController patch.
45 * BCTemplates.h: new file; all the templates for the ButtonController.
46 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
47 to the more generic setButtonLabel().
49 * ButtonController.[Ch]: renamed cancel_label and close_label as
50 cancel_label_ and close_label_.
52 * Makefile.am: added BCTemplates.h
54 2001-03-29 Juergen Vigna <jug@sad.it>
56 * ControlMinipage.C: removed widthp_ and all it's functions and changed
57 to use new %-lengths of LyXLength.
59 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
61 * ControlCitation.C (bibkeysInfo): removed Assert.
63 * ControlCopyright.h: moved GUICopyright into GUI.h
67 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
70 (setDaughterParams): a (by default empty) new method called in show().
79 * ControlUrl.h (clearDaughterParams): removed
81 * ControlMinipage.C (applyParamsToInset): update the view.
82 Added namespace minipage containing a helper function getUnits.
84 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
86 * ControlCharacter.[Ch]: moved out all the helper functions and the
87 enum into their own file.
88 * character.[Ch]: new files; contain the character helper functions,
89 now inside namespace character.
91 * ControlCitation.[Ch]: moved out all the helper functions and the
92 enums into their own file. Simplified interface.
93 * biblio.[Ch]: new files; contain the citation helper functions,
94 now inside namespace biblio. Will be of use also to an improved
97 * ControlGraphics.[Ch]:
98 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
102 * Makefile.am: associated changes.
104 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlMinipage.[Ch]:
107 * ControlPreamble.[Ch]:
109 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
110 and Print popups and Splash screen, respectively.
112 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
116 * Makefile.am: associated changes.
118 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlConnections.[Ch]: (docType): new method; returns the type
121 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
124 * ControlSearch.[Ch]:
125 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
126 Search and TabularCreate popups, respectively.
129 * Makefile.am: associated changes.
131 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
136 * ControlInset.h (apply): fix bug. Can now create new insets again.
138 * README: describe program flow.
140 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
142 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
144 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
146 * ControlDialogs.h: moved class ControlInset into its own file.
148 * ControlInset.h: new file. class ControlInset has been expanded to take
149 two template parameters, Inset and Params. Believe that all inset
150 controllers can be derived from this with the minimum of effort.
152 * ControlBibitem.[Ch]:
153 * ControlBibtex.[Ch]:
154 * ControlCitation.[Ch]:
155 * ControlCommand.[Ch]: moved most code into ControlInset.
157 * lots of files. Moved protected stuff into private where possible.
160 * ControlInclude.[Ch]:
161 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
162 Include and Url popups, respectively.
165 * Makefile.am: associated changes.
167 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
172 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
174 * ControlCredits.C (getCredits): remove std:: qualifier for
177 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
179 * ControlCredits.C (getCredits): add std:: on vector
181 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
183 * ControlCredits.C: remove using that is only used once, use
184 std::ios instead of std::iosbase, add some annoying comments.
186 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
188 * lots of header files: improved explanatory notes.
190 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
191 ControlBase is now a class that only controls the interaction of the
192 View with the ButtonController.
194 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
195 to ControlConnectBase. The class controls the connection/disconnection
196 of signals from the LyX kernel and makes available the kernel (through
197 lv_) to daughter controller classes.
198 Moved out class ControlConnectInset to a new file ControlDialogs.h.
200 * ControlDialogs.h: new file. Contains the definition of two template
201 controller classes, ControlDialog and ControlInset (was
202 ControlConnectInset). ControlInset is a parent class for controllers
203 of inset-popups. ControlDialogs is the rather uninspired name for
204 the base class of all non-inset popups. (Eg, Document and Paragraph.)
205 ControlDialogs is reaching a state of maturity as several popups now use
206 it and its functionality becomes clear. ControlInset is still in a state
207 of flux. It is likely that functionality will be moved out of
208 ControlCommands and into it.
210 * GUI.h: new file. Moved all the template GUIXXX classes out of the
211 individual Controller header files and into one place. These classes
212 serve only as convenient wrappers to simplify code in the respective
213 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
215 * ControlCharacter.[Ch] (show, update, hide):
216 * ControlLog.[Ch] (show, update, hide):
217 * ControlVCLog.[Ch] (show, update, hide): moved back into
218 the ControlDialogs base class.
219 (setParams, clearParams): new methods containing controller-specific
220 code to set/reset the parameters manipulated by the view.
222 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
224 (hide): calls clearParams.
226 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
227 by ControlCommand::hide().
229 * ControlCopyright.[Ch]:
230 * ControlCredits.[Ch]: new files; controllers for the copyright and
231 credits popups, respectively.
233 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
235 * ControlCharacter.C: fix typo
237 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
239 * ControlCharacter.[Ch]: new files; controller for the character popup.
241 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
242 moved to new files helper_funcs.[Ch].
244 * helper_funcs.[Ch]: new files. Some useful helper functions and
247 * Makefile.am: added new files.
249 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
253 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
257 Control log files, respectively.
259 * Makefile.am: added new files.
261 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
263 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
265 * Makefile.am: added ControlBibtex.[Ch].
267 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
270 * ControlCitation.C: added "using SigC::slot" declaration.
272 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
273 to FormCitation.C prior to the merger: "Do not put space between
276 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
278 * several files: remove CXX_WORKING_NAMESPACES
280 * ButtonController.h: noncopyable is in namespace boost
281 * ButtonPolicies.h: ditto
283 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
285 * Merging changes from BRANCH_MVC back into HEAD.
287 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
289 * Makefile.am: add ControlBibitem.[Ch].
291 * ControlBibitem.[Ch]: new files that together define the Controller
294 * ControlCommand.h (c-tor): give kb_action a default value of
297 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
299 * ControlCitation.[Ch]: moved search functions out of class.
300 (bibkeysInfo): new method. Returns const reference to private data.
301 (searchKeys): added case-sensitive switch. Used only by simpleSearch
304 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlCitation.[Ch]: added Search functions to the class,
307 (shamelessly lifted from Marco's gnome code). I think that these would
308 be better as helper functions outside the class, but this is a first
311 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
313 * ControlCitation.[Ch]: (getBibkeyList): removed from class
315 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
316 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
317 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
318 implementation of FormCitation.
320 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
322 * ButtonPolicies.h: add SMI_NOOP to enum.
324 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
326 * ButtonController.C (input): add "optimising" if-statement. Actually,
327 things don't work correctly without it...
329 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
331 * ViewBase.h: remove #pragma directive
333 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
336 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
338 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
340 * Makefile.am: added ButtonPolicies.[Ch]
342 * ButtonController.[Ch]: ButtonController is split into
343 ButtonControllerBase and a template ButtonController class. The base
344 class no longer stores a pointer to a ButtonPolicy, but instead
345 accesses the actual instantiation of the policy through a pure virtual
346 method bp(). This method and the ButtonPolicy itself are instantiated
347 in the templatised ButtonController class. This class is derived from
348 the GUI-specific GUIBC class, meaning that the frontends know
349 nothing about the actual policy decided upon by the controllers.
351 * ControlBase.[Ch]: No longer store the View or the ButtonController.
352 Instead the actual instantiations are accessed through pure virtual
353 methods view() and bc(). The daughter classes are responsible for the
354 actual View and ButtonController.
356 * ControlCitation.h: the templatised class GUICitation instantiates
357 the methods view() and bc(). It also stores the instances of the
358 View and ButtonController.
360 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
362 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
363 also changed to ButtonController.
366 * ControlConnections.[Ch]:
367 * ControlCommand.[Ch]:
368 * ControlCitation.[Ch]:
369 * ViewBase.h: Changes associated with this.
371 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
373 * ButtonControllerBase.[Ch]: new files. Split Allan's original
374 xforms/ButtonController class into a GUI-I class (here) and an
375 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
377 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
378 from which all Dialog Controllers should be derived. the Controllers
379 are GUI-independent, but are designed to control the behaviour of
380 GUI-specific implementaions of each dialog.
382 * ControlConnections.[Ch]: new files. Classes controlling the
383 connections of buffer-independent, buffer-dependent and Inset dialogs
386 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
387 InsetCommand subset of insets.
389 * ControlCitation.[Ch]: new files. The test specialisation! A
390 controller for the Citation dialog.
392 * ViewBase.h: new file. ViewBase is an abstract base class from which
393 GUI-specific dialogs should be derived. The functionality that the GUIs
394 must now implement is much reduced.