1 2001-08-26 John Levon <moz@compsoc.man.ac.uk>
3 * character.C (getBarData): fix bar array.
5 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
7 * ControlInset.h (apply): tentative fix for the press Apply multiple
8 times and get multiple new Insets problem.
10 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
12 * ControlCharacter.C: fix typo
16 * ControlInsets.C: make sure dialog is built before it is shown, so
17 it works properly the very first time it is shown
19 2001-08-20 Herbert Voss <voss@perce.de>
21 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
22 and styles. Added an option for "bibliography into toc"
24 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
26 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
27 LaTeX is no longer a font property.
29 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
31 * GUI.h: Button controller for Reference dialog changed to
32 NoRepeatedApplyReadOnlyPolicy.
34 * biblio.C (getInfo): output volume and number info. Move year to end
37 2001-08-09 Allan Rae <rae@lyx.org>
39 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
41 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
43 * helper_funcs.C (getVectorFromString): fixed small bug.
45 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
47 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
49 * ControlSpellchecker.C: check next word after insert in personal dict
51 2001-08-06 Juergen Vigna <jug@sad.it>
53 * ControlERT.[Ch]: new file
55 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
57 * ControlInset.h: const and non-const forms of params().
59 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
60 whitespace from either side of each item.
62 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
64 * ControlFloat.h: add a != operator for FloatParams.
65 Lars, how did you get this to compile!!!
67 * ControlMinipage.[Ch]: uncommented someone's commenting out of
68 operator != for MinipageParams. Who's changing stuff and not compiling?
70 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
75 * GUI.h: add class GUIFloat
77 * ControlFloat.[Ch]: new files
79 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
81 * ControlPrint.C: #include Lassert.h here.
83 2001-07-26 Baruch Even <baruch@lyx.org>
85 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
88 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
93 * Makefile.am: thesaurus support
95 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
98 * ControlInclude.C: implement ability to load file
100 2001-07-18 Juergen Vigna <jug@sad.it>
102 * ControlSearch.C (replace): changes to lyxfind.h function calls.
104 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
106 * biblio.C (getInfo): add a .c_str() to handle the usual
109 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
111 * ControlCitation.[Ch]: changes associated with adding natbib support.
112 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
113 New static variable citeStyles_.
115 * biblio.[Ch]: large internal rearrangement.
116 New public enum CiteStyle.
117 New public struct CitationStyle.
118 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
119 getNumericalStrings, getAuthorYearStrings
120 (simpleSearch, regexSearch): no longer publicly accessible.
122 * helper_funcs.C (getStringFromVector): bug fix.
124 2001-07-16 Baruch Even <baruch@lyx.org>
126 * ControlVCLog.h: Added Lsstream.h to includes.
128 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
130 * ControlSpellchecker.[Ch]: remove d-tor.
132 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
134 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
136 2001-07-16 Juergen Vigna <jug@sad.it>
138 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
139 compiled with USE_PSPELL) to be able to switch between ISpell and
142 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
144 Consistent use of Lsstream.h:
145 * ControlAboutlyx.[Ch] (getCredits):
146 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
148 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
150 * ControlCredits.[Ch]: removed
151 * ControlCopyright.[Ch]: removed
152 * ControlAboutlyx.[Ch]: added (replaces previous)
153 * GUI.h: removed credits and copyright added about lyx stuff
155 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
157 * ControlSpellchecker.C (getSuggestion):
158 (getWord): add std:: qualifier
160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
162 * ControlSpellchecker.[Ch]: added
163 * ViewBase.h: added partialUpdate(int) member
164 * GUI.h: added spell stuff
166 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
168 * ControlExternal.C: (*it). -> it->
170 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
172 * ButtonController.h: move some included header files out of the
173 frontends and into here.
175 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlCharacter.C (c-tor): cosmetic name change of signal.
179 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
181 * *.[h]: added // -*- C++ -*-
182 * *.[C]: removed // -*- C++ -*-
184 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
185 activate Apply button.
186 (clearParams): removed.
187 font_ is now stored as a boost::scoped_ptr.
188 font_ is no longer deleted on hide(), so it's contents can now be used
189 by the Font button on the toolbar.
190 Lots of new methods so that the GUI can easily get the contents of
191 font_ when it update()s.
193 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
195 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
196 crash when the Font button on the Toolbar is pressed.
198 * GUI.h: change policy of Character button controller to
199 OkApplyCancelReadOnlyPolicy.
201 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * ControlToc.C (getContents): don't add anything to the list if it
204 is supposed to be empty.
206 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
208 * helper_funcs.C (getVectorFromString): bug fix.
210 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
213 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
214 from ButtonControllerBase::readOnly. Updates the state of the widgets
215 in the read-only list only when the read-only status of the document
217 (refresh): moved this stuff into refreshReadOnly.
219 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
221 * ControlPrint.C (c-tor):
222 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
224 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
227 * character.h: small clean-ups.
229 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
231 * ControlToc.C (getType): remove support for old float list.
233 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
235 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
236 * ControlGraphics.h: no longer include insetgraphicsParams.h
237 * ControlInset.h: no longer include LyXView.h
242 * ControlCharacter.C:
245 * ControlConnections.C:
246 * ControlCopyright.C:
258 * ControlTabularCreate.C:
260 * ControlVCLog.C: they're now in here!
262 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
264 * ButtonControllerBase.h: C++ mode, inherit privately from
266 * ButtonPolicies.h: ditto
268 * ButtonController.h: C++ mode, swap init order of restore_ and
271 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
273 * ControlTabularCreate.h:
274 * ControlTabularCreate.C: make dialogs use a pair of uints
278 * ControlVCLog.C: fill a stringstream with the log contents
281 * ControlExternal.C: from Angus, clone the new InsetExternal
284 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
286 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
287 and made more robust.
289 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * ControlCopyright.C: include gettext.h
300 * ControlCharacter.C:
301 * character.C: include gettext.h and language.h
303 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
305 * ButtonController.h:
306 * ButtonControllerBase.h:
307 * ButtonControllerBase.C:
314 * ControlConnections.h:
320 * ViewBase.h: s/ControlButton/ControlButtons/
322 s/UndoAll/Restore/ + associated
324 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlToc.[Ch]: new files; a controller for the TOC popup.
329 * Makefile.am: associated changes with all of the above.
331 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlExternal.C: bug fixes. Can now apply changes to the inset
334 and edit, view, update the External Material correctly. I hope!
336 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
338 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
340 * BCTemplates.h: renamed as ButtonController.h
342 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
345 * ControlConnections.h: associated change in #include and class names.
347 * ControlExternal.[Ch]: new files; a controller for the External
351 * Makefile.am: associated changes with all of the above.
353 * ControlGraphics.[Ch]:
354 * ControlInclude.[Ch]:
357 (Browse): new method. Returns the results of a FileDialog browse.
359 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
360 (getVectorFromString): fixed bug.
362 * biblio.C (simpleSearch): cleaned up.
364 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
366 * A slight reworking of Baruch Even's ButtonController patch.
368 * BCTemplates.h: new file; all the templates for the ButtonController.
369 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
370 to the more generic setButtonLabel().
372 * ButtonController.[Ch]: renamed cancel_label and close_label as
373 cancel_label_ and close_label_.
375 * Makefile.am: added BCTemplates.h
377 2001-03-29 Juergen Vigna <jug@sad.it>
379 * ControlMinipage.C: removed widthp_ and all it's functions and changed
380 to use new %-lengths of LyXLength.
382 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
384 * ControlCitation.C (bibkeysInfo): removed Assert.
386 * ControlCopyright.h: moved GUICopyright into GUI.h
390 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
392 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
393 (setDaughterParams): a (by default empty) new method called in show().
402 * ControlUrl.h (clearDaughterParams): removed
404 * ControlMinipage.C (applyParamsToInset): update the view.
405 Added namespace minipage containing a helper function getUnits.
407 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
409 * ControlCharacter.[Ch]: moved out all the helper functions and the
410 enum into their own file.
411 * character.[Ch]: new files; contain the character helper functions,
412 now inside namespace character.
414 * ControlCitation.[Ch]: moved out all the helper functions and the
415 enums into their own file. Simplified interface.
416 * biblio.[Ch]: new files; contain the citation helper functions,
417 now inside namespace biblio. Will be of use also to an improved
420 * ControlGraphics.[Ch]:
421 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
422 popups, respectively.
425 * Makefile.am: associated changes.
427 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlMinipage.[Ch]:
430 * ControlPreamble.[Ch]:
432 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
433 and Print popups and Splash screen, respectively.
435 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
439 * Makefile.am: associated changes.
441 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlConnections.[Ch]: (docType): new method; returns the type
444 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
447 * ControlSearch.[Ch]:
448 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
449 Search and TabularCreate popups, respectively.
452 * Makefile.am: associated changes.
454 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
456 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
459 * ControlInset.h (apply): fix bug. Can now create new insets again.
461 * README: describe program flow.
463 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
465 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
467 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlDialogs.h: moved class ControlInset into its own file.
471 * ControlInset.h: new file. class ControlInset has been expanded to take
472 two template parameters, Inset and Params. Believe that all inset
473 controllers can be derived from this with the minimum of effort.
475 * ControlBibitem.[Ch]:
476 * ControlBibtex.[Ch]:
477 * ControlCitation.[Ch]:
478 * ControlCommand.[Ch]: moved most code into ControlInset.
480 * lots of files. Moved protected stuff into private where possible.
483 * ControlInclude.[Ch]:
484 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
485 Include and Url popups, respectively.
488 * Makefile.am: associated changes.
490 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
495 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
497 * ControlCredits.C (getCredits): remove std:: qualifier for
500 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
502 * ControlCredits.C (getCredits): add std:: on vector
504 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
506 * ControlCredits.C: remove using that is only used once, use
507 std::ios instead of std::iosbase, add some annoying comments.
509 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
511 * lots of header files: improved explanatory notes.
513 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
514 ControlBase is now a class that only controls the interaction of the
515 View with the ButtonController.
517 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
518 to ControlConnectBase. The class controls the connection/disconnection
519 of signals from the LyX kernel and makes available the kernel (through
520 lv_) to daughter controller classes.
521 Moved out class ControlConnectInset to a new file ControlDialogs.h.
523 * ControlDialogs.h: new file. Contains the definition of two template
524 controller classes, ControlDialog and ControlInset (was
525 ControlConnectInset). ControlInset is a parent class for controllers
526 of inset-popups. ControlDialogs is the rather uninspired name for
527 the base class of all non-inset popups. (Eg, Document and Paragraph.)
528 ControlDialogs is reaching a state of maturity as several popups now use
529 it and its functionality becomes clear. ControlInset is still in a state
530 of flux. It is likely that functionality will be moved out of
531 ControlCommands and into it.
533 * GUI.h: new file. Moved all the template GUIXXX classes out of the
534 individual Controller header files and into one place. These classes
535 serve only as convenient wrappers to simplify code in the respective
536 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
538 * ControlCharacter.[Ch] (show, update, hide):
539 * ControlLog.[Ch] (show, update, hide):
540 * ControlVCLog.[Ch] (show, update, hide): moved back into
541 the ControlDialogs base class.
542 (setParams, clearParams): new methods containing controller-specific
543 code to set/reset the parameters manipulated by the view.
545 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
547 (hide): calls clearParams.
549 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
550 by ControlCommand::hide().
552 * ControlCopyright.[Ch]:
553 * ControlCredits.[Ch]: new files; controllers for the copyright and
554 credits popups, respectively.
556 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
558 * ControlCharacter.C: fix typo
560 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
562 * ControlCharacter.[Ch]: new files; controller for the character popup.
564 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
565 moved to new files helper_funcs.[Ch].
567 * helper_funcs.[Ch]: new files. Some useful helper functions and
570 * Makefile.am: added new files.
572 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
574 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
576 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
579 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
580 Control log files, respectively.
582 * Makefile.am: added new files.
584 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
586 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
588 * Makefile.am: added ControlBibtex.[Ch].
590 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
593 * ControlCitation.C: added "using SigC::slot" declaration.
595 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
596 to FormCitation.C prior to the merger: "Do not put space between
599 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
601 * several files: remove CXX_WORKING_NAMESPACES
603 * ButtonController.h: noncopyable is in namespace boost
604 * ButtonPolicies.h: ditto
606 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
608 * Merging changes from BRANCH_MVC back into HEAD.
610 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
612 * Makefile.am: add ControlBibitem.[Ch].
614 * ControlBibitem.[Ch]: new files that together define the Controller
617 * ControlCommand.h (c-tor): give kb_action a default value of
620 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
622 * ControlCitation.[Ch]: moved search functions out of class.
623 (bibkeysInfo): new method. Returns const reference to private data.
624 (searchKeys): added case-sensitive switch. Used only by simpleSearch
627 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
629 * ControlCitation.[Ch]: added Search functions to the class,
630 (shamelessly lifted from Marco's gnome code). I think that these would
631 be better as helper functions outside the class, but this is a first
634 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
636 * ControlCitation.[Ch]: (getBibkeyList): removed from class
638 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
639 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
640 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
641 implementation of FormCitation.
643 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
645 * ButtonPolicies.h: add SMI_NOOP to enum.
647 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
649 * ButtonController.C (input): add "optimising" if-statement. Actually,
650 things don't work correctly without it...
652 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
654 * ViewBase.h: remove #pragma directive
656 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
659 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
661 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
663 * Makefile.am: added ButtonPolicies.[Ch]
665 * ButtonController.[Ch]: ButtonController is split into
666 ButtonControllerBase and a template ButtonController class. The base
667 class no longer stores a pointer to a ButtonPolicy, but instead
668 accesses the actual instantiation of the policy through a pure virtual
669 method bp(). This method and the ButtonPolicy itself are instantiated
670 in the templatised ButtonController class. This class is derived from
671 the GUI-specific GUIBC class, meaning that the frontends know
672 nothing about the actual policy decided upon by the controllers.
674 * ControlBase.[Ch]: No longer store the View or the ButtonController.
675 Instead the actual instantiations are accessed through pure virtual
676 methods view() and bc(). The daughter classes are responsible for the
677 actual View and ButtonController.
679 * ControlCitation.h: the templatised class GUICitation instantiates
680 the methods view() and bc(). It also stores the instances of the
681 View and ButtonController.
683 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
685 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
686 also changed to ButtonController.
689 * ControlConnections.[Ch]:
690 * ControlCommand.[Ch]:
691 * ControlCitation.[Ch]:
692 * ViewBase.h: Changes associated with this.
694 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
696 * ButtonControllerBase.[Ch]: new files. Split Allan's original
697 xforms/ButtonController class into a GUI-I class (here) and an
698 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
700 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
701 from which all Dialog Controllers should be derived. the Controllers
702 are GUI-independent, but are designed to control the behaviour of
703 GUI-specific implementaions of each dialog.
705 * ControlConnections.[Ch]: new files. Classes controlling the
706 connections of buffer-independent, buffer-dependent and Inset dialogs
709 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
710 InsetCommand subset of insets.
712 * ControlCitation.[Ch]: new files. The test specialisation! A
713 controller for the Citation dialog.
715 * ViewBase.h: new file. ViewBase is an abstract base class from which
716 GUI-specific dialogs should be derived. The functionality that the GUIs
717 must now implement is much reduced.