1 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlShowFile.h: add a #include "LString.h"
5 2002-03-05 Herbert Voss <voss@lyx.org>
7 biblio.C: (getInfo) simplify if using paragraph layout "bibliography".
9 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
11 * biblio.C (getInfo): return the info field correctly if the key
13 (parseBibTeX): fix crash when data.find('=') returns string::npos.
15 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
17 * ControlForks.[Ch]: new files. A controller for the Forked Child
18 processes dialog, enabling the user to see what forked processes
19 are running, and, if he so desires, to kill them.
21 * GUI.h: add class GUIForks.
23 * Makefile.am: add ControlForks.[Ch].
25 * ControlGraphics.C (getParams): small change due to change in
28 2002-02-21 Herbert Voss <voss@lyx.org>
30 * biblio.C: fix bug with commentlines in a bibentry
32 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * Makefile.am: simpler obj. file compile
36 2002-02-18 Herbert Voss <voss@lyx.org>
38 * ControlGraphics.[Ch]: remove help-file call
40 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
42 * helper_funcs.h: wrap the structs firster and seconder up in a
43 namespace to avoid clashes with those in lyxalgo,h.
45 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
46 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
48 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
50 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
53 change Systemcalls::System to Systemcalls::Wait and
54 No change of functionality, just reflects the stripped down Systemcalls
57 2002-02-06 Herbert Voss <voss@lyx.org>
59 * ControlGraphics.[C] (readBB): search also in
60 g'zipped files. If it is useful than PK and compress
61 should also be supported. use unzipFile() from
64 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
66 * ControlRef.C (getBufferName): new method to get a real buffer
69 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
71 * ControlTexInfo.[Ch]: Removed Help functions.
73 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
75 * ControlSpellchecker.C: clear any selection left
78 2002-02-01 Herbert Voss <voss@lyx.org>
80 * ControlGraphics.[C] (readBB): search only, if it is a
81 ".?ps" file and look for bb's at end of file
83 2002-01-30 Herbert Voss <voss@lyx.org>
85 * ControlGraphic.[C]: do not search the whole file, when
88 2002-01-29 Herbert Voss <voss@lyx.org>
90 * ControlGraphic.[C]: added a button for document path
91 when browsing -> bug 222
93 2002-01-27 Herbert Voss <voss@lyx.org>
95 * ControlGraphic.[Ch]: added support for Bounding Box, other
98 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
101 * ControlTexinfo.h: added #include "LString.h" where they belong.
103 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
108 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
110 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
113 2002-01-20 Herbert Voss <voss@perce.de>
115 * ControlInclude.[Ch]: better control of unexistings files
116 when entered without the browser
118 * ControlGraphic.C (Browse): add extension "ps" when browsing for
121 2002-01-19 Herbert Voss <voss@perce.de>
123 * biblio.C (getInfo): fix bug when no author is given
125 * biblio.C (parseBibTeX): change the parsing, so that
126 '#'-characters in a bibtex entry are no more a problem.
128 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
130 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
131 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
133 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
135 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
137 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
139 * ControlExternal.C (Browse): add a std:: qualifier
141 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
143 * ControlExternal.C (Browse): simplify to use browseRelFile
145 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
147 * ButtonController.tmpl: added // -*- C++ -*-
149 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
150 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
151 Needed in _one_ of the ControlCommand-derived classes only.
153 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
156 * ControlSearch.h: #include LString.h
158 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
160 * ButtonController.h: split into two. The definition remains in
161 ButtonController.h, the declaration is now in ButtonController.tmpl.
162 These template methods should be #included when the derived class is
163 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
164 and in the qt2 and gnome equivalents.
166 * ControlDialogs.h: removed. The definition of class ControlDialog is
167 now to be found in ControlDialog.h and the declaration of the methods
168 is in ControlDialog.tmpl. The two template instantiations are performed
169 in ControlDialog_impl.[Ch], new files also.
171 * ControlInset.h: split into two. The definition remains in
172 ControlInset.h, the declaration is now in ControlInset.tmpl.
173 These template methods should be #included derived class is
174 instantiated, in this case in 8 other .C files in this directory.
176 * ControlAboutlyx.[Ch]:
177 * ControlCharacter.[Ch]:
187 * ControlPreamble.[Ch]:
189 * ControlSearch.[Ch]:
190 * ControlShowFile.[Ch]:
191 * ControlSpellchecker.[Ch]:
192 * ControlTabularCreate.[Ch]:
193 * ControlTexinfo.[Ch]:
194 * ControlThesaurus.[Ch]:
195 * ControlVCLog.[Ch]: small changes associated with the above ones.
197 * GUI.h: #include the ButtonController and dialog controller files
198 here, rather than forward declare them. This is the correct place
201 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
202 Rename ControlDialogs.h as ControlDialog.h.
203 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
206 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
208 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
210 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
215 * ControlGraphics.C (Browse): remove overzealous shortcut
217 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
219 * FormMinipage.C (apply, update): MinipageParams::width renamed
220 as MinipageParams::pageWidth. InsetMinipage::width renamed
221 as InsetMinipage::pageWidth.
223 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * ButtonController.h (refreshReadOnly): use explicit typename
227 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
229 * helper_funcs.h (browseFile): add default empty button descriptions.
231 * ControlGraphics.C (Browse):
232 * ControlBibtex.C (Browse):
233 * ControlInclude.C (Browse): add shortcuts to directory buttons
235 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
237 * ControlThesaurus.h:
238 * ControlThesaurus.C: update to Aiksaurus 0.14
240 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
242 * ControlSpellchecker.C (clearParams): show the closing message
243 only if some words have been checked, thereby fixing
246 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
248 * ControlFloat.[Ch]: changes to prevent here definitely being used
251 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * ControlThesaurus.h: do not include <config.h> in header files
255 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
257 * ControlToc.C: changes for floatlist
259 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
261 * ControlVCLog.C: use _()
263 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
265 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
268 2001-10-22 Juergen Vigna <jug@sad.it>
270 * ControlSpellchecker.C (clearParams): use the error_ message of the
271 speller_ if available when the spellchecker died.
272 (setParams): remove double error message display.
274 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
276 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
278 * helper_funcs.[Ch] (getLatexUnits): see above.
280 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * ControlTexinfo.C (getContents): use the right file for .sty files
284 2001-10-10 Herbert Voss <voss@perce.de>
286 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
287 and some more stuff from FormTexinfo.C
289 * ControlShowFile.C: hiding the update-button
291 2001-10-09 Herbert Voss <voss@perce.de>
293 * ControlTexinfo.[Ch]: new files. Display information about the
294 installed texfiles (cls,sty,bst).
296 * ControlShowFile.[Ch]: new files. Display the contents of a file.
298 * GUI.h: added classes GUIShowFile and GUITexinfo.
300 * Makefile.am: modified appropriately.
302 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
304 * ControlAboutlyx.C (getVersion): use lyx_version and
305 lyx_release_date instead of old macros
307 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
309 * ControlSpellchecker.C (check): Behaves well now when the spell
310 library doesn't know a replacement to an incorrect word.
312 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
314 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
315 the correct place. Can now check spelling more than once!
317 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
319 * ControlSplash.[Ch]: removed.
321 * GUI.h: remove GUISplash class.
323 * ViewBase.h: remove ViewSplash class.
325 * Makefile.am: remove ControlSplash.[Ch].
327 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlButtons.h: add variable emergency_exit_. If set to true, the
330 view will be shut down.
333 * ControlInset.h: act on emergency_exit_.
335 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
336 speller fails to launch.
338 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
341 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
343 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlRef.h (disconnectOnApply): new method. Set to true.
346 Perhaps make this user-modifiable?
348 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
353 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
355 * ControlRef.C (getBufferList, getBufferNum): New methods
357 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
359 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
360 of the dialog when the Apply button is pressed. Defaults to false,
361 but can be overridden in the daughter classes.
363 * ControlCitation.h (disconnectOnApply): new method. Set to true.
364 Perhaps make this user-modifiable?
366 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
368 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
369 we have dialogs that update their contents when the buffer changes.
370 Rather embarassing, really!
372 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlSearch (replace): change semantics of replace to NOT move on
375 to the next instance of a word once the present instance has been
376 replaced unless we are replacing ALL instances of the word.
378 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
380 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
382 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
384 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
385 dialog, set all options to "reset", close the dialog, re-open it ->
386 the options are set incorrectly.
388 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
389 When Applying it's useful to know whether the dialog is about to close
390 or not (no point refreshing the display for example).
392 * ControlInset.C (apply): use isClosing.
394 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
397 * ControlDialogs.h: remove bc() hack, now fixed in
398 Qt2 frontend. use member dialog_built_ instead of shared
401 * ButtonController.h:
402 * ButtonPolicies.C: more debug info
404 * ButtonControllerBase.C: call refresh() when setting readOnly !
406 * GUI.h: External form has apply, use the right policy
408 * character.C: fix two off-by-one errors when latex font was removed
410 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
412 * ControlInset.h (apply): tentative fix for the press Apply multiple
413 times and get multiple new Insets problem.
415 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
417 * ControlCharacter.C: fix typo
421 * ControlInsets.C: make sure dialog is built before it is shown, so
422 it works properly the very first time it is shown
424 2001-08-20 Herbert Voss <voss@perce.de>
426 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
427 and styles. Added an option for "bibliography into toc"
429 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
431 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
432 LaTeX is no longer a font property.
434 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
436 * GUI.h: Button controller for Reference dialog changed to
437 NoRepeatedApplyReadOnlyPolicy.
439 * biblio.C (getInfo): output volume and number info. Move year to end
442 2001-08-09 Allan Rae <rae@lyx.org>
444 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
446 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
448 * helper_funcs.C (getVectorFromString): fixed small bug.
450 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
452 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
454 * ControlSpellchecker.C: check next word after insert in personal dict
456 2001-08-06 Juergen Vigna <jug@sad.it>
458 * ControlERT.[Ch]: new file
460 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
462 * ControlInset.h: const and non-const forms of params().
464 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
465 whitespace from either side of each item.
467 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
469 * ControlFloat.h: add a != operator for FloatParams.
470 Lars, how did you get this to compile!!!
472 * ControlMinipage.[Ch]: uncommented someone's commenting out of
473 operator != for MinipageParams. Who's changing stuff and not compiling?
475 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
480 * GUI.h: add class GUIFloat
482 * ControlFloat.[Ch]: new files
484 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
486 * ControlPrint.C: #include Lassert.h here.
488 2001-07-26 Baruch Even <baruch@lyx.org>
490 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
493 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
495 * ControlThesaurus.h:
496 * ControlThesaurus.C:
498 * Makefile.am: thesaurus support
500 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
503 * ControlInclude.C: implement ability to load file
505 2001-07-18 Juergen Vigna <jug@sad.it>
507 * ControlSearch.C (replace): changes to lyxfind.h function calls.
509 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
511 * biblio.C (getInfo): add a .c_str() to handle the usual
514 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
516 * ControlCitation.[Ch]: changes associated with adding natbib support.
517 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
518 New static variable citeStyles_.
520 * biblio.[Ch]: large internal rearrangement.
521 New public enum CiteStyle.
522 New public struct CitationStyle.
523 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
524 getNumericalStrings, getAuthorYearStrings
525 (simpleSearch, regexSearch): no longer publicly accessible.
527 * helper_funcs.C (getStringFromVector): bug fix.
529 2001-07-16 Baruch Even <baruch@lyx.org>
531 * ControlVCLog.h: Added Lsstream.h to includes.
533 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
535 * ControlSpellchecker.[Ch]: remove d-tor.
537 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
539 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
541 2001-07-16 Juergen Vigna <jug@sad.it>
543 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
544 compiled with USE_PSPELL) to be able to switch between ISpell and
547 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
549 Consistent use of Lsstream.h:
550 * ControlAboutlyx.[Ch] (getCredits):
551 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
553 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
555 * ControlCredits.[Ch]: removed
556 * ControlCopyright.[Ch]: removed
557 * ControlAboutlyx.[Ch]: added (replaces previous)
558 * GUI.h: removed credits and copyright added about lyx stuff
560 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
562 * ControlSpellchecker.C (getSuggestion):
563 (getWord): add std:: qualifier
565 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
567 * ControlSpellchecker.[Ch]: added
568 * ViewBase.h: added partialUpdate(int) member
569 * GUI.h: added spell stuff
571 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
573 * ControlExternal.C: (*it). -> it->
575 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
577 * ButtonController.h: move some included header files out of the
578 frontends and into here.
580 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlCharacter.C (c-tor): cosmetic name change of signal.
584 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
586 * *.[h]: added // -*- C++ -*-
587 * *.[C]: removed // -*- C++ -*-
589 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
590 activate Apply button.
591 (clearParams): removed.
592 font_ is now stored as a boost::scoped_ptr.
593 font_ is no longer deleted on hide(), so it's contents can now be used
594 by the Font button on the toolbar.
595 Lots of new methods so that the GUI can easily get the contents of
596 font_ when it update()s.
598 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
600 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
601 crash when the Font button on the Toolbar is pressed.
603 * GUI.h: change policy of Character button controller to
604 OkApplyCancelReadOnlyPolicy.
606 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * ControlToc.C (getContents): don't add anything to the list if it
609 is supposed to be empty.
611 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
613 * helper_funcs.C (getVectorFromString): bug fix.
615 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
618 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
619 from ButtonControllerBase::readOnly. Updates the state of the widgets
620 in the read-only list only when the read-only status of the document
622 (refresh): moved this stuff into refreshReadOnly.
624 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlPrint.C (c-tor):
627 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
629 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
632 * character.h: small clean-ups.
634 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * ControlToc.C (getType): remove support for old float list.
638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
640 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
641 * ControlGraphics.h: no longer include insetgraphicsParams.h
642 * ControlInset.h: no longer include LyXView.h
647 * ControlCharacter.C:
650 * ControlConnections.C:
651 * ControlCopyright.C:
663 * ControlTabularCreate.C:
665 * ControlVCLog.C: they're now in here!
667 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
669 * ButtonControllerBase.h: C++ mode, inherit privately from
671 * ButtonPolicies.h: ditto
673 * ButtonController.h: C++ mode, swap init order of restore_ and
676 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
678 * ControlTabularCreate.h:
679 * ControlTabularCreate.C: make dialogs use a pair of uints
683 * ControlVCLog.C: fill a stringstream with the log contents
686 * ControlExternal.C: from Angus, clone the new InsetExternal
689 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
691 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
692 and made more robust.
694 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
703 * ControlCopyright.C: include gettext.h
705 * ControlCharacter.C:
706 * character.C: include gettext.h and language.h
708 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
710 * ButtonController.h:
711 * ButtonControllerBase.h:
712 * ButtonControllerBase.C:
719 * ControlConnections.h:
725 * ViewBase.h: s/ControlButton/ControlButtons/
727 s/UndoAll/Restore/ + associated
729 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
731 * ControlToc.[Ch]: new files; a controller for the TOC popup.
734 * Makefile.am: associated changes with all of the above.
736 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
738 * ControlExternal.C: bug fixes. Can now apply changes to the inset
739 and edit, view, update the External Material correctly. I hope!
741 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
743 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
745 * BCTemplates.h: renamed as ButtonController.h
747 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
750 * ControlConnections.h: associated change in #include and class names.
752 * ControlExternal.[Ch]: new files; a controller for the External
756 * Makefile.am: associated changes with all of the above.
758 * ControlGraphics.[Ch]:
759 * ControlInclude.[Ch]:
762 (Browse): new method. Returns the results of a FileDialog browse.
764 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
765 (getVectorFromString): fixed bug.
767 * biblio.C (simpleSearch): cleaned up.
769 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
771 * A slight reworking of Baruch Even's ButtonController patch.
773 * BCTemplates.h: new file; all the templates for the ButtonController.
774 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
775 to the more generic setButtonLabel().
777 * ButtonController.[Ch]: renamed cancel_label and close_label as
778 cancel_label_ and close_label_.
780 * Makefile.am: added BCTemplates.h
782 2001-03-29 Juergen Vigna <jug@sad.it>
784 * ControlMinipage.C: removed widthp_ and all it's functions and changed
785 to use new %-lengths of LyXLength.
787 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
789 * ControlCitation.C (bibkeysInfo): removed Assert.
791 * ControlCopyright.h: moved GUICopyright into GUI.h
795 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
797 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
798 (setDaughterParams): a (by default empty) new method called in show().
807 * ControlUrl.h (clearDaughterParams): removed
809 * ControlMinipage.C (applyParamsToInset): update the view.
810 Added namespace minipage containing a helper function getUnits.
812 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
814 * ControlCharacter.[Ch]: moved out all the helper functions and the
815 enum into their own file.
816 * character.[Ch]: new files; contain the character helper functions,
817 now inside namespace character.
819 * ControlCitation.[Ch]: moved out all the helper functions and the
820 enums into their own file. Simplified interface.
821 * biblio.[Ch]: new files; contain the citation helper functions,
822 now inside namespace biblio. Will be of use also to an improved
825 * ControlGraphics.[Ch]:
826 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
827 popups, respectively.
830 * Makefile.am: associated changes.
832 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
834 * ControlMinipage.[Ch]:
835 * ControlPreamble.[Ch]:
837 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
838 and Print popups and Splash screen, respectively.
840 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
844 * Makefile.am: associated changes.
846 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
848 * ControlConnections.[Ch]: (docType): new method; returns the type
849 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
852 * ControlSearch.[Ch]:
853 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
854 Search and TabularCreate popups, respectively.
857 * Makefile.am: associated changes.
859 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
861 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
864 * ControlInset.h (apply): fix bug. Can now create new insets again.
866 * README: describe program flow.
868 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
870 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
872 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
874 * ControlDialogs.h: moved class ControlInset into its own file.
876 * ControlInset.h: new file. class ControlInset has been expanded to take
877 two template parameters, Inset and Params. Believe that all inset
878 controllers can be derived from this with the minimum of effort.
880 * ControlBibitem.[Ch]:
881 * ControlBibtex.[Ch]:
882 * ControlCitation.[Ch]:
883 * ControlCommand.[Ch]: moved most code into ControlInset.
885 * lots of files. Moved protected stuff into private where possible.
888 * ControlInclude.[Ch]:
889 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
890 Include and Url popups, respectively.
893 * Makefile.am: associated changes.
895 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
897 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
900 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
902 * ControlCredits.C (getCredits): remove std:: qualifier for
905 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
907 * ControlCredits.C (getCredits): add std:: on vector
909 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
911 * ControlCredits.C: remove using that is only used once, use
912 std::ios instead of std::iosbase, add some annoying comments.
914 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
916 * lots of header files: improved explanatory notes.
918 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
919 ControlBase is now a class that only controls the interaction of the
920 View with the ButtonController.
922 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
923 to ControlConnectBase. The class controls the connection/disconnection
924 of signals from the LyX kernel and makes available the kernel (through
925 lv_) to daughter controller classes.
926 Moved out class ControlConnectInset to a new file ControlDialogs.h.
928 * ControlDialogs.h: new file. Contains the definition of two template
929 controller classes, ControlDialog and ControlInset (was
930 ControlConnectInset). ControlInset is a parent class for controllers
931 of inset-popups. ControlDialogs is the rather uninspired name for
932 the base class of all non-inset popups. (Eg, Document and Paragraph.)
933 ControlDialogs is reaching a state of maturity as several popups now use
934 it and its functionality becomes clear. ControlInset is still in a state
935 of flux. It is likely that functionality will be moved out of
936 ControlCommands and into it.
938 * GUI.h: new file. Moved all the template GUIXXX classes out of the
939 individual Controller header files and into one place. These classes
940 serve only as convenient wrappers to simplify code in the respective
941 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
943 * ControlCharacter.[Ch] (show, update, hide):
944 * ControlLog.[Ch] (show, update, hide):
945 * ControlVCLog.[Ch] (show, update, hide): moved back into
946 the ControlDialogs base class.
947 (setParams, clearParams): new methods containing controller-specific
948 code to set/reset the parameters manipulated by the view.
950 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
952 (hide): calls clearParams.
954 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
955 by ControlCommand::hide().
957 * ControlCopyright.[Ch]:
958 * ControlCredits.[Ch]: new files; controllers for the copyright and
959 credits popups, respectively.
961 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
963 * ControlCharacter.C: fix typo
965 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
967 * ControlCharacter.[Ch]: new files; controller for the character popup.
969 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
970 moved to new files helper_funcs.[Ch].
972 * helper_funcs.[Ch]: new files. Some useful helper functions and
975 * Makefile.am: added new files.
977 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
979 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
981 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
985 Control log files, respectively.
987 * Makefile.am: added new files.
989 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
991 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
993 * Makefile.am: added ControlBibtex.[Ch].
995 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
998 * ControlCitation.C: added "using SigC::slot" declaration.
1000 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1001 to FormCitation.C prior to the merger: "Do not put space between
1004 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1006 * several files: remove CXX_WORKING_NAMESPACES
1008 * ButtonController.h: noncopyable is in namespace boost
1009 * ButtonPolicies.h: ditto
1011 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1013 * Merging changes from BRANCH_MVC back into HEAD.
1015 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1017 * Makefile.am: add ControlBibitem.[Ch].
1019 * ControlBibitem.[Ch]: new files that together define the Controller
1020 for a Bibitem popup.
1022 * ControlCommand.h (c-tor): give kb_action a default value of
1025 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1027 * ControlCitation.[Ch]: moved search functions out of class.
1028 (bibkeysInfo): new method. Returns const reference to private data.
1029 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1032 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ControlCitation.[Ch]: added Search functions to the class,
1035 (shamelessly lifted from Marco's gnome code). I think that these would
1036 be better as helper functions outside the class, but this is a first
1039 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1041 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1043 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1044 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1045 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1046 implementation of FormCitation.
1048 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1050 * ButtonPolicies.h: add SMI_NOOP to enum.
1052 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1054 * ButtonController.C (input): add "optimising" if-statement. Actually,
1055 things don't work correctly without it...
1057 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1059 * ViewBase.h: remove #pragma directive
1061 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1064 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1068 * Makefile.am: added ButtonPolicies.[Ch]
1070 * ButtonController.[Ch]: ButtonController is split into
1071 ButtonControllerBase and a template ButtonController class. The base
1072 class no longer stores a pointer to a ButtonPolicy, but instead
1073 accesses the actual instantiation of the policy through a pure virtual
1074 method bp(). This method and the ButtonPolicy itself are instantiated
1075 in the templatised ButtonController class. This class is derived from
1076 the GUI-specific GUIBC class, meaning that the frontends know
1077 nothing about the actual policy decided upon by the controllers.
1079 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1080 Instead the actual instantiations are accessed through pure virtual
1081 methods view() and bc(). The daughter classes are responsible for the
1082 actual View and ButtonController.
1084 * ControlCitation.h: the templatised class GUICitation instantiates
1085 the methods view() and bc(). It also stores the instances of the
1086 View and ButtonController.
1088 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1090 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1091 also changed to ButtonController.
1094 * ControlConnections.[Ch]:
1095 * ControlCommand.[Ch]:
1096 * ControlCitation.[Ch]:
1097 * ViewBase.h: Changes associated with this.
1099 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1102 xforms/ButtonController class into a GUI-I class (here) and an
1103 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1105 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1106 from which all Dialog Controllers should be derived. the Controllers
1107 are GUI-independent, but are designed to control the behaviour of
1108 GUI-specific implementaions of each dialog.
1110 * ControlConnections.[Ch]: new files. Classes controlling the
1111 connections of buffer-independent, buffer-dependent and Inset dialogs
1112 with the LyX kernel.
1114 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1115 InsetCommand subset of insets.
1117 * ControlCitation.[Ch]: new files. The test specialisation! A
1118 controller for the Citation dialog.
1120 * ViewBase.h: new file. ViewBase is an abstract base class from which
1121 GUI-specific dialogs should be derived. The functionality that the GUIs
1122 must now implement is much reduced.