1 2002-01-29 Herbert Voss <voss@lyx.org>
3 * ControlGraphic.[C]: added a button for document path
4 when browsing -> bug 222
6 2002-01-27 Herbert Voss <voss@lyx.org>
8 * ControlGraphic.[Ch]: added support for Bounding Box, other
11 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
14 * ControlTexinfo.h: added #include "LString.h" where they belong.
16 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
19 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
21 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
23 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
26 2002-01-20 Herbert Voss <voss@perce.de>
28 * ControlInclude.[Ch]: better control of unexistings files
29 when entered without the browser
31 * ControlGraphic.C (Browse): add extension "ps" when browsing for
34 2002-01-19 Herbert Voss <voss@perce.de>
36 * biblio.C (getInfo): fix bug when no author is given
38 * biblio.C (parseBibTeX): change the parsing, so that
39 '#'-characters in a bibtex entry are no more a problem.
41 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
43 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
44 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
46 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
48 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
50 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
52 * ControlExternal.C (Browse): add a std:: qualifier
54 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
56 * ControlExternal.C (Browse): simplify to use browseRelFile
58 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
60 * ButtonController.tmpl: added // -*- C++ -*-
62 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
63 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
64 Needed in _one_ of the ControlCommand-derived classes only.
66 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlSearch.h: #include LString.h
71 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
73 * ButtonController.h: split into two. The definition remains in
74 ButtonController.h, the declaration is now in ButtonController.tmpl.
75 These template methods should be #included when the derived class is
76 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
77 and in the qt2 and gnome equivalents.
79 * ControlDialogs.h: removed. The definition of class ControlDialog is
80 now to be found in ControlDialog.h and the declaration of the methods
81 is in ControlDialog.tmpl. The two template instantiations are performed
82 in ControlDialog_impl.[Ch], new files also.
84 * ControlInset.h: split into two. The definition remains in
85 ControlInset.h, the declaration is now in ControlInset.tmpl.
86 These template methods should be #included derived class is
87 instantiated, in this case in 8 other .C files in this directory.
89 * ControlAboutlyx.[Ch]:
90 * ControlCharacter.[Ch]:
100 * ControlPreamble.[Ch]:
102 * ControlSearch.[Ch]:
103 * ControlShowFile.[Ch]:
104 * ControlSpellchecker.[Ch]:
105 * ControlTabularCreate.[Ch]:
106 * ControlTexinfo.[Ch]:
107 * ControlThesaurus.[Ch]:
108 * ControlVCLog.[Ch]: small changes associated with the above ones.
110 * GUI.h: #include the ButtonController and dialog controller files
111 here, rather than forward declare them. This is the correct place
114 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
115 Rename ControlDialogs.h as ControlDialog.h.
116 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
119 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
123 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
125 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
128 * ControlGraphics.C (Browse): remove overzealous shortcut
130 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
132 * FormMinipage.C (apply, update): MinipageParams::width renamed
133 as MinipageParams::pageWidth. InsetMinipage::width renamed
134 as InsetMinipage::pageWidth.
136 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
138 * ButtonController.h (refreshReadOnly): use explicit typename
140 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
142 * helper_funcs.h (browseFile): add default empty button descriptions.
144 * ControlGraphics.C (Browse):
145 * ControlBibtex.C (Browse):
146 * ControlInclude.C (Browse): add shortcuts to directory buttons
148 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
150 * ControlThesaurus.h:
151 * ControlThesaurus.C: update to Aiksaurus 0.14
153 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
155 * ControlSpellchecker.C (clearParams): show the closing message
156 only if some words have been checked, thereby fixing
159 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
161 * ControlFloat.[Ch]: changes to prevent here definitely being used
164 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
166 * ControlThesaurus.h: do not include <config.h> in header files
168 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
170 * ControlToc.C: changes for floatlist
172 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
174 * ControlVCLog.C: use _()
176 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
178 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
181 2001-10-22 Juergen Vigna <jug@sad.it>
183 * ControlSpellchecker.C (clearParams): use the error_ message of the
184 speller_ if available when the spellchecker died.
185 (setParams): remove double error message display.
187 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
189 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
191 * helper_funcs.[Ch] (getLatexUnits): see above.
193 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * ControlTexinfo.C (getContents): use the right file for .sty files
197 2001-10-10 Herbert Voss <voss@perce.de>
199 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
200 and some more stuff from FormTexinfo.C
202 * ControlShowFile.C: hiding the update-button
204 2001-10-09 Herbert Voss <voss@perce.de>
206 * ControlTexinfo.[Ch]: new files. Display information about the
207 installed texfiles (cls,sty,bst).
209 * ControlShowFile.[Ch]: new files. Display the contents of a file.
211 * GUI.h: added classes GUIShowFile and GUITexinfo.
213 * Makefile.am: modified appropriately.
215 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * ControlAboutlyx.C (getVersion): use lyx_version and
218 lyx_release_date instead of old macros
220 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
222 * ControlSpellchecker.C (check): Behaves well now when the spell
223 library doesn't know a replacement to an incorrect word.
225 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
228 the correct place. Can now check spelling more than once!
230 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
232 * ControlSplash.[Ch]: removed.
234 * GUI.h: remove GUISplash class.
236 * ViewBase.h: remove ViewSplash class.
238 * Makefile.am: remove ControlSplash.[Ch].
240 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
242 * ControlButtons.h: add variable emergency_exit_. If set to true, the
243 view will be shut down.
246 * ControlInset.h: act on emergency_exit_.
248 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
249 speller fails to launch.
251 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
254 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
256 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlRef.h (disconnectOnApply): new method. Set to true.
259 Perhaps make this user-modifiable?
261 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
263 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
266 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
268 * ControlRef.C (getBufferList, getBufferNum): New methods
270 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
273 of the dialog when the Apply button is pressed. Defaults to false,
274 but can be overridden in the daughter classes.
276 * ControlCitation.h (disconnectOnApply): new method. Set to true.
277 Perhaps make this user-modifiable?
279 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
281 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
282 we have dialogs that update their contents when the buffer changes.
283 Rather embarassing, really!
285 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
287 * ControlSearch (replace): change semantics of replace to NOT move on
288 to the next instance of a word once the present instance has been
289 replaced unless we are replacing ALL instances of the word.
291 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
293 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
295 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
298 dialog, set all options to "reset", close the dialog, re-open it ->
299 the options are set incorrectly.
301 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
302 When Applying it's useful to know whether the dialog is about to close
303 or not (no point refreshing the display for example).
305 * ControlInset.C (apply): use isClosing.
307 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
310 * ControlDialogs.h: remove bc() hack, now fixed in
311 Qt2 frontend. use member dialog_built_ instead of shared
314 * ButtonController.h:
315 * ButtonPolicies.C: more debug info
317 * ButtonControllerBase.C: call refresh() when setting readOnly !
319 * GUI.h: External form has apply, use the right policy
321 * character.C: fix two off-by-one errors when latex font was removed
323 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
325 * ControlInset.h (apply): tentative fix for the press Apply multiple
326 times and get multiple new Insets problem.
328 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
330 * ControlCharacter.C: fix typo
334 * ControlInsets.C: make sure dialog is built before it is shown, so
335 it works properly the very first time it is shown
337 2001-08-20 Herbert Voss <voss@perce.de>
339 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
340 and styles. Added an option for "bibliography into toc"
342 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
344 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
345 LaTeX is no longer a font property.
347 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
349 * GUI.h: Button controller for Reference dialog changed to
350 NoRepeatedApplyReadOnlyPolicy.
352 * biblio.C (getInfo): output volume and number info. Move year to end
355 2001-08-09 Allan Rae <rae@lyx.org>
357 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
359 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
361 * helper_funcs.C (getVectorFromString): fixed small bug.
363 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
365 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
367 * ControlSpellchecker.C: check next word after insert in personal dict
369 2001-08-06 Juergen Vigna <jug@sad.it>
371 * ControlERT.[Ch]: new file
373 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlInset.h: const and non-const forms of params().
377 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
378 whitespace from either side of each item.
380 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
382 * ControlFloat.h: add a != operator for FloatParams.
383 Lars, how did you get this to compile!!!
385 * ControlMinipage.[Ch]: uncommented someone's commenting out of
386 operator != for MinipageParams. Who's changing stuff and not compiling?
388 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
390 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
393 * GUI.h: add class GUIFloat
395 * ControlFloat.[Ch]: new files
397 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * ControlPrint.C: #include Lassert.h here.
401 2001-07-26 Baruch Even <baruch@lyx.org>
403 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
406 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
408 * ControlThesaurus.h:
409 * ControlThesaurus.C:
411 * Makefile.am: thesaurus support
413 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
416 * ControlInclude.C: implement ability to load file
418 2001-07-18 Juergen Vigna <jug@sad.it>
420 * ControlSearch.C (replace): changes to lyxfind.h function calls.
422 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
424 * biblio.C (getInfo): add a .c_str() to handle the usual
427 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlCitation.[Ch]: changes associated with adding natbib support.
430 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
431 New static variable citeStyles_.
433 * biblio.[Ch]: large internal rearrangement.
434 New public enum CiteStyle.
435 New public struct CitationStyle.
436 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
437 getNumericalStrings, getAuthorYearStrings
438 (simpleSearch, regexSearch): no longer publicly accessible.
440 * helper_funcs.C (getStringFromVector): bug fix.
442 2001-07-16 Baruch Even <baruch@lyx.org>
444 * ControlVCLog.h: Added Lsstream.h to includes.
446 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlSpellchecker.[Ch]: remove d-tor.
450 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
452 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
454 2001-07-16 Juergen Vigna <jug@sad.it>
456 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
457 compiled with USE_PSPELL) to be able to switch between ISpell and
460 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
462 Consistent use of Lsstream.h:
463 * ControlAboutlyx.[Ch] (getCredits):
464 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
466 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
468 * ControlCredits.[Ch]: removed
469 * ControlCopyright.[Ch]: removed
470 * ControlAboutlyx.[Ch]: added (replaces previous)
471 * GUI.h: removed credits and copyright added about lyx stuff
473 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
475 * ControlSpellchecker.C (getSuggestion):
476 (getWord): add std:: qualifier
478 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
480 * ControlSpellchecker.[Ch]: added
481 * ViewBase.h: added partialUpdate(int) member
482 * GUI.h: added spell stuff
484 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * ControlExternal.C: (*it). -> it->
488 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
490 * ButtonController.h: move some included header files out of the
491 frontends and into here.
493 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
495 * ControlCharacter.C (c-tor): cosmetic name change of signal.
497 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
499 * *.[h]: added // -*- C++ -*-
500 * *.[C]: removed // -*- C++ -*-
502 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
503 activate Apply button.
504 (clearParams): removed.
505 font_ is now stored as a boost::scoped_ptr.
506 font_ is no longer deleted on hide(), so it's contents can now be used
507 by the Font button on the toolbar.
508 Lots of new methods so that the GUI can easily get the contents of
509 font_ when it update()s.
511 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
514 crash when the Font button on the Toolbar is pressed.
516 * GUI.h: change policy of Character button controller to
517 OkApplyCancelReadOnlyPolicy.
519 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
521 * ControlToc.C (getContents): don't add anything to the list if it
522 is supposed to be empty.
524 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
526 * helper_funcs.C (getVectorFromString): bug fix.
528 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
531 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
532 from ButtonControllerBase::readOnly. Updates the state of the widgets
533 in the read-only list only when the read-only status of the document
535 (refresh): moved this stuff into refreshReadOnly.
537 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlPrint.C (c-tor):
540 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
542 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
545 * character.h: small clean-ups.
547 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
549 * ControlToc.C (getType): remove support for old float list.
551 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
553 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
554 * ControlGraphics.h: no longer include insetgraphicsParams.h
555 * ControlInset.h: no longer include LyXView.h
560 * ControlCharacter.C:
563 * ControlConnections.C:
564 * ControlCopyright.C:
576 * ControlTabularCreate.C:
578 * ControlVCLog.C: they're now in here!
580 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * ButtonControllerBase.h: C++ mode, inherit privately from
584 * ButtonPolicies.h: ditto
586 * ButtonController.h: C++ mode, swap init order of restore_ and
589 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
591 * ControlTabularCreate.h:
592 * ControlTabularCreate.C: make dialogs use a pair of uints
596 * ControlVCLog.C: fill a stringstream with the log contents
599 * ControlExternal.C: from Angus, clone the new InsetExternal
602 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
604 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
605 and made more robust.
607 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * ControlCopyright.C: include gettext.h
618 * ControlCharacter.C:
619 * character.C: include gettext.h and language.h
621 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
623 * ButtonController.h:
624 * ButtonControllerBase.h:
625 * ButtonControllerBase.C:
632 * ControlConnections.h:
638 * ViewBase.h: s/ControlButton/ControlButtons/
640 s/UndoAll/Restore/ + associated
642 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
644 * ControlToc.[Ch]: new files; a controller for the TOC popup.
647 * Makefile.am: associated changes with all of the above.
649 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
651 * ControlExternal.C: bug fixes. Can now apply changes to the inset
652 and edit, view, update the External Material correctly. I hope!
654 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
656 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
658 * BCTemplates.h: renamed as ButtonController.h
660 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
663 * ControlConnections.h: associated change in #include and class names.
665 * ControlExternal.[Ch]: new files; a controller for the External
669 * Makefile.am: associated changes with all of the above.
671 * ControlGraphics.[Ch]:
672 * ControlInclude.[Ch]:
675 (Browse): new method. Returns the results of a FileDialog browse.
677 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
678 (getVectorFromString): fixed bug.
680 * biblio.C (simpleSearch): cleaned up.
682 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
684 * A slight reworking of Baruch Even's ButtonController patch.
686 * BCTemplates.h: new file; all the templates for the ButtonController.
687 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
688 to the more generic setButtonLabel().
690 * ButtonController.[Ch]: renamed cancel_label and close_label as
691 cancel_label_ and close_label_.
693 * Makefile.am: added BCTemplates.h
695 2001-03-29 Juergen Vigna <jug@sad.it>
697 * ControlMinipage.C: removed widthp_ and all it's functions and changed
698 to use new %-lengths of LyXLength.
700 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
702 * ControlCitation.C (bibkeysInfo): removed Assert.
704 * ControlCopyright.h: moved GUICopyright into GUI.h
708 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
710 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
711 (setDaughterParams): a (by default empty) new method called in show().
720 * ControlUrl.h (clearDaughterParams): removed
722 * ControlMinipage.C (applyParamsToInset): update the view.
723 Added namespace minipage containing a helper function getUnits.
725 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
727 * ControlCharacter.[Ch]: moved out all the helper functions and the
728 enum into their own file.
729 * character.[Ch]: new files; contain the character helper functions,
730 now inside namespace character.
732 * ControlCitation.[Ch]: moved out all the helper functions and the
733 enums into their own file. Simplified interface.
734 * biblio.[Ch]: new files; contain the citation helper functions,
735 now inside namespace biblio. Will be of use also to an improved
738 * ControlGraphics.[Ch]:
739 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
740 popups, respectively.
743 * Makefile.am: associated changes.
745 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlMinipage.[Ch]:
748 * ControlPreamble.[Ch]:
750 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
751 and Print popups and Splash screen, respectively.
753 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
757 * Makefile.am: associated changes.
759 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
761 * ControlConnections.[Ch]: (docType): new method; returns the type
762 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
765 * ControlSearch.[Ch]:
766 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
767 Search and TabularCreate popups, respectively.
770 * Makefile.am: associated changes.
772 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
777 * ControlInset.h (apply): fix bug. Can now create new insets again.
779 * README: describe program flow.
781 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
783 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
785 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
787 * ControlDialogs.h: moved class ControlInset into its own file.
789 * ControlInset.h: new file. class ControlInset has been expanded to take
790 two template parameters, Inset and Params. Believe that all inset
791 controllers can be derived from this with the minimum of effort.
793 * ControlBibitem.[Ch]:
794 * ControlBibtex.[Ch]:
795 * ControlCitation.[Ch]:
796 * ControlCommand.[Ch]: moved most code into ControlInset.
798 * lots of files. Moved protected stuff into private where possible.
801 * ControlInclude.[Ch]:
802 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
803 Include and Url popups, respectively.
806 * Makefile.am: associated changes.
808 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
810 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
813 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
815 * ControlCredits.C (getCredits): remove std:: qualifier for
818 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
820 * ControlCredits.C (getCredits): add std:: on vector
822 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
824 * ControlCredits.C: remove using that is only used once, use
825 std::ios instead of std::iosbase, add some annoying comments.
827 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
829 * lots of header files: improved explanatory notes.
831 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
832 ControlBase is now a class that only controls the interaction of the
833 View with the ButtonController.
835 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
836 to ControlConnectBase. The class controls the connection/disconnection
837 of signals from the LyX kernel and makes available the kernel (through
838 lv_) to daughter controller classes.
839 Moved out class ControlConnectInset to a new file ControlDialogs.h.
841 * ControlDialogs.h: new file. Contains the definition of two template
842 controller classes, ControlDialog and ControlInset (was
843 ControlConnectInset). ControlInset is a parent class for controllers
844 of inset-popups. ControlDialogs is the rather uninspired name for
845 the base class of all non-inset popups. (Eg, Document and Paragraph.)
846 ControlDialogs is reaching a state of maturity as several popups now use
847 it and its functionality becomes clear. ControlInset is still in a state
848 of flux. It is likely that functionality will be moved out of
849 ControlCommands and into it.
851 * GUI.h: new file. Moved all the template GUIXXX classes out of the
852 individual Controller header files and into one place. These classes
853 serve only as convenient wrappers to simplify code in the respective
854 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
856 * ControlCharacter.[Ch] (show, update, hide):
857 * ControlLog.[Ch] (show, update, hide):
858 * ControlVCLog.[Ch] (show, update, hide): moved back into
859 the ControlDialogs base class.
860 (setParams, clearParams): new methods containing controller-specific
861 code to set/reset the parameters manipulated by the view.
863 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
865 (hide): calls clearParams.
867 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
868 by ControlCommand::hide().
870 * ControlCopyright.[Ch]:
871 * ControlCredits.[Ch]: new files; controllers for the copyright and
872 credits popups, respectively.
874 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
876 * ControlCharacter.C: fix typo
878 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
880 * ControlCharacter.[Ch]: new files; controller for the character popup.
882 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
883 moved to new files helper_funcs.[Ch].
885 * helper_funcs.[Ch]: new files. Some useful helper functions and
888 * Makefile.am: added new files.
890 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
892 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
894 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
897 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
898 Control log files, respectively.
900 * Makefile.am: added new files.
902 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
906 * Makefile.am: added ControlBibtex.[Ch].
908 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlCitation.C: added "using SigC::slot" declaration.
913 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
914 to FormCitation.C prior to the merger: "Do not put space between
917 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
919 * several files: remove CXX_WORKING_NAMESPACES
921 * ButtonController.h: noncopyable is in namespace boost
922 * ButtonPolicies.h: ditto
924 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
926 * Merging changes from BRANCH_MVC back into HEAD.
928 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
930 * Makefile.am: add ControlBibitem.[Ch].
932 * ControlBibitem.[Ch]: new files that together define the Controller
935 * ControlCommand.h (c-tor): give kb_action a default value of
938 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
940 * ControlCitation.[Ch]: moved search functions out of class.
941 (bibkeysInfo): new method. Returns const reference to private data.
942 (searchKeys): added case-sensitive switch. Used only by simpleSearch
945 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
947 * ControlCitation.[Ch]: added Search functions to the class,
948 (shamelessly lifted from Marco's gnome code). I think that these would
949 be better as helper functions outside the class, but this is a first
952 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlCitation.[Ch]: (getBibkeyList): removed from class
956 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
957 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
958 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
959 implementation of FormCitation.
961 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
963 * ButtonPolicies.h: add SMI_NOOP to enum.
965 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
967 * ButtonController.C (input): add "optimising" if-statement. Actually,
968 things don't work correctly without it...
970 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
972 * ViewBase.h: remove #pragma directive
974 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
977 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
979 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
981 * Makefile.am: added ButtonPolicies.[Ch]
983 * ButtonController.[Ch]: ButtonController is split into
984 ButtonControllerBase and a template ButtonController class. The base
985 class no longer stores a pointer to a ButtonPolicy, but instead
986 accesses the actual instantiation of the policy through a pure virtual
987 method bp(). This method and the ButtonPolicy itself are instantiated
988 in the templatised ButtonController class. This class is derived from
989 the GUI-specific GUIBC class, meaning that the frontends know
990 nothing about the actual policy decided upon by the controllers.
992 * ControlBase.[Ch]: No longer store the View or the ButtonController.
993 Instead the actual instantiations are accessed through pure virtual
994 methods view() and bc(). The daughter classes are responsible for the
995 actual View and ButtonController.
997 * ControlCitation.h: the templatised class GUICitation instantiates
998 the methods view() and bc(). It also stores the instances of the
999 View and ButtonController.
1001 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1004 also changed to ButtonController.
1007 * ControlConnections.[Ch]:
1008 * ControlCommand.[Ch]:
1009 * ControlCitation.[Ch]:
1010 * ViewBase.h: Changes associated with this.
1012 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1015 xforms/ButtonController class into a GUI-I class (here) and an
1016 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1018 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1019 from which all Dialog Controllers should be derived. the Controllers
1020 are GUI-independent, but are designed to control the behaviour of
1021 GUI-specific implementaions of each dialog.
1023 * ControlConnections.[Ch]: new files. Classes controlling the
1024 connections of buffer-independent, buffer-dependent and Inset dialogs
1025 with the LyX kernel.
1027 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1028 InsetCommand subset of insets.
1030 * ControlCitation.[Ch]: new files. The test specialisation! A
1031 controller for the Citation dialog.
1033 * ViewBase.h: new file. ViewBase is an abstract base class from which
1034 GUI-specific dialogs should be derived. The functionality that the GUIs
1035 must now implement is much reduced.