1 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
3 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
4 LaTeX is no longer a font property.
6 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
8 * GUI.h: Button controller for Reference dialog changed to
9 NoRepeatedApplyReadOnlyPolicy.
11 * biblio.C (getInfo): output volume and number info. Move year to end
14 2001-08-09 Allan Rae <rae@lyx.org>
16 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
18 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
20 * helper_funcs.C (getVectorFromString): fixed small bug.
22 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
24 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
26 * ControlSpellchecker.C: check next word after insert in personal dict
28 2001-08-06 Juergen Vigna <jug@sad.it>
30 * ControlERT.[Ch]: new file
32 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
34 * ControlInset.h: const and non-const forms of params().
36 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
37 whitespace from either side of each item.
39 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
41 * ControlFloat.h: add a != operator for FloatParams.
42 Lars, how did you get this to compile!!!
44 * ControlMinipage.[Ch]: uncommented someone's commenting out of
45 operator != for MinipageParams. Who's changing stuff and not compiling?
47 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
52 * GUI.h: add class GUIFloat
54 * ControlFloat.[Ch]: new files
56 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * ControlPrint.C: #include Lassert.h here.
60 2001-07-26 Baruch Even <baruch@lyx.org>
62 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
65 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
70 * Makefile.am: thesaurus support
72 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
75 * ControlInclude.C: implement ability to load file
77 2001-07-18 Juergen Vigna <jug@sad.it>
79 * ControlSearch.C (replace): changes to lyxfind.h function calls.
81 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
83 * biblio.C (getInfo): add a .c_str() to handle the usual
86 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
88 * ControlCitation.[Ch]: changes associated with adding natbib support.
89 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
90 New static variable citeStyles_.
92 * biblio.[Ch]: large internal rearrangement.
93 New public enum CiteStyle.
94 New public struct CitationStyle.
95 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
96 getNumericalStrings, getAuthorYearStrings
97 (simpleSearch, regexSearch): no longer publicly accessible.
99 * helper_funcs.C (getStringFromVector): bug fix.
101 2001-07-16 Baruch Even <baruch@lyx.org>
103 * ControlVCLog.h: Added Lsstream.h to includes.
105 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
107 * ControlSpellchecker.[Ch]: remove d-tor.
109 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
111 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
113 2001-07-16 Juergen Vigna <jug@sad.it>
115 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
116 compiled with USE_PSPELL) to be able to switch between ISpell and
119 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
121 Consistent use of Lsstream.h:
122 * ControlAboutlyx.[Ch] (getCredits):
123 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
125 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
127 * ControlCredits.[Ch]: removed
128 * ControlCopyright.[Ch]: removed
129 * ControlAboutlyx.[Ch]: added (replaces previous)
130 * GUI.h: removed credits and copyright added about lyx stuff
132 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
134 * ControlSpellchecker.C (getSuggestion):
135 (getWord): add std:: qualifier
137 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
139 * ControlSpellchecker.[Ch]: added
140 * ViewBase.h: added partialUpdate(int) member
141 * GUI.h: added spell stuff
143 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * ControlExternal.C: (*it). -> it->
147 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
149 * ButtonController.h: move some included header files out of the
150 frontends and into here.
152 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
154 * ControlCharacter.C (c-tor): cosmetic name change of signal.
156 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
158 * *.[h]: added // -*- C++ -*-
159 * *.[C]: removed // -*- C++ -*-
161 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
162 activate Apply button.
163 (clearParams): removed.
164 font_ is now stored as a boost::scoped_ptr.
165 font_ is no longer deleted on hide(), so it's contents can now be used
166 by the Font button on the toolbar.
167 Lots of new methods so that the GUI can easily get the contents of
168 font_ when it update()s.
170 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
172 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
173 crash when the Font button on the Toolbar is pressed.
175 * GUI.h: change policy of Character button controller to
176 OkApplyCancelReadOnlyPolicy.
178 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * ControlToc.C (getContents): don't add anything to the list if it
181 is supposed to be empty.
183 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
185 * helper_funcs.C (getVectorFromString): bug fix.
187 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
190 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
191 from ButtonControllerBase::readOnly. Updates the state of the widgets
192 in the read-only list only when the read-only status of the document
194 (refresh): moved this stuff into refreshReadOnly.
196 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
198 * ControlPrint.C (c-tor):
199 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
201 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
204 * character.h: small clean-ups.
206 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
208 * ControlToc.C (getType): remove support for old float list.
210 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
212 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
213 * ControlGraphics.h: no longer include insetgraphicsParams.h
214 * ControlInset.h: no longer include LyXView.h
219 * ControlCharacter.C:
222 * ControlConnections.C:
223 * ControlCopyright.C:
235 * ControlTabularCreate.C:
237 * ControlVCLog.C: they're now in here!
239 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * ButtonControllerBase.h: C++ mode, inherit privately from
243 * ButtonPolicies.h: ditto
245 * ButtonController.h: C++ mode, swap init order of restore_ and
248 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
250 * ControlTabularCreate.h:
251 * ControlTabularCreate.C: make dialogs use a pair of uints
255 * ControlVCLog.C: fill a stringstream with the log contents
258 * ControlExternal.C: from Angus, clone the new InsetExternal
261 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
263 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
264 and made more robust.
266 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
275 * ControlCopyright.C: include gettext.h
277 * ControlCharacter.C:
278 * character.C: include gettext.h and language.h
280 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
282 * ButtonController.h:
283 * ButtonControllerBase.h:
284 * ButtonControllerBase.C:
291 * ControlConnections.h:
297 * ViewBase.h: s/ControlButton/ControlButtons/
299 s/UndoAll/Restore/ + associated
301 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlToc.[Ch]: new files; a controller for the TOC popup.
306 * Makefile.am: associated changes with all of the above.
308 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlExternal.C: bug fixes. Can now apply changes to the inset
311 and edit, view, update the External Material correctly. I hope!
313 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
315 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
317 * BCTemplates.h: renamed as ButtonController.h
319 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
322 * ControlConnections.h: associated change in #include and class names.
324 * ControlExternal.[Ch]: new files; a controller for the External
328 * Makefile.am: associated changes with all of the above.
330 * ControlGraphics.[Ch]:
331 * ControlInclude.[Ch]:
334 (Browse): new method. Returns the results of a FileDialog browse.
336 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
337 (getVectorFromString): fixed bug.
339 * biblio.C (simpleSearch): cleaned up.
341 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
343 * A slight reworking of Baruch Even's ButtonController patch.
345 * BCTemplates.h: new file; all the templates for the ButtonController.
346 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
347 to the more generic setButtonLabel().
349 * ButtonController.[Ch]: renamed cancel_label and close_label as
350 cancel_label_ and close_label_.
352 * Makefile.am: added BCTemplates.h
354 2001-03-29 Juergen Vigna <jug@sad.it>
356 * ControlMinipage.C: removed widthp_ and all it's functions and changed
357 to use new %-lengths of LyXLength.
359 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlCitation.C (bibkeysInfo): removed Assert.
363 * ControlCopyright.h: moved GUICopyright into GUI.h
367 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
370 (setDaughterParams): a (by default empty) new method called in show().
379 * ControlUrl.h (clearDaughterParams): removed
381 * ControlMinipage.C (applyParamsToInset): update the view.
382 Added namespace minipage containing a helper function getUnits.
384 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
386 * ControlCharacter.[Ch]: moved out all the helper functions and the
387 enum into their own file.
388 * character.[Ch]: new files; contain the character helper functions,
389 now inside namespace character.
391 * ControlCitation.[Ch]: moved out all the helper functions and the
392 enums into their own file. Simplified interface.
393 * biblio.[Ch]: new files; contain the citation helper functions,
394 now inside namespace biblio. Will be of use also to an improved
397 * ControlGraphics.[Ch]:
398 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
399 popups, respectively.
402 * Makefile.am: associated changes.
404 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
406 * ControlMinipage.[Ch]:
407 * ControlPreamble.[Ch]:
409 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
410 and Print popups and Splash screen, respectively.
412 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
416 * Makefile.am: associated changes.
418 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlConnections.[Ch]: (docType): new method; returns the type
421 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
424 * ControlSearch.[Ch]:
425 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
426 Search and TabularCreate popups, respectively.
429 * Makefile.am: associated changes.
431 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
433 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
436 * ControlInset.h (apply): fix bug. Can now create new insets again.
438 * README: describe program flow.
440 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
442 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
444 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
446 * ControlDialogs.h: moved class ControlInset into its own file.
448 * ControlInset.h: new file. class ControlInset has been expanded to take
449 two template parameters, Inset and Params. Believe that all inset
450 controllers can be derived from this with the minimum of effort.
452 * ControlBibitem.[Ch]:
453 * ControlBibtex.[Ch]:
454 * ControlCitation.[Ch]:
455 * ControlCommand.[Ch]: moved most code into ControlInset.
457 * lots of files. Moved protected stuff into private where possible.
460 * ControlInclude.[Ch]:
461 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
462 Include and Url popups, respectively.
465 * Makefile.am: associated changes.
467 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
472 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * ControlCredits.C (getCredits): remove std:: qualifier for
477 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
479 * ControlCredits.C (getCredits): add std:: on vector
481 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
483 * ControlCredits.C: remove using that is only used once, use
484 std::ios instead of std::iosbase, add some annoying comments.
486 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
488 * lots of header files: improved explanatory notes.
490 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
491 ControlBase is now a class that only controls the interaction of the
492 View with the ButtonController.
494 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
495 to ControlConnectBase. The class controls the connection/disconnection
496 of signals from the LyX kernel and makes available the kernel (through
497 lv_) to daughter controller classes.
498 Moved out class ControlConnectInset to a new file ControlDialogs.h.
500 * ControlDialogs.h: new file. Contains the definition of two template
501 controller classes, ControlDialog and ControlInset (was
502 ControlConnectInset). ControlInset is a parent class for controllers
503 of inset-popups. ControlDialogs is the rather uninspired name for
504 the base class of all non-inset popups. (Eg, Document and Paragraph.)
505 ControlDialogs is reaching a state of maturity as several popups now use
506 it and its functionality becomes clear. ControlInset is still in a state
507 of flux. It is likely that functionality will be moved out of
508 ControlCommands and into it.
510 * GUI.h: new file. Moved all the template GUIXXX classes out of the
511 individual Controller header files and into one place. These classes
512 serve only as convenient wrappers to simplify code in the respective
513 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
515 * ControlCharacter.[Ch] (show, update, hide):
516 * ControlLog.[Ch] (show, update, hide):
517 * ControlVCLog.[Ch] (show, update, hide): moved back into
518 the ControlDialogs base class.
519 (setParams, clearParams): new methods containing controller-specific
520 code to set/reset the parameters manipulated by the view.
522 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
524 (hide): calls clearParams.
526 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
527 by ControlCommand::hide().
529 * ControlCopyright.[Ch]:
530 * ControlCredits.[Ch]: new files; controllers for the copyright and
531 credits popups, respectively.
533 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
535 * ControlCharacter.C: fix typo
537 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlCharacter.[Ch]: new files; controller for the character popup.
541 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
542 moved to new files helper_funcs.[Ch].
544 * helper_funcs.[Ch]: new files. Some useful helper functions and
547 * Makefile.am: added new files.
549 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
553 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
557 Control log files, respectively.
559 * Makefile.am: added new files.
561 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
563 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
565 * Makefile.am: added ControlBibtex.[Ch].
567 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
570 * ControlCitation.C: added "using SigC::slot" declaration.
572 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
573 to FormCitation.C prior to the merger: "Do not put space between
576 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
578 * several files: remove CXX_WORKING_NAMESPACES
580 * ButtonController.h: noncopyable is in namespace boost
581 * ButtonPolicies.h: ditto
583 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
585 * Merging changes from BRANCH_MVC back into HEAD.
587 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
589 * Makefile.am: add ControlBibitem.[Ch].
591 * ControlBibitem.[Ch]: new files that together define the Controller
594 * ControlCommand.h (c-tor): give kb_action a default value of
597 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
599 * ControlCitation.[Ch]: moved search functions out of class.
600 (bibkeysInfo): new method. Returns const reference to private data.
601 (searchKeys): added case-sensitive switch. Used only by simpleSearch
604 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
606 * ControlCitation.[Ch]: added Search functions to the class,
607 (shamelessly lifted from Marco's gnome code). I think that these would
608 be better as helper functions outside the class, but this is a first
611 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
613 * ControlCitation.[Ch]: (getBibkeyList): removed from class
615 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
616 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
617 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
618 implementation of FormCitation.
620 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
622 * ButtonPolicies.h: add SMI_NOOP to enum.
624 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
626 * ButtonController.C (input): add "optimising" if-statement. Actually,
627 things don't work correctly without it...
629 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
631 * ViewBase.h: remove #pragma directive
633 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
636 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
638 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
640 * Makefile.am: added ButtonPolicies.[Ch]
642 * ButtonController.[Ch]: ButtonController is split into
643 ButtonControllerBase and a template ButtonController class. The base
644 class no longer stores a pointer to a ButtonPolicy, but instead
645 accesses the actual instantiation of the policy through a pure virtual
646 method bp(). This method and the ButtonPolicy itself are instantiated
647 in the templatised ButtonController class. This class is derived from
648 the GUI-specific GUIBC class, meaning that the frontends know
649 nothing about the actual policy decided upon by the controllers.
651 * ControlBase.[Ch]: No longer store the View or the ButtonController.
652 Instead the actual instantiations are accessed through pure virtual
653 methods view() and bc(). The daughter classes are responsible for the
654 actual View and ButtonController.
656 * ControlCitation.h: the templatised class GUICitation instantiates
657 the methods view() and bc(). It also stores the instances of the
658 View and ButtonController.
660 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
662 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
663 also changed to ButtonController.
666 * ControlConnections.[Ch]:
667 * ControlCommand.[Ch]:
668 * ControlCitation.[Ch]:
669 * ViewBase.h: Changes associated with this.
671 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
673 * ButtonControllerBase.[Ch]: new files. Split Allan's original
674 xforms/ButtonController class into a GUI-I class (here) and an
675 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
677 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
678 from which all Dialog Controllers should be derived. the Controllers
679 are GUI-independent, but are designed to control the behaviour of
680 GUI-specific implementaions of each dialog.
682 * ControlConnections.[Ch]: new files. Classes controlling the
683 connections of buffer-independent, buffer-dependent and Inset dialogs
686 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
687 InsetCommand subset of insets.
689 * ControlCitation.[Ch]: new files. The test specialisation! A
690 controller for the Citation dialog.
692 * ViewBase.h: new file. ViewBase is an abstract base class from which
693 GUI-specific dialogs should be derived. The functionality that the GUIs
694 must now implement is much reduced.