1 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlRef.C (getBufferNum): squash warning message.
5 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7 * ControlBibtex.C (Browse):
8 * ControlGraphics.C (Browse):
9 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
11 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
13 * ControlGraphics.C (applyParamsToInset): pass filepath to
14 InsetGraphics::updateInset.
16 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * most files: ws cleanup
20 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
22 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
25 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
28 * ControlInclude.C: better error messages
30 2002-03-11 Herbert Voss <voss@lyx.org>
32 * biblio.C (parseBibTeX): fix another minibug with an
35 2002-03-10 Herbert Voss <voss@lyx.org>
37 * biblio.C (parseBibTeX): fix bug
38 (familyName): improve parsing
40 2002-03-09 Herbert Voss <voss@lyx.org>
42 * ControlGraphics.[Ch]: adding checkFilename() for testing
45 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * ControlSendto.C (allFormats): fix a iterators are not pointers
50 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
52 * ControlShowFile.h: add a #include "LString.h"
54 2002-03-05 Herbert Voss <voss@lyx.org>
56 * biblio.C (getInfo): simplify if using paragraph layout
59 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
61 * biblio.C (getInfo): return the info field correctly if the key
63 (parseBibTeX): fix crash when data.find('=') returns string::npos.
65 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlForks.[Ch]: new files. A controller for the Forked Child
68 processes dialog, enabling the user to see what forked processes
69 are running, and, if he so desires, to kill them.
71 * GUI.h: add class GUIForks.
73 * Makefile.am: add ControlForks.[Ch].
75 * ControlGraphics.C (getParams): small change due to change in
78 2002-02-21 Herbert Voss <voss@lyx.org>
80 * biblio.C: fix bug with commentlines in a bibentry
82 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * Makefile.am: simpler obj. file compile
86 2002-02-18 Herbert Voss <voss@lyx.org>
88 * ControlGraphics.[Ch]: remove help-file call
90 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
92 * helper_funcs.h: wrap the structs firster and seconder up in a
93 namespace to avoid clashes with those in lyxalgo,h.
95 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
96 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
98 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
100 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
103 change Systemcalls::System to Systemcalls::Wait and
104 No change of functionality, just reflects the stripped down Systemcalls
107 2002-02-06 Herbert Voss <voss@lyx.org>
109 * ControlGraphics.[C] (readBB): search also in
110 g'zipped files. If it is useful than PK and compress
111 should also be supported. use unzipFile() from
114 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * ControlRef.C (getBufferName): new method to get a real buffer
119 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
121 * ControlTexInfo.[Ch]: Removed Help functions.
123 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
125 * ControlSpellchecker.C: clear any selection left
128 2002-02-01 Herbert Voss <voss@lyx.org>
130 * ControlGraphics.[C] (readBB): search only, if it is a
131 ".?ps" file and look for bb's at end of file
133 2002-01-30 Herbert Voss <voss@lyx.org>
135 * ControlGraphic.[C]: do not search the whole file, when
138 2002-01-29 Herbert Voss <voss@lyx.org>
140 * ControlGraphic.[C]: added a button for document path
141 when browsing -> bug 222
143 2002-01-27 Herbert Voss <voss@lyx.org>
145 * ControlGraphic.[Ch]: added support for Bounding Box, other
148 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
151 * ControlTexinfo.h: added #include "LString.h" where they belong.
153 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
156 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
158 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
160 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
163 2002-01-20 Herbert Voss <voss@perce.de>
165 * ControlInclude.[Ch]: better control of unexistings files
166 when entered without the browser
168 * ControlGraphic.C (Browse): add extension "ps" when browsing for
171 2002-01-19 Herbert Voss <voss@perce.de>
173 * biblio.C (getInfo): fix bug when no author is given
175 * biblio.C (parseBibTeX): change the parsing, so that
176 '#'-characters in a bibtex entry are no more a problem.
178 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
180 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
181 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
183 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
185 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
187 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
189 * ControlExternal.C (Browse): add a std:: qualifier
191 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * ControlExternal.C (Browse): simplify to use browseRelFile
195 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
197 * ButtonController.tmpl: added // -*- C++ -*-
199 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
200 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
201 Needed in _one_ of the ControlCommand-derived classes only.
203 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
206 * ControlSearch.h: #include LString.h
208 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
210 * ButtonController.h: split into two. The definition remains in
211 ButtonController.h, the declaration is now in ButtonController.tmpl.
212 These template methods should be #included when the derived class is
213 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
214 and in the qt2 and gnome equivalents.
216 * ControlDialogs.h: removed. The definition of class ControlDialog is
217 now to be found in ControlDialog.h and the declaration of the methods
218 is in ControlDialog.tmpl. The two template instantiations are performed
219 in ControlDialog_impl.[Ch], new files also.
221 * ControlInset.h: split into two. The definition remains in
222 ControlInset.h, the declaration is now in ControlInset.tmpl.
223 These template methods should be #included derived class is
224 instantiated, in this case in 8 other .C files in this directory.
226 * ControlAboutlyx.[Ch]:
227 * ControlCharacter.[Ch]:
237 * ControlPreamble.[Ch]:
239 * ControlSearch.[Ch]:
240 * ControlShowFile.[Ch]:
241 * ControlSpellchecker.[Ch]:
242 * ControlTabularCreate.[Ch]:
243 * ControlTexinfo.[Ch]:
244 * ControlThesaurus.[Ch]:
245 * ControlVCLog.[Ch]: small changes associated with the above ones.
247 * GUI.h: #include the ButtonController and dialog controller files
248 here, rather than forward declare them. This is the correct place
251 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
252 Rename ControlDialogs.h as ControlDialog.h.
253 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
256 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
260 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
262 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
265 * ControlGraphics.C (Browse): remove overzealous shortcut
267 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
269 * FormMinipage.C (apply, update): MinipageParams::width renamed
270 as MinipageParams::pageWidth. InsetMinipage::width renamed
271 as InsetMinipage::pageWidth.
273 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
275 * ButtonController.h (refreshReadOnly): use explicit typename
277 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
279 * helper_funcs.h (browseFile): add default empty button descriptions.
281 * ControlGraphics.C (Browse):
282 * ControlBibtex.C (Browse):
283 * ControlInclude.C (Browse): add shortcuts to directory buttons
285 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
287 * ControlThesaurus.h:
288 * ControlThesaurus.C: update to Aiksaurus 0.14
290 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlSpellchecker.C (clearParams): show the closing message
293 only if some words have been checked, thereby fixing
296 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
298 * ControlFloat.[Ch]: changes to prevent here definitely being used
301 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
303 * ControlThesaurus.h: do not include <config.h> in header files
305 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
307 * ControlToc.C: changes for floatlist
309 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
311 * ControlVCLog.C: use _()
313 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
315 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
318 2001-10-22 Juergen Vigna <jug@sad.it>
320 * ControlSpellchecker.C (clearParams): use the error_ message of the
321 speller_ if available when the spellchecker died.
322 (setParams): remove double error message display.
324 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
328 * helper_funcs.[Ch] (getLatexUnits): see above.
330 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * ControlTexinfo.C (getContents): use the right file for .sty files
334 2001-10-10 Herbert Voss <voss@perce.de>
336 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
337 and some more stuff from FormTexinfo.C
339 * ControlShowFile.C: hiding the update-button
341 2001-10-09 Herbert Voss <voss@perce.de>
343 * ControlTexinfo.[Ch]: new files. Display information about the
344 installed texfiles (cls,sty,bst).
346 * ControlShowFile.[Ch]: new files. Display the contents of a file.
348 * GUI.h: added classes GUIShowFile and GUITexinfo.
350 * Makefile.am: modified appropriately.
352 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
354 * ControlAboutlyx.C (getVersion): use lyx_version and
355 lyx_release_date instead of old macros
357 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
359 * ControlSpellchecker.C (check): Behaves well now when the spell
360 library doesn't know a replacement to an incorrect word.
362 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
365 the correct place. Can now check spelling more than once!
367 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlSplash.[Ch]: removed.
371 * GUI.h: remove GUISplash class.
373 * ViewBase.h: remove ViewSplash class.
375 * Makefile.am: remove ControlSplash.[Ch].
377 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
379 * ControlButtons.h: add variable emergency_exit_. If set to true, the
380 view will be shut down.
383 * ControlInset.h: act on emergency_exit_.
385 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
386 speller fails to launch.
388 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
390 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
391 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
393 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
395 * ControlRef.h (disconnectOnApply): new method. Set to true.
396 Perhaps make this user-modifiable?
398 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
403 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
405 * ControlRef.C (getBufferList, getBufferNum): New methods
407 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
409 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
410 of the dialog when the Apply button is pressed. Defaults to false,
411 but can be overridden in the daughter classes.
413 * ControlCitation.h (disconnectOnApply): new method. Set to true.
414 Perhaps make this user-modifiable?
416 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
418 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
419 we have dialogs that update their contents when the buffer changes.
420 Rather embarassing, really!
422 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlSearch (replace): change semantics of replace to NOT move on
425 to the next instance of a word once the present instance has been
426 replaced unless we are replacing ALL instances of the word.
428 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
430 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
432 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
435 dialog, set all options to "reset", close the dialog, re-open it ->
436 the options are set incorrectly.
438 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
439 When Applying it's useful to know whether the dialog is about to close
440 or not (no point refreshing the display for example).
442 * ControlInset.C (apply): use isClosing.
444 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
447 * ControlDialogs.h: remove bc() hack, now fixed in
448 Qt2 frontend. use member dialog_built_ instead of shared
451 * ButtonController.h:
452 * ButtonPolicies.C: more debug info
454 * ButtonControllerBase.C: call refresh() when setting readOnly !
456 * GUI.h: External form has apply, use the right policy
458 * character.C: fix two off-by-one errors when latex font was removed
460 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
462 * ControlInset.h (apply): tentative fix for the press Apply multiple
463 times and get multiple new Insets problem.
465 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
467 * ControlCharacter.C: fix typo
471 * ControlInsets.C: make sure dialog is built before it is shown, so
472 it works properly the very first time it is shown
474 2001-08-20 Herbert Voss <voss@perce.de>
476 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
477 and styles. Added an option for "bibliography into toc"
479 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
481 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
482 LaTeX is no longer a font property.
484 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
486 * GUI.h: Button controller for Reference dialog changed to
487 NoRepeatedApplyReadOnlyPolicy.
489 * biblio.C (getInfo): output volume and number info. Move year to end
492 2001-08-09 Allan Rae <rae@lyx.org>
494 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
496 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
498 * helper_funcs.C (getVectorFromString): fixed small bug.
500 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
502 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
504 * ControlSpellchecker.C: check next word after insert in personal dict
506 2001-08-06 Juergen Vigna <jug@sad.it>
508 * ControlERT.[Ch]: new file
510 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
512 * ControlInset.h: const and non-const forms of params().
514 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
515 whitespace from either side of each item.
517 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
519 * ControlFloat.h: add a != operator for FloatParams.
520 Lars, how did you get this to compile!!!
522 * ControlMinipage.[Ch]: uncommented someone's commenting out of
523 operator != for MinipageParams. Who's changing stuff and not compiling?
525 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
527 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
530 * GUI.h: add class GUIFloat
532 * ControlFloat.[Ch]: new files
534 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
536 * ControlPrint.C: #include Lassert.h here.
538 2001-07-26 Baruch Even <baruch@lyx.org>
540 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
543 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
545 * ControlThesaurus.h:
546 * ControlThesaurus.C:
548 * Makefile.am: thesaurus support
550 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
553 * ControlInclude.C: implement ability to load file
555 2001-07-18 Juergen Vigna <jug@sad.it>
557 * ControlSearch.C (replace): changes to lyxfind.h function calls.
559 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
561 * biblio.C (getInfo): add a .c_str() to handle the usual
564 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
566 * ControlCitation.[Ch]: changes associated with adding natbib support.
567 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
568 New static variable citeStyles_.
570 * biblio.[Ch]: large internal rearrangement.
571 New public enum CiteStyle.
572 New public struct CitationStyle.
573 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
574 getNumericalStrings, getAuthorYearStrings
575 (simpleSearch, regexSearch): no longer publicly accessible.
577 * helper_funcs.C (getStringFromVector): bug fix.
579 2001-07-16 Baruch Even <baruch@lyx.org>
581 * ControlVCLog.h: Added Lsstream.h to includes.
583 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
585 * ControlSpellchecker.[Ch]: remove d-tor.
587 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
589 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
591 2001-07-16 Juergen Vigna <jug@sad.it>
593 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
594 compiled with USE_PSPELL) to be able to switch between ISpell and
597 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
599 Consistent use of Lsstream.h:
600 * ControlAboutlyx.[Ch] (getCredits):
601 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
603 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
605 * ControlCredits.[Ch]: removed
606 * ControlCopyright.[Ch]: removed
607 * ControlAboutlyx.[Ch]: added (replaces previous)
608 * GUI.h: removed credits and copyright added about lyx stuff
610 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
612 * ControlSpellchecker.C (getSuggestion):
613 (getWord): add std:: qualifier
615 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
617 * ControlSpellchecker.[Ch]: added
618 * ViewBase.h: added partialUpdate(int) member
619 * GUI.h: added spell stuff
621 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
623 * ControlExternal.C: (*it). -> it->
625 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
627 * ButtonController.h: move some included header files out of the
628 frontends and into here.
630 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
632 * ControlCharacter.C (c-tor): cosmetic name change of signal.
634 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
636 * *.[h]: added // -*- C++ -*-
637 * *.[C]: removed // -*- C++ -*-
639 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
640 activate Apply button.
641 (clearParams): removed.
642 font_ is now stored as a boost::scoped_ptr.
643 font_ is no longer deleted on hide(), so it's contents can now be used
644 by the Font button on the toolbar.
645 Lots of new methods so that the GUI can easily get the contents of
646 font_ when it update()s.
648 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
650 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
651 crash when the Font button on the Toolbar is pressed.
653 * GUI.h: change policy of Character button controller to
654 OkApplyCancelReadOnlyPolicy.
656 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
658 * ControlToc.C (getContents): don't add anything to the list if it
659 is supposed to be empty.
661 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
663 * helper_funcs.C (getVectorFromString): bug fix.
665 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
668 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
669 from ButtonControllerBase::readOnly. Updates the state of the widgets
670 in the read-only list only when the read-only status of the document
672 (refresh): moved this stuff into refreshReadOnly.
674 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
676 * ControlPrint.C (c-tor):
677 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
679 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
682 * character.h: small clean-ups.
684 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
686 * ControlToc.C (getType): remove support for old float list.
688 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
690 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
691 * ControlGraphics.h: no longer include insetgraphicsParams.h
692 * ControlInset.h: no longer include LyXView.h
697 * ControlCharacter.C:
700 * ControlConnections.C:
701 * ControlCopyright.C:
713 * ControlTabularCreate.C:
715 * ControlVCLog.C: they're now in here!
717 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
719 * ButtonControllerBase.h: C++ mode, inherit privately from
721 * ButtonPolicies.h: ditto
723 * ButtonController.h: C++ mode, swap init order of restore_ and
726 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
728 * ControlTabularCreate.h:
729 * ControlTabularCreate.C: make dialogs use a pair of uints
733 * ControlVCLog.C: fill a stringstream with the log contents
736 * ControlExternal.C: from Angus, clone the new InsetExternal
739 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
741 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
742 and made more robust.
744 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
753 * ControlCopyright.C: include gettext.h
755 * ControlCharacter.C:
756 * character.C: include gettext.h and language.h
758 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
760 * ButtonController.h:
761 * ButtonControllerBase.h:
762 * ButtonControllerBase.C:
769 * ControlConnections.h:
775 * ViewBase.h: s/ControlButton/ControlButtons/
777 s/UndoAll/Restore/ + associated
779 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
781 * ControlToc.[Ch]: new files; a controller for the TOC popup.
784 * Makefile.am: associated changes with all of the above.
786 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
788 * ControlExternal.C: bug fixes. Can now apply changes to the inset
789 and edit, view, update the External Material correctly. I hope!
791 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
793 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
795 * BCTemplates.h: renamed as ButtonController.h
797 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
800 * ControlConnections.h: associated change in #include and class names.
802 * ControlExternal.[Ch]: new files; a controller for the External
806 * Makefile.am: associated changes with all of the above.
808 * ControlGraphics.[Ch]:
809 * ControlInclude.[Ch]:
812 (Browse): new method. Returns the results of a FileDialog browse.
814 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
815 (getVectorFromString): fixed bug.
817 * biblio.C (simpleSearch): cleaned up.
819 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
821 * A slight reworking of Baruch Even's ButtonController patch.
823 * BCTemplates.h: new file; all the templates for the ButtonController.
824 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
825 to the more generic setButtonLabel().
827 * ButtonController.[Ch]: renamed cancel_label and close_label as
828 cancel_label_ and close_label_.
830 * Makefile.am: added BCTemplates.h
832 2001-03-29 Juergen Vigna <jug@sad.it>
834 * ControlMinipage.C: removed widthp_ and all it's functions and changed
835 to use new %-lengths of LyXLength.
837 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
839 * ControlCitation.C (bibkeysInfo): removed Assert.
841 * ControlCopyright.h: moved GUICopyright into GUI.h
845 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
847 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
848 (setDaughterParams): a (by default empty) new method called in show().
857 * ControlUrl.h (clearDaughterParams): removed
859 * ControlMinipage.C (applyParamsToInset): update the view.
860 Added namespace minipage containing a helper function getUnits.
862 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
864 * ControlCharacter.[Ch]: moved out all the helper functions and the
865 enum into their own file.
866 * character.[Ch]: new files; contain the character helper functions,
867 now inside namespace character.
869 * ControlCitation.[Ch]: moved out all the helper functions and the
870 enums into their own file. Simplified interface.
871 * biblio.[Ch]: new files; contain the citation helper functions,
872 now inside namespace biblio. Will be of use also to an improved
875 * ControlGraphics.[Ch]:
876 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
877 popups, respectively.
880 * Makefile.am: associated changes.
882 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
884 * ControlMinipage.[Ch]:
885 * ControlPreamble.[Ch]:
887 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
888 and Print popups and Splash screen, respectively.
890 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
894 * Makefile.am: associated changes.
896 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
898 * ControlConnections.[Ch]: (docType): new method; returns the type
899 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
902 * ControlSearch.[Ch]:
903 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
904 Search and TabularCreate popups, respectively.
907 * Makefile.am: associated changes.
909 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
914 * ControlInset.h (apply): fix bug. Can now create new insets again.
916 * README: describe program flow.
918 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
920 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
922 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
924 * ControlDialogs.h: moved class ControlInset into its own file.
926 * ControlInset.h: new file. class ControlInset has been expanded to take
927 two template parameters, Inset and Params. Believe that all inset
928 controllers can be derived from this with the minimum of effort.
930 * ControlBibitem.[Ch]:
931 * ControlBibtex.[Ch]:
932 * ControlCitation.[Ch]:
933 * ControlCommand.[Ch]: moved most code into ControlInset.
935 * lots of files. Moved protected stuff into private where possible.
938 * ControlInclude.[Ch]:
939 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
940 Include and Url popups, respectively.
943 * Makefile.am: associated changes.
945 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
947 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
950 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
952 * ControlCredits.C (getCredits): remove std:: qualifier for
955 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
957 * ControlCredits.C (getCredits): add std:: on vector
959 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
961 * ControlCredits.C: remove using that is only used once, use
962 std::ios instead of std::iosbase, add some annoying comments.
964 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
966 * lots of header files: improved explanatory notes.
968 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
969 ControlBase is now a class that only controls the interaction of the
970 View with the ButtonController.
972 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
973 to ControlConnectBase. The class controls the connection/disconnection
974 of signals from the LyX kernel and makes available the kernel (through
975 lv_) to daughter controller classes.
976 Moved out class ControlConnectInset to a new file ControlDialogs.h.
978 * ControlDialogs.h: new file. Contains the definition of two template
979 controller classes, ControlDialog and ControlInset (was
980 ControlConnectInset). ControlInset is a parent class for controllers
981 of inset-popups. ControlDialogs is the rather uninspired name for
982 the base class of all non-inset popups. (Eg, Document and Paragraph.)
983 ControlDialogs is reaching a state of maturity as several popups now use
984 it and its functionality becomes clear. ControlInset is still in a state
985 of flux. It is likely that functionality will be moved out of
986 ControlCommands and into it.
988 * GUI.h: new file. Moved all the template GUIXXX classes out of the
989 individual Controller header files and into one place. These classes
990 serve only as convenient wrappers to simplify code in the respective
991 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
993 * ControlCharacter.[Ch] (show, update, hide):
994 * ControlLog.[Ch] (show, update, hide):
995 * ControlVCLog.[Ch] (show, update, hide): moved back into
996 the ControlDialogs base class.
997 (setParams, clearParams): new methods containing controller-specific
998 code to set/reset the parameters manipulated by the view.
1000 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1002 (hide): calls clearParams.
1004 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1005 by ControlCommand::hide().
1007 * ControlCopyright.[Ch]:
1008 * ControlCredits.[Ch]: new files; controllers for the copyright and
1009 credits popups, respectively.
1011 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1013 * ControlCharacter.C: fix typo
1015 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ControlCharacter.[Ch]: new files; controller for the character popup.
1019 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1020 moved to new files helper_funcs.[Ch].
1022 * helper_funcs.[Ch]: new files. Some useful helper functions and
1025 * Makefile.am: added new files.
1027 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1029 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1031 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1035 Control log files, respectively.
1037 * Makefile.am: added new files.
1039 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1041 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1043 * Makefile.am: added ControlBibtex.[Ch].
1045 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1048 * ControlCitation.C: added "using SigC::slot" declaration.
1050 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1051 to FormCitation.C prior to the merger: "Do not put space between
1054 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1056 * several files: remove CXX_WORKING_NAMESPACES
1058 * ButtonController.h: noncopyable is in namespace boost
1059 * ButtonPolicies.h: ditto
1061 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1063 * Merging changes from BRANCH_MVC back into HEAD.
1065 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1067 * Makefile.am: add ControlBibitem.[Ch].
1069 * ControlBibitem.[Ch]: new files that together define the Controller
1070 for a Bibitem popup.
1072 * ControlCommand.h (c-tor): give kb_action a default value of
1075 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1077 * ControlCitation.[Ch]: moved search functions out of class.
1078 (bibkeysInfo): new method. Returns const reference to private data.
1079 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1082 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1084 * ControlCitation.[Ch]: added Search functions to the class,
1085 (shamelessly lifted from Marco's gnome code). I think that these would
1086 be better as helper functions outside the class, but this is a first
1089 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1091 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1093 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1094 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1095 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1096 implementation of FormCitation.
1098 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1100 * ButtonPolicies.h: add SMI_NOOP to enum.
1102 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1104 * ButtonController.C (input): add "optimising" if-statement. Actually,
1105 things don't work correctly without it...
1107 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1109 * ViewBase.h: remove #pragma directive
1111 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1114 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1118 * Makefile.am: added ButtonPolicies.[Ch]
1120 * ButtonController.[Ch]: ButtonController is split into
1121 ButtonControllerBase and a template ButtonController class. The base
1122 class no longer stores a pointer to a ButtonPolicy, but instead
1123 accesses the actual instantiation of the policy through a pure virtual
1124 method bp(). This method and the ButtonPolicy itself are instantiated
1125 in the templatised ButtonController class. This class is derived from
1126 the GUI-specific GUIBC class, meaning that the frontends know
1127 nothing about the actual policy decided upon by the controllers.
1129 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1130 Instead the actual instantiations are accessed through pure virtual
1131 methods view() and bc(). The daughter classes are responsible for the
1132 actual View and ButtonController.
1134 * ControlCitation.h: the templatised class GUICitation instantiates
1135 the methods view() and bc(). It also stores the instances of the
1136 View and ButtonController.
1138 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1140 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1141 also changed to ButtonController.
1144 * ControlConnections.[Ch]:
1145 * ControlCommand.[Ch]:
1146 * ControlCitation.[Ch]:
1147 * ViewBase.h: Changes associated with this.
1149 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1151 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1152 xforms/ButtonController class into a GUI-I class (here) and an
1153 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1155 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1156 from which all Dialog Controllers should be derived. the Controllers
1157 are GUI-independent, but are designed to control the behaviour of
1158 GUI-specific implementaions of each dialog.
1160 * ControlConnections.[Ch]: new files. Classes controlling the
1161 connections of buffer-independent, buffer-dependent and Inset dialogs
1162 with the LyX kernel.
1164 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1165 InsetCommand subset of insets.
1167 * ControlCitation.[Ch]: new files. The test specialisation! A
1168 controller for the Citation dialog.
1170 * ViewBase.h: new file. ViewBase is an abstract base class from which
1171 GUI-specific dialogs should be derived. The functionality that the GUIs
1172 must now implement is much reduced.