1 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
3 * ControlGraphics.C: pass the browseFile dialog a string of only those
4 formats that can currently be loaded by LyX.
6 2002-04-15 Herbert Voss <voss@perce.de>
8 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
9 with something like ,,...blah...`` (two commas)
11 2002-04-14 Herbert Voss <voss@perce.de>
13 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
14 into the support/lstrings for better use in other programs.
16 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
17 namespace anon and make globally accessible.
18 (familyName): test for the presence of a LaTeX Space at the front of
19 of a name; strip it if it exists.
21 2002-04-11 Herbert Voss <voss@perce.de>
23 * ControlGraphics.C: expand "browse-string" to all available formats
25 2002-04-11 Herbert Voss <voss@perce.de>
27 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
29 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
31 * ControlAboutlyx.C (getVersion): two _() forgotten
33 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
37 * ControlBibtex.C: make N_() be _()
39 2002-04-07 Herbert Voss <voss@perce.de>
41 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
43 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
45 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
46 used when reading the BB.
48 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlGraphics.C (readBB): Don't open the ifstrem and then
51 check the format from the contents (and open a second ifstream in the
52 process. One at a time please.
54 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
56 * ControlRef.C (getBufferNum): squash warning message.
58 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
60 * ControlBibtex.C (Browse):
61 * ControlGraphics.C (Browse):
62 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
64 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
66 * ControlGraphics.C (applyParamsToInset): pass filepath to
67 InsetGraphics::updateInset.
69 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
71 * most files: ws cleanup
73 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
75 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
78 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
81 * ControlInclude.C: better error messages
83 2002-03-11 Herbert Voss <voss@lyx.org>
85 * biblio.C (parseBibTeX): fix another minibug with an
88 2002-03-10 Herbert Voss <voss@lyx.org>
90 * biblio.C (parseBibTeX): fix bug
91 (familyName): improve parsing
93 2002-03-09 Herbert Voss <voss@lyx.org>
95 * ControlGraphics.[Ch]: adding checkFilename() for testing
98 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * ControlSendto.C (allFormats): fix a iterators are not pointers
103 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
105 * ControlShowFile.h: add a #include "LString.h"
107 2002-03-05 Herbert Voss <voss@lyx.org>
109 * biblio.C (getInfo): simplify if using paragraph layout
112 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
114 * biblio.C (getInfo): return the info field correctly if the key
116 (parseBibTeX): fix crash when data.find('=') returns string::npos.
118 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlForks.[Ch]: new files. A controller for the Forked Child
121 processes dialog, enabling the user to see what forked processes
122 are running, and, if he so desires, to kill them.
124 * GUI.h: add class GUIForks.
126 * Makefile.am: add ControlForks.[Ch].
128 * ControlGraphics.C (getParams): small change due to change in
131 2002-02-21 Herbert Voss <voss@lyx.org>
133 * biblio.C: fix bug with commentlines in a bibentry
135 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
137 * Makefile.am: simpler obj. file compile
139 2002-02-18 Herbert Voss <voss@lyx.org>
141 * ControlGraphics.[Ch]: remove help-file call
143 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
145 * helper_funcs.h: wrap the structs firster and seconder up in a
146 namespace to avoid clashes with those in lyxalgo,h.
148 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
149 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
151 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
153 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
156 change Systemcalls::System to Systemcalls::Wait and
157 No change of functionality, just reflects the stripped down Systemcalls
160 2002-02-06 Herbert Voss <voss@lyx.org>
162 * ControlGraphics.[C] (readBB): search also in
163 g'zipped files. If it is useful than PK and compress
164 should also be supported. use unzipFile() from
167 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * ControlRef.C (getBufferName): new method to get a real buffer
172 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
174 * ControlTexInfo.[Ch]: Removed Help functions.
176 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
178 * ControlSpellchecker.C: clear any selection left
181 2002-02-01 Herbert Voss <voss@lyx.org>
183 * ControlGraphics.[C] (readBB): search only, if it is a
184 ".?ps" file and look for bb's at end of file
186 2002-01-30 Herbert Voss <voss@lyx.org>
188 * ControlGraphic.[C]: do not search the whole file, when
191 2002-01-29 Herbert Voss <voss@lyx.org>
193 * ControlGraphic.[C]: added a button for document path
194 when browsing -> bug 222
196 2002-01-27 Herbert Voss <voss@lyx.org>
198 * ControlGraphic.[Ch]: added support for Bounding Box, other
201 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlTexinfo.h: added #include "LString.h" where they belong.
206 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
209 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
211 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
213 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
216 2002-01-20 Herbert Voss <voss@perce.de>
218 * ControlInclude.[Ch]: better control of unexistings files
219 when entered without the browser
221 * ControlGraphic.C (Browse): add extension "ps" when browsing for
224 2002-01-19 Herbert Voss <voss@perce.de>
226 * biblio.C (getInfo): fix bug when no author is given
228 * biblio.C (parseBibTeX): change the parsing, so that
229 '#'-characters in a bibtex entry are no more a problem.
231 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
233 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
234 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
236 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
238 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
240 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
242 * ControlExternal.C (Browse): add a std:: qualifier
244 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
246 * ControlExternal.C (Browse): simplify to use browseRelFile
248 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
250 * ButtonController.tmpl: added // -*- C++ -*-
252 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
253 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
254 Needed in _one_ of the ControlCommand-derived classes only.
256 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
259 * ControlSearch.h: #include LString.h
261 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
263 * ButtonController.h: split into two. The definition remains in
264 ButtonController.h, the declaration is now in ButtonController.tmpl.
265 These template methods should be #included when the derived class is
266 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
267 and in the qt2 and gnome equivalents.
269 * ControlDialogs.h: removed. The definition of class ControlDialog is
270 now to be found in ControlDialog.h and the declaration of the methods
271 is in ControlDialog.tmpl. The two template instantiations are performed
272 in ControlDialog_impl.[Ch], new files also.
274 * ControlInset.h: split into two. The definition remains in
275 ControlInset.h, the declaration is now in ControlInset.tmpl.
276 These template methods should be #included derived class is
277 instantiated, in this case in 8 other .C files in this directory.
279 * ControlAboutlyx.[Ch]:
280 * ControlCharacter.[Ch]:
290 * ControlPreamble.[Ch]:
292 * ControlSearch.[Ch]:
293 * ControlShowFile.[Ch]:
294 * ControlSpellchecker.[Ch]:
295 * ControlTabularCreate.[Ch]:
296 * ControlTexinfo.[Ch]:
297 * ControlThesaurus.[Ch]:
298 * ControlVCLog.[Ch]: small changes associated with the above ones.
300 * GUI.h: #include the ButtonController and dialog controller files
301 here, rather than forward declare them. This is the correct place
304 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
305 Rename ControlDialogs.h as ControlDialog.h.
306 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
309 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
311 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
313 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
315 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
318 * ControlGraphics.C (Browse): remove overzealous shortcut
320 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
322 * FormMinipage.C (apply, update): MinipageParams::width renamed
323 as MinipageParams::pageWidth. InsetMinipage::width renamed
324 as InsetMinipage::pageWidth.
326 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
328 * ButtonController.h (refreshReadOnly): use explicit typename
330 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
332 * helper_funcs.h (browseFile): add default empty button descriptions.
334 * ControlGraphics.C (Browse):
335 * ControlBibtex.C (Browse):
336 * ControlInclude.C (Browse): add shortcuts to directory buttons
338 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
340 * ControlThesaurus.h:
341 * ControlThesaurus.C: update to Aiksaurus 0.14
343 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlSpellchecker.C (clearParams): show the closing message
346 only if some words have been checked, thereby fixing
349 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
351 * ControlFloat.[Ch]: changes to prevent here definitely being used
354 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
356 * ControlThesaurus.h: do not include <config.h> in header files
358 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
360 * ControlToc.C: changes for floatlist
362 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
364 * ControlVCLog.C: use _()
366 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
368 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
371 2001-10-22 Juergen Vigna <jug@sad.it>
373 * ControlSpellchecker.C (clearParams): use the error_ message of the
374 speller_ if available when the spellchecker died.
375 (setParams): remove double error message display.
377 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
379 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
381 * helper_funcs.[Ch] (getLatexUnits): see above.
383 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
385 * ControlTexinfo.C (getContents): use the right file for .sty files
387 2001-10-10 Herbert Voss <voss@perce.de>
389 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
390 and some more stuff from FormTexinfo.C
392 * ControlShowFile.C: hiding the update-button
394 2001-10-09 Herbert Voss <voss@perce.de>
396 * ControlTexinfo.[Ch]: new files. Display information about the
397 installed texfiles (cls,sty,bst).
399 * ControlShowFile.[Ch]: new files. Display the contents of a file.
401 * GUI.h: added classes GUIShowFile and GUITexinfo.
403 * Makefile.am: modified appropriately.
405 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
407 * ControlAboutlyx.C (getVersion): use lyx_version and
408 lyx_release_date instead of old macros
410 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
412 * ControlSpellchecker.C (check): Behaves well now when the spell
413 library doesn't know a replacement to an incorrect word.
415 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
417 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
418 the correct place. Can now check spelling more than once!
420 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
422 * ControlSplash.[Ch]: removed.
424 * GUI.h: remove GUISplash class.
426 * ViewBase.h: remove ViewSplash class.
428 * Makefile.am: remove ControlSplash.[Ch].
430 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
432 * ControlButtons.h: add variable emergency_exit_. If set to true, the
433 view will be shut down.
436 * ControlInset.h: act on emergency_exit_.
438 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
439 speller fails to launch.
441 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
444 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
446 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlRef.h (disconnectOnApply): new method. Set to true.
449 Perhaps make this user-modifiable?
451 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
453 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
456 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
458 * ControlRef.C (getBufferList, getBufferNum): New methods
460 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
462 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
463 of the dialog when the Apply button is pressed. Defaults to false,
464 but can be overridden in the daughter classes.
466 * ControlCitation.h (disconnectOnApply): new method. Set to true.
467 Perhaps make this user-modifiable?
469 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
472 we have dialogs that update their contents when the buffer changes.
473 Rather embarassing, really!
475 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
477 * ControlSearch (replace): change semantics of replace to NOT move on
478 to the next instance of a word once the present instance has been
479 replaced unless we are replacing ALL instances of the word.
481 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
483 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
485 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
487 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
488 dialog, set all options to "reset", close the dialog, re-open it ->
489 the options are set incorrectly.
491 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
492 When Applying it's useful to know whether the dialog is about to close
493 or not (no point refreshing the display for example).
495 * ControlInset.C (apply): use isClosing.
497 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
500 * ControlDialogs.h: remove bc() hack, now fixed in
501 Qt2 frontend. use member dialog_built_ instead of shared
504 * ButtonController.h:
505 * ButtonPolicies.C: more debug info
507 * ButtonControllerBase.C: call refresh() when setting readOnly !
509 * GUI.h: External form has apply, use the right policy
511 * character.C: fix two off-by-one errors when latex font was removed
513 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
515 * ControlInset.h (apply): tentative fix for the press Apply multiple
516 times and get multiple new Insets problem.
518 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
520 * ControlCharacter.C: fix typo
524 * ControlInsets.C: make sure dialog is built before it is shown, so
525 it works properly the very first time it is shown
527 2001-08-20 Herbert Voss <voss@perce.de>
529 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
530 and styles. Added an option for "bibliography into toc"
532 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
534 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
535 LaTeX is no longer a font property.
537 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
539 * GUI.h: Button controller for Reference dialog changed to
540 NoRepeatedApplyReadOnlyPolicy.
542 * biblio.C (getInfo): output volume and number info. Move year to end
545 2001-08-09 Allan Rae <rae@lyx.org>
547 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
549 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
551 * helper_funcs.C (getVectorFromString): fixed small bug.
553 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
555 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
557 * ControlSpellchecker.C: check next word after insert in personal dict
559 2001-08-06 Juergen Vigna <jug@sad.it>
561 * ControlERT.[Ch]: new file
563 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
565 * ControlInset.h: const and non-const forms of params().
567 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
568 whitespace from either side of each item.
570 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlFloat.h: add a != operator for FloatParams.
573 Lars, how did you get this to compile!!!
575 * ControlMinipage.[Ch]: uncommented someone's commenting out of
576 operator != for MinipageParams. Who's changing stuff and not compiling?
578 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
580 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
583 * GUI.h: add class GUIFloat
585 * ControlFloat.[Ch]: new files
587 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
589 * ControlPrint.C: #include Lassert.h here.
591 2001-07-26 Baruch Even <baruch@lyx.org>
593 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
596 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
598 * ControlThesaurus.h:
599 * ControlThesaurus.C:
601 * Makefile.am: thesaurus support
603 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
606 * ControlInclude.C: implement ability to load file
608 2001-07-18 Juergen Vigna <jug@sad.it>
610 * ControlSearch.C (replace): changes to lyxfind.h function calls.
612 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
614 * biblio.C (getInfo): add a .c_str() to handle the usual
617 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
619 * ControlCitation.[Ch]: changes associated with adding natbib support.
620 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
621 New static variable citeStyles_.
623 * biblio.[Ch]: large internal rearrangement.
624 New public enum CiteStyle.
625 New public struct CitationStyle.
626 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
627 getNumericalStrings, getAuthorYearStrings
628 (simpleSearch, regexSearch): no longer publicly accessible.
630 * helper_funcs.C (getStringFromVector): bug fix.
632 2001-07-16 Baruch Even <baruch@lyx.org>
634 * ControlVCLog.h: Added Lsstream.h to includes.
636 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
638 * ControlSpellchecker.[Ch]: remove d-tor.
640 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
642 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
644 2001-07-16 Juergen Vigna <jug@sad.it>
646 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
647 compiled with USE_PSPELL) to be able to switch between ISpell and
650 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
652 Consistent use of Lsstream.h:
653 * ControlAboutlyx.[Ch] (getCredits):
654 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
656 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
658 * ControlCredits.[Ch]: removed
659 * ControlCopyright.[Ch]: removed
660 * ControlAboutlyx.[Ch]: added (replaces previous)
661 * GUI.h: removed credits and copyright added about lyx stuff
663 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
665 * ControlSpellchecker.C (getSuggestion):
666 (getWord): add std:: qualifier
668 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
670 * ControlSpellchecker.[Ch]: added
671 * ViewBase.h: added partialUpdate(int) member
672 * GUI.h: added spell stuff
674 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
676 * ControlExternal.C: (*it). -> it->
678 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
680 * ButtonController.h: move some included header files out of the
681 frontends and into here.
683 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
685 * ControlCharacter.C (c-tor): cosmetic name change of signal.
687 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
689 * *.[h]: added // -*- C++ -*-
690 * *.[C]: removed // -*- C++ -*-
692 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
693 activate Apply button.
694 (clearParams): removed.
695 font_ is now stored as a boost::scoped_ptr.
696 font_ is no longer deleted on hide(), so it's contents can now be used
697 by the Font button on the toolbar.
698 Lots of new methods so that the GUI can easily get the contents of
699 font_ when it update()s.
701 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
703 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
704 crash when the Font button on the Toolbar is pressed.
706 * GUI.h: change policy of Character button controller to
707 OkApplyCancelReadOnlyPolicy.
709 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
711 * ControlToc.C (getContents): don't add anything to the list if it
712 is supposed to be empty.
714 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
716 * helper_funcs.C (getVectorFromString): bug fix.
718 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
721 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
722 from ButtonControllerBase::readOnly. Updates the state of the widgets
723 in the read-only list only when the read-only status of the document
725 (refresh): moved this stuff into refreshReadOnly.
727 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
729 * ControlPrint.C (c-tor):
730 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
732 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
735 * character.h: small clean-ups.
737 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
739 * ControlToc.C (getType): remove support for old float list.
741 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
743 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
744 * ControlGraphics.h: no longer include insetgraphicsParams.h
745 * ControlInset.h: no longer include LyXView.h
750 * ControlCharacter.C:
753 * ControlConnections.C:
754 * ControlCopyright.C:
766 * ControlTabularCreate.C:
768 * ControlVCLog.C: they're now in here!
770 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
772 * ButtonControllerBase.h: C++ mode, inherit privately from
774 * ButtonPolicies.h: ditto
776 * ButtonController.h: C++ mode, swap init order of restore_ and
779 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
781 * ControlTabularCreate.h:
782 * ControlTabularCreate.C: make dialogs use a pair of uints
786 * ControlVCLog.C: fill a stringstream with the log contents
789 * ControlExternal.C: from Angus, clone the new InsetExternal
792 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
794 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
795 and made more robust.
797 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
806 * ControlCopyright.C: include gettext.h
808 * ControlCharacter.C:
809 * character.C: include gettext.h and language.h
811 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
813 * ButtonController.h:
814 * ButtonControllerBase.h:
815 * ButtonControllerBase.C:
822 * ControlConnections.h:
828 * ViewBase.h: s/ControlButton/ControlButtons/
830 s/UndoAll/Restore/ + associated
832 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
834 * ControlToc.[Ch]: new files; a controller for the TOC popup.
837 * Makefile.am: associated changes with all of the above.
839 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
841 * ControlExternal.C: bug fixes. Can now apply changes to the inset
842 and edit, view, update the External Material correctly. I hope!
844 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
846 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
848 * BCTemplates.h: renamed as ButtonController.h
850 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
853 * ControlConnections.h: associated change in #include and class names.
855 * ControlExternal.[Ch]: new files; a controller for the External
859 * Makefile.am: associated changes with all of the above.
861 * ControlGraphics.[Ch]:
862 * ControlInclude.[Ch]:
865 (Browse): new method. Returns the results of a FileDialog browse.
867 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
868 (getVectorFromString): fixed bug.
870 * biblio.C (simpleSearch): cleaned up.
872 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
874 * A slight reworking of Baruch Even's ButtonController patch.
876 * BCTemplates.h: new file; all the templates for the ButtonController.
877 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
878 to the more generic setButtonLabel().
880 * ButtonController.[Ch]: renamed cancel_label and close_label as
881 cancel_label_ and close_label_.
883 * Makefile.am: added BCTemplates.h
885 2001-03-29 Juergen Vigna <jug@sad.it>
887 * ControlMinipage.C: removed widthp_ and all it's functions and changed
888 to use new %-lengths of LyXLength.
890 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
892 * ControlCitation.C (bibkeysInfo): removed Assert.
894 * ControlCopyright.h: moved GUICopyright into GUI.h
898 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
900 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
901 (setDaughterParams): a (by default empty) new method called in show().
910 * ControlUrl.h (clearDaughterParams): removed
912 * ControlMinipage.C (applyParamsToInset): update the view.
913 Added namespace minipage containing a helper function getUnits.
915 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
917 * ControlCharacter.[Ch]: moved out all the helper functions and the
918 enum into their own file.
919 * character.[Ch]: new files; contain the character helper functions,
920 now inside namespace character.
922 * ControlCitation.[Ch]: moved out all the helper functions and the
923 enums into their own file. Simplified interface.
924 * biblio.[Ch]: new files; contain the citation helper functions,
925 now inside namespace biblio. Will be of use also to an improved
928 * ControlGraphics.[Ch]:
929 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
930 popups, respectively.
933 * Makefile.am: associated changes.
935 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
937 * ControlMinipage.[Ch]:
938 * ControlPreamble.[Ch]:
940 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
941 and Print popups and Splash screen, respectively.
943 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
947 * Makefile.am: associated changes.
949 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
951 * ControlConnections.[Ch]: (docType): new method; returns the type
952 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
955 * ControlSearch.[Ch]:
956 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
957 Search and TabularCreate popups, respectively.
960 * Makefile.am: associated changes.
962 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
964 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
967 * ControlInset.h (apply): fix bug. Can now create new insets again.
969 * README: describe program flow.
971 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
973 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
975 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
977 * ControlDialogs.h: moved class ControlInset into its own file.
979 * ControlInset.h: new file. class ControlInset has been expanded to take
980 two template parameters, Inset and Params. Believe that all inset
981 controllers can be derived from this with the minimum of effort.
983 * ControlBibitem.[Ch]:
984 * ControlBibtex.[Ch]:
985 * ControlCitation.[Ch]:
986 * ControlCommand.[Ch]: moved most code into ControlInset.
988 * lots of files. Moved protected stuff into private where possible.
991 * ControlInclude.[Ch]:
992 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
993 Include and Url popups, respectively.
996 * Makefile.am: associated changes.
998 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1000 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1003 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1005 * ControlCredits.C (getCredits): remove std:: qualifier for
1008 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1010 * ControlCredits.C (getCredits): add std:: on vector
1012 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1014 * ControlCredits.C: remove using that is only used once, use
1015 std::ios instead of std::iosbase, add some annoying comments.
1017 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1019 * lots of header files: improved explanatory notes.
1021 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1022 ControlBase is now a class that only controls the interaction of the
1023 View with the ButtonController.
1025 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1026 to ControlConnectBase. The class controls the connection/disconnection
1027 of signals from the LyX kernel and makes available the kernel (through
1028 lv_) to daughter controller classes.
1029 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1031 * ControlDialogs.h: new file. Contains the definition of two template
1032 controller classes, ControlDialog and ControlInset (was
1033 ControlConnectInset). ControlInset is a parent class for controllers
1034 of inset-popups. ControlDialogs is the rather uninspired name for
1035 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1036 ControlDialogs is reaching a state of maturity as several popups now use
1037 it and its functionality becomes clear. ControlInset is still in a state
1038 of flux. It is likely that functionality will be moved out of
1039 ControlCommands and into it.
1041 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1042 individual Controller header files and into one place. These classes
1043 serve only as convenient wrappers to simplify code in the respective
1044 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1046 * ControlCharacter.[Ch] (show, update, hide):
1047 * ControlLog.[Ch] (show, update, hide):
1048 * ControlVCLog.[Ch] (show, update, hide): moved back into
1049 the ControlDialogs base class.
1050 (setParams, clearParams): new methods containing controller-specific
1051 code to set/reset the parameters manipulated by the view.
1053 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1055 (hide): calls clearParams.
1057 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1058 by ControlCommand::hide().
1060 * ControlCopyright.[Ch]:
1061 * ControlCredits.[Ch]: new files; controllers for the copyright and
1062 credits popups, respectively.
1064 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1066 * ControlCharacter.C: fix typo
1068 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlCharacter.[Ch]: new files; controller for the character popup.
1072 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1073 moved to new files helper_funcs.[Ch].
1075 * helper_funcs.[Ch]: new files. Some useful helper functions and
1078 * Makefile.am: added new files.
1080 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1084 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1088 Control log files, respectively.
1090 * Makefile.am: added new files.
1092 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1094 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1096 * Makefile.am: added ControlBibtex.[Ch].
1098 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ControlCitation.C: added "using SigC::slot" declaration.
1103 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1104 to FormCitation.C prior to the merger: "Do not put space between
1107 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1109 * several files: remove CXX_WORKING_NAMESPACES
1111 * ButtonController.h: noncopyable is in namespace boost
1112 * ButtonPolicies.h: ditto
1114 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1116 * Merging changes from BRANCH_MVC back into HEAD.
1118 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1120 * Makefile.am: add ControlBibitem.[Ch].
1122 * ControlBibitem.[Ch]: new files that together define the Controller
1123 for a Bibitem popup.
1125 * ControlCommand.h (c-tor): give kb_action a default value of
1128 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1130 * ControlCitation.[Ch]: moved search functions out of class.
1131 (bibkeysInfo): new method. Returns const reference to private data.
1132 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1135 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1137 * ControlCitation.[Ch]: added Search functions to the class,
1138 (shamelessly lifted from Marco's gnome code). I think that these would
1139 be better as helper functions outside the class, but this is a first
1142 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1146 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1147 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1148 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1149 implementation of FormCitation.
1151 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1153 * ButtonPolicies.h: add SMI_NOOP to enum.
1155 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1157 * ButtonController.C (input): add "optimising" if-statement. Actually,
1158 things don't work correctly without it...
1160 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1162 * ViewBase.h: remove #pragma directive
1164 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1167 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1169 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1171 * Makefile.am: added ButtonPolicies.[Ch]
1173 * ButtonController.[Ch]: ButtonController is split into
1174 ButtonControllerBase and a template ButtonController class. The base
1175 class no longer stores a pointer to a ButtonPolicy, but instead
1176 accesses the actual instantiation of the policy through a pure virtual
1177 method bp(). This method and the ButtonPolicy itself are instantiated
1178 in the templatised ButtonController class. This class is derived from
1179 the GUI-specific GUIBC class, meaning that the frontends know
1180 nothing about the actual policy decided upon by the controllers.
1182 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1183 Instead the actual instantiations are accessed through pure virtual
1184 methods view() and bc(). The daughter classes are responsible for the
1185 actual View and ButtonController.
1187 * ControlCitation.h: the templatised class GUICitation instantiates
1188 the methods view() and bc(). It also stores the instances of the
1189 View and ButtonController.
1191 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1193 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1194 also changed to ButtonController.
1197 * ControlConnections.[Ch]:
1198 * ControlCommand.[Ch]:
1199 * ControlCitation.[Ch]:
1200 * ViewBase.h: Changes associated with this.
1202 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1204 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1205 xforms/ButtonController class into a GUI-I class (here) and an
1206 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1208 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1209 from which all Dialog Controllers should be derived. the Controllers
1210 are GUI-independent, but are designed to control the behaviour of
1211 GUI-specific implementaions of each dialog.
1213 * ControlConnections.[Ch]: new files. Classes controlling the
1214 connections of buffer-independent, buffer-dependent and Inset dialogs
1215 with the LyX kernel.
1217 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1218 InsetCommand subset of insets.
1220 * ControlCitation.[Ch]: new files. The test specialisation! A
1221 controller for the Citation dialog.
1223 * ViewBase.h: new file. ViewBase is an abstract base class from which
1224 GUI-specific dialogs should be derived. The functionality that the GUIs
1225 must now implement is much reduced.