1 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
3 * biblio.C (getInfo): return the info field correctly if the key
5 (parseBibTeX): fix crash when data.find('=') returns string::npos.
7 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9 * ControlForks.[Ch]: new files. A controller for the Forked Child
10 processes dialog, enabling the user to see what forked processes
11 are running, and, if he so desires, to kill them.
13 * GUI.h: add class GUIForks.
15 * Makefile.am: add ControlForks.[Ch].
17 * ControlGraphics.C (getParams): small change due to change in
20 2002-02-21 Herbert Voss <voss@lyx.org>
22 * biblio.C: fix bug with commentlines in a bibentry
24 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * Makefile.am: simpler obj. file compile
28 2002-02-18 Herbert Voss <voss@lyx.org>
30 * ControlGraphics.[Ch]: remove help-file call
32 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
34 * helper_funcs.h: wrap the structs firster and seconder up in a
35 namespace to avoid clashes with those in lyxalgo,h.
37 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
38 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
40 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
42 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
45 change Systemcalls::System to Systemcalls::Wait and
46 No change of functionality, just reflects the stripped down Systemcalls
49 2002-02-06 Herbert Voss <voss@lyx.org>
51 * ControlGraphics.[C] (readBB): search also in
52 g'zipped files. If it is useful than PK and compress
53 should also be supported. use unzipFile() from
56 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
58 * ControlRef.C (getBufferName): new method to get a real buffer
61 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
63 * ControlTexInfo.[Ch]: Removed Help functions.
65 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
67 * ControlSpellchecker.C: clear any selection left
70 2002-02-01 Herbert Voss <voss@lyx.org>
72 * ControlGraphics.[C] (readBB): search only, if it is a
73 ".?ps" file and look for bb's at end of file
75 2002-01-30 Herbert Voss <voss@lyx.org>
77 * ControlGraphic.[C]: do not search the whole file, when
80 2002-01-29 Herbert Voss <voss@lyx.org>
82 * ControlGraphic.[C]: added a button for document path
83 when browsing -> bug 222
85 2002-01-27 Herbert Voss <voss@lyx.org>
87 * ControlGraphic.[Ch]: added support for Bounding Box, other
90 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
93 * ControlTexinfo.h: added #include "LString.h" where they belong.
95 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
98 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
100 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
102 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
105 2002-01-20 Herbert Voss <voss@perce.de>
107 * ControlInclude.[Ch]: better control of unexistings files
108 when entered without the browser
110 * ControlGraphic.C (Browse): add extension "ps" when browsing for
113 2002-01-19 Herbert Voss <voss@perce.de>
115 * biblio.C (getInfo): fix bug when no author is given
117 * biblio.C (parseBibTeX): change the parsing, so that
118 '#'-characters in a bibtex entry are no more a problem.
120 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
122 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
123 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
125 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
127 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
129 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
131 * ControlExternal.C (Browse): add a std:: qualifier
133 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
135 * ControlExternal.C (Browse): simplify to use browseRelFile
137 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
139 * ButtonController.tmpl: added // -*- C++ -*-
141 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
142 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
143 Needed in _one_ of the ControlCommand-derived classes only.
145 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
148 * ControlSearch.h: #include LString.h
150 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
152 * ButtonController.h: split into two. The definition remains in
153 ButtonController.h, the declaration is now in ButtonController.tmpl.
154 These template methods should be #included when the derived class is
155 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
156 and in the qt2 and gnome equivalents.
158 * ControlDialogs.h: removed. The definition of class ControlDialog is
159 now to be found in ControlDialog.h and the declaration of the methods
160 is in ControlDialog.tmpl. The two template instantiations are performed
161 in ControlDialog_impl.[Ch], new files also.
163 * ControlInset.h: split into two. The definition remains in
164 ControlInset.h, the declaration is now in ControlInset.tmpl.
165 These template methods should be #included derived class is
166 instantiated, in this case in 8 other .C files in this directory.
168 * ControlAboutlyx.[Ch]:
169 * ControlCharacter.[Ch]:
179 * ControlPreamble.[Ch]:
181 * ControlSearch.[Ch]:
182 * ControlShowFile.[Ch]:
183 * ControlSpellchecker.[Ch]:
184 * ControlTabularCreate.[Ch]:
185 * ControlTexinfo.[Ch]:
186 * ControlThesaurus.[Ch]:
187 * ControlVCLog.[Ch]: small changes associated with the above ones.
189 * GUI.h: #include the ButtonController and dialog controller files
190 here, rather than forward declare them. This is the correct place
193 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
194 Rename ControlDialogs.h as ControlDialog.h.
195 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
198 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
200 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
202 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
204 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
207 * ControlGraphics.C (Browse): remove overzealous shortcut
209 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
211 * FormMinipage.C (apply, update): MinipageParams::width renamed
212 as MinipageParams::pageWidth. InsetMinipage::width renamed
213 as InsetMinipage::pageWidth.
215 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
217 * ButtonController.h (refreshReadOnly): use explicit typename
219 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
221 * helper_funcs.h (browseFile): add default empty button descriptions.
223 * ControlGraphics.C (Browse):
224 * ControlBibtex.C (Browse):
225 * ControlInclude.C (Browse): add shortcuts to directory buttons
227 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
229 * ControlThesaurus.h:
230 * ControlThesaurus.C: update to Aiksaurus 0.14
232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
234 * ControlSpellchecker.C (clearParams): show the closing message
235 only if some words have been checked, thereby fixing
238 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
240 * ControlFloat.[Ch]: changes to prevent here definitely being used
243 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
245 * ControlThesaurus.h: do not include <config.h> in header files
247 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
249 * ControlToc.C: changes for floatlist
251 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
253 * ControlVCLog.C: use _()
255 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
257 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
260 2001-10-22 Juergen Vigna <jug@sad.it>
262 * ControlSpellchecker.C (clearParams): use the error_ message of the
263 speller_ if available when the spellchecker died.
264 (setParams): remove double error message display.
266 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
268 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
270 * helper_funcs.[Ch] (getLatexUnits): see above.
272 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
274 * ControlTexinfo.C (getContents): use the right file for .sty files
276 2001-10-10 Herbert Voss <voss@perce.de>
278 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
279 and some more stuff from FormTexinfo.C
281 * ControlShowFile.C: hiding the update-button
283 2001-10-09 Herbert Voss <voss@perce.de>
285 * ControlTexinfo.[Ch]: new files. Display information about the
286 installed texfiles (cls,sty,bst).
288 * ControlShowFile.[Ch]: new files. Display the contents of a file.
290 * GUI.h: added classes GUIShowFile and GUITexinfo.
292 * Makefile.am: modified appropriately.
294 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * ControlAboutlyx.C (getVersion): use lyx_version and
297 lyx_release_date instead of old macros
299 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
301 * ControlSpellchecker.C (check): Behaves well now when the spell
302 library doesn't know a replacement to an incorrect word.
304 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
307 the correct place. Can now check spelling more than once!
309 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
311 * ControlSplash.[Ch]: removed.
313 * GUI.h: remove GUISplash class.
315 * ViewBase.h: remove ViewSplash class.
317 * Makefile.am: remove ControlSplash.[Ch].
319 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlButtons.h: add variable emergency_exit_. If set to true, the
322 view will be shut down.
325 * ControlInset.h: act on emergency_exit_.
327 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
328 speller fails to launch.
330 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
332 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
333 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
335 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
337 * ControlRef.h (disconnectOnApply): new method. Set to true.
338 Perhaps make this user-modifiable?
340 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
342 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
345 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
347 * ControlRef.C (getBufferList, getBufferNum): New methods
349 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
352 of the dialog when the Apply button is pressed. Defaults to false,
353 but can be overridden in the daughter classes.
355 * ControlCitation.h (disconnectOnApply): new method. Set to true.
356 Perhaps make this user-modifiable?
358 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
361 we have dialogs that update their contents when the buffer changes.
362 Rather embarassing, really!
364 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlSearch (replace): change semantics of replace to NOT move on
367 to the next instance of a word once the present instance has been
368 replaced unless we are replacing ALL instances of the word.
370 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
372 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
374 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
376 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
377 dialog, set all options to "reset", close the dialog, re-open it ->
378 the options are set incorrectly.
380 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
381 When Applying it's useful to know whether the dialog is about to close
382 or not (no point refreshing the display for example).
384 * ControlInset.C (apply): use isClosing.
386 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
389 * ControlDialogs.h: remove bc() hack, now fixed in
390 Qt2 frontend. use member dialog_built_ instead of shared
393 * ButtonController.h:
394 * ButtonPolicies.C: more debug info
396 * ButtonControllerBase.C: call refresh() when setting readOnly !
398 * GUI.h: External form has apply, use the right policy
400 * character.C: fix two off-by-one errors when latex font was removed
402 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
404 * ControlInset.h (apply): tentative fix for the press Apply multiple
405 times and get multiple new Insets problem.
407 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
409 * ControlCharacter.C: fix typo
413 * ControlInsets.C: make sure dialog is built before it is shown, so
414 it works properly the very first time it is shown
416 2001-08-20 Herbert Voss <voss@perce.de>
418 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
419 and styles. Added an option for "bibliography into toc"
421 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
423 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
424 LaTeX is no longer a font property.
426 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
428 * GUI.h: Button controller for Reference dialog changed to
429 NoRepeatedApplyReadOnlyPolicy.
431 * biblio.C (getInfo): output volume and number info. Move year to end
434 2001-08-09 Allan Rae <rae@lyx.org>
436 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
438 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
440 * helper_funcs.C (getVectorFromString): fixed small bug.
442 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
444 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
446 * ControlSpellchecker.C: check next word after insert in personal dict
448 2001-08-06 Juergen Vigna <jug@sad.it>
450 * ControlERT.[Ch]: new file
452 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
454 * ControlInset.h: const and non-const forms of params().
456 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
457 whitespace from either side of each item.
459 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
461 * ControlFloat.h: add a != operator for FloatParams.
462 Lars, how did you get this to compile!!!
464 * ControlMinipage.[Ch]: uncommented someone's commenting out of
465 operator != for MinipageParams. Who's changing stuff and not compiling?
467 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
469 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
472 * GUI.h: add class GUIFloat
474 * ControlFloat.[Ch]: new files
476 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
478 * ControlPrint.C: #include Lassert.h here.
480 2001-07-26 Baruch Even <baruch@lyx.org>
482 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
485 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
487 * ControlThesaurus.h:
488 * ControlThesaurus.C:
490 * Makefile.am: thesaurus support
492 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
495 * ControlInclude.C: implement ability to load file
497 2001-07-18 Juergen Vigna <jug@sad.it>
499 * ControlSearch.C (replace): changes to lyxfind.h function calls.
501 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
503 * biblio.C (getInfo): add a .c_str() to handle the usual
506 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
508 * ControlCitation.[Ch]: changes associated with adding natbib support.
509 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
510 New static variable citeStyles_.
512 * biblio.[Ch]: large internal rearrangement.
513 New public enum CiteStyle.
514 New public struct CitationStyle.
515 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
516 getNumericalStrings, getAuthorYearStrings
517 (simpleSearch, regexSearch): no longer publicly accessible.
519 * helper_funcs.C (getStringFromVector): bug fix.
521 2001-07-16 Baruch Even <baruch@lyx.org>
523 * ControlVCLog.h: Added Lsstream.h to includes.
525 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
527 * ControlSpellchecker.[Ch]: remove d-tor.
529 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
531 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
533 2001-07-16 Juergen Vigna <jug@sad.it>
535 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
536 compiled with USE_PSPELL) to be able to switch between ISpell and
539 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
541 Consistent use of Lsstream.h:
542 * ControlAboutlyx.[Ch] (getCredits):
543 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
545 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
547 * ControlCredits.[Ch]: removed
548 * ControlCopyright.[Ch]: removed
549 * ControlAboutlyx.[Ch]: added (replaces previous)
550 * GUI.h: removed credits and copyright added about lyx stuff
552 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
554 * ControlSpellchecker.C (getSuggestion):
555 (getWord): add std:: qualifier
557 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
559 * ControlSpellchecker.[Ch]: added
560 * ViewBase.h: added partialUpdate(int) member
561 * GUI.h: added spell stuff
563 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
565 * ControlExternal.C: (*it). -> it->
567 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
569 * ButtonController.h: move some included header files out of the
570 frontends and into here.
572 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
574 * ControlCharacter.C (c-tor): cosmetic name change of signal.
576 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
578 * *.[h]: added // -*- C++ -*-
579 * *.[C]: removed // -*- C++ -*-
581 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
582 activate Apply button.
583 (clearParams): removed.
584 font_ is now stored as a boost::scoped_ptr.
585 font_ is no longer deleted on hide(), so it's contents can now be used
586 by the Font button on the toolbar.
587 Lots of new methods so that the GUI can easily get the contents of
588 font_ when it update()s.
590 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
592 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
593 crash when the Font button on the Toolbar is pressed.
595 * GUI.h: change policy of Character button controller to
596 OkApplyCancelReadOnlyPolicy.
598 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
600 * ControlToc.C (getContents): don't add anything to the list if it
601 is supposed to be empty.
603 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
605 * helper_funcs.C (getVectorFromString): bug fix.
607 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
610 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
611 from ButtonControllerBase::readOnly. Updates the state of the widgets
612 in the read-only list only when the read-only status of the document
614 (refresh): moved this stuff into refreshReadOnly.
616 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlPrint.C (c-tor):
619 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
621 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
624 * character.h: small clean-ups.
626 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
628 * ControlToc.C (getType): remove support for old float list.
630 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
632 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
633 * ControlGraphics.h: no longer include insetgraphicsParams.h
634 * ControlInset.h: no longer include LyXView.h
639 * ControlCharacter.C:
642 * ControlConnections.C:
643 * ControlCopyright.C:
655 * ControlTabularCreate.C:
657 * ControlVCLog.C: they're now in here!
659 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
661 * ButtonControllerBase.h: C++ mode, inherit privately from
663 * ButtonPolicies.h: ditto
665 * ButtonController.h: C++ mode, swap init order of restore_ and
668 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
670 * ControlTabularCreate.h:
671 * ControlTabularCreate.C: make dialogs use a pair of uints
675 * ControlVCLog.C: fill a stringstream with the log contents
678 * ControlExternal.C: from Angus, clone the new InsetExternal
681 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
683 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
684 and made more robust.
686 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
695 * ControlCopyright.C: include gettext.h
697 * ControlCharacter.C:
698 * character.C: include gettext.h and language.h
700 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
702 * ButtonController.h:
703 * ButtonControllerBase.h:
704 * ButtonControllerBase.C:
711 * ControlConnections.h:
717 * ViewBase.h: s/ControlButton/ControlButtons/
719 s/UndoAll/Restore/ + associated
721 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
723 * ControlToc.[Ch]: new files; a controller for the TOC popup.
726 * Makefile.am: associated changes with all of the above.
728 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
730 * ControlExternal.C: bug fixes. Can now apply changes to the inset
731 and edit, view, update the External Material correctly. I hope!
733 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
735 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
737 * BCTemplates.h: renamed as ButtonController.h
739 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
742 * ControlConnections.h: associated change in #include and class names.
744 * ControlExternal.[Ch]: new files; a controller for the External
748 * Makefile.am: associated changes with all of the above.
750 * ControlGraphics.[Ch]:
751 * ControlInclude.[Ch]:
754 (Browse): new method. Returns the results of a FileDialog browse.
756 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
757 (getVectorFromString): fixed bug.
759 * biblio.C (simpleSearch): cleaned up.
761 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
763 * A slight reworking of Baruch Even's ButtonController patch.
765 * BCTemplates.h: new file; all the templates for the ButtonController.
766 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
767 to the more generic setButtonLabel().
769 * ButtonController.[Ch]: renamed cancel_label and close_label as
770 cancel_label_ and close_label_.
772 * Makefile.am: added BCTemplates.h
774 2001-03-29 Juergen Vigna <jug@sad.it>
776 * ControlMinipage.C: removed widthp_ and all it's functions and changed
777 to use new %-lengths of LyXLength.
779 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
781 * ControlCitation.C (bibkeysInfo): removed Assert.
783 * ControlCopyright.h: moved GUICopyright into GUI.h
787 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
789 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
790 (setDaughterParams): a (by default empty) new method called in show().
799 * ControlUrl.h (clearDaughterParams): removed
801 * ControlMinipage.C (applyParamsToInset): update the view.
802 Added namespace minipage containing a helper function getUnits.
804 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
806 * ControlCharacter.[Ch]: moved out all the helper functions and the
807 enum into their own file.
808 * character.[Ch]: new files; contain the character helper functions,
809 now inside namespace character.
811 * ControlCitation.[Ch]: moved out all the helper functions and the
812 enums into their own file. Simplified interface.
813 * biblio.[Ch]: new files; contain the citation helper functions,
814 now inside namespace biblio. Will be of use also to an improved
817 * ControlGraphics.[Ch]:
818 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
819 popups, respectively.
822 * Makefile.am: associated changes.
824 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
826 * ControlMinipage.[Ch]:
827 * ControlPreamble.[Ch]:
829 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
830 and Print popups and Splash screen, respectively.
832 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
836 * Makefile.am: associated changes.
838 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlConnections.[Ch]: (docType): new method; returns the type
841 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
844 * ControlSearch.[Ch]:
845 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
846 Search and TabularCreate popups, respectively.
849 * Makefile.am: associated changes.
851 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
856 * ControlInset.h (apply): fix bug. Can now create new insets again.
858 * README: describe program flow.
860 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
862 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
864 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
866 * ControlDialogs.h: moved class ControlInset into its own file.
868 * ControlInset.h: new file. class ControlInset has been expanded to take
869 two template parameters, Inset and Params. Believe that all inset
870 controllers can be derived from this with the minimum of effort.
872 * ControlBibitem.[Ch]:
873 * ControlBibtex.[Ch]:
874 * ControlCitation.[Ch]:
875 * ControlCommand.[Ch]: moved most code into ControlInset.
877 * lots of files. Moved protected stuff into private where possible.
880 * ControlInclude.[Ch]:
881 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
882 Include and Url popups, respectively.
885 * Makefile.am: associated changes.
887 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
889 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
892 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
894 * ControlCredits.C (getCredits): remove std:: qualifier for
897 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
899 * ControlCredits.C (getCredits): add std:: on vector
901 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
903 * ControlCredits.C: remove using that is only used once, use
904 std::ios instead of std::iosbase, add some annoying comments.
906 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
908 * lots of header files: improved explanatory notes.
910 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
911 ControlBase is now a class that only controls the interaction of the
912 View with the ButtonController.
914 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
915 to ControlConnectBase. The class controls the connection/disconnection
916 of signals from the LyX kernel and makes available the kernel (through
917 lv_) to daughter controller classes.
918 Moved out class ControlConnectInset to a new file ControlDialogs.h.
920 * ControlDialogs.h: new file. Contains the definition of two template
921 controller classes, ControlDialog and ControlInset (was
922 ControlConnectInset). ControlInset is a parent class for controllers
923 of inset-popups. ControlDialogs is the rather uninspired name for
924 the base class of all non-inset popups. (Eg, Document and Paragraph.)
925 ControlDialogs is reaching a state of maturity as several popups now use
926 it and its functionality becomes clear. ControlInset is still in a state
927 of flux. It is likely that functionality will be moved out of
928 ControlCommands and into it.
930 * GUI.h: new file. Moved all the template GUIXXX classes out of the
931 individual Controller header files and into one place. These classes
932 serve only as convenient wrappers to simplify code in the respective
933 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
935 * ControlCharacter.[Ch] (show, update, hide):
936 * ControlLog.[Ch] (show, update, hide):
937 * ControlVCLog.[Ch] (show, update, hide): moved back into
938 the ControlDialogs base class.
939 (setParams, clearParams): new methods containing controller-specific
940 code to set/reset the parameters manipulated by the view.
942 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
944 (hide): calls clearParams.
946 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
947 by ControlCommand::hide().
949 * ControlCopyright.[Ch]:
950 * ControlCredits.[Ch]: new files; controllers for the copyright and
951 credits popups, respectively.
953 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
955 * ControlCharacter.C: fix typo
957 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
959 * ControlCharacter.[Ch]: new files; controller for the character popup.
961 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
962 moved to new files helper_funcs.[Ch].
964 * helper_funcs.[Ch]: new files. Some useful helper functions and
967 * Makefile.am: added new files.
969 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
971 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
973 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
976 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
977 Control log files, respectively.
979 * Makefile.am: added new files.
981 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
983 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
985 * Makefile.am: added ControlBibtex.[Ch].
987 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
990 * ControlCitation.C: added "using SigC::slot" declaration.
992 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
993 to FormCitation.C prior to the merger: "Do not put space between
996 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
998 * several files: remove CXX_WORKING_NAMESPACES
1000 * ButtonController.h: noncopyable is in namespace boost
1001 * ButtonPolicies.h: ditto
1003 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1005 * Merging changes from BRANCH_MVC back into HEAD.
1007 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1009 * Makefile.am: add ControlBibitem.[Ch].
1011 * ControlBibitem.[Ch]: new files that together define the Controller
1012 for a Bibitem popup.
1014 * ControlCommand.h (c-tor): give kb_action a default value of
1017 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1019 * ControlCitation.[Ch]: moved search functions out of class.
1020 (bibkeysInfo): new method. Returns const reference to private data.
1021 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1024 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlCitation.[Ch]: added Search functions to the class,
1027 (shamelessly lifted from Marco's gnome code). I think that these would
1028 be better as helper functions outside the class, but this is a first
1031 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1033 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1035 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1036 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1037 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1038 implementation of FormCitation.
1040 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1042 * ButtonPolicies.h: add SMI_NOOP to enum.
1044 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1046 * ButtonController.C (input): add "optimising" if-statement. Actually,
1047 things don't work correctly without it...
1049 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1051 * ViewBase.h: remove #pragma directive
1053 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1056 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1058 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1060 * Makefile.am: added ButtonPolicies.[Ch]
1062 * ButtonController.[Ch]: ButtonController is split into
1063 ButtonControllerBase and a template ButtonController class. The base
1064 class no longer stores a pointer to a ButtonPolicy, but instead
1065 accesses the actual instantiation of the policy through a pure virtual
1066 method bp(). This method and the ButtonPolicy itself are instantiated
1067 in the templatised ButtonController class. This class is derived from
1068 the GUI-specific GUIBC class, meaning that the frontends know
1069 nothing about the actual policy decided upon by the controllers.
1071 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1072 Instead the actual instantiations are accessed through pure virtual
1073 methods view() and bc(). The daughter classes are responsible for the
1074 actual View and ButtonController.
1076 * ControlCitation.h: the templatised class GUICitation instantiates
1077 the methods view() and bc(). It also stores the instances of the
1078 View and ButtonController.
1080 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1083 also changed to ButtonController.
1086 * ControlConnections.[Ch]:
1087 * ControlCommand.[Ch]:
1088 * ControlCitation.[Ch]:
1089 * ViewBase.h: Changes associated with this.
1091 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1093 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1094 xforms/ButtonController class into a GUI-I class (here) and an
1095 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1097 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1098 from which all Dialog Controllers should be derived. the Controllers
1099 are GUI-independent, but are designed to control the behaviour of
1100 GUI-specific implementaions of each dialog.
1102 * ControlConnections.[Ch]: new files. Classes controlling the
1103 connections of buffer-independent, buffer-dependent and Inset dialogs
1104 with the LyX kernel.
1106 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1107 InsetCommand subset of insets.
1109 * ControlCitation.[Ch]: new files. The test specialisation! A
1110 controller for the Citation dialog.
1112 * ViewBase.h: new file. ViewBase is an abstract base class from which
1113 GUI-specific dialogs should be derived. The functionality that the GUIs
1114 must now implement is much reduced.