1 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Makefile.am: simpler obj. file compile
5 2002-02-18 Herbert Voss <voss@lyx.org>
7 * ControlGraphics.[C]: remove help-file call
9 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11 * helper_funcs.h: wrap the structs firster and seconder up in a
12 namespace to avoid clashes with those in lyxalgo,h.
14 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
15 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
17 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
19 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
22 change Systemcalls::System to Systemcalls::Wait and
23 No change of functionality, just reflects the stripped down Systemcalls
26 2002-02-06 Herbert Voss <voss@lyx.org>
28 * ControlGraphics.[C] (readBB): search also in
29 g'zipped files. If it is useful than PK and compress
30 should also be supported. use unzipFile() from
33 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
35 * ControlRef.C (getBufferName): new method to get a real buffer
38 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
40 * ControlTexInfo.[Ch]: Removed Help functions.
42 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
44 * ControlSpellchecker.C: clear any selection left
47 2002-02-01 Herbert Voss <voss@lyx.org>
49 * ControlGraphics.[C] (readBB): search only, if it is a
50 ".?ps" file and look for bb's at end of file
52 2002-01-30 Herbert Voss <voss@lyx.org>
54 * ControlGraphic.[C]: do not search the whole file, when
57 2002-01-29 Herbert Voss <voss@lyx.org>
59 * ControlGraphic.[C]: added a button for document path
60 when browsing -> bug 222
62 2002-01-27 Herbert Voss <voss@lyx.org>
64 * ControlGraphic.[Ch]: added support for Bounding Box, other
67 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
70 * ControlTexinfo.h: added #include "LString.h" where they belong.
72 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
75 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
77 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
79 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
82 2002-01-20 Herbert Voss <voss@perce.de>
84 * ControlInclude.[Ch]: better control of unexistings files
85 when entered without the browser
87 * ControlGraphic.C (Browse): add extension "ps" when browsing for
90 2002-01-19 Herbert Voss <voss@perce.de>
92 * biblio.C (getInfo): fix bug when no author is given
94 * biblio.C (parseBibTeX): change the parsing, so that
95 '#'-characters in a bibtex entry are no more a problem.
97 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
100 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
102 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
104 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
108 * ControlExternal.C (Browse): add a std:: qualifier
110 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
112 * ControlExternal.C (Browse): simplify to use browseRelFile
114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
116 * ButtonController.tmpl: added // -*- C++ -*-
118 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
119 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
120 Needed in _one_ of the ControlCommand-derived classes only.
122 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
125 * ControlSearch.h: #include LString.h
127 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
129 * ButtonController.h: split into two. The definition remains in
130 ButtonController.h, the declaration is now in ButtonController.tmpl.
131 These template methods should be #included when the derived class is
132 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
133 and in the qt2 and gnome equivalents.
135 * ControlDialogs.h: removed. The definition of class ControlDialog is
136 now to be found in ControlDialog.h and the declaration of the methods
137 is in ControlDialog.tmpl. The two template instantiations are performed
138 in ControlDialog_impl.[Ch], new files also.
140 * ControlInset.h: split into two. The definition remains in
141 ControlInset.h, the declaration is now in ControlInset.tmpl.
142 These template methods should be #included derived class is
143 instantiated, in this case in 8 other .C files in this directory.
145 * ControlAboutlyx.[Ch]:
146 * ControlCharacter.[Ch]:
156 * ControlPreamble.[Ch]:
158 * ControlSearch.[Ch]:
159 * ControlShowFile.[Ch]:
160 * ControlSpellchecker.[Ch]:
161 * ControlTabularCreate.[Ch]:
162 * ControlTexinfo.[Ch]:
163 * ControlThesaurus.[Ch]:
164 * ControlVCLog.[Ch]: small changes associated with the above ones.
166 * GUI.h: #include the ButtonController and dialog controller files
167 here, rather than forward declare them. This is the correct place
170 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
171 Rename ControlDialogs.h as ControlDialog.h.
172 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
175 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
179 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
184 * ControlGraphics.C (Browse): remove overzealous shortcut
186 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
188 * FormMinipage.C (apply, update): MinipageParams::width renamed
189 as MinipageParams::pageWidth. InsetMinipage::width renamed
190 as InsetMinipage::pageWidth.
192 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * ButtonController.h (refreshReadOnly): use explicit typename
196 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
198 * helper_funcs.h (browseFile): add default empty button descriptions.
200 * ControlGraphics.C (Browse):
201 * ControlBibtex.C (Browse):
202 * ControlInclude.C (Browse): add shortcuts to directory buttons
204 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
206 * ControlThesaurus.h:
207 * ControlThesaurus.C: update to Aiksaurus 0.14
209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
211 * ControlSpellchecker.C (clearParams): show the closing message
212 only if some words have been checked, thereby fixing
215 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
217 * ControlFloat.[Ch]: changes to prevent here definitely being used
220 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
222 * ControlThesaurus.h: do not include <config.h> in header files
224 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
226 * ControlToc.C: changes for floatlist
228 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
230 * ControlVCLog.C: use _()
232 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
234 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
237 2001-10-22 Juergen Vigna <jug@sad.it>
239 * ControlSpellchecker.C (clearParams): use the error_ message of the
240 speller_ if available when the spellchecker died.
241 (setParams): remove double error message display.
243 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
245 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
247 * helper_funcs.[Ch] (getLatexUnits): see above.
249 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * ControlTexinfo.C (getContents): use the right file for .sty files
253 2001-10-10 Herbert Voss <voss@perce.de>
255 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
256 and some more stuff from FormTexinfo.C
258 * ControlShowFile.C: hiding the update-button
260 2001-10-09 Herbert Voss <voss@perce.de>
262 * ControlTexinfo.[Ch]: new files. Display information about the
263 installed texfiles (cls,sty,bst).
265 * ControlShowFile.[Ch]: new files. Display the contents of a file.
267 * GUI.h: added classes GUIShowFile and GUITexinfo.
269 * Makefile.am: modified appropriately.
271 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * ControlAboutlyx.C (getVersion): use lyx_version and
274 lyx_release_date instead of old macros
276 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
278 * ControlSpellchecker.C (check): Behaves well now when the spell
279 library doesn't know a replacement to an incorrect word.
281 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
283 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
284 the correct place. Can now check spelling more than once!
286 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
288 * ControlSplash.[Ch]: removed.
290 * GUI.h: remove GUISplash class.
292 * ViewBase.h: remove ViewSplash class.
294 * Makefile.am: remove ControlSplash.[Ch].
296 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
298 * ControlButtons.h: add variable emergency_exit_. If set to true, the
299 view will be shut down.
302 * ControlInset.h: act on emergency_exit_.
304 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
305 speller fails to launch.
307 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
309 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
310 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
312 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
314 * ControlRef.h (disconnectOnApply): new method. Set to true.
315 Perhaps make this user-modifiable?
317 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
322 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
324 * ControlRef.C (getBufferList, getBufferNum): New methods
326 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
328 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
329 of the dialog when the Apply button is pressed. Defaults to false,
330 but can be overridden in the daughter classes.
332 * ControlCitation.h (disconnectOnApply): new method. Set to true.
333 Perhaps make this user-modifiable?
335 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
337 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
338 we have dialogs that update their contents when the buffer changes.
339 Rather embarassing, really!
341 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
343 * ControlSearch (replace): change semantics of replace to NOT move on
344 to the next instance of a word once the present instance has been
345 replaced unless we are replacing ALL instances of the word.
347 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
349 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
351 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
353 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
354 dialog, set all options to "reset", close the dialog, re-open it ->
355 the options are set incorrectly.
357 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
358 When Applying it's useful to know whether the dialog is about to close
359 or not (no point refreshing the display for example).
361 * ControlInset.C (apply): use isClosing.
363 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
366 * ControlDialogs.h: remove bc() hack, now fixed in
367 Qt2 frontend. use member dialog_built_ instead of shared
370 * ButtonController.h:
371 * ButtonPolicies.C: more debug info
373 * ButtonControllerBase.C: call refresh() when setting readOnly !
375 * GUI.h: External form has apply, use the right policy
377 * character.C: fix two off-by-one errors when latex font was removed
379 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlInset.h (apply): tentative fix for the press Apply multiple
382 times and get multiple new Insets problem.
384 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
386 * ControlCharacter.C: fix typo
390 * ControlInsets.C: make sure dialog is built before it is shown, so
391 it works properly the very first time it is shown
393 2001-08-20 Herbert Voss <voss@perce.de>
395 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
396 and styles. Added an option for "bibliography into toc"
398 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
400 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
401 LaTeX is no longer a font property.
403 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
405 * GUI.h: Button controller for Reference dialog changed to
406 NoRepeatedApplyReadOnlyPolicy.
408 * biblio.C (getInfo): output volume and number info. Move year to end
411 2001-08-09 Allan Rae <rae@lyx.org>
413 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
415 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
417 * helper_funcs.C (getVectorFromString): fixed small bug.
419 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
421 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
423 * ControlSpellchecker.C: check next word after insert in personal dict
425 2001-08-06 Juergen Vigna <jug@sad.it>
427 * ControlERT.[Ch]: new file
429 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
431 * ControlInset.h: const and non-const forms of params().
433 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
434 whitespace from either side of each item.
436 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlFloat.h: add a != operator for FloatParams.
439 Lars, how did you get this to compile!!!
441 * ControlMinipage.[Ch]: uncommented someone's commenting out of
442 operator != for MinipageParams. Who's changing stuff and not compiling?
444 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
449 * GUI.h: add class GUIFloat
451 * ControlFloat.[Ch]: new files
453 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * ControlPrint.C: #include Lassert.h here.
457 2001-07-26 Baruch Even <baruch@lyx.org>
459 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
462 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
464 * ControlThesaurus.h:
465 * ControlThesaurus.C:
467 * Makefile.am: thesaurus support
469 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
472 * ControlInclude.C: implement ability to load file
474 2001-07-18 Juergen Vigna <jug@sad.it>
476 * ControlSearch.C (replace): changes to lyxfind.h function calls.
478 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
480 * biblio.C (getInfo): add a .c_str() to handle the usual
483 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
485 * ControlCitation.[Ch]: changes associated with adding natbib support.
486 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
487 New static variable citeStyles_.
489 * biblio.[Ch]: large internal rearrangement.
490 New public enum CiteStyle.
491 New public struct CitationStyle.
492 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
493 getNumericalStrings, getAuthorYearStrings
494 (simpleSearch, regexSearch): no longer publicly accessible.
496 * helper_funcs.C (getStringFromVector): bug fix.
498 2001-07-16 Baruch Even <baruch@lyx.org>
500 * ControlVCLog.h: Added Lsstream.h to includes.
502 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlSpellchecker.[Ch]: remove d-tor.
506 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
508 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
510 2001-07-16 Juergen Vigna <jug@sad.it>
512 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
513 compiled with USE_PSPELL) to be able to switch between ISpell and
516 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
518 Consistent use of Lsstream.h:
519 * ControlAboutlyx.[Ch] (getCredits):
520 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
522 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
524 * ControlCredits.[Ch]: removed
525 * ControlCopyright.[Ch]: removed
526 * ControlAboutlyx.[Ch]: added (replaces previous)
527 * GUI.h: removed credits and copyright added about lyx stuff
529 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
531 * ControlSpellchecker.C (getSuggestion):
532 (getWord): add std:: qualifier
534 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
536 * ControlSpellchecker.[Ch]: added
537 * ViewBase.h: added partialUpdate(int) member
538 * GUI.h: added spell stuff
540 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
542 * ControlExternal.C: (*it). -> it->
544 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
546 * ButtonController.h: move some included header files out of the
547 frontends and into here.
549 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlCharacter.C (c-tor): cosmetic name change of signal.
553 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
555 * *.[h]: added // -*- C++ -*-
556 * *.[C]: removed // -*- C++ -*-
558 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
559 activate Apply button.
560 (clearParams): removed.
561 font_ is now stored as a boost::scoped_ptr.
562 font_ is no longer deleted on hide(), so it's contents can now be used
563 by the Font button on the toolbar.
564 Lots of new methods so that the GUI can easily get the contents of
565 font_ when it update()s.
567 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
569 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
570 crash when the Font button on the Toolbar is pressed.
572 * GUI.h: change policy of Character button controller to
573 OkApplyCancelReadOnlyPolicy.
575 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
577 * ControlToc.C (getContents): don't add anything to the list if it
578 is supposed to be empty.
580 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
582 * helper_funcs.C (getVectorFromString): bug fix.
584 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
587 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
588 from ButtonControllerBase::readOnly. Updates the state of the widgets
589 in the read-only list only when the read-only status of the document
591 (refresh): moved this stuff into refreshReadOnly.
593 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
595 * ControlPrint.C (c-tor):
596 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
598 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
601 * character.h: small clean-ups.
603 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
605 * ControlToc.C (getType): remove support for old float list.
607 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
610 * ControlGraphics.h: no longer include insetgraphicsParams.h
611 * ControlInset.h: no longer include LyXView.h
616 * ControlCharacter.C:
619 * ControlConnections.C:
620 * ControlCopyright.C:
632 * ControlTabularCreate.C:
634 * ControlVCLog.C: they're now in here!
636 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
638 * ButtonControllerBase.h: C++ mode, inherit privately from
640 * ButtonPolicies.h: ditto
642 * ButtonController.h: C++ mode, swap init order of restore_ and
645 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
647 * ControlTabularCreate.h:
648 * ControlTabularCreate.C: make dialogs use a pair of uints
652 * ControlVCLog.C: fill a stringstream with the log contents
655 * ControlExternal.C: from Angus, clone the new InsetExternal
658 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
660 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
661 and made more robust.
663 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * ControlCopyright.C: include gettext.h
674 * ControlCharacter.C:
675 * character.C: include gettext.h and language.h
677 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
679 * ButtonController.h:
680 * ButtonControllerBase.h:
681 * ButtonControllerBase.C:
688 * ControlConnections.h:
694 * ViewBase.h: s/ControlButton/ControlButtons/
696 s/UndoAll/Restore/ + associated
698 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
700 * ControlToc.[Ch]: new files; a controller for the TOC popup.
703 * Makefile.am: associated changes with all of the above.
705 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
707 * ControlExternal.C: bug fixes. Can now apply changes to the inset
708 and edit, view, update the External Material correctly. I hope!
710 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
712 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
714 * BCTemplates.h: renamed as ButtonController.h
716 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
719 * ControlConnections.h: associated change in #include and class names.
721 * ControlExternal.[Ch]: new files; a controller for the External
725 * Makefile.am: associated changes with all of the above.
727 * ControlGraphics.[Ch]:
728 * ControlInclude.[Ch]:
731 (Browse): new method. Returns the results of a FileDialog browse.
733 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
734 (getVectorFromString): fixed bug.
736 * biblio.C (simpleSearch): cleaned up.
738 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
740 * A slight reworking of Baruch Even's ButtonController patch.
742 * BCTemplates.h: new file; all the templates for the ButtonController.
743 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
744 to the more generic setButtonLabel().
746 * ButtonController.[Ch]: renamed cancel_label and close_label as
747 cancel_label_ and close_label_.
749 * Makefile.am: added BCTemplates.h
751 2001-03-29 Juergen Vigna <jug@sad.it>
753 * ControlMinipage.C: removed widthp_ and all it's functions and changed
754 to use new %-lengths of LyXLength.
756 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
758 * ControlCitation.C (bibkeysInfo): removed Assert.
760 * ControlCopyright.h: moved GUICopyright into GUI.h
764 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
766 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
767 (setDaughterParams): a (by default empty) new method called in show().
776 * ControlUrl.h (clearDaughterParams): removed
778 * ControlMinipage.C (applyParamsToInset): update the view.
779 Added namespace minipage containing a helper function getUnits.
781 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
783 * ControlCharacter.[Ch]: moved out all the helper functions and the
784 enum into their own file.
785 * character.[Ch]: new files; contain the character helper functions,
786 now inside namespace character.
788 * ControlCitation.[Ch]: moved out all the helper functions and the
789 enums into their own file. Simplified interface.
790 * biblio.[Ch]: new files; contain the citation helper functions,
791 now inside namespace biblio. Will be of use also to an improved
794 * ControlGraphics.[Ch]:
795 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
796 popups, respectively.
799 * Makefile.am: associated changes.
801 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
803 * ControlMinipage.[Ch]:
804 * ControlPreamble.[Ch]:
806 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
807 and Print popups and Splash screen, respectively.
809 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
813 * Makefile.am: associated changes.
815 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
817 * ControlConnections.[Ch]: (docType): new method; returns the type
818 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
821 * ControlSearch.[Ch]:
822 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
823 Search and TabularCreate popups, respectively.
826 * Makefile.am: associated changes.
828 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
830 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
833 * ControlInset.h (apply): fix bug. Can now create new insets again.
835 * README: describe program flow.
837 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
839 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
841 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
843 * ControlDialogs.h: moved class ControlInset into its own file.
845 * ControlInset.h: new file. class ControlInset has been expanded to take
846 two template parameters, Inset and Params. Believe that all inset
847 controllers can be derived from this with the minimum of effort.
849 * ControlBibitem.[Ch]:
850 * ControlBibtex.[Ch]:
851 * ControlCitation.[Ch]:
852 * ControlCommand.[Ch]: moved most code into ControlInset.
854 * lots of files. Moved protected stuff into private where possible.
857 * ControlInclude.[Ch]:
858 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
859 Include and Url popups, respectively.
862 * Makefile.am: associated changes.
864 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
866 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
869 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
871 * ControlCredits.C (getCredits): remove std:: qualifier for
874 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
876 * ControlCredits.C (getCredits): add std:: on vector
878 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
880 * ControlCredits.C: remove using that is only used once, use
881 std::ios instead of std::iosbase, add some annoying comments.
883 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
885 * lots of header files: improved explanatory notes.
887 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
888 ControlBase is now a class that only controls the interaction of the
889 View with the ButtonController.
891 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
892 to ControlConnectBase. The class controls the connection/disconnection
893 of signals from the LyX kernel and makes available the kernel (through
894 lv_) to daughter controller classes.
895 Moved out class ControlConnectInset to a new file ControlDialogs.h.
897 * ControlDialogs.h: new file. Contains the definition of two template
898 controller classes, ControlDialog and ControlInset (was
899 ControlConnectInset). ControlInset is a parent class for controllers
900 of inset-popups. ControlDialogs is the rather uninspired name for
901 the base class of all non-inset popups. (Eg, Document and Paragraph.)
902 ControlDialogs is reaching a state of maturity as several popups now use
903 it and its functionality becomes clear. ControlInset is still in a state
904 of flux. It is likely that functionality will be moved out of
905 ControlCommands and into it.
907 * GUI.h: new file. Moved all the template GUIXXX classes out of the
908 individual Controller header files and into one place. These classes
909 serve only as convenient wrappers to simplify code in the respective
910 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
912 * ControlCharacter.[Ch] (show, update, hide):
913 * ControlLog.[Ch] (show, update, hide):
914 * ControlVCLog.[Ch] (show, update, hide): moved back into
915 the ControlDialogs base class.
916 (setParams, clearParams): new methods containing controller-specific
917 code to set/reset the parameters manipulated by the view.
919 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
921 (hide): calls clearParams.
923 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
924 by ControlCommand::hide().
926 * ControlCopyright.[Ch]:
927 * ControlCredits.[Ch]: new files; controllers for the copyright and
928 credits popups, respectively.
930 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
932 * ControlCharacter.C: fix typo
934 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
936 * ControlCharacter.[Ch]: new files; controller for the character popup.
938 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
939 moved to new files helper_funcs.[Ch].
941 * helper_funcs.[Ch]: new files. Some useful helper functions and
944 * Makefile.am: added new files.
946 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
948 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
950 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
953 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
954 Control log files, respectively.
956 * Makefile.am: added new files.
958 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
960 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
962 * Makefile.am: added ControlBibtex.[Ch].
964 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
967 * ControlCitation.C: added "using SigC::slot" declaration.
969 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
970 to FormCitation.C prior to the merger: "Do not put space between
973 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
975 * several files: remove CXX_WORKING_NAMESPACES
977 * ButtonController.h: noncopyable is in namespace boost
978 * ButtonPolicies.h: ditto
980 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
982 * Merging changes from BRANCH_MVC back into HEAD.
984 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
986 * Makefile.am: add ControlBibitem.[Ch].
988 * ControlBibitem.[Ch]: new files that together define the Controller
991 * ControlCommand.h (c-tor): give kb_action a default value of
994 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
996 * ControlCitation.[Ch]: moved search functions out of class.
997 (bibkeysInfo): new method. Returns const reference to private data.
998 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1001 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ControlCitation.[Ch]: added Search functions to the class,
1004 (shamelessly lifted from Marco's gnome code). I think that these would
1005 be better as helper functions outside the class, but this is a first
1008 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1010 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1012 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1013 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1014 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1015 implementation of FormCitation.
1017 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ButtonPolicies.h: add SMI_NOOP to enum.
1021 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1023 * ButtonController.C (input): add "optimising" if-statement. Actually,
1024 things don't work correctly without it...
1026 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1028 * ViewBase.h: remove #pragma directive
1030 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1033 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1035 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1037 * Makefile.am: added ButtonPolicies.[Ch]
1039 * ButtonController.[Ch]: ButtonController is split into
1040 ButtonControllerBase and a template ButtonController class. The base
1041 class no longer stores a pointer to a ButtonPolicy, but instead
1042 accesses the actual instantiation of the policy through a pure virtual
1043 method bp(). This method and the ButtonPolicy itself are instantiated
1044 in the templatised ButtonController class. This class is derived from
1045 the GUI-specific GUIBC class, meaning that the frontends know
1046 nothing about the actual policy decided upon by the controllers.
1048 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1049 Instead the actual instantiations are accessed through pure virtual
1050 methods view() and bc(). The daughter classes are responsible for the
1051 actual View and ButtonController.
1053 * ControlCitation.h: the templatised class GUICitation instantiates
1054 the methods view() and bc(). It also stores the instances of the
1055 View and ButtonController.
1057 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1059 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1060 also changed to ButtonController.
1063 * ControlConnections.[Ch]:
1064 * ControlCommand.[Ch]:
1065 * ControlCitation.[Ch]:
1066 * ViewBase.h: Changes associated with this.
1068 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1071 xforms/ButtonController class into a GUI-I class (here) and an
1072 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1074 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1075 from which all Dialog Controllers should be derived. the Controllers
1076 are GUI-independent, but are designed to control the behaviour of
1077 GUI-specific implementaions of each dialog.
1079 * ControlConnections.[Ch]: new files. Classes controlling the
1080 connections of buffer-independent, buffer-dependent and Inset dialogs
1081 with the LyX kernel.
1083 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1084 InsetCommand subset of insets.
1086 * ControlCitation.[Ch]: new files. The test specialisation! A
1087 controller for the Citation dialog.
1089 * ViewBase.h: new file. ViewBase is an abstract base class from which
1090 GUI-specific dialogs should be derived. The functionality that the GUIs
1091 must now implement is much reduced.