1 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlExternal.C: (*it). -> it->
5 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
7 * ButtonController.h: move some included header files out of the
8 frontends and into here.
10 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12 * ControlCharacter.C (c-tor): cosmetic name change of signal.
14 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
16 * *.[h]: added // -*- C++ -*-
17 * *.[C]: removed // -*- C++ -*-
19 * ControlCharacter.[Ch]: added // -*- C++ -*-
20 (setParams): Check contents of font_ to activate Apply button.
21 (clearParams): removed.
22 font_ is now stored as a boost::scoped_ptr.
23 font_ is no longer deleted on hide(), so it's contents can now be used
24 by the Font button on the toolbar.
25 Lots of new methods so that the GUI can easily get the contents of
26 font_ when it update()s.
28 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
30 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
31 crash when the Font button on the Toolbar is pressed.
33 * GUI.h: change policy of Character button controller to
34 OkApplyCancelReadOnlyPolicy.
36 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
38 * ControlToc.C (getContents): don't add anything to the list if it
39 is supposed to be empty.
41 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
43 * helper_funcs.C (getVectorFromString): bug fix.
45 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
48 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
49 from ButtonControllerBase::readOnly. Updates the state of the widgets
50 in the read-only list only when the read-only status of the document
52 (refresh): moved this stuff into refreshReadOnly.
54 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
56 * ControlPrint.C (c-tor):
57 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
59 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
62 * character.h: small clean-ups.
64 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * ControlToc.C (getType): remove support for old float list.
68 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
70 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
71 * ControlGraphics.h: no longer include insetgraphicsParams.h
72 * ControlInset.h: no longer include LyXView.h
80 * ControlConnections.C:
93 * ControlTabularCreate.C:
95 * ControlVCLog.C: they're now in here!
97 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * ButtonControllerBase.h: C++ mode, inherit privately from
101 * ButtonPolicies.h: ditto
103 * ButtonController.h: C++ mode, swap init order of restore_ and
106 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
108 * ControlTabularCreate.h:
109 * ControlTabularCreate.C: make dialogs use a pair of uints
113 * ControlVCLog.C: fill a stringstream with the log contents
116 * ControlExternal.C: from Angus, clone the new InsetExternal
119 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
121 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
122 and made more robust.
124 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
133 * ControlCopyright.C: include gettext.h
135 * ControlCharacter.C:
136 * character.C: include gettext.h and language.h
138 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
140 * ButtonController.h:
141 * ButtonControllerBase.h:
142 * ButtonControllerBase.C:
149 * ControlConnections.h:
155 * ViewBase.h: s/ControlButton/ControlButtons/
157 s/UndoAll/Restore/ + associated
159 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
161 * ControlToc.[Ch]: new files; a controller for the TOC popup.
164 * Makefile.am: associated changes with all of the above.
166 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
168 * ControlExternal.C: bug fixes. Can now apply changes to the inset
169 and edit, view, update the External Material correctly. I hope!
171 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
173 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
175 * BCTemplates.h: renamed as ButtonController.h
177 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
180 * ControlConnections.h: associated change in #include and class names.
182 * ControlExternal.[Ch]: new files; a controller for the External
186 * Makefile.am: associated changes with all of the above.
188 * ControlGraphics.[Ch]:
189 * ControlInclude.[Ch]:
192 (Browse): new method. Returns the results of a FileDialog browse.
194 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
195 (getVectorFromString): fixed bug.
197 * biblio.C (simpleSearch): cleaned up.
199 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
201 * A slight reworking of Baruch Even's ButtonController patch.
203 * BCTemplates.h: new file; all the templates for the ButtonController.
204 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
205 to the more generic setButtonLabel().
207 * ButtonController.[Ch]: renamed cancel_label and close_label as
208 cancel_label_ and close_label_.
210 * Makefile.am: added BCTemplates.h
212 2001-03-29 Juergen Vigna <jug@sad.it>
214 * ControlMinipage.C: removed widthp_ and all it's functions and changed
215 to use new %-lengths of LyXLength.
217 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
219 * ControlCitation.C (bibkeysInfo): removed Assert.
221 * ControlCopyright.h: moved GUICopyright into GUI.h
225 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
228 (setDaughterParams): a (by default empty) new method called in show().
237 * ControlUrl.h (clearDaughterParams): removed
239 * ControlMinipage.C (applyParamsToInset): update the view.
240 Added namespace minipage containing a helper function getUnits.
242 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
244 * ControlCharacter.[Ch]: moved out all the helper functions and the
245 enum into their own file.
246 * character.[Ch]: new files; contain the character helper functions,
247 now inside namespace character.
249 * ControlCitation.[Ch]: moved out all the helper functions and the
250 enums into their own file. Simplified interface.
251 * biblio.[Ch]: new files; contain the citation helper functions,
252 now inside namespace biblio. Will be of use also to an improved
255 * ControlGraphics.[Ch]:
256 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
257 popups, respectively.
260 * Makefile.am: associated changes.
262 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
264 * ControlMinipage.[Ch]:
265 * ControlPreamble.[Ch]:
267 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
268 and Print popups and Splash screen, respectively.
270 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
274 * Makefile.am: associated changes.
276 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
278 * ControlConnections.[Ch]: (docType): new method; returns the type
279 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
282 * ControlSearch.[Ch]:
283 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
284 Search and TabularCreate popups, respectively.
287 * Makefile.am: associated changes.
289 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
291 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
294 * ControlInset.h (apply): fix bug. Can now create new insets again.
296 * README: describe program flow.
298 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
300 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
302 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
304 * ControlDialogs.h: moved class ControlInset into its own file.
306 * ControlInset.h: new file. class ControlInset has been expanded to take
307 two template parameters, Inset and Params. Believe that all inset
308 controllers can be derived from this with the minimum of effort.
310 * ControlBibitem.[Ch]:
311 * ControlBibtex.[Ch]:
312 * ControlCitation.[Ch]:
313 * ControlCommand.[Ch]: moved most code into ControlInset.
315 * lots of files. Moved protected stuff into private where possible.
318 * ControlInclude.[Ch]:
319 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
320 Include and Url popups, respectively.
323 * Makefile.am: associated changes.
325 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
327 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
330 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * ControlCredits.C (getCredits): remove std:: qualifier for
335 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
337 * ControlCredits.C (getCredits): add std:: on vector
339 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
341 * ControlCredits.C: remove using that is only used once, use
342 std::ios instead of std::iosbase, add some annoying comments.
344 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
346 * lots of header files: improved explanatory notes.
348 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
349 ControlBase is now a class that only controls the interaction of the
350 View with the ButtonController.
352 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
353 to ControlConnectBase. The class controls the connection/disconnection
354 of signals from the LyX kernel and makes available the kernel (through
355 lv_) to daughter controller classes.
356 Moved out class ControlConnectInset to a new file ControlDialogs.h.
358 * ControlDialogs.h: new file. Contains the definition of two template
359 controller classes, ControlDialog and ControlInset (was
360 ControlConnectInset). ControlInset is a parent class for controllers
361 of inset-popups. ControlDialogs is the rather uninspired name for
362 the base class of all non-inset popups. (Eg, Document and Paragraph.)
363 ControlDialogs is reaching a state of maturity as several popups now use
364 it and its functionality becomes clear. ControlInset is still in a state
365 of flux. It is likely that functionality will be moved out of
366 ControlCommands and into it.
368 * GUI.h: new file. Moved all the template GUIXXX classes out of the
369 individual Controller header files and into one place. These classes
370 serve only as convenient wrappers to simplify code in the respective
371 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
373 * ControlCharacter.[Ch] (show, update, hide):
374 * ControlLog.[Ch] (show, update, hide):
375 * ControlVCLog.[Ch] (show, update, hide): moved back into
376 the ControlDialogs base class.
377 (setParams, clearParams): new methods containing controller-specific
378 code to set/reset the parameters manipulated by the view.
380 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
382 (hide): calls clearParams.
384 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
385 by ControlCommand::hide().
387 * ControlCopyright.[Ch]:
388 * ControlCredits.[Ch]: new files; controllers for the copyright and
389 credits popups, respectively.
391 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
393 * ControlCharacter.C: fix typo
395 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
397 * ControlCharacter.[Ch]: new files; controller for the character popup.
399 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
400 moved to new files helper_funcs.[Ch].
402 * helper_funcs.[Ch]: new files. Some useful helper functions and
405 * Makefile.am: added new files.
407 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
409 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
411 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
414 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
415 Control log files, respectively.
417 * Makefile.am: added new files.
419 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
421 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
423 * Makefile.am: added ControlBibtex.[Ch].
425 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
428 * ControlCitation.C: added "using SigC::slot" declaration.
430 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
431 to FormCitation.C prior to the merger: "Do not put space between
434 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
436 * several files: remove CXX_WORKING_NAMESPACES
438 * ButtonController.h: noncopyable is in namespace boost
439 * ButtonPolicies.h: ditto
441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
443 * Merging changes from BRANCH_MVC back into HEAD.
445 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
447 * Makefile.am: add ControlBibitem.[Ch].
449 * ControlBibitem.[Ch]: new files that together define the Controller
452 * ControlCommand.h (c-tor): give kb_action a default value of
455 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
457 * ControlCitation.[Ch]: moved search functions out of class.
458 (bibkeysInfo): new method. Returns const reference to private data.
459 (searchKeys): added case-sensitive switch. Used only by simpleSearch
462 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
464 * ControlCitation.[Ch]: added Search functions to the class,
465 (shamelessly lifted from Marco's gnome code). I think that these would
466 be better as helper functions outside the class, but this is a first
469 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlCitation.[Ch]: (getBibkeyList): removed from class
473 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
474 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
475 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
476 implementation of FormCitation.
478 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
480 * ButtonPolicies.h: add SMI_NOOP to enum.
482 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
484 * ButtonController.C (input): add "optimising" if-statement. Actually,
485 things don't work correctly without it...
487 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
489 * ViewBase.h: remove #pragma directive
491 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
494 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
496 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
498 * Makefile.am: added ButtonPolicies.[Ch]
500 * ButtonController.[Ch]: ButtonController is split into
501 ButtonControllerBase and a template ButtonController class. The base
502 class no longer stores a pointer to a ButtonPolicy, but instead
503 accesses the actual instantiation of the policy through a pure virtual
504 method bp(). This method and the ButtonPolicy itself are instantiated
505 in the templatised ButtonController class. This class is derived from
506 the GUI-specific GUIBC class, meaning that the frontends know
507 nothing about the actual policy decided upon by the controllers.
509 * ControlBase.[Ch]: No longer store the View or the ButtonController.
510 Instead the actual instantiations are accessed through pure virtual
511 methods view() and bc(). The daughter classes are responsible for the
512 actual View and ButtonController.
514 * ControlCitation.h: the templatised class GUICitation instantiates
515 the methods view() and bc(). It also stores the instances of the
516 View and ButtonController.
518 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
520 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
521 also changed to ButtonController.
524 * ControlConnections.[Ch]:
525 * ControlCommand.[Ch]:
526 * ControlCitation.[Ch]:
527 * ViewBase.h: Changes associated with this.
529 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
531 * ButtonControllerBase.[Ch]: new files. Split Allan's original
532 xforms/ButtonController class into a GUI-I class (here) and an
533 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
535 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
536 from which all Dialog Controllers should be derived. the Controllers
537 are GUI-independent, but are designed to control the behaviour of
538 GUI-specific implementaions of each dialog.
540 * ControlConnections.[Ch]: new files. Classes controlling the
541 connections of buffer-independent, buffer-dependent and Inset dialogs
544 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
545 InsetCommand subset of insets.
547 * ControlCitation.[Ch]: new files. The test specialisation! A
548 controller for the Citation dialog.
550 * ViewBase.h: new file. ViewBase is an abstract base class from which
551 GUI-specific dialogs should be derived. The functionality that the GUIs
552 must now implement is much reduced.