1 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
3 * frnt_lang.C: fix build
5 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
7 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
8 If the the caller is the character dialog, add "No change" and "Reset"
9 to the vector, else don't.
10 Internationalise the GUI strings here rather than in the different
12 Sort the translated strings, albeit simply.
14 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
16 * character.[Ch]: rename namespace character as namespace frnt.
18 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
19 as several dialogs will use this info. The function now returns a
20 vector<LanguagePair> where LanguagePair is a display string and an
21 identifying string. The display string is internationalised.
23 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
24 the identifying strings, "No change" and "Reset".
26 * Makefile.am: add frnt_lang.[Ch].
28 2002-04-25 Herbert Voss <voss@lyx.org>
30 * ControlSendto.C (allFormats): don't add the graphics extensions to the
33 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
35 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
36 BibTeX databases in a WYSIWYM way.
38 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
40 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
41 way past his use-by date.
42 Make use of the improved info from Buffer::getBibkeyList when using
43 \bibliography. Enables us to provide natbib support in this case too.
45 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
47 * ControlGraphics.C: pass the browseFile dialog a string of only those
48 formats that can currently be loaded by LyX.
50 2002-04-15 Herbert Voss <voss@perce.de>
52 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
53 with something like ,,...blah...`` (two commas)
55 2002-04-14 Herbert Voss <voss@perce.de>
57 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
58 into the support/lstrings for better use in other programs.
60 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
61 namespace anon and make globally accessible.
62 (familyName): test for the presence of a LaTeX Space at the front of
63 of a name; strip it if it exists.
65 2002-04-11 Herbert Voss <voss@perce.de>
67 * ControlGraphics.C: expand "browse-string" to all available formats
69 2002-04-11 Herbert Voss <voss@perce.de>
71 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
73 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
75 * ControlAboutlyx.C (getVersion): two _() forgotten
77 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
81 * ControlBibtex.C: make N_() be _()
83 2002-04-07 Herbert Voss <voss@perce.de>
85 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
87 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
89 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
90 used when reading the BB.
92 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
94 * ControlGraphics.C (readBB): Don't open the ifstrem and then
95 check the format from the contents (and open a second ifstream in the
96 process. One at a time please.
98 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
100 * ControlRef.C (getBufferNum): squash warning message.
102 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
104 * ControlBibtex.C (Browse):
105 * ControlGraphics.C (Browse):
106 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
108 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
110 * ControlGraphics.C (applyParamsToInset): pass filepath to
111 InsetGraphics::updateInset.
113 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * most files: ws cleanup
117 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
119 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
122 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
125 * ControlInclude.C: better error messages
127 2002-03-11 Herbert Voss <voss@lyx.org>
129 * biblio.C (parseBibTeX): fix another minibug with an
132 2002-03-10 Herbert Voss <voss@lyx.org>
134 * biblio.C (parseBibTeX): fix bug
135 (familyName): improve parsing
137 2002-03-09 Herbert Voss <voss@lyx.org>
139 * ControlGraphics.[Ch]: adding checkFilename() for testing
140 of non-existing files
142 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
144 * ControlSendto.C (allFormats): fix a iterators are not pointers
147 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
149 * ControlShowFile.h: add a #include "LString.h"
151 2002-03-05 Herbert Voss <voss@lyx.org>
153 * biblio.C (getInfo): simplify if using paragraph layout
156 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
158 * biblio.C (getInfo): return the info field correctly if the key
160 (parseBibTeX): fix crash when data.find('=') returns string::npos.
162 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
164 * ControlForks.[Ch]: new files. A controller for the Forked Child
165 processes dialog, enabling the user to see what forked processes
166 are running, and, if he so desires, to kill them.
168 * GUI.h: add class GUIForks.
170 * Makefile.am: add ControlForks.[Ch].
172 * ControlGraphics.C (getParams): small change due to change in
175 2002-02-21 Herbert Voss <voss@lyx.org>
177 * biblio.C: fix bug with commentlines in a bibentry
179 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
181 * Makefile.am: simpler obj. file compile
183 2002-02-18 Herbert Voss <voss@lyx.org>
185 * ControlGraphics.[Ch]: remove help-file call
187 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
189 * helper_funcs.h: wrap the structs firster and seconder up in a
190 namespace to avoid clashes with those in lyxalgo,h.
192 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
193 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
195 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
197 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
200 change Systemcalls::System to Systemcalls::Wait and
201 No change of functionality, just reflects the stripped down Systemcalls
204 2002-02-06 Herbert Voss <voss@lyx.org>
206 * ControlGraphics.[C] (readBB): search also in
207 g'zipped files. If it is useful than PK and compress
208 should also be supported. use unzipFile() from
211 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
213 * ControlRef.C (getBufferName): new method to get a real buffer
216 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
218 * ControlTexInfo.[Ch]: Removed Help functions.
220 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
222 * ControlSpellchecker.C: clear any selection left
225 2002-02-01 Herbert Voss <voss@lyx.org>
227 * ControlGraphics.[C] (readBB): search only, if it is a
228 ".?ps" file and look for bb's at end of file
230 2002-01-30 Herbert Voss <voss@lyx.org>
232 * ControlGraphic.[C]: do not search the whole file, when
235 2002-01-29 Herbert Voss <voss@lyx.org>
237 * ControlGraphic.[C]: added a button for document path
238 when browsing -> bug 222
240 2002-01-27 Herbert Voss <voss@lyx.org>
242 * ControlGraphic.[Ch]: added support for Bounding Box, other
245 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
248 * ControlTexinfo.h: added #include "LString.h" where they belong.
250 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
253 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
255 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
257 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
260 2002-01-20 Herbert Voss <voss@perce.de>
262 * ControlInclude.[Ch]: better control of unexistings files
263 when entered without the browser
265 * ControlGraphic.C (Browse): add extension "ps" when browsing for
268 2002-01-19 Herbert Voss <voss@perce.de>
270 * biblio.C (getInfo): fix bug when no author is given
272 * biblio.C (parseBibTeX): change the parsing, so that
273 '#'-characters in a bibtex entry are no more a problem.
275 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
277 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
278 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
280 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
282 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
284 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
286 * ControlExternal.C (Browse): add a std:: qualifier
288 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
290 * ControlExternal.C (Browse): simplify to use browseRelFile
292 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
294 * ButtonController.tmpl: added // -*- C++ -*-
296 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
297 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
298 Needed in _one_ of the ControlCommand-derived classes only.
300 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
303 * ControlSearch.h: #include LString.h
305 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
307 * ButtonController.h: split into two. The definition remains in
308 ButtonController.h, the declaration is now in ButtonController.tmpl.
309 These template methods should be #included when the derived class is
310 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
311 and in the qt2 and gnome equivalents.
313 * ControlDialogs.h: removed. The definition of class ControlDialog is
314 now to be found in ControlDialog.h and the declaration of the methods
315 is in ControlDialog.tmpl. The two template instantiations are performed
316 in ControlDialog_impl.[Ch], new files also.
318 * ControlInset.h: split into two. The definition remains in
319 ControlInset.h, the declaration is now in ControlInset.tmpl.
320 These template methods should be #included derived class is
321 instantiated, in this case in 8 other .C files in this directory.
323 * ControlAboutlyx.[Ch]:
324 * ControlCharacter.[Ch]:
334 * ControlPreamble.[Ch]:
336 * ControlSearch.[Ch]:
337 * ControlShowFile.[Ch]:
338 * ControlSpellchecker.[Ch]:
339 * ControlTabularCreate.[Ch]:
340 * ControlTexinfo.[Ch]:
341 * ControlThesaurus.[Ch]:
342 * ControlVCLog.[Ch]: small changes associated with the above ones.
344 * GUI.h: #include the ButtonController and dialog controller files
345 here, rather than forward declare them. This is the correct place
348 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
349 Rename ControlDialogs.h as ControlDialog.h.
350 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
353 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
355 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
357 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
359 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
362 * ControlGraphics.C (Browse): remove overzealous shortcut
364 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
366 * FormMinipage.C (apply, update): MinipageParams::width renamed
367 as MinipageParams::pageWidth. InsetMinipage::width renamed
368 as InsetMinipage::pageWidth.
370 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
372 * ButtonController.h (refreshReadOnly): use explicit typename
374 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
376 * helper_funcs.h (browseFile): add default empty button descriptions.
378 * ControlGraphics.C (Browse):
379 * ControlBibtex.C (Browse):
380 * ControlInclude.C (Browse): add shortcuts to directory buttons
382 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
384 * ControlThesaurus.h:
385 * ControlThesaurus.C: update to Aiksaurus 0.14
387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlSpellchecker.C (clearParams): show the closing message
390 only if some words have been checked, thereby fixing
393 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
395 * ControlFloat.[Ch]: changes to prevent here definitely being used
398 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
400 * ControlThesaurus.h: do not include <config.h> in header files
402 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
404 * ControlToc.C: changes for floatlist
406 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
408 * ControlVCLog.C: use _()
410 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
415 2001-10-22 Juergen Vigna <jug@sad.it>
417 * ControlSpellchecker.C (clearParams): use the error_ message of the
418 speller_ if available when the spellchecker died.
419 (setParams): remove double error message display.
421 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
423 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
425 * helper_funcs.[Ch] (getLatexUnits): see above.
427 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * ControlTexinfo.C (getContents): use the right file for .sty files
431 2001-10-10 Herbert Voss <voss@perce.de>
433 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
434 and some more stuff from FormTexinfo.C
436 * ControlShowFile.C: hiding the update-button
438 2001-10-09 Herbert Voss <voss@perce.de>
440 * ControlTexinfo.[Ch]: new files. Display information about the
441 installed texfiles (cls,sty,bst).
443 * ControlShowFile.[Ch]: new files. Display the contents of a file.
445 * GUI.h: added classes GUIShowFile and GUITexinfo.
447 * Makefile.am: modified appropriately.
449 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
451 * ControlAboutlyx.C (getVersion): use lyx_version and
452 lyx_release_date instead of old macros
454 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
456 * ControlSpellchecker.C (check): Behaves well now when the spell
457 library doesn't know a replacement to an incorrect word.
459 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
461 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
462 the correct place. Can now check spelling more than once!
464 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
466 * ControlSplash.[Ch]: removed.
468 * GUI.h: remove GUISplash class.
470 * ViewBase.h: remove ViewSplash class.
472 * Makefile.am: remove ControlSplash.[Ch].
474 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
476 * ControlButtons.h: add variable emergency_exit_. If set to true, the
477 view will be shut down.
480 * ControlInset.h: act on emergency_exit_.
482 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
483 speller fails to launch.
485 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
487 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
488 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
490 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
492 * ControlRef.h (disconnectOnApply): new method. Set to true.
493 Perhaps make this user-modifiable?
495 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
497 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
500 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
502 * ControlRef.C (getBufferList, getBufferNum): New methods
504 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
506 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
507 of the dialog when the Apply button is pressed. Defaults to false,
508 but can be overridden in the daughter classes.
510 * ControlCitation.h (disconnectOnApply): new method. Set to true.
511 Perhaps make this user-modifiable?
513 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
515 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
516 we have dialogs that update their contents when the buffer changes.
517 Rather embarassing, really!
519 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
521 * ControlSearch (replace): change semantics of replace to NOT move on
522 to the next instance of a word once the present instance has been
523 replaced unless we are replacing ALL instances of the word.
525 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
527 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
529 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
531 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
532 dialog, set all options to "reset", close the dialog, re-open it ->
533 the options are set incorrectly.
535 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
536 When Applying it's useful to know whether the dialog is about to close
537 or not (no point refreshing the display for example).
539 * ControlInset.C (apply): use isClosing.
541 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
544 * ControlDialogs.h: remove bc() hack, now fixed in
545 Qt2 frontend. use member dialog_built_ instead of shared
548 * ButtonController.h:
549 * ButtonPolicies.C: more debug info
551 * ButtonControllerBase.C: call refresh() when setting readOnly !
553 * GUI.h: External form has apply, use the right policy
555 * character.C: fix two off-by-one errors when latex font was removed
557 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
559 * ControlInset.h (apply): tentative fix for the press Apply multiple
560 times and get multiple new Insets problem.
562 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
564 * ControlCharacter.C: fix typo
568 * ControlInsets.C: make sure dialog is built before it is shown, so
569 it works properly the very first time it is shown
571 2001-08-20 Herbert Voss <voss@perce.de>
573 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
574 and styles. Added an option for "bibliography into toc"
576 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
578 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
579 LaTeX is no longer a font property.
581 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
583 * GUI.h: Button controller for Reference dialog changed to
584 NoRepeatedApplyReadOnlyPolicy.
586 * biblio.C (getInfo): output volume and number info. Move year to end
589 2001-08-09 Allan Rae <rae@lyx.org>
591 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
593 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
595 * helper_funcs.C (getVectorFromString): fixed small bug.
597 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
599 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
601 * ControlSpellchecker.C: check next word after insert in personal dict
603 2001-08-06 Juergen Vigna <jug@sad.it>
605 * ControlERT.[Ch]: new file
607 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
609 * ControlInset.h: const and non-const forms of params().
611 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
612 whitespace from either side of each item.
614 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
616 * ControlFloat.h: add a != operator for FloatParams.
617 Lars, how did you get this to compile!!!
619 * ControlMinipage.[Ch]: uncommented someone's commenting out of
620 operator != for MinipageParams. Who's changing stuff and not compiling?
622 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
627 * GUI.h: add class GUIFloat
629 * ControlFloat.[Ch]: new files
631 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
633 * ControlPrint.C: #include Lassert.h here.
635 2001-07-26 Baruch Even <baruch@lyx.org>
637 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
640 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
642 * ControlThesaurus.h:
643 * ControlThesaurus.C:
645 * Makefile.am: thesaurus support
647 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
650 * ControlInclude.C: implement ability to load file
652 2001-07-18 Juergen Vigna <jug@sad.it>
654 * ControlSearch.C (replace): changes to lyxfind.h function calls.
656 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
658 * biblio.C (getInfo): add a .c_str() to handle the usual
661 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
663 * ControlCitation.[Ch]: changes associated with adding natbib support.
664 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
665 New static variable citeStyles_.
667 * biblio.[Ch]: large internal rearrangement.
668 New public enum CiteStyle.
669 New public struct CitationStyle.
670 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
671 getNumericalStrings, getAuthorYearStrings
672 (simpleSearch, regexSearch): no longer publicly accessible.
674 * helper_funcs.C (getStringFromVector): bug fix.
676 2001-07-16 Baruch Even <baruch@lyx.org>
678 * ControlVCLog.h: Added Lsstream.h to includes.
680 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
682 * ControlSpellchecker.[Ch]: remove d-tor.
684 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
686 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
688 2001-07-16 Juergen Vigna <jug@sad.it>
690 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
691 compiled with USE_PSPELL) to be able to switch between ISpell and
694 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
696 Consistent use of Lsstream.h:
697 * ControlAboutlyx.[Ch] (getCredits):
698 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
700 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
702 * ControlCredits.[Ch]: removed
703 * ControlCopyright.[Ch]: removed
704 * ControlAboutlyx.[Ch]: added (replaces previous)
705 * GUI.h: removed credits and copyright added about lyx stuff
707 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
709 * ControlSpellchecker.C (getSuggestion):
710 (getWord): add std:: qualifier
712 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
714 * ControlSpellchecker.[Ch]: added
715 * ViewBase.h: added partialUpdate(int) member
716 * GUI.h: added spell stuff
718 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
720 * ControlExternal.C: (*it). -> it->
722 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
724 * ButtonController.h: move some included header files out of the
725 frontends and into here.
727 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
729 * ControlCharacter.C (c-tor): cosmetic name change of signal.
731 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
733 * *.[h]: added // -*- C++ -*-
734 * *.[C]: removed // -*- C++ -*-
736 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
737 activate Apply button.
738 (clearParams): removed.
739 font_ is now stored as a boost::scoped_ptr.
740 font_ is no longer deleted on hide(), so it's contents can now be used
741 by the Font button on the toolbar.
742 Lots of new methods so that the GUI can easily get the contents of
743 font_ when it update()s.
745 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
748 crash when the Font button on the Toolbar is pressed.
750 * GUI.h: change policy of Character button controller to
751 OkApplyCancelReadOnlyPolicy.
753 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
755 * ControlToc.C (getContents): don't add anything to the list if it
756 is supposed to be empty.
758 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
760 * helper_funcs.C (getVectorFromString): bug fix.
762 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
765 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
766 from ButtonControllerBase::readOnly. Updates the state of the widgets
767 in the read-only list only when the read-only status of the document
769 (refresh): moved this stuff into refreshReadOnly.
771 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
773 * ControlPrint.C (c-tor):
774 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
776 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
779 * character.h: small clean-ups.
781 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
783 * ControlToc.C (getType): remove support for old float list.
785 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
787 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
788 * ControlGraphics.h: no longer include insetgraphicsParams.h
789 * ControlInset.h: no longer include LyXView.h
794 * ControlCharacter.C:
797 * ControlConnections.C:
798 * ControlCopyright.C:
810 * ControlTabularCreate.C:
812 * ControlVCLog.C: they're now in here!
814 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
816 * ButtonControllerBase.h: C++ mode, inherit privately from
818 * ButtonPolicies.h: ditto
820 * ButtonController.h: C++ mode, swap init order of restore_ and
823 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
825 * ControlTabularCreate.h:
826 * ControlTabularCreate.C: make dialogs use a pair of uints
830 * ControlVCLog.C: fill a stringstream with the log contents
833 * ControlExternal.C: from Angus, clone the new InsetExternal
836 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
838 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
839 and made more robust.
841 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
850 * ControlCopyright.C: include gettext.h
852 * ControlCharacter.C:
853 * character.C: include gettext.h and language.h
855 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
857 * ButtonController.h:
858 * ButtonControllerBase.h:
859 * ButtonControllerBase.C:
866 * ControlConnections.h:
872 * ViewBase.h: s/ControlButton/ControlButtons/
874 s/UndoAll/Restore/ + associated
876 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
878 * ControlToc.[Ch]: new files; a controller for the TOC popup.
881 * Makefile.am: associated changes with all of the above.
883 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
885 * ControlExternal.C: bug fixes. Can now apply changes to the inset
886 and edit, view, update the External Material correctly. I hope!
888 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
890 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
892 * BCTemplates.h: renamed as ButtonController.h
894 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
897 * ControlConnections.h: associated change in #include and class names.
899 * ControlExternal.[Ch]: new files; a controller for the External
903 * Makefile.am: associated changes with all of the above.
905 * ControlGraphics.[Ch]:
906 * ControlInclude.[Ch]:
909 (Browse): new method. Returns the results of a FileDialog browse.
911 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
912 (getVectorFromString): fixed bug.
914 * biblio.C (simpleSearch): cleaned up.
916 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
918 * A slight reworking of Baruch Even's ButtonController patch.
920 * BCTemplates.h: new file; all the templates for the ButtonController.
921 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
922 to the more generic setButtonLabel().
924 * ButtonController.[Ch]: renamed cancel_label and close_label as
925 cancel_label_ and close_label_.
927 * Makefile.am: added BCTemplates.h
929 2001-03-29 Juergen Vigna <jug@sad.it>
931 * ControlMinipage.C: removed widthp_ and all it's functions and changed
932 to use new %-lengths of LyXLength.
934 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
936 * ControlCitation.C (bibkeysInfo): removed Assert.
938 * ControlCopyright.h: moved GUICopyright into GUI.h
942 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
945 (setDaughterParams): a (by default empty) new method called in show().
954 * ControlUrl.h (clearDaughterParams): removed
956 * ControlMinipage.C (applyParamsToInset): update the view.
957 Added namespace minipage containing a helper function getUnits.
959 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
961 * ControlCharacter.[Ch]: moved out all the helper functions and the
962 enum into their own file.
963 * character.[Ch]: new files; contain the character helper functions,
964 now inside namespace character.
966 * ControlCitation.[Ch]: moved out all the helper functions and the
967 enums into their own file. Simplified interface.
968 * biblio.[Ch]: new files; contain the citation helper functions,
969 now inside namespace biblio. Will be of use also to an improved
972 * ControlGraphics.[Ch]:
973 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
974 popups, respectively.
977 * Makefile.am: associated changes.
979 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
981 * ControlMinipage.[Ch]:
982 * ControlPreamble.[Ch]:
984 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
985 and Print popups and Splash screen, respectively.
987 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
991 * Makefile.am: associated changes.
993 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
995 * ControlConnections.[Ch]: (docType): new method; returns the type
996 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
999 * ControlSearch.[Ch]:
1000 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1001 Search and TabularCreate popups, respectively.
1004 * Makefile.am: associated changes.
1006 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1008 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1011 * ControlInset.h (apply): fix bug. Can now create new insets again.
1013 * README: describe program flow.
1015 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1017 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1019 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1021 * ControlDialogs.h: moved class ControlInset into its own file.
1023 * ControlInset.h: new file. class ControlInset has been expanded to take
1024 two template parameters, Inset and Params. Believe that all inset
1025 controllers can be derived from this with the minimum of effort.
1027 * ControlBibitem.[Ch]:
1028 * ControlBibtex.[Ch]:
1029 * ControlCitation.[Ch]:
1030 * ControlCommand.[Ch]: moved most code into ControlInset.
1032 * lots of files. Moved protected stuff into private where possible.
1034 * ControlError.[Ch]:
1035 * ControlInclude.[Ch]:
1036 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1037 Include and Url popups, respectively.
1040 * Makefile.am: associated changes.
1042 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1044 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1047 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1049 * ControlCredits.C (getCredits): remove std:: qualifier for
1052 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1054 * ControlCredits.C (getCredits): add std:: on vector
1056 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1058 * ControlCredits.C: remove using that is only used once, use
1059 std::ios instead of std::iosbase, add some annoying comments.
1061 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1063 * lots of header files: improved explanatory notes.
1065 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1066 ControlBase is now a class that only controls the interaction of the
1067 View with the ButtonController.
1069 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1070 to ControlConnectBase. The class controls the connection/disconnection
1071 of signals from the LyX kernel and makes available the kernel (through
1072 lv_) to daughter controller classes.
1073 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1075 * ControlDialogs.h: new file. Contains the definition of two template
1076 controller classes, ControlDialog and ControlInset (was
1077 ControlConnectInset). ControlInset is a parent class for controllers
1078 of inset-popups. ControlDialogs is the rather uninspired name for
1079 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1080 ControlDialogs is reaching a state of maturity as several popups now use
1081 it and its functionality becomes clear. ControlInset is still in a state
1082 of flux. It is likely that functionality will be moved out of
1083 ControlCommands and into it.
1085 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1086 individual Controller header files and into one place. These classes
1087 serve only as convenient wrappers to simplify code in the respective
1088 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1090 * ControlCharacter.[Ch] (show, update, hide):
1091 * ControlLog.[Ch] (show, update, hide):
1092 * ControlVCLog.[Ch] (show, update, hide): moved back into
1093 the ControlDialogs base class.
1094 (setParams, clearParams): new methods containing controller-specific
1095 code to set/reset the parameters manipulated by the view.
1097 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1099 (hide): calls clearParams.
1101 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1102 by ControlCommand::hide().
1104 * ControlCopyright.[Ch]:
1105 * ControlCredits.[Ch]: new files; controllers for the copyright and
1106 credits popups, respectively.
1108 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1110 * ControlCharacter.C: fix typo
1112 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1114 * ControlCharacter.[Ch]: new files; controller for the character popup.
1116 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1117 moved to new files helper_funcs.[Ch].
1119 * helper_funcs.[Ch]: new files. Some useful helper functions and
1122 * Makefile.am: added new files.
1124 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1126 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1128 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1131 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1132 Control log files, respectively.
1134 * Makefile.am: added new files.
1136 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1138 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1140 * Makefile.am: added ControlBibtex.[Ch].
1142 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1145 * ControlCitation.C: added "using SigC::slot" declaration.
1147 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1148 to FormCitation.C prior to the merger: "Do not put space between
1151 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1153 * several files: remove CXX_WORKING_NAMESPACES
1155 * ButtonController.h: noncopyable is in namespace boost
1156 * ButtonPolicies.h: ditto
1158 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1160 * Merging changes from BRANCH_MVC back into HEAD.
1162 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1164 * Makefile.am: add ControlBibitem.[Ch].
1166 * ControlBibitem.[Ch]: new files that together define the Controller
1167 for a Bibitem popup.
1169 * ControlCommand.h (c-tor): give kb_action a default value of
1172 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1174 * ControlCitation.[Ch]: moved search functions out of class.
1175 (bibkeysInfo): new method. Returns const reference to private data.
1176 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1179 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1181 * ControlCitation.[Ch]: added Search functions to the class,
1182 (shamelessly lifted from Marco's gnome code). I think that these would
1183 be better as helper functions outside the class, but this is a first
1186 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1188 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1190 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1191 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1192 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1193 implementation of FormCitation.
1195 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1197 * ButtonPolicies.h: add SMI_NOOP to enum.
1199 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1201 * ButtonController.C (input): add "optimising" if-statement. Actually,
1202 things don't work correctly without it...
1204 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1206 * ViewBase.h: remove #pragma directive
1208 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1211 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1213 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1215 * Makefile.am: added ButtonPolicies.[Ch]
1217 * ButtonController.[Ch]: ButtonController is split into
1218 ButtonControllerBase and a template ButtonController class. The base
1219 class no longer stores a pointer to a ButtonPolicy, but instead
1220 accesses the actual instantiation of the policy through a pure virtual
1221 method bp(). This method and the ButtonPolicy itself are instantiated
1222 in the templatised ButtonController class. This class is derived from
1223 the GUI-specific GUIBC class, meaning that the frontends know
1224 nothing about the actual policy decided upon by the controllers.
1226 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1227 Instead the actual instantiations are accessed through pure virtual
1228 methods view() and bc(). The daughter classes are responsible for the
1229 actual View and ButtonController.
1231 * ControlCitation.h: the templatised class GUICitation instantiates
1232 the methods view() and bc(). It also stores the instances of the
1233 View and ButtonController.
1235 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1237 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1238 also changed to ButtonController.
1241 * ControlConnections.[Ch]:
1242 * ControlCommand.[Ch]:
1243 * ControlCitation.[Ch]:
1244 * ViewBase.h: Changes associated with this.
1246 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1248 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1249 xforms/ButtonController class into a GUI-I class (here) and an
1250 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1252 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1253 from which all Dialog Controllers should be derived. the Controllers
1254 are GUI-independent, but are designed to control the behaviour of
1255 GUI-specific implementaions of each dialog.
1257 * ControlConnections.[Ch]: new files. Classes controlling the
1258 connections of buffer-independent, buffer-dependent and Inset dialogs
1259 with the LyX kernel.
1261 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1262 InsetCommand subset of insets.
1264 * ControlCitation.[Ch]: new files. The test specialisation! A
1265 controller for the Citation dialog.
1267 * ViewBase.h: new file. ViewBase is an abstract base class from which
1268 GUI-specific dialogs should be derived. The functionality that the GUIs
1269 must now implement is much reduced.