1 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
3 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
4 If the the caller is the character dialog, add "No change" and "Reset"
5 to the vector, else don't.
6 Internationalise the GUI strings here rather than in the different
8 Sort the translated strings, albeit simply.
10 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
12 * character.[Ch]: rename namespace character as namespace frnt.
14 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
15 as several dialogs will use this info. The function now returns a
16 vector<LanguagePair> where LanguagePair is a display string and an
17 identifying string. The display string is internationalised.
19 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
20 the identifying strings, "No change" and "Reset".
22 * Makefile.am: add frnt_lang.[Ch].
24 2002-04-25 Herbert Voss <voss@lyx.org>
26 * ControlSendto.C (allFormats): don't add the graphics extensions to the
29 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
31 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
32 BibTeX databases in a WYSIWYM way.
34 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
36 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
37 way past his use-by date.
38 Make use of the improved info from Buffer::getBibkeyList when using
39 \bibliography. Enables us to provide natbib support in this case too.
41 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
43 * ControlGraphics.C: pass the browseFile dialog a string of only those
44 formats that can currently be loaded by LyX.
46 2002-04-15 Herbert Voss <voss@perce.de>
48 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
49 with something like ,,...blah...`` (two commas)
51 2002-04-14 Herbert Voss <voss@perce.de>
53 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
54 into the support/lstrings for better use in other programs.
56 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
57 namespace anon and make globally accessible.
58 (familyName): test for the presence of a LaTeX Space at the front of
59 of a name; strip it if it exists.
61 2002-04-11 Herbert Voss <voss@perce.de>
63 * ControlGraphics.C: expand "browse-string" to all available formats
65 2002-04-11 Herbert Voss <voss@perce.de>
67 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
69 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
71 * ControlAboutlyx.C (getVersion): two _() forgotten
73 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
77 * ControlBibtex.C: make N_() be _()
79 2002-04-07 Herbert Voss <voss@perce.de>
81 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
83 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
85 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
86 used when reading the BB.
88 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
90 * ControlGraphics.C (readBB): Don't open the ifstrem and then
91 check the format from the contents (and open a second ifstream in the
92 process. One at a time please.
94 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlRef.C (getBufferNum): squash warning message.
98 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
100 * ControlBibtex.C (Browse):
101 * ControlGraphics.C (Browse):
102 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
104 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
106 * ControlGraphics.C (applyParamsToInset): pass filepath to
107 InsetGraphics::updateInset.
109 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
111 * most files: ws cleanup
113 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
115 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
118 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
121 * ControlInclude.C: better error messages
123 2002-03-11 Herbert Voss <voss@lyx.org>
125 * biblio.C (parseBibTeX): fix another minibug with an
128 2002-03-10 Herbert Voss <voss@lyx.org>
130 * biblio.C (parseBibTeX): fix bug
131 (familyName): improve parsing
133 2002-03-09 Herbert Voss <voss@lyx.org>
135 * ControlGraphics.[Ch]: adding checkFilename() for testing
136 of non-existing files
138 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
140 * ControlSendto.C (allFormats): fix a iterators are not pointers
143 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
145 * ControlShowFile.h: add a #include "LString.h"
147 2002-03-05 Herbert Voss <voss@lyx.org>
149 * biblio.C (getInfo): simplify if using paragraph layout
152 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
154 * biblio.C (getInfo): return the info field correctly if the key
156 (parseBibTeX): fix crash when data.find('=') returns string::npos.
158 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlForks.[Ch]: new files. A controller for the Forked Child
161 processes dialog, enabling the user to see what forked processes
162 are running, and, if he so desires, to kill them.
164 * GUI.h: add class GUIForks.
166 * Makefile.am: add ControlForks.[Ch].
168 * ControlGraphics.C (getParams): small change due to change in
171 2002-02-21 Herbert Voss <voss@lyx.org>
173 * biblio.C: fix bug with commentlines in a bibentry
175 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * Makefile.am: simpler obj. file compile
179 2002-02-18 Herbert Voss <voss@lyx.org>
181 * ControlGraphics.[Ch]: remove help-file call
183 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
185 * helper_funcs.h: wrap the structs firster and seconder up in a
186 namespace to avoid clashes with those in lyxalgo,h.
188 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
189 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
191 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
193 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
196 change Systemcalls::System to Systemcalls::Wait and
197 No change of functionality, just reflects the stripped down Systemcalls
200 2002-02-06 Herbert Voss <voss@lyx.org>
202 * ControlGraphics.[C] (readBB): search also in
203 g'zipped files. If it is useful than PK and compress
204 should also be supported. use unzipFile() from
207 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
209 * ControlRef.C (getBufferName): new method to get a real buffer
212 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
214 * ControlTexInfo.[Ch]: Removed Help functions.
216 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
218 * ControlSpellchecker.C: clear any selection left
221 2002-02-01 Herbert Voss <voss@lyx.org>
223 * ControlGraphics.[C] (readBB): search only, if it is a
224 ".?ps" file and look for bb's at end of file
226 2002-01-30 Herbert Voss <voss@lyx.org>
228 * ControlGraphic.[C]: do not search the whole file, when
231 2002-01-29 Herbert Voss <voss@lyx.org>
233 * ControlGraphic.[C]: added a button for document path
234 when browsing -> bug 222
236 2002-01-27 Herbert Voss <voss@lyx.org>
238 * ControlGraphic.[Ch]: added support for Bounding Box, other
241 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlTexinfo.h: added #include "LString.h" where they belong.
246 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
249 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
251 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
256 2002-01-20 Herbert Voss <voss@perce.de>
258 * ControlInclude.[Ch]: better control of unexistings files
259 when entered without the browser
261 * ControlGraphic.C (Browse): add extension "ps" when browsing for
264 2002-01-19 Herbert Voss <voss@perce.de>
266 * biblio.C (getInfo): fix bug when no author is given
268 * biblio.C (parseBibTeX): change the parsing, so that
269 '#'-characters in a bibtex entry are no more a problem.
271 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
273 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
274 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
276 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
278 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
280 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
282 * ControlExternal.C (Browse): add a std:: qualifier
284 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
286 * ControlExternal.C (Browse): simplify to use browseRelFile
288 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
290 * ButtonController.tmpl: added // -*- C++ -*-
292 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
293 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
294 Needed in _one_ of the ControlCommand-derived classes only.
296 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
299 * ControlSearch.h: #include LString.h
301 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
303 * ButtonController.h: split into two. The definition remains in
304 ButtonController.h, the declaration is now in ButtonController.tmpl.
305 These template methods should be #included when the derived class is
306 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
307 and in the qt2 and gnome equivalents.
309 * ControlDialogs.h: removed. The definition of class ControlDialog is
310 now to be found in ControlDialog.h and the declaration of the methods
311 is in ControlDialog.tmpl. The two template instantiations are performed
312 in ControlDialog_impl.[Ch], new files also.
314 * ControlInset.h: split into two. The definition remains in
315 ControlInset.h, the declaration is now in ControlInset.tmpl.
316 These template methods should be #included derived class is
317 instantiated, in this case in 8 other .C files in this directory.
319 * ControlAboutlyx.[Ch]:
320 * ControlCharacter.[Ch]:
330 * ControlPreamble.[Ch]:
332 * ControlSearch.[Ch]:
333 * ControlShowFile.[Ch]:
334 * ControlSpellchecker.[Ch]:
335 * ControlTabularCreate.[Ch]:
336 * ControlTexinfo.[Ch]:
337 * ControlThesaurus.[Ch]:
338 * ControlVCLog.[Ch]: small changes associated with the above ones.
340 * GUI.h: #include the ButtonController and dialog controller files
341 here, rather than forward declare them. This is the correct place
344 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
345 Rename ControlDialogs.h as ControlDialog.h.
346 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
349 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
353 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
355 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
358 * ControlGraphics.C (Browse): remove overzealous shortcut
360 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
362 * FormMinipage.C (apply, update): MinipageParams::width renamed
363 as MinipageParams::pageWidth. InsetMinipage::width renamed
364 as InsetMinipage::pageWidth.
366 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * ButtonController.h (refreshReadOnly): use explicit typename
370 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
372 * helper_funcs.h (browseFile): add default empty button descriptions.
374 * ControlGraphics.C (Browse):
375 * ControlBibtex.C (Browse):
376 * ControlInclude.C (Browse): add shortcuts to directory buttons
378 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
380 * ControlThesaurus.h:
381 * ControlThesaurus.C: update to Aiksaurus 0.14
383 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
385 * ControlSpellchecker.C (clearParams): show the closing message
386 only if some words have been checked, thereby fixing
389 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
391 * ControlFloat.[Ch]: changes to prevent here definitely being used
394 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
396 * ControlThesaurus.h: do not include <config.h> in header files
398 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
400 * ControlToc.C: changes for floatlist
402 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
404 * ControlVCLog.C: use _()
406 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
408 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
411 2001-10-22 Juergen Vigna <jug@sad.it>
413 * ControlSpellchecker.C (clearParams): use the error_ message of the
414 speller_ if available when the spellchecker died.
415 (setParams): remove double error message display.
417 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
421 * helper_funcs.[Ch] (getLatexUnits): see above.
423 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
425 * ControlTexinfo.C (getContents): use the right file for .sty files
427 2001-10-10 Herbert Voss <voss@perce.de>
429 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
430 and some more stuff from FormTexinfo.C
432 * ControlShowFile.C: hiding the update-button
434 2001-10-09 Herbert Voss <voss@perce.de>
436 * ControlTexinfo.[Ch]: new files. Display information about the
437 installed texfiles (cls,sty,bst).
439 * ControlShowFile.[Ch]: new files. Display the contents of a file.
441 * GUI.h: added classes GUIShowFile and GUITexinfo.
443 * Makefile.am: modified appropriately.
445 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * ControlAboutlyx.C (getVersion): use lyx_version and
448 lyx_release_date instead of old macros
450 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
452 * ControlSpellchecker.C (check): Behaves well now when the spell
453 library doesn't know a replacement to an incorrect word.
455 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
457 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
458 the correct place. Can now check spelling more than once!
460 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
462 * ControlSplash.[Ch]: removed.
464 * GUI.h: remove GUISplash class.
466 * ViewBase.h: remove ViewSplash class.
468 * Makefile.am: remove ControlSplash.[Ch].
470 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
472 * ControlButtons.h: add variable emergency_exit_. If set to true, the
473 view will be shut down.
476 * ControlInset.h: act on emergency_exit_.
478 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
479 speller fails to launch.
481 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
484 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
486 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlRef.h (disconnectOnApply): new method. Set to true.
489 Perhaps make this user-modifiable?
491 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
493 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
496 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
498 * ControlRef.C (getBufferList, getBufferNum): New methods
500 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
503 of the dialog when the Apply button is pressed. Defaults to false,
504 but can be overridden in the daughter classes.
506 * ControlCitation.h (disconnectOnApply): new method. Set to true.
507 Perhaps make this user-modifiable?
509 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
511 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
512 we have dialogs that update their contents when the buffer changes.
513 Rather embarassing, really!
515 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
517 * ControlSearch (replace): change semantics of replace to NOT move on
518 to the next instance of a word once the present instance has been
519 replaced unless we are replacing ALL instances of the word.
521 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
523 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
525 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
527 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
528 dialog, set all options to "reset", close the dialog, re-open it ->
529 the options are set incorrectly.
531 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
532 When Applying it's useful to know whether the dialog is about to close
533 or not (no point refreshing the display for example).
535 * ControlInset.C (apply): use isClosing.
537 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
540 * ControlDialogs.h: remove bc() hack, now fixed in
541 Qt2 frontend. use member dialog_built_ instead of shared
544 * ButtonController.h:
545 * ButtonPolicies.C: more debug info
547 * ButtonControllerBase.C: call refresh() when setting readOnly !
549 * GUI.h: External form has apply, use the right policy
551 * character.C: fix two off-by-one errors when latex font was removed
553 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
555 * ControlInset.h (apply): tentative fix for the press Apply multiple
556 times and get multiple new Insets problem.
558 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
560 * ControlCharacter.C: fix typo
564 * ControlInsets.C: make sure dialog is built before it is shown, so
565 it works properly the very first time it is shown
567 2001-08-20 Herbert Voss <voss@perce.de>
569 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
570 and styles. Added an option for "bibliography into toc"
572 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
574 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
575 LaTeX is no longer a font property.
577 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
579 * GUI.h: Button controller for Reference dialog changed to
580 NoRepeatedApplyReadOnlyPolicy.
582 * biblio.C (getInfo): output volume and number info. Move year to end
585 2001-08-09 Allan Rae <rae@lyx.org>
587 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
589 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
591 * helper_funcs.C (getVectorFromString): fixed small bug.
593 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
595 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
597 * ControlSpellchecker.C: check next word after insert in personal dict
599 2001-08-06 Juergen Vigna <jug@sad.it>
601 * ControlERT.[Ch]: new file
603 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
605 * ControlInset.h: const and non-const forms of params().
607 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
608 whitespace from either side of each item.
610 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
612 * ControlFloat.h: add a != operator for FloatParams.
613 Lars, how did you get this to compile!!!
615 * ControlMinipage.[Ch]: uncommented someone's commenting out of
616 operator != for MinipageParams. Who's changing stuff and not compiling?
618 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
623 * GUI.h: add class GUIFloat
625 * ControlFloat.[Ch]: new files
627 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
629 * ControlPrint.C: #include Lassert.h here.
631 2001-07-26 Baruch Even <baruch@lyx.org>
633 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
636 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
638 * ControlThesaurus.h:
639 * ControlThesaurus.C:
641 * Makefile.am: thesaurus support
643 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
646 * ControlInclude.C: implement ability to load file
648 2001-07-18 Juergen Vigna <jug@sad.it>
650 * ControlSearch.C (replace): changes to lyxfind.h function calls.
652 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * biblio.C (getInfo): add a .c_str() to handle the usual
657 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
659 * ControlCitation.[Ch]: changes associated with adding natbib support.
660 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
661 New static variable citeStyles_.
663 * biblio.[Ch]: large internal rearrangement.
664 New public enum CiteStyle.
665 New public struct CitationStyle.
666 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
667 getNumericalStrings, getAuthorYearStrings
668 (simpleSearch, regexSearch): no longer publicly accessible.
670 * helper_funcs.C (getStringFromVector): bug fix.
672 2001-07-16 Baruch Even <baruch@lyx.org>
674 * ControlVCLog.h: Added Lsstream.h to includes.
676 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
678 * ControlSpellchecker.[Ch]: remove d-tor.
680 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
682 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
684 2001-07-16 Juergen Vigna <jug@sad.it>
686 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
687 compiled with USE_PSPELL) to be able to switch between ISpell and
690 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
692 Consistent use of Lsstream.h:
693 * ControlAboutlyx.[Ch] (getCredits):
694 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
696 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
698 * ControlCredits.[Ch]: removed
699 * ControlCopyright.[Ch]: removed
700 * ControlAboutlyx.[Ch]: added (replaces previous)
701 * GUI.h: removed credits and copyright added about lyx stuff
703 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
705 * ControlSpellchecker.C (getSuggestion):
706 (getWord): add std:: qualifier
708 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
710 * ControlSpellchecker.[Ch]: added
711 * ViewBase.h: added partialUpdate(int) member
712 * GUI.h: added spell stuff
714 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
716 * ControlExternal.C: (*it). -> it->
718 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
720 * ButtonController.h: move some included header files out of the
721 frontends and into here.
723 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
725 * ControlCharacter.C (c-tor): cosmetic name change of signal.
727 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
729 * *.[h]: added // -*- C++ -*-
730 * *.[C]: removed // -*- C++ -*-
732 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
733 activate Apply button.
734 (clearParams): removed.
735 font_ is now stored as a boost::scoped_ptr.
736 font_ is no longer deleted on hide(), so it's contents can now be used
737 by the Font button on the toolbar.
738 Lots of new methods so that the GUI can easily get the contents of
739 font_ when it update()s.
741 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
743 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
744 crash when the Font button on the Toolbar is pressed.
746 * GUI.h: change policy of Character button controller to
747 OkApplyCancelReadOnlyPolicy.
749 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
751 * ControlToc.C (getContents): don't add anything to the list if it
752 is supposed to be empty.
754 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
756 * helper_funcs.C (getVectorFromString): bug fix.
758 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
761 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
762 from ButtonControllerBase::readOnly. Updates the state of the widgets
763 in the read-only list only when the read-only status of the document
765 (refresh): moved this stuff into refreshReadOnly.
767 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlPrint.C (c-tor):
770 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
772 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
775 * character.h: small clean-ups.
777 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
779 * ControlToc.C (getType): remove support for old float list.
781 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
783 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
784 * ControlGraphics.h: no longer include insetgraphicsParams.h
785 * ControlInset.h: no longer include LyXView.h
790 * ControlCharacter.C:
793 * ControlConnections.C:
794 * ControlCopyright.C:
806 * ControlTabularCreate.C:
808 * ControlVCLog.C: they're now in here!
810 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
812 * ButtonControllerBase.h: C++ mode, inherit privately from
814 * ButtonPolicies.h: ditto
816 * ButtonController.h: C++ mode, swap init order of restore_ and
819 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
821 * ControlTabularCreate.h:
822 * ControlTabularCreate.C: make dialogs use a pair of uints
826 * ControlVCLog.C: fill a stringstream with the log contents
829 * ControlExternal.C: from Angus, clone the new InsetExternal
832 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
834 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
835 and made more robust.
837 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
846 * ControlCopyright.C: include gettext.h
848 * ControlCharacter.C:
849 * character.C: include gettext.h and language.h
851 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
853 * ButtonController.h:
854 * ButtonControllerBase.h:
855 * ButtonControllerBase.C:
862 * ControlConnections.h:
868 * ViewBase.h: s/ControlButton/ControlButtons/
870 s/UndoAll/Restore/ + associated
872 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
874 * ControlToc.[Ch]: new files; a controller for the TOC popup.
877 * Makefile.am: associated changes with all of the above.
879 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
881 * ControlExternal.C: bug fixes. Can now apply changes to the inset
882 and edit, view, update the External Material correctly. I hope!
884 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
886 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
888 * BCTemplates.h: renamed as ButtonController.h
890 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
893 * ControlConnections.h: associated change in #include and class names.
895 * ControlExternal.[Ch]: new files; a controller for the External
899 * Makefile.am: associated changes with all of the above.
901 * ControlGraphics.[Ch]:
902 * ControlInclude.[Ch]:
905 (Browse): new method. Returns the results of a FileDialog browse.
907 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
908 (getVectorFromString): fixed bug.
910 * biblio.C (simpleSearch): cleaned up.
912 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
914 * A slight reworking of Baruch Even's ButtonController patch.
916 * BCTemplates.h: new file; all the templates for the ButtonController.
917 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
918 to the more generic setButtonLabel().
920 * ButtonController.[Ch]: renamed cancel_label and close_label as
921 cancel_label_ and close_label_.
923 * Makefile.am: added BCTemplates.h
925 2001-03-29 Juergen Vigna <jug@sad.it>
927 * ControlMinipage.C: removed widthp_ and all it's functions and changed
928 to use new %-lengths of LyXLength.
930 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlCitation.C (bibkeysInfo): removed Assert.
934 * ControlCopyright.h: moved GUICopyright into GUI.h
938 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
941 (setDaughterParams): a (by default empty) new method called in show().
950 * ControlUrl.h (clearDaughterParams): removed
952 * ControlMinipage.C (applyParamsToInset): update the view.
953 Added namespace minipage containing a helper function getUnits.
955 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
957 * ControlCharacter.[Ch]: moved out all the helper functions and the
958 enum into their own file.
959 * character.[Ch]: new files; contain the character helper functions,
960 now inside namespace character.
962 * ControlCitation.[Ch]: moved out all the helper functions and the
963 enums into their own file. Simplified interface.
964 * biblio.[Ch]: new files; contain the citation helper functions,
965 now inside namespace biblio. Will be of use also to an improved
968 * ControlGraphics.[Ch]:
969 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
970 popups, respectively.
973 * Makefile.am: associated changes.
975 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
977 * ControlMinipage.[Ch]:
978 * ControlPreamble.[Ch]:
980 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
981 and Print popups and Splash screen, respectively.
983 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
987 * Makefile.am: associated changes.
989 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
991 * ControlConnections.[Ch]: (docType): new method; returns the type
992 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
995 * ControlSearch.[Ch]:
996 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
997 Search and TabularCreate popups, respectively.
1000 * Makefile.am: associated changes.
1002 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1004 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1007 * ControlInset.h (apply): fix bug. Can now create new insets again.
1009 * README: describe program flow.
1011 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1013 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1015 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ControlDialogs.h: moved class ControlInset into its own file.
1019 * ControlInset.h: new file. class ControlInset has been expanded to take
1020 two template parameters, Inset and Params. Believe that all inset
1021 controllers can be derived from this with the minimum of effort.
1023 * ControlBibitem.[Ch]:
1024 * ControlBibtex.[Ch]:
1025 * ControlCitation.[Ch]:
1026 * ControlCommand.[Ch]: moved most code into ControlInset.
1028 * lots of files. Moved protected stuff into private where possible.
1030 * ControlError.[Ch]:
1031 * ControlInclude.[Ch]:
1032 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1033 Include and Url popups, respectively.
1036 * Makefile.am: associated changes.
1038 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1040 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1043 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1045 * ControlCredits.C (getCredits): remove std:: qualifier for
1048 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1050 * ControlCredits.C (getCredits): add std:: on vector
1052 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1054 * ControlCredits.C: remove using that is only used once, use
1055 std::ios instead of std::iosbase, add some annoying comments.
1057 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1059 * lots of header files: improved explanatory notes.
1061 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1062 ControlBase is now a class that only controls the interaction of the
1063 View with the ButtonController.
1065 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1066 to ControlConnectBase. The class controls the connection/disconnection
1067 of signals from the LyX kernel and makes available the kernel (through
1068 lv_) to daughter controller classes.
1069 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1071 * ControlDialogs.h: new file. Contains the definition of two template
1072 controller classes, ControlDialog and ControlInset (was
1073 ControlConnectInset). ControlInset is a parent class for controllers
1074 of inset-popups. ControlDialogs is the rather uninspired name for
1075 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1076 ControlDialogs is reaching a state of maturity as several popups now use
1077 it and its functionality becomes clear. ControlInset is still in a state
1078 of flux. It is likely that functionality will be moved out of
1079 ControlCommands and into it.
1081 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1082 individual Controller header files and into one place. These classes
1083 serve only as convenient wrappers to simplify code in the respective
1084 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1086 * ControlCharacter.[Ch] (show, update, hide):
1087 * ControlLog.[Ch] (show, update, hide):
1088 * ControlVCLog.[Ch] (show, update, hide): moved back into
1089 the ControlDialogs base class.
1090 (setParams, clearParams): new methods containing controller-specific
1091 code to set/reset the parameters manipulated by the view.
1093 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1095 (hide): calls clearParams.
1097 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1098 by ControlCommand::hide().
1100 * ControlCopyright.[Ch]:
1101 * ControlCredits.[Ch]: new files; controllers for the copyright and
1102 credits popups, respectively.
1104 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1106 * ControlCharacter.C: fix typo
1108 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1110 * ControlCharacter.[Ch]: new files; controller for the character popup.
1112 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1113 moved to new files helper_funcs.[Ch].
1115 * helper_funcs.[Ch]: new files. Some useful helper functions and
1118 * Makefile.am: added new files.
1120 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1122 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1124 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1127 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1128 Control log files, respectively.
1130 * Makefile.am: added new files.
1132 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1134 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1136 * Makefile.am: added ControlBibtex.[Ch].
1138 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1141 * ControlCitation.C: added "using SigC::slot" declaration.
1143 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1144 to FormCitation.C prior to the merger: "Do not put space between
1147 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1149 * several files: remove CXX_WORKING_NAMESPACES
1151 * ButtonController.h: noncopyable is in namespace boost
1152 * ButtonPolicies.h: ditto
1154 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1156 * Merging changes from BRANCH_MVC back into HEAD.
1158 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1160 * Makefile.am: add ControlBibitem.[Ch].
1162 * ControlBibitem.[Ch]: new files that together define the Controller
1163 for a Bibitem popup.
1165 * ControlCommand.h (c-tor): give kb_action a default value of
1168 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1170 * ControlCitation.[Ch]: moved search functions out of class.
1171 (bibkeysInfo): new method. Returns const reference to private data.
1172 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1175 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1177 * ControlCitation.[Ch]: added Search functions to the class,
1178 (shamelessly lifted from Marco's gnome code). I think that these would
1179 be better as helper functions outside the class, but this is a first
1182 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1184 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1186 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1187 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1188 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1189 implementation of FormCitation.
1191 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1193 * ButtonPolicies.h: add SMI_NOOP to enum.
1195 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1197 * ButtonController.C (input): add "optimising" if-statement. Actually,
1198 things don't work correctly without it...
1200 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1202 * ViewBase.h: remove #pragma directive
1204 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1207 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1209 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1211 * Makefile.am: added ButtonPolicies.[Ch]
1213 * ButtonController.[Ch]: ButtonController is split into
1214 ButtonControllerBase and a template ButtonController class. The base
1215 class no longer stores a pointer to a ButtonPolicy, but instead
1216 accesses the actual instantiation of the policy through a pure virtual
1217 method bp(). This method and the ButtonPolicy itself are instantiated
1218 in the templatised ButtonController class. This class is derived from
1219 the GUI-specific GUIBC class, meaning that the frontends know
1220 nothing about the actual policy decided upon by the controllers.
1222 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1223 Instead the actual instantiations are accessed through pure virtual
1224 methods view() and bc(). The daughter classes are responsible for the
1225 actual View and ButtonController.
1227 * ControlCitation.h: the templatised class GUICitation instantiates
1228 the methods view() and bc(). It also stores the instances of the
1229 View and ButtonController.
1231 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1234 also changed to ButtonController.
1237 * ControlConnections.[Ch]:
1238 * ControlCommand.[Ch]:
1239 * ControlCitation.[Ch]:
1240 * ViewBase.h: Changes associated with this.
1242 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1244 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1245 xforms/ButtonController class into a GUI-I class (here) and an
1246 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1248 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1249 from which all Dialog Controllers should be derived. the Controllers
1250 are GUI-independent, but are designed to control the behaviour of
1251 GUI-specific implementaions of each dialog.
1253 * ControlConnections.[Ch]: new files. Classes controlling the
1254 connections of buffer-independent, buffer-dependent and Inset dialogs
1255 with the LyX kernel.
1257 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1258 InsetCommand subset of insets.
1260 * ControlCitation.[Ch]: new files. The test specialisation! A
1261 controller for the Citation dialog.
1263 * ViewBase.h: new file. ViewBase is an abstract base class from which
1264 GUI-specific dialogs should be derived. The functionality that the GUIs
1265 must now implement is much reduced.