1 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ButtonControllerBase.h: C++ mode, inherit privately from
5 * ButtonPolicies.h: ditto
7 * ButtonController.h: C++ mode, swap init order of restore_ and
10 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
12 * ControlTabularCreate.h:
13 * ControlTabularCreate.C: make dialogs use a pair of uints
17 * ControlVCLog.C: fill a stringstream with the log contents
20 * ControlExternal.C: from Angus, clone the new InsetExternal
23 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
25 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
28 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
37 * ControlCopyright.C: include gettext.h
40 * character.C: include gettext.h and language.h
42 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
45 * ButtonControllerBase.h:
46 * ButtonControllerBase.C:
53 * ControlConnections.h:
59 * ViewBase.h: s/ControlButton/ControlButtons/
61 s/UndoAll/Restore/ + associated
63 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
65 * ControlToc.[Ch]: new files; a controller for the TOC popup.
68 * Makefile.am: associated changes with all of the above.
70 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
72 * ControlExternal.C: bug fixes. Can now apply changes to the inset
73 and edit, view, update the External Material correctly. I hope!
75 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
77 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
79 * BCTemplates.h: renamed as ButtonController.h
81 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
84 * ControlConnections.h: associated change in #include and class names.
86 * ControlExternal.[Ch]: new files; a controller for the External
90 * Makefile.am: associated changes with all of the above.
92 * ControlGraphics.[Ch]:
93 * ControlInclude.[Ch]:
96 (Browse): new method. Returns the results of a FileDialog browse.
98 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
99 (getVectorFromString): fixed bug.
101 * biblio.C (simpleSearch): cleaned up.
103 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
105 * A slight reworking of Baruch Even's ButtonController patch.
107 * BCTemplates.h: new file; all the templates for the ButtonController.
108 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
109 to the more generic setButtonLabel().
111 * ButtonController.[Ch]: renamed cancel_label and close_label as
112 cancel_label_ and close_label_.
114 * Makefile.am: added BCTemplates.h
116 2001-03-29 Juergen Vigna <jug@sad.it>
118 * ControlMinipage.C: removed widthp_ and all it's functions and changed
119 to use new %-lengths of LyXLength.
121 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
123 * ControlCitation.C (bibkeysInfo): removed Assert.
125 * ControlCopyright.h: moved GUICopyright into GUI.h
129 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
131 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
132 (setDaughterParams): a (by default empty) new method called in show().
141 * ControlUrl.h (clearDaughterParams): removed
143 * ControlMinipage.C (applyParamsToInset): update the view.
144 Added namespace minipage containing a helper function getUnits.
146 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
148 * ControlCharacter.[Ch]: moved out all the helper functions and the
149 enum into their own file.
150 * character.[Ch]: new files; contain the character helper functions,
151 now inside namespace character.
153 * ControlCitation.[Ch]: moved out all the helper functions and the
154 enums into their own file. Simplified interface.
155 * biblio.[Ch]: new files; contain the citation helper functions,
156 now inside namespace biblio. Will be of use also to an improved
159 * ControlGraphics.[Ch]:
160 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
161 popups, respectively.
164 * Makefile.am: associated changes.
166 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
168 * ControlMinipage.[Ch]:
169 * ControlPreamble.[Ch]:
171 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
172 and Print popups and Splash screen, respectively.
174 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
178 * Makefile.am: associated changes.
180 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
182 * ControlConnections.[Ch]: (docType): new method; returns the type
183 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
186 * ControlSearch.[Ch]:
187 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
188 Search and TabularCreate popups, respectively.
191 * Makefile.am: associated changes.
193 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
195 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
198 * ControlInset.h (apply): fix bug. Can now create new insets again.
200 * README: describe program flow.
202 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
204 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
206 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
208 * ControlDialogs.h: moved class ControlInset into its own file.
210 * ControlInset.h: new file. class ControlInset has been expanded to take
211 two template parameters, Inset and Params. Believe that all inset
212 controllers can be derived from this with the minimum of effort.
214 * ControlBibitem.[Ch]:
215 * ControlBibtex.[Ch]:
216 * ControlCitation.[Ch]:
217 * ControlCommand.[Ch]: moved most code into ControlInset.
219 * lots of files. Moved protected stuff into private where possible.
222 * ControlInclude.[Ch]:
223 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
224 Include and Url popups, respectively.
227 * Makefile.am: associated changes.
229 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
231 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
234 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
236 * ControlCredits.C (getCredits): remove std:: qualifier for
239 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
241 * ControlCredits.C (getCredits): add std:: on vector
243 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
245 * ControlCredits.C: remove using that is only used once, use
246 std::ios instead of std::iosbase, add some annoying comments.
248 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
250 * lots of header files: improved explanatory notes.
252 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
253 ControlBase is now a class that only controls the interaction of the
254 View with the ButtonController.
256 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
257 to ControlConnectBase. The class controls the connection/disconnection
258 of signals from the LyX kernel and makes available the kernel (through
259 lv_) to daughter controller classes.
260 Moved out class ControlConnectInset to a new file ControlDialogs.h.
262 * ControlDialogs.h: new file. Contains the definition of two template
263 controller classes, ControlDialog and ControlInset (was
264 ControlConnectInset). ControlInset is a parent class for controllers
265 of inset-popups. ControlDialogs is the rather uninspired name for
266 the base class of all non-inset popups. (Eg, Document and Paragraph.)
267 ControlDialogs is reaching a state of maturity as several popups now use
268 it and its functionality becomes clear. ControlInset is still in a state
269 of flux. It is likely that functionality will be moved out of
270 ControlCommands and into it.
272 * GUI.h: new file. Moved all the template GUIXXX classes out of the
273 individual Controller header files and into one place. These classes
274 serve only as convenient wrappers to simplify code in the respective
275 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
277 * ControlCharacter.[Ch] (show, update, hide):
278 * ControlLog.[Ch] (show, update, hide):
279 * ControlVCLog.[Ch] (show, update, hide): moved back into
280 the ControlDialogs base class.
281 (setParams, clearParams): new methods containing controller-specific
282 code to set/reset the parameters manipulated by the view.
284 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
286 (hide): calls clearParams.
288 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
289 by ControlCommand::hide().
291 * ControlCopyright.[Ch]:
292 * ControlCredits.[Ch]: new files; controllers for the copyright and
293 credits popups, respectively.
295 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
297 * ControlCharacter.C: fix typo
299 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
301 * ControlCharacter.[Ch]: new files; controller for the character popup.
303 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
304 moved to new files helper_funcs.[Ch].
306 * helper_funcs.[Ch]: new files. Some useful helper functions and
309 * Makefile.am: added new files.
311 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
313 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
315 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
318 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
319 Control log files, respectively.
321 * Makefile.am: added new files.
323 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
325 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
327 * Makefile.am: added ControlBibtex.[Ch].
329 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
332 * ControlCitation.C: added "using SigC::slot" declaration.
334 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
335 to FormCitation.C prior to the merger: "Do not put space between
338 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
340 * several files: remove CXX_WORKING_NAMESPACES
342 * ButtonController.h: noncopyable is in namespace boost
343 * ButtonPolicies.h: ditto
345 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
347 * Merging changes from BRANCH_MVC back into HEAD.
349 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
351 * Makefile.am: add ControlBibitem.[Ch].
353 * ControlBibitem.[Ch]: new files that together define the Controller
356 * ControlCommand.h (c-tor): give kb_action a default value of
359 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
361 * ControlCitation.[Ch]: moved search functions out of class.
362 (bibkeysInfo): new method. Returns const reference to private data.
363 (searchKeys): added case-sensitive switch. Used only by simpleSearch
366 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
368 * ControlCitation.[Ch]: added Search functions to the class,
369 (shamelessly lifted from Marco's gnome code). I think that these would
370 be better as helper functions outside the class, but this is a first
373 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlCitation.[Ch]: (getBibkeyList): removed from class
377 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
378 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
379 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
380 implementation of FormCitation.
382 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
384 * ButtonPolicies.h: add SMI_NOOP to enum.
386 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
388 * ButtonController.C (input): add "optimising" if-statement. Actually,
389 things don't work correctly without it...
391 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
393 * ViewBase.h: remove #pragma directive
395 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
398 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
400 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
402 * Makefile.am: added ButtonPolicies.[Ch]
404 * ButtonController.[Ch]: ButtonController is split into
405 ButtonControllerBase and a template ButtonController class. The base
406 class no longer stores a pointer to a ButtonPolicy, but instead
407 accesses the actual instantiation of the policy through a pure virtual
408 method bp(). This method and the ButtonPolicy itself are instantiated
409 in the templatised ButtonController class. This class is derived from
410 the GUI-specific GUIBC class, meaning that the frontends know
411 nothing about the actual policy decided upon by the controllers.
413 * ControlBase.[Ch]: No longer store the View or the ButtonController.
414 Instead the actual instantiations are accessed through pure virtual
415 methods view() and bc(). The daughter classes are responsible for the
416 actual View and ButtonController.
418 * ControlCitation.h: the templatised class GUICitation instantiates
419 the methods view() and bc(). It also stores the instances of the
420 View and ButtonController.
422 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
424 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
425 also changed to ButtonController.
428 * ControlConnections.[Ch]:
429 * ControlCommand.[Ch]:
430 * ControlCitation.[Ch]:
431 * ViewBase.h: Changes associated with this.
433 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
435 * ButtonControllerBase.[Ch]: new files. Split Allan's original
436 xforms/ButtonController class into a GUI-I class (here) and an
437 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
439 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
440 from which all Dialog Controllers should be derived. the Controllers
441 are GUI-independent, but are designed to control the behaviour of
442 GUI-specific implementaions of each dialog.
444 * ControlConnections.[Ch]: new files. Classes controlling the
445 connections of buffer-independent, buffer-dependent and Inset dialogs
448 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
449 InsetCommand subset of insets.
451 * ControlCitation.[Ch]: new files. The test specialisation! A
452 controller for the Citation dialog.
454 * ViewBase.h: new file. ViewBase is an abstract base class from which
455 GUI-specific dialogs should be derived. The functionality that the GUIs
456 must now implement is much reduced.