1 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4 * ControlVCLog.C: fill a stringstream with the log contents
7 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
9 * ControlExternal.C: from Angus, clone the new InsetExternal
12 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
14 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
17 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
26 * ControlCopyright.C: include gettext.h
29 * character.C: include gettext.h and language.h
31 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
34 * ButtonControllerBase.h:
35 * ButtonControllerBase.C:
42 * ControlConnections.h:
48 * ViewBase.h: s/ControlButton/ControlButtons/
50 s/UndoAll/Restore/ + associated
52 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlToc.[Ch]: new files; a controller for the TOC popup.
57 * Makefile.am: associated changes with all of the above.
59 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
61 * ControlExternal.C: bug fixes. Can now apply changes to the inset
62 and edit, view, update the External Material correctly. I hope!
64 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
66 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
68 * BCTemplates.h: renamed as ButtonController.h
70 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
73 * ControlConnections.h: associated change in #include and class names.
75 * ControlExternal.[Ch]: new files; a controller for the External
79 * Makefile.am: associated changes with all of the above.
81 * ControlGraphics.[Ch]:
82 * ControlInclude.[Ch]:
85 (Browse): new method. Returns the results of a FileDialog browse.
87 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
88 (getVectorFromString): fixed bug.
90 * biblio.C (simpleSearch): cleaned up.
92 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
94 * A slight reworking of Baruch Even's ButtonController patch.
96 * BCTemplates.h: new file; all the templates for the ButtonController.
97 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
98 to the more generic setButtonLabel().
100 * ButtonController.[Ch]: renamed cancel_label and close_label as
101 cancel_label_ and close_label_.
103 * Makefile.am: added BCTemplates.h
105 2001-03-29 Juergen Vigna <jug@sad.it>
107 * ControlMinipage.C: removed widthp_ and all it's functions and changed
108 to use new %-lengths of LyXLength.
110 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
112 * ControlCitation.C (bibkeysInfo): removed Assert.
114 * ControlCopyright.h: moved GUICopyright into GUI.h
118 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
121 (setDaughterParams): a (by default empty) new method called in show().
130 * ControlUrl.h (clearDaughterParams): removed
132 * ControlMinipage.C (applyParamsToInset): update the view.
133 Added namespace minipage containing a helper function getUnits.
135 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
137 * ControlCharacter.[Ch]: moved out all the helper functions and the
138 enum into their own file.
139 * character.[Ch]: new files; contain the character helper functions,
140 now inside namespace character.
142 * ControlCitation.[Ch]: moved out all the helper functions and the
143 enums into their own file. Simplified interface.
144 * biblio.[Ch]: new files; contain the citation helper functions,
145 now inside namespace biblio. Will be of use also to an improved
148 * ControlGraphics.[Ch]:
149 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
150 popups, respectively.
153 * Makefile.am: associated changes.
155 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
157 * ControlMinipage.[Ch]:
158 * ControlPreamble.[Ch]:
160 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
161 and Print popups and Splash screen, respectively.
163 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
167 * Makefile.am: associated changes.
169 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
171 * ControlConnections.[Ch]: (docType): new method; returns the type
172 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
175 * ControlSearch.[Ch]:
176 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
177 Search and TabularCreate popups, respectively.
180 * Makefile.am: associated changes.
182 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
184 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
187 * ControlInset.h (apply): fix bug. Can now create new insets again.
189 * README: describe program flow.
191 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
193 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
195 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlDialogs.h: moved class ControlInset into its own file.
199 * ControlInset.h: new file. class ControlInset has been expanded to take
200 two template parameters, Inset and Params. Believe that all inset
201 controllers can be derived from this with the minimum of effort.
203 * ControlBibitem.[Ch]:
204 * ControlBibtex.[Ch]:
205 * ControlCitation.[Ch]:
206 * ControlCommand.[Ch]: moved most code into ControlInset.
208 * lots of files. Moved protected stuff into private where possible.
211 * ControlInclude.[Ch]:
212 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
213 Include and Url popups, respectively.
216 * Makefile.am: associated changes.
218 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
220 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
223 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
225 * ControlCredits.C (getCredits): remove std:: qualifier for
228 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
230 * ControlCredits.C (getCredits): add std:: on vector
232 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
234 * ControlCredits.C: remove using that is only used once, use
235 std::ios instead of std::iosbase, add some annoying comments.
237 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
239 * lots of header files: improved explanatory notes.
241 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
242 ControlBase is now a class that only controls the interaction of the
243 View with the ButtonController.
245 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
246 to ControlConnectBase. The class controls the connection/disconnection
247 of signals from the LyX kernel and makes available the kernel (through
248 lv_) to daughter controller classes.
249 Moved out class ControlConnectInset to a new file ControlDialogs.h.
251 * ControlDialogs.h: new file. Contains the definition of two template
252 controller classes, ControlDialog and ControlInset (was
253 ControlConnectInset). ControlInset is a parent class for controllers
254 of inset-popups. ControlDialogs is the rather uninspired name for
255 the base class of all non-inset popups. (Eg, Document and Paragraph.)
256 ControlDialogs is reaching a state of maturity as several popups now use
257 it and its functionality becomes clear. ControlInset is still in a state
258 of flux. It is likely that functionality will be moved out of
259 ControlCommands and into it.
261 * GUI.h: new file. Moved all the template GUIXXX classes out of the
262 individual Controller header files and into one place. These classes
263 serve only as convenient wrappers to simplify code in the respective
264 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
266 * ControlCharacter.[Ch] (show, update, hide):
267 * ControlLog.[Ch] (show, update, hide):
268 * ControlVCLog.[Ch] (show, update, hide): moved back into
269 the ControlDialogs base class.
270 (setParams, clearParams): new methods containing controller-specific
271 code to set/reset the parameters manipulated by the view.
273 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
275 (hide): calls clearParams.
277 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
278 by ControlCommand::hide().
280 * ControlCopyright.[Ch]:
281 * ControlCredits.[Ch]: new files; controllers for the copyright and
282 credits popups, respectively.
284 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
286 * ControlCharacter.C: fix typo
288 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
290 * ControlCharacter.[Ch]: new files; controller for the character popup.
292 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
293 moved to new files helper_funcs.[Ch].
295 * helper_funcs.[Ch]: new files. Some useful helper functions and
298 * Makefile.am: added new files.
300 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
302 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
304 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
307 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
308 Control log files, respectively.
310 * Makefile.am: added new files.
312 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
314 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
316 * Makefile.am: added ControlBibtex.[Ch].
318 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlCitation.C: added "using SigC::slot" declaration.
323 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
324 to FormCitation.C prior to the merger: "Do not put space between
327 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
329 * several files: remove CXX_WORKING_NAMESPACES
331 * ButtonController.h: noncopyable is in namespace boost
332 * ButtonPolicies.h: ditto
334 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
336 * Merging changes from BRANCH_MVC back into HEAD.
338 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
340 * Makefile.am: add ControlBibitem.[Ch].
342 * ControlBibitem.[Ch]: new files that together define the Controller
345 * ControlCommand.h (c-tor): give kb_action a default value of
348 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
350 * ControlCitation.[Ch]: moved search functions out of class.
351 (bibkeysInfo): new method. Returns const reference to private data.
352 (searchKeys): added case-sensitive switch. Used only by simpleSearch
355 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlCitation.[Ch]: added Search functions to the class,
358 (shamelessly lifted from Marco's gnome code). I think that these would
359 be better as helper functions outside the class, but this is a first
362 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlCitation.[Ch]: (getBibkeyList): removed from class
366 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
367 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
368 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
369 implementation of FormCitation.
371 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
373 * ButtonPolicies.h: add SMI_NOOP to enum.
375 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
377 * ButtonController.C (input): add "optimising" if-statement. Actually,
378 things don't work correctly without it...
380 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
382 * ViewBase.h: remove #pragma directive
384 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
387 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
389 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
391 * Makefile.am: added ButtonPolicies.[Ch]
393 * ButtonController.[Ch]: ButtonController is split into
394 ButtonControllerBase and a template ButtonController class. The base
395 class no longer stores a pointer to a ButtonPolicy, but instead
396 accesses the actual instantiation of the policy through a pure virtual
397 method bp(). This method and the ButtonPolicy itself are instantiated
398 in the templatised ButtonController class. This class is derived from
399 the GUI-specific GUIBC class, meaning that the frontends know
400 nothing about the actual policy decided upon by the controllers.
402 * ControlBase.[Ch]: No longer store the View or the ButtonController.
403 Instead the actual instantiations are accessed through pure virtual
404 methods view() and bc(). The daughter classes are responsible for the
405 actual View and ButtonController.
407 * ControlCitation.h: the templatised class GUICitation instantiates
408 the methods view() and bc(). It also stores the instances of the
409 View and ButtonController.
411 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
413 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
414 also changed to ButtonController.
417 * ControlConnections.[Ch]:
418 * ControlCommand.[Ch]:
419 * ControlCitation.[Ch]:
420 * ViewBase.h: Changes associated with this.
422 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
424 * ButtonControllerBase.[Ch]: new files. Split Allan's original
425 xforms/ButtonController class into a GUI-I class (here) and an
426 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
428 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
429 from which all Dialog Controllers should be derived. the Controllers
430 are GUI-independent, but are designed to control the behaviour of
431 GUI-specific implementaions of each dialog.
433 * ControlConnections.[Ch]: new files. Classes controlling the
434 connections of buffer-independent, buffer-dependent and Inset dialogs
437 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
438 InsetCommand subset of insets.
440 * ControlCitation.[Ch]: new files. The test specialisation! A
441 controller for the Citation dialog.
443 * ViewBase.h: new file. ViewBase is an abstract base class from which
444 GUI-specific dialogs should be derived. The functionality that the GUIs
445 must now implement is much reduced.