1 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
4 * ControlGraphics.h: no longer include insetgraphicsParams.h
5 * ControlInset.h: no longer include LyXView.h
13 * ControlConnections.C:
26 * ControlTabularCreate.C:
28 * ControlVCLog.C: they're now in here!
30 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * ButtonControllerBase.h: C++ mode, inherit privately from
34 * ButtonPolicies.h: ditto
36 * ButtonController.h: C++ mode, swap init order of restore_ and
39 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
41 * ControlTabularCreate.h:
42 * ControlTabularCreate.C: make dialogs use a pair of uints
46 * ControlVCLog.C: fill a stringstream with the log contents
49 * ControlExternal.C: from Angus, clone the new InsetExternal
52 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
54 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
57 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * ControlCopyright.C: include gettext.h
69 * character.C: include gettext.h and language.h
71 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
74 * ButtonControllerBase.h:
75 * ButtonControllerBase.C:
82 * ControlConnections.h:
88 * ViewBase.h: s/ControlButton/ControlButtons/
90 s/UndoAll/Restore/ + associated
92 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlToc.[Ch]: new files; a controller for the TOC popup.
97 * Makefile.am: associated changes with all of the above.
99 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
101 * ControlExternal.C: bug fixes. Can now apply changes to the inset
102 and edit, view, update the External Material correctly. I hope!
104 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
106 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
108 * BCTemplates.h: renamed as ButtonController.h
110 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
113 * ControlConnections.h: associated change in #include and class names.
115 * ControlExternal.[Ch]: new files; a controller for the External
119 * Makefile.am: associated changes with all of the above.
121 * ControlGraphics.[Ch]:
122 * ControlInclude.[Ch]:
125 (Browse): new method. Returns the results of a FileDialog browse.
127 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
128 (getVectorFromString): fixed bug.
130 * biblio.C (simpleSearch): cleaned up.
132 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
134 * A slight reworking of Baruch Even's ButtonController patch.
136 * BCTemplates.h: new file; all the templates for the ButtonController.
137 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
138 to the more generic setButtonLabel().
140 * ButtonController.[Ch]: renamed cancel_label and close_label as
141 cancel_label_ and close_label_.
143 * Makefile.am: added BCTemplates.h
145 2001-03-29 Juergen Vigna <jug@sad.it>
147 * ControlMinipage.C: removed widthp_ and all it's functions and changed
148 to use new %-lengths of LyXLength.
150 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
152 * ControlCitation.C (bibkeysInfo): removed Assert.
154 * ControlCopyright.h: moved GUICopyright into GUI.h
158 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
161 (setDaughterParams): a (by default empty) new method called in show().
170 * ControlUrl.h (clearDaughterParams): removed
172 * ControlMinipage.C (applyParamsToInset): update the view.
173 Added namespace minipage containing a helper function getUnits.
175 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
177 * ControlCharacter.[Ch]: moved out all the helper functions and the
178 enum into their own file.
179 * character.[Ch]: new files; contain the character helper functions,
180 now inside namespace character.
182 * ControlCitation.[Ch]: moved out all the helper functions and the
183 enums into their own file. Simplified interface.
184 * biblio.[Ch]: new files; contain the citation helper functions,
185 now inside namespace biblio. Will be of use also to an improved
188 * ControlGraphics.[Ch]:
189 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
190 popups, respectively.
193 * Makefile.am: associated changes.
195 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlMinipage.[Ch]:
198 * ControlPreamble.[Ch]:
200 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
201 and Print popups and Splash screen, respectively.
203 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
207 * Makefile.am: associated changes.
209 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
211 * ControlConnections.[Ch]: (docType): new method; returns the type
212 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
215 * ControlSearch.[Ch]:
216 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
217 Search and TabularCreate popups, respectively.
220 * Makefile.am: associated changes.
222 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
227 * ControlInset.h (apply): fix bug. Can now create new insets again.
229 * README: describe program flow.
231 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
233 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
235 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlDialogs.h: moved class ControlInset into its own file.
239 * ControlInset.h: new file. class ControlInset has been expanded to take
240 two template parameters, Inset and Params. Believe that all inset
241 controllers can be derived from this with the minimum of effort.
243 * ControlBibitem.[Ch]:
244 * ControlBibtex.[Ch]:
245 * ControlCitation.[Ch]:
246 * ControlCommand.[Ch]: moved most code into ControlInset.
248 * lots of files. Moved protected stuff into private where possible.
251 * ControlInclude.[Ch]:
252 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
253 Include and Url popups, respectively.
256 * Makefile.am: associated changes.
258 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
260 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
263 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
265 * ControlCredits.C (getCredits): remove std:: qualifier for
268 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
270 * ControlCredits.C (getCredits): add std:: on vector
272 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
274 * ControlCredits.C: remove using that is only used once, use
275 std::ios instead of std::iosbase, add some annoying comments.
277 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
279 * lots of header files: improved explanatory notes.
281 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
282 ControlBase is now a class that only controls the interaction of the
283 View with the ButtonController.
285 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
286 to ControlConnectBase. The class controls the connection/disconnection
287 of signals from the LyX kernel and makes available the kernel (through
288 lv_) to daughter controller classes.
289 Moved out class ControlConnectInset to a new file ControlDialogs.h.
291 * ControlDialogs.h: new file. Contains the definition of two template
292 controller classes, ControlDialog and ControlInset (was
293 ControlConnectInset). ControlInset is a parent class for controllers
294 of inset-popups. ControlDialogs is the rather uninspired name for
295 the base class of all non-inset popups. (Eg, Document and Paragraph.)
296 ControlDialogs is reaching a state of maturity as several popups now use
297 it and its functionality becomes clear. ControlInset is still in a state
298 of flux. It is likely that functionality will be moved out of
299 ControlCommands and into it.
301 * GUI.h: new file. Moved all the template GUIXXX classes out of the
302 individual Controller header files and into one place. These classes
303 serve only as convenient wrappers to simplify code in the respective
304 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
306 * ControlCharacter.[Ch] (show, update, hide):
307 * ControlLog.[Ch] (show, update, hide):
308 * ControlVCLog.[Ch] (show, update, hide): moved back into
309 the ControlDialogs base class.
310 (setParams, clearParams): new methods containing controller-specific
311 code to set/reset the parameters manipulated by the view.
313 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
315 (hide): calls clearParams.
317 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
318 by ControlCommand::hide().
320 * ControlCopyright.[Ch]:
321 * ControlCredits.[Ch]: new files; controllers for the copyright and
322 credits popups, respectively.
324 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
326 * ControlCharacter.C: fix typo
328 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
330 * ControlCharacter.[Ch]: new files; controller for the character popup.
332 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
333 moved to new files helper_funcs.[Ch].
335 * helper_funcs.[Ch]: new files. Some useful helper functions and
338 * Makefile.am: added new files.
340 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
342 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
344 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
348 Control log files, respectively.
350 * Makefile.am: added new files.
352 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
356 * Makefile.am: added ControlBibtex.[Ch].
358 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlCitation.C: added "using SigC::slot" declaration.
363 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
364 to FormCitation.C prior to the merger: "Do not put space between
367 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
369 * several files: remove CXX_WORKING_NAMESPACES
371 * ButtonController.h: noncopyable is in namespace boost
372 * ButtonPolicies.h: ditto
374 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
376 * Merging changes from BRANCH_MVC back into HEAD.
378 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
380 * Makefile.am: add ControlBibitem.[Ch].
382 * ControlBibitem.[Ch]: new files that together define the Controller
385 * ControlCommand.h (c-tor): give kb_action a default value of
388 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
390 * ControlCitation.[Ch]: moved search functions out of class.
391 (bibkeysInfo): new method. Returns const reference to private data.
392 (searchKeys): added case-sensitive switch. Used only by simpleSearch
395 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
397 * ControlCitation.[Ch]: added Search functions to the class,
398 (shamelessly lifted from Marco's gnome code). I think that these would
399 be better as helper functions outside the class, but this is a first
402 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
404 * ControlCitation.[Ch]: (getBibkeyList): removed from class
406 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
407 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
408 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
409 implementation of FormCitation.
411 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
413 * ButtonPolicies.h: add SMI_NOOP to enum.
415 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
417 * ButtonController.C (input): add "optimising" if-statement. Actually,
418 things don't work correctly without it...
420 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
422 * ViewBase.h: remove #pragma directive
424 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
427 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
429 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
431 * Makefile.am: added ButtonPolicies.[Ch]
433 * ButtonController.[Ch]: ButtonController is split into
434 ButtonControllerBase and a template ButtonController class. The base
435 class no longer stores a pointer to a ButtonPolicy, but instead
436 accesses the actual instantiation of the policy through a pure virtual
437 method bp(). This method and the ButtonPolicy itself are instantiated
438 in the templatised ButtonController class. This class is derived from
439 the GUI-specific GUIBC class, meaning that the frontends know
440 nothing about the actual policy decided upon by the controllers.
442 * ControlBase.[Ch]: No longer store the View or the ButtonController.
443 Instead the actual instantiations are accessed through pure virtual
444 methods view() and bc(). The daughter classes are responsible for the
445 actual View and ButtonController.
447 * ControlCitation.h: the templatised class GUICitation instantiates
448 the methods view() and bc(). It also stores the instances of the
449 View and ButtonController.
451 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
453 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
454 also changed to ButtonController.
457 * ControlConnections.[Ch]:
458 * ControlCommand.[Ch]:
459 * ControlCitation.[Ch]:
460 * ViewBase.h: Changes associated with this.
462 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
464 * ButtonControllerBase.[Ch]: new files. Split Allan's original
465 xforms/ButtonController class into a GUI-I class (here) and an
466 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
468 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
469 from which all Dialog Controllers should be derived. the Controllers
470 are GUI-independent, but are designed to control the behaviour of
471 GUI-specific implementaions of each dialog.
473 * ControlConnections.[Ch]: new files. Classes controlling the
474 connections of buffer-independent, buffer-dependent and Inset dialogs
477 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
478 InsetCommand subset of insets.
480 * ControlCitation.[Ch]: new files. The test specialisation! A
481 controller for the Citation dialog.
483 * ViewBase.h: new file. ViewBase is an abstract base class from which
484 GUI-specific dialogs should be derived. The functionality that the GUIs
485 must now implement is much reduced.