1 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
4 BibTeX databases in a WYSIWYM way.
6 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
9 way past his use-by date.
10 Make use of the improved info from Buffer::getBibkeyList when using
11 \bibliography. Enables us to provide natbib support in this case too.
13 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
15 * ControlGraphics.C: pass the browseFile dialog a string of only those
16 formats that can currently be loaded by LyX.
18 2002-04-15 Herbert Voss <voss@perce.de>
20 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
21 with something like ,,...blah...`` (two commas)
23 2002-04-14 Herbert Voss <voss@perce.de>
25 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
26 into the support/lstrings for better use in other programs.
28 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
29 namespace anon and make globally accessible.
30 (familyName): test for the presence of a LaTeX Space at the front of
31 of a name; strip it if it exists.
33 2002-04-11 Herbert Voss <voss@perce.de>
35 * ControlGraphics.C: expand "browse-string" to all available formats
37 2002-04-11 Herbert Voss <voss@perce.de>
39 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
41 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
43 * ControlAboutlyx.C (getVersion): two _() forgotten
45 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
49 * ControlBibtex.C: make N_() be _()
51 2002-04-07 Herbert Voss <voss@perce.de>
53 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
55 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
57 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
58 used when reading the BB.
60 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
62 * ControlGraphics.C (readBB): Don't open the ifstrem and then
63 check the format from the contents (and open a second ifstream in the
64 process. One at a time please.
66 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
68 * ControlRef.C (getBufferNum): squash warning message.
70 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
72 * ControlBibtex.C (Browse):
73 * ControlGraphics.C (Browse):
74 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
76 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
78 * ControlGraphics.C (applyParamsToInset): pass filepath to
79 InsetGraphics::updateInset.
81 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
83 * most files: ws cleanup
85 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
87 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
90 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
93 * ControlInclude.C: better error messages
95 2002-03-11 Herbert Voss <voss@lyx.org>
97 * biblio.C (parseBibTeX): fix another minibug with an
100 2002-03-10 Herbert Voss <voss@lyx.org>
102 * biblio.C (parseBibTeX): fix bug
103 (familyName): improve parsing
105 2002-03-09 Herbert Voss <voss@lyx.org>
107 * ControlGraphics.[Ch]: adding checkFilename() for testing
108 of non-existing files
110 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
112 * ControlSendto.C (allFormats): fix a iterators are not pointers
115 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
117 * ControlShowFile.h: add a #include "LString.h"
119 2002-03-05 Herbert Voss <voss@lyx.org>
121 * biblio.C (getInfo): simplify if using paragraph layout
124 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
126 * biblio.C (getInfo): return the info field correctly if the key
128 (parseBibTeX): fix crash when data.find('=') returns string::npos.
130 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlForks.[Ch]: new files. A controller for the Forked Child
133 processes dialog, enabling the user to see what forked processes
134 are running, and, if he so desires, to kill them.
136 * GUI.h: add class GUIForks.
138 * Makefile.am: add ControlForks.[Ch].
140 * ControlGraphics.C (getParams): small change due to change in
143 2002-02-21 Herbert Voss <voss@lyx.org>
145 * biblio.C: fix bug with commentlines in a bibentry
147 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * Makefile.am: simpler obj. file compile
151 2002-02-18 Herbert Voss <voss@lyx.org>
153 * ControlGraphics.[Ch]: remove help-file call
155 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
157 * helper_funcs.h: wrap the structs firster and seconder up in a
158 namespace to avoid clashes with those in lyxalgo,h.
160 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
161 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
163 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
168 change Systemcalls::System to Systemcalls::Wait and
169 No change of functionality, just reflects the stripped down Systemcalls
172 2002-02-06 Herbert Voss <voss@lyx.org>
174 * ControlGraphics.[C] (readBB): search also in
175 g'zipped files. If it is useful than PK and compress
176 should also be supported. use unzipFile() from
179 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * ControlRef.C (getBufferName): new method to get a real buffer
184 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
186 * ControlTexInfo.[Ch]: Removed Help functions.
188 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
190 * ControlSpellchecker.C: clear any selection left
193 2002-02-01 Herbert Voss <voss@lyx.org>
195 * ControlGraphics.[C] (readBB): search only, if it is a
196 ".?ps" file and look for bb's at end of file
198 2002-01-30 Herbert Voss <voss@lyx.org>
200 * ControlGraphic.[C]: do not search the whole file, when
203 2002-01-29 Herbert Voss <voss@lyx.org>
205 * ControlGraphic.[C]: added a button for document path
206 when browsing -> bug 222
208 2002-01-27 Herbert Voss <voss@lyx.org>
210 * ControlGraphic.[Ch]: added support for Bounding Box, other
213 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
216 * ControlTexinfo.h: added #include "LString.h" where they belong.
218 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
221 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
223 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
228 2002-01-20 Herbert Voss <voss@perce.de>
230 * ControlInclude.[Ch]: better control of unexistings files
231 when entered without the browser
233 * ControlGraphic.C (Browse): add extension "ps" when browsing for
236 2002-01-19 Herbert Voss <voss@perce.de>
238 * biblio.C (getInfo): fix bug when no author is given
240 * biblio.C (parseBibTeX): change the parsing, so that
241 '#'-characters in a bibtex entry are no more a problem.
243 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
245 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
246 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
248 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
250 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
252 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
254 * ControlExternal.C (Browse): add a std:: qualifier
256 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * ControlExternal.C (Browse): simplify to use browseRelFile
260 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
262 * ButtonController.tmpl: added // -*- C++ -*-
264 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
265 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
266 Needed in _one_ of the ControlCommand-derived classes only.
268 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
271 * ControlSearch.h: #include LString.h
273 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
275 * ButtonController.h: split into two. The definition remains in
276 ButtonController.h, the declaration is now in ButtonController.tmpl.
277 These template methods should be #included when the derived class is
278 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
279 and in the qt2 and gnome equivalents.
281 * ControlDialogs.h: removed. The definition of class ControlDialog is
282 now to be found in ControlDialog.h and the declaration of the methods
283 is in ControlDialog.tmpl. The two template instantiations are performed
284 in ControlDialog_impl.[Ch], new files also.
286 * ControlInset.h: split into two. The definition remains in
287 ControlInset.h, the declaration is now in ControlInset.tmpl.
288 These template methods should be #included derived class is
289 instantiated, in this case in 8 other .C files in this directory.
291 * ControlAboutlyx.[Ch]:
292 * ControlCharacter.[Ch]:
302 * ControlPreamble.[Ch]:
304 * ControlSearch.[Ch]:
305 * ControlShowFile.[Ch]:
306 * ControlSpellchecker.[Ch]:
307 * ControlTabularCreate.[Ch]:
308 * ControlTexinfo.[Ch]:
309 * ControlThesaurus.[Ch]:
310 * ControlVCLog.[Ch]: small changes associated with the above ones.
312 * GUI.h: #include the ButtonController and dialog controller files
313 here, rather than forward declare them. This is the correct place
316 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
317 Rename ControlDialogs.h as ControlDialog.h.
318 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
321 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
323 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
325 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
330 * ControlGraphics.C (Browse): remove overzealous shortcut
332 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
334 * FormMinipage.C (apply, update): MinipageParams::width renamed
335 as MinipageParams::pageWidth. InsetMinipage::width renamed
336 as InsetMinipage::pageWidth.
338 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
340 * ButtonController.h (refreshReadOnly): use explicit typename
342 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
344 * helper_funcs.h (browseFile): add default empty button descriptions.
346 * ControlGraphics.C (Browse):
347 * ControlBibtex.C (Browse):
348 * ControlInclude.C (Browse): add shortcuts to directory buttons
350 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
352 * ControlThesaurus.h:
353 * ControlThesaurus.C: update to Aiksaurus 0.14
355 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlSpellchecker.C (clearParams): show the closing message
358 only if some words have been checked, thereby fixing
361 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
363 * ControlFloat.[Ch]: changes to prevent here definitely being used
366 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
368 * ControlThesaurus.h: do not include <config.h> in header files
370 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
372 * ControlToc.C: changes for floatlist
374 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
376 * ControlVCLog.C: use _()
378 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
380 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
383 2001-10-22 Juergen Vigna <jug@sad.it>
385 * ControlSpellchecker.C (clearParams): use the error_ message of the
386 speller_ if available when the spellchecker died.
387 (setParams): remove double error message display.
389 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
393 * helper_funcs.[Ch] (getLatexUnits): see above.
395 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
397 * ControlTexinfo.C (getContents): use the right file for .sty files
399 2001-10-10 Herbert Voss <voss@perce.de>
401 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
402 and some more stuff from FormTexinfo.C
404 * ControlShowFile.C: hiding the update-button
406 2001-10-09 Herbert Voss <voss@perce.de>
408 * ControlTexinfo.[Ch]: new files. Display information about the
409 installed texfiles (cls,sty,bst).
411 * ControlShowFile.[Ch]: new files. Display the contents of a file.
413 * GUI.h: added classes GUIShowFile and GUITexinfo.
415 * Makefile.am: modified appropriately.
417 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * ControlAboutlyx.C (getVersion): use lyx_version and
420 lyx_release_date instead of old macros
422 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlSpellchecker.C (check): Behaves well now when the spell
425 library doesn't know a replacement to an incorrect word.
427 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
430 the correct place. Can now check spelling more than once!
432 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlSplash.[Ch]: removed.
436 * GUI.h: remove GUISplash class.
438 * ViewBase.h: remove ViewSplash class.
440 * Makefile.am: remove ControlSplash.[Ch].
442 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
444 * ControlButtons.h: add variable emergency_exit_. If set to true, the
445 view will be shut down.
448 * ControlInset.h: act on emergency_exit_.
450 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
451 speller fails to launch.
453 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
456 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
458 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
460 * ControlRef.h (disconnectOnApply): new method. Set to true.
461 Perhaps make this user-modifiable?
463 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
468 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
470 * ControlRef.C (getBufferList, getBufferNum): New methods
472 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
475 of the dialog when the Apply button is pressed. Defaults to false,
476 but can be overridden in the daughter classes.
478 * ControlCitation.h (disconnectOnApply): new method. Set to true.
479 Perhaps make this user-modifiable?
481 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
484 we have dialogs that update their contents when the buffer changes.
485 Rather embarassing, really!
487 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
489 * ControlSearch (replace): change semantics of replace to NOT move on
490 to the next instance of a word once the present instance has been
491 replaced unless we are replacing ALL instances of the word.
493 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
495 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
497 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
499 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
500 dialog, set all options to "reset", close the dialog, re-open it ->
501 the options are set incorrectly.
503 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
504 When Applying it's useful to know whether the dialog is about to close
505 or not (no point refreshing the display for example).
507 * ControlInset.C (apply): use isClosing.
509 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
512 * ControlDialogs.h: remove bc() hack, now fixed in
513 Qt2 frontend. use member dialog_built_ instead of shared
516 * ButtonController.h:
517 * ButtonPolicies.C: more debug info
519 * ButtonControllerBase.C: call refresh() when setting readOnly !
521 * GUI.h: External form has apply, use the right policy
523 * character.C: fix two off-by-one errors when latex font was removed
525 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
527 * ControlInset.h (apply): tentative fix for the press Apply multiple
528 times and get multiple new Insets problem.
530 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
532 * ControlCharacter.C: fix typo
536 * ControlInsets.C: make sure dialog is built before it is shown, so
537 it works properly the very first time it is shown
539 2001-08-20 Herbert Voss <voss@perce.de>
541 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
542 and styles. Added an option for "bibliography into toc"
544 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
546 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
547 LaTeX is no longer a font property.
549 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
551 * GUI.h: Button controller for Reference dialog changed to
552 NoRepeatedApplyReadOnlyPolicy.
554 * biblio.C (getInfo): output volume and number info. Move year to end
557 2001-08-09 Allan Rae <rae@lyx.org>
559 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
561 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
563 * helper_funcs.C (getVectorFromString): fixed small bug.
565 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
567 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
569 * ControlSpellchecker.C: check next word after insert in personal dict
571 2001-08-06 Juergen Vigna <jug@sad.it>
573 * ControlERT.[Ch]: new file
575 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
577 * ControlInset.h: const and non-const forms of params().
579 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
580 whitespace from either side of each item.
582 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
584 * ControlFloat.h: add a != operator for FloatParams.
585 Lars, how did you get this to compile!!!
587 * ControlMinipage.[Ch]: uncommented someone's commenting out of
588 operator != for MinipageParams. Who's changing stuff and not compiling?
590 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
595 * GUI.h: add class GUIFloat
597 * ControlFloat.[Ch]: new files
599 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
601 * ControlPrint.C: #include Lassert.h here.
603 2001-07-26 Baruch Even <baruch@lyx.org>
605 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
608 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
610 * ControlThesaurus.h:
611 * ControlThesaurus.C:
613 * Makefile.am: thesaurus support
615 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
618 * ControlInclude.C: implement ability to load file
620 2001-07-18 Juergen Vigna <jug@sad.it>
622 * ControlSearch.C (replace): changes to lyxfind.h function calls.
624 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
626 * biblio.C (getInfo): add a .c_str() to handle the usual
629 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
631 * ControlCitation.[Ch]: changes associated with adding natbib support.
632 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
633 New static variable citeStyles_.
635 * biblio.[Ch]: large internal rearrangement.
636 New public enum CiteStyle.
637 New public struct CitationStyle.
638 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
639 getNumericalStrings, getAuthorYearStrings
640 (simpleSearch, regexSearch): no longer publicly accessible.
642 * helper_funcs.C (getStringFromVector): bug fix.
644 2001-07-16 Baruch Even <baruch@lyx.org>
646 * ControlVCLog.h: Added Lsstream.h to includes.
648 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
650 * ControlSpellchecker.[Ch]: remove d-tor.
652 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
654 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
656 2001-07-16 Juergen Vigna <jug@sad.it>
658 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
659 compiled with USE_PSPELL) to be able to switch between ISpell and
662 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
664 Consistent use of Lsstream.h:
665 * ControlAboutlyx.[Ch] (getCredits):
666 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
668 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
670 * ControlCredits.[Ch]: removed
671 * ControlCopyright.[Ch]: removed
672 * ControlAboutlyx.[Ch]: added (replaces previous)
673 * GUI.h: removed credits and copyright added about lyx stuff
675 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
677 * ControlSpellchecker.C (getSuggestion):
678 (getWord): add std:: qualifier
680 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
682 * ControlSpellchecker.[Ch]: added
683 * ViewBase.h: added partialUpdate(int) member
684 * GUI.h: added spell stuff
686 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
688 * ControlExternal.C: (*it). -> it->
690 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
692 * ButtonController.h: move some included header files out of the
693 frontends and into here.
695 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
697 * ControlCharacter.C (c-tor): cosmetic name change of signal.
699 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
701 * *.[h]: added // -*- C++ -*-
702 * *.[C]: removed // -*- C++ -*-
704 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
705 activate Apply button.
706 (clearParams): removed.
707 font_ is now stored as a boost::scoped_ptr.
708 font_ is no longer deleted on hide(), so it's contents can now be used
709 by the Font button on the toolbar.
710 Lots of new methods so that the GUI can easily get the contents of
711 font_ when it update()s.
713 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
715 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
716 crash when the Font button on the Toolbar is pressed.
718 * GUI.h: change policy of Character button controller to
719 OkApplyCancelReadOnlyPolicy.
721 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
723 * ControlToc.C (getContents): don't add anything to the list if it
724 is supposed to be empty.
726 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
728 * helper_funcs.C (getVectorFromString): bug fix.
730 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
733 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
734 from ButtonControllerBase::readOnly. Updates the state of the widgets
735 in the read-only list only when the read-only status of the document
737 (refresh): moved this stuff into refreshReadOnly.
739 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
741 * ControlPrint.C (c-tor):
742 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
744 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
747 * character.h: small clean-ups.
749 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
751 * ControlToc.C (getType): remove support for old float list.
753 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
755 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
756 * ControlGraphics.h: no longer include insetgraphicsParams.h
757 * ControlInset.h: no longer include LyXView.h
762 * ControlCharacter.C:
765 * ControlConnections.C:
766 * ControlCopyright.C:
778 * ControlTabularCreate.C:
780 * ControlVCLog.C: they're now in here!
782 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
784 * ButtonControllerBase.h: C++ mode, inherit privately from
786 * ButtonPolicies.h: ditto
788 * ButtonController.h: C++ mode, swap init order of restore_ and
791 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
793 * ControlTabularCreate.h:
794 * ControlTabularCreate.C: make dialogs use a pair of uints
798 * ControlVCLog.C: fill a stringstream with the log contents
801 * ControlExternal.C: from Angus, clone the new InsetExternal
804 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
806 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
807 and made more robust.
809 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
818 * ControlCopyright.C: include gettext.h
820 * ControlCharacter.C:
821 * character.C: include gettext.h and language.h
823 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
825 * ButtonController.h:
826 * ButtonControllerBase.h:
827 * ButtonControllerBase.C:
834 * ControlConnections.h:
840 * ViewBase.h: s/ControlButton/ControlButtons/
842 s/UndoAll/Restore/ + associated
844 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
846 * ControlToc.[Ch]: new files; a controller for the TOC popup.
849 * Makefile.am: associated changes with all of the above.
851 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlExternal.C: bug fixes. Can now apply changes to the inset
854 and edit, view, update the External Material correctly. I hope!
856 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
858 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
860 * BCTemplates.h: renamed as ButtonController.h
862 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
865 * ControlConnections.h: associated change in #include and class names.
867 * ControlExternal.[Ch]: new files; a controller for the External
871 * Makefile.am: associated changes with all of the above.
873 * ControlGraphics.[Ch]:
874 * ControlInclude.[Ch]:
877 (Browse): new method. Returns the results of a FileDialog browse.
879 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
880 (getVectorFromString): fixed bug.
882 * biblio.C (simpleSearch): cleaned up.
884 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
886 * A slight reworking of Baruch Even's ButtonController patch.
888 * BCTemplates.h: new file; all the templates for the ButtonController.
889 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
890 to the more generic setButtonLabel().
892 * ButtonController.[Ch]: renamed cancel_label and close_label as
893 cancel_label_ and close_label_.
895 * Makefile.am: added BCTemplates.h
897 2001-03-29 Juergen Vigna <jug@sad.it>
899 * ControlMinipage.C: removed widthp_ and all it's functions and changed
900 to use new %-lengths of LyXLength.
902 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlCitation.C (bibkeysInfo): removed Assert.
906 * ControlCopyright.h: moved GUICopyright into GUI.h
910 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
912 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
913 (setDaughterParams): a (by default empty) new method called in show().
922 * ControlUrl.h (clearDaughterParams): removed
924 * ControlMinipage.C (applyParamsToInset): update the view.
925 Added namespace minipage containing a helper function getUnits.
927 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
929 * ControlCharacter.[Ch]: moved out all the helper functions and the
930 enum into their own file.
931 * character.[Ch]: new files; contain the character helper functions,
932 now inside namespace character.
934 * ControlCitation.[Ch]: moved out all the helper functions and the
935 enums into their own file. Simplified interface.
936 * biblio.[Ch]: new files; contain the citation helper functions,
937 now inside namespace biblio. Will be of use also to an improved
940 * ControlGraphics.[Ch]:
941 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
942 popups, respectively.
945 * Makefile.am: associated changes.
947 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
949 * ControlMinipage.[Ch]:
950 * ControlPreamble.[Ch]:
952 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
953 and Print popups and Splash screen, respectively.
955 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
959 * Makefile.am: associated changes.
961 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
963 * ControlConnections.[Ch]: (docType): new method; returns the type
964 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
967 * ControlSearch.[Ch]:
968 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
969 Search and TabularCreate popups, respectively.
972 * Makefile.am: associated changes.
974 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
976 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
979 * ControlInset.h (apply): fix bug. Can now create new insets again.
981 * README: describe program flow.
983 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
985 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
987 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
989 * ControlDialogs.h: moved class ControlInset into its own file.
991 * ControlInset.h: new file. class ControlInset has been expanded to take
992 two template parameters, Inset and Params. Believe that all inset
993 controllers can be derived from this with the minimum of effort.
995 * ControlBibitem.[Ch]:
996 * ControlBibtex.[Ch]:
997 * ControlCitation.[Ch]:
998 * ControlCommand.[Ch]: moved most code into ControlInset.
1000 * lots of files. Moved protected stuff into private where possible.
1002 * ControlError.[Ch]:
1003 * ControlInclude.[Ch]:
1004 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1005 Include and Url popups, respectively.
1008 * Makefile.am: associated changes.
1010 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1012 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1015 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1017 * ControlCredits.C (getCredits): remove std:: qualifier for
1020 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1022 * ControlCredits.C (getCredits): add std:: on vector
1024 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1026 * ControlCredits.C: remove using that is only used once, use
1027 std::ios instead of std::iosbase, add some annoying comments.
1029 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1031 * lots of header files: improved explanatory notes.
1033 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1034 ControlBase is now a class that only controls the interaction of the
1035 View with the ButtonController.
1037 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1038 to ControlConnectBase. The class controls the connection/disconnection
1039 of signals from the LyX kernel and makes available the kernel (through
1040 lv_) to daughter controller classes.
1041 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1043 * ControlDialogs.h: new file. Contains the definition of two template
1044 controller classes, ControlDialog and ControlInset (was
1045 ControlConnectInset). ControlInset is a parent class for controllers
1046 of inset-popups. ControlDialogs is the rather uninspired name for
1047 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1048 ControlDialogs is reaching a state of maturity as several popups now use
1049 it and its functionality becomes clear. ControlInset is still in a state
1050 of flux. It is likely that functionality will be moved out of
1051 ControlCommands and into it.
1053 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1054 individual Controller header files and into one place. These classes
1055 serve only as convenient wrappers to simplify code in the respective
1056 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1058 * ControlCharacter.[Ch] (show, update, hide):
1059 * ControlLog.[Ch] (show, update, hide):
1060 * ControlVCLog.[Ch] (show, update, hide): moved back into
1061 the ControlDialogs base class.
1062 (setParams, clearParams): new methods containing controller-specific
1063 code to set/reset the parameters manipulated by the view.
1065 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1067 (hide): calls clearParams.
1069 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1070 by ControlCommand::hide().
1072 * ControlCopyright.[Ch]:
1073 * ControlCredits.[Ch]: new files; controllers for the copyright and
1074 credits popups, respectively.
1076 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1078 * ControlCharacter.C: fix typo
1080 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ControlCharacter.[Ch]: new files; controller for the character popup.
1084 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1085 moved to new files helper_funcs.[Ch].
1087 * helper_funcs.[Ch]: new files. Some useful helper functions and
1090 * Makefile.am: added new files.
1092 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1094 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1096 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1100 Control log files, respectively.
1102 * Makefile.am: added new files.
1104 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1106 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1108 * Makefile.am: added ControlBibtex.[Ch].
1110 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlCitation.C: added "using SigC::slot" declaration.
1115 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1116 to FormCitation.C prior to the merger: "Do not put space between
1119 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1121 * several files: remove CXX_WORKING_NAMESPACES
1123 * ButtonController.h: noncopyable is in namespace boost
1124 * ButtonPolicies.h: ditto
1126 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1128 * Merging changes from BRANCH_MVC back into HEAD.
1130 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1132 * Makefile.am: add ControlBibitem.[Ch].
1134 * ControlBibitem.[Ch]: new files that together define the Controller
1135 for a Bibitem popup.
1137 * ControlCommand.h (c-tor): give kb_action a default value of
1140 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1142 * ControlCitation.[Ch]: moved search functions out of class.
1143 (bibkeysInfo): new method. Returns const reference to private data.
1144 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1147 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1149 * ControlCitation.[Ch]: added Search functions to the class,
1150 (shamelessly lifted from Marco's gnome code). I think that these would
1151 be better as helper functions outside the class, but this is a first
1154 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1158 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1159 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1160 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1161 implementation of FormCitation.
1163 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1165 * ButtonPolicies.h: add SMI_NOOP to enum.
1167 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1169 * ButtonController.C (input): add "optimising" if-statement. Actually,
1170 things don't work correctly without it...
1172 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1174 * ViewBase.h: remove #pragma directive
1176 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1179 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1181 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1183 * Makefile.am: added ButtonPolicies.[Ch]
1185 * ButtonController.[Ch]: ButtonController is split into
1186 ButtonControllerBase and a template ButtonController class. The base
1187 class no longer stores a pointer to a ButtonPolicy, but instead
1188 accesses the actual instantiation of the policy through a pure virtual
1189 method bp(). This method and the ButtonPolicy itself are instantiated
1190 in the templatised ButtonController class. This class is derived from
1191 the GUI-specific GUIBC class, meaning that the frontends know
1192 nothing about the actual policy decided upon by the controllers.
1194 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1195 Instead the actual instantiations are accessed through pure virtual
1196 methods view() and bc(). The daughter classes are responsible for the
1197 actual View and ButtonController.
1199 * ControlCitation.h: the templatised class GUICitation instantiates
1200 the methods view() and bc(). It also stores the instances of the
1201 View and ButtonController.
1203 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1205 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1206 also changed to ButtonController.
1209 * ControlConnections.[Ch]:
1210 * ControlCommand.[Ch]:
1211 * ControlCitation.[Ch]:
1212 * ViewBase.h: Changes associated with this.
1214 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1216 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1217 xforms/ButtonController class into a GUI-I class (here) and an
1218 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1220 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1221 from which all Dialog Controllers should be derived. the Controllers
1222 are GUI-independent, but are designed to control the behaviour of
1223 GUI-specific implementaions of each dialog.
1225 * ControlConnections.[Ch]: new files. Classes controlling the
1226 connections of buffer-independent, buffer-dependent and Inset dialogs
1227 with the LyX kernel.
1229 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1230 InsetCommand subset of insets.
1232 * ControlCitation.[Ch]: new files. The test specialisation! A
1233 controller for the Citation dialog.
1235 * ViewBase.h: new file. ViewBase is an abstract base class from which
1236 GUI-specific dialogs should be derived. The functionality that the GUIs
1237 must now implement is much reduced.