1 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * changes to simplify function setup, removal of a lot of includes.
5 2002-06-12 Angus Leeming <leeming@lyx.org>
7 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
9 2002-06-12 Angus Leeming <leeming@lyx.org>
11 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
13 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
15 * ControlParagraph.[Ch]: new paragraph controller
16 * GUI.h: add new controller
19 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
21 * GUI.h: do not include ButtonController.tmpl
23 * ControlInset.h: include ControlInset.tmpl
25 * ControlCitation.C: do not include ControlInset.tmpl
26 * ControlCommand.C: ditto
28 * ControlError.C: ditto
29 * ControlExternal.C: ditto
30 * ControlFloat.C: ditto
31 * ControlGraphics.C: ditto
32 * ControlInclude.C: ditto
33 * ControlMinipage.C: ditto
35 * ControlDialog.tmpl: remove the Base:: prefix
37 2002-06-07 Angus Leeming <leeming@lyx.org>
39 Fixes needed to compile with Compaq cxx 6.5.
40 * ControlDialog.tmpl: I have had to prefix base class methods with
43 * ControlInset.tmpl: #include a couple of headers.
45 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * switch from SigC signals to boost::signals
49 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * biblio.h: include vector
53 * biblio.C: change include order
54 (regexSearch): use boost regex and get rid of LRegex
56 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
64 * ControlConnections.C:
81 * ControlSpellchecker.C:
82 * ControlTabularCreate.C:
87 * ControlVCLog.C: LyXView moved into frontends
89 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
91 * ControlExternal.C: add scoped_ptr.hpp
93 * ControlCharacter.h: use more specific smart_ptr header.
95 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
97 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
99 2002-05-13 Herbert Voss <voss@perce.de>
101 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
102 like "Odland, G. and ... "
103 (parseBibTeX): fix bug with title and booktitle
104 and replace a \n with a space when one entry has more than
107 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
109 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
110 "No change" and "Reset".
112 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
113 them at the front of the list.
115 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
117 * ControlGraphics.C: add some comments to the char * arrays.
118 Make rorigin_size const.
120 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
123 Enables the gui's to internationalise these strings.
125 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
127 * frnt_lang.C: fix build
129 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
131 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
132 If the the caller is the character dialog, add "No change" and "Reset"
133 to the vector, else don't.
134 Internationalise the GUI strings here rather than in the different
136 Sort the translated strings, albeit simply.
138 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
140 * character.[Ch]: rename namespace character as namespace frnt.
142 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
143 as several dialogs will use this info. The function now returns a
144 vector<LanguagePair> where LanguagePair is a display string and an
145 identifying string. The display string is internationalised.
147 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
148 the identifying strings, "No change" and "Reset".
150 * Makefile.am: add frnt_lang.[Ch].
152 2002-04-25 Herbert Voss <voss@lyx.org>
154 * ControlSendto.C (allFormats): don't add the graphics extensions to the
157 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
159 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
160 BibTeX databases in a WYSIWYM way.
162 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
164 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
165 way past his use-by date.
166 Make use of the improved info from Buffer::getBibkeyList when using
167 \bibliography. Enables us to provide natbib support in this case too.
169 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
171 * ControlGraphics.C: pass the browseFile dialog a string of only those
172 formats that can currently be loaded by LyX.
174 2002-04-15 Herbert Voss <voss@perce.de>
176 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
177 with something like ,,...blah...`` (two commas)
179 2002-04-14 Herbert Voss <voss@perce.de>
181 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
182 into the support/lstrings for better use in other programs.
184 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
185 namespace anon and make globally accessible.
186 (familyName): test for the presence of a LaTeX Space at the front of
187 of a name; strip it if it exists.
189 2002-04-11 Herbert Voss <voss@perce.de>
191 * ControlGraphics.C: expand "browse-string" to all available formats
193 2002-04-11 Herbert Voss <voss@perce.de>
195 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
197 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
199 * ControlAboutlyx.C (getVersion): two _() forgotten
201 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
205 * ControlBibtex.C: make N_() be _()
207 2002-04-07 Herbert Voss <voss@perce.de>
209 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
211 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
213 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
214 used when reading the BB.
216 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
218 * ControlGraphics.C (readBB): Don't open the ifstrem and then
219 check the format from the contents (and open a second ifstream in the
220 process. One at a time please.
222 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlRef.C (getBufferNum): squash warning message.
226 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlBibtex.C (Browse):
229 * ControlGraphics.C (Browse):
230 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
232 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
234 * ControlGraphics.C (applyParamsToInset): pass filepath to
235 InsetGraphics::updateInset.
237 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * most files: ws cleanup
241 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
243 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
246 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
249 * ControlInclude.C: better error messages
251 2002-03-11 Herbert Voss <voss@lyx.org>
253 * biblio.C (parseBibTeX): fix another minibug with an
256 2002-03-10 Herbert Voss <voss@lyx.org>
258 * biblio.C (parseBibTeX): fix bug
259 (familyName): improve parsing
261 2002-03-09 Herbert Voss <voss@lyx.org>
263 * ControlGraphics.[Ch]: adding checkFilename() for testing
264 of non-existing files
266 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * ControlSendto.C (allFormats): fix a iterators are not pointers
271 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
273 * ControlShowFile.h: add a #include "LString.h"
275 2002-03-05 Herbert Voss <voss@lyx.org>
277 * biblio.C (getInfo): simplify if using paragraph layout
280 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
282 * biblio.C (getInfo): return the info field correctly if the key
284 (parseBibTeX): fix crash when data.find('=') returns string::npos.
286 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
288 * ControlForks.[Ch]: new files. A controller for the Forked Child
289 processes dialog, enabling the user to see what forked processes
290 are running, and, if he so desires, to kill them.
292 * GUI.h: add class GUIForks.
294 * Makefile.am: add ControlForks.[Ch].
296 * ControlGraphics.C (getParams): small change due to change in
299 2002-02-21 Herbert Voss <voss@lyx.org>
301 * biblio.C: fix bug with commentlines in a bibentry
303 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * Makefile.am: simpler obj. file compile
307 2002-02-18 Herbert Voss <voss@lyx.org>
309 * ControlGraphics.[Ch]: remove help-file call
311 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
313 * helper_funcs.h: wrap the structs firster and seconder up in a
314 namespace to avoid clashes with those in lyxalgo,h.
316 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
317 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
319 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
324 change Systemcalls::System to Systemcalls::Wait and
325 No change of functionality, just reflects the stripped down Systemcalls
328 2002-02-06 Herbert Voss <voss@lyx.org>
330 * ControlGraphics.[C] (readBB): search also in
331 g'zipped files. If it is useful than PK and compress
332 should also be supported. use unzipFile() from
335 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
337 * ControlRef.C (getBufferName): new method to get a real buffer
340 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
342 * ControlTexInfo.[Ch]: Removed Help functions.
344 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
346 * ControlSpellchecker.C: clear any selection left
349 2002-02-01 Herbert Voss <voss@lyx.org>
351 * ControlGraphics.[C] (readBB): search only, if it is a
352 ".?ps" file and look for bb's at end of file
354 2002-01-30 Herbert Voss <voss@lyx.org>
356 * ControlGraphic.[C]: do not search the whole file, when
359 2002-01-29 Herbert Voss <voss@lyx.org>
361 * ControlGraphic.[C]: added a button for document path
362 when browsing -> bug 222
364 2002-01-27 Herbert Voss <voss@lyx.org>
366 * ControlGraphic.[Ch]: added support for Bounding Box, other
369 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
372 * ControlTexinfo.h: added #include "LString.h" where they belong.
374 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
377 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
379 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
384 2002-01-20 Herbert Voss <voss@perce.de>
386 * ControlInclude.[Ch]: better control of unexistings files
387 when entered without the browser
389 * ControlGraphic.C (Browse): add extension "ps" when browsing for
392 2002-01-19 Herbert Voss <voss@perce.de>
394 * biblio.C (getInfo): fix bug when no author is given
396 * biblio.C (parseBibTeX): change the parsing, so that
397 '#'-characters in a bibtex entry are no more a problem.
399 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
401 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
402 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
404 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
406 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
408 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
410 * ControlExternal.C (Browse): add a std:: qualifier
412 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
414 * ControlExternal.C (Browse): simplify to use browseRelFile
416 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
418 * ButtonController.tmpl: added // -*- C++ -*-
420 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
421 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
422 Needed in _one_ of the ControlCommand-derived classes only.
424 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
427 * ControlSearch.h: #include LString.h
429 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
431 * ButtonController.h: split into two. The definition remains in
432 ButtonController.h, the declaration is now in ButtonController.tmpl.
433 These template methods should be #included when the derived class is
434 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
435 and in the qt2 and gnome equivalents.
437 * ControlDialogs.h: removed. The definition of class ControlDialog is
438 now to be found in ControlDialog.h and the declaration of the methods
439 is in ControlDialog.tmpl. The two template instantiations are performed
440 in ControlDialog_impl.[Ch], new files also.
442 * ControlInset.h: split into two. The definition remains in
443 ControlInset.h, the declaration is now in ControlInset.tmpl.
444 These template methods should be #included derived class is
445 instantiated, in this case in 8 other .C files in this directory.
447 * ControlAboutlyx.[Ch]:
448 * ControlCharacter.[Ch]:
458 * ControlPreamble.[Ch]:
460 * ControlSearch.[Ch]:
461 * ControlShowFile.[Ch]:
462 * ControlSpellchecker.[Ch]:
463 * ControlTabularCreate.[Ch]:
464 * ControlTexinfo.[Ch]:
465 * ControlThesaurus.[Ch]:
466 * ControlVCLog.[Ch]: small changes associated with the above ones.
468 * GUI.h: #include the ButtonController and dialog controller files
469 here, rather than forward declare them. This is the correct place
472 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
473 Rename ControlDialogs.h as ControlDialog.h.
474 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
477 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
479 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
481 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
483 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
486 * ControlGraphics.C (Browse): remove overzealous shortcut
488 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
490 * FormMinipage.C (apply, update): MinipageParams::width renamed
491 as MinipageParams::pageWidth. InsetMinipage::width renamed
492 as InsetMinipage::pageWidth.
494 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * ButtonController.h (refreshReadOnly): use explicit typename
498 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
500 * helper_funcs.h (browseFile): add default empty button descriptions.
502 * ControlGraphics.C (Browse):
503 * ControlBibtex.C (Browse):
504 * ControlInclude.C (Browse): add shortcuts to directory buttons
506 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
508 * ControlThesaurus.h:
509 * ControlThesaurus.C: update to Aiksaurus 0.14
511 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlSpellchecker.C (clearParams): show the closing message
514 only if some words have been checked, thereby fixing
517 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
519 * ControlFloat.[Ch]: changes to prevent here definitely being used
522 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
524 * ControlThesaurus.h: do not include <config.h> in header files
526 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
528 * ControlToc.C: changes for floatlist
530 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
532 * ControlVCLog.C: use _()
534 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
536 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
539 2001-10-22 Juergen Vigna <jug@sad.it>
541 * ControlSpellchecker.C (clearParams): use the error_ message of the
542 speller_ if available when the spellchecker died.
543 (setParams): remove double error message display.
545 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
549 * helper_funcs.[Ch] (getLatexUnits): see above.
551 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
553 * ControlTexinfo.C (getContents): use the right file for .sty files
555 2001-10-10 Herbert Voss <voss@perce.de>
557 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
558 and some more stuff from FormTexinfo.C
560 * ControlShowFile.C: hiding the update-button
562 2001-10-09 Herbert Voss <voss@perce.de>
564 * ControlTexinfo.[Ch]: new files. Display information about the
565 installed texfiles (cls,sty,bst).
567 * ControlShowFile.[Ch]: new files. Display the contents of a file.
569 * GUI.h: added classes GUIShowFile and GUITexinfo.
571 * Makefile.am: modified appropriately.
573 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
575 * ControlAboutlyx.C (getVersion): use lyx_version and
576 lyx_release_date instead of old macros
578 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
580 * ControlSpellchecker.C (check): Behaves well now when the spell
581 library doesn't know a replacement to an incorrect word.
583 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
585 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
586 the correct place. Can now check spelling more than once!
588 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
590 * ControlSplash.[Ch]: removed.
592 * GUI.h: remove GUISplash class.
594 * ViewBase.h: remove ViewSplash class.
596 * Makefile.am: remove ControlSplash.[Ch].
598 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
600 * ControlButtons.h: add variable emergency_exit_. If set to true, the
601 view will be shut down.
604 * ControlInset.h: act on emergency_exit_.
606 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
607 speller fails to launch.
609 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
611 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
612 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
614 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
616 * ControlRef.h (disconnectOnApply): new method. Set to true.
617 Perhaps make this user-modifiable?
619 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
621 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
624 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
626 * ControlRef.C (getBufferList, getBufferNum): New methods
628 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
630 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
631 of the dialog when the Apply button is pressed. Defaults to false,
632 but can be overridden in the daughter classes.
634 * ControlCitation.h (disconnectOnApply): new method. Set to true.
635 Perhaps make this user-modifiable?
637 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
639 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
640 we have dialogs that update their contents when the buffer changes.
641 Rather embarassing, really!
643 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlSearch (replace): change semantics of replace to NOT move on
646 to the next instance of a word once the present instance has been
647 replaced unless we are replacing ALL instances of the word.
649 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
651 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
653 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
655 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
656 dialog, set all options to "reset", close the dialog, re-open it ->
657 the options are set incorrectly.
659 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
660 When Applying it's useful to know whether the dialog is about to close
661 or not (no point refreshing the display for example).
663 * ControlInset.C (apply): use isClosing.
665 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
668 * ControlDialogs.h: remove bc() hack, now fixed in
669 Qt2 frontend. use member dialog_built_ instead of shared
672 * ButtonController.h:
673 * ButtonPolicies.C: more debug info
675 * ButtonControllerBase.C: call refresh() when setting readOnly !
677 * GUI.h: External form has apply, use the right policy
679 * character.C: fix two off-by-one errors when latex font was removed
681 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
683 * ControlInset.h (apply): tentative fix for the press Apply multiple
684 times and get multiple new Insets problem.
686 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
688 * ControlCharacter.C: fix typo
692 * ControlInsets.C: make sure dialog is built before it is shown, so
693 it works properly the very first time it is shown
695 2001-08-20 Herbert Voss <voss@perce.de>
697 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
698 and styles. Added an option for "bibliography into toc"
700 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
702 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
703 LaTeX is no longer a font property.
705 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
707 * GUI.h: Button controller for Reference dialog changed to
708 NoRepeatedApplyReadOnlyPolicy.
710 * biblio.C (getInfo): output volume and number info. Move year to end
713 2001-08-09 Allan Rae <rae@lyx.org>
715 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
717 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
719 * helper_funcs.C (getVectorFromString): fixed small bug.
721 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
723 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
725 * ControlSpellchecker.C: check next word after insert in personal dict
727 2001-08-06 Juergen Vigna <jug@sad.it>
729 * ControlERT.[Ch]: new file
731 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
733 * ControlInset.h: const and non-const forms of params().
735 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
736 whitespace from either side of each item.
738 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
740 * ControlFloat.h: add a != operator for FloatParams.
741 Lars, how did you get this to compile!!!
743 * ControlMinipage.[Ch]: uncommented someone's commenting out of
744 operator != for MinipageParams. Who's changing stuff and not compiling?
746 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
751 * GUI.h: add class GUIFloat
753 * ControlFloat.[Ch]: new files
755 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
757 * ControlPrint.C: #include Lassert.h here.
759 2001-07-26 Baruch Even <baruch@lyx.org>
761 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
764 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
766 * ControlThesaurus.h:
767 * ControlThesaurus.C:
769 * Makefile.am: thesaurus support
771 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
774 * ControlInclude.C: implement ability to load file
776 2001-07-18 Juergen Vigna <jug@sad.it>
778 * ControlSearch.C (replace): changes to lyxfind.h function calls.
780 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
782 * biblio.C (getInfo): add a .c_str() to handle the usual
785 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
787 * ControlCitation.[Ch]: changes associated with adding natbib support.
788 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
789 New static variable citeStyles_.
791 * biblio.[Ch]: large internal rearrangement.
792 New public enum CiteStyle.
793 New public struct CitationStyle.
794 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
795 getNumericalStrings, getAuthorYearStrings
796 (simpleSearch, regexSearch): no longer publicly accessible.
798 * helper_funcs.C (getStringFromVector): bug fix.
800 2001-07-16 Baruch Even <baruch@lyx.org>
802 * ControlVCLog.h: Added Lsstream.h to includes.
804 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
806 * ControlSpellchecker.[Ch]: remove d-tor.
808 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
810 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
812 2001-07-16 Juergen Vigna <jug@sad.it>
814 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
815 compiled with USE_PSPELL) to be able to switch between ISpell and
818 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
820 Consistent use of Lsstream.h:
821 * ControlAboutlyx.[Ch] (getCredits):
822 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
824 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
826 * ControlCredits.[Ch]: removed
827 * ControlCopyright.[Ch]: removed
828 * ControlAboutlyx.[Ch]: added (replaces previous)
829 * GUI.h: removed credits and copyright added about lyx stuff
831 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
833 * ControlSpellchecker.C (getSuggestion):
834 (getWord): add std:: qualifier
836 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
838 * ControlSpellchecker.[Ch]: added
839 * ViewBase.h: added partialUpdate(int) member
840 * GUI.h: added spell stuff
842 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
844 * ControlExternal.C: (*it). -> it->
846 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
848 * ButtonController.h: move some included header files out of the
849 frontends and into here.
851 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlCharacter.C (c-tor): cosmetic name change of signal.
855 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
857 * *.[h]: added // -*- C++ -*-
858 * *.[C]: removed // -*- C++ -*-
860 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
861 activate Apply button.
862 (clearParams): removed.
863 font_ is now stored as a boost::scoped_ptr.
864 font_ is no longer deleted on hide(), so it's contents can now be used
865 by the Font button on the toolbar.
866 Lots of new methods so that the GUI can easily get the contents of
867 font_ when it update()s.
869 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
871 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
872 crash when the Font button on the Toolbar is pressed.
874 * GUI.h: change policy of Character button controller to
875 OkApplyCancelReadOnlyPolicy.
877 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
879 * ControlToc.C (getContents): don't add anything to the list if it
880 is supposed to be empty.
882 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
884 * helper_funcs.C (getVectorFromString): bug fix.
886 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
889 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
890 from ButtonControllerBase::readOnly. Updates the state of the widgets
891 in the read-only list only when the read-only status of the document
893 (refresh): moved this stuff into refreshReadOnly.
895 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
897 * ControlPrint.C (c-tor):
898 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
900 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
903 * character.h: small clean-ups.
905 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * ControlToc.C (getType): remove support for old float list.
909 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
912 * ControlGraphics.h: no longer include insetgraphicsParams.h
913 * ControlInset.h: no longer include LyXView.h
918 * ControlCharacter.C:
921 * ControlConnections.C:
922 * ControlCopyright.C:
934 * ControlTabularCreate.C:
936 * ControlVCLog.C: they're now in here!
938 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
940 * ButtonControllerBase.h: C++ mode, inherit privately from
942 * ButtonPolicies.h: ditto
944 * ButtonController.h: C++ mode, swap init order of restore_ and
947 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
949 * ControlTabularCreate.h:
950 * ControlTabularCreate.C: make dialogs use a pair of uints
954 * ControlVCLog.C: fill a stringstream with the log contents
957 * ControlExternal.C: from Angus, clone the new InsetExternal
960 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
962 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
963 and made more robust.
965 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
974 * ControlCopyright.C: include gettext.h
976 * ControlCharacter.C:
977 * character.C: include gettext.h and language.h
979 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
981 * ButtonController.h:
982 * ButtonControllerBase.h:
983 * ButtonControllerBase.C:
990 * ControlConnections.h:
996 * ViewBase.h: s/ControlButton/ControlButtons/
998 s/UndoAll/Restore/ + associated
1000 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1005 * Makefile.am: associated changes with all of the above.
1007 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1009 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1010 and edit, view, update the External Material correctly. I hope!
1012 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1016 * BCTemplates.h: renamed as ButtonController.h
1018 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1021 * ControlConnections.h: associated change in #include and class names.
1023 * ControlExternal.[Ch]: new files; a controller for the External
1027 * Makefile.am: associated changes with all of the above.
1029 * ControlGraphics.[Ch]:
1030 * ControlInclude.[Ch]:
1031 * ControlPrint.[Ch]:
1033 (Browse): new method. Returns the results of a FileDialog browse.
1035 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1036 (getVectorFromString): fixed bug.
1038 * biblio.C (simpleSearch): cleaned up.
1040 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1042 * A slight reworking of Baruch Even's ButtonController patch.
1044 * BCTemplates.h: new file; all the templates for the ButtonController.
1045 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1046 to the more generic setButtonLabel().
1048 * ButtonController.[Ch]: renamed cancel_label and close_label as
1049 cancel_label_ and close_label_.
1051 * Makefile.am: added BCTemplates.h
1053 2001-03-29 Juergen Vigna <jug@sad.it>
1055 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1056 to use new %-lengths of LyXLength.
1058 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1060 * ControlCitation.C (bibkeysInfo): removed Assert.
1062 * ControlCopyright.h: moved GUICopyright into GUI.h
1066 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1068 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1069 (setDaughterParams): a (by default empty) new method called in show().
1075 * ControlMinipage.h:
1078 * ControlUrl.h (clearDaughterParams): removed
1080 * ControlMinipage.C (applyParamsToInset): update the view.
1081 Added namespace minipage containing a helper function getUnits.
1083 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1085 * ControlCharacter.[Ch]: moved out all the helper functions and the
1086 enum into their own file.
1087 * character.[Ch]: new files; contain the character helper functions,
1088 now inside namespace character.
1090 * ControlCitation.[Ch]: moved out all the helper functions and the
1091 enums into their own file. Simplified interface.
1092 * biblio.[Ch]: new files; contain the citation helper functions,
1093 now inside namespace biblio. Will be of use also to an improved
1096 * ControlGraphics.[Ch]:
1097 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1098 popups, respectively.
1101 * Makefile.am: associated changes.
1103 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1105 * ControlMinipage.[Ch]:
1106 * ControlPreamble.[Ch]:
1107 * ControlPrint.[Ch]:
1108 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1109 and Print popups and Splash screen, respectively.
1111 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1115 * Makefile.am: associated changes.
1117 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1119 * ControlConnections.[Ch]: (docType): new method; returns the type
1120 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1123 * ControlSearch.[Ch]:
1124 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1125 Search and TabularCreate popups, respectively.
1128 * Makefile.am: associated changes.
1130 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1135 * ControlInset.h (apply): fix bug. Can now create new insets again.
1137 * README: describe program flow.
1139 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1141 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1143 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1145 * ControlDialogs.h: moved class ControlInset into its own file.
1147 * ControlInset.h: new file. class ControlInset has been expanded to take
1148 two template parameters, Inset and Params. Believe that all inset
1149 controllers can be derived from this with the minimum of effort.
1151 * ControlBibitem.[Ch]:
1152 * ControlBibtex.[Ch]:
1153 * ControlCitation.[Ch]:
1154 * ControlCommand.[Ch]: moved most code into ControlInset.
1156 * lots of files. Moved protected stuff into private where possible.
1158 * ControlError.[Ch]:
1159 * ControlInclude.[Ch]:
1160 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1161 Include and Url popups, respectively.
1164 * Makefile.am: associated changes.
1166 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1171 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * ControlCredits.C (getCredits): remove std:: qualifier for
1176 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1178 * ControlCredits.C (getCredits): add std:: on vector
1180 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1182 * ControlCredits.C: remove using that is only used once, use
1183 std::ios instead of std::iosbase, add some annoying comments.
1185 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1187 * lots of header files: improved explanatory notes.
1189 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1190 ControlBase is now a class that only controls the interaction of the
1191 View with the ButtonController.
1193 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1194 to ControlConnectBase. The class controls the connection/disconnection
1195 of signals from the LyX kernel and makes available the kernel (through
1196 lv_) to daughter controller classes.
1197 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1199 * ControlDialogs.h: new file. Contains the definition of two template
1200 controller classes, ControlDialog and ControlInset (was
1201 ControlConnectInset). ControlInset is a parent class for controllers
1202 of inset-popups. ControlDialogs is the rather uninspired name for
1203 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1204 ControlDialogs is reaching a state of maturity as several popups now use
1205 it and its functionality becomes clear. ControlInset is still in a state
1206 of flux. It is likely that functionality will be moved out of
1207 ControlCommands and into it.
1209 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1210 individual Controller header files and into one place. These classes
1211 serve only as convenient wrappers to simplify code in the respective
1212 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1214 * ControlCharacter.[Ch] (show, update, hide):
1215 * ControlLog.[Ch] (show, update, hide):
1216 * ControlVCLog.[Ch] (show, update, hide): moved back into
1217 the ControlDialogs base class.
1218 (setParams, clearParams): new methods containing controller-specific
1219 code to set/reset the parameters manipulated by the view.
1221 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1223 (hide): calls clearParams.
1225 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1226 by ControlCommand::hide().
1228 * ControlCopyright.[Ch]:
1229 * ControlCredits.[Ch]: new files; controllers for the copyright and
1230 credits popups, respectively.
1232 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1234 * ControlCharacter.C: fix typo
1236 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1238 * ControlCharacter.[Ch]: new files; controller for the character popup.
1240 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1241 moved to new files helper_funcs.[Ch].
1243 * helper_funcs.[Ch]: new files. Some useful helper functions and
1246 * Makefile.am: added new files.
1248 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1252 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1255 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1256 Control log files, respectively.
1258 * Makefile.am: added new files.
1260 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1262 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1264 * Makefile.am: added ControlBibtex.[Ch].
1266 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1269 * ControlCitation.C: added "using SigC::slot" declaration.
1271 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1272 to FormCitation.C prior to the merger: "Do not put space between
1275 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1277 * several files: remove CXX_WORKING_NAMESPACES
1279 * ButtonController.h: noncopyable is in namespace boost
1280 * ButtonPolicies.h: ditto
1282 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1284 * Merging changes from BRANCH_MVC back into HEAD.
1286 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1288 * Makefile.am: add ControlBibitem.[Ch].
1290 * ControlBibitem.[Ch]: new files that together define the Controller
1291 for a Bibitem popup.
1293 * ControlCommand.h (c-tor): give kb_action a default value of
1296 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1298 * ControlCitation.[Ch]: moved search functions out of class.
1299 (bibkeysInfo): new method. Returns const reference to private data.
1300 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1303 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1305 * ControlCitation.[Ch]: added Search functions to the class,
1306 (shamelessly lifted from Marco's gnome code). I think that these would
1307 be better as helper functions outside the class, but this is a first
1310 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1312 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1314 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1315 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1316 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1317 implementation of FormCitation.
1319 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1321 * ButtonPolicies.h: add SMI_NOOP to enum.
1323 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1325 * ButtonController.C (input): add "optimising" if-statement. Actually,
1326 things don't work correctly without it...
1328 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1330 * ViewBase.h: remove #pragma directive
1332 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1335 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1337 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1339 * Makefile.am: added ButtonPolicies.[Ch]
1341 * ButtonController.[Ch]: ButtonController is split into
1342 ButtonControllerBase and a template ButtonController class. The base
1343 class no longer stores a pointer to a ButtonPolicy, but instead
1344 accesses the actual instantiation of the policy through a pure virtual
1345 method bp(). This method and the ButtonPolicy itself are instantiated
1346 in the templatised ButtonController class. This class is derived from
1347 the GUI-specific GUIBC class, meaning that the frontends know
1348 nothing about the actual policy decided upon by the controllers.
1350 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1351 Instead the actual instantiations are accessed through pure virtual
1352 methods view() and bc(). The daughter classes are responsible for the
1353 actual View and ButtonController.
1355 * ControlCitation.h: the templatised class GUICitation instantiates
1356 the methods view() and bc(). It also stores the instances of the
1357 View and ButtonController.
1359 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1362 also changed to ButtonController.
1365 * ControlConnections.[Ch]:
1366 * ControlCommand.[Ch]:
1367 * ControlCitation.[Ch]:
1368 * ViewBase.h: Changes associated with this.
1370 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1372 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1373 xforms/ButtonController class into a GUI-I class (here) and an
1374 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1376 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1377 from which all Dialog Controllers should be derived. the Controllers
1378 are GUI-independent, but are designed to control the behaviour of
1379 GUI-specific implementaions of each dialog.
1381 * ControlConnections.[Ch]: new files. Classes controlling the
1382 connections of buffer-independent, buffer-dependent and Inset dialogs
1383 with the LyX kernel.
1385 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1386 InsetCommand subset of insets.
1388 * ControlCitation.[Ch]: new files. The test specialisation! A
1389 controller for the Citation dialog.
1391 * ViewBase.h: new file. ViewBase is an abstract base class from which
1392 GUI-specific dialogs should be derived. The functionality that the GUIs
1393 must now implement is much reduced.