1 2001-08-20 Herbert Voss <voss@perce.de>
3 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
4 and styles. Added an option for "bibliography into toc"
6 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
8 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
9 LaTeX is no longer a font property.
11 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
13 * GUI.h: Button controller for Reference dialog changed to
14 NoRepeatedApplyReadOnlyPolicy.
16 * biblio.C (getInfo): output volume and number info. Move year to end
19 2001-08-09 Allan Rae <rae@lyx.org>
21 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
23 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
25 * helper_funcs.C (getVectorFromString): fixed small bug.
27 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
29 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
31 * ControlSpellchecker.C: check next word after insert in personal dict
33 2001-08-06 Juergen Vigna <jug@sad.it>
35 * ControlERT.[Ch]: new file
37 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
39 * ControlInset.h: const and non-const forms of params().
41 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
42 whitespace from either side of each item.
44 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
46 * ControlFloat.h: add a != operator for FloatParams.
47 Lars, how did you get this to compile!!!
49 * ControlMinipage.[Ch]: uncommented someone's commenting out of
50 operator != for MinipageParams. Who's changing stuff and not compiling?
52 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
54 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
57 * GUI.h: add class GUIFloat
59 * ControlFloat.[Ch]: new files
61 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
63 * ControlPrint.C: #include Lassert.h here.
65 2001-07-26 Baruch Even <baruch@lyx.org>
67 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
70 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
75 * Makefile.am: thesaurus support
77 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
80 * ControlInclude.C: implement ability to load file
82 2001-07-18 Juergen Vigna <jug@sad.it>
84 * ControlSearch.C (replace): changes to lyxfind.h function calls.
86 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * biblio.C (getInfo): add a .c_str() to handle the usual
91 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
93 * ControlCitation.[Ch]: changes associated with adding natbib support.
94 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
95 New static variable citeStyles_.
97 * biblio.[Ch]: large internal rearrangement.
98 New public enum CiteStyle.
99 New public struct CitationStyle.
100 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
101 getNumericalStrings, getAuthorYearStrings
102 (simpleSearch, regexSearch): no longer publicly accessible.
104 * helper_funcs.C (getStringFromVector): bug fix.
106 2001-07-16 Baruch Even <baruch@lyx.org>
108 * ControlVCLog.h: Added Lsstream.h to includes.
110 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
112 * ControlSpellchecker.[Ch]: remove d-tor.
114 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
116 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
118 2001-07-16 Juergen Vigna <jug@sad.it>
120 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
121 compiled with USE_PSPELL) to be able to switch between ISpell and
124 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
126 Consistent use of Lsstream.h:
127 * ControlAboutlyx.[Ch] (getCredits):
128 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
130 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
132 * ControlCredits.[Ch]: removed
133 * ControlCopyright.[Ch]: removed
134 * ControlAboutlyx.[Ch]: added (replaces previous)
135 * GUI.h: removed credits and copyright added about lyx stuff
137 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
139 * ControlSpellchecker.C (getSuggestion):
140 (getWord): add std:: qualifier
142 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
144 * ControlSpellchecker.[Ch]: added
145 * ViewBase.h: added partialUpdate(int) member
146 * GUI.h: added spell stuff
148 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
150 * ControlExternal.C: (*it). -> it->
152 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
154 * ButtonController.h: move some included header files out of the
155 frontends and into here.
157 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
159 * ControlCharacter.C (c-tor): cosmetic name change of signal.
161 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
163 * *.[h]: added // -*- C++ -*-
164 * *.[C]: removed // -*- C++ -*-
166 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
167 activate Apply button.
168 (clearParams): removed.
169 font_ is now stored as a boost::scoped_ptr.
170 font_ is no longer deleted on hide(), so it's contents can now be used
171 by the Font button on the toolbar.
172 Lots of new methods so that the GUI can easily get the contents of
173 font_ when it update()s.
175 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
178 crash when the Font button on the Toolbar is pressed.
180 * GUI.h: change policy of Character button controller to
181 OkApplyCancelReadOnlyPolicy.
183 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * ControlToc.C (getContents): don't add anything to the list if it
186 is supposed to be empty.
188 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
190 * helper_funcs.C (getVectorFromString): bug fix.
192 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
195 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
196 from ButtonControllerBase::readOnly. Updates the state of the widgets
197 in the read-only list only when the read-only status of the document
199 (refresh): moved this stuff into refreshReadOnly.
201 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
203 * ControlPrint.C (c-tor):
204 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
206 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
209 * character.h: small clean-ups.
211 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
213 * ControlToc.C (getType): remove support for old float list.
215 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
218 * ControlGraphics.h: no longer include insetgraphicsParams.h
219 * ControlInset.h: no longer include LyXView.h
224 * ControlCharacter.C:
227 * ControlConnections.C:
228 * ControlCopyright.C:
240 * ControlTabularCreate.C:
242 * ControlVCLog.C: they're now in here!
244 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * ButtonControllerBase.h: C++ mode, inherit privately from
248 * ButtonPolicies.h: ditto
250 * ButtonController.h: C++ mode, swap init order of restore_ and
253 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
255 * ControlTabularCreate.h:
256 * ControlTabularCreate.C: make dialogs use a pair of uints
260 * ControlVCLog.C: fill a stringstream with the log contents
263 * ControlExternal.C: from Angus, clone the new InsetExternal
266 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
268 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
269 and made more robust.
271 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * ControlCopyright.C: include gettext.h
282 * ControlCharacter.C:
283 * character.C: include gettext.h and language.h
285 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
287 * ButtonController.h:
288 * ButtonControllerBase.h:
289 * ButtonControllerBase.C:
296 * ControlConnections.h:
302 * ViewBase.h: s/ControlButton/ControlButtons/
304 s/UndoAll/Restore/ + associated
306 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
308 * ControlToc.[Ch]: new files; a controller for the TOC popup.
311 * Makefile.am: associated changes with all of the above.
313 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
315 * ControlExternal.C: bug fixes. Can now apply changes to the inset
316 and edit, view, update the External Material correctly. I hope!
318 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
320 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
322 * BCTemplates.h: renamed as ButtonController.h
324 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
327 * ControlConnections.h: associated change in #include and class names.
329 * ControlExternal.[Ch]: new files; a controller for the External
333 * Makefile.am: associated changes with all of the above.
335 * ControlGraphics.[Ch]:
336 * ControlInclude.[Ch]:
339 (Browse): new method. Returns the results of a FileDialog browse.
341 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
342 (getVectorFromString): fixed bug.
344 * biblio.C (simpleSearch): cleaned up.
346 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
348 * A slight reworking of Baruch Even's ButtonController patch.
350 * BCTemplates.h: new file; all the templates for the ButtonController.
351 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
352 to the more generic setButtonLabel().
354 * ButtonController.[Ch]: renamed cancel_label and close_label as
355 cancel_label_ and close_label_.
357 * Makefile.am: added BCTemplates.h
359 2001-03-29 Juergen Vigna <jug@sad.it>
361 * ControlMinipage.C: removed widthp_ and all it's functions and changed
362 to use new %-lengths of LyXLength.
364 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlCitation.C (bibkeysInfo): removed Assert.
368 * ControlCopyright.h: moved GUICopyright into GUI.h
372 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
375 (setDaughterParams): a (by default empty) new method called in show().
384 * ControlUrl.h (clearDaughterParams): removed
386 * ControlMinipage.C (applyParamsToInset): update the view.
387 Added namespace minipage containing a helper function getUnits.
389 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
391 * ControlCharacter.[Ch]: moved out all the helper functions and the
392 enum into their own file.
393 * character.[Ch]: new files; contain the character helper functions,
394 now inside namespace character.
396 * ControlCitation.[Ch]: moved out all the helper functions and the
397 enums into their own file. Simplified interface.
398 * biblio.[Ch]: new files; contain the citation helper functions,
399 now inside namespace biblio. Will be of use also to an improved
402 * ControlGraphics.[Ch]:
403 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
404 popups, respectively.
407 * Makefile.am: associated changes.
409 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
411 * ControlMinipage.[Ch]:
412 * ControlPreamble.[Ch]:
414 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
415 and Print popups and Splash screen, respectively.
417 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
421 * Makefile.am: associated changes.
423 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
425 * ControlConnections.[Ch]: (docType): new method; returns the type
426 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
429 * ControlSearch.[Ch]:
430 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
431 Search and TabularCreate popups, respectively.
434 * Makefile.am: associated changes.
436 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
441 * ControlInset.h (apply): fix bug. Can now create new insets again.
443 * README: describe program flow.
445 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
447 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
449 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
451 * ControlDialogs.h: moved class ControlInset into its own file.
453 * ControlInset.h: new file. class ControlInset has been expanded to take
454 two template parameters, Inset and Params. Believe that all inset
455 controllers can be derived from this with the minimum of effort.
457 * ControlBibitem.[Ch]:
458 * ControlBibtex.[Ch]:
459 * ControlCitation.[Ch]:
460 * ControlCommand.[Ch]: moved most code into ControlInset.
462 * lots of files. Moved protected stuff into private where possible.
465 * ControlInclude.[Ch]:
466 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
467 Include and Url popups, respectively.
470 * Makefile.am: associated changes.
472 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
477 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
479 * ControlCredits.C (getCredits): remove std:: qualifier for
482 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
484 * ControlCredits.C (getCredits): add std:: on vector
486 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
488 * ControlCredits.C: remove using that is only used once, use
489 std::ios instead of std::iosbase, add some annoying comments.
491 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
493 * lots of header files: improved explanatory notes.
495 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
496 ControlBase is now a class that only controls the interaction of the
497 View with the ButtonController.
499 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
500 to ControlConnectBase. The class controls the connection/disconnection
501 of signals from the LyX kernel and makes available the kernel (through
502 lv_) to daughter controller classes.
503 Moved out class ControlConnectInset to a new file ControlDialogs.h.
505 * ControlDialogs.h: new file. Contains the definition of two template
506 controller classes, ControlDialog and ControlInset (was
507 ControlConnectInset). ControlInset is a parent class for controllers
508 of inset-popups. ControlDialogs is the rather uninspired name for
509 the base class of all non-inset popups. (Eg, Document and Paragraph.)
510 ControlDialogs is reaching a state of maturity as several popups now use
511 it and its functionality becomes clear. ControlInset is still in a state
512 of flux. It is likely that functionality will be moved out of
513 ControlCommands and into it.
515 * GUI.h: new file. Moved all the template GUIXXX classes out of the
516 individual Controller header files and into one place. These classes
517 serve only as convenient wrappers to simplify code in the respective
518 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
520 * ControlCharacter.[Ch] (show, update, hide):
521 * ControlLog.[Ch] (show, update, hide):
522 * ControlVCLog.[Ch] (show, update, hide): moved back into
523 the ControlDialogs base class.
524 (setParams, clearParams): new methods containing controller-specific
525 code to set/reset the parameters manipulated by the view.
527 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
529 (hide): calls clearParams.
531 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
532 by ControlCommand::hide().
534 * ControlCopyright.[Ch]:
535 * ControlCredits.[Ch]: new files; controllers for the copyright and
536 credits popups, respectively.
538 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
540 * ControlCharacter.C: fix typo
542 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
544 * ControlCharacter.[Ch]: new files; controller for the character popup.
546 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
547 moved to new files helper_funcs.[Ch].
549 * helper_funcs.[Ch]: new files. Some useful helper functions and
552 * Makefile.am: added new files.
554 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
558 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
562 Control log files, respectively.
564 * Makefile.am: added new files.
566 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
570 * Makefile.am: added ControlBibtex.[Ch].
572 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlCitation.C: added "using SigC::slot" declaration.
577 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
578 to FormCitation.C prior to the merger: "Do not put space between
581 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
583 * several files: remove CXX_WORKING_NAMESPACES
585 * ButtonController.h: noncopyable is in namespace boost
586 * ButtonPolicies.h: ditto
588 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
590 * Merging changes from BRANCH_MVC back into HEAD.
592 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
594 * Makefile.am: add ControlBibitem.[Ch].
596 * ControlBibitem.[Ch]: new files that together define the Controller
599 * ControlCommand.h (c-tor): give kb_action a default value of
602 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
604 * ControlCitation.[Ch]: moved search functions out of class.
605 (bibkeysInfo): new method. Returns const reference to private data.
606 (searchKeys): added case-sensitive switch. Used only by simpleSearch
609 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
611 * ControlCitation.[Ch]: added Search functions to the class,
612 (shamelessly lifted from Marco's gnome code). I think that these would
613 be better as helper functions outside the class, but this is a first
616 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlCitation.[Ch]: (getBibkeyList): removed from class
620 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
621 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
622 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
623 implementation of FormCitation.
625 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
627 * ButtonPolicies.h: add SMI_NOOP to enum.
629 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
631 * ButtonController.C (input): add "optimising" if-statement. Actually,
632 things don't work correctly without it...
634 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
636 * ViewBase.h: remove #pragma directive
638 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
641 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
643 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
645 * Makefile.am: added ButtonPolicies.[Ch]
647 * ButtonController.[Ch]: ButtonController is split into
648 ButtonControllerBase and a template ButtonController class. The base
649 class no longer stores a pointer to a ButtonPolicy, but instead
650 accesses the actual instantiation of the policy through a pure virtual
651 method bp(). This method and the ButtonPolicy itself are instantiated
652 in the templatised ButtonController class. This class is derived from
653 the GUI-specific GUIBC class, meaning that the frontends know
654 nothing about the actual policy decided upon by the controllers.
656 * ControlBase.[Ch]: No longer store the View or the ButtonController.
657 Instead the actual instantiations are accessed through pure virtual
658 methods view() and bc(). The daughter classes are responsible for the
659 actual View and ButtonController.
661 * ControlCitation.h: the templatised class GUICitation instantiates
662 the methods view() and bc(). It also stores the instances of the
663 View and ButtonController.
665 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
667 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
668 also changed to ButtonController.
671 * ControlConnections.[Ch]:
672 * ControlCommand.[Ch]:
673 * ControlCitation.[Ch]:
674 * ViewBase.h: Changes associated with this.
676 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
678 * ButtonControllerBase.[Ch]: new files. Split Allan's original
679 xforms/ButtonController class into a GUI-I class (here) and an
680 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
682 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
683 from which all Dialog Controllers should be derived. the Controllers
684 are GUI-independent, but are designed to control the behaviour of
685 GUI-specific implementaions of each dialog.
687 * ControlConnections.[Ch]: new files. Classes controlling the
688 connections of buffer-independent, buffer-dependent and Inset dialogs
691 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
692 InsetCommand subset of insets.
694 * ControlCitation.[Ch]: new files. The test specialisation! A
695 controller for the Citation dialog.
697 * ViewBase.h: new file. ViewBase is an abstract base class from which
698 GUI-specific dialogs should be derived. The functionality that the GUIs
699 must now implement is much reduced.