1 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3 * ControlTabularCreate.h:
4 * ControlTabularCreate.C: make dialogs use a pair of uints
8 * ControlVCLog.C: fill a stringstream with the log contents
11 * ControlExternal.C: from Angus, clone the new InsetExternal
14 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
16 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
19 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
28 * ControlCopyright.C: include gettext.h
31 * character.C: include gettext.h and language.h
33 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
36 * ButtonControllerBase.h:
37 * ButtonControllerBase.C:
44 * ControlConnections.h:
50 * ViewBase.h: s/ControlButton/ControlButtons/
52 s/UndoAll/Restore/ + associated
54 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
56 * ControlToc.[Ch]: new files; a controller for the TOC popup.
59 * Makefile.am: associated changes with all of the above.
61 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
63 * ControlExternal.C: bug fixes. Can now apply changes to the inset
64 and edit, view, update the External Material correctly. I hope!
66 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
68 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
70 * BCTemplates.h: renamed as ButtonController.h
72 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
75 * ControlConnections.h: associated change in #include and class names.
77 * ControlExternal.[Ch]: new files; a controller for the External
81 * Makefile.am: associated changes with all of the above.
83 * ControlGraphics.[Ch]:
84 * ControlInclude.[Ch]:
87 (Browse): new method. Returns the results of a FileDialog browse.
89 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
90 (getVectorFromString): fixed bug.
92 * biblio.C (simpleSearch): cleaned up.
94 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
96 * A slight reworking of Baruch Even's ButtonController patch.
98 * BCTemplates.h: new file; all the templates for the ButtonController.
99 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
100 to the more generic setButtonLabel().
102 * ButtonController.[Ch]: renamed cancel_label and close_label as
103 cancel_label_ and close_label_.
105 * Makefile.am: added BCTemplates.h
107 2001-03-29 Juergen Vigna <jug@sad.it>
109 * ControlMinipage.C: removed widthp_ and all it's functions and changed
110 to use new %-lengths of LyXLength.
112 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
114 * ControlCitation.C (bibkeysInfo): removed Assert.
116 * ControlCopyright.h: moved GUICopyright into GUI.h
120 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
123 (setDaughterParams): a (by default empty) new method called in show().
132 * ControlUrl.h (clearDaughterParams): removed
134 * ControlMinipage.C (applyParamsToInset): update the view.
135 Added namespace minipage containing a helper function getUnits.
137 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
139 * ControlCharacter.[Ch]: moved out all the helper functions and the
140 enum into their own file.
141 * character.[Ch]: new files; contain the character helper functions,
142 now inside namespace character.
144 * ControlCitation.[Ch]: moved out all the helper functions and the
145 enums into their own file. Simplified interface.
146 * biblio.[Ch]: new files; contain the citation helper functions,
147 now inside namespace biblio. Will be of use also to an improved
150 * ControlGraphics.[Ch]:
151 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
152 popups, respectively.
155 * Makefile.am: associated changes.
157 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
159 * ControlMinipage.[Ch]:
160 * ControlPreamble.[Ch]:
162 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
163 and Print popups and Splash screen, respectively.
165 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
169 * Makefile.am: associated changes.
171 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlConnections.[Ch]: (docType): new method; returns the type
174 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
177 * ControlSearch.[Ch]:
178 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
179 Search and TabularCreate popups, respectively.
182 * Makefile.am: associated changes.
184 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
186 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
189 * ControlInset.h (apply): fix bug. Can now create new insets again.
191 * README: describe program flow.
193 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
195 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
197 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
199 * ControlDialogs.h: moved class ControlInset into its own file.
201 * ControlInset.h: new file. class ControlInset has been expanded to take
202 two template parameters, Inset and Params. Believe that all inset
203 controllers can be derived from this with the minimum of effort.
205 * ControlBibitem.[Ch]:
206 * ControlBibtex.[Ch]:
207 * ControlCitation.[Ch]:
208 * ControlCommand.[Ch]: moved most code into ControlInset.
210 * lots of files. Moved protected stuff into private where possible.
213 * ControlInclude.[Ch]:
214 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
215 Include and Url popups, respectively.
218 * Makefile.am: associated changes.
220 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
222 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
225 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
227 * ControlCredits.C (getCredits): remove std:: qualifier for
230 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
232 * ControlCredits.C (getCredits): add std:: on vector
234 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
236 * ControlCredits.C: remove using that is only used once, use
237 std::ios instead of std::iosbase, add some annoying comments.
239 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
241 * lots of header files: improved explanatory notes.
243 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
244 ControlBase is now a class that only controls the interaction of the
245 View with the ButtonController.
247 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
248 to ControlConnectBase. The class controls the connection/disconnection
249 of signals from the LyX kernel and makes available the kernel (through
250 lv_) to daughter controller classes.
251 Moved out class ControlConnectInset to a new file ControlDialogs.h.
253 * ControlDialogs.h: new file. Contains the definition of two template
254 controller classes, ControlDialog and ControlInset (was
255 ControlConnectInset). ControlInset is a parent class for controllers
256 of inset-popups. ControlDialogs is the rather uninspired name for
257 the base class of all non-inset popups. (Eg, Document and Paragraph.)
258 ControlDialogs is reaching a state of maturity as several popups now use
259 it and its functionality becomes clear. ControlInset is still in a state
260 of flux. It is likely that functionality will be moved out of
261 ControlCommands and into it.
263 * GUI.h: new file. Moved all the template GUIXXX classes out of the
264 individual Controller header files and into one place. These classes
265 serve only as convenient wrappers to simplify code in the respective
266 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
268 * ControlCharacter.[Ch] (show, update, hide):
269 * ControlLog.[Ch] (show, update, hide):
270 * ControlVCLog.[Ch] (show, update, hide): moved back into
271 the ControlDialogs base class.
272 (setParams, clearParams): new methods containing controller-specific
273 code to set/reset the parameters manipulated by the view.
275 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
277 (hide): calls clearParams.
279 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
280 by ControlCommand::hide().
282 * ControlCopyright.[Ch]:
283 * ControlCredits.[Ch]: new files; controllers for the copyright and
284 credits popups, respectively.
286 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
288 * ControlCharacter.C: fix typo
290 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlCharacter.[Ch]: new files; controller for the character popup.
294 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
295 moved to new files helper_funcs.[Ch].
297 * helper_funcs.[Ch]: new files. Some useful helper functions and
300 * Makefile.am: added new files.
302 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
304 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
306 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
309 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
310 Control log files, respectively.
312 * Makefile.am: added new files.
314 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
316 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
318 * Makefile.am: added ControlBibtex.[Ch].
320 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
323 * ControlCitation.C: added "using SigC::slot" declaration.
325 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
326 to FormCitation.C prior to the merger: "Do not put space between
329 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
331 * several files: remove CXX_WORKING_NAMESPACES
333 * ButtonController.h: noncopyable is in namespace boost
334 * ButtonPolicies.h: ditto
336 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
338 * Merging changes from BRANCH_MVC back into HEAD.
340 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
342 * Makefile.am: add ControlBibitem.[Ch].
344 * ControlBibitem.[Ch]: new files that together define the Controller
347 * ControlCommand.h (c-tor): give kb_action a default value of
350 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
352 * ControlCitation.[Ch]: moved search functions out of class.
353 (bibkeysInfo): new method. Returns const reference to private data.
354 (searchKeys): added case-sensitive switch. Used only by simpleSearch
357 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
359 * ControlCitation.[Ch]: added Search functions to the class,
360 (shamelessly lifted from Marco's gnome code). I think that these would
361 be better as helper functions outside the class, but this is a first
364 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlCitation.[Ch]: (getBibkeyList): removed from class
368 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
369 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
370 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
371 implementation of FormCitation.
373 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
375 * ButtonPolicies.h: add SMI_NOOP to enum.
377 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
379 * ButtonController.C (input): add "optimising" if-statement. Actually,
380 things don't work correctly without it...
382 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
384 * ViewBase.h: remove #pragma directive
386 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
389 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
391 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
393 * Makefile.am: added ButtonPolicies.[Ch]
395 * ButtonController.[Ch]: ButtonController is split into
396 ButtonControllerBase and a template ButtonController class. The base
397 class no longer stores a pointer to a ButtonPolicy, but instead
398 accesses the actual instantiation of the policy through a pure virtual
399 method bp(). This method and the ButtonPolicy itself are instantiated
400 in the templatised ButtonController class. This class is derived from
401 the GUI-specific GUIBC class, meaning that the frontends know
402 nothing about the actual policy decided upon by the controllers.
404 * ControlBase.[Ch]: No longer store the View or the ButtonController.
405 Instead the actual instantiations are accessed through pure virtual
406 methods view() and bc(). The daughter classes are responsible for the
407 actual View and ButtonController.
409 * ControlCitation.h: the templatised class GUICitation instantiates
410 the methods view() and bc(). It also stores the instances of the
411 View and ButtonController.
413 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
415 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
416 also changed to ButtonController.
419 * ControlConnections.[Ch]:
420 * ControlCommand.[Ch]:
421 * ControlCitation.[Ch]:
422 * ViewBase.h: Changes associated with this.
424 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
426 * ButtonControllerBase.[Ch]: new files. Split Allan's original
427 xforms/ButtonController class into a GUI-I class (here) and an
428 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
430 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
431 from which all Dialog Controllers should be derived. the Controllers
432 are GUI-independent, but are designed to control the behaviour of
433 GUI-specific implementaions of each dialog.
435 * ControlConnections.[Ch]: new files. Classes controlling the
436 connections of buffer-independent, buffer-dependent and Inset dialogs
439 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
440 InsetCommand subset of insets.
442 * ControlCitation.[Ch]: new files. The test specialisation! A
443 controller for the Citation dialog.
445 * ViewBase.h: new file. ViewBase is an abstract base class from which
446 GUI-specific dialogs should be derived. The functionality that the GUIs
447 must now implement is much reduced.