1 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
3 * ControlCharacter.C: fix typo
7 * ControlInsets.C: make sure dialog is built before it is shown, so
8 it works properly the very first time it is shown
10 2001-08-20 Herbert Voss <voss@perce.de>
12 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
13 and styles. Added an option for "bibliography into toc"
15 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
17 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
18 LaTeX is no longer a font property.
20 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
22 * GUI.h: Button controller for Reference dialog changed to
23 NoRepeatedApplyReadOnlyPolicy.
25 * biblio.C (getInfo): output volume and number info. Move year to end
28 2001-08-09 Allan Rae <rae@lyx.org>
30 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
32 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
34 * helper_funcs.C (getVectorFromString): fixed small bug.
36 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
38 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
40 * ControlSpellchecker.C: check next word after insert in personal dict
42 2001-08-06 Juergen Vigna <jug@sad.it>
44 * ControlERT.[Ch]: new file
46 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
48 * ControlInset.h: const and non-const forms of params().
50 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
51 whitespace from either side of each item.
53 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
55 * ControlFloat.h: add a != operator for FloatParams.
56 Lars, how did you get this to compile!!!
58 * ControlMinipage.[Ch]: uncommented someone's commenting out of
59 operator != for MinipageParams. Who's changing stuff and not compiling?
61 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
66 * GUI.h: add class GUIFloat
68 * ControlFloat.[Ch]: new files
70 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
72 * ControlPrint.C: #include Lassert.h here.
74 2001-07-26 Baruch Even <baruch@lyx.org>
76 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
79 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
84 * Makefile.am: thesaurus support
86 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
89 * ControlInclude.C: implement ability to load file
91 2001-07-18 Juergen Vigna <jug@sad.it>
93 * ControlSearch.C (replace): changes to lyxfind.h function calls.
95 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
97 * biblio.C (getInfo): add a .c_str() to handle the usual
100 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
102 * ControlCitation.[Ch]: changes associated with adding natbib support.
103 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
104 New static variable citeStyles_.
106 * biblio.[Ch]: large internal rearrangement.
107 New public enum CiteStyle.
108 New public struct CitationStyle.
109 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
110 getNumericalStrings, getAuthorYearStrings
111 (simpleSearch, regexSearch): no longer publicly accessible.
113 * helper_funcs.C (getStringFromVector): bug fix.
115 2001-07-16 Baruch Even <baruch@lyx.org>
117 * ControlVCLog.h: Added Lsstream.h to includes.
119 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlSpellchecker.[Ch]: remove d-tor.
123 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
125 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
127 2001-07-16 Juergen Vigna <jug@sad.it>
129 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
130 compiled with USE_PSPELL) to be able to switch between ISpell and
133 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
135 Consistent use of Lsstream.h:
136 * ControlAboutlyx.[Ch] (getCredits):
137 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
139 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
141 * ControlCredits.[Ch]: removed
142 * ControlCopyright.[Ch]: removed
143 * ControlAboutlyx.[Ch]: added (replaces previous)
144 * GUI.h: removed credits and copyright added about lyx stuff
146 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
148 * ControlSpellchecker.C (getSuggestion):
149 (getWord): add std:: qualifier
151 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
153 * ControlSpellchecker.[Ch]: added
154 * ViewBase.h: added partialUpdate(int) member
155 * GUI.h: added spell stuff
157 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
159 * ControlExternal.C: (*it). -> it->
161 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
163 * ButtonController.h: move some included header files out of the
164 frontends and into here.
166 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
168 * ControlCharacter.C (c-tor): cosmetic name change of signal.
170 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
172 * *.[h]: added // -*- C++ -*-
173 * *.[C]: removed // -*- C++ -*-
175 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
176 activate Apply button.
177 (clearParams): removed.
178 font_ is now stored as a boost::scoped_ptr.
179 font_ is no longer deleted on hide(), so it's contents can now be used
180 by the Font button on the toolbar.
181 Lots of new methods so that the GUI can easily get the contents of
182 font_ when it update()s.
184 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
186 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
187 crash when the Font button on the Toolbar is pressed.
189 * GUI.h: change policy of Character button controller to
190 OkApplyCancelReadOnlyPolicy.
192 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * ControlToc.C (getContents): don't add anything to the list if it
195 is supposed to be empty.
197 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
199 * helper_funcs.C (getVectorFromString): bug fix.
201 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
204 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
205 from ButtonControllerBase::readOnly. Updates the state of the widgets
206 in the read-only list only when the read-only status of the document
208 (refresh): moved this stuff into refreshReadOnly.
210 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
212 * ControlPrint.C (c-tor):
213 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
215 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
218 * character.h: small clean-ups.
220 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
222 * ControlToc.C (getType): remove support for old float list.
224 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
226 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
227 * ControlGraphics.h: no longer include insetgraphicsParams.h
228 * ControlInset.h: no longer include LyXView.h
233 * ControlCharacter.C:
236 * ControlConnections.C:
237 * ControlCopyright.C:
249 * ControlTabularCreate.C:
251 * ControlVCLog.C: they're now in here!
253 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
255 * ButtonControllerBase.h: C++ mode, inherit privately from
257 * ButtonPolicies.h: ditto
259 * ButtonController.h: C++ mode, swap init order of restore_ and
262 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
264 * ControlTabularCreate.h:
265 * ControlTabularCreate.C: make dialogs use a pair of uints
269 * ControlVCLog.C: fill a stringstream with the log contents
272 * ControlExternal.C: from Angus, clone the new InsetExternal
275 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
277 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
278 and made more robust.
280 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
289 * ControlCopyright.C: include gettext.h
291 * ControlCharacter.C:
292 * character.C: include gettext.h and language.h
294 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
296 * ButtonController.h:
297 * ButtonControllerBase.h:
298 * ButtonControllerBase.C:
305 * ControlConnections.h:
311 * ViewBase.h: s/ControlButton/ControlButtons/
313 s/UndoAll/Restore/ + associated
315 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
317 * ControlToc.[Ch]: new files; a controller for the TOC popup.
320 * Makefile.am: associated changes with all of the above.
322 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
324 * ControlExternal.C: bug fixes. Can now apply changes to the inset
325 and edit, view, update the External Material correctly. I hope!
327 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
329 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
331 * BCTemplates.h: renamed as ButtonController.h
333 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
336 * ControlConnections.h: associated change in #include and class names.
338 * ControlExternal.[Ch]: new files; a controller for the External
342 * Makefile.am: associated changes with all of the above.
344 * ControlGraphics.[Ch]:
345 * ControlInclude.[Ch]:
348 (Browse): new method. Returns the results of a FileDialog browse.
350 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
351 (getVectorFromString): fixed bug.
353 * biblio.C (simpleSearch): cleaned up.
355 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
357 * A slight reworking of Baruch Even's ButtonController patch.
359 * BCTemplates.h: new file; all the templates for the ButtonController.
360 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
361 to the more generic setButtonLabel().
363 * ButtonController.[Ch]: renamed cancel_label and close_label as
364 cancel_label_ and close_label_.
366 * Makefile.am: added BCTemplates.h
368 2001-03-29 Juergen Vigna <jug@sad.it>
370 * ControlMinipage.C: removed widthp_ and all it's functions and changed
371 to use new %-lengths of LyXLength.
373 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlCitation.C (bibkeysInfo): removed Assert.
377 * ControlCopyright.h: moved GUICopyright into GUI.h
381 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
383 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
384 (setDaughterParams): a (by default empty) new method called in show().
393 * ControlUrl.h (clearDaughterParams): removed
395 * ControlMinipage.C (applyParamsToInset): update the view.
396 Added namespace minipage containing a helper function getUnits.
398 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
400 * ControlCharacter.[Ch]: moved out all the helper functions and the
401 enum into their own file.
402 * character.[Ch]: new files; contain the character helper functions,
403 now inside namespace character.
405 * ControlCitation.[Ch]: moved out all the helper functions and the
406 enums into their own file. Simplified interface.
407 * biblio.[Ch]: new files; contain the citation helper functions,
408 now inside namespace biblio. Will be of use also to an improved
411 * ControlGraphics.[Ch]:
412 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
413 popups, respectively.
416 * Makefile.am: associated changes.
418 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlMinipage.[Ch]:
421 * ControlPreamble.[Ch]:
423 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
424 and Print popups and Splash screen, respectively.
426 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
430 * Makefile.am: associated changes.
432 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlConnections.[Ch]: (docType): new method; returns the type
435 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
438 * ControlSearch.[Ch]:
439 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
440 Search and TabularCreate popups, respectively.
443 * Makefile.am: associated changes.
445 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
447 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
450 * ControlInset.h (apply): fix bug. Can now create new insets again.
452 * README: describe program flow.
454 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
456 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
458 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
460 * ControlDialogs.h: moved class ControlInset into its own file.
462 * ControlInset.h: new file. class ControlInset has been expanded to take
463 two template parameters, Inset and Params. Believe that all inset
464 controllers can be derived from this with the minimum of effort.
466 * ControlBibitem.[Ch]:
467 * ControlBibtex.[Ch]:
468 * ControlCitation.[Ch]:
469 * ControlCommand.[Ch]: moved most code into ControlInset.
471 * lots of files. Moved protected stuff into private where possible.
474 * ControlInclude.[Ch]:
475 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
476 Include and Url popups, respectively.
479 * Makefile.am: associated changes.
481 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
486 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * ControlCredits.C (getCredits): remove std:: qualifier for
491 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
493 * ControlCredits.C (getCredits): add std:: on vector
495 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
497 * ControlCredits.C: remove using that is only used once, use
498 std::ios instead of std::iosbase, add some annoying comments.
500 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
502 * lots of header files: improved explanatory notes.
504 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
505 ControlBase is now a class that only controls the interaction of the
506 View with the ButtonController.
508 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
509 to ControlConnectBase. The class controls the connection/disconnection
510 of signals from the LyX kernel and makes available the kernel (through
511 lv_) to daughter controller classes.
512 Moved out class ControlConnectInset to a new file ControlDialogs.h.
514 * ControlDialogs.h: new file. Contains the definition of two template
515 controller classes, ControlDialog and ControlInset (was
516 ControlConnectInset). ControlInset is a parent class for controllers
517 of inset-popups. ControlDialogs is the rather uninspired name for
518 the base class of all non-inset popups. (Eg, Document and Paragraph.)
519 ControlDialogs is reaching a state of maturity as several popups now use
520 it and its functionality becomes clear. ControlInset is still in a state
521 of flux. It is likely that functionality will be moved out of
522 ControlCommands and into it.
524 * GUI.h: new file. Moved all the template GUIXXX classes out of the
525 individual Controller header files and into one place. These classes
526 serve only as convenient wrappers to simplify code in the respective
527 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
529 * ControlCharacter.[Ch] (show, update, hide):
530 * ControlLog.[Ch] (show, update, hide):
531 * ControlVCLog.[Ch] (show, update, hide): moved back into
532 the ControlDialogs base class.
533 (setParams, clearParams): new methods containing controller-specific
534 code to set/reset the parameters manipulated by the view.
536 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
538 (hide): calls clearParams.
540 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
541 by ControlCommand::hide().
543 * ControlCopyright.[Ch]:
544 * ControlCredits.[Ch]: new files; controllers for the copyright and
545 credits popups, respectively.
547 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
549 * ControlCharacter.C: fix typo
551 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
553 * ControlCharacter.[Ch]: new files; controller for the character popup.
555 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
556 moved to new files helper_funcs.[Ch].
558 * helper_funcs.[Ch]: new files. Some useful helper functions and
561 * Makefile.am: added new files.
563 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
565 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
567 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
570 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
571 Control log files, respectively.
573 * Makefile.am: added new files.
575 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
577 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
579 * Makefile.am: added ControlBibtex.[Ch].
581 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
584 * ControlCitation.C: added "using SigC::slot" declaration.
586 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
587 to FormCitation.C prior to the merger: "Do not put space between
590 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
592 * several files: remove CXX_WORKING_NAMESPACES
594 * ButtonController.h: noncopyable is in namespace boost
595 * ButtonPolicies.h: ditto
597 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
599 * Merging changes from BRANCH_MVC back into HEAD.
601 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
603 * Makefile.am: add ControlBibitem.[Ch].
605 * ControlBibitem.[Ch]: new files that together define the Controller
608 * ControlCommand.h (c-tor): give kb_action a default value of
611 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
613 * ControlCitation.[Ch]: moved search functions out of class.
614 (bibkeysInfo): new method. Returns const reference to private data.
615 (searchKeys): added case-sensitive switch. Used only by simpleSearch
618 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
620 * ControlCitation.[Ch]: added Search functions to the class,
621 (shamelessly lifted from Marco's gnome code). I think that these would
622 be better as helper functions outside the class, but this is a first
625 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
627 * ControlCitation.[Ch]: (getBibkeyList): removed from class
629 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
630 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
631 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
632 implementation of FormCitation.
634 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
636 * ButtonPolicies.h: add SMI_NOOP to enum.
638 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
640 * ButtonController.C (input): add "optimising" if-statement. Actually,
641 things don't work correctly without it...
643 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
645 * ViewBase.h: remove #pragma directive
647 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
650 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
652 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
654 * Makefile.am: added ButtonPolicies.[Ch]
656 * ButtonController.[Ch]: ButtonController is split into
657 ButtonControllerBase and a template ButtonController class. The base
658 class no longer stores a pointer to a ButtonPolicy, but instead
659 accesses the actual instantiation of the policy through a pure virtual
660 method bp(). This method and the ButtonPolicy itself are instantiated
661 in the templatised ButtonController class. This class is derived from
662 the GUI-specific GUIBC class, meaning that the frontends know
663 nothing about the actual policy decided upon by the controllers.
665 * ControlBase.[Ch]: No longer store the View or the ButtonController.
666 Instead the actual instantiations are accessed through pure virtual
667 methods view() and bc(). The daughter classes are responsible for the
668 actual View and ButtonController.
670 * ControlCitation.h: the templatised class GUICitation instantiates
671 the methods view() and bc(). It also stores the instances of the
672 View and ButtonController.
674 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
676 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
677 also changed to ButtonController.
680 * ControlConnections.[Ch]:
681 * ControlCommand.[Ch]:
682 * ControlCitation.[Ch]:
683 * ViewBase.h: Changes associated with this.
685 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
687 * ButtonControllerBase.[Ch]: new files. Split Allan's original
688 xforms/ButtonController class into a GUI-I class (here) and an
689 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
691 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
692 from which all Dialog Controllers should be derived. the Controllers
693 are GUI-independent, but are designed to control the behaviour of
694 GUI-specific implementaions of each dialog.
696 * ControlConnections.[Ch]: new files. Classes controlling the
697 connections of buffer-independent, buffer-dependent and Inset dialogs
700 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
701 InsetCommand subset of insets.
703 * ControlCitation.[Ch]: new files. The test specialisation! A
704 controller for the Citation dialog.
706 * ViewBase.h: new file. ViewBase is an abstract base class from which
707 GUI-specific dialogs should be derived. The functionality that the GUIs
708 must now implement is much reduced.