1 2002-05-13 Herbert Voss <voss@perce.de>
3 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
4 like "Odland, G. and ... "
5 (parseBibTeX): fix bug with title and booktitle
6 and replace a \n with a space when one entry has more than
9 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
11 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
12 "No change" and "Reset".
14 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
15 them at the front of the list.
17 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
19 * ControlGraphics.C: add some comments to the char * arrays.
20 Make rorigin_size const.
22 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
24 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
25 Enables the gui's to internationalise these strings.
27 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
29 * frnt_lang.C: fix build
31 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
33 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
34 If the the caller is the character dialog, add "No change" and "Reset"
35 to the vector, else don't.
36 Internationalise the GUI strings here rather than in the different
38 Sort the translated strings, albeit simply.
40 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
42 * character.[Ch]: rename namespace character as namespace frnt.
44 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
45 as several dialogs will use this info. The function now returns a
46 vector<LanguagePair> where LanguagePair is a display string and an
47 identifying string. The display string is internationalised.
49 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
50 the identifying strings, "No change" and "Reset".
52 * Makefile.am: add frnt_lang.[Ch].
54 2002-04-25 Herbert Voss <voss@lyx.org>
56 * ControlSendto.C (allFormats): don't add the graphics extensions to the
59 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
61 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
62 BibTeX databases in a WYSIWYM way.
64 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
66 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
67 way past his use-by date.
68 Make use of the improved info from Buffer::getBibkeyList when using
69 \bibliography. Enables us to provide natbib support in this case too.
71 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
73 * ControlGraphics.C: pass the browseFile dialog a string of only those
74 formats that can currently be loaded by LyX.
76 2002-04-15 Herbert Voss <voss@perce.de>
78 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
79 with something like ,,...blah...`` (two commas)
81 2002-04-14 Herbert Voss <voss@perce.de>
83 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
84 into the support/lstrings for better use in other programs.
86 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
87 namespace anon and make globally accessible.
88 (familyName): test for the presence of a LaTeX Space at the front of
89 of a name; strip it if it exists.
91 2002-04-11 Herbert Voss <voss@perce.de>
93 * ControlGraphics.C: expand "browse-string" to all available formats
95 2002-04-11 Herbert Voss <voss@perce.de>
97 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
99 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
101 * ControlAboutlyx.C (getVersion): two _() forgotten
103 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
107 * ControlBibtex.C: make N_() be _()
109 2002-04-07 Herbert Voss <voss@perce.de>
111 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
113 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
115 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
116 used when reading the BB.
118 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
120 * ControlGraphics.C (readBB): Don't open the ifstrem and then
121 check the format from the contents (and open a second ifstream in the
122 process. One at a time please.
124 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlRef.C (getBufferNum): squash warning message.
128 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
130 * ControlBibtex.C (Browse):
131 * ControlGraphics.C (Browse):
132 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
134 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
136 * ControlGraphics.C (applyParamsToInset): pass filepath to
137 InsetGraphics::updateInset.
139 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * most files: ws cleanup
143 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
145 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
148 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
151 * ControlInclude.C: better error messages
153 2002-03-11 Herbert Voss <voss@lyx.org>
155 * biblio.C (parseBibTeX): fix another minibug with an
158 2002-03-10 Herbert Voss <voss@lyx.org>
160 * biblio.C (parseBibTeX): fix bug
161 (familyName): improve parsing
163 2002-03-09 Herbert Voss <voss@lyx.org>
165 * ControlGraphics.[Ch]: adding checkFilename() for testing
166 of non-existing files
168 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * ControlSendto.C (allFormats): fix a iterators are not pointers
173 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
175 * ControlShowFile.h: add a #include "LString.h"
177 2002-03-05 Herbert Voss <voss@lyx.org>
179 * biblio.C (getInfo): simplify if using paragraph layout
182 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
184 * biblio.C (getInfo): return the info field correctly if the key
186 (parseBibTeX): fix crash when data.find('=') returns string::npos.
188 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
190 * ControlForks.[Ch]: new files. A controller for the Forked Child
191 processes dialog, enabling the user to see what forked processes
192 are running, and, if he so desires, to kill them.
194 * GUI.h: add class GUIForks.
196 * Makefile.am: add ControlForks.[Ch].
198 * ControlGraphics.C (getParams): small change due to change in
201 2002-02-21 Herbert Voss <voss@lyx.org>
203 * biblio.C: fix bug with commentlines in a bibentry
205 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * Makefile.am: simpler obj. file compile
209 2002-02-18 Herbert Voss <voss@lyx.org>
211 * ControlGraphics.[Ch]: remove help-file call
213 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
215 * helper_funcs.h: wrap the structs firster and seconder up in a
216 namespace to avoid clashes with those in lyxalgo,h.
218 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
219 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
221 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
223 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
226 change Systemcalls::System to Systemcalls::Wait and
227 No change of functionality, just reflects the stripped down Systemcalls
230 2002-02-06 Herbert Voss <voss@lyx.org>
232 * ControlGraphics.[C] (readBB): search also in
233 g'zipped files. If it is useful than PK and compress
234 should also be supported. use unzipFile() from
237 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
239 * ControlRef.C (getBufferName): new method to get a real buffer
242 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
244 * ControlTexInfo.[Ch]: Removed Help functions.
246 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
248 * ControlSpellchecker.C: clear any selection left
251 2002-02-01 Herbert Voss <voss@lyx.org>
253 * ControlGraphics.[C] (readBB): search only, if it is a
254 ".?ps" file and look for bb's at end of file
256 2002-01-30 Herbert Voss <voss@lyx.org>
258 * ControlGraphic.[C]: do not search the whole file, when
261 2002-01-29 Herbert Voss <voss@lyx.org>
263 * ControlGraphic.[C]: added a button for document path
264 when browsing -> bug 222
266 2002-01-27 Herbert Voss <voss@lyx.org>
268 * ControlGraphic.[Ch]: added support for Bounding Box, other
271 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
274 * ControlTexinfo.h: added #include "LString.h" where they belong.
276 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
279 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
281 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
283 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
286 2002-01-20 Herbert Voss <voss@perce.de>
288 * ControlInclude.[Ch]: better control of unexistings files
289 when entered without the browser
291 * ControlGraphic.C (Browse): add extension "ps" when browsing for
294 2002-01-19 Herbert Voss <voss@perce.de>
296 * biblio.C (getInfo): fix bug when no author is given
298 * biblio.C (parseBibTeX): change the parsing, so that
299 '#'-characters in a bibtex entry are no more a problem.
301 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
303 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
304 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
306 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
308 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
310 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
312 * ControlExternal.C (Browse): add a std:: qualifier
314 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
316 * ControlExternal.C (Browse): simplify to use browseRelFile
318 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
320 * ButtonController.tmpl: added // -*- C++ -*-
322 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
323 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
324 Needed in _one_ of the ControlCommand-derived classes only.
326 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlSearch.h: #include LString.h
331 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
333 * ButtonController.h: split into two. The definition remains in
334 ButtonController.h, the declaration is now in ButtonController.tmpl.
335 These template methods should be #included when the derived class is
336 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
337 and in the qt2 and gnome equivalents.
339 * ControlDialogs.h: removed. The definition of class ControlDialog is
340 now to be found in ControlDialog.h and the declaration of the methods
341 is in ControlDialog.tmpl. The two template instantiations are performed
342 in ControlDialog_impl.[Ch], new files also.
344 * ControlInset.h: split into two. The definition remains in
345 ControlInset.h, the declaration is now in ControlInset.tmpl.
346 These template methods should be #included derived class is
347 instantiated, in this case in 8 other .C files in this directory.
349 * ControlAboutlyx.[Ch]:
350 * ControlCharacter.[Ch]:
360 * ControlPreamble.[Ch]:
362 * ControlSearch.[Ch]:
363 * ControlShowFile.[Ch]:
364 * ControlSpellchecker.[Ch]:
365 * ControlTabularCreate.[Ch]:
366 * ControlTexinfo.[Ch]:
367 * ControlThesaurus.[Ch]:
368 * ControlVCLog.[Ch]: small changes associated with the above ones.
370 * GUI.h: #include the ButtonController and dialog controller files
371 here, rather than forward declare them. This is the correct place
374 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
375 Rename ControlDialogs.h as ControlDialog.h.
376 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
379 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
383 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
385 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
388 * ControlGraphics.C (Browse): remove overzealous shortcut
390 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
392 * FormMinipage.C (apply, update): MinipageParams::width renamed
393 as MinipageParams::pageWidth. InsetMinipage::width renamed
394 as InsetMinipage::pageWidth.
396 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * ButtonController.h (refreshReadOnly): use explicit typename
400 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
402 * helper_funcs.h (browseFile): add default empty button descriptions.
404 * ControlGraphics.C (Browse):
405 * ControlBibtex.C (Browse):
406 * ControlInclude.C (Browse): add shortcuts to directory buttons
408 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
410 * ControlThesaurus.h:
411 * ControlThesaurus.C: update to Aiksaurus 0.14
413 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlSpellchecker.C (clearParams): show the closing message
416 only if some words have been checked, thereby fixing
419 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
421 * ControlFloat.[Ch]: changes to prevent here definitely being used
424 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
426 * ControlThesaurus.h: do not include <config.h> in header files
428 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
430 * ControlToc.C: changes for floatlist
432 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
434 * ControlVCLog.C: use _()
436 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
441 2001-10-22 Juergen Vigna <jug@sad.it>
443 * ControlSpellchecker.C (clearParams): use the error_ message of the
444 speller_ if available when the spellchecker died.
445 (setParams): remove double error message display.
447 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
449 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
451 * helper_funcs.[Ch] (getLatexUnits): see above.
453 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * ControlTexinfo.C (getContents): use the right file for .sty files
457 2001-10-10 Herbert Voss <voss@perce.de>
459 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
460 and some more stuff from FormTexinfo.C
462 * ControlShowFile.C: hiding the update-button
464 2001-10-09 Herbert Voss <voss@perce.de>
466 * ControlTexinfo.[Ch]: new files. Display information about the
467 installed texfiles (cls,sty,bst).
469 * ControlShowFile.[Ch]: new files. Display the contents of a file.
471 * GUI.h: added classes GUIShowFile and GUITexinfo.
473 * Makefile.am: modified appropriately.
475 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
477 * ControlAboutlyx.C (getVersion): use lyx_version and
478 lyx_release_date instead of old macros
480 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
482 * ControlSpellchecker.C (check): Behaves well now when the spell
483 library doesn't know a replacement to an incorrect word.
485 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
487 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
488 the correct place. Can now check spelling more than once!
490 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlSplash.[Ch]: removed.
494 * GUI.h: remove GUISplash class.
496 * ViewBase.h: remove ViewSplash class.
498 * Makefile.am: remove ControlSplash.[Ch].
500 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlButtons.h: add variable emergency_exit_. If set to true, the
503 view will be shut down.
506 * ControlInset.h: act on emergency_exit_.
508 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
509 speller fails to launch.
511 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
514 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
516 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
518 * ControlRef.h (disconnectOnApply): new method. Set to true.
519 Perhaps make this user-modifiable?
521 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
523 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
526 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
528 * ControlRef.C (getBufferList, getBufferNum): New methods
530 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
533 of the dialog when the Apply button is pressed. Defaults to false,
534 but can be overridden in the daughter classes.
536 * ControlCitation.h (disconnectOnApply): new method. Set to true.
537 Perhaps make this user-modifiable?
539 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
541 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
542 we have dialogs that update their contents when the buffer changes.
543 Rather embarassing, really!
545 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlSearch (replace): change semantics of replace to NOT move on
548 to the next instance of a word once the present instance has been
549 replaced unless we are replacing ALL instances of the word.
551 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
553 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
555 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
557 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
558 dialog, set all options to "reset", close the dialog, re-open it ->
559 the options are set incorrectly.
561 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
562 When Applying it's useful to know whether the dialog is about to close
563 or not (no point refreshing the display for example).
565 * ControlInset.C (apply): use isClosing.
567 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
570 * ControlDialogs.h: remove bc() hack, now fixed in
571 Qt2 frontend. use member dialog_built_ instead of shared
574 * ButtonController.h:
575 * ButtonPolicies.C: more debug info
577 * ButtonControllerBase.C: call refresh() when setting readOnly !
579 * GUI.h: External form has apply, use the right policy
581 * character.C: fix two off-by-one errors when latex font was removed
583 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
585 * ControlInset.h (apply): tentative fix for the press Apply multiple
586 times and get multiple new Insets problem.
588 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
590 * ControlCharacter.C: fix typo
594 * ControlInsets.C: make sure dialog is built before it is shown, so
595 it works properly the very first time it is shown
597 2001-08-20 Herbert Voss <voss@perce.de>
599 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
600 and styles. Added an option for "bibliography into toc"
602 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
604 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
605 LaTeX is no longer a font property.
607 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
609 * GUI.h: Button controller for Reference dialog changed to
610 NoRepeatedApplyReadOnlyPolicy.
612 * biblio.C (getInfo): output volume and number info. Move year to end
615 2001-08-09 Allan Rae <rae@lyx.org>
617 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
619 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
621 * helper_funcs.C (getVectorFromString): fixed small bug.
623 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
625 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
627 * ControlSpellchecker.C: check next word after insert in personal dict
629 2001-08-06 Juergen Vigna <jug@sad.it>
631 * ControlERT.[Ch]: new file
633 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
635 * ControlInset.h: const and non-const forms of params().
637 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
638 whitespace from either side of each item.
640 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
642 * ControlFloat.h: add a != operator for FloatParams.
643 Lars, how did you get this to compile!!!
645 * ControlMinipage.[Ch]: uncommented someone's commenting out of
646 operator != for MinipageParams. Who's changing stuff and not compiling?
648 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
653 * GUI.h: add class GUIFloat
655 * ControlFloat.[Ch]: new files
657 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
659 * ControlPrint.C: #include Lassert.h here.
661 2001-07-26 Baruch Even <baruch@lyx.org>
663 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
666 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
668 * ControlThesaurus.h:
669 * ControlThesaurus.C:
671 * Makefile.am: thesaurus support
673 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
676 * ControlInclude.C: implement ability to load file
678 2001-07-18 Juergen Vigna <jug@sad.it>
680 * ControlSearch.C (replace): changes to lyxfind.h function calls.
682 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
684 * biblio.C (getInfo): add a .c_str() to handle the usual
687 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
689 * ControlCitation.[Ch]: changes associated with adding natbib support.
690 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
691 New static variable citeStyles_.
693 * biblio.[Ch]: large internal rearrangement.
694 New public enum CiteStyle.
695 New public struct CitationStyle.
696 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
697 getNumericalStrings, getAuthorYearStrings
698 (simpleSearch, regexSearch): no longer publicly accessible.
700 * helper_funcs.C (getStringFromVector): bug fix.
702 2001-07-16 Baruch Even <baruch@lyx.org>
704 * ControlVCLog.h: Added Lsstream.h to includes.
706 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
708 * ControlSpellchecker.[Ch]: remove d-tor.
710 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
712 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
714 2001-07-16 Juergen Vigna <jug@sad.it>
716 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
717 compiled with USE_PSPELL) to be able to switch between ISpell and
720 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
722 Consistent use of Lsstream.h:
723 * ControlAboutlyx.[Ch] (getCredits):
724 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
726 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
728 * ControlCredits.[Ch]: removed
729 * ControlCopyright.[Ch]: removed
730 * ControlAboutlyx.[Ch]: added (replaces previous)
731 * GUI.h: removed credits and copyright added about lyx stuff
733 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
735 * ControlSpellchecker.C (getSuggestion):
736 (getWord): add std:: qualifier
738 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
740 * ControlSpellchecker.[Ch]: added
741 * ViewBase.h: added partialUpdate(int) member
742 * GUI.h: added spell stuff
744 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
746 * ControlExternal.C: (*it). -> it->
748 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
750 * ButtonController.h: move some included header files out of the
751 frontends and into here.
753 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
755 * ControlCharacter.C (c-tor): cosmetic name change of signal.
757 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
759 * *.[h]: added // -*- C++ -*-
760 * *.[C]: removed // -*- C++ -*-
762 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
763 activate Apply button.
764 (clearParams): removed.
765 font_ is now stored as a boost::scoped_ptr.
766 font_ is no longer deleted on hide(), so it's contents can now be used
767 by the Font button on the toolbar.
768 Lots of new methods so that the GUI can easily get the contents of
769 font_ when it update()s.
771 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
773 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
774 crash when the Font button on the Toolbar is pressed.
776 * GUI.h: change policy of Character button controller to
777 OkApplyCancelReadOnlyPolicy.
779 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * ControlToc.C (getContents): don't add anything to the list if it
782 is supposed to be empty.
784 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
786 * helper_funcs.C (getVectorFromString): bug fix.
788 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
791 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
792 from ButtonControllerBase::readOnly. Updates the state of the widgets
793 in the read-only list only when the read-only status of the document
795 (refresh): moved this stuff into refreshReadOnly.
797 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
799 * ControlPrint.C (c-tor):
800 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
802 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
805 * character.h: small clean-ups.
807 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
809 * ControlToc.C (getType): remove support for old float list.
811 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
813 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
814 * ControlGraphics.h: no longer include insetgraphicsParams.h
815 * ControlInset.h: no longer include LyXView.h
820 * ControlCharacter.C:
823 * ControlConnections.C:
824 * ControlCopyright.C:
836 * ControlTabularCreate.C:
838 * ControlVCLog.C: they're now in here!
840 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * ButtonControllerBase.h: C++ mode, inherit privately from
844 * ButtonPolicies.h: ditto
846 * ButtonController.h: C++ mode, swap init order of restore_ and
849 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
851 * ControlTabularCreate.h:
852 * ControlTabularCreate.C: make dialogs use a pair of uints
856 * ControlVCLog.C: fill a stringstream with the log contents
859 * ControlExternal.C: from Angus, clone the new InsetExternal
862 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
864 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
865 and made more robust.
867 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
876 * ControlCopyright.C: include gettext.h
878 * ControlCharacter.C:
879 * character.C: include gettext.h and language.h
881 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
883 * ButtonController.h:
884 * ButtonControllerBase.h:
885 * ButtonControllerBase.C:
892 * ControlConnections.h:
898 * ViewBase.h: s/ControlButton/ControlButtons/
900 s/UndoAll/Restore/ + associated
902 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlToc.[Ch]: new files; a controller for the TOC popup.
907 * Makefile.am: associated changes with all of the above.
909 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlExternal.C: bug fixes. Can now apply changes to the inset
912 and edit, view, update the External Material correctly. I hope!
914 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
916 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
918 * BCTemplates.h: renamed as ButtonController.h
920 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
923 * ControlConnections.h: associated change in #include and class names.
925 * ControlExternal.[Ch]: new files; a controller for the External
929 * Makefile.am: associated changes with all of the above.
931 * ControlGraphics.[Ch]:
932 * ControlInclude.[Ch]:
935 (Browse): new method. Returns the results of a FileDialog browse.
937 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
938 (getVectorFromString): fixed bug.
940 * biblio.C (simpleSearch): cleaned up.
942 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
944 * A slight reworking of Baruch Even's ButtonController patch.
946 * BCTemplates.h: new file; all the templates for the ButtonController.
947 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
948 to the more generic setButtonLabel().
950 * ButtonController.[Ch]: renamed cancel_label and close_label as
951 cancel_label_ and close_label_.
953 * Makefile.am: added BCTemplates.h
955 2001-03-29 Juergen Vigna <jug@sad.it>
957 * ControlMinipage.C: removed widthp_ and all it's functions and changed
958 to use new %-lengths of LyXLength.
960 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
962 * ControlCitation.C (bibkeysInfo): removed Assert.
964 * ControlCopyright.h: moved GUICopyright into GUI.h
968 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
970 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
971 (setDaughterParams): a (by default empty) new method called in show().
980 * ControlUrl.h (clearDaughterParams): removed
982 * ControlMinipage.C (applyParamsToInset): update the view.
983 Added namespace minipage containing a helper function getUnits.
985 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
987 * ControlCharacter.[Ch]: moved out all the helper functions and the
988 enum into their own file.
989 * character.[Ch]: new files; contain the character helper functions,
990 now inside namespace character.
992 * ControlCitation.[Ch]: moved out all the helper functions and the
993 enums into their own file. Simplified interface.
994 * biblio.[Ch]: new files; contain the citation helper functions,
995 now inside namespace biblio. Will be of use also to an improved
998 * ControlGraphics.[Ch]:
999 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1000 popups, respectively.
1003 * Makefile.am: associated changes.
1005 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1007 * ControlMinipage.[Ch]:
1008 * ControlPreamble.[Ch]:
1009 * ControlPrint.[Ch]:
1010 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1011 and Print popups and Splash screen, respectively.
1013 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1017 * Makefile.am: associated changes.
1019 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1021 * ControlConnections.[Ch]: (docType): new method; returns the type
1022 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1025 * ControlSearch.[Ch]:
1026 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1027 Search and TabularCreate popups, respectively.
1030 * Makefile.am: associated changes.
1032 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1037 * ControlInset.h (apply): fix bug. Can now create new insets again.
1039 * README: describe program flow.
1041 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1043 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1045 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1047 * ControlDialogs.h: moved class ControlInset into its own file.
1049 * ControlInset.h: new file. class ControlInset has been expanded to take
1050 two template parameters, Inset and Params. Believe that all inset
1051 controllers can be derived from this with the minimum of effort.
1053 * ControlBibitem.[Ch]:
1054 * ControlBibtex.[Ch]:
1055 * ControlCitation.[Ch]:
1056 * ControlCommand.[Ch]: moved most code into ControlInset.
1058 * lots of files. Moved protected stuff into private where possible.
1060 * ControlError.[Ch]:
1061 * ControlInclude.[Ch]:
1062 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1063 Include and Url popups, respectively.
1066 * Makefile.am: associated changes.
1068 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1073 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1075 * ControlCredits.C (getCredits): remove std:: qualifier for
1078 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1080 * ControlCredits.C (getCredits): add std:: on vector
1082 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1084 * ControlCredits.C: remove using that is only used once, use
1085 std::ios instead of std::iosbase, add some annoying comments.
1087 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1089 * lots of header files: improved explanatory notes.
1091 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1092 ControlBase is now a class that only controls the interaction of the
1093 View with the ButtonController.
1095 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1096 to ControlConnectBase. The class controls the connection/disconnection
1097 of signals from the LyX kernel and makes available the kernel (through
1098 lv_) to daughter controller classes.
1099 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1101 * ControlDialogs.h: new file. Contains the definition of two template
1102 controller classes, ControlDialog and ControlInset (was
1103 ControlConnectInset). ControlInset is a parent class for controllers
1104 of inset-popups. ControlDialogs is the rather uninspired name for
1105 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1106 ControlDialogs is reaching a state of maturity as several popups now use
1107 it and its functionality becomes clear. ControlInset is still in a state
1108 of flux. It is likely that functionality will be moved out of
1109 ControlCommands and into it.
1111 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1112 individual Controller header files and into one place. These classes
1113 serve only as convenient wrappers to simplify code in the respective
1114 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1116 * ControlCharacter.[Ch] (show, update, hide):
1117 * ControlLog.[Ch] (show, update, hide):
1118 * ControlVCLog.[Ch] (show, update, hide): moved back into
1119 the ControlDialogs base class.
1120 (setParams, clearParams): new methods containing controller-specific
1121 code to set/reset the parameters manipulated by the view.
1123 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1125 (hide): calls clearParams.
1127 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1128 by ControlCommand::hide().
1130 * ControlCopyright.[Ch]:
1131 * ControlCredits.[Ch]: new files; controllers for the copyright and
1132 credits popups, respectively.
1134 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1136 * ControlCharacter.C: fix typo
1138 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1140 * ControlCharacter.[Ch]: new files; controller for the character popup.
1142 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1143 moved to new files helper_funcs.[Ch].
1145 * helper_funcs.[Ch]: new files. Some useful helper functions and
1148 * Makefile.am: added new files.
1150 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1152 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1154 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1157 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1158 Control log files, respectively.
1160 * Makefile.am: added new files.
1162 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1164 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1166 * Makefile.am: added ControlBibtex.[Ch].
1168 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1171 * ControlCitation.C: added "using SigC::slot" declaration.
1173 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1174 to FormCitation.C prior to the merger: "Do not put space between
1177 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1179 * several files: remove CXX_WORKING_NAMESPACES
1181 * ButtonController.h: noncopyable is in namespace boost
1182 * ButtonPolicies.h: ditto
1184 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1186 * Merging changes from BRANCH_MVC back into HEAD.
1188 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1190 * Makefile.am: add ControlBibitem.[Ch].
1192 * ControlBibitem.[Ch]: new files that together define the Controller
1193 for a Bibitem popup.
1195 * ControlCommand.h (c-tor): give kb_action a default value of
1198 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1200 * ControlCitation.[Ch]: moved search functions out of class.
1201 (bibkeysInfo): new method. Returns const reference to private data.
1202 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1205 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1207 * ControlCitation.[Ch]: added Search functions to the class,
1208 (shamelessly lifted from Marco's gnome code). I think that these would
1209 be better as helper functions outside the class, but this is a first
1212 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1214 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1216 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1217 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1218 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1219 implementation of FormCitation.
1221 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1223 * ButtonPolicies.h: add SMI_NOOP to enum.
1225 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1227 * ButtonController.C (input): add "optimising" if-statement. Actually,
1228 things don't work correctly without it...
1230 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1232 * ViewBase.h: remove #pragma directive
1234 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1237 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1239 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1241 * Makefile.am: added ButtonPolicies.[Ch]
1243 * ButtonController.[Ch]: ButtonController is split into
1244 ButtonControllerBase and a template ButtonController class. The base
1245 class no longer stores a pointer to a ButtonPolicy, but instead
1246 accesses the actual instantiation of the policy through a pure virtual
1247 method bp(). This method and the ButtonPolicy itself are instantiated
1248 in the templatised ButtonController class. This class is derived from
1249 the GUI-specific GUIBC class, meaning that the frontends know
1250 nothing about the actual policy decided upon by the controllers.
1252 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1253 Instead the actual instantiations are accessed through pure virtual
1254 methods view() and bc(). The daughter classes are responsible for the
1255 actual View and ButtonController.
1257 * ControlCitation.h: the templatised class GUICitation instantiates
1258 the methods view() and bc(). It also stores the instances of the
1259 View and ButtonController.
1261 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1263 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1264 also changed to ButtonController.
1267 * ControlConnections.[Ch]:
1268 * ControlCommand.[Ch]:
1269 * ControlCitation.[Ch]:
1270 * ViewBase.h: Changes associated with this.
1272 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1274 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1275 xforms/ButtonController class into a GUI-I class (here) and an
1276 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1278 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1279 from which all Dialog Controllers should be derived. the Controllers
1280 are GUI-independent, but are designed to control the behaviour of
1281 GUI-specific implementaions of each dialog.
1283 * ControlConnections.[Ch]: new files. Classes controlling the
1284 connections of buffer-independent, buffer-dependent and Inset dialogs
1285 with the LyX kernel.
1287 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1288 InsetCommand subset of insets.
1290 * ControlCitation.[Ch]: new files. The test specialisation! A
1291 controller for the Citation dialog.
1293 * ViewBase.h: new file. ViewBase is an abstract base class from which
1294 GUI-specific dialogs should be derived. The functionality that the GUIs
1295 must now implement is much reduced.