1 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3 * helper_funcs.h: wrap the structs firster and seconder up in a
4 namespace to avoid clashes with those in lyxalgo,h.
6 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
7 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
14 change Systemcalls::System to Systemcalls::Wait and
15 No change of functionality, just reflects the stripped down Systemcalls
18 2002-02-06 Herbert Voss <voss@lyx.org>
20 * ControlGraphics.[C] (readBB): search also in
21 g'zipped files. If it is useful than PK and compress
22 should also be supported. use unzipFile() from
25 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * ControlRef.C (getBufferName): new method to get a real buffer
30 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
32 * ControlTexInfo.[Ch]: Removed Help functions.
34 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
36 * ControlSpellchecker.C: clear any selection left
39 2002-02-01 Herbert Voss <voss@lyx.org>
41 * ControlGraphics.[C] (readBB): search only, if it is a
42 ".?ps" file and look for bb's at end of file
44 2002-01-30 Herbert Voss <voss@lyx.org>
46 * ControlGraphic.[C]: do not search the whole file, when
49 2002-01-29 Herbert Voss <voss@lyx.org>
51 * ControlGraphic.[C]: added a button for document path
52 when browsing -> bug 222
54 2002-01-27 Herbert Voss <voss@lyx.org>
56 * ControlGraphic.[Ch]: added support for Bounding Box, other
59 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
62 * ControlTexinfo.h: added #include "LString.h" where they belong.
64 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
69 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
74 2002-01-20 Herbert Voss <voss@perce.de>
76 * ControlInclude.[Ch]: better control of unexistings files
77 when entered without the browser
79 * ControlGraphic.C (Browse): add extension "ps" when browsing for
82 2002-01-19 Herbert Voss <voss@perce.de>
84 * biblio.C (getInfo): fix bug when no author is given
86 * biblio.C (parseBibTeX): change the parsing, so that
87 '#'-characters in a bibtex entry are no more a problem.
89 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
92 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
94 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
96 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
98 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
100 * ControlExternal.C (Browse): add a std:: qualifier
102 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
104 * ControlExternal.C (Browse): simplify to use browseRelFile
106 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
108 * ButtonController.tmpl: added // -*- C++ -*-
110 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
111 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
112 Needed in _one_ of the ControlCommand-derived classes only.
114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
117 * ControlSearch.h: #include LString.h
119 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
121 * ButtonController.h: split into two. The definition remains in
122 ButtonController.h, the declaration is now in ButtonController.tmpl.
123 These template methods should be #included when the derived class is
124 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
125 and in the qt2 and gnome equivalents.
127 * ControlDialogs.h: removed. The definition of class ControlDialog is
128 now to be found in ControlDialog.h and the declaration of the methods
129 is in ControlDialog.tmpl. The two template instantiations are performed
130 in ControlDialog_impl.[Ch], new files also.
132 * ControlInset.h: split into two. The definition remains in
133 ControlInset.h, the declaration is now in ControlInset.tmpl.
134 These template methods should be #included derived class is
135 instantiated, in this case in 8 other .C files in this directory.
137 * ControlAboutlyx.[Ch]:
138 * ControlCharacter.[Ch]:
148 * ControlPreamble.[Ch]:
150 * ControlSearch.[Ch]:
151 * ControlShowFile.[Ch]:
152 * ControlSpellchecker.[Ch]:
153 * ControlTabularCreate.[Ch]:
154 * ControlTexinfo.[Ch]:
155 * ControlThesaurus.[Ch]:
156 * ControlVCLog.[Ch]: small changes associated with the above ones.
158 * GUI.h: #include the ButtonController and dialog controller files
159 here, rather than forward declare them. This is the correct place
162 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
163 Rename ControlDialogs.h as ControlDialog.h.
164 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
167 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
171 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
173 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
176 * ControlGraphics.C (Browse): remove overzealous shortcut
178 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
180 * FormMinipage.C (apply, update): MinipageParams::width renamed
181 as MinipageParams::pageWidth. InsetMinipage::width renamed
182 as InsetMinipage::pageWidth.
184 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * ButtonController.h (refreshReadOnly): use explicit typename
188 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
190 * helper_funcs.h (browseFile): add default empty button descriptions.
192 * ControlGraphics.C (Browse):
193 * ControlBibtex.C (Browse):
194 * ControlInclude.C (Browse): add shortcuts to directory buttons
196 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
198 * ControlThesaurus.h:
199 * ControlThesaurus.C: update to Aiksaurus 0.14
201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
203 * ControlSpellchecker.C (clearParams): show the closing message
204 only if some words have been checked, thereby fixing
207 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
209 * ControlFloat.[Ch]: changes to prevent here definitely being used
212 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
214 * ControlThesaurus.h: do not include <config.h> in header files
216 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
218 * ControlToc.C: changes for floatlist
220 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
222 * ControlVCLog.C: use _()
224 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
226 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
229 2001-10-22 Juergen Vigna <jug@sad.it>
231 * ControlSpellchecker.C (clearParams): use the error_ message of the
232 speller_ if available when the spellchecker died.
233 (setParams): remove double error message display.
235 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
239 * helper_funcs.[Ch] (getLatexUnits): see above.
241 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
243 * ControlTexinfo.C (getContents): use the right file for .sty files
245 2001-10-10 Herbert Voss <voss@perce.de>
247 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
248 and some more stuff from FormTexinfo.C
250 * ControlShowFile.C: hiding the update-button
252 2001-10-09 Herbert Voss <voss@perce.de>
254 * ControlTexinfo.[Ch]: new files. Display information about the
255 installed texfiles (cls,sty,bst).
257 * ControlShowFile.[Ch]: new files. Display the contents of a file.
259 * GUI.h: added classes GUIShowFile and GUITexinfo.
261 * Makefile.am: modified appropriately.
263 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
265 * ControlAboutlyx.C (getVersion): use lyx_version and
266 lyx_release_date instead of old macros
268 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
270 * ControlSpellchecker.C (check): Behaves well now when the spell
271 library doesn't know a replacement to an incorrect word.
273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
275 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
276 the correct place. Can now check spelling more than once!
278 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
280 * ControlSplash.[Ch]: removed.
282 * GUI.h: remove GUISplash class.
284 * ViewBase.h: remove ViewSplash class.
286 * Makefile.am: remove ControlSplash.[Ch].
288 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
290 * ControlButtons.h: add variable emergency_exit_. If set to true, the
291 view will be shut down.
294 * ControlInset.h: act on emergency_exit_.
296 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
297 speller fails to launch.
299 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
301 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
302 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
304 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlRef.h (disconnectOnApply): new method. Set to true.
307 Perhaps make this user-modifiable?
309 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
311 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
314 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
316 * ControlRef.C (getBufferList, getBufferNum): New methods
318 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
320 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
321 of the dialog when the Apply button is pressed. Defaults to false,
322 but can be overridden in the daughter classes.
324 * ControlCitation.h (disconnectOnApply): new method. Set to true.
325 Perhaps make this user-modifiable?
327 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
330 we have dialogs that update their contents when the buffer changes.
331 Rather embarassing, really!
333 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlSearch (replace): change semantics of replace to NOT move on
336 to the next instance of a word once the present instance has been
337 replaced unless we are replacing ALL instances of the word.
339 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
341 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
343 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
346 dialog, set all options to "reset", close the dialog, re-open it ->
347 the options are set incorrectly.
349 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
350 When Applying it's useful to know whether the dialog is about to close
351 or not (no point refreshing the display for example).
353 * ControlInset.C (apply): use isClosing.
355 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
358 * ControlDialogs.h: remove bc() hack, now fixed in
359 Qt2 frontend. use member dialog_built_ instead of shared
362 * ButtonController.h:
363 * ButtonPolicies.C: more debug info
365 * ButtonControllerBase.C: call refresh() when setting readOnly !
367 * GUI.h: External form has apply, use the right policy
369 * character.C: fix two off-by-one errors when latex font was removed
371 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
373 * ControlInset.h (apply): tentative fix for the press Apply multiple
374 times and get multiple new Insets problem.
376 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
378 * ControlCharacter.C: fix typo
382 * ControlInsets.C: make sure dialog is built before it is shown, so
383 it works properly the very first time it is shown
385 2001-08-20 Herbert Voss <voss@perce.de>
387 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
388 and styles. Added an option for "bibliography into toc"
390 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
392 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
393 LaTeX is no longer a font property.
395 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
397 * GUI.h: Button controller for Reference dialog changed to
398 NoRepeatedApplyReadOnlyPolicy.
400 * biblio.C (getInfo): output volume and number info. Move year to end
403 2001-08-09 Allan Rae <rae@lyx.org>
405 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
407 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
409 * helper_funcs.C (getVectorFromString): fixed small bug.
411 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
413 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
415 * ControlSpellchecker.C: check next word after insert in personal dict
417 2001-08-06 Juergen Vigna <jug@sad.it>
419 * ControlERT.[Ch]: new file
421 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
423 * ControlInset.h: const and non-const forms of params().
425 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
426 whitespace from either side of each item.
428 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
430 * ControlFloat.h: add a != operator for FloatParams.
431 Lars, how did you get this to compile!!!
433 * ControlMinipage.[Ch]: uncommented someone's commenting out of
434 operator != for MinipageParams. Who's changing stuff and not compiling?
436 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
438 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
441 * GUI.h: add class GUIFloat
443 * ControlFloat.[Ch]: new files
445 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * ControlPrint.C: #include Lassert.h here.
449 2001-07-26 Baruch Even <baruch@lyx.org>
451 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
454 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
456 * ControlThesaurus.h:
457 * ControlThesaurus.C:
459 * Makefile.am: thesaurus support
461 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
464 * ControlInclude.C: implement ability to load file
466 2001-07-18 Juergen Vigna <jug@sad.it>
468 * ControlSearch.C (replace): changes to lyxfind.h function calls.
470 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
472 * biblio.C (getInfo): add a .c_str() to handle the usual
475 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
477 * ControlCitation.[Ch]: changes associated with adding natbib support.
478 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
479 New static variable citeStyles_.
481 * biblio.[Ch]: large internal rearrangement.
482 New public enum CiteStyle.
483 New public struct CitationStyle.
484 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
485 getNumericalStrings, getAuthorYearStrings
486 (simpleSearch, regexSearch): no longer publicly accessible.
488 * helper_funcs.C (getStringFromVector): bug fix.
490 2001-07-16 Baruch Even <baruch@lyx.org>
492 * ControlVCLog.h: Added Lsstream.h to includes.
494 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
496 * ControlSpellchecker.[Ch]: remove d-tor.
498 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
500 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
502 2001-07-16 Juergen Vigna <jug@sad.it>
504 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
505 compiled with USE_PSPELL) to be able to switch between ISpell and
508 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
510 Consistent use of Lsstream.h:
511 * ControlAboutlyx.[Ch] (getCredits):
512 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
514 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
516 * ControlCredits.[Ch]: removed
517 * ControlCopyright.[Ch]: removed
518 * ControlAboutlyx.[Ch]: added (replaces previous)
519 * GUI.h: removed credits and copyright added about lyx stuff
521 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
523 * ControlSpellchecker.C (getSuggestion):
524 (getWord): add std:: qualifier
526 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
528 * ControlSpellchecker.[Ch]: added
529 * ViewBase.h: added partialUpdate(int) member
530 * GUI.h: added spell stuff
532 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * ControlExternal.C: (*it). -> it->
536 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
538 * ButtonController.h: move some included header files out of the
539 frontends and into here.
541 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
543 * ControlCharacter.C (c-tor): cosmetic name change of signal.
545 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
547 * *.[h]: added // -*- C++ -*-
548 * *.[C]: removed // -*- C++ -*-
550 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
551 activate Apply button.
552 (clearParams): removed.
553 font_ is now stored as a boost::scoped_ptr.
554 font_ is no longer deleted on hide(), so it's contents can now be used
555 by the Font button on the toolbar.
556 Lots of new methods so that the GUI can easily get the contents of
557 font_ when it update()s.
559 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
562 crash when the Font button on the Toolbar is pressed.
564 * GUI.h: change policy of Character button controller to
565 OkApplyCancelReadOnlyPolicy.
567 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
569 * ControlToc.C (getContents): don't add anything to the list if it
570 is supposed to be empty.
572 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
574 * helper_funcs.C (getVectorFromString): bug fix.
576 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
579 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
580 from ButtonControllerBase::readOnly. Updates the state of the widgets
581 in the read-only list only when the read-only status of the document
583 (refresh): moved this stuff into refreshReadOnly.
585 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
587 * ControlPrint.C (c-tor):
588 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
590 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
593 * character.h: small clean-ups.
595 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
597 * ControlToc.C (getType): remove support for old float list.
599 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
601 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
602 * ControlGraphics.h: no longer include insetgraphicsParams.h
603 * ControlInset.h: no longer include LyXView.h
608 * ControlCharacter.C:
611 * ControlConnections.C:
612 * ControlCopyright.C:
624 * ControlTabularCreate.C:
626 * ControlVCLog.C: they're now in here!
628 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
630 * ButtonControllerBase.h: C++ mode, inherit privately from
632 * ButtonPolicies.h: ditto
634 * ButtonController.h: C++ mode, swap init order of restore_ and
637 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
639 * ControlTabularCreate.h:
640 * ControlTabularCreate.C: make dialogs use a pair of uints
644 * ControlVCLog.C: fill a stringstream with the log contents
647 * ControlExternal.C: from Angus, clone the new InsetExternal
650 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
652 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
653 and made more robust.
655 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
664 * ControlCopyright.C: include gettext.h
666 * ControlCharacter.C:
667 * character.C: include gettext.h and language.h
669 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
671 * ButtonController.h:
672 * ButtonControllerBase.h:
673 * ButtonControllerBase.C:
680 * ControlConnections.h:
686 * ViewBase.h: s/ControlButton/ControlButtons/
688 s/UndoAll/Restore/ + associated
690 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
692 * ControlToc.[Ch]: new files; a controller for the TOC popup.
695 * Makefile.am: associated changes with all of the above.
697 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
699 * ControlExternal.C: bug fixes. Can now apply changes to the inset
700 and edit, view, update the External Material correctly. I hope!
702 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
704 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
706 * BCTemplates.h: renamed as ButtonController.h
708 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
711 * ControlConnections.h: associated change in #include and class names.
713 * ControlExternal.[Ch]: new files; a controller for the External
717 * Makefile.am: associated changes with all of the above.
719 * ControlGraphics.[Ch]:
720 * ControlInclude.[Ch]:
723 (Browse): new method. Returns the results of a FileDialog browse.
725 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
726 (getVectorFromString): fixed bug.
728 * biblio.C (simpleSearch): cleaned up.
730 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
732 * A slight reworking of Baruch Even's ButtonController patch.
734 * BCTemplates.h: new file; all the templates for the ButtonController.
735 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
736 to the more generic setButtonLabel().
738 * ButtonController.[Ch]: renamed cancel_label and close_label as
739 cancel_label_ and close_label_.
741 * Makefile.am: added BCTemplates.h
743 2001-03-29 Juergen Vigna <jug@sad.it>
745 * ControlMinipage.C: removed widthp_ and all it's functions and changed
746 to use new %-lengths of LyXLength.
748 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
750 * ControlCitation.C (bibkeysInfo): removed Assert.
752 * ControlCopyright.h: moved GUICopyright into GUI.h
756 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
758 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
759 (setDaughterParams): a (by default empty) new method called in show().
768 * ControlUrl.h (clearDaughterParams): removed
770 * ControlMinipage.C (applyParamsToInset): update the view.
771 Added namespace minipage containing a helper function getUnits.
773 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
775 * ControlCharacter.[Ch]: moved out all the helper functions and the
776 enum into their own file.
777 * character.[Ch]: new files; contain the character helper functions,
778 now inside namespace character.
780 * ControlCitation.[Ch]: moved out all the helper functions and the
781 enums into their own file. Simplified interface.
782 * biblio.[Ch]: new files; contain the citation helper functions,
783 now inside namespace biblio. Will be of use also to an improved
786 * ControlGraphics.[Ch]:
787 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
788 popups, respectively.
791 * Makefile.am: associated changes.
793 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
795 * ControlMinipage.[Ch]:
796 * ControlPreamble.[Ch]:
798 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
799 and Print popups and Splash screen, respectively.
801 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
805 * Makefile.am: associated changes.
807 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
809 * ControlConnections.[Ch]: (docType): new method; returns the type
810 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
813 * ControlSearch.[Ch]:
814 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
815 Search and TabularCreate popups, respectively.
818 * Makefile.am: associated changes.
820 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
822 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
825 * ControlInset.h (apply): fix bug. Can now create new insets again.
827 * README: describe program flow.
829 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
831 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
833 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlDialogs.h: moved class ControlInset into its own file.
837 * ControlInset.h: new file. class ControlInset has been expanded to take
838 two template parameters, Inset and Params. Believe that all inset
839 controllers can be derived from this with the minimum of effort.
841 * ControlBibitem.[Ch]:
842 * ControlBibtex.[Ch]:
843 * ControlCitation.[Ch]:
844 * ControlCommand.[Ch]: moved most code into ControlInset.
846 * lots of files. Moved protected stuff into private where possible.
849 * ControlInclude.[Ch]:
850 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
851 Include and Url popups, respectively.
854 * Makefile.am: associated changes.
856 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
858 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
861 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
863 * ControlCredits.C (getCredits): remove std:: qualifier for
866 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
868 * ControlCredits.C (getCredits): add std:: on vector
870 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
872 * ControlCredits.C: remove using that is only used once, use
873 std::ios instead of std::iosbase, add some annoying comments.
875 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
877 * lots of header files: improved explanatory notes.
879 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
880 ControlBase is now a class that only controls the interaction of the
881 View with the ButtonController.
883 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
884 to ControlConnectBase. The class controls the connection/disconnection
885 of signals from the LyX kernel and makes available the kernel (through
886 lv_) to daughter controller classes.
887 Moved out class ControlConnectInset to a new file ControlDialogs.h.
889 * ControlDialogs.h: new file. Contains the definition of two template
890 controller classes, ControlDialog and ControlInset (was
891 ControlConnectInset). ControlInset is a parent class for controllers
892 of inset-popups. ControlDialogs is the rather uninspired name for
893 the base class of all non-inset popups. (Eg, Document and Paragraph.)
894 ControlDialogs is reaching a state of maturity as several popups now use
895 it and its functionality becomes clear. ControlInset is still in a state
896 of flux. It is likely that functionality will be moved out of
897 ControlCommands and into it.
899 * GUI.h: new file. Moved all the template GUIXXX classes out of the
900 individual Controller header files and into one place. These classes
901 serve only as convenient wrappers to simplify code in the respective
902 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
904 * ControlCharacter.[Ch] (show, update, hide):
905 * ControlLog.[Ch] (show, update, hide):
906 * ControlVCLog.[Ch] (show, update, hide): moved back into
907 the ControlDialogs base class.
908 (setParams, clearParams): new methods containing controller-specific
909 code to set/reset the parameters manipulated by the view.
911 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
913 (hide): calls clearParams.
915 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
916 by ControlCommand::hide().
918 * ControlCopyright.[Ch]:
919 * ControlCredits.[Ch]: new files; controllers for the copyright and
920 credits popups, respectively.
922 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
924 * ControlCharacter.C: fix typo
926 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
928 * ControlCharacter.[Ch]: new files; controller for the character popup.
930 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
931 moved to new files helper_funcs.[Ch].
933 * helper_funcs.[Ch]: new files. Some useful helper functions and
936 * Makefile.am: added new files.
938 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
942 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
945 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
946 Control log files, respectively.
948 * Makefile.am: added new files.
950 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
952 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
954 * Makefile.am: added ControlBibtex.[Ch].
956 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
959 * ControlCitation.C: added "using SigC::slot" declaration.
961 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
962 to FormCitation.C prior to the merger: "Do not put space between
965 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
967 * several files: remove CXX_WORKING_NAMESPACES
969 * ButtonController.h: noncopyable is in namespace boost
970 * ButtonPolicies.h: ditto
972 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
974 * Merging changes from BRANCH_MVC back into HEAD.
976 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
978 * Makefile.am: add ControlBibitem.[Ch].
980 * ControlBibitem.[Ch]: new files that together define the Controller
983 * ControlCommand.h (c-tor): give kb_action a default value of
986 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
988 * ControlCitation.[Ch]: moved search functions out of class.
989 (bibkeysInfo): new method. Returns const reference to private data.
990 (searchKeys): added case-sensitive switch. Used only by simpleSearch
993 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
995 * ControlCitation.[Ch]: added Search functions to the class,
996 (shamelessly lifted from Marco's gnome code). I think that these would
997 be better as helper functions outside the class, but this is a first
1000 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1004 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1005 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1006 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1007 implementation of FormCitation.
1009 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1011 * ButtonPolicies.h: add SMI_NOOP to enum.
1013 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1015 * ButtonController.C (input): add "optimising" if-statement. Actually,
1016 things don't work correctly without it...
1018 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1020 * ViewBase.h: remove #pragma directive
1022 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1025 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1027 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1029 * Makefile.am: added ButtonPolicies.[Ch]
1031 * ButtonController.[Ch]: ButtonController is split into
1032 ButtonControllerBase and a template ButtonController class. The base
1033 class no longer stores a pointer to a ButtonPolicy, but instead
1034 accesses the actual instantiation of the policy through a pure virtual
1035 method bp(). This method and the ButtonPolicy itself are instantiated
1036 in the templatised ButtonController class. This class is derived from
1037 the GUI-specific GUIBC class, meaning that the frontends know
1038 nothing about the actual policy decided upon by the controllers.
1040 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1041 Instead the actual instantiations are accessed through pure virtual
1042 methods view() and bc(). The daughter classes are responsible for the
1043 actual View and ButtonController.
1045 * ControlCitation.h: the templatised class GUICitation instantiates
1046 the methods view() and bc(). It also stores the instances of the
1047 View and ButtonController.
1049 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1051 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1052 also changed to ButtonController.
1055 * ControlConnections.[Ch]:
1056 * ControlCommand.[Ch]:
1057 * ControlCitation.[Ch]:
1058 * ViewBase.h: Changes associated with this.
1060 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1062 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1063 xforms/ButtonController class into a GUI-I class (here) and an
1064 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1066 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1067 from which all Dialog Controllers should be derived. the Controllers
1068 are GUI-independent, but are designed to control the behaviour of
1069 GUI-specific implementaions of each dialog.
1071 * ControlConnections.[Ch]: new files. Classes controlling the
1072 connections of buffer-independent, buffer-dependent and Inset dialogs
1073 with the LyX kernel.
1075 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1076 InsetCommand subset of insets.
1078 * ControlCitation.[Ch]: new files. The test specialisation! A
1079 controller for the Citation dialog.
1081 * ViewBase.h: new file. ViewBase is an abstract base class from which
1082 GUI-specific dialogs should be derived. The functionality that the GUIs
1083 must now implement is much reduced.