1 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
4 way past his use-by date.
5 Make use of the improved info from Buffer::getBibkeyList when using
6 \bibliography. Enables us to provide natbib support in this case too.
8 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
10 * ControlGraphics.C: pass the browseFile dialog a string of only those
11 formats that can currently be loaded by LyX.
13 2002-04-15 Herbert Voss <voss@perce.de>
15 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
16 with something like ,,...blah...`` (two commas)
18 2002-04-14 Herbert Voss <voss@perce.de>
20 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
21 into the support/lstrings for better use in other programs.
23 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
24 namespace anon and make globally accessible.
25 (familyName): test for the presence of a LaTeX Space at the front of
26 of a name; strip it if it exists.
28 2002-04-11 Herbert Voss <voss@perce.de>
30 * ControlGraphics.C: expand "browse-string" to all available formats
32 2002-04-11 Herbert Voss <voss@perce.de>
34 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
36 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
38 * ControlAboutlyx.C (getVersion): two _() forgotten
40 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
44 * ControlBibtex.C: make N_() be _()
46 2002-04-07 Herbert Voss <voss@perce.de>
48 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
50 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
52 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
53 used when reading the BB.
55 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
57 * ControlGraphics.C (readBB): Don't open the ifstrem and then
58 check the format from the contents (and open a second ifstream in the
59 process. One at a time please.
61 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
63 * ControlRef.C (getBufferNum): squash warning message.
65 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlBibtex.C (Browse):
68 * ControlGraphics.C (Browse):
69 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
71 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
73 * ControlGraphics.C (applyParamsToInset): pass filepath to
74 InsetGraphics::updateInset.
76 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * most files: ws cleanup
80 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
82 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
85 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
88 * ControlInclude.C: better error messages
90 2002-03-11 Herbert Voss <voss@lyx.org>
92 * biblio.C (parseBibTeX): fix another minibug with an
95 2002-03-10 Herbert Voss <voss@lyx.org>
97 * biblio.C (parseBibTeX): fix bug
98 (familyName): improve parsing
100 2002-03-09 Herbert Voss <voss@lyx.org>
102 * ControlGraphics.[Ch]: adding checkFilename() for testing
103 of non-existing files
105 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * ControlSendto.C (allFormats): fix a iterators are not pointers
110 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
112 * ControlShowFile.h: add a #include "LString.h"
114 2002-03-05 Herbert Voss <voss@lyx.org>
116 * biblio.C (getInfo): simplify if using paragraph layout
119 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
121 * biblio.C (getInfo): return the info field correctly if the key
123 (parseBibTeX): fix crash when data.find('=') returns string::npos.
125 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlForks.[Ch]: new files. A controller for the Forked Child
128 processes dialog, enabling the user to see what forked processes
129 are running, and, if he so desires, to kill them.
131 * GUI.h: add class GUIForks.
133 * Makefile.am: add ControlForks.[Ch].
135 * ControlGraphics.C (getParams): small change due to change in
138 2002-02-21 Herbert Voss <voss@lyx.org>
140 * biblio.C: fix bug with commentlines in a bibentry
142 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
144 * Makefile.am: simpler obj. file compile
146 2002-02-18 Herbert Voss <voss@lyx.org>
148 * ControlGraphics.[Ch]: remove help-file call
150 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
152 * helper_funcs.h: wrap the structs firster and seconder up in a
153 namespace to avoid clashes with those in lyxalgo,h.
155 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
156 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
158 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
163 change Systemcalls::System to Systemcalls::Wait and
164 No change of functionality, just reflects the stripped down Systemcalls
167 2002-02-06 Herbert Voss <voss@lyx.org>
169 * ControlGraphics.[C] (readBB): search also in
170 g'zipped files. If it is useful than PK and compress
171 should also be supported. use unzipFile() from
174 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
176 * ControlRef.C (getBufferName): new method to get a real buffer
179 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
181 * ControlTexInfo.[Ch]: Removed Help functions.
183 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
185 * ControlSpellchecker.C: clear any selection left
188 2002-02-01 Herbert Voss <voss@lyx.org>
190 * ControlGraphics.[C] (readBB): search only, if it is a
191 ".?ps" file and look for bb's at end of file
193 2002-01-30 Herbert Voss <voss@lyx.org>
195 * ControlGraphic.[C]: do not search the whole file, when
198 2002-01-29 Herbert Voss <voss@lyx.org>
200 * ControlGraphic.[C]: added a button for document path
201 when browsing -> bug 222
203 2002-01-27 Herbert Voss <voss@lyx.org>
205 * ControlGraphic.[Ch]: added support for Bounding Box, other
208 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
211 * ControlTexinfo.h: added #include "LString.h" where they belong.
213 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
216 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
218 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
220 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
223 2002-01-20 Herbert Voss <voss@perce.de>
225 * ControlInclude.[Ch]: better control of unexistings files
226 when entered without the browser
228 * ControlGraphic.C (Browse): add extension "ps" when browsing for
231 2002-01-19 Herbert Voss <voss@perce.de>
233 * biblio.C (getInfo): fix bug when no author is given
235 * biblio.C (parseBibTeX): change the parsing, so that
236 '#'-characters in a bibtex entry are no more a problem.
238 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
240 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
241 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
243 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
245 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
249 * ControlExternal.C (Browse): add a std:: qualifier
251 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * ControlExternal.C (Browse): simplify to use browseRelFile
255 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
257 * ButtonController.tmpl: added // -*- C++ -*-
259 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
260 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
261 Needed in _one_ of the ControlCommand-derived classes only.
263 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
266 * ControlSearch.h: #include LString.h
268 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
270 * ButtonController.h: split into two. The definition remains in
271 ButtonController.h, the declaration is now in ButtonController.tmpl.
272 These template methods should be #included when the derived class is
273 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
274 and in the qt2 and gnome equivalents.
276 * ControlDialogs.h: removed. The definition of class ControlDialog is
277 now to be found in ControlDialog.h and the declaration of the methods
278 is in ControlDialog.tmpl. The two template instantiations are performed
279 in ControlDialog_impl.[Ch], new files also.
281 * ControlInset.h: split into two. The definition remains in
282 ControlInset.h, the declaration is now in ControlInset.tmpl.
283 These template methods should be #included derived class is
284 instantiated, in this case in 8 other .C files in this directory.
286 * ControlAboutlyx.[Ch]:
287 * ControlCharacter.[Ch]:
297 * ControlPreamble.[Ch]:
299 * ControlSearch.[Ch]:
300 * ControlShowFile.[Ch]:
301 * ControlSpellchecker.[Ch]:
302 * ControlTabularCreate.[Ch]:
303 * ControlTexinfo.[Ch]:
304 * ControlThesaurus.[Ch]:
305 * ControlVCLog.[Ch]: small changes associated with the above ones.
307 * GUI.h: #include the ButtonController and dialog controller files
308 here, rather than forward declare them. This is the correct place
311 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
312 Rename ControlDialogs.h as ControlDialog.h.
313 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
316 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
318 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
320 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
322 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
325 * ControlGraphics.C (Browse): remove overzealous shortcut
327 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
329 * FormMinipage.C (apply, update): MinipageParams::width renamed
330 as MinipageParams::pageWidth. InsetMinipage::width renamed
331 as InsetMinipage::pageWidth.
333 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * ButtonController.h (refreshReadOnly): use explicit typename
337 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
339 * helper_funcs.h (browseFile): add default empty button descriptions.
341 * ControlGraphics.C (Browse):
342 * ControlBibtex.C (Browse):
343 * ControlInclude.C (Browse): add shortcuts to directory buttons
345 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
347 * ControlThesaurus.h:
348 * ControlThesaurus.C: update to Aiksaurus 0.14
350 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
352 * ControlSpellchecker.C (clearParams): show the closing message
353 only if some words have been checked, thereby fixing
356 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
358 * ControlFloat.[Ch]: changes to prevent here definitely being used
361 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
363 * ControlThesaurus.h: do not include <config.h> in header files
365 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
367 * ControlToc.C: changes for floatlist
369 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
371 * ControlVCLog.C: use _()
373 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
375 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
378 2001-10-22 Juergen Vigna <jug@sad.it>
380 * ControlSpellchecker.C (clearParams): use the error_ message of the
381 speller_ if available when the spellchecker died.
382 (setParams): remove double error message display.
384 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
386 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
388 * helper_funcs.[Ch] (getLatexUnits): see above.
390 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * ControlTexinfo.C (getContents): use the right file for .sty files
394 2001-10-10 Herbert Voss <voss@perce.de>
396 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
397 and some more stuff from FormTexinfo.C
399 * ControlShowFile.C: hiding the update-button
401 2001-10-09 Herbert Voss <voss@perce.de>
403 * ControlTexinfo.[Ch]: new files. Display information about the
404 installed texfiles (cls,sty,bst).
406 * ControlShowFile.[Ch]: new files. Display the contents of a file.
408 * GUI.h: added classes GUIShowFile and GUITexinfo.
410 * Makefile.am: modified appropriately.
412 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
414 * ControlAboutlyx.C (getVersion): use lyx_version and
415 lyx_release_date instead of old macros
417 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlSpellchecker.C (check): Behaves well now when the spell
420 library doesn't know a replacement to an incorrect word.
422 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
425 the correct place. Can now check spelling more than once!
427 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlSplash.[Ch]: removed.
431 * GUI.h: remove GUISplash class.
433 * ViewBase.h: remove ViewSplash class.
435 * Makefile.am: remove ControlSplash.[Ch].
437 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlButtons.h: add variable emergency_exit_. If set to true, the
440 view will be shut down.
443 * ControlInset.h: act on emergency_exit_.
445 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
446 speller fails to launch.
448 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
450 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
451 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
453 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlRef.h (disconnectOnApply): new method. Set to true.
456 Perhaps make this user-modifiable?
458 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
460 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
463 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
465 * ControlRef.C (getBufferList, getBufferNum): New methods
467 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
470 of the dialog when the Apply button is pressed. Defaults to false,
471 but can be overridden in the daughter classes.
473 * ControlCitation.h (disconnectOnApply): new method. Set to true.
474 Perhaps make this user-modifiable?
476 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
478 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
479 we have dialogs that update their contents when the buffer changes.
480 Rather embarassing, really!
482 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
484 * ControlSearch (replace): change semantics of replace to NOT move on
485 to the next instance of a word once the present instance has been
486 replaced unless we are replacing ALL instances of the word.
488 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
490 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
492 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
494 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
495 dialog, set all options to "reset", close the dialog, re-open it ->
496 the options are set incorrectly.
498 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
499 When Applying it's useful to know whether the dialog is about to close
500 or not (no point refreshing the display for example).
502 * ControlInset.C (apply): use isClosing.
504 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
507 * ControlDialogs.h: remove bc() hack, now fixed in
508 Qt2 frontend. use member dialog_built_ instead of shared
511 * ButtonController.h:
512 * ButtonPolicies.C: more debug info
514 * ButtonControllerBase.C: call refresh() when setting readOnly !
516 * GUI.h: External form has apply, use the right policy
518 * character.C: fix two off-by-one errors when latex font was removed
520 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
522 * ControlInset.h (apply): tentative fix for the press Apply multiple
523 times and get multiple new Insets problem.
525 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
527 * ControlCharacter.C: fix typo
531 * ControlInsets.C: make sure dialog is built before it is shown, so
532 it works properly the very first time it is shown
534 2001-08-20 Herbert Voss <voss@perce.de>
536 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
537 and styles. Added an option for "bibliography into toc"
539 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
541 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
542 LaTeX is no longer a font property.
544 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
546 * GUI.h: Button controller for Reference dialog changed to
547 NoRepeatedApplyReadOnlyPolicy.
549 * biblio.C (getInfo): output volume and number info. Move year to end
552 2001-08-09 Allan Rae <rae@lyx.org>
554 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
556 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
558 * helper_funcs.C (getVectorFromString): fixed small bug.
560 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
562 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
564 * ControlSpellchecker.C: check next word after insert in personal dict
566 2001-08-06 Juergen Vigna <jug@sad.it>
568 * ControlERT.[Ch]: new file
570 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlInset.h: const and non-const forms of params().
574 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
575 whitespace from either side of each item.
577 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
579 * ControlFloat.h: add a != operator for FloatParams.
580 Lars, how did you get this to compile!!!
582 * ControlMinipage.[Ch]: uncommented someone's commenting out of
583 operator != for MinipageParams. Who's changing stuff and not compiling?
585 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
590 * GUI.h: add class GUIFloat
592 * ControlFloat.[Ch]: new files
594 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * ControlPrint.C: #include Lassert.h here.
598 2001-07-26 Baruch Even <baruch@lyx.org>
600 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
603 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
605 * ControlThesaurus.h:
606 * ControlThesaurus.C:
608 * Makefile.am: thesaurus support
610 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
613 * ControlInclude.C: implement ability to load file
615 2001-07-18 Juergen Vigna <jug@sad.it>
617 * ControlSearch.C (replace): changes to lyxfind.h function calls.
619 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
621 * biblio.C (getInfo): add a .c_str() to handle the usual
624 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlCitation.[Ch]: changes associated with adding natbib support.
627 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
628 New static variable citeStyles_.
630 * biblio.[Ch]: large internal rearrangement.
631 New public enum CiteStyle.
632 New public struct CitationStyle.
633 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
634 getNumericalStrings, getAuthorYearStrings
635 (simpleSearch, regexSearch): no longer publicly accessible.
637 * helper_funcs.C (getStringFromVector): bug fix.
639 2001-07-16 Baruch Even <baruch@lyx.org>
641 * ControlVCLog.h: Added Lsstream.h to includes.
643 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlSpellchecker.[Ch]: remove d-tor.
647 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
649 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
651 2001-07-16 Juergen Vigna <jug@sad.it>
653 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
654 compiled with USE_PSPELL) to be able to switch between ISpell and
657 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
659 Consistent use of Lsstream.h:
660 * ControlAboutlyx.[Ch] (getCredits):
661 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
663 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
665 * ControlCredits.[Ch]: removed
666 * ControlCopyright.[Ch]: removed
667 * ControlAboutlyx.[Ch]: added (replaces previous)
668 * GUI.h: removed credits and copyright added about lyx stuff
670 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * ControlSpellchecker.C (getSuggestion):
673 (getWord): add std:: qualifier
675 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
677 * ControlSpellchecker.[Ch]: added
678 * ViewBase.h: added partialUpdate(int) member
679 * GUI.h: added spell stuff
681 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
683 * ControlExternal.C: (*it). -> it->
685 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
687 * ButtonController.h: move some included header files out of the
688 frontends and into here.
690 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
692 * ControlCharacter.C (c-tor): cosmetic name change of signal.
694 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
696 * *.[h]: added // -*- C++ -*-
697 * *.[C]: removed // -*- C++ -*-
699 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
700 activate Apply button.
701 (clearParams): removed.
702 font_ is now stored as a boost::scoped_ptr.
703 font_ is no longer deleted on hide(), so it's contents can now be used
704 by the Font button on the toolbar.
705 Lots of new methods so that the GUI can easily get the contents of
706 font_ when it update()s.
708 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
710 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
711 crash when the Font button on the Toolbar is pressed.
713 * GUI.h: change policy of Character button controller to
714 OkApplyCancelReadOnlyPolicy.
716 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
718 * ControlToc.C (getContents): don't add anything to the list if it
719 is supposed to be empty.
721 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
723 * helper_funcs.C (getVectorFromString): bug fix.
725 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
728 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
729 from ButtonControllerBase::readOnly. Updates the state of the widgets
730 in the read-only list only when the read-only status of the document
732 (refresh): moved this stuff into refreshReadOnly.
734 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
736 * ControlPrint.C (c-tor):
737 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
739 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
742 * character.h: small clean-ups.
744 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
746 * ControlToc.C (getType): remove support for old float list.
748 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
750 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
751 * ControlGraphics.h: no longer include insetgraphicsParams.h
752 * ControlInset.h: no longer include LyXView.h
757 * ControlCharacter.C:
760 * ControlConnections.C:
761 * ControlCopyright.C:
773 * ControlTabularCreate.C:
775 * ControlVCLog.C: they're now in here!
777 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
779 * ButtonControllerBase.h: C++ mode, inherit privately from
781 * ButtonPolicies.h: ditto
783 * ButtonController.h: C++ mode, swap init order of restore_ and
786 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
788 * ControlTabularCreate.h:
789 * ControlTabularCreate.C: make dialogs use a pair of uints
793 * ControlVCLog.C: fill a stringstream with the log contents
796 * ControlExternal.C: from Angus, clone the new InsetExternal
799 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
801 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
802 and made more robust.
804 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
813 * ControlCopyright.C: include gettext.h
815 * ControlCharacter.C:
816 * character.C: include gettext.h and language.h
818 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
820 * ButtonController.h:
821 * ButtonControllerBase.h:
822 * ButtonControllerBase.C:
829 * ControlConnections.h:
835 * ViewBase.h: s/ControlButton/ControlButtons/
837 s/UndoAll/Restore/ + associated
839 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
841 * ControlToc.[Ch]: new files; a controller for the TOC popup.
844 * Makefile.am: associated changes with all of the above.
846 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
848 * ControlExternal.C: bug fixes. Can now apply changes to the inset
849 and edit, view, update the External Material correctly. I hope!
851 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
853 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
855 * BCTemplates.h: renamed as ButtonController.h
857 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
860 * ControlConnections.h: associated change in #include and class names.
862 * ControlExternal.[Ch]: new files; a controller for the External
866 * Makefile.am: associated changes with all of the above.
868 * ControlGraphics.[Ch]:
869 * ControlInclude.[Ch]:
872 (Browse): new method. Returns the results of a FileDialog browse.
874 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
875 (getVectorFromString): fixed bug.
877 * biblio.C (simpleSearch): cleaned up.
879 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
881 * A slight reworking of Baruch Even's ButtonController patch.
883 * BCTemplates.h: new file; all the templates for the ButtonController.
884 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
885 to the more generic setButtonLabel().
887 * ButtonController.[Ch]: renamed cancel_label and close_label as
888 cancel_label_ and close_label_.
890 * Makefile.am: added BCTemplates.h
892 2001-03-29 Juergen Vigna <jug@sad.it>
894 * ControlMinipage.C: removed widthp_ and all it's functions and changed
895 to use new %-lengths of LyXLength.
897 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
899 * ControlCitation.C (bibkeysInfo): removed Assert.
901 * ControlCopyright.h: moved GUICopyright into GUI.h
905 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
907 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
908 (setDaughterParams): a (by default empty) new method called in show().
917 * ControlUrl.h (clearDaughterParams): removed
919 * ControlMinipage.C (applyParamsToInset): update the view.
920 Added namespace minipage containing a helper function getUnits.
922 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
924 * ControlCharacter.[Ch]: moved out all the helper functions and the
925 enum into their own file.
926 * character.[Ch]: new files; contain the character helper functions,
927 now inside namespace character.
929 * ControlCitation.[Ch]: moved out all the helper functions and the
930 enums into their own file. Simplified interface.
931 * biblio.[Ch]: new files; contain the citation helper functions,
932 now inside namespace biblio. Will be of use also to an improved
935 * ControlGraphics.[Ch]:
936 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
937 popups, respectively.
940 * Makefile.am: associated changes.
942 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlMinipage.[Ch]:
945 * ControlPreamble.[Ch]:
947 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
948 and Print popups and Splash screen, respectively.
950 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
954 * Makefile.am: associated changes.
956 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
958 * ControlConnections.[Ch]: (docType): new method; returns the type
959 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
962 * ControlSearch.[Ch]:
963 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
964 Search and TabularCreate popups, respectively.
967 * Makefile.am: associated changes.
969 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
971 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
974 * ControlInset.h (apply): fix bug. Can now create new insets again.
976 * README: describe program flow.
978 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
980 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
982 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlDialogs.h: moved class ControlInset into its own file.
986 * ControlInset.h: new file. class ControlInset has been expanded to take
987 two template parameters, Inset and Params. Believe that all inset
988 controllers can be derived from this with the minimum of effort.
990 * ControlBibitem.[Ch]:
991 * ControlBibtex.[Ch]:
992 * ControlCitation.[Ch]:
993 * ControlCommand.[Ch]: moved most code into ControlInset.
995 * lots of files. Moved protected stuff into private where possible.
998 * ControlInclude.[Ch]:
999 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1000 Include and Url popups, respectively.
1003 * Makefile.am: associated changes.
1005 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1007 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1010 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * ControlCredits.C (getCredits): remove std:: qualifier for
1015 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1017 * ControlCredits.C (getCredits): add std:: on vector
1019 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1021 * ControlCredits.C: remove using that is only used once, use
1022 std::ios instead of std::iosbase, add some annoying comments.
1024 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1026 * lots of header files: improved explanatory notes.
1028 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1029 ControlBase is now a class that only controls the interaction of the
1030 View with the ButtonController.
1032 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1033 to ControlConnectBase. The class controls the connection/disconnection
1034 of signals from the LyX kernel and makes available the kernel (through
1035 lv_) to daughter controller classes.
1036 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1038 * ControlDialogs.h: new file. Contains the definition of two template
1039 controller classes, ControlDialog and ControlInset (was
1040 ControlConnectInset). ControlInset is a parent class for controllers
1041 of inset-popups. ControlDialogs is the rather uninspired name for
1042 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1043 ControlDialogs is reaching a state of maturity as several popups now use
1044 it and its functionality becomes clear. ControlInset is still in a state
1045 of flux. It is likely that functionality will be moved out of
1046 ControlCommands and into it.
1048 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1049 individual Controller header files and into one place. These classes
1050 serve only as convenient wrappers to simplify code in the respective
1051 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1053 * ControlCharacter.[Ch] (show, update, hide):
1054 * ControlLog.[Ch] (show, update, hide):
1055 * ControlVCLog.[Ch] (show, update, hide): moved back into
1056 the ControlDialogs base class.
1057 (setParams, clearParams): new methods containing controller-specific
1058 code to set/reset the parameters manipulated by the view.
1060 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1062 (hide): calls clearParams.
1064 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1065 by ControlCommand::hide().
1067 * ControlCopyright.[Ch]:
1068 * ControlCredits.[Ch]: new files; controllers for the copyright and
1069 credits popups, respectively.
1071 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1073 * ControlCharacter.C: fix typo
1075 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlCharacter.[Ch]: new files; controller for the character popup.
1079 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1080 moved to new files helper_funcs.[Ch].
1082 * helper_funcs.[Ch]: new files. Some useful helper functions and
1085 * Makefile.am: added new files.
1087 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1091 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1094 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1095 Control log files, respectively.
1097 * Makefile.am: added new files.
1099 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1103 * Makefile.am: added ControlBibtex.[Ch].
1105 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1108 * ControlCitation.C: added "using SigC::slot" declaration.
1110 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1111 to FormCitation.C prior to the merger: "Do not put space between
1114 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1116 * several files: remove CXX_WORKING_NAMESPACES
1118 * ButtonController.h: noncopyable is in namespace boost
1119 * ButtonPolicies.h: ditto
1121 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1123 * Merging changes from BRANCH_MVC back into HEAD.
1125 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1127 * Makefile.am: add ControlBibitem.[Ch].
1129 * ControlBibitem.[Ch]: new files that together define the Controller
1130 for a Bibitem popup.
1132 * ControlCommand.h (c-tor): give kb_action a default value of
1135 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1137 * ControlCitation.[Ch]: moved search functions out of class.
1138 (bibkeysInfo): new method. Returns const reference to private data.
1139 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1142 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ControlCitation.[Ch]: added Search functions to the class,
1145 (shamelessly lifted from Marco's gnome code). I think that these would
1146 be better as helper functions outside the class, but this is a first
1149 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1151 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1153 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1154 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1155 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1156 implementation of FormCitation.
1158 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1160 * ButtonPolicies.h: add SMI_NOOP to enum.
1162 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1164 * ButtonController.C (input): add "optimising" if-statement. Actually,
1165 things don't work correctly without it...
1167 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1169 * ViewBase.h: remove #pragma directive
1171 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1174 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1176 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1178 * Makefile.am: added ButtonPolicies.[Ch]
1180 * ButtonController.[Ch]: ButtonController is split into
1181 ButtonControllerBase and a template ButtonController class. The base
1182 class no longer stores a pointer to a ButtonPolicy, but instead
1183 accesses the actual instantiation of the policy through a pure virtual
1184 method bp(). This method and the ButtonPolicy itself are instantiated
1185 in the templatised ButtonController class. This class is derived from
1186 the GUI-specific GUIBC class, meaning that the frontends know
1187 nothing about the actual policy decided upon by the controllers.
1189 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1190 Instead the actual instantiations are accessed through pure virtual
1191 methods view() and bc(). The daughter classes are responsible for the
1192 actual View and ButtonController.
1194 * ControlCitation.h: the templatised class GUICitation instantiates
1195 the methods view() and bc(). It also stores the instances of the
1196 View and ButtonController.
1198 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1200 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1201 also changed to ButtonController.
1204 * ControlConnections.[Ch]:
1205 * ControlCommand.[Ch]:
1206 * ControlCitation.[Ch]:
1207 * ViewBase.h: Changes associated with this.
1209 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1212 xforms/ButtonController class into a GUI-I class (here) and an
1213 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1215 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1216 from which all Dialog Controllers should be derived. the Controllers
1217 are GUI-independent, but are designed to control the behaviour of
1218 GUI-specific implementaions of each dialog.
1220 * ControlConnections.[Ch]: new files. Classes controlling the
1221 connections of buffer-independent, buffer-dependent and Inset dialogs
1222 with the LyX kernel.
1224 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1225 InsetCommand subset of insets.
1227 * ControlCitation.[Ch]: new files. The test specialisation! A
1228 controller for the Citation dialog.
1230 * ViewBase.h: new file. ViewBase is an abstract base class from which
1231 GUI-specific dialogs should be derived. The functionality that the GUIs
1232 must now implement is much reduced.