1 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
4 * character.h: small clean-ups.
6 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * ControlToc.C (getType): remove support for old float list.
10 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
13 * ControlGraphics.h: no longer include insetgraphicsParams.h
14 * ControlInset.h: no longer include LyXView.h
22 * ControlConnections.C:
35 * ControlTabularCreate.C:
37 * ControlVCLog.C: they're now in here!
39 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * ButtonControllerBase.h: C++ mode, inherit privately from
43 * ButtonPolicies.h: ditto
45 * ButtonController.h: C++ mode, swap init order of restore_ and
48 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
50 * ControlTabularCreate.h:
51 * ControlTabularCreate.C: make dialogs use a pair of uints
55 * ControlVCLog.C: fill a stringstream with the log contents
58 * ControlExternal.C: from Angus, clone the new InsetExternal
61 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
63 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
66 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * ControlCopyright.C: include gettext.h
78 * character.C: include gettext.h and language.h
80 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
83 * ButtonControllerBase.h:
84 * ButtonControllerBase.C:
91 * ControlConnections.h:
97 * ViewBase.h: s/ControlButton/ControlButtons/
99 s/UndoAll/Restore/ + associated
101 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
103 * ControlToc.[Ch]: new files; a controller for the TOC popup.
106 * Makefile.am: associated changes with all of the above.
108 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
110 * ControlExternal.C: bug fixes. Can now apply changes to the inset
111 and edit, view, update the External Material correctly. I hope!
113 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
115 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
117 * BCTemplates.h: renamed as ButtonController.h
119 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
122 * ControlConnections.h: associated change in #include and class names.
124 * ControlExternal.[Ch]: new files; a controller for the External
128 * Makefile.am: associated changes with all of the above.
130 * ControlGraphics.[Ch]:
131 * ControlInclude.[Ch]:
134 (Browse): new method. Returns the results of a FileDialog browse.
136 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
137 (getVectorFromString): fixed bug.
139 * biblio.C (simpleSearch): cleaned up.
141 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
143 * A slight reworking of Baruch Even's ButtonController patch.
145 * BCTemplates.h: new file; all the templates for the ButtonController.
146 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
147 to the more generic setButtonLabel().
149 * ButtonController.[Ch]: renamed cancel_label and close_label as
150 cancel_label_ and close_label_.
152 * Makefile.am: added BCTemplates.h
154 2001-03-29 Juergen Vigna <jug@sad.it>
156 * ControlMinipage.C: removed widthp_ and all it's functions and changed
157 to use new %-lengths of LyXLength.
159 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
161 * ControlCitation.C (bibkeysInfo): removed Assert.
163 * ControlCopyright.h: moved GUICopyright into GUI.h
167 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
170 (setDaughterParams): a (by default empty) new method called in show().
179 * ControlUrl.h (clearDaughterParams): removed
181 * ControlMinipage.C (applyParamsToInset): update the view.
182 Added namespace minipage containing a helper function getUnits.
184 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
186 * ControlCharacter.[Ch]: moved out all the helper functions and the
187 enum into their own file.
188 * character.[Ch]: new files; contain the character helper functions,
189 now inside namespace character.
191 * ControlCitation.[Ch]: moved out all the helper functions and the
192 enums into their own file. Simplified interface.
193 * biblio.[Ch]: new files; contain the citation helper functions,
194 now inside namespace biblio. Will be of use also to an improved
197 * ControlGraphics.[Ch]:
198 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
199 popups, respectively.
202 * Makefile.am: associated changes.
204 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
206 * ControlMinipage.[Ch]:
207 * ControlPreamble.[Ch]:
209 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
210 and Print popups and Splash screen, respectively.
212 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
216 * Makefile.am: associated changes.
218 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
220 * ControlConnections.[Ch]: (docType): new method; returns the type
221 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
224 * ControlSearch.[Ch]:
225 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
226 Search and TabularCreate popups, respectively.
229 * Makefile.am: associated changes.
231 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
236 * ControlInset.h (apply): fix bug. Can now create new insets again.
238 * README: describe program flow.
240 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
242 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
244 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
246 * ControlDialogs.h: moved class ControlInset into its own file.
248 * ControlInset.h: new file. class ControlInset has been expanded to take
249 two template parameters, Inset and Params. Believe that all inset
250 controllers can be derived from this with the minimum of effort.
252 * ControlBibitem.[Ch]:
253 * ControlBibtex.[Ch]:
254 * ControlCitation.[Ch]:
255 * ControlCommand.[Ch]: moved most code into ControlInset.
257 * lots of files. Moved protected stuff into private where possible.
260 * ControlInclude.[Ch]:
261 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
262 Include and Url popups, respectively.
265 * Makefile.am: associated changes.
267 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
269 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
272 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
274 * ControlCredits.C (getCredits): remove std:: qualifier for
277 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
279 * ControlCredits.C (getCredits): add std:: on vector
281 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
283 * ControlCredits.C: remove using that is only used once, use
284 std::ios instead of std::iosbase, add some annoying comments.
286 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
288 * lots of header files: improved explanatory notes.
290 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
291 ControlBase is now a class that only controls the interaction of the
292 View with the ButtonController.
294 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
295 to ControlConnectBase. The class controls the connection/disconnection
296 of signals from the LyX kernel and makes available the kernel (through
297 lv_) to daughter controller classes.
298 Moved out class ControlConnectInset to a new file ControlDialogs.h.
300 * ControlDialogs.h: new file. Contains the definition of two template
301 controller classes, ControlDialog and ControlInset (was
302 ControlConnectInset). ControlInset is a parent class for controllers
303 of inset-popups. ControlDialogs is the rather uninspired name for
304 the base class of all non-inset popups. (Eg, Document and Paragraph.)
305 ControlDialogs is reaching a state of maturity as several popups now use
306 it and its functionality becomes clear. ControlInset is still in a state
307 of flux. It is likely that functionality will be moved out of
308 ControlCommands and into it.
310 * GUI.h: new file. Moved all the template GUIXXX classes out of the
311 individual Controller header files and into one place. These classes
312 serve only as convenient wrappers to simplify code in the respective
313 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
315 * ControlCharacter.[Ch] (show, update, hide):
316 * ControlLog.[Ch] (show, update, hide):
317 * ControlVCLog.[Ch] (show, update, hide): moved back into
318 the ControlDialogs base class.
319 (setParams, clearParams): new methods containing controller-specific
320 code to set/reset the parameters manipulated by the view.
322 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
324 (hide): calls clearParams.
326 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
327 by ControlCommand::hide().
329 * ControlCopyright.[Ch]:
330 * ControlCredits.[Ch]: new files; controllers for the copyright and
331 credits popups, respectively.
333 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
335 * ControlCharacter.C: fix typo
337 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
339 * ControlCharacter.[Ch]: new files; controller for the character popup.
341 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
342 moved to new files helper_funcs.[Ch].
344 * helper_funcs.[Ch]: new files. Some useful helper functions and
347 * Makefile.am: added new files.
349 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
353 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
356 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
357 Control log files, respectively.
359 * Makefile.am: added new files.
361 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
363 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
365 * Makefile.am: added ControlBibtex.[Ch].
367 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
370 * ControlCitation.C: added "using SigC::slot" declaration.
372 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
373 to FormCitation.C prior to the merger: "Do not put space between
376 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
378 * several files: remove CXX_WORKING_NAMESPACES
380 * ButtonController.h: noncopyable is in namespace boost
381 * ButtonPolicies.h: ditto
383 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
385 * Merging changes from BRANCH_MVC back into HEAD.
387 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
389 * Makefile.am: add ControlBibitem.[Ch].
391 * ControlBibitem.[Ch]: new files that together define the Controller
394 * ControlCommand.h (c-tor): give kb_action a default value of
397 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
399 * ControlCitation.[Ch]: moved search functions out of class.
400 (bibkeysInfo): new method. Returns const reference to private data.
401 (searchKeys): added case-sensitive switch. Used only by simpleSearch
404 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
406 * ControlCitation.[Ch]: added Search functions to the class,
407 (shamelessly lifted from Marco's gnome code). I think that these would
408 be better as helper functions outside the class, but this is a first
411 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
413 * ControlCitation.[Ch]: (getBibkeyList): removed from class
415 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
416 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
417 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
418 implementation of FormCitation.
420 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
422 * ButtonPolicies.h: add SMI_NOOP to enum.
424 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
426 * ButtonController.C (input): add "optimising" if-statement. Actually,
427 things don't work correctly without it...
429 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
431 * ViewBase.h: remove #pragma directive
433 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
436 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
438 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
440 * Makefile.am: added ButtonPolicies.[Ch]
442 * ButtonController.[Ch]: ButtonController is split into
443 ButtonControllerBase and a template ButtonController class. The base
444 class no longer stores a pointer to a ButtonPolicy, but instead
445 accesses the actual instantiation of the policy through a pure virtual
446 method bp(). This method and the ButtonPolicy itself are instantiated
447 in the templatised ButtonController class. This class is derived from
448 the GUI-specific GUIBC class, meaning that the frontends know
449 nothing about the actual policy decided upon by the controllers.
451 * ControlBase.[Ch]: No longer store the View or the ButtonController.
452 Instead the actual instantiations are accessed through pure virtual
453 methods view() and bc(). The daughter classes are responsible for the
454 actual View and ButtonController.
456 * ControlCitation.h: the templatised class GUICitation instantiates
457 the methods view() and bc(). It also stores the instances of the
458 View and ButtonController.
460 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
462 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
463 also changed to ButtonController.
466 * ControlConnections.[Ch]:
467 * ControlCommand.[Ch]:
468 * ControlCitation.[Ch]:
469 * ViewBase.h: Changes associated with this.
471 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
473 * ButtonControllerBase.[Ch]: new files. Split Allan's original
474 xforms/ButtonController class into a GUI-I class (here) and an
475 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
477 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
478 from which all Dialog Controllers should be derived. the Controllers
479 are GUI-independent, but are designed to control the behaviour of
480 GUI-specific implementaions of each dialog.
482 * ControlConnections.[Ch]: new files. Classes controlling the
483 connections of buffer-independent, buffer-dependent and Inset dialogs
486 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
487 InsetCommand subset of insets.
489 * ControlCitation.[Ch]: new files. The test specialisation! A
490 controller for the Citation dialog.
492 * ViewBase.h: new file. ViewBase is an abstract base class from which
493 GUI-specific dialogs should be derived. The functionality that the GUIs
494 must now implement is much reduced.