1 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
4 * ControlDialogs.h: remove bc() hack, now fixed in
5 Qt2 frontend. use member dialog_built_ instead of shared
9 * ButtonPolicies.C: more debug info
11 * ButtonControllerBase.C: call refresh() when setting readOnly !
13 * GUI.h: External form has apply, use the right policy
15 * character.C: fix two off-by-one errors when latex font was removed
17 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
19 * ControlInset.h (apply): tentative fix for the press Apply multiple
20 times and get multiple new Insets problem.
22 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
24 * ControlCharacter.C: fix typo
28 * ControlInsets.C: make sure dialog is built before it is shown, so
29 it works properly the very first time it is shown
31 2001-08-20 Herbert Voss <voss@perce.de>
33 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
34 and styles. Added an option for "bibliography into toc"
36 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
38 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
39 LaTeX is no longer a font property.
41 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
43 * GUI.h: Button controller for Reference dialog changed to
44 NoRepeatedApplyReadOnlyPolicy.
46 * biblio.C (getInfo): output volume and number info. Move year to end
49 2001-08-09 Allan Rae <rae@lyx.org>
51 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
53 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
55 * helper_funcs.C (getVectorFromString): fixed small bug.
57 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
59 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
61 * ControlSpellchecker.C: check next word after insert in personal dict
63 2001-08-06 Juergen Vigna <jug@sad.it>
65 * ControlERT.[Ch]: new file
67 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlInset.h: const and non-const forms of params().
71 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
72 whitespace from either side of each item.
74 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlFloat.h: add a != operator for FloatParams.
77 Lars, how did you get this to compile!!!
79 * ControlMinipage.[Ch]: uncommented someone's commenting out of
80 operator != for MinipageParams. Who's changing stuff and not compiling?
82 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
87 * GUI.h: add class GUIFloat
89 * ControlFloat.[Ch]: new files
91 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * ControlPrint.C: #include Lassert.h here.
95 2001-07-26 Baruch Even <baruch@lyx.org>
97 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
100 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
102 * ControlThesaurus.h:
103 * ControlThesaurus.C:
105 * Makefile.am: thesaurus support
107 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
110 * ControlInclude.C: implement ability to load file
112 2001-07-18 Juergen Vigna <jug@sad.it>
114 * ControlSearch.C (replace): changes to lyxfind.h function calls.
116 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * biblio.C (getInfo): add a .c_str() to handle the usual
121 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
123 * ControlCitation.[Ch]: changes associated with adding natbib support.
124 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
125 New static variable citeStyles_.
127 * biblio.[Ch]: large internal rearrangement.
128 New public enum CiteStyle.
129 New public struct CitationStyle.
130 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
131 getNumericalStrings, getAuthorYearStrings
132 (simpleSearch, regexSearch): no longer publicly accessible.
134 * helper_funcs.C (getStringFromVector): bug fix.
136 2001-07-16 Baruch Even <baruch@lyx.org>
138 * ControlVCLog.h: Added Lsstream.h to includes.
140 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
142 * ControlSpellchecker.[Ch]: remove d-tor.
144 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
146 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
148 2001-07-16 Juergen Vigna <jug@sad.it>
150 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
151 compiled with USE_PSPELL) to be able to switch between ISpell and
154 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
156 Consistent use of Lsstream.h:
157 * ControlAboutlyx.[Ch] (getCredits):
158 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
162 * ControlCredits.[Ch]: removed
163 * ControlCopyright.[Ch]: removed
164 * ControlAboutlyx.[Ch]: added (replaces previous)
165 * GUI.h: removed credits and copyright added about lyx stuff
167 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
169 * ControlSpellchecker.C (getSuggestion):
170 (getWord): add std:: qualifier
172 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
174 * ControlSpellchecker.[Ch]: added
175 * ViewBase.h: added partialUpdate(int) member
176 * GUI.h: added spell stuff
178 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * ControlExternal.C: (*it). -> it->
182 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
184 * ButtonController.h: move some included header files out of the
185 frontends and into here.
187 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
189 * ControlCharacter.C (c-tor): cosmetic name change of signal.
191 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
193 * *.[h]: added // -*- C++ -*-
194 * *.[C]: removed // -*- C++ -*-
196 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
197 activate Apply button.
198 (clearParams): removed.
199 font_ is now stored as a boost::scoped_ptr.
200 font_ is no longer deleted on hide(), so it's contents can now be used
201 by the Font button on the toolbar.
202 Lots of new methods so that the GUI can easily get the contents of
203 font_ when it update()s.
205 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
208 crash when the Font button on the Toolbar is pressed.
210 * GUI.h: change policy of Character button controller to
211 OkApplyCancelReadOnlyPolicy.
213 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
215 * ControlToc.C (getContents): don't add anything to the list if it
216 is supposed to be empty.
218 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
220 * helper_funcs.C (getVectorFromString): bug fix.
222 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
225 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
226 from ButtonControllerBase::readOnly. Updates the state of the widgets
227 in the read-only list only when the read-only status of the document
229 (refresh): moved this stuff into refreshReadOnly.
231 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlPrint.C (c-tor):
234 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
236 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
239 * character.h: small clean-ups.
241 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * ControlToc.C (getType): remove support for old float list.
245 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
248 * ControlGraphics.h: no longer include insetgraphicsParams.h
249 * ControlInset.h: no longer include LyXView.h
254 * ControlCharacter.C:
257 * ControlConnections.C:
258 * ControlCopyright.C:
270 * ControlTabularCreate.C:
272 * ControlVCLog.C: they're now in here!
274 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * ButtonControllerBase.h: C++ mode, inherit privately from
278 * ButtonPolicies.h: ditto
280 * ButtonController.h: C++ mode, swap init order of restore_ and
283 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
285 * ControlTabularCreate.h:
286 * ControlTabularCreate.C: make dialogs use a pair of uints
290 * ControlVCLog.C: fill a stringstream with the log contents
293 * ControlExternal.C: from Angus, clone the new InsetExternal
296 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
298 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
299 and made more robust.
301 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
310 * ControlCopyright.C: include gettext.h
312 * ControlCharacter.C:
313 * character.C: include gettext.h and language.h
315 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
317 * ButtonController.h:
318 * ButtonControllerBase.h:
319 * ButtonControllerBase.C:
326 * ControlConnections.h:
332 * ViewBase.h: s/ControlButton/ControlButtons/
334 s/UndoAll/Restore/ + associated
336 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
338 * ControlToc.[Ch]: new files; a controller for the TOC popup.
341 * Makefile.am: associated changes with all of the above.
343 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlExternal.C: bug fixes. Can now apply changes to the inset
346 and edit, view, update the External Material correctly. I hope!
348 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
350 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
352 * BCTemplates.h: renamed as ButtonController.h
354 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
357 * ControlConnections.h: associated change in #include and class names.
359 * ControlExternal.[Ch]: new files; a controller for the External
363 * Makefile.am: associated changes with all of the above.
365 * ControlGraphics.[Ch]:
366 * ControlInclude.[Ch]:
369 (Browse): new method. Returns the results of a FileDialog browse.
371 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
372 (getVectorFromString): fixed bug.
374 * biblio.C (simpleSearch): cleaned up.
376 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
378 * A slight reworking of Baruch Even's ButtonController patch.
380 * BCTemplates.h: new file; all the templates for the ButtonController.
381 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
382 to the more generic setButtonLabel().
384 * ButtonController.[Ch]: renamed cancel_label and close_label as
385 cancel_label_ and close_label_.
387 * Makefile.am: added BCTemplates.h
389 2001-03-29 Juergen Vigna <jug@sad.it>
391 * ControlMinipage.C: removed widthp_ and all it's functions and changed
392 to use new %-lengths of LyXLength.
394 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
396 * ControlCitation.C (bibkeysInfo): removed Assert.
398 * ControlCopyright.h: moved GUICopyright into GUI.h
402 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
404 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
405 (setDaughterParams): a (by default empty) new method called in show().
414 * ControlUrl.h (clearDaughterParams): removed
416 * ControlMinipage.C (applyParamsToInset): update the view.
417 Added namespace minipage containing a helper function getUnits.
419 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
421 * ControlCharacter.[Ch]: moved out all the helper functions and the
422 enum into their own file.
423 * character.[Ch]: new files; contain the character helper functions,
424 now inside namespace character.
426 * ControlCitation.[Ch]: moved out all the helper functions and the
427 enums into their own file. Simplified interface.
428 * biblio.[Ch]: new files; contain the citation helper functions,
429 now inside namespace biblio. Will be of use also to an improved
432 * ControlGraphics.[Ch]:
433 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
434 popups, respectively.
437 * Makefile.am: associated changes.
439 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
441 * ControlMinipage.[Ch]:
442 * ControlPreamble.[Ch]:
444 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
445 and Print popups and Splash screen, respectively.
447 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
451 * Makefile.am: associated changes.
453 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlConnections.[Ch]: (docType): new method; returns the type
456 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
459 * ControlSearch.[Ch]:
460 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
461 Search and TabularCreate popups, respectively.
464 * Makefile.am: associated changes.
466 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
468 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
471 * ControlInset.h (apply): fix bug. Can now create new insets again.
473 * README: describe program flow.
475 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
477 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
479 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
481 * ControlDialogs.h: moved class ControlInset into its own file.
483 * ControlInset.h: new file. class ControlInset has been expanded to take
484 two template parameters, Inset and Params. Believe that all inset
485 controllers can be derived from this with the minimum of effort.
487 * ControlBibitem.[Ch]:
488 * ControlBibtex.[Ch]:
489 * ControlCitation.[Ch]:
490 * ControlCommand.[Ch]: moved most code into ControlInset.
492 * lots of files. Moved protected stuff into private where possible.
495 * ControlInclude.[Ch]:
496 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
497 Include and Url popups, respectively.
500 * Makefile.am: associated changes.
502 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
507 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * ControlCredits.C (getCredits): remove std:: qualifier for
512 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
514 * ControlCredits.C (getCredits): add std:: on vector
516 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
518 * ControlCredits.C: remove using that is only used once, use
519 std::ios instead of std::iosbase, add some annoying comments.
521 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
523 * lots of header files: improved explanatory notes.
525 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
526 ControlBase is now a class that only controls the interaction of the
527 View with the ButtonController.
529 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
530 to ControlConnectBase. The class controls the connection/disconnection
531 of signals from the LyX kernel and makes available the kernel (through
532 lv_) to daughter controller classes.
533 Moved out class ControlConnectInset to a new file ControlDialogs.h.
535 * ControlDialogs.h: new file. Contains the definition of two template
536 controller classes, ControlDialog and ControlInset (was
537 ControlConnectInset). ControlInset is a parent class for controllers
538 of inset-popups. ControlDialogs is the rather uninspired name for
539 the base class of all non-inset popups. (Eg, Document and Paragraph.)
540 ControlDialogs is reaching a state of maturity as several popups now use
541 it and its functionality becomes clear. ControlInset is still in a state
542 of flux. It is likely that functionality will be moved out of
543 ControlCommands and into it.
545 * GUI.h: new file. Moved all the template GUIXXX classes out of the
546 individual Controller header files and into one place. These classes
547 serve only as convenient wrappers to simplify code in the respective
548 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
550 * ControlCharacter.[Ch] (show, update, hide):
551 * ControlLog.[Ch] (show, update, hide):
552 * ControlVCLog.[Ch] (show, update, hide): moved back into
553 the ControlDialogs base class.
554 (setParams, clearParams): new methods containing controller-specific
555 code to set/reset the parameters manipulated by the view.
557 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
559 (hide): calls clearParams.
561 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
562 by ControlCommand::hide().
564 * ControlCopyright.[Ch]:
565 * ControlCredits.[Ch]: new files; controllers for the copyright and
566 credits popups, respectively.
568 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
570 * ControlCharacter.C: fix typo
572 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
574 * ControlCharacter.[Ch]: new files; controller for the character popup.
576 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
577 moved to new files helper_funcs.[Ch].
579 * helper_funcs.[Ch]: new files. Some useful helper functions and
582 * Makefile.am: added new files.
584 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
586 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
588 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
591 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
592 Control log files, respectively.
594 * Makefile.am: added new files.
596 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
600 * Makefile.am: added ControlBibtex.[Ch].
602 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
605 * ControlCitation.C: added "using SigC::slot" declaration.
607 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
608 to FormCitation.C prior to the merger: "Do not put space between
611 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
613 * several files: remove CXX_WORKING_NAMESPACES
615 * ButtonController.h: noncopyable is in namespace boost
616 * ButtonPolicies.h: ditto
618 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
620 * Merging changes from BRANCH_MVC back into HEAD.
622 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
624 * Makefile.am: add ControlBibitem.[Ch].
626 * ControlBibitem.[Ch]: new files that together define the Controller
629 * ControlCommand.h (c-tor): give kb_action a default value of
632 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
634 * ControlCitation.[Ch]: moved search functions out of class.
635 (bibkeysInfo): new method. Returns const reference to private data.
636 (searchKeys): added case-sensitive switch. Used only by simpleSearch
639 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
641 * ControlCitation.[Ch]: added Search functions to the class,
642 (shamelessly lifted from Marco's gnome code). I think that these would
643 be better as helper functions outside the class, but this is a first
646 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
648 * ControlCitation.[Ch]: (getBibkeyList): removed from class
650 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
651 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
652 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
653 implementation of FormCitation.
655 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
657 * ButtonPolicies.h: add SMI_NOOP to enum.
659 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
661 * ButtonController.C (input): add "optimising" if-statement. Actually,
662 things don't work correctly without it...
664 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
666 * ViewBase.h: remove #pragma directive
668 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
671 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
673 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
675 * Makefile.am: added ButtonPolicies.[Ch]
677 * ButtonController.[Ch]: ButtonController is split into
678 ButtonControllerBase and a template ButtonController class. The base
679 class no longer stores a pointer to a ButtonPolicy, but instead
680 accesses the actual instantiation of the policy through a pure virtual
681 method bp(). This method and the ButtonPolicy itself are instantiated
682 in the templatised ButtonController class. This class is derived from
683 the GUI-specific GUIBC class, meaning that the frontends know
684 nothing about the actual policy decided upon by the controllers.
686 * ControlBase.[Ch]: No longer store the View or the ButtonController.
687 Instead the actual instantiations are accessed through pure virtual
688 methods view() and bc(). The daughter classes are responsible for the
689 actual View and ButtonController.
691 * ControlCitation.h: the templatised class GUICitation instantiates
692 the methods view() and bc(). It also stores the instances of the
693 View and ButtonController.
695 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
697 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
698 also changed to ButtonController.
701 * ControlConnections.[Ch]:
702 * ControlCommand.[Ch]:
703 * ControlCitation.[Ch]:
704 * ViewBase.h: Changes associated with this.
706 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
708 * ButtonControllerBase.[Ch]: new files. Split Allan's original
709 xforms/ButtonController class into a GUI-I class (here) and an
710 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
712 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
713 from which all Dialog Controllers should be derived. the Controllers
714 are GUI-independent, but are designed to control the behaviour of
715 GUI-specific implementaions of each dialog.
717 * ControlConnections.[Ch]: new files. Classes controlling the
718 connections of buffer-independent, buffer-dependent and Inset dialogs
721 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
722 InsetCommand subset of insets.
724 * ControlCitation.[Ch]: new files. The test specialisation! A
725 controller for the Citation dialog.
727 * ViewBase.h: new file. ViewBase is an abstract base class from which
728 GUI-specific dialogs should be derived. The functionality that the GUIs
729 must now implement is much reduced.