1 2002-06-07 Angus Leeming <leeming@lyx.org>
3 Fixes needed to compile with Compaq cxx 6.5.
4 * ControlDialog.tmpl: I have had to prefix base class methods with
7 * ControlInset.tmpl: #include a couple of headers.
9 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * switch from SigC signals to boost::signals
13 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15 * biblio.h: include vector
17 * biblio.C: change include order
18 (regexSearch): use boost regex and get rid of LRegex
20 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
28 * ControlConnections.C:
45 * ControlSpellchecker.C:
46 * ControlTabularCreate.C:
51 * ControlVCLog.C: LyXView moved into frontends
53 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * ControlExternal.C: add scoped_ptr.hpp
57 * ControlCharacter.h: use more specific smart_ptr header.
59 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
61 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
63 2002-05-13 Herbert Voss <voss@perce.de>
65 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
66 like "Odland, G. and ... "
67 (parseBibTeX): fix bug with title and booktitle
68 and replace a \n with a space when one entry has more than
71 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
73 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
74 "No change" and "Reset".
76 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
77 them at the front of the list.
79 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
81 * ControlGraphics.C: add some comments to the char * arrays.
82 Make rorigin_size const.
84 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
86 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
87 Enables the gui's to internationalise these strings.
89 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
91 * frnt_lang.C: fix build
93 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
95 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
96 If the the caller is the character dialog, add "No change" and "Reset"
97 to the vector, else don't.
98 Internationalise the GUI strings here rather than in the different
100 Sort the translated strings, albeit simply.
102 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
104 * character.[Ch]: rename namespace character as namespace frnt.
106 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
107 as several dialogs will use this info. The function now returns a
108 vector<LanguagePair> where LanguagePair is a display string and an
109 identifying string. The display string is internationalised.
111 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
112 the identifying strings, "No change" and "Reset".
114 * Makefile.am: add frnt_lang.[Ch].
116 2002-04-25 Herbert Voss <voss@lyx.org>
118 * ControlSendto.C (allFormats): don't add the graphics extensions to the
121 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
123 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
124 BibTeX databases in a WYSIWYM way.
126 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
128 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
129 way past his use-by date.
130 Make use of the improved info from Buffer::getBibkeyList when using
131 \bibliography. Enables us to provide natbib support in this case too.
133 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
135 * ControlGraphics.C: pass the browseFile dialog a string of only those
136 formats that can currently be loaded by LyX.
138 2002-04-15 Herbert Voss <voss@perce.de>
140 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
141 with something like ,,...blah...`` (two commas)
143 2002-04-14 Herbert Voss <voss@perce.de>
145 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
146 into the support/lstrings for better use in other programs.
148 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
149 namespace anon and make globally accessible.
150 (familyName): test for the presence of a LaTeX Space at the front of
151 of a name; strip it if it exists.
153 2002-04-11 Herbert Voss <voss@perce.de>
155 * ControlGraphics.C: expand "browse-string" to all available formats
157 2002-04-11 Herbert Voss <voss@perce.de>
159 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
161 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
163 * ControlAboutlyx.C (getVersion): two _() forgotten
165 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
169 * ControlBibtex.C: make N_() be _()
171 2002-04-07 Herbert Voss <voss@perce.de>
173 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
175 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
178 used when reading the BB.
180 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
182 * ControlGraphics.C (readBB): Don't open the ifstrem and then
183 check the format from the contents (and open a second ifstream in the
184 process. One at a time please.
186 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
188 * ControlRef.C (getBufferNum): squash warning message.
190 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
192 * ControlBibtex.C (Browse):
193 * ControlGraphics.C (Browse):
194 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
196 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
198 * ControlGraphics.C (applyParamsToInset): pass filepath to
199 InsetGraphics::updateInset.
201 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * most files: ws cleanup
205 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
207 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
210 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
213 * ControlInclude.C: better error messages
215 2002-03-11 Herbert Voss <voss@lyx.org>
217 * biblio.C (parseBibTeX): fix another minibug with an
220 2002-03-10 Herbert Voss <voss@lyx.org>
222 * biblio.C (parseBibTeX): fix bug
223 (familyName): improve parsing
225 2002-03-09 Herbert Voss <voss@lyx.org>
227 * ControlGraphics.[Ch]: adding checkFilename() for testing
228 of non-existing files
230 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
232 * ControlSendto.C (allFormats): fix a iterators are not pointers
235 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
237 * ControlShowFile.h: add a #include "LString.h"
239 2002-03-05 Herbert Voss <voss@lyx.org>
241 * biblio.C (getInfo): simplify if using paragraph layout
244 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
246 * biblio.C (getInfo): return the info field correctly if the key
248 (parseBibTeX): fix crash when data.find('=') returns string::npos.
250 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
252 * ControlForks.[Ch]: new files. A controller for the Forked Child
253 processes dialog, enabling the user to see what forked processes
254 are running, and, if he so desires, to kill them.
256 * GUI.h: add class GUIForks.
258 * Makefile.am: add ControlForks.[Ch].
260 * ControlGraphics.C (getParams): small change due to change in
263 2002-02-21 Herbert Voss <voss@lyx.org>
265 * biblio.C: fix bug with commentlines in a bibentry
267 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
269 * Makefile.am: simpler obj. file compile
271 2002-02-18 Herbert Voss <voss@lyx.org>
273 * ControlGraphics.[Ch]: remove help-file call
275 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
277 * helper_funcs.h: wrap the structs firster and seconder up in a
278 namespace to avoid clashes with those in lyxalgo,h.
280 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
281 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
283 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
285 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
288 change Systemcalls::System to Systemcalls::Wait and
289 No change of functionality, just reflects the stripped down Systemcalls
292 2002-02-06 Herbert Voss <voss@lyx.org>
294 * ControlGraphics.[C] (readBB): search also in
295 g'zipped files. If it is useful than PK and compress
296 should also be supported. use unzipFile() from
299 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
301 * ControlRef.C (getBufferName): new method to get a real buffer
304 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
306 * ControlTexInfo.[Ch]: Removed Help functions.
308 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
310 * ControlSpellchecker.C: clear any selection left
313 2002-02-01 Herbert Voss <voss@lyx.org>
315 * ControlGraphics.[C] (readBB): search only, if it is a
316 ".?ps" file and look for bb's at end of file
318 2002-01-30 Herbert Voss <voss@lyx.org>
320 * ControlGraphic.[C]: do not search the whole file, when
323 2002-01-29 Herbert Voss <voss@lyx.org>
325 * ControlGraphic.[C]: added a button for document path
326 when browsing -> bug 222
328 2002-01-27 Herbert Voss <voss@lyx.org>
330 * ControlGraphic.[Ch]: added support for Bounding Box, other
333 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
336 * ControlTexinfo.h: added #include "LString.h" where they belong.
338 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
341 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
343 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
348 2002-01-20 Herbert Voss <voss@perce.de>
350 * ControlInclude.[Ch]: better control of unexistings files
351 when entered without the browser
353 * ControlGraphic.C (Browse): add extension "ps" when browsing for
356 2002-01-19 Herbert Voss <voss@perce.de>
358 * biblio.C (getInfo): fix bug when no author is given
360 * biblio.C (parseBibTeX): change the parsing, so that
361 '#'-characters in a bibtex entry are no more a problem.
363 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
365 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
366 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
368 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
370 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
372 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
374 * ControlExternal.C (Browse): add a std:: qualifier
376 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
378 * ControlExternal.C (Browse): simplify to use browseRelFile
380 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
382 * ButtonController.tmpl: added // -*- C++ -*-
384 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
385 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
386 Needed in _one_ of the ControlCommand-derived classes only.
388 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlSearch.h: #include LString.h
393 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
395 * ButtonController.h: split into two. The definition remains in
396 ButtonController.h, the declaration is now in ButtonController.tmpl.
397 These template methods should be #included when the derived class is
398 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
399 and in the qt2 and gnome equivalents.
401 * ControlDialogs.h: removed. The definition of class ControlDialog is
402 now to be found in ControlDialog.h and the declaration of the methods
403 is in ControlDialog.tmpl. The two template instantiations are performed
404 in ControlDialog_impl.[Ch], new files also.
406 * ControlInset.h: split into two. The definition remains in
407 ControlInset.h, the declaration is now in ControlInset.tmpl.
408 These template methods should be #included derived class is
409 instantiated, in this case in 8 other .C files in this directory.
411 * ControlAboutlyx.[Ch]:
412 * ControlCharacter.[Ch]:
422 * ControlPreamble.[Ch]:
424 * ControlSearch.[Ch]:
425 * ControlShowFile.[Ch]:
426 * ControlSpellchecker.[Ch]:
427 * ControlTabularCreate.[Ch]:
428 * ControlTexinfo.[Ch]:
429 * ControlThesaurus.[Ch]:
430 * ControlVCLog.[Ch]: small changes associated with the above ones.
432 * GUI.h: #include the ButtonController and dialog controller files
433 here, rather than forward declare them. This is the correct place
436 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
437 Rename ControlDialogs.h as ControlDialog.h.
438 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
441 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
445 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
447 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
450 * ControlGraphics.C (Browse): remove overzealous shortcut
452 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
454 * FormMinipage.C (apply, update): MinipageParams::width renamed
455 as MinipageParams::pageWidth. InsetMinipage::width renamed
456 as InsetMinipage::pageWidth.
458 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * ButtonController.h (refreshReadOnly): use explicit typename
462 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
464 * helper_funcs.h (browseFile): add default empty button descriptions.
466 * ControlGraphics.C (Browse):
467 * ControlBibtex.C (Browse):
468 * ControlInclude.C (Browse): add shortcuts to directory buttons
470 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
472 * ControlThesaurus.h:
473 * ControlThesaurus.C: update to Aiksaurus 0.14
475 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
477 * ControlSpellchecker.C (clearParams): show the closing message
478 only if some words have been checked, thereby fixing
481 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
483 * ControlFloat.[Ch]: changes to prevent here definitely being used
486 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
488 * ControlThesaurus.h: do not include <config.h> in header files
490 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
492 * ControlToc.C: changes for floatlist
494 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
496 * ControlVCLog.C: use _()
498 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
500 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
503 2001-10-22 Juergen Vigna <jug@sad.it>
505 * ControlSpellchecker.C (clearParams): use the error_ message of the
506 speller_ if available when the spellchecker died.
507 (setParams): remove double error message display.
509 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
511 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
513 * helper_funcs.[Ch] (getLatexUnits): see above.
515 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * ControlTexinfo.C (getContents): use the right file for .sty files
519 2001-10-10 Herbert Voss <voss@perce.de>
521 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
522 and some more stuff from FormTexinfo.C
524 * ControlShowFile.C: hiding the update-button
526 2001-10-09 Herbert Voss <voss@perce.de>
528 * ControlTexinfo.[Ch]: new files. Display information about the
529 installed texfiles (cls,sty,bst).
531 * ControlShowFile.[Ch]: new files. Display the contents of a file.
533 * GUI.h: added classes GUIShowFile and GUITexinfo.
535 * Makefile.am: modified appropriately.
537 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
539 * ControlAboutlyx.C (getVersion): use lyx_version and
540 lyx_release_date instead of old macros
542 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
544 * ControlSpellchecker.C (check): Behaves well now when the spell
545 library doesn't know a replacement to an incorrect word.
547 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
549 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
550 the correct place. Can now check spelling more than once!
552 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
554 * ControlSplash.[Ch]: removed.
556 * GUI.h: remove GUISplash class.
558 * ViewBase.h: remove ViewSplash class.
560 * Makefile.am: remove ControlSplash.[Ch].
562 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
564 * ControlButtons.h: add variable emergency_exit_. If set to true, the
565 view will be shut down.
568 * ControlInset.h: act on emergency_exit_.
570 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
571 speller fails to launch.
573 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
576 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
578 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
580 * ControlRef.h (disconnectOnApply): new method. Set to true.
581 Perhaps make this user-modifiable?
583 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
588 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
590 * ControlRef.C (getBufferList, getBufferNum): New methods
592 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
594 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
595 of the dialog when the Apply button is pressed. Defaults to false,
596 but can be overridden in the daughter classes.
598 * ControlCitation.h (disconnectOnApply): new method. Set to true.
599 Perhaps make this user-modifiable?
601 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
603 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
604 we have dialogs that update their contents when the buffer changes.
605 Rather embarassing, really!
607 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlSearch (replace): change semantics of replace to NOT move on
610 to the next instance of a word once the present instance has been
611 replaced unless we are replacing ALL instances of the word.
613 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
615 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
617 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
619 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
620 dialog, set all options to "reset", close the dialog, re-open it ->
621 the options are set incorrectly.
623 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
624 When Applying it's useful to know whether the dialog is about to close
625 or not (no point refreshing the display for example).
627 * ControlInset.C (apply): use isClosing.
629 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
632 * ControlDialogs.h: remove bc() hack, now fixed in
633 Qt2 frontend. use member dialog_built_ instead of shared
636 * ButtonController.h:
637 * ButtonPolicies.C: more debug info
639 * ButtonControllerBase.C: call refresh() when setting readOnly !
641 * GUI.h: External form has apply, use the right policy
643 * character.C: fix two off-by-one errors when latex font was removed
645 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
647 * ControlInset.h (apply): tentative fix for the press Apply multiple
648 times and get multiple new Insets problem.
650 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
652 * ControlCharacter.C: fix typo
656 * ControlInsets.C: make sure dialog is built before it is shown, so
657 it works properly the very first time it is shown
659 2001-08-20 Herbert Voss <voss@perce.de>
661 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
662 and styles. Added an option for "bibliography into toc"
664 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
666 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
667 LaTeX is no longer a font property.
669 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
671 * GUI.h: Button controller for Reference dialog changed to
672 NoRepeatedApplyReadOnlyPolicy.
674 * biblio.C (getInfo): output volume and number info. Move year to end
677 2001-08-09 Allan Rae <rae@lyx.org>
679 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
681 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
683 * helper_funcs.C (getVectorFromString): fixed small bug.
685 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
687 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
689 * ControlSpellchecker.C: check next word after insert in personal dict
691 2001-08-06 Juergen Vigna <jug@sad.it>
693 * ControlERT.[Ch]: new file
695 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
697 * ControlInset.h: const and non-const forms of params().
699 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
700 whitespace from either side of each item.
702 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
704 * ControlFloat.h: add a != operator for FloatParams.
705 Lars, how did you get this to compile!!!
707 * ControlMinipage.[Ch]: uncommented someone's commenting out of
708 operator != for MinipageParams. Who's changing stuff and not compiling?
710 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
712 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
715 * GUI.h: add class GUIFloat
717 * ControlFloat.[Ch]: new files
719 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
721 * ControlPrint.C: #include Lassert.h here.
723 2001-07-26 Baruch Even <baruch@lyx.org>
725 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
728 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
730 * ControlThesaurus.h:
731 * ControlThesaurus.C:
733 * Makefile.am: thesaurus support
735 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
738 * ControlInclude.C: implement ability to load file
740 2001-07-18 Juergen Vigna <jug@sad.it>
742 * ControlSearch.C (replace): changes to lyxfind.h function calls.
744 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
746 * biblio.C (getInfo): add a .c_str() to handle the usual
749 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
751 * ControlCitation.[Ch]: changes associated with adding natbib support.
752 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
753 New static variable citeStyles_.
755 * biblio.[Ch]: large internal rearrangement.
756 New public enum CiteStyle.
757 New public struct CitationStyle.
758 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
759 getNumericalStrings, getAuthorYearStrings
760 (simpleSearch, regexSearch): no longer publicly accessible.
762 * helper_funcs.C (getStringFromVector): bug fix.
764 2001-07-16 Baruch Even <baruch@lyx.org>
766 * ControlVCLog.h: Added Lsstream.h to includes.
768 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
770 * ControlSpellchecker.[Ch]: remove d-tor.
772 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
774 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
776 2001-07-16 Juergen Vigna <jug@sad.it>
778 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
779 compiled with USE_PSPELL) to be able to switch between ISpell and
782 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
784 Consistent use of Lsstream.h:
785 * ControlAboutlyx.[Ch] (getCredits):
786 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
788 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
790 * ControlCredits.[Ch]: removed
791 * ControlCopyright.[Ch]: removed
792 * ControlAboutlyx.[Ch]: added (replaces previous)
793 * GUI.h: removed credits and copyright added about lyx stuff
795 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
797 * ControlSpellchecker.C (getSuggestion):
798 (getWord): add std:: qualifier
800 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
802 * ControlSpellchecker.[Ch]: added
803 * ViewBase.h: added partialUpdate(int) member
804 * GUI.h: added spell stuff
806 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
808 * ControlExternal.C: (*it). -> it->
810 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
812 * ButtonController.h: move some included header files out of the
813 frontends and into here.
815 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
817 * ControlCharacter.C (c-tor): cosmetic name change of signal.
819 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
821 * *.[h]: added // -*- C++ -*-
822 * *.[C]: removed // -*- C++ -*-
824 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
825 activate Apply button.
826 (clearParams): removed.
827 font_ is now stored as a boost::scoped_ptr.
828 font_ is no longer deleted on hide(), so it's contents can now be used
829 by the Font button on the toolbar.
830 Lots of new methods so that the GUI can easily get the contents of
831 font_ when it update()s.
833 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
836 crash when the Font button on the Toolbar is pressed.
838 * GUI.h: change policy of Character button controller to
839 OkApplyCancelReadOnlyPolicy.
841 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
843 * ControlToc.C (getContents): don't add anything to the list if it
844 is supposed to be empty.
846 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
848 * helper_funcs.C (getVectorFromString): bug fix.
850 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
853 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
854 from ButtonControllerBase::readOnly. Updates the state of the widgets
855 in the read-only list only when the read-only status of the document
857 (refresh): moved this stuff into refreshReadOnly.
859 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
861 * ControlPrint.C (c-tor):
862 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
864 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
867 * character.h: small clean-ups.
869 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * ControlToc.C (getType): remove support for old float list.
873 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
875 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
876 * ControlGraphics.h: no longer include insetgraphicsParams.h
877 * ControlInset.h: no longer include LyXView.h
882 * ControlCharacter.C:
885 * ControlConnections.C:
886 * ControlCopyright.C:
898 * ControlTabularCreate.C:
900 * ControlVCLog.C: they're now in here!
902 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
904 * ButtonControllerBase.h: C++ mode, inherit privately from
906 * ButtonPolicies.h: ditto
908 * ButtonController.h: C++ mode, swap init order of restore_ and
911 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
913 * ControlTabularCreate.h:
914 * ControlTabularCreate.C: make dialogs use a pair of uints
918 * ControlVCLog.C: fill a stringstream with the log contents
921 * ControlExternal.C: from Angus, clone the new InsetExternal
924 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
926 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
927 and made more robust.
929 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
938 * ControlCopyright.C: include gettext.h
940 * ControlCharacter.C:
941 * character.C: include gettext.h and language.h
943 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
945 * ButtonController.h:
946 * ButtonControllerBase.h:
947 * ButtonControllerBase.C:
954 * ControlConnections.h:
960 * ViewBase.h: s/ControlButton/ControlButtons/
962 s/UndoAll/Restore/ + associated
964 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
966 * ControlToc.[Ch]: new files; a controller for the TOC popup.
969 * Makefile.am: associated changes with all of the above.
971 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
973 * ControlExternal.C: bug fixes. Can now apply changes to the inset
974 and edit, view, update the External Material correctly. I hope!
976 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
978 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
980 * BCTemplates.h: renamed as ButtonController.h
982 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
985 * ControlConnections.h: associated change in #include and class names.
987 * ControlExternal.[Ch]: new files; a controller for the External
991 * Makefile.am: associated changes with all of the above.
993 * ControlGraphics.[Ch]:
994 * ControlInclude.[Ch]:
997 (Browse): new method. Returns the results of a FileDialog browse.
999 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1000 (getVectorFromString): fixed bug.
1002 * biblio.C (simpleSearch): cleaned up.
1004 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1006 * A slight reworking of Baruch Even's ButtonController patch.
1008 * BCTemplates.h: new file; all the templates for the ButtonController.
1009 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1010 to the more generic setButtonLabel().
1012 * ButtonController.[Ch]: renamed cancel_label and close_label as
1013 cancel_label_ and close_label_.
1015 * Makefile.am: added BCTemplates.h
1017 2001-03-29 Juergen Vigna <jug@sad.it>
1019 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1020 to use new %-lengths of LyXLength.
1022 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1024 * ControlCitation.C (bibkeysInfo): removed Assert.
1026 * ControlCopyright.h: moved GUICopyright into GUI.h
1030 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1032 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1033 (setDaughterParams): a (by default empty) new method called in show().
1039 * ControlMinipage.h:
1042 * ControlUrl.h (clearDaughterParams): removed
1044 * ControlMinipage.C (applyParamsToInset): update the view.
1045 Added namespace minipage containing a helper function getUnits.
1047 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1049 * ControlCharacter.[Ch]: moved out all the helper functions and the
1050 enum into their own file.
1051 * character.[Ch]: new files; contain the character helper functions,
1052 now inside namespace character.
1054 * ControlCitation.[Ch]: moved out all the helper functions and the
1055 enums into their own file. Simplified interface.
1056 * biblio.[Ch]: new files; contain the citation helper functions,
1057 now inside namespace biblio. Will be of use also to an improved
1060 * ControlGraphics.[Ch]:
1061 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1062 popups, respectively.
1065 * Makefile.am: associated changes.
1067 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlMinipage.[Ch]:
1070 * ControlPreamble.[Ch]:
1071 * ControlPrint.[Ch]:
1072 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1073 and Print popups and Splash screen, respectively.
1075 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1079 * Makefile.am: associated changes.
1081 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1083 * ControlConnections.[Ch]: (docType): new method; returns the type
1084 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1087 * ControlSearch.[Ch]:
1088 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1089 Search and TabularCreate popups, respectively.
1092 * Makefile.am: associated changes.
1094 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1096 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1099 * ControlInset.h (apply): fix bug. Can now create new insets again.
1101 * README: describe program flow.
1103 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1105 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1107 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlDialogs.h: moved class ControlInset into its own file.
1111 * ControlInset.h: new file. class ControlInset has been expanded to take
1112 two template parameters, Inset and Params. Believe that all inset
1113 controllers can be derived from this with the minimum of effort.
1115 * ControlBibitem.[Ch]:
1116 * ControlBibtex.[Ch]:
1117 * ControlCitation.[Ch]:
1118 * ControlCommand.[Ch]: moved most code into ControlInset.
1120 * lots of files. Moved protected stuff into private where possible.
1122 * ControlError.[Ch]:
1123 * ControlInclude.[Ch]:
1124 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1125 Include and Url popups, respectively.
1128 * Makefile.am: associated changes.
1130 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1135 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1137 * ControlCredits.C (getCredits): remove std:: qualifier for
1140 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1142 * ControlCredits.C (getCredits): add std:: on vector
1144 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1146 * ControlCredits.C: remove using that is only used once, use
1147 std::ios instead of std::iosbase, add some annoying comments.
1149 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1151 * lots of header files: improved explanatory notes.
1153 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1154 ControlBase is now a class that only controls the interaction of the
1155 View with the ButtonController.
1157 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1158 to ControlConnectBase. The class controls the connection/disconnection
1159 of signals from the LyX kernel and makes available the kernel (through
1160 lv_) to daughter controller classes.
1161 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1163 * ControlDialogs.h: new file. Contains the definition of two template
1164 controller classes, ControlDialog and ControlInset (was
1165 ControlConnectInset). ControlInset is a parent class for controllers
1166 of inset-popups. ControlDialogs is the rather uninspired name for
1167 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1168 ControlDialogs is reaching a state of maturity as several popups now use
1169 it and its functionality becomes clear. ControlInset is still in a state
1170 of flux. It is likely that functionality will be moved out of
1171 ControlCommands and into it.
1173 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1174 individual Controller header files and into one place. These classes
1175 serve only as convenient wrappers to simplify code in the respective
1176 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1178 * ControlCharacter.[Ch] (show, update, hide):
1179 * ControlLog.[Ch] (show, update, hide):
1180 * ControlVCLog.[Ch] (show, update, hide): moved back into
1181 the ControlDialogs base class.
1182 (setParams, clearParams): new methods containing controller-specific
1183 code to set/reset the parameters manipulated by the view.
1185 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1187 (hide): calls clearParams.
1189 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1190 by ControlCommand::hide().
1192 * ControlCopyright.[Ch]:
1193 * ControlCredits.[Ch]: new files; controllers for the copyright and
1194 credits popups, respectively.
1196 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1198 * ControlCharacter.C: fix typo
1200 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1202 * ControlCharacter.[Ch]: new files; controller for the character popup.
1204 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1205 moved to new files helper_funcs.[Ch].
1207 * helper_funcs.[Ch]: new files. Some useful helper functions and
1210 * Makefile.am: added new files.
1212 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1214 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1216 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1219 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1220 Control log files, respectively.
1222 * Makefile.am: added new files.
1224 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1226 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1228 * Makefile.am: added ControlBibtex.[Ch].
1230 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ControlCitation.C: added "using SigC::slot" declaration.
1235 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1236 to FormCitation.C prior to the merger: "Do not put space between
1239 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1241 * several files: remove CXX_WORKING_NAMESPACES
1243 * ButtonController.h: noncopyable is in namespace boost
1244 * ButtonPolicies.h: ditto
1246 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1248 * Merging changes from BRANCH_MVC back into HEAD.
1250 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1252 * Makefile.am: add ControlBibitem.[Ch].
1254 * ControlBibitem.[Ch]: new files that together define the Controller
1255 for a Bibitem popup.
1257 * ControlCommand.h (c-tor): give kb_action a default value of
1260 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1262 * ControlCitation.[Ch]: moved search functions out of class.
1263 (bibkeysInfo): new method. Returns const reference to private data.
1264 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1267 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1269 * ControlCitation.[Ch]: added Search functions to the class,
1270 (shamelessly lifted from Marco's gnome code). I think that these would
1271 be better as helper functions outside the class, but this is a first
1274 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1276 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1278 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1279 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1280 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1281 implementation of FormCitation.
1283 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1285 * ButtonPolicies.h: add SMI_NOOP to enum.
1287 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1289 * ButtonController.C (input): add "optimising" if-statement. Actually,
1290 things don't work correctly without it...
1292 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1294 * ViewBase.h: remove #pragma directive
1296 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1299 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1301 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1303 * Makefile.am: added ButtonPolicies.[Ch]
1305 * ButtonController.[Ch]: ButtonController is split into
1306 ButtonControllerBase and a template ButtonController class. The base
1307 class no longer stores a pointer to a ButtonPolicy, but instead
1308 accesses the actual instantiation of the policy through a pure virtual
1309 method bp(). This method and the ButtonPolicy itself are instantiated
1310 in the templatised ButtonController class. This class is derived from
1311 the GUI-specific GUIBC class, meaning that the frontends know
1312 nothing about the actual policy decided upon by the controllers.
1314 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1315 Instead the actual instantiations are accessed through pure virtual
1316 methods view() and bc(). The daughter classes are responsible for the
1317 actual View and ButtonController.
1319 * ControlCitation.h: the templatised class GUICitation instantiates
1320 the methods view() and bc(). It also stores the instances of the
1321 View and ButtonController.
1323 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1326 also changed to ButtonController.
1329 * ControlConnections.[Ch]:
1330 * ControlCommand.[Ch]:
1331 * ControlCitation.[Ch]:
1332 * ViewBase.h: Changes associated with this.
1334 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1336 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1337 xforms/ButtonController class into a GUI-I class (here) and an
1338 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1340 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1341 from which all Dialog Controllers should be derived. the Controllers
1342 are GUI-independent, but are designed to control the behaviour of
1343 GUI-specific implementaions of each dialog.
1345 * ControlConnections.[Ch]: new files. Classes controlling the
1346 connections of buffer-independent, buffer-dependent and Inset dialogs
1347 with the LyX kernel.
1349 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1350 InsetCommand subset of insets.
1352 * ControlCitation.[Ch]: new files. The test specialisation! A
1353 controller for the Citation dialog.
1355 * ViewBase.h: new file. ViewBase is an abstract base class from which
1356 GUI-specific dialogs should be derived. The functionality that the GUIs
1357 must now implement is much reduced.