1 2002-06-12 Angus Leeming <leeming@lyx.org>
3 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
5 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
7 * ControlParagraph.[Ch]: new paragraph controller
8 * GUI.h: add new controller
11 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * GUI.h: do not include ButtonController.tmpl
15 * ControlInset.h: include ControlInset.tmpl
17 * ControlCitation.C: do not include ControlInset.tmpl
18 * ControlCommand.C: ditto
20 * ControlError.C: ditto
21 * ControlExternal.C: ditto
22 * ControlFloat.C: ditto
23 * ControlGraphics.C: ditto
24 * ControlInclude.C: ditto
25 * ControlMinipage.C: ditto
27 * ControlDialog.tmpl: remove the Base:: prefix
29 2002-06-07 Angus Leeming <leeming@lyx.org>
31 Fixes needed to compile with Compaq cxx 6.5.
32 * ControlDialog.tmpl: I have had to prefix base class methods with
35 * ControlInset.tmpl: #include a couple of headers.
37 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
39 * switch from SigC signals to boost::signals
41 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * biblio.h: include vector
45 * biblio.C: change include order
46 (regexSearch): use boost regex and get rid of LRegex
48 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
56 * ControlConnections.C:
73 * ControlSpellchecker.C:
74 * ControlTabularCreate.C:
79 * ControlVCLog.C: LyXView moved into frontends
81 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
83 * ControlExternal.C: add scoped_ptr.hpp
85 * ControlCharacter.h: use more specific smart_ptr header.
87 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
89 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
91 2002-05-13 Herbert Voss <voss@perce.de>
93 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
94 like "Odland, G. and ... "
95 (parseBibTeX): fix bug with title and booktitle
96 and replace a \n with a space when one entry has more than
99 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
101 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
102 "No change" and "Reset".
104 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
105 them at the front of the list.
107 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlGraphics.C: add some comments to the char * arrays.
110 Make rorigin_size const.
112 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
114 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
115 Enables the gui's to internationalise these strings.
117 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
119 * frnt_lang.C: fix build
121 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
123 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
124 If the the caller is the character dialog, add "No change" and "Reset"
125 to the vector, else don't.
126 Internationalise the GUI strings here rather than in the different
128 Sort the translated strings, albeit simply.
130 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
132 * character.[Ch]: rename namespace character as namespace frnt.
134 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
135 as several dialogs will use this info. The function now returns a
136 vector<LanguagePair> where LanguagePair is a display string and an
137 identifying string. The display string is internationalised.
139 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
140 the identifying strings, "No change" and "Reset".
142 * Makefile.am: add frnt_lang.[Ch].
144 2002-04-25 Herbert Voss <voss@lyx.org>
146 * ControlSendto.C (allFormats): don't add the graphics extensions to the
149 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
151 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
152 BibTeX databases in a WYSIWYM way.
154 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
156 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
157 way past his use-by date.
158 Make use of the improved info from Buffer::getBibkeyList when using
159 \bibliography. Enables us to provide natbib support in this case too.
161 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
163 * ControlGraphics.C: pass the browseFile dialog a string of only those
164 formats that can currently be loaded by LyX.
166 2002-04-15 Herbert Voss <voss@perce.de>
168 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
169 with something like ,,...blah...`` (two commas)
171 2002-04-14 Herbert Voss <voss@perce.de>
173 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
174 into the support/lstrings for better use in other programs.
176 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
177 namespace anon and make globally accessible.
178 (familyName): test for the presence of a LaTeX Space at the front of
179 of a name; strip it if it exists.
181 2002-04-11 Herbert Voss <voss@perce.de>
183 * ControlGraphics.C: expand "browse-string" to all available formats
185 2002-04-11 Herbert Voss <voss@perce.de>
187 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
189 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
191 * ControlAboutlyx.C (getVersion): two _() forgotten
193 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
197 * ControlBibtex.C: make N_() be _()
199 2002-04-07 Herbert Voss <voss@perce.de>
201 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
203 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
205 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
206 used when reading the BB.
208 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
210 * ControlGraphics.C (readBB): Don't open the ifstrem and then
211 check the format from the contents (and open a second ifstream in the
212 process. One at a time please.
214 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
216 * ControlRef.C (getBufferNum): squash warning message.
218 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
220 * ControlBibtex.C (Browse):
221 * ControlGraphics.C (Browse):
222 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
224 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
226 * ControlGraphics.C (applyParamsToInset): pass filepath to
227 InsetGraphics::updateInset.
229 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
231 * most files: ws cleanup
233 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
235 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
238 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
241 * ControlInclude.C: better error messages
243 2002-03-11 Herbert Voss <voss@lyx.org>
245 * biblio.C (parseBibTeX): fix another minibug with an
248 2002-03-10 Herbert Voss <voss@lyx.org>
250 * biblio.C (parseBibTeX): fix bug
251 (familyName): improve parsing
253 2002-03-09 Herbert Voss <voss@lyx.org>
255 * ControlGraphics.[Ch]: adding checkFilename() for testing
256 of non-existing files
258 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
260 * ControlSendto.C (allFormats): fix a iterators are not pointers
263 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
265 * ControlShowFile.h: add a #include "LString.h"
267 2002-03-05 Herbert Voss <voss@lyx.org>
269 * biblio.C (getInfo): simplify if using paragraph layout
272 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
274 * biblio.C (getInfo): return the info field correctly if the key
276 (parseBibTeX): fix crash when data.find('=') returns string::npos.
278 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
280 * ControlForks.[Ch]: new files. A controller for the Forked Child
281 processes dialog, enabling the user to see what forked processes
282 are running, and, if he so desires, to kill them.
284 * GUI.h: add class GUIForks.
286 * Makefile.am: add ControlForks.[Ch].
288 * ControlGraphics.C (getParams): small change due to change in
291 2002-02-21 Herbert Voss <voss@lyx.org>
293 * biblio.C: fix bug with commentlines in a bibentry
295 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
297 * Makefile.am: simpler obj. file compile
299 2002-02-18 Herbert Voss <voss@lyx.org>
301 * ControlGraphics.[Ch]: remove help-file call
303 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
305 * helper_funcs.h: wrap the structs firster and seconder up in a
306 namespace to avoid clashes with those in lyxalgo,h.
308 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
309 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
311 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
313 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
316 change Systemcalls::System to Systemcalls::Wait and
317 No change of functionality, just reflects the stripped down Systemcalls
320 2002-02-06 Herbert Voss <voss@lyx.org>
322 * ControlGraphics.[C] (readBB): search also in
323 g'zipped files. If it is useful than PK and compress
324 should also be supported. use unzipFile() from
327 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
329 * ControlRef.C (getBufferName): new method to get a real buffer
332 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
334 * ControlTexInfo.[Ch]: Removed Help functions.
336 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
338 * ControlSpellchecker.C: clear any selection left
341 2002-02-01 Herbert Voss <voss@lyx.org>
343 * ControlGraphics.[C] (readBB): search only, if it is a
344 ".?ps" file and look for bb's at end of file
346 2002-01-30 Herbert Voss <voss@lyx.org>
348 * ControlGraphic.[C]: do not search the whole file, when
351 2002-01-29 Herbert Voss <voss@lyx.org>
353 * ControlGraphic.[C]: added a button for document path
354 when browsing -> bug 222
356 2002-01-27 Herbert Voss <voss@lyx.org>
358 * ControlGraphic.[Ch]: added support for Bounding Box, other
361 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlTexinfo.h: added #include "LString.h" where they belong.
366 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
371 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
373 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
376 2002-01-20 Herbert Voss <voss@perce.de>
378 * ControlInclude.[Ch]: better control of unexistings files
379 when entered without the browser
381 * ControlGraphic.C (Browse): add extension "ps" when browsing for
384 2002-01-19 Herbert Voss <voss@perce.de>
386 * biblio.C (getInfo): fix bug when no author is given
388 * biblio.C (parseBibTeX): change the parsing, so that
389 '#'-characters in a bibtex entry are no more a problem.
391 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
393 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
394 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
396 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
398 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
400 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
402 * ControlExternal.C (Browse): add a std:: qualifier
404 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
406 * ControlExternal.C (Browse): simplify to use browseRelFile
408 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
410 * ButtonController.tmpl: added // -*- C++ -*-
412 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
413 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
414 Needed in _one_ of the ControlCommand-derived classes only.
416 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlSearch.h: #include LString.h
421 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
423 * ButtonController.h: split into two. The definition remains in
424 ButtonController.h, the declaration is now in ButtonController.tmpl.
425 These template methods should be #included when the derived class is
426 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
427 and in the qt2 and gnome equivalents.
429 * ControlDialogs.h: removed. The definition of class ControlDialog is
430 now to be found in ControlDialog.h and the declaration of the methods
431 is in ControlDialog.tmpl. The two template instantiations are performed
432 in ControlDialog_impl.[Ch], new files also.
434 * ControlInset.h: split into two. The definition remains in
435 ControlInset.h, the declaration is now in ControlInset.tmpl.
436 These template methods should be #included derived class is
437 instantiated, in this case in 8 other .C files in this directory.
439 * ControlAboutlyx.[Ch]:
440 * ControlCharacter.[Ch]:
450 * ControlPreamble.[Ch]:
452 * ControlSearch.[Ch]:
453 * ControlShowFile.[Ch]:
454 * ControlSpellchecker.[Ch]:
455 * ControlTabularCreate.[Ch]:
456 * ControlTexinfo.[Ch]:
457 * ControlThesaurus.[Ch]:
458 * ControlVCLog.[Ch]: small changes associated with the above ones.
460 * GUI.h: #include the ButtonController and dialog controller files
461 here, rather than forward declare them. This is the correct place
464 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
465 Rename ControlDialogs.h as ControlDialog.h.
466 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
469 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
473 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
475 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
478 * ControlGraphics.C (Browse): remove overzealous shortcut
480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
482 * FormMinipage.C (apply, update): MinipageParams::width renamed
483 as MinipageParams::pageWidth. InsetMinipage::width renamed
484 as InsetMinipage::pageWidth.
486 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
488 * ButtonController.h (refreshReadOnly): use explicit typename
490 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
492 * helper_funcs.h (browseFile): add default empty button descriptions.
494 * ControlGraphics.C (Browse):
495 * ControlBibtex.C (Browse):
496 * ControlInclude.C (Browse): add shortcuts to directory buttons
498 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
500 * ControlThesaurus.h:
501 * ControlThesaurus.C: update to Aiksaurus 0.14
503 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
505 * ControlSpellchecker.C (clearParams): show the closing message
506 only if some words have been checked, thereby fixing
509 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
511 * ControlFloat.[Ch]: changes to prevent here definitely being used
514 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
516 * ControlThesaurus.h: do not include <config.h> in header files
518 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
520 * ControlToc.C: changes for floatlist
522 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
524 * ControlVCLog.C: use _()
526 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
528 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
531 2001-10-22 Juergen Vigna <jug@sad.it>
533 * ControlSpellchecker.C (clearParams): use the error_ message of the
534 speller_ if available when the spellchecker died.
535 (setParams): remove double error message display.
537 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
539 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
541 * helper_funcs.[Ch] (getLatexUnits): see above.
543 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
545 * ControlTexinfo.C (getContents): use the right file for .sty files
547 2001-10-10 Herbert Voss <voss@perce.de>
549 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
550 and some more stuff from FormTexinfo.C
552 * ControlShowFile.C: hiding the update-button
554 2001-10-09 Herbert Voss <voss@perce.de>
556 * ControlTexinfo.[Ch]: new files. Display information about the
557 installed texfiles (cls,sty,bst).
559 * ControlShowFile.[Ch]: new files. Display the contents of a file.
561 * GUI.h: added classes GUIShowFile and GUITexinfo.
563 * Makefile.am: modified appropriately.
565 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * ControlAboutlyx.C (getVersion): use lyx_version and
568 lyx_release_date instead of old macros
570 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlSpellchecker.C (check): Behaves well now when the spell
573 library doesn't know a replacement to an incorrect word.
575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
577 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
578 the correct place. Can now check spelling more than once!
580 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlSplash.[Ch]: removed.
584 * GUI.h: remove GUISplash class.
586 * ViewBase.h: remove ViewSplash class.
588 * Makefile.am: remove ControlSplash.[Ch].
590 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
592 * ControlButtons.h: add variable emergency_exit_. If set to true, the
593 view will be shut down.
596 * ControlInset.h: act on emergency_exit_.
598 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
599 speller fails to launch.
601 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
603 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
604 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
606 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
608 * ControlRef.h (disconnectOnApply): new method. Set to true.
609 Perhaps make this user-modifiable?
611 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
616 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
618 * ControlRef.C (getBufferList, getBufferNum): New methods
620 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
622 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
623 of the dialog when the Apply button is pressed. Defaults to false,
624 but can be overridden in the daughter classes.
626 * ControlCitation.h (disconnectOnApply): new method. Set to true.
627 Perhaps make this user-modifiable?
629 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
631 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
632 we have dialogs that update their contents when the buffer changes.
633 Rather embarassing, really!
635 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
637 * ControlSearch (replace): change semantics of replace to NOT move on
638 to the next instance of a word once the present instance has been
639 replaced unless we are replacing ALL instances of the word.
641 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
643 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
645 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
647 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
648 dialog, set all options to "reset", close the dialog, re-open it ->
649 the options are set incorrectly.
651 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
652 When Applying it's useful to know whether the dialog is about to close
653 or not (no point refreshing the display for example).
655 * ControlInset.C (apply): use isClosing.
657 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
660 * ControlDialogs.h: remove bc() hack, now fixed in
661 Qt2 frontend. use member dialog_built_ instead of shared
664 * ButtonController.h:
665 * ButtonPolicies.C: more debug info
667 * ButtonControllerBase.C: call refresh() when setting readOnly !
669 * GUI.h: External form has apply, use the right policy
671 * character.C: fix two off-by-one errors when latex font was removed
673 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
675 * ControlInset.h (apply): tentative fix for the press Apply multiple
676 times and get multiple new Insets problem.
678 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
680 * ControlCharacter.C: fix typo
684 * ControlInsets.C: make sure dialog is built before it is shown, so
685 it works properly the very first time it is shown
687 2001-08-20 Herbert Voss <voss@perce.de>
689 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
690 and styles. Added an option for "bibliography into toc"
692 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
694 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
695 LaTeX is no longer a font property.
697 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
699 * GUI.h: Button controller for Reference dialog changed to
700 NoRepeatedApplyReadOnlyPolicy.
702 * biblio.C (getInfo): output volume and number info. Move year to end
705 2001-08-09 Allan Rae <rae@lyx.org>
707 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
709 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
711 * helper_funcs.C (getVectorFromString): fixed small bug.
713 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
715 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
717 * ControlSpellchecker.C: check next word after insert in personal dict
719 2001-08-06 Juergen Vigna <jug@sad.it>
721 * ControlERT.[Ch]: new file
723 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
725 * ControlInset.h: const and non-const forms of params().
727 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
728 whitespace from either side of each item.
730 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
732 * ControlFloat.h: add a != operator for FloatParams.
733 Lars, how did you get this to compile!!!
735 * ControlMinipage.[Ch]: uncommented someone's commenting out of
736 operator != for MinipageParams. Who's changing stuff and not compiling?
738 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
740 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
743 * GUI.h: add class GUIFloat
745 * ControlFloat.[Ch]: new files
747 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
749 * ControlPrint.C: #include Lassert.h here.
751 2001-07-26 Baruch Even <baruch@lyx.org>
753 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
756 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
758 * ControlThesaurus.h:
759 * ControlThesaurus.C:
761 * Makefile.am: thesaurus support
763 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
766 * ControlInclude.C: implement ability to load file
768 2001-07-18 Juergen Vigna <jug@sad.it>
770 * ControlSearch.C (replace): changes to lyxfind.h function calls.
772 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
774 * biblio.C (getInfo): add a .c_str() to handle the usual
777 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
779 * ControlCitation.[Ch]: changes associated with adding natbib support.
780 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
781 New static variable citeStyles_.
783 * biblio.[Ch]: large internal rearrangement.
784 New public enum CiteStyle.
785 New public struct CitationStyle.
786 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
787 getNumericalStrings, getAuthorYearStrings
788 (simpleSearch, regexSearch): no longer publicly accessible.
790 * helper_funcs.C (getStringFromVector): bug fix.
792 2001-07-16 Baruch Even <baruch@lyx.org>
794 * ControlVCLog.h: Added Lsstream.h to includes.
796 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
798 * ControlSpellchecker.[Ch]: remove d-tor.
800 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
802 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
804 2001-07-16 Juergen Vigna <jug@sad.it>
806 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
807 compiled with USE_PSPELL) to be able to switch between ISpell and
810 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
812 Consistent use of Lsstream.h:
813 * ControlAboutlyx.[Ch] (getCredits):
814 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
816 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
818 * ControlCredits.[Ch]: removed
819 * ControlCopyright.[Ch]: removed
820 * ControlAboutlyx.[Ch]: added (replaces previous)
821 * GUI.h: removed credits and copyright added about lyx stuff
823 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
825 * ControlSpellchecker.C (getSuggestion):
826 (getWord): add std:: qualifier
828 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
830 * ControlSpellchecker.[Ch]: added
831 * ViewBase.h: added partialUpdate(int) member
832 * GUI.h: added spell stuff
834 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
836 * ControlExternal.C: (*it). -> it->
838 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
840 * ButtonController.h: move some included header files out of the
841 frontends and into here.
843 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
845 * ControlCharacter.C (c-tor): cosmetic name change of signal.
847 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
849 * *.[h]: added // -*- C++ -*-
850 * *.[C]: removed // -*- C++ -*-
852 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
853 activate Apply button.
854 (clearParams): removed.
855 font_ is now stored as a boost::scoped_ptr.
856 font_ is no longer deleted on hide(), so it's contents can now be used
857 by the Font button on the toolbar.
858 Lots of new methods so that the GUI can easily get the contents of
859 font_ when it update()s.
861 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
863 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
864 crash when the Font button on the Toolbar is pressed.
866 * GUI.h: change policy of Character button controller to
867 OkApplyCancelReadOnlyPolicy.
869 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * ControlToc.C (getContents): don't add anything to the list if it
872 is supposed to be empty.
874 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
876 * helper_funcs.C (getVectorFromString): bug fix.
878 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
881 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
882 from ButtonControllerBase::readOnly. Updates the state of the widgets
883 in the read-only list only when the read-only status of the document
885 (refresh): moved this stuff into refreshReadOnly.
887 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
889 * ControlPrint.C (c-tor):
890 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
892 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
895 * character.h: small clean-ups.
897 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
899 * ControlToc.C (getType): remove support for old float list.
901 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
903 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
904 * ControlGraphics.h: no longer include insetgraphicsParams.h
905 * ControlInset.h: no longer include LyXView.h
910 * ControlCharacter.C:
913 * ControlConnections.C:
914 * ControlCopyright.C:
926 * ControlTabularCreate.C:
928 * ControlVCLog.C: they're now in here!
930 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
932 * ButtonControllerBase.h: C++ mode, inherit privately from
934 * ButtonPolicies.h: ditto
936 * ButtonController.h: C++ mode, swap init order of restore_ and
939 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
941 * ControlTabularCreate.h:
942 * ControlTabularCreate.C: make dialogs use a pair of uints
946 * ControlVCLog.C: fill a stringstream with the log contents
949 * ControlExternal.C: from Angus, clone the new InsetExternal
952 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
954 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
955 and made more robust.
957 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
966 * ControlCopyright.C: include gettext.h
968 * ControlCharacter.C:
969 * character.C: include gettext.h and language.h
971 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
973 * ButtonController.h:
974 * ButtonControllerBase.h:
975 * ButtonControllerBase.C:
982 * ControlConnections.h:
988 * ViewBase.h: s/ControlButton/ControlButtons/
990 s/UndoAll/Restore/ + associated
992 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
994 * ControlToc.[Ch]: new files; a controller for the TOC popup.
997 * Makefile.am: associated changes with all of the above.
999 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1001 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1002 and edit, view, update the External Material correctly. I hope!
1004 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1006 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1008 * BCTemplates.h: renamed as ButtonController.h
1010 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1013 * ControlConnections.h: associated change in #include and class names.
1015 * ControlExternal.[Ch]: new files; a controller for the External
1019 * Makefile.am: associated changes with all of the above.
1021 * ControlGraphics.[Ch]:
1022 * ControlInclude.[Ch]:
1023 * ControlPrint.[Ch]:
1025 (Browse): new method. Returns the results of a FileDialog browse.
1027 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1028 (getVectorFromString): fixed bug.
1030 * biblio.C (simpleSearch): cleaned up.
1032 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1034 * A slight reworking of Baruch Even's ButtonController patch.
1036 * BCTemplates.h: new file; all the templates for the ButtonController.
1037 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1038 to the more generic setButtonLabel().
1040 * ButtonController.[Ch]: renamed cancel_label and close_label as
1041 cancel_label_ and close_label_.
1043 * Makefile.am: added BCTemplates.h
1045 2001-03-29 Juergen Vigna <jug@sad.it>
1047 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1048 to use new %-lengths of LyXLength.
1050 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ControlCitation.C (bibkeysInfo): removed Assert.
1054 * ControlCopyright.h: moved GUICopyright into GUI.h
1058 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1060 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1061 (setDaughterParams): a (by default empty) new method called in show().
1067 * ControlMinipage.h:
1070 * ControlUrl.h (clearDaughterParams): removed
1072 * ControlMinipage.C (applyParamsToInset): update the view.
1073 Added namespace minipage containing a helper function getUnits.
1075 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1077 * ControlCharacter.[Ch]: moved out all the helper functions and the
1078 enum into their own file.
1079 * character.[Ch]: new files; contain the character helper functions,
1080 now inside namespace character.
1082 * ControlCitation.[Ch]: moved out all the helper functions and the
1083 enums into their own file. Simplified interface.
1084 * biblio.[Ch]: new files; contain the citation helper functions,
1085 now inside namespace biblio. Will be of use also to an improved
1088 * ControlGraphics.[Ch]:
1089 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1090 popups, respectively.
1093 * Makefile.am: associated changes.
1095 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1097 * ControlMinipage.[Ch]:
1098 * ControlPreamble.[Ch]:
1099 * ControlPrint.[Ch]:
1100 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1101 and Print popups and Splash screen, respectively.
1103 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1107 * Makefile.am: associated changes.
1109 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1111 * ControlConnections.[Ch]: (docType): new method; returns the type
1112 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1115 * ControlSearch.[Ch]:
1116 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1117 Search and TabularCreate popups, respectively.
1120 * Makefile.am: associated changes.
1122 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1124 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1127 * ControlInset.h (apply): fix bug. Can now create new insets again.
1129 * README: describe program flow.
1131 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1133 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1135 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1137 * ControlDialogs.h: moved class ControlInset into its own file.
1139 * ControlInset.h: new file. class ControlInset has been expanded to take
1140 two template parameters, Inset and Params. Believe that all inset
1141 controllers can be derived from this with the minimum of effort.
1143 * ControlBibitem.[Ch]:
1144 * ControlBibtex.[Ch]:
1145 * ControlCitation.[Ch]:
1146 * ControlCommand.[Ch]: moved most code into ControlInset.
1148 * lots of files. Moved protected stuff into private where possible.
1150 * ControlError.[Ch]:
1151 * ControlInclude.[Ch]:
1152 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1153 Include and Url popups, respectively.
1156 * Makefile.am: associated changes.
1158 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1160 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1163 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1165 * ControlCredits.C (getCredits): remove std:: qualifier for
1168 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1170 * ControlCredits.C (getCredits): add std:: on vector
1172 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1174 * ControlCredits.C: remove using that is only used once, use
1175 std::ios instead of std::iosbase, add some annoying comments.
1177 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1179 * lots of header files: improved explanatory notes.
1181 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1182 ControlBase is now a class that only controls the interaction of the
1183 View with the ButtonController.
1185 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1186 to ControlConnectBase. The class controls the connection/disconnection
1187 of signals from the LyX kernel and makes available the kernel (through
1188 lv_) to daughter controller classes.
1189 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1191 * ControlDialogs.h: new file. Contains the definition of two template
1192 controller classes, ControlDialog and ControlInset (was
1193 ControlConnectInset). ControlInset is a parent class for controllers
1194 of inset-popups. ControlDialogs is the rather uninspired name for
1195 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1196 ControlDialogs is reaching a state of maturity as several popups now use
1197 it and its functionality becomes clear. ControlInset is still in a state
1198 of flux. It is likely that functionality will be moved out of
1199 ControlCommands and into it.
1201 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1202 individual Controller header files and into one place. These classes
1203 serve only as convenient wrappers to simplify code in the respective
1204 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1206 * ControlCharacter.[Ch] (show, update, hide):
1207 * ControlLog.[Ch] (show, update, hide):
1208 * ControlVCLog.[Ch] (show, update, hide): moved back into
1209 the ControlDialogs base class.
1210 (setParams, clearParams): new methods containing controller-specific
1211 code to set/reset the parameters manipulated by the view.
1213 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1215 (hide): calls clearParams.
1217 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1218 by ControlCommand::hide().
1220 * ControlCopyright.[Ch]:
1221 * ControlCredits.[Ch]: new files; controllers for the copyright and
1222 credits popups, respectively.
1224 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1226 * ControlCharacter.C: fix typo
1228 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1230 * ControlCharacter.[Ch]: new files; controller for the character popup.
1232 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1233 moved to new files helper_funcs.[Ch].
1235 * helper_funcs.[Ch]: new files. Some useful helper functions and
1238 * Makefile.am: added new files.
1240 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1244 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1247 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1248 Control log files, respectively.
1250 * Makefile.am: added new files.
1252 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1254 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1256 * Makefile.am: added ControlBibtex.[Ch].
1258 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1261 * ControlCitation.C: added "using SigC::slot" declaration.
1263 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1264 to FormCitation.C prior to the merger: "Do not put space between
1267 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1269 * several files: remove CXX_WORKING_NAMESPACES
1271 * ButtonController.h: noncopyable is in namespace boost
1272 * ButtonPolicies.h: ditto
1274 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1276 * Merging changes from BRANCH_MVC back into HEAD.
1278 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1280 * Makefile.am: add ControlBibitem.[Ch].
1282 * ControlBibitem.[Ch]: new files that together define the Controller
1283 for a Bibitem popup.
1285 * ControlCommand.h (c-tor): give kb_action a default value of
1288 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1290 * ControlCitation.[Ch]: moved search functions out of class.
1291 (bibkeysInfo): new method. Returns const reference to private data.
1292 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1295 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1297 * ControlCitation.[Ch]: added Search functions to the class,
1298 (shamelessly lifted from Marco's gnome code). I think that these would
1299 be better as helper functions outside the class, but this is a first
1302 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1304 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1306 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1307 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1308 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1309 implementation of FormCitation.
1311 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1313 * ButtonPolicies.h: add SMI_NOOP to enum.
1315 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1317 * ButtonController.C (input): add "optimising" if-statement. Actually,
1318 things don't work correctly without it...
1320 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1322 * ViewBase.h: remove #pragma directive
1324 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1327 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1329 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1331 * Makefile.am: added ButtonPolicies.[Ch]
1333 * ButtonController.[Ch]: ButtonController is split into
1334 ButtonControllerBase and a template ButtonController class. The base
1335 class no longer stores a pointer to a ButtonPolicy, but instead
1336 accesses the actual instantiation of the policy through a pure virtual
1337 method bp(). This method and the ButtonPolicy itself are instantiated
1338 in the templatised ButtonController class. This class is derived from
1339 the GUI-specific GUIBC class, meaning that the frontends know
1340 nothing about the actual policy decided upon by the controllers.
1342 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1343 Instead the actual instantiations are accessed through pure virtual
1344 methods view() and bc(). The daughter classes are responsible for the
1345 actual View and ButtonController.
1347 * ControlCitation.h: the templatised class GUICitation instantiates
1348 the methods view() and bc(). It also stores the instances of the
1349 View and ButtonController.
1351 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1353 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1354 also changed to ButtonController.
1357 * ControlConnections.[Ch]:
1358 * ControlCommand.[Ch]:
1359 * ControlCitation.[Ch]:
1360 * ViewBase.h: Changes associated with this.
1362 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1364 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1365 xforms/ButtonController class into a GUI-I class (here) and an
1366 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1368 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1369 from which all Dialog Controllers should be derived. the Controllers
1370 are GUI-independent, but are designed to control the behaviour of
1371 GUI-specific implementaions of each dialog.
1373 * ControlConnections.[Ch]: new files. Classes controlling the
1374 connections of buffer-independent, buffer-dependent and Inset dialogs
1375 with the LyX kernel.
1377 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1378 InsetCommand subset of insets.
1380 * ControlCitation.[Ch]: new files. The test specialisation! A
1381 controller for the Citation dialog.
1383 * ViewBase.h: new file. ViewBase is an abstract base class from which
1384 GUI-specific dialogs should be derived. The functionality that the GUIs
1385 must now implement is much reduced.