1 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
4 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
6 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
8 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
11 2002-01-20 Herbert Voss <voss@perce.de>
13 * ControlInclude.[Ch]: better control of unexistings files
14 when entered without the browser
16 * ControlGraphic.C (Browse): add extension "ps" when browsing for
19 2002-01-19 Herbert Voss <voss@perce.de>
21 * biblio.C (getInfo): fix bug when no author is given
23 * biblio.C (parseBibTeX): change the parsing, so that
24 '#'-characters in a bibtex entry are no more a problem.
26 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
28 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
29 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
31 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
33 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
35 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
37 * ControlExternal.C (Browse): add a std:: qualifier
39 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
41 * ControlExternal.C (Browse): simplify to use browseRelFile
43 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
45 * ButtonController.tmpl: added // -*- C++ -*-
47 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
48 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
49 Needed in _one_ of the ControlCommand-derived classes only.
51 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlSearch.h: #include LString.h
56 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
58 * ButtonController.h: split into two. The definition remains in
59 ButtonController.h, the declaration is now in ButtonController.tmpl.
60 These template methods should be #included when the derived class is
61 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
62 and in the qt2 and gnome equivalents.
64 * ControlDialogs.h: removed. The definition of class ControlDialog is
65 now to be found in ControlDialog.h and the declaration of the methods
66 is in ControlDialog.tmpl. The two template instantiations are performed
67 in ControlDialog_impl.[Ch], new files also.
69 * ControlInset.h: split into two. The definition remains in
70 ControlInset.h, the declaration is now in ControlInset.tmpl.
71 These template methods should be #included derived class is
72 instantiated, in this case in 8 other .C files in this directory.
74 * ControlAboutlyx.[Ch]:
75 * ControlCharacter.[Ch]:
85 * ControlPreamble.[Ch]:
88 * ControlShowFile.[Ch]:
89 * ControlSpellchecker.[Ch]:
90 * ControlTabularCreate.[Ch]:
91 * ControlTexinfo.[Ch]:
92 * ControlThesaurus.[Ch]:
93 * ControlVCLog.[Ch]: small changes associated with the above ones.
95 * GUI.h: #include the ButtonController and dialog controller files
96 here, rather than forward declare them. This is the correct place
99 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
100 Rename ControlDialogs.h as ControlDialog.h.
101 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
104 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
108 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
110 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
113 * ControlGraphics.C (Browse): remove overzealous shortcut
115 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
117 * FormMinipage.C (apply, update): MinipageParams::width renamed
118 as MinipageParams::pageWidth. InsetMinipage::width renamed
119 as InsetMinipage::pageWidth.
121 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * ButtonController.h (refreshReadOnly): use explicit typename
125 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
127 * helper_funcs.h (browseFile): add default empty button descriptions.
129 * ControlGraphics.C (Browse):
130 * ControlBibtex.C (Browse):
131 * ControlInclude.C (Browse): add shortcuts to directory buttons
133 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
135 * ControlThesaurus.h:
136 * ControlThesaurus.C: update to Aiksaurus 0.14
138 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
140 * ControlSpellchecker.C (clearParams): show the closing message
141 only if some words have been checked, thereby fixing
144 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
146 * ControlFloat.[Ch]: changes to prevent here definitely being used
149 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
151 * ControlThesaurus.h: do not include <config.h> in header files
153 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
155 * ControlToc.C: changes for floatlist
157 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
159 * ControlVCLog.C: use _()
161 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
166 2001-10-22 Juergen Vigna <jug@sad.it>
168 * ControlSpellchecker.C (clearParams): use the error_ message of the
169 speller_ if available when the spellchecker died.
170 (setParams): remove double error message display.
172 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
176 * helper_funcs.[Ch] (getLatexUnits): see above.
178 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
180 * ControlTexinfo.C (getContents): use the right file for .sty files
182 2001-10-10 Herbert Voss <voss@perce.de>
184 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
185 and some more stuff from FormTexinfo.C
187 * ControlShowFile.C: hiding the update-button
189 2001-10-09 Herbert Voss <voss@perce.de>
191 * ControlTexinfo.[Ch]: new files. Display information about the
192 installed texfiles (cls,sty,bst).
194 * ControlShowFile.[Ch]: new files. Display the contents of a file.
196 * GUI.h: added classes GUIShowFile and GUITexinfo.
198 * Makefile.am: modified appropriately.
200 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
202 * ControlAboutlyx.C (getVersion): use lyx_version and
203 lyx_release_date instead of old macros
205 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlSpellchecker.C (check): Behaves well now when the spell
208 library doesn't know a replacement to an incorrect word.
210 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
212 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
213 the correct place. Can now check spelling more than once!
215 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlSplash.[Ch]: removed.
219 * GUI.h: remove GUISplash class.
221 * ViewBase.h: remove ViewSplash class.
223 * Makefile.am: remove ControlSplash.[Ch].
225 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlButtons.h: add variable emergency_exit_. If set to true, the
228 view will be shut down.
231 * ControlInset.h: act on emergency_exit_.
233 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
234 speller fails to launch.
236 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
238 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
239 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
241 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
243 * ControlRef.h (disconnectOnApply): new method. Set to true.
244 Perhaps make this user-modifiable?
246 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
248 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
251 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
253 * ControlRef.C (getBufferList, getBufferNum): New methods
255 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
257 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
258 of the dialog when the Apply button is pressed. Defaults to false,
259 but can be overridden in the daughter classes.
261 * ControlCitation.h (disconnectOnApply): new method. Set to true.
262 Perhaps make this user-modifiable?
264 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
266 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
267 we have dialogs that update their contents when the buffer changes.
268 Rather embarassing, really!
270 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlSearch (replace): change semantics of replace to NOT move on
273 to the next instance of a word once the present instance has been
274 replaced unless we are replacing ALL instances of the word.
276 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
278 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
280 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
282 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
283 dialog, set all options to "reset", close the dialog, re-open it ->
284 the options are set incorrectly.
286 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
287 When Applying it's useful to know whether the dialog is about to close
288 or not (no point refreshing the display for example).
290 * ControlInset.C (apply): use isClosing.
292 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
295 * ControlDialogs.h: remove bc() hack, now fixed in
296 Qt2 frontend. use member dialog_built_ instead of shared
299 * ButtonController.h:
300 * ButtonPolicies.C: more debug info
302 * ButtonControllerBase.C: call refresh() when setting readOnly !
304 * GUI.h: External form has apply, use the right policy
306 * character.C: fix two off-by-one errors when latex font was removed
308 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
310 * ControlInset.h (apply): tentative fix for the press Apply multiple
311 times and get multiple new Insets problem.
313 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
315 * ControlCharacter.C: fix typo
319 * ControlInsets.C: make sure dialog is built before it is shown, so
320 it works properly the very first time it is shown
322 2001-08-20 Herbert Voss <voss@perce.de>
324 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
325 and styles. Added an option for "bibliography into toc"
327 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
329 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
330 LaTeX is no longer a font property.
332 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
334 * GUI.h: Button controller for Reference dialog changed to
335 NoRepeatedApplyReadOnlyPolicy.
337 * biblio.C (getInfo): output volume and number info. Move year to end
340 2001-08-09 Allan Rae <rae@lyx.org>
342 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
344 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
346 * helper_funcs.C (getVectorFromString): fixed small bug.
348 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
350 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
352 * ControlSpellchecker.C: check next word after insert in personal dict
354 2001-08-06 Juergen Vigna <jug@sad.it>
356 * ControlERT.[Ch]: new file
358 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlInset.h: const and non-const forms of params().
362 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
363 whitespace from either side of each item.
365 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
367 * ControlFloat.h: add a != operator for FloatParams.
368 Lars, how did you get this to compile!!!
370 * ControlMinipage.[Ch]: uncommented someone's commenting out of
371 operator != for MinipageParams. Who's changing stuff and not compiling?
373 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
378 * GUI.h: add class GUIFloat
380 * ControlFloat.[Ch]: new files
382 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
384 * ControlPrint.C: #include Lassert.h here.
386 2001-07-26 Baruch Even <baruch@lyx.org>
388 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
391 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
393 * ControlThesaurus.h:
394 * ControlThesaurus.C:
396 * Makefile.am: thesaurus support
398 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
401 * ControlInclude.C: implement ability to load file
403 2001-07-18 Juergen Vigna <jug@sad.it>
405 * ControlSearch.C (replace): changes to lyxfind.h function calls.
407 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
409 * biblio.C (getInfo): add a .c_str() to handle the usual
412 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
414 * ControlCitation.[Ch]: changes associated with adding natbib support.
415 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
416 New static variable citeStyles_.
418 * biblio.[Ch]: large internal rearrangement.
419 New public enum CiteStyle.
420 New public struct CitationStyle.
421 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
422 getNumericalStrings, getAuthorYearStrings
423 (simpleSearch, regexSearch): no longer publicly accessible.
425 * helper_funcs.C (getStringFromVector): bug fix.
427 2001-07-16 Baruch Even <baruch@lyx.org>
429 * ControlVCLog.h: Added Lsstream.h to includes.
431 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
433 * ControlSpellchecker.[Ch]: remove d-tor.
435 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
437 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
439 2001-07-16 Juergen Vigna <jug@sad.it>
441 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
442 compiled with USE_PSPELL) to be able to switch between ISpell and
445 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
447 Consistent use of Lsstream.h:
448 * ControlAboutlyx.[Ch] (getCredits):
449 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
451 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
453 * ControlCredits.[Ch]: removed
454 * ControlCopyright.[Ch]: removed
455 * ControlAboutlyx.[Ch]: added (replaces previous)
456 * GUI.h: removed credits and copyright added about lyx stuff
458 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
460 * ControlSpellchecker.C (getSuggestion):
461 (getWord): add std:: qualifier
463 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
465 * ControlSpellchecker.[Ch]: added
466 * ViewBase.h: added partialUpdate(int) member
467 * GUI.h: added spell stuff
469 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
471 * ControlExternal.C: (*it). -> it->
473 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
475 * ButtonController.h: move some included header files out of the
476 frontends and into here.
478 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
480 * ControlCharacter.C (c-tor): cosmetic name change of signal.
482 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
484 * *.[h]: added // -*- C++ -*-
485 * *.[C]: removed // -*- C++ -*-
487 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
488 activate Apply button.
489 (clearParams): removed.
490 font_ is now stored as a boost::scoped_ptr.
491 font_ is no longer deleted on hide(), so it's contents can now be used
492 by the Font button on the toolbar.
493 Lots of new methods so that the GUI can easily get the contents of
494 font_ when it update()s.
496 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
498 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
499 crash when the Font button on the Toolbar is pressed.
501 * GUI.h: change policy of Character button controller to
502 OkApplyCancelReadOnlyPolicy.
504 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
506 * ControlToc.C (getContents): don't add anything to the list if it
507 is supposed to be empty.
509 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
511 * helper_funcs.C (getVectorFromString): bug fix.
513 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
516 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
517 from ButtonControllerBase::readOnly. Updates the state of the widgets
518 in the read-only list only when the read-only status of the document
520 (refresh): moved this stuff into refreshReadOnly.
522 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
524 * ControlPrint.C (c-tor):
525 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
527 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
530 * character.h: small clean-ups.
532 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * ControlToc.C (getType): remove support for old float list.
536 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
538 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
539 * ControlGraphics.h: no longer include insetgraphicsParams.h
540 * ControlInset.h: no longer include LyXView.h
545 * ControlCharacter.C:
548 * ControlConnections.C:
549 * ControlCopyright.C:
561 * ControlTabularCreate.C:
563 * ControlVCLog.C: they're now in here!
565 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
567 * ButtonControllerBase.h: C++ mode, inherit privately from
569 * ButtonPolicies.h: ditto
571 * ButtonController.h: C++ mode, swap init order of restore_ and
574 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
576 * ControlTabularCreate.h:
577 * ControlTabularCreate.C: make dialogs use a pair of uints
581 * ControlVCLog.C: fill a stringstream with the log contents
584 * ControlExternal.C: from Angus, clone the new InsetExternal
587 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
589 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
590 and made more robust.
592 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
601 * ControlCopyright.C: include gettext.h
603 * ControlCharacter.C:
604 * character.C: include gettext.h and language.h
606 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
608 * ButtonController.h:
609 * ButtonControllerBase.h:
610 * ButtonControllerBase.C:
617 * ControlConnections.h:
623 * ViewBase.h: s/ControlButton/ControlButtons/
625 s/UndoAll/Restore/ + associated
627 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
629 * ControlToc.[Ch]: new files; a controller for the TOC popup.
632 * Makefile.am: associated changes with all of the above.
634 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
636 * ControlExternal.C: bug fixes. Can now apply changes to the inset
637 and edit, view, update the External Material correctly. I hope!
639 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
641 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
643 * BCTemplates.h: renamed as ButtonController.h
645 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
648 * ControlConnections.h: associated change in #include and class names.
650 * ControlExternal.[Ch]: new files; a controller for the External
654 * Makefile.am: associated changes with all of the above.
656 * ControlGraphics.[Ch]:
657 * ControlInclude.[Ch]:
660 (Browse): new method. Returns the results of a FileDialog browse.
662 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
663 (getVectorFromString): fixed bug.
665 * biblio.C (simpleSearch): cleaned up.
667 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
669 * A slight reworking of Baruch Even's ButtonController patch.
671 * BCTemplates.h: new file; all the templates for the ButtonController.
672 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
673 to the more generic setButtonLabel().
675 * ButtonController.[Ch]: renamed cancel_label and close_label as
676 cancel_label_ and close_label_.
678 * Makefile.am: added BCTemplates.h
680 2001-03-29 Juergen Vigna <jug@sad.it>
682 * ControlMinipage.C: removed widthp_ and all it's functions and changed
683 to use new %-lengths of LyXLength.
685 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
687 * ControlCitation.C (bibkeysInfo): removed Assert.
689 * ControlCopyright.h: moved GUICopyright into GUI.h
693 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
695 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
696 (setDaughterParams): a (by default empty) new method called in show().
705 * ControlUrl.h (clearDaughterParams): removed
707 * ControlMinipage.C (applyParamsToInset): update the view.
708 Added namespace minipage containing a helper function getUnits.
710 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
712 * ControlCharacter.[Ch]: moved out all the helper functions and the
713 enum into their own file.
714 * character.[Ch]: new files; contain the character helper functions,
715 now inside namespace character.
717 * ControlCitation.[Ch]: moved out all the helper functions and the
718 enums into their own file. Simplified interface.
719 * biblio.[Ch]: new files; contain the citation helper functions,
720 now inside namespace biblio. Will be of use also to an improved
723 * ControlGraphics.[Ch]:
724 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
725 popups, respectively.
728 * Makefile.am: associated changes.
730 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
732 * ControlMinipage.[Ch]:
733 * ControlPreamble.[Ch]:
735 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
736 and Print popups and Splash screen, respectively.
738 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
742 * Makefile.am: associated changes.
744 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
746 * ControlConnections.[Ch]: (docType): new method; returns the type
747 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
750 * ControlSearch.[Ch]:
751 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
752 Search and TabularCreate popups, respectively.
755 * Makefile.am: associated changes.
757 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
759 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
762 * ControlInset.h (apply): fix bug. Can now create new insets again.
764 * README: describe program flow.
766 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
768 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
770 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
772 * ControlDialogs.h: moved class ControlInset into its own file.
774 * ControlInset.h: new file. class ControlInset has been expanded to take
775 two template parameters, Inset and Params. Believe that all inset
776 controllers can be derived from this with the minimum of effort.
778 * ControlBibitem.[Ch]:
779 * ControlBibtex.[Ch]:
780 * ControlCitation.[Ch]:
781 * ControlCommand.[Ch]: moved most code into ControlInset.
783 * lots of files. Moved protected stuff into private where possible.
786 * ControlInclude.[Ch]:
787 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
788 Include and Url popups, respectively.
791 * Makefile.am: associated changes.
793 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
795 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
798 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
800 * ControlCredits.C (getCredits): remove std:: qualifier for
803 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
805 * ControlCredits.C (getCredits): add std:: on vector
807 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
809 * ControlCredits.C: remove using that is only used once, use
810 std::ios instead of std::iosbase, add some annoying comments.
812 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
814 * lots of header files: improved explanatory notes.
816 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
817 ControlBase is now a class that only controls the interaction of the
818 View with the ButtonController.
820 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
821 to ControlConnectBase. The class controls the connection/disconnection
822 of signals from the LyX kernel and makes available the kernel (through
823 lv_) to daughter controller classes.
824 Moved out class ControlConnectInset to a new file ControlDialogs.h.
826 * ControlDialogs.h: new file. Contains the definition of two template
827 controller classes, ControlDialog and ControlInset (was
828 ControlConnectInset). ControlInset is a parent class for controllers
829 of inset-popups. ControlDialogs is the rather uninspired name for
830 the base class of all non-inset popups. (Eg, Document and Paragraph.)
831 ControlDialogs is reaching a state of maturity as several popups now use
832 it and its functionality becomes clear. ControlInset is still in a state
833 of flux. It is likely that functionality will be moved out of
834 ControlCommands and into it.
836 * GUI.h: new file. Moved all the template GUIXXX classes out of the
837 individual Controller header files and into one place. These classes
838 serve only as convenient wrappers to simplify code in the respective
839 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
841 * ControlCharacter.[Ch] (show, update, hide):
842 * ControlLog.[Ch] (show, update, hide):
843 * ControlVCLog.[Ch] (show, update, hide): moved back into
844 the ControlDialogs base class.
845 (setParams, clearParams): new methods containing controller-specific
846 code to set/reset the parameters manipulated by the view.
848 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
850 (hide): calls clearParams.
852 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
853 by ControlCommand::hide().
855 * ControlCopyright.[Ch]:
856 * ControlCredits.[Ch]: new files; controllers for the copyright and
857 credits popups, respectively.
859 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
861 * ControlCharacter.C: fix typo
863 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
865 * ControlCharacter.[Ch]: new files; controller for the character popup.
867 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
868 moved to new files helper_funcs.[Ch].
870 * helper_funcs.[Ch]: new files. Some useful helper functions and
873 * Makefile.am: added new files.
875 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
877 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
879 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
882 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
883 Control log files, respectively.
885 * Makefile.am: added new files.
887 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
889 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
891 * Makefile.am: added ControlBibtex.[Ch].
893 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
896 * ControlCitation.C: added "using SigC::slot" declaration.
898 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
899 to FormCitation.C prior to the merger: "Do not put space between
902 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
904 * several files: remove CXX_WORKING_NAMESPACES
906 * ButtonController.h: noncopyable is in namespace boost
907 * ButtonPolicies.h: ditto
909 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
911 * Merging changes from BRANCH_MVC back into HEAD.
913 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
915 * Makefile.am: add ControlBibitem.[Ch].
917 * ControlBibitem.[Ch]: new files that together define the Controller
920 * ControlCommand.h (c-tor): give kb_action a default value of
923 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
925 * ControlCitation.[Ch]: moved search functions out of class.
926 (bibkeysInfo): new method. Returns const reference to private data.
927 (searchKeys): added case-sensitive switch. Used only by simpleSearch
930 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlCitation.[Ch]: added Search functions to the class,
933 (shamelessly lifted from Marco's gnome code). I think that these would
934 be better as helper functions outside the class, but this is a first
937 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
939 * ControlCitation.[Ch]: (getBibkeyList): removed from class
941 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
942 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
943 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
944 implementation of FormCitation.
946 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
948 * ButtonPolicies.h: add SMI_NOOP to enum.
950 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
952 * ButtonController.C (input): add "optimising" if-statement. Actually,
953 things don't work correctly without it...
955 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
957 * ViewBase.h: remove #pragma directive
959 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
962 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
964 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
966 * Makefile.am: added ButtonPolicies.[Ch]
968 * ButtonController.[Ch]: ButtonController is split into
969 ButtonControllerBase and a template ButtonController class. The base
970 class no longer stores a pointer to a ButtonPolicy, but instead
971 accesses the actual instantiation of the policy through a pure virtual
972 method bp(). This method and the ButtonPolicy itself are instantiated
973 in the templatised ButtonController class. This class is derived from
974 the GUI-specific GUIBC class, meaning that the frontends know
975 nothing about the actual policy decided upon by the controllers.
977 * ControlBase.[Ch]: No longer store the View or the ButtonController.
978 Instead the actual instantiations are accessed through pure virtual
979 methods view() and bc(). The daughter classes are responsible for the
980 actual View and ButtonController.
982 * ControlCitation.h: the templatised class GUICitation instantiates
983 the methods view() and bc(). It also stores the instances of the
984 View and ButtonController.
986 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
988 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
989 also changed to ButtonController.
992 * ControlConnections.[Ch]:
993 * ControlCommand.[Ch]:
994 * ControlCitation.[Ch]:
995 * ViewBase.h: Changes associated with this.
997 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
999 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1000 xforms/ButtonController class into a GUI-I class (here) and an
1001 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1003 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1004 from which all Dialog Controllers should be derived. the Controllers
1005 are GUI-independent, but are designed to control the behaviour of
1006 GUI-specific implementaions of each dialog.
1008 * ControlConnections.[Ch]: new files. Classes controlling the
1009 connections of buffer-independent, buffer-dependent and Inset dialogs
1010 with the LyX kernel.
1012 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1013 InsetCommand subset of insets.
1015 * ControlCitation.[Ch]: new files. The test specialisation! A
1016 controller for the Citation dialog.
1018 * ViewBase.h: new file. ViewBase is an abstract base class from which
1019 GUI-specific dialogs should be derived. The functionality that the GUIs
1020 must now implement is much reduced.