1 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
3 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
5 2002-05-13 Herbert Voss <voss@perce.de>
7 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
8 like "Odland, G. and ... "
9 (parseBibTeX): fix bug with title and booktitle
10 and replace a \n with a space when one entry has more than
13 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
15 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
16 "No change" and "Reset".
18 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
19 them at the front of the list.
21 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
23 * ControlGraphics.C: add some comments to the char * arrays.
24 Make rorigin_size const.
26 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
28 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
29 Enables the gui's to internationalise these strings.
31 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
33 * frnt_lang.C: fix build
35 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
37 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
38 If the the caller is the character dialog, add "No change" and "Reset"
39 to the vector, else don't.
40 Internationalise the GUI strings here rather than in the different
42 Sort the translated strings, albeit simply.
44 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
46 * character.[Ch]: rename namespace character as namespace frnt.
48 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
49 as several dialogs will use this info. The function now returns a
50 vector<LanguagePair> where LanguagePair is a display string and an
51 identifying string. The display string is internationalised.
53 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
54 the identifying strings, "No change" and "Reset".
56 * Makefile.am: add frnt_lang.[Ch].
58 2002-04-25 Herbert Voss <voss@lyx.org>
60 * ControlSendto.C (allFormats): don't add the graphics extensions to the
63 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
65 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
66 BibTeX databases in a WYSIWYM way.
68 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
70 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
71 way past his use-by date.
72 Make use of the improved info from Buffer::getBibkeyList when using
73 \bibliography. Enables us to provide natbib support in this case too.
75 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
77 * ControlGraphics.C: pass the browseFile dialog a string of only those
78 formats that can currently be loaded by LyX.
80 2002-04-15 Herbert Voss <voss@perce.de>
82 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
83 with something like ,,...blah...`` (two commas)
85 2002-04-14 Herbert Voss <voss@perce.de>
87 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
88 into the support/lstrings for better use in other programs.
90 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
91 namespace anon and make globally accessible.
92 (familyName): test for the presence of a LaTeX Space at the front of
93 of a name; strip it if it exists.
95 2002-04-11 Herbert Voss <voss@perce.de>
97 * ControlGraphics.C: expand "browse-string" to all available formats
99 2002-04-11 Herbert Voss <voss@perce.de>
101 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
103 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
105 * ControlAboutlyx.C (getVersion): two _() forgotten
107 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
111 * ControlBibtex.C: make N_() be _()
113 2002-04-07 Herbert Voss <voss@perce.de>
115 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
117 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
119 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
120 used when reading the BB.
122 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
124 * ControlGraphics.C (readBB): Don't open the ifstrem and then
125 check the format from the contents (and open a second ifstream in the
126 process. One at a time please.
128 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
130 * ControlRef.C (getBufferNum): squash warning message.
132 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
134 * ControlBibtex.C (Browse):
135 * ControlGraphics.C (Browse):
136 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
138 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
140 * ControlGraphics.C (applyParamsToInset): pass filepath to
141 InsetGraphics::updateInset.
143 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * most files: ws cleanup
147 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
149 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
152 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
155 * ControlInclude.C: better error messages
157 2002-03-11 Herbert Voss <voss@lyx.org>
159 * biblio.C (parseBibTeX): fix another minibug with an
162 2002-03-10 Herbert Voss <voss@lyx.org>
164 * biblio.C (parseBibTeX): fix bug
165 (familyName): improve parsing
167 2002-03-09 Herbert Voss <voss@lyx.org>
169 * ControlGraphics.[Ch]: adding checkFilename() for testing
170 of non-existing files
172 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
174 * ControlSendto.C (allFormats): fix a iterators are not pointers
177 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
179 * ControlShowFile.h: add a #include "LString.h"
181 2002-03-05 Herbert Voss <voss@lyx.org>
183 * biblio.C (getInfo): simplify if using paragraph layout
186 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
188 * biblio.C (getInfo): return the info field correctly if the key
190 (parseBibTeX): fix crash when data.find('=') returns string::npos.
192 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
194 * ControlForks.[Ch]: new files. A controller for the Forked Child
195 processes dialog, enabling the user to see what forked processes
196 are running, and, if he so desires, to kill them.
198 * GUI.h: add class GUIForks.
200 * Makefile.am: add ControlForks.[Ch].
202 * ControlGraphics.C (getParams): small change due to change in
205 2002-02-21 Herbert Voss <voss@lyx.org>
207 * biblio.C: fix bug with commentlines in a bibentry
209 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
211 * Makefile.am: simpler obj. file compile
213 2002-02-18 Herbert Voss <voss@lyx.org>
215 * ControlGraphics.[Ch]: remove help-file call
217 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
219 * helper_funcs.h: wrap the structs firster and seconder up in a
220 namespace to avoid clashes with those in lyxalgo,h.
222 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
223 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
225 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
230 change Systemcalls::System to Systemcalls::Wait and
231 No change of functionality, just reflects the stripped down Systemcalls
234 2002-02-06 Herbert Voss <voss@lyx.org>
236 * ControlGraphics.[C] (readBB): search also in
237 g'zipped files. If it is useful than PK and compress
238 should also be supported. use unzipFile() from
241 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
243 * ControlRef.C (getBufferName): new method to get a real buffer
246 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
248 * ControlTexInfo.[Ch]: Removed Help functions.
250 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
252 * ControlSpellchecker.C: clear any selection left
255 2002-02-01 Herbert Voss <voss@lyx.org>
257 * ControlGraphics.[C] (readBB): search only, if it is a
258 ".?ps" file and look for bb's at end of file
260 2002-01-30 Herbert Voss <voss@lyx.org>
262 * ControlGraphic.[C]: do not search the whole file, when
265 2002-01-29 Herbert Voss <voss@lyx.org>
267 * ControlGraphic.[C]: added a button for document path
268 when browsing -> bug 222
270 2002-01-27 Herbert Voss <voss@lyx.org>
272 * ControlGraphic.[Ch]: added support for Bounding Box, other
275 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
278 * ControlTexinfo.h: added #include "LString.h" where they belong.
280 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
283 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
285 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
287 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
290 2002-01-20 Herbert Voss <voss@perce.de>
292 * ControlInclude.[Ch]: better control of unexistings files
293 when entered without the browser
295 * ControlGraphic.C (Browse): add extension "ps" when browsing for
298 2002-01-19 Herbert Voss <voss@perce.de>
300 * biblio.C (getInfo): fix bug when no author is given
302 * biblio.C (parseBibTeX): change the parsing, so that
303 '#'-characters in a bibtex entry are no more a problem.
305 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
307 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
308 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
310 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
312 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
314 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
316 * ControlExternal.C (Browse): add a std:: qualifier
318 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
320 * ControlExternal.C (Browse): simplify to use browseRelFile
322 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
324 * ButtonController.tmpl: added // -*- C++ -*-
326 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
327 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
328 Needed in _one_ of the ControlCommand-derived classes only.
330 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlSearch.h: #include LString.h
335 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
337 * ButtonController.h: split into two. The definition remains in
338 ButtonController.h, the declaration is now in ButtonController.tmpl.
339 These template methods should be #included when the derived class is
340 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
341 and in the qt2 and gnome equivalents.
343 * ControlDialogs.h: removed. The definition of class ControlDialog is
344 now to be found in ControlDialog.h and the declaration of the methods
345 is in ControlDialog.tmpl. The two template instantiations are performed
346 in ControlDialog_impl.[Ch], new files also.
348 * ControlInset.h: split into two. The definition remains in
349 ControlInset.h, the declaration is now in ControlInset.tmpl.
350 These template methods should be #included derived class is
351 instantiated, in this case in 8 other .C files in this directory.
353 * ControlAboutlyx.[Ch]:
354 * ControlCharacter.[Ch]:
364 * ControlPreamble.[Ch]:
366 * ControlSearch.[Ch]:
367 * ControlShowFile.[Ch]:
368 * ControlSpellchecker.[Ch]:
369 * ControlTabularCreate.[Ch]:
370 * ControlTexinfo.[Ch]:
371 * ControlThesaurus.[Ch]:
372 * ControlVCLog.[Ch]: small changes associated with the above ones.
374 * GUI.h: #include the ButtonController and dialog controller files
375 here, rather than forward declare them. This is the correct place
378 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
379 Rename ControlDialogs.h as ControlDialog.h.
380 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
383 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
385 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
387 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
389 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
392 * ControlGraphics.C (Browse): remove overzealous shortcut
394 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
396 * FormMinipage.C (apply, update): MinipageParams::width renamed
397 as MinipageParams::pageWidth. InsetMinipage::width renamed
398 as InsetMinipage::pageWidth.
400 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
402 * ButtonController.h (refreshReadOnly): use explicit typename
404 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
406 * helper_funcs.h (browseFile): add default empty button descriptions.
408 * ControlGraphics.C (Browse):
409 * ControlBibtex.C (Browse):
410 * ControlInclude.C (Browse): add shortcuts to directory buttons
412 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
414 * ControlThesaurus.h:
415 * ControlThesaurus.C: update to Aiksaurus 0.14
417 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlSpellchecker.C (clearParams): show the closing message
420 only if some words have been checked, thereby fixing
423 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
425 * ControlFloat.[Ch]: changes to prevent here definitely being used
428 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
430 * ControlThesaurus.h: do not include <config.h> in header files
432 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
434 * ControlToc.C: changes for floatlist
436 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
438 * ControlVCLog.C: use _()
440 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
445 2001-10-22 Juergen Vigna <jug@sad.it>
447 * ControlSpellchecker.C (clearParams): use the error_ message of the
448 speller_ if available when the spellchecker died.
449 (setParams): remove double error message display.
451 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
453 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
455 * helper_funcs.[Ch] (getLatexUnits): see above.
457 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * ControlTexinfo.C (getContents): use the right file for .sty files
461 2001-10-10 Herbert Voss <voss@perce.de>
463 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
464 and some more stuff from FormTexinfo.C
466 * ControlShowFile.C: hiding the update-button
468 2001-10-09 Herbert Voss <voss@perce.de>
470 * ControlTexinfo.[Ch]: new files. Display information about the
471 installed texfiles (cls,sty,bst).
473 * ControlShowFile.[Ch]: new files. Display the contents of a file.
475 * GUI.h: added classes GUIShowFile and GUITexinfo.
477 * Makefile.am: modified appropriately.
479 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
481 * ControlAboutlyx.C (getVersion): use lyx_version and
482 lyx_release_date instead of old macros
484 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
486 * ControlSpellchecker.C (check): Behaves well now when the spell
487 library doesn't know a replacement to an incorrect word.
489 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
491 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
492 the correct place. Can now check spelling more than once!
494 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
496 * ControlSplash.[Ch]: removed.
498 * GUI.h: remove GUISplash class.
500 * ViewBase.h: remove ViewSplash class.
502 * Makefile.am: remove ControlSplash.[Ch].
504 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
506 * ControlButtons.h: add variable emergency_exit_. If set to true, the
507 view will be shut down.
510 * ControlInset.h: act on emergency_exit_.
512 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
513 speller fails to launch.
515 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
517 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
518 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
520 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
522 * ControlRef.h (disconnectOnApply): new method. Set to true.
523 Perhaps make this user-modifiable?
525 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
527 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
530 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
532 * ControlRef.C (getBufferList, getBufferNum): New methods
534 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
536 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
537 of the dialog when the Apply button is pressed. Defaults to false,
538 but can be overridden in the daughter classes.
540 * ControlCitation.h (disconnectOnApply): new method. Set to true.
541 Perhaps make this user-modifiable?
543 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
545 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
546 we have dialogs that update their contents when the buffer changes.
547 Rather embarassing, really!
549 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlSearch (replace): change semantics of replace to NOT move on
552 to the next instance of a word once the present instance has been
553 replaced unless we are replacing ALL instances of the word.
555 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
557 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
559 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
562 dialog, set all options to "reset", close the dialog, re-open it ->
563 the options are set incorrectly.
565 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
566 When Applying it's useful to know whether the dialog is about to close
567 or not (no point refreshing the display for example).
569 * ControlInset.C (apply): use isClosing.
571 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
574 * ControlDialogs.h: remove bc() hack, now fixed in
575 Qt2 frontend. use member dialog_built_ instead of shared
578 * ButtonController.h:
579 * ButtonPolicies.C: more debug info
581 * ButtonControllerBase.C: call refresh() when setting readOnly !
583 * GUI.h: External form has apply, use the right policy
585 * character.C: fix two off-by-one errors when latex font was removed
587 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlInset.h (apply): tentative fix for the press Apply multiple
590 times and get multiple new Insets problem.
592 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
594 * ControlCharacter.C: fix typo
598 * ControlInsets.C: make sure dialog is built before it is shown, so
599 it works properly the very first time it is shown
601 2001-08-20 Herbert Voss <voss@perce.de>
603 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
604 and styles. Added an option for "bibliography into toc"
606 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
608 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
609 LaTeX is no longer a font property.
611 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
613 * GUI.h: Button controller for Reference dialog changed to
614 NoRepeatedApplyReadOnlyPolicy.
616 * biblio.C (getInfo): output volume and number info. Move year to end
619 2001-08-09 Allan Rae <rae@lyx.org>
621 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
623 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
625 * helper_funcs.C (getVectorFromString): fixed small bug.
627 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
629 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
631 * ControlSpellchecker.C: check next word after insert in personal dict
633 2001-08-06 Juergen Vigna <jug@sad.it>
635 * ControlERT.[Ch]: new file
637 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
639 * ControlInset.h: const and non-const forms of params().
641 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
642 whitespace from either side of each item.
644 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
646 * ControlFloat.h: add a != operator for FloatParams.
647 Lars, how did you get this to compile!!!
649 * ControlMinipage.[Ch]: uncommented someone's commenting out of
650 operator != for MinipageParams. Who's changing stuff and not compiling?
652 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
657 * GUI.h: add class GUIFloat
659 * ControlFloat.[Ch]: new files
661 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
663 * ControlPrint.C: #include Lassert.h here.
665 2001-07-26 Baruch Even <baruch@lyx.org>
667 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
670 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
672 * ControlThesaurus.h:
673 * ControlThesaurus.C:
675 * Makefile.am: thesaurus support
677 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
680 * ControlInclude.C: implement ability to load file
682 2001-07-18 Juergen Vigna <jug@sad.it>
684 * ControlSearch.C (replace): changes to lyxfind.h function calls.
686 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
688 * biblio.C (getInfo): add a .c_str() to handle the usual
691 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
693 * ControlCitation.[Ch]: changes associated with adding natbib support.
694 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
695 New static variable citeStyles_.
697 * biblio.[Ch]: large internal rearrangement.
698 New public enum CiteStyle.
699 New public struct CitationStyle.
700 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
701 getNumericalStrings, getAuthorYearStrings
702 (simpleSearch, regexSearch): no longer publicly accessible.
704 * helper_funcs.C (getStringFromVector): bug fix.
706 2001-07-16 Baruch Even <baruch@lyx.org>
708 * ControlVCLog.h: Added Lsstream.h to includes.
710 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
712 * ControlSpellchecker.[Ch]: remove d-tor.
714 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
716 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
718 2001-07-16 Juergen Vigna <jug@sad.it>
720 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
721 compiled with USE_PSPELL) to be able to switch between ISpell and
724 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
726 Consistent use of Lsstream.h:
727 * ControlAboutlyx.[Ch] (getCredits):
728 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
730 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
732 * ControlCredits.[Ch]: removed
733 * ControlCopyright.[Ch]: removed
734 * ControlAboutlyx.[Ch]: added (replaces previous)
735 * GUI.h: removed credits and copyright added about lyx stuff
737 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
739 * ControlSpellchecker.C (getSuggestion):
740 (getWord): add std:: qualifier
742 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
744 * ControlSpellchecker.[Ch]: added
745 * ViewBase.h: added partialUpdate(int) member
746 * GUI.h: added spell stuff
748 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
750 * ControlExternal.C: (*it). -> it->
752 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
754 * ButtonController.h: move some included header files out of the
755 frontends and into here.
757 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
759 * ControlCharacter.C (c-tor): cosmetic name change of signal.
761 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
763 * *.[h]: added // -*- C++ -*-
764 * *.[C]: removed // -*- C++ -*-
766 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
767 activate Apply button.
768 (clearParams): removed.
769 font_ is now stored as a boost::scoped_ptr.
770 font_ is no longer deleted on hide(), so it's contents can now be used
771 by the Font button on the toolbar.
772 Lots of new methods so that the GUI can easily get the contents of
773 font_ when it update()s.
775 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
777 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
778 crash when the Font button on the Toolbar is pressed.
780 * GUI.h: change policy of Character button controller to
781 OkApplyCancelReadOnlyPolicy.
783 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
785 * ControlToc.C (getContents): don't add anything to the list if it
786 is supposed to be empty.
788 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
790 * helper_funcs.C (getVectorFromString): bug fix.
792 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
795 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
796 from ButtonControllerBase::readOnly. Updates the state of the widgets
797 in the read-only list only when the read-only status of the document
799 (refresh): moved this stuff into refreshReadOnly.
801 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
803 * ControlPrint.C (c-tor):
804 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
806 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
809 * character.h: small clean-ups.
811 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
813 * ControlToc.C (getType): remove support for old float list.
815 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
817 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
818 * ControlGraphics.h: no longer include insetgraphicsParams.h
819 * ControlInset.h: no longer include LyXView.h
824 * ControlCharacter.C:
827 * ControlConnections.C:
828 * ControlCopyright.C:
840 * ControlTabularCreate.C:
842 * ControlVCLog.C: they're now in here!
844 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
846 * ButtonControllerBase.h: C++ mode, inherit privately from
848 * ButtonPolicies.h: ditto
850 * ButtonController.h: C++ mode, swap init order of restore_ and
853 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
855 * ControlTabularCreate.h:
856 * ControlTabularCreate.C: make dialogs use a pair of uints
860 * ControlVCLog.C: fill a stringstream with the log contents
863 * ControlExternal.C: from Angus, clone the new InsetExternal
866 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
868 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
869 and made more robust.
871 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
880 * ControlCopyright.C: include gettext.h
882 * ControlCharacter.C:
883 * character.C: include gettext.h and language.h
885 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
887 * ButtonController.h:
888 * ButtonControllerBase.h:
889 * ButtonControllerBase.C:
896 * ControlConnections.h:
902 * ViewBase.h: s/ControlButton/ControlButtons/
904 s/UndoAll/Restore/ + associated
906 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
908 * ControlToc.[Ch]: new files; a controller for the TOC popup.
911 * Makefile.am: associated changes with all of the above.
913 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
915 * ControlExternal.C: bug fixes. Can now apply changes to the inset
916 and edit, view, update the External Material correctly. I hope!
918 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
920 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
922 * BCTemplates.h: renamed as ButtonController.h
924 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
927 * ControlConnections.h: associated change in #include and class names.
929 * ControlExternal.[Ch]: new files; a controller for the External
933 * Makefile.am: associated changes with all of the above.
935 * ControlGraphics.[Ch]:
936 * ControlInclude.[Ch]:
939 (Browse): new method. Returns the results of a FileDialog browse.
941 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
942 (getVectorFromString): fixed bug.
944 * biblio.C (simpleSearch): cleaned up.
946 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
948 * A slight reworking of Baruch Even's ButtonController patch.
950 * BCTemplates.h: new file; all the templates for the ButtonController.
951 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
952 to the more generic setButtonLabel().
954 * ButtonController.[Ch]: renamed cancel_label and close_label as
955 cancel_label_ and close_label_.
957 * Makefile.am: added BCTemplates.h
959 2001-03-29 Juergen Vigna <jug@sad.it>
961 * ControlMinipage.C: removed widthp_ and all it's functions and changed
962 to use new %-lengths of LyXLength.
964 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
966 * ControlCitation.C (bibkeysInfo): removed Assert.
968 * ControlCopyright.h: moved GUICopyright into GUI.h
972 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
974 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
975 (setDaughterParams): a (by default empty) new method called in show().
984 * ControlUrl.h (clearDaughterParams): removed
986 * ControlMinipage.C (applyParamsToInset): update the view.
987 Added namespace minipage containing a helper function getUnits.
989 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
991 * ControlCharacter.[Ch]: moved out all the helper functions and the
992 enum into their own file.
993 * character.[Ch]: new files; contain the character helper functions,
994 now inside namespace character.
996 * ControlCitation.[Ch]: moved out all the helper functions and the
997 enums into their own file. Simplified interface.
998 * biblio.[Ch]: new files; contain the citation helper functions,
999 now inside namespace biblio. Will be of use also to an improved
1002 * ControlGraphics.[Ch]:
1003 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1004 popups, respectively.
1007 * Makefile.am: associated changes.
1009 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1011 * ControlMinipage.[Ch]:
1012 * ControlPreamble.[Ch]:
1013 * ControlPrint.[Ch]:
1014 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1015 and Print popups and Splash screen, respectively.
1017 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1021 * Makefile.am: associated changes.
1023 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1025 * ControlConnections.[Ch]: (docType): new method; returns the type
1026 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1029 * ControlSearch.[Ch]:
1030 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1031 Search and TabularCreate popups, respectively.
1034 * Makefile.am: associated changes.
1036 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1038 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1041 * ControlInset.h (apply): fix bug. Can now create new insets again.
1043 * README: describe program flow.
1045 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1047 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1049 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1051 * ControlDialogs.h: moved class ControlInset into its own file.
1053 * ControlInset.h: new file. class ControlInset has been expanded to take
1054 two template parameters, Inset and Params. Believe that all inset
1055 controllers can be derived from this with the minimum of effort.
1057 * ControlBibitem.[Ch]:
1058 * ControlBibtex.[Ch]:
1059 * ControlCitation.[Ch]:
1060 * ControlCommand.[Ch]: moved most code into ControlInset.
1062 * lots of files. Moved protected stuff into private where possible.
1064 * ControlError.[Ch]:
1065 * ControlInclude.[Ch]:
1066 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1067 Include and Url popups, respectively.
1070 * Makefile.am: associated changes.
1072 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1074 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1077 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1079 * ControlCredits.C (getCredits): remove std:: qualifier for
1082 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1084 * ControlCredits.C (getCredits): add std:: on vector
1086 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1088 * ControlCredits.C: remove using that is only used once, use
1089 std::ios instead of std::iosbase, add some annoying comments.
1091 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1093 * lots of header files: improved explanatory notes.
1095 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1096 ControlBase is now a class that only controls the interaction of the
1097 View with the ButtonController.
1099 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1100 to ControlConnectBase. The class controls the connection/disconnection
1101 of signals from the LyX kernel and makes available the kernel (through
1102 lv_) to daughter controller classes.
1103 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1105 * ControlDialogs.h: new file. Contains the definition of two template
1106 controller classes, ControlDialog and ControlInset (was
1107 ControlConnectInset). ControlInset is a parent class for controllers
1108 of inset-popups. ControlDialogs is the rather uninspired name for
1109 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1110 ControlDialogs is reaching a state of maturity as several popups now use
1111 it and its functionality becomes clear. ControlInset is still in a state
1112 of flux. It is likely that functionality will be moved out of
1113 ControlCommands and into it.
1115 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1116 individual Controller header files and into one place. These classes
1117 serve only as convenient wrappers to simplify code in the respective
1118 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1120 * ControlCharacter.[Ch] (show, update, hide):
1121 * ControlLog.[Ch] (show, update, hide):
1122 * ControlVCLog.[Ch] (show, update, hide): moved back into
1123 the ControlDialogs base class.
1124 (setParams, clearParams): new methods containing controller-specific
1125 code to set/reset the parameters manipulated by the view.
1127 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1129 (hide): calls clearParams.
1131 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1132 by ControlCommand::hide().
1134 * ControlCopyright.[Ch]:
1135 * ControlCredits.[Ch]: new files; controllers for the copyright and
1136 credits popups, respectively.
1138 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1140 * ControlCharacter.C: fix typo
1142 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ControlCharacter.[Ch]: new files; controller for the character popup.
1146 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1147 moved to new files helper_funcs.[Ch].
1149 * helper_funcs.[Ch]: new files. Some useful helper functions and
1152 * Makefile.am: added new files.
1154 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1158 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1161 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1162 Control log files, respectively.
1164 * Makefile.am: added new files.
1166 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1170 * Makefile.am: added ControlBibtex.[Ch].
1172 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1175 * ControlCitation.C: added "using SigC::slot" declaration.
1177 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1178 to FormCitation.C prior to the merger: "Do not put space between
1181 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1183 * several files: remove CXX_WORKING_NAMESPACES
1185 * ButtonController.h: noncopyable is in namespace boost
1186 * ButtonPolicies.h: ditto
1188 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1190 * Merging changes from BRANCH_MVC back into HEAD.
1192 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1194 * Makefile.am: add ControlBibitem.[Ch].
1196 * ControlBibitem.[Ch]: new files that together define the Controller
1197 for a Bibitem popup.
1199 * ControlCommand.h (c-tor): give kb_action a default value of
1202 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1204 * ControlCitation.[Ch]: moved search functions out of class.
1205 (bibkeysInfo): new method. Returns const reference to private data.
1206 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1209 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlCitation.[Ch]: added Search functions to the class,
1212 (shamelessly lifted from Marco's gnome code). I think that these would
1213 be better as helper functions outside the class, but this is a first
1216 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1218 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1220 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1221 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1222 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1223 implementation of FormCitation.
1225 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1227 * ButtonPolicies.h: add SMI_NOOP to enum.
1229 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1231 * ButtonController.C (input): add "optimising" if-statement. Actually,
1232 things don't work correctly without it...
1234 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1236 * ViewBase.h: remove #pragma directive
1238 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1241 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1243 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1245 * Makefile.am: added ButtonPolicies.[Ch]
1247 * ButtonController.[Ch]: ButtonController is split into
1248 ButtonControllerBase and a template ButtonController class. The base
1249 class no longer stores a pointer to a ButtonPolicy, but instead
1250 accesses the actual instantiation of the policy through a pure virtual
1251 method bp(). This method and the ButtonPolicy itself are instantiated
1252 in the templatised ButtonController class. This class is derived from
1253 the GUI-specific GUIBC class, meaning that the frontends know
1254 nothing about the actual policy decided upon by the controllers.
1256 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1257 Instead the actual instantiations are accessed through pure virtual
1258 methods view() and bc(). The daughter classes are responsible for the
1259 actual View and ButtonController.
1261 * ControlCitation.h: the templatised class GUICitation instantiates
1262 the methods view() and bc(). It also stores the instances of the
1263 View and ButtonController.
1265 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1267 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1268 also changed to ButtonController.
1271 * ControlConnections.[Ch]:
1272 * ControlCommand.[Ch]:
1273 * ControlCitation.[Ch]:
1274 * ViewBase.h: Changes associated with this.
1276 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1278 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1279 xforms/ButtonController class into a GUI-I class (here) and an
1280 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1282 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1283 from which all Dialog Controllers should be derived. the Controllers
1284 are GUI-independent, but are designed to control the behaviour of
1285 GUI-specific implementaions of each dialog.
1287 * ControlConnections.[Ch]: new files. Classes controlling the
1288 connections of buffer-independent, buffer-dependent and Inset dialogs
1289 with the LyX kernel.
1291 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1292 InsetCommand subset of insets.
1294 * ControlCitation.[Ch]: new files. The test specialisation! A
1295 controller for the Citation dialog.
1297 * ViewBase.h: new file. ViewBase is an abstract base class from which
1298 GUI-specific dialogs should be derived. The functionality that the GUIs
1299 must now implement is much reduced.