1 2002-06-18 Herbert Voss <voss@perce.de>
3 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
4 helperstuff. Now the bibtex gui can use some of these functions
6 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8 * ControlGraphics.C: just make the mask *.*
10 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * changes to simplify function setup, removal of a lot of includes.
14 2002-06-12 Angus Leeming <leeming@lyx.org>
16 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
18 2002-06-12 Angus Leeming <leeming@lyx.org>
20 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
22 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
24 * ControlParagraph.[Ch]: new paragraph controller
25 * GUI.h: add new controller
28 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * GUI.h: do not include ButtonController.tmpl
32 * ControlInset.h: include ControlInset.tmpl
34 * ControlCitation.C: do not include ControlInset.tmpl
35 * ControlCommand.C: ditto
37 * ControlError.C: ditto
38 * ControlExternal.C: ditto
39 * ControlFloat.C: ditto
40 * ControlGraphics.C: ditto
41 * ControlInclude.C: ditto
42 * ControlMinipage.C: ditto
44 * ControlDialog.tmpl: remove the Base:: prefix
46 2002-06-07 Angus Leeming <leeming@lyx.org>
48 Fixes needed to compile with Compaq cxx 6.5.
49 * ControlDialog.tmpl: I have had to prefix base class methods with
52 * ControlInset.tmpl: #include a couple of headers.
54 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
56 * switch from SigC signals to boost::signals
58 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * biblio.h: include vector
62 * biblio.C: change include order
63 (regexSearch): use boost regex and get rid of LRegex
65 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
73 * ControlConnections.C:
90 * ControlSpellchecker.C:
91 * ControlTabularCreate.C:
96 * ControlVCLog.C: LyXView moved into frontends
98 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * ControlExternal.C: add scoped_ptr.hpp
102 * ControlCharacter.h: use more specific smart_ptr header.
104 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
106 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
108 2002-05-13 Herbert Voss <voss@perce.de>
110 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
111 like "Odland, G. and ... "
112 (parseBibTeX): fix bug with title and booktitle
113 and replace a \n with a space when one entry has more than
116 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
118 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
119 "No change" and "Reset".
121 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
122 them at the front of the list.
124 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlGraphics.C: add some comments to the char * arrays.
127 Make rorigin_size const.
129 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
131 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
132 Enables the gui's to internationalise these strings.
134 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
136 * frnt_lang.C: fix build
138 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
140 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
141 If the the caller is the character dialog, add "No change" and "Reset"
142 to the vector, else don't.
143 Internationalise the GUI strings here rather than in the different
145 Sort the translated strings, albeit simply.
147 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
149 * character.[Ch]: rename namespace character as namespace frnt.
151 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
152 as several dialogs will use this info. The function now returns a
153 vector<LanguagePair> where LanguagePair is a display string and an
154 identifying string. The display string is internationalised.
156 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
157 the identifying strings, "No change" and "Reset".
159 * Makefile.am: add frnt_lang.[Ch].
161 2002-04-25 Herbert Voss <voss@lyx.org>
163 * ControlSendto.C (allFormats): don't add the graphics extensions to the
166 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
168 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
169 BibTeX databases in a WYSIWYM way.
171 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
173 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
174 way past his use-by date.
175 Make use of the improved info from Buffer::getBibkeyList when using
176 \bibliography. Enables us to provide natbib support in this case too.
178 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
180 * ControlGraphics.C: pass the browseFile dialog a string of only those
181 formats that can currently be loaded by LyX.
183 2002-04-15 Herbert Voss <voss@perce.de>
185 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
186 with something like ,,...blah...`` (two commas)
188 2002-04-14 Herbert Voss <voss@perce.de>
190 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
191 into the support/lstrings for better use in other programs.
193 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
194 namespace anon and make globally accessible.
195 (familyName): test for the presence of a LaTeX Space at the front of
196 of a name; strip it if it exists.
198 2002-04-11 Herbert Voss <voss@perce.de>
200 * ControlGraphics.C: expand "browse-string" to all available formats
202 2002-04-11 Herbert Voss <voss@perce.de>
204 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
206 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
208 * ControlAboutlyx.C (getVersion): two _() forgotten
210 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
214 * ControlBibtex.C: make N_() be _()
216 2002-04-07 Herbert Voss <voss@perce.de>
218 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
220 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
222 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
223 used when reading the BB.
225 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlGraphics.C (readBB): Don't open the ifstrem and then
228 check the format from the contents (and open a second ifstream in the
229 process. One at a time please.
231 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlRef.C (getBufferNum): squash warning message.
235 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlBibtex.C (Browse):
238 * ControlGraphics.C (Browse):
239 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
241 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
243 * ControlGraphics.C (applyParamsToInset): pass filepath to
244 InsetGraphics::updateInset.
246 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * most files: ws cleanup
250 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
252 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
255 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
258 * ControlInclude.C: better error messages
260 2002-03-11 Herbert Voss <voss@lyx.org>
262 * biblio.C (parseBibTeX): fix another minibug with an
265 2002-03-10 Herbert Voss <voss@lyx.org>
267 * biblio.C (parseBibTeX): fix bug
268 (familyName): improve parsing
270 2002-03-09 Herbert Voss <voss@lyx.org>
272 * ControlGraphics.[Ch]: adding checkFilename() for testing
273 of non-existing files
275 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
277 * ControlSendto.C (allFormats): fix a iterators are not pointers
280 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
282 * ControlShowFile.h: add a #include "LString.h"
284 2002-03-05 Herbert Voss <voss@lyx.org>
286 * biblio.C (getInfo): simplify if using paragraph layout
289 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
291 * biblio.C (getInfo): return the info field correctly if the key
293 (parseBibTeX): fix crash when data.find('=') returns string::npos.
295 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlForks.[Ch]: new files. A controller for the Forked Child
298 processes dialog, enabling the user to see what forked processes
299 are running, and, if he so desires, to kill them.
301 * GUI.h: add class GUIForks.
303 * Makefile.am: add ControlForks.[Ch].
305 * ControlGraphics.C (getParams): small change due to change in
308 2002-02-21 Herbert Voss <voss@lyx.org>
310 * biblio.C: fix bug with commentlines in a bibentry
312 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
314 * Makefile.am: simpler obj. file compile
316 2002-02-18 Herbert Voss <voss@lyx.org>
318 * ControlGraphics.[Ch]: remove help-file call
320 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
322 * helper_funcs.h: wrap the structs firster and seconder up in a
323 namespace to avoid clashes with those in lyxalgo,h.
325 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
326 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
328 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
330 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
333 change Systemcalls::System to Systemcalls::Wait and
334 No change of functionality, just reflects the stripped down Systemcalls
337 2002-02-06 Herbert Voss <voss@lyx.org>
339 * ControlGraphics.[C] (readBB): search also in
340 g'zipped files. If it is useful than PK and compress
341 should also be supported. use unzipFile() from
344 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
346 * ControlRef.C (getBufferName): new method to get a real buffer
349 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
351 * ControlTexInfo.[Ch]: Removed Help functions.
353 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
355 * ControlSpellchecker.C: clear any selection left
358 2002-02-01 Herbert Voss <voss@lyx.org>
360 * ControlGraphics.[C] (readBB): search only, if it is a
361 ".?ps" file and look for bb's at end of file
363 2002-01-30 Herbert Voss <voss@lyx.org>
365 * ControlGraphic.[C]: do not search the whole file, when
368 2002-01-29 Herbert Voss <voss@lyx.org>
370 * ControlGraphic.[C]: added a button for document path
371 when browsing -> bug 222
373 2002-01-27 Herbert Voss <voss@lyx.org>
375 * ControlGraphic.[Ch]: added support for Bounding Box, other
378 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlTexinfo.h: added #include "LString.h" where they belong.
383 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
386 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
388 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
390 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
393 2002-01-20 Herbert Voss <voss@perce.de>
395 * ControlInclude.[Ch]: better control of unexistings files
396 when entered without the browser
398 * ControlGraphic.C (Browse): add extension "ps" when browsing for
401 2002-01-19 Herbert Voss <voss@perce.de>
403 * biblio.C (getInfo): fix bug when no author is given
405 * biblio.C (parseBibTeX): change the parsing, so that
406 '#'-characters in a bibtex entry are no more a problem.
408 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
410 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
411 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
413 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
415 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
417 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
419 * ControlExternal.C (Browse): add a std:: qualifier
421 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
423 * ControlExternal.C (Browse): simplify to use browseRelFile
425 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
427 * ButtonController.tmpl: added // -*- C++ -*-
429 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
430 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
431 Needed in _one_ of the ControlCommand-derived classes only.
433 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
436 * ControlSearch.h: #include LString.h
438 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
440 * ButtonController.h: split into two. The definition remains in
441 ButtonController.h, the declaration is now in ButtonController.tmpl.
442 These template methods should be #included when the derived class is
443 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
444 and in the qt2 and gnome equivalents.
446 * ControlDialogs.h: removed. The definition of class ControlDialog is
447 now to be found in ControlDialog.h and the declaration of the methods
448 is in ControlDialog.tmpl. The two template instantiations are performed
449 in ControlDialog_impl.[Ch], new files also.
451 * ControlInset.h: split into two. The definition remains in
452 ControlInset.h, the declaration is now in ControlInset.tmpl.
453 These template methods should be #included derived class is
454 instantiated, in this case in 8 other .C files in this directory.
456 * ControlAboutlyx.[Ch]:
457 * ControlCharacter.[Ch]:
467 * ControlPreamble.[Ch]:
469 * ControlSearch.[Ch]:
470 * ControlShowFile.[Ch]:
471 * ControlSpellchecker.[Ch]:
472 * ControlTabularCreate.[Ch]:
473 * ControlTexinfo.[Ch]:
474 * ControlThesaurus.[Ch]:
475 * ControlVCLog.[Ch]: small changes associated with the above ones.
477 * GUI.h: #include the ButtonController and dialog controller files
478 here, rather than forward declare them. This is the correct place
481 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
482 Rename ControlDialogs.h as ControlDialog.h.
483 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
486 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
490 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
492 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
495 * ControlGraphics.C (Browse): remove overzealous shortcut
497 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
499 * FormMinipage.C (apply, update): MinipageParams::width renamed
500 as MinipageParams::pageWidth. InsetMinipage::width renamed
501 as InsetMinipage::pageWidth.
503 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * ButtonController.h (refreshReadOnly): use explicit typename
507 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
509 * helper_funcs.h (browseFile): add default empty button descriptions.
511 * ControlGraphics.C (Browse):
512 * ControlBibtex.C (Browse):
513 * ControlInclude.C (Browse): add shortcuts to directory buttons
515 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
517 * ControlThesaurus.h:
518 * ControlThesaurus.C: update to Aiksaurus 0.14
520 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
522 * ControlSpellchecker.C (clearParams): show the closing message
523 only if some words have been checked, thereby fixing
526 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
528 * ControlFloat.[Ch]: changes to prevent here definitely being used
531 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
533 * ControlThesaurus.h: do not include <config.h> in header files
535 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
537 * ControlToc.C: changes for floatlist
539 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
541 * ControlVCLog.C: use _()
543 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
545 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
548 2001-10-22 Juergen Vigna <jug@sad.it>
550 * ControlSpellchecker.C (clearParams): use the error_ message of the
551 speller_ if available when the spellchecker died.
552 (setParams): remove double error message display.
554 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
558 * helper_funcs.[Ch] (getLatexUnits): see above.
560 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
562 * ControlTexinfo.C (getContents): use the right file for .sty files
564 2001-10-10 Herbert Voss <voss@perce.de>
566 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
567 and some more stuff from FormTexinfo.C
569 * ControlShowFile.C: hiding the update-button
571 2001-10-09 Herbert Voss <voss@perce.de>
573 * ControlTexinfo.[Ch]: new files. Display information about the
574 installed texfiles (cls,sty,bst).
576 * ControlShowFile.[Ch]: new files. Display the contents of a file.
578 * GUI.h: added classes GUIShowFile and GUITexinfo.
580 * Makefile.am: modified appropriately.
582 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
584 * ControlAboutlyx.C (getVersion): use lyx_version and
585 lyx_release_date instead of old macros
587 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlSpellchecker.C (check): Behaves well now when the spell
590 library doesn't know a replacement to an incorrect word.
592 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
594 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
595 the correct place. Can now check spelling more than once!
597 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
599 * ControlSplash.[Ch]: removed.
601 * GUI.h: remove GUISplash class.
603 * ViewBase.h: remove ViewSplash class.
605 * Makefile.am: remove ControlSplash.[Ch].
607 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlButtons.h: add variable emergency_exit_. If set to true, the
610 view will be shut down.
613 * ControlInset.h: act on emergency_exit_.
615 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
616 speller fails to launch.
618 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
620 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
621 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
623 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
625 * ControlRef.h (disconnectOnApply): new method. Set to true.
626 Perhaps make this user-modifiable?
628 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
633 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
635 * ControlRef.C (getBufferList, getBufferNum): New methods
637 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
639 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
640 of the dialog when the Apply button is pressed. Defaults to false,
641 but can be overridden in the daughter classes.
643 * ControlCitation.h (disconnectOnApply): new method. Set to true.
644 Perhaps make this user-modifiable?
646 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
648 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
649 we have dialogs that update their contents when the buffer changes.
650 Rather embarassing, really!
652 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
654 * ControlSearch (replace): change semantics of replace to NOT move on
655 to the next instance of a word once the present instance has been
656 replaced unless we are replacing ALL instances of the word.
658 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
660 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
662 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
664 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
665 dialog, set all options to "reset", close the dialog, re-open it ->
666 the options are set incorrectly.
668 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
669 When Applying it's useful to know whether the dialog is about to close
670 or not (no point refreshing the display for example).
672 * ControlInset.C (apply): use isClosing.
674 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
677 * ControlDialogs.h: remove bc() hack, now fixed in
678 Qt2 frontend. use member dialog_built_ instead of shared
681 * ButtonController.h:
682 * ButtonPolicies.C: more debug info
684 * ButtonControllerBase.C: call refresh() when setting readOnly !
686 * GUI.h: External form has apply, use the right policy
688 * character.C: fix two off-by-one errors when latex font was removed
690 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
692 * ControlInset.h (apply): tentative fix for the press Apply multiple
693 times and get multiple new Insets problem.
695 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
697 * ControlCharacter.C: fix typo
701 * ControlInsets.C: make sure dialog is built before it is shown, so
702 it works properly the very first time it is shown
704 2001-08-20 Herbert Voss <voss@perce.de>
706 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
707 and styles. Added an option for "bibliography into toc"
709 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
711 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
712 LaTeX is no longer a font property.
714 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
716 * GUI.h: Button controller for Reference dialog changed to
717 NoRepeatedApplyReadOnlyPolicy.
719 * biblio.C (getInfo): output volume and number info. Move year to end
722 2001-08-09 Allan Rae <rae@lyx.org>
724 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
726 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
728 * helper_funcs.C (getVectorFromString): fixed small bug.
730 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
732 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
734 * ControlSpellchecker.C: check next word after insert in personal dict
736 2001-08-06 Juergen Vigna <jug@sad.it>
738 * ControlERT.[Ch]: new file
740 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
742 * ControlInset.h: const and non-const forms of params().
744 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
745 whitespace from either side of each item.
747 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
749 * ControlFloat.h: add a != operator for FloatParams.
750 Lars, how did you get this to compile!!!
752 * ControlMinipage.[Ch]: uncommented someone's commenting out of
753 operator != for MinipageParams. Who's changing stuff and not compiling?
755 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
757 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
760 * GUI.h: add class GUIFloat
762 * ControlFloat.[Ch]: new files
764 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
766 * ControlPrint.C: #include Lassert.h here.
768 2001-07-26 Baruch Even <baruch@lyx.org>
770 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
773 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
775 * ControlThesaurus.h:
776 * ControlThesaurus.C:
778 * Makefile.am: thesaurus support
780 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
783 * ControlInclude.C: implement ability to load file
785 2001-07-18 Juergen Vigna <jug@sad.it>
787 * ControlSearch.C (replace): changes to lyxfind.h function calls.
789 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
791 * biblio.C (getInfo): add a .c_str() to handle the usual
794 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
796 * ControlCitation.[Ch]: changes associated with adding natbib support.
797 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
798 New static variable citeStyles_.
800 * biblio.[Ch]: large internal rearrangement.
801 New public enum CiteStyle.
802 New public struct CitationStyle.
803 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
804 getNumericalStrings, getAuthorYearStrings
805 (simpleSearch, regexSearch): no longer publicly accessible.
807 * helper_funcs.C (getStringFromVector): bug fix.
809 2001-07-16 Baruch Even <baruch@lyx.org>
811 * ControlVCLog.h: Added Lsstream.h to includes.
813 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
815 * ControlSpellchecker.[Ch]: remove d-tor.
817 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
819 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
821 2001-07-16 Juergen Vigna <jug@sad.it>
823 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
824 compiled with USE_PSPELL) to be able to switch between ISpell and
827 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
829 Consistent use of Lsstream.h:
830 * ControlAboutlyx.[Ch] (getCredits):
831 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
833 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
835 * ControlCredits.[Ch]: removed
836 * ControlCopyright.[Ch]: removed
837 * ControlAboutlyx.[Ch]: added (replaces previous)
838 * GUI.h: removed credits and copyright added about lyx stuff
840 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
842 * ControlSpellchecker.C (getSuggestion):
843 (getWord): add std:: qualifier
845 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
847 * ControlSpellchecker.[Ch]: added
848 * ViewBase.h: added partialUpdate(int) member
849 * GUI.h: added spell stuff
851 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
853 * ControlExternal.C: (*it). -> it->
855 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
857 * ButtonController.h: move some included header files out of the
858 frontends and into here.
860 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
862 * ControlCharacter.C (c-tor): cosmetic name change of signal.
864 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
866 * *.[h]: added // -*- C++ -*-
867 * *.[C]: removed // -*- C++ -*-
869 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
870 activate Apply button.
871 (clearParams): removed.
872 font_ is now stored as a boost::scoped_ptr.
873 font_ is no longer deleted on hide(), so it's contents can now be used
874 by the Font button on the toolbar.
875 Lots of new methods so that the GUI can easily get the contents of
876 font_ when it update()s.
878 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
880 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
881 crash when the Font button on the Toolbar is pressed.
883 * GUI.h: change policy of Character button controller to
884 OkApplyCancelReadOnlyPolicy.
886 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
888 * ControlToc.C (getContents): don't add anything to the list if it
889 is supposed to be empty.
891 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
893 * helper_funcs.C (getVectorFromString): bug fix.
895 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
898 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
899 from ButtonControllerBase::readOnly. Updates the state of the widgets
900 in the read-only list only when the read-only status of the document
902 (refresh): moved this stuff into refreshReadOnly.
904 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
906 * ControlPrint.C (c-tor):
907 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
909 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
912 * character.h: small clean-ups.
914 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
916 * ControlToc.C (getType): remove support for old float list.
918 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
920 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
921 * ControlGraphics.h: no longer include insetgraphicsParams.h
922 * ControlInset.h: no longer include LyXView.h
927 * ControlCharacter.C:
930 * ControlConnections.C:
931 * ControlCopyright.C:
943 * ControlTabularCreate.C:
945 * ControlVCLog.C: they're now in here!
947 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
949 * ButtonControllerBase.h: C++ mode, inherit privately from
951 * ButtonPolicies.h: ditto
953 * ButtonController.h: C++ mode, swap init order of restore_ and
956 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
958 * ControlTabularCreate.h:
959 * ControlTabularCreate.C: make dialogs use a pair of uints
963 * ControlVCLog.C: fill a stringstream with the log contents
966 * ControlExternal.C: from Angus, clone the new InsetExternal
969 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
971 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
972 and made more robust.
974 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
983 * ControlCopyright.C: include gettext.h
985 * ControlCharacter.C:
986 * character.C: include gettext.h and language.h
988 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
990 * ButtonController.h:
991 * ButtonControllerBase.h:
992 * ButtonControllerBase.C:
999 * ControlConnections.h:
1002 * ControlExternal.C:
1005 * ViewBase.h: s/ControlButton/ControlButtons/
1007 s/UndoAll/Restore/ + associated
1009 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1011 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1014 * Makefile.am: associated changes with all of the above.
1016 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1018 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1019 and edit, view, update the External Material correctly. I hope!
1021 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1023 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1025 * BCTemplates.h: renamed as ButtonController.h
1027 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1030 * ControlConnections.h: associated change in #include and class names.
1032 * ControlExternal.[Ch]: new files; a controller for the External
1036 * Makefile.am: associated changes with all of the above.
1038 * ControlGraphics.[Ch]:
1039 * ControlInclude.[Ch]:
1040 * ControlPrint.[Ch]:
1042 (Browse): new method. Returns the results of a FileDialog browse.
1044 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1045 (getVectorFromString): fixed bug.
1047 * biblio.C (simpleSearch): cleaned up.
1049 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1051 * A slight reworking of Baruch Even's ButtonController patch.
1053 * BCTemplates.h: new file; all the templates for the ButtonController.
1054 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1055 to the more generic setButtonLabel().
1057 * ButtonController.[Ch]: renamed cancel_label and close_label as
1058 cancel_label_ and close_label_.
1060 * Makefile.am: added BCTemplates.h
1062 2001-03-29 Juergen Vigna <jug@sad.it>
1064 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1065 to use new %-lengths of LyXLength.
1067 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlCitation.C (bibkeysInfo): removed Assert.
1071 * ControlCopyright.h: moved GUICopyright into GUI.h
1075 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1078 (setDaughterParams): a (by default empty) new method called in show().
1084 * ControlMinipage.h:
1087 * ControlUrl.h (clearDaughterParams): removed
1089 * ControlMinipage.C (applyParamsToInset): update the view.
1090 Added namespace minipage containing a helper function getUnits.
1092 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1094 * ControlCharacter.[Ch]: moved out all the helper functions and the
1095 enum into their own file.
1096 * character.[Ch]: new files; contain the character helper functions,
1097 now inside namespace character.
1099 * ControlCitation.[Ch]: moved out all the helper functions and the
1100 enums into their own file. Simplified interface.
1101 * biblio.[Ch]: new files; contain the citation helper functions,
1102 now inside namespace biblio. Will be of use also to an improved
1105 * ControlGraphics.[Ch]:
1106 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1107 popups, respectively.
1110 * Makefile.am: associated changes.
1112 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1114 * ControlMinipage.[Ch]:
1115 * ControlPreamble.[Ch]:
1116 * ControlPrint.[Ch]:
1117 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1118 and Print popups and Splash screen, respectively.
1120 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1124 * Makefile.am: associated changes.
1126 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1128 * ControlConnections.[Ch]: (docType): new method; returns the type
1129 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1132 * ControlSearch.[Ch]:
1133 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1134 Search and TabularCreate popups, respectively.
1137 * Makefile.am: associated changes.
1139 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1141 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1144 * ControlInset.h (apply): fix bug. Can now create new insets again.
1146 * README: describe program flow.
1148 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1150 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1152 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1154 * ControlDialogs.h: moved class ControlInset into its own file.
1156 * ControlInset.h: new file. class ControlInset has been expanded to take
1157 two template parameters, Inset and Params. Believe that all inset
1158 controllers can be derived from this with the minimum of effort.
1160 * ControlBibitem.[Ch]:
1161 * ControlBibtex.[Ch]:
1162 * ControlCitation.[Ch]:
1163 * ControlCommand.[Ch]: moved most code into ControlInset.
1165 * lots of files. Moved protected stuff into private where possible.
1167 * ControlError.[Ch]:
1168 * ControlInclude.[Ch]:
1169 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1170 Include and Url popups, respectively.
1173 * Makefile.am: associated changes.
1175 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1177 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1180 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1182 * ControlCredits.C (getCredits): remove std:: qualifier for
1185 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1187 * ControlCredits.C (getCredits): add std:: on vector
1189 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1191 * ControlCredits.C: remove using that is only used once, use
1192 std::ios instead of std::iosbase, add some annoying comments.
1194 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1196 * lots of header files: improved explanatory notes.
1198 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1199 ControlBase is now a class that only controls the interaction of the
1200 View with the ButtonController.
1202 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1203 to ControlConnectBase. The class controls the connection/disconnection
1204 of signals from the LyX kernel and makes available the kernel (through
1205 lv_) to daughter controller classes.
1206 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1208 * ControlDialogs.h: new file. Contains the definition of two template
1209 controller classes, ControlDialog and ControlInset (was
1210 ControlConnectInset). ControlInset is a parent class for controllers
1211 of inset-popups. ControlDialogs is the rather uninspired name for
1212 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1213 ControlDialogs is reaching a state of maturity as several popups now use
1214 it and its functionality becomes clear. ControlInset is still in a state
1215 of flux. It is likely that functionality will be moved out of
1216 ControlCommands and into it.
1218 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1219 individual Controller header files and into one place. These classes
1220 serve only as convenient wrappers to simplify code in the respective
1221 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1223 * ControlCharacter.[Ch] (show, update, hide):
1224 * ControlLog.[Ch] (show, update, hide):
1225 * ControlVCLog.[Ch] (show, update, hide): moved back into
1226 the ControlDialogs base class.
1227 (setParams, clearParams): new methods containing controller-specific
1228 code to set/reset the parameters manipulated by the view.
1230 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1232 (hide): calls clearParams.
1234 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1235 by ControlCommand::hide().
1237 * ControlCopyright.[Ch]:
1238 * ControlCredits.[Ch]: new files; controllers for the copyright and
1239 credits popups, respectively.
1241 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1243 * ControlCharacter.C: fix typo
1245 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1247 * ControlCharacter.[Ch]: new files; controller for the character popup.
1249 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1250 moved to new files helper_funcs.[Ch].
1252 * helper_funcs.[Ch]: new files. Some useful helper functions and
1255 * Makefile.am: added new files.
1257 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1259 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1261 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1264 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1265 Control log files, respectively.
1267 * Makefile.am: added new files.
1269 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1271 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1273 * Makefile.am: added ControlBibtex.[Ch].
1275 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1278 * ControlCitation.C: added "using SigC::slot" declaration.
1280 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1281 to FormCitation.C prior to the merger: "Do not put space between
1284 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1286 * several files: remove CXX_WORKING_NAMESPACES
1288 * ButtonController.h: noncopyable is in namespace boost
1289 * ButtonPolicies.h: ditto
1291 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1293 * Merging changes from BRANCH_MVC back into HEAD.
1295 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1297 * Makefile.am: add ControlBibitem.[Ch].
1299 * ControlBibitem.[Ch]: new files that together define the Controller
1300 for a Bibitem popup.
1302 * ControlCommand.h (c-tor): give kb_action a default value of
1305 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1307 * ControlCitation.[Ch]: moved search functions out of class.
1308 (bibkeysInfo): new method. Returns const reference to private data.
1309 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1312 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1314 * ControlCitation.[Ch]: added Search functions to the class,
1315 (shamelessly lifted from Marco's gnome code). I think that these would
1316 be better as helper functions outside the class, but this is a first
1319 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1321 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1323 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1324 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1325 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1326 implementation of FormCitation.
1328 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1330 * ButtonPolicies.h: add SMI_NOOP to enum.
1332 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1334 * ButtonController.C (input): add "optimising" if-statement. Actually,
1335 things don't work correctly without it...
1337 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1339 * ViewBase.h: remove #pragma directive
1341 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1344 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1346 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1348 * Makefile.am: added ButtonPolicies.[Ch]
1350 * ButtonController.[Ch]: ButtonController is split into
1351 ButtonControllerBase and a template ButtonController class. The base
1352 class no longer stores a pointer to a ButtonPolicy, but instead
1353 accesses the actual instantiation of the policy through a pure virtual
1354 method bp(). This method and the ButtonPolicy itself are instantiated
1355 in the templatised ButtonController class. This class is derived from
1356 the GUI-specific GUIBC class, meaning that the frontends know
1357 nothing about the actual policy decided upon by the controllers.
1359 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1360 Instead the actual instantiations are accessed through pure virtual
1361 methods view() and bc(). The daughter classes are responsible for the
1362 actual View and ButtonController.
1364 * ControlCitation.h: the templatised class GUICitation instantiates
1365 the methods view() and bc(). It also stores the instances of the
1366 View and ButtonController.
1368 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1370 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1371 also changed to ButtonController.
1374 * ControlConnections.[Ch]:
1375 * ControlCommand.[Ch]:
1376 * ControlCitation.[Ch]:
1377 * ViewBase.h: Changes associated with this.
1379 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1381 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1382 xforms/ButtonController class into a GUI-I class (here) and an
1383 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1385 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1386 from which all Dialog Controllers should be derived. the Controllers
1387 are GUI-independent, but are designed to control the behaviour of
1388 GUI-specific implementaions of each dialog.
1390 * ControlConnections.[Ch]: new files. Classes controlling the
1391 connections of buffer-independent, buffer-dependent and Inset dialogs
1392 with the LyX kernel.
1394 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1395 InsetCommand subset of insets.
1397 * ControlCitation.[Ch]: new files. The test specialisation! A
1398 controller for the Citation dialog.
1400 * ViewBase.h: new file. ViewBase is an abstract base class from which
1401 GUI-specific dialogs should be derived. The functionality that the GUIs
1402 must now implement is much reduced.