1 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlPrint.C (c-tor):
4 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
6 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
9 * character.h: small clean-ups.
11 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * ControlToc.C (getType): remove support for old float list.
15 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
18 * ControlGraphics.h: no longer include insetgraphicsParams.h
19 * ControlInset.h: no longer include LyXView.h
27 * ControlConnections.C:
40 * ControlTabularCreate.C:
42 * ControlVCLog.C: they're now in here!
44 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * ButtonControllerBase.h: C++ mode, inherit privately from
48 * ButtonPolicies.h: ditto
50 * ButtonController.h: C++ mode, swap init order of restore_ and
53 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
55 * ControlTabularCreate.h:
56 * ControlTabularCreate.C: make dialogs use a pair of uints
60 * ControlVCLog.C: fill a stringstream with the log contents
63 * ControlExternal.C: from Angus, clone the new InsetExternal
66 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
68 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
71 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * ControlCopyright.C: include gettext.h
83 * character.C: include gettext.h and language.h
85 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
88 * ButtonControllerBase.h:
89 * ButtonControllerBase.C:
96 * ControlConnections.h:
102 * ViewBase.h: s/ControlButton/ControlButtons/
104 s/UndoAll/Restore/ + associated
106 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
108 * ControlToc.[Ch]: new files; a controller for the TOC popup.
111 * Makefile.am: associated changes with all of the above.
113 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
115 * ControlExternal.C: bug fixes. Can now apply changes to the inset
116 and edit, view, update the External Material correctly. I hope!
118 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
120 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
122 * BCTemplates.h: renamed as ButtonController.h
124 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
127 * ControlConnections.h: associated change in #include and class names.
129 * ControlExternal.[Ch]: new files; a controller for the External
133 * Makefile.am: associated changes with all of the above.
135 * ControlGraphics.[Ch]:
136 * ControlInclude.[Ch]:
139 (Browse): new method. Returns the results of a FileDialog browse.
141 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
142 (getVectorFromString): fixed bug.
144 * biblio.C (simpleSearch): cleaned up.
146 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
148 * A slight reworking of Baruch Even's ButtonController patch.
150 * BCTemplates.h: new file; all the templates for the ButtonController.
151 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
152 to the more generic setButtonLabel().
154 * ButtonController.[Ch]: renamed cancel_label and close_label as
155 cancel_label_ and close_label_.
157 * Makefile.am: added BCTemplates.h
159 2001-03-29 Juergen Vigna <jug@sad.it>
161 * ControlMinipage.C: removed widthp_ and all it's functions and changed
162 to use new %-lengths of LyXLength.
164 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
166 * ControlCitation.C (bibkeysInfo): removed Assert.
168 * ControlCopyright.h: moved GUICopyright into GUI.h
172 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
175 (setDaughterParams): a (by default empty) new method called in show().
184 * ControlUrl.h (clearDaughterParams): removed
186 * ControlMinipage.C (applyParamsToInset): update the view.
187 Added namespace minipage containing a helper function getUnits.
189 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
191 * ControlCharacter.[Ch]: moved out all the helper functions and the
192 enum into their own file.
193 * character.[Ch]: new files; contain the character helper functions,
194 now inside namespace character.
196 * ControlCitation.[Ch]: moved out all the helper functions and the
197 enums into their own file. Simplified interface.
198 * biblio.[Ch]: new files; contain the citation helper functions,
199 now inside namespace biblio. Will be of use also to an improved
202 * ControlGraphics.[Ch]:
203 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
204 popups, respectively.
207 * Makefile.am: associated changes.
209 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
211 * ControlMinipage.[Ch]:
212 * ControlPreamble.[Ch]:
214 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
215 and Print popups and Splash screen, respectively.
217 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
221 * Makefile.am: associated changes.
223 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlConnections.[Ch]: (docType): new method; returns the type
226 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
229 * ControlSearch.[Ch]:
230 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
231 Search and TabularCreate popups, respectively.
234 * Makefile.am: associated changes.
236 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
238 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
241 * ControlInset.h (apply): fix bug. Can now create new insets again.
243 * README: describe program flow.
245 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
247 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
249 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlDialogs.h: moved class ControlInset into its own file.
253 * ControlInset.h: new file. class ControlInset has been expanded to take
254 two template parameters, Inset and Params. Believe that all inset
255 controllers can be derived from this with the minimum of effort.
257 * ControlBibitem.[Ch]:
258 * ControlBibtex.[Ch]:
259 * ControlCitation.[Ch]:
260 * ControlCommand.[Ch]: moved most code into ControlInset.
262 * lots of files. Moved protected stuff into private where possible.
265 * ControlInclude.[Ch]:
266 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
267 Include and Url popups, respectively.
270 * Makefile.am: associated changes.
272 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
274 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
277 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
279 * ControlCredits.C (getCredits): remove std:: qualifier for
282 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
284 * ControlCredits.C (getCredits): add std:: on vector
286 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
288 * ControlCredits.C: remove using that is only used once, use
289 std::ios instead of std::iosbase, add some annoying comments.
291 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
293 * lots of header files: improved explanatory notes.
295 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
296 ControlBase is now a class that only controls the interaction of the
297 View with the ButtonController.
299 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
300 to ControlConnectBase. The class controls the connection/disconnection
301 of signals from the LyX kernel and makes available the kernel (through
302 lv_) to daughter controller classes.
303 Moved out class ControlConnectInset to a new file ControlDialogs.h.
305 * ControlDialogs.h: new file. Contains the definition of two template
306 controller classes, ControlDialog and ControlInset (was
307 ControlConnectInset). ControlInset is a parent class for controllers
308 of inset-popups. ControlDialogs is the rather uninspired name for
309 the base class of all non-inset popups. (Eg, Document and Paragraph.)
310 ControlDialogs is reaching a state of maturity as several popups now use
311 it and its functionality becomes clear. ControlInset is still in a state
312 of flux. It is likely that functionality will be moved out of
313 ControlCommands and into it.
315 * GUI.h: new file. Moved all the template GUIXXX classes out of the
316 individual Controller header files and into one place. These classes
317 serve only as convenient wrappers to simplify code in the respective
318 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
320 * ControlCharacter.[Ch] (show, update, hide):
321 * ControlLog.[Ch] (show, update, hide):
322 * ControlVCLog.[Ch] (show, update, hide): moved back into
323 the ControlDialogs base class.
324 (setParams, clearParams): new methods containing controller-specific
325 code to set/reset the parameters manipulated by the view.
327 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
329 (hide): calls clearParams.
331 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
332 by ControlCommand::hide().
334 * ControlCopyright.[Ch]:
335 * ControlCredits.[Ch]: new files; controllers for the copyright and
336 credits popups, respectively.
338 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
340 * ControlCharacter.C: fix typo
342 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
344 * ControlCharacter.[Ch]: new files; controller for the character popup.
346 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
347 moved to new files helper_funcs.[Ch].
349 * helper_funcs.[Ch]: new files. Some useful helper functions and
352 * Makefile.am: added new files.
354 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
356 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
358 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
362 Control log files, respectively.
364 * Makefile.am: added new files.
366 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
368 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
370 * Makefile.am: added ControlBibtex.[Ch].
372 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlCitation.C: added "using SigC::slot" declaration.
377 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
378 to FormCitation.C prior to the merger: "Do not put space between
381 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
383 * several files: remove CXX_WORKING_NAMESPACES
385 * ButtonController.h: noncopyable is in namespace boost
386 * ButtonPolicies.h: ditto
388 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
390 * Merging changes from BRANCH_MVC back into HEAD.
392 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
394 * Makefile.am: add ControlBibitem.[Ch].
396 * ControlBibitem.[Ch]: new files that together define the Controller
399 * ControlCommand.h (c-tor): give kb_action a default value of
402 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
404 * ControlCitation.[Ch]: moved search functions out of class.
405 (bibkeysInfo): new method. Returns const reference to private data.
406 (searchKeys): added case-sensitive switch. Used only by simpleSearch
409 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
411 * ControlCitation.[Ch]: added Search functions to the class,
412 (shamelessly lifted from Marco's gnome code). I think that these would
413 be better as helper functions outside the class, but this is a first
416 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
418 * ControlCitation.[Ch]: (getBibkeyList): removed from class
420 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
421 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
422 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
423 implementation of FormCitation.
425 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
427 * ButtonPolicies.h: add SMI_NOOP to enum.
429 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
431 * ButtonController.C (input): add "optimising" if-statement. Actually,
432 things don't work correctly without it...
434 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
436 * ViewBase.h: remove #pragma directive
438 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
441 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
443 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
445 * Makefile.am: added ButtonPolicies.[Ch]
447 * ButtonController.[Ch]: ButtonController is split into
448 ButtonControllerBase and a template ButtonController class. The base
449 class no longer stores a pointer to a ButtonPolicy, but instead
450 accesses the actual instantiation of the policy through a pure virtual
451 method bp(). This method and the ButtonPolicy itself are instantiated
452 in the templatised ButtonController class. This class is derived from
453 the GUI-specific GUIBC class, meaning that the frontends know
454 nothing about the actual policy decided upon by the controllers.
456 * ControlBase.[Ch]: No longer store the View or the ButtonController.
457 Instead the actual instantiations are accessed through pure virtual
458 methods view() and bc(). The daughter classes are responsible for the
459 actual View and ButtonController.
461 * ControlCitation.h: the templatised class GUICitation instantiates
462 the methods view() and bc(). It also stores the instances of the
463 View and ButtonController.
465 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
467 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
468 also changed to ButtonController.
471 * ControlConnections.[Ch]:
472 * ControlCommand.[Ch]:
473 * ControlCitation.[Ch]:
474 * ViewBase.h: Changes associated with this.
476 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
478 * ButtonControllerBase.[Ch]: new files. Split Allan's original
479 xforms/ButtonController class into a GUI-I class (here) and an
480 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
482 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
483 from which all Dialog Controllers should be derived. the Controllers
484 are GUI-independent, but are designed to control the behaviour of
485 GUI-specific implementaions of each dialog.
487 * ControlConnections.[Ch]: new files. Classes controlling the
488 connections of buffer-independent, buffer-dependent and Inset dialogs
491 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
492 InsetCommand subset of insets.
494 * ControlCitation.[Ch]: new files. The test specialisation! A
495 controller for the Citation dialog.
497 * ViewBase.h: new file. ViewBase is an abstract base class from which
498 GUI-specific dialogs should be derived. The functionality that the GUIs
499 must now implement is much reduced.