1 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
3 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
6 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15 * ControlCopyright.C: include gettext.h
18 * character.C: include gettext.h and language.h
20 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
23 * ButtonControllerBase.h:
24 * ButtonControllerBase.C:
31 * ControlConnections.h:
37 * ViewBase.h: s/ControlButton/ControlButtons/
39 s/UndoAll/Restore/ + associated
41 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
43 * ControlToc.[Ch]: new files; a controller for the TOC popup.
46 * Makefile.am: associated changes with all of the above.
48 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlExternal.C: bug fixes. Can now apply changes to the inset
51 and edit, view, update the External Material correctly. I hope!
53 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
55 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
57 * BCTemplates.h: renamed as ButtonController.h
59 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
62 * ControlConnections.h: associated change in #include and class names.
64 * ControlExternal.[Ch]: new files; a controller for the External
68 * Makefile.am: associated changes with all of the above.
70 * ControlGraphics.[Ch]:
71 * ControlInclude.[Ch]:
74 (Browse): new method. Returns the results of a FileDialog browse.
76 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
77 (getVectorFromString): fixed bug.
79 * biblio.C (simpleSearch): cleaned up.
81 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
83 * A slight reworking of Baruch Even's ButtonController patch.
85 * BCTemplates.h: new file; all the templates for the ButtonController.
86 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
87 to the more generic setButtonLabel().
89 * ButtonController.[Ch]: renamed cancel_label and close_label as
90 cancel_label_ and close_label_.
92 * Makefile.am: added BCTemplates.h
94 2001-03-29 Juergen Vigna <jug@sad.it>
96 * ControlMinipage.C: removed widthp_ and all it's functions and changed
97 to use new %-lengths of LyXLength.
99 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
101 * ControlCitation.C (bibkeysInfo): removed Assert.
103 * ControlCopyright.h: moved GUICopyright into GUI.h
107 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
110 (setDaughterParams): a (by default empty) new method called in show().
119 * ControlUrl.h (clearDaughterParams): removed
121 * ControlMinipage.C (applyParamsToInset): update the view.
122 Added namespace minipage containing a helper function getUnits.
124 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
126 * ControlCharacter.[Ch]: moved out all the helper functions and the
127 enum into their own file.
128 * character.[Ch]: new files; contain the character helper functions,
129 now inside namespace character.
131 * ControlCitation.[Ch]: moved out all the helper functions and the
132 enums into their own file. Simplified interface.
133 * biblio.[Ch]: new files; contain the citation helper functions,
134 now inside namespace biblio. Will be of use also to an improved
137 * ControlGraphics.[Ch]:
138 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
139 popups, respectively.
142 * Makefile.am: associated changes.
144 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
146 * ControlMinipage.[Ch]:
147 * ControlPreamble.[Ch]:
149 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
150 and Print popups and Splash screen, respectively.
152 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
156 * Makefile.am: associated changes.
158 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlConnections.[Ch]: (docType): new method; returns the type
161 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
164 * ControlSearch.[Ch]:
165 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
166 Search and TabularCreate popups, respectively.
169 * Makefile.am: associated changes.
171 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
176 * ControlInset.h (apply): fix bug. Can now create new insets again.
178 * README: describe program flow.
180 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
182 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
184 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
186 * ControlDialogs.h: moved class ControlInset into its own file.
188 * ControlInset.h: new file. class ControlInset has been expanded to take
189 two template parameters, Inset and Params. Believe that all inset
190 controllers can be derived from this with the minimum of effort.
192 * ControlBibitem.[Ch]:
193 * ControlBibtex.[Ch]:
194 * ControlCitation.[Ch]:
195 * ControlCommand.[Ch]: moved most code into ControlInset.
197 * lots of files. Moved protected stuff into private where possible.
200 * ControlInclude.[Ch]:
201 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
202 Include and Url popups, respectively.
205 * Makefile.am: associated changes.
207 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
209 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
212 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
214 * ControlCredits.C (getCredits): remove std:: qualifier for
217 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
219 * ControlCredits.C (getCredits): add std:: on vector
221 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
223 * ControlCredits.C: remove using that is only used once, use
224 std::ios instead of std::iosbase, add some annoying comments.
226 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
228 * lots of header files: improved explanatory notes.
230 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
231 ControlBase is now a class that only controls the interaction of the
232 View with the ButtonController.
234 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
235 to ControlConnectBase. The class controls the connection/disconnection
236 of signals from the LyX kernel and makes available the kernel (through
237 lv_) to daughter controller classes.
238 Moved out class ControlConnectInset to a new file ControlDialogs.h.
240 * ControlDialogs.h: new file. Contains the definition of two template
241 controller classes, ControlDialog and ControlInset (was
242 ControlConnectInset). ControlInset is a parent class for controllers
243 of inset-popups. ControlDialogs is the rather uninspired name for
244 the base class of all non-inset popups. (Eg, Document and Paragraph.)
245 ControlDialogs is reaching a state of maturity as several popups now use
246 it and its functionality becomes clear. ControlInset is still in a state
247 of flux. It is likely that functionality will be moved out of
248 ControlCommands and into it.
250 * GUI.h: new file. Moved all the template GUIXXX classes out of the
251 individual Controller header files and into one place. These classes
252 serve only as convenient wrappers to simplify code in the respective
253 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
255 * ControlCharacter.[Ch] (show, update, hide):
256 * ControlLog.[Ch] (show, update, hide):
257 * ControlVCLog.[Ch] (show, update, hide): moved back into
258 the ControlDialogs base class.
259 (setParams, clearParams): new methods containing controller-specific
260 code to set/reset the parameters manipulated by the view.
262 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
264 (hide): calls clearParams.
266 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
267 by ControlCommand::hide().
269 * ControlCopyright.[Ch]:
270 * ControlCredits.[Ch]: new files; controllers for the copyright and
271 credits popups, respectively.
273 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
275 * ControlCharacter.C: fix typo
277 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
279 * ControlCharacter.[Ch]: new files; controller for the character popup.
281 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
282 moved to new files helper_funcs.[Ch].
284 * helper_funcs.[Ch]: new files. Some useful helper functions and
287 * Makefile.am: added new files.
289 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
291 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
293 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
296 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
297 Control log files, respectively.
299 * Makefile.am: added new files.
301 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
305 * Makefile.am: added ControlBibtex.[Ch].
307 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlCitation.C: added "using SigC::slot" declaration.
312 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
313 to FormCitation.C prior to the merger: "Do not put space between
316 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
318 * several files: remove CXX_WORKING_NAMESPACES
320 * ButtonController.h: noncopyable is in namespace boost
321 * ButtonPolicies.h: ditto
323 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
325 * Merging changes from BRANCH_MVC back into HEAD.
327 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
329 * Makefile.am: add ControlBibitem.[Ch].
331 * ControlBibitem.[Ch]: new files that together define the Controller
334 * ControlCommand.h (c-tor): give kb_action a default value of
337 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
339 * ControlCitation.[Ch]: moved search functions out of class.
340 (bibkeysInfo): new method. Returns const reference to private data.
341 (searchKeys): added case-sensitive switch. Used only by simpleSearch
344 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
346 * ControlCitation.[Ch]: added Search functions to the class,
347 (shamelessly lifted from Marco's gnome code). I think that these would
348 be better as helper functions outside the class, but this is a first
351 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
353 * ControlCitation.[Ch]: (getBibkeyList): removed from class
355 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
356 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
357 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
358 implementation of FormCitation.
360 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
362 * ButtonPolicies.h: add SMI_NOOP to enum.
364 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
366 * ButtonController.C (input): add "optimising" if-statement. Actually,
367 things don't work correctly without it...
369 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
371 * ViewBase.h: remove #pragma directive
373 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
376 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
378 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
380 * Makefile.am: added ButtonPolicies.[Ch]
382 * ButtonController.[Ch]: ButtonController is split into
383 ButtonControllerBase and a template ButtonController class. The base
384 class no longer stores a pointer to a ButtonPolicy, but instead
385 accesses the actual instantiation of the policy through a pure virtual
386 method bp(). This method and the ButtonPolicy itself are instantiated
387 in the templatised ButtonController class. This class is derived from
388 the GUI-specific GUIBC class, meaning that the frontends know
389 nothing about the actual policy decided upon by the controllers.
391 * ControlBase.[Ch]: No longer store the View or the ButtonController.
392 Instead the actual instantiations are accessed through pure virtual
393 methods view() and bc(). The daughter classes are responsible for the
394 actual View and ButtonController.
396 * ControlCitation.h: the templatised class GUICitation instantiates
397 the methods view() and bc(). It also stores the instances of the
398 View and ButtonController.
400 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
402 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
403 also changed to ButtonController.
406 * ControlConnections.[Ch]:
407 * ControlCommand.[Ch]:
408 * ControlCitation.[Ch]:
409 * ViewBase.h: Changes associated with this.
411 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
413 * ButtonControllerBase.[Ch]: new files. Split Allan's original
414 xforms/ButtonController class into a GUI-I class (here) and an
415 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
417 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
418 from which all Dialog Controllers should be derived. the Controllers
419 are GUI-independent, but are designed to control the behaviour of
420 GUI-specific implementaions of each dialog.
422 * ControlConnections.[Ch]: new files. Classes controlling the
423 connections of buffer-independent, buffer-dependent and Inset dialogs
426 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
427 InsetCommand subset of insets.
429 * ControlCitation.[Ch]: new files. The test specialisation! A
430 controller for the Citation dialog.
432 * ViewBase.h: new file. ViewBase is an abstract base class from which
433 GUI-specific dialogs should be derived. The functionality that the GUIs
434 must now implement is much reduced.