1 2002-06-21 Angus Leeming <leeming@lyx.org>
3 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
4 * tex_helpers.h: #include "LString.h".
6 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9 * ControlBibitem.C: use repaint()
11 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
13 * ControlTexinfo.C: do the same for Texinfo
15 * tex_helpers.C: don't try to read a file that isn't there
17 2002-06-21 Herbert Voss <voss@perce.de>
19 * ControlBibtex.C: do an automatic update, when no bst-list
22 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
24 * GUI.h: createIndex() changed
26 2002-06-18 Herbert Voss <voss@perce.de>
28 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
29 helperstuff. Now the bibtex gui can use some of these functions
31 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
33 * ControlGraphics.C: just make the mask *.*
35 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * changes to simplify function setup, removal of a lot of includes.
39 2002-06-12 Angus Leeming <leeming@lyx.org>
41 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
43 2002-06-12 Angus Leeming <leeming@lyx.org>
45 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
47 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
49 * ControlParagraph.[Ch]: new paragraph controller
50 * GUI.h: add new controller
53 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * GUI.h: do not include ButtonController.tmpl
57 * ControlInset.h: include ControlInset.tmpl
59 * ControlCitation.C: do not include ControlInset.tmpl
60 * ControlCommand.C: ditto
62 * ControlError.C: ditto
63 * ControlExternal.C: ditto
64 * ControlFloat.C: ditto
65 * ControlGraphics.C: ditto
66 * ControlInclude.C: ditto
67 * ControlMinipage.C: ditto
69 * ControlDialog.tmpl: remove the Base:: prefix
71 2002-06-07 Angus Leeming <leeming@lyx.org>
73 Fixes needed to compile with Compaq cxx 6.5.
74 * ControlDialog.tmpl: I have had to prefix base class methods with
77 * ControlInset.tmpl: #include a couple of headers.
79 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * switch from SigC signals to boost::signals
83 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * biblio.h: include vector
87 * biblio.C: change include order
88 (regexSearch): use boost regex and get rid of LRegex
90 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
98 * ControlConnections.C:
115 * ControlSpellchecker.C:
116 * ControlTabularCreate.C:
118 * ControlThesaurus.C:
121 * ControlVCLog.C: LyXView moved into frontends
123 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * ControlExternal.C: add scoped_ptr.hpp
127 * ControlCharacter.h: use more specific smart_ptr header.
129 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
131 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
133 2002-05-13 Herbert Voss <voss@perce.de>
135 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
136 like "Odland, G. and ... "
137 (parseBibTeX): fix bug with title and booktitle
138 and replace a \n with a space when one entry has more than
141 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
143 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
144 "No change" and "Reset".
146 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
147 them at the front of the list.
149 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
151 * ControlGraphics.C: add some comments to the char * arrays.
152 Make rorigin_size const.
154 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
156 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
157 Enables the gui's to internationalise these strings.
159 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
161 * frnt_lang.C: fix build
163 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
165 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
166 If the the caller is the character dialog, add "No change" and "Reset"
167 to the vector, else don't.
168 Internationalise the GUI strings here rather than in the different
170 Sort the translated strings, albeit simply.
172 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
174 * character.[Ch]: rename namespace character as namespace frnt.
176 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
177 as several dialogs will use this info. The function now returns a
178 vector<LanguagePair> where LanguagePair is a display string and an
179 identifying string. The display string is internationalised.
181 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
182 the identifying strings, "No change" and "Reset".
184 * Makefile.am: add frnt_lang.[Ch].
186 2002-04-25 Herbert Voss <voss@lyx.org>
188 * ControlSendto.C (allFormats): don't add the graphics extensions to the
191 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
193 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
194 BibTeX databases in a WYSIWYM way.
196 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
198 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
199 way past his use-by date.
200 Make use of the improved info from Buffer::getBibkeyList when using
201 \bibliography. Enables us to provide natbib support in this case too.
203 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
205 * ControlGraphics.C: pass the browseFile dialog a string of only those
206 formats that can currently be loaded by LyX.
208 2002-04-15 Herbert Voss <voss@perce.de>
210 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
211 with something like ,,...blah...`` (two commas)
213 2002-04-14 Herbert Voss <voss@perce.de>
215 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
216 into the support/lstrings for better use in other programs.
218 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
219 namespace anon and make globally accessible.
220 (familyName): test for the presence of a LaTeX Space at the front of
221 of a name; strip it if it exists.
223 2002-04-11 Herbert Voss <voss@perce.de>
225 * ControlGraphics.C: expand "browse-string" to all available formats
227 2002-04-11 Herbert Voss <voss@perce.de>
229 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
231 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
233 * ControlAboutlyx.C (getVersion): two _() forgotten
235 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
239 * ControlBibtex.C: make N_() be _()
241 2002-04-07 Herbert Voss <voss@perce.de>
243 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
245 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
248 used when reading the BB.
250 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
252 * ControlGraphics.C (readBB): Don't open the ifstrem and then
253 check the format from the contents (and open a second ifstream in the
254 process. One at a time please.
256 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlRef.C (getBufferNum): squash warning message.
260 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlBibtex.C (Browse):
263 * ControlGraphics.C (Browse):
264 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
266 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
268 * ControlGraphics.C (applyParamsToInset): pass filepath to
269 InsetGraphics::updateInset.
271 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * most files: ws cleanup
275 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
277 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
280 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
283 * ControlInclude.C: better error messages
285 2002-03-11 Herbert Voss <voss@lyx.org>
287 * biblio.C (parseBibTeX): fix another minibug with an
290 2002-03-10 Herbert Voss <voss@lyx.org>
292 * biblio.C (parseBibTeX): fix bug
293 (familyName): improve parsing
295 2002-03-09 Herbert Voss <voss@lyx.org>
297 * ControlGraphics.[Ch]: adding checkFilename() for testing
298 of non-existing files
300 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
302 * ControlSendto.C (allFormats): fix a iterators are not pointers
305 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
307 * ControlShowFile.h: add a #include "LString.h"
309 2002-03-05 Herbert Voss <voss@lyx.org>
311 * biblio.C (getInfo): simplify if using paragraph layout
314 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
316 * biblio.C (getInfo): return the info field correctly if the key
318 (parseBibTeX): fix crash when data.find('=') returns string::npos.
320 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
322 * ControlForks.[Ch]: new files. A controller for the Forked Child
323 processes dialog, enabling the user to see what forked processes
324 are running, and, if he so desires, to kill them.
326 * GUI.h: add class GUIForks.
328 * Makefile.am: add ControlForks.[Ch].
330 * ControlGraphics.C (getParams): small change due to change in
333 2002-02-21 Herbert Voss <voss@lyx.org>
335 * biblio.C: fix bug with commentlines in a bibentry
337 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
339 * Makefile.am: simpler obj. file compile
341 2002-02-18 Herbert Voss <voss@lyx.org>
343 * ControlGraphics.[Ch]: remove help-file call
345 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
347 * helper_funcs.h: wrap the structs firster and seconder up in a
348 namespace to avoid clashes with those in lyxalgo,h.
350 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
351 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
353 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
355 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
358 change Systemcalls::System to Systemcalls::Wait and
359 No change of functionality, just reflects the stripped down Systemcalls
362 2002-02-06 Herbert Voss <voss@lyx.org>
364 * ControlGraphics.[C] (readBB): search also in
365 g'zipped files. If it is useful than PK and compress
366 should also be supported. use unzipFile() from
369 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
371 * ControlRef.C (getBufferName): new method to get a real buffer
374 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
376 * ControlTexInfo.[Ch]: Removed Help functions.
378 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
380 * ControlSpellchecker.C: clear any selection left
383 2002-02-01 Herbert Voss <voss@lyx.org>
385 * ControlGraphics.[C] (readBB): search only, if it is a
386 ".?ps" file and look for bb's at end of file
388 2002-01-30 Herbert Voss <voss@lyx.org>
390 * ControlGraphic.[C]: do not search the whole file, when
393 2002-01-29 Herbert Voss <voss@lyx.org>
395 * ControlGraphic.[C]: added a button for document path
396 when browsing -> bug 222
398 2002-01-27 Herbert Voss <voss@lyx.org>
400 * ControlGraphic.[Ch]: added support for Bounding Box, other
403 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
406 * ControlTexinfo.h: added #include "LString.h" where they belong.
408 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
411 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
413 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
418 2002-01-20 Herbert Voss <voss@perce.de>
420 * ControlInclude.[Ch]: better control of unexistings files
421 when entered without the browser
423 * ControlGraphic.C (Browse): add extension "ps" when browsing for
426 2002-01-19 Herbert Voss <voss@perce.de>
428 * biblio.C (getInfo): fix bug when no author is given
430 * biblio.C (parseBibTeX): change the parsing, so that
431 '#'-characters in a bibtex entry are no more a problem.
433 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
435 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
436 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
438 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
440 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
442 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
444 * ControlExternal.C (Browse): add a std:: qualifier
446 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
448 * ControlExternal.C (Browse): simplify to use browseRelFile
450 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
452 * ButtonController.tmpl: added // -*- C++ -*-
454 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
455 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
456 Needed in _one_ of the ControlCommand-derived classes only.
458 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
461 * ControlSearch.h: #include LString.h
463 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
465 * ButtonController.h: split into two. The definition remains in
466 ButtonController.h, the declaration is now in ButtonController.tmpl.
467 These template methods should be #included when the derived class is
468 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
469 and in the qt2 and gnome equivalents.
471 * ControlDialogs.h: removed. The definition of class ControlDialog is
472 now to be found in ControlDialog.h and the declaration of the methods
473 is in ControlDialog.tmpl. The two template instantiations are performed
474 in ControlDialog_impl.[Ch], new files also.
476 * ControlInset.h: split into two. The definition remains in
477 ControlInset.h, the declaration is now in ControlInset.tmpl.
478 These template methods should be #included derived class is
479 instantiated, in this case in 8 other .C files in this directory.
481 * ControlAboutlyx.[Ch]:
482 * ControlCharacter.[Ch]:
492 * ControlPreamble.[Ch]:
494 * ControlSearch.[Ch]:
495 * ControlShowFile.[Ch]:
496 * ControlSpellchecker.[Ch]:
497 * ControlTabularCreate.[Ch]:
498 * ControlTexinfo.[Ch]:
499 * ControlThesaurus.[Ch]:
500 * ControlVCLog.[Ch]: small changes associated with the above ones.
502 * GUI.h: #include the ButtonController and dialog controller files
503 here, rather than forward declare them. This is the correct place
506 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
507 Rename ControlDialogs.h as ControlDialog.h.
508 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
511 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
515 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
517 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
520 * ControlGraphics.C (Browse): remove overzealous shortcut
522 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
524 * FormMinipage.C (apply, update): MinipageParams::width renamed
525 as MinipageParams::pageWidth. InsetMinipage::width renamed
526 as InsetMinipage::pageWidth.
528 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
530 * ButtonController.h (refreshReadOnly): use explicit typename
532 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
534 * helper_funcs.h (browseFile): add default empty button descriptions.
536 * ControlGraphics.C (Browse):
537 * ControlBibtex.C (Browse):
538 * ControlInclude.C (Browse): add shortcuts to directory buttons
540 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
542 * ControlThesaurus.h:
543 * ControlThesaurus.C: update to Aiksaurus 0.14
545 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlSpellchecker.C (clearParams): show the closing message
548 only if some words have been checked, thereby fixing
551 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
553 * ControlFloat.[Ch]: changes to prevent here definitely being used
556 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
558 * ControlThesaurus.h: do not include <config.h> in header files
560 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
562 * ControlToc.C: changes for floatlist
564 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
566 * ControlVCLog.C: use _()
568 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
570 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
573 2001-10-22 Juergen Vigna <jug@sad.it>
575 * ControlSpellchecker.C (clearParams): use the error_ message of the
576 speller_ if available when the spellchecker died.
577 (setParams): remove double error message display.
579 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
581 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
583 * helper_funcs.[Ch] (getLatexUnits): see above.
585 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
587 * ControlTexinfo.C (getContents): use the right file for .sty files
589 2001-10-10 Herbert Voss <voss@perce.de>
591 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
592 and some more stuff from FormTexinfo.C
594 * ControlShowFile.C: hiding the update-button
596 2001-10-09 Herbert Voss <voss@perce.de>
598 * ControlTexinfo.[Ch]: new files. Display information about the
599 installed texfiles (cls,sty,bst).
601 * ControlShowFile.[Ch]: new files. Display the contents of a file.
603 * GUI.h: added classes GUIShowFile and GUITexinfo.
605 * Makefile.am: modified appropriately.
607 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
609 * ControlAboutlyx.C (getVersion): use lyx_version and
610 lyx_release_date instead of old macros
612 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
614 * ControlSpellchecker.C (check): Behaves well now when the spell
615 library doesn't know a replacement to an incorrect word.
617 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
619 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
620 the correct place. Can now check spelling more than once!
622 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
624 * ControlSplash.[Ch]: removed.
626 * GUI.h: remove GUISplash class.
628 * ViewBase.h: remove ViewSplash class.
630 * Makefile.am: remove ControlSplash.[Ch].
632 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
634 * ControlButtons.h: add variable emergency_exit_. If set to true, the
635 view will be shut down.
638 * ControlInset.h: act on emergency_exit_.
640 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
641 speller fails to launch.
643 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
646 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
648 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
650 * ControlRef.h (disconnectOnApply): new method. Set to true.
651 Perhaps make this user-modifiable?
653 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
655 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
658 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
660 * ControlRef.C (getBufferList, getBufferNum): New methods
662 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
664 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
665 of the dialog when the Apply button is pressed. Defaults to false,
666 but can be overridden in the daughter classes.
668 * ControlCitation.h (disconnectOnApply): new method. Set to true.
669 Perhaps make this user-modifiable?
671 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
673 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
674 we have dialogs that update their contents when the buffer changes.
675 Rather embarassing, really!
677 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
679 * ControlSearch (replace): change semantics of replace to NOT move on
680 to the next instance of a word once the present instance has been
681 replaced unless we are replacing ALL instances of the word.
683 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
685 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
687 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
689 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
690 dialog, set all options to "reset", close the dialog, re-open it ->
691 the options are set incorrectly.
693 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
694 When Applying it's useful to know whether the dialog is about to close
695 or not (no point refreshing the display for example).
697 * ControlInset.C (apply): use isClosing.
699 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
702 * ControlDialogs.h: remove bc() hack, now fixed in
703 Qt2 frontend. use member dialog_built_ instead of shared
706 * ButtonController.h:
707 * ButtonPolicies.C: more debug info
709 * ButtonControllerBase.C: call refresh() when setting readOnly !
711 * GUI.h: External form has apply, use the right policy
713 * character.C: fix two off-by-one errors when latex font was removed
715 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
717 * ControlInset.h (apply): tentative fix for the press Apply multiple
718 times and get multiple new Insets problem.
720 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
722 * ControlCharacter.C: fix typo
726 * ControlInsets.C: make sure dialog is built before it is shown, so
727 it works properly the very first time it is shown
729 2001-08-20 Herbert Voss <voss@perce.de>
731 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
732 and styles. Added an option for "bibliography into toc"
734 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
736 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
737 LaTeX is no longer a font property.
739 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
741 * GUI.h: Button controller for Reference dialog changed to
742 NoRepeatedApplyReadOnlyPolicy.
744 * biblio.C (getInfo): output volume and number info. Move year to end
747 2001-08-09 Allan Rae <rae@lyx.org>
749 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
751 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
753 * helper_funcs.C (getVectorFromString): fixed small bug.
755 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
757 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
759 * ControlSpellchecker.C: check next word after insert in personal dict
761 2001-08-06 Juergen Vigna <jug@sad.it>
763 * ControlERT.[Ch]: new file
765 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
767 * ControlInset.h: const and non-const forms of params().
769 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
770 whitespace from either side of each item.
772 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlFloat.h: add a != operator for FloatParams.
775 Lars, how did you get this to compile!!!
777 * ControlMinipage.[Ch]: uncommented someone's commenting out of
778 operator != for MinipageParams. Who's changing stuff and not compiling?
780 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
782 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
785 * GUI.h: add class GUIFloat
787 * ControlFloat.[Ch]: new files
789 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
791 * ControlPrint.C: #include Lassert.h here.
793 2001-07-26 Baruch Even <baruch@lyx.org>
795 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
798 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
800 * ControlThesaurus.h:
801 * ControlThesaurus.C:
803 * Makefile.am: thesaurus support
805 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
808 * ControlInclude.C: implement ability to load file
810 2001-07-18 Juergen Vigna <jug@sad.it>
812 * ControlSearch.C (replace): changes to lyxfind.h function calls.
814 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
816 * biblio.C (getInfo): add a .c_str() to handle the usual
819 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
821 * ControlCitation.[Ch]: changes associated with adding natbib support.
822 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
823 New static variable citeStyles_.
825 * biblio.[Ch]: large internal rearrangement.
826 New public enum CiteStyle.
827 New public struct CitationStyle.
828 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
829 getNumericalStrings, getAuthorYearStrings
830 (simpleSearch, regexSearch): no longer publicly accessible.
832 * helper_funcs.C (getStringFromVector): bug fix.
834 2001-07-16 Baruch Even <baruch@lyx.org>
836 * ControlVCLog.h: Added Lsstream.h to includes.
838 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlSpellchecker.[Ch]: remove d-tor.
842 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
844 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
846 2001-07-16 Juergen Vigna <jug@sad.it>
848 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
849 compiled with USE_PSPELL) to be able to switch between ISpell and
852 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
854 Consistent use of Lsstream.h:
855 * ControlAboutlyx.[Ch] (getCredits):
856 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
858 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
860 * ControlCredits.[Ch]: removed
861 * ControlCopyright.[Ch]: removed
862 * ControlAboutlyx.[Ch]: added (replaces previous)
863 * GUI.h: removed credits and copyright added about lyx stuff
865 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
867 * ControlSpellchecker.C (getSuggestion):
868 (getWord): add std:: qualifier
870 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
872 * ControlSpellchecker.[Ch]: added
873 * ViewBase.h: added partialUpdate(int) member
874 * GUI.h: added spell stuff
876 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
878 * ControlExternal.C: (*it). -> it->
880 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
882 * ButtonController.h: move some included header files out of the
883 frontends and into here.
885 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
887 * ControlCharacter.C (c-tor): cosmetic name change of signal.
889 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
891 * *.[h]: added // -*- C++ -*-
892 * *.[C]: removed // -*- C++ -*-
894 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
895 activate Apply button.
896 (clearParams): removed.
897 font_ is now stored as a boost::scoped_ptr.
898 font_ is no longer deleted on hide(), so it's contents can now be used
899 by the Font button on the toolbar.
900 Lots of new methods so that the GUI can easily get the contents of
901 font_ when it update()s.
903 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
905 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
906 crash when the Font button on the Toolbar is pressed.
908 * GUI.h: change policy of Character button controller to
909 OkApplyCancelReadOnlyPolicy.
911 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
913 * ControlToc.C (getContents): don't add anything to the list if it
914 is supposed to be empty.
916 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
918 * helper_funcs.C (getVectorFromString): bug fix.
920 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
923 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
924 from ButtonControllerBase::readOnly. Updates the state of the widgets
925 in the read-only list only when the read-only status of the document
927 (refresh): moved this stuff into refreshReadOnly.
929 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
931 * ControlPrint.C (c-tor):
932 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
934 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
937 * character.h: small clean-ups.
939 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
941 * ControlToc.C (getType): remove support for old float list.
943 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
945 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
946 * ControlGraphics.h: no longer include insetgraphicsParams.h
947 * ControlInset.h: no longer include LyXView.h
952 * ControlCharacter.C:
955 * ControlConnections.C:
956 * ControlCopyright.C:
968 * ControlTabularCreate.C:
970 * ControlVCLog.C: they're now in here!
972 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
974 * ButtonControllerBase.h: C++ mode, inherit privately from
976 * ButtonPolicies.h: ditto
978 * ButtonController.h: C++ mode, swap init order of restore_ and
981 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
983 * ControlTabularCreate.h:
984 * ControlTabularCreate.C: make dialogs use a pair of uints
988 * ControlVCLog.C: fill a stringstream with the log contents
991 * ControlExternal.C: from Angus, clone the new InsetExternal
994 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
996 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
997 and made more robust.
999 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1004 * ControlPreamble.C:
1006 * ControlGraphics.C:
1007 * ControlExternal.C:
1008 * ControlCopyright.C: include gettext.h
1010 * ControlCharacter.C:
1011 * character.C: include gettext.h and language.h
1013 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1015 * ButtonController.h:
1016 * ButtonControllerBase.h:
1017 * ButtonControllerBase.C:
1024 * ControlConnections.h:
1027 * ControlExternal.C:
1030 * ViewBase.h: s/ControlButton/ControlButtons/
1032 s/UndoAll/Restore/ + associated
1034 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1036 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1039 * Makefile.am: associated changes with all of the above.
1041 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1043 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1044 and edit, view, update the External Material correctly. I hope!
1046 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1048 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1050 * BCTemplates.h: renamed as ButtonController.h
1052 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1055 * ControlConnections.h: associated change in #include and class names.
1057 * ControlExternal.[Ch]: new files; a controller for the External
1061 * Makefile.am: associated changes with all of the above.
1063 * ControlGraphics.[Ch]:
1064 * ControlInclude.[Ch]:
1065 * ControlPrint.[Ch]:
1067 (Browse): new method. Returns the results of a FileDialog browse.
1069 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1070 (getVectorFromString): fixed bug.
1072 * biblio.C (simpleSearch): cleaned up.
1074 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1076 * A slight reworking of Baruch Even's ButtonController patch.
1078 * BCTemplates.h: new file; all the templates for the ButtonController.
1079 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1080 to the more generic setButtonLabel().
1082 * ButtonController.[Ch]: renamed cancel_label and close_label as
1083 cancel_label_ and close_label_.
1085 * Makefile.am: added BCTemplates.h
1087 2001-03-29 Juergen Vigna <jug@sad.it>
1089 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1090 to use new %-lengths of LyXLength.
1092 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1094 * ControlCitation.C (bibkeysInfo): removed Assert.
1096 * ControlCopyright.h: moved GUICopyright into GUI.h
1100 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1102 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1103 (setDaughterParams): a (by default empty) new method called in show().
1109 * ControlMinipage.h:
1112 * ControlUrl.h (clearDaughterParams): removed
1114 * ControlMinipage.C (applyParamsToInset): update the view.
1115 Added namespace minipage containing a helper function getUnits.
1117 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1119 * ControlCharacter.[Ch]: moved out all the helper functions and the
1120 enum into their own file.
1121 * character.[Ch]: new files; contain the character helper functions,
1122 now inside namespace character.
1124 * ControlCitation.[Ch]: moved out all the helper functions and the
1125 enums into their own file. Simplified interface.
1126 * biblio.[Ch]: new files; contain the citation helper functions,
1127 now inside namespace biblio. Will be of use also to an improved
1130 * ControlGraphics.[Ch]:
1131 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1132 popups, respectively.
1135 * Makefile.am: associated changes.
1137 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1139 * ControlMinipage.[Ch]:
1140 * ControlPreamble.[Ch]:
1141 * ControlPrint.[Ch]:
1142 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1143 and Print popups and Splash screen, respectively.
1145 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1149 * Makefile.am: associated changes.
1151 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1153 * ControlConnections.[Ch]: (docType): new method; returns the type
1154 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1157 * ControlSearch.[Ch]:
1158 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1159 Search and TabularCreate popups, respectively.
1162 * Makefile.am: associated changes.
1164 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1166 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1169 * ControlInset.h (apply): fix bug. Can now create new insets again.
1171 * README: describe program flow.
1173 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1175 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1177 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1179 * ControlDialogs.h: moved class ControlInset into its own file.
1181 * ControlInset.h: new file. class ControlInset has been expanded to take
1182 two template parameters, Inset and Params. Believe that all inset
1183 controllers can be derived from this with the minimum of effort.
1185 * ControlBibitem.[Ch]:
1186 * ControlBibtex.[Ch]:
1187 * ControlCitation.[Ch]:
1188 * ControlCommand.[Ch]: moved most code into ControlInset.
1190 * lots of files. Moved protected stuff into private where possible.
1192 * ControlError.[Ch]:
1193 * ControlInclude.[Ch]:
1194 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1195 Include and Url popups, respectively.
1198 * Makefile.am: associated changes.
1200 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1202 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1205 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1207 * ControlCredits.C (getCredits): remove std:: qualifier for
1210 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1212 * ControlCredits.C (getCredits): add std:: on vector
1214 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1216 * ControlCredits.C: remove using that is only used once, use
1217 std::ios instead of std::iosbase, add some annoying comments.
1219 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1221 * lots of header files: improved explanatory notes.
1223 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1224 ControlBase is now a class that only controls the interaction of the
1225 View with the ButtonController.
1227 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1228 to ControlConnectBase. The class controls the connection/disconnection
1229 of signals from the LyX kernel and makes available the kernel (through
1230 lv_) to daughter controller classes.
1231 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1233 * ControlDialogs.h: new file. Contains the definition of two template
1234 controller classes, ControlDialog and ControlInset (was
1235 ControlConnectInset). ControlInset is a parent class for controllers
1236 of inset-popups. ControlDialogs is the rather uninspired name for
1237 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1238 ControlDialogs is reaching a state of maturity as several popups now use
1239 it and its functionality becomes clear. ControlInset is still in a state
1240 of flux. It is likely that functionality will be moved out of
1241 ControlCommands and into it.
1243 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1244 individual Controller header files and into one place. These classes
1245 serve only as convenient wrappers to simplify code in the respective
1246 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1248 * ControlCharacter.[Ch] (show, update, hide):
1249 * ControlLog.[Ch] (show, update, hide):
1250 * ControlVCLog.[Ch] (show, update, hide): moved back into
1251 the ControlDialogs base class.
1252 (setParams, clearParams): new methods containing controller-specific
1253 code to set/reset the parameters manipulated by the view.
1255 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1257 (hide): calls clearParams.
1259 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1260 by ControlCommand::hide().
1262 * ControlCopyright.[Ch]:
1263 * ControlCredits.[Ch]: new files; controllers for the copyright and
1264 credits popups, respectively.
1266 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1268 * ControlCharacter.C: fix typo
1270 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1272 * ControlCharacter.[Ch]: new files; controller for the character popup.
1274 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1275 moved to new files helper_funcs.[Ch].
1277 * helper_funcs.[Ch]: new files. Some useful helper functions and
1280 * Makefile.am: added new files.
1282 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1284 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1286 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1289 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1290 Control log files, respectively.
1292 * Makefile.am: added new files.
1294 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1296 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1298 * Makefile.am: added ControlBibtex.[Ch].
1300 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1303 * ControlCitation.C: added "using SigC::slot" declaration.
1305 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1306 to FormCitation.C prior to the merger: "Do not put space between
1309 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1311 * several files: remove CXX_WORKING_NAMESPACES
1313 * ButtonController.h: noncopyable is in namespace boost
1314 * ButtonPolicies.h: ditto
1316 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1318 * Merging changes from BRANCH_MVC back into HEAD.
1320 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1322 * Makefile.am: add ControlBibitem.[Ch].
1324 * ControlBibitem.[Ch]: new files that together define the Controller
1325 for a Bibitem popup.
1327 * ControlCommand.h (c-tor): give kb_action a default value of
1330 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1332 * ControlCitation.[Ch]: moved search functions out of class.
1333 (bibkeysInfo): new method. Returns const reference to private data.
1334 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1337 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1339 * ControlCitation.[Ch]: added Search functions to the class,
1340 (shamelessly lifted from Marco's gnome code). I think that these would
1341 be better as helper functions outside the class, but this is a first
1344 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1346 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1348 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1349 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1350 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1351 implementation of FormCitation.
1353 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1355 * ButtonPolicies.h: add SMI_NOOP to enum.
1357 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1359 * ButtonController.C (input): add "optimising" if-statement. Actually,
1360 things don't work correctly without it...
1362 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1364 * ViewBase.h: remove #pragma directive
1366 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1369 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1371 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1373 * Makefile.am: added ButtonPolicies.[Ch]
1375 * ButtonController.[Ch]: ButtonController is split into
1376 ButtonControllerBase and a template ButtonController class. The base
1377 class no longer stores a pointer to a ButtonPolicy, but instead
1378 accesses the actual instantiation of the policy through a pure virtual
1379 method bp(). This method and the ButtonPolicy itself are instantiated
1380 in the templatised ButtonController class. This class is derived from
1381 the GUI-specific GUIBC class, meaning that the frontends know
1382 nothing about the actual policy decided upon by the controllers.
1384 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1385 Instead the actual instantiations are accessed through pure virtual
1386 methods view() and bc(). The daughter classes are responsible for the
1387 actual View and ButtonController.
1389 * ControlCitation.h: the templatised class GUICitation instantiates
1390 the methods view() and bc(). It also stores the instances of the
1391 View and ButtonController.
1393 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1395 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1396 also changed to ButtonController.
1399 * ControlConnections.[Ch]:
1400 * ControlCommand.[Ch]:
1401 * ControlCitation.[Ch]:
1402 * ViewBase.h: Changes associated with this.
1404 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1406 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1407 xforms/ButtonController class into a GUI-I class (here) and an
1408 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1410 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1411 from which all Dialog Controllers should be derived. the Controllers
1412 are GUI-independent, but are designed to control the behaviour of
1413 GUI-specific implementaions of each dialog.
1415 * ControlConnections.[Ch]: new files. Classes controlling the
1416 connections of buffer-independent, buffer-dependent and Inset dialogs
1417 with the LyX kernel.
1419 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1420 InsetCommand subset of insets.
1422 * ControlCitation.[Ch]: new files. The test specialisation! A
1423 controller for the Citation dialog.
1425 * ViewBase.h: new file. ViewBase is an abstract base class from which
1426 GUI-specific dialogs should be derived. The functionality that the GUIs
1427 must now implement is much reduced.