1 2002-06-25 Angus Leeming <leeming@lyx.org>
3 * ControlGraphics.C (readBB): Channges associated with the changed
4 interface to the graphics cache.
6 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * ControlParagraph.C: layout as layout
10 2002-06-21 Angus Leeming <leeming@lyx.org>
12 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
13 * tex_helpers.h: #include "LString.h".
15 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
18 * ControlBibitem.C: use repaint()
20 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
22 * ControlTexinfo.C: do the same for Texinfo
24 * tex_helpers.C: don't try to read a file that isn't there
26 2002-06-21 Herbert Voss <voss@perce.de>
28 * ControlBibtex.C: do an automatic update, when no bst-list
31 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
33 * GUI.h: createIndex() changed
35 2002-06-18 Herbert Voss <voss@perce.de>
37 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
38 helperstuff. Now the bibtex gui can use some of these functions
40 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
42 * ControlGraphics.C: just make the mask *.*
44 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * changes to simplify function setup, removal of a lot of includes.
48 2002-06-12 Angus Leeming <leeming@lyx.org>
50 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
52 2002-06-12 Angus Leeming <leeming@lyx.org>
54 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
56 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
58 * ControlParagraph.[Ch]: new paragraph controller
59 * GUI.h: add new controller
62 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * GUI.h: do not include ButtonController.tmpl
66 * ControlInset.h: include ControlInset.tmpl
68 * ControlCitation.C: do not include ControlInset.tmpl
69 * ControlCommand.C: ditto
71 * ControlError.C: ditto
72 * ControlExternal.C: ditto
73 * ControlFloat.C: ditto
74 * ControlGraphics.C: ditto
75 * ControlInclude.C: ditto
76 * ControlMinipage.C: ditto
78 * ControlDialog.tmpl: remove the Base:: prefix
80 2002-06-07 Angus Leeming <leeming@lyx.org>
82 Fixes needed to compile with Compaq cxx 6.5.
83 * ControlDialog.tmpl: I have had to prefix base class methods with
86 * ControlInset.tmpl: #include a couple of headers.
88 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * switch from SigC signals to boost::signals
92 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
94 * biblio.h: include vector
96 * biblio.C: change include order
97 (regexSearch): use boost regex and get rid of LRegex
99 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
104 * ControlCharacter.C:
107 * ControlConnections.C:
124 * ControlSpellchecker.C:
125 * ControlTabularCreate.C:
127 * ControlThesaurus.C:
130 * ControlVCLog.C: LyXView moved into frontends
132 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
134 * ControlExternal.C: add scoped_ptr.hpp
136 * ControlCharacter.h: use more specific smart_ptr header.
138 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
140 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
142 2002-05-13 Herbert Voss <voss@perce.de>
144 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
145 like "Odland, G. and ... "
146 (parseBibTeX): fix bug with title and booktitle
147 and replace a \n with a space when one entry has more than
150 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
152 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
153 "No change" and "Reset".
155 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
156 them at the front of the list.
158 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlGraphics.C: add some comments to the char * arrays.
161 Make rorigin_size const.
163 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
166 Enables the gui's to internationalise these strings.
168 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
170 * frnt_lang.C: fix build
172 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
174 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
175 If the the caller is the character dialog, add "No change" and "Reset"
176 to the vector, else don't.
177 Internationalise the GUI strings here rather than in the different
179 Sort the translated strings, albeit simply.
181 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
183 * character.[Ch]: rename namespace character as namespace frnt.
185 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
186 as several dialogs will use this info. The function now returns a
187 vector<LanguagePair> where LanguagePair is a display string and an
188 identifying string. The display string is internationalised.
190 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
191 the identifying strings, "No change" and "Reset".
193 * Makefile.am: add frnt_lang.[Ch].
195 2002-04-25 Herbert Voss <voss@lyx.org>
197 * ControlSendto.C (allFormats): don't add the graphics extensions to the
200 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
202 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
203 BibTeX databases in a WYSIWYM way.
205 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
207 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
208 way past his use-by date.
209 Make use of the improved info from Buffer::getBibkeyList when using
210 \bibliography. Enables us to provide natbib support in this case too.
212 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
214 * ControlGraphics.C: pass the browseFile dialog a string of only those
215 formats that can currently be loaded by LyX.
217 2002-04-15 Herbert Voss <voss@perce.de>
219 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
220 with something like ,,...blah...`` (two commas)
222 2002-04-14 Herbert Voss <voss@perce.de>
224 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
225 into the support/lstrings for better use in other programs.
227 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
228 namespace anon and make globally accessible.
229 (familyName): test for the presence of a LaTeX Space at the front of
230 of a name; strip it if it exists.
232 2002-04-11 Herbert Voss <voss@perce.de>
234 * ControlGraphics.C: expand "browse-string" to all available formats
236 2002-04-11 Herbert Voss <voss@perce.de>
238 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
240 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
242 * ControlAboutlyx.C (getVersion): two _() forgotten
244 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
248 * ControlBibtex.C: make N_() be _()
250 2002-04-07 Herbert Voss <voss@perce.de>
252 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
254 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
257 used when reading the BB.
259 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
261 * ControlGraphics.C (readBB): Don't open the ifstrem and then
262 check the format from the contents (and open a second ifstream in the
263 process. One at a time please.
265 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
267 * ControlRef.C (getBufferNum): squash warning message.
269 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
271 * ControlBibtex.C (Browse):
272 * ControlGraphics.C (Browse):
273 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
275 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
277 * ControlGraphics.C (applyParamsToInset): pass filepath to
278 InsetGraphics::updateInset.
280 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
282 * most files: ws cleanup
284 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
286 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
289 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
292 * ControlInclude.C: better error messages
294 2002-03-11 Herbert Voss <voss@lyx.org>
296 * biblio.C (parseBibTeX): fix another minibug with an
299 2002-03-10 Herbert Voss <voss@lyx.org>
301 * biblio.C (parseBibTeX): fix bug
302 (familyName): improve parsing
304 2002-03-09 Herbert Voss <voss@lyx.org>
306 * ControlGraphics.[Ch]: adding checkFilename() for testing
307 of non-existing files
309 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
311 * ControlSendto.C (allFormats): fix a iterators are not pointers
314 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
316 * ControlShowFile.h: add a #include "LString.h"
318 2002-03-05 Herbert Voss <voss@lyx.org>
320 * biblio.C (getInfo): simplify if using paragraph layout
323 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
325 * biblio.C (getInfo): return the info field correctly if the key
327 (parseBibTeX): fix crash when data.find('=') returns string::npos.
329 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
331 * ControlForks.[Ch]: new files. A controller for the Forked Child
332 processes dialog, enabling the user to see what forked processes
333 are running, and, if he so desires, to kill them.
335 * GUI.h: add class GUIForks.
337 * Makefile.am: add ControlForks.[Ch].
339 * ControlGraphics.C (getParams): small change due to change in
342 2002-02-21 Herbert Voss <voss@lyx.org>
344 * biblio.C: fix bug with commentlines in a bibentry
346 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
348 * Makefile.am: simpler obj. file compile
350 2002-02-18 Herbert Voss <voss@lyx.org>
352 * ControlGraphics.[Ch]: remove help-file call
354 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
356 * helper_funcs.h: wrap the structs firster and seconder up in a
357 namespace to avoid clashes with those in lyxalgo,h.
359 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
360 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
362 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
367 change Systemcalls::System to Systemcalls::Wait and
368 No change of functionality, just reflects the stripped down Systemcalls
371 2002-02-06 Herbert Voss <voss@lyx.org>
373 * ControlGraphics.[C] (readBB): search also in
374 g'zipped files. If it is useful than PK and compress
375 should also be supported. use unzipFile() from
378 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
380 * ControlRef.C (getBufferName): new method to get a real buffer
383 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
385 * ControlTexInfo.[Ch]: Removed Help functions.
387 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
389 * ControlSpellchecker.C: clear any selection left
392 2002-02-01 Herbert Voss <voss@lyx.org>
394 * ControlGraphics.[C] (readBB): search only, if it is a
395 ".?ps" file and look for bb's at end of file
397 2002-01-30 Herbert Voss <voss@lyx.org>
399 * ControlGraphic.[C]: do not search the whole file, when
402 2002-01-29 Herbert Voss <voss@lyx.org>
404 * ControlGraphic.[C]: added a button for document path
405 when browsing -> bug 222
407 2002-01-27 Herbert Voss <voss@lyx.org>
409 * ControlGraphic.[Ch]: added support for Bounding Box, other
412 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlTexinfo.h: added #include "LString.h" where they belong.
417 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
422 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
427 2002-01-20 Herbert Voss <voss@perce.de>
429 * ControlInclude.[Ch]: better control of unexistings files
430 when entered without the browser
432 * ControlGraphic.C (Browse): add extension "ps" when browsing for
435 2002-01-19 Herbert Voss <voss@perce.de>
437 * biblio.C (getInfo): fix bug when no author is given
439 * biblio.C (parseBibTeX): change the parsing, so that
440 '#'-characters in a bibtex entry are no more a problem.
442 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
444 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
445 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
447 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
449 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
451 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
453 * ControlExternal.C (Browse): add a std:: qualifier
455 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
457 * ControlExternal.C (Browse): simplify to use browseRelFile
459 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
461 * ButtonController.tmpl: added // -*- C++ -*-
463 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
464 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
465 Needed in _one_ of the ControlCommand-derived classes only.
467 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
470 * ControlSearch.h: #include LString.h
472 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
474 * ButtonController.h: split into two. The definition remains in
475 ButtonController.h, the declaration is now in ButtonController.tmpl.
476 These template methods should be #included when the derived class is
477 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
478 and in the qt2 and gnome equivalents.
480 * ControlDialogs.h: removed. The definition of class ControlDialog is
481 now to be found in ControlDialog.h and the declaration of the methods
482 is in ControlDialog.tmpl. The two template instantiations are performed
483 in ControlDialog_impl.[Ch], new files also.
485 * ControlInset.h: split into two. The definition remains in
486 ControlInset.h, the declaration is now in ControlInset.tmpl.
487 These template methods should be #included derived class is
488 instantiated, in this case in 8 other .C files in this directory.
490 * ControlAboutlyx.[Ch]:
491 * ControlCharacter.[Ch]:
501 * ControlPreamble.[Ch]:
503 * ControlSearch.[Ch]:
504 * ControlShowFile.[Ch]:
505 * ControlSpellchecker.[Ch]:
506 * ControlTabularCreate.[Ch]:
507 * ControlTexinfo.[Ch]:
508 * ControlThesaurus.[Ch]:
509 * ControlVCLog.[Ch]: small changes associated with the above ones.
511 * GUI.h: #include the ButtonController and dialog controller files
512 here, rather than forward declare them. This is the correct place
515 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
516 Rename ControlDialogs.h as ControlDialog.h.
517 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
520 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
522 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
524 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
526 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
529 * ControlGraphics.C (Browse): remove overzealous shortcut
531 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
533 * FormMinipage.C (apply, update): MinipageParams::width renamed
534 as MinipageParams::pageWidth. InsetMinipage::width renamed
535 as InsetMinipage::pageWidth.
537 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
539 * ButtonController.h (refreshReadOnly): use explicit typename
541 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
543 * helper_funcs.h (browseFile): add default empty button descriptions.
545 * ControlGraphics.C (Browse):
546 * ControlBibtex.C (Browse):
547 * ControlInclude.C (Browse): add shortcuts to directory buttons
549 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
551 * ControlThesaurus.h:
552 * ControlThesaurus.C: update to Aiksaurus 0.14
554 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlSpellchecker.C (clearParams): show the closing message
557 only if some words have been checked, thereby fixing
560 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
562 * ControlFloat.[Ch]: changes to prevent here definitely being used
565 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
567 * ControlThesaurus.h: do not include <config.h> in header files
569 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
571 * ControlToc.C: changes for floatlist
573 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
575 * ControlVCLog.C: use _()
577 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
582 2001-10-22 Juergen Vigna <jug@sad.it>
584 * ControlSpellchecker.C (clearParams): use the error_ message of the
585 speller_ if available when the spellchecker died.
586 (setParams): remove double error message display.
588 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
590 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
592 * helper_funcs.[Ch] (getLatexUnits): see above.
594 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * ControlTexinfo.C (getContents): use the right file for .sty files
598 2001-10-10 Herbert Voss <voss@perce.de>
600 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
601 and some more stuff from FormTexinfo.C
603 * ControlShowFile.C: hiding the update-button
605 2001-10-09 Herbert Voss <voss@perce.de>
607 * ControlTexinfo.[Ch]: new files. Display information about the
608 installed texfiles (cls,sty,bst).
610 * ControlShowFile.[Ch]: new files. Display the contents of a file.
612 * GUI.h: added classes GUIShowFile and GUITexinfo.
614 * Makefile.am: modified appropriately.
616 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
618 * ControlAboutlyx.C (getVersion): use lyx_version and
619 lyx_release_date instead of old macros
621 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
623 * ControlSpellchecker.C (check): Behaves well now when the spell
624 library doesn't know a replacement to an incorrect word.
626 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
628 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
629 the correct place. Can now check spelling more than once!
631 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
633 * ControlSplash.[Ch]: removed.
635 * GUI.h: remove GUISplash class.
637 * ViewBase.h: remove ViewSplash class.
639 * Makefile.am: remove ControlSplash.[Ch].
641 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
643 * ControlButtons.h: add variable emergency_exit_. If set to true, the
644 view will be shut down.
647 * ControlInset.h: act on emergency_exit_.
649 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
650 speller fails to launch.
652 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
654 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
655 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
657 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
659 * ControlRef.h (disconnectOnApply): new method. Set to true.
660 Perhaps make this user-modifiable?
662 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
664 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
667 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
669 * ControlRef.C (getBufferList, getBufferNum): New methods
671 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
673 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
674 of the dialog when the Apply button is pressed. Defaults to false,
675 but can be overridden in the daughter classes.
677 * ControlCitation.h (disconnectOnApply): new method. Set to true.
678 Perhaps make this user-modifiable?
680 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
682 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
683 we have dialogs that update their contents when the buffer changes.
684 Rather embarassing, really!
686 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
688 * ControlSearch (replace): change semantics of replace to NOT move on
689 to the next instance of a word once the present instance has been
690 replaced unless we are replacing ALL instances of the word.
692 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
694 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
696 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
698 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
699 dialog, set all options to "reset", close the dialog, re-open it ->
700 the options are set incorrectly.
702 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
703 When Applying it's useful to know whether the dialog is about to close
704 or not (no point refreshing the display for example).
706 * ControlInset.C (apply): use isClosing.
708 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
711 * ControlDialogs.h: remove bc() hack, now fixed in
712 Qt2 frontend. use member dialog_built_ instead of shared
715 * ButtonController.h:
716 * ButtonPolicies.C: more debug info
718 * ButtonControllerBase.C: call refresh() when setting readOnly !
720 * GUI.h: External form has apply, use the right policy
722 * character.C: fix two off-by-one errors when latex font was removed
724 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
726 * ControlInset.h (apply): tentative fix for the press Apply multiple
727 times and get multiple new Insets problem.
729 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
731 * ControlCharacter.C: fix typo
735 * ControlInsets.C: make sure dialog is built before it is shown, so
736 it works properly the very first time it is shown
738 2001-08-20 Herbert Voss <voss@perce.de>
740 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
741 and styles. Added an option for "bibliography into toc"
743 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
745 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
746 LaTeX is no longer a font property.
748 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
750 * GUI.h: Button controller for Reference dialog changed to
751 NoRepeatedApplyReadOnlyPolicy.
753 * biblio.C (getInfo): output volume and number info. Move year to end
756 2001-08-09 Allan Rae <rae@lyx.org>
758 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
760 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
762 * helper_funcs.C (getVectorFromString): fixed small bug.
764 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
766 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
768 * ControlSpellchecker.C: check next word after insert in personal dict
770 2001-08-06 Juergen Vigna <jug@sad.it>
772 * ControlERT.[Ch]: new file
774 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
776 * ControlInset.h: const and non-const forms of params().
778 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
779 whitespace from either side of each item.
781 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
783 * ControlFloat.h: add a != operator for FloatParams.
784 Lars, how did you get this to compile!!!
786 * ControlMinipage.[Ch]: uncommented someone's commenting out of
787 operator != for MinipageParams. Who's changing stuff and not compiling?
789 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
791 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
794 * GUI.h: add class GUIFloat
796 * ControlFloat.[Ch]: new files
798 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
800 * ControlPrint.C: #include Lassert.h here.
802 2001-07-26 Baruch Even <baruch@lyx.org>
804 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
807 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
809 * ControlThesaurus.h:
810 * ControlThesaurus.C:
812 * Makefile.am: thesaurus support
814 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
817 * ControlInclude.C: implement ability to load file
819 2001-07-18 Juergen Vigna <jug@sad.it>
821 * ControlSearch.C (replace): changes to lyxfind.h function calls.
823 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
825 * biblio.C (getInfo): add a .c_str() to handle the usual
828 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
830 * ControlCitation.[Ch]: changes associated with adding natbib support.
831 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
832 New static variable citeStyles_.
834 * biblio.[Ch]: large internal rearrangement.
835 New public enum CiteStyle.
836 New public struct CitationStyle.
837 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
838 getNumericalStrings, getAuthorYearStrings
839 (simpleSearch, regexSearch): no longer publicly accessible.
841 * helper_funcs.C (getStringFromVector): bug fix.
843 2001-07-16 Baruch Even <baruch@lyx.org>
845 * ControlVCLog.h: Added Lsstream.h to includes.
847 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
849 * ControlSpellchecker.[Ch]: remove d-tor.
851 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
853 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
855 2001-07-16 Juergen Vigna <jug@sad.it>
857 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
858 compiled with USE_PSPELL) to be able to switch between ISpell and
861 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
863 Consistent use of Lsstream.h:
864 * ControlAboutlyx.[Ch] (getCredits):
865 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
867 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
869 * ControlCredits.[Ch]: removed
870 * ControlCopyright.[Ch]: removed
871 * ControlAboutlyx.[Ch]: added (replaces previous)
872 * GUI.h: removed credits and copyright added about lyx stuff
874 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
876 * ControlSpellchecker.C (getSuggestion):
877 (getWord): add std:: qualifier
879 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
881 * ControlSpellchecker.[Ch]: added
882 * ViewBase.h: added partialUpdate(int) member
883 * GUI.h: added spell stuff
885 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
887 * ControlExternal.C: (*it). -> it->
889 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
891 * ButtonController.h: move some included header files out of the
892 frontends and into here.
894 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
896 * ControlCharacter.C (c-tor): cosmetic name change of signal.
898 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
900 * *.[h]: added // -*- C++ -*-
901 * *.[C]: removed // -*- C++ -*-
903 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
904 activate Apply button.
905 (clearParams): removed.
906 font_ is now stored as a boost::scoped_ptr.
907 font_ is no longer deleted on hide(), so it's contents can now be used
908 by the Font button on the toolbar.
909 Lots of new methods so that the GUI can easily get the contents of
910 font_ when it update()s.
912 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
914 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
915 crash when the Font button on the Toolbar is pressed.
917 * GUI.h: change policy of Character button controller to
918 OkApplyCancelReadOnlyPolicy.
920 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
922 * ControlToc.C (getContents): don't add anything to the list if it
923 is supposed to be empty.
925 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
927 * helper_funcs.C (getVectorFromString): bug fix.
929 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
932 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
933 from ButtonControllerBase::readOnly. Updates the state of the widgets
934 in the read-only list only when the read-only status of the document
936 (refresh): moved this stuff into refreshReadOnly.
938 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlPrint.C (c-tor):
941 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
943 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
946 * character.h: small clean-ups.
948 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
950 * ControlToc.C (getType): remove support for old float list.
952 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
955 * ControlGraphics.h: no longer include insetgraphicsParams.h
956 * ControlInset.h: no longer include LyXView.h
961 * ControlCharacter.C:
964 * ControlConnections.C:
965 * ControlCopyright.C:
977 * ControlTabularCreate.C:
979 * ControlVCLog.C: they're now in here!
981 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
983 * ButtonControllerBase.h: C++ mode, inherit privately from
985 * ButtonPolicies.h: ditto
987 * ButtonController.h: C++ mode, swap init order of restore_ and
990 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
992 * ControlTabularCreate.h:
993 * ControlTabularCreate.C: make dialogs use a pair of uints
997 * ControlVCLog.C: fill a stringstream with the log contents
1000 * ControlExternal.C: from Angus, clone the new InsetExternal
1003 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1005 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1006 and made more robust.
1008 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1013 * ControlPreamble.C:
1015 * ControlGraphics.C:
1016 * ControlExternal.C:
1017 * ControlCopyright.C: include gettext.h
1019 * ControlCharacter.C:
1020 * character.C: include gettext.h and language.h
1022 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1024 * ButtonController.h:
1025 * ButtonControllerBase.h:
1026 * ButtonControllerBase.C:
1033 * ControlConnections.h:
1036 * ControlExternal.C:
1039 * ViewBase.h: s/ControlButton/ControlButtons/
1041 s/UndoAll/Restore/ + associated
1043 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1045 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1048 * Makefile.am: associated changes with all of the above.
1050 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1053 and edit, view, update the External Material correctly. I hope!
1055 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1059 * BCTemplates.h: renamed as ButtonController.h
1061 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1064 * ControlConnections.h: associated change in #include and class names.
1066 * ControlExternal.[Ch]: new files; a controller for the External
1070 * Makefile.am: associated changes with all of the above.
1072 * ControlGraphics.[Ch]:
1073 * ControlInclude.[Ch]:
1074 * ControlPrint.[Ch]:
1076 (Browse): new method. Returns the results of a FileDialog browse.
1078 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1079 (getVectorFromString): fixed bug.
1081 * biblio.C (simpleSearch): cleaned up.
1083 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1085 * A slight reworking of Baruch Even's ButtonController patch.
1087 * BCTemplates.h: new file; all the templates for the ButtonController.
1088 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1089 to the more generic setButtonLabel().
1091 * ButtonController.[Ch]: renamed cancel_label and close_label as
1092 cancel_label_ and close_label_.
1094 * Makefile.am: added BCTemplates.h
1096 2001-03-29 Juergen Vigna <jug@sad.it>
1098 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1099 to use new %-lengths of LyXLength.
1101 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1103 * ControlCitation.C (bibkeysInfo): removed Assert.
1105 * ControlCopyright.h: moved GUICopyright into GUI.h
1109 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1111 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1112 (setDaughterParams): a (by default empty) new method called in show().
1118 * ControlMinipage.h:
1121 * ControlUrl.h (clearDaughterParams): removed
1123 * ControlMinipage.C (applyParamsToInset): update the view.
1124 Added namespace minipage containing a helper function getUnits.
1126 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1128 * ControlCharacter.[Ch]: moved out all the helper functions and the
1129 enum into their own file.
1130 * character.[Ch]: new files; contain the character helper functions,
1131 now inside namespace character.
1133 * ControlCitation.[Ch]: moved out all the helper functions and the
1134 enums into their own file. Simplified interface.
1135 * biblio.[Ch]: new files; contain the citation helper functions,
1136 now inside namespace biblio. Will be of use also to an improved
1139 * ControlGraphics.[Ch]:
1140 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1141 popups, respectively.
1144 * Makefile.am: associated changes.
1146 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1148 * ControlMinipage.[Ch]:
1149 * ControlPreamble.[Ch]:
1150 * ControlPrint.[Ch]:
1151 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1152 and Print popups and Splash screen, respectively.
1154 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1158 * Makefile.am: associated changes.
1160 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1162 * ControlConnections.[Ch]: (docType): new method; returns the type
1163 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1166 * ControlSearch.[Ch]:
1167 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1168 Search and TabularCreate popups, respectively.
1171 * Makefile.am: associated changes.
1173 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1175 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1178 * ControlInset.h (apply): fix bug. Can now create new insets again.
1180 * README: describe program flow.
1182 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1184 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1186 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1188 * ControlDialogs.h: moved class ControlInset into its own file.
1190 * ControlInset.h: new file. class ControlInset has been expanded to take
1191 two template parameters, Inset and Params. Believe that all inset
1192 controllers can be derived from this with the minimum of effort.
1194 * ControlBibitem.[Ch]:
1195 * ControlBibtex.[Ch]:
1196 * ControlCitation.[Ch]:
1197 * ControlCommand.[Ch]: moved most code into ControlInset.
1199 * lots of files. Moved protected stuff into private where possible.
1201 * ControlError.[Ch]:
1202 * ControlInclude.[Ch]:
1203 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1204 Include and Url popups, respectively.
1207 * Makefile.am: associated changes.
1209 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1214 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * ControlCredits.C (getCredits): remove std:: qualifier for
1219 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1221 * ControlCredits.C (getCredits): add std:: on vector
1223 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1225 * ControlCredits.C: remove using that is only used once, use
1226 std::ios instead of std::iosbase, add some annoying comments.
1228 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1230 * lots of header files: improved explanatory notes.
1232 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1233 ControlBase is now a class that only controls the interaction of the
1234 View with the ButtonController.
1236 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1237 to ControlConnectBase. The class controls the connection/disconnection
1238 of signals from the LyX kernel and makes available the kernel (through
1239 lv_) to daughter controller classes.
1240 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1242 * ControlDialogs.h: new file. Contains the definition of two template
1243 controller classes, ControlDialog and ControlInset (was
1244 ControlConnectInset). ControlInset is a parent class for controllers
1245 of inset-popups. ControlDialogs is the rather uninspired name for
1246 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1247 ControlDialogs is reaching a state of maturity as several popups now use
1248 it and its functionality becomes clear. ControlInset is still in a state
1249 of flux. It is likely that functionality will be moved out of
1250 ControlCommands and into it.
1252 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1253 individual Controller header files and into one place. These classes
1254 serve only as convenient wrappers to simplify code in the respective
1255 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1257 * ControlCharacter.[Ch] (show, update, hide):
1258 * ControlLog.[Ch] (show, update, hide):
1259 * ControlVCLog.[Ch] (show, update, hide): moved back into
1260 the ControlDialogs base class.
1261 (setParams, clearParams): new methods containing controller-specific
1262 code to set/reset the parameters manipulated by the view.
1264 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1266 (hide): calls clearParams.
1268 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1269 by ControlCommand::hide().
1271 * ControlCopyright.[Ch]:
1272 * ControlCredits.[Ch]: new files; controllers for the copyright and
1273 credits popups, respectively.
1275 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1277 * ControlCharacter.C: fix typo
1279 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1281 * ControlCharacter.[Ch]: new files; controller for the character popup.
1283 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1284 moved to new files helper_funcs.[Ch].
1286 * helper_funcs.[Ch]: new files. Some useful helper functions and
1289 * Makefile.am: added new files.
1291 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1295 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1298 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1299 Control log files, respectively.
1301 * Makefile.am: added new files.
1303 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1305 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1307 * Makefile.am: added ControlBibtex.[Ch].
1309 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1312 * ControlCitation.C: added "using SigC::slot" declaration.
1314 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1315 to FormCitation.C prior to the merger: "Do not put space between
1318 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1320 * several files: remove CXX_WORKING_NAMESPACES
1322 * ButtonController.h: noncopyable is in namespace boost
1323 * ButtonPolicies.h: ditto
1325 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1327 * Merging changes from BRANCH_MVC back into HEAD.
1329 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1331 * Makefile.am: add ControlBibitem.[Ch].
1333 * ControlBibitem.[Ch]: new files that together define the Controller
1334 for a Bibitem popup.
1336 * ControlCommand.h (c-tor): give kb_action a default value of
1339 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1341 * ControlCitation.[Ch]: moved search functions out of class.
1342 (bibkeysInfo): new method. Returns const reference to private data.
1343 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1346 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1348 * ControlCitation.[Ch]: added Search functions to the class,
1349 (shamelessly lifted from Marco's gnome code). I think that these would
1350 be better as helper functions outside the class, but this is a first
1353 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1355 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1357 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1358 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1359 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1360 implementation of FormCitation.
1362 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1364 * ButtonPolicies.h: add SMI_NOOP to enum.
1366 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1368 * ButtonController.C (input): add "optimising" if-statement. Actually,
1369 things don't work correctly without it...
1371 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1373 * ViewBase.h: remove #pragma directive
1375 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1378 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1380 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1382 * Makefile.am: added ButtonPolicies.[Ch]
1384 * ButtonController.[Ch]: ButtonController is split into
1385 ButtonControllerBase and a template ButtonController class. The base
1386 class no longer stores a pointer to a ButtonPolicy, but instead
1387 accesses the actual instantiation of the policy through a pure virtual
1388 method bp(). This method and the ButtonPolicy itself are instantiated
1389 in the templatised ButtonController class. This class is derived from
1390 the GUI-specific GUIBC class, meaning that the frontends know
1391 nothing about the actual policy decided upon by the controllers.
1393 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1394 Instead the actual instantiations are accessed through pure virtual
1395 methods view() and bc(). The daughter classes are responsible for the
1396 actual View and ButtonController.
1398 * ControlCitation.h: the templatised class GUICitation instantiates
1399 the methods view() and bc(). It also stores the instances of the
1400 View and ButtonController.
1402 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1404 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1405 also changed to ButtonController.
1408 * ControlConnections.[Ch]:
1409 * ControlCommand.[Ch]:
1410 * ControlCitation.[Ch]:
1411 * ViewBase.h: Changes associated with this.
1413 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1415 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1416 xforms/ButtonController class into a GUI-I class (here) and an
1417 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1419 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1420 from which all Dialog Controllers should be derived. the Controllers
1421 are GUI-independent, but are designed to control the behaviour of
1422 GUI-specific implementaions of each dialog.
1424 * ControlConnections.[Ch]: new files. Classes controlling the
1425 connections of buffer-independent, buffer-dependent and Inset dialogs
1426 with the LyX kernel.
1428 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1429 InsetCommand subset of insets.
1431 * ControlCitation.[Ch]: new files. The test specialisation! A
1432 controller for the Citation dialog.
1434 * ViewBase.h: new file. ViewBase is an abstract base class from which
1435 GUI-specific dialogs should be derived. The functionality that the GUIs
1436 must now implement is much reduced.