1 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10 * ControlCopyright.C: include gettext.h
13 * character.C: include gettext.h and language.h
15 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
18 * ButtonControllerBase.h:
19 * ButtonControllerBase.C:
26 * ControlConnections.h:
32 * ViewBase.h: s/ControlButton/ControlButtons/
34 s/UndoAll/Restore/ + associated
36 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
38 * ControlToc.[Ch]: new files; a controller for the TOC popup.
41 * Makefile.am: associated changes with all of the above.
43 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
45 * ControlExternal.C: bug fixes. Can now apply changes to the inset
46 and edit, view, update the External Material correctly. I hope!
48 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
50 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
52 * BCTemplates.h: renamed as ButtonController.h
54 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
57 * ControlConnections.h: associated change in #include and class names.
59 * ControlExternal.[Ch]: new files; a controller for the External
63 * Makefile.am: associated changes with all of the above.
65 * ControlGraphics.[Ch]:
66 * ControlInclude.[Ch]:
69 (Browse): new method. Returns the results of a FileDialog browse.
71 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
72 (getVectorFromString): fixed bug.
74 * biblio.C (simpleSearch): cleaned up.
76 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
78 * A slight reworking of Baruch Even's ButtonController patch.
80 * BCTemplates.h: new file; all the templates for the ButtonController.
81 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
82 to the more generic setButtonLabel().
84 * ButtonController.[Ch]: renamed cancel_label and close_label as
85 cancel_label_ and close_label_.
87 * Makefile.am: added BCTemplates.h
89 2001-03-29 Juergen Vigna <jug@sad.it>
91 * ControlMinipage.C: removed widthp_ and all it's functions and changed
92 to use new %-lengths of LyXLength.
94 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlCitation.C (bibkeysInfo): removed Assert.
98 * ControlCopyright.h: moved GUICopyright into GUI.h
102 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
104 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
105 (setDaughterParams): a (by default empty) new method called in show().
114 * ControlUrl.h (clearDaughterParams): removed
116 * ControlMinipage.C (applyParamsToInset): update the view.
117 Added namespace minipage containing a helper function getUnits.
119 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
121 * ControlCharacter.[Ch]: moved out all the helper functions and the
122 enum into their own file.
123 * character.[Ch]: new files; contain the character helper functions,
124 now inside namespace character.
126 * ControlCitation.[Ch]: moved out all the helper functions and the
127 enums into their own file. Simplified interface.
128 * biblio.[Ch]: new files; contain the citation helper functions,
129 now inside namespace biblio. Will be of use also to an improved
132 * ControlGraphics.[Ch]:
133 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
134 popups, respectively.
137 * Makefile.am: associated changes.
139 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlMinipage.[Ch]:
142 * ControlPreamble.[Ch]:
144 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
145 and Print popups and Splash screen, respectively.
147 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
151 * Makefile.am: associated changes.
153 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
155 * ControlConnections.[Ch]: (docType): new method; returns the type
156 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
159 * ControlSearch.[Ch]:
160 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
161 Search and TabularCreate popups, respectively.
164 * Makefile.am: associated changes.
166 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
168 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
171 * ControlInset.h (apply): fix bug. Can now create new insets again.
173 * README: describe program flow.
175 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
177 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
179 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
181 * ControlDialogs.h: moved class ControlInset into its own file.
183 * ControlInset.h: new file. class ControlInset has been expanded to take
184 two template parameters, Inset and Params. Believe that all inset
185 controllers can be derived from this with the minimum of effort.
187 * ControlBibitem.[Ch]:
188 * ControlBibtex.[Ch]:
189 * ControlCitation.[Ch]:
190 * ControlCommand.[Ch]: moved most code into ControlInset.
192 * lots of files. Moved protected stuff into private where possible.
195 * ControlInclude.[Ch]:
196 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
197 Include and Url popups, respectively.
200 * Makefile.am: associated changes.
202 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
207 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * ControlCredits.C (getCredits): remove std:: qualifier for
212 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
214 * ControlCredits.C (getCredits): add std:: on vector
216 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
218 * ControlCredits.C: remove using that is only used once, use
219 std::ios instead of std::iosbase, add some annoying comments.
221 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
223 * lots of header files: improved explanatory notes.
225 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
226 ControlBase is now a class that only controls the interaction of the
227 View with the ButtonController.
229 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
230 to ControlConnectBase. The class controls the connection/disconnection
231 of signals from the LyX kernel and makes available the kernel (through
232 lv_) to daughter controller classes.
233 Moved out class ControlConnectInset to a new file ControlDialogs.h.
235 * ControlDialogs.h: new file. Contains the definition of two template
236 controller classes, ControlDialog and ControlInset (was
237 ControlConnectInset). ControlInset is a parent class for controllers
238 of inset-popups. ControlDialogs is the rather uninspired name for
239 the base class of all non-inset popups. (Eg, Document and Paragraph.)
240 ControlDialogs is reaching a state of maturity as several popups now use
241 it and its functionality becomes clear. ControlInset is still in a state
242 of flux. It is likely that functionality will be moved out of
243 ControlCommands and into it.
245 * GUI.h: new file. Moved all the template GUIXXX classes out of the
246 individual Controller header files and into one place. These classes
247 serve only as convenient wrappers to simplify code in the respective
248 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
250 * ControlCharacter.[Ch] (show, update, hide):
251 * ControlLog.[Ch] (show, update, hide):
252 * ControlVCLog.[Ch] (show, update, hide): moved back into
253 the ControlDialogs base class.
254 (setParams, clearParams): new methods containing controller-specific
255 code to set/reset the parameters manipulated by the view.
257 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
259 (hide): calls clearParams.
261 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
262 by ControlCommand::hide().
264 * ControlCopyright.[Ch]:
265 * ControlCredits.[Ch]: new files; controllers for the copyright and
266 credits popups, respectively.
268 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
270 * ControlCharacter.C: fix typo
272 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
274 * ControlCharacter.[Ch]: new files; controller for the character popup.
276 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
277 moved to new files helper_funcs.[Ch].
279 * helper_funcs.[Ch]: new files. Some useful helper functions and
282 * Makefile.am: added new files.
284 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
286 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
288 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
291 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
292 Control log files, respectively.
294 * Makefile.am: added new files.
296 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
298 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
300 * Makefile.am: added ControlBibtex.[Ch].
302 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
305 * ControlCitation.C: added "using SigC::slot" declaration.
307 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
308 to FormCitation.C prior to the merger: "Do not put space between
311 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
313 * several files: remove CXX_WORKING_NAMESPACES
315 * ButtonController.h: noncopyable is in namespace boost
316 * ButtonPolicies.h: ditto
318 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
320 * Merging changes from BRANCH_MVC back into HEAD.
322 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
324 * Makefile.am: add ControlBibitem.[Ch].
326 * ControlBibitem.[Ch]: new files that together define the Controller
329 * ControlCommand.h (c-tor): give kb_action a default value of
332 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
334 * ControlCitation.[Ch]: moved search functions out of class.
335 (bibkeysInfo): new method. Returns const reference to private data.
336 (searchKeys): added case-sensitive switch. Used only by simpleSearch
339 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
341 * ControlCitation.[Ch]: added Search functions to the class,
342 (shamelessly lifted from Marco's gnome code). I think that these would
343 be better as helper functions outside the class, but this is a first
346 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
348 * ControlCitation.[Ch]: (getBibkeyList): removed from class
350 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
351 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
352 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
353 implementation of FormCitation.
355 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
357 * ButtonPolicies.h: add SMI_NOOP to enum.
359 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
361 * ButtonController.C (input): add "optimising" if-statement. Actually,
362 things don't work correctly without it...
364 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
366 * ViewBase.h: remove #pragma directive
368 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
371 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
373 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
375 * Makefile.am: added ButtonPolicies.[Ch]
377 * ButtonController.[Ch]: ButtonController is split into
378 ButtonControllerBase and a template ButtonController class. The base
379 class no longer stores a pointer to a ButtonPolicy, but instead
380 accesses the actual instantiation of the policy through a pure virtual
381 method bp(). This method and the ButtonPolicy itself are instantiated
382 in the templatised ButtonController class. This class is derived from
383 the GUI-specific GUIBC class, meaning that the frontends know
384 nothing about the actual policy decided upon by the controllers.
386 * ControlBase.[Ch]: No longer store the View or the ButtonController.
387 Instead the actual instantiations are accessed through pure virtual
388 methods view() and bc(). The daughter classes are responsible for the
389 actual View and ButtonController.
391 * ControlCitation.h: the templatised class GUICitation instantiates
392 the methods view() and bc(). It also stores the instances of the
393 View and ButtonController.
395 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
397 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
398 also changed to ButtonController.
401 * ControlConnections.[Ch]:
402 * ControlCommand.[Ch]:
403 * ControlCitation.[Ch]:
404 * ViewBase.h: Changes associated with this.
406 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
408 * ButtonControllerBase.[Ch]: new files. Split Allan's original
409 xforms/ButtonController class into a GUI-I class (here) and an
410 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
412 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
413 from which all Dialog Controllers should be derived. the Controllers
414 are GUI-independent, but are designed to control the behaviour of
415 GUI-specific implementaions of each dialog.
417 * ControlConnections.[Ch]: new files. Classes controlling the
418 connections of buffer-independent, buffer-dependent and Inset dialogs
421 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
422 InsetCommand subset of insets.
424 * ControlCitation.[Ch]: new files. The test specialisation! A
425 controller for the Citation dialog.
427 * ViewBase.h: new file. ViewBase is an abstract base class from which
428 GUI-specific dialogs should be derived. The functionality that the GUIs
429 must now implement is much reduced.