1 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * GUI.h: do not include ButtonController.tmpl
5 * ControlInset.h: include ControlInset.tmpl
7 * ControlCitation.C: do not include ControlInset.tmpl
8 * ControlCommand.C: ditto
10 * ControlError.C: ditto
11 * ControlExternal.C: ditto
12 * ControlFloat.C: ditto
13 * ControlGraphics.C: ditto
14 * ControlInclude.C: ditto
15 * ControlMinipage.C: ditto
17 * ControlDialog.tmpl: remove the Base:: prefix
19 2002-06-07 Angus Leeming <leeming@lyx.org>
21 Fixes needed to compile with Compaq cxx 6.5.
22 * ControlDialog.tmpl: I have had to prefix base class methods with
25 * ControlInset.tmpl: #include a couple of headers.
27 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
29 * switch from SigC signals to boost::signals
31 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * biblio.h: include vector
35 * biblio.C: change include order
36 (regexSearch): use boost regex and get rid of LRegex
38 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
46 * ControlConnections.C:
63 * ControlSpellchecker.C:
64 * ControlTabularCreate.C:
69 * ControlVCLog.C: LyXView moved into frontends
71 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
73 * ControlExternal.C: add scoped_ptr.hpp
75 * ControlCharacter.h: use more specific smart_ptr header.
77 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
79 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
81 2002-05-13 Herbert Voss <voss@perce.de>
83 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
84 like "Odland, G. and ... "
85 (parseBibTeX): fix bug with title and booktitle
86 and replace a \n with a space when one entry has more than
89 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
91 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
92 "No change" and "Reset".
94 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
95 them at the front of the list.
97 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
99 * ControlGraphics.C: add some comments to the char * arrays.
100 Make rorigin_size const.
102 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
104 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
105 Enables the gui's to internationalise these strings.
107 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
109 * frnt_lang.C: fix build
111 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
113 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
114 If the the caller is the character dialog, add "No change" and "Reset"
115 to the vector, else don't.
116 Internationalise the GUI strings here rather than in the different
118 Sort the translated strings, albeit simply.
120 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
122 * character.[Ch]: rename namespace character as namespace frnt.
124 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
125 as several dialogs will use this info. The function now returns a
126 vector<LanguagePair> where LanguagePair is a display string and an
127 identifying string. The display string is internationalised.
129 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
130 the identifying strings, "No change" and "Reset".
132 * Makefile.am: add frnt_lang.[Ch].
134 2002-04-25 Herbert Voss <voss@lyx.org>
136 * ControlSendto.C (allFormats): don't add the graphics extensions to the
139 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
141 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
142 BibTeX databases in a WYSIWYM way.
144 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
146 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
147 way past his use-by date.
148 Make use of the improved info from Buffer::getBibkeyList when using
149 \bibliography. Enables us to provide natbib support in this case too.
151 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
153 * ControlGraphics.C: pass the browseFile dialog a string of only those
154 formats that can currently be loaded by LyX.
156 2002-04-15 Herbert Voss <voss@perce.de>
158 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
159 with something like ,,...blah...`` (two commas)
161 2002-04-14 Herbert Voss <voss@perce.de>
163 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
164 into the support/lstrings for better use in other programs.
166 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
167 namespace anon and make globally accessible.
168 (familyName): test for the presence of a LaTeX Space at the front of
169 of a name; strip it if it exists.
171 2002-04-11 Herbert Voss <voss@perce.de>
173 * ControlGraphics.C: expand "browse-string" to all available formats
175 2002-04-11 Herbert Voss <voss@perce.de>
177 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
179 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
181 * ControlAboutlyx.C (getVersion): two _() forgotten
183 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
187 * ControlBibtex.C: make N_() be _()
189 2002-04-07 Herbert Voss <voss@perce.de>
191 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
193 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
195 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
196 used when reading the BB.
198 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
200 * ControlGraphics.C (readBB): Don't open the ifstrem and then
201 check the format from the contents (and open a second ifstream in the
202 process. One at a time please.
204 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
206 * ControlRef.C (getBufferNum): squash warning message.
208 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlBibtex.C (Browse):
211 * ControlGraphics.C (Browse):
212 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
214 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
216 * ControlGraphics.C (applyParamsToInset): pass filepath to
217 InsetGraphics::updateInset.
219 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
221 * most files: ws cleanup
223 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
225 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
228 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
231 * ControlInclude.C: better error messages
233 2002-03-11 Herbert Voss <voss@lyx.org>
235 * biblio.C (parseBibTeX): fix another minibug with an
238 2002-03-10 Herbert Voss <voss@lyx.org>
240 * biblio.C (parseBibTeX): fix bug
241 (familyName): improve parsing
243 2002-03-09 Herbert Voss <voss@lyx.org>
245 * ControlGraphics.[Ch]: adding checkFilename() for testing
246 of non-existing files
248 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
250 * ControlSendto.C (allFormats): fix a iterators are not pointers
253 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
255 * ControlShowFile.h: add a #include "LString.h"
257 2002-03-05 Herbert Voss <voss@lyx.org>
259 * biblio.C (getInfo): simplify if using paragraph layout
262 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
264 * biblio.C (getInfo): return the info field correctly if the key
266 (parseBibTeX): fix crash when data.find('=') returns string::npos.
268 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
270 * ControlForks.[Ch]: new files. A controller for the Forked Child
271 processes dialog, enabling the user to see what forked processes
272 are running, and, if he so desires, to kill them.
274 * GUI.h: add class GUIForks.
276 * Makefile.am: add ControlForks.[Ch].
278 * ControlGraphics.C (getParams): small change due to change in
281 2002-02-21 Herbert Voss <voss@lyx.org>
283 * biblio.C: fix bug with commentlines in a bibentry
285 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
287 * Makefile.am: simpler obj. file compile
289 2002-02-18 Herbert Voss <voss@lyx.org>
291 * ControlGraphics.[Ch]: remove help-file call
293 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
295 * helper_funcs.h: wrap the structs firster and seconder up in a
296 namespace to avoid clashes with those in lyxalgo,h.
298 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
299 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
301 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
306 change Systemcalls::System to Systemcalls::Wait and
307 No change of functionality, just reflects the stripped down Systemcalls
310 2002-02-06 Herbert Voss <voss@lyx.org>
312 * ControlGraphics.[C] (readBB): search also in
313 g'zipped files. If it is useful than PK and compress
314 should also be supported. use unzipFile() from
317 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * ControlRef.C (getBufferName): new method to get a real buffer
322 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
324 * ControlTexInfo.[Ch]: Removed Help functions.
326 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
328 * ControlSpellchecker.C: clear any selection left
331 2002-02-01 Herbert Voss <voss@lyx.org>
333 * ControlGraphics.[C] (readBB): search only, if it is a
334 ".?ps" file and look for bb's at end of file
336 2002-01-30 Herbert Voss <voss@lyx.org>
338 * ControlGraphic.[C]: do not search the whole file, when
341 2002-01-29 Herbert Voss <voss@lyx.org>
343 * ControlGraphic.[C]: added a button for document path
344 when browsing -> bug 222
346 2002-01-27 Herbert Voss <voss@lyx.org>
348 * ControlGraphic.[Ch]: added support for Bounding Box, other
351 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlTexinfo.h: added #include "LString.h" where they belong.
356 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
359 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
361 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
363 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
366 2002-01-20 Herbert Voss <voss@perce.de>
368 * ControlInclude.[Ch]: better control of unexistings files
369 when entered without the browser
371 * ControlGraphic.C (Browse): add extension "ps" when browsing for
374 2002-01-19 Herbert Voss <voss@perce.de>
376 * biblio.C (getInfo): fix bug when no author is given
378 * biblio.C (parseBibTeX): change the parsing, so that
379 '#'-characters in a bibtex entry are no more a problem.
381 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
383 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
384 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
386 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
388 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
390 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
392 * ControlExternal.C (Browse): add a std:: qualifier
394 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
396 * ControlExternal.C (Browse): simplify to use browseRelFile
398 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
400 * ButtonController.tmpl: added // -*- C++ -*-
402 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
403 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
404 Needed in _one_ of the ControlCommand-derived classes only.
406 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
409 * ControlSearch.h: #include LString.h
411 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
413 * ButtonController.h: split into two. The definition remains in
414 ButtonController.h, the declaration is now in ButtonController.tmpl.
415 These template methods should be #included when the derived class is
416 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
417 and in the qt2 and gnome equivalents.
419 * ControlDialogs.h: removed. The definition of class ControlDialog is
420 now to be found in ControlDialog.h and the declaration of the methods
421 is in ControlDialog.tmpl. The two template instantiations are performed
422 in ControlDialog_impl.[Ch], new files also.
424 * ControlInset.h: split into two. The definition remains in
425 ControlInset.h, the declaration is now in ControlInset.tmpl.
426 These template methods should be #included derived class is
427 instantiated, in this case in 8 other .C files in this directory.
429 * ControlAboutlyx.[Ch]:
430 * ControlCharacter.[Ch]:
440 * ControlPreamble.[Ch]:
442 * ControlSearch.[Ch]:
443 * ControlShowFile.[Ch]:
444 * ControlSpellchecker.[Ch]:
445 * ControlTabularCreate.[Ch]:
446 * ControlTexinfo.[Ch]:
447 * ControlThesaurus.[Ch]:
448 * ControlVCLog.[Ch]: small changes associated with the above ones.
450 * GUI.h: #include the ButtonController and dialog controller files
451 here, rather than forward declare them. This is the correct place
454 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
455 Rename ControlDialogs.h as ControlDialog.h.
456 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
459 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
461 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
463 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
465 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
468 * ControlGraphics.C (Browse): remove overzealous shortcut
470 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
472 * FormMinipage.C (apply, update): MinipageParams::width renamed
473 as MinipageParams::pageWidth. InsetMinipage::width renamed
474 as InsetMinipage::pageWidth.
476 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * ButtonController.h (refreshReadOnly): use explicit typename
480 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
482 * helper_funcs.h (browseFile): add default empty button descriptions.
484 * ControlGraphics.C (Browse):
485 * ControlBibtex.C (Browse):
486 * ControlInclude.C (Browse): add shortcuts to directory buttons
488 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
490 * ControlThesaurus.h:
491 * ControlThesaurus.C: update to Aiksaurus 0.14
493 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
495 * ControlSpellchecker.C (clearParams): show the closing message
496 only if some words have been checked, thereby fixing
499 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
501 * ControlFloat.[Ch]: changes to prevent here definitely being used
504 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
506 * ControlThesaurus.h: do not include <config.h> in header files
508 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
510 * ControlToc.C: changes for floatlist
512 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
514 * ControlVCLog.C: use _()
516 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
518 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
521 2001-10-22 Juergen Vigna <jug@sad.it>
523 * ControlSpellchecker.C (clearParams): use the error_ message of the
524 speller_ if available when the spellchecker died.
525 (setParams): remove double error message display.
527 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
529 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
531 * helper_funcs.[Ch] (getLatexUnits): see above.
533 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * ControlTexinfo.C (getContents): use the right file for .sty files
537 2001-10-10 Herbert Voss <voss@perce.de>
539 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
540 and some more stuff from FormTexinfo.C
542 * ControlShowFile.C: hiding the update-button
544 2001-10-09 Herbert Voss <voss@perce.de>
546 * ControlTexinfo.[Ch]: new files. Display information about the
547 installed texfiles (cls,sty,bst).
549 * ControlShowFile.[Ch]: new files. Display the contents of a file.
551 * GUI.h: added classes GUIShowFile and GUITexinfo.
553 * Makefile.am: modified appropriately.
555 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * ControlAboutlyx.C (getVersion): use lyx_version and
558 lyx_release_date instead of old macros
560 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
562 * ControlSpellchecker.C (check): Behaves well now when the spell
563 library doesn't know a replacement to an incorrect word.
565 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
567 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
568 the correct place. Can now check spelling more than once!
570 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlSplash.[Ch]: removed.
574 * GUI.h: remove GUISplash class.
576 * ViewBase.h: remove ViewSplash class.
578 * Makefile.am: remove ControlSplash.[Ch].
580 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlButtons.h: add variable emergency_exit_. If set to true, the
583 view will be shut down.
586 * ControlInset.h: act on emergency_exit_.
588 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
589 speller fails to launch.
591 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
593 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
594 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
596 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlRef.h (disconnectOnApply): new method. Set to true.
599 Perhaps make this user-modifiable?
601 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
603 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
606 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
608 * ControlRef.C (getBufferList, getBufferNum): New methods
610 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
612 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
613 of the dialog when the Apply button is pressed. Defaults to false,
614 but can be overridden in the daughter classes.
616 * ControlCitation.h (disconnectOnApply): new method. Set to true.
617 Perhaps make this user-modifiable?
619 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
621 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
622 we have dialogs that update their contents when the buffer changes.
623 Rather embarassing, really!
625 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
627 * ControlSearch (replace): change semantics of replace to NOT move on
628 to the next instance of a word once the present instance has been
629 replaced unless we are replacing ALL instances of the word.
631 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
633 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
635 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
637 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
638 dialog, set all options to "reset", close the dialog, re-open it ->
639 the options are set incorrectly.
641 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
642 When Applying it's useful to know whether the dialog is about to close
643 or not (no point refreshing the display for example).
645 * ControlInset.C (apply): use isClosing.
647 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
650 * ControlDialogs.h: remove bc() hack, now fixed in
651 Qt2 frontend. use member dialog_built_ instead of shared
654 * ButtonController.h:
655 * ButtonPolicies.C: more debug info
657 * ButtonControllerBase.C: call refresh() when setting readOnly !
659 * GUI.h: External form has apply, use the right policy
661 * character.C: fix two off-by-one errors when latex font was removed
663 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
665 * ControlInset.h (apply): tentative fix for the press Apply multiple
666 times and get multiple new Insets problem.
668 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
670 * ControlCharacter.C: fix typo
674 * ControlInsets.C: make sure dialog is built before it is shown, so
675 it works properly the very first time it is shown
677 2001-08-20 Herbert Voss <voss@perce.de>
679 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
680 and styles. Added an option for "bibliography into toc"
682 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
684 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
685 LaTeX is no longer a font property.
687 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
689 * GUI.h: Button controller for Reference dialog changed to
690 NoRepeatedApplyReadOnlyPolicy.
692 * biblio.C (getInfo): output volume and number info. Move year to end
695 2001-08-09 Allan Rae <rae@lyx.org>
697 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
699 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
701 * helper_funcs.C (getVectorFromString): fixed small bug.
703 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
705 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
707 * ControlSpellchecker.C: check next word after insert in personal dict
709 2001-08-06 Juergen Vigna <jug@sad.it>
711 * ControlERT.[Ch]: new file
713 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
715 * ControlInset.h: const and non-const forms of params().
717 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
718 whitespace from either side of each item.
720 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
722 * ControlFloat.h: add a != operator for FloatParams.
723 Lars, how did you get this to compile!!!
725 * ControlMinipage.[Ch]: uncommented someone's commenting out of
726 operator != for MinipageParams. Who's changing stuff and not compiling?
728 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
733 * GUI.h: add class GUIFloat
735 * ControlFloat.[Ch]: new files
737 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
739 * ControlPrint.C: #include Lassert.h here.
741 2001-07-26 Baruch Even <baruch@lyx.org>
743 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
746 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
748 * ControlThesaurus.h:
749 * ControlThesaurus.C:
751 * Makefile.am: thesaurus support
753 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
756 * ControlInclude.C: implement ability to load file
758 2001-07-18 Juergen Vigna <jug@sad.it>
760 * ControlSearch.C (replace): changes to lyxfind.h function calls.
762 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
764 * biblio.C (getInfo): add a .c_str() to handle the usual
767 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlCitation.[Ch]: changes associated with adding natbib support.
770 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
771 New static variable citeStyles_.
773 * biblio.[Ch]: large internal rearrangement.
774 New public enum CiteStyle.
775 New public struct CitationStyle.
776 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
777 getNumericalStrings, getAuthorYearStrings
778 (simpleSearch, regexSearch): no longer publicly accessible.
780 * helper_funcs.C (getStringFromVector): bug fix.
782 2001-07-16 Baruch Even <baruch@lyx.org>
784 * ControlVCLog.h: Added Lsstream.h to includes.
786 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
788 * ControlSpellchecker.[Ch]: remove d-tor.
790 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
792 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
794 2001-07-16 Juergen Vigna <jug@sad.it>
796 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
797 compiled with USE_PSPELL) to be able to switch between ISpell and
800 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
802 Consistent use of Lsstream.h:
803 * ControlAboutlyx.[Ch] (getCredits):
804 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
806 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
808 * ControlCredits.[Ch]: removed
809 * ControlCopyright.[Ch]: removed
810 * ControlAboutlyx.[Ch]: added (replaces previous)
811 * GUI.h: removed credits and copyright added about lyx stuff
813 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
815 * ControlSpellchecker.C (getSuggestion):
816 (getWord): add std:: qualifier
818 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
820 * ControlSpellchecker.[Ch]: added
821 * ViewBase.h: added partialUpdate(int) member
822 * GUI.h: added spell stuff
824 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
826 * ControlExternal.C: (*it). -> it->
828 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
830 * ButtonController.h: move some included header files out of the
831 frontends and into here.
833 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlCharacter.C (c-tor): cosmetic name change of signal.
837 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
839 * *.[h]: added // -*- C++ -*-
840 * *.[C]: removed // -*- C++ -*-
842 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
843 activate Apply button.
844 (clearParams): removed.
845 font_ is now stored as a boost::scoped_ptr.
846 font_ is no longer deleted on hide(), so it's contents can now be used
847 by the Font button on the toolbar.
848 Lots of new methods so that the GUI can easily get the contents of
849 font_ when it update()s.
851 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
854 crash when the Font button on the Toolbar is pressed.
856 * GUI.h: change policy of Character button controller to
857 OkApplyCancelReadOnlyPolicy.
859 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
861 * ControlToc.C (getContents): don't add anything to the list if it
862 is supposed to be empty.
864 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
866 * helper_funcs.C (getVectorFromString): bug fix.
868 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
871 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
872 from ButtonControllerBase::readOnly. Updates the state of the widgets
873 in the read-only list only when the read-only status of the document
875 (refresh): moved this stuff into refreshReadOnly.
877 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
879 * ControlPrint.C (c-tor):
880 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
882 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
885 * character.h: small clean-ups.
887 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
889 * ControlToc.C (getType): remove support for old float list.
891 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
893 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
894 * ControlGraphics.h: no longer include insetgraphicsParams.h
895 * ControlInset.h: no longer include LyXView.h
900 * ControlCharacter.C:
903 * ControlConnections.C:
904 * ControlCopyright.C:
916 * ControlTabularCreate.C:
918 * ControlVCLog.C: they're now in here!
920 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
922 * ButtonControllerBase.h: C++ mode, inherit privately from
924 * ButtonPolicies.h: ditto
926 * ButtonController.h: C++ mode, swap init order of restore_ and
929 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
931 * ControlTabularCreate.h:
932 * ControlTabularCreate.C: make dialogs use a pair of uints
936 * ControlVCLog.C: fill a stringstream with the log contents
939 * ControlExternal.C: from Angus, clone the new InsetExternal
942 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
944 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
945 and made more robust.
947 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
956 * ControlCopyright.C: include gettext.h
958 * ControlCharacter.C:
959 * character.C: include gettext.h and language.h
961 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
963 * ButtonController.h:
964 * ButtonControllerBase.h:
965 * ButtonControllerBase.C:
972 * ControlConnections.h:
978 * ViewBase.h: s/ControlButton/ControlButtons/
980 s/UndoAll/Restore/ + associated
982 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlToc.[Ch]: new files; a controller for the TOC popup.
987 * Makefile.am: associated changes with all of the above.
989 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
991 * ControlExternal.C: bug fixes. Can now apply changes to the inset
992 and edit, view, update the External Material correctly. I hope!
994 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
996 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
998 * BCTemplates.h: renamed as ButtonController.h
1000 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1003 * ControlConnections.h: associated change in #include and class names.
1005 * ControlExternal.[Ch]: new files; a controller for the External
1009 * Makefile.am: associated changes with all of the above.
1011 * ControlGraphics.[Ch]:
1012 * ControlInclude.[Ch]:
1013 * ControlPrint.[Ch]:
1015 (Browse): new method. Returns the results of a FileDialog browse.
1017 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1018 (getVectorFromString): fixed bug.
1020 * biblio.C (simpleSearch): cleaned up.
1022 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1024 * A slight reworking of Baruch Even's ButtonController patch.
1026 * BCTemplates.h: new file; all the templates for the ButtonController.
1027 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1028 to the more generic setButtonLabel().
1030 * ButtonController.[Ch]: renamed cancel_label and close_label as
1031 cancel_label_ and close_label_.
1033 * Makefile.am: added BCTemplates.h
1035 2001-03-29 Juergen Vigna <jug@sad.it>
1037 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1038 to use new %-lengths of LyXLength.
1040 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1042 * ControlCitation.C (bibkeysInfo): removed Assert.
1044 * ControlCopyright.h: moved GUICopyright into GUI.h
1048 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1050 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1051 (setDaughterParams): a (by default empty) new method called in show().
1057 * ControlMinipage.h:
1060 * ControlUrl.h (clearDaughterParams): removed
1062 * ControlMinipage.C (applyParamsToInset): update the view.
1063 Added namespace minipage containing a helper function getUnits.
1065 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1067 * ControlCharacter.[Ch]: moved out all the helper functions and the
1068 enum into their own file.
1069 * character.[Ch]: new files; contain the character helper functions,
1070 now inside namespace character.
1072 * ControlCitation.[Ch]: moved out all the helper functions and the
1073 enums into their own file. Simplified interface.
1074 * biblio.[Ch]: new files; contain the citation helper functions,
1075 now inside namespace biblio. Will be of use also to an improved
1078 * ControlGraphics.[Ch]:
1079 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1080 popups, respectively.
1083 * Makefile.am: associated changes.
1085 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ControlMinipage.[Ch]:
1088 * ControlPreamble.[Ch]:
1089 * ControlPrint.[Ch]:
1090 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1091 and Print popups and Splash screen, respectively.
1093 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1097 * Makefile.am: associated changes.
1099 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ControlConnections.[Ch]: (docType): new method; returns the type
1102 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1105 * ControlSearch.[Ch]:
1106 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1107 Search and TabularCreate popups, respectively.
1110 * Makefile.am: associated changes.
1112 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1114 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1117 * ControlInset.h (apply): fix bug. Can now create new insets again.
1119 * README: describe program flow.
1121 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1123 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1125 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1127 * ControlDialogs.h: moved class ControlInset into its own file.
1129 * ControlInset.h: new file. class ControlInset has been expanded to take
1130 two template parameters, Inset and Params. Believe that all inset
1131 controllers can be derived from this with the minimum of effort.
1133 * ControlBibitem.[Ch]:
1134 * ControlBibtex.[Ch]:
1135 * ControlCitation.[Ch]:
1136 * ControlCommand.[Ch]: moved most code into ControlInset.
1138 * lots of files. Moved protected stuff into private where possible.
1140 * ControlError.[Ch]:
1141 * ControlInclude.[Ch]:
1142 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1143 Include and Url popups, respectively.
1146 * Makefile.am: associated changes.
1148 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1150 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1153 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1155 * ControlCredits.C (getCredits): remove std:: qualifier for
1158 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1160 * ControlCredits.C (getCredits): add std:: on vector
1162 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1164 * ControlCredits.C: remove using that is only used once, use
1165 std::ios instead of std::iosbase, add some annoying comments.
1167 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1169 * lots of header files: improved explanatory notes.
1171 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1172 ControlBase is now a class that only controls the interaction of the
1173 View with the ButtonController.
1175 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1176 to ControlConnectBase. The class controls the connection/disconnection
1177 of signals from the LyX kernel and makes available the kernel (through
1178 lv_) to daughter controller classes.
1179 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1181 * ControlDialogs.h: new file. Contains the definition of two template
1182 controller classes, ControlDialog and ControlInset (was
1183 ControlConnectInset). ControlInset is a parent class for controllers
1184 of inset-popups. ControlDialogs is the rather uninspired name for
1185 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1186 ControlDialogs is reaching a state of maturity as several popups now use
1187 it and its functionality becomes clear. ControlInset is still in a state
1188 of flux. It is likely that functionality will be moved out of
1189 ControlCommands and into it.
1191 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1192 individual Controller header files and into one place. These classes
1193 serve only as convenient wrappers to simplify code in the respective
1194 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1196 * ControlCharacter.[Ch] (show, update, hide):
1197 * ControlLog.[Ch] (show, update, hide):
1198 * ControlVCLog.[Ch] (show, update, hide): moved back into
1199 the ControlDialogs base class.
1200 (setParams, clearParams): new methods containing controller-specific
1201 code to set/reset the parameters manipulated by the view.
1203 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1205 (hide): calls clearParams.
1207 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1208 by ControlCommand::hide().
1210 * ControlCopyright.[Ch]:
1211 * ControlCredits.[Ch]: new files; controllers for the copyright and
1212 credits popups, respectively.
1214 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1216 * ControlCharacter.C: fix typo
1218 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1220 * ControlCharacter.[Ch]: new files; controller for the character popup.
1222 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1223 moved to new files helper_funcs.[Ch].
1225 * helper_funcs.[Ch]: new files. Some useful helper functions and
1228 * Makefile.am: added new files.
1230 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1232 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1234 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1237 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1238 Control log files, respectively.
1240 * Makefile.am: added new files.
1242 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1244 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1246 * Makefile.am: added ControlBibtex.[Ch].
1248 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1251 * ControlCitation.C: added "using SigC::slot" declaration.
1253 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1254 to FormCitation.C prior to the merger: "Do not put space between
1257 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1259 * several files: remove CXX_WORKING_NAMESPACES
1261 * ButtonController.h: noncopyable is in namespace boost
1262 * ButtonPolicies.h: ditto
1264 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1266 * Merging changes from BRANCH_MVC back into HEAD.
1268 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1270 * Makefile.am: add ControlBibitem.[Ch].
1272 * ControlBibitem.[Ch]: new files that together define the Controller
1273 for a Bibitem popup.
1275 * ControlCommand.h (c-tor): give kb_action a default value of
1278 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1280 * ControlCitation.[Ch]: moved search functions out of class.
1281 (bibkeysInfo): new method. Returns const reference to private data.
1282 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1285 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1287 * ControlCitation.[Ch]: added Search functions to the class,
1288 (shamelessly lifted from Marco's gnome code). I think that these would
1289 be better as helper functions outside the class, but this is a first
1292 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1294 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1296 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1297 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1298 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1299 implementation of FormCitation.
1301 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1303 * ButtonPolicies.h: add SMI_NOOP to enum.
1305 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1307 * ButtonController.C (input): add "optimising" if-statement. Actually,
1308 things don't work correctly without it...
1310 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1312 * ViewBase.h: remove #pragma directive
1314 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1317 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1319 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1321 * Makefile.am: added ButtonPolicies.[Ch]
1323 * ButtonController.[Ch]: ButtonController is split into
1324 ButtonControllerBase and a template ButtonController class. The base
1325 class no longer stores a pointer to a ButtonPolicy, but instead
1326 accesses the actual instantiation of the policy through a pure virtual
1327 method bp(). This method and the ButtonPolicy itself are instantiated
1328 in the templatised ButtonController class. This class is derived from
1329 the GUI-specific GUIBC class, meaning that the frontends know
1330 nothing about the actual policy decided upon by the controllers.
1332 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1333 Instead the actual instantiations are accessed through pure virtual
1334 methods view() and bc(). The daughter classes are responsible for the
1335 actual View and ButtonController.
1337 * ControlCitation.h: the templatised class GUICitation instantiates
1338 the methods view() and bc(). It also stores the instances of the
1339 View and ButtonController.
1341 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1343 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1344 also changed to ButtonController.
1347 * ControlConnections.[Ch]:
1348 * ControlCommand.[Ch]:
1349 * ControlCitation.[Ch]:
1350 * ViewBase.h: Changes associated with this.
1352 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1354 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1355 xforms/ButtonController class into a GUI-I class (here) and an
1356 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1358 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1359 from which all Dialog Controllers should be derived. the Controllers
1360 are GUI-independent, but are designed to control the behaviour of
1361 GUI-specific implementaions of each dialog.
1363 * ControlConnections.[Ch]: new files. Classes controlling the
1364 connections of buffer-independent, buffer-dependent and Inset dialogs
1365 with the LyX kernel.
1367 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1368 InsetCommand subset of insets.
1370 * ControlCitation.[Ch]: new files. The test specialisation! A
1371 controller for the Citation dialog.
1373 * ViewBase.h: new file. ViewBase is an abstract base class from which
1374 GUI-specific dialogs should be derived. The functionality that the GUIs
1375 must now implement is much reduced.