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 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * most files: ws cleanup
13 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
15 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
18 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
21 * ControlInclude.C: better error messages
23 2002-03-11 Herbert Voss <voss@lyx.org>
25 * biblio.C (parseBibTeX): fix another minibug with an
28 2002-03-10 Herbert Voss <voss@lyx.org>
30 * biblio.C (parseBibTeX): fix bug
31 (familyName): improve parsing
33 2002-03-09 Herbert Voss <voss@lyx.org>
35 * ControlGraphics.[Ch]: adding checkFilename() for testing
38 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
40 * ControlSendto.C (allFormats): fix a iterators are not pointers
43 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
45 * ControlShowFile.h: add a #include "LString.h"
47 2002-03-05 Herbert Voss <voss@lyx.org>
49 * biblio.C (getInfo): simplify if using paragraph layout
52 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
54 * biblio.C (getInfo): return the info field correctly if the key
56 (parseBibTeX): fix crash when data.find('=') returns string::npos.
58 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
60 * ControlForks.[Ch]: new files. A controller for the Forked Child
61 processes dialog, enabling the user to see what forked processes
62 are running, and, if he so desires, to kill them.
64 * GUI.h: add class GUIForks.
66 * Makefile.am: add ControlForks.[Ch].
68 * ControlGraphics.C (getParams): small change due to change in
71 2002-02-21 Herbert Voss <voss@lyx.org>
73 * biblio.C: fix bug with commentlines in a bibentry
75 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
77 * Makefile.am: simpler obj. file compile
79 2002-02-18 Herbert Voss <voss@lyx.org>
81 * ControlGraphics.[Ch]: remove help-file call
83 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
85 * helper_funcs.h: wrap the structs firster and seconder up in a
86 namespace to avoid clashes with those in lyxalgo,h.
88 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
89 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
91 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
93 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
96 change Systemcalls::System to Systemcalls::Wait and
97 No change of functionality, just reflects the stripped down Systemcalls
100 2002-02-06 Herbert Voss <voss@lyx.org>
102 * ControlGraphics.[C] (readBB): search also in
103 g'zipped files. If it is useful than PK and compress
104 should also be supported. use unzipFile() from
107 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
109 * ControlRef.C (getBufferName): new method to get a real buffer
112 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
114 * ControlTexInfo.[Ch]: Removed Help functions.
116 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
118 * ControlSpellchecker.C: clear any selection left
121 2002-02-01 Herbert Voss <voss@lyx.org>
123 * ControlGraphics.[C] (readBB): search only, if it is a
124 ".?ps" file and look for bb's at end of file
126 2002-01-30 Herbert Voss <voss@lyx.org>
128 * ControlGraphic.[C]: do not search the whole file, when
131 2002-01-29 Herbert Voss <voss@lyx.org>
133 * ControlGraphic.[C]: added a button for document path
134 when browsing -> bug 222
136 2002-01-27 Herbert Voss <voss@lyx.org>
138 * ControlGraphic.[Ch]: added support for Bounding Box, other
141 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
144 * ControlTexinfo.h: added #include "LString.h" where they belong.
146 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
149 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
151 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
153 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
156 2002-01-20 Herbert Voss <voss@perce.de>
158 * ControlInclude.[Ch]: better control of unexistings files
159 when entered without the browser
161 * ControlGraphic.C (Browse): add extension "ps" when browsing for
164 2002-01-19 Herbert Voss <voss@perce.de>
166 * biblio.C (getInfo): fix bug when no author is given
168 * biblio.C (parseBibTeX): change the parsing, so that
169 '#'-characters in a bibtex entry are no more a problem.
171 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
173 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
174 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
176 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
178 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
180 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
182 * ControlExternal.C (Browse): add a std:: qualifier
184 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
186 * ControlExternal.C (Browse): simplify to use browseRelFile
188 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
190 * ButtonController.tmpl: added // -*- C++ -*-
192 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
193 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
194 Needed in _one_ of the ControlCommand-derived classes only.
196 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
199 * ControlSearch.h: #include LString.h
201 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
203 * ButtonController.h: split into two. The definition remains in
204 ButtonController.h, the declaration is now in ButtonController.tmpl.
205 These template methods should be #included when the derived class is
206 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
207 and in the qt2 and gnome equivalents.
209 * ControlDialogs.h: removed. The definition of class ControlDialog is
210 now to be found in ControlDialog.h and the declaration of the methods
211 is in ControlDialog.tmpl. The two template instantiations are performed
212 in ControlDialog_impl.[Ch], new files also.
214 * ControlInset.h: split into two. The definition remains in
215 ControlInset.h, the declaration is now in ControlInset.tmpl.
216 These template methods should be #included derived class is
217 instantiated, in this case in 8 other .C files in this directory.
219 * ControlAboutlyx.[Ch]:
220 * ControlCharacter.[Ch]:
230 * ControlPreamble.[Ch]:
232 * ControlSearch.[Ch]:
233 * ControlShowFile.[Ch]:
234 * ControlSpellchecker.[Ch]:
235 * ControlTabularCreate.[Ch]:
236 * ControlTexinfo.[Ch]:
237 * ControlThesaurus.[Ch]:
238 * ControlVCLog.[Ch]: small changes associated with the above ones.
240 * GUI.h: #include the ButtonController and dialog controller files
241 here, rather than forward declare them. This is the correct place
244 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
245 Rename ControlDialogs.h as ControlDialog.h.
246 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
249 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
253 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
255 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
258 * ControlGraphics.C (Browse): remove overzealous shortcut
260 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
262 * FormMinipage.C (apply, update): MinipageParams::width renamed
263 as MinipageParams::pageWidth. InsetMinipage::width renamed
264 as InsetMinipage::pageWidth.
266 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * ButtonController.h (refreshReadOnly): use explicit typename
270 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
272 * helper_funcs.h (browseFile): add default empty button descriptions.
274 * ControlGraphics.C (Browse):
275 * ControlBibtex.C (Browse):
276 * ControlInclude.C (Browse): add shortcuts to directory buttons
278 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
280 * ControlThesaurus.h:
281 * ControlThesaurus.C: update to Aiksaurus 0.14
283 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
285 * ControlSpellchecker.C (clearParams): show the closing message
286 only if some words have been checked, thereby fixing
289 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
291 * ControlFloat.[Ch]: changes to prevent here definitely being used
294 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
296 * ControlThesaurus.h: do not include <config.h> in header files
298 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
300 * ControlToc.C: changes for floatlist
302 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
304 * ControlVCLog.C: use _()
306 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
311 2001-10-22 Juergen Vigna <jug@sad.it>
313 * ControlSpellchecker.C (clearParams): use the error_ message of the
314 speller_ if available when the spellchecker died.
315 (setParams): remove double error message display.
317 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
319 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
321 * helper_funcs.[Ch] (getLatexUnits): see above.
323 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
325 * ControlTexinfo.C (getContents): use the right file for .sty files
327 2001-10-10 Herbert Voss <voss@perce.de>
329 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
330 and some more stuff from FormTexinfo.C
332 * ControlShowFile.C: hiding the update-button
334 2001-10-09 Herbert Voss <voss@perce.de>
336 * ControlTexinfo.[Ch]: new files. Display information about the
337 installed texfiles (cls,sty,bst).
339 * ControlShowFile.[Ch]: new files. Display the contents of a file.
341 * GUI.h: added classes GUIShowFile and GUITexinfo.
343 * Makefile.am: modified appropriately.
345 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
347 * ControlAboutlyx.C (getVersion): use lyx_version and
348 lyx_release_date instead of old macros
350 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
352 * ControlSpellchecker.C (check): Behaves well now when the spell
353 library doesn't know a replacement to an incorrect word.
355 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
358 the correct place. Can now check spelling more than once!
360 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
362 * ControlSplash.[Ch]: removed.
364 * GUI.h: remove GUISplash class.
366 * ViewBase.h: remove ViewSplash class.
368 * Makefile.am: remove ControlSplash.[Ch].
370 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
372 * ControlButtons.h: add variable emergency_exit_. If set to true, the
373 view will be shut down.
376 * ControlInset.h: act on emergency_exit_.
378 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
379 speller fails to launch.
381 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
383 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
384 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
386 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
388 * ControlRef.h (disconnectOnApply): new method. Set to true.
389 Perhaps make this user-modifiable?
391 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
396 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
398 * ControlRef.C (getBufferList, getBufferNum): New methods
400 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
402 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
403 of the dialog when the Apply button is pressed. Defaults to false,
404 but can be overridden in the daughter classes.
406 * ControlCitation.h (disconnectOnApply): new method. Set to true.
407 Perhaps make this user-modifiable?
409 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
411 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
412 we have dialogs that update their contents when the buffer changes.
413 Rather embarassing, really!
415 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
417 * ControlSearch (replace): change semantics of replace to NOT move on
418 to the next instance of a word once the present instance has been
419 replaced unless we are replacing ALL instances of the word.
421 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
423 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
425 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
427 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
428 dialog, set all options to "reset", close the dialog, re-open it ->
429 the options are set incorrectly.
431 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
432 When Applying it's useful to know whether the dialog is about to close
433 or not (no point refreshing the display for example).
435 * ControlInset.C (apply): use isClosing.
437 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
440 * ControlDialogs.h: remove bc() hack, now fixed in
441 Qt2 frontend. use member dialog_built_ instead of shared
444 * ButtonController.h:
445 * ButtonPolicies.C: more debug info
447 * ButtonControllerBase.C: call refresh() when setting readOnly !
449 * GUI.h: External form has apply, use the right policy
451 * character.C: fix two off-by-one errors when latex font was removed
453 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlInset.h (apply): tentative fix for the press Apply multiple
456 times and get multiple new Insets problem.
458 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
460 * ControlCharacter.C: fix typo
464 * ControlInsets.C: make sure dialog is built before it is shown, so
465 it works properly the very first time it is shown
467 2001-08-20 Herbert Voss <voss@perce.de>
469 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
470 and styles. Added an option for "bibliography into toc"
472 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
474 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
475 LaTeX is no longer a font property.
477 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
479 * GUI.h: Button controller for Reference dialog changed to
480 NoRepeatedApplyReadOnlyPolicy.
482 * biblio.C (getInfo): output volume and number info. Move year to end
485 2001-08-09 Allan Rae <rae@lyx.org>
487 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
489 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
491 * helper_funcs.C (getVectorFromString): fixed small bug.
493 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
495 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
497 * ControlSpellchecker.C: check next word after insert in personal dict
499 2001-08-06 Juergen Vigna <jug@sad.it>
501 * ControlERT.[Ch]: new file
503 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
505 * ControlInset.h: const and non-const forms of params().
507 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
508 whitespace from either side of each item.
510 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
512 * ControlFloat.h: add a != operator for FloatParams.
513 Lars, how did you get this to compile!!!
515 * ControlMinipage.[Ch]: uncommented someone's commenting out of
516 operator != for MinipageParams. Who's changing stuff and not compiling?
518 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
520 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
523 * GUI.h: add class GUIFloat
525 * ControlFloat.[Ch]: new files
527 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
529 * ControlPrint.C: #include Lassert.h here.
531 2001-07-26 Baruch Even <baruch@lyx.org>
533 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
536 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
538 * ControlThesaurus.h:
539 * ControlThesaurus.C:
541 * Makefile.am: thesaurus support
543 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
546 * ControlInclude.C: implement ability to load file
548 2001-07-18 Juergen Vigna <jug@sad.it>
550 * ControlSearch.C (replace): changes to lyxfind.h function calls.
552 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
554 * biblio.C (getInfo): add a .c_str() to handle the usual
557 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
559 * ControlCitation.[Ch]: changes associated with adding natbib support.
560 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
561 New static variable citeStyles_.
563 * biblio.[Ch]: large internal rearrangement.
564 New public enum CiteStyle.
565 New public struct CitationStyle.
566 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
567 getNumericalStrings, getAuthorYearStrings
568 (simpleSearch, regexSearch): no longer publicly accessible.
570 * helper_funcs.C (getStringFromVector): bug fix.
572 2001-07-16 Baruch Even <baruch@lyx.org>
574 * ControlVCLog.h: Added Lsstream.h to includes.
576 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
578 * ControlSpellchecker.[Ch]: remove d-tor.
580 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
582 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
584 2001-07-16 Juergen Vigna <jug@sad.it>
586 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
587 compiled with USE_PSPELL) to be able to switch between ISpell and
590 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
592 Consistent use of Lsstream.h:
593 * ControlAboutlyx.[Ch] (getCredits):
594 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
596 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
598 * ControlCredits.[Ch]: removed
599 * ControlCopyright.[Ch]: removed
600 * ControlAboutlyx.[Ch]: added (replaces previous)
601 * GUI.h: removed credits and copyright added about lyx stuff
603 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
605 * ControlSpellchecker.C (getSuggestion):
606 (getWord): add std:: qualifier
608 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
610 * ControlSpellchecker.[Ch]: added
611 * ViewBase.h: added partialUpdate(int) member
612 * GUI.h: added spell stuff
614 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
616 * ControlExternal.C: (*it). -> it->
618 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
620 * ButtonController.h: move some included header files out of the
621 frontends and into here.
623 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
625 * ControlCharacter.C (c-tor): cosmetic name change of signal.
627 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
629 * *.[h]: added // -*- C++ -*-
630 * *.[C]: removed // -*- C++ -*-
632 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
633 activate Apply button.
634 (clearParams): removed.
635 font_ is now stored as a boost::scoped_ptr.
636 font_ is no longer deleted on hide(), so it's contents can now be used
637 by the Font button on the toolbar.
638 Lots of new methods so that the GUI can easily get the contents of
639 font_ when it update()s.
641 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
643 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
644 crash when the Font button on the Toolbar is pressed.
646 * GUI.h: change policy of Character button controller to
647 OkApplyCancelReadOnlyPolicy.
649 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * ControlToc.C (getContents): don't add anything to the list if it
652 is supposed to be empty.
654 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
656 * helper_funcs.C (getVectorFromString): bug fix.
658 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
661 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
662 from ButtonControllerBase::readOnly. Updates the state of the widgets
663 in the read-only list only when the read-only status of the document
665 (refresh): moved this stuff into refreshReadOnly.
667 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
669 * ControlPrint.C (c-tor):
670 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
672 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
675 * character.h: small clean-ups.
677 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
679 * ControlToc.C (getType): remove support for old float list.
681 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
683 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
684 * ControlGraphics.h: no longer include insetgraphicsParams.h
685 * ControlInset.h: no longer include LyXView.h
690 * ControlCharacter.C:
693 * ControlConnections.C:
694 * ControlCopyright.C:
706 * ControlTabularCreate.C:
708 * ControlVCLog.C: they're now in here!
710 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
712 * ButtonControllerBase.h: C++ mode, inherit privately from
714 * ButtonPolicies.h: ditto
716 * ButtonController.h: C++ mode, swap init order of restore_ and
719 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
721 * ControlTabularCreate.h:
722 * ControlTabularCreate.C: make dialogs use a pair of uints
726 * ControlVCLog.C: fill a stringstream with the log contents
729 * ControlExternal.C: from Angus, clone the new InsetExternal
732 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
734 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
735 and made more robust.
737 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
746 * ControlCopyright.C: include gettext.h
748 * ControlCharacter.C:
749 * character.C: include gettext.h and language.h
751 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
753 * ButtonController.h:
754 * ButtonControllerBase.h:
755 * ButtonControllerBase.C:
762 * ControlConnections.h:
768 * ViewBase.h: s/ControlButton/ControlButtons/
770 s/UndoAll/Restore/ + associated
772 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlToc.[Ch]: new files; a controller for the TOC popup.
777 * Makefile.am: associated changes with all of the above.
779 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
781 * ControlExternal.C: bug fixes. Can now apply changes to the inset
782 and edit, view, update the External Material correctly. I hope!
784 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
786 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
788 * BCTemplates.h: renamed as ButtonController.h
790 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
793 * ControlConnections.h: associated change in #include and class names.
795 * ControlExternal.[Ch]: new files; a controller for the External
799 * Makefile.am: associated changes with all of the above.
801 * ControlGraphics.[Ch]:
802 * ControlInclude.[Ch]:
805 (Browse): new method. Returns the results of a FileDialog browse.
807 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
808 (getVectorFromString): fixed bug.
810 * biblio.C (simpleSearch): cleaned up.
812 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
814 * A slight reworking of Baruch Even's ButtonController patch.
816 * BCTemplates.h: new file; all the templates for the ButtonController.
817 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
818 to the more generic setButtonLabel().
820 * ButtonController.[Ch]: renamed cancel_label and close_label as
821 cancel_label_ and close_label_.
823 * Makefile.am: added BCTemplates.h
825 2001-03-29 Juergen Vigna <jug@sad.it>
827 * ControlMinipage.C: removed widthp_ and all it's functions and changed
828 to use new %-lengths of LyXLength.
830 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
832 * ControlCitation.C (bibkeysInfo): removed Assert.
834 * ControlCopyright.h: moved GUICopyright into GUI.h
838 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
841 (setDaughterParams): a (by default empty) new method called in show().
850 * ControlUrl.h (clearDaughterParams): removed
852 * ControlMinipage.C (applyParamsToInset): update the view.
853 Added namespace minipage containing a helper function getUnits.
855 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
857 * ControlCharacter.[Ch]: moved out all the helper functions and the
858 enum into their own file.
859 * character.[Ch]: new files; contain the character helper functions,
860 now inside namespace character.
862 * ControlCitation.[Ch]: moved out all the helper functions and the
863 enums into their own file. Simplified interface.
864 * biblio.[Ch]: new files; contain the citation helper functions,
865 now inside namespace biblio. Will be of use also to an improved
868 * ControlGraphics.[Ch]:
869 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
870 popups, respectively.
873 * Makefile.am: associated changes.
875 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
877 * ControlMinipage.[Ch]:
878 * ControlPreamble.[Ch]:
880 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
881 and Print popups and Splash screen, respectively.
883 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
887 * Makefile.am: associated changes.
889 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
891 * ControlConnections.[Ch]: (docType): new method; returns the type
892 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
895 * ControlSearch.[Ch]:
896 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
897 Search and TabularCreate popups, respectively.
900 * Makefile.am: associated changes.
902 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
907 * ControlInset.h (apply): fix bug. Can now create new insets again.
909 * README: describe program flow.
911 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
913 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
915 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
917 * ControlDialogs.h: moved class ControlInset into its own file.
919 * ControlInset.h: new file. class ControlInset has been expanded to take
920 two template parameters, Inset and Params. Believe that all inset
921 controllers can be derived from this with the minimum of effort.
923 * ControlBibitem.[Ch]:
924 * ControlBibtex.[Ch]:
925 * ControlCitation.[Ch]:
926 * ControlCommand.[Ch]: moved most code into ControlInset.
928 * lots of files. Moved protected stuff into private where possible.
931 * ControlInclude.[Ch]:
932 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
933 Include and Url popups, respectively.
936 * Makefile.am: associated changes.
938 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
943 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
945 * ControlCredits.C (getCredits): remove std:: qualifier for
948 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
950 * ControlCredits.C (getCredits): add std:: on vector
952 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
954 * ControlCredits.C: remove using that is only used once, use
955 std::ios instead of std::iosbase, add some annoying comments.
957 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
959 * lots of header files: improved explanatory notes.
961 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
962 ControlBase is now a class that only controls the interaction of the
963 View with the ButtonController.
965 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
966 to ControlConnectBase. The class controls the connection/disconnection
967 of signals from the LyX kernel and makes available the kernel (through
968 lv_) to daughter controller classes.
969 Moved out class ControlConnectInset to a new file ControlDialogs.h.
971 * ControlDialogs.h: new file. Contains the definition of two template
972 controller classes, ControlDialog and ControlInset (was
973 ControlConnectInset). ControlInset is a parent class for controllers
974 of inset-popups. ControlDialogs is the rather uninspired name for
975 the base class of all non-inset popups. (Eg, Document and Paragraph.)
976 ControlDialogs is reaching a state of maturity as several popups now use
977 it and its functionality becomes clear. ControlInset is still in a state
978 of flux. It is likely that functionality will be moved out of
979 ControlCommands and into it.
981 * GUI.h: new file. Moved all the template GUIXXX classes out of the
982 individual Controller header files and into one place. These classes
983 serve only as convenient wrappers to simplify code in the respective
984 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
986 * ControlCharacter.[Ch] (show, update, hide):
987 * ControlLog.[Ch] (show, update, hide):
988 * ControlVCLog.[Ch] (show, update, hide): moved back into
989 the ControlDialogs base class.
990 (setParams, clearParams): new methods containing controller-specific
991 code to set/reset the parameters manipulated by the view.
993 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
995 (hide): calls clearParams.
997 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
998 by ControlCommand::hide().
1000 * ControlCopyright.[Ch]:
1001 * ControlCredits.[Ch]: new files; controllers for the copyright and
1002 credits popups, respectively.
1004 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1006 * ControlCharacter.C: fix typo
1008 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1010 * ControlCharacter.[Ch]: new files; controller for the character popup.
1012 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1013 moved to new files helper_funcs.[Ch].
1015 * helper_funcs.[Ch]: new files. Some useful helper functions and
1018 * Makefile.am: added new files.
1020 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1022 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1024 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1027 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1028 Control log files, respectively.
1030 * Makefile.am: added new files.
1032 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1036 * Makefile.am: added ControlBibtex.[Ch].
1038 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1041 * ControlCitation.C: added "using SigC::slot" declaration.
1043 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1044 to FormCitation.C prior to the merger: "Do not put space between
1047 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1049 * several files: remove CXX_WORKING_NAMESPACES
1051 * ButtonController.h: noncopyable is in namespace boost
1052 * ButtonPolicies.h: ditto
1054 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1056 * Merging changes from BRANCH_MVC back into HEAD.
1058 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1060 * Makefile.am: add ControlBibitem.[Ch].
1062 * ControlBibitem.[Ch]: new files that together define the Controller
1063 for a Bibitem popup.
1065 * ControlCommand.h (c-tor): give kb_action a default value of
1068 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1070 * ControlCitation.[Ch]: moved search functions out of class.
1071 (bibkeysInfo): new method. Returns const reference to private data.
1072 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1075 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlCitation.[Ch]: added Search functions to the class,
1078 (shamelessly lifted from Marco's gnome code). I think that these would
1079 be better as helper functions outside the class, but this is a first
1082 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1084 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1086 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1087 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1088 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1089 implementation of FormCitation.
1091 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1093 * ButtonPolicies.h: add SMI_NOOP to enum.
1095 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1097 * ButtonController.C (input): add "optimising" if-statement. Actually,
1098 things don't work correctly without it...
1100 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1102 * ViewBase.h: remove #pragma directive
1104 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1107 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1111 * Makefile.am: added ButtonPolicies.[Ch]
1113 * ButtonController.[Ch]: ButtonController is split into
1114 ButtonControllerBase and a template ButtonController class. The base
1115 class no longer stores a pointer to a ButtonPolicy, but instead
1116 accesses the actual instantiation of the policy through a pure virtual
1117 method bp(). This method and the ButtonPolicy itself are instantiated
1118 in the templatised ButtonController class. This class is derived from
1119 the GUI-specific GUIBC class, meaning that the frontends know
1120 nothing about the actual policy decided upon by the controllers.
1122 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1123 Instead the actual instantiations are accessed through pure virtual
1124 methods view() and bc(). The daughter classes are responsible for the
1125 actual View and ButtonController.
1127 * ControlCitation.h: the templatised class GUICitation instantiates
1128 the methods view() and bc(). It also stores the instances of the
1129 View and ButtonController.
1131 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1133 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1134 also changed to ButtonController.
1137 * ControlConnections.[Ch]:
1138 * ControlCommand.[Ch]:
1139 * ControlCitation.[Ch]:
1140 * ViewBase.h: Changes associated with this.
1142 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1145 xforms/ButtonController class into a GUI-I class (here) and an
1146 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1148 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1149 from which all Dialog Controllers should be derived. the Controllers
1150 are GUI-independent, but are designed to control the behaviour of
1151 GUI-specific implementaions of each dialog.
1153 * ControlConnections.[Ch]: new files. Classes controlling the
1154 connections of buffer-independent, buffer-dependent and Inset dialogs
1155 with the LyX kernel.
1157 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1158 InsetCommand subset of insets.
1160 * ControlCitation.[Ch]: new files. The test specialisation! A
1161 controller for the Citation dialog.
1163 * ViewBase.h: new file. ViewBase is an abstract base class from which
1164 GUI-specific dialogs should be derived. The functionality that the GUIs
1165 must now implement is much reduced.