1 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlInset.h: const and non-const forms of params().
5 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
6 whitespace from either side of each item.
8 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
10 * ControlFloat.h: add a != operator for FloatParams.
11 Lars, how did you get this to compile!!!
13 * ControlMinipage.[Ch]: uncommented someone's commenting out of
14 operator != for MinipageParams. Who's changing stuff and not compiling?
16 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
21 * GUI.h: add class GUIFloat
23 * ControlFloat.[Ch]: new files
25 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
27 * ControlPrint.C: #include Lassert.h here.
29 2001-07-26 Baruch Even <baruch@lyx.org>
31 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
34 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
39 * Makefile.am: thesaurus support
41 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
44 * ControlInclude.C: implement ability to load file
46 2001-07-18 Juergen Vigna <jug@sad.it>
48 * ControlSearch.C (replace): changes to lyxfind.h function calls.
50 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
52 * biblio.C (getInfo): add a .c_str() to handle the usual
55 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
57 * ControlCitation.[Ch]: changes associated with adding natbib support.
58 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
59 New static variable citeStyles_.
61 * biblio.[Ch]: large internal rearrangement.
62 New public enum CiteStyle.
63 New public struct CitationStyle.
64 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
65 getNumericalStrings, getAuthorYearStrings
66 (simpleSearch, regexSearch): no longer publicly accessible.
68 * helper_funcs.C (getStringFromVector): bug fix.
70 2001-07-16 Baruch Even <baruch@lyx.org>
72 * ControlVCLog.h: Added Lsstream.h to includes.
74 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlSpellchecker.[Ch]: remove d-tor.
78 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
80 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
82 2001-07-16 Juergen Vigna <jug@sad.it>
84 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
85 compiled with USE_PSPELL) to be able to switch between ISpell and
88 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
90 Consistent use of Lsstream.h:
91 * ControlAboutlyx.[Ch] (getCredits):
92 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
94 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
96 * ControlCredits.[Ch]: removed
97 * ControlCopyright.[Ch]: removed
98 * ControlAboutlyx.[Ch]: added (replaces previous)
99 * GUI.h: removed credits and copyright added about lyx stuff
101 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
103 * ControlSpellchecker.C (getSuggestion):
104 (getWord): add std:: qualifier
106 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
108 * ControlSpellchecker.[Ch]: added
109 * ViewBase.h: added partialUpdate(int) member
110 * GUI.h: added spell stuff
112 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * ControlExternal.C: (*it). -> it->
116 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
118 * ButtonController.h: move some included header files out of the
119 frontends and into here.
121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
123 * ControlCharacter.C (c-tor): cosmetic name change of signal.
125 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
127 * *.[h]: added // -*- C++ -*-
128 * *.[C]: removed // -*- C++ -*-
130 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
131 activate Apply button.
132 (clearParams): removed.
133 font_ is now stored as a boost::scoped_ptr.
134 font_ is no longer deleted on hide(), so it's contents can now be used
135 by the Font button on the toolbar.
136 Lots of new methods so that the GUI can easily get the contents of
137 font_ when it update()s.
139 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
142 crash when the Font button on the Toolbar is pressed.
144 * GUI.h: change policy of Character button controller to
145 OkApplyCancelReadOnlyPolicy.
147 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * ControlToc.C (getContents): don't add anything to the list if it
150 is supposed to be empty.
152 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
154 * helper_funcs.C (getVectorFromString): bug fix.
156 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
159 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
160 from ButtonControllerBase::readOnly. Updates the state of the widgets
161 in the read-only list only when the read-only status of the document
163 (refresh): moved this stuff into refreshReadOnly.
165 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlPrint.C (c-tor):
168 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
170 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
173 * character.h: small clean-ups.
175 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * ControlToc.C (getType): remove support for old float list.
179 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
181 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
182 * ControlGraphics.h: no longer include insetgraphicsParams.h
183 * ControlInset.h: no longer include LyXView.h
188 * ControlCharacter.C:
191 * ControlConnections.C:
192 * ControlCopyright.C:
204 * ControlTabularCreate.C:
206 * ControlVCLog.C: they're now in here!
208 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
210 * ButtonControllerBase.h: C++ mode, inherit privately from
212 * ButtonPolicies.h: ditto
214 * ButtonController.h: C++ mode, swap init order of restore_ and
217 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
219 * ControlTabularCreate.h:
220 * ControlTabularCreate.C: make dialogs use a pair of uints
224 * ControlVCLog.C: fill a stringstream with the log contents
227 * ControlExternal.C: from Angus, clone the new InsetExternal
230 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
232 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
233 and made more robust.
235 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
244 * ControlCopyright.C: include gettext.h
246 * ControlCharacter.C:
247 * character.C: include gettext.h and language.h
249 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
251 * ButtonController.h:
252 * ButtonControllerBase.h:
253 * ButtonControllerBase.C:
260 * ControlConnections.h:
266 * ViewBase.h: s/ControlButton/ControlButtons/
268 s/UndoAll/Restore/ + associated
270 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlToc.[Ch]: new files; a controller for the TOC popup.
275 * Makefile.am: associated changes with all of the above.
277 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
279 * ControlExternal.C: bug fixes. Can now apply changes to the inset
280 and edit, view, update the External Material correctly. I hope!
282 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
284 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
286 * BCTemplates.h: renamed as ButtonController.h
288 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
291 * ControlConnections.h: associated change in #include and class names.
293 * ControlExternal.[Ch]: new files; a controller for the External
297 * Makefile.am: associated changes with all of the above.
299 * ControlGraphics.[Ch]:
300 * ControlInclude.[Ch]:
303 (Browse): new method. Returns the results of a FileDialog browse.
305 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
306 (getVectorFromString): fixed bug.
308 * biblio.C (simpleSearch): cleaned up.
310 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
312 * A slight reworking of Baruch Even's ButtonController patch.
314 * BCTemplates.h: new file; all the templates for the ButtonController.
315 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
316 to the more generic setButtonLabel().
318 * ButtonController.[Ch]: renamed cancel_label and close_label as
319 cancel_label_ and close_label_.
321 * Makefile.am: added BCTemplates.h
323 2001-03-29 Juergen Vigna <jug@sad.it>
325 * ControlMinipage.C: removed widthp_ and all it's functions and changed
326 to use new %-lengths of LyXLength.
328 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
330 * ControlCitation.C (bibkeysInfo): removed Assert.
332 * ControlCopyright.h: moved GUICopyright into GUI.h
336 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
338 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
339 (setDaughterParams): a (by default empty) new method called in show().
348 * ControlUrl.h (clearDaughterParams): removed
350 * ControlMinipage.C (applyParamsToInset): update the view.
351 Added namespace minipage containing a helper function getUnits.
353 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
355 * ControlCharacter.[Ch]: moved out all the helper functions and the
356 enum into their own file.
357 * character.[Ch]: new files; contain the character helper functions,
358 now inside namespace character.
360 * ControlCitation.[Ch]: moved out all the helper functions and the
361 enums into their own file. Simplified interface.
362 * biblio.[Ch]: new files; contain the citation helper functions,
363 now inside namespace biblio. Will be of use also to an improved
366 * ControlGraphics.[Ch]:
367 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
368 popups, respectively.
371 * Makefile.am: associated changes.
373 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlMinipage.[Ch]:
376 * ControlPreamble.[Ch]:
378 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
379 and Print popups and Splash screen, respectively.
381 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
385 * Makefile.am: associated changes.
387 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlConnections.[Ch]: (docType): new method; returns the type
390 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
393 * ControlSearch.[Ch]:
394 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
395 Search and TabularCreate popups, respectively.
398 * Makefile.am: associated changes.
400 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
402 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
405 * ControlInset.h (apply): fix bug. Can now create new insets again.
407 * README: describe program flow.
409 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
411 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
413 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlDialogs.h: moved class ControlInset into its own file.
417 * ControlInset.h: new file. class ControlInset has been expanded to take
418 two template parameters, Inset and Params. Believe that all inset
419 controllers can be derived from this with the minimum of effort.
421 * ControlBibitem.[Ch]:
422 * ControlBibtex.[Ch]:
423 * ControlCitation.[Ch]:
424 * ControlCommand.[Ch]: moved most code into ControlInset.
426 * lots of files. Moved protected stuff into private where possible.
429 * ControlInclude.[Ch]:
430 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
431 Include and Url popups, respectively.
434 * Makefile.am: associated changes.
436 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
441 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
443 * ControlCredits.C (getCredits): remove std:: qualifier for
446 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
448 * ControlCredits.C (getCredits): add std:: on vector
450 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
452 * ControlCredits.C: remove using that is only used once, use
453 std::ios instead of std::iosbase, add some annoying comments.
455 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
457 * lots of header files: improved explanatory notes.
459 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
460 ControlBase is now a class that only controls the interaction of the
461 View with the ButtonController.
463 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
464 to ControlConnectBase. The class controls the connection/disconnection
465 of signals from the LyX kernel and makes available the kernel (through
466 lv_) to daughter controller classes.
467 Moved out class ControlConnectInset to a new file ControlDialogs.h.
469 * ControlDialogs.h: new file. Contains the definition of two template
470 controller classes, ControlDialog and ControlInset (was
471 ControlConnectInset). ControlInset is a parent class for controllers
472 of inset-popups. ControlDialogs is the rather uninspired name for
473 the base class of all non-inset popups. (Eg, Document and Paragraph.)
474 ControlDialogs is reaching a state of maturity as several popups now use
475 it and its functionality becomes clear. ControlInset is still in a state
476 of flux. It is likely that functionality will be moved out of
477 ControlCommands and into it.
479 * GUI.h: new file. Moved all the template GUIXXX classes out of the
480 individual Controller header files and into one place. These classes
481 serve only as convenient wrappers to simplify code in the respective
482 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
484 * ControlCharacter.[Ch] (show, update, hide):
485 * ControlLog.[Ch] (show, update, hide):
486 * ControlVCLog.[Ch] (show, update, hide): moved back into
487 the ControlDialogs base class.
488 (setParams, clearParams): new methods containing controller-specific
489 code to set/reset the parameters manipulated by the view.
491 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
493 (hide): calls clearParams.
495 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
496 by ControlCommand::hide().
498 * ControlCopyright.[Ch]:
499 * ControlCredits.[Ch]: new files; controllers for the copyright and
500 credits popups, respectively.
502 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
504 * ControlCharacter.C: fix typo
506 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
508 * ControlCharacter.[Ch]: new files; controller for the character popup.
510 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
511 moved to new files helper_funcs.[Ch].
513 * helper_funcs.[Ch]: new files. Some useful helper functions and
516 * Makefile.am: added new files.
518 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
520 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
522 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
526 Control log files, respectively.
528 * Makefile.am: added new files.
530 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
534 * Makefile.am: added ControlBibtex.[Ch].
536 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlCitation.C: added "using SigC::slot" declaration.
541 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
542 to FormCitation.C prior to the merger: "Do not put space between
545 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
547 * several files: remove CXX_WORKING_NAMESPACES
549 * ButtonController.h: noncopyable is in namespace boost
550 * ButtonPolicies.h: ditto
552 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
554 * Merging changes from BRANCH_MVC back into HEAD.
556 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
558 * Makefile.am: add ControlBibitem.[Ch].
560 * ControlBibitem.[Ch]: new files that together define the Controller
563 * ControlCommand.h (c-tor): give kb_action a default value of
566 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
568 * ControlCitation.[Ch]: moved search functions out of class.
569 (bibkeysInfo): new method. Returns const reference to private data.
570 (searchKeys): added case-sensitive switch. Used only by simpleSearch
573 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlCitation.[Ch]: added Search functions to the class,
576 (shamelessly lifted from Marco's gnome code). I think that these would
577 be better as helper functions outside the class, but this is a first
580 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlCitation.[Ch]: (getBibkeyList): removed from class
584 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
585 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
586 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
587 implementation of FormCitation.
589 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
591 * ButtonPolicies.h: add SMI_NOOP to enum.
593 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
595 * ButtonController.C (input): add "optimising" if-statement. Actually,
596 things don't work correctly without it...
598 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
600 * ViewBase.h: remove #pragma directive
602 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
605 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
607 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
609 * Makefile.am: added ButtonPolicies.[Ch]
611 * ButtonController.[Ch]: ButtonController is split into
612 ButtonControllerBase and a template ButtonController class. The base
613 class no longer stores a pointer to a ButtonPolicy, but instead
614 accesses the actual instantiation of the policy through a pure virtual
615 method bp(). This method and the ButtonPolicy itself are instantiated
616 in the templatised ButtonController class. This class is derived from
617 the GUI-specific GUIBC class, meaning that the frontends know
618 nothing about the actual policy decided upon by the controllers.
620 * ControlBase.[Ch]: No longer store the View or the ButtonController.
621 Instead the actual instantiations are accessed through pure virtual
622 methods view() and bc(). The daughter classes are responsible for the
623 actual View and ButtonController.
625 * ControlCitation.h: the templatised class GUICitation instantiates
626 the methods view() and bc(). It also stores the instances of the
627 View and ButtonController.
629 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
631 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
632 also changed to ButtonController.
635 * ControlConnections.[Ch]:
636 * ControlCommand.[Ch]:
637 * ControlCitation.[Ch]:
638 * ViewBase.h: Changes associated with this.
640 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
642 * ButtonControllerBase.[Ch]: new files. Split Allan's original
643 xforms/ButtonController class into a GUI-I class (here) and an
644 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
646 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
647 from which all Dialog Controllers should be derived. the Controllers
648 are GUI-independent, but are designed to control the behaviour of
649 GUI-specific implementaions of each dialog.
651 * ControlConnections.[Ch]: new files. Classes controlling the
652 connections of buffer-independent, buffer-dependent and Inset dialogs
655 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
656 InsetCommand subset of insets.
658 * ControlCitation.[Ch]: new files. The test specialisation! A
659 controller for the Citation dialog.
661 * ViewBase.h: new file. ViewBase is an abstract base class from which
662 GUI-specific dialogs should be derived. The functionality that the GUIs
663 must now implement is much reduced.