1 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
3 * character.[Ch] (getLanguageData): returns a vector<LanguagePair>
4 where LanguagePair is a display string and an identifying string.
5 The display string is internationalised.
7 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
8 the identifying strings, "No change" and "Reset".
10 2002-04-25 Herbert Voss <voss@lyx.org>
12 * ControlSendto.C (allFormats): don't add the graphics extensions to the
15 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
17 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
18 BibTeX databases in a WYSIWYM way.
20 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
22 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
23 way past his use-by date.
24 Make use of the improved info from Buffer::getBibkeyList when using
25 \bibliography. Enables us to provide natbib support in this case too.
27 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
29 * ControlGraphics.C: pass the browseFile dialog a string of only those
30 formats that can currently be loaded by LyX.
32 2002-04-15 Herbert Voss <voss@perce.de>
34 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
35 with something like ,,...blah...`` (two commas)
37 2002-04-14 Herbert Voss <voss@perce.de>
39 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
40 into the support/lstrings for better use in other programs.
42 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
43 namespace anon and make globally accessible.
44 (familyName): test for the presence of a LaTeX Space at the front of
45 of a name; strip it if it exists.
47 2002-04-11 Herbert Voss <voss@perce.de>
49 * ControlGraphics.C: expand "browse-string" to all available formats
51 2002-04-11 Herbert Voss <voss@perce.de>
53 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
55 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
57 * ControlAboutlyx.C (getVersion): two _() forgotten
59 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
63 * ControlBibtex.C: make N_() be _()
65 2002-04-07 Herbert Voss <voss@perce.de>
67 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
69 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
71 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
72 used when reading the BB.
74 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlGraphics.C (readBB): Don't open the ifstrem and then
77 check the format from the contents (and open a second ifstream in the
78 process. One at a time please.
80 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
82 * ControlRef.C (getBufferNum): squash warning message.
84 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
86 * ControlBibtex.C (Browse):
87 * ControlGraphics.C (Browse):
88 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
90 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
92 * ControlGraphics.C (applyParamsToInset): pass filepath to
93 InsetGraphics::updateInset.
95 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
97 * most files: ws cleanup
99 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
101 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
104 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
107 * ControlInclude.C: better error messages
109 2002-03-11 Herbert Voss <voss@lyx.org>
111 * biblio.C (parseBibTeX): fix another minibug with an
114 2002-03-10 Herbert Voss <voss@lyx.org>
116 * biblio.C (parseBibTeX): fix bug
117 (familyName): improve parsing
119 2002-03-09 Herbert Voss <voss@lyx.org>
121 * ControlGraphics.[Ch]: adding checkFilename() for testing
122 of non-existing files
124 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * ControlSendto.C (allFormats): fix a iterators are not pointers
129 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
131 * ControlShowFile.h: add a #include "LString.h"
133 2002-03-05 Herbert Voss <voss@lyx.org>
135 * biblio.C (getInfo): simplify if using paragraph layout
138 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
140 * biblio.C (getInfo): return the info field correctly if the key
142 (parseBibTeX): fix crash when data.find('=') returns string::npos.
144 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
146 * ControlForks.[Ch]: new files. A controller for the Forked Child
147 processes dialog, enabling the user to see what forked processes
148 are running, and, if he so desires, to kill them.
150 * GUI.h: add class GUIForks.
152 * Makefile.am: add ControlForks.[Ch].
154 * ControlGraphics.C (getParams): small change due to change in
157 2002-02-21 Herbert Voss <voss@lyx.org>
159 * biblio.C: fix bug with commentlines in a bibentry
161 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
163 * Makefile.am: simpler obj. file compile
165 2002-02-18 Herbert Voss <voss@lyx.org>
167 * ControlGraphics.[Ch]: remove help-file call
169 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
171 * helper_funcs.h: wrap the structs firster and seconder up in a
172 namespace to avoid clashes with those in lyxalgo,h.
174 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
175 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
177 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
179 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
182 change Systemcalls::System to Systemcalls::Wait and
183 No change of functionality, just reflects the stripped down Systemcalls
186 2002-02-06 Herbert Voss <voss@lyx.org>
188 * ControlGraphics.[C] (readBB): search also in
189 g'zipped files. If it is useful than PK and compress
190 should also be supported. use unzipFile() from
193 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
195 * ControlRef.C (getBufferName): new method to get a real buffer
198 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
200 * ControlTexInfo.[Ch]: Removed Help functions.
202 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
204 * ControlSpellchecker.C: clear any selection left
207 2002-02-01 Herbert Voss <voss@lyx.org>
209 * ControlGraphics.[C] (readBB): search only, if it is a
210 ".?ps" file and look for bb's at end of file
212 2002-01-30 Herbert Voss <voss@lyx.org>
214 * ControlGraphic.[C]: do not search the whole file, when
217 2002-01-29 Herbert Voss <voss@lyx.org>
219 * ControlGraphic.[C]: added a button for document path
220 when browsing -> bug 222
222 2002-01-27 Herbert Voss <voss@lyx.org>
224 * ControlGraphic.[Ch]: added support for Bounding Box, other
227 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
230 * ControlTexinfo.h: added #include "LString.h" where they belong.
232 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
235 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
237 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
239 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
242 2002-01-20 Herbert Voss <voss@perce.de>
244 * ControlInclude.[Ch]: better control of unexistings files
245 when entered without the browser
247 * ControlGraphic.C (Browse): add extension "ps" when browsing for
250 2002-01-19 Herbert Voss <voss@perce.de>
252 * biblio.C (getInfo): fix bug when no author is given
254 * biblio.C (parseBibTeX): change the parsing, so that
255 '#'-characters in a bibtex entry are no more a problem.
257 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
259 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
260 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
262 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
264 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
266 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
268 * ControlExternal.C (Browse): add a std:: qualifier
270 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
272 * ControlExternal.C (Browse): simplify to use browseRelFile
274 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
276 * ButtonController.tmpl: added // -*- C++ -*-
278 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
279 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
280 Needed in _one_ of the ControlCommand-derived classes only.
282 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
285 * ControlSearch.h: #include LString.h
287 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
289 * ButtonController.h: split into two. The definition remains in
290 ButtonController.h, the declaration is now in ButtonController.tmpl.
291 These template methods should be #included when the derived class is
292 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
293 and in the qt2 and gnome equivalents.
295 * ControlDialogs.h: removed. The definition of class ControlDialog is
296 now to be found in ControlDialog.h and the declaration of the methods
297 is in ControlDialog.tmpl. The two template instantiations are performed
298 in ControlDialog_impl.[Ch], new files also.
300 * ControlInset.h: split into two. The definition remains in
301 ControlInset.h, the declaration is now in ControlInset.tmpl.
302 These template methods should be #included derived class is
303 instantiated, in this case in 8 other .C files in this directory.
305 * ControlAboutlyx.[Ch]:
306 * ControlCharacter.[Ch]:
316 * ControlPreamble.[Ch]:
318 * ControlSearch.[Ch]:
319 * ControlShowFile.[Ch]:
320 * ControlSpellchecker.[Ch]:
321 * ControlTabularCreate.[Ch]:
322 * ControlTexinfo.[Ch]:
323 * ControlThesaurus.[Ch]:
324 * ControlVCLog.[Ch]: small changes associated with the above ones.
326 * GUI.h: #include the ButtonController and dialog controller files
327 here, rather than forward declare them. This is the correct place
330 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
331 Rename ControlDialogs.h as ControlDialog.h.
332 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
335 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
337 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
339 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
341 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
344 * ControlGraphics.C (Browse): remove overzealous shortcut
346 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
348 * FormMinipage.C (apply, update): MinipageParams::width renamed
349 as MinipageParams::pageWidth. InsetMinipage::width renamed
350 as InsetMinipage::pageWidth.
352 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
354 * ButtonController.h (refreshReadOnly): use explicit typename
356 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
358 * helper_funcs.h (browseFile): add default empty button descriptions.
360 * ControlGraphics.C (Browse):
361 * ControlBibtex.C (Browse):
362 * ControlInclude.C (Browse): add shortcuts to directory buttons
364 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
366 * ControlThesaurus.h:
367 * ControlThesaurus.C: update to Aiksaurus 0.14
369 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
371 * ControlSpellchecker.C (clearParams): show the closing message
372 only if some words have been checked, thereby fixing
375 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
377 * ControlFloat.[Ch]: changes to prevent here definitely being used
380 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
382 * ControlThesaurus.h: do not include <config.h> in header files
384 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
386 * ControlToc.C: changes for floatlist
388 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
390 * ControlVCLog.C: use _()
392 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
394 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
397 2001-10-22 Juergen Vigna <jug@sad.it>
399 * ControlSpellchecker.C (clearParams): use the error_ message of the
400 speller_ if available when the spellchecker died.
401 (setParams): remove double error message display.
403 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
405 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
407 * helper_funcs.[Ch] (getLatexUnits): see above.
409 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * ControlTexinfo.C (getContents): use the right file for .sty files
413 2001-10-10 Herbert Voss <voss@perce.de>
415 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
416 and some more stuff from FormTexinfo.C
418 * ControlShowFile.C: hiding the update-button
420 2001-10-09 Herbert Voss <voss@perce.de>
422 * ControlTexinfo.[Ch]: new files. Display information about the
423 installed texfiles (cls,sty,bst).
425 * ControlShowFile.[Ch]: new files. Display the contents of a file.
427 * GUI.h: added classes GUIShowFile and GUITexinfo.
429 * Makefile.am: modified appropriately.
431 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * ControlAboutlyx.C (getVersion): use lyx_version and
434 lyx_release_date instead of old macros
436 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlSpellchecker.C (check): Behaves well now when the spell
439 library doesn't know a replacement to an incorrect word.
441 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
444 the correct place. Can now check spelling more than once!
446 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlSplash.[Ch]: removed.
450 * GUI.h: remove GUISplash class.
452 * ViewBase.h: remove ViewSplash class.
454 * Makefile.am: remove ControlSplash.[Ch].
456 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
458 * ControlButtons.h: add variable emergency_exit_. If set to true, the
459 view will be shut down.
462 * ControlInset.h: act on emergency_exit_.
464 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
465 speller fails to launch.
467 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
470 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
472 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlRef.h (disconnectOnApply): new method. Set to true.
475 Perhaps make this user-modifiable?
477 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
479 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
482 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
484 * ControlRef.C (getBufferList, getBufferNum): New methods
486 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
489 of the dialog when the Apply button is pressed. Defaults to false,
490 but can be overridden in the daughter classes.
492 * ControlCitation.h (disconnectOnApply): new method. Set to true.
493 Perhaps make this user-modifiable?
495 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
498 we have dialogs that update their contents when the buffer changes.
499 Rather embarassing, really!
501 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
503 * ControlSearch (replace): change semantics of replace to NOT move on
504 to the next instance of a word once the present instance has been
505 replaced unless we are replacing ALL instances of the word.
507 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
509 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
511 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
513 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
514 dialog, set all options to "reset", close the dialog, re-open it ->
515 the options are set incorrectly.
517 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
518 When Applying it's useful to know whether the dialog is about to close
519 or not (no point refreshing the display for example).
521 * ControlInset.C (apply): use isClosing.
523 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
526 * ControlDialogs.h: remove bc() hack, now fixed in
527 Qt2 frontend. use member dialog_built_ instead of shared
530 * ButtonController.h:
531 * ButtonPolicies.C: more debug info
533 * ButtonControllerBase.C: call refresh() when setting readOnly !
535 * GUI.h: External form has apply, use the right policy
537 * character.C: fix two off-by-one errors when latex font was removed
539 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
541 * ControlInset.h (apply): tentative fix for the press Apply multiple
542 times and get multiple new Insets problem.
544 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
546 * ControlCharacter.C: fix typo
550 * ControlInsets.C: make sure dialog is built before it is shown, so
551 it works properly the very first time it is shown
553 2001-08-20 Herbert Voss <voss@perce.de>
555 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
556 and styles. Added an option for "bibliography into toc"
558 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
560 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
561 LaTeX is no longer a font property.
563 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
565 * GUI.h: Button controller for Reference dialog changed to
566 NoRepeatedApplyReadOnlyPolicy.
568 * biblio.C (getInfo): output volume and number info. Move year to end
571 2001-08-09 Allan Rae <rae@lyx.org>
573 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
575 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
577 * helper_funcs.C (getVectorFromString): fixed small bug.
579 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
581 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
583 * ControlSpellchecker.C: check next word after insert in personal dict
585 2001-08-06 Juergen Vigna <jug@sad.it>
587 * ControlERT.[Ch]: new file
589 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
591 * ControlInset.h: const and non-const forms of params().
593 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
594 whitespace from either side of each item.
596 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlFloat.h: add a != operator for FloatParams.
599 Lars, how did you get this to compile!!!
601 * ControlMinipage.[Ch]: uncommented someone's commenting out of
602 operator != for MinipageParams. Who's changing stuff and not compiling?
604 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
609 * GUI.h: add class GUIFloat
611 * ControlFloat.[Ch]: new files
613 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
615 * ControlPrint.C: #include Lassert.h here.
617 2001-07-26 Baruch Even <baruch@lyx.org>
619 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
622 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
624 * ControlThesaurus.h:
625 * ControlThesaurus.C:
627 * Makefile.am: thesaurus support
629 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
632 * ControlInclude.C: implement ability to load file
634 2001-07-18 Juergen Vigna <jug@sad.it>
636 * ControlSearch.C (replace): changes to lyxfind.h function calls.
638 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
640 * biblio.C (getInfo): add a .c_str() to handle the usual
643 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlCitation.[Ch]: changes associated with adding natbib support.
646 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
647 New static variable citeStyles_.
649 * biblio.[Ch]: large internal rearrangement.
650 New public enum CiteStyle.
651 New public struct CitationStyle.
652 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
653 getNumericalStrings, getAuthorYearStrings
654 (simpleSearch, regexSearch): no longer publicly accessible.
656 * helper_funcs.C (getStringFromVector): bug fix.
658 2001-07-16 Baruch Even <baruch@lyx.org>
660 * ControlVCLog.h: Added Lsstream.h to includes.
662 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
664 * ControlSpellchecker.[Ch]: remove d-tor.
666 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
668 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
670 2001-07-16 Juergen Vigna <jug@sad.it>
672 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
673 compiled with USE_PSPELL) to be able to switch between ISpell and
676 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
678 Consistent use of Lsstream.h:
679 * ControlAboutlyx.[Ch] (getCredits):
680 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
682 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
684 * ControlCredits.[Ch]: removed
685 * ControlCopyright.[Ch]: removed
686 * ControlAboutlyx.[Ch]: added (replaces previous)
687 * GUI.h: removed credits and copyright added about lyx stuff
689 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
691 * ControlSpellchecker.C (getSuggestion):
692 (getWord): add std:: qualifier
694 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
696 * ControlSpellchecker.[Ch]: added
697 * ViewBase.h: added partialUpdate(int) member
698 * GUI.h: added spell stuff
700 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
702 * ControlExternal.C: (*it). -> it->
704 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
706 * ButtonController.h: move some included header files out of the
707 frontends and into here.
709 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
711 * ControlCharacter.C (c-tor): cosmetic name change of signal.
713 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
715 * *.[h]: added // -*- C++ -*-
716 * *.[C]: removed // -*- C++ -*-
718 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
719 activate Apply button.
720 (clearParams): removed.
721 font_ is now stored as a boost::scoped_ptr.
722 font_ is no longer deleted on hide(), so it's contents can now be used
723 by the Font button on the toolbar.
724 Lots of new methods so that the GUI can easily get the contents of
725 font_ when it update()s.
727 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
729 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
730 crash when the Font button on the Toolbar is pressed.
732 * GUI.h: change policy of Character button controller to
733 OkApplyCancelReadOnlyPolicy.
735 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
737 * ControlToc.C (getContents): don't add anything to the list if it
738 is supposed to be empty.
740 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
742 * helper_funcs.C (getVectorFromString): bug fix.
744 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
747 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
748 from ButtonControllerBase::readOnly. Updates the state of the widgets
749 in the read-only list only when the read-only status of the document
751 (refresh): moved this stuff into refreshReadOnly.
753 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
755 * ControlPrint.C (c-tor):
756 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
758 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
761 * character.h: small clean-ups.
763 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
765 * ControlToc.C (getType): remove support for old float list.
767 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
770 * ControlGraphics.h: no longer include insetgraphicsParams.h
771 * ControlInset.h: no longer include LyXView.h
776 * ControlCharacter.C:
779 * ControlConnections.C:
780 * ControlCopyright.C:
792 * ControlTabularCreate.C:
794 * ControlVCLog.C: they're now in here!
796 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
798 * ButtonControllerBase.h: C++ mode, inherit privately from
800 * ButtonPolicies.h: ditto
802 * ButtonController.h: C++ mode, swap init order of restore_ and
805 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
807 * ControlTabularCreate.h:
808 * ControlTabularCreate.C: make dialogs use a pair of uints
812 * ControlVCLog.C: fill a stringstream with the log contents
815 * ControlExternal.C: from Angus, clone the new InsetExternal
818 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
820 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
821 and made more robust.
823 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
832 * ControlCopyright.C: include gettext.h
834 * ControlCharacter.C:
835 * character.C: include gettext.h and language.h
837 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
839 * ButtonController.h:
840 * ButtonControllerBase.h:
841 * ButtonControllerBase.C:
848 * ControlConnections.h:
854 * ViewBase.h: s/ControlButton/ControlButtons/
856 s/UndoAll/Restore/ + associated
858 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
860 * ControlToc.[Ch]: new files; a controller for the TOC popup.
863 * Makefile.am: associated changes with all of the above.
865 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlExternal.C: bug fixes. Can now apply changes to the inset
868 and edit, view, update the External Material correctly. I hope!
870 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
872 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
874 * BCTemplates.h: renamed as ButtonController.h
876 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
879 * ControlConnections.h: associated change in #include and class names.
881 * ControlExternal.[Ch]: new files; a controller for the External
885 * Makefile.am: associated changes with all of the above.
887 * ControlGraphics.[Ch]:
888 * ControlInclude.[Ch]:
891 (Browse): new method. Returns the results of a FileDialog browse.
893 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
894 (getVectorFromString): fixed bug.
896 * biblio.C (simpleSearch): cleaned up.
898 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
900 * A slight reworking of Baruch Even's ButtonController patch.
902 * BCTemplates.h: new file; all the templates for the ButtonController.
903 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
904 to the more generic setButtonLabel().
906 * ButtonController.[Ch]: renamed cancel_label and close_label as
907 cancel_label_ and close_label_.
909 * Makefile.am: added BCTemplates.h
911 2001-03-29 Juergen Vigna <jug@sad.it>
913 * ControlMinipage.C: removed widthp_ and all it's functions and changed
914 to use new %-lengths of LyXLength.
916 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
918 * ControlCitation.C (bibkeysInfo): removed Assert.
920 * ControlCopyright.h: moved GUICopyright into GUI.h
924 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
926 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
927 (setDaughterParams): a (by default empty) new method called in show().
936 * ControlUrl.h (clearDaughterParams): removed
938 * ControlMinipage.C (applyParamsToInset): update the view.
939 Added namespace minipage containing a helper function getUnits.
941 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
943 * ControlCharacter.[Ch]: moved out all the helper functions and the
944 enum into their own file.
945 * character.[Ch]: new files; contain the character helper functions,
946 now inside namespace character.
948 * ControlCitation.[Ch]: moved out all the helper functions and the
949 enums into their own file. Simplified interface.
950 * biblio.[Ch]: new files; contain the citation helper functions,
951 now inside namespace biblio. Will be of use also to an improved
954 * ControlGraphics.[Ch]:
955 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
956 popups, respectively.
959 * Makefile.am: associated changes.
961 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
963 * ControlMinipage.[Ch]:
964 * ControlPreamble.[Ch]:
966 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
967 and Print popups and Splash screen, respectively.
969 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
973 * Makefile.am: associated changes.
975 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
977 * ControlConnections.[Ch]: (docType): new method; returns the type
978 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
981 * ControlSearch.[Ch]:
982 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
983 Search and TabularCreate popups, respectively.
986 * Makefile.am: associated changes.
988 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
990 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
993 * ControlInset.h (apply): fix bug. Can now create new insets again.
995 * README: describe program flow.
997 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
999 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1001 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ControlDialogs.h: moved class ControlInset into its own file.
1005 * ControlInset.h: new file. class ControlInset has been expanded to take
1006 two template parameters, Inset and Params. Believe that all inset
1007 controllers can be derived from this with the minimum of effort.
1009 * ControlBibitem.[Ch]:
1010 * ControlBibtex.[Ch]:
1011 * ControlCitation.[Ch]:
1012 * ControlCommand.[Ch]: moved most code into ControlInset.
1014 * lots of files. Moved protected stuff into private where possible.
1016 * ControlError.[Ch]:
1017 * ControlInclude.[Ch]:
1018 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1019 Include and Url popups, respectively.
1022 * Makefile.am: associated changes.
1024 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1029 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1031 * ControlCredits.C (getCredits): remove std:: qualifier for
1034 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1036 * ControlCredits.C (getCredits): add std:: on vector
1038 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1040 * ControlCredits.C: remove using that is only used once, use
1041 std::ios instead of std::iosbase, add some annoying comments.
1043 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1045 * lots of header files: improved explanatory notes.
1047 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1048 ControlBase is now a class that only controls the interaction of the
1049 View with the ButtonController.
1051 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1052 to ControlConnectBase. The class controls the connection/disconnection
1053 of signals from the LyX kernel and makes available the kernel (through
1054 lv_) to daughter controller classes.
1055 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1057 * ControlDialogs.h: new file. Contains the definition of two template
1058 controller classes, ControlDialog and ControlInset (was
1059 ControlConnectInset). ControlInset is a parent class for controllers
1060 of inset-popups. ControlDialogs is the rather uninspired name for
1061 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1062 ControlDialogs is reaching a state of maturity as several popups now use
1063 it and its functionality becomes clear. ControlInset is still in a state
1064 of flux. It is likely that functionality will be moved out of
1065 ControlCommands and into it.
1067 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1068 individual Controller header files and into one place. These classes
1069 serve only as convenient wrappers to simplify code in the respective
1070 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1072 * ControlCharacter.[Ch] (show, update, hide):
1073 * ControlLog.[Ch] (show, update, hide):
1074 * ControlVCLog.[Ch] (show, update, hide): moved back into
1075 the ControlDialogs base class.
1076 (setParams, clearParams): new methods containing controller-specific
1077 code to set/reset the parameters manipulated by the view.
1079 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1081 (hide): calls clearParams.
1083 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1084 by ControlCommand::hide().
1086 * ControlCopyright.[Ch]:
1087 * ControlCredits.[Ch]: new files; controllers for the copyright and
1088 credits popups, respectively.
1090 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1092 * ControlCharacter.C: fix typo
1094 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1096 * ControlCharacter.[Ch]: new files; controller for the character popup.
1098 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1099 moved to new files helper_funcs.[Ch].
1101 * helper_funcs.[Ch]: new files. Some useful helper functions and
1104 * Makefile.am: added new files.
1106 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1108 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1110 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1114 Control log files, respectively.
1116 * Makefile.am: added new files.
1118 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1120 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1122 * Makefile.am: added ControlBibtex.[Ch].
1124 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1127 * ControlCitation.C: added "using SigC::slot" declaration.
1129 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1130 to FormCitation.C prior to the merger: "Do not put space between
1133 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1135 * several files: remove CXX_WORKING_NAMESPACES
1137 * ButtonController.h: noncopyable is in namespace boost
1138 * ButtonPolicies.h: ditto
1140 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1142 * Merging changes from BRANCH_MVC back into HEAD.
1144 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1146 * Makefile.am: add ControlBibitem.[Ch].
1148 * ControlBibitem.[Ch]: new files that together define the Controller
1149 for a Bibitem popup.
1151 * ControlCommand.h (c-tor): give kb_action a default value of
1154 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1156 * ControlCitation.[Ch]: moved search functions out of class.
1157 (bibkeysInfo): new method. Returns const reference to private data.
1158 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1161 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1163 * ControlCitation.[Ch]: added Search functions to the class,
1164 (shamelessly lifted from Marco's gnome code). I think that these would
1165 be better as helper functions outside the class, but this is a first
1168 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1170 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1172 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1173 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1174 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1175 implementation of FormCitation.
1177 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1179 * ButtonPolicies.h: add SMI_NOOP to enum.
1181 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1183 * ButtonController.C (input): add "optimising" if-statement. Actually,
1184 things don't work correctly without it...
1186 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1188 * ViewBase.h: remove #pragma directive
1190 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1193 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1195 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1197 * Makefile.am: added ButtonPolicies.[Ch]
1199 * ButtonController.[Ch]: ButtonController is split into
1200 ButtonControllerBase and a template ButtonController class. The base
1201 class no longer stores a pointer to a ButtonPolicy, but instead
1202 accesses the actual instantiation of the policy through a pure virtual
1203 method bp(). This method and the ButtonPolicy itself are instantiated
1204 in the templatised ButtonController class. This class is derived from
1205 the GUI-specific GUIBC class, meaning that the frontends know
1206 nothing about the actual policy decided upon by the controllers.
1208 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1209 Instead the actual instantiations are accessed through pure virtual
1210 methods view() and bc(). The daughter classes are responsible for the
1211 actual View and ButtonController.
1213 * ControlCitation.h: the templatised class GUICitation instantiates
1214 the methods view() and bc(). It also stores the instances of the
1215 View and ButtonController.
1217 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1219 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1220 also changed to ButtonController.
1223 * ControlConnections.[Ch]:
1224 * ControlCommand.[Ch]:
1225 * ControlCitation.[Ch]:
1226 * ViewBase.h: Changes associated with this.
1228 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1230 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1231 xforms/ButtonController class into a GUI-I class (here) and an
1232 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1234 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1235 from which all Dialog Controllers should be derived. the Controllers
1236 are GUI-independent, but are designed to control the behaviour of
1237 GUI-specific implementaions of each dialog.
1239 * ControlConnections.[Ch]: new files. Classes controlling the
1240 connections of buffer-independent, buffer-dependent and Inset dialogs
1241 with the LyX kernel.
1243 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1244 InsetCommand subset of insets.
1246 * ControlCitation.[Ch]: new files. The test specialisation! A
1247 controller for the Citation dialog.
1249 * ViewBase.h: new file. ViewBase is an abstract base class from which
1250 GUI-specific dialogs should be derived. The functionality that the GUIs
1251 must now implement is much reduced.