1 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3 * ControlTexinfo.C: do the same for Texinfo
5 * tex_helpers.C: don't try to read a file that isn't there
7 2002-06-21 Herbert Voss <voss@perce.de>
9 * ControlBibtex.C: do an automatic update, when no bst-list
12 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
14 * GUI.h: createIndex() changed
16 2002-06-18 Herbert Voss <voss@perce.de>
18 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
19 helperstuff. Now the bibtex gui can use some of these functions
21 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
23 * ControlGraphics.C: just make the mask *.*
25 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
27 * changes to simplify function setup, removal of a lot of includes.
29 2002-06-12 Angus Leeming <leeming@lyx.org>
31 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
33 2002-06-12 Angus Leeming <leeming@lyx.org>
35 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
37 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
39 * ControlParagraph.[Ch]: new paragraph controller
40 * GUI.h: add new controller
43 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * GUI.h: do not include ButtonController.tmpl
47 * ControlInset.h: include ControlInset.tmpl
49 * ControlCitation.C: do not include ControlInset.tmpl
50 * ControlCommand.C: ditto
52 * ControlError.C: ditto
53 * ControlExternal.C: ditto
54 * ControlFloat.C: ditto
55 * ControlGraphics.C: ditto
56 * ControlInclude.C: ditto
57 * ControlMinipage.C: ditto
59 * ControlDialog.tmpl: remove the Base:: prefix
61 2002-06-07 Angus Leeming <leeming@lyx.org>
63 Fixes needed to compile with Compaq cxx 6.5.
64 * ControlDialog.tmpl: I have had to prefix base class methods with
67 * ControlInset.tmpl: #include a couple of headers.
69 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
71 * switch from SigC signals to boost::signals
73 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * biblio.h: include vector
77 * biblio.C: change include order
78 (regexSearch): use boost regex and get rid of LRegex
80 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
88 * ControlConnections.C:
105 * ControlSpellchecker.C:
106 * ControlTabularCreate.C:
108 * ControlThesaurus.C:
111 * ControlVCLog.C: LyXView moved into frontends
113 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * ControlExternal.C: add scoped_ptr.hpp
117 * ControlCharacter.h: use more specific smart_ptr header.
119 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
121 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
123 2002-05-13 Herbert Voss <voss@perce.de>
125 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
126 like "Odland, G. and ... "
127 (parseBibTeX): fix bug with title and booktitle
128 and replace a \n with a space when one entry has more than
131 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
133 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
134 "No change" and "Reset".
136 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
137 them at the front of the list.
139 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlGraphics.C: add some comments to the char * arrays.
142 Make rorigin_size const.
144 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
146 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
147 Enables the gui's to internationalise these strings.
149 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
151 * frnt_lang.C: fix build
153 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
155 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
156 If the the caller is the character dialog, add "No change" and "Reset"
157 to the vector, else don't.
158 Internationalise the GUI strings here rather than in the different
160 Sort the translated strings, albeit simply.
162 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
164 * character.[Ch]: rename namespace character as namespace frnt.
166 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
167 as several dialogs will use this info. The function now returns a
168 vector<LanguagePair> where LanguagePair is a display string and an
169 identifying string. The display string is internationalised.
171 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
172 the identifying strings, "No change" and "Reset".
174 * Makefile.am: add frnt_lang.[Ch].
176 2002-04-25 Herbert Voss <voss@lyx.org>
178 * ControlSendto.C (allFormats): don't add the graphics extensions to the
181 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
183 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
184 BibTeX databases in a WYSIWYM way.
186 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
188 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
189 way past his use-by date.
190 Make use of the improved info from Buffer::getBibkeyList when using
191 \bibliography. Enables us to provide natbib support in this case too.
193 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
195 * ControlGraphics.C: pass the browseFile dialog a string of only those
196 formats that can currently be loaded by LyX.
198 2002-04-15 Herbert Voss <voss@perce.de>
200 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
201 with something like ,,...blah...`` (two commas)
203 2002-04-14 Herbert Voss <voss@perce.de>
205 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
206 into the support/lstrings for better use in other programs.
208 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
209 namespace anon and make globally accessible.
210 (familyName): test for the presence of a LaTeX Space at the front of
211 of a name; strip it if it exists.
213 2002-04-11 Herbert Voss <voss@perce.de>
215 * ControlGraphics.C: expand "browse-string" to all available formats
217 2002-04-11 Herbert Voss <voss@perce.de>
219 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
221 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
223 * ControlAboutlyx.C (getVersion): two _() forgotten
225 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
229 * ControlBibtex.C: make N_() be _()
231 2002-04-07 Herbert Voss <voss@perce.de>
233 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
235 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
238 used when reading the BB.
240 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
242 * ControlGraphics.C (readBB): Don't open the ifstrem and then
243 check the format from the contents (and open a second ifstream in the
244 process. One at a time please.
246 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
248 * ControlRef.C (getBufferNum): squash warning message.
250 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
252 * ControlBibtex.C (Browse):
253 * ControlGraphics.C (Browse):
254 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
256 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
258 * ControlGraphics.C (applyParamsToInset): pass filepath to
259 InsetGraphics::updateInset.
261 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
263 * most files: ws cleanup
265 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
267 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
270 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
273 * ControlInclude.C: better error messages
275 2002-03-11 Herbert Voss <voss@lyx.org>
277 * biblio.C (parseBibTeX): fix another minibug with an
280 2002-03-10 Herbert Voss <voss@lyx.org>
282 * biblio.C (parseBibTeX): fix bug
283 (familyName): improve parsing
285 2002-03-09 Herbert Voss <voss@lyx.org>
287 * ControlGraphics.[Ch]: adding checkFilename() for testing
288 of non-existing files
290 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
292 * ControlSendto.C (allFormats): fix a iterators are not pointers
295 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
297 * ControlShowFile.h: add a #include "LString.h"
299 2002-03-05 Herbert Voss <voss@lyx.org>
301 * biblio.C (getInfo): simplify if using paragraph layout
304 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
306 * biblio.C (getInfo): return the info field correctly if the key
308 (parseBibTeX): fix crash when data.find('=') returns string::npos.
310 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
312 * ControlForks.[Ch]: new files. A controller for the Forked Child
313 processes dialog, enabling the user to see what forked processes
314 are running, and, if he so desires, to kill them.
316 * GUI.h: add class GUIForks.
318 * Makefile.am: add ControlForks.[Ch].
320 * ControlGraphics.C (getParams): small change due to change in
323 2002-02-21 Herbert Voss <voss@lyx.org>
325 * biblio.C: fix bug with commentlines in a bibentry
327 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * Makefile.am: simpler obj. file compile
331 2002-02-18 Herbert Voss <voss@lyx.org>
333 * ControlGraphics.[Ch]: remove help-file call
335 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
337 * helper_funcs.h: wrap the structs firster and seconder up in a
338 namespace to avoid clashes with those in lyxalgo,h.
340 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
341 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
343 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
348 change Systemcalls::System to Systemcalls::Wait and
349 No change of functionality, just reflects the stripped down Systemcalls
352 2002-02-06 Herbert Voss <voss@lyx.org>
354 * ControlGraphics.[C] (readBB): search also in
355 g'zipped files. If it is useful than PK and compress
356 should also be supported. use unzipFile() from
359 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
361 * ControlRef.C (getBufferName): new method to get a real buffer
364 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
366 * ControlTexInfo.[Ch]: Removed Help functions.
368 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
370 * ControlSpellchecker.C: clear any selection left
373 2002-02-01 Herbert Voss <voss@lyx.org>
375 * ControlGraphics.[C] (readBB): search only, if it is a
376 ".?ps" file and look for bb's at end of file
378 2002-01-30 Herbert Voss <voss@lyx.org>
380 * ControlGraphic.[C]: do not search the whole file, when
383 2002-01-29 Herbert Voss <voss@lyx.org>
385 * ControlGraphic.[C]: added a button for document path
386 when browsing -> bug 222
388 2002-01-27 Herbert Voss <voss@lyx.org>
390 * ControlGraphic.[Ch]: added support for Bounding Box, other
393 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
396 * ControlTexinfo.h: added #include "LString.h" where they belong.
398 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
401 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
403 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
405 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
408 2002-01-20 Herbert Voss <voss@perce.de>
410 * ControlInclude.[Ch]: better control of unexistings files
411 when entered without the browser
413 * ControlGraphic.C (Browse): add extension "ps" when browsing for
416 2002-01-19 Herbert Voss <voss@perce.de>
418 * biblio.C (getInfo): fix bug when no author is given
420 * biblio.C (parseBibTeX): change the parsing, so that
421 '#'-characters in a bibtex entry are no more a problem.
423 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
425 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
426 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
428 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
430 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
432 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
434 * ControlExternal.C (Browse): add a std:: qualifier
436 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
438 * ControlExternal.C (Browse): simplify to use browseRelFile
440 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
442 * ButtonController.tmpl: added // -*- C++ -*-
444 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
445 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
446 Needed in _one_ of the ControlCommand-derived classes only.
448 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
451 * ControlSearch.h: #include LString.h
453 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
455 * ButtonController.h: split into two. The definition remains in
456 ButtonController.h, the declaration is now in ButtonController.tmpl.
457 These template methods should be #included when the derived class is
458 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
459 and in the qt2 and gnome equivalents.
461 * ControlDialogs.h: removed. The definition of class ControlDialog is
462 now to be found in ControlDialog.h and the declaration of the methods
463 is in ControlDialog.tmpl. The two template instantiations are performed
464 in ControlDialog_impl.[Ch], new files also.
466 * ControlInset.h: split into two. The definition remains in
467 ControlInset.h, the declaration is now in ControlInset.tmpl.
468 These template methods should be #included derived class is
469 instantiated, in this case in 8 other .C files in this directory.
471 * ControlAboutlyx.[Ch]:
472 * ControlCharacter.[Ch]:
482 * ControlPreamble.[Ch]:
484 * ControlSearch.[Ch]:
485 * ControlShowFile.[Ch]:
486 * ControlSpellchecker.[Ch]:
487 * ControlTabularCreate.[Ch]:
488 * ControlTexinfo.[Ch]:
489 * ControlThesaurus.[Ch]:
490 * ControlVCLog.[Ch]: small changes associated with the above ones.
492 * GUI.h: #include the ButtonController and dialog controller files
493 here, rather than forward declare them. This is the correct place
496 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
497 Rename ControlDialogs.h as ControlDialog.h.
498 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
501 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
503 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
505 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
507 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
510 * ControlGraphics.C (Browse): remove overzealous shortcut
512 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
514 * FormMinipage.C (apply, update): MinipageParams::width renamed
515 as MinipageParams::pageWidth. InsetMinipage::width renamed
516 as InsetMinipage::pageWidth.
518 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
520 * ButtonController.h (refreshReadOnly): use explicit typename
522 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
524 * helper_funcs.h (browseFile): add default empty button descriptions.
526 * ControlGraphics.C (Browse):
527 * ControlBibtex.C (Browse):
528 * ControlInclude.C (Browse): add shortcuts to directory buttons
530 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
532 * ControlThesaurus.h:
533 * ControlThesaurus.C: update to Aiksaurus 0.14
535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
537 * ControlSpellchecker.C (clearParams): show the closing message
538 only if some words have been checked, thereby fixing
541 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
543 * ControlFloat.[Ch]: changes to prevent here definitely being used
546 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
548 * ControlThesaurus.h: do not include <config.h> in header files
550 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
552 * ControlToc.C: changes for floatlist
554 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
556 * ControlVCLog.C: use _()
558 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
563 2001-10-22 Juergen Vigna <jug@sad.it>
565 * ControlSpellchecker.C (clearParams): use the error_ message of the
566 speller_ if available when the spellchecker died.
567 (setParams): remove double error message display.
569 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
571 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
573 * helper_funcs.[Ch] (getLatexUnits): see above.
575 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * ControlTexinfo.C (getContents): use the right file for .sty files
579 2001-10-10 Herbert Voss <voss@perce.de>
581 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
582 and some more stuff from FormTexinfo.C
584 * ControlShowFile.C: hiding the update-button
586 2001-10-09 Herbert Voss <voss@perce.de>
588 * ControlTexinfo.[Ch]: new files. Display information about the
589 installed texfiles (cls,sty,bst).
591 * ControlShowFile.[Ch]: new files. Display the contents of a file.
593 * GUI.h: added classes GUIShowFile and GUITexinfo.
595 * Makefile.am: modified appropriately.
597 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
599 * ControlAboutlyx.C (getVersion): use lyx_version and
600 lyx_release_date instead of old macros
602 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
604 * ControlSpellchecker.C (check): Behaves well now when the spell
605 library doesn't know a replacement to an incorrect word.
607 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
610 the correct place. Can now check spelling more than once!
612 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
614 * ControlSplash.[Ch]: removed.
616 * GUI.h: remove GUISplash class.
618 * ViewBase.h: remove ViewSplash class.
620 * Makefile.am: remove ControlSplash.[Ch].
622 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
624 * ControlButtons.h: add variable emergency_exit_. If set to true, the
625 view will be shut down.
628 * ControlInset.h: act on emergency_exit_.
630 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
631 speller fails to launch.
633 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
635 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
636 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
638 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
640 * ControlRef.h (disconnectOnApply): new method. Set to true.
641 Perhaps make this user-modifiable?
643 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
645 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
648 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
650 * ControlRef.C (getBufferList, getBufferNum): New methods
652 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
654 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
655 of the dialog when the Apply button is pressed. Defaults to false,
656 but can be overridden in the daughter classes.
658 * ControlCitation.h (disconnectOnApply): new method. Set to true.
659 Perhaps make this user-modifiable?
661 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
663 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
664 we have dialogs that update their contents when the buffer changes.
665 Rather embarassing, really!
667 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
669 * ControlSearch (replace): change semantics of replace to NOT move on
670 to the next instance of a word once the present instance has been
671 replaced unless we are replacing ALL instances of the word.
673 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
675 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
677 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
679 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
680 dialog, set all options to "reset", close the dialog, re-open it ->
681 the options are set incorrectly.
683 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
684 When Applying it's useful to know whether the dialog is about to close
685 or not (no point refreshing the display for example).
687 * ControlInset.C (apply): use isClosing.
689 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
692 * ControlDialogs.h: remove bc() hack, now fixed in
693 Qt2 frontend. use member dialog_built_ instead of shared
696 * ButtonController.h:
697 * ButtonPolicies.C: more debug info
699 * ButtonControllerBase.C: call refresh() when setting readOnly !
701 * GUI.h: External form has apply, use the right policy
703 * character.C: fix two off-by-one errors when latex font was removed
705 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
707 * ControlInset.h (apply): tentative fix for the press Apply multiple
708 times and get multiple new Insets problem.
710 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
712 * ControlCharacter.C: fix typo
716 * ControlInsets.C: make sure dialog is built before it is shown, so
717 it works properly the very first time it is shown
719 2001-08-20 Herbert Voss <voss@perce.de>
721 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
722 and styles. Added an option for "bibliography into toc"
724 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
726 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
727 LaTeX is no longer a font property.
729 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
731 * GUI.h: Button controller for Reference dialog changed to
732 NoRepeatedApplyReadOnlyPolicy.
734 * biblio.C (getInfo): output volume and number info. Move year to end
737 2001-08-09 Allan Rae <rae@lyx.org>
739 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
741 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
743 * helper_funcs.C (getVectorFromString): fixed small bug.
745 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
747 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
749 * ControlSpellchecker.C: check next word after insert in personal dict
751 2001-08-06 Juergen Vigna <jug@sad.it>
753 * ControlERT.[Ch]: new file
755 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
757 * ControlInset.h: const and non-const forms of params().
759 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
760 whitespace from either side of each item.
762 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
764 * ControlFloat.h: add a != operator for FloatParams.
765 Lars, how did you get this to compile!!!
767 * ControlMinipage.[Ch]: uncommented someone's commenting out of
768 operator != for MinipageParams. Who's changing stuff and not compiling?
770 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
772 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
775 * GUI.h: add class GUIFloat
777 * ControlFloat.[Ch]: new files
779 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
781 * ControlPrint.C: #include Lassert.h here.
783 2001-07-26 Baruch Even <baruch@lyx.org>
785 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
788 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
790 * ControlThesaurus.h:
791 * ControlThesaurus.C:
793 * Makefile.am: thesaurus support
795 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
798 * ControlInclude.C: implement ability to load file
800 2001-07-18 Juergen Vigna <jug@sad.it>
802 * ControlSearch.C (replace): changes to lyxfind.h function calls.
804 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
806 * biblio.C (getInfo): add a .c_str() to handle the usual
809 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
811 * ControlCitation.[Ch]: changes associated with adding natbib support.
812 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
813 New static variable citeStyles_.
815 * biblio.[Ch]: large internal rearrangement.
816 New public enum CiteStyle.
817 New public struct CitationStyle.
818 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
819 getNumericalStrings, getAuthorYearStrings
820 (simpleSearch, regexSearch): no longer publicly accessible.
822 * helper_funcs.C (getStringFromVector): bug fix.
824 2001-07-16 Baruch Even <baruch@lyx.org>
826 * ControlVCLog.h: Added Lsstream.h to includes.
828 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
830 * ControlSpellchecker.[Ch]: remove d-tor.
832 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
834 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
836 2001-07-16 Juergen Vigna <jug@sad.it>
838 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
839 compiled with USE_PSPELL) to be able to switch between ISpell and
842 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
844 Consistent use of Lsstream.h:
845 * ControlAboutlyx.[Ch] (getCredits):
846 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
848 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
850 * ControlCredits.[Ch]: removed
851 * ControlCopyright.[Ch]: removed
852 * ControlAboutlyx.[Ch]: added (replaces previous)
853 * GUI.h: removed credits and copyright added about lyx stuff
855 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
857 * ControlSpellchecker.C (getSuggestion):
858 (getWord): add std:: qualifier
860 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
862 * ControlSpellchecker.[Ch]: added
863 * ViewBase.h: added partialUpdate(int) member
864 * GUI.h: added spell stuff
866 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
868 * ControlExternal.C: (*it). -> it->
870 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
872 * ButtonController.h: move some included header files out of the
873 frontends and into here.
875 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
877 * ControlCharacter.C (c-tor): cosmetic name change of signal.
879 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
881 * *.[h]: added // -*- C++ -*-
882 * *.[C]: removed // -*- C++ -*-
884 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
885 activate Apply button.
886 (clearParams): removed.
887 font_ is now stored as a boost::scoped_ptr.
888 font_ is no longer deleted on hide(), so it's contents can now be used
889 by the Font button on the toolbar.
890 Lots of new methods so that the GUI can easily get the contents of
891 font_ when it update()s.
893 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
896 crash when the Font button on the Toolbar is pressed.
898 * GUI.h: change policy of Character button controller to
899 OkApplyCancelReadOnlyPolicy.
901 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
903 * ControlToc.C (getContents): don't add anything to the list if it
904 is supposed to be empty.
906 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
908 * helper_funcs.C (getVectorFromString): bug fix.
910 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
913 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
914 from ButtonControllerBase::readOnly. Updates the state of the widgets
915 in the read-only list only when the read-only status of the document
917 (refresh): moved this stuff into refreshReadOnly.
919 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
921 * ControlPrint.C (c-tor):
922 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
924 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
927 * character.h: small clean-ups.
929 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
931 * ControlToc.C (getType): remove support for old float list.
933 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
935 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
936 * ControlGraphics.h: no longer include insetgraphicsParams.h
937 * ControlInset.h: no longer include LyXView.h
942 * ControlCharacter.C:
945 * ControlConnections.C:
946 * ControlCopyright.C:
958 * ControlTabularCreate.C:
960 * ControlVCLog.C: they're now in here!
962 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
964 * ButtonControllerBase.h: C++ mode, inherit privately from
966 * ButtonPolicies.h: ditto
968 * ButtonController.h: C++ mode, swap init order of restore_ and
971 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
973 * ControlTabularCreate.h:
974 * ControlTabularCreate.C: make dialogs use a pair of uints
978 * ControlVCLog.C: fill a stringstream with the log contents
981 * ControlExternal.C: from Angus, clone the new InsetExternal
984 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
986 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
987 and made more robust.
989 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
998 * ControlCopyright.C: include gettext.h
1000 * ControlCharacter.C:
1001 * character.C: include gettext.h and language.h
1003 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1005 * ButtonController.h:
1006 * ButtonControllerBase.h:
1007 * ButtonControllerBase.C:
1014 * ControlConnections.h:
1017 * ControlExternal.C:
1020 * ViewBase.h: s/ControlButton/ControlButtons/
1022 s/UndoAll/Restore/ + associated
1024 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1029 * Makefile.am: associated changes with all of the above.
1031 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1033 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1034 and edit, view, update the External Material correctly. I hope!
1036 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1038 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1040 * BCTemplates.h: renamed as ButtonController.h
1042 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1045 * ControlConnections.h: associated change in #include and class names.
1047 * ControlExternal.[Ch]: new files; a controller for the External
1051 * Makefile.am: associated changes with all of the above.
1053 * ControlGraphics.[Ch]:
1054 * ControlInclude.[Ch]:
1055 * ControlPrint.[Ch]:
1057 (Browse): new method. Returns the results of a FileDialog browse.
1059 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1060 (getVectorFromString): fixed bug.
1062 * biblio.C (simpleSearch): cleaned up.
1064 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1066 * A slight reworking of Baruch Even's ButtonController patch.
1068 * BCTemplates.h: new file; all the templates for the ButtonController.
1069 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1070 to the more generic setButtonLabel().
1072 * ButtonController.[Ch]: renamed cancel_label and close_label as
1073 cancel_label_ and close_label_.
1075 * Makefile.am: added BCTemplates.h
1077 2001-03-29 Juergen Vigna <jug@sad.it>
1079 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1080 to use new %-lengths of LyXLength.
1082 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1084 * ControlCitation.C (bibkeysInfo): removed Assert.
1086 * ControlCopyright.h: moved GUICopyright into GUI.h
1090 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1092 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1093 (setDaughterParams): a (by default empty) new method called in show().
1099 * ControlMinipage.h:
1102 * ControlUrl.h (clearDaughterParams): removed
1104 * ControlMinipage.C (applyParamsToInset): update the view.
1105 Added namespace minipage containing a helper function getUnits.
1107 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1109 * ControlCharacter.[Ch]: moved out all the helper functions and the
1110 enum into their own file.
1111 * character.[Ch]: new files; contain the character helper functions,
1112 now inside namespace character.
1114 * ControlCitation.[Ch]: moved out all the helper functions and the
1115 enums into their own file. Simplified interface.
1116 * biblio.[Ch]: new files; contain the citation helper functions,
1117 now inside namespace biblio. Will be of use also to an improved
1120 * ControlGraphics.[Ch]:
1121 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1122 popups, respectively.
1125 * Makefile.am: associated changes.
1127 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1129 * ControlMinipage.[Ch]:
1130 * ControlPreamble.[Ch]:
1131 * ControlPrint.[Ch]:
1132 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1133 and Print popups and Splash screen, respectively.
1135 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1139 * Makefile.am: associated changes.
1141 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1143 * ControlConnections.[Ch]: (docType): new method; returns the type
1144 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1147 * ControlSearch.[Ch]:
1148 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1149 Search and TabularCreate popups, respectively.
1152 * Makefile.am: associated changes.
1154 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1159 * ControlInset.h (apply): fix bug. Can now create new insets again.
1161 * README: describe program flow.
1163 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1165 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1167 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1169 * ControlDialogs.h: moved class ControlInset into its own file.
1171 * ControlInset.h: new file. class ControlInset has been expanded to take
1172 two template parameters, Inset and Params. Believe that all inset
1173 controllers can be derived from this with the minimum of effort.
1175 * ControlBibitem.[Ch]:
1176 * ControlBibtex.[Ch]:
1177 * ControlCitation.[Ch]:
1178 * ControlCommand.[Ch]: moved most code into ControlInset.
1180 * lots of files. Moved protected stuff into private where possible.
1182 * ControlError.[Ch]:
1183 * ControlInclude.[Ch]:
1184 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1185 Include and Url popups, respectively.
1188 * Makefile.am: associated changes.
1190 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1192 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1195 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1197 * ControlCredits.C (getCredits): remove std:: qualifier for
1200 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1202 * ControlCredits.C (getCredits): add std:: on vector
1204 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1206 * ControlCredits.C: remove using that is only used once, use
1207 std::ios instead of std::iosbase, add some annoying comments.
1209 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1211 * lots of header files: improved explanatory notes.
1213 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1214 ControlBase is now a class that only controls the interaction of the
1215 View with the ButtonController.
1217 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1218 to ControlConnectBase. The class controls the connection/disconnection
1219 of signals from the LyX kernel and makes available the kernel (through
1220 lv_) to daughter controller classes.
1221 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1223 * ControlDialogs.h: new file. Contains the definition of two template
1224 controller classes, ControlDialog and ControlInset (was
1225 ControlConnectInset). ControlInset is a parent class for controllers
1226 of inset-popups. ControlDialogs is the rather uninspired name for
1227 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1228 ControlDialogs is reaching a state of maturity as several popups now use
1229 it and its functionality becomes clear. ControlInset is still in a state
1230 of flux. It is likely that functionality will be moved out of
1231 ControlCommands and into it.
1233 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1234 individual Controller header files and into one place. These classes
1235 serve only as convenient wrappers to simplify code in the respective
1236 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1238 * ControlCharacter.[Ch] (show, update, hide):
1239 * ControlLog.[Ch] (show, update, hide):
1240 * ControlVCLog.[Ch] (show, update, hide): moved back into
1241 the ControlDialogs base class.
1242 (setParams, clearParams): new methods containing controller-specific
1243 code to set/reset the parameters manipulated by the view.
1245 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1247 (hide): calls clearParams.
1249 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1250 by ControlCommand::hide().
1252 * ControlCopyright.[Ch]:
1253 * ControlCredits.[Ch]: new files; controllers for the copyright and
1254 credits popups, respectively.
1256 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1258 * ControlCharacter.C: fix typo
1260 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1262 * ControlCharacter.[Ch]: new files; controller for the character popup.
1264 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1265 moved to new files helper_funcs.[Ch].
1267 * helper_funcs.[Ch]: new files. Some useful helper functions and
1270 * Makefile.am: added new files.
1272 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1274 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1276 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1279 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1280 Control log files, respectively.
1282 * Makefile.am: added new files.
1284 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1286 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1288 * Makefile.am: added ControlBibtex.[Ch].
1290 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ControlCitation.C: added "using SigC::slot" declaration.
1295 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1296 to FormCitation.C prior to the merger: "Do not put space between
1299 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1301 * several files: remove CXX_WORKING_NAMESPACES
1303 * ButtonController.h: noncopyable is in namespace boost
1304 * ButtonPolicies.h: ditto
1306 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1308 * Merging changes from BRANCH_MVC back into HEAD.
1310 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1312 * Makefile.am: add ControlBibitem.[Ch].
1314 * ControlBibitem.[Ch]: new files that together define the Controller
1315 for a Bibitem popup.
1317 * ControlCommand.h (c-tor): give kb_action a default value of
1320 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1322 * ControlCitation.[Ch]: moved search functions out of class.
1323 (bibkeysInfo): new method. Returns const reference to private data.
1324 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1327 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1329 * ControlCitation.[Ch]: added Search functions to the class,
1330 (shamelessly lifted from Marco's gnome code). I think that these would
1331 be better as helper functions outside the class, but this is a first
1334 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1336 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1338 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1339 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1340 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1341 implementation of FormCitation.
1343 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1345 * ButtonPolicies.h: add SMI_NOOP to enum.
1347 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1349 * ButtonController.C (input): add "optimising" if-statement. Actually,
1350 things don't work correctly without it...
1352 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1354 * ViewBase.h: remove #pragma directive
1356 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1359 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1363 * Makefile.am: added ButtonPolicies.[Ch]
1365 * ButtonController.[Ch]: ButtonController is split into
1366 ButtonControllerBase and a template ButtonController class. The base
1367 class no longer stores a pointer to a ButtonPolicy, but instead
1368 accesses the actual instantiation of the policy through a pure virtual
1369 method bp(). This method and the ButtonPolicy itself are instantiated
1370 in the templatised ButtonController class. This class is derived from
1371 the GUI-specific GUIBC class, meaning that the frontends know
1372 nothing about the actual policy decided upon by the controllers.
1374 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1375 Instead the actual instantiations are accessed through pure virtual
1376 methods view() and bc(). The daughter classes are responsible for the
1377 actual View and ButtonController.
1379 * ControlCitation.h: the templatised class GUICitation instantiates
1380 the methods view() and bc(). It also stores the instances of the
1381 View and ButtonController.
1383 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1385 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1386 also changed to ButtonController.
1389 * ControlConnections.[Ch]:
1390 * ControlCommand.[Ch]:
1391 * ControlCitation.[Ch]:
1392 * ViewBase.h: Changes associated with this.
1394 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1396 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1397 xforms/ButtonController class into a GUI-I class (here) and an
1398 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1400 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1401 from which all Dialog Controllers should be derived. the Controllers
1402 are GUI-independent, but are designed to control the behaviour of
1403 GUI-specific implementaions of each dialog.
1405 * ControlConnections.[Ch]: new files. Classes controlling the
1406 connections of buffer-independent, buffer-dependent and Inset dialogs
1407 with the LyX kernel.
1409 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1410 InsetCommand subset of insets.
1412 * ControlCitation.[Ch]: new files. The test specialisation! A
1413 controller for the Citation dialog.
1415 * ViewBase.h: new file. ViewBase is an abstract base class from which
1416 GUI-specific dialogs should be derived. The functionality that the GUIs
1417 must now implement is much reduced.