1 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
6 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
9 * ControlInclude.C: better error messages
11 2002-03-11 Herbert Voss <voss@lyx.org>
13 * biblio.C (parseBibTeX): fix another minibug with an
16 2002-03-10 Herbert Voss <voss@lyx.org>
18 * biblio.C (parseBibTeX): fix bug
19 (familyName): improve parsing
21 2002-03-09 Herbert Voss <voss@lyx.org>
23 * ControlGraphics.[Ch]: adding checkFilename() for testing
26 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * ControlSendto.C (allFormats): fix a iterators are not pointers
31 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
33 * ControlShowFile.h: add a #include "LString.h"
35 2002-03-05 Herbert Voss <voss@lyx.org>
37 * biblio.C (getInfo): simplify if using paragraph layout
40 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
42 * biblio.C (getInfo): return the info field correctly if the key
44 (parseBibTeX): fix crash when data.find('=') returns string::npos.
46 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
48 * ControlForks.[Ch]: new files. A controller for the Forked Child
49 processes dialog, enabling the user to see what forked processes
50 are running, and, if he so desires, to kill them.
52 * GUI.h: add class GUIForks.
54 * Makefile.am: add ControlForks.[Ch].
56 * ControlGraphics.C (getParams): small change due to change in
59 2002-02-21 Herbert Voss <voss@lyx.org>
61 * biblio.C: fix bug with commentlines in a bibentry
63 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * Makefile.am: simpler obj. file compile
67 2002-02-18 Herbert Voss <voss@lyx.org>
69 * ControlGraphics.[Ch]: remove help-file call
71 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
73 * helper_funcs.h: wrap the structs firster and seconder up in a
74 namespace to avoid clashes with those in lyxalgo,h.
76 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
77 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
79 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
81 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
84 change Systemcalls::System to Systemcalls::Wait and
85 No change of functionality, just reflects the stripped down Systemcalls
88 2002-02-06 Herbert Voss <voss@lyx.org>
90 * ControlGraphics.[C] (readBB): search also in
91 g'zipped files. If it is useful than PK and compress
92 should also be supported. use unzipFile() from
95 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
97 * ControlRef.C (getBufferName): new method to get a real buffer
100 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
102 * ControlTexInfo.[Ch]: Removed Help functions.
104 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
106 * ControlSpellchecker.C: clear any selection left
109 2002-02-01 Herbert Voss <voss@lyx.org>
111 * ControlGraphics.[C] (readBB): search only, if it is a
112 ".?ps" file and look for bb's at end of file
114 2002-01-30 Herbert Voss <voss@lyx.org>
116 * ControlGraphic.[C]: do not search the whole file, when
119 2002-01-29 Herbert Voss <voss@lyx.org>
121 * ControlGraphic.[C]: added a button for document path
122 when browsing -> bug 222
124 2002-01-27 Herbert Voss <voss@lyx.org>
126 * ControlGraphic.[Ch]: added support for Bounding Box, other
129 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlTexinfo.h: added #include "LString.h" where they belong.
134 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
137 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
139 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
144 2002-01-20 Herbert Voss <voss@perce.de>
146 * ControlInclude.[Ch]: better control of unexistings files
147 when entered without the browser
149 * ControlGraphic.C (Browse): add extension "ps" when browsing for
152 2002-01-19 Herbert Voss <voss@perce.de>
154 * biblio.C (getInfo): fix bug when no author is given
156 * biblio.C (parseBibTeX): change the parsing, so that
157 '#'-characters in a bibtex entry are no more a problem.
159 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
161 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
162 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
164 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
166 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
168 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
170 * ControlExternal.C (Browse): add a std:: qualifier
172 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * ControlExternal.C (Browse): simplify to use browseRelFile
176 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
178 * ButtonController.tmpl: added // -*- C++ -*-
180 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
181 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
182 Needed in _one_ of the ControlCommand-derived classes only.
184 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
187 * ControlSearch.h: #include LString.h
189 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
191 * ButtonController.h: split into two. The definition remains in
192 ButtonController.h, the declaration is now in ButtonController.tmpl.
193 These template methods should be #included when the derived class is
194 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
195 and in the qt2 and gnome equivalents.
197 * ControlDialogs.h: removed. The definition of class ControlDialog is
198 now to be found in ControlDialog.h and the declaration of the methods
199 is in ControlDialog.tmpl. The two template instantiations are performed
200 in ControlDialog_impl.[Ch], new files also.
202 * ControlInset.h: split into two. The definition remains in
203 ControlInset.h, the declaration is now in ControlInset.tmpl.
204 These template methods should be #included derived class is
205 instantiated, in this case in 8 other .C files in this directory.
207 * ControlAboutlyx.[Ch]:
208 * ControlCharacter.[Ch]:
218 * ControlPreamble.[Ch]:
220 * ControlSearch.[Ch]:
221 * ControlShowFile.[Ch]:
222 * ControlSpellchecker.[Ch]:
223 * ControlTabularCreate.[Ch]:
224 * ControlTexinfo.[Ch]:
225 * ControlThesaurus.[Ch]:
226 * ControlVCLog.[Ch]: small changes associated with the above ones.
228 * GUI.h: #include the ButtonController and dialog controller files
229 here, rather than forward declare them. This is the correct place
232 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
233 Rename ControlDialogs.h as ControlDialog.h.
234 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
237 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
239 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
241 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
243 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
246 * ControlGraphics.C (Browse): remove overzealous shortcut
248 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
250 * FormMinipage.C (apply, update): MinipageParams::width renamed
251 as MinipageParams::pageWidth. InsetMinipage::width renamed
252 as InsetMinipage::pageWidth.
254 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
256 * ButtonController.h (refreshReadOnly): use explicit typename
258 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
260 * helper_funcs.h (browseFile): add default empty button descriptions.
262 * ControlGraphics.C (Browse):
263 * ControlBibtex.C (Browse):
264 * ControlInclude.C (Browse): add shortcuts to directory buttons
266 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
268 * ControlThesaurus.h:
269 * ControlThesaurus.C: update to Aiksaurus 0.14
271 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
273 * ControlSpellchecker.C (clearParams): show the closing message
274 only if some words have been checked, thereby fixing
277 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
279 * ControlFloat.[Ch]: changes to prevent here definitely being used
282 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
284 * ControlThesaurus.h: do not include <config.h> in header files
286 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
288 * ControlToc.C: changes for floatlist
290 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
292 * ControlVCLog.C: use _()
294 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
299 2001-10-22 Juergen Vigna <jug@sad.it>
301 * ControlSpellchecker.C (clearParams): use the error_ message of the
302 speller_ if available when the spellchecker died.
303 (setParams): remove double error message display.
305 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
307 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
309 * helper_funcs.[Ch] (getLatexUnits): see above.
311 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
313 * ControlTexinfo.C (getContents): use the right file for .sty files
315 2001-10-10 Herbert Voss <voss@perce.de>
317 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
318 and some more stuff from FormTexinfo.C
320 * ControlShowFile.C: hiding the update-button
322 2001-10-09 Herbert Voss <voss@perce.de>
324 * ControlTexinfo.[Ch]: new files. Display information about the
325 installed texfiles (cls,sty,bst).
327 * ControlShowFile.[Ch]: new files. Display the contents of a file.
329 * GUI.h: added classes GUIShowFile and GUITexinfo.
331 * Makefile.am: modified appropriately.
333 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
335 * ControlAboutlyx.C (getVersion): use lyx_version and
336 lyx_release_date instead of old macros
338 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlSpellchecker.C (check): Behaves well now when the spell
341 library doesn't know a replacement to an incorrect word.
343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
346 the correct place. Can now check spelling more than once!
348 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
350 * ControlSplash.[Ch]: removed.
352 * GUI.h: remove GUISplash class.
354 * ViewBase.h: remove ViewSplash class.
356 * Makefile.am: remove ControlSplash.[Ch].
358 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
360 * ControlButtons.h: add variable emergency_exit_. If set to true, the
361 view will be shut down.
364 * ControlInset.h: act on emergency_exit_.
366 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
367 speller fails to launch.
369 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
371 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
372 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
374 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
376 * ControlRef.h (disconnectOnApply): new method. Set to true.
377 Perhaps make this user-modifiable?
379 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
381 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
384 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
386 * ControlRef.C (getBufferList, getBufferNum): New methods
388 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
390 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
391 of the dialog when the Apply button is pressed. Defaults to false,
392 but can be overridden in the daughter classes.
394 * ControlCitation.h (disconnectOnApply): new method. Set to true.
395 Perhaps make this user-modifiable?
397 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
399 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
400 we have dialogs that update their contents when the buffer changes.
401 Rather embarassing, really!
403 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
405 * ControlSearch (replace): change semantics of replace to NOT move on
406 to the next instance of a word once the present instance has been
407 replaced unless we are replacing ALL instances of the word.
409 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
411 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
413 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
416 dialog, set all options to "reset", close the dialog, re-open it ->
417 the options are set incorrectly.
419 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
420 When Applying it's useful to know whether the dialog is about to close
421 or not (no point refreshing the display for example).
423 * ControlInset.C (apply): use isClosing.
425 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
428 * ControlDialogs.h: remove bc() hack, now fixed in
429 Qt2 frontend. use member dialog_built_ instead of shared
432 * ButtonController.h:
433 * ButtonPolicies.C: more debug info
435 * ButtonControllerBase.C: call refresh() when setting readOnly !
437 * GUI.h: External form has apply, use the right policy
439 * character.C: fix two off-by-one errors when latex font was removed
441 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlInset.h (apply): tentative fix for the press Apply multiple
444 times and get multiple new Insets problem.
446 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
448 * ControlCharacter.C: fix typo
452 * ControlInsets.C: make sure dialog is built before it is shown, so
453 it works properly the very first time it is shown
455 2001-08-20 Herbert Voss <voss@perce.de>
457 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
458 and styles. Added an option for "bibliography into toc"
460 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
462 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
463 LaTeX is no longer a font property.
465 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
467 * GUI.h: Button controller for Reference dialog changed to
468 NoRepeatedApplyReadOnlyPolicy.
470 * biblio.C (getInfo): output volume and number info. Move year to end
473 2001-08-09 Allan Rae <rae@lyx.org>
475 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
477 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
479 * helper_funcs.C (getVectorFromString): fixed small bug.
481 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
483 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
485 * ControlSpellchecker.C: check next word after insert in personal dict
487 2001-08-06 Juergen Vigna <jug@sad.it>
489 * ControlERT.[Ch]: new file
491 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
493 * ControlInset.h: const and non-const forms of params().
495 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
496 whitespace from either side of each item.
498 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
500 * ControlFloat.h: add a != operator for FloatParams.
501 Lars, how did you get this to compile!!!
503 * ControlMinipage.[Ch]: uncommented someone's commenting out of
504 operator != for MinipageParams. Who's changing stuff and not compiling?
506 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
508 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
511 * GUI.h: add class GUIFloat
513 * ControlFloat.[Ch]: new files
515 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * ControlPrint.C: #include Lassert.h here.
519 2001-07-26 Baruch Even <baruch@lyx.org>
521 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
524 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
526 * ControlThesaurus.h:
527 * ControlThesaurus.C:
529 * Makefile.am: thesaurus support
531 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
534 * ControlInclude.C: implement ability to load file
536 2001-07-18 Juergen Vigna <jug@sad.it>
538 * ControlSearch.C (replace): changes to lyxfind.h function calls.
540 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
542 * biblio.C (getInfo): add a .c_str() to handle the usual
545 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
547 * ControlCitation.[Ch]: changes associated with adding natbib support.
548 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
549 New static variable citeStyles_.
551 * biblio.[Ch]: large internal rearrangement.
552 New public enum CiteStyle.
553 New public struct CitationStyle.
554 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
555 getNumericalStrings, getAuthorYearStrings
556 (simpleSearch, regexSearch): no longer publicly accessible.
558 * helper_funcs.C (getStringFromVector): bug fix.
560 2001-07-16 Baruch Even <baruch@lyx.org>
562 * ControlVCLog.h: Added Lsstream.h to includes.
564 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
566 * ControlSpellchecker.[Ch]: remove d-tor.
568 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
570 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
572 2001-07-16 Juergen Vigna <jug@sad.it>
574 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
575 compiled with USE_PSPELL) to be able to switch between ISpell and
578 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
580 Consistent use of Lsstream.h:
581 * ControlAboutlyx.[Ch] (getCredits):
582 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
584 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
586 * ControlCredits.[Ch]: removed
587 * ControlCopyright.[Ch]: removed
588 * ControlAboutlyx.[Ch]: added (replaces previous)
589 * GUI.h: removed credits and copyright added about lyx stuff
591 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
593 * ControlSpellchecker.C (getSuggestion):
594 (getWord): add std:: qualifier
596 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
598 * ControlSpellchecker.[Ch]: added
599 * ViewBase.h: added partialUpdate(int) member
600 * GUI.h: added spell stuff
602 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
604 * ControlExternal.C: (*it). -> it->
606 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
608 * ButtonController.h: move some included header files out of the
609 frontends and into here.
611 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
613 * ControlCharacter.C (c-tor): cosmetic name change of signal.
615 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
617 * *.[h]: added // -*- C++ -*-
618 * *.[C]: removed // -*- C++ -*-
620 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
621 activate Apply button.
622 (clearParams): removed.
623 font_ is now stored as a boost::scoped_ptr.
624 font_ is no longer deleted on hide(), so it's contents can now be used
625 by the Font button on the toolbar.
626 Lots of new methods so that the GUI can easily get the contents of
627 font_ when it update()s.
629 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
631 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
632 crash when the Font button on the Toolbar is pressed.
634 * GUI.h: change policy of Character button controller to
635 OkApplyCancelReadOnlyPolicy.
637 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
639 * ControlToc.C (getContents): don't add anything to the list if it
640 is supposed to be empty.
642 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
644 * helper_funcs.C (getVectorFromString): bug fix.
646 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
649 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
650 from ButtonControllerBase::readOnly. Updates the state of the widgets
651 in the read-only list only when the read-only status of the document
653 (refresh): moved this stuff into refreshReadOnly.
655 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
657 * ControlPrint.C (c-tor):
658 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
660 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
663 * character.h: small clean-ups.
665 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
667 * ControlToc.C (getType): remove support for old float list.
669 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
671 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
672 * ControlGraphics.h: no longer include insetgraphicsParams.h
673 * ControlInset.h: no longer include LyXView.h
678 * ControlCharacter.C:
681 * ControlConnections.C:
682 * ControlCopyright.C:
694 * ControlTabularCreate.C:
696 * ControlVCLog.C: they're now in here!
698 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
700 * ButtonControllerBase.h: C++ mode, inherit privately from
702 * ButtonPolicies.h: ditto
704 * ButtonController.h: C++ mode, swap init order of restore_ and
707 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
709 * ControlTabularCreate.h:
710 * ControlTabularCreate.C: make dialogs use a pair of uints
714 * ControlVCLog.C: fill a stringstream with the log contents
717 * ControlExternal.C: from Angus, clone the new InsetExternal
720 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
722 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
723 and made more robust.
725 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
734 * ControlCopyright.C: include gettext.h
736 * ControlCharacter.C:
737 * character.C: include gettext.h and language.h
739 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
741 * ButtonController.h:
742 * ButtonControllerBase.h:
743 * ButtonControllerBase.C:
750 * ControlConnections.h:
756 * ViewBase.h: s/ControlButton/ControlButtons/
758 s/UndoAll/Restore/ + associated
760 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlToc.[Ch]: new files; a controller for the TOC popup.
765 * Makefile.am: associated changes with all of the above.
767 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlExternal.C: bug fixes. Can now apply changes to the inset
770 and edit, view, update the External Material correctly. I hope!
772 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
774 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
776 * BCTemplates.h: renamed as ButtonController.h
778 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
781 * ControlConnections.h: associated change in #include and class names.
783 * ControlExternal.[Ch]: new files; a controller for the External
787 * Makefile.am: associated changes with all of the above.
789 * ControlGraphics.[Ch]:
790 * ControlInclude.[Ch]:
793 (Browse): new method. Returns the results of a FileDialog browse.
795 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
796 (getVectorFromString): fixed bug.
798 * biblio.C (simpleSearch): cleaned up.
800 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
802 * A slight reworking of Baruch Even's ButtonController patch.
804 * BCTemplates.h: new file; all the templates for the ButtonController.
805 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
806 to the more generic setButtonLabel().
808 * ButtonController.[Ch]: renamed cancel_label and close_label as
809 cancel_label_ and close_label_.
811 * Makefile.am: added BCTemplates.h
813 2001-03-29 Juergen Vigna <jug@sad.it>
815 * ControlMinipage.C: removed widthp_ and all it's functions and changed
816 to use new %-lengths of LyXLength.
818 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
820 * ControlCitation.C (bibkeysInfo): removed Assert.
822 * ControlCopyright.h: moved GUICopyright into GUI.h
826 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
828 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
829 (setDaughterParams): a (by default empty) new method called in show().
838 * ControlUrl.h (clearDaughterParams): removed
840 * ControlMinipage.C (applyParamsToInset): update the view.
841 Added namespace minipage containing a helper function getUnits.
843 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
845 * ControlCharacter.[Ch]: moved out all the helper functions and the
846 enum into their own file.
847 * character.[Ch]: new files; contain the character helper functions,
848 now inside namespace character.
850 * ControlCitation.[Ch]: moved out all the helper functions and the
851 enums into their own file. Simplified interface.
852 * biblio.[Ch]: new files; contain the citation helper functions,
853 now inside namespace biblio. Will be of use also to an improved
856 * ControlGraphics.[Ch]:
857 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
858 popups, respectively.
861 * Makefile.am: associated changes.
863 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
865 * ControlMinipage.[Ch]:
866 * ControlPreamble.[Ch]:
868 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
869 and Print popups and Splash screen, respectively.
871 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
875 * Makefile.am: associated changes.
877 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
879 * ControlConnections.[Ch]: (docType): new method; returns the type
880 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
883 * ControlSearch.[Ch]:
884 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
885 Search and TabularCreate popups, respectively.
888 * Makefile.am: associated changes.
890 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
892 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
895 * ControlInset.h (apply): fix bug. Can now create new insets again.
897 * README: describe program flow.
899 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
901 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
903 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
905 * ControlDialogs.h: moved class ControlInset into its own file.
907 * ControlInset.h: new file. class ControlInset has been expanded to take
908 two template parameters, Inset and Params. Believe that all inset
909 controllers can be derived from this with the minimum of effort.
911 * ControlBibitem.[Ch]:
912 * ControlBibtex.[Ch]:
913 * ControlCitation.[Ch]:
914 * ControlCommand.[Ch]: moved most code into ControlInset.
916 * lots of files. Moved protected stuff into private where possible.
919 * ControlInclude.[Ch]:
920 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
921 Include and Url popups, respectively.
924 * Makefile.am: associated changes.
926 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
928 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
931 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
933 * ControlCredits.C (getCredits): remove std:: qualifier for
936 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
938 * ControlCredits.C (getCredits): add std:: on vector
940 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
942 * ControlCredits.C: remove using that is only used once, use
943 std::ios instead of std::iosbase, add some annoying comments.
945 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
947 * lots of header files: improved explanatory notes.
949 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
950 ControlBase is now a class that only controls the interaction of the
951 View with the ButtonController.
953 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
954 to ControlConnectBase. The class controls the connection/disconnection
955 of signals from the LyX kernel and makes available the kernel (through
956 lv_) to daughter controller classes.
957 Moved out class ControlConnectInset to a new file ControlDialogs.h.
959 * ControlDialogs.h: new file. Contains the definition of two template
960 controller classes, ControlDialog and ControlInset (was
961 ControlConnectInset). ControlInset is a parent class for controllers
962 of inset-popups. ControlDialogs is the rather uninspired name for
963 the base class of all non-inset popups. (Eg, Document and Paragraph.)
964 ControlDialogs is reaching a state of maturity as several popups now use
965 it and its functionality becomes clear. ControlInset is still in a state
966 of flux. It is likely that functionality will be moved out of
967 ControlCommands and into it.
969 * GUI.h: new file. Moved all the template GUIXXX classes out of the
970 individual Controller header files and into one place. These classes
971 serve only as convenient wrappers to simplify code in the respective
972 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
974 * ControlCharacter.[Ch] (show, update, hide):
975 * ControlLog.[Ch] (show, update, hide):
976 * ControlVCLog.[Ch] (show, update, hide): moved back into
977 the ControlDialogs base class.
978 (setParams, clearParams): new methods containing controller-specific
979 code to set/reset the parameters manipulated by the view.
981 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
983 (hide): calls clearParams.
985 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
986 by ControlCommand::hide().
988 * ControlCopyright.[Ch]:
989 * ControlCredits.[Ch]: new files; controllers for the copyright and
990 credits popups, respectively.
992 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
994 * ControlCharacter.C: fix typo
996 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
998 * ControlCharacter.[Ch]: new files; controller for the character popup.
1000 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1001 moved to new files helper_funcs.[Ch].
1003 * helper_funcs.[Ch]: new files. Some useful helper functions and
1006 * Makefile.am: added new files.
1008 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1010 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1012 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1015 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1016 Control log files, respectively.
1018 * Makefile.am: added new files.
1020 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1022 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1024 * Makefile.am: added ControlBibtex.[Ch].
1026 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1029 * ControlCitation.C: added "using SigC::slot" declaration.
1031 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1032 to FormCitation.C prior to the merger: "Do not put space between
1035 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1037 * several files: remove CXX_WORKING_NAMESPACES
1039 * ButtonController.h: noncopyable is in namespace boost
1040 * ButtonPolicies.h: ditto
1042 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1044 * Merging changes from BRANCH_MVC back into HEAD.
1046 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1048 * Makefile.am: add ControlBibitem.[Ch].
1050 * ControlBibitem.[Ch]: new files that together define the Controller
1051 for a Bibitem popup.
1053 * ControlCommand.h (c-tor): give kb_action a default value of
1056 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1058 * ControlCitation.[Ch]: moved search functions out of class.
1059 (bibkeysInfo): new method. Returns const reference to private data.
1060 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1063 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1065 * ControlCitation.[Ch]: added Search functions to the class,
1066 (shamelessly lifted from Marco's gnome code). I think that these would
1067 be better as helper functions outside the class, but this is a first
1070 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1072 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1074 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1075 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1076 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1077 implementation of FormCitation.
1079 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1081 * ButtonPolicies.h: add SMI_NOOP to enum.
1083 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1085 * ButtonController.C (input): add "optimising" if-statement. Actually,
1086 things don't work correctly without it...
1088 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1090 * ViewBase.h: remove #pragma directive
1092 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1095 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1097 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1099 * Makefile.am: added ButtonPolicies.[Ch]
1101 * ButtonController.[Ch]: ButtonController is split into
1102 ButtonControllerBase and a template ButtonController class. The base
1103 class no longer stores a pointer to a ButtonPolicy, but instead
1104 accesses the actual instantiation of the policy through a pure virtual
1105 method bp(). This method and the ButtonPolicy itself are instantiated
1106 in the templatised ButtonController class. This class is derived from
1107 the GUI-specific GUIBC class, meaning that the frontends know
1108 nothing about the actual policy decided upon by the controllers.
1110 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1111 Instead the actual instantiations are accessed through pure virtual
1112 methods view() and bc(). The daughter classes are responsible for the
1113 actual View and ButtonController.
1115 * ControlCitation.h: the templatised class GUICitation instantiates
1116 the methods view() and bc(). It also stores the instances of the
1117 View and ButtonController.
1119 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1121 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1122 also changed to ButtonController.
1125 * ControlConnections.[Ch]:
1126 * ControlCommand.[Ch]:
1127 * ControlCitation.[Ch]:
1128 * ViewBase.h: Changes associated with this.
1130 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1133 xforms/ButtonController class into a GUI-I class (here) and an
1134 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1136 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1137 from which all Dialog Controllers should be derived. the Controllers
1138 are GUI-independent, but are designed to control the behaviour of
1139 GUI-specific implementaions of each dialog.
1141 * ControlConnections.[Ch]: new files. Classes controlling the
1142 connections of buffer-independent, buffer-dependent and Inset dialogs
1143 with the LyX kernel.
1145 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1146 InsetCommand subset of insets.
1148 * ControlCitation.[Ch]: new files. The test specialisation! A
1149 controller for the Citation dialog.
1151 * ViewBase.h: new file. ViewBase is an abstract base class from which
1152 GUI-specific dialogs should be derived. The functionality that the GUIs
1153 must now implement is much reduced.