1 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * switch from SigC signals to boost::signals
5 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * biblio.h: include vector
9 * biblio.C: change include order
10 (regexSearch): use boost regex and get rid of LRegex
12 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
20 * ControlConnections.C:
37 * ControlSpellchecker.C:
38 * ControlTabularCreate.C:
43 * ControlVCLog.C: LyXView moved into frontends
45 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * ControlExternal.C: add scoped_ptr.hpp
49 * ControlCharacter.h: use more specific smart_ptr header.
51 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
53 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
55 2002-05-13 Herbert Voss <voss@perce.de>
57 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
58 like "Odland, G. and ... "
59 (parseBibTeX): fix bug with title and booktitle
60 and replace a \n with a space when one entry has more than
63 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
65 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
66 "No change" and "Reset".
68 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
69 them at the front of the list.
71 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
73 * ControlGraphics.C: add some comments to the char * arrays.
74 Make rorigin_size const.
76 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
78 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
79 Enables the gui's to internationalise these strings.
81 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
83 * frnt_lang.C: fix build
85 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
87 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
88 If the the caller is the character dialog, add "No change" and "Reset"
89 to the vector, else don't.
90 Internationalise the GUI strings here rather than in the different
92 Sort the translated strings, albeit simply.
94 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
96 * character.[Ch]: rename namespace character as namespace frnt.
98 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
99 as several dialogs will use this info. The function now returns a
100 vector<LanguagePair> where LanguagePair is a display string and an
101 identifying string. The display string is internationalised.
103 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
104 the identifying strings, "No change" and "Reset".
106 * Makefile.am: add frnt_lang.[Ch].
108 2002-04-25 Herbert Voss <voss@lyx.org>
110 * ControlSendto.C (allFormats): don't add the graphics extensions to the
113 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
115 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
116 BibTeX databases in a WYSIWYM way.
118 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
120 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
121 way past his use-by date.
122 Make use of the improved info from Buffer::getBibkeyList when using
123 \bibliography. Enables us to provide natbib support in this case too.
125 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
127 * ControlGraphics.C: pass the browseFile dialog a string of only those
128 formats that can currently be loaded by LyX.
130 2002-04-15 Herbert Voss <voss@perce.de>
132 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
133 with something like ,,...blah...`` (two commas)
135 2002-04-14 Herbert Voss <voss@perce.de>
137 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
138 into the support/lstrings for better use in other programs.
140 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
141 namespace anon and make globally accessible.
142 (familyName): test for the presence of a LaTeX Space at the front of
143 of a name; strip it if it exists.
145 2002-04-11 Herbert Voss <voss@perce.de>
147 * ControlGraphics.C: expand "browse-string" to all available formats
149 2002-04-11 Herbert Voss <voss@perce.de>
151 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
153 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
155 * ControlAboutlyx.C (getVersion): two _() forgotten
157 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
161 * ControlBibtex.C: make N_() be _()
163 2002-04-07 Herbert Voss <voss@perce.de>
165 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
167 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
170 used when reading the BB.
172 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlGraphics.C (readBB): Don't open the ifstrem and then
175 check the format from the contents (and open a second ifstream in the
176 process. One at a time please.
178 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
180 * ControlRef.C (getBufferNum): squash warning message.
182 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
184 * ControlBibtex.C (Browse):
185 * ControlGraphics.C (Browse):
186 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
188 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
190 * ControlGraphics.C (applyParamsToInset): pass filepath to
191 InsetGraphics::updateInset.
193 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
195 * most files: ws cleanup
197 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
199 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
202 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
205 * ControlInclude.C: better error messages
207 2002-03-11 Herbert Voss <voss@lyx.org>
209 * biblio.C (parseBibTeX): fix another minibug with an
212 2002-03-10 Herbert Voss <voss@lyx.org>
214 * biblio.C (parseBibTeX): fix bug
215 (familyName): improve parsing
217 2002-03-09 Herbert Voss <voss@lyx.org>
219 * ControlGraphics.[Ch]: adding checkFilename() for testing
220 of non-existing files
222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * ControlSendto.C (allFormats): fix a iterators are not pointers
227 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
229 * ControlShowFile.h: add a #include "LString.h"
231 2002-03-05 Herbert Voss <voss@lyx.org>
233 * biblio.C (getInfo): simplify if using paragraph layout
236 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
238 * biblio.C (getInfo): return the info field correctly if the key
240 (parseBibTeX): fix crash when data.find('=') returns string::npos.
242 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlForks.[Ch]: new files. A controller for the Forked Child
245 processes dialog, enabling the user to see what forked processes
246 are running, and, if he so desires, to kill them.
248 * GUI.h: add class GUIForks.
250 * Makefile.am: add ControlForks.[Ch].
252 * ControlGraphics.C (getParams): small change due to change in
255 2002-02-21 Herbert Voss <voss@lyx.org>
257 * biblio.C: fix bug with commentlines in a bibentry
259 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * Makefile.am: simpler obj. file compile
263 2002-02-18 Herbert Voss <voss@lyx.org>
265 * ControlGraphics.[Ch]: remove help-file call
267 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
269 * helper_funcs.h: wrap the structs firster and seconder up in a
270 namespace to avoid clashes with those in lyxalgo,h.
272 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
273 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
275 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
277 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
280 change Systemcalls::System to Systemcalls::Wait and
281 No change of functionality, just reflects the stripped down Systemcalls
284 2002-02-06 Herbert Voss <voss@lyx.org>
286 * ControlGraphics.[C] (readBB): search also in
287 g'zipped files. If it is useful than PK and compress
288 should also be supported. use unzipFile() from
291 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
293 * ControlRef.C (getBufferName): new method to get a real buffer
296 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
298 * ControlTexInfo.[Ch]: Removed Help functions.
300 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
302 * ControlSpellchecker.C: clear any selection left
305 2002-02-01 Herbert Voss <voss@lyx.org>
307 * ControlGraphics.[C] (readBB): search only, if it is a
308 ".?ps" file and look for bb's at end of file
310 2002-01-30 Herbert Voss <voss@lyx.org>
312 * ControlGraphic.[C]: do not search the whole file, when
315 2002-01-29 Herbert Voss <voss@lyx.org>
317 * ControlGraphic.[C]: added a button for document path
318 when browsing -> bug 222
320 2002-01-27 Herbert Voss <voss@lyx.org>
322 * ControlGraphic.[Ch]: added support for Bounding Box, other
325 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
328 * ControlTexinfo.h: added #include "LString.h" where they belong.
330 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
335 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
337 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
340 2002-01-20 Herbert Voss <voss@perce.de>
342 * ControlInclude.[Ch]: better control of unexistings files
343 when entered without the browser
345 * ControlGraphic.C (Browse): add extension "ps" when browsing for
348 2002-01-19 Herbert Voss <voss@perce.de>
350 * biblio.C (getInfo): fix bug when no author is given
352 * biblio.C (parseBibTeX): change the parsing, so that
353 '#'-characters in a bibtex entry are no more a problem.
355 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
357 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
358 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
360 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
362 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
366 * ControlExternal.C (Browse): add a std:: qualifier
368 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
370 * ControlExternal.C (Browse): simplify to use browseRelFile
372 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
374 * ButtonController.tmpl: added // -*- C++ -*-
376 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
377 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
378 Needed in _one_ of the ControlCommand-derived classes only.
380 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
383 * ControlSearch.h: #include LString.h
385 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
387 * ButtonController.h: split into two. The definition remains in
388 ButtonController.h, the declaration is now in ButtonController.tmpl.
389 These template methods should be #included when the derived class is
390 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
391 and in the qt2 and gnome equivalents.
393 * ControlDialogs.h: removed. The definition of class ControlDialog is
394 now to be found in ControlDialog.h and the declaration of the methods
395 is in ControlDialog.tmpl. The two template instantiations are performed
396 in ControlDialog_impl.[Ch], new files also.
398 * ControlInset.h: split into two. The definition remains in
399 ControlInset.h, the declaration is now in ControlInset.tmpl.
400 These template methods should be #included derived class is
401 instantiated, in this case in 8 other .C files in this directory.
403 * ControlAboutlyx.[Ch]:
404 * ControlCharacter.[Ch]:
414 * ControlPreamble.[Ch]:
416 * ControlSearch.[Ch]:
417 * ControlShowFile.[Ch]:
418 * ControlSpellchecker.[Ch]:
419 * ControlTabularCreate.[Ch]:
420 * ControlTexinfo.[Ch]:
421 * ControlThesaurus.[Ch]:
422 * ControlVCLog.[Ch]: small changes associated with the above ones.
424 * GUI.h: #include the ButtonController and dialog controller files
425 here, rather than forward declare them. This is the correct place
428 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
429 Rename ControlDialogs.h as ControlDialog.h.
430 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
433 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
435 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
437 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
439 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
442 * ControlGraphics.C (Browse): remove overzealous shortcut
444 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
446 * FormMinipage.C (apply, update): MinipageParams::width renamed
447 as MinipageParams::pageWidth. InsetMinipage::width renamed
448 as InsetMinipage::pageWidth.
450 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * ButtonController.h (refreshReadOnly): use explicit typename
454 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
456 * helper_funcs.h (browseFile): add default empty button descriptions.
458 * ControlGraphics.C (Browse):
459 * ControlBibtex.C (Browse):
460 * ControlInclude.C (Browse): add shortcuts to directory buttons
462 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
464 * ControlThesaurus.h:
465 * ControlThesaurus.C: update to Aiksaurus 0.14
467 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlSpellchecker.C (clearParams): show the closing message
470 only if some words have been checked, thereby fixing
473 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
475 * ControlFloat.[Ch]: changes to prevent here definitely being used
478 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
480 * ControlThesaurus.h: do not include <config.h> in header files
482 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
484 * ControlToc.C: changes for floatlist
486 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
488 * ControlVCLog.C: use _()
490 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
492 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
495 2001-10-22 Juergen Vigna <jug@sad.it>
497 * ControlSpellchecker.C (clearParams): use the error_ message of the
498 speller_ if available when the spellchecker died.
499 (setParams): remove double error message display.
501 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
503 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
505 * helper_funcs.[Ch] (getLatexUnits): see above.
507 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * ControlTexinfo.C (getContents): use the right file for .sty files
511 2001-10-10 Herbert Voss <voss@perce.de>
513 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
514 and some more stuff from FormTexinfo.C
516 * ControlShowFile.C: hiding the update-button
518 2001-10-09 Herbert Voss <voss@perce.de>
520 * ControlTexinfo.[Ch]: new files. Display information about the
521 installed texfiles (cls,sty,bst).
523 * ControlShowFile.[Ch]: new files. Display the contents of a file.
525 * GUI.h: added classes GUIShowFile and GUITexinfo.
527 * Makefile.am: modified appropriately.
529 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
531 * ControlAboutlyx.C (getVersion): use lyx_version and
532 lyx_release_date instead of old macros
534 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
536 * ControlSpellchecker.C (check): Behaves well now when the spell
537 library doesn't know a replacement to an incorrect word.
539 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
541 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
542 the correct place. Can now check spelling more than once!
544 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
546 * ControlSplash.[Ch]: removed.
548 * GUI.h: remove GUISplash class.
550 * ViewBase.h: remove ViewSplash class.
552 * Makefile.am: remove ControlSplash.[Ch].
554 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlButtons.h: add variable emergency_exit_. If set to true, the
557 view will be shut down.
560 * ControlInset.h: act on emergency_exit_.
562 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
563 speller fails to launch.
565 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
567 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
568 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
570 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlRef.h (disconnectOnApply): new method. Set to true.
573 Perhaps make this user-modifiable?
575 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
577 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
580 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
582 * ControlRef.C (getBufferList, getBufferNum): New methods
584 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
586 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
587 of the dialog when the Apply button is pressed. Defaults to false,
588 but can be overridden in the daughter classes.
590 * ControlCitation.h (disconnectOnApply): new method. Set to true.
591 Perhaps make this user-modifiable?
593 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
595 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
596 we have dialogs that update their contents when the buffer changes.
597 Rather embarassing, really!
599 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
601 * ControlSearch (replace): change semantics of replace to NOT move on
602 to the next instance of a word once the present instance has been
603 replaced unless we are replacing ALL instances of the word.
605 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
607 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
609 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
611 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
612 dialog, set all options to "reset", close the dialog, re-open it ->
613 the options are set incorrectly.
615 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
616 When Applying it's useful to know whether the dialog is about to close
617 or not (no point refreshing the display for example).
619 * ControlInset.C (apply): use isClosing.
621 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
624 * ControlDialogs.h: remove bc() hack, now fixed in
625 Qt2 frontend. use member dialog_built_ instead of shared
628 * ButtonController.h:
629 * ButtonPolicies.C: more debug info
631 * ButtonControllerBase.C: call refresh() when setting readOnly !
633 * GUI.h: External form has apply, use the right policy
635 * character.C: fix two off-by-one errors when latex font was removed
637 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
639 * ControlInset.h (apply): tentative fix for the press Apply multiple
640 times and get multiple new Insets problem.
642 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
644 * ControlCharacter.C: fix typo
648 * ControlInsets.C: make sure dialog is built before it is shown, so
649 it works properly the very first time it is shown
651 2001-08-20 Herbert Voss <voss@perce.de>
653 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
654 and styles. Added an option for "bibliography into toc"
656 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
658 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
659 LaTeX is no longer a font property.
661 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
663 * GUI.h: Button controller for Reference dialog changed to
664 NoRepeatedApplyReadOnlyPolicy.
666 * biblio.C (getInfo): output volume and number info. Move year to end
669 2001-08-09 Allan Rae <rae@lyx.org>
671 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
673 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
675 * helper_funcs.C (getVectorFromString): fixed small bug.
677 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
679 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
681 * ControlSpellchecker.C: check next word after insert in personal dict
683 2001-08-06 Juergen Vigna <jug@sad.it>
685 * ControlERT.[Ch]: new file
687 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
689 * ControlInset.h: const and non-const forms of params().
691 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
692 whitespace from either side of each item.
694 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
696 * ControlFloat.h: add a != operator for FloatParams.
697 Lars, how did you get this to compile!!!
699 * ControlMinipage.[Ch]: uncommented someone's commenting out of
700 operator != for MinipageParams. Who's changing stuff and not compiling?
702 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
704 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
707 * GUI.h: add class GUIFloat
709 * ControlFloat.[Ch]: new files
711 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
713 * ControlPrint.C: #include Lassert.h here.
715 2001-07-26 Baruch Even <baruch@lyx.org>
717 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
720 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
722 * ControlThesaurus.h:
723 * ControlThesaurus.C:
725 * Makefile.am: thesaurus support
727 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
730 * ControlInclude.C: implement ability to load file
732 2001-07-18 Juergen Vigna <jug@sad.it>
734 * ControlSearch.C (replace): changes to lyxfind.h function calls.
736 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
738 * biblio.C (getInfo): add a .c_str() to handle the usual
741 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
743 * ControlCitation.[Ch]: changes associated with adding natbib support.
744 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
745 New static variable citeStyles_.
747 * biblio.[Ch]: large internal rearrangement.
748 New public enum CiteStyle.
749 New public struct CitationStyle.
750 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
751 getNumericalStrings, getAuthorYearStrings
752 (simpleSearch, regexSearch): no longer publicly accessible.
754 * helper_funcs.C (getStringFromVector): bug fix.
756 2001-07-16 Baruch Even <baruch@lyx.org>
758 * ControlVCLog.h: Added Lsstream.h to includes.
760 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlSpellchecker.[Ch]: remove d-tor.
764 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
766 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
768 2001-07-16 Juergen Vigna <jug@sad.it>
770 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
771 compiled with USE_PSPELL) to be able to switch between ISpell and
774 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
776 Consistent use of Lsstream.h:
777 * ControlAboutlyx.[Ch] (getCredits):
778 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
780 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
782 * ControlCredits.[Ch]: removed
783 * ControlCopyright.[Ch]: removed
784 * ControlAboutlyx.[Ch]: added (replaces previous)
785 * GUI.h: removed credits and copyright added about lyx stuff
787 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
789 * ControlSpellchecker.C (getSuggestion):
790 (getWord): add std:: qualifier
792 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
794 * ControlSpellchecker.[Ch]: added
795 * ViewBase.h: added partialUpdate(int) member
796 * GUI.h: added spell stuff
798 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
800 * ControlExternal.C: (*it). -> it->
802 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
804 * ButtonController.h: move some included header files out of the
805 frontends and into here.
807 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
809 * ControlCharacter.C (c-tor): cosmetic name change of signal.
811 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
813 * *.[h]: added // -*- C++ -*-
814 * *.[C]: removed // -*- C++ -*-
816 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
817 activate Apply button.
818 (clearParams): removed.
819 font_ is now stored as a boost::scoped_ptr.
820 font_ is no longer deleted on hide(), so it's contents can now be used
821 by the Font button on the toolbar.
822 Lots of new methods so that the GUI can easily get the contents of
823 font_ when it update()s.
825 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
828 crash when the Font button on the Toolbar is pressed.
830 * GUI.h: change policy of Character button controller to
831 OkApplyCancelReadOnlyPolicy.
833 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * ControlToc.C (getContents): don't add anything to the list if it
836 is supposed to be empty.
838 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
840 * helper_funcs.C (getVectorFromString): bug fix.
842 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
845 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
846 from ButtonControllerBase::readOnly. Updates the state of the widgets
847 in the read-only list only when the read-only status of the document
849 (refresh): moved this stuff into refreshReadOnly.
851 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlPrint.C (c-tor):
854 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
856 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
859 * character.h: small clean-ups.
861 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
863 * ControlToc.C (getType): remove support for old float list.
865 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
868 * ControlGraphics.h: no longer include insetgraphicsParams.h
869 * ControlInset.h: no longer include LyXView.h
874 * ControlCharacter.C:
877 * ControlConnections.C:
878 * ControlCopyright.C:
890 * ControlTabularCreate.C:
892 * ControlVCLog.C: they're now in here!
894 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
896 * ButtonControllerBase.h: C++ mode, inherit privately from
898 * ButtonPolicies.h: ditto
900 * ButtonController.h: C++ mode, swap init order of restore_ and
903 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
905 * ControlTabularCreate.h:
906 * ControlTabularCreate.C: make dialogs use a pair of uints
910 * ControlVCLog.C: fill a stringstream with the log contents
913 * ControlExternal.C: from Angus, clone the new InsetExternal
916 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
918 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
919 and made more robust.
921 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
930 * ControlCopyright.C: include gettext.h
932 * ControlCharacter.C:
933 * character.C: include gettext.h and language.h
935 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
937 * ButtonController.h:
938 * ButtonControllerBase.h:
939 * ButtonControllerBase.C:
946 * ControlConnections.h:
952 * ViewBase.h: s/ControlButton/ControlButtons/
954 s/UndoAll/Restore/ + associated
956 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
958 * ControlToc.[Ch]: new files; a controller for the TOC popup.
961 * Makefile.am: associated changes with all of the above.
963 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
965 * ControlExternal.C: bug fixes. Can now apply changes to the inset
966 and edit, view, update the External Material correctly. I hope!
968 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
970 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
972 * BCTemplates.h: renamed as ButtonController.h
974 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
977 * ControlConnections.h: associated change in #include and class names.
979 * ControlExternal.[Ch]: new files; a controller for the External
983 * Makefile.am: associated changes with all of the above.
985 * ControlGraphics.[Ch]:
986 * ControlInclude.[Ch]:
989 (Browse): new method. Returns the results of a FileDialog browse.
991 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
992 (getVectorFromString): fixed bug.
994 * biblio.C (simpleSearch): cleaned up.
996 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
998 * A slight reworking of Baruch Even's ButtonController patch.
1000 * BCTemplates.h: new file; all the templates for the ButtonController.
1001 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1002 to the more generic setButtonLabel().
1004 * ButtonController.[Ch]: renamed cancel_label and close_label as
1005 cancel_label_ and close_label_.
1007 * Makefile.am: added BCTemplates.h
1009 2001-03-29 Juergen Vigna <jug@sad.it>
1011 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1012 to use new %-lengths of LyXLength.
1014 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1016 * ControlCitation.C (bibkeysInfo): removed Assert.
1018 * ControlCopyright.h: moved GUICopyright into GUI.h
1022 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1024 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1025 (setDaughterParams): a (by default empty) new method called in show().
1031 * ControlMinipage.h:
1034 * ControlUrl.h (clearDaughterParams): removed
1036 * ControlMinipage.C (applyParamsToInset): update the view.
1037 Added namespace minipage containing a helper function getUnits.
1039 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1041 * ControlCharacter.[Ch]: moved out all the helper functions and the
1042 enum into their own file.
1043 * character.[Ch]: new files; contain the character helper functions,
1044 now inside namespace character.
1046 * ControlCitation.[Ch]: moved out all the helper functions and the
1047 enums into their own file. Simplified interface.
1048 * biblio.[Ch]: new files; contain the citation helper functions,
1049 now inside namespace biblio. Will be of use also to an improved
1052 * ControlGraphics.[Ch]:
1053 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1054 popups, respectively.
1057 * Makefile.am: associated changes.
1059 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1061 * ControlMinipage.[Ch]:
1062 * ControlPreamble.[Ch]:
1063 * ControlPrint.[Ch]:
1064 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1065 and Print popups and Splash screen, respectively.
1067 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1071 * Makefile.am: associated changes.
1073 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1075 * ControlConnections.[Ch]: (docType): new method; returns the type
1076 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1079 * ControlSearch.[Ch]:
1080 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1081 Search and TabularCreate popups, respectively.
1084 * Makefile.am: associated changes.
1086 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1088 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1091 * ControlInset.h (apply): fix bug. Can now create new insets again.
1093 * README: describe program flow.
1095 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1097 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1099 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ControlDialogs.h: moved class ControlInset into its own file.
1103 * ControlInset.h: new file. class ControlInset has been expanded to take
1104 two template parameters, Inset and Params. Believe that all inset
1105 controllers can be derived from this with the minimum of effort.
1107 * ControlBibitem.[Ch]:
1108 * ControlBibtex.[Ch]:
1109 * ControlCitation.[Ch]:
1110 * ControlCommand.[Ch]: moved most code into ControlInset.
1112 * lots of files. Moved protected stuff into private where possible.
1114 * ControlError.[Ch]:
1115 * ControlInclude.[Ch]:
1116 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1117 Include and Url popups, respectively.
1120 * Makefile.am: associated changes.
1122 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1124 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1127 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1129 * ControlCredits.C (getCredits): remove std:: qualifier for
1132 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1134 * ControlCredits.C (getCredits): add std:: on vector
1136 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1138 * ControlCredits.C: remove using that is only used once, use
1139 std::ios instead of std::iosbase, add some annoying comments.
1141 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1143 * lots of header files: improved explanatory notes.
1145 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1146 ControlBase is now a class that only controls the interaction of the
1147 View with the ButtonController.
1149 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1150 to ControlConnectBase. The class controls the connection/disconnection
1151 of signals from the LyX kernel and makes available the kernel (through
1152 lv_) to daughter controller classes.
1153 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1155 * ControlDialogs.h: new file. Contains the definition of two template
1156 controller classes, ControlDialog and ControlInset (was
1157 ControlConnectInset). ControlInset is a parent class for controllers
1158 of inset-popups. ControlDialogs is the rather uninspired name for
1159 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1160 ControlDialogs is reaching a state of maturity as several popups now use
1161 it and its functionality becomes clear. ControlInset is still in a state
1162 of flux. It is likely that functionality will be moved out of
1163 ControlCommands and into it.
1165 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1166 individual Controller header files and into one place. These classes
1167 serve only as convenient wrappers to simplify code in the respective
1168 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1170 * ControlCharacter.[Ch] (show, update, hide):
1171 * ControlLog.[Ch] (show, update, hide):
1172 * ControlVCLog.[Ch] (show, update, hide): moved back into
1173 the ControlDialogs base class.
1174 (setParams, clearParams): new methods containing controller-specific
1175 code to set/reset the parameters manipulated by the view.
1177 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1179 (hide): calls clearParams.
1181 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1182 by ControlCommand::hide().
1184 * ControlCopyright.[Ch]:
1185 * ControlCredits.[Ch]: new files; controllers for the copyright and
1186 credits popups, respectively.
1188 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1190 * ControlCharacter.C: fix typo
1192 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1194 * ControlCharacter.[Ch]: new files; controller for the character popup.
1196 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1197 moved to new files helper_funcs.[Ch].
1199 * helper_funcs.[Ch]: new files. Some useful helper functions and
1202 * Makefile.am: added new files.
1204 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1206 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1208 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1212 Control log files, respectively.
1214 * Makefile.am: added new files.
1216 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1218 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1220 * Makefile.am: added ControlBibtex.[Ch].
1222 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1225 * ControlCitation.C: added "using SigC::slot" declaration.
1227 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1228 to FormCitation.C prior to the merger: "Do not put space between
1231 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1233 * several files: remove CXX_WORKING_NAMESPACES
1235 * ButtonController.h: noncopyable is in namespace boost
1236 * ButtonPolicies.h: ditto
1238 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1240 * Merging changes from BRANCH_MVC back into HEAD.
1242 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1244 * Makefile.am: add ControlBibitem.[Ch].
1246 * ControlBibitem.[Ch]: new files that together define the Controller
1247 for a Bibitem popup.
1249 * ControlCommand.h (c-tor): give kb_action a default value of
1252 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1254 * ControlCitation.[Ch]: moved search functions out of class.
1255 (bibkeysInfo): new method. Returns const reference to private data.
1256 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1259 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1261 * ControlCitation.[Ch]: added Search functions to the class,
1262 (shamelessly lifted from Marco's gnome code). I think that these would
1263 be better as helper functions outside the class, but this is a first
1266 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1268 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1270 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1271 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1272 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1273 implementation of FormCitation.
1275 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1277 * ButtonPolicies.h: add SMI_NOOP to enum.
1279 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1281 * ButtonController.C (input): add "optimising" if-statement. Actually,
1282 things don't work correctly without it...
1284 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1286 * ViewBase.h: remove #pragma directive
1288 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1291 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1295 * Makefile.am: added ButtonPolicies.[Ch]
1297 * ButtonController.[Ch]: ButtonController is split into
1298 ButtonControllerBase and a template ButtonController class. The base
1299 class no longer stores a pointer to a ButtonPolicy, but instead
1300 accesses the actual instantiation of the policy through a pure virtual
1301 method bp(). This method and the ButtonPolicy itself are instantiated
1302 in the templatised ButtonController class. This class is derived from
1303 the GUI-specific GUIBC class, meaning that the frontends know
1304 nothing about the actual policy decided upon by the controllers.
1306 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1307 Instead the actual instantiations are accessed through pure virtual
1308 methods view() and bc(). The daughter classes are responsible for the
1309 actual View and ButtonController.
1311 * ControlCitation.h: the templatised class GUICitation instantiates
1312 the methods view() and bc(). It also stores the instances of the
1313 View and ButtonController.
1315 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1317 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1318 also changed to ButtonController.
1321 * ControlConnections.[Ch]:
1322 * ControlCommand.[Ch]:
1323 * ControlCitation.[Ch]:
1324 * ViewBase.h: Changes associated with this.
1326 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1328 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1329 xforms/ButtonController class into a GUI-I class (here) and an
1330 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1332 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1333 from which all Dialog Controllers should be derived. the Controllers
1334 are GUI-independent, but are designed to control the behaviour of
1335 GUI-specific implementaions of each dialog.
1337 * ControlConnections.[Ch]: new files. Classes controlling the
1338 connections of buffer-independent, buffer-dependent and Inset dialogs
1339 with the LyX kernel.
1341 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1342 InsetCommand subset of insets.
1344 * ControlCitation.[Ch]: new files. The test specialisation! A
1345 controller for the Citation dialog.
1347 * ViewBase.h: new file. ViewBase is an abstract base class from which
1348 GUI-specific dialogs should be derived. The functionality that the GUIs
1349 must now implement is much reduced.