1 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlExternal.C: add scoped_ptr.hpp
5 * ControlCharacter.h: use more specific smart_ptr header.
7 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
9 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
11 2002-05-13 Herbert Voss <voss@perce.de>
13 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
14 like "Odland, G. and ... "
15 (parseBibTeX): fix bug with title and booktitle
16 and replace a \n with a space when one entry has more than
19 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
21 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
22 "No change" and "Reset".
24 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
25 them at the front of the list.
27 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
29 * ControlGraphics.C: add some comments to the char * arrays.
30 Make rorigin_size const.
32 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
34 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
35 Enables the gui's to internationalise these strings.
37 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
39 * frnt_lang.C: fix build
41 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
43 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
44 If the the caller is the character dialog, add "No change" and "Reset"
45 to the vector, else don't.
46 Internationalise the GUI strings here rather than in the different
48 Sort the translated strings, albeit simply.
50 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
52 * character.[Ch]: rename namespace character as namespace frnt.
54 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
55 as several dialogs will use this info. The function now returns a
56 vector<LanguagePair> where LanguagePair is a display string and an
57 identifying string. The display string is internationalised.
59 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
60 the identifying strings, "No change" and "Reset".
62 * Makefile.am: add frnt_lang.[Ch].
64 2002-04-25 Herbert Voss <voss@lyx.org>
66 * ControlSendto.C (allFormats): don't add the graphics extensions to the
69 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
71 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
72 BibTeX databases in a WYSIWYM way.
74 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
76 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
77 way past his use-by date.
78 Make use of the improved info from Buffer::getBibkeyList when using
79 \bibliography. Enables us to provide natbib support in this case too.
81 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
83 * ControlGraphics.C: pass the browseFile dialog a string of only those
84 formats that can currently be loaded by LyX.
86 2002-04-15 Herbert Voss <voss@perce.de>
88 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
89 with something like ,,...blah...`` (two commas)
91 2002-04-14 Herbert Voss <voss@perce.de>
93 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
94 into the support/lstrings for better use in other programs.
96 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
97 namespace anon and make globally accessible.
98 (familyName): test for the presence of a LaTeX Space at the front of
99 of a name; strip it if it exists.
101 2002-04-11 Herbert Voss <voss@perce.de>
103 * ControlGraphics.C: expand "browse-string" to all available formats
105 2002-04-11 Herbert Voss <voss@perce.de>
107 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
109 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
111 * ControlAboutlyx.C (getVersion): two _() forgotten
113 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
117 * ControlBibtex.C: make N_() be _()
119 2002-04-07 Herbert Voss <voss@perce.de>
121 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
123 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
125 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
126 used when reading the BB.
128 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
130 * ControlGraphics.C (readBB): Don't open the ifstrem and then
131 check the format from the contents (and open a second ifstream in the
132 process. One at a time please.
134 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlRef.C (getBufferNum): squash warning message.
138 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
140 * ControlBibtex.C (Browse):
141 * ControlGraphics.C (Browse):
142 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
144 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
146 * ControlGraphics.C (applyParamsToInset): pass filepath to
147 InsetGraphics::updateInset.
149 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
151 * most files: ws cleanup
153 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
155 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
158 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
161 * ControlInclude.C: better error messages
163 2002-03-11 Herbert Voss <voss@lyx.org>
165 * biblio.C (parseBibTeX): fix another minibug with an
168 2002-03-10 Herbert Voss <voss@lyx.org>
170 * biblio.C (parseBibTeX): fix bug
171 (familyName): improve parsing
173 2002-03-09 Herbert Voss <voss@lyx.org>
175 * ControlGraphics.[Ch]: adding checkFilename() for testing
176 of non-existing files
178 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * ControlSendto.C (allFormats): fix a iterators are not pointers
183 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
185 * ControlShowFile.h: add a #include "LString.h"
187 2002-03-05 Herbert Voss <voss@lyx.org>
189 * biblio.C (getInfo): simplify if using paragraph layout
192 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
194 * biblio.C (getInfo): return the info field correctly if the key
196 (parseBibTeX): fix crash when data.find('=') returns string::npos.
198 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
200 * ControlForks.[Ch]: new files. A controller for the Forked Child
201 processes dialog, enabling the user to see what forked processes
202 are running, and, if he so desires, to kill them.
204 * GUI.h: add class GUIForks.
206 * Makefile.am: add ControlForks.[Ch].
208 * ControlGraphics.C (getParams): small change due to change in
211 2002-02-21 Herbert Voss <voss@lyx.org>
213 * biblio.C: fix bug with commentlines in a bibentry
215 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
217 * Makefile.am: simpler obj. file compile
219 2002-02-18 Herbert Voss <voss@lyx.org>
221 * ControlGraphics.[Ch]: remove help-file call
223 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
225 * helper_funcs.h: wrap the structs firster and seconder up in a
226 namespace to avoid clashes with those in lyxalgo,h.
228 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
229 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
231 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
233 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
236 change Systemcalls::System to Systemcalls::Wait and
237 No change of functionality, just reflects the stripped down Systemcalls
240 2002-02-06 Herbert Voss <voss@lyx.org>
242 * ControlGraphics.[C] (readBB): search also in
243 g'zipped files. If it is useful than PK and compress
244 should also be supported. use unzipFile() from
247 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
249 * ControlRef.C (getBufferName): new method to get a real buffer
252 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
254 * ControlTexInfo.[Ch]: Removed Help functions.
256 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
258 * ControlSpellchecker.C: clear any selection left
261 2002-02-01 Herbert Voss <voss@lyx.org>
263 * ControlGraphics.[C] (readBB): search only, if it is a
264 ".?ps" file and look for bb's at end of file
266 2002-01-30 Herbert Voss <voss@lyx.org>
268 * ControlGraphic.[C]: do not search the whole file, when
271 2002-01-29 Herbert Voss <voss@lyx.org>
273 * ControlGraphic.[C]: added a button for document path
274 when browsing -> bug 222
276 2002-01-27 Herbert Voss <voss@lyx.org>
278 * ControlGraphic.[Ch]: added support for Bounding Box, other
281 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
284 * ControlTexinfo.h: added #include "LString.h" where they belong.
286 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
289 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
291 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
293 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
296 2002-01-20 Herbert Voss <voss@perce.de>
298 * ControlInclude.[Ch]: better control of unexistings files
299 when entered without the browser
301 * ControlGraphic.C (Browse): add extension "ps" when browsing for
304 2002-01-19 Herbert Voss <voss@perce.de>
306 * biblio.C (getInfo): fix bug when no author is given
308 * biblio.C (parseBibTeX): change the parsing, so that
309 '#'-characters in a bibtex entry are no more a problem.
311 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
313 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
314 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
316 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
320 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
322 * ControlExternal.C (Browse): add a std:: qualifier
324 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
326 * ControlExternal.C (Browse): simplify to use browseRelFile
328 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
330 * ButtonController.tmpl: added // -*- C++ -*-
332 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
333 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
334 Needed in _one_ of the ControlCommand-derived classes only.
336 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
339 * ControlSearch.h: #include LString.h
341 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
343 * ButtonController.h: split into two. The definition remains in
344 ButtonController.h, the declaration is now in ButtonController.tmpl.
345 These template methods should be #included when the derived class is
346 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
347 and in the qt2 and gnome equivalents.
349 * ControlDialogs.h: removed. The definition of class ControlDialog is
350 now to be found in ControlDialog.h and the declaration of the methods
351 is in ControlDialog.tmpl. The two template instantiations are performed
352 in ControlDialog_impl.[Ch], new files also.
354 * ControlInset.h: split into two. The definition remains in
355 ControlInset.h, the declaration is now in ControlInset.tmpl.
356 These template methods should be #included derived class is
357 instantiated, in this case in 8 other .C files in this directory.
359 * ControlAboutlyx.[Ch]:
360 * ControlCharacter.[Ch]:
370 * ControlPreamble.[Ch]:
372 * ControlSearch.[Ch]:
373 * ControlShowFile.[Ch]:
374 * ControlSpellchecker.[Ch]:
375 * ControlTabularCreate.[Ch]:
376 * ControlTexinfo.[Ch]:
377 * ControlThesaurus.[Ch]:
378 * ControlVCLog.[Ch]: small changes associated with the above ones.
380 * GUI.h: #include the ButtonController and dialog controller files
381 here, rather than forward declare them. This is the correct place
384 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
385 Rename ControlDialogs.h as ControlDialog.h.
386 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
389 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
393 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
395 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
398 * ControlGraphics.C (Browse): remove overzealous shortcut
400 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
402 * FormMinipage.C (apply, update): MinipageParams::width renamed
403 as MinipageParams::pageWidth. InsetMinipage::width renamed
404 as InsetMinipage::pageWidth.
406 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * ButtonController.h (refreshReadOnly): use explicit typename
410 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
412 * helper_funcs.h (browseFile): add default empty button descriptions.
414 * ControlGraphics.C (Browse):
415 * ControlBibtex.C (Browse):
416 * ControlInclude.C (Browse): add shortcuts to directory buttons
418 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
420 * ControlThesaurus.h:
421 * ControlThesaurus.C: update to Aiksaurus 0.14
423 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
425 * ControlSpellchecker.C (clearParams): show the closing message
426 only if some words have been checked, thereby fixing
429 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
431 * ControlFloat.[Ch]: changes to prevent here definitely being used
434 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
436 * ControlThesaurus.h: do not include <config.h> in header files
438 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
440 * ControlToc.C: changes for floatlist
442 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
444 * ControlVCLog.C: use _()
446 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
448 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
451 2001-10-22 Juergen Vigna <jug@sad.it>
453 * ControlSpellchecker.C (clearParams): use the error_ message of the
454 speller_ if available when the spellchecker died.
455 (setParams): remove double error message display.
457 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
459 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
461 * helper_funcs.[Ch] (getLatexUnits): see above.
463 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * ControlTexinfo.C (getContents): use the right file for .sty files
467 2001-10-10 Herbert Voss <voss@perce.de>
469 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
470 and some more stuff from FormTexinfo.C
472 * ControlShowFile.C: hiding the update-button
474 2001-10-09 Herbert Voss <voss@perce.de>
476 * ControlTexinfo.[Ch]: new files. Display information about the
477 installed texfiles (cls,sty,bst).
479 * ControlShowFile.[Ch]: new files. Display the contents of a file.
481 * GUI.h: added classes GUIShowFile and GUITexinfo.
483 * Makefile.am: modified appropriately.
485 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
487 * ControlAboutlyx.C (getVersion): use lyx_version and
488 lyx_release_date instead of old macros
490 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlSpellchecker.C (check): Behaves well now when the spell
493 library doesn't know a replacement to an incorrect word.
495 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
498 the correct place. Can now check spelling more than once!
500 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlSplash.[Ch]: removed.
504 * GUI.h: remove GUISplash class.
506 * ViewBase.h: remove ViewSplash class.
508 * Makefile.am: remove ControlSplash.[Ch].
510 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
512 * ControlButtons.h: add variable emergency_exit_. If set to true, the
513 view will be shut down.
516 * ControlInset.h: act on emergency_exit_.
518 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
519 speller fails to launch.
521 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
523 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
524 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
526 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
528 * ControlRef.h (disconnectOnApply): new method. Set to true.
529 Perhaps make this user-modifiable?
531 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
536 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
538 * ControlRef.C (getBufferList, getBufferNum): New methods
540 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
542 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
543 of the dialog when the Apply button is pressed. Defaults to false,
544 but can be overridden in the daughter classes.
546 * ControlCitation.h (disconnectOnApply): new method. Set to true.
547 Perhaps make this user-modifiable?
549 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
552 we have dialogs that update their contents when the buffer changes.
553 Rather embarassing, really!
555 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
557 * ControlSearch (replace): change semantics of replace to NOT move on
558 to the next instance of a word once the present instance has been
559 replaced unless we are replacing ALL instances of the word.
561 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
563 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
565 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
567 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
568 dialog, set all options to "reset", close the dialog, re-open it ->
569 the options are set incorrectly.
571 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
572 When Applying it's useful to know whether the dialog is about to close
573 or not (no point refreshing the display for example).
575 * ControlInset.C (apply): use isClosing.
577 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
580 * ControlDialogs.h: remove bc() hack, now fixed in
581 Qt2 frontend. use member dialog_built_ instead of shared
584 * ButtonController.h:
585 * ButtonPolicies.C: more debug info
587 * ButtonControllerBase.C: call refresh() when setting readOnly !
589 * GUI.h: External form has apply, use the right policy
591 * character.C: fix two off-by-one errors when latex font was removed
593 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
595 * ControlInset.h (apply): tentative fix for the press Apply multiple
596 times and get multiple new Insets problem.
598 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
600 * ControlCharacter.C: fix typo
604 * ControlInsets.C: make sure dialog is built before it is shown, so
605 it works properly the very first time it is shown
607 2001-08-20 Herbert Voss <voss@perce.de>
609 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
610 and styles. Added an option for "bibliography into toc"
612 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
614 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
615 LaTeX is no longer a font property.
617 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
619 * GUI.h: Button controller for Reference dialog changed to
620 NoRepeatedApplyReadOnlyPolicy.
622 * biblio.C (getInfo): output volume and number info. Move year to end
625 2001-08-09 Allan Rae <rae@lyx.org>
627 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
629 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
631 * helper_funcs.C (getVectorFromString): fixed small bug.
633 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
635 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
637 * ControlSpellchecker.C: check next word after insert in personal dict
639 2001-08-06 Juergen Vigna <jug@sad.it>
641 * ControlERT.[Ch]: new file
643 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlInset.h: const and non-const forms of params().
647 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
648 whitespace from either side of each item.
650 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
652 * ControlFloat.h: add a != operator for FloatParams.
653 Lars, how did you get this to compile!!!
655 * ControlMinipage.[Ch]: uncommented someone's commenting out of
656 operator != for MinipageParams. Who's changing stuff and not compiling?
658 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
660 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
663 * GUI.h: add class GUIFloat
665 * ControlFloat.[Ch]: new files
667 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
669 * ControlPrint.C: #include Lassert.h here.
671 2001-07-26 Baruch Even <baruch@lyx.org>
673 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
676 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
678 * ControlThesaurus.h:
679 * ControlThesaurus.C:
681 * Makefile.am: thesaurus support
683 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
686 * ControlInclude.C: implement ability to load file
688 2001-07-18 Juergen Vigna <jug@sad.it>
690 * ControlSearch.C (replace): changes to lyxfind.h function calls.
692 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
694 * biblio.C (getInfo): add a .c_str() to handle the usual
697 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
699 * ControlCitation.[Ch]: changes associated with adding natbib support.
700 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
701 New static variable citeStyles_.
703 * biblio.[Ch]: large internal rearrangement.
704 New public enum CiteStyle.
705 New public struct CitationStyle.
706 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
707 getNumericalStrings, getAuthorYearStrings
708 (simpleSearch, regexSearch): no longer publicly accessible.
710 * helper_funcs.C (getStringFromVector): bug fix.
712 2001-07-16 Baruch Even <baruch@lyx.org>
714 * ControlVCLog.h: Added Lsstream.h to includes.
716 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
718 * ControlSpellchecker.[Ch]: remove d-tor.
720 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
722 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
724 2001-07-16 Juergen Vigna <jug@sad.it>
726 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
727 compiled with USE_PSPELL) to be able to switch between ISpell and
730 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
732 Consistent use of Lsstream.h:
733 * ControlAboutlyx.[Ch] (getCredits):
734 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
736 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
738 * ControlCredits.[Ch]: removed
739 * ControlCopyright.[Ch]: removed
740 * ControlAboutlyx.[Ch]: added (replaces previous)
741 * GUI.h: removed credits and copyright added about lyx stuff
743 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
745 * ControlSpellchecker.C (getSuggestion):
746 (getWord): add std:: qualifier
748 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
750 * ControlSpellchecker.[Ch]: added
751 * ViewBase.h: added partialUpdate(int) member
752 * GUI.h: added spell stuff
754 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
756 * ControlExternal.C: (*it). -> it->
758 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
760 * ButtonController.h: move some included header files out of the
761 frontends and into here.
763 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
765 * ControlCharacter.C (c-tor): cosmetic name change of signal.
767 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
769 * *.[h]: added // -*- C++ -*-
770 * *.[C]: removed // -*- C++ -*-
772 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
773 activate Apply button.
774 (clearParams): removed.
775 font_ is now stored as a boost::scoped_ptr.
776 font_ is no longer deleted on hide(), so it's contents can now be used
777 by the Font button on the toolbar.
778 Lots of new methods so that the GUI can easily get the contents of
779 font_ when it update()s.
781 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
783 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
784 crash when the Font button on the Toolbar is pressed.
786 * GUI.h: change policy of Character button controller to
787 OkApplyCancelReadOnlyPolicy.
789 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
791 * ControlToc.C (getContents): don't add anything to the list if it
792 is supposed to be empty.
794 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
796 * helper_funcs.C (getVectorFromString): bug fix.
798 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
801 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
802 from ButtonControllerBase::readOnly. Updates the state of the widgets
803 in the read-only list only when the read-only status of the document
805 (refresh): moved this stuff into refreshReadOnly.
807 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
809 * ControlPrint.C (c-tor):
810 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
812 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
815 * character.h: small clean-ups.
817 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
819 * ControlToc.C (getType): remove support for old float list.
821 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
823 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
824 * ControlGraphics.h: no longer include insetgraphicsParams.h
825 * ControlInset.h: no longer include LyXView.h
830 * ControlCharacter.C:
833 * ControlConnections.C:
834 * ControlCopyright.C:
846 * ControlTabularCreate.C:
848 * ControlVCLog.C: they're now in here!
850 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
852 * ButtonControllerBase.h: C++ mode, inherit privately from
854 * ButtonPolicies.h: ditto
856 * ButtonController.h: C++ mode, swap init order of restore_ and
859 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
861 * ControlTabularCreate.h:
862 * ControlTabularCreate.C: make dialogs use a pair of uints
866 * ControlVCLog.C: fill a stringstream with the log contents
869 * ControlExternal.C: from Angus, clone the new InsetExternal
872 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
874 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
875 and made more robust.
877 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
886 * ControlCopyright.C: include gettext.h
888 * ControlCharacter.C:
889 * character.C: include gettext.h and language.h
891 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
893 * ButtonController.h:
894 * ButtonControllerBase.h:
895 * ButtonControllerBase.C:
902 * ControlConnections.h:
908 * ViewBase.h: s/ControlButton/ControlButtons/
910 s/UndoAll/Restore/ + associated
912 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
914 * ControlToc.[Ch]: new files; a controller for the TOC popup.
917 * Makefile.am: associated changes with all of the above.
919 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
921 * ControlExternal.C: bug fixes. Can now apply changes to the inset
922 and edit, view, update the External Material correctly. I hope!
924 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
926 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
928 * BCTemplates.h: renamed as ButtonController.h
930 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
933 * ControlConnections.h: associated change in #include and class names.
935 * ControlExternal.[Ch]: new files; a controller for the External
939 * Makefile.am: associated changes with all of the above.
941 * ControlGraphics.[Ch]:
942 * ControlInclude.[Ch]:
945 (Browse): new method. Returns the results of a FileDialog browse.
947 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
948 (getVectorFromString): fixed bug.
950 * biblio.C (simpleSearch): cleaned up.
952 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
954 * A slight reworking of Baruch Even's ButtonController patch.
956 * BCTemplates.h: new file; all the templates for the ButtonController.
957 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
958 to the more generic setButtonLabel().
960 * ButtonController.[Ch]: renamed cancel_label and close_label as
961 cancel_label_ and close_label_.
963 * Makefile.am: added BCTemplates.h
965 2001-03-29 Juergen Vigna <jug@sad.it>
967 * ControlMinipage.C: removed widthp_ and all it's functions and changed
968 to use new %-lengths of LyXLength.
970 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
972 * ControlCitation.C (bibkeysInfo): removed Assert.
974 * ControlCopyright.h: moved GUICopyright into GUI.h
978 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
980 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
981 (setDaughterParams): a (by default empty) new method called in show().
990 * ControlUrl.h (clearDaughterParams): removed
992 * ControlMinipage.C (applyParamsToInset): update the view.
993 Added namespace minipage containing a helper function getUnits.
995 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
997 * ControlCharacter.[Ch]: moved out all the helper functions and the
998 enum into their own file.
999 * character.[Ch]: new files; contain the character helper functions,
1000 now inside namespace character.
1002 * ControlCitation.[Ch]: moved out all the helper functions and the
1003 enums into their own file. Simplified interface.
1004 * biblio.[Ch]: new files; contain the citation helper functions,
1005 now inside namespace biblio. Will be of use also to an improved
1008 * ControlGraphics.[Ch]:
1009 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1010 popups, respectively.
1013 * Makefile.am: associated changes.
1015 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ControlMinipage.[Ch]:
1018 * ControlPreamble.[Ch]:
1019 * ControlPrint.[Ch]:
1020 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1021 and Print popups and Splash screen, respectively.
1023 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1027 * Makefile.am: associated changes.
1029 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1031 * ControlConnections.[Ch]: (docType): new method; returns the type
1032 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1035 * ControlSearch.[Ch]:
1036 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1037 Search and TabularCreate popups, respectively.
1040 * Makefile.am: associated changes.
1042 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1044 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1047 * ControlInset.h (apply): fix bug. Can now create new insets again.
1049 * README: describe program flow.
1051 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1053 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1055 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ControlDialogs.h: moved class ControlInset into its own file.
1059 * ControlInset.h: new file. class ControlInset has been expanded to take
1060 two template parameters, Inset and Params. Believe that all inset
1061 controllers can be derived from this with the minimum of effort.
1063 * ControlBibitem.[Ch]:
1064 * ControlBibtex.[Ch]:
1065 * ControlCitation.[Ch]:
1066 * ControlCommand.[Ch]: moved most code into ControlInset.
1068 * lots of files. Moved protected stuff into private where possible.
1070 * ControlError.[Ch]:
1071 * ControlInclude.[Ch]:
1072 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1073 Include and Url popups, respectively.
1076 * Makefile.am: associated changes.
1078 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1080 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1083 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1085 * ControlCredits.C (getCredits): remove std:: qualifier for
1088 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1090 * ControlCredits.C (getCredits): add std:: on vector
1092 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1094 * ControlCredits.C: remove using that is only used once, use
1095 std::ios instead of std::iosbase, add some annoying comments.
1097 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1099 * lots of header files: improved explanatory notes.
1101 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1102 ControlBase is now a class that only controls the interaction of the
1103 View with the ButtonController.
1105 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1106 to ControlConnectBase. The class controls the connection/disconnection
1107 of signals from the LyX kernel and makes available the kernel (through
1108 lv_) to daughter controller classes.
1109 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1111 * ControlDialogs.h: new file. Contains the definition of two template
1112 controller classes, ControlDialog and ControlInset (was
1113 ControlConnectInset). ControlInset is a parent class for controllers
1114 of inset-popups. ControlDialogs is the rather uninspired name for
1115 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1116 ControlDialogs is reaching a state of maturity as several popups now use
1117 it and its functionality becomes clear. ControlInset is still in a state
1118 of flux. It is likely that functionality will be moved out of
1119 ControlCommands and into it.
1121 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1122 individual Controller header files and into one place. These classes
1123 serve only as convenient wrappers to simplify code in the respective
1124 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1126 * ControlCharacter.[Ch] (show, update, hide):
1127 * ControlLog.[Ch] (show, update, hide):
1128 * ControlVCLog.[Ch] (show, update, hide): moved back into
1129 the ControlDialogs base class.
1130 (setParams, clearParams): new methods containing controller-specific
1131 code to set/reset the parameters manipulated by the view.
1133 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1135 (hide): calls clearParams.
1137 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1138 by ControlCommand::hide().
1140 * ControlCopyright.[Ch]:
1141 * ControlCredits.[Ch]: new files; controllers for the copyright and
1142 credits popups, respectively.
1144 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1146 * ControlCharacter.C: fix typo
1148 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1150 * ControlCharacter.[Ch]: new files; controller for the character popup.
1152 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1153 moved to new files helper_funcs.[Ch].
1155 * helper_funcs.[Ch]: new files. Some useful helper functions and
1158 * Makefile.am: added new files.
1160 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1162 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1164 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1167 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1168 Control log files, respectively.
1170 * Makefile.am: added new files.
1172 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1174 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1176 * Makefile.am: added ControlBibtex.[Ch].
1178 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1181 * ControlCitation.C: added "using SigC::slot" declaration.
1183 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1184 to FormCitation.C prior to the merger: "Do not put space between
1187 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1189 * several files: remove CXX_WORKING_NAMESPACES
1191 * ButtonController.h: noncopyable is in namespace boost
1192 * ButtonPolicies.h: ditto
1194 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1196 * Merging changes from BRANCH_MVC back into HEAD.
1198 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1200 * Makefile.am: add ControlBibitem.[Ch].
1202 * ControlBibitem.[Ch]: new files that together define the Controller
1203 for a Bibitem popup.
1205 * ControlCommand.h (c-tor): give kb_action a default value of
1208 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1210 * ControlCitation.[Ch]: moved search functions out of class.
1211 (bibkeysInfo): new method. Returns const reference to private data.
1212 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1215 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1217 * ControlCitation.[Ch]: added Search functions to the class,
1218 (shamelessly lifted from Marco's gnome code). I think that these would
1219 be better as helper functions outside the class, but this is a first
1222 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1224 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1226 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1227 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1228 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1229 implementation of FormCitation.
1231 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ButtonPolicies.h: add SMI_NOOP to enum.
1235 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1237 * ButtonController.C (input): add "optimising" if-statement. Actually,
1238 things don't work correctly without it...
1240 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1242 * ViewBase.h: remove #pragma directive
1244 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1247 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1249 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1251 * Makefile.am: added ButtonPolicies.[Ch]
1253 * ButtonController.[Ch]: ButtonController is split into
1254 ButtonControllerBase and a template ButtonController class. The base
1255 class no longer stores a pointer to a ButtonPolicy, but instead
1256 accesses the actual instantiation of the policy through a pure virtual
1257 method bp(). This method and the ButtonPolicy itself are instantiated
1258 in the templatised ButtonController class. This class is derived from
1259 the GUI-specific GUIBC class, meaning that the frontends know
1260 nothing about the actual policy decided upon by the controllers.
1262 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1263 Instead the actual instantiations are accessed through pure virtual
1264 methods view() and bc(). The daughter classes are responsible for the
1265 actual View and ButtonController.
1267 * ControlCitation.h: the templatised class GUICitation instantiates
1268 the methods view() and bc(). It also stores the instances of the
1269 View and ButtonController.
1271 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1273 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1274 also changed to ButtonController.
1277 * ControlConnections.[Ch]:
1278 * ControlCommand.[Ch]:
1279 * ControlCitation.[Ch]:
1280 * ViewBase.h: Changes associated with this.
1282 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1284 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1285 xforms/ButtonController class into a GUI-I class (here) and an
1286 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1288 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1289 from which all Dialog Controllers should be derived. the Controllers
1290 are GUI-independent, but are designed to control the behaviour of
1291 GUI-specific implementaions of each dialog.
1293 * ControlConnections.[Ch]: new files. Classes controlling the
1294 connections of buffer-independent, buffer-dependent and Inset dialogs
1295 with the LyX kernel.
1297 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1298 InsetCommand subset of insets.
1300 * ControlCitation.[Ch]: new files. The test specialisation! A
1301 controller for the Citation dialog.
1303 * ViewBase.h: new file. ViewBase is an abstract base class from which
1304 GUI-specific dialogs should be derived. The functionality that the GUIs
1305 must now implement is much reduced.