1 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlBibtex.C (Browse):
4 * ControlGraphics.C (Browse):
5 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
7 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
9 * ControlGraphics.C (applyParamsToInset): pass filepath to
10 InsetGraphics::updateInset.
12 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14 * most files: ws cleanup
16 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
18 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
21 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
24 * ControlInclude.C: better error messages
26 2002-03-11 Herbert Voss <voss@lyx.org>
28 * biblio.C (parseBibTeX): fix another minibug with an
31 2002-03-10 Herbert Voss <voss@lyx.org>
33 * biblio.C (parseBibTeX): fix bug
34 (familyName): improve parsing
36 2002-03-09 Herbert Voss <voss@lyx.org>
38 * ControlGraphics.[Ch]: adding checkFilename() for testing
41 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * ControlSendto.C (allFormats): fix a iterators are not pointers
46 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
48 * ControlShowFile.h: add a #include "LString.h"
50 2002-03-05 Herbert Voss <voss@lyx.org>
52 * biblio.C (getInfo): simplify if using paragraph layout
55 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
57 * biblio.C (getInfo): return the info field correctly if the key
59 (parseBibTeX): fix crash when data.find('=') returns string::npos.
61 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
63 * ControlForks.[Ch]: new files. A controller for the Forked Child
64 processes dialog, enabling the user to see what forked processes
65 are running, and, if he so desires, to kill them.
67 * GUI.h: add class GUIForks.
69 * Makefile.am: add ControlForks.[Ch].
71 * ControlGraphics.C (getParams): small change due to change in
74 2002-02-21 Herbert Voss <voss@lyx.org>
76 * biblio.C: fix bug with commentlines in a bibentry
78 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * Makefile.am: simpler obj. file compile
82 2002-02-18 Herbert Voss <voss@lyx.org>
84 * ControlGraphics.[Ch]: remove help-file call
86 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
88 * helper_funcs.h: wrap the structs firster and seconder up in a
89 namespace to avoid clashes with those in lyxalgo,h.
91 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
92 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
94 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
99 change Systemcalls::System to Systemcalls::Wait and
100 No change of functionality, just reflects the stripped down Systemcalls
103 2002-02-06 Herbert Voss <voss@lyx.org>
105 * ControlGraphics.[C] (readBB): search also in
106 g'zipped files. If it is useful than PK and compress
107 should also be supported. use unzipFile() from
110 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
112 * ControlRef.C (getBufferName): new method to get a real buffer
115 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
117 * ControlTexInfo.[Ch]: Removed Help functions.
119 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
121 * ControlSpellchecker.C: clear any selection left
124 2002-02-01 Herbert Voss <voss@lyx.org>
126 * ControlGraphics.[C] (readBB): search only, if it is a
127 ".?ps" file and look for bb's at end of file
129 2002-01-30 Herbert Voss <voss@lyx.org>
131 * ControlGraphic.[C]: do not search the whole file, when
134 2002-01-29 Herbert Voss <voss@lyx.org>
136 * ControlGraphic.[C]: added a button for document path
137 when browsing -> bug 222
139 2002-01-27 Herbert Voss <voss@lyx.org>
141 * ControlGraphic.[Ch]: added support for Bounding Box, other
144 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
147 * ControlTexinfo.h: added #include "LString.h" where they belong.
149 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
152 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
154 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
156 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
159 2002-01-20 Herbert Voss <voss@perce.de>
161 * ControlInclude.[Ch]: better control of unexistings files
162 when entered without the browser
164 * ControlGraphic.C (Browse): add extension "ps" when browsing for
167 2002-01-19 Herbert Voss <voss@perce.de>
169 * biblio.C (getInfo): fix bug when no author is given
171 * biblio.C (parseBibTeX): change the parsing, so that
172 '#'-characters in a bibtex entry are no more a problem.
174 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
176 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
177 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
179 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
181 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
183 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
185 * ControlExternal.C (Browse): add a std:: qualifier
187 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
189 * ControlExternal.C (Browse): simplify to use browseRelFile
191 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
193 * ButtonController.tmpl: added // -*- C++ -*-
195 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
196 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
197 Needed in _one_ of the ControlCommand-derived classes only.
199 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
202 * ControlSearch.h: #include LString.h
204 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
206 * ButtonController.h: split into two. The definition remains in
207 ButtonController.h, the declaration is now in ButtonController.tmpl.
208 These template methods should be #included when the derived class is
209 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
210 and in the qt2 and gnome equivalents.
212 * ControlDialogs.h: removed. The definition of class ControlDialog is
213 now to be found in ControlDialog.h and the declaration of the methods
214 is in ControlDialog.tmpl. The two template instantiations are performed
215 in ControlDialog_impl.[Ch], new files also.
217 * ControlInset.h: split into two. The definition remains in
218 ControlInset.h, the declaration is now in ControlInset.tmpl.
219 These template methods should be #included derived class is
220 instantiated, in this case in 8 other .C files in this directory.
222 * ControlAboutlyx.[Ch]:
223 * ControlCharacter.[Ch]:
233 * ControlPreamble.[Ch]:
235 * ControlSearch.[Ch]:
236 * ControlShowFile.[Ch]:
237 * ControlSpellchecker.[Ch]:
238 * ControlTabularCreate.[Ch]:
239 * ControlTexinfo.[Ch]:
240 * ControlThesaurus.[Ch]:
241 * ControlVCLog.[Ch]: small changes associated with the above ones.
243 * GUI.h: #include the ButtonController and dialog controller files
244 here, rather than forward declare them. This is the correct place
247 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
248 Rename ControlDialogs.h as ControlDialog.h.
249 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
252 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
254 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
256 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
261 * ControlGraphics.C (Browse): remove overzealous shortcut
263 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
265 * FormMinipage.C (apply, update): MinipageParams::width renamed
266 as MinipageParams::pageWidth. InsetMinipage::width renamed
267 as InsetMinipage::pageWidth.
269 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
271 * ButtonController.h (refreshReadOnly): use explicit typename
273 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
275 * helper_funcs.h (browseFile): add default empty button descriptions.
277 * ControlGraphics.C (Browse):
278 * ControlBibtex.C (Browse):
279 * ControlInclude.C (Browse): add shortcuts to directory buttons
281 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
283 * ControlThesaurus.h:
284 * ControlThesaurus.C: update to Aiksaurus 0.14
286 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
288 * ControlSpellchecker.C (clearParams): show the closing message
289 only if some words have been checked, thereby fixing
292 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
294 * ControlFloat.[Ch]: changes to prevent here definitely being used
297 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * ControlThesaurus.h: do not include <config.h> in header files
301 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
303 * ControlToc.C: changes for floatlist
305 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
307 * ControlVCLog.C: use _()
309 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
311 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
314 2001-10-22 Juergen Vigna <jug@sad.it>
316 * ControlSpellchecker.C (clearParams): use the error_ message of the
317 speller_ if available when the spellchecker died.
318 (setParams): remove double error message display.
320 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
322 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
324 * helper_funcs.[Ch] (getLatexUnits): see above.
326 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
328 * ControlTexinfo.C (getContents): use the right file for .sty files
330 2001-10-10 Herbert Voss <voss@perce.de>
332 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
333 and some more stuff from FormTexinfo.C
335 * ControlShowFile.C: hiding the update-button
337 2001-10-09 Herbert Voss <voss@perce.de>
339 * ControlTexinfo.[Ch]: new files. Display information about the
340 installed texfiles (cls,sty,bst).
342 * ControlShowFile.[Ch]: new files. Display the contents of a file.
344 * GUI.h: added classes GUIShowFile and GUITexinfo.
346 * Makefile.am: modified appropriately.
348 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
350 * ControlAboutlyx.C (getVersion): use lyx_version and
351 lyx_release_date instead of old macros
353 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
355 * ControlSpellchecker.C (check): Behaves well now when the spell
356 library doesn't know a replacement to an incorrect word.
358 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
361 the correct place. Can now check spelling more than once!
363 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlSplash.[Ch]: removed.
367 * GUI.h: remove GUISplash class.
369 * ViewBase.h: remove ViewSplash class.
371 * Makefile.am: remove ControlSplash.[Ch].
373 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlButtons.h: add variable emergency_exit_. If set to true, the
376 view will be shut down.
379 * ControlInset.h: act on emergency_exit_.
381 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
382 speller fails to launch.
384 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
386 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
387 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
389 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
391 * ControlRef.h (disconnectOnApply): new method. Set to true.
392 Perhaps make this user-modifiable?
394 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
399 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
401 * ControlRef.C (getBufferList, getBufferNum): New methods
403 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
405 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
406 of the dialog when the Apply button is pressed. Defaults to false,
407 but can be overridden in the daughter classes.
409 * ControlCitation.h (disconnectOnApply): new method. Set to true.
410 Perhaps make this user-modifiable?
412 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
414 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
415 we have dialogs that update their contents when the buffer changes.
416 Rather embarassing, really!
418 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlSearch (replace): change semantics of replace to NOT move on
421 to the next instance of a word once the present instance has been
422 replaced unless we are replacing ALL instances of the word.
424 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
426 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
428 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
430 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
431 dialog, set all options to "reset", close the dialog, re-open it ->
432 the options are set incorrectly.
434 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
435 When Applying it's useful to know whether the dialog is about to close
436 or not (no point refreshing the display for example).
438 * ControlInset.C (apply): use isClosing.
440 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
443 * ControlDialogs.h: remove bc() hack, now fixed in
444 Qt2 frontend. use member dialog_built_ instead of shared
447 * ButtonController.h:
448 * ButtonPolicies.C: more debug info
450 * ButtonControllerBase.C: call refresh() when setting readOnly !
452 * GUI.h: External form has apply, use the right policy
454 * character.C: fix two off-by-one errors when latex font was removed
456 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
458 * ControlInset.h (apply): tentative fix for the press Apply multiple
459 times and get multiple new Insets problem.
461 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
463 * ControlCharacter.C: fix typo
467 * ControlInsets.C: make sure dialog is built before it is shown, so
468 it works properly the very first time it is shown
470 2001-08-20 Herbert Voss <voss@perce.de>
472 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
473 and styles. Added an option for "bibliography into toc"
475 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
477 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
478 LaTeX is no longer a font property.
480 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
482 * GUI.h: Button controller for Reference dialog changed to
483 NoRepeatedApplyReadOnlyPolicy.
485 * biblio.C (getInfo): output volume and number info. Move year to end
488 2001-08-09 Allan Rae <rae@lyx.org>
490 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
492 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
494 * helper_funcs.C (getVectorFromString): fixed small bug.
496 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
498 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
500 * ControlSpellchecker.C: check next word after insert in personal dict
502 2001-08-06 Juergen Vigna <jug@sad.it>
504 * ControlERT.[Ch]: new file
506 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
508 * ControlInset.h: const and non-const forms of params().
510 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
511 whitespace from either side of each item.
513 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
515 * ControlFloat.h: add a != operator for FloatParams.
516 Lars, how did you get this to compile!!!
518 * ControlMinipage.[Ch]: uncommented someone's commenting out of
519 operator != for MinipageParams. Who's changing stuff and not compiling?
521 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
523 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
526 * GUI.h: add class GUIFloat
528 * ControlFloat.[Ch]: new files
530 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
532 * ControlPrint.C: #include Lassert.h here.
534 2001-07-26 Baruch Even <baruch@lyx.org>
536 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
539 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
541 * ControlThesaurus.h:
542 * ControlThesaurus.C:
544 * Makefile.am: thesaurus support
546 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
549 * ControlInclude.C: implement ability to load file
551 2001-07-18 Juergen Vigna <jug@sad.it>
553 * ControlSearch.C (replace): changes to lyxfind.h function calls.
555 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * biblio.C (getInfo): add a .c_str() to handle the usual
560 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
562 * ControlCitation.[Ch]: changes associated with adding natbib support.
563 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
564 New static variable citeStyles_.
566 * biblio.[Ch]: large internal rearrangement.
567 New public enum CiteStyle.
568 New public struct CitationStyle.
569 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
570 getNumericalStrings, getAuthorYearStrings
571 (simpleSearch, regexSearch): no longer publicly accessible.
573 * helper_funcs.C (getStringFromVector): bug fix.
575 2001-07-16 Baruch Even <baruch@lyx.org>
577 * ControlVCLog.h: Added Lsstream.h to includes.
579 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
581 * ControlSpellchecker.[Ch]: remove d-tor.
583 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
585 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
587 2001-07-16 Juergen Vigna <jug@sad.it>
589 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
590 compiled with USE_PSPELL) to be able to switch between ISpell and
593 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
595 Consistent use of Lsstream.h:
596 * ControlAboutlyx.[Ch] (getCredits):
597 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
599 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
601 * ControlCredits.[Ch]: removed
602 * ControlCopyright.[Ch]: removed
603 * ControlAboutlyx.[Ch]: added (replaces previous)
604 * GUI.h: removed credits and copyright added about lyx stuff
606 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * ControlSpellchecker.C (getSuggestion):
609 (getWord): add std:: qualifier
611 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
613 * ControlSpellchecker.[Ch]: added
614 * ViewBase.h: added partialUpdate(int) member
615 * GUI.h: added spell stuff
617 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * ControlExternal.C: (*it). -> it->
621 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
623 * ButtonController.h: move some included header files out of the
624 frontends and into here.
626 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
628 * ControlCharacter.C (c-tor): cosmetic name change of signal.
630 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
632 * *.[h]: added // -*- C++ -*-
633 * *.[C]: removed // -*- C++ -*-
635 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
636 activate Apply button.
637 (clearParams): removed.
638 font_ is now stored as a boost::scoped_ptr.
639 font_ is no longer deleted on hide(), so it's contents can now be used
640 by the Font button on the toolbar.
641 Lots of new methods so that the GUI can easily get the contents of
642 font_ when it update()s.
644 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
646 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
647 crash when the Font button on the Toolbar is pressed.
649 * GUI.h: change policy of Character button controller to
650 OkApplyCancelReadOnlyPolicy.
652 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * ControlToc.C (getContents): don't add anything to the list if it
655 is supposed to be empty.
657 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
659 * helper_funcs.C (getVectorFromString): bug fix.
661 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
664 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
665 from ButtonControllerBase::readOnly. Updates the state of the widgets
666 in the read-only list only when the read-only status of the document
668 (refresh): moved this stuff into refreshReadOnly.
670 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
672 * ControlPrint.C (c-tor):
673 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
675 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
678 * character.h: small clean-ups.
680 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
682 * ControlToc.C (getType): remove support for old float list.
684 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
686 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
687 * ControlGraphics.h: no longer include insetgraphicsParams.h
688 * ControlInset.h: no longer include LyXView.h
693 * ControlCharacter.C:
696 * ControlConnections.C:
697 * ControlCopyright.C:
709 * ControlTabularCreate.C:
711 * ControlVCLog.C: they're now in here!
713 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
715 * ButtonControllerBase.h: C++ mode, inherit privately from
717 * ButtonPolicies.h: ditto
719 * ButtonController.h: C++ mode, swap init order of restore_ and
722 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
724 * ControlTabularCreate.h:
725 * ControlTabularCreate.C: make dialogs use a pair of uints
729 * ControlVCLog.C: fill a stringstream with the log contents
732 * ControlExternal.C: from Angus, clone the new InsetExternal
735 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
737 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
738 and made more robust.
740 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
749 * ControlCopyright.C: include gettext.h
751 * ControlCharacter.C:
752 * character.C: include gettext.h and language.h
754 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
756 * ButtonController.h:
757 * ButtonControllerBase.h:
758 * ButtonControllerBase.C:
765 * ControlConnections.h:
771 * ViewBase.h: s/ControlButton/ControlButtons/
773 s/UndoAll/Restore/ + associated
775 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
777 * ControlToc.[Ch]: new files; a controller for the TOC popup.
780 * Makefile.am: associated changes with all of the above.
782 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
784 * ControlExternal.C: bug fixes. Can now apply changes to the inset
785 and edit, view, update the External Material correctly. I hope!
787 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
789 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
791 * BCTemplates.h: renamed as ButtonController.h
793 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
796 * ControlConnections.h: associated change in #include and class names.
798 * ControlExternal.[Ch]: new files; a controller for the External
802 * Makefile.am: associated changes with all of the above.
804 * ControlGraphics.[Ch]:
805 * ControlInclude.[Ch]:
808 (Browse): new method. Returns the results of a FileDialog browse.
810 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
811 (getVectorFromString): fixed bug.
813 * biblio.C (simpleSearch): cleaned up.
815 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
817 * A slight reworking of Baruch Even's ButtonController patch.
819 * BCTemplates.h: new file; all the templates for the ButtonController.
820 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
821 to the more generic setButtonLabel().
823 * ButtonController.[Ch]: renamed cancel_label and close_label as
824 cancel_label_ and close_label_.
826 * Makefile.am: added BCTemplates.h
828 2001-03-29 Juergen Vigna <jug@sad.it>
830 * ControlMinipage.C: removed widthp_ and all it's functions and changed
831 to use new %-lengths of LyXLength.
833 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlCitation.C (bibkeysInfo): removed Assert.
837 * ControlCopyright.h: moved GUICopyright into GUI.h
841 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
843 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
844 (setDaughterParams): a (by default empty) new method called in show().
853 * ControlUrl.h (clearDaughterParams): removed
855 * ControlMinipage.C (applyParamsToInset): update the view.
856 Added namespace minipage containing a helper function getUnits.
858 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
860 * ControlCharacter.[Ch]: moved out all the helper functions and the
861 enum into their own file.
862 * character.[Ch]: new files; contain the character helper functions,
863 now inside namespace character.
865 * ControlCitation.[Ch]: moved out all the helper functions and the
866 enums into their own file. Simplified interface.
867 * biblio.[Ch]: new files; contain the citation helper functions,
868 now inside namespace biblio. Will be of use also to an improved
871 * ControlGraphics.[Ch]:
872 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
873 popups, respectively.
876 * Makefile.am: associated changes.
878 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
880 * ControlMinipage.[Ch]:
881 * ControlPreamble.[Ch]:
883 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
884 and Print popups and Splash screen, respectively.
886 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
890 * Makefile.am: associated changes.
892 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
894 * ControlConnections.[Ch]: (docType): new method; returns the type
895 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
898 * ControlSearch.[Ch]:
899 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
900 Search and TabularCreate popups, respectively.
903 * Makefile.am: associated changes.
905 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
907 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
910 * ControlInset.h (apply): fix bug. Can now create new insets again.
912 * README: describe program flow.
914 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
916 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
918 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
920 * ControlDialogs.h: moved class ControlInset into its own file.
922 * ControlInset.h: new file. class ControlInset has been expanded to take
923 two template parameters, Inset and Params. Believe that all inset
924 controllers can be derived from this with the minimum of effort.
926 * ControlBibitem.[Ch]:
927 * ControlBibtex.[Ch]:
928 * ControlCitation.[Ch]:
929 * ControlCommand.[Ch]: moved most code into ControlInset.
931 * lots of files. Moved protected stuff into private where possible.
934 * ControlInclude.[Ch]:
935 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
936 Include and Url popups, respectively.
939 * Makefile.am: associated changes.
941 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
943 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
946 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
948 * ControlCredits.C (getCredits): remove std:: qualifier for
951 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
953 * ControlCredits.C (getCredits): add std:: on vector
955 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
957 * ControlCredits.C: remove using that is only used once, use
958 std::ios instead of std::iosbase, add some annoying comments.
960 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
962 * lots of header files: improved explanatory notes.
964 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
965 ControlBase is now a class that only controls the interaction of the
966 View with the ButtonController.
968 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
969 to ControlConnectBase. The class controls the connection/disconnection
970 of signals from the LyX kernel and makes available the kernel (through
971 lv_) to daughter controller classes.
972 Moved out class ControlConnectInset to a new file ControlDialogs.h.
974 * ControlDialogs.h: new file. Contains the definition of two template
975 controller classes, ControlDialog and ControlInset (was
976 ControlConnectInset). ControlInset is a parent class for controllers
977 of inset-popups. ControlDialogs is the rather uninspired name for
978 the base class of all non-inset popups. (Eg, Document and Paragraph.)
979 ControlDialogs is reaching a state of maturity as several popups now use
980 it and its functionality becomes clear. ControlInset is still in a state
981 of flux. It is likely that functionality will be moved out of
982 ControlCommands and into it.
984 * GUI.h: new file. Moved all the template GUIXXX classes out of the
985 individual Controller header files and into one place. These classes
986 serve only as convenient wrappers to simplify code in the respective
987 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
989 * ControlCharacter.[Ch] (show, update, hide):
990 * ControlLog.[Ch] (show, update, hide):
991 * ControlVCLog.[Ch] (show, update, hide): moved back into
992 the ControlDialogs base class.
993 (setParams, clearParams): new methods containing controller-specific
994 code to set/reset the parameters manipulated by the view.
996 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
998 (hide): calls clearParams.
1000 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1001 by ControlCommand::hide().
1003 * ControlCopyright.[Ch]:
1004 * ControlCredits.[Ch]: new files; controllers for the copyright and
1005 credits popups, respectively.
1007 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1009 * ControlCharacter.C: fix typo
1011 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlCharacter.[Ch]: new files; controller for the character popup.
1015 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1016 moved to new files helper_funcs.[Ch].
1018 * helper_funcs.[Ch]: new files. Some useful helper functions and
1021 * Makefile.am: added new files.
1023 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1025 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1027 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1030 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1031 Control log files, respectively.
1033 * Makefile.am: added new files.
1035 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1037 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1039 * Makefile.am: added ControlBibtex.[Ch].
1041 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1044 * ControlCitation.C: added "using SigC::slot" declaration.
1046 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1047 to FormCitation.C prior to the merger: "Do not put space between
1050 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1052 * several files: remove CXX_WORKING_NAMESPACES
1054 * ButtonController.h: noncopyable is in namespace boost
1055 * ButtonPolicies.h: ditto
1057 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1059 * Merging changes from BRANCH_MVC back into HEAD.
1061 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1063 * Makefile.am: add ControlBibitem.[Ch].
1065 * ControlBibitem.[Ch]: new files that together define the Controller
1066 for a Bibitem popup.
1068 * ControlCommand.h (c-tor): give kb_action a default value of
1071 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1073 * ControlCitation.[Ch]: moved search functions out of class.
1074 (bibkeysInfo): new method. Returns const reference to private data.
1075 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1078 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1080 * ControlCitation.[Ch]: added Search functions to the class,
1081 (shamelessly lifted from Marco's gnome code). I think that these would
1082 be better as helper functions outside the class, but this is a first
1085 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1089 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1090 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1091 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1092 implementation of FormCitation.
1094 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1096 * ButtonPolicies.h: add SMI_NOOP to enum.
1098 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1100 * ButtonController.C (input): add "optimising" if-statement. Actually,
1101 things don't work correctly without it...
1103 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1105 * ViewBase.h: remove #pragma directive
1107 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1110 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1112 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1114 * Makefile.am: added ButtonPolicies.[Ch]
1116 * ButtonController.[Ch]: ButtonController is split into
1117 ButtonControllerBase and a template ButtonController class. The base
1118 class no longer stores a pointer to a ButtonPolicy, but instead
1119 accesses the actual instantiation of the policy through a pure virtual
1120 method bp(). This method and the ButtonPolicy itself are instantiated
1121 in the templatised ButtonController class. This class is derived from
1122 the GUI-specific GUIBC class, meaning that the frontends know
1123 nothing about the actual policy decided upon by the controllers.
1125 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1126 Instead the actual instantiations are accessed through pure virtual
1127 methods view() and bc(). The daughter classes are responsible for the
1128 actual View and ButtonController.
1130 * ControlCitation.h: the templatised class GUICitation instantiates
1131 the methods view() and bc(). It also stores the instances of the
1132 View and ButtonController.
1134 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1137 also changed to ButtonController.
1140 * ControlConnections.[Ch]:
1141 * ControlCommand.[Ch]:
1142 * ControlCitation.[Ch]:
1143 * ViewBase.h: Changes associated with this.
1145 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1147 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1148 xforms/ButtonController class into a GUI-I class (here) and an
1149 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1151 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1152 from which all Dialog Controllers should be derived. the Controllers
1153 are GUI-independent, but are designed to control the behaviour of
1154 GUI-specific implementaions of each dialog.
1156 * ControlConnections.[Ch]: new files. Classes controlling the
1157 connections of buffer-independent, buffer-dependent and Inset dialogs
1158 with the LyX kernel.
1160 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1161 InsetCommand subset of insets.
1163 * ControlCitation.[Ch]: new files. The test specialisation! A
1164 controller for the Citation dialog.
1166 * ViewBase.h: new file. ViewBase is an abstract base class from which
1167 GUI-specific dialogs should be derived. The functionality that the GUIs
1168 must now implement is much reduced.