1 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
3 * GUI.h: Button controller for Reference dialog changed to
4 NoRepeatedApplyReadOnlyPolicy.
6 * biblio.C (getInfo): output volume and number info. Move year to end
9 2001-08-09 Allan Rae <rae@lyx.org>
11 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
13 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
15 * helper_funcs.C (getVectorFromString): fixed small bug.
17 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
19 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
21 * ControlSpellchecker.C: check next word after insert in personal dict
23 2001-08-06 Juergen Vigna <jug@sad.it>
25 * ControlERT.[Ch]: new file
27 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
29 * ControlInset.h: const and non-const forms of params().
31 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
32 whitespace from either side of each item.
34 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
36 * ControlFloat.h: add a != operator for FloatParams.
37 Lars, how did you get this to compile!!!
39 * ControlMinipage.[Ch]: uncommented someone's commenting out of
40 operator != for MinipageParams. Who's changing stuff and not compiling?
42 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
44 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
47 * GUI.h: add class GUIFloat
49 * ControlFloat.[Ch]: new files
51 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * ControlPrint.C: #include Lassert.h here.
55 2001-07-26 Baruch Even <baruch@lyx.org>
57 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
60 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
65 * Makefile.am: thesaurus support
67 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
70 * ControlInclude.C: implement ability to load file
72 2001-07-18 Juergen Vigna <jug@sad.it>
74 * ControlSearch.C (replace): changes to lyxfind.h function calls.
76 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
78 * biblio.C (getInfo): add a .c_str() to handle the usual
81 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
83 * ControlCitation.[Ch]: changes associated with adding natbib support.
84 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
85 New static variable citeStyles_.
87 * biblio.[Ch]: large internal rearrangement.
88 New public enum CiteStyle.
89 New public struct CitationStyle.
90 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
91 getNumericalStrings, getAuthorYearStrings
92 (simpleSearch, regexSearch): no longer publicly accessible.
94 * helper_funcs.C (getStringFromVector): bug fix.
96 2001-07-16 Baruch Even <baruch@lyx.org>
98 * ControlVCLog.h: Added Lsstream.h to includes.
100 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
102 * ControlSpellchecker.[Ch]: remove d-tor.
104 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
106 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
108 2001-07-16 Juergen Vigna <jug@sad.it>
110 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
111 compiled with USE_PSPELL) to be able to switch between ISpell and
114 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
116 Consistent use of Lsstream.h:
117 * ControlAboutlyx.[Ch] (getCredits):
118 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
120 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
122 * ControlCredits.[Ch]: removed
123 * ControlCopyright.[Ch]: removed
124 * ControlAboutlyx.[Ch]: added (replaces previous)
125 * GUI.h: removed credits and copyright added about lyx stuff
127 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * ControlSpellchecker.C (getSuggestion):
130 (getWord): add std:: qualifier
132 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
134 * ControlSpellchecker.[Ch]: added
135 * ViewBase.h: added partialUpdate(int) member
136 * GUI.h: added spell stuff
138 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
140 * ControlExternal.C: (*it). -> it->
142 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
144 * ButtonController.h: move some included header files out of the
145 frontends and into here.
147 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
149 * ControlCharacter.C (c-tor): cosmetic name change of signal.
151 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
153 * *.[h]: added // -*- C++ -*-
154 * *.[C]: removed // -*- C++ -*-
156 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
157 activate Apply button.
158 (clearParams): removed.
159 font_ is now stored as a boost::scoped_ptr.
160 font_ is no longer deleted on hide(), so it's contents can now be used
161 by the Font button on the toolbar.
162 Lots of new methods so that the GUI can easily get the contents of
163 font_ when it update()s.
165 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
168 crash when the Font button on the Toolbar is pressed.
170 * GUI.h: change policy of Character button controller to
171 OkApplyCancelReadOnlyPolicy.
173 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * ControlToc.C (getContents): don't add anything to the list if it
176 is supposed to be empty.
178 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
180 * helper_funcs.C (getVectorFromString): bug fix.
182 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
185 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
186 from ButtonControllerBase::readOnly. Updates the state of the widgets
187 in the read-only list only when the read-only status of the document
189 (refresh): moved this stuff into refreshReadOnly.
191 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
193 * ControlPrint.C (c-tor):
194 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
196 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
199 * character.h: small clean-ups.
201 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * ControlToc.C (getType): remove support for old float list.
205 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
208 * ControlGraphics.h: no longer include insetgraphicsParams.h
209 * ControlInset.h: no longer include LyXView.h
214 * ControlCharacter.C:
217 * ControlConnections.C:
218 * ControlCopyright.C:
230 * ControlTabularCreate.C:
232 * ControlVCLog.C: they're now in here!
234 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * ButtonControllerBase.h: C++ mode, inherit privately from
238 * ButtonPolicies.h: ditto
240 * ButtonController.h: C++ mode, swap init order of restore_ and
243 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
245 * ControlTabularCreate.h:
246 * ControlTabularCreate.C: make dialogs use a pair of uints
250 * ControlVCLog.C: fill a stringstream with the log contents
253 * ControlExternal.C: from Angus, clone the new InsetExternal
256 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
258 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
259 and made more robust.
261 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
270 * ControlCopyright.C: include gettext.h
272 * ControlCharacter.C:
273 * character.C: include gettext.h and language.h
275 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
277 * ButtonController.h:
278 * ButtonControllerBase.h:
279 * ButtonControllerBase.C:
286 * ControlConnections.h:
292 * ViewBase.h: s/ControlButton/ControlButtons/
294 s/UndoAll/Restore/ + associated
296 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
298 * ControlToc.[Ch]: new files; a controller for the TOC popup.
301 * Makefile.am: associated changes with all of the above.
303 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
305 * ControlExternal.C: bug fixes. Can now apply changes to the inset
306 and edit, view, update the External Material correctly. I hope!
308 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
310 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
312 * BCTemplates.h: renamed as ButtonController.h
314 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
317 * ControlConnections.h: associated change in #include and class names.
319 * ControlExternal.[Ch]: new files; a controller for the External
323 * Makefile.am: associated changes with all of the above.
325 * ControlGraphics.[Ch]:
326 * ControlInclude.[Ch]:
329 (Browse): new method. Returns the results of a FileDialog browse.
331 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
332 (getVectorFromString): fixed bug.
334 * biblio.C (simpleSearch): cleaned up.
336 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
338 * A slight reworking of Baruch Even's ButtonController patch.
340 * BCTemplates.h: new file; all the templates for the ButtonController.
341 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
342 to the more generic setButtonLabel().
344 * ButtonController.[Ch]: renamed cancel_label and close_label as
345 cancel_label_ and close_label_.
347 * Makefile.am: added BCTemplates.h
349 2001-03-29 Juergen Vigna <jug@sad.it>
351 * ControlMinipage.C: removed widthp_ and all it's functions and changed
352 to use new %-lengths of LyXLength.
354 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
356 * ControlCitation.C (bibkeysInfo): removed Assert.
358 * ControlCopyright.h: moved GUICopyright into GUI.h
362 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
365 (setDaughterParams): a (by default empty) new method called in show().
374 * ControlUrl.h (clearDaughterParams): removed
376 * ControlMinipage.C (applyParamsToInset): update the view.
377 Added namespace minipage containing a helper function getUnits.
379 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
381 * ControlCharacter.[Ch]: moved out all the helper functions and the
382 enum into their own file.
383 * character.[Ch]: new files; contain the character helper functions,
384 now inside namespace character.
386 * ControlCitation.[Ch]: moved out all the helper functions and the
387 enums into their own file. Simplified interface.
388 * biblio.[Ch]: new files; contain the citation helper functions,
389 now inside namespace biblio. Will be of use also to an improved
392 * ControlGraphics.[Ch]:
393 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
394 popups, respectively.
397 * Makefile.am: associated changes.
399 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
401 * ControlMinipage.[Ch]:
402 * ControlPreamble.[Ch]:
404 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
405 and Print popups and Splash screen, respectively.
407 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
411 * Makefile.am: associated changes.
413 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlConnections.[Ch]: (docType): new method; returns the type
416 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
419 * ControlSearch.[Ch]:
420 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
421 Search and TabularCreate popups, respectively.
424 * Makefile.am: associated changes.
426 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
428 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
431 * ControlInset.h (apply): fix bug. Can now create new insets again.
433 * README: describe program flow.
435 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
437 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
439 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
441 * ControlDialogs.h: moved class ControlInset into its own file.
443 * ControlInset.h: new file. class ControlInset has been expanded to take
444 two template parameters, Inset and Params. Believe that all inset
445 controllers can be derived from this with the minimum of effort.
447 * ControlBibitem.[Ch]:
448 * ControlBibtex.[Ch]:
449 * ControlCitation.[Ch]:
450 * ControlCommand.[Ch]: moved most code into ControlInset.
452 * lots of files. Moved protected stuff into private where possible.
455 * ControlInclude.[Ch]:
456 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
457 Include and Url popups, respectively.
460 * Makefile.am: associated changes.
462 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
464 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
467 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * ControlCredits.C (getCredits): remove std:: qualifier for
472 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
474 * ControlCredits.C (getCredits): add std:: on vector
476 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
478 * ControlCredits.C: remove using that is only used once, use
479 std::ios instead of std::iosbase, add some annoying comments.
481 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
483 * lots of header files: improved explanatory notes.
485 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
486 ControlBase is now a class that only controls the interaction of the
487 View with the ButtonController.
489 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
490 to ControlConnectBase. The class controls the connection/disconnection
491 of signals from the LyX kernel and makes available the kernel (through
492 lv_) to daughter controller classes.
493 Moved out class ControlConnectInset to a new file ControlDialogs.h.
495 * ControlDialogs.h: new file. Contains the definition of two template
496 controller classes, ControlDialog and ControlInset (was
497 ControlConnectInset). ControlInset is a parent class for controllers
498 of inset-popups. ControlDialogs is the rather uninspired name for
499 the base class of all non-inset popups. (Eg, Document and Paragraph.)
500 ControlDialogs is reaching a state of maturity as several popups now use
501 it and its functionality becomes clear. ControlInset is still in a state
502 of flux. It is likely that functionality will be moved out of
503 ControlCommands and into it.
505 * GUI.h: new file. Moved all the template GUIXXX classes out of the
506 individual Controller header files and into one place. These classes
507 serve only as convenient wrappers to simplify code in the respective
508 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
510 * ControlCharacter.[Ch] (show, update, hide):
511 * ControlLog.[Ch] (show, update, hide):
512 * ControlVCLog.[Ch] (show, update, hide): moved back into
513 the ControlDialogs base class.
514 (setParams, clearParams): new methods containing controller-specific
515 code to set/reset the parameters manipulated by the view.
517 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
519 (hide): calls clearParams.
521 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
522 by ControlCommand::hide().
524 * ControlCopyright.[Ch]:
525 * ControlCredits.[Ch]: new files; controllers for the copyright and
526 credits popups, respectively.
528 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
530 * ControlCharacter.C: fix typo
532 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
534 * ControlCharacter.[Ch]: new files; controller for the character popup.
536 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
537 moved to new files helper_funcs.[Ch].
539 * helper_funcs.[Ch]: new files. Some useful helper functions and
542 * Makefile.am: added new files.
544 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
546 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
548 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
552 Control log files, respectively.
554 * Makefile.am: added new files.
556 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
558 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
560 * Makefile.am: added ControlBibtex.[Ch].
562 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
565 * ControlCitation.C: added "using SigC::slot" declaration.
567 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
568 to FormCitation.C prior to the merger: "Do not put space between
571 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
573 * several files: remove CXX_WORKING_NAMESPACES
575 * ButtonController.h: noncopyable is in namespace boost
576 * ButtonPolicies.h: ditto
578 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
580 * Merging changes from BRANCH_MVC back into HEAD.
582 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
584 * Makefile.am: add ControlBibitem.[Ch].
586 * ControlBibitem.[Ch]: new files that together define the Controller
589 * ControlCommand.h (c-tor): give kb_action a default value of
592 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
594 * ControlCitation.[Ch]: moved search functions out of class.
595 (bibkeysInfo): new method. Returns const reference to private data.
596 (searchKeys): added case-sensitive switch. Used only by simpleSearch
599 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
601 * ControlCitation.[Ch]: added Search functions to the class,
602 (shamelessly lifted from Marco's gnome code). I think that these would
603 be better as helper functions outside the class, but this is a first
606 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
608 * ControlCitation.[Ch]: (getBibkeyList): removed from class
610 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
611 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
612 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
613 implementation of FormCitation.
615 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
617 * ButtonPolicies.h: add SMI_NOOP to enum.
619 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
621 * ButtonController.C (input): add "optimising" if-statement. Actually,
622 things don't work correctly without it...
624 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
626 * ViewBase.h: remove #pragma directive
628 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
631 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
633 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
635 * Makefile.am: added ButtonPolicies.[Ch]
637 * ButtonController.[Ch]: ButtonController is split into
638 ButtonControllerBase and a template ButtonController class. The base
639 class no longer stores a pointer to a ButtonPolicy, but instead
640 accesses the actual instantiation of the policy through a pure virtual
641 method bp(). This method and the ButtonPolicy itself are instantiated
642 in the templatised ButtonController class. This class is derived from
643 the GUI-specific GUIBC class, meaning that the frontends know
644 nothing about the actual policy decided upon by the controllers.
646 * ControlBase.[Ch]: No longer store the View or the ButtonController.
647 Instead the actual instantiations are accessed through pure virtual
648 methods view() and bc(). The daughter classes are responsible for the
649 actual View and ButtonController.
651 * ControlCitation.h: the templatised class GUICitation instantiates
652 the methods view() and bc(). It also stores the instances of the
653 View and ButtonController.
655 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
657 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
658 also changed to ButtonController.
661 * ControlConnections.[Ch]:
662 * ControlCommand.[Ch]:
663 * ControlCitation.[Ch]:
664 * ViewBase.h: Changes associated with this.
666 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
668 * ButtonControllerBase.[Ch]: new files. Split Allan's original
669 xforms/ButtonController class into a GUI-I class (here) and an
670 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
672 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
673 from which all Dialog Controllers should be derived. the Controllers
674 are GUI-independent, but are designed to control the behaviour of
675 GUI-specific implementaions of each dialog.
677 * ControlConnections.[Ch]: new files. Classes controlling the
678 connections of buffer-independent, buffer-dependent and Inset dialogs
681 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
682 InsetCommand subset of insets.
684 * ControlCitation.[Ch]: new files. The test specialisation! A
685 controller for the Citation dialog.
687 * ViewBase.h: new file. ViewBase is an abstract base class from which
688 GUI-specific dialogs should be derived. The functionality that the GUIs
689 must now implement is much reduced.