1 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
6 change Systemcalls::System to Systemcalls::Wait and
7 No change of functionality, just reflects the stripped down Systemcalls
10 2002-02-06 Herbert Voss <voss@lyx.org>
12 * ControlGraphics.[C] (readBB): search also in
13 g'zipped files. If it is useful than PK and compress
14 should also be supported. use unzipFile() from
17 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * ControlRef.C (getBufferName): new method to get a real buffer
22 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
24 * ControlTexInfo.[Ch]: Removed Help functions.
26 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
28 * ControlSpellchecker.C: clear any selection left
31 2002-02-01 Herbert Voss <voss@lyx.org>
33 * ControlGraphics.[C] (readBB): search only, if it is a
34 ".?ps" file and look for bb's at end of file
36 2002-01-30 Herbert Voss <voss@lyx.org>
38 * ControlGraphic.[C]: do not search the whole file, when
41 2002-01-29 Herbert Voss <voss@lyx.org>
43 * ControlGraphic.[C]: added a button for document path
44 when browsing -> bug 222
46 2002-01-27 Herbert Voss <voss@lyx.org>
48 * ControlGraphic.[Ch]: added support for Bounding Box, other
51 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlTexinfo.h: added #include "LString.h" where they belong.
56 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
59 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
61 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
63 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
66 2002-01-20 Herbert Voss <voss@perce.de>
68 * ControlInclude.[Ch]: better control of unexistings files
69 when entered without the browser
71 * ControlGraphic.C (Browse): add extension "ps" when browsing for
74 2002-01-19 Herbert Voss <voss@perce.de>
76 * biblio.C (getInfo): fix bug when no author is given
78 * biblio.C (parseBibTeX): change the parsing, so that
79 '#'-characters in a bibtex entry are no more a problem.
81 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
83 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
84 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
86 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
88 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
90 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
92 * ControlExternal.C (Browse): add a std:: qualifier
94 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
96 * ControlExternal.C (Browse): simplify to use browseRelFile
98 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
100 * ButtonController.tmpl: added // -*- C++ -*-
102 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
103 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
104 Needed in _one_ of the ControlCommand-derived classes only.
106 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlSearch.h: #include LString.h
111 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
113 * ButtonController.h: split into two. The definition remains in
114 ButtonController.h, the declaration is now in ButtonController.tmpl.
115 These template methods should be #included when the derived class is
116 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
117 and in the qt2 and gnome equivalents.
119 * ControlDialogs.h: removed. The definition of class ControlDialog is
120 now to be found in ControlDialog.h and the declaration of the methods
121 is in ControlDialog.tmpl. The two template instantiations are performed
122 in ControlDialog_impl.[Ch], new files also.
124 * ControlInset.h: split into two. The definition remains in
125 ControlInset.h, the declaration is now in ControlInset.tmpl.
126 These template methods should be #included derived class is
127 instantiated, in this case in 8 other .C files in this directory.
129 * ControlAboutlyx.[Ch]:
130 * ControlCharacter.[Ch]:
140 * ControlPreamble.[Ch]:
142 * ControlSearch.[Ch]:
143 * ControlShowFile.[Ch]:
144 * ControlSpellchecker.[Ch]:
145 * ControlTabularCreate.[Ch]:
146 * ControlTexinfo.[Ch]:
147 * ControlThesaurus.[Ch]:
148 * ControlVCLog.[Ch]: small changes associated with the above ones.
150 * GUI.h: #include the ButtonController and dialog controller files
151 here, rather than forward declare them. This is the correct place
154 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
155 Rename ControlDialogs.h as ControlDialog.h.
156 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
159 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
161 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
163 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
165 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
168 * ControlGraphics.C (Browse): remove overzealous shortcut
170 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
172 * FormMinipage.C (apply, update): MinipageParams::width renamed
173 as MinipageParams::pageWidth. InsetMinipage::width renamed
174 as InsetMinipage::pageWidth.
176 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * ButtonController.h (refreshReadOnly): use explicit typename
180 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
182 * helper_funcs.h (browseFile): add default empty button descriptions.
184 * ControlGraphics.C (Browse):
185 * ControlBibtex.C (Browse):
186 * ControlInclude.C (Browse): add shortcuts to directory buttons
188 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
190 * ControlThesaurus.h:
191 * ControlThesaurus.C: update to Aiksaurus 0.14
193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
195 * ControlSpellchecker.C (clearParams): show the closing message
196 only if some words have been checked, thereby fixing
199 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
201 * ControlFloat.[Ch]: changes to prevent here definitely being used
204 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
206 * ControlThesaurus.h: do not include <config.h> in header files
208 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
210 * ControlToc.C: changes for floatlist
212 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
214 * ControlVCLog.C: use _()
216 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
218 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
221 2001-10-22 Juergen Vigna <jug@sad.it>
223 * ControlSpellchecker.C (clearParams): use the error_ message of the
224 speller_ if available when the spellchecker died.
225 (setParams): remove double error message display.
227 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
229 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
231 * helper_funcs.[Ch] (getLatexUnits): see above.
233 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
235 * ControlTexinfo.C (getContents): use the right file for .sty files
237 2001-10-10 Herbert Voss <voss@perce.de>
239 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
240 and some more stuff from FormTexinfo.C
242 * ControlShowFile.C: hiding the update-button
244 2001-10-09 Herbert Voss <voss@perce.de>
246 * ControlTexinfo.[Ch]: new files. Display information about the
247 installed texfiles (cls,sty,bst).
249 * ControlShowFile.[Ch]: new files. Display the contents of a file.
251 * GUI.h: added classes GUIShowFile and GUITexinfo.
253 * Makefile.am: modified appropriately.
255 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
257 * ControlAboutlyx.C (getVersion): use lyx_version and
258 lyx_release_date instead of old macros
260 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlSpellchecker.C (check): Behaves well now when the spell
263 library doesn't know a replacement to an incorrect word.
265 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
267 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
268 the correct place. Can now check spelling more than once!
270 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
272 * ControlSplash.[Ch]: removed.
274 * GUI.h: remove GUISplash class.
276 * ViewBase.h: remove ViewSplash class.
278 * Makefile.am: remove ControlSplash.[Ch].
280 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
282 * ControlButtons.h: add variable emergency_exit_. If set to true, the
283 view will be shut down.
286 * ControlInset.h: act on emergency_exit_.
288 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
289 speller fails to launch.
291 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
293 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
294 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
296 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
298 * ControlRef.h (disconnectOnApply): new method. Set to true.
299 Perhaps make this user-modifiable?
301 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
306 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
308 * ControlRef.C (getBufferList, getBufferNum): New methods
310 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
312 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
313 of the dialog when the Apply button is pressed. Defaults to false,
314 but can be overridden in the daughter classes.
316 * ControlCitation.h (disconnectOnApply): new method. Set to true.
317 Perhaps make this user-modifiable?
319 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
322 we have dialogs that update their contents when the buffer changes.
323 Rather embarassing, really!
325 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
327 * ControlSearch (replace): change semantics of replace to NOT move on
328 to the next instance of a word once the present instance has been
329 replaced unless we are replacing ALL instances of the word.
331 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
333 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
335 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
337 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
338 dialog, set all options to "reset", close the dialog, re-open it ->
339 the options are set incorrectly.
341 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
342 When Applying it's useful to know whether the dialog is about to close
343 or not (no point refreshing the display for example).
345 * ControlInset.C (apply): use isClosing.
347 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
350 * ControlDialogs.h: remove bc() hack, now fixed in
351 Qt2 frontend. use member dialog_built_ instead of shared
354 * ButtonController.h:
355 * ButtonPolicies.C: more debug info
357 * ButtonControllerBase.C: call refresh() when setting readOnly !
359 * GUI.h: External form has apply, use the right policy
361 * character.C: fix two off-by-one errors when latex font was removed
363 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlInset.h (apply): tentative fix for the press Apply multiple
366 times and get multiple new Insets problem.
368 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
370 * ControlCharacter.C: fix typo
374 * ControlInsets.C: make sure dialog is built before it is shown, so
375 it works properly the very first time it is shown
377 2001-08-20 Herbert Voss <voss@perce.de>
379 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
380 and styles. Added an option for "bibliography into toc"
382 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
384 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
385 LaTeX is no longer a font property.
387 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
389 * GUI.h: Button controller for Reference dialog changed to
390 NoRepeatedApplyReadOnlyPolicy.
392 * biblio.C (getInfo): output volume and number info. Move year to end
395 2001-08-09 Allan Rae <rae@lyx.org>
397 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
399 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
401 * helper_funcs.C (getVectorFromString): fixed small bug.
403 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
405 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
407 * ControlSpellchecker.C: check next word after insert in personal dict
409 2001-08-06 Juergen Vigna <jug@sad.it>
411 * ControlERT.[Ch]: new file
413 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlInset.h: const and non-const forms of params().
417 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
418 whitespace from either side of each item.
420 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
422 * ControlFloat.h: add a != operator for FloatParams.
423 Lars, how did you get this to compile!!!
425 * ControlMinipage.[Ch]: uncommented someone's commenting out of
426 operator != for MinipageParams. Who's changing stuff and not compiling?
428 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
433 * GUI.h: add class GUIFloat
435 * ControlFloat.[Ch]: new files
437 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
439 * ControlPrint.C: #include Lassert.h here.
441 2001-07-26 Baruch Even <baruch@lyx.org>
443 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
446 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
448 * ControlThesaurus.h:
449 * ControlThesaurus.C:
451 * Makefile.am: thesaurus support
453 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
456 * ControlInclude.C: implement ability to load file
458 2001-07-18 Juergen Vigna <jug@sad.it>
460 * ControlSearch.C (replace): changes to lyxfind.h function calls.
462 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
464 * biblio.C (getInfo): add a .c_str() to handle the usual
467 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlCitation.[Ch]: changes associated with adding natbib support.
470 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
471 New static variable citeStyles_.
473 * biblio.[Ch]: large internal rearrangement.
474 New public enum CiteStyle.
475 New public struct CitationStyle.
476 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
477 getNumericalStrings, getAuthorYearStrings
478 (simpleSearch, regexSearch): no longer publicly accessible.
480 * helper_funcs.C (getStringFromVector): bug fix.
482 2001-07-16 Baruch Even <baruch@lyx.org>
484 * ControlVCLog.h: Added Lsstream.h to includes.
486 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlSpellchecker.[Ch]: remove d-tor.
490 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
492 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
494 2001-07-16 Juergen Vigna <jug@sad.it>
496 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
497 compiled with USE_PSPELL) to be able to switch between ISpell and
500 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
502 Consistent use of Lsstream.h:
503 * ControlAboutlyx.[Ch] (getCredits):
504 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
506 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
508 * ControlCredits.[Ch]: removed
509 * ControlCopyright.[Ch]: removed
510 * ControlAboutlyx.[Ch]: added (replaces previous)
511 * GUI.h: removed credits and copyright added about lyx stuff
513 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
515 * ControlSpellchecker.C (getSuggestion):
516 (getWord): add std:: qualifier
518 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
520 * ControlSpellchecker.[Ch]: added
521 * ViewBase.h: added partialUpdate(int) member
522 * GUI.h: added spell stuff
524 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * ControlExternal.C: (*it). -> it->
528 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
530 * ButtonController.h: move some included header files out of the
531 frontends and into here.
533 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
535 * ControlCharacter.C (c-tor): cosmetic name change of signal.
537 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
539 * *.[h]: added // -*- C++ -*-
540 * *.[C]: removed // -*- C++ -*-
542 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
543 activate Apply button.
544 (clearParams): removed.
545 font_ is now stored as a boost::scoped_ptr.
546 font_ is no longer deleted on hide(), so it's contents can now be used
547 by the Font button on the toolbar.
548 Lots of new methods so that the GUI can easily get the contents of
549 font_ when it update()s.
551 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
553 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
554 crash when the Font button on the Toolbar is pressed.
556 * GUI.h: change policy of Character button controller to
557 OkApplyCancelReadOnlyPolicy.
559 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
561 * ControlToc.C (getContents): don't add anything to the list if it
562 is supposed to be empty.
564 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
566 * helper_funcs.C (getVectorFromString): bug fix.
568 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
571 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
572 from ButtonControllerBase::readOnly. Updates the state of the widgets
573 in the read-only list only when the read-only status of the document
575 (refresh): moved this stuff into refreshReadOnly.
577 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
579 * ControlPrint.C (c-tor):
580 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
582 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
585 * character.h: small clean-ups.
587 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
589 * ControlToc.C (getType): remove support for old float list.
591 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
593 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
594 * ControlGraphics.h: no longer include insetgraphicsParams.h
595 * ControlInset.h: no longer include LyXView.h
600 * ControlCharacter.C:
603 * ControlConnections.C:
604 * ControlCopyright.C:
616 * ControlTabularCreate.C:
618 * ControlVCLog.C: they're now in here!
620 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * ButtonControllerBase.h: C++ mode, inherit privately from
624 * ButtonPolicies.h: ditto
626 * ButtonController.h: C++ mode, swap init order of restore_ and
629 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
631 * ControlTabularCreate.h:
632 * ControlTabularCreate.C: make dialogs use a pair of uints
636 * ControlVCLog.C: fill a stringstream with the log contents
639 * ControlExternal.C: from Angus, clone the new InsetExternal
642 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
644 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
645 and made more robust.
647 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
656 * ControlCopyright.C: include gettext.h
658 * ControlCharacter.C:
659 * character.C: include gettext.h and language.h
661 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
663 * ButtonController.h:
664 * ButtonControllerBase.h:
665 * ButtonControllerBase.C:
672 * ControlConnections.h:
678 * ViewBase.h: s/ControlButton/ControlButtons/
680 s/UndoAll/Restore/ + associated
682 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
684 * ControlToc.[Ch]: new files; a controller for the TOC popup.
687 * Makefile.am: associated changes with all of the above.
689 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
691 * ControlExternal.C: bug fixes. Can now apply changes to the inset
692 and edit, view, update the External Material correctly. I hope!
694 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
696 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
698 * BCTemplates.h: renamed as ButtonController.h
700 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
703 * ControlConnections.h: associated change in #include and class names.
705 * ControlExternal.[Ch]: new files; a controller for the External
709 * Makefile.am: associated changes with all of the above.
711 * ControlGraphics.[Ch]:
712 * ControlInclude.[Ch]:
715 (Browse): new method. Returns the results of a FileDialog browse.
717 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
718 (getVectorFromString): fixed bug.
720 * biblio.C (simpleSearch): cleaned up.
722 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
724 * A slight reworking of Baruch Even's ButtonController patch.
726 * BCTemplates.h: new file; all the templates for the ButtonController.
727 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
728 to the more generic setButtonLabel().
730 * ButtonController.[Ch]: renamed cancel_label and close_label as
731 cancel_label_ and close_label_.
733 * Makefile.am: added BCTemplates.h
735 2001-03-29 Juergen Vigna <jug@sad.it>
737 * ControlMinipage.C: removed widthp_ and all it's functions and changed
738 to use new %-lengths of LyXLength.
740 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
742 * ControlCitation.C (bibkeysInfo): removed Assert.
744 * ControlCopyright.h: moved GUICopyright into GUI.h
748 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
750 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
751 (setDaughterParams): a (by default empty) new method called in show().
760 * ControlUrl.h (clearDaughterParams): removed
762 * ControlMinipage.C (applyParamsToInset): update the view.
763 Added namespace minipage containing a helper function getUnits.
765 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
767 * ControlCharacter.[Ch]: moved out all the helper functions and the
768 enum into their own file.
769 * character.[Ch]: new files; contain the character helper functions,
770 now inside namespace character.
772 * ControlCitation.[Ch]: moved out all the helper functions and the
773 enums into their own file. Simplified interface.
774 * biblio.[Ch]: new files; contain the citation helper functions,
775 now inside namespace biblio. Will be of use also to an improved
778 * ControlGraphics.[Ch]:
779 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
780 popups, respectively.
783 * Makefile.am: associated changes.
785 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
787 * ControlMinipage.[Ch]:
788 * ControlPreamble.[Ch]:
790 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
791 and Print popups and Splash screen, respectively.
793 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
797 * Makefile.am: associated changes.
799 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
801 * ControlConnections.[Ch]: (docType): new method; returns the type
802 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
805 * ControlSearch.[Ch]:
806 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
807 Search and TabularCreate popups, respectively.
810 * Makefile.am: associated changes.
812 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
814 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
817 * ControlInset.h (apply): fix bug. Can now create new insets again.
819 * README: describe program flow.
821 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
823 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
825 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlDialogs.h: moved class ControlInset into its own file.
829 * ControlInset.h: new file. class ControlInset has been expanded to take
830 two template parameters, Inset and Params. Believe that all inset
831 controllers can be derived from this with the minimum of effort.
833 * ControlBibitem.[Ch]:
834 * ControlBibtex.[Ch]:
835 * ControlCitation.[Ch]:
836 * ControlCommand.[Ch]: moved most code into ControlInset.
838 * lots of files. Moved protected stuff into private where possible.
841 * ControlInclude.[Ch]:
842 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
843 Include and Url popups, respectively.
846 * Makefile.am: associated changes.
848 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
850 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
853 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
855 * ControlCredits.C (getCredits): remove std:: qualifier for
858 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
860 * ControlCredits.C (getCredits): add std:: on vector
862 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
864 * ControlCredits.C: remove using that is only used once, use
865 std::ios instead of std::iosbase, add some annoying comments.
867 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
869 * lots of header files: improved explanatory notes.
871 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
872 ControlBase is now a class that only controls the interaction of the
873 View with the ButtonController.
875 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
876 to ControlConnectBase. The class controls the connection/disconnection
877 of signals from the LyX kernel and makes available the kernel (through
878 lv_) to daughter controller classes.
879 Moved out class ControlConnectInset to a new file ControlDialogs.h.
881 * ControlDialogs.h: new file. Contains the definition of two template
882 controller classes, ControlDialog and ControlInset (was
883 ControlConnectInset). ControlInset is a parent class for controllers
884 of inset-popups. ControlDialogs is the rather uninspired name for
885 the base class of all non-inset popups. (Eg, Document and Paragraph.)
886 ControlDialogs is reaching a state of maturity as several popups now use
887 it and its functionality becomes clear. ControlInset is still in a state
888 of flux. It is likely that functionality will be moved out of
889 ControlCommands and into it.
891 * GUI.h: new file. Moved all the template GUIXXX classes out of the
892 individual Controller header files and into one place. These classes
893 serve only as convenient wrappers to simplify code in the respective
894 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
896 * ControlCharacter.[Ch] (show, update, hide):
897 * ControlLog.[Ch] (show, update, hide):
898 * ControlVCLog.[Ch] (show, update, hide): moved back into
899 the ControlDialogs base class.
900 (setParams, clearParams): new methods containing controller-specific
901 code to set/reset the parameters manipulated by the view.
903 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
905 (hide): calls clearParams.
907 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
908 by ControlCommand::hide().
910 * ControlCopyright.[Ch]:
911 * ControlCredits.[Ch]: new files; controllers for the copyright and
912 credits popups, respectively.
914 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
916 * ControlCharacter.C: fix typo
918 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
920 * ControlCharacter.[Ch]: new files; controller for the character popup.
922 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
923 moved to new files helper_funcs.[Ch].
925 * helper_funcs.[Ch]: new files. Some useful helper functions and
928 * Makefile.am: added new files.
930 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
934 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
937 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
938 Control log files, respectively.
940 * Makefile.am: added new files.
942 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
946 * Makefile.am: added ControlBibtex.[Ch].
948 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
951 * ControlCitation.C: added "using SigC::slot" declaration.
953 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
954 to FormCitation.C prior to the merger: "Do not put space between
957 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
959 * several files: remove CXX_WORKING_NAMESPACES
961 * ButtonController.h: noncopyable is in namespace boost
962 * ButtonPolicies.h: ditto
964 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
966 * Merging changes from BRANCH_MVC back into HEAD.
968 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
970 * Makefile.am: add ControlBibitem.[Ch].
972 * ControlBibitem.[Ch]: new files that together define the Controller
975 * ControlCommand.h (c-tor): give kb_action a default value of
978 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
980 * ControlCitation.[Ch]: moved search functions out of class.
981 (bibkeysInfo): new method. Returns const reference to private data.
982 (searchKeys): added case-sensitive switch. Used only by simpleSearch
985 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
987 * ControlCitation.[Ch]: added Search functions to the class,
988 (shamelessly lifted from Marco's gnome code). I think that these would
989 be better as helper functions outside the class, but this is a first
992 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
994 * ControlCitation.[Ch]: (getBibkeyList): removed from class
996 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
997 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
998 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
999 implementation of FormCitation.
1001 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ButtonPolicies.h: add SMI_NOOP to enum.
1005 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1007 * ButtonController.C (input): add "optimising" if-statement. Actually,
1008 things don't work correctly without it...
1010 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1012 * ViewBase.h: remove #pragma directive
1014 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1017 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1021 * Makefile.am: added ButtonPolicies.[Ch]
1023 * ButtonController.[Ch]: ButtonController is split into
1024 ButtonControllerBase and a template ButtonController class. The base
1025 class no longer stores a pointer to a ButtonPolicy, but instead
1026 accesses the actual instantiation of the policy through a pure virtual
1027 method bp(). This method and the ButtonPolicy itself are instantiated
1028 in the templatised ButtonController class. This class is derived from
1029 the GUI-specific GUIBC class, meaning that the frontends know
1030 nothing about the actual policy decided upon by the controllers.
1032 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1033 Instead the actual instantiations are accessed through pure virtual
1034 methods view() and bc(). The daughter classes are responsible for the
1035 actual View and ButtonController.
1037 * ControlCitation.h: the templatised class GUICitation instantiates
1038 the methods view() and bc(). It also stores the instances of the
1039 View and ButtonController.
1041 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1043 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1044 also changed to ButtonController.
1047 * ControlConnections.[Ch]:
1048 * ControlCommand.[Ch]:
1049 * ControlCitation.[Ch]:
1050 * ViewBase.h: Changes associated with this.
1052 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1054 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1055 xforms/ButtonController class into a GUI-I class (here) and an
1056 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1058 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1059 from which all Dialog Controllers should be derived. the Controllers
1060 are GUI-independent, but are designed to control the behaviour of
1061 GUI-specific implementaions of each dialog.
1063 * ControlConnections.[Ch]: new files. Classes controlling the
1064 connections of buffer-independent, buffer-dependent and Inset dialogs
1065 with the LyX kernel.
1067 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1068 InsetCommand subset of insets.
1070 * ControlCitation.[Ch]: new files. The test specialisation! A
1071 controller for the Citation dialog.
1073 * ViewBase.h: new file. ViewBase is an abstract base class from which
1074 GUI-specific dialogs should be derived. The functionality that the GUIs
1075 must now implement is much reduced.