1 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * ControlSendto.C (allFormats): fix a iterators are not pointers
6 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
8 * ControlShowFile.h: add a #include "LString.h"
10 2002-03-05 Herbert Voss <voss@lyx.org>
12 biblio.C: (getInfo) simplify if using paragraph layout "bibliography".
14 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
16 * biblio.C (getInfo): return the info field correctly if the key
18 (parseBibTeX): fix crash when data.find('=') returns string::npos.
20 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
22 * ControlForks.[Ch]: new files. A controller for the Forked Child
23 processes dialog, enabling the user to see what forked processes
24 are running, and, if he so desires, to kill them.
26 * GUI.h: add class GUIForks.
28 * Makefile.am: add ControlForks.[Ch].
30 * ControlGraphics.C (getParams): small change due to change in
33 2002-02-21 Herbert Voss <voss@lyx.org>
35 * biblio.C: fix bug with commentlines in a bibentry
37 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
39 * Makefile.am: simpler obj. file compile
41 2002-02-18 Herbert Voss <voss@lyx.org>
43 * ControlGraphics.[Ch]: remove help-file call
45 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
47 * helper_funcs.h: wrap the structs firster and seconder up in a
48 namespace to avoid clashes with those in lyxalgo,h.
50 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
51 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
53 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
55 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
58 change Systemcalls::System to Systemcalls::Wait and
59 No change of functionality, just reflects the stripped down Systemcalls
62 2002-02-06 Herbert Voss <voss@lyx.org>
64 * ControlGraphics.[C] (readBB): search also in
65 g'zipped files. If it is useful than PK and compress
66 should also be supported. use unzipFile() from
69 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
71 * ControlRef.C (getBufferName): new method to get a real buffer
74 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
76 * ControlTexInfo.[Ch]: Removed Help functions.
78 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
80 * ControlSpellchecker.C: clear any selection left
83 2002-02-01 Herbert Voss <voss@lyx.org>
85 * ControlGraphics.[C] (readBB): search only, if it is a
86 ".?ps" file and look for bb's at end of file
88 2002-01-30 Herbert Voss <voss@lyx.org>
90 * ControlGraphic.[C]: do not search the whole file, when
93 2002-01-29 Herbert Voss <voss@lyx.org>
95 * ControlGraphic.[C]: added a button for document path
96 when browsing -> bug 222
98 2002-01-27 Herbert Voss <voss@lyx.org>
100 * ControlGraphic.[Ch]: added support for Bounding Box, other
103 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
106 * ControlTexinfo.h: added #include "LString.h" where they belong.
108 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
111 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
113 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
115 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
118 2002-01-20 Herbert Voss <voss@perce.de>
120 * ControlInclude.[Ch]: better control of unexistings files
121 when entered without the browser
123 * ControlGraphic.C (Browse): add extension "ps" when browsing for
126 2002-01-19 Herbert Voss <voss@perce.de>
128 * biblio.C (getInfo): fix bug when no author is given
130 * biblio.C (parseBibTeX): change the parsing, so that
131 '#'-characters in a bibtex entry are no more a problem.
133 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
135 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
136 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
138 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
140 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
142 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
144 * ControlExternal.C (Browse): add a std:: qualifier
146 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
148 * ControlExternal.C (Browse): simplify to use browseRelFile
150 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
152 * ButtonController.tmpl: added // -*- C++ -*-
154 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
155 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
156 Needed in _one_ of the ControlCommand-derived classes only.
158 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
161 * ControlSearch.h: #include LString.h
163 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
165 * ButtonController.h: split into two. The definition remains in
166 ButtonController.h, the declaration is now in ButtonController.tmpl.
167 These template methods should be #included when the derived class is
168 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
169 and in the qt2 and gnome equivalents.
171 * ControlDialogs.h: removed. The definition of class ControlDialog is
172 now to be found in ControlDialog.h and the declaration of the methods
173 is in ControlDialog.tmpl. The two template instantiations are performed
174 in ControlDialog_impl.[Ch], new files also.
176 * ControlInset.h: split into two. The definition remains in
177 ControlInset.h, the declaration is now in ControlInset.tmpl.
178 These template methods should be #included derived class is
179 instantiated, in this case in 8 other .C files in this directory.
181 * ControlAboutlyx.[Ch]:
182 * ControlCharacter.[Ch]:
192 * ControlPreamble.[Ch]:
194 * ControlSearch.[Ch]:
195 * ControlShowFile.[Ch]:
196 * ControlSpellchecker.[Ch]:
197 * ControlTabularCreate.[Ch]:
198 * ControlTexinfo.[Ch]:
199 * ControlThesaurus.[Ch]:
200 * ControlVCLog.[Ch]: small changes associated with the above ones.
202 * GUI.h: #include the ButtonController and dialog controller files
203 here, rather than forward declare them. This is the correct place
206 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
207 Rename ControlDialogs.h as ControlDialog.h.
208 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
211 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
213 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
215 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
217 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
220 * ControlGraphics.C (Browse): remove overzealous shortcut
222 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
224 * FormMinipage.C (apply, update): MinipageParams::width renamed
225 as MinipageParams::pageWidth. InsetMinipage::width renamed
226 as InsetMinipage::pageWidth.
228 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
230 * ButtonController.h (refreshReadOnly): use explicit typename
232 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
234 * helper_funcs.h (browseFile): add default empty button descriptions.
236 * ControlGraphics.C (Browse):
237 * ControlBibtex.C (Browse):
238 * ControlInclude.C (Browse): add shortcuts to directory buttons
240 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
242 * ControlThesaurus.h:
243 * ControlThesaurus.C: update to Aiksaurus 0.14
245 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
247 * ControlSpellchecker.C (clearParams): show the closing message
248 only if some words have been checked, thereby fixing
251 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
253 * ControlFloat.[Ch]: changes to prevent here definitely being used
256 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * ControlThesaurus.h: do not include <config.h> in header files
260 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
262 * ControlToc.C: changes for floatlist
264 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
266 * ControlVCLog.C: use _()
268 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
270 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
273 2001-10-22 Juergen Vigna <jug@sad.it>
275 * ControlSpellchecker.C (clearParams): use the error_ message of the
276 speller_ if available when the spellchecker died.
277 (setParams): remove double error message display.
279 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
281 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
283 * helper_funcs.[Ch] (getLatexUnits): see above.
285 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
287 * ControlTexinfo.C (getContents): use the right file for .sty files
289 2001-10-10 Herbert Voss <voss@perce.de>
291 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
292 and some more stuff from FormTexinfo.C
294 * ControlShowFile.C: hiding the update-button
296 2001-10-09 Herbert Voss <voss@perce.de>
298 * ControlTexinfo.[Ch]: new files. Display information about the
299 installed texfiles (cls,sty,bst).
301 * ControlShowFile.[Ch]: new files. Display the contents of a file.
303 * GUI.h: added classes GUIShowFile and GUITexinfo.
305 * Makefile.am: modified appropriately.
307 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
309 * ControlAboutlyx.C (getVersion): use lyx_version and
310 lyx_release_date instead of old macros
312 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
314 * ControlSpellchecker.C (check): Behaves well now when the spell
315 library doesn't know a replacement to an incorrect word.
317 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
319 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
320 the correct place. Can now check spelling more than once!
322 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
324 * ControlSplash.[Ch]: removed.
326 * GUI.h: remove GUISplash class.
328 * ViewBase.h: remove ViewSplash class.
330 * Makefile.am: remove ControlSplash.[Ch].
332 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
334 * ControlButtons.h: add variable emergency_exit_. If set to true, the
335 view will be shut down.
338 * ControlInset.h: act on emergency_exit_.
340 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
341 speller fails to launch.
343 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
346 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
348 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
350 * ControlRef.h (disconnectOnApply): new method. Set to true.
351 Perhaps make this user-modifiable?
353 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
355 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
358 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
360 * ControlRef.C (getBufferList, getBufferNum): New methods
362 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
365 of the dialog when the Apply button is pressed. Defaults to false,
366 but can be overridden in the daughter classes.
368 * ControlCitation.h (disconnectOnApply): new method. Set to true.
369 Perhaps make this user-modifiable?
371 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
373 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
374 we have dialogs that update their contents when the buffer changes.
375 Rather embarassing, really!
377 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
379 * ControlSearch (replace): change semantics of replace to NOT move on
380 to the next instance of a word once the present instance has been
381 replaced unless we are replacing ALL instances of the word.
383 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
385 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
387 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
390 dialog, set all options to "reset", close the dialog, re-open it ->
391 the options are set incorrectly.
393 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
394 When Applying it's useful to know whether the dialog is about to close
395 or not (no point refreshing the display for example).
397 * ControlInset.C (apply): use isClosing.
399 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
402 * ControlDialogs.h: remove bc() hack, now fixed in
403 Qt2 frontend. use member dialog_built_ instead of shared
406 * ButtonController.h:
407 * ButtonPolicies.C: more debug info
409 * ButtonControllerBase.C: call refresh() when setting readOnly !
411 * GUI.h: External form has apply, use the right policy
413 * character.C: fix two off-by-one errors when latex font was removed
415 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
417 * ControlInset.h (apply): tentative fix for the press Apply multiple
418 times and get multiple new Insets problem.
420 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
422 * ControlCharacter.C: fix typo
426 * ControlInsets.C: make sure dialog is built before it is shown, so
427 it works properly the very first time it is shown
429 2001-08-20 Herbert Voss <voss@perce.de>
431 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
432 and styles. Added an option for "bibliography into toc"
434 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
436 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
437 LaTeX is no longer a font property.
439 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
441 * GUI.h: Button controller for Reference dialog changed to
442 NoRepeatedApplyReadOnlyPolicy.
444 * biblio.C (getInfo): output volume and number info. Move year to end
447 2001-08-09 Allan Rae <rae@lyx.org>
449 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
451 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
453 * helper_funcs.C (getVectorFromString): fixed small bug.
455 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
457 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
459 * ControlSpellchecker.C: check next word after insert in personal dict
461 2001-08-06 Juergen Vigna <jug@sad.it>
463 * ControlERT.[Ch]: new file
465 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
467 * ControlInset.h: const and non-const forms of params().
469 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
470 whitespace from either side of each item.
472 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlFloat.h: add a != operator for FloatParams.
475 Lars, how did you get this to compile!!!
477 * ControlMinipage.[Ch]: uncommented someone's commenting out of
478 operator != for MinipageParams. Who's changing stuff and not compiling?
480 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
485 * GUI.h: add class GUIFloat
487 * ControlFloat.[Ch]: new files
489 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
491 * ControlPrint.C: #include Lassert.h here.
493 2001-07-26 Baruch Even <baruch@lyx.org>
495 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
498 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
500 * ControlThesaurus.h:
501 * ControlThesaurus.C:
503 * Makefile.am: thesaurus support
505 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
508 * ControlInclude.C: implement ability to load file
510 2001-07-18 Juergen Vigna <jug@sad.it>
512 * ControlSearch.C (replace): changes to lyxfind.h function calls.
514 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
516 * biblio.C (getInfo): add a .c_str() to handle the usual
519 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
521 * ControlCitation.[Ch]: changes associated with adding natbib support.
522 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
523 New static variable citeStyles_.
525 * biblio.[Ch]: large internal rearrangement.
526 New public enum CiteStyle.
527 New public struct CitationStyle.
528 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
529 getNumericalStrings, getAuthorYearStrings
530 (simpleSearch, regexSearch): no longer publicly accessible.
532 * helper_funcs.C (getStringFromVector): bug fix.
534 2001-07-16 Baruch Even <baruch@lyx.org>
536 * ControlVCLog.h: Added Lsstream.h to includes.
538 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
540 * ControlSpellchecker.[Ch]: remove d-tor.
542 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
544 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
546 2001-07-16 Juergen Vigna <jug@sad.it>
548 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
549 compiled with USE_PSPELL) to be able to switch between ISpell and
552 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
554 Consistent use of Lsstream.h:
555 * ControlAboutlyx.[Ch] (getCredits):
556 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
558 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
560 * ControlCredits.[Ch]: removed
561 * ControlCopyright.[Ch]: removed
562 * ControlAboutlyx.[Ch]: added (replaces previous)
563 * GUI.h: removed credits and copyright added about lyx stuff
565 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * ControlSpellchecker.C (getSuggestion):
568 (getWord): add std:: qualifier
570 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
572 * ControlSpellchecker.[Ch]: added
573 * ViewBase.h: added partialUpdate(int) member
574 * GUI.h: added spell stuff
576 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
578 * ControlExternal.C: (*it). -> it->
580 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
582 * ButtonController.h: move some included header files out of the
583 frontends and into here.
585 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
587 * ControlCharacter.C (c-tor): cosmetic name change of signal.
589 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
591 * *.[h]: added // -*- C++ -*-
592 * *.[C]: removed // -*- C++ -*-
594 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
595 activate Apply button.
596 (clearParams): removed.
597 font_ is now stored as a boost::scoped_ptr.
598 font_ is no longer deleted on hide(), so it's contents can now be used
599 by the Font button on the toolbar.
600 Lots of new methods so that the GUI can easily get the contents of
601 font_ when it update()s.
603 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
605 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
606 crash when the Font button on the Toolbar is pressed.
608 * GUI.h: change policy of Character button controller to
609 OkApplyCancelReadOnlyPolicy.
611 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
613 * ControlToc.C (getContents): don't add anything to the list if it
614 is supposed to be empty.
616 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
618 * helper_funcs.C (getVectorFromString): bug fix.
620 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
623 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
624 from ButtonControllerBase::readOnly. Updates the state of the widgets
625 in the read-only list only when the read-only status of the document
627 (refresh): moved this stuff into refreshReadOnly.
629 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
631 * ControlPrint.C (c-tor):
632 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
634 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
637 * character.h: small clean-ups.
639 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
641 * ControlToc.C (getType): remove support for old float list.
643 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
646 * ControlGraphics.h: no longer include insetgraphicsParams.h
647 * ControlInset.h: no longer include LyXView.h
652 * ControlCharacter.C:
655 * ControlConnections.C:
656 * ControlCopyright.C:
668 * ControlTabularCreate.C:
670 * ControlVCLog.C: they're now in here!
672 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
674 * ButtonControllerBase.h: C++ mode, inherit privately from
676 * ButtonPolicies.h: ditto
678 * ButtonController.h: C++ mode, swap init order of restore_ and
681 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
683 * ControlTabularCreate.h:
684 * ControlTabularCreate.C: make dialogs use a pair of uints
688 * ControlVCLog.C: fill a stringstream with the log contents
691 * ControlExternal.C: from Angus, clone the new InsetExternal
694 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
696 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
697 and made more robust.
699 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
708 * ControlCopyright.C: include gettext.h
710 * ControlCharacter.C:
711 * character.C: include gettext.h and language.h
713 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
715 * ButtonController.h:
716 * ButtonControllerBase.h:
717 * ButtonControllerBase.C:
724 * ControlConnections.h:
730 * ViewBase.h: s/ControlButton/ControlButtons/
732 s/UndoAll/Restore/ + associated
734 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
736 * ControlToc.[Ch]: new files; a controller for the TOC popup.
739 * Makefile.am: associated changes with all of the above.
741 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
743 * ControlExternal.C: bug fixes. Can now apply changes to the inset
744 and edit, view, update the External Material correctly. I hope!
746 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
748 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
750 * BCTemplates.h: renamed as ButtonController.h
752 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
755 * ControlConnections.h: associated change in #include and class names.
757 * ControlExternal.[Ch]: new files; a controller for the External
761 * Makefile.am: associated changes with all of the above.
763 * ControlGraphics.[Ch]:
764 * ControlInclude.[Ch]:
767 (Browse): new method. Returns the results of a FileDialog browse.
769 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
770 (getVectorFromString): fixed bug.
772 * biblio.C (simpleSearch): cleaned up.
774 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
776 * A slight reworking of Baruch Even's ButtonController patch.
778 * BCTemplates.h: new file; all the templates for the ButtonController.
779 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
780 to the more generic setButtonLabel().
782 * ButtonController.[Ch]: renamed cancel_label and close_label as
783 cancel_label_ and close_label_.
785 * Makefile.am: added BCTemplates.h
787 2001-03-29 Juergen Vigna <jug@sad.it>
789 * ControlMinipage.C: removed widthp_ and all it's functions and changed
790 to use new %-lengths of LyXLength.
792 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
794 * ControlCitation.C (bibkeysInfo): removed Assert.
796 * ControlCopyright.h: moved GUICopyright into GUI.h
800 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
802 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
803 (setDaughterParams): a (by default empty) new method called in show().
812 * ControlUrl.h (clearDaughterParams): removed
814 * ControlMinipage.C (applyParamsToInset): update the view.
815 Added namespace minipage containing a helper function getUnits.
817 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
819 * ControlCharacter.[Ch]: moved out all the helper functions and the
820 enum into their own file.
821 * character.[Ch]: new files; contain the character helper functions,
822 now inside namespace character.
824 * ControlCitation.[Ch]: moved out all the helper functions and the
825 enums into their own file. Simplified interface.
826 * biblio.[Ch]: new files; contain the citation helper functions,
827 now inside namespace biblio. Will be of use also to an improved
830 * ControlGraphics.[Ch]:
831 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
832 popups, respectively.
835 * Makefile.am: associated changes.
837 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
839 * ControlMinipage.[Ch]:
840 * ControlPreamble.[Ch]:
842 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
843 and Print popups and Splash screen, respectively.
845 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
849 * Makefile.am: associated changes.
851 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
853 * ControlConnections.[Ch]: (docType): new method; returns the type
854 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
857 * ControlSearch.[Ch]:
858 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
859 Search and TabularCreate popups, respectively.
862 * Makefile.am: associated changes.
864 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
866 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
869 * ControlInset.h (apply): fix bug. Can now create new insets again.
871 * README: describe program flow.
873 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
875 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
877 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
879 * ControlDialogs.h: moved class ControlInset into its own file.
881 * ControlInset.h: new file. class ControlInset has been expanded to take
882 two template parameters, Inset and Params. Believe that all inset
883 controllers can be derived from this with the minimum of effort.
885 * ControlBibitem.[Ch]:
886 * ControlBibtex.[Ch]:
887 * ControlCitation.[Ch]:
888 * ControlCommand.[Ch]: moved most code into ControlInset.
890 * lots of files. Moved protected stuff into private where possible.
893 * ControlInclude.[Ch]:
894 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
895 Include and Url popups, respectively.
898 * Makefile.am: associated changes.
900 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
902 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
905 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * ControlCredits.C (getCredits): remove std:: qualifier for
910 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
912 * ControlCredits.C (getCredits): add std:: on vector
914 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
916 * ControlCredits.C: remove using that is only used once, use
917 std::ios instead of std::iosbase, add some annoying comments.
919 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
921 * lots of header files: improved explanatory notes.
923 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
924 ControlBase is now a class that only controls the interaction of the
925 View with the ButtonController.
927 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
928 to ControlConnectBase. The class controls the connection/disconnection
929 of signals from the LyX kernel and makes available the kernel (through
930 lv_) to daughter controller classes.
931 Moved out class ControlConnectInset to a new file ControlDialogs.h.
933 * ControlDialogs.h: new file. Contains the definition of two template
934 controller classes, ControlDialog and ControlInset (was
935 ControlConnectInset). ControlInset is a parent class for controllers
936 of inset-popups. ControlDialogs is the rather uninspired name for
937 the base class of all non-inset popups. (Eg, Document and Paragraph.)
938 ControlDialogs is reaching a state of maturity as several popups now use
939 it and its functionality becomes clear. ControlInset is still in a state
940 of flux. It is likely that functionality will be moved out of
941 ControlCommands and into it.
943 * GUI.h: new file. Moved all the template GUIXXX classes out of the
944 individual Controller header files and into one place. These classes
945 serve only as convenient wrappers to simplify code in the respective
946 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
948 * ControlCharacter.[Ch] (show, update, hide):
949 * ControlLog.[Ch] (show, update, hide):
950 * ControlVCLog.[Ch] (show, update, hide): moved back into
951 the ControlDialogs base class.
952 (setParams, clearParams): new methods containing controller-specific
953 code to set/reset the parameters manipulated by the view.
955 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
957 (hide): calls clearParams.
959 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
960 by ControlCommand::hide().
962 * ControlCopyright.[Ch]:
963 * ControlCredits.[Ch]: new files; controllers for the copyright and
964 credits popups, respectively.
966 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
968 * ControlCharacter.C: fix typo
970 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
972 * ControlCharacter.[Ch]: new files; controller for the character popup.
974 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
975 moved to new files helper_funcs.[Ch].
977 * helper_funcs.[Ch]: new files. Some useful helper functions and
980 * Makefile.am: added new files.
982 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
986 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
989 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
990 Control log files, respectively.
992 * Makefile.am: added new files.
994 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
996 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
998 * Makefile.am: added ControlBibtex.[Ch].
1000 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ControlCitation.C: added "using SigC::slot" declaration.
1005 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1006 to FormCitation.C prior to the merger: "Do not put space between
1009 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1011 * several files: remove CXX_WORKING_NAMESPACES
1013 * ButtonController.h: noncopyable is in namespace boost
1014 * ButtonPolicies.h: ditto
1016 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1018 * Merging changes from BRANCH_MVC back into HEAD.
1020 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1022 * Makefile.am: add ControlBibitem.[Ch].
1024 * ControlBibitem.[Ch]: new files that together define the Controller
1025 for a Bibitem popup.
1027 * ControlCommand.h (c-tor): give kb_action a default value of
1030 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1032 * ControlCitation.[Ch]: moved search functions out of class.
1033 (bibkeysInfo): new method. Returns const reference to private data.
1034 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1037 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1039 * ControlCitation.[Ch]: added Search functions to the class,
1040 (shamelessly lifted from Marco's gnome code). I think that these would
1041 be better as helper functions outside the class, but this is a first
1044 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1046 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1048 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1049 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1050 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1051 implementation of FormCitation.
1053 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1055 * ButtonPolicies.h: add SMI_NOOP to enum.
1057 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1059 * ButtonController.C (input): add "optimising" if-statement. Actually,
1060 things don't work correctly without it...
1062 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1064 * ViewBase.h: remove #pragma directive
1066 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1069 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1071 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1073 * Makefile.am: added ButtonPolicies.[Ch]
1075 * ButtonController.[Ch]: ButtonController is split into
1076 ButtonControllerBase and a template ButtonController class. The base
1077 class no longer stores a pointer to a ButtonPolicy, but instead
1078 accesses the actual instantiation of the policy through a pure virtual
1079 method bp(). This method and the ButtonPolicy itself are instantiated
1080 in the templatised ButtonController class. This class is derived from
1081 the GUI-specific GUIBC class, meaning that the frontends know
1082 nothing about the actual policy decided upon by the controllers.
1084 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1085 Instead the actual instantiations are accessed through pure virtual
1086 methods view() and bc(). The daughter classes are responsible for the
1087 actual View and ButtonController.
1089 * ControlCitation.h: the templatised class GUICitation instantiates
1090 the methods view() and bc(). It also stores the instances of the
1091 View and ButtonController.
1093 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1095 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1096 also changed to ButtonController.
1099 * ControlConnections.[Ch]:
1100 * ControlCommand.[Ch]:
1101 * ControlCitation.[Ch]:
1102 * ViewBase.h: Changes associated with this.
1104 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1106 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1107 xforms/ButtonController class into a GUI-I class (here) and an
1108 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1110 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1111 from which all Dialog Controllers should be derived. the Controllers
1112 are GUI-independent, but are designed to control the behaviour of
1113 GUI-specific implementaions of each dialog.
1115 * ControlConnections.[Ch]: new files. Classes controlling the
1116 connections of buffer-independent, buffer-dependent and Inset dialogs
1117 with the LyX kernel.
1119 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1120 InsetCommand subset of insets.
1122 * ControlCitation.[Ch]: new files. The test specialisation! A
1123 controller for the Citation dialog.
1125 * ViewBase.h: new file. ViewBase is an abstract base class from which
1126 GUI-specific dialogs should be derived. The functionality that the GUIs
1127 must now implement is much reduced.