1 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9 * ControlConnections.C:
26 * ControlSpellchecker.C:
27 * ControlTabularCreate.C:
32 * ControlVCLog.C: LyXView moved into frontends
34 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * ControlExternal.C: add scoped_ptr.hpp
38 * ControlCharacter.h: use more specific smart_ptr header.
40 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
42 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
44 2002-05-13 Herbert Voss <voss@perce.de>
46 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
47 like "Odland, G. and ... "
48 (parseBibTeX): fix bug with title and booktitle
49 and replace a \n with a space when one entry has more than
52 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
54 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
55 "No change" and "Reset".
57 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
58 them at the front of the list.
60 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
62 * ControlGraphics.C: add some comments to the char * arrays.
63 Make rorigin_size const.
65 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
68 Enables the gui's to internationalise these strings.
70 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
72 * frnt_lang.C: fix build
74 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
76 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
77 If the the caller is the character dialog, add "No change" and "Reset"
78 to the vector, else don't.
79 Internationalise the GUI strings here rather than in the different
81 Sort the translated strings, albeit simply.
83 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
85 * character.[Ch]: rename namespace character as namespace frnt.
87 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
88 as several dialogs will use this info. The function now returns a
89 vector<LanguagePair> where LanguagePair is a display string and an
90 identifying string. The display string is internationalised.
92 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
93 the identifying strings, "No change" and "Reset".
95 * Makefile.am: add frnt_lang.[Ch].
97 2002-04-25 Herbert Voss <voss@lyx.org>
99 * ControlSendto.C (allFormats): don't add the graphics extensions to the
102 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
104 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
105 BibTeX databases in a WYSIWYM way.
107 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
109 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
110 way past his use-by date.
111 Make use of the improved info from Buffer::getBibkeyList when using
112 \bibliography. Enables us to provide natbib support in this case too.
114 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
116 * ControlGraphics.C: pass the browseFile dialog a string of only those
117 formats that can currently be loaded by LyX.
119 2002-04-15 Herbert Voss <voss@perce.de>
121 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
122 with something like ,,...blah...`` (two commas)
124 2002-04-14 Herbert Voss <voss@perce.de>
126 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
127 into the support/lstrings for better use in other programs.
129 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
130 namespace anon and make globally accessible.
131 (familyName): test for the presence of a LaTeX Space at the front of
132 of a name; strip it if it exists.
134 2002-04-11 Herbert Voss <voss@perce.de>
136 * ControlGraphics.C: expand "browse-string" to all available formats
138 2002-04-11 Herbert Voss <voss@perce.de>
140 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
142 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
144 * ControlAboutlyx.C (getVersion): two _() forgotten
146 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
150 * ControlBibtex.C: make N_() be _()
152 2002-04-07 Herbert Voss <voss@perce.de>
154 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
156 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
158 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
159 used when reading the BB.
161 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
163 * ControlGraphics.C (readBB): Don't open the ifstrem and then
164 check the format from the contents (and open a second ifstream in the
165 process. One at a time please.
167 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
169 * ControlRef.C (getBufferNum): squash warning message.
171 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
173 * ControlBibtex.C (Browse):
174 * ControlGraphics.C (Browse):
175 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
177 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
179 * ControlGraphics.C (applyParamsToInset): pass filepath to
180 InsetGraphics::updateInset.
182 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * most files: ws cleanup
186 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
188 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
191 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
194 * ControlInclude.C: better error messages
196 2002-03-11 Herbert Voss <voss@lyx.org>
198 * biblio.C (parseBibTeX): fix another minibug with an
201 2002-03-10 Herbert Voss <voss@lyx.org>
203 * biblio.C (parseBibTeX): fix bug
204 (familyName): improve parsing
206 2002-03-09 Herbert Voss <voss@lyx.org>
208 * ControlGraphics.[Ch]: adding checkFilename() for testing
209 of non-existing files
211 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
213 * ControlSendto.C (allFormats): fix a iterators are not pointers
216 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
218 * ControlShowFile.h: add a #include "LString.h"
220 2002-03-05 Herbert Voss <voss@lyx.org>
222 * biblio.C (getInfo): simplify if using paragraph layout
225 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
227 * biblio.C (getInfo): return the info field correctly if the key
229 (parseBibTeX): fix crash when data.find('=') returns string::npos.
231 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlForks.[Ch]: new files. A controller for the Forked Child
234 processes dialog, enabling the user to see what forked processes
235 are running, and, if he so desires, to kill them.
237 * GUI.h: add class GUIForks.
239 * Makefile.am: add ControlForks.[Ch].
241 * ControlGraphics.C (getParams): small change due to change in
244 2002-02-21 Herbert Voss <voss@lyx.org>
246 * biblio.C: fix bug with commentlines in a bibentry
248 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
250 * Makefile.am: simpler obj. file compile
252 2002-02-18 Herbert Voss <voss@lyx.org>
254 * ControlGraphics.[Ch]: remove help-file call
256 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
258 * helper_funcs.h: wrap the structs firster and seconder up in a
259 namespace to avoid clashes with those in lyxalgo,h.
261 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
262 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
264 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
266 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
269 change Systemcalls::System to Systemcalls::Wait and
270 No change of functionality, just reflects the stripped down Systemcalls
273 2002-02-06 Herbert Voss <voss@lyx.org>
275 * ControlGraphics.[C] (readBB): search also in
276 g'zipped files. If it is useful than PK and compress
277 should also be supported. use unzipFile() from
280 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
282 * ControlRef.C (getBufferName): new method to get a real buffer
285 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
287 * ControlTexInfo.[Ch]: Removed Help functions.
289 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
291 * ControlSpellchecker.C: clear any selection left
294 2002-02-01 Herbert Voss <voss@lyx.org>
296 * ControlGraphics.[C] (readBB): search only, if it is a
297 ".?ps" file and look for bb's at end of file
299 2002-01-30 Herbert Voss <voss@lyx.org>
301 * ControlGraphic.[C]: do not search the whole file, when
304 2002-01-29 Herbert Voss <voss@lyx.org>
306 * ControlGraphic.[C]: added a button for document path
307 when browsing -> bug 222
309 2002-01-27 Herbert Voss <voss@lyx.org>
311 * ControlGraphic.[Ch]: added support for Bounding Box, other
314 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
317 * ControlTexinfo.h: added #include "LString.h" where they belong.
319 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
322 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
324 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
329 2002-01-20 Herbert Voss <voss@perce.de>
331 * ControlInclude.[Ch]: better control of unexistings files
332 when entered without the browser
334 * ControlGraphic.C (Browse): add extension "ps" when browsing for
337 2002-01-19 Herbert Voss <voss@perce.de>
339 * biblio.C (getInfo): fix bug when no author is given
341 * biblio.C (parseBibTeX): change the parsing, so that
342 '#'-characters in a bibtex entry are no more a problem.
344 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
346 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
347 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
349 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
351 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
355 * ControlExternal.C (Browse): add a std:: qualifier
357 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
359 * ControlExternal.C (Browse): simplify to use browseRelFile
361 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
363 * ButtonController.tmpl: added // -*- C++ -*-
365 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
366 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
367 Needed in _one_ of the ControlCommand-derived classes only.
369 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
372 * ControlSearch.h: #include LString.h
374 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
376 * ButtonController.h: split into two. The definition remains in
377 ButtonController.h, the declaration is now in ButtonController.tmpl.
378 These template methods should be #included when the derived class is
379 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
380 and in the qt2 and gnome equivalents.
382 * ControlDialogs.h: removed. The definition of class ControlDialog is
383 now to be found in ControlDialog.h and the declaration of the methods
384 is in ControlDialog.tmpl. The two template instantiations are performed
385 in ControlDialog_impl.[Ch], new files also.
387 * ControlInset.h: split into two. The definition remains in
388 ControlInset.h, the declaration is now in ControlInset.tmpl.
389 These template methods should be #included derived class is
390 instantiated, in this case in 8 other .C files in this directory.
392 * ControlAboutlyx.[Ch]:
393 * ControlCharacter.[Ch]:
403 * ControlPreamble.[Ch]:
405 * ControlSearch.[Ch]:
406 * ControlShowFile.[Ch]:
407 * ControlSpellchecker.[Ch]:
408 * ControlTabularCreate.[Ch]:
409 * ControlTexinfo.[Ch]:
410 * ControlThesaurus.[Ch]:
411 * ControlVCLog.[Ch]: small changes associated with the above ones.
413 * GUI.h: #include the ButtonController and dialog controller files
414 here, rather than forward declare them. This is the correct place
417 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
418 Rename ControlDialogs.h as ControlDialog.h.
419 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
422 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
426 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
428 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
431 * ControlGraphics.C (Browse): remove overzealous shortcut
433 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
435 * FormMinipage.C (apply, update): MinipageParams::width renamed
436 as MinipageParams::pageWidth. InsetMinipage::width renamed
437 as InsetMinipage::pageWidth.
439 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
441 * ButtonController.h (refreshReadOnly): use explicit typename
443 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
445 * helper_funcs.h (browseFile): add default empty button descriptions.
447 * ControlGraphics.C (Browse):
448 * ControlBibtex.C (Browse):
449 * ControlInclude.C (Browse): add shortcuts to directory buttons
451 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
453 * ControlThesaurus.h:
454 * ControlThesaurus.C: update to Aiksaurus 0.14
456 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
458 * ControlSpellchecker.C (clearParams): show the closing message
459 only if some words have been checked, thereby fixing
462 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
464 * ControlFloat.[Ch]: changes to prevent here definitely being used
467 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
469 * ControlThesaurus.h: do not include <config.h> in header files
471 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
473 * ControlToc.C: changes for floatlist
475 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
477 * ControlVCLog.C: use _()
479 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
481 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
484 2001-10-22 Juergen Vigna <jug@sad.it>
486 * ControlSpellchecker.C (clearParams): use the error_ message of the
487 speller_ if available when the spellchecker died.
488 (setParams): remove double error message display.
490 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
494 * helper_funcs.[Ch] (getLatexUnits): see above.
496 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
498 * ControlTexinfo.C (getContents): use the right file for .sty files
500 2001-10-10 Herbert Voss <voss@perce.de>
502 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
503 and some more stuff from FormTexinfo.C
505 * ControlShowFile.C: hiding the update-button
507 2001-10-09 Herbert Voss <voss@perce.de>
509 * ControlTexinfo.[Ch]: new files. Display information about the
510 installed texfiles (cls,sty,bst).
512 * ControlShowFile.[Ch]: new files. Display the contents of a file.
514 * GUI.h: added classes GUIShowFile and GUITexinfo.
516 * Makefile.am: modified appropriately.
518 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
520 * ControlAboutlyx.C (getVersion): use lyx_version and
521 lyx_release_date instead of old macros
523 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlSpellchecker.C (check): Behaves well now when the spell
526 library doesn't know a replacement to an incorrect word.
528 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
530 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
531 the correct place. Can now check spelling more than once!
533 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
535 * ControlSplash.[Ch]: removed.
537 * GUI.h: remove GUISplash class.
539 * ViewBase.h: remove ViewSplash class.
541 * Makefile.am: remove ControlSplash.[Ch].
543 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
545 * ControlButtons.h: add variable emergency_exit_. If set to true, the
546 view will be shut down.
549 * ControlInset.h: act on emergency_exit_.
551 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
552 speller fails to launch.
554 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
556 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
557 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
559 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlRef.h (disconnectOnApply): new method. Set to true.
562 Perhaps make this user-modifiable?
564 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
569 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
571 * ControlRef.C (getBufferList, getBufferNum): New methods
573 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
575 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
576 of the dialog when the Apply button is pressed. Defaults to false,
577 but can be overridden in the daughter classes.
579 * ControlCitation.h (disconnectOnApply): new method. Set to true.
580 Perhaps make this user-modifiable?
582 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
584 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
585 we have dialogs that update their contents when the buffer changes.
586 Rather embarassing, really!
588 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
590 * ControlSearch (replace): change semantics of replace to NOT move on
591 to the next instance of a word once the present instance has been
592 replaced unless we are replacing ALL instances of the word.
594 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
596 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
598 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
600 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
601 dialog, set all options to "reset", close the dialog, re-open it ->
602 the options are set incorrectly.
604 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
605 When Applying it's useful to know whether the dialog is about to close
606 or not (no point refreshing the display for example).
608 * ControlInset.C (apply): use isClosing.
610 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
613 * ControlDialogs.h: remove bc() hack, now fixed in
614 Qt2 frontend. use member dialog_built_ instead of shared
617 * ButtonController.h:
618 * ButtonPolicies.C: more debug info
620 * ButtonControllerBase.C: call refresh() when setting readOnly !
622 * GUI.h: External form has apply, use the right policy
624 * character.C: fix two off-by-one errors when latex font was removed
626 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
628 * ControlInset.h (apply): tentative fix for the press Apply multiple
629 times and get multiple new Insets problem.
631 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
633 * ControlCharacter.C: fix typo
637 * ControlInsets.C: make sure dialog is built before it is shown, so
638 it works properly the very first time it is shown
640 2001-08-20 Herbert Voss <voss@perce.de>
642 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
643 and styles. Added an option for "bibliography into toc"
645 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
647 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
648 LaTeX is no longer a font property.
650 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
652 * GUI.h: Button controller for Reference dialog changed to
653 NoRepeatedApplyReadOnlyPolicy.
655 * biblio.C (getInfo): output volume and number info. Move year to end
658 2001-08-09 Allan Rae <rae@lyx.org>
660 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
662 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
664 * helper_funcs.C (getVectorFromString): fixed small bug.
666 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
668 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
670 * ControlSpellchecker.C: check next word after insert in personal dict
672 2001-08-06 Juergen Vigna <jug@sad.it>
674 * ControlERT.[Ch]: new file
676 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
678 * ControlInset.h: const and non-const forms of params().
680 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
681 whitespace from either side of each item.
683 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
685 * ControlFloat.h: add a != operator for FloatParams.
686 Lars, how did you get this to compile!!!
688 * ControlMinipage.[Ch]: uncommented someone's commenting out of
689 operator != for MinipageParams. Who's changing stuff and not compiling?
691 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
696 * GUI.h: add class GUIFloat
698 * ControlFloat.[Ch]: new files
700 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
702 * ControlPrint.C: #include Lassert.h here.
704 2001-07-26 Baruch Even <baruch@lyx.org>
706 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
709 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
711 * ControlThesaurus.h:
712 * ControlThesaurus.C:
714 * Makefile.am: thesaurus support
716 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
719 * ControlInclude.C: implement ability to load file
721 2001-07-18 Juergen Vigna <jug@sad.it>
723 * ControlSearch.C (replace): changes to lyxfind.h function calls.
725 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
727 * biblio.C (getInfo): add a .c_str() to handle the usual
730 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
732 * ControlCitation.[Ch]: changes associated with adding natbib support.
733 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
734 New static variable citeStyles_.
736 * biblio.[Ch]: large internal rearrangement.
737 New public enum CiteStyle.
738 New public struct CitationStyle.
739 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
740 getNumericalStrings, getAuthorYearStrings
741 (simpleSearch, regexSearch): no longer publicly accessible.
743 * helper_funcs.C (getStringFromVector): bug fix.
745 2001-07-16 Baruch Even <baruch@lyx.org>
747 * ControlVCLog.h: Added Lsstream.h to includes.
749 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
751 * ControlSpellchecker.[Ch]: remove d-tor.
753 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
755 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
757 2001-07-16 Juergen Vigna <jug@sad.it>
759 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
760 compiled with USE_PSPELL) to be able to switch between ISpell and
763 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
765 Consistent use of Lsstream.h:
766 * ControlAboutlyx.[Ch] (getCredits):
767 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
769 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
771 * ControlCredits.[Ch]: removed
772 * ControlCopyright.[Ch]: removed
773 * ControlAboutlyx.[Ch]: added (replaces previous)
774 * GUI.h: removed credits and copyright added about lyx stuff
776 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
778 * ControlSpellchecker.C (getSuggestion):
779 (getWord): add std:: qualifier
781 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
783 * ControlSpellchecker.[Ch]: added
784 * ViewBase.h: added partialUpdate(int) member
785 * GUI.h: added spell stuff
787 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * ControlExternal.C: (*it). -> it->
791 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
793 * ButtonController.h: move some included header files out of the
794 frontends and into here.
796 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
798 * ControlCharacter.C (c-tor): cosmetic name change of signal.
800 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
802 * *.[h]: added // -*- C++ -*-
803 * *.[C]: removed // -*- C++ -*-
805 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
806 activate Apply button.
807 (clearParams): removed.
808 font_ is now stored as a boost::scoped_ptr.
809 font_ is no longer deleted on hide(), so it's contents can now be used
810 by the Font button on the toolbar.
811 Lots of new methods so that the GUI can easily get the contents of
812 font_ when it update()s.
814 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
816 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
817 crash when the Font button on the Toolbar is pressed.
819 * GUI.h: change policy of Character button controller to
820 OkApplyCancelReadOnlyPolicy.
822 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
824 * ControlToc.C (getContents): don't add anything to the list if it
825 is supposed to be empty.
827 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
829 * helper_funcs.C (getVectorFromString): bug fix.
831 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
834 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
835 from ButtonControllerBase::readOnly. Updates the state of the widgets
836 in the read-only list only when the read-only status of the document
838 (refresh): moved this stuff into refreshReadOnly.
840 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
842 * ControlPrint.C (c-tor):
843 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
845 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
848 * character.h: small clean-ups.
850 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
852 * ControlToc.C (getType): remove support for old float list.
854 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
856 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
857 * ControlGraphics.h: no longer include insetgraphicsParams.h
858 * ControlInset.h: no longer include LyXView.h
863 * ControlCharacter.C:
866 * ControlConnections.C:
867 * ControlCopyright.C:
879 * ControlTabularCreate.C:
881 * ControlVCLog.C: they're now in here!
883 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
885 * ButtonControllerBase.h: C++ mode, inherit privately from
887 * ButtonPolicies.h: ditto
889 * ButtonController.h: C++ mode, swap init order of restore_ and
892 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
894 * ControlTabularCreate.h:
895 * ControlTabularCreate.C: make dialogs use a pair of uints
899 * ControlVCLog.C: fill a stringstream with the log contents
902 * ControlExternal.C: from Angus, clone the new InsetExternal
905 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
907 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
908 and made more robust.
910 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
919 * ControlCopyright.C: include gettext.h
921 * ControlCharacter.C:
922 * character.C: include gettext.h and language.h
924 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
926 * ButtonController.h:
927 * ButtonControllerBase.h:
928 * ButtonControllerBase.C:
935 * ControlConnections.h:
941 * ViewBase.h: s/ControlButton/ControlButtons/
943 s/UndoAll/Restore/ + associated
945 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
947 * ControlToc.[Ch]: new files; a controller for the TOC popup.
950 * Makefile.am: associated changes with all of the above.
952 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlExternal.C: bug fixes. Can now apply changes to the inset
955 and edit, view, update the External Material correctly. I hope!
957 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
959 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
961 * BCTemplates.h: renamed as ButtonController.h
963 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
966 * ControlConnections.h: associated change in #include and class names.
968 * ControlExternal.[Ch]: new files; a controller for the External
972 * Makefile.am: associated changes with all of the above.
974 * ControlGraphics.[Ch]:
975 * ControlInclude.[Ch]:
978 (Browse): new method. Returns the results of a FileDialog browse.
980 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
981 (getVectorFromString): fixed bug.
983 * biblio.C (simpleSearch): cleaned up.
985 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
987 * A slight reworking of Baruch Even's ButtonController patch.
989 * BCTemplates.h: new file; all the templates for the ButtonController.
990 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
991 to the more generic setButtonLabel().
993 * ButtonController.[Ch]: renamed cancel_label and close_label as
994 cancel_label_ and close_label_.
996 * Makefile.am: added BCTemplates.h
998 2001-03-29 Juergen Vigna <jug@sad.it>
1000 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1001 to use new %-lengths of LyXLength.
1003 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1005 * ControlCitation.C (bibkeysInfo): removed Assert.
1007 * ControlCopyright.h: moved GUICopyright into GUI.h
1011 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1014 (setDaughterParams): a (by default empty) new method called in show().
1020 * ControlMinipage.h:
1023 * ControlUrl.h (clearDaughterParams): removed
1025 * ControlMinipage.C (applyParamsToInset): update the view.
1026 Added namespace minipage containing a helper function getUnits.
1028 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1030 * ControlCharacter.[Ch]: moved out all the helper functions and the
1031 enum into their own file.
1032 * character.[Ch]: new files; contain the character helper functions,
1033 now inside namespace character.
1035 * ControlCitation.[Ch]: moved out all the helper functions and the
1036 enums into their own file. Simplified interface.
1037 * biblio.[Ch]: new files; contain the citation helper functions,
1038 now inside namespace biblio. Will be of use also to an improved
1041 * ControlGraphics.[Ch]:
1042 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1043 popups, respectively.
1046 * Makefile.am: associated changes.
1048 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1050 * ControlMinipage.[Ch]:
1051 * ControlPreamble.[Ch]:
1052 * ControlPrint.[Ch]:
1053 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1054 and Print popups and Splash screen, respectively.
1056 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1060 * Makefile.am: associated changes.
1062 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1064 * ControlConnections.[Ch]: (docType): new method; returns the type
1065 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1068 * ControlSearch.[Ch]:
1069 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1070 Search and TabularCreate popups, respectively.
1073 * Makefile.am: associated changes.
1075 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1080 * ControlInset.h (apply): fix bug. Can now create new insets again.
1082 * README: describe program flow.
1084 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1086 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1088 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1090 * ControlDialogs.h: moved class ControlInset into its own file.
1092 * ControlInset.h: new file. class ControlInset has been expanded to take
1093 two template parameters, Inset and Params. Believe that all inset
1094 controllers can be derived from this with the minimum of effort.
1096 * ControlBibitem.[Ch]:
1097 * ControlBibtex.[Ch]:
1098 * ControlCitation.[Ch]:
1099 * ControlCommand.[Ch]: moved most code into ControlInset.
1101 * lots of files. Moved protected stuff into private where possible.
1103 * ControlError.[Ch]:
1104 * ControlInclude.[Ch]:
1105 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1106 Include and Url popups, respectively.
1109 * Makefile.am: associated changes.
1111 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1116 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1118 * ControlCredits.C (getCredits): remove std:: qualifier for
1121 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1123 * ControlCredits.C (getCredits): add std:: on vector
1125 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1127 * ControlCredits.C: remove using that is only used once, use
1128 std::ios instead of std::iosbase, add some annoying comments.
1130 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1132 * lots of header files: improved explanatory notes.
1134 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1135 ControlBase is now a class that only controls the interaction of the
1136 View with the ButtonController.
1138 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1139 to ControlConnectBase. The class controls the connection/disconnection
1140 of signals from the LyX kernel and makes available the kernel (through
1141 lv_) to daughter controller classes.
1142 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1144 * ControlDialogs.h: new file. Contains the definition of two template
1145 controller classes, ControlDialog and ControlInset (was
1146 ControlConnectInset). ControlInset is a parent class for controllers
1147 of inset-popups. ControlDialogs is the rather uninspired name for
1148 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1149 ControlDialogs is reaching a state of maturity as several popups now use
1150 it and its functionality becomes clear. ControlInset is still in a state
1151 of flux. It is likely that functionality will be moved out of
1152 ControlCommands and into it.
1154 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1155 individual Controller header files and into one place. These classes
1156 serve only as convenient wrappers to simplify code in the respective
1157 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1159 * ControlCharacter.[Ch] (show, update, hide):
1160 * ControlLog.[Ch] (show, update, hide):
1161 * ControlVCLog.[Ch] (show, update, hide): moved back into
1162 the ControlDialogs base class.
1163 (setParams, clearParams): new methods containing controller-specific
1164 code to set/reset the parameters manipulated by the view.
1166 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1168 (hide): calls clearParams.
1170 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1171 by ControlCommand::hide().
1173 * ControlCopyright.[Ch]:
1174 * ControlCredits.[Ch]: new files; controllers for the copyright and
1175 credits popups, respectively.
1177 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1179 * ControlCharacter.C: fix typo
1181 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1183 * ControlCharacter.[Ch]: new files; controller for the character popup.
1185 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1186 moved to new files helper_funcs.[Ch].
1188 * helper_funcs.[Ch]: new files. Some useful helper functions and
1191 * Makefile.am: added new files.
1193 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1195 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1197 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1200 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1201 Control log files, respectively.
1203 * Makefile.am: added new files.
1205 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1207 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1209 * Makefile.am: added ControlBibtex.[Ch].
1211 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1214 * ControlCitation.C: added "using SigC::slot" declaration.
1216 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1217 to FormCitation.C prior to the merger: "Do not put space between
1220 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1222 * several files: remove CXX_WORKING_NAMESPACES
1224 * ButtonController.h: noncopyable is in namespace boost
1225 * ButtonPolicies.h: ditto
1227 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1229 * Merging changes from BRANCH_MVC back into HEAD.
1231 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1233 * Makefile.am: add ControlBibitem.[Ch].
1235 * ControlBibitem.[Ch]: new files that together define the Controller
1236 for a Bibitem popup.
1238 * ControlCommand.h (c-tor): give kb_action a default value of
1241 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1243 * ControlCitation.[Ch]: moved search functions out of class.
1244 (bibkeysInfo): new method. Returns const reference to private data.
1245 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1248 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlCitation.[Ch]: added Search functions to the class,
1251 (shamelessly lifted from Marco's gnome code). I think that these would
1252 be better as helper functions outside the class, but this is a first
1255 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1257 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1259 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1260 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1261 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1262 implementation of FormCitation.
1264 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ButtonPolicies.h: add SMI_NOOP to enum.
1268 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1270 * ButtonController.C (input): add "optimising" if-statement. Actually,
1271 things don't work correctly without it...
1273 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1275 * ViewBase.h: remove #pragma directive
1277 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1280 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1282 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1284 * Makefile.am: added ButtonPolicies.[Ch]
1286 * ButtonController.[Ch]: ButtonController is split into
1287 ButtonControllerBase and a template ButtonController class. The base
1288 class no longer stores a pointer to a ButtonPolicy, but instead
1289 accesses the actual instantiation of the policy through a pure virtual
1290 method bp(). This method and the ButtonPolicy itself are instantiated
1291 in the templatised ButtonController class. This class is derived from
1292 the GUI-specific GUIBC class, meaning that the frontends know
1293 nothing about the actual policy decided upon by the controllers.
1295 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1296 Instead the actual instantiations are accessed through pure virtual
1297 methods view() and bc(). The daughter classes are responsible for the
1298 actual View and ButtonController.
1300 * ControlCitation.h: the templatised class GUICitation instantiates
1301 the methods view() and bc(). It also stores the instances of the
1302 View and ButtonController.
1304 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1306 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1307 also changed to ButtonController.
1310 * ControlConnections.[Ch]:
1311 * ControlCommand.[Ch]:
1312 * ControlCitation.[Ch]:
1313 * ViewBase.h: Changes associated with this.
1315 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1317 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1318 xforms/ButtonController class into a GUI-I class (here) and an
1319 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1321 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1322 from which all Dialog Controllers should be derived. the Controllers
1323 are GUI-independent, but are designed to control the behaviour of
1324 GUI-specific implementaions of each dialog.
1326 * ControlConnections.[Ch]: new files. Classes controlling the
1327 connections of buffer-independent, buffer-dependent and Inset dialogs
1328 with the LyX kernel.
1330 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1331 InsetCommand subset of insets.
1333 * ControlCitation.[Ch]: new files. The test specialisation! A
1334 controller for the Citation dialog.
1336 * ViewBase.h: new file. ViewBase is an abstract base class from which
1337 GUI-specific dialogs should be derived. The functionality that the GUIs
1338 must now implement is much reduced.