1 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
3 * ControlParagraph.[Ch]: new paragraph controller
4 * GUI.h: add new controller
7 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * GUI.h: do not include ButtonController.tmpl
11 * ControlInset.h: include ControlInset.tmpl
13 * ControlCitation.C: do not include ControlInset.tmpl
14 * ControlCommand.C: ditto
16 * ControlError.C: ditto
17 * ControlExternal.C: ditto
18 * ControlFloat.C: ditto
19 * ControlGraphics.C: ditto
20 * ControlInclude.C: ditto
21 * ControlMinipage.C: ditto
23 * ControlDialog.tmpl: remove the Base:: prefix
25 2002-06-07 Angus Leeming <leeming@lyx.org>
27 Fixes needed to compile with Compaq cxx 6.5.
28 * ControlDialog.tmpl: I have had to prefix base class methods with
31 * ControlInset.tmpl: #include a couple of headers.
33 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
35 * switch from SigC signals to boost::signals
37 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
39 * biblio.h: include vector
41 * biblio.C: change include order
42 (regexSearch): use boost regex and get rid of LRegex
44 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
52 * ControlConnections.C:
69 * ControlSpellchecker.C:
70 * ControlTabularCreate.C:
75 * ControlVCLog.C: LyXView moved into frontends
77 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * ControlExternal.C: add scoped_ptr.hpp
81 * ControlCharacter.h: use more specific smart_ptr header.
83 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
85 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
87 2002-05-13 Herbert Voss <voss@perce.de>
89 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
90 like "Odland, G. and ... "
91 (parseBibTeX): fix bug with title and booktitle
92 and replace a \n with a space when one entry has more than
95 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
97 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
98 "No change" and "Reset".
100 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
101 them at the front of the list.
103 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
105 * ControlGraphics.C: add some comments to the char * arrays.
106 Make rorigin_size const.
108 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
110 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
111 Enables the gui's to internationalise these strings.
113 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
115 * frnt_lang.C: fix build
117 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
119 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
120 If the the caller is the character dialog, add "No change" and "Reset"
121 to the vector, else don't.
122 Internationalise the GUI strings here rather than in the different
124 Sort the translated strings, albeit simply.
126 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
128 * character.[Ch]: rename namespace character as namespace frnt.
130 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
131 as several dialogs will use this info. The function now returns a
132 vector<LanguagePair> where LanguagePair is a display string and an
133 identifying string. The display string is internationalised.
135 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
136 the identifying strings, "No change" and "Reset".
138 * Makefile.am: add frnt_lang.[Ch].
140 2002-04-25 Herbert Voss <voss@lyx.org>
142 * ControlSendto.C (allFormats): don't add the graphics extensions to the
145 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
147 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
148 BibTeX databases in a WYSIWYM way.
150 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
152 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
153 way past his use-by date.
154 Make use of the improved info from Buffer::getBibkeyList when using
155 \bibliography. Enables us to provide natbib support in this case too.
157 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
159 * ControlGraphics.C: pass the browseFile dialog a string of only those
160 formats that can currently be loaded by LyX.
162 2002-04-15 Herbert Voss <voss@perce.de>
164 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
165 with something like ,,...blah...`` (two commas)
167 2002-04-14 Herbert Voss <voss@perce.de>
169 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
170 into the support/lstrings for better use in other programs.
172 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
173 namespace anon and make globally accessible.
174 (familyName): test for the presence of a LaTeX Space at the front of
175 of a name; strip it if it exists.
177 2002-04-11 Herbert Voss <voss@perce.de>
179 * ControlGraphics.C: expand "browse-string" to all available formats
181 2002-04-11 Herbert Voss <voss@perce.de>
183 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
185 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
187 * ControlAboutlyx.C (getVersion): two _() forgotten
189 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
193 * ControlBibtex.C: make N_() be _()
195 2002-04-07 Herbert Voss <voss@perce.de>
197 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
199 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
201 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
202 used when reading the BB.
204 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
206 * ControlGraphics.C (readBB): Don't open the ifstrem and then
207 check the format from the contents (and open a second ifstream in the
208 process. One at a time please.
210 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
212 * ControlRef.C (getBufferNum): squash warning message.
214 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
216 * ControlBibtex.C (Browse):
217 * ControlGraphics.C (Browse):
218 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
220 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
222 * ControlGraphics.C (applyParamsToInset): pass filepath to
223 InsetGraphics::updateInset.
225 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * most files: ws cleanup
229 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
231 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
234 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
237 * ControlInclude.C: better error messages
239 2002-03-11 Herbert Voss <voss@lyx.org>
241 * biblio.C (parseBibTeX): fix another minibug with an
244 2002-03-10 Herbert Voss <voss@lyx.org>
246 * biblio.C (parseBibTeX): fix bug
247 (familyName): improve parsing
249 2002-03-09 Herbert Voss <voss@lyx.org>
251 * ControlGraphics.[Ch]: adding checkFilename() for testing
252 of non-existing files
254 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
256 * ControlSendto.C (allFormats): fix a iterators are not pointers
259 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
261 * ControlShowFile.h: add a #include "LString.h"
263 2002-03-05 Herbert Voss <voss@lyx.org>
265 * biblio.C (getInfo): simplify if using paragraph layout
268 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
270 * biblio.C (getInfo): return the info field correctly if the key
272 (parseBibTeX): fix crash when data.find('=') returns string::npos.
274 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
276 * ControlForks.[Ch]: new files. A controller for the Forked Child
277 processes dialog, enabling the user to see what forked processes
278 are running, and, if he so desires, to kill them.
280 * GUI.h: add class GUIForks.
282 * Makefile.am: add ControlForks.[Ch].
284 * ControlGraphics.C (getParams): small change due to change in
287 2002-02-21 Herbert Voss <voss@lyx.org>
289 * biblio.C: fix bug with commentlines in a bibentry
291 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
293 * Makefile.am: simpler obj. file compile
295 2002-02-18 Herbert Voss <voss@lyx.org>
297 * ControlGraphics.[Ch]: remove help-file call
299 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
301 * helper_funcs.h: wrap the structs firster and seconder up in a
302 namespace to avoid clashes with those in lyxalgo,h.
304 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
305 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
307 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
309 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
312 change Systemcalls::System to Systemcalls::Wait and
313 No change of functionality, just reflects the stripped down Systemcalls
316 2002-02-06 Herbert Voss <voss@lyx.org>
318 * ControlGraphics.[C] (readBB): search also in
319 g'zipped files. If it is useful than PK and compress
320 should also be supported. use unzipFile() from
323 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
325 * ControlRef.C (getBufferName): new method to get a real buffer
328 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
330 * ControlTexInfo.[Ch]: Removed Help functions.
332 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
334 * ControlSpellchecker.C: clear any selection left
337 2002-02-01 Herbert Voss <voss@lyx.org>
339 * ControlGraphics.[C] (readBB): search only, if it is a
340 ".?ps" file and look for bb's at end of file
342 2002-01-30 Herbert Voss <voss@lyx.org>
344 * ControlGraphic.[C]: do not search the whole file, when
347 2002-01-29 Herbert Voss <voss@lyx.org>
349 * ControlGraphic.[C]: added a button for document path
350 when browsing -> bug 222
352 2002-01-27 Herbert Voss <voss@lyx.org>
354 * ControlGraphic.[Ch]: added support for Bounding Box, other
357 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlTexinfo.h: added #include "LString.h" where they belong.
362 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
367 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
372 2002-01-20 Herbert Voss <voss@perce.de>
374 * ControlInclude.[Ch]: better control of unexistings files
375 when entered without the browser
377 * ControlGraphic.C (Browse): add extension "ps" when browsing for
380 2002-01-19 Herbert Voss <voss@perce.de>
382 * biblio.C (getInfo): fix bug when no author is given
384 * biblio.C (parseBibTeX): change the parsing, so that
385 '#'-characters in a bibtex entry are no more a problem.
387 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
389 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
390 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
392 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
394 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
396 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
398 * ControlExternal.C (Browse): add a std:: qualifier
400 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
402 * ControlExternal.C (Browse): simplify to use browseRelFile
404 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
406 * ButtonController.tmpl: added // -*- C++ -*-
408 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
409 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
410 Needed in _one_ of the ControlCommand-derived classes only.
412 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlSearch.h: #include LString.h
417 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
419 * ButtonController.h: split into two. The definition remains in
420 ButtonController.h, the declaration is now in ButtonController.tmpl.
421 These template methods should be #included when the derived class is
422 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
423 and in the qt2 and gnome equivalents.
425 * ControlDialogs.h: removed. The definition of class ControlDialog is
426 now to be found in ControlDialog.h and the declaration of the methods
427 is in ControlDialog.tmpl. The two template instantiations are performed
428 in ControlDialog_impl.[Ch], new files also.
430 * ControlInset.h: split into two. The definition remains in
431 ControlInset.h, the declaration is now in ControlInset.tmpl.
432 These template methods should be #included derived class is
433 instantiated, in this case in 8 other .C files in this directory.
435 * ControlAboutlyx.[Ch]:
436 * ControlCharacter.[Ch]:
446 * ControlPreamble.[Ch]:
448 * ControlSearch.[Ch]:
449 * ControlShowFile.[Ch]:
450 * ControlSpellchecker.[Ch]:
451 * ControlTabularCreate.[Ch]:
452 * ControlTexinfo.[Ch]:
453 * ControlThesaurus.[Ch]:
454 * ControlVCLog.[Ch]: small changes associated with the above ones.
456 * GUI.h: #include the ButtonController and dialog controller files
457 here, rather than forward declare them. This is the correct place
460 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
461 Rename ControlDialogs.h as ControlDialog.h.
462 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
465 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
467 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
469 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
471 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
474 * ControlGraphics.C (Browse): remove overzealous shortcut
476 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
478 * FormMinipage.C (apply, update): MinipageParams::width renamed
479 as MinipageParams::pageWidth. InsetMinipage::width renamed
480 as InsetMinipage::pageWidth.
482 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * ButtonController.h (refreshReadOnly): use explicit typename
486 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
488 * helper_funcs.h (browseFile): add default empty button descriptions.
490 * ControlGraphics.C (Browse):
491 * ControlBibtex.C (Browse):
492 * ControlInclude.C (Browse): add shortcuts to directory buttons
494 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
496 * ControlThesaurus.h:
497 * ControlThesaurus.C: update to Aiksaurus 0.14
499 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
501 * ControlSpellchecker.C (clearParams): show the closing message
502 only if some words have been checked, thereby fixing
505 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
507 * ControlFloat.[Ch]: changes to prevent here definitely being used
510 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
512 * ControlThesaurus.h: do not include <config.h> in header files
514 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
516 * ControlToc.C: changes for floatlist
518 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
520 * ControlVCLog.C: use _()
522 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
524 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
527 2001-10-22 Juergen Vigna <jug@sad.it>
529 * ControlSpellchecker.C (clearParams): use the error_ message of the
530 speller_ if available when the spellchecker died.
531 (setParams): remove double error message display.
533 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
535 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
537 * helper_funcs.[Ch] (getLatexUnits): see above.
539 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
541 * ControlTexinfo.C (getContents): use the right file for .sty files
543 2001-10-10 Herbert Voss <voss@perce.de>
545 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
546 and some more stuff from FormTexinfo.C
548 * ControlShowFile.C: hiding the update-button
550 2001-10-09 Herbert Voss <voss@perce.de>
552 * ControlTexinfo.[Ch]: new files. Display information about the
553 installed texfiles (cls,sty,bst).
555 * ControlShowFile.[Ch]: new files. Display the contents of a file.
557 * GUI.h: added classes GUIShowFile and GUITexinfo.
559 * Makefile.am: modified appropriately.
561 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * ControlAboutlyx.C (getVersion): use lyx_version and
564 lyx_release_date instead of old macros
566 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlSpellchecker.C (check): Behaves well now when the spell
569 library doesn't know a replacement to an incorrect word.
571 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
573 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
574 the correct place. Can now check spelling more than once!
576 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
578 * ControlSplash.[Ch]: removed.
580 * GUI.h: remove GUISplash class.
582 * ViewBase.h: remove ViewSplash class.
584 * Makefile.am: remove ControlSplash.[Ch].
586 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
588 * ControlButtons.h: add variable emergency_exit_. If set to true, the
589 view will be shut down.
592 * ControlInset.h: act on emergency_exit_.
594 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
595 speller fails to launch.
597 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
599 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
600 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
602 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
604 * ControlRef.h (disconnectOnApply): new method. Set to true.
605 Perhaps make this user-modifiable?
607 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
609 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
612 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
614 * ControlRef.C (getBufferList, getBufferNum): New methods
616 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
619 of the dialog when the Apply button is pressed. Defaults to false,
620 but can be overridden in the daughter classes.
622 * ControlCitation.h (disconnectOnApply): new method. Set to true.
623 Perhaps make this user-modifiable?
625 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
627 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
628 we have dialogs that update their contents when the buffer changes.
629 Rather embarassing, really!
631 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
633 * ControlSearch (replace): change semantics of replace to NOT move on
634 to the next instance of a word once the present instance has been
635 replaced unless we are replacing ALL instances of the word.
637 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
639 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
641 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
643 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
644 dialog, set all options to "reset", close the dialog, re-open it ->
645 the options are set incorrectly.
647 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
648 When Applying it's useful to know whether the dialog is about to close
649 or not (no point refreshing the display for example).
651 * ControlInset.C (apply): use isClosing.
653 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
656 * ControlDialogs.h: remove bc() hack, now fixed in
657 Qt2 frontend. use member dialog_built_ instead of shared
660 * ButtonController.h:
661 * ButtonPolicies.C: more debug info
663 * ButtonControllerBase.C: call refresh() when setting readOnly !
665 * GUI.h: External form has apply, use the right policy
667 * character.C: fix two off-by-one errors when latex font was removed
669 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
671 * ControlInset.h (apply): tentative fix for the press Apply multiple
672 times and get multiple new Insets problem.
674 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
676 * ControlCharacter.C: fix typo
680 * ControlInsets.C: make sure dialog is built before it is shown, so
681 it works properly the very first time it is shown
683 2001-08-20 Herbert Voss <voss@perce.de>
685 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
686 and styles. Added an option for "bibliography into toc"
688 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
690 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
691 LaTeX is no longer a font property.
693 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
695 * GUI.h: Button controller for Reference dialog changed to
696 NoRepeatedApplyReadOnlyPolicy.
698 * biblio.C (getInfo): output volume and number info. Move year to end
701 2001-08-09 Allan Rae <rae@lyx.org>
703 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
705 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
707 * helper_funcs.C (getVectorFromString): fixed small bug.
709 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
711 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
713 * ControlSpellchecker.C: check next word after insert in personal dict
715 2001-08-06 Juergen Vigna <jug@sad.it>
717 * ControlERT.[Ch]: new file
719 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
721 * ControlInset.h: const and non-const forms of params().
723 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
724 whitespace from either side of each item.
726 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
728 * ControlFloat.h: add a != operator for FloatParams.
729 Lars, how did you get this to compile!!!
731 * ControlMinipage.[Ch]: uncommented someone's commenting out of
732 operator != for MinipageParams. Who's changing stuff and not compiling?
734 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
736 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
739 * GUI.h: add class GUIFloat
741 * ControlFloat.[Ch]: new files
743 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
745 * ControlPrint.C: #include Lassert.h here.
747 2001-07-26 Baruch Even <baruch@lyx.org>
749 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
752 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
754 * ControlThesaurus.h:
755 * ControlThesaurus.C:
757 * Makefile.am: thesaurus support
759 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
762 * ControlInclude.C: implement ability to load file
764 2001-07-18 Juergen Vigna <jug@sad.it>
766 * ControlSearch.C (replace): changes to lyxfind.h function calls.
768 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
770 * biblio.C (getInfo): add a .c_str() to handle the usual
773 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
775 * ControlCitation.[Ch]: changes associated with adding natbib support.
776 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
777 New static variable citeStyles_.
779 * biblio.[Ch]: large internal rearrangement.
780 New public enum CiteStyle.
781 New public struct CitationStyle.
782 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
783 getNumericalStrings, getAuthorYearStrings
784 (simpleSearch, regexSearch): no longer publicly accessible.
786 * helper_funcs.C (getStringFromVector): bug fix.
788 2001-07-16 Baruch Even <baruch@lyx.org>
790 * ControlVCLog.h: Added Lsstream.h to includes.
792 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
794 * ControlSpellchecker.[Ch]: remove d-tor.
796 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
798 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
800 2001-07-16 Juergen Vigna <jug@sad.it>
802 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
803 compiled with USE_PSPELL) to be able to switch between ISpell and
806 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
808 Consistent use of Lsstream.h:
809 * ControlAboutlyx.[Ch] (getCredits):
810 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
812 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
814 * ControlCredits.[Ch]: removed
815 * ControlCopyright.[Ch]: removed
816 * ControlAboutlyx.[Ch]: added (replaces previous)
817 * GUI.h: removed credits and copyright added about lyx stuff
819 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
821 * ControlSpellchecker.C (getSuggestion):
822 (getWord): add std:: qualifier
824 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
826 * ControlSpellchecker.[Ch]: added
827 * ViewBase.h: added partialUpdate(int) member
828 * GUI.h: added spell stuff
830 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * ControlExternal.C: (*it). -> it->
834 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
836 * ButtonController.h: move some included header files out of the
837 frontends and into here.
839 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
841 * ControlCharacter.C (c-tor): cosmetic name change of signal.
843 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
845 * *.[h]: added // -*- C++ -*-
846 * *.[C]: removed // -*- C++ -*-
848 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
849 activate Apply button.
850 (clearParams): removed.
851 font_ is now stored as a boost::scoped_ptr.
852 font_ is no longer deleted on hide(), so it's contents can now be used
853 by the Font button on the toolbar.
854 Lots of new methods so that the GUI can easily get the contents of
855 font_ when it update()s.
857 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
859 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
860 crash when the Font button on the Toolbar is pressed.
862 * GUI.h: change policy of Character button controller to
863 OkApplyCancelReadOnlyPolicy.
865 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
867 * ControlToc.C (getContents): don't add anything to the list if it
868 is supposed to be empty.
870 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
872 * helper_funcs.C (getVectorFromString): bug fix.
874 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
877 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
878 from ButtonControllerBase::readOnly. Updates the state of the widgets
879 in the read-only list only when the read-only status of the document
881 (refresh): moved this stuff into refreshReadOnly.
883 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
885 * ControlPrint.C (c-tor):
886 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
888 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
891 * character.h: small clean-ups.
893 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
895 * ControlToc.C (getType): remove support for old float list.
897 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
899 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
900 * ControlGraphics.h: no longer include insetgraphicsParams.h
901 * ControlInset.h: no longer include LyXView.h
906 * ControlCharacter.C:
909 * ControlConnections.C:
910 * ControlCopyright.C:
922 * ControlTabularCreate.C:
924 * ControlVCLog.C: they're now in here!
926 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
928 * ButtonControllerBase.h: C++ mode, inherit privately from
930 * ButtonPolicies.h: ditto
932 * ButtonController.h: C++ mode, swap init order of restore_ and
935 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
937 * ControlTabularCreate.h:
938 * ControlTabularCreate.C: make dialogs use a pair of uints
942 * ControlVCLog.C: fill a stringstream with the log contents
945 * ControlExternal.C: from Angus, clone the new InsetExternal
948 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
950 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
951 and made more robust.
953 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
962 * ControlCopyright.C: include gettext.h
964 * ControlCharacter.C:
965 * character.C: include gettext.h and language.h
967 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
969 * ButtonController.h:
970 * ButtonControllerBase.h:
971 * ButtonControllerBase.C:
978 * ControlConnections.h:
984 * ViewBase.h: s/ControlButton/ControlButtons/
986 s/UndoAll/Restore/ + associated
988 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
990 * ControlToc.[Ch]: new files; a controller for the TOC popup.
993 * Makefile.am: associated changes with all of the above.
995 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
997 * ControlExternal.C: bug fixes. Can now apply changes to the inset
998 and edit, view, update the External Material correctly. I hope!
1000 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1004 * BCTemplates.h: renamed as ButtonController.h
1006 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1009 * ControlConnections.h: associated change in #include and class names.
1011 * ControlExternal.[Ch]: new files; a controller for the External
1015 * Makefile.am: associated changes with all of the above.
1017 * ControlGraphics.[Ch]:
1018 * ControlInclude.[Ch]:
1019 * ControlPrint.[Ch]:
1021 (Browse): new method. Returns the results of a FileDialog browse.
1023 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1024 (getVectorFromString): fixed bug.
1026 * biblio.C (simpleSearch): cleaned up.
1028 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1030 * A slight reworking of Baruch Even's ButtonController patch.
1032 * BCTemplates.h: new file; all the templates for the ButtonController.
1033 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1034 to the more generic setButtonLabel().
1036 * ButtonController.[Ch]: renamed cancel_label and close_label as
1037 cancel_label_ and close_label_.
1039 * Makefile.am: added BCTemplates.h
1041 2001-03-29 Juergen Vigna <jug@sad.it>
1043 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1044 to use new %-lengths of LyXLength.
1046 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1048 * ControlCitation.C (bibkeysInfo): removed Assert.
1050 * ControlCopyright.h: moved GUICopyright into GUI.h
1054 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1056 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1057 (setDaughterParams): a (by default empty) new method called in show().
1063 * ControlMinipage.h:
1066 * ControlUrl.h (clearDaughterParams): removed
1068 * ControlMinipage.C (applyParamsToInset): update the view.
1069 Added namespace minipage containing a helper function getUnits.
1071 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1073 * ControlCharacter.[Ch]: moved out all the helper functions and the
1074 enum into their own file.
1075 * character.[Ch]: new files; contain the character helper functions,
1076 now inside namespace character.
1078 * ControlCitation.[Ch]: moved out all the helper functions and the
1079 enums into their own file. Simplified interface.
1080 * biblio.[Ch]: new files; contain the citation helper functions,
1081 now inside namespace biblio. Will be of use also to an improved
1084 * ControlGraphics.[Ch]:
1085 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1086 popups, respectively.
1089 * Makefile.am: associated changes.
1091 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1093 * ControlMinipage.[Ch]:
1094 * ControlPreamble.[Ch]:
1095 * ControlPrint.[Ch]:
1096 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1097 and Print popups and Splash screen, respectively.
1099 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1103 * Makefile.am: associated changes.
1105 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1107 * ControlConnections.[Ch]: (docType): new method; returns the type
1108 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1111 * ControlSearch.[Ch]:
1112 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1113 Search and TabularCreate popups, respectively.
1116 * Makefile.am: associated changes.
1118 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1120 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1123 * ControlInset.h (apply): fix bug. Can now create new insets again.
1125 * README: describe program flow.
1127 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1129 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1131 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1133 * ControlDialogs.h: moved class ControlInset into its own file.
1135 * ControlInset.h: new file. class ControlInset has been expanded to take
1136 two template parameters, Inset and Params. Believe that all inset
1137 controllers can be derived from this with the minimum of effort.
1139 * ControlBibitem.[Ch]:
1140 * ControlBibtex.[Ch]:
1141 * ControlCitation.[Ch]:
1142 * ControlCommand.[Ch]: moved most code into ControlInset.
1144 * lots of files. Moved protected stuff into private where possible.
1146 * ControlError.[Ch]:
1147 * ControlInclude.[Ch]:
1148 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1149 Include and Url popups, respectively.
1152 * Makefile.am: associated changes.
1154 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1159 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1161 * ControlCredits.C (getCredits): remove std:: qualifier for
1164 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1166 * ControlCredits.C (getCredits): add std:: on vector
1168 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1170 * ControlCredits.C: remove using that is only used once, use
1171 std::ios instead of std::iosbase, add some annoying comments.
1173 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1175 * lots of header files: improved explanatory notes.
1177 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1178 ControlBase is now a class that only controls the interaction of the
1179 View with the ButtonController.
1181 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1182 to ControlConnectBase. The class controls the connection/disconnection
1183 of signals from the LyX kernel and makes available the kernel (through
1184 lv_) to daughter controller classes.
1185 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1187 * ControlDialogs.h: new file. Contains the definition of two template
1188 controller classes, ControlDialog and ControlInset (was
1189 ControlConnectInset). ControlInset is a parent class for controllers
1190 of inset-popups. ControlDialogs is the rather uninspired name for
1191 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1192 ControlDialogs is reaching a state of maturity as several popups now use
1193 it and its functionality becomes clear. ControlInset is still in a state
1194 of flux. It is likely that functionality will be moved out of
1195 ControlCommands and into it.
1197 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1198 individual Controller header files and into one place. These classes
1199 serve only as convenient wrappers to simplify code in the respective
1200 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1202 * ControlCharacter.[Ch] (show, update, hide):
1203 * ControlLog.[Ch] (show, update, hide):
1204 * ControlVCLog.[Ch] (show, update, hide): moved back into
1205 the ControlDialogs base class.
1206 (setParams, clearParams): new methods containing controller-specific
1207 code to set/reset the parameters manipulated by the view.
1209 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1211 (hide): calls clearParams.
1213 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1214 by ControlCommand::hide().
1216 * ControlCopyright.[Ch]:
1217 * ControlCredits.[Ch]: new files; controllers for the copyright and
1218 credits popups, respectively.
1220 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1222 * ControlCharacter.C: fix typo
1224 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1226 * ControlCharacter.[Ch]: new files; controller for the character popup.
1228 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1229 moved to new files helper_funcs.[Ch].
1231 * helper_funcs.[Ch]: new files. Some useful helper functions and
1234 * Makefile.am: added new files.
1236 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1238 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1240 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1243 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1244 Control log files, respectively.
1246 * Makefile.am: added new files.
1248 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1252 * Makefile.am: added ControlBibtex.[Ch].
1254 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1257 * ControlCitation.C: added "using SigC::slot" declaration.
1259 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1260 to FormCitation.C prior to the merger: "Do not put space between
1263 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1265 * several files: remove CXX_WORKING_NAMESPACES
1267 * ButtonController.h: noncopyable is in namespace boost
1268 * ButtonPolicies.h: ditto
1270 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1272 * Merging changes from BRANCH_MVC back into HEAD.
1274 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1276 * Makefile.am: add ControlBibitem.[Ch].
1278 * ControlBibitem.[Ch]: new files that together define the Controller
1279 for a Bibitem popup.
1281 * ControlCommand.h (c-tor): give kb_action a default value of
1284 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1286 * ControlCitation.[Ch]: moved search functions out of class.
1287 (bibkeysInfo): new method. Returns const reference to private data.
1288 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1291 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ControlCitation.[Ch]: added Search functions to the class,
1294 (shamelessly lifted from Marco's gnome code). I think that these would
1295 be better as helper functions outside the class, but this is a first
1298 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1300 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1302 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1303 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1304 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1305 implementation of FormCitation.
1307 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1309 * ButtonPolicies.h: add SMI_NOOP to enum.
1311 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1313 * ButtonController.C (input): add "optimising" if-statement. Actually,
1314 things don't work correctly without it...
1316 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1318 * ViewBase.h: remove #pragma directive
1320 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1323 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1327 * Makefile.am: added ButtonPolicies.[Ch]
1329 * ButtonController.[Ch]: ButtonController is split into
1330 ButtonControllerBase and a template ButtonController class. The base
1331 class no longer stores a pointer to a ButtonPolicy, but instead
1332 accesses the actual instantiation of the policy through a pure virtual
1333 method bp(). This method and the ButtonPolicy itself are instantiated
1334 in the templatised ButtonController class. This class is derived from
1335 the GUI-specific GUIBC class, meaning that the frontends know
1336 nothing about the actual policy decided upon by the controllers.
1338 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1339 Instead the actual instantiations are accessed through pure virtual
1340 methods view() and bc(). The daughter classes are responsible for the
1341 actual View and ButtonController.
1343 * ControlCitation.h: the templatised class GUICitation instantiates
1344 the methods view() and bc(). It also stores the instances of the
1345 View and ButtonController.
1347 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1349 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1350 also changed to ButtonController.
1353 * ControlConnections.[Ch]:
1354 * ControlCommand.[Ch]:
1355 * ControlCitation.[Ch]:
1356 * ViewBase.h: Changes associated with this.
1358 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1360 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1361 xforms/ButtonController class into a GUI-I class (here) and an
1362 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1364 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1365 from which all Dialog Controllers should be derived. the Controllers
1366 are GUI-independent, but are designed to control the behaviour of
1367 GUI-specific implementaions of each dialog.
1369 * ControlConnections.[Ch]: new files. Classes controlling the
1370 connections of buffer-independent, buffer-dependent and Inset dialogs
1371 with the LyX kernel.
1373 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1374 InsetCommand subset of insets.
1376 * ControlCitation.[Ch]: new files. The test specialisation! A
1377 controller for the Citation dialog.
1379 * ViewBase.h: new file. ViewBase is an abstract base class from which
1380 GUI-specific dialogs should be derived. The functionality that the GUIs
1381 must now implement is much reduced.