1 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
4 Enables the gui's to internationalise these strings.
6 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
8 * frnt_lang.C: fix build
10 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
12 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
13 If the the caller is the character dialog, add "No change" and "Reset"
14 to the vector, else don't.
15 Internationalise the GUI strings here rather than in the different
17 Sort the translated strings, albeit simply.
19 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
21 * character.[Ch]: rename namespace character as namespace frnt.
23 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
24 as several dialogs will use this info. The function now returns a
25 vector<LanguagePair> where LanguagePair is a display string and an
26 identifying string. The display string is internationalised.
28 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
29 the identifying strings, "No change" and "Reset".
31 * Makefile.am: add frnt_lang.[Ch].
33 2002-04-25 Herbert Voss <voss@lyx.org>
35 * ControlSendto.C (allFormats): don't add the graphics extensions to the
38 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
40 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
41 BibTeX databases in a WYSIWYM way.
43 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
45 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
46 way past his use-by date.
47 Make use of the improved info from Buffer::getBibkeyList when using
48 \bibliography. Enables us to provide natbib support in this case too.
50 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
52 * ControlGraphics.C: pass the browseFile dialog a string of only those
53 formats that can currently be loaded by LyX.
55 2002-04-15 Herbert Voss <voss@perce.de>
57 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
58 with something like ,,...blah...`` (two commas)
60 2002-04-14 Herbert Voss <voss@perce.de>
62 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
63 into the support/lstrings for better use in other programs.
65 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
66 namespace anon and make globally accessible.
67 (familyName): test for the presence of a LaTeX Space at the front of
68 of a name; strip it if it exists.
70 2002-04-11 Herbert Voss <voss@perce.de>
72 * ControlGraphics.C: expand "browse-string" to all available formats
74 2002-04-11 Herbert Voss <voss@perce.de>
76 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
78 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
80 * ControlAboutlyx.C (getVersion): two _() forgotten
82 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
86 * ControlBibtex.C: make N_() be _()
88 2002-04-07 Herbert Voss <voss@perce.de>
90 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
92 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
95 used when reading the BB.
97 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
99 * ControlGraphics.C (readBB): Don't open the ifstrem and then
100 check the format from the contents (and open a second ifstream in the
101 process. One at a time please.
103 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
105 * ControlRef.C (getBufferNum): squash warning message.
107 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlBibtex.C (Browse):
110 * ControlGraphics.C (Browse):
111 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
113 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
115 * ControlGraphics.C (applyParamsToInset): pass filepath to
116 InsetGraphics::updateInset.
118 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * most files: ws cleanup
122 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
124 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
127 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
130 * ControlInclude.C: better error messages
132 2002-03-11 Herbert Voss <voss@lyx.org>
134 * biblio.C (parseBibTeX): fix another minibug with an
137 2002-03-10 Herbert Voss <voss@lyx.org>
139 * biblio.C (parseBibTeX): fix bug
140 (familyName): improve parsing
142 2002-03-09 Herbert Voss <voss@lyx.org>
144 * ControlGraphics.[Ch]: adding checkFilename() for testing
145 of non-existing files
147 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * ControlSendto.C (allFormats): fix a iterators are not pointers
152 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
154 * ControlShowFile.h: add a #include "LString.h"
156 2002-03-05 Herbert Voss <voss@lyx.org>
158 * biblio.C (getInfo): simplify if using paragraph layout
161 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
163 * biblio.C (getInfo): return the info field correctly if the key
165 (parseBibTeX): fix crash when data.find('=') returns string::npos.
167 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlForks.[Ch]: new files. A controller for the Forked Child
170 processes dialog, enabling the user to see what forked processes
171 are running, and, if he so desires, to kill them.
173 * GUI.h: add class GUIForks.
175 * Makefile.am: add ControlForks.[Ch].
177 * ControlGraphics.C (getParams): small change due to change in
180 2002-02-21 Herbert Voss <voss@lyx.org>
182 * biblio.C: fix bug with commentlines in a bibentry
184 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * Makefile.am: simpler obj. file compile
188 2002-02-18 Herbert Voss <voss@lyx.org>
190 * ControlGraphics.[Ch]: remove help-file call
192 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
194 * helper_funcs.h: wrap the structs firster and seconder up in a
195 namespace to avoid clashes with those in lyxalgo,h.
197 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
198 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
200 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
202 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
205 change Systemcalls::System to Systemcalls::Wait and
206 No change of functionality, just reflects the stripped down Systemcalls
209 2002-02-06 Herbert Voss <voss@lyx.org>
211 * ControlGraphics.[C] (readBB): search also in
212 g'zipped files. If it is useful than PK and compress
213 should also be supported. use unzipFile() from
216 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
218 * ControlRef.C (getBufferName): new method to get a real buffer
221 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
223 * ControlTexInfo.[Ch]: Removed Help functions.
225 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
227 * ControlSpellchecker.C: clear any selection left
230 2002-02-01 Herbert Voss <voss@lyx.org>
232 * ControlGraphics.[C] (readBB): search only, if it is a
233 ".?ps" file and look for bb's at end of file
235 2002-01-30 Herbert Voss <voss@lyx.org>
237 * ControlGraphic.[C]: do not search the whole file, when
240 2002-01-29 Herbert Voss <voss@lyx.org>
242 * ControlGraphic.[C]: added a button for document path
243 when browsing -> bug 222
245 2002-01-27 Herbert Voss <voss@lyx.org>
247 * ControlGraphic.[Ch]: added support for Bounding Box, other
250 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlTexinfo.h: added #include "LString.h" where they belong.
255 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
260 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
265 2002-01-20 Herbert Voss <voss@perce.de>
267 * ControlInclude.[Ch]: better control of unexistings files
268 when entered without the browser
270 * ControlGraphic.C (Browse): add extension "ps" when browsing for
273 2002-01-19 Herbert Voss <voss@perce.de>
275 * biblio.C (getInfo): fix bug when no author is given
277 * biblio.C (parseBibTeX): change the parsing, so that
278 '#'-characters in a bibtex entry are no more a problem.
280 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
282 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
283 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
285 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
287 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
289 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
291 * ControlExternal.C (Browse): add a std:: qualifier
293 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
295 * ControlExternal.C (Browse): simplify to use browseRelFile
297 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
299 * ButtonController.tmpl: added // -*- C++ -*-
301 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
302 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
303 Needed in _one_ of the ControlCommand-derived classes only.
305 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
308 * ControlSearch.h: #include LString.h
310 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
312 * ButtonController.h: split into two. The definition remains in
313 ButtonController.h, the declaration is now in ButtonController.tmpl.
314 These template methods should be #included when the derived class is
315 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
316 and in the qt2 and gnome equivalents.
318 * ControlDialogs.h: removed. The definition of class ControlDialog is
319 now to be found in ControlDialog.h and the declaration of the methods
320 is in ControlDialog.tmpl. The two template instantiations are performed
321 in ControlDialog_impl.[Ch], new files also.
323 * ControlInset.h: split into two. The definition remains in
324 ControlInset.h, the declaration is now in ControlInset.tmpl.
325 These template methods should be #included derived class is
326 instantiated, in this case in 8 other .C files in this directory.
328 * ControlAboutlyx.[Ch]:
329 * ControlCharacter.[Ch]:
339 * ControlPreamble.[Ch]:
341 * ControlSearch.[Ch]:
342 * ControlShowFile.[Ch]:
343 * ControlSpellchecker.[Ch]:
344 * ControlTabularCreate.[Ch]:
345 * ControlTexinfo.[Ch]:
346 * ControlThesaurus.[Ch]:
347 * ControlVCLog.[Ch]: small changes associated with the above ones.
349 * GUI.h: #include the ButtonController and dialog controller files
350 here, rather than forward declare them. This is the correct place
353 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
354 Rename ControlDialogs.h as ControlDialog.h.
355 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
358 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
362 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
367 * ControlGraphics.C (Browse): remove overzealous shortcut
369 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
371 * FormMinipage.C (apply, update): MinipageParams::width renamed
372 as MinipageParams::pageWidth. InsetMinipage::width renamed
373 as InsetMinipage::pageWidth.
375 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
377 * ButtonController.h (refreshReadOnly): use explicit typename
379 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
381 * helper_funcs.h (browseFile): add default empty button descriptions.
383 * ControlGraphics.C (Browse):
384 * ControlBibtex.C (Browse):
385 * ControlInclude.C (Browse): add shortcuts to directory buttons
387 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
389 * ControlThesaurus.h:
390 * ControlThesaurus.C: update to Aiksaurus 0.14
392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
394 * ControlSpellchecker.C (clearParams): show the closing message
395 only if some words have been checked, thereby fixing
398 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
400 * ControlFloat.[Ch]: changes to prevent here definitely being used
403 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * ControlThesaurus.h: do not include <config.h> in header files
407 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
409 * ControlToc.C: changes for floatlist
411 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
413 * ControlVCLog.C: use _()
415 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
417 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
420 2001-10-22 Juergen Vigna <jug@sad.it>
422 * ControlSpellchecker.C (clearParams): use the error_ message of the
423 speller_ if available when the spellchecker died.
424 (setParams): remove double error message display.
426 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
428 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
430 * helper_funcs.[Ch] (getLatexUnits): see above.
432 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
434 * ControlTexinfo.C (getContents): use the right file for .sty files
436 2001-10-10 Herbert Voss <voss@perce.de>
438 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
439 and some more stuff from FormTexinfo.C
441 * ControlShowFile.C: hiding the update-button
443 2001-10-09 Herbert Voss <voss@perce.de>
445 * ControlTexinfo.[Ch]: new files. Display information about the
446 installed texfiles (cls,sty,bst).
448 * ControlShowFile.[Ch]: new files. Display the contents of a file.
450 * GUI.h: added classes GUIShowFile and GUITexinfo.
452 * Makefile.am: modified appropriately.
454 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
456 * ControlAboutlyx.C (getVersion): use lyx_version and
457 lyx_release_date instead of old macros
459 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
461 * ControlSpellchecker.C (check): Behaves well now when the spell
462 library doesn't know a replacement to an incorrect word.
464 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
466 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
467 the correct place. Can now check spelling more than once!
469 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlSplash.[Ch]: removed.
473 * GUI.h: remove GUISplash class.
475 * ViewBase.h: remove ViewSplash class.
477 * Makefile.am: remove ControlSplash.[Ch].
479 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
481 * ControlButtons.h: add variable emergency_exit_. If set to true, the
482 view will be shut down.
485 * ControlInset.h: act on emergency_exit_.
487 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
488 speller fails to launch.
490 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
493 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
495 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlRef.h (disconnectOnApply): new method. Set to true.
498 Perhaps make this user-modifiable?
500 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
505 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
507 * ControlRef.C (getBufferList, getBufferNum): New methods
509 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
511 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
512 of the dialog when the Apply button is pressed. Defaults to false,
513 but can be overridden in the daughter classes.
515 * ControlCitation.h (disconnectOnApply): new method. Set to true.
516 Perhaps make this user-modifiable?
518 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
520 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
521 we have dialogs that update their contents when the buffer changes.
522 Rather embarassing, really!
524 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
526 * ControlSearch (replace): change semantics of replace to NOT move on
527 to the next instance of a word once the present instance has been
528 replaced unless we are replacing ALL instances of the word.
530 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
532 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
534 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
536 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
537 dialog, set all options to "reset", close the dialog, re-open it ->
538 the options are set incorrectly.
540 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
541 When Applying it's useful to know whether the dialog is about to close
542 or not (no point refreshing the display for example).
544 * ControlInset.C (apply): use isClosing.
546 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
549 * ControlDialogs.h: remove bc() hack, now fixed in
550 Qt2 frontend. use member dialog_built_ instead of shared
553 * ButtonController.h:
554 * ButtonPolicies.C: more debug info
556 * ButtonControllerBase.C: call refresh() when setting readOnly !
558 * GUI.h: External form has apply, use the right policy
560 * character.C: fix two off-by-one errors when latex font was removed
562 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
564 * ControlInset.h (apply): tentative fix for the press Apply multiple
565 times and get multiple new Insets problem.
567 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
569 * ControlCharacter.C: fix typo
573 * ControlInsets.C: make sure dialog is built before it is shown, so
574 it works properly the very first time it is shown
576 2001-08-20 Herbert Voss <voss@perce.de>
578 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
579 and styles. Added an option for "bibliography into toc"
581 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
583 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
584 LaTeX is no longer a font property.
586 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
588 * GUI.h: Button controller for Reference dialog changed to
589 NoRepeatedApplyReadOnlyPolicy.
591 * biblio.C (getInfo): output volume and number info. Move year to end
594 2001-08-09 Allan Rae <rae@lyx.org>
596 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
598 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
600 * helper_funcs.C (getVectorFromString): fixed small bug.
602 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
604 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
606 * ControlSpellchecker.C: check next word after insert in personal dict
608 2001-08-06 Juergen Vigna <jug@sad.it>
610 * ControlERT.[Ch]: new file
612 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
614 * ControlInset.h: const and non-const forms of params().
616 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
617 whitespace from either side of each item.
619 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
621 * ControlFloat.h: add a != operator for FloatParams.
622 Lars, how did you get this to compile!!!
624 * ControlMinipage.[Ch]: uncommented someone's commenting out of
625 operator != for MinipageParams. Who's changing stuff and not compiling?
627 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
632 * GUI.h: add class GUIFloat
634 * ControlFloat.[Ch]: new files
636 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
638 * ControlPrint.C: #include Lassert.h here.
640 2001-07-26 Baruch Even <baruch@lyx.org>
642 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
645 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
647 * ControlThesaurus.h:
648 * ControlThesaurus.C:
650 * Makefile.am: thesaurus support
652 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
655 * ControlInclude.C: implement ability to load file
657 2001-07-18 Juergen Vigna <jug@sad.it>
659 * ControlSearch.C (replace): changes to lyxfind.h function calls.
661 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
663 * biblio.C (getInfo): add a .c_str() to handle the usual
666 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
668 * ControlCitation.[Ch]: changes associated with adding natbib support.
669 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
670 New static variable citeStyles_.
672 * biblio.[Ch]: large internal rearrangement.
673 New public enum CiteStyle.
674 New public struct CitationStyle.
675 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
676 getNumericalStrings, getAuthorYearStrings
677 (simpleSearch, regexSearch): no longer publicly accessible.
679 * helper_funcs.C (getStringFromVector): bug fix.
681 2001-07-16 Baruch Even <baruch@lyx.org>
683 * ControlVCLog.h: Added Lsstream.h to includes.
685 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
687 * ControlSpellchecker.[Ch]: remove d-tor.
689 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
691 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
693 2001-07-16 Juergen Vigna <jug@sad.it>
695 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
696 compiled with USE_PSPELL) to be able to switch between ISpell and
699 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
701 Consistent use of Lsstream.h:
702 * ControlAboutlyx.[Ch] (getCredits):
703 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
705 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
707 * ControlCredits.[Ch]: removed
708 * ControlCopyright.[Ch]: removed
709 * ControlAboutlyx.[Ch]: added (replaces previous)
710 * GUI.h: removed credits and copyright added about lyx stuff
712 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
714 * ControlSpellchecker.C (getSuggestion):
715 (getWord): add std:: qualifier
717 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
719 * ControlSpellchecker.[Ch]: added
720 * ViewBase.h: added partialUpdate(int) member
721 * GUI.h: added spell stuff
723 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
725 * ControlExternal.C: (*it). -> it->
727 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
729 * ButtonController.h: move some included header files out of the
730 frontends and into here.
732 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
734 * ControlCharacter.C (c-tor): cosmetic name change of signal.
736 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
738 * *.[h]: added // -*- C++ -*-
739 * *.[C]: removed // -*- C++ -*-
741 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
742 activate Apply button.
743 (clearParams): removed.
744 font_ is now stored as a boost::scoped_ptr.
745 font_ is no longer deleted on hide(), so it's contents can now be used
746 by the Font button on the toolbar.
747 Lots of new methods so that the GUI can easily get the contents of
748 font_ when it update()s.
750 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
752 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
753 crash when the Font button on the Toolbar is pressed.
755 * GUI.h: change policy of Character button controller to
756 OkApplyCancelReadOnlyPolicy.
758 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
760 * ControlToc.C (getContents): don't add anything to the list if it
761 is supposed to be empty.
763 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
765 * helper_funcs.C (getVectorFromString): bug fix.
767 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
770 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
771 from ButtonControllerBase::readOnly. Updates the state of the widgets
772 in the read-only list only when the read-only status of the document
774 (refresh): moved this stuff into refreshReadOnly.
776 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
778 * ControlPrint.C (c-tor):
779 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
781 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
784 * character.h: small clean-ups.
786 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
788 * ControlToc.C (getType): remove support for old float list.
790 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
792 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
793 * ControlGraphics.h: no longer include insetgraphicsParams.h
794 * ControlInset.h: no longer include LyXView.h
799 * ControlCharacter.C:
802 * ControlConnections.C:
803 * ControlCopyright.C:
815 * ControlTabularCreate.C:
817 * ControlVCLog.C: they're now in here!
819 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
821 * ButtonControllerBase.h: C++ mode, inherit privately from
823 * ButtonPolicies.h: ditto
825 * ButtonController.h: C++ mode, swap init order of restore_ and
828 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
830 * ControlTabularCreate.h:
831 * ControlTabularCreate.C: make dialogs use a pair of uints
835 * ControlVCLog.C: fill a stringstream with the log contents
838 * ControlExternal.C: from Angus, clone the new InsetExternal
841 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
843 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
844 and made more robust.
846 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
855 * ControlCopyright.C: include gettext.h
857 * ControlCharacter.C:
858 * character.C: include gettext.h and language.h
860 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
862 * ButtonController.h:
863 * ButtonControllerBase.h:
864 * ButtonControllerBase.C:
871 * ControlConnections.h:
877 * ViewBase.h: s/ControlButton/ControlButtons/
879 s/UndoAll/Restore/ + associated
881 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
883 * ControlToc.[Ch]: new files; a controller for the TOC popup.
886 * Makefile.am: associated changes with all of the above.
888 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
890 * ControlExternal.C: bug fixes. Can now apply changes to the inset
891 and edit, view, update the External Material correctly. I hope!
893 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
895 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
897 * BCTemplates.h: renamed as ButtonController.h
899 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
902 * ControlConnections.h: associated change in #include and class names.
904 * ControlExternal.[Ch]: new files; a controller for the External
908 * Makefile.am: associated changes with all of the above.
910 * ControlGraphics.[Ch]:
911 * ControlInclude.[Ch]:
914 (Browse): new method. Returns the results of a FileDialog browse.
916 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
917 (getVectorFromString): fixed bug.
919 * biblio.C (simpleSearch): cleaned up.
921 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
923 * A slight reworking of Baruch Even's ButtonController patch.
925 * BCTemplates.h: new file; all the templates for the ButtonController.
926 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
927 to the more generic setButtonLabel().
929 * ButtonController.[Ch]: renamed cancel_label and close_label as
930 cancel_label_ and close_label_.
932 * Makefile.am: added BCTemplates.h
934 2001-03-29 Juergen Vigna <jug@sad.it>
936 * ControlMinipage.C: removed widthp_ and all it's functions and changed
937 to use new %-lengths of LyXLength.
939 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
941 * ControlCitation.C (bibkeysInfo): removed Assert.
943 * ControlCopyright.h: moved GUICopyright into GUI.h
947 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
949 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
950 (setDaughterParams): a (by default empty) new method called in show().
959 * ControlUrl.h (clearDaughterParams): removed
961 * ControlMinipage.C (applyParamsToInset): update the view.
962 Added namespace minipage containing a helper function getUnits.
964 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
966 * ControlCharacter.[Ch]: moved out all the helper functions and the
967 enum into their own file.
968 * character.[Ch]: new files; contain the character helper functions,
969 now inside namespace character.
971 * ControlCitation.[Ch]: moved out all the helper functions and the
972 enums into their own file. Simplified interface.
973 * biblio.[Ch]: new files; contain the citation helper functions,
974 now inside namespace biblio. Will be of use also to an improved
977 * ControlGraphics.[Ch]:
978 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
979 popups, respectively.
982 * Makefile.am: associated changes.
984 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
986 * ControlMinipage.[Ch]:
987 * ControlPreamble.[Ch]:
989 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
990 and Print popups and Splash screen, respectively.
992 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
996 * Makefile.am: associated changes.
998 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1000 * ControlConnections.[Ch]: (docType): new method; returns the type
1001 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1004 * ControlSearch.[Ch]:
1005 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1006 Search and TabularCreate popups, respectively.
1009 * Makefile.am: associated changes.
1011 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1016 * ControlInset.h (apply): fix bug. Can now create new insets again.
1018 * README: describe program flow.
1020 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1022 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1024 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlDialogs.h: moved class ControlInset into its own file.
1028 * ControlInset.h: new file. class ControlInset has been expanded to take
1029 two template parameters, Inset and Params. Believe that all inset
1030 controllers can be derived from this with the minimum of effort.
1032 * ControlBibitem.[Ch]:
1033 * ControlBibtex.[Ch]:
1034 * ControlCitation.[Ch]:
1035 * ControlCommand.[Ch]: moved most code into ControlInset.
1037 * lots of files. Moved protected stuff into private where possible.
1039 * ControlError.[Ch]:
1040 * ControlInclude.[Ch]:
1041 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1042 Include and Url popups, respectively.
1045 * Makefile.am: associated changes.
1047 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1049 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1052 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1054 * ControlCredits.C (getCredits): remove std:: qualifier for
1057 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1059 * ControlCredits.C (getCredits): add std:: on vector
1061 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1063 * ControlCredits.C: remove using that is only used once, use
1064 std::ios instead of std::iosbase, add some annoying comments.
1066 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1068 * lots of header files: improved explanatory notes.
1070 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1071 ControlBase is now a class that only controls the interaction of the
1072 View with the ButtonController.
1074 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1075 to ControlConnectBase. The class controls the connection/disconnection
1076 of signals from the LyX kernel and makes available the kernel (through
1077 lv_) to daughter controller classes.
1078 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1080 * ControlDialogs.h: new file. Contains the definition of two template
1081 controller classes, ControlDialog and ControlInset (was
1082 ControlConnectInset). ControlInset is a parent class for controllers
1083 of inset-popups. ControlDialogs is the rather uninspired name for
1084 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1085 ControlDialogs is reaching a state of maturity as several popups now use
1086 it and its functionality becomes clear. ControlInset is still in a state
1087 of flux. It is likely that functionality will be moved out of
1088 ControlCommands and into it.
1090 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1091 individual Controller header files and into one place. These classes
1092 serve only as convenient wrappers to simplify code in the respective
1093 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1095 * ControlCharacter.[Ch] (show, update, hide):
1096 * ControlLog.[Ch] (show, update, hide):
1097 * ControlVCLog.[Ch] (show, update, hide): moved back into
1098 the ControlDialogs base class.
1099 (setParams, clearParams): new methods containing controller-specific
1100 code to set/reset the parameters manipulated by the view.
1102 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1104 (hide): calls clearParams.
1106 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1107 by ControlCommand::hide().
1109 * ControlCopyright.[Ch]:
1110 * ControlCredits.[Ch]: new files; controllers for the copyright and
1111 credits popups, respectively.
1113 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1115 * ControlCharacter.C: fix typo
1117 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1119 * ControlCharacter.[Ch]: new files; controller for the character popup.
1121 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1122 moved to new files helper_funcs.[Ch].
1124 * helper_funcs.[Ch]: new files. Some useful helper functions and
1127 * Makefile.am: added new files.
1129 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1131 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1133 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1137 Control log files, respectively.
1139 * Makefile.am: added new files.
1141 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1143 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1145 * Makefile.am: added ControlBibtex.[Ch].
1147 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1150 * ControlCitation.C: added "using SigC::slot" declaration.
1152 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1153 to FormCitation.C prior to the merger: "Do not put space between
1156 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1158 * several files: remove CXX_WORKING_NAMESPACES
1160 * ButtonController.h: noncopyable is in namespace boost
1161 * ButtonPolicies.h: ditto
1163 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1165 * Merging changes from BRANCH_MVC back into HEAD.
1167 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1169 * Makefile.am: add ControlBibitem.[Ch].
1171 * ControlBibitem.[Ch]: new files that together define the Controller
1172 for a Bibitem popup.
1174 * ControlCommand.h (c-tor): give kb_action a default value of
1177 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1179 * ControlCitation.[Ch]: moved search functions out of class.
1180 (bibkeysInfo): new method. Returns const reference to private data.
1181 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1184 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1186 * ControlCitation.[Ch]: added Search functions to the class,
1187 (shamelessly lifted from Marco's gnome code). I think that these would
1188 be better as helper functions outside the class, but this is a first
1191 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1193 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1195 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1196 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1197 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1198 implementation of FormCitation.
1200 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1202 * ButtonPolicies.h: add SMI_NOOP to enum.
1204 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1206 * ButtonController.C (input): add "optimising" if-statement. Actually,
1207 things don't work correctly without it...
1209 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1211 * ViewBase.h: remove #pragma directive
1213 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1216 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1218 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1220 * Makefile.am: added ButtonPolicies.[Ch]
1222 * ButtonController.[Ch]: ButtonController is split into
1223 ButtonControllerBase and a template ButtonController class. The base
1224 class no longer stores a pointer to a ButtonPolicy, but instead
1225 accesses the actual instantiation of the policy through a pure virtual
1226 method bp(). This method and the ButtonPolicy itself are instantiated
1227 in the templatised ButtonController class. This class is derived from
1228 the GUI-specific GUIBC class, meaning that the frontends know
1229 nothing about the actual policy decided upon by the controllers.
1231 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1232 Instead the actual instantiations are accessed through pure virtual
1233 methods view() and bc(). The daughter classes are responsible for the
1234 actual View and ButtonController.
1236 * ControlCitation.h: the templatised class GUICitation instantiates
1237 the methods view() and bc(). It also stores the instances of the
1238 View and ButtonController.
1240 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1243 also changed to ButtonController.
1246 * ControlConnections.[Ch]:
1247 * ControlCommand.[Ch]:
1248 * ControlCitation.[Ch]:
1249 * ViewBase.h: Changes associated with this.
1251 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1253 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1254 xforms/ButtonController class into a GUI-I class (here) and an
1255 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1257 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1258 from which all Dialog Controllers should be derived. the Controllers
1259 are GUI-independent, but are designed to control the behaviour of
1260 GUI-specific implementaions of each dialog.
1262 * ControlConnections.[Ch]: new files. Classes controlling the
1263 connections of buffer-independent, buffer-dependent and Inset dialogs
1264 with the LyX kernel.
1266 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1267 InsetCommand subset of insets.
1269 * ControlCitation.[Ch]: new files. The test specialisation! A
1270 controller for the Citation dialog.
1272 * ViewBase.h: new file. ViewBase is an abstract base class from which
1273 GUI-specific dialogs should be derived. The functionality that the GUIs
1274 must now implement is much reduced.