1 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlToc.C (getType): remove support for old float list.
5 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
8 * ControlGraphics.h: no longer include insetgraphicsParams.h
9 * ControlInset.h: no longer include LyXView.h
17 * ControlConnections.C:
30 * ControlTabularCreate.C:
32 * ControlVCLog.C: they're now in here!
34 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * ButtonControllerBase.h: C++ mode, inherit privately from
38 * ButtonPolicies.h: ditto
40 * ButtonController.h: C++ mode, swap init order of restore_ and
43 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
45 * ControlTabularCreate.h:
46 * ControlTabularCreate.C: make dialogs use a pair of uints
50 * ControlVCLog.C: fill a stringstream with the log contents
53 * ControlExternal.C: from Angus, clone the new InsetExternal
56 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
58 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
61 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
70 * ControlCopyright.C: include gettext.h
73 * character.C: include gettext.h and language.h
75 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
78 * ButtonControllerBase.h:
79 * ButtonControllerBase.C:
86 * ControlConnections.h:
92 * ViewBase.h: s/ControlButton/ControlButtons/
94 s/UndoAll/Restore/ + associated
96 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
98 * ControlToc.[Ch]: new files; a controller for the TOC popup.
101 * Makefile.am: associated changes with all of the above.
103 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
105 * ControlExternal.C: bug fixes. Can now apply changes to the inset
106 and edit, view, update the External Material correctly. I hope!
108 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
110 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
112 * BCTemplates.h: renamed as ButtonController.h
114 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
117 * ControlConnections.h: associated change in #include and class names.
119 * ControlExternal.[Ch]: new files; a controller for the External
123 * Makefile.am: associated changes with all of the above.
125 * ControlGraphics.[Ch]:
126 * ControlInclude.[Ch]:
129 (Browse): new method. Returns the results of a FileDialog browse.
131 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
132 (getVectorFromString): fixed bug.
134 * biblio.C (simpleSearch): cleaned up.
136 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
138 * A slight reworking of Baruch Even's ButtonController patch.
140 * BCTemplates.h: new file; all the templates for the ButtonController.
141 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
142 to the more generic setButtonLabel().
144 * ButtonController.[Ch]: renamed cancel_label and close_label as
145 cancel_label_ and close_label_.
147 * Makefile.am: added BCTemplates.h
149 2001-03-29 Juergen Vigna <jug@sad.it>
151 * ControlMinipage.C: removed widthp_ and all it's functions and changed
152 to use new %-lengths of LyXLength.
154 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
156 * ControlCitation.C (bibkeysInfo): removed Assert.
158 * ControlCopyright.h: moved GUICopyright into GUI.h
162 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
164 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
165 (setDaughterParams): a (by default empty) new method called in show().
174 * ControlUrl.h (clearDaughterParams): removed
176 * ControlMinipage.C (applyParamsToInset): update the view.
177 Added namespace minipage containing a helper function getUnits.
179 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
181 * ControlCharacter.[Ch]: moved out all the helper functions and the
182 enum into their own file.
183 * character.[Ch]: new files; contain the character helper functions,
184 now inside namespace character.
186 * ControlCitation.[Ch]: moved out all the helper functions and the
187 enums into their own file. Simplified interface.
188 * biblio.[Ch]: new files; contain the citation helper functions,
189 now inside namespace biblio. Will be of use also to an improved
192 * ControlGraphics.[Ch]:
193 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
194 popups, respectively.
197 * Makefile.am: associated changes.
199 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
201 * ControlMinipage.[Ch]:
202 * ControlPreamble.[Ch]:
204 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
205 and Print popups and Splash screen, respectively.
207 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
211 * Makefile.am: associated changes.
213 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
215 * ControlConnections.[Ch]: (docType): new method; returns the type
216 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
219 * ControlSearch.[Ch]:
220 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
221 Search and TabularCreate popups, respectively.
224 * Makefile.am: associated changes.
226 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
231 * ControlInset.h (apply): fix bug. Can now create new insets again.
233 * README: describe program flow.
235 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
237 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
239 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
241 * ControlDialogs.h: moved class ControlInset into its own file.
243 * ControlInset.h: new file. class ControlInset has been expanded to take
244 two template parameters, Inset and Params. Believe that all inset
245 controllers can be derived from this with the minimum of effort.
247 * ControlBibitem.[Ch]:
248 * ControlBibtex.[Ch]:
249 * ControlCitation.[Ch]:
250 * ControlCommand.[Ch]: moved most code into ControlInset.
252 * lots of files. Moved protected stuff into private where possible.
255 * ControlInclude.[Ch]:
256 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
257 Include and Url popups, respectively.
260 * Makefile.am: associated changes.
262 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
264 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
267 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
269 * ControlCredits.C (getCredits): remove std:: qualifier for
272 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
274 * ControlCredits.C (getCredits): add std:: on vector
276 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
278 * ControlCredits.C: remove using that is only used once, use
279 std::ios instead of std::iosbase, add some annoying comments.
281 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
283 * lots of header files: improved explanatory notes.
285 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
286 ControlBase is now a class that only controls the interaction of the
287 View with the ButtonController.
289 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
290 to ControlConnectBase. The class controls the connection/disconnection
291 of signals from the LyX kernel and makes available the kernel (through
292 lv_) to daughter controller classes.
293 Moved out class ControlConnectInset to a new file ControlDialogs.h.
295 * ControlDialogs.h: new file. Contains the definition of two template
296 controller classes, ControlDialog and ControlInset (was
297 ControlConnectInset). ControlInset is a parent class for controllers
298 of inset-popups. ControlDialogs is the rather uninspired name for
299 the base class of all non-inset popups. (Eg, Document and Paragraph.)
300 ControlDialogs is reaching a state of maturity as several popups now use
301 it and its functionality becomes clear. ControlInset is still in a state
302 of flux. It is likely that functionality will be moved out of
303 ControlCommands and into it.
305 * GUI.h: new file. Moved all the template GUIXXX classes out of the
306 individual Controller header files and into one place. These classes
307 serve only as convenient wrappers to simplify code in the respective
308 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
310 * ControlCharacter.[Ch] (show, update, hide):
311 * ControlLog.[Ch] (show, update, hide):
312 * ControlVCLog.[Ch] (show, update, hide): moved back into
313 the ControlDialogs base class.
314 (setParams, clearParams): new methods containing controller-specific
315 code to set/reset the parameters manipulated by the view.
317 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
319 (hide): calls clearParams.
321 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
322 by ControlCommand::hide().
324 * ControlCopyright.[Ch]:
325 * ControlCredits.[Ch]: new files; controllers for the copyright and
326 credits popups, respectively.
328 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
330 * ControlCharacter.C: fix typo
332 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
334 * ControlCharacter.[Ch]: new files; controller for the character popup.
336 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
337 moved to new files helper_funcs.[Ch].
339 * helper_funcs.[Ch]: new files. Some useful helper functions and
342 * Makefile.am: added new files.
344 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
346 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
348 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
352 Control log files, respectively.
354 * Makefile.am: added new files.
356 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
358 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
360 * Makefile.am: added ControlBibtex.[Ch].
362 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlCitation.C: added "using SigC::slot" declaration.
367 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
368 to FormCitation.C prior to the merger: "Do not put space between
371 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
373 * several files: remove CXX_WORKING_NAMESPACES
375 * ButtonController.h: noncopyable is in namespace boost
376 * ButtonPolicies.h: ditto
378 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
380 * Merging changes from BRANCH_MVC back into HEAD.
382 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
384 * Makefile.am: add ControlBibitem.[Ch].
386 * ControlBibitem.[Ch]: new files that together define the Controller
389 * ControlCommand.h (c-tor): give kb_action a default value of
392 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
394 * ControlCitation.[Ch]: moved search functions out of class.
395 (bibkeysInfo): new method. Returns const reference to private data.
396 (searchKeys): added case-sensitive switch. Used only by simpleSearch
399 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
401 * ControlCitation.[Ch]: added Search functions to the class,
402 (shamelessly lifted from Marco's gnome code). I think that these would
403 be better as helper functions outside the class, but this is a first
406 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
408 * ControlCitation.[Ch]: (getBibkeyList): removed from class
410 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
411 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
412 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
413 implementation of FormCitation.
415 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
417 * ButtonPolicies.h: add SMI_NOOP to enum.
419 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
421 * ButtonController.C (input): add "optimising" if-statement. Actually,
422 things don't work correctly without it...
424 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
426 * ViewBase.h: remove #pragma directive
428 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
431 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
433 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
435 * Makefile.am: added ButtonPolicies.[Ch]
437 * ButtonController.[Ch]: ButtonController is split into
438 ButtonControllerBase and a template ButtonController class. The base
439 class no longer stores a pointer to a ButtonPolicy, but instead
440 accesses the actual instantiation of the policy through a pure virtual
441 method bp(). This method and the ButtonPolicy itself are instantiated
442 in the templatised ButtonController class. This class is derived from
443 the GUI-specific GUIBC class, meaning that the frontends know
444 nothing about the actual policy decided upon by the controllers.
446 * ControlBase.[Ch]: No longer store the View or the ButtonController.
447 Instead the actual instantiations are accessed through pure virtual
448 methods view() and bc(). The daughter classes are responsible for the
449 actual View and ButtonController.
451 * ControlCitation.h: the templatised class GUICitation instantiates
452 the methods view() and bc(). It also stores the instances of the
453 View and ButtonController.
455 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
457 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
458 also changed to ButtonController.
461 * ControlConnections.[Ch]:
462 * ControlCommand.[Ch]:
463 * ControlCitation.[Ch]:
464 * ViewBase.h: Changes associated with this.
466 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
468 * ButtonControllerBase.[Ch]: new files. Split Allan's original
469 xforms/ButtonController class into a GUI-I class (here) and an
470 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
472 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
473 from which all Dialog Controllers should be derived. the Controllers
474 are GUI-independent, but are designed to control the behaviour of
475 GUI-specific implementaions of each dialog.
477 * ControlConnections.[Ch]: new files. Classes controlling the
478 connections of buffer-independent, buffer-dependent and Inset dialogs
481 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
482 InsetCommand subset of insets.
484 * ControlCitation.[Ch]: new files. The test specialisation! A
485 controller for the Citation dialog.
487 * ViewBase.h: new file. ViewBase is an abstract base class from which
488 GUI-specific dialogs should be derived. The functionality that the GUIs
489 must now implement is much reduced.