1 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
4 "No change" and "Reset".
6 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
7 them at the front of the list.
9 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
11 * ControlGraphics.C: add some comments to the char * arrays.
12 Make rorigin_size const.
14 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
17 Enables the gui's to internationalise these strings.
19 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
21 * frnt_lang.C: fix build
23 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
25 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
26 If the the caller is the character dialog, add "No change" and "Reset"
27 to the vector, else don't.
28 Internationalise the GUI strings here rather than in the different
30 Sort the translated strings, albeit simply.
32 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
34 * character.[Ch]: rename namespace character as namespace frnt.
36 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
37 as several dialogs will use this info. The function now returns a
38 vector<LanguagePair> where LanguagePair is a display string and an
39 identifying string. The display string is internationalised.
41 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
42 the identifying strings, "No change" and "Reset".
44 * Makefile.am: add frnt_lang.[Ch].
46 2002-04-25 Herbert Voss <voss@lyx.org>
48 * ControlSendto.C (allFormats): don't add the graphics extensions to the
51 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
53 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
54 BibTeX databases in a WYSIWYM way.
56 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
58 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
59 way past his use-by date.
60 Make use of the improved info from Buffer::getBibkeyList when using
61 \bibliography. Enables us to provide natbib support in this case too.
63 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
65 * ControlGraphics.C: pass the browseFile dialog a string of only those
66 formats that can currently be loaded by LyX.
68 2002-04-15 Herbert Voss <voss@perce.de>
70 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
71 with something like ,,...blah...`` (two commas)
73 2002-04-14 Herbert Voss <voss@perce.de>
75 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
76 into the support/lstrings for better use in other programs.
78 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
79 namespace anon and make globally accessible.
80 (familyName): test for the presence of a LaTeX Space at the front of
81 of a name; strip it if it exists.
83 2002-04-11 Herbert Voss <voss@perce.de>
85 * ControlGraphics.C: expand "browse-string" to all available formats
87 2002-04-11 Herbert Voss <voss@perce.de>
89 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
91 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
93 * ControlAboutlyx.C (getVersion): two _() forgotten
95 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
99 * ControlBibtex.C: make N_() be _()
101 2002-04-07 Herbert Voss <voss@perce.de>
103 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
105 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
107 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
108 used when reading the BB.
110 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
112 * ControlGraphics.C (readBB): Don't open the ifstrem and then
113 check the format from the contents (and open a second ifstream in the
114 process. One at a time please.
116 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
118 * ControlRef.C (getBufferNum): squash warning message.
120 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlBibtex.C (Browse):
123 * ControlGraphics.C (Browse):
124 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
126 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
128 * ControlGraphics.C (applyParamsToInset): pass filepath to
129 InsetGraphics::updateInset.
131 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * most files: ws cleanup
135 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
137 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
140 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
143 * ControlInclude.C: better error messages
145 2002-03-11 Herbert Voss <voss@lyx.org>
147 * biblio.C (parseBibTeX): fix another minibug with an
150 2002-03-10 Herbert Voss <voss@lyx.org>
152 * biblio.C (parseBibTeX): fix bug
153 (familyName): improve parsing
155 2002-03-09 Herbert Voss <voss@lyx.org>
157 * ControlGraphics.[Ch]: adding checkFilename() for testing
158 of non-existing files
160 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
162 * ControlSendto.C (allFormats): fix a iterators are not pointers
165 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
167 * ControlShowFile.h: add a #include "LString.h"
169 2002-03-05 Herbert Voss <voss@lyx.org>
171 * biblio.C (getInfo): simplify if using paragraph layout
174 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
176 * biblio.C (getInfo): return the info field correctly if the key
178 (parseBibTeX): fix crash when data.find('=') returns string::npos.
180 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
182 * ControlForks.[Ch]: new files. A controller for the Forked Child
183 processes dialog, enabling the user to see what forked processes
184 are running, and, if he so desires, to kill them.
186 * GUI.h: add class GUIForks.
188 * Makefile.am: add ControlForks.[Ch].
190 * ControlGraphics.C (getParams): small change due to change in
193 2002-02-21 Herbert Voss <voss@lyx.org>
195 * biblio.C: fix bug with commentlines in a bibentry
197 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
199 * Makefile.am: simpler obj. file compile
201 2002-02-18 Herbert Voss <voss@lyx.org>
203 * ControlGraphics.[Ch]: remove help-file call
205 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
207 * helper_funcs.h: wrap the structs firster and seconder up in a
208 namespace to avoid clashes with those in lyxalgo,h.
210 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
211 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
213 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
215 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
218 change Systemcalls::System to Systemcalls::Wait and
219 No change of functionality, just reflects the stripped down Systemcalls
222 2002-02-06 Herbert Voss <voss@lyx.org>
224 * ControlGraphics.[C] (readBB): search also in
225 g'zipped files. If it is useful than PK and compress
226 should also be supported. use unzipFile() from
229 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
231 * ControlRef.C (getBufferName): new method to get a real buffer
234 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
236 * ControlTexInfo.[Ch]: Removed Help functions.
238 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
240 * ControlSpellchecker.C: clear any selection left
243 2002-02-01 Herbert Voss <voss@lyx.org>
245 * ControlGraphics.[C] (readBB): search only, if it is a
246 ".?ps" file and look for bb's at end of file
248 2002-01-30 Herbert Voss <voss@lyx.org>
250 * ControlGraphic.[C]: do not search the whole file, when
253 2002-01-29 Herbert Voss <voss@lyx.org>
255 * ControlGraphic.[C]: added a button for document path
256 when browsing -> bug 222
258 2002-01-27 Herbert Voss <voss@lyx.org>
260 * ControlGraphic.[Ch]: added support for Bounding Box, other
263 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
266 * ControlTexinfo.h: added #include "LString.h" where they belong.
268 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
271 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
273 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
275 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
278 2002-01-20 Herbert Voss <voss@perce.de>
280 * ControlInclude.[Ch]: better control of unexistings files
281 when entered without the browser
283 * ControlGraphic.C (Browse): add extension "ps" when browsing for
286 2002-01-19 Herbert Voss <voss@perce.de>
288 * biblio.C (getInfo): fix bug when no author is given
290 * biblio.C (parseBibTeX): change the parsing, so that
291 '#'-characters in a bibtex entry are no more a problem.
293 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
295 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
296 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
298 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
300 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
302 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
304 * ControlExternal.C (Browse): add a std:: qualifier
306 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
308 * ControlExternal.C (Browse): simplify to use browseRelFile
310 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
312 * ButtonController.tmpl: added // -*- C++ -*-
314 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
315 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
316 Needed in _one_ of the ControlCommand-derived classes only.
318 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlSearch.h: #include LString.h
323 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
325 * ButtonController.h: split into two. The definition remains in
326 ButtonController.h, the declaration is now in ButtonController.tmpl.
327 These template methods should be #included when the derived class is
328 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
329 and in the qt2 and gnome equivalents.
331 * ControlDialogs.h: removed. The definition of class ControlDialog is
332 now to be found in ControlDialog.h and the declaration of the methods
333 is in ControlDialog.tmpl. The two template instantiations are performed
334 in ControlDialog_impl.[Ch], new files also.
336 * ControlInset.h: split into two. The definition remains in
337 ControlInset.h, the declaration is now in ControlInset.tmpl.
338 These template methods should be #included derived class is
339 instantiated, in this case in 8 other .C files in this directory.
341 * ControlAboutlyx.[Ch]:
342 * ControlCharacter.[Ch]:
352 * ControlPreamble.[Ch]:
354 * ControlSearch.[Ch]:
355 * ControlShowFile.[Ch]:
356 * ControlSpellchecker.[Ch]:
357 * ControlTabularCreate.[Ch]:
358 * ControlTexinfo.[Ch]:
359 * ControlThesaurus.[Ch]:
360 * ControlVCLog.[Ch]: small changes associated with the above ones.
362 * GUI.h: #include the ButtonController and dialog controller files
363 here, rather than forward declare them. This is the correct place
366 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
367 Rename ControlDialogs.h as ControlDialog.h.
368 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
371 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
373 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
375 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
377 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
380 * ControlGraphics.C (Browse): remove overzealous shortcut
382 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
384 * FormMinipage.C (apply, update): MinipageParams::width renamed
385 as MinipageParams::pageWidth. InsetMinipage::width renamed
386 as InsetMinipage::pageWidth.
388 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
390 * ButtonController.h (refreshReadOnly): use explicit typename
392 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
394 * helper_funcs.h (browseFile): add default empty button descriptions.
396 * ControlGraphics.C (Browse):
397 * ControlBibtex.C (Browse):
398 * ControlInclude.C (Browse): add shortcuts to directory buttons
400 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
402 * ControlThesaurus.h:
403 * ControlThesaurus.C: update to Aiksaurus 0.14
405 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
407 * ControlSpellchecker.C (clearParams): show the closing message
408 only if some words have been checked, thereby fixing
411 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
413 * ControlFloat.[Ch]: changes to prevent here definitely being used
416 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * ControlThesaurus.h: do not include <config.h> in header files
420 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
422 * ControlToc.C: changes for floatlist
424 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
426 * ControlVCLog.C: use _()
428 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
433 2001-10-22 Juergen Vigna <jug@sad.it>
435 * ControlSpellchecker.C (clearParams): use the error_ message of the
436 speller_ if available when the spellchecker died.
437 (setParams): remove double error message display.
439 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
441 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
443 * helper_funcs.[Ch] (getLatexUnits): see above.
445 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * ControlTexinfo.C (getContents): use the right file for .sty files
449 2001-10-10 Herbert Voss <voss@perce.de>
451 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
452 and some more stuff from FormTexinfo.C
454 * ControlShowFile.C: hiding the update-button
456 2001-10-09 Herbert Voss <voss@perce.de>
458 * ControlTexinfo.[Ch]: new files. Display information about the
459 installed texfiles (cls,sty,bst).
461 * ControlShowFile.[Ch]: new files. Display the contents of a file.
463 * GUI.h: added classes GUIShowFile and GUITexinfo.
465 * Makefile.am: modified appropriately.
467 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * ControlAboutlyx.C (getVersion): use lyx_version and
470 lyx_release_date instead of old macros
472 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlSpellchecker.C (check): Behaves well now when the spell
475 library doesn't know a replacement to an incorrect word.
477 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
479 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
480 the correct place. Can now check spelling more than once!
482 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
484 * ControlSplash.[Ch]: removed.
486 * GUI.h: remove GUISplash class.
488 * ViewBase.h: remove ViewSplash class.
490 * Makefile.am: remove ControlSplash.[Ch].
492 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
494 * ControlButtons.h: add variable emergency_exit_. If set to true, the
495 view will be shut down.
498 * ControlInset.h: act on emergency_exit_.
500 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
501 speller fails to launch.
503 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
505 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
506 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
508 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
510 * ControlRef.h (disconnectOnApply): new method. Set to true.
511 Perhaps make this user-modifiable?
513 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
518 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
520 * ControlRef.C (getBufferList, getBufferNum): New methods
522 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
524 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
525 of the dialog when the Apply button is pressed. Defaults to false,
526 but can be overridden in the daughter classes.
528 * ControlCitation.h (disconnectOnApply): new method. Set to true.
529 Perhaps make this user-modifiable?
531 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
533 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
534 we have dialogs that update their contents when the buffer changes.
535 Rather embarassing, really!
537 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlSearch (replace): change semantics of replace to NOT move on
540 to the next instance of a word once the present instance has been
541 replaced unless we are replacing ALL instances of the word.
543 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
545 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
547 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
549 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
550 dialog, set all options to "reset", close the dialog, re-open it ->
551 the options are set incorrectly.
553 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
554 When Applying it's useful to know whether the dialog is about to close
555 or not (no point refreshing the display for example).
557 * ControlInset.C (apply): use isClosing.
559 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
562 * ControlDialogs.h: remove bc() hack, now fixed in
563 Qt2 frontend. use member dialog_built_ instead of shared
566 * ButtonController.h:
567 * ButtonPolicies.C: more debug info
569 * ButtonControllerBase.C: call refresh() when setting readOnly !
571 * GUI.h: External form has apply, use the right policy
573 * character.C: fix two off-by-one errors when latex font was removed
575 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
577 * ControlInset.h (apply): tentative fix for the press Apply multiple
578 times and get multiple new Insets problem.
580 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
582 * ControlCharacter.C: fix typo
586 * ControlInsets.C: make sure dialog is built before it is shown, so
587 it works properly the very first time it is shown
589 2001-08-20 Herbert Voss <voss@perce.de>
591 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
592 and styles. Added an option for "bibliography into toc"
594 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
596 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
597 LaTeX is no longer a font property.
599 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
601 * GUI.h: Button controller for Reference dialog changed to
602 NoRepeatedApplyReadOnlyPolicy.
604 * biblio.C (getInfo): output volume and number info. Move year to end
607 2001-08-09 Allan Rae <rae@lyx.org>
609 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
611 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
613 * helper_funcs.C (getVectorFromString): fixed small bug.
615 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
617 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
619 * ControlSpellchecker.C: check next word after insert in personal dict
621 2001-08-06 Juergen Vigna <jug@sad.it>
623 * ControlERT.[Ch]: new file
625 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
627 * ControlInset.h: const and non-const forms of params().
629 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
630 whitespace from either side of each item.
632 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
634 * ControlFloat.h: add a != operator for FloatParams.
635 Lars, how did you get this to compile!!!
637 * ControlMinipage.[Ch]: uncommented someone's commenting out of
638 operator != for MinipageParams. Who's changing stuff and not compiling?
640 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
645 * GUI.h: add class GUIFloat
647 * ControlFloat.[Ch]: new files
649 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
651 * ControlPrint.C: #include Lassert.h here.
653 2001-07-26 Baruch Even <baruch@lyx.org>
655 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
658 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
660 * ControlThesaurus.h:
661 * ControlThesaurus.C:
663 * Makefile.am: thesaurus support
665 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
668 * ControlInclude.C: implement ability to load file
670 2001-07-18 Juergen Vigna <jug@sad.it>
672 * ControlSearch.C (replace): changes to lyxfind.h function calls.
674 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
676 * biblio.C (getInfo): add a .c_str() to handle the usual
679 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
681 * ControlCitation.[Ch]: changes associated with adding natbib support.
682 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
683 New static variable citeStyles_.
685 * biblio.[Ch]: large internal rearrangement.
686 New public enum CiteStyle.
687 New public struct CitationStyle.
688 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
689 getNumericalStrings, getAuthorYearStrings
690 (simpleSearch, regexSearch): no longer publicly accessible.
692 * helper_funcs.C (getStringFromVector): bug fix.
694 2001-07-16 Baruch Even <baruch@lyx.org>
696 * ControlVCLog.h: Added Lsstream.h to includes.
698 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
700 * ControlSpellchecker.[Ch]: remove d-tor.
702 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
704 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
706 2001-07-16 Juergen Vigna <jug@sad.it>
708 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
709 compiled with USE_PSPELL) to be able to switch between ISpell and
712 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
714 Consistent use of Lsstream.h:
715 * ControlAboutlyx.[Ch] (getCredits):
716 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
718 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
720 * ControlCredits.[Ch]: removed
721 * ControlCopyright.[Ch]: removed
722 * ControlAboutlyx.[Ch]: added (replaces previous)
723 * GUI.h: removed credits and copyright added about lyx stuff
725 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
727 * ControlSpellchecker.C (getSuggestion):
728 (getWord): add std:: qualifier
730 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
732 * ControlSpellchecker.[Ch]: added
733 * ViewBase.h: added partialUpdate(int) member
734 * GUI.h: added spell stuff
736 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
738 * ControlExternal.C: (*it). -> it->
740 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
742 * ButtonController.h: move some included header files out of the
743 frontends and into here.
745 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlCharacter.C (c-tor): cosmetic name change of signal.
749 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
751 * *.[h]: added // -*- C++ -*-
752 * *.[C]: removed // -*- C++ -*-
754 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
755 activate Apply button.
756 (clearParams): removed.
757 font_ is now stored as a boost::scoped_ptr.
758 font_ is no longer deleted on hide(), so it's contents can now be used
759 by the Font button on the toolbar.
760 Lots of new methods so that the GUI can easily get the contents of
761 font_ when it update()s.
763 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
765 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
766 crash when the Font button on the Toolbar is pressed.
768 * GUI.h: change policy of Character button controller to
769 OkApplyCancelReadOnlyPolicy.
771 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * ControlToc.C (getContents): don't add anything to the list if it
774 is supposed to be empty.
776 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
778 * helper_funcs.C (getVectorFromString): bug fix.
780 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
783 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
784 from ButtonControllerBase::readOnly. Updates the state of the widgets
785 in the read-only list only when the read-only status of the document
787 (refresh): moved this stuff into refreshReadOnly.
789 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
791 * ControlPrint.C (c-tor):
792 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
794 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
797 * character.h: small clean-ups.
799 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * ControlToc.C (getType): remove support for old float list.
803 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
805 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
806 * ControlGraphics.h: no longer include insetgraphicsParams.h
807 * ControlInset.h: no longer include LyXView.h
812 * ControlCharacter.C:
815 * ControlConnections.C:
816 * ControlCopyright.C:
828 * ControlTabularCreate.C:
830 * ControlVCLog.C: they're now in here!
832 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
834 * ButtonControllerBase.h: C++ mode, inherit privately from
836 * ButtonPolicies.h: ditto
838 * ButtonController.h: C++ mode, swap init order of restore_ and
841 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
843 * ControlTabularCreate.h:
844 * ControlTabularCreate.C: make dialogs use a pair of uints
848 * ControlVCLog.C: fill a stringstream with the log contents
851 * ControlExternal.C: from Angus, clone the new InsetExternal
854 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
856 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
857 and made more robust.
859 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
868 * ControlCopyright.C: include gettext.h
870 * ControlCharacter.C:
871 * character.C: include gettext.h and language.h
873 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
875 * ButtonController.h:
876 * ButtonControllerBase.h:
877 * ButtonControllerBase.C:
884 * ControlConnections.h:
890 * ViewBase.h: s/ControlButton/ControlButtons/
892 s/UndoAll/Restore/ + associated
894 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
896 * ControlToc.[Ch]: new files; a controller for the TOC popup.
899 * Makefile.am: associated changes with all of the above.
901 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
903 * ControlExternal.C: bug fixes. Can now apply changes to the inset
904 and edit, view, update the External Material correctly. I hope!
906 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
908 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
910 * BCTemplates.h: renamed as ButtonController.h
912 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
915 * ControlConnections.h: associated change in #include and class names.
917 * ControlExternal.[Ch]: new files; a controller for the External
921 * Makefile.am: associated changes with all of the above.
923 * ControlGraphics.[Ch]:
924 * ControlInclude.[Ch]:
927 (Browse): new method. Returns the results of a FileDialog browse.
929 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
930 (getVectorFromString): fixed bug.
932 * biblio.C (simpleSearch): cleaned up.
934 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
936 * A slight reworking of Baruch Even's ButtonController patch.
938 * BCTemplates.h: new file; all the templates for the ButtonController.
939 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
940 to the more generic setButtonLabel().
942 * ButtonController.[Ch]: renamed cancel_label and close_label as
943 cancel_label_ and close_label_.
945 * Makefile.am: added BCTemplates.h
947 2001-03-29 Juergen Vigna <jug@sad.it>
949 * ControlMinipage.C: removed widthp_ and all it's functions and changed
950 to use new %-lengths of LyXLength.
952 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlCitation.C (bibkeysInfo): removed Assert.
956 * ControlCopyright.h: moved GUICopyright into GUI.h
960 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
962 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
963 (setDaughterParams): a (by default empty) new method called in show().
972 * ControlUrl.h (clearDaughterParams): removed
974 * ControlMinipage.C (applyParamsToInset): update the view.
975 Added namespace minipage containing a helper function getUnits.
977 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
979 * ControlCharacter.[Ch]: moved out all the helper functions and the
980 enum into their own file.
981 * character.[Ch]: new files; contain the character helper functions,
982 now inside namespace character.
984 * ControlCitation.[Ch]: moved out all the helper functions and the
985 enums into their own file. Simplified interface.
986 * biblio.[Ch]: new files; contain the citation helper functions,
987 now inside namespace biblio. Will be of use also to an improved
990 * ControlGraphics.[Ch]:
991 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
992 popups, respectively.
995 * Makefile.am: associated changes.
997 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
999 * ControlMinipage.[Ch]:
1000 * ControlPreamble.[Ch]:
1001 * ControlPrint.[Ch]:
1002 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1003 and Print popups and Splash screen, respectively.
1005 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1009 * Makefile.am: associated changes.
1011 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlConnections.[Ch]: (docType): new method; returns the type
1014 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1017 * ControlSearch.[Ch]:
1018 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1019 Search and TabularCreate popups, respectively.
1022 * Makefile.am: associated changes.
1024 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1029 * ControlInset.h (apply): fix bug. Can now create new insets again.
1031 * README: describe program flow.
1033 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1035 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1037 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1039 * ControlDialogs.h: moved class ControlInset into its own file.
1041 * ControlInset.h: new file. class ControlInset has been expanded to take
1042 two template parameters, Inset and Params. Believe that all inset
1043 controllers can be derived from this with the minimum of effort.
1045 * ControlBibitem.[Ch]:
1046 * ControlBibtex.[Ch]:
1047 * ControlCitation.[Ch]:
1048 * ControlCommand.[Ch]: moved most code into ControlInset.
1050 * lots of files. Moved protected stuff into private where possible.
1052 * ControlError.[Ch]:
1053 * ControlInclude.[Ch]:
1054 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1055 Include and Url popups, respectively.
1058 * Makefile.am: associated changes.
1060 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1062 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1065 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1067 * ControlCredits.C (getCredits): remove std:: qualifier for
1070 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1072 * ControlCredits.C (getCredits): add std:: on vector
1074 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1076 * ControlCredits.C: remove using that is only used once, use
1077 std::ios instead of std::iosbase, add some annoying comments.
1079 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1081 * lots of header files: improved explanatory notes.
1083 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1084 ControlBase is now a class that only controls the interaction of the
1085 View with the ButtonController.
1087 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1088 to ControlConnectBase. The class controls the connection/disconnection
1089 of signals from the LyX kernel and makes available the kernel (through
1090 lv_) to daughter controller classes.
1091 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1093 * ControlDialogs.h: new file. Contains the definition of two template
1094 controller classes, ControlDialog and ControlInset (was
1095 ControlConnectInset). ControlInset is a parent class for controllers
1096 of inset-popups. ControlDialogs is the rather uninspired name for
1097 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1098 ControlDialogs is reaching a state of maturity as several popups now use
1099 it and its functionality becomes clear. ControlInset is still in a state
1100 of flux. It is likely that functionality will be moved out of
1101 ControlCommands and into it.
1103 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1104 individual Controller header files and into one place. These classes
1105 serve only as convenient wrappers to simplify code in the respective
1106 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1108 * ControlCharacter.[Ch] (show, update, hide):
1109 * ControlLog.[Ch] (show, update, hide):
1110 * ControlVCLog.[Ch] (show, update, hide): moved back into
1111 the ControlDialogs base class.
1112 (setParams, clearParams): new methods containing controller-specific
1113 code to set/reset the parameters manipulated by the view.
1115 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1117 (hide): calls clearParams.
1119 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1120 by ControlCommand::hide().
1122 * ControlCopyright.[Ch]:
1123 * ControlCredits.[Ch]: new files; controllers for the copyright and
1124 credits popups, respectively.
1126 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1128 * ControlCharacter.C: fix typo
1130 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ControlCharacter.[Ch]: new files; controller for the character popup.
1134 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1135 moved to new files helper_funcs.[Ch].
1137 * helper_funcs.[Ch]: new files. Some useful helper functions and
1140 * Makefile.am: added new files.
1142 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1146 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1149 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1150 Control log files, respectively.
1152 * Makefile.am: added new files.
1154 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1158 * Makefile.am: added ControlBibtex.[Ch].
1160 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1163 * ControlCitation.C: added "using SigC::slot" declaration.
1165 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1166 to FormCitation.C prior to the merger: "Do not put space between
1169 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1171 * several files: remove CXX_WORKING_NAMESPACES
1173 * ButtonController.h: noncopyable is in namespace boost
1174 * ButtonPolicies.h: ditto
1176 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1178 * Merging changes from BRANCH_MVC back into HEAD.
1180 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1182 * Makefile.am: add ControlBibitem.[Ch].
1184 * ControlBibitem.[Ch]: new files that together define the Controller
1185 for a Bibitem popup.
1187 * ControlCommand.h (c-tor): give kb_action a default value of
1190 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1192 * ControlCitation.[Ch]: moved search functions out of class.
1193 (bibkeysInfo): new method. Returns const reference to private data.
1194 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1197 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ControlCitation.[Ch]: added Search functions to the class,
1200 (shamelessly lifted from Marco's gnome code). I think that these would
1201 be better as helper functions outside the class, but this is a first
1204 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1206 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1208 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1209 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1210 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1211 implementation of FormCitation.
1213 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1215 * ButtonPolicies.h: add SMI_NOOP to enum.
1217 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1219 * ButtonController.C (input): add "optimising" if-statement. Actually,
1220 things don't work correctly without it...
1222 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1224 * ViewBase.h: remove #pragma directive
1226 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1229 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1231 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1233 * Makefile.am: added ButtonPolicies.[Ch]
1235 * ButtonController.[Ch]: ButtonController is split into
1236 ButtonControllerBase and a template ButtonController class. The base
1237 class no longer stores a pointer to a ButtonPolicy, but instead
1238 accesses the actual instantiation of the policy through a pure virtual
1239 method bp(). This method and the ButtonPolicy itself are instantiated
1240 in the templatised ButtonController class. This class is derived from
1241 the GUI-specific GUIBC class, meaning that the frontends know
1242 nothing about the actual policy decided upon by the controllers.
1244 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1245 Instead the actual instantiations are accessed through pure virtual
1246 methods view() and bc(). The daughter classes are responsible for the
1247 actual View and ButtonController.
1249 * ControlCitation.h: the templatised class GUICitation instantiates
1250 the methods view() and bc(). It also stores the instances of the
1251 View and ButtonController.
1253 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1255 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1256 also changed to ButtonController.
1259 * ControlConnections.[Ch]:
1260 * ControlCommand.[Ch]:
1261 * ControlCitation.[Ch]:
1262 * ViewBase.h: Changes associated with this.
1264 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1267 xforms/ButtonController class into a GUI-I class (here) and an
1268 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1270 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1271 from which all Dialog Controllers should be derived. the Controllers
1272 are GUI-independent, but are designed to control the behaviour of
1273 GUI-specific implementaions of each dialog.
1275 * ControlConnections.[Ch]: new files. Classes controlling the
1276 connections of buffer-independent, buffer-dependent and Inset dialogs
1277 with the LyX kernel.
1279 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1280 InsetCommand subset of insets.
1282 * ControlCitation.[Ch]: new files. The test specialisation! A
1283 controller for the Citation dialog.
1285 * ViewBase.h: new file. ViewBase is an abstract base class from which
1286 GUI-specific dialogs should be derived. The functionality that the GUIs
1287 must now implement is much reduced.