1 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlForks.[Ch]: new files. A controller for the Forked Child
4 processes dialog, enabling the user to see what forked processes
5 are running, and, if he so desires, to kill them.
7 * GUI.h: add class GUIForks.
9 * Makefile.am: add ControlForks.[Ch].
11 * ControlGraphics.C (getParams): small change due to change in
14 2002-02-21 Herbert Voss <voss@lyx.org>
16 * biblio.C: fix bug with commentlines in a bibentry
18 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
20 * Makefile.am: simpler obj. file compile
22 2002-02-18 Herbert Voss <voss@lyx.org>
24 * ControlGraphics.[Ch]: remove help-file call
26 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
28 * helper_funcs.h: wrap the structs firster and seconder up in a
29 namespace to avoid clashes with those in lyxalgo,h.
31 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
32 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
34 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
36 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
39 change Systemcalls::System to Systemcalls::Wait and
40 No change of functionality, just reflects the stripped down Systemcalls
43 2002-02-06 Herbert Voss <voss@lyx.org>
45 * ControlGraphics.[C] (readBB): search also in
46 g'zipped files. If it is useful than PK and compress
47 should also be supported. use unzipFile() from
50 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
52 * ControlRef.C (getBufferName): new method to get a real buffer
55 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
57 * ControlTexInfo.[Ch]: Removed Help functions.
59 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
61 * ControlSpellchecker.C: clear any selection left
64 2002-02-01 Herbert Voss <voss@lyx.org>
66 * ControlGraphics.[C] (readBB): search only, if it is a
67 ".?ps" file and look for bb's at end of file
69 2002-01-30 Herbert Voss <voss@lyx.org>
71 * ControlGraphic.[C]: do not search the whole file, when
74 2002-01-29 Herbert Voss <voss@lyx.org>
76 * ControlGraphic.[C]: added a button for document path
77 when browsing -> bug 222
79 2002-01-27 Herbert Voss <voss@lyx.org>
81 * ControlGraphic.[Ch]: added support for Bounding Box, other
84 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
87 * ControlTexinfo.h: added #include "LString.h" where they belong.
89 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
92 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
94 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
96 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
99 2002-01-20 Herbert Voss <voss@perce.de>
101 * ControlInclude.[Ch]: better control of unexistings files
102 when entered without the browser
104 * ControlGraphic.C (Browse): add extension "ps" when browsing for
107 2002-01-19 Herbert Voss <voss@perce.de>
109 * biblio.C (getInfo): fix bug when no author is given
111 * biblio.C (parseBibTeX): change the parsing, so that
112 '#'-characters in a bibtex entry are no more a problem.
114 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
117 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
119 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
121 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
123 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
125 * ControlExternal.C (Browse): add a std:: qualifier
127 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
129 * ControlExternal.C (Browse): simplify to use browseRelFile
131 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
133 * ButtonController.tmpl: added // -*- C++ -*-
135 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
136 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
137 Needed in _one_ of the ControlCommand-derived classes only.
139 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
142 * ControlSearch.h: #include LString.h
144 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
146 * ButtonController.h: split into two. The definition remains in
147 ButtonController.h, the declaration is now in ButtonController.tmpl.
148 These template methods should be #included when the derived class is
149 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
150 and in the qt2 and gnome equivalents.
152 * ControlDialogs.h: removed. The definition of class ControlDialog is
153 now to be found in ControlDialog.h and the declaration of the methods
154 is in ControlDialog.tmpl. The two template instantiations are performed
155 in ControlDialog_impl.[Ch], new files also.
157 * ControlInset.h: split into two. The definition remains in
158 ControlInset.h, the declaration is now in ControlInset.tmpl.
159 These template methods should be #included derived class is
160 instantiated, in this case in 8 other .C files in this directory.
162 * ControlAboutlyx.[Ch]:
163 * ControlCharacter.[Ch]:
173 * ControlPreamble.[Ch]:
175 * ControlSearch.[Ch]:
176 * ControlShowFile.[Ch]:
177 * ControlSpellchecker.[Ch]:
178 * ControlTabularCreate.[Ch]:
179 * ControlTexinfo.[Ch]:
180 * ControlThesaurus.[Ch]:
181 * ControlVCLog.[Ch]: small changes associated with the above ones.
183 * GUI.h: #include the ButtonController and dialog controller files
184 here, rather than forward declare them. This is the correct place
187 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
188 Rename ControlDialogs.h as ControlDialog.h.
189 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
192 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
194 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
196 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
198 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
201 * ControlGraphics.C (Browse): remove overzealous shortcut
203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
205 * FormMinipage.C (apply, update): MinipageParams::width renamed
206 as MinipageParams::pageWidth. InsetMinipage::width renamed
207 as InsetMinipage::pageWidth.
209 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
211 * ButtonController.h (refreshReadOnly): use explicit typename
213 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
215 * helper_funcs.h (browseFile): add default empty button descriptions.
217 * ControlGraphics.C (Browse):
218 * ControlBibtex.C (Browse):
219 * ControlInclude.C (Browse): add shortcuts to directory buttons
221 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
223 * ControlThesaurus.h:
224 * ControlThesaurus.C: update to Aiksaurus 0.14
226 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
228 * ControlSpellchecker.C (clearParams): show the closing message
229 only if some words have been checked, thereby fixing
232 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
234 * ControlFloat.[Ch]: changes to prevent here definitely being used
237 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
239 * ControlThesaurus.h: do not include <config.h> in header files
241 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
243 * ControlToc.C: changes for floatlist
245 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
247 * ControlVCLog.C: use _()
249 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
254 2001-10-22 Juergen Vigna <jug@sad.it>
256 * ControlSpellchecker.C (clearParams): use the error_ message of the
257 speller_ if available when the spellchecker died.
258 (setParams): remove double error message display.
260 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
262 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
264 * helper_funcs.[Ch] (getLatexUnits): see above.
266 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
268 * ControlTexinfo.C (getContents): use the right file for .sty files
270 2001-10-10 Herbert Voss <voss@perce.de>
272 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
273 and some more stuff from FormTexinfo.C
275 * ControlShowFile.C: hiding the update-button
277 2001-10-09 Herbert Voss <voss@perce.de>
279 * ControlTexinfo.[Ch]: new files. Display information about the
280 installed texfiles (cls,sty,bst).
282 * ControlShowFile.[Ch]: new files. Display the contents of a file.
284 * GUI.h: added classes GUIShowFile and GUITexinfo.
286 * Makefile.am: modified appropriately.
288 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
290 * ControlAboutlyx.C (getVersion): use lyx_version and
291 lyx_release_date instead of old macros
293 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
295 * ControlSpellchecker.C (check): Behaves well now when the spell
296 library doesn't know a replacement to an incorrect word.
298 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
300 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
301 the correct place. Can now check spelling more than once!
303 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
305 * ControlSplash.[Ch]: removed.
307 * GUI.h: remove GUISplash class.
309 * ViewBase.h: remove ViewSplash class.
311 * Makefile.am: remove ControlSplash.[Ch].
313 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
315 * ControlButtons.h: add variable emergency_exit_. If set to true, the
316 view will be shut down.
319 * ControlInset.h: act on emergency_exit_.
321 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
322 speller fails to launch.
324 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
326 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
327 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
329 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
331 * ControlRef.h (disconnectOnApply): new method. Set to true.
332 Perhaps make this user-modifiable?
334 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
339 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
341 * ControlRef.C (getBufferList, getBufferNum): New methods
343 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
346 of the dialog when the Apply button is pressed. Defaults to false,
347 but can be overridden in the daughter classes.
349 * ControlCitation.h (disconnectOnApply): new method. Set to true.
350 Perhaps make this user-modifiable?
352 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
355 we have dialogs that update their contents when the buffer changes.
356 Rather embarassing, really!
358 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlSearch (replace): change semantics of replace to NOT move on
361 to the next instance of a word once the present instance has been
362 replaced unless we are replacing ALL instances of the word.
364 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
366 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
368 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
370 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
371 dialog, set all options to "reset", close the dialog, re-open it ->
372 the options are set incorrectly.
374 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
375 When Applying it's useful to know whether the dialog is about to close
376 or not (no point refreshing the display for example).
378 * ControlInset.C (apply): use isClosing.
380 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
383 * ControlDialogs.h: remove bc() hack, now fixed in
384 Qt2 frontend. use member dialog_built_ instead of shared
387 * ButtonController.h:
388 * ButtonPolicies.C: more debug info
390 * ButtonControllerBase.C: call refresh() when setting readOnly !
392 * GUI.h: External form has apply, use the right policy
394 * character.C: fix two off-by-one errors when latex font was removed
396 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
398 * ControlInset.h (apply): tentative fix for the press Apply multiple
399 times and get multiple new Insets problem.
401 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
403 * ControlCharacter.C: fix typo
407 * ControlInsets.C: make sure dialog is built before it is shown, so
408 it works properly the very first time it is shown
410 2001-08-20 Herbert Voss <voss@perce.de>
412 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
413 and styles. Added an option for "bibliography into toc"
415 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
417 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
418 LaTeX is no longer a font property.
420 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
422 * GUI.h: Button controller for Reference dialog changed to
423 NoRepeatedApplyReadOnlyPolicy.
425 * biblio.C (getInfo): output volume and number info. Move year to end
428 2001-08-09 Allan Rae <rae@lyx.org>
430 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
432 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
434 * helper_funcs.C (getVectorFromString): fixed small bug.
436 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
438 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
440 * ControlSpellchecker.C: check next word after insert in personal dict
442 2001-08-06 Juergen Vigna <jug@sad.it>
444 * ControlERT.[Ch]: new file
446 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlInset.h: const and non-const forms of params().
450 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
451 whitespace from either side of each item.
453 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlFloat.h: add a != operator for FloatParams.
456 Lars, how did you get this to compile!!!
458 * ControlMinipage.[Ch]: uncommented someone's commenting out of
459 operator != for MinipageParams. Who's changing stuff and not compiling?
461 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
466 * GUI.h: add class GUIFloat
468 * ControlFloat.[Ch]: new files
470 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
472 * ControlPrint.C: #include Lassert.h here.
474 2001-07-26 Baruch Even <baruch@lyx.org>
476 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
479 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
481 * ControlThesaurus.h:
482 * ControlThesaurus.C:
484 * Makefile.am: thesaurus support
486 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
489 * ControlInclude.C: implement ability to load file
491 2001-07-18 Juergen Vigna <jug@sad.it>
493 * ControlSearch.C (replace): changes to lyxfind.h function calls.
495 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
497 * biblio.C (getInfo): add a .c_str() to handle the usual
500 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlCitation.[Ch]: changes associated with adding natbib support.
503 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
504 New static variable citeStyles_.
506 * biblio.[Ch]: large internal rearrangement.
507 New public enum CiteStyle.
508 New public struct CitationStyle.
509 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
510 getNumericalStrings, getAuthorYearStrings
511 (simpleSearch, regexSearch): no longer publicly accessible.
513 * helper_funcs.C (getStringFromVector): bug fix.
515 2001-07-16 Baruch Even <baruch@lyx.org>
517 * ControlVCLog.h: Added Lsstream.h to includes.
519 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
521 * ControlSpellchecker.[Ch]: remove d-tor.
523 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
525 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
527 2001-07-16 Juergen Vigna <jug@sad.it>
529 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
530 compiled with USE_PSPELL) to be able to switch between ISpell and
533 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
535 Consistent use of Lsstream.h:
536 * ControlAboutlyx.[Ch] (getCredits):
537 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
539 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
541 * ControlCredits.[Ch]: removed
542 * ControlCopyright.[Ch]: removed
543 * ControlAboutlyx.[Ch]: added (replaces previous)
544 * GUI.h: removed credits and copyright added about lyx stuff
546 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * ControlSpellchecker.C (getSuggestion):
549 (getWord): add std:: qualifier
551 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
553 * ControlSpellchecker.[Ch]: added
554 * ViewBase.h: added partialUpdate(int) member
555 * GUI.h: added spell stuff
557 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
559 * ControlExternal.C: (*it). -> it->
561 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
563 * ButtonController.h: move some included header files out of the
564 frontends and into here.
566 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlCharacter.C (c-tor): cosmetic name change of signal.
570 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
572 * *.[h]: added // -*- C++ -*-
573 * *.[C]: removed // -*- C++ -*-
575 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
576 activate Apply button.
577 (clearParams): removed.
578 font_ is now stored as a boost::scoped_ptr.
579 font_ is no longer deleted on hide(), so it's contents can now be used
580 by the Font button on the toolbar.
581 Lots of new methods so that the GUI can easily get the contents of
582 font_ when it update()s.
584 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
586 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
587 crash when the Font button on the Toolbar is pressed.
589 * GUI.h: change policy of Character button controller to
590 OkApplyCancelReadOnlyPolicy.
592 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * ControlToc.C (getContents): don't add anything to the list if it
595 is supposed to be empty.
597 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
599 * helper_funcs.C (getVectorFromString): bug fix.
601 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
604 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
605 from ButtonControllerBase::readOnly. Updates the state of the widgets
606 in the read-only list only when the read-only status of the document
608 (refresh): moved this stuff into refreshReadOnly.
610 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
612 * ControlPrint.C (c-tor):
613 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
615 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
618 * character.h: small clean-ups.
620 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * ControlToc.C (getType): remove support for old float list.
624 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
627 * ControlGraphics.h: no longer include insetgraphicsParams.h
628 * ControlInset.h: no longer include LyXView.h
633 * ControlCharacter.C:
636 * ControlConnections.C:
637 * ControlCopyright.C:
649 * ControlTabularCreate.C:
651 * ControlVCLog.C: they're now in here!
653 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * ButtonControllerBase.h: C++ mode, inherit privately from
657 * ButtonPolicies.h: ditto
659 * ButtonController.h: C++ mode, swap init order of restore_ and
662 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
664 * ControlTabularCreate.h:
665 * ControlTabularCreate.C: make dialogs use a pair of uints
669 * ControlVCLog.C: fill a stringstream with the log contents
672 * ControlExternal.C: from Angus, clone the new InsetExternal
675 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
677 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
678 and made more robust.
680 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
689 * ControlCopyright.C: include gettext.h
691 * ControlCharacter.C:
692 * character.C: include gettext.h and language.h
694 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
696 * ButtonController.h:
697 * ButtonControllerBase.h:
698 * ButtonControllerBase.C:
705 * ControlConnections.h:
711 * ViewBase.h: s/ControlButton/ControlButtons/
713 s/UndoAll/Restore/ + associated
715 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
717 * ControlToc.[Ch]: new files; a controller for the TOC popup.
720 * Makefile.am: associated changes with all of the above.
722 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
724 * ControlExternal.C: bug fixes. Can now apply changes to the inset
725 and edit, view, update the External Material correctly. I hope!
727 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
729 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
731 * BCTemplates.h: renamed as ButtonController.h
733 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
736 * ControlConnections.h: associated change in #include and class names.
738 * ControlExternal.[Ch]: new files; a controller for the External
742 * Makefile.am: associated changes with all of the above.
744 * ControlGraphics.[Ch]:
745 * ControlInclude.[Ch]:
748 (Browse): new method. Returns the results of a FileDialog browse.
750 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
751 (getVectorFromString): fixed bug.
753 * biblio.C (simpleSearch): cleaned up.
755 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
757 * A slight reworking of Baruch Even's ButtonController patch.
759 * BCTemplates.h: new file; all the templates for the ButtonController.
760 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
761 to the more generic setButtonLabel().
763 * ButtonController.[Ch]: renamed cancel_label and close_label as
764 cancel_label_ and close_label_.
766 * Makefile.am: added BCTemplates.h
768 2001-03-29 Juergen Vigna <jug@sad.it>
770 * ControlMinipage.C: removed widthp_ and all it's functions and changed
771 to use new %-lengths of LyXLength.
773 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
775 * ControlCitation.C (bibkeysInfo): removed Assert.
777 * ControlCopyright.h: moved GUICopyright into GUI.h
781 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
783 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
784 (setDaughterParams): a (by default empty) new method called in show().
793 * ControlUrl.h (clearDaughterParams): removed
795 * ControlMinipage.C (applyParamsToInset): update the view.
796 Added namespace minipage containing a helper function getUnits.
798 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
800 * ControlCharacter.[Ch]: moved out all the helper functions and the
801 enum into their own file.
802 * character.[Ch]: new files; contain the character helper functions,
803 now inside namespace character.
805 * ControlCitation.[Ch]: moved out all the helper functions and the
806 enums into their own file. Simplified interface.
807 * biblio.[Ch]: new files; contain the citation helper functions,
808 now inside namespace biblio. Will be of use also to an improved
811 * ControlGraphics.[Ch]:
812 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
813 popups, respectively.
816 * Makefile.am: associated changes.
818 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
820 * ControlMinipage.[Ch]:
821 * ControlPreamble.[Ch]:
823 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
824 and Print popups and Splash screen, respectively.
826 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
830 * Makefile.am: associated changes.
832 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
834 * ControlConnections.[Ch]: (docType): new method; returns the type
835 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
838 * ControlSearch.[Ch]:
839 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
840 Search and TabularCreate popups, respectively.
843 * Makefile.am: associated changes.
845 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
847 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
850 * ControlInset.h (apply): fix bug. Can now create new insets again.
852 * README: describe program flow.
854 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
856 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
858 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
860 * ControlDialogs.h: moved class ControlInset into its own file.
862 * ControlInset.h: new file. class ControlInset has been expanded to take
863 two template parameters, Inset and Params. Believe that all inset
864 controllers can be derived from this with the minimum of effort.
866 * ControlBibitem.[Ch]:
867 * ControlBibtex.[Ch]:
868 * ControlCitation.[Ch]:
869 * ControlCommand.[Ch]: moved most code into ControlInset.
871 * lots of files. Moved protected stuff into private where possible.
874 * ControlInclude.[Ch]:
875 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
876 Include and Url popups, respectively.
879 * Makefile.am: associated changes.
881 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
883 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
886 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
888 * ControlCredits.C (getCredits): remove std:: qualifier for
891 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
893 * ControlCredits.C (getCredits): add std:: on vector
895 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
897 * ControlCredits.C: remove using that is only used once, use
898 std::ios instead of std::iosbase, add some annoying comments.
900 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
902 * lots of header files: improved explanatory notes.
904 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
905 ControlBase is now a class that only controls the interaction of the
906 View with the ButtonController.
908 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
909 to ControlConnectBase. The class controls the connection/disconnection
910 of signals from the LyX kernel and makes available the kernel (through
911 lv_) to daughter controller classes.
912 Moved out class ControlConnectInset to a new file ControlDialogs.h.
914 * ControlDialogs.h: new file. Contains the definition of two template
915 controller classes, ControlDialog and ControlInset (was
916 ControlConnectInset). ControlInset is a parent class for controllers
917 of inset-popups. ControlDialogs is the rather uninspired name for
918 the base class of all non-inset popups. (Eg, Document and Paragraph.)
919 ControlDialogs is reaching a state of maturity as several popups now use
920 it and its functionality becomes clear. ControlInset is still in a state
921 of flux. It is likely that functionality will be moved out of
922 ControlCommands and into it.
924 * GUI.h: new file. Moved all the template GUIXXX classes out of the
925 individual Controller header files and into one place. These classes
926 serve only as convenient wrappers to simplify code in the respective
927 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
929 * ControlCharacter.[Ch] (show, update, hide):
930 * ControlLog.[Ch] (show, update, hide):
931 * ControlVCLog.[Ch] (show, update, hide): moved back into
932 the ControlDialogs base class.
933 (setParams, clearParams): new methods containing controller-specific
934 code to set/reset the parameters manipulated by the view.
936 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
938 (hide): calls clearParams.
940 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
941 by ControlCommand::hide().
943 * ControlCopyright.[Ch]:
944 * ControlCredits.[Ch]: new files; controllers for the copyright and
945 credits popups, respectively.
947 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
949 * ControlCharacter.C: fix typo
951 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
953 * ControlCharacter.[Ch]: new files; controller for the character popup.
955 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
956 moved to new files helper_funcs.[Ch].
958 * helper_funcs.[Ch]: new files. Some useful helper functions and
961 * Makefile.am: added new files.
963 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
965 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
967 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
970 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
971 Control log files, respectively.
973 * Makefile.am: added new files.
975 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
977 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
979 * Makefile.am: added ControlBibtex.[Ch].
981 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlCitation.C: added "using SigC::slot" declaration.
986 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
987 to FormCitation.C prior to the merger: "Do not put space between
990 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
992 * several files: remove CXX_WORKING_NAMESPACES
994 * ButtonController.h: noncopyable is in namespace boost
995 * ButtonPolicies.h: ditto
997 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
999 * Merging changes from BRANCH_MVC back into HEAD.
1001 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1003 * Makefile.am: add ControlBibitem.[Ch].
1005 * ControlBibitem.[Ch]: new files that together define the Controller
1006 for a Bibitem popup.
1008 * ControlCommand.h (c-tor): give kb_action a default value of
1011 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1013 * ControlCitation.[Ch]: moved search functions out of class.
1014 (bibkeysInfo): new method. Returns const reference to private data.
1015 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1018 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1020 * ControlCitation.[Ch]: added Search functions to the class,
1021 (shamelessly lifted from Marco's gnome code). I think that these would
1022 be better as helper functions outside the class, but this is a first
1025 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1027 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1029 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1030 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1031 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1032 implementation of FormCitation.
1034 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1036 * ButtonPolicies.h: add SMI_NOOP to enum.
1038 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1040 * ButtonController.C (input): add "optimising" if-statement. Actually,
1041 things don't work correctly without it...
1043 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1045 * ViewBase.h: remove #pragma directive
1047 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1050 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1054 * Makefile.am: added ButtonPolicies.[Ch]
1056 * ButtonController.[Ch]: ButtonController is split into
1057 ButtonControllerBase and a template ButtonController class. The base
1058 class no longer stores a pointer to a ButtonPolicy, but instead
1059 accesses the actual instantiation of the policy through a pure virtual
1060 method bp(). This method and the ButtonPolicy itself are instantiated
1061 in the templatised ButtonController class. This class is derived from
1062 the GUI-specific GUIBC class, meaning that the frontends know
1063 nothing about the actual policy decided upon by the controllers.
1065 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1066 Instead the actual instantiations are accessed through pure virtual
1067 methods view() and bc(). The daughter classes are responsible for the
1068 actual View and ButtonController.
1070 * ControlCitation.h: the templatised class GUICitation instantiates
1071 the methods view() and bc(). It also stores the instances of the
1072 View and ButtonController.
1074 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1076 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1077 also changed to ButtonController.
1080 * ControlConnections.[Ch]:
1081 * ControlCommand.[Ch]:
1082 * ControlCitation.[Ch]:
1083 * ViewBase.h: Changes associated with this.
1085 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1088 xforms/ButtonController class into a GUI-I class (here) and an
1089 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1091 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1092 from which all Dialog Controllers should be derived. the Controllers
1093 are GUI-independent, but are designed to control the behaviour of
1094 GUI-specific implementaions of each dialog.
1096 * ControlConnections.[Ch]: new files. Classes controlling the
1097 connections of buffer-independent, buffer-dependent and Inset dialogs
1098 with the LyX kernel.
1100 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1101 InsetCommand subset of insets.
1103 * ControlCitation.[Ch]: new files. The test specialisation! A
1104 controller for the Citation dialog.
1106 * ViewBase.h: new file. ViewBase is an abstract base class from which
1107 GUI-specific dialogs should be derived. The functionality that the GUIs
1108 must now implement is much reduced.