1 2001-07-16 Baruch Even <baruch@lyx.org>
3 * ControlVCLog.h: Added Lsstream.h to includes.
5 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
7 * ControlSpellchecker.[Ch]: remove d-tor.
9 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
13 2001-07-16 Juergen Vigna <jug@sad.it>
15 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
16 compiled with USE_PSPELL) to be able to switch between ISpell and
19 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
21 Consistent use of Lsstream.h:
22 * ControlAboutlyx.[Ch] (getCredits):
23 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
25 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
27 * ControlCredits.[Ch]: removed
28 * ControlCopyright.[Ch]: removed
29 * ControlAboutlyx.[Ch]: added (replaces previous)
30 * GUI.h: removed credits and copyright added about lyx stuff
32 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
34 * ControlSpellchecker.C (getSuggestion):
35 (getWord): add std:: qualifier
37 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
39 * ControlSpellchecker.[Ch]: added
40 * ViewBase.h: added partialUpdate(int) member
41 * GUI.h: added spell stuff
43 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * ControlExternal.C: (*it). -> it->
47 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
49 * ButtonController.h: move some included header files out of the
50 frontends and into here.
52 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlCharacter.C (c-tor): cosmetic name change of signal.
56 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
58 * *.[h]: added // -*- C++ -*-
59 * *.[C]: removed // -*- C++ -*-
61 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
62 activate Apply button.
63 (clearParams): removed.
64 font_ is now stored as a boost::scoped_ptr.
65 font_ is no longer deleted on hide(), so it's contents can now be used
66 by the Font button on the toolbar.
67 Lots of new methods so that the GUI can easily get the contents of
68 font_ when it update()s.
70 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
72 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
73 crash when the Font button on the Toolbar is pressed.
75 * GUI.h: change policy of Character button controller to
76 OkApplyCancelReadOnlyPolicy.
78 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * ControlToc.C (getContents): don't add anything to the list if it
81 is supposed to be empty.
83 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
85 * helper_funcs.C (getVectorFromString): bug fix.
87 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
90 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
91 from ButtonControllerBase::readOnly. Updates the state of the widgets
92 in the read-only list only when the read-only status of the document
94 (refresh): moved this stuff into refreshReadOnly.
96 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
98 * ControlPrint.C (c-tor):
99 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
101 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
104 * character.h: small clean-ups.
106 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
108 * ControlToc.C (getType): remove support for old float list.
110 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
112 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
113 * ControlGraphics.h: no longer include insetgraphicsParams.h
114 * ControlInset.h: no longer include LyXView.h
119 * ControlCharacter.C:
122 * ControlConnections.C:
123 * ControlCopyright.C:
135 * ControlTabularCreate.C:
137 * ControlVCLog.C: they're now in here!
139 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * ButtonControllerBase.h: C++ mode, inherit privately from
143 * ButtonPolicies.h: ditto
145 * ButtonController.h: C++ mode, swap init order of restore_ and
148 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
150 * ControlTabularCreate.h:
151 * ControlTabularCreate.C: make dialogs use a pair of uints
155 * ControlVCLog.C: fill a stringstream with the log contents
158 * ControlExternal.C: from Angus, clone the new InsetExternal
161 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
163 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
164 and made more robust.
166 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
175 * ControlCopyright.C: include gettext.h
177 * ControlCharacter.C:
178 * character.C: include gettext.h and language.h
180 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
182 * ButtonController.h:
183 * ButtonControllerBase.h:
184 * ButtonControllerBase.C:
191 * ControlConnections.h:
197 * ViewBase.h: s/ControlButton/ControlButtons/
199 s/UndoAll/Restore/ + associated
201 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
203 * ControlToc.[Ch]: new files; a controller for the TOC popup.
206 * Makefile.am: associated changes with all of the above.
208 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlExternal.C: bug fixes. Can now apply changes to the inset
211 and edit, view, update the External Material correctly. I hope!
213 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
215 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
217 * BCTemplates.h: renamed as ButtonController.h
219 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
222 * ControlConnections.h: associated change in #include and class names.
224 * ControlExternal.[Ch]: new files; a controller for the External
228 * Makefile.am: associated changes with all of the above.
230 * ControlGraphics.[Ch]:
231 * ControlInclude.[Ch]:
234 (Browse): new method. Returns the results of a FileDialog browse.
236 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
237 (getVectorFromString): fixed bug.
239 * biblio.C (simpleSearch): cleaned up.
241 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
243 * A slight reworking of Baruch Even's ButtonController patch.
245 * BCTemplates.h: new file; all the templates for the ButtonController.
246 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
247 to the more generic setButtonLabel().
249 * ButtonController.[Ch]: renamed cancel_label and close_label as
250 cancel_label_ and close_label_.
252 * Makefile.am: added BCTemplates.h
254 2001-03-29 Juergen Vigna <jug@sad.it>
256 * ControlMinipage.C: removed widthp_ and all it's functions and changed
257 to use new %-lengths of LyXLength.
259 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
261 * ControlCitation.C (bibkeysInfo): removed Assert.
263 * ControlCopyright.h: moved GUICopyright into GUI.h
267 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
269 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
270 (setDaughterParams): a (by default empty) new method called in show().
279 * ControlUrl.h (clearDaughterParams): removed
281 * ControlMinipage.C (applyParamsToInset): update the view.
282 Added namespace minipage containing a helper function getUnits.
284 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
286 * ControlCharacter.[Ch]: moved out all the helper functions and the
287 enum into their own file.
288 * character.[Ch]: new files; contain the character helper functions,
289 now inside namespace character.
291 * ControlCitation.[Ch]: moved out all the helper functions and the
292 enums into their own file. Simplified interface.
293 * biblio.[Ch]: new files; contain the citation helper functions,
294 now inside namespace biblio. Will be of use also to an improved
297 * ControlGraphics.[Ch]:
298 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
299 popups, respectively.
302 * Makefile.am: associated changes.
304 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlMinipage.[Ch]:
307 * ControlPreamble.[Ch]:
309 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
310 and Print popups and Splash screen, respectively.
312 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
316 * Makefile.am: associated changes.
318 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
320 * ControlConnections.[Ch]: (docType): new method; returns the type
321 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
324 * ControlSearch.[Ch]:
325 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
326 Search and TabularCreate popups, respectively.
329 * Makefile.am: associated changes.
331 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
336 * ControlInset.h (apply): fix bug. Can now create new insets again.
338 * README: describe program flow.
340 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
342 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
344 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
346 * ControlDialogs.h: moved class ControlInset into its own file.
348 * ControlInset.h: new file. class ControlInset has been expanded to take
349 two template parameters, Inset and Params. Believe that all inset
350 controllers can be derived from this with the minimum of effort.
352 * ControlBibitem.[Ch]:
353 * ControlBibtex.[Ch]:
354 * ControlCitation.[Ch]:
355 * ControlCommand.[Ch]: moved most code into ControlInset.
357 * lots of files. Moved protected stuff into private where possible.
360 * ControlInclude.[Ch]:
361 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
362 Include and Url popups, respectively.
365 * Makefile.am: associated changes.
367 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
372 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
374 * ControlCredits.C (getCredits): remove std:: qualifier for
377 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
379 * ControlCredits.C (getCredits): add std:: on vector
381 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
383 * ControlCredits.C: remove using that is only used once, use
384 std::ios instead of std::iosbase, add some annoying comments.
386 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
388 * lots of header files: improved explanatory notes.
390 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
391 ControlBase is now a class that only controls the interaction of the
392 View with the ButtonController.
394 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
395 to ControlConnectBase. The class controls the connection/disconnection
396 of signals from the LyX kernel and makes available the kernel (through
397 lv_) to daughter controller classes.
398 Moved out class ControlConnectInset to a new file ControlDialogs.h.
400 * ControlDialogs.h: new file. Contains the definition of two template
401 controller classes, ControlDialog and ControlInset (was
402 ControlConnectInset). ControlInset is a parent class for controllers
403 of inset-popups. ControlDialogs is the rather uninspired name for
404 the base class of all non-inset popups. (Eg, Document and Paragraph.)
405 ControlDialogs is reaching a state of maturity as several popups now use
406 it and its functionality becomes clear. ControlInset is still in a state
407 of flux. It is likely that functionality will be moved out of
408 ControlCommands and into it.
410 * GUI.h: new file. Moved all the template GUIXXX classes out of the
411 individual Controller header files and into one place. These classes
412 serve only as convenient wrappers to simplify code in the respective
413 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
415 * ControlCharacter.[Ch] (show, update, hide):
416 * ControlLog.[Ch] (show, update, hide):
417 * ControlVCLog.[Ch] (show, update, hide): moved back into
418 the ControlDialogs base class.
419 (setParams, clearParams): new methods containing controller-specific
420 code to set/reset the parameters manipulated by the view.
422 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
424 (hide): calls clearParams.
426 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
427 by ControlCommand::hide().
429 * ControlCopyright.[Ch]:
430 * ControlCredits.[Ch]: new files; controllers for the copyright and
431 credits popups, respectively.
433 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
435 * ControlCharacter.C: fix typo
437 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlCharacter.[Ch]: new files; controller for the character popup.
441 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
442 moved to new files helper_funcs.[Ch].
444 * helper_funcs.[Ch]: new files. Some useful helper functions and
447 * Makefile.am: added new files.
449 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
451 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
453 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
456 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
457 Control log files, respectively.
459 * Makefile.am: added new files.
461 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
463 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
465 * Makefile.am: added ControlBibtex.[Ch].
467 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
470 * ControlCitation.C: added "using SigC::slot" declaration.
472 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
473 to FormCitation.C prior to the merger: "Do not put space between
476 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
478 * several files: remove CXX_WORKING_NAMESPACES
480 * ButtonController.h: noncopyable is in namespace boost
481 * ButtonPolicies.h: ditto
483 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
485 * Merging changes from BRANCH_MVC back into HEAD.
487 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
489 * Makefile.am: add ControlBibitem.[Ch].
491 * ControlBibitem.[Ch]: new files that together define the Controller
494 * ControlCommand.h (c-tor): give kb_action a default value of
497 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
499 * ControlCitation.[Ch]: moved search functions out of class.
500 (bibkeysInfo): new method. Returns const reference to private data.
501 (searchKeys): added case-sensitive switch. Used only by simpleSearch
504 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
506 * ControlCitation.[Ch]: added Search functions to the class,
507 (shamelessly lifted from Marco's gnome code). I think that these would
508 be better as helper functions outside the class, but this is a first
511 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlCitation.[Ch]: (getBibkeyList): removed from class
515 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
516 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
517 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
518 implementation of FormCitation.
520 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
522 * ButtonPolicies.h: add SMI_NOOP to enum.
524 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
526 * ButtonController.C (input): add "optimising" if-statement. Actually,
527 things don't work correctly without it...
529 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
531 * ViewBase.h: remove #pragma directive
533 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
536 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
538 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
540 * Makefile.am: added ButtonPolicies.[Ch]
542 * ButtonController.[Ch]: ButtonController is split into
543 ButtonControllerBase and a template ButtonController class. The base
544 class no longer stores a pointer to a ButtonPolicy, but instead
545 accesses the actual instantiation of the policy through a pure virtual
546 method bp(). This method and the ButtonPolicy itself are instantiated
547 in the templatised ButtonController class. This class is derived from
548 the GUI-specific GUIBC class, meaning that the frontends know
549 nothing about the actual policy decided upon by the controllers.
551 * ControlBase.[Ch]: No longer store the View or the ButtonController.
552 Instead the actual instantiations are accessed through pure virtual
553 methods view() and bc(). The daughter classes are responsible for the
554 actual View and ButtonController.
556 * ControlCitation.h: the templatised class GUICitation instantiates
557 the methods view() and bc(). It also stores the instances of the
558 View and ButtonController.
560 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
562 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
563 also changed to ButtonController.
566 * ControlConnections.[Ch]:
567 * ControlCommand.[Ch]:
568 * ControlCitation.[Ch]:
569 * ViewBase.h: Changes associated with this.
571 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
573 * ButtonControllerBase.[Ch]: new files. Split Allan's original
574 xforms/ButtonController class into a GUI-I class (here) and an
575 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
577 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
578 from which all Dialog Controllers should be derived. the Controllers
579 are GUI-independent, but are designed to control the behaviour of
580 GUI-specific implementaions of each dialog.
582 * ControlConnections.[Ch]: new files. Classes controlling the
583 connections of buffer-independent, buffer-dependent and Inset dialogs
586 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
587 InsetCommand subset of insets.
589 * ControlCitation.[Ch]: new files. The test specialisation! A
590 controller for the Citation dialog.
592 * ViewBase.h: new file. ViewBase is an abstract base class from which
593 GUI-specific dialogs should be derived. The functionality that the GUIs
594 must now implement is much reduced.