1 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlPrint.C (c-tor): initialise params_ and thereby cure crash.
5 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
8 * character.h: small clean-ups.
10 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * ControlToc.C (getType): remove support for old float list.
14 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
17 * ControlGraphics.h: no longer include insetgraphicsParams.h
18 * ControlInset.h: no longer include LyXView.h
26 * ControlConnections.C:
39 * ControlTabularCreate.C:
41 * ControlVCLog.C: they're now in here!
43 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * ButtonControllerBase.h: C++ mode, inherit privately from
47 * ButtonPolicies.h: ditto
49 * ButtonController.h: C++ mode, swap init order of restore_ and
52 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
54 * ControlTabularCreate.h:
55 * ControlTabularCreate.C: make dialogs use a pair of uints
59 * ControlVCLog.C: fill a stringstream with the log contents
62 * ControlExternal.C: from Angus, clone the new InsetExternal
65 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
67 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
70 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
79 * ControlCopyright.C: include gettext.h
82 * character.C: include gettext.h and language.h
84 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
87 * ButtonControllerBase.h:
88 * ButtonControllerBase.C:
95 * ControlConnections.h:
101 * ViewBase.h: s/ControlButton/ControlButtons/
103 s/UndoAll/Restore/ + associated
105 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
107 * ControlToc.[Ch]: new files; a controller for the TOC popup.
110 * Makefile.am: associated changes with all of the above.
112 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
114 * ControlExternal.C: bug fixes. Can now apply changes to the inset
115 and edit, view, update the External Material correctly. I hope!
117 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
119 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
121 * BCTemplates.h: renamed as ButtonController.h
123 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
126 * ControlConnections.h: associated change in #include and class names.
128 * ControlExternal.[Ch]: new files; a controller for the External
132 * Makefile.am: associated changes with all of the above.
134 * ControlGraphics.[Ch]:
135 * ControlInclude.[Ch]:
138 (Browse): new method. Returns the results of a FileDialog browse.
140 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
141 (getVectorFromString): fixed bug.
143 * biblio.C (simpleSearch): cleaned up.
145 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
147 * A slight reworking of Baruch Even's ButtonController patch.
149 * BCTemplates.h: new file; all the templates for the ButtonController.
150 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
151 to the more generic setButtonLabel().
153 * ButtonController.[Ch]: renamed cancel_label and close_label as
154 cancel_label_ and close_label_.
156 * Makefile.am: added BCTemplates.h
158 2001-03-29 Juergen Vigna <jug@sad.it>
160 * ControlMinipage.C: removed widthp_ and all it's functions and changed
161 to use new %-lengths of LyXLength.
163 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlCitation.C (bibkeysInfo): removed Assert.
167 * ControlCopyright.h: moved GUICopyright into GUI.h
171 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
174 (setDaughterParams): a (by default empty) new method called in show().
183 * ControlUrl.h (clearDaughterParams): removed
185 * ControlMinipage.C (applyParamsToInset): update the view.
186 Added namespace minipage containing a helper function getUnits.
188 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
190 * ControlCharacter.[Ch]: moved out all the helper functions and the
191 enum into their own file.
192 * character.[Ch]: new files; contain the character helper functions,
193 now inside namespace character.
195 * ControlCitation.[Ch]: moved out all the helper functions and the
196 enums into their own file. Simplified interface.
197 * biblio.[Ch]: new files; contain the citation helper functions,
198 now inside namespace biblio. Will be of use also to an improved
201 * ControlGraphics.[Ch]:
202 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
203 popups, respectively.
206 * Makefile.am: associated changes.
208 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlMinipage.[Ch]:
211 * ControlPreamble.[Ch]:
213 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
214 and Print popups and Splash screen, respectively.
216 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
220 * Makefile.am: associated changes.
222 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlConnections.[Ch]: (docType): new method; returns the type
225 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
228 * ControlSearch.[Ch]:
229 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
230 Search and TabularCreate popups, respectively.
233 * Makefile.am: associated changes.
235 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
240 * ControlInset.h (apply): fix bug. Can now create new insets again.
242 * README: describe program flow.
244 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
246 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
248 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
250 * ControlDialogs.h: moved class ControlInset into its own file.
252 * ControlInset.h: new file. class ControlInset has been expanded to take
253 two template parameters, Inset and Params. Believe that all inset
254 controllers can be derived from this with the minimum of effort.
256 * ControlBibitem.[Ch]:
257 * ControlBibtex.[Ch]:
258 * ControlCitation.[Ch]:
259 * ControlCommand.[Ch]: moved most code into ControlInset.
261 * lots of files. Moved protected stuff into private where possible.
264 * ControlInclude.[Ch]:
265 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
266 Include and Url popups, respectively.
269 * Makefile.am: associated changes.
271 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
273 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
276 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
278 * ControlCredits.C (getCredits): remove std:: qualifier for
281 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
283 * ControlCredits.C (getCredits): add std:: on vector
285 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
287 * ControlCredits.C: remove using that is only used once, use
288 std::ios instead of std::iosbase, add some annoying comments.
290 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
292 * lots of header files: improved explanatory notes.
294 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
295 ControlBase is now a class that only controls the interaction of the
296 View with the ButtonController.
298 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
299 to ControlConnectBase. The class controls the connection/disconnection
300 of signals from the LyX kernel and makes available the kernel (through
301 lv_) to daughter controller classes.
302 Moved out class ControlConnectInset to a new file ControlDialogs.h.
304 * ControlDialogs.h: new file. Contains the definition of two template
305 controller classes, ControlDialog and ControlInset (was
306 ControlConnectInset). ControlInset is a parent class for controllers
307 of inset-popups. ControlDialogs is the rather uninspired name for
308 the base class of all non-inset popups. (Eg, Document and Paragraph.)
309 ControlDialogs is reaching a state of maturity as several popups now use
310 it and its functionality becomes clear. ControlInset is still in a state
311 of flux. It is likely that functionality will be moved out of
312 ControlCommands and into it.
314 * GUI.h: new file. Moved all the template GUIXXX classes out of the
315 individual Controller header files and into one place. These classes
316 serve only as convenient wrappers to simplify code in the respective
317 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
319 * ControlCharacter.[Ch] (show, update, hide):
320 * ControlLog.[Ch] (show, update, hide):
321 * ControlVCLog.[Ch] (show, update, hide): moved back into
322 the ControlDialogs base class.
323 (setParams, clearParams): new methods containing controller-specific
324 code to set/reset the parameters manipulated by the view.
326 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
328 (hide): calls clearParams.
330 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
331 by ControlCommand::hide().
333 * ControlCopyright.[Ch]:
334 * ControlCredits.[Ch]: new files; controllers for the copyright and
335 credits popups, respectively.
337 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
339 * ControlCharacter.C: fix typo
341 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
343 * ControlCharacter.[Ch]: new files; controller for the character popup.
345 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
346 moved to new files helper_funcs.[Ch].
348 * helper_funcs.[Ch]: new files. Some useful helper functions and
351 * Makefile.am: added new files.
353 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
355 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
357 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
361 Control log files, respectively.
363 * Makefile.am: added new files.
365 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
367 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
369 * Makefile.am: added ControlBibtex.[Ch].
371 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlCitation.C: added "using SigC::slot" declaration.
376 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
377 to FormCitation.C prior to the merger: "Do not put space between
380 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
382 * several files: remove CXX_WORKING_NAMESPACES
384 * ButtonController.h: noncopyable is in namespace boost
385 * ButtonPolicies.h: ditto
387 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
389 * Merging changes from BRANCH_MVC back into HEAD.
391 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
393 * Makefile.am: add ControlBibitem.[Ch].
395 * ControlBibitem.[Ch]: new files that together define the Controller
398 * ControlCommand.h (c-tor): give kb_action a default value of
401 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
403 * ControlCitation.[Ch]: moved search functions out of class.
404 (bibkeysInfo): new method. Returns const reference to private data.
405 (searchKeys): added case-sensitive switch. Used only by simpleSearch
408 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlCitation.[Ch]: added Search functions to the class,
411 (shamelessly lifted from Marco's gnome code). I think that these would
412 be better as helper functions outside the class, but this is a first
415 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
417 * ControlCitation.[Ch]: (getBibkeyList): removed from class
419 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
420 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
421 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
422 implementation of FormCitation.
424 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
426 * ButtonPolicies.h: add SMI_NOOP to enum.
428 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
430 * ButtonController.C (input): add "optimising" if-statement. Actually,
431 things don't work correctly without it...
433 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
435 * ViewBase.h: remove #pragma directive
437 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
440 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
442 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
444 * Makefile.am: added ButtonPolicies.[Ch]
446 * ButtonController.[Ch]: ButtonController is split into
447 ButtonControllerBase and a template ButtonController class. The base
448 class no longer stores a pointer to a ButtonPolicy, but instead
449 accesses the actual instantiation of the policy through a pure virtual
450 method bp(). This method and the ButtonPolicy itself are instantiated
451 in the templatised ButtonController class. This class is derived from
452 the GUI-specific GUIBC class, meaning that the frontends know
453 nothing about the actual policy decided upon by the controllers.
455 * ControlBase.[Ch]: No longer store the View or the ButtonController.
456 Instead the actual instantiations are accessed through pure virtual
457 methods view() and bc(). The daughter classes are responsible for the
458 actual View and ButtonController.
460 * ControlCitation.h: the templatised class GUICitation instantiates
461 the methods view() and bc(). It also stores the instances of the
462 View and ButtonController.
464 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
466 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
467 also changed to ButtonController.
470 * ControlConnections.[Ch]:
471 * ControlCommand.[Ch]:
472 * ControlCitation.[Ch]:
473 * ViewBase.h: Changes associated with this.
475 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
477 * ButtonControllerBase.[Ch]: new files. Split Allan's original
478 xforms/ButtonController class into a GUI-I class (here) and an
479 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
481 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
482 from which all Dialog Controllers should be derived. the Controllers
483 are GUI-independent, but are designed to control the behaviour of
484 GUI-specific implementaions of each dialog.
486 * ControlConnections.[Ch]: new files. Classes controlling the
487 connections of buffer-independent, buffer-dependent and Inset dialogs
490 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
491 InsetCommand subset of insets.
493 * ControlCitation.[Ch]: new files. The test specialisation! A
494 controller for the Citation dialog.
496 * ViewBase.h: new file. ViewBase is an abstract base class from which
497 GUI-specific dialogs should be derived. The functionality that the GUIs
498 must now implement is much reduced.