1 2002-03-11 Herbert Voss <voss@lyx.org>
3 * biblio.C (parseBibTeX): fix another minibug with an
6 2002-03-10 Herbert Voss <voss@lyx.org>
8 * biblio.C (parseBibTeX): fix bug
9 (familyName): improve parsing
11 2002-03-09 Herbert Voss <voss@lyx.org>
13 * ControlGraphics.[Ch]: adding checkFilename() for testing
16 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * ControlSendto.C (allFormats): fix a iterators are not pointers
21 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
23 * ControlShowFile.h: add a #include "LString.h"
25 2002-03-05 Herbert Voss <voss@lyx.org>
27 * biblio.C (getInfo): simplify if using paragraph layout
30 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
32 * biblio.C (getInfo): return the info field correctly if the key
34 (parseBibTeX): fix crash when data.find('=') returns string::npos.
36 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
38 * ControlForks.[Ch]: new files. A controller for the Forked Child
39 processes dialog, enabling the user to see what forked processes
40 are running, and, if he so desires, to kill them.
42 * GUI.h: add class GUIForks.
44 * Makefile.am: add ControlForks.[Ch].
46 * ControlGraphics.C (getParams): small change due to change in
49 2002-02-21 Herbert Voss <voss@lyx.org>
51 * biblio.C: fix bug with commentlines in a bibentry
53 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * Makefile.am: simpler obj. file compile
57 2002-02-18 Herbert Voss <voss@lyx.org>
59 * ControlGraphics.[Ch]: remove help-file call
61 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
63 * helper_funcs.h: wrap the structs firster and seconder up in a
64 namespace to avoid clashes with those in lyxalgo,h.
66 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
67 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
69 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
74 change Systemcalls::System to Systemcalls::Wait and
75 No change of functionality, just reflects the stripped down Systemcalls
78 2002-02-06 Herbert Voss <voss@lyx.org>
80 * ControlGraphics.[C] (readBB): search also in
81 g'zipped files. If it is useful than PK and compress
82 should also be supported. use unzipFile() from
85 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
87 * ControlRef.C (getBufferName): new method to get a real buffer
90 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
92 * ControlTexInfo.[Ch]: Removed Help functions.
94 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
96 * ControlSpellchecker.C: clear any selection left
99 2002-02-01 Herbert Voss <voss@lyx.org>
101 * ControlGraphics.[C] (readBB): search only, if it is a
102 ".?ps" file and look for bb's at end of file
104 2002-01-30 Herbert Voss <voss@lyx.org>
106 * ControlGraphic.[C]: do not search the whole file, when
109 2002-01-29 Herbert Voss <voss@lyx.org>
111 * ControlGraphic.[C]: added a button for document path
112 when browsing -> bug 222
114 2002-01-27 Herbert Voss <voss@lyx.org>
116 * ControlGraphic.[Ch]: added support for Bounding Box, other
119 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlTexinfo.h: added #include "LString.h" where they belong.
124 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
129 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
131 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
134 2002-01-20 Herbert Voss <voss@perce.de>
136 * ControlInclude.[Ch]: better control of unexistings files
137 when entered without the browser
139 * ControlGraphic.C (Browse): add extension "ps" when browsing for
142 2002-01-19 Herbert Voss <voss@perce.de>
144 * biblio.C (getInfo): fix bug when no author is given
146 * biblio.C (parseBibTeX): change the parsing, so that
147 '#'-characters in a bibtex entry are no more a problem.
149 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
151 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
152 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
154 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
158 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
160 * ControlExternal.C (Browse): add a std:: qualifier
162 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
164 * ControlExternal.C (Browse): simplify to use browseRelFile
166 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
168 * ButtonController.tmpl: added // -*- C++ -*-
170 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
171 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
172 Needed in _one_ of the ControlCommand-derived classes only.
174 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlSearch.h: #include LString.h
179 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
181 * ButtonController.h: split into two. The definition remains in
182 ButtonController.h, the declaration is now in ButtonController.tmpl.
183 These template methods should be #included when the derived class is
184 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
185 and in the qt2 and gnome equivalents.
187 * ControlDialogs.h: removed. The definition of class ControlDialog is
188 now to be found in ControlDialog.h and the declaration of the methods
189 is in ControlDialog.tmpl. The two template instantiations are performed
190 in ControlDialog_impl.[Ch], new files also.
192 * ControlInset.h: split into two. The definition remains in
193 ControlInset.h, the declaration is now in ControlInset.tmpl.
194 These template methods should be #included derived class is
195 instantiated, in this case in 8 other .C files in this directory.
197 * ControlAboutlyx.[Ch]:
198 * ControlCharacter.[Ch]:
208 * ControlPreamble.[Ch]:
210 * ControlSearch.[Ch]:
211 * ControlShowFile.[Ch]:
212 * ControlSpellchecker.[Ch]:
213 * ControlTabularCreate.[Ch]:
214 * ControlTexinfo.[Ch]:
215 * ControlThesaurus.[Ch]:
216 * ControlVCLog.[Ch]: small changes associated with the above ones.
218 * GUI.h: #include the ButtonController and dialog controller files
219 here, rather than forward declare them. This is the correct place
222 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
223 Rename ControlDialogs.h as ControlDialog.h.
224 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
227 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
229 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
231 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
233 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
236 * ControlGraphics.C (Browse): remove overzealous shortcut
238 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
240 * FormMinipage.C (apply, update): MinipageParams::width renamed
241 as MinipageParams::pageWidth. InsetMinipage::width renamed
242 as InsetMinipage::pageWidth.
244 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * ButtonController.h (refreshReadOnly): use explicit typename
248 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
250 * helper_funcs.h (browseFile): add default empty button descriptions.
252 * ControlGraphics.C (Browse):
253 * ControlBibtex.C (Browse):
254 * ControlInclude.C (Browse): add shortcuts to directory buttons
256 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
258 * ControlThesaurus.h:
259 * ControlThesaurus.C: update to Aiksaurus 0.14
261 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
263 * ControlSpellchecker.C (clearParams): show the closing message
264 only if some words have been checked, thereby fixing
267 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
269 * ControlFloat.[Ch]: changes to prevent here definitely being used
272 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
274 * ControlThesaurus.h: do not include <config.h> in header files
276 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
278 * ControlToc.C: changes for floatlist
280 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
282 * ControlVCLog.C: use _()
284 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
286 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
289 2001-10-22 Juergen Vigna <jug@sad.it>
291 * ControlSpellchecker.C (clearParams): use the error_ message of the
292 speller_ if available when the spellchecker died.
293 (setParams): remove double error message display.
295 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
299 * helper_funcs.[Ch] (getLatexUnits): see above.
301 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
303 * ControlTexinfo.C (getContents): use the right file for .sty files
305 2001-10-10 Herbert Voss <voss@perce.de>
307 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
308 and some more stuff from FormTexinfo.C
310 * ControlShowFile.C: hiding the update-button
312 2001-10-09 Herbert Voss <voss@perce.de>
314 * ControlTexinfo.[Ch]: new files. Display information about the
315 installed texfiles (cls,sty,bst).
317 * ControlShowFile.[Ch]: new files. Display the contents of a file.
319 * GUI.h: added classes GUIShowFile and GUITexinfo.
321 * Makefile.am: modified appropriately.
323 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
325 * ControlAboutlyx.C (getVersion): use lyx_version and
326 lyx_release_date instead of old macros
328 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
330 * ControlSpellchecker.C (check): Behaves well now when the spell
331 library doesn't know a replacement to an incorrect word.
333 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
336 the correct place. Can now check spelling more than once!
338 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlSplash.[Ch]: removed.
342 * GUI.h: remove GUISplash class.
344 * ViewBase.h: remove ViewSplash class.
346 * Makefile.am: remove ControlSplash.[Ch].
348 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
350 * ControlButtons.h: add variable emergency_exit_. If set to true, the
351 view will be shut down.
354 * ControlInset.h: act on emergency_exit_.
356 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
357 speller fails to launch.
359 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
362 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
364 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlRef.h (disconnectOnApply): new method. Set to true.
367 Perhaps make this user-modifiable?
369 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
371 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
374 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
376 * ControlRef.C (getBufferList, getBufferNum): New methods
378 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
381 of the dialog when the Apply button is pressed. Defaults to false,
382 but can be overridden in the daughter classes.
384 * ControlCitation.h (disconnectOnApply): new method. Set to true.
385 Perhaps make this user-modifiable?
387 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
390 we have dialogs that update their contents when the buffer changes.
391 Rather embarassing, really!
393 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
395 * ControlSearch (replace): change semantics of replace to NOT move on
396 to the next instance of a word once the present instance has been
397 replaced unless we are replacing ALL instances of the word.
399 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
401 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
403 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
405 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
406 dialog, set all options to "reset", close the dialog, re-open it ->
407 the options are set incorrectly.
409 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
410 When Applying it's useful to know whether the dialog is about to close
411 or not (no point refreshing the display for example).
413 * ControlInset.C (apply): use isClosing.
415 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
418 * ControlDialogs.h: remove bc() hack, now fixed in
419 Qt2 frontend. use member dialog_built_ instead of shared
422 * ButtonController.h:
423 * ButtonPolicies.C: more debug info
425 * ButtonControllerBase.C: call refresh() when setting readOnly !
427 * GUI.h: External form has apply, use the right policy
429 * character.C: fix two off-by-one errors when latex font was removed
431 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
433 * ControlInset.h (apply): tentative fix for the press Apply multiple
434 times and get multiple new Insets problem.
436 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
438 * ControlCharacter.C: fix typo
442 * ControlInsets.C: make sure dialog is built before it is shown, so
443 it works properly the very first time it is shown
445 2001-08-20 Herbert Voss <voss@perce.de>
447 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
448 and styles. Added an option for "bibliography into toc"
450 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
452 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
453 LaTeX is no longer a font property.
455 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
457 * GUI.h: Button controller for Reference dialog changed to
458 NoRepeatedApplyReadOnlyPolicy.
460 * biblio.C (getInfo): output volume and number info. Move year to end
463 2001-08-09 Allan Rae <rae@lyx.org>
465 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
467 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
469 * helper_funcs.C (getVectorFromString): fixed small bug.
471 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
473 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
475 * ControlSpellchecker.C: check next word after insert in personal dict
477 2001-08-06 Juergen Vigna <jug@sad.it>
479 * ControlERT.[Ch]: new file
481 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlInset.h: const and non-const forms of params().
485 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
486 whitespace from either side of each item.
488 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
490 * ControlFloat.h: add a != operator for FloatParams.
491 Lars, how did you get this to compile!!!
493 * ControlMinipage.[Ch]: uncommented someone's commenting out of
494 operator != for MinipageParams. Who's changing stuff and not compiling?
496 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
498 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
501 * GUI.h: add class GUIFloat
503 * ControlFloat.[Ch]: new files
505 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
507 * ControlPrint.C: #include Lassert.h here.
509 2001-07-26 Baruch Even <baruch@lyx.org>
511 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
514 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
516 * ControlThesaurus.h:
517 * ControlThesaurus.C:
519 * Makefile.am: thesaurus support
521 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
524 * ControlInclude.C: implement ability to load file
526 2001-07-18 Juergen Vigna <jug@sad.it>
528 * ControlSearch.C (replace): changes to lyxfind.h function calls.
530 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
532 * biblio.C (getInfo): add a .c_str() to handle the usual
535 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
537 * ControlCitation.[Ch]: changes associated with adding natbib support.
538 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
539 New static variable citeStyles_.
541 * biblio.[Ch]: large internal rearrangement.
542 New public enum CiteStyle.
543 New public struct CitationStyle.
544 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
545 getNumericalStrings, getAuthorYearStrings
546 (simpleSearch, regexSearch): no longer publicly accessible.
548 * helper_funcs.C (getStringFromVector): bug fix.
550 2001-07-16 Baruch Even <baruch@lyx.org>
552 * ControlVCLog.h: Added Lsstream.h to includes.
554 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlSpellchecker.[Ch]: remove d-tor.
558 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
560 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
562 2001-07-16 Juergen Vigna <jug@sad.it>
564 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
565 compiled with USE_PSPELL) to be able to switch between ISpell and
568 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
570 Consistent use of Lsstream.h:
571 * ControlAboutlyx.[Ch] (getCredits):
572 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
574 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
576 * ControlCredits.[Ch]: removed
577 * ControlCopyright.[Ch]: removed
578 * ControlAboutlyx.[Ch]: added (replaces previous)
579 * GUI.h: removed credits and copyright added about lyx stuff
581 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * ControlSpellchecker.C (getSuggestion):
584 (getWord): add std:: qualifier
586 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
588 * ControlSpellchecker.[Ch]: added
589 * ViewBase.h: added partialUpdate(int) member
590 * GUI.h: added spell stuff
592 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * ControlExternal.C: (*it). -> it->
596 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
598 * ButtonController.h: move some included header files out of the
599 frontends and into here.
601 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
603 * ControlCharacter.C (c-tor): cosmetic name change of signal.
605 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
607 * *.[h]: added // -*- C++ -*-
608 * *.[C]: removed // -*- C++ -*-
610 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
611 activate Apply button.
612 (clearParams): removed.
613 font_ is now stored as a boost::scoped_ptr.
614 font_ is no longer deleted on hide(), so it's contents can now be used
615 by the Font button on the toolbar.
616 Lots of new methods so that the GUI can easily get the contents of
617 font_ when it update()s.
619 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
621 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
622 crash when the Font button on the Toolbar is pressed.
624 * GUI.h: change policy of Character button controller to
625 OkApplyCancelReadOnlyPolicy.
627 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * ControlToc.C (getContents): don't add anything to the list if it
630 is supposed to be empty.
632 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
634 * helper_funcs.C (getVectorFromString): bug fix.
636 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
639 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
640 from ButtonControllerBase::readOnly. Updates the state of the widgets
641 in the read-only list only when the read-only status of the document
643 (refresh): moved this stuff into refreshReadOnly.
645 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
647 * ControlPrint.C (c-tor):
648 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
650 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
653 * character.h: small clean-ups.
655 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
657 * ControlToc.C (getType): remove support for old float list.
659 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
661 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
662 * ControlGraphics.h: no longer include insetgraphicsParams.h
663 * ControlInset.h: no longer include LyXView.h
668 * ControlCharacter.C:
671 * ControlConnections.C:
672 * ControlCopyright.C:
684 * ControlTabularCreate.C:
686 * ControlVCLog.C: they're now in here!
688 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * ButtonControllerBase.h: C++ mode, inherit privately from
692 * ButtonPolicies.h: ditto
694 * ButtonController.h: C++ mode, swap init order of restore_ and
697 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
699 * ControlTabularCreate.h:
700 * ControlTabularCreate.C: make dialogs use a pair of uints
704 * ControlVCLog.C: fill a stringstream with the log contents
707 * ControlExternal.C: from Angus, clone the new InsetExternal
710 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
712 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
713 and made more robust.
715 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
724 * ControlCopyright.C: include gettext.h
726 * ControlCharacter.C:
727 * character.C: include gettext.h and language.h
729 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
731 * ButtonController.h:
732 * ButtonControllerBase.h:
733 * ButtonControllerBase.C:
740 * ControlConnections.h:
746 * ViewBase.h: s/ControlButton/ControlButtons/
748 s/UndoAll/Restore/ + associated
750 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
752 * ControlToc.[Ch]: new files; a controller for the TOC popup.
755 * Makefile.am: associated changes with all of the above.
757 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
759 * ControlExternal.C: bug fixes. Can now apply changes to the inset
760 and edit, view, update the External Material correctly. I hope!
762 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
764 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
766 * BCTemplates.h: renamed as ButtonController.h
768 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
771 * ControlConnections.h: associated change in #include and class names.
773 * ControlExternal.[Ch]: new files; a controller for the External
777 * Makefile.am: associated changes with all of the above.
779 * ControlGraphics.[Ch]:
780 * ControlInclude.[Ch]:
783 (Browse): new method. Returns the results of a FileDialog browse.
785 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
786 (getVectorFromString): fixed bug.
788 * biblio.C (simpleSearch): cleaned up.
790 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
792 * A slight reworking of Baruch Even's ButtonController patch.
794 * BCTemplates.h: new file; all the templates for the ButtonController.
795 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
796 to the more generic setButtonLabel().
798 * ButtonController.[Ch]: renamed cancel_label and close_label as
799 cancel_label_ and close_label_.
801 * Makefile.am: added BCTemplates.h
803 2001-03-29 Juergen Vigna <jug@sad.it>
805 * ControlMinipage.C: removed widthp_ and all it's functions and changed
806 to use new %-lengths of LyXLength.
808 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
810 * ControlCitation.C (bibkeysInfo): removed Assert.
812 * ControlCopyright.h: moved GUICopyright into GUI.h
816 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
818 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
819 (setDaughterParams): a (by default empty) new method called in show().
828 * ControlUrl.h (clearDaughterParams): removed
830 * ControlMinipage.C (applyParamsToInset): update the view.
831 Added namespace minipage containing a helper function getUnits.
833 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
835 * ControlCharacter.[Ch]: moved out all the helper functions and the
836 enum into their own file.
837 * character.[Ch]: new files; contain the character helper functions,
838 now inside namespace character.
840 * ControlCitation.[Ch]: moved out all the helper functions and the
841 enums into their own file. Simplified interface.
842 * biblio.[Ch]: new files; contain the citation helper functions,
843 now inside namespace biblio. Will be of use also to an improved
846 * ControlGraphics.[Ch]:
847 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
848 popups, respectively.
851 * Makefile.am: associated changes.
853 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
855 * ControlMinipage.[Ch]:
856 * ControlPreamble.[Ch]:
858 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
859 and Print popups and Splash screen, respectively.
861 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
865 * Makefile.am: associated changes.
867 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
869 * ControlConnections.[Ch]: (docType): new method; returns the type
870 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
873 * ControlSearch.[Ch]:
874 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
875 Search and TabularCreate popups, respectively.
878 * Makefile.am: associated changes.
880 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
882 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
885 * ControlInset.h (apply): fix bug. Can now create new insets again.
887 * README: describe program flow.
889 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
891 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
893 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlDialogs.h: moved class ControlInset into its own file.
897 * ControlInset.h: new file. class ControlInset has been expanded to take
898 two template parameters, Inset and Params. Believe that all inset
899 controllers can be derived from this with the minimum of effort.
901 * ControlBibitem.[Ch]:
902 * ControlBibtex.[Ch]:
903 * ControlCitation.[Ch]:
904 * ControlCommand.[Ch]: moved most code into ControlInset.
906 * lots of files. Moved protected stuff into private where possible.
909 * ControlInclude.[Ch]:
910 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
911 Include and Url popups, respectively.
914 * Makefile.am: associated changes.
916 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
918 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
921 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
923 * ControlCredits.C (getCredits): remove std:: qualifier for
926 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
928 * ControlCredits.C (getCredits): add std:: on vector
930 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
932 * ControlCredits.C: remove using that is only used once, use
933 std::ios instead of std::iosbase, add some annoying comments.
935 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
937 * lots of header files: improved explanatory notes.
939 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
940 ControlBase is now a class that only controls the interaction of the
941 View with the ButtonController.
943 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
944 to ControlConnectBase. The class controls the connection/disconnection
945 of signals from the LyX kernel and makes available the kernel (through
946 lv_) to daughter controller classes.
947 Moved out class ControlConnectInset to a new file ControlDialogs.h.
949 * ControlDialogs.h: new file. Contains the definition of two template
950 controller classes, ControlDialog and ControlInset (was
951 ControlConnectInset). ControlInset is a parent class for controllers
952 of inset-popups. ControlDialogs is the rather uninspired name for
953 the base class of all non-inset popups. (Eg, Document and Paragraph.)
954 ControlDialogs is reaching a state of maturity as several popups now use
955 it and its functionality becomes clear. ControlInset is still in a state
956 of flux. It is likely that functionality will be moved out of
957 ControlCommands and into it.
959 * GUI.h: new file. Moved all the template GUIXXX classes out of the
960 individual Controller header files and into one place. These classes
961 serve only as convenient wrappers to simplify code in the respective
962 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
964 * ControlCharacter.[Ch] (show, update, hide):
965 * ControlLog.[Ch] (show, update, hide):
966 * ControlVCLog.[Ch] (show, update, hide): moved back into
967 the ControlDialogs base class.
968 (setParams, clearParams): new methods containing controller-specific
969 code to set/reset the parameters manipulated by the view.
971 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
973 (hide): calls clearParams.
975 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
976 by ControlCommand::hide().
978 * ControlCopyright.[Ch]:
979 * ControlCredits.[Ch]: new files; controllers for the copyright and
980 credits popups, respectively.
982 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
984 * ControlCharacter.C: fix typo
986 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
988 * ControlCharacter.[Ch]: new files; controller for the character popup.
990 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
991 moved to new files helper_funcs.[Ch].
993 * helper_funcs.[Ch]: new files. Some useful helper functions and
996 * Makefile.am: added new files.
998 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1000 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1002 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1005 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1006 Control log files, respectively.
1008 * Makefile.am: added new files.
1010 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1012 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1014 * Makefile.am: added ControlBibtex.[Ch].
1016 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ControlCitation.C: added "using SigC::slot" declaration.
1021 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1022 to FormCitation.C prior to the merger: "Do not put space between
1025 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1027 * several files: remove CXX_WORKING_NAMESPACES
1029 * ButtonController.h: noncopyable is in namespace boost
1030 * ButtonPolicies.h: ditto
1032 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1034 * Merging changes from BRANCH_MVC back into HEAD.
1036 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1038 * Makefile.am: add ControlBibitem.[Ch].
1040 * ControlBibitem.[Ch]: new files that together define the Controller
1041 for a Bibitem popup.
1043 * ControlCommand.h (c-tor): give kb_action a default value of
1046 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1048 * ControlCitation.[Ch]: moved search functions out of class.
1049 (bibkeysInfo): new method. Returns const reference to private data.
1050 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1053 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1055 * ControlCitation.[Ch]: added Search functions to the class,
1056 (shamelessly lifted from Marco's gnome code). I think that these would
1057 be better as helper functions outside the class, but this is a first
1060 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1062 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1064 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1065 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1066 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1067 implementation of FormCitation.
1069 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1071 * ButtonPolicies.h: add SMI_NOOP to enum.
1073 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1075 * ButtonController.C (input): add "optimising" if-statement. Actually,
1076 things don't work correctly without it...
1078 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1080 * ViewBase.h: remove #pragma directive
1082 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1085 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1089 * Makefile.am: added ButtonPolicies.[Ch]
1091 * ButtonController.[Ch]: ButtonController is split into
1092 ButtonControllerBase and a template ButtonController class. The base
1093 class no longer stores a pointer to a ButtonPolicy, but instead
1094 accesses the actual instantiation of the policy through a pure virtual
1095 method bp(). This method and the ButtonPolicy itself are instantiated
1096 in the templatised ButtonController class. This class is derived from
1097 the GUI-specific GUIBC class, meaning that the frontends know
1098 nothing about the actual policy decided upon by the controllers.
1100 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1101 Instead the actual instantiations are accessed through pure virtual
1102 methods view() and bc(). The daughter classes are responsible for the
1103 actual View and ButtonController.
1105 * ControlCitation.h: the templatised class GUICitation instantiates
1106 the methods view() and bc(). It also stores the instances of the
1107 View and ButtonController.
1109 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1111 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1112 also changed to ButtonController.
1115 * ControlConnections.[Ch]:
1116 * ControlCommand.[Ch]:
1117 * ControlCitation.[Ch]:
1118 * ViewBase.h: Changes associated with this.
1120 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1122 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1123 xforms/ButtonController class into a GUI-I class (here) and an
1124 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1126 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1127 from which all Dialog Controllers should be derived. the Controllers
1128 are GUI-independent, but are designed to control the behaviour of
1129 GUI-specific implementaions of each dialog.
1131 * ControlConnections.[Ch]: new files. Classes controlling the
1132 connections of buffer-independent, buffer-dependent and Inset dialogs
1133 with the LyX kernel.
1135 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1136 InsetCommand subset of insets.
1138 * ControlCitation.[Ch]: new files. The test specialisation! A
1139 controller for the Citation dialog.
1141 * ViewBase.h: new file. ViewBase is an abstract base class from which
1142 GUI-specific dialogs should be derived. The functionality that the GUIs
1143 must now implement is much reduced.