1 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlParagraph.C: layout as layout
5 2002-06-21 Angus Leeming <leeming@lyx.org>
7 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
8 * tex_helpers.h: #include "LString.h".
10 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
13 * ControlBibitem.C: use repaint()
15 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
17 * ControlTexinfo.C: do the same for Texinfo
19 * tex_helpers.C: don't try to read a file that isn't there
21 2002-06-21 Herbert Voss <voss@perce.de>
23 * ControlBibtex.C: do an automatic update, when no bst-list
26 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
28 * GUI.h: createIndex() changed
30 2002-06-18 Herbert Voss <voss@perce.de>
32 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
33 helperstuff. Now the bibtex gui can use some of these functions
35 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
37 * ControlGraphics.C: just make the mask *.*
39 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * changes to simplify function setup, removal of a lot of includes.
43 2002-06-12 Angus Leeming <leeming@lyx.org>
45 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
47 2002-06-12 Angus Leeming <leeming@lyx.org>
49 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
51 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
53 * ControlParagraph.[Ch]: new paragraph controller
54 * GUI.h: add new controller
57 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * GUI.h: do not include ButtonController.tmpl
61 * ControlInset.h: include ControlInset.tmpl
63 * ControlCitation.C: do not include ControlInset.tmpl
64 * ControlCommand.C: ditto
66 * ControlError.C: ditto
67 * ControlExternal.C: ditto
68 * ControlFloat.C: ditto
69 * ControlGraphics.C: ditto
70 * ControlInclude.C: ditto
71 * ControlMinipage.C: ditto
73 * ControlDialog.tmpl: remove the Base:: prefix
75 2002-06-07 Angus Leeming <leeming@lyx.org>
77 Fixes needed to compile with Compaq cxx 6.5.
78 * ControlDialog.tmpl: I have had to prefix base class methods with
81 * ControlInset.tmpl: #include a couple of headers.
83 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * switch from SigC signals to boost::signals
87 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
89 * biblio.h: include vector
91 * biblio.C: change include order
92 (regexSearch): use boost regex and get rid of LRegex
94 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
102 * ControlConnections.C:
119 * ControlSpellchecker.C:
120 * ControlTabularCreate.C:
122 * ControlThesaurus.C:
125 * ControlVCLog.C: LyXView moved into frontends
127 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * ControlExternal.C: add scoped_ptr.hpp
131 * ControlCharacter.h: use more specific smart_ptr header.
133 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
135 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
137 2002-05-13 Herbert Voss <voss@perce.de>
139 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
140 like "Odland, G. and ... "
141 (parseBibTeX): fix bug with title and booktitle
142 and replace a \n with a space when one entry has more than
145 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
147 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
148 "No change" and "Reset".
150 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
151 them at the front of the list.
153 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
155 * ControlGraphics.C: add some comments to the char * arrays.
156 Make rorigin_size const.
158 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
161 Enables the gui's to internationalise these strings.
163 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
165 * frnt_lang.C: fix build
167 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
169 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
170 If the the caller is the character dialog, add "No change" and "Reset"
171 to the vector, else don't.
172 Internationalise the GUI strings here rather than in the different
174 Sort the translated strings, albeit simply.
176 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
178 * character.[Ch]: rename namespace character as namespace frnt.
180 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
181 as several dialogs will use this info. The function now returns a
182 vector<LanguagePair> where LanguagePair is a display string and an
183 identifying string. The display string is internationalised.
185 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
186 the identifying strings, "No change" and "Reset".
188 * Makefile.am: add frnt_lang.[Ch].
190 2002-04-25 Herbert Voss <voss@lyx.org>
192 * ControlSendto.C (allFormats): don't add the graphics extensions to the
195 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
197 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
198 BibTeX databases in a WYSIWYM way.
200 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
202 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
203 way past his use-by date.
204 Make use of the improved info from Buffer::getBibkeyList when using
205 \bibliography. Enables us to provide natbib support in this case too.
207 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
209 * ControlGraphics.C: pass the browseFile dialog a string of only those
210 formats that can currently be loaded by LyX.
212 2002-04-15 Herbert Voss <voss@perce.de>
214 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
215 with something like ,,...blah...`` (two commas)
217 2002-04-14 Herbert Voss <voss@perce.de>
219 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
220 into the support/lstrings for better use in other programs.
222 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
223 namespace anon and make globally accessible.
224 (familyName): test for the presence of a LaTeX Space at the front of
225 of a name; strip it if it exists.
227 2002-04-11 Herbert Voss <voss@perce.de>
229 * ControlGraphics.C: expand "browse-string" to all available formats
231 2002-04-11 Herbert Voss <voss@perce.de>
233 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
235 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
237 * ControlAboutlyx.C (getVersion): two _() forgotten
239 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
243 * ControlBibtex.C: make N_() be _()
245 2002-04-07 Herbert Voss <voss@perce.de>
247 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
249 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
252 used when reading the BB.
254 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
256 * ControlGraphics.C (readBB): Don't open the ifstrem and then
257 check the format from the contents (and open a second ifstream in the
258 process. One at a time please.
260 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlRef.C (getBufferNum): squash warning message.
264 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
266 * ControlBibtex.C (Browse):
267 * ControlGraphics.C (Browse):
268 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
270 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
272 * ControlGraphics.C (applyParamsToInset): pass filepath to
273 InsetGraphics::updateInset.
275 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
277 * most files: ws cleanup
279 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
281 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
284 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
287 * ControlInclude.C: better error messages
289 2002-03-11 Herbert Voss <voss@lyx.org>
291 * biblio.C (parseBibTeX): fix another minibug with an
294 2002-03-10 Herbert Voss <voss@lyx.org>
296 * biblio.C (parseBibTeX): fix bug
297 (familyName): improve parsing
299 2002-03-09 Herbert Voss <voss@lyx.org>
301 * ControlGraphics.[Ch]: adding checkFilename() for testing
302 of non-existing files
304 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * ControlSendto.C (allFormats): fix a iterators are not pointers
309 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
311 * ControlShowFile.h: add a #include "LString.h"
313 2002-03-05 Herbert Voss <voss@lyx.org>
315 * biblio.C (getInfo): simplify if using paragraph layout
318 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
320 * biblio.C (getInfo): return the info field correctly if the key
322 (parseBibTeX): fix crash when data.find('=') returns string::npos.
324 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlForks.[Ch]: new files. A controller for the Forked Child
327 processes dialog, enabling the user to see what forked processes
328 are running, and, if he so desires, to kill them.
330 * GUI.h: add class GUIForks.
332 * Makefile.am: add ControlForks.[Ch].
334 * ControlGraphics.C (getParams): small change due to change in
337 2002-02-21 Herbert Voss <voss@lyx.org>
339 * biblio.C: fix bug with commentlines in a bibentry
341 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
343 * Makefile.am: simpler obj. file compile
345 2002-02-18 Herbert Voss <voss@lyx.org>
347 * ControlGraphics.[Ch]: remove help-file call
349 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
351 * helper_funcs.h: wrap the structs firster and seconder up in a
352 namespace to avoid clashes with those in lyxalgo,h.
354 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
355 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
357 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
359 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
362 change Systemcalls::System to Systemcalls::Wait and
363 No change of functionality, just reflects the stripped down Systemcalls
366 2002-02-06 Herbert Voss <voss@lyx.org>
368 * ControlGraphics.[C] (readBB): search also in
369 g'zipped files. If it is useful than PK and compress
370 should also be supported. use unzipFile() from
373 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
375 * ControlRef.C (getBufferName): new method to get a real buffer
378 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
380 * ControlTexInfo.[Ch]: Removed Help functions.
382 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
384 * ControlSpellchecker.C: clear any selection left
387 2002-02-01 Herbert Voss <voss@lyx.org>
389 * ControlGraphics.[C] (readBB): search only, if it is a
390 ".?ps" file and look for bb's at end of file
392 2002-01-30 Herbert Voss <voss@lyx.org>
394 * ControlGraphic.[C]: do not search the whole file, when
397 2002-01-29 Herbert Voss <voss@lyx.org>
399 * ControlGraphic.[C]: added a button for document path
400 when browsing -> bug 222
402 2002-01-27 Herbert Voss <voss@lyx.org>
404 * ControlGraphic.[Ch]: added support for Bounding Box, other
407 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlTexinfo.h: added #include "LString.h" where they belong.
412 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
417 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
422 2002-01-20 Herbert Voss <voss@perce.de>
424 * ControlInclude.[Ch]: better control of unexistings files
425 when entered without the browser
427 * ControlGraphic.C (Browse): add extension "ps" when browsing for
430 2002-01-19 Herbert Voss <voss@perce.de>
432 * biblio.C (getInfo): fix bug when no author is given
434 * biblio.C (parseBibTeX): change the parsing, so that
435 '#'-characters in a bibtex entry are no more a problem.
437 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
439 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
440 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
442 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
444 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
446 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
448 * ControlExternal.C (Browse): add a std:: qualifier
450 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
452 * ControlExternal.C (Browse): simplify to use browseRelFile
454 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
456 * ButtonController.tmpl: added // -*- C++ -*-
458 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
459 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
460 Needed in _one_ of the ControlCommand-derived classes only.
462 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
465 * ControlSearch.h: #include LString.h
467 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
469 * ButtonController.h: split into two. The definition remains in
470 ButtonController.h, the declaration is now in ButtonController.tmpl.
471 These template methods should be #included when the derived class is
472 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
473 and in the qt2 and gnome equivalents.
475 * ControlDialogs.h: removed. The definition of class ControlDialog is
476 now to be found in ControlDialog.h and the declaration of the methods
477 is in ControlDialog.tmpl. The two template instantiations are performed
478 in ControlDialog_impl.[Ch], new files also.
480 * ControlInset.h: split into two. The definition remains in
481 ControlInset.h, the declaration is now in ControlInset.tmpl.
482 These template methods should be #included derived class is
483 instantiated, in this case in 8 other .C files in this directory.
485 * ControlAboutlyx.[Ch]:
486 * ControlCharacter.[Ch]:
496 * ControlPreamble.[Ch]:
498 * ControlSearch.[Ch]:
499 * ControlShowFile.[Ch]:
500 * ControlSpellchecker.[Ch]:
501 * ControlTabularCreate.[Ch]:
502 * ControlTexinfo.[Ch]:
503 * ControlThesaurus.[Ch]:
504 * ControlVCLog.[Ch]: small changes associated with the above ones.
506 * GUI.h: #include the ButtonController and dialog controller files
507 here, rather than forward declare them. This is the correct place
510 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
511 Rename ControlDialogs.h as ControlDialog.h.
512 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
515 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
517 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
519 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
521 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
524 * ControlGraphics.C (Browse): remove overzealous shortcut
526 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
528 * FormMinipage.C (apply, update): MinipageParams::width renamed
529 as MinipageParams::pageWidth. InsetMinipage::width renamed
530 as InsetMinipage::pageWidth.
532 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * ButtonController.h (refreshReadOnly): use explicit typename
536 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
538 * helper_funcs.h (browseFile): add default empty button descriptions.
540 * ControlGraphics.C (Browse):
541 * ControlBibtex.C (Browse):
542 * ControlInclude.C (Browse): add shortcuts to directory buttons
544 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
546 * ControlThesaurus.h:
547 * ControlThesaurus.C: update to Aiksaurus 0.14
549 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlSpellchecker.C (clearParams): show the closing message
552 only if some words have been checked, thereby fixing
555 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
557 * ControlFloat.[Ch]: changes to prevent here definitely being used
560 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
562 * ControlThesaurus.h: do not include <config.h> in header files
564 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
566 * ControlToc.C: changes for floatlist
568 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
570 * ControlVCLog.C: use _()
572 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
574 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
577 2001-10-22 Juergen Vigna <jug@sad.it>
579 * ControlSpellchecker.C (clearParams): use the error_ message of the
580 speller_ if available when the spellchecker died.
581 (setParams): remove double error message display.
583 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
585 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
587 * helper_funcs.[Ch] (getLatexUnits): see above.
589 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
591 * ControlTexinfo.C (getContents): use the right file for .sty files
593 2001-10-10 Herbert Voss <voss@perce.de>
595 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
596 and some more stuff from FormTexinfo.C
598 * ControlShowFile.C: hiding the update-button
600 2001-10-09 Herbert Voss <voss@perce.de>
602 * ControlTexinfo.[Ch]: new files. Display information about the
603 installed texfiles (cls,sty,bst).
605 * ControlShowFile.[Ch]: new files. Display the contents of a file.
607 * GUI.h: added classes GUIShowFile and GUITexinfo.
609 * Makefile.am: modified appropriately.
611 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
613 * ControlAboutlyx.C (getVersion): use lyx_version and
614 lyx_release_date instead of old macros
616 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlSpellchecker.C (check): Behaves well now when the spell
619 library doesn't know a replacement to an incorrect word.
621 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
623 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
624 the correct place. Can now check spelling more than once!
626 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
628 * ControlSplash.[Ch]: removed.
630 * GUI.h: remove GUISplash class.
632 * ViewBase.h: remove ViewSplash class.
634 * Makefile.am: remove ControlSplash.[Ch].
636 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
638 * ControlButtons.h: add variable emergency_exit_. If set to true, the
639 view will be shut down.
642 * ControlInset.h: act on emergency_exit_.
644 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
645 speller fails to launch.
647 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
649 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
650 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
652 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
654 * ControlRef.h (disconnectOnApply): new method. Set to true.
655 Perhaps make this user-modifiable?
657 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
662 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
664 * ControlRef.C (getBufferList, getBufferNum): New methods
666 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
668 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
669 of the dialog when the Apply button is pressed. Defaults to false,
670 but can be overridden in the daughter classes.
672 * ControlCitation.h (disconnectOnApply): new method. Set to true.
673 Perhaps make this user-modifiable?
675 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
677 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
678 we have dialogs that update their contents when the buffer changes.
679 Rather embarassing, really!
681 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
683 * ControlSearch (replace): change semantics of replace to NOT move on
684 to the next instance of a word once the present instance has been
685 replaced unless we are replacing ALL instances of the word.
687 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
689 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
691 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
693 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
694 dialog, set all options to "reset", close the dialog, re-open it ->
695 the options are set incorrectly.
697 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
698 When Applying it's useful to know whether the dialog is about to close
699 or not (no point refreshing the display for example).
701 * ControlInset.C (apply): use isClosing.
703 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
706 * ControlDialogs.h: remove bc() hack, now fixed in
707 Qt2 frontend. use member dialog_built_ instead of shared
710 * ButtonController.h:
711 * ButtonPolicies.C: more debug info
713 * ButtonControllerBase.C: call refresh() when setting readOnly !
715 * GUI.h: External form has apply, use the right policy
717 * character.C: fix two off-by-one errors when latex font was removed
719 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
721 * ControlInset.h (apply): tentative fix for the press Apply multiple
722 times and get multiple new Insets problem.
724 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
726 * ControlCharacter.C: fix typo
730 * ControlInsets.C: make sure dialog is built before it is shown, so
731 it works properly the very first time it is shown
733 2001-08-20 Herbert Voss <voss@perce.de>
735 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
736 and styles. Added an option for "bibliography into toc"
738 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
740 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
741 LaTeX is no longer a font property.
743 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
745 * GUI.h: Button controller for Reference dialog changed to
746 NoRepeatedApplyReadOnlyPolicy.
748 * biblio.C (getInfo): output volume and number info. Move year to end
751 2001-08-09 Allan Rae <rae@lyx.org>
753 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
755 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
757 * helper_funcs.C (getVectorFromString): fixed small bug.
759 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
761 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
763 * ControlSpellchecker.C: check next word after insert in personal dict
765 2001-08-06 Juergen Vigna <jug@sad.it>
767 * ControlERT.[Ch]: new file
769 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
771 * ControlInset.h: const and non-const forms of params().
773 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
774 whitespace from either side of each item.
776 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
778 * ControlFloat.h: add a != operator for FloatParams.
779 Lars, how did you get this to compile!!!
781 * ControlMinipage.[Ch]: uncommented someone's commenting out of
782 operator != for MinipageParams. Who's changing stuff and not compiling?
784 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
786 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
789 * GUI.h: add class GUIFloat
791 * ControlFloat.[Ch]: new files
793 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
795 * ControlPrint.C: #include Lassert.h here.
797 2001-07-26 Baruch Even <baruch@lyx.org>
799 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
802 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
804 * ControlThesaurus.h:
805 * ControlThesaurus.C:
807 * Makefile.am: thesaurus support
809 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
812 * ControlInclude.C: implement ability to load file
814 2001-07-18 Juergen Vigna <jug@sad.it>
816 * ControlSearch.C (replace): changes to lyxfind.h function calls.
818 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
820 * biblio.C (getInfo): add a .c_str() to handle the usual
823 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
825 * ControlCitation.[Ch]: changes associated with adding natbib support.
826 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
827 New static variable citeStyles_.
829 * biblio.[Ch]: large internal rearrangement.
830 New public enum CiteStyle.
831 New public struct CitationStyle.
832 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
833 getNumericalStrings, getAuthorYearStrings
834 (simpleSearch, regexSearch): no longer publicly accessible.
836 * helper_funcs.C (getStringFromVector): bug fix.
838 2001-07-16 Baruch Even <baruch@lyx.org>
840 * ControlVCLog.h: Added Lsstream.h to includes.
842 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
844 * ControlSpellchecker.[Ch]: remove d-tor.
846 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
848 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
850 2001-07-16 Juergen Vigna <jug@sad.it>
852 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
853 compiled with USE_PSPELL) to be able to switch between ISpell and
856 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
858 Consistent use of Lsstream.h:
859 * ControlAboutlyx.[Ch] (getCredits):
860 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
862 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
864 * ControlCredits.[Ch]: removed
865 * ControlCopyright.[Ch]: removed
866 * ControlAboutlyx.[Ch]: added (replaces previous)
867 * GUI.h: removed credits and copyright added about lyx stuff
869 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
871 * ControlSpellchecker.C (getSuggestion):
872 (getWord): add std:: qualifier
874 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
876 * ControlSpellchecker.[Ch]: added
877 * ViewBase.h: added partialUpdate(int) member
878 * GUI.h: added spell stuff
880 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
882 * ControlExternal.C: (*it). -> it->
884 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
886 * ButtonController.h: move some included header files out of the
887 frontends and into here.
889 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
891 * ControlCharacter.C (c-tor): cosmetic name change of signal.
893 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
895 * *.[h]: added // -*- C++ -*-
896 * *.[C]: removed // -*- C++ -*-
898 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
899 activate Apply button.
900 (clearParams): removed.
901 font_ is now stored as a boost::scoped_ptr.
902 font_ is no longer deleted on hide(), so it's contents can now be used
903 by the Font button on the toolbar.
904 Lots of new methods so that the GUI can easily get the contents of
905 font_ when it update()s.
907 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
909 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
910 crash when the Font button on the Toolbar is pressed.
912 * GUI.h: change policy of Character button controller to
913 OkApplyCancelReadOnlyPolicy.
915 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
917 * ControlToc.C (getContents): don't add anything to the list if it
918 is supposed to be empty.
920 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
922 * helper_funcs.C (getVectorFromString): bug fix.
924 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
927 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
928 from ButtonControllerBase::readOnly. Updates the state of the widgets
929 in the read-only list only when the read-only status of the document
931 (refresh): moved this stuff into refreshReadOnly.
933 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
935 * ControlPrint.C (c-tor):
936 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
938 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
941 * character.h: small clean-ups.
943 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
945 * ControlToc.C (getType): remove support for old float list.
947 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
949 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
950 * ControlGraphics.h: no longer include insetgraphicsParams.h
951 * ControlInset.h: no longer include LyXView.h
956 * ControlCharacter.C:
959 * ControlConnections.C:
960 * ControlCopyright.C:
972 * ControlTabularCreate.C:
974 * ControlVCLog.C: they're now in here!
976 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
978 * ButtonControllerBase.h: C++ mode, inherit privately from
980 * ButtonPolicies.h: ditto
982 * ButtonController.h: C++ mode, swap init order of restore_ and
985 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
987 * ControlTabularCreate.h:
988 * ControlTabularCreate.C: make dialogs use a pair of uints
992 * ControlVCLog.C: fill a stringstream with the log contents
995 * ControlExternal.C: from Angus, clone the new InsetExternal
998 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1000 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1001 and made more robust.
1003 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1008 * ControlPreamble.C:
1010 * ControlGraphics.C:
1011 * ControlExternal.C:
1012 * ControlCopyright.C: include gettext.h
1014 * ControlCharacter.C:
1015 * character.C: include gettext.h and language.h
1017 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1019 * ButtonController.h:
1020 * ButtonControllerBase.h:
1021 * ButtonControllerBase.C:
1028 * ControlConnections.h:
1031 * ControlExternal.C:
1034 * ViewBase.h: s/ControlButton/ControlButtons/
1036 s/UndoAll/Restore/ + associated
1038 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1040 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1043 * Makefile.am: associated changes with all of the above.
1045 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1047 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1048 and edit, view, update the External Material correctly. I hope!
1050 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1054 * BCTemplates.h: renamed as ButtonController.h
1056 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1059 * ControlConnections.h: associated change in #include and class names.
1061 * ControlExternal.[Ch]: new files; a controller for the External
1065 * Makefile.am: associated changes with all of the above.
1067 * ControlGraphics.[Ch]:
1068 * ControlInclude.[Ch]:
1069 * ControlPrint.[Ch]:
1071 (Browse): new method. Returns the results of a FileDialog browse.
1073 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1074 (getVectorFromString): fixed bug.
1076 * biblio.C (simpleSearch): cleaned up.
1078 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1080 * A slight reworking of Baruch Even's ButtonController patch.
1082 * BCTemplates.h: new file; all the templates for the ButtonController.
1083 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1084 to the more generic setButtonLabel().
1086 * ButtonController.[Ch]: renamed cancel_label and close_label as
1087 cancel_label_ and close_label_.
1089 * Makefile.am: added BCTemplates.h
1091 2001-03-29 Juergen Vigna <jug@sad.it>
1093 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1094 to use new %-lengths of LyXLength.
1096 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1098 * ControlCitation.C (bibkeysInfo): removed Assert.
1100 * ControlCopyright.h: moved GUICopyright into GUI.h
1104 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1106 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1107 (setDaughterParams): a (by default empty) new method called in show().
1113 * ControlMinipage.h:
1116 * ControlUrl.h (clearDaughterParams): removed
1118 * ControlMinipage.C (applyParamsToInset): update the view.
1119 Added namespace minipage containing a helper function getUnits.
1121 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1123 * ControlCharacter.[Ch]: moved out all the helper functions and the
1124 enum into their own file.
1125 * character.[Ch]: new files; contain the character helper functions,
1126 now inside namespace character.
1128 * ControlCitation.[Ch]: moved out all the helper functions and the
1129 enums into their own file. Simplified interface.
1130 * biblio.[Ch]: new files; contain the citation helper functions,
1131 now inside namespace biblio. Will be of use also to an improved
1134 * ControlGraphics.[Ch]:
1135 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1136 popups, respectively.
1139 * Makefile.am: associated changes.
1141 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1143 * ControlMinipage.[Ch]:
1144 * ControlPreamble.[Ch]:
1145 * ControlPrint.[Ch]:
1146 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1147 and Print popups and Splash screen, respectively.
1149 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1153 * Makefile.am: associated changes.
1155 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1157 * ControlConnections.[Ch]: (docType): new method; returns the type
1158 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1161 * ControlSearch.[Ch]:
1162 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1163 Search and TabularCreate popups, respectively.
1166 * Makefile.am: associated changes.
1168 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1170 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1173 * ControlInset.h (apply): fix bug. Can now create new insets again.
1175 * README: describe program flow.
1177 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1179 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1181 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1183 * ControlDialogs.h: moved class ControlInset into its own file.
1185 * ControlInset.h: new file. class ControlInset has been expanded to take
1186 two template parameters, Inset and Params. Believe that all inset
1187 controllers can be derived from this with the minimum of effort.
1189 * ControlBibitem.[Ch]:
1190 * ControlBibtex.[Ch]:
1191 * ControlCitation.[Ch]:
1192 * ControlCommand.[Ch]: moved most code into ControlInset.
1194 * lots of files. Moved protected stuff into private where possible.
1196 * ControlError.[Ch]:
1197 * ControlInclude.[Ch]:
1198 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1199 Include and Url popups, respectively.
1202 * Makefile.am: associated changes.
1204 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1206 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1209 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1211 * ControlCredits.C (getCredits): remove std:: qualifier for
1214 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1216 * ControlCredits.C (getCredits): add std:: on vector
1218 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1220 * ControlCredits.C: remove using that is only used once, use
1221 std::ios instead of std::iosbase, add some annoying comments.
1223 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1225 * lots of header files: improved explanatory notes.
1227 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1228 ControlBase is now a class that only controls the interaction of the
1229 View with the ButtonController.
1231 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1232 to ControlConnectBase. The class controls the connection/disconnection
1233 of signals from the LyX kernel and makes available the kernel (through
1234 lv_) to daughter controller classes.
1235 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1237 * ControlDialogs.h: new file. Contains the definition of two template
1238 controller classes, ControlDialog and ControlInset (was
1239 ControlConnectInset). ControlInset is a parent class for controllers
1240 of inset-popups. ControlDialogs is the rather uninspired name for
1241 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1242 ControlDialogs is reaching a state of maturity as several popups now use
1243 it and its functionality becomes clear. ControlInset is still in a state
1244 of flux. It is likely that functionality will be moved out of
1245 ControlCommands and into it.
1247 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1248 individual Controller header files and into one place. These classes
1249 serve only as convenient wrappers to simplify code in the respective
1250 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1252 * ControlCharacter.[Ch] (show, update, hide):
1253 * ControlLog.[Ch] (show, update, hide):
1254 * ControlVCLog.[Ch] (show, update, hide): moved back into
1255 the ControlDialogs base class.
1256 (setParams, clearParams): new methods containing controller-specific
1257 code to set/reset the parameters manipulated by the view.
1259 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1261 (hide): calls clearParams.
1263 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1264 by ControlCommand::hide().
1266 * ControlCopyright.[Ch]:
1267 * ControlCredits.[Ch]: new files; controllers for the copyright and
1268 credits popups, respectively.
1270 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1272 * ControlCharacter.C: fix typo
1274 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1276 * ControlCharacter.[Ch]: new files; controller for the character popup.
1278 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1279 moved to new files helper_funcs.[Ch].
1281 * helper_funcs.[Ch]: new files. Some useful helper functions and
1284 * Makefile.am: added new files.
1286 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1288 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1290 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1294 Control log files, respectively.
1296 * Makefile.am: added new files.
1298 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1300 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1302 * Makefile.am: added ControlBibtex.[Ch].
1304 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1307 * ControlCitation.C: added "using SigC::slot" declaration.
1309 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1310 to FormCitation.C prior to the merger: "Do not put space between
1313 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1315 * several files: remove CXX_WORKING_NAMESPACES
1317 * ButtonController.h: noncopyable is in namespace boost
1318 * ButtonPolicies.h: ditto
1320 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1322 * Merging changes from BRANCH_MVC back into HEAD.
1324 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1326 * Makefile.am: add ControlBibitem.[Ch].
1328 * ControlBibitem.[Ch]: new files that together define the Controller
1329 for a Bibitem popup.
1331 * ControlCommand.h (c-tor): give kb_action a default value of
1334 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1336 * ControlCitation.[Ch]: moved search functions out of class.
1337 (bibkeysInfo): new method. Returns const reference to private data.
1338 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1341 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1343 * ControlCitation.[Ch]: added Search functions to the class,
1344 (shamelessly lifted from Marco's gnome code). I think that these would
1345 be better as helper functions outside the class, but this is a first
1348 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1350 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1352 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1353 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1354 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1355 implementation of FormCitation.
1357 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1359 * ButtonPolicies.h: add SMI_NOOP to enum.
1361 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1363 * ButtonController.C (input): add "optimising" if-statement. Actually,
1364 things don't work correctly without it...
1366 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1368 * ViewBase.h: remove #pragma directive
1370 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1373 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1375 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1377 * Makefile.am: added ButtonPolicies.[Ch]
1379 * ButtonController.[Ch]: ButtonController is split into
1380 ButtonControllerBase and a template ButtonController class. The base
1381 class no longer stores a pointer to a ButtonPolicy, but instead
1382 accesses the actual instantiation of the policy through a pure virtual
1383 method bp(). This method and the ButtonPolicy itself are instantiated
1384 in the templatised ButtonController class. This class is derived from
1385 the GUI-specific GUIBC class, meaning that the frontends know
1386 nothing about the actual policy decided upon by the controllers.
1388 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1389 Instead the actual instantiations are accessed through pure virtual
1390 methods view() and bc(). The daughter classes are responsible for the
1391 actual View and ButtonController.
1393 * ControlCitation.h: the templatised class GUICitation instantiates
1394 the methods view() and bc(). It also stores the instances of the
1395 View and ButtonController.
1397 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1399 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1400 also changed to ButtonController.
1403 * ControlConnections.[Ch]:
1404 * ControlCommand.[Ch]:
1405 * ControlCitation.[Ch]:
1406 * ViewBase.h: Changes associated with this.
1408 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1410 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1411 xforms/ButtonController class into a GUI-I class (here) and an
1412 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1414 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1415 from which all Dialog Controllers should be derived. the Controllers
1416 are GUI-independent, but are designed to control the behaviour of
1417 GUI-specific implementaions of each dialog.
1419 * ControlConnections.[Ch]: new files. Classes controlling the
1420 connections of buffer-independent, buffer-dependent and Inset dialogs
1421 with the LyX kernel.
1423 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1424 InsetCommand subset of insets.
1426 * ControlCitation.[Ch]: new files. The test specialisation! A
1427 controller for the Citation dialog.
1429 * ViewBase.h: new file. ViewBase is an abstract base class from which
1430 GUI-specific dialogs should be derived. The functionality that the GUIs
1431 must now implement is much reduced.