1 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3 * ControlGraphics.C: just make the mask *.*
5 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * changes to simplify function setup, removal of a lot of includes.
9 2002-06-12 Angus Leeming <leeming@lyx.org>
11 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
13 2002-06-12 Angus Leeming <leeming@lyx.org>
15 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
17 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
19 * ControlParagraph.[Ch]: new paragraph controller
20 * GUI.h: add new controller
23 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
25 * GUI.h: do not include ButtonController.tmpl
27 * ControlInset.h: include ControlInset.tmpl
29 * ControlCitation.C: do not include ControlInset.tmpl
30 * ControlCommand.C: ditto
32 * ControlError.C: ditto
33 * ControlExternal.C: ditto
34 * ControlFloat.C: ditto
35 * ControlGraphics.C: ditto
36 * ControlInclude.C: ditto
37 * ControlMinipage.C: ditto
39 * ControlDialog.tmpl: remove the Base:: prefix
41 2002-06-07 Angus Leeming <leeming@lyx.org>
43 Fixes needed to compile with Compaq cxx 6.5.
44 * ControlDialog.tmpl: I have had to prefix base class methods with
47 * ControlInset.tmpl: #include a couple of headers.
49 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * switch from SigC signals to boost::signals
53 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * biblio.h: include vector
57 * biblio.C: change include order
58 (regexSearch): use boost regex and get rid of LRegex
60 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
68 * ControlConnections.C:
85 * ControlSpellchecker.C:
86 * ControlTabularCreate.C:
91 * ControlVCLog.C: LyXView moved into frontends
93 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * ControlExternal.C: add scoped_ptr.hpp
97 * ControlCharacter.h: use more specific smart_ptr header.
99 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
101 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
103 2002-05-13 Herbert Voss <voss@perce.de>
105 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
106 like "Odland, G. and ... "
107 (parseBibTeX): fix bug with title and booktitle
108 and replace a \n with a space when one entry has more than
111 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
113 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
114 "No change" and "Reset".
116 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
117 them at the front of the list.
119 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlGraphics.C: add some comments to the char * arrays.
122 Make rorigin_size const.
124 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
127 Enables the gui's to internationalise these strings.
129 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
131 * frnt_lang.C: fix build
133 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
135 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
136 If the the caller is the character dialog, add "No change" and "Reset"
137 to the vector, else don't.
138 Internationalise the GUI strings here rather than in the different
140 Sort the translated strings, albeit simply.
142 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
144 * character.[Ch]: rename namespace character as namespace frnt.
146 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
147 as several dialogs will use this info. The function now returns a
148 vector<LanguagePair> where LanguagePair is a display string and an
149 identifying string. The display string is internationalised.
151 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
152 the identifying strings, "No change" and "Reset".
154 * Makefile.am: add frnt_lang.[Ch].
156 2002-04-25 Herbert Voss <voss@lyx.org>
158 * ControlSendto.C (allFormats): don't add the graphics extensions to the
161 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
163 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
164 BibTeX databases in a WYSIWYM way.
166 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
168 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
169 way past his use-by date.
170 Make use of the improved info from Buffer::getBibkeyList when using
171 \bibliography. Enables us to provide natbib support in this case too.
173 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
175 * ControlGraphics.C: pass the browseFile dialog a string of only those
176 formats that can currently be loaded by LyX.
178 2002-04-15 Herbert Voss <voss@perce.de>
180 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
181 with something like ,,...blah...`` (two commas)
183 2002-04-14 Herbert Voss <voss@perce.de>
185 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
186 into the support/lstrings for better use in other programs.
188 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
189 namespace anon and make globally accessible.
190 (familyName): test for the presence of a LaTeX Space at the front of
191 of a name; strip it if it exists.
193 2002-04-11 Herbert Voss <voss@perce.de>
195 * ControlGraphics.C: expand "browse-string" to all available formats
197 2002-04-11 Herbert Voss <voss@perce.de>
199 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
201 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
203 * ControlAboutlyx.C (getVersion): two _() forgotten
205 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
209 * ControlBibtex.C: make N_() be _()
211 2002-04-07 Herbert Voss <voss@perce.de>
213 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
215 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
217 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
218 used when reading the BB.
220 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
222 * ControlGraphics.C (readBB): Don't open the ifstrem and then
223 check the format from the contents (and open a second ifstream in the
224 process. One at a time please.
226 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlRef.C (getBufferNum): squash warning message.
230 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
232 * ControlBibtex.C (Browse):
233 * ControlGraphics.C (Browse):
234 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
236 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
238 * ControlGraphics.C (applyParamsToInset): pass filepath to
239 InsetGraphics::updateInset.
241 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * most files: ws cleanup
245 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
247 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
250 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
253 * ControlInclude.C: better error messages
255 2002-03-11 Herbert Voss <voss@lyx.org>
257 * biblio.C (parseBibTeX): fix another minibug with an
260 2002-03-10 Herbert Voss <voss@lyx.org>
262 * biblio.C (parseBibTeX): fix bug
263 (familyName): improve parsing
265 2002-03-09 Herbert Voss <voss@lyx.org>
267 * ControlGraphics.[Ch]: adding checkFilename() for testing
268 of non-existing files
270 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * ControlSendto.C (allFormats): fix a iterators are not pointers
275 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
277 * ControlShowFile.h: add a #include "LString.h"
279 2002-03-05 Herbert Voss <voss@lyx.org>
281 * biblio.C (getInfo): simplify if using paragraph layout
284 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
286 * biblio.C (getInfo): return the info field correctly if the key
288 (parseBibTeX): fix crash when data.find('=') returns string::npos.
290 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlForks.[Ch]: new files. A controller for the Forked Child
293 processes dialog, enabling the user to see what forked processes
294 are running, and, if he so desires, to kill them.
296 * GUI.h: add class GUIForks.
298 * Makefile.am: add ControlForks.[Ch].
300 * ControlGraphics.C (getParams): small change due to change in
303 2002-02-21 Herbert Voss <voss@lyx.org>
305 * biblio.C: fix bug with commentlines in a bibentry
307 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
309 * Makefile.am: simpler obj. file compile
311 2002-02-18 Herbert Voss <voss@lyx.org>
313 * ControlGraphics.[Ch]: remove help-file call
315 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
317 * helper_funcs.h: wrap the structs firster and seconder up in a
318 namespace to avoid clashes with those in lyxalgo,h.
320 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
321 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
323 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
325 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
328 change Systemcalls::System to Systemcalls::Wait and
329 No change of functionality, just reflects the stripped down Systemcalls
332 2002-02-06 Herbert Voss <voss@lyx.org>
334 * ControlGraphics.[C] (readBB): search also in
335 g'zipped files. If it is useful than PK and compress
336 should also be supported. use unzipFile() from
339 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
341 * ControlRef.C (getBufferName): new method to get a real buffer
344 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
346 * ControlTexInfo.[Ch]: Removed Help functions.
348 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
350 * ControlSpellchecker.C: clear any selection left
353 2002-02-01 Herbert Voss <voss@lyx.org>
355 * ControlGraphics.[C] (readBB): search only, if it is a
356 ".?ps" file and look for bb's at end of file
358 2002-01-30 Herbert Voss <voss@lyx.org>
360 * ControlGraphic.[C]: do not search the whole file, when
363 2002-01-29 Herbert Voss <voss@lyx.org>
365 * ControlGraphic.[C]: added a button for document path
366 when browsing -> bug 222
368 2002-01-27 Herbert Voss <voss@lyx.org>
370 * ControlGraphic.[Ch]: added support for Bounding Box, other
373 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
376 * ControlTexinfo.h: added #include "LString.h" where they belong.
378 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
383 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
385 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
388 2002-01-20 Herbert Voss <voss@perce.de>
390 * ControlInclude.[Ch]: better control of unexistings files
391 when entered without the browser
393 * ControlGraphic.C (Browse): add extension "ps" when browsing for
396 2002-01-19 Herbert Voss <voss@perce.de>
398 * biblio.C (getInfo): fix bug when no author is given
400 * biblio.C (parseBibTeX): change the parsing, so that
401 '#'-characters in a bibtex entry are no more a problem.
403 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
406 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
408 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
410 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
412 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
414 * ControlExternal.C (Browse): add a std:: qualifier
416 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * ControlExternal.C (Browse): simplify to use browseRelFile
420 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
422 * ButtonController.tmpl: added // -*- C++ -*-
424 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
425 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
426 Needed in _one_ of the ControlCommand-derived classes only.
428 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
431 * ControlSearch.h: #include LString.h
433 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
435 * ButtonController.h: split into two. The definition remains in
436 ButtonController.h, the declaration is now in ButtonController.tmpl.
437 These template methods should be #included when the derived class is
438 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
439 and in the qt2 and gnome equivalents.
441 * ControlDialogs.h: removed. The definition of class ControlDialog is
442 now to be found in ControlDialog.h and the declaration of the methods
443 is in ControlDialog.tmpl. The two template instantiations are performed
444 in ControlDialog_impl.[Ch], new files also.
446 * ControlInset.h: split into two. The definition remains in
447 ControlInset.h, the declaration is now in ControlInset.tmpl.
448 These template methods should be #included derived class is
449 instantiated, in this case in 8 other .C files in this directory.
451 * ControlAboutlyx.[Ch]:
452 * ControlCharacter.[Ch]:
462 * ControlPreamble.[Ch]:
464 * ControlSearch.[Ch]:
465 * ControlShowFile.[Ch]:
466 * ControlSpellchecker.[Ch]:
467 * ControlTabularCreate.[Ch]:
468 * ControlTexinfo.[Ch]:
469 * ControlThesaurus.[Ch]:
470 * ControlVCLog.[Ch]: small changes associated with the above ones.
472 * GUI.h: #include the ButtonController and dialog controller files
473 here, rather than forward declare them. This is the correct place
476 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
477 Rename ControlDialogs.h as ControlDialog.h.
478 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
481 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
485 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
487 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
490 * ControlGraphics.C (Browse): remove overzealous shortcut
492 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
494 * FormMinipage.C (apply, update): MinipageParams::width renamed
495 as MinipageParams::pageWidth. InsetMinipage::width renamed
496 as InsetMinipage::pageWidth.
498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * ButtonController.h (refreshReadOnly): use explicit typename
502 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
504 * helper_funcs.h (browseFile): add default empty button descriptions.
506 * ControlGraphics.C (Browse):
507 * ControlBibtex.C (Browse):
508 * ControlInclude.C (Browse): add shortcuts to directory buttons
510 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
512 * ControlThesaurus.h:
513 * ControlThesaurus.C: update to Aiksaurus 0.14
515 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
517 * ControlSpellchecker.C (clearParams): show the closing message
518 only if some words have been checked, thereby fixing
521 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
523 * ControlFloat.[Ch]: changes to prevent here definitely being used
526 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
528 * ControlThesaurus.h: do not include <config.h> in header files
530 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
532 * ControlToc.C: changes for floatlist
534 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
536 * ControlVCLog.C: use _()
538 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
540 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
543 2001-10-22 Juergen Vigna <jug@sad.it>
545 * ControlSpellchecker.C (clearParams): use the error_ message of the
546 speller_ if available when the spellchecker died.
547 (setParams): remove double error message display.
549 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
553 * helper_funcs.[Ch] (getLatexUnits): see above.
555 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * ControlTexinfo.C (getContents): use the right file for .sty files
559 2001-10-10 Herbert Voss <voss@perce.de>
561 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
562 and some more stuff from FormTexinfo.C
564 * ControlShowFile.C: hiding the update-button
566 2001-10-09 Herbert Voss <voss@perce.de>
568 * ControlTexinfo.[Ch]: new files. Display information about the
569 installed texfiles (cls,sty,bst).
571 * ControlShowFile.[Ch]: new files. Display the contents of a file.
573 * GUI.h: added classes GUIShowFile and GUITexinfo.
575 * Makefile.am: modified appropriately.
577 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * ControlAboutlyx.C (getVersion): use lyx_version and
580 lyx_release_date instead of old macros
582 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
584 * ControlSpellchecker.C (check): Behaves well now when the spell
585 library doesn't know a replacement to an incorrect word.
587 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
590 the correct place. Can now check spelling more than once!
592 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
594 * ControlSplash.[Ch]: removed.
596 * GUI.h: remove GUISplash class.
598 * ViewBase.h: remove ViewSplash class.
600 * Makefile.am: remove ControlSplash.[Ch].
602 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
604 * ControlButtons.h: add variable emergency_exit_. If set to true, the
605 view will be shut down.
608 * ControlInset.h: act on emergency_exit_.
610 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
611 speller fails to launch.
613 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
615 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
616 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
618 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
620 * ControlRef.h (disconnectOnApply): new method. Set to true.
621 Perhaps make this user-modifiable?
623 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
628 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
630 * ControlRef.C (getBufferList, getBufferNum): New methods
632 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
634 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
635 of the dialog when the Apply button is pressed. Defaults to false,
636 but can be overridden in the daughter classes.
638 * ControlCitation.h (disconnectOnApply): new method. Set to true.
639 Perhaps make this user-modifiable?
641 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
643 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
644 we have dialogs that update their contents when the buffer changes.
645 Rather embarassing, really!
647 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
649 * ControlSearch (replace): change semantics of replace to NOT move on
650 to the next instance of a word once the present instance has been
651 replaced unless we are replacing ALL instances of the word.
653 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
655 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
657 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
659 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
660 dialog, set all options to "reset", close the dialog, re-open it ->
661 the options are set incorrectly.
663 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
664 When Applying it's useful to know whether the dialog is about to close
665 or not (no point refreshing the display for example).
667 * ControlInset.C (apply): use isClosing.
669 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
672 * ControlDialogs.h: remove bc() hack, now fixed in
673 Qt2 frontend. use member dialog_built_ instead of shared
676 * ButtonController.h:
677 * ButtonPolicies.C: more debug info
679 * ButtonControllerBase.C: call refresh() when setting readOnly !
681 * GUI.h: External form has apply, use the right policy
683 * character.C: fix two off-by-one errors when latex font was removed
685 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
687 * ControlInset.h (apply): tentative fix for the press Apply multiple
688 times and get multiple new Insets problem.
690 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
692 * ControlCharacter.C: fix typo
696 * ControlInsets.C: make sure dialog is built before it is shown, so
697 it works properly the very first time it is shown
699 2001-08-20 Herbert Voss <voss@perce.de>
701 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
702 and styles. Added an option for "bibliography into toc"
704 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
706 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
707 LaTeX is no longer a font property.
709 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
711 * GUI.h: Button controller for Reference dialog changed to
712 NoRepeatedApplyReadOnlyPolicy.
714 * biblio.C (getInfo): output volume and number info. Move year to end
717 2001-08-09 Allan Rae <rae@lyx.org>
719 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
721 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
723 * helper_funcs.C (getVectorFromString): fixed small bug.
725 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
727 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
729 * ControlSpellchecker.C: check next word after insert in personal dict
731 2001-08-06 Juergen Vigna <jug@sad.it>
733 * ControlERT.[Ch]: new file
735 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
737 * ControlInset.h: const and non-const forms of params().
739 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
740 whitespace from either side of each item.
742 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
744 * ControlFloat.h: add a != operator for FloatParams.
745 Lars, how did you get this to compile!!!
747 * ControlMinipage.[Ch]: uncommented someone's commenting out of
748 operator != for MinipageParams. Who's changing stuff and not compiling?
750 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
752 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
755 * GUI.h: add class GUIFloat
757 * ControlFloat.[Ch]: new files
759 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
761 * ControlPrint.C: #include Lassert.h here.
763 2001-07-26 Baruch Even <baruch@lyx.org>
765 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
768 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
770 * ControlThesaurus.h:
771 * ControlThesaurus.C:
773 * Makefile.am: thesaurus support
775 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
778 * ControlInclude.C: implement ability to load file
780 2001-07-18 Juergen Vigna <jug@sad.it>
782 * ControlSearch.C (replace): changes to lyxfind.h function calls.
784 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
786 * biblio.C (getInfo): add a .c_str() to handle the usual
789 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
791 * ControlCitation.[Ch]: changes associated with adding natbib support.
792 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
793 New static variable citeStyles_.
795 * biblio.[Ch]: large internal rearrangement.
796 New public enum CiteStyle.
797 New public struct CitationStyle.
798 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
799 getNumericalStrings, getAuthorYearStrings
800 (simpleSearch, regexSearch): no longer publicly accessible.
802 * helper_funcs.C (getStringFromVector): bug fix.
804 2001-07-16 Baruch Even <baruch@lyx.org>
806 * ControlVCLog.h: Added Lsstream.h to includes.
808 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
810 * ControlSpellchecker.[Ch]: remove d-tor.
812 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
814 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
816 2001-07-16 Juergen Vigna <jug@sad.it>
818 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
819 compiled with USE_PSPELL) to be able to switch between ISpell and
822 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
824 Consistent use of Lsstream.h:
825 * ControlAboutlyx.[Ch] (getCredits):
826 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
828 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
830 * ControlCredits.[Ch]: removed
831 * ControlCopyright.[Ch]: removed
832 * ControlAboutlyx.[Ch]: added (replaces previous)
833 * GUI.h: removed credits and copyright added about lyx stuff
835 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
837 * ControlSpellchecker.C (getSuggestion):
838 (getWord): add std:: qualifier
840 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
842 * ControlSpellchecker.[Ch]: added
843 * ViewBase.h: added partialUpdate(int) member
844 * GUI.h: added spell stuff
846 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
848 * ControlExternal.C: (*it). -> it->
850 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
852 * ButtonController.h: move some included header files out of the
853 frontends and into here.
855 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
857 * ControlCharacter.C (c-tor): cosmetic name change of signal.
859 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
861 * *.[h]: added // -*- C++ -*-
862 * *.[C]: removed // -*- C++ -*-
864 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
865 activate Apply button.
866 (clearParams): removed.
867 font_ is now stored as a boost::scoped_ptr.
868 font_ is no longer deleted on hide(), so it's contents can now be used
869 by the Font button on the toolbar.
870 Lots of new methods so that the GUI can easily get the contents of
871 font_ when it update()s.
873 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
875 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
876 crash when the Font button on the Toolbar is pressed.
878 * GUI.h: change policy of Character button controller to
879 OkApplyCancelReadOnlyPolicy.
881 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
883 * ControlToc.C (getContents): don't add anything to the list if it
884 is supposed to be empty.
886 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
888 * helper_funcs.C (getVectorFromString): bug fix.
890 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
893 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
894 from ButtonControllerBase::readOnly. Updates the state of the widgets
895 in the read-only list only when the read-only status of the document
897 (refresh): moved this stuff into refreshReadOnly.
899 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
901 * ControlPrint.C (c-tor):
902 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
904 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
907 * character.h: small clean-ups.
909 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
911 * ControlToc.C (getType): remove support for old float list.
913 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
915 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
916 * ControlGraphics.h: no longer include insetgraphicsParams.h
917 * ControlInset.h: no longer include LyXView.h
922 * ControlCharacter.C:
925 * ControlConnections.C:
926 * ControlCopyright.C:
938 * ControlTabularCreate.C:
940 * ControlVCLog.C: they're now in here!
942 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
944 * ButtonControllerBase.h: C++ mode, inherit privately from
946 * ButtonPolicies.h: ditto
948 * ButtonController.h: C++ mode, swap init order of restore_ and
951 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
953 * ControlTabularCreate.h:
954 * ControlTabularCreate.C: make dialogs use a pair of uints
958 * ControlVCLog.C: fill a stringstream with the log contents
961 * ControlExternal.C: from Angus, clone the new InsetExternal
964 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
966 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
967 and made more robust.
969 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
978 * ControlCopyright.C: include gettext.h
980 * ControlCharacter.C:
981 * character.C: include gettext.h and language.h
983 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
985 * ButtonController.h:
986 * ButtonControllerBase.h:
987 * ButtonControllerBase.C:
994 * ControlConnections.h:
1000 * ViewBase.h: s/ControlButton/ControlButtons/
1002 s/UndoAll/Restore/ + associated
1004 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1006 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1009 * Makefile.am: associated changes with all of the above.
1011 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1014 and edit, view, update the External Material correctly. I hope!
1016 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1018 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1020 * BCTemplates.h: renamed as ButtonController.h
1022 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1025 * ControlConnections.h: associated change in #include and class names.
1027 * ControlExternal.[Ch]: new files; a controller for the External
1031 * Makefile.am: associated changes with all of the above.
1033 * ControlGraphics.[Ch]:
1034 * ControlInclude.[Ch]:
1035 * ControlPrint.[Ch]:
1037 (Browse): new method. Returns the results of a FileDialog browse.
1039 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1040 (getVectorFromString): fixed bug.
1042 * biblio.C (simpleSearch): cleaned up.
1044 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1046 * A slight reworking of Baruch Even's ButtonController patch.
1048 * BCTemplates.h: new file; all the templates for the ButtonController.
1049 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1050 to the more generic setButtonLabel().
1052 * ButtonController.[Ch]: renamed cancel_label and close_label as
1053 cancel_label_ and close_label_.
1055 * Makefile.am: added BCTemplates.h
1057 2001-03-29 Juergen Vigna <jug@sad.it>
1059 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1060 to use new %-lengths of LyXLength.
1062 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1064 * ControlCitation.C (bibkeysInfo): removed Assert.
1066 * ControlCopyright.h: moved GUICopyright into GUI.h
1070 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1072 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1073 (setDaughterParams): a (by default empty) new method called in show().
1079 * ControlMinipage.h:
1082 * ControlUrl.h (clearDaughterParams): removed
1084 * ControlMinipage.C (applyParamsToInset): update the view.
1085 Added namespace minipage containing a helper function getUnits.
1087 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1089 * ControlCharacter.[Ch]: moved out all the helper functions and the
1090 enum into their own file.
1091 * character.[Ch]: new files; contain the character helper functions,
1092 now inside namespace character.
1094 * ControlCitation.[Ch]: moved out all the helper functions and the
1095 enums into their own file. Simplified interface.
1096 * biblio.[Ch]: new files; contain the citation helper functions,
1097 now inside namespace biblio. Will be of use also to an improved
1100 * ControlGraphics.[Ch]:
1101 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1102 popups, respectively.
1105 * Makefile.am: associated changes.
1107 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlMinipage.[Ch]:
1110 * ControlPreamble.[Ch]:
1111 * ControlPrint.[Ch]:
1112 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1113 and Print popups and Splash screen, respectively.
1115 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1119 * Makefile.am: associated changes.
1121 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1123 * ControlConnections.[Ch]: (docType): new method; returns the type
1124 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1127 * ControlSearch.[Ch]:
1128 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1129 Search and TabularCreate popups, respectively.
1132 * Makefile.am: associated changes.
1134 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1139 * ControlInset.h (apply): fix bug. Can now create new insets again.
1141 * README: describe program flow.
1143 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1145 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1147 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1149 * ControlDialogs.h: moved class ControlInset into its own file.
1151 * ControlInset.h: new file. class ControlInset has been expanded to take
1152 two template parameters, Inset and Params. Believe that all inset
1153 controllers can be derived from this with the minimum of effort.
1155 * ControlBibitem.[Ch]:
1156 * ControlBibtex.[Ch]:
1157 * ControlCitation.[Ch]:
1158 * ControlCommand.[Ch]: moved most code into ControlInset.
1160 * lots of files. Moved protected stuff into private where possible.
1162 * ControlError.[Ch]:
1163 * ControlInclude.[Ch]:
1164 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1165 Include and Url popups, respectively.
1168 * Makefile.am: associated changes.
1170 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1175 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1177 * ControlCredits.C (getCredits): remove std:: qualifier for
1180 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1182 * ControlCredits.C (getCredits): add std:: on vector
1184 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1186 * ControlCredits.C: remove using that is only used once, use
1187 std::ios instead of std::iosbase, add some annoying comments.
1189 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1191 * lots of header files: improved explanatory notes.
1193 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1194 ControlBase is now a class that only controls the interaction of the
1195 View with the ButtonController.
1197 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1198 to ControlConnectBase. The class controls the connection/disconnection
1199 of signals from the LyX kernel and makes available the kernel (through
1200 lv_) to daughter controller classes.
1201 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1203 * ControlDialogs.h: new file. Contains the definition of two template
1204 controller classes, ControlDialog and ControlInset (was
1205 ControlConnectInset). ControlInset is a parent class for controllers
1206 of inset-popups. ControlDialogs is the rather uninspired name for
1207 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1208 ControlDialogs is reaching a state of maturity as several popups now use
1209 it and its functionality becomes clear. ControlInset is still in a state
1210 of flux. It is likely that functionality will be moved out of
1211 ControlCommands and into it.
1213 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1214 individual Controller header files and into one place. These classes
1215 serve only as convenient wrappers to simplify code in the respective
1216 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1218 * ControlCharacter.[Ch] (show, update, hide):
1219 * ControlLog.[Ch] (show, update, hide):
1220 * ControlVCLog.[Ch] (show, update, hide): moved back into
1221 the ControlDialogs base class.
1222 (setParams, clearParams): new methods containing controller-specific
1223 code to set/reset the parameters manipulated by the view.
1225 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1227 (hide): calls clearParams.
1229 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1230 by ControlCommand::hide().
1232 * ControlCopyright.[Ch]:
1233 * ControlCredits.[Ch]: new files; controllers for the copyright and
1234 credits popups, respectively.
1236 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1238 * ControlCharacter.C: fix typo
1240 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ControlCharacter.[Ch]: new files; controller for the character popup.
1244 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1245 moved to new files helper_funcs.[Ch].
1247 * helper_funcs.[Ch]: new files. Some useful helper functions and
1250 * Makefile.am: added new files.
1252 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1254 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1256 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1259 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1260 Control log files, respectively.
1262 * Makefile.am: added new files.
1264 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1268 * Makefile.am: added ControlBibtex.[Ch].
1270 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1273 * ControlCitation.C: added "using SigC::slot" declaration.
1275 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1276 to FormCitation.C prior to the merger: "Do not put space between
1279 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1281 * several files: remove CXX_WORKING_NAMESPACES
1283 * ButtonController.h: noncopyable is in namespace boost
1284 * ButtonPolicies.h: ditto
1286 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1288 * Merging changes from BRANCH_MVC back into HEAD.
1290 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1292 * Makefile.am: add ControlBibitem.[Ch].
1294 * ControlBibitem.[Ch]: new files that together define the Controller
1295 for a Bibitem popup.
1297 * ControlCommand.h (c-tor): give kb_action a default value of
1300 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1302 * ControlCitation.[Ch]: moved search functions out of class.
1303 (bibkeysInfo): new method. Returns const reference to private data.
1304 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1307 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1309 * ControlCitation.[Ch]: added Search functions to the class,
1310 (shamelessly lifted from Marco's gnome code). I think that these would
1311 be better as helper functions outside the class, but this is a first
1314 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1316 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1318 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1319 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1320 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1321 implementation of FormCitation.
1323 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ButtonPolicies.h: add SMI_NOOP to enum.
1327 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1329 * ButtonController.C (input): add "optimising" if-statement. Actually,
1330 things don't work correctly without it...
1332 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1334 * ViewBase.h: remove #pragma directive
1336 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1339 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1341 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1343 * Makefile.am: added ButtonPolicies.[Ch]
1345 * ButtonController.[Ch]: ButtonController is split into
1346 ButtonControllerBase and a template ButtonController class. The base
1347 class no longer stores a pointer to a ButtonPolicy, but instead
1348 accesses the actual instantiation of the policy through a pure virtual
1349 method bp(). This method and the ButtonPolicy itself are instantiated
1350 in the templatised ButtonController class. This class is derived from
1351 the GUI-specific GUIBC class, meaning that the frontends know
1352 nothing about the actual policy decided upon by the controllers.
1354 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1355 Instead the actual instantiations are accessed through pure virtual
1356 methods view() and bc(). The daughter classes are responsible for the
1357 actual View and ButtonController.
1359 * ControlCitation.h: the templatised class GUICitation instantiates
1360 the methods view() and bc(). It also stores the instances of the
1361 View and ButtonController.
1363 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1365 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1366 also changed to ButtonController.
1369 * ControlConnections.[Ch]:
1370 * ControlCommand.[Ch]:
1371 * ControlCitation.[Ch]:
1372 * ViewBase.h: Changes associated with this.
1374 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1376 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1377 xforms/ButtonController class into a GUI-I class (here) and an
1378 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1380 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1381 from which all Dialog Controllers should be derived. the Controllers
1382 are GUI-independent, but are designed to control the behaviour of
1383 GUI-specific implementaions of each dialog.
1385 * ControlConnections.[Ch]: new files. Classes controlling the
1386 connections of buffer-independent, buffer-dependent and Inset dialogs
1387 with the LyX kernel.
1389 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1390 InsetCommand subset of insets.
1392 * ControlCitation.[Ch]: new files. The test specialisation! A
1393 controller for the Citation dialog.
1395 * ViewBase.h: new file. ViewBase is an abstract base class from which
1396 GUI-specific dialogs should be derived. The functionality that the GUIs
1397 must now implement is much reduced.