1 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlInset.h (apply): tentative fix for the press Apply multiple
4 times and get multiple new Insets problem.
6 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
8 * ControlCharacter.C: fix typo
12 * ControlInsets.C: make sure dialog is built before it is shown, so
13 it works properly the very first time it is shown
15 2001-08-20 Herbert Voss <voss@perce.de>
17 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
18 and styles. Added an option for "bibliography into toc"
20 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
22 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
23 LaTeX is no longer a font property.
25 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
27 * GUI.h: Button controller for Reference dialog changed to
28 NoRepeatedApplyReadOnlyPolicy.
30 * biblio.C (getInfo): output volume and number info. Move year to end
33 2001-08-09 Allan Rae <rae@lyx.org>
35 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
37 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
39 * helper_funcs.C (getVectorFromString): fixed small bug.
41 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
43 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
45 * ControlSpellchecker.C: check next word after insert in personal dict
47 2001-08-06 Juergen Vigna <jug@sad.it>
49 * ControlERT.[Ch]: new file
51 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
53 * ControlInset.h: const and non-const forms of params().
55 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
56 whitespace from either side of each item.
58 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
60 * ControlFloat.h: add a != operator for FloatParams.
61 Lars, how did you get this to compile!!!
63 * ControlMinipage.[Ch]: uncommented someone's commenting out of
64 operator != for MinipageParams. Who's changing stuff and not compiling?
66 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
71 * GUI.h: add class GUIFloat
73 * ControlFloat.[Ch]: new files
75 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
77 * ControlPrint.C: #include Lassert.h here.
79 2001-07-26 Baruch Even <baruch@lyx.org>
81 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
84 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
89 * Makefile.am: thesaurus support
91 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
94 * ControlInclude.C: implement ability to load file
96 2001-07-18 Juergen Vigna <jug@sad.it>
98 * ControlSearch.C (replace): changes to lyxfind.h function calls.
100 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
102 * biblio.C (getInfo): add a .c_str() to handle the usual
105 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
107 * ControlCitation.[Ch]: changes associated with adding natbib support.
108 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
109 New static variable citeStyles_.
111 * biblio.[Ch]: large internal rearrangement.
112 New public enum CiteStyle.
113 New public struct CitationStyle.
114 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
115 getNumericalStrings, getAuthorYearStrings
116 (simpleSearch, regexSearch): no longer publicly accessible.
118 * helper_funcs.C (getStringFromVector): bug fix.
120 2001-07-16 Baruch Even <baruch@lyx.org>
122 * ControlVCLog.h: Added Lsstream.h to includes.
124 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlSpellchecker.[Ch]: remove d-tor.
128 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
130 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
132 2001-07-16 Juergen Vigna <jug@sad.it>
134 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
135 compiled with USE_PSPELL) to be able to switch between ISpell and
138 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
140 Consistent use of Lsstream.h:
141 * ControlAboutlyx.[Ch] (getCredits):
142 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
144 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
146 * ControlCredits.[Ch]: removed
147 * ControlCopyright.[Ch]: removed
148 * ControlAboutlyx.[Ch]: added (replaces previous)
149 * GUI.h: removed credits and copyright added about lyx stuff
151 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
153 * ControlSpellchecker.C (getSuggestion):
154 (getWord): add std:: qualifier
156 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
158 * ControlSpellchecker.[Ch]: added
159 * ViewBase.h: added partialUpdate(int) member
160 * GUI.h: added spell stuff
162 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
164 * ControlExternal.C: (*it). -> it->
166 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
168 * ButtonController.h: move some included header files out of the
169 frontends and into here.
171 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlCharacter.C (c-tor): cosmetic name change of signal.
175 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
177 * *.[h]: added // -*- C++ -*-
178 * *.[C]: removed // -*- C++ -*-
180 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
181 activate Apply button.
182 (clearParams): removed.
183 font_ is now stored as a boost::scoped_ptr.
184 font_ is no longer deleted on hide(), so it's contents can now be used
185 by the Font button on the toolbar.
186 Lots of new methods so that the GUI can easily get the contents of
187 font_ when it update()s.
189 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
191 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
192 crash when the Font button on the Toolbar is pressed.
194 * GUI.h: change policy of Character button controller to
195 OkApplyCancelReadOnlyPolicy.
197 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
199 * ControlToc.C (getContents): don't add anything to the list if it
200 is supposed to be empty.
202 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
204 * helper_funcs.C (getVectorFromString): bug fix.
206 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
209 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
210 from ButtonControllerBase::readOnly. Updates the state of the widgets
211 in the read-only list only when the read-only status of the document
213 (refresh): moved this stuff into refreshReadOnly.
215 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlPrint.C (c-tor):
218 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
220 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
223 * character.h: small clean-ups.
225 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * ControlToc.C (getType): remove support for old float list.
229 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
231 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
232 * ControlGraphics.h: no longer include insetgraphicsParams.h
233 * ControlInset.h: no longer include LyXView.h
238 * ControlCharacter.C:
241 * ControlConnections.C:
242 * ControlCopyright.C:
254 * ControlTabularCreate.C:
256 * ControlVCLog.C: they're now in here!
258 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
260 * ButtonControllerBase.h: C++ mode, inherit privately from
262 * ButtonPolicies.h: ditto
264 * ButtonController.h: C++ mode, swap init order of restore_ and
267 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
269 * ControlTabularCreate.h:
270 * ControlTabularCreate.C: make dialogs use a pair of uints
274 * ControlVCLog.C: fill a stringstream with the log contents
277 * ControlExternal.C: from Angus, clone the new InsetExternal
280 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
282 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
283 and made more robust.
285 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
294 * ControlCopyright.C: include gettext.h
296 * ControlCharacter.C:
297 * character.C: include gettext.h and language.h
299 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
301 * ButtonController.h:
302 * ButtonControllerBase.h:
303 * ButtonControllerBase.C:
310 * ControlConnections.h:
316 * ViewBase.h: s/ControlButton/ControlButtons/
318 s/UndoAll/Restore/ + associated
320 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
322 * ControlToc.[Ch]: new files; a controller for the TOC popup.
325 * Makefile.am: associated changes with all of the above.
327 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlExternal.C: bug fixes. Can now apply changes to the inset
330 and edit, view, update the External Material correctly. I hope!
332 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
334 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
336 * BCTemplates.h: renamed as ButtonController.h
338 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
341 * ControlConnections.h: associated change in #include and class names.
343 * ControlExternal.[Ch]: new files; a controller for the External
347 * Makefile.am: associated changes with all of the above.
349 * ControlGraphics.[Ch]:
350 * ControlInclude.[Ch]:
353 (Browse): new method. Returns the results of a FileDialog browse.
355 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
356 (getVectorFromString): fixed bug.
358 * biblio.C (simpleSearch): cleaned up.
360 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
362 * A slight reworking of Baruch Even's ButtonController patch.
364 * BCTemplates.h: new file; all the templates for the ButtonController.
365 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
366 to the more generic setButtonLabel().
368 * ButtonController.[Ch]: renamed cancel_label and close_label as
369 cancel_label_ and close_label_.
371 * Makefile.am: added BCTemplates.h
373 2001-03-29 Juergen Vigna <jug@sad.it>
375 * ControlMinipage.C: removed widthp_ and all it's functions and changed
376 to use new %-lengths of LyXLength.
378 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlCitation.C (bibkeysInfo): removed Assert.
382 * ControlCopyright.h: moved GUICopyright into GUI.h
386 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
388 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
389 (setDaughterParams): a (by default empty) new method called in show().
398 * ControlUrl.h (clearDaughterParams): removed
400 * ControlMinipage.C (applyParamsToInset): update the view.
401 Added namespace minipage containing a helper function getUnits.
403 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
405 * ControlCharacter.[Ch]: moved out all the helper functions and the
406 enum into their own file.
407 * character.[Ch]: new files; contain the character helper functions,
408 now inside namespace character.
410 * ControlCitation.[Ch]: moved out all the helper functions and the
411 enums into their own file. Simplified interface.
412 * biblio.[Ch]: new files; contain the citation helper functions,
413 now inside namespace biblio. Will be of use also to an improved
416 * ControlGraphics.[Ch]:
417 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
418 popups, respectively.
421 * Makefile.am: associated changes.
423 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
425 * ControlMinipage.[Ch]:
426 * ControlPreamble.[Ch]:
428 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
429 and Print popups and Splash screen, respectively.
431 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
435 * Makefile.am: associated changes.
437 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlConnections.[Ch]: (docType): new method; returns the type
440 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
443 * ControlSearch.[Ch]:
444 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
445 Search and TabularCreate popups, respectively.
448 * Makefile.am: associated changes.
450 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
452 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
455 * ControlInset.h (apply): fix bug. Can now create new insets again.
457 * README: describe program flow.
459 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
461 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
463 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
465 * ControlDialogs.h: moved class ControlInset into its own file.
467 * ControlInset.h: new file. class ControlInset has been expanded to take
468 two template parameters, Inset and Params. Believe that all inset
469 controllers can be derived from this with the minimum of effort.
471 * ControlBibitem.[Ch]:
472 * ControlBibtex.[Ch]:
473 * ControlCitation.[Ch]:
474 * ControlCommand.[Ch]: moved most code into ControlInset.
476 * lots of files. Moved protected stuff into private where possible.
479 * ControlInclude.[Ch]:
480 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
481 Include and Url popups, respectively.
484 * Makefile.am: associated changes.
486 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
491 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
493 * ControlCredits.C (getCredits): remove std:: qualifier for
496 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
498 * ControlCredits.C (getCredits): add std:: on vector
500 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
502 * ControlCredits.C: remove using that is only used once, use
503 std::ios instead of std::iosbase, add some annoying comments.
505 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
507 * lots of header files: improved explanatory notes.
509 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
510 ControlBase is now a class that only controls the interaction of the
511 View with the ButtonController.
513 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
514 to ControlConnectBase. The class controls the connection/disconnection
515 of signals from the LyX kernel and makes available the kernel (through
516 lv_) to daughter controller classes.
517 Moved out class ControlConnectInset to a new file ControlDialogs.h.
519 * ControlDialogs.h: new file. Contains the definition of two template
520 controller classes, ControlDialog and ControlInset (was
521 ControlConnectInset). ControlInset is a parent class for controllers
522 of inset-popups. ControlDialogs is the rather uninspired name for
523 the base class of all non-inset popups. (Eg, Document and Paragraph.)
524 ControlDialogs is reaching a state of maturity as several popups now use
525 it and its functionality becomes clear. ControlInset is still in a state
526 of flux. It is likely that functionality will be moved out of
527 ControlCommands and into it.
529 * GUI.h: new file. Moved all the template GUIXXX classes out of the
530 individual Controller header files and into one place. These classes
531 serve only as convenient wrappers to simplify code in the respective
532 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
534 * ControlCharacter.[Ch] (show, update, hide):
535 * ControlLog.[Ch] (show, update, hide):
536 * ControlVCLog.[Ch] (show, update, hide): moved back into
537 the ControlDialogs base class.
538 (setParams, clearParams): new methods containing controller-specific
539 code to set/reset the parameters manipulated by the view.
541 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
543 (hide): calls clearParams.
545 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
546 by ControlCommand::hide().
548 * ControlCopyright.[Ch]:
549 * ControlCredits.[Ch]: new files; controllers for the copyright and
550 credits popups, respectively.
552 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
554 * ControlCharacter.C: fix typo
556 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
558 * ControlCharacter.[Ch]: new files; controller for the character popup.
560 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
561 moved to new files helper_funcs.[Ch].
563 * helper_funcs.[Ch]: new files. Some useful helper functions and
566 * Makefile.am: added new files.
568 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
570 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
572 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
576 Control log files, respectively.
578 * Makefile.am: added new files.
580 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
584 * Makefile.am: added ControlBibtex.[Ch].
586 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlCitation.C: added "using SigC::slot" declaration.
591 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
592 to FormCitation.C prior to the merger: "Do not put space between
595 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
597 * several files: remove CXX_WORKING_NAMESPACES
599 * ButtonController.h: noncopyable is in namespace boost
600 * ButtonPolicies.h: ditto
602 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
604 * Merging changes from BRANCH_MVC back into HEAD.
606 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
608 * Makefile.am: add ControlBibitem.[Ch].
610 * ControlBibitem.[Ch]: new files that together define the Controller
613 * ControlCommand.h (c-tor): give kb_action a default value of
616 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
618 * ControlCitation.[Ch]: moved search functions out of class.
619 (bibkeysInfo): new method. Returns const reference to private data.
620 (searchKeys): added case-sensitive switch. Used only by simpleSearch
623 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
625 * ControlCitation.[Ch]: added Search functions to the class,
626 (shamelessly lifted from Marco's gnome code). I think that these would
627 be better as helper functions outside the class, but this is a first
630 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
632 * ControlCitation.[Ch]: (getBibkeyList): removed from class
634 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
635 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
636 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
637 implementation of FormCitation.
639 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
641 * ButtonPolicies.h: add SMI_NOOP to enum.
643 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
645 * ButtonController.C (input): add "optimising" if-statement. Actually,
646 things don't work correctly without it...
648 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
650 * ViewBase.h: remove #pragma directive
652 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
655 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
657 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
659 * Makefile.am: added ButtonPolicies.[Ch]
661 * ButtonController.[Ch]: ButtonController is split into
662 ButtonControllerBase and a template ButtonController class. The base
663 class no longer stores a pointer to a ButtonPolicy, but instead
664 accesses the actual instantiation of the policy through a pure virtual
665 method bp(). This method and the ButtonPolicy itself are instantiated
666 in the templatised ButtonController class. This class is derived from
667 the GUI-specific GUIBC class, meaning that the frontends know
668 nothing about the actual policy decided upon by the controllers.
670 * ControlBase.[Ch]: No longer store the View or the ButtonController.
671 Instead the actual instantiations are accessed through pure virtual
672 methods view() and bc(). The daughter classes are responsible for the
673 actual View and ButtonController.
675 * ControlCitation.h: the templatised class GUICitation instantiates
676 the methods view() and bc(). It also stores the instances of the
677 View and ButtonController.
679 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
681 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
682 also changed to ButtonController.
685 * ControlConnections.[Ch]:
686 * ControlCommand.[Ch]:
687 * ControlCitation.[Ch]:
688 * ViewBase.h: Changes associated with this.
690 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
692 * ButtonControllerBase.[Ch]: new files. Split Allan's original
693 xforms/ButtonController class into a GUI-I class (here) and an
694 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
696 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
697 from which all Dialog Controllers should be derived. the Controllers
698 are GUI-independent, but are designed to control the behaviour of
699 GUI-specific implementaions of each dialog.
701 * ControlConnections.[Ch]: new files. Classes controlling the
702 connections of buffer-independent, buffer-dependent and Inset dialogs
705 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
706 InsetCommand subset of insets.
708 * ControlCitation.[Ch]: new files. The test specialisation! A
709 controller for the Citation dialog.
711 * ViewBase.h: new file. ViewBase is an abstract base class from which
712 GUI-specific dialogs should be derived. The functionality that the GUIs
713 must now implement is much reduced.