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-11 Herbert Voss <voss@lyx.org>
8 * biblio.C (parseBibTeX): fix another minibug with an
11 2002-03-10 Herbert Voss <voss@lyx.org>
13 * biblio.C (parseBibTeX): fix bug
14 (familyName): improve parsing
16 2002-03-09 Herbert Voss <voss@lyx.org>
18 * ControlGraphics.[Ch]: adding checkFilename() for testing
21 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * ControlSendto.C (allFormats): fix a iterators are not pointers
26 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
28 * ControlShowFile.h: add a #include "LString.h"
30 2002-03-05 Herbert Voss <voss@lyx.org>
32 * biblio.C (getInfo): simplify if using paragraph layout
35 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
37 * biblio.C (getInfo): return the info field correctly if the key
39 (parseBibTeX): fix crash when data.find('=') returns string::npos.
41 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
43 * ControlForks.[Ch]: new files. A controller for the Forked Child
44 processes dialog, enabling the user to see what forked processes
45 are running, and, if he so desires, to kill them.
47 * GUI.h: add class GUIForks.
49 * Makefile.am: add ControlForks.[Ch].
51 * ControlGraphics.C (getParams): small change due to change in
54 2002-02-21 Herbert Voss <voss@lyx.org>
56 * biblio.C: fix bug with commentlines in a bibentry
58 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * Makefile.am: simpler obj. file compile
62 2002-02-18 Herbert Voss <voss@lyx.org>
64 * ControlGraphics.[Ch]: remove help-file call
66 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
68 * helper_funcs.h: wrap the structs firster and seconder up in a
69 namespace to avoid clashes with those in lyxalgo,h.
71 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
72 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
74 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
79 change Systemcalls::System to Systemcalls::Wait and
80 No change of functionality, just reflects the stripped down Systemcalls
83 2002-02-06 Herbert Voss <voss@lyx.org>
85 * ControlGraphics.[C] (readBB): search also in
86 g'zipped files. If it is useful than PK and compress
87 should also be supported. use unzipFile() from
90 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
92 * ControlRef.C (getBufferName): new method to get a real buffer
95 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
97 * ControlTexInfo.[Ch]: Removed Help functions.
99 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
101 * ControlSpellchecker.C: clear any selection left
104 2002-02-01 Herbert Voss <voss@lyx.org>
106 * ControlGraphics.[C] (readBB): search only, if it is a
107 ".?ps" file and look for bb's at end of file
109 2002-01-30 Herbert Voss <voss@lyx.org>
111 * ControlGraphic.[C]: do not search the whole file, when
114 2002-01-29 Herbert Voss <voss@lyx.org>
116 * ControlGraphic.[C]: added a button for document path
117 when browsing -> bug 222
119 2002-01-27 Herbert Voss <voss@lyx.org>
121 * ControlGraphic.[Ch]: added support for Bounding Box, other
124 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
127 * ControlTexinfo.h: added #include "LString.h" where they belong.
129 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
132 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
134 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
139 2002-01-20 Herbert Voss <voss@perce.de>
141 * ControlInclude.[Ch]: better control of unexistings files
142 when entered without the browser
144 * ControlGraphic.C (Browse): add extension "ps" when browsing for
147 2002-01-19 Herbert Voss <voss@perce.de>
149 * biblio.C (getInfo): fix bug when no author is given
151 * biblio.C (parseBibTeX): change the parsing, so that
152 '#'-characters in a bibtex entry are no more a problem.
154 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
156 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
157 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
159 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
161 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
163 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
165 * ControlExternal.C (Browse): add a std:: qualifier
167 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * ControlExternal.C (Browse): simplify to use browseRelFile
171 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
173 * ButtonController.tmpl: added // -*- C++ -*-
175 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
176 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
177 Needed in _one_ of the ControlCommand-derived classes only.
179 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
182 * ControlSearch.h: #include LString.h
184 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
186 * ButtonController.h: split into two. The definition remains in
187 ButtonController.h, the declaration is now in ButtonController.tmpl.
188 These template methods should be #included when the derived class is
189 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
190 and in the qt2 and gnome equivalents.
192 * ControlDialogs.h: removed. The definition of class ControlDialog is
193 now to be found in ControlDialog.h and the declaration of the methods
194 is in ControlDialog.tmpl. The two template instantiations are performed
195 in ControlDialog_impl.[Ch], new files also.
197 * ControlInset.h: split into two. The definition remains in
198 ControlInset.h, the declaration is now in ControlInset.tmpl.
199 These template methods should be #included derived class is
200 instantiated, in this case in 8 other .C files in this directory.
202 * ControlAboutlyx.[Ch]:
203 * ControlCharacter.[Ch]:
213 * ControlPreamble.[Ch]:
215 * ControlSearch.[Ch]:
216 * ControlShowFile.[Ch]:
217 * ControlSpellchecker.[Ch]:
218 * ControlTabularCreate.[Ch]:
219 * ControlTexinfo.[Ch]:
220 * ControlThesaurus.[Ch]:
221 * ControlVCLog.[Ch]: small changes associated with the above ones.
223 * GUI.h: #include the ButtonController and dialog controller files
224 here, rather than forward declare them. This is the correct place
227 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
228 Rename ControlDialogs.h as ControlDialog.h.
229 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
232 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
234 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
236 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
238 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
241 * ControlGraphics.C (Browse): remove overzealous shortcut
243 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
245 * FormMinipage.C (apply, update): MinipageParams::width renamed
246 as MinipageParams::pageWidth. InsetMinipage::width renamed
247 as InsetMinipage::pageWidth.
249 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * ButtonController.h (refreshReadOnly): use explicit typename
253 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
255 * helper_funcs.h (browseFile): add default empty button descriptions.
257 * ControlGraphics.C (Browse):
258 * ControlBibtex.C (Browse):
259 * ControlInclude.C (Browse): add shortcuts to directory buttons
261 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
263 * ControlThesaurus.h:
264 * ControlThesaurus.C: update to Aiksaurus 0.14
266 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
268 * ControlSpellchecker.C (clearParams): show the closing message
269 only if some words have been checked, thereby fixing
272 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
274 * ControlFloat.[Ch]: changes to prevent here definitely being used
277 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
279 * ControlThesaurus.h: do not include <config.h> in header files
281 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
283 * ControlToc.C: changes for floatlist
285 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
287 * ControlVCLog.C: use _()
289 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
291 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
294 2001-10-22 Juergen Vigna <jug@sad.it>
296 * ControlSpellchecker.C (clearParams): use the error_ message of the
297 speller_ if available when the spellchecker died.
298 (setParams): remove double error message display.
300 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
302 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
304 * helper_funcs.[Ch] (getLatexUnits): see above.
306 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * ControlTexinfo.C (getContents): use the right file for .sty files
310 2001-10-10 Herbert Voss <voss@perce.de>
312 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
313 and some more stuff from FormTexinfo.C
315 * ControlShowFile.C: hiding the update-button
317 2001-10-09 Herbert Voss <voss@perce.de>
319 * ControlTexinfo.[Ch]: new files. Display information about the
320 installed texfiles (cls,sty,bst).
322 * ControlShowFile.[Ch]: new files. Display the contents of a file.
324 * GUI.h: added classes GUIShowFile and GUITexinfo.
326 * Makefile.am: modified appropriately.
328 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
330 * ControlAboutlyx.C (getVersion): use lyx_version and
331 lyx_release_date instead of old macros
333 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlSpellchecker.C (check): Behaves well now when the spell
336 library doesn't know a replacement to an incorrect word.
338 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
341 the correct place. Can now check spelling more than once!
343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlSplash.[Ch]: removed.
347 * GUI.h: remove GUISplash class.
349 * ViewBase.h: remove ViewSplash class.
351 * Makefile.am: remove ControlSplash.[Ch].
353 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
355 * ControlButtons.h: add variable emergency_exit_. If set to true, the
356 view will be shut down.
359 * ControlInset.h: act on emergency_exit_.
361 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
362 speller fails to launch.
364 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
366 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
367 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
369 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
371 * ControlRef.h (disconnectOnApply): new method. Set to true.
372 Perhaps make this user-modifiable?
374 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
379 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
381 * ControlRef.C (getBufferList, getBufferNum): New methods
383 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
385 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
386 of the dialog when the Apply button is pressed. Defaults to false,
387 but can be overridden in the daughter classes.
389 * ControlCitation.h (disconnectOnApply): new method. Set to true.
390 Perhaps make this user-modifiable?
392 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
394 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
395 we have dialogs that update their contents when the buffer changes.
396 Rather embarassing, really!
398 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
400 * ControlSearch (replace): change semantics of replace to NOT move on
401 to the next instance of a word once the present instance has been
402 replaced unless we are replacing ALL instances of the word.
404 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
406 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
408 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
411 dialog, set all options to "reset", close the dialog, re-open it ->
412 the options are set incorrectly.
414 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
415 When Applying it's useful to know whether the dialog is about to close
416 or not (no point refreshing the display for example).
418 * ControlInset.C (apply): use isClosing.
420 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
423 * ControlDialogs.h: remove bc() hack, now fixed in
424 Qt2 frontend. use member dialog_built_ instead of shared
427 * ButtonController.h:
428 * ButtonPolicies.C: more debug info
430 * ButtonControllerBase.C: call refresh() when setting readOnly !
432 * GUI.h: External form has apply, use the right policy
434 * character.C: fix two off-by-one errors when latex font was removed
436 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlInset.h (apply): tentative fix for the press Apply multiple
439 times and get multiple new Insets problem.
441 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
443 * ControlCharacter.C: fix typo
447 * ControlInsets.C: make sure dialog is built before it is shown, so
448 it works properly the very first time it is shown
450 2001-08-20 Herbert Voss <voss@perce.de>
452 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
453 and styles. Added an option for "bibliography into toc"
455 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
457 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
458 LaTeX is no longer a font property.
460 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
462 * GUI.h: Button controller for Reference dialog changed to
463 NoRepeatedApplyReadOnlyPolicy.
465 * biblio.C (getInfo): output volume and number info. Move year to end
468 2001-08-09 Allan Rae <rae@lyx.org>
470 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
472 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
474 * helper_funcs.C (getVectorFromString): fixed small bug.
476 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
478 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
480 * ControlSpellchecker.C: check next word after insert in personal dict
482 2001-08-06 Juergen Vigna <jug@sad.it>
484 * ControlERT.[Ch]: new file
486 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlInset.h: const and non-const forms of params().
490 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
491 whitespace from either side of each item.
493 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
495 * ControlFloat.h: add a != operator for FloatParams.
496 Lars, how did you get this to compile!!!
498 * ControlMinipage.[Ch]: uncommented someone's commenting out of
499 operator != for MinipageParams. Who's changing stuff and not compiling?
501 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
503 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
506 * GUI.h: add class GUIFloat
508 * ControlFloat.[Ch]: new files
510 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
512 * ControlPrint.C: #include Lassert.h here.
514 2001-07-26 Baruch Even <baruch@lyx.org>
516 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
519 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
521 * ControlThesaurus.h:
522 * ControlThesaurus.C:
524 * Makefile.am: thesaurus support
526 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
529 * ControlInclude.C: implement ability to load file
531 2001-07-18 Juergen Vigna <jug@sad.it>
533 * ControlSearch.C (replace): changes to lyxfind.h function calls.
535 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * biblio.C (getInfo): add a .c_str() to handle the usual
540 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
542 * ControlCitation.[Ch]: changes associated with adding natbib support.
543 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
544 New static variable citeStyles_.
546 * biblio.[Ch]: large internal rearrangement.
547 New public enum CiteStyle.
548 New public struct CitationStyle.
549 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
550 getNumericalStrings, getAuthorYearStrings
551 (simpleSearch, regexSearch): no longer publicly accessible.
553 * helper_funcs.C (getStringFromVector): bug fix.
555 2001-07-16 Baruch Even <baruch@lyx.org>
557 * ControlVCLog.h: Added Lsstream.h to includes.
559 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
561 * ControlSpellchecker.[Ch]: remove d-tor.
563 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
565 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
567 2001-07-16 Juergen Vigna <jug@sad.it>
569 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
570 compiled with USE_PSPELL) to be able to switch between ISpell and
573 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
575 Consistent use of Lsstream.h:
576 * ControlAboutlyx.[Ch] (getCredits):
577 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
579 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
581 * ControlCredits.[Ch]: removed
582 * ControlCopyright.[Ch]: removed
583 * ControlAboutlyx.[Ch]: added (replaces previous)
584 * GUI.h: removed credits and copyright added about lyx stuff
586 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
588 * ControlSpellchecker.C (getSuggestion):
589 (getWord): add std:: qualifier
591 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
593 * ControlSpellchecker.[Ch]: added
594 * ViewBase.h: added partialUpdate(int) member
595 * GUI.h: added spell stuff
597 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
599 * ControlExternal.C: (*it). -> it->
601 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
603 * ButtonController.h: move some included header files out of the
604 frontends and into here.
606 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
608 * ControlCharacter.C (c-tor): cosmetic name change of signal.
610 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
612 * *.[h]: added // -*- C++ -*-
613 * *.[C]: removed // -*- C++ -*-
615 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
616 activate Apply button.
617 (clearParams): removed.
618 font_ is now stored as a boost::scoped_ptr.
619 font_ is no longer deleted on hide(), so it's contents can now be used
620 by the Font button on the toolbar.
621 Lots of new methods so that the GUI can easily get the contents of
622 font_ when it update()s.
624 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
627 crash when the Font button on the Toolbar is pressed.
629 * GUI.h: change policy of Character button controller to
630 OkApplyCancelReadOnlyPolicy.
632 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
634 * ControlToc.C (getContents): don't add anything to the list if it
635 is supposed to be empty.
637 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
639 * helper_funcs.C (getVectorFromString): bug fix.
641 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
644 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
645 from ButtonControllerBase::readOnly. Updates the state of the widgets
646 in the read-only list only when the read-only status of the document
648 (refresh): moved this stuff into refreshReadOnly.
650 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
652 * ControlPrint.C (c-tor):
653 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
655 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
658 * character.h: small clean-ups.
660 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
662 * ControlToc.C (getType): remove support for old float list.
664 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
666 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
667 * ControlGraphics.h: no longer include insetgraphicsParams.h
668 * ControlInset.h: no longer include LyXView.h
673 * ControlCharacter.C:
676 * ControlConnections.C:
677 * ControlCopyright.C:
689 * ControlTabularCreate.C:
691 * ControlVCLog.C: they're now in here!
693 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * ButtonControllerBase.h: C++ mode, inherit privately from
697 * ButtonPolicies.h: ditto
699 * ButtonController.h: C++ mode, swap init order of restore_ and
702 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
704 * ControlTabularCreate.h:
705 * ControlTabularCreate.C: make dialogs use a pair of uints
709 * ControlVCLog.C: fill a stringstream with the log contents
712 * ControlExternal.C: from Angus, clone the new InsetExternal
715 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
717 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
718 and made more robust.
720 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
729 * ControlCopyright.C: include gettext.h
731 * ControlCharacter.C:
732 * character.C: include gettext.h and language.h
734 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
736 * ButtonController.h:
737 * ButtonControllerBase.h:
738 * ButtonControllerBase.C:
745 * ControlConnections.h:
751 * ViewBase.h: s/ControlButton/ControlButtons/
753 s/UndoAll/Restore/ + associated
755 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
757 * ControlToc.[Ch]: new files; a controller for the TOC popup.
760 * Makefile.am: associated changes with all of the above.
762 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
764 * ControlExternal.C: bug fixes. Can now apply changes to the inset
765 and edit, view, update the External Material correctly. I hope!
767 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
769 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
771 * BCTemplates.h: renamed as ButtonController.h
773 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
776 * ControlConnections.h: associated change in #include and class names.
778 * ControlExternal.[Ch]: new files; a controller for the External
782 * Makefile.am: associated changes with all of the above.
784 * ControlGraphics.[Ch]:
785 * ControlInclude.[Ch]:
788 (Browse): new method. Returns the results of a FileDialog browse.
790 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
791 (getVectorFromString): fixed bug.
793 * biblio.C (simpleSearch): cleaned up.
795 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
797 * A slight reworking of Baruch Even's ButtonController patch.
799 * BCTemplates.h: new file; all the templates for the ButtonController.
800 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
801 to the more generic setButtonLabel().
803 * ButtonController.[Ch]: renamed cancel_label and close_label as
804 cancel_label_ and close_label_.
806 * Makefile.am: added BCTemplates.h
808 2001-03-29 Juergen Vigna <jug@sad.it>
810 * ControlMinipage.C: removed widthp_ and all it's functions and changed
811 to use new %-lengths of LyXLength.
813 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
815 * ControlCitation.C (bibkeysInfo): removed Assert.
817 * ControlCopyright.h: moved GUICopyright into GUI.h
821 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
823 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
824 (setDaughterParams): a (by default empty) new method called in show().
833 * ControlUrl.h (clearDaughterParams): removed
835 * ControlMinipage.C (applyParamsToInset): update the view.
836 Added namespace minipage containing a helper function getUnits.
838 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
840 * ControlCharacter.[Ch]: moved out all the helper functions and the
841 enum into their own file.
842 * character.[Ch]: new files; contain the character helper functions,
843 now inside namespace character.
845 * ControlCitation.[Ch]: moved out all the helper functions and the
846 enums into their own file. Simplified interface.
847 * biblio.[Ch]: new files; contain the citation helper functions,
848 now inside namespace biblio. Will be of use also to an improved
851 * ControlGraphics.[Ch]:
852 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
853 popups, respectively.
856 * Makefile.am: associated changes.
858 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
860 * ControlMinipage.[Ch]:
861 * ControlPreamble.[Ch]:
863 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
864 and Print popups and Splash screen, respectively.
866 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
870 * Makefile.am: associated changes.
872 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
874 * ControlConnections.[Ch]: (docType): new method; returns the type
875 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
878 * ControlSearch.[Ch]:
879 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
880 Search and TabularCreate popups, respectively.
883 * Makefile.am: associated changes.
885 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
887 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
890 * ControlInset.h (apply): fix bug. Can now create new insets again.
892 * README: describe program flow.
894 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
896 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
898 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
900 * ControlDialogs.h: moved class ControlInset into its own file.
902 * ControlInset.h: new file. class ControlInset has been expanded to take
903 two template parameters, Inset and Params. Believe that all inset
904 controllers can be derived from this with the minimum of effort.
906 * ControlBibitem.[Ch]:
907 * ControlBibtex.[Ch]:
908 * ControlCitation.[Ch]:
909 * ControlCommand.[Ch]: moved most code into ControlInset.
911 * lots of files. Moved protected stuff into private where possible.
914 * ControlInclude.[Ch]:
915 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
916 Include and Url popups, respectively.
919 * Makefile.am: associated changes.
921 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
923 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
926 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
928 * ControlCredits.C (getCredits): remove std:: qualifier for
931 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
933 * ControlCredits.C (getCredits): add std:: on vector
935 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
937 * ControlCredits.C: remove using that is only used once, use
938 std::ios instead of std::iosbase, add some annoying comments.
940 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
942 * lots of header files: improved explanatory notes.
944 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
945 ControlBase is now a class that only controls the interaction of the
946 View with the ButtonController.
948 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
949 to ControlConnectBase. The class controls the connection/disconnection
950 of signals from the LyX kernel and makes available the kernel (through
951 lv_) to daughter controller classes.
952 Moved out class ControlConnectInset to a new file ControlDialogs.h.
954 * ControlDialogs.h: new file. Contains the definition of two template
955 controller classes, ControlDialog and ControlInset (was
956 ControlConnectInset). ControlInset is a parent class for controllers
957 of inset-popups. ControlDialogs is the rather uninspired name for
958 the base class of all non-inset popups. (Eg, Document and Paragraph.)
959 ControlDialogs is reaching a state of maturity as several popups now use
960 it and its functionality becomes clear. ControlInset is still in a state
961 of flux. It is likely that functionality will be moved out of
962 ControlCommands and into it.
964 * GUI.h: new file. Moved all the template GUIXXX classes out of the
965 individual Controller header files and into one place. These classes
966 serve only as convenient wrappers to simplify code in the respective
967 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
969 * ControlCharacter.[Ch] (show, update, hide):
970 * ControlLog.[Ch] (show, update, hide):
971 * ControlVCLog.[Ch] (show, update, hide): moved back into
972 the ControlDialogs base class.
973 (setParams, clearParams): new methods containing controller-specific
974 code to set/reset the parameters manipulated by the view.
976 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
978 (hide): calls clearParams.
980 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
981 by ControlCommand::hide().
983 * ControlCopyright.[Ch]:
984 * ControlCredits.[Ch]: new files; controllers for the copyright and
985 credits popups, respectively.
987 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
989 * ControlCharacter.C: fix typo
991 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
993 * ControlCharacter.[Ch]: new files; controller for the character popup.
995 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
996 moved to new files helper_funcs.[Ch].
998 * helper_funcs.[Ch]: new files. Some useful helper functions and
1001 * Makefile.am: added new files.
1003 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1005 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1007 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1010 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1011 Control log files, respectively.
1013 * Makefile.am: added new files.
1015 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1019 * Makefile.am: added ControlBibtex.[Ch].
1021 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1024 * ControlCitation.C: added "using SigC::slot" declaration.
1026 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1027 to FormCitation.C prior to the merger: "Do not put space between
1030 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1032 * several files: remove CXX_WORKING_NAMESPACES
1034 * ButtonController.h: noncopyable is in namespace boost
1035 * ButtonPolicies.h: ditto
1037 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1039 * Merging changes from BRANCH_MVC back into HEAD.
1041 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1043 * Makefile.am: add ControlBibitem.[Ch].
1045 * ControlBibitem.[Ch]: new files that together define the Controller
1046 for a Bibitem popup.
1048 * ControlCommand.h (c-tor): give kb_action a default value of
1051 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1053 * ControlCitation.[Ch]: moved search functions out of class.
1054 (bibkeysInfo): new method. Returns const reference to private data.
1055 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1058 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1060 * ControlCitation.[Ch]: added Search functions to the class,
1061 (shamelessly lifted from Marco's gnome code). I think that these would
1062 be better as helper functions outside the class, but this is a first
1065 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1067 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1069 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1070 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1071 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1072 implementation of FormCitation.
1074 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1076 * ButtonPolicies.h: add SMI_NOOP to enum.
1078 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1080 * ButtonController.C (input): add "optimising" if-statement. Actually,
1081 things don't work correctly without it...
1083 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1085 * ViewBase.h: remove #pragma directive
1087 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1090 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1092 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1094 * Makefile.am: added ButtonPolicies.[Ch]
1096 * ButtonController.[Ch]: ButtonController is split into
1097 ButtonControllerBase and a template ButtonController class. The base
1098 class no longer stores a pointer to a ButtonPolicy, but instead
1099 accesses the actual instantiation of the policy through a pure virtual
1100 method bp(). This method and the ButtonPolicy itself are instantiated
1101 in the templatised ButtonController class. This class is derived from
1102 the GUI-specific GUIBC class, meaning that the frontends know
1103 nothing about the actual policy decided upon by the controllers.
1105 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1106 Instead the actual instantiations are accessed through pure virtual
1107 methods view() and bc(). The daughter classes are responsible for the
1108 actual View and ButtonController.
1110 * ControlCitation.h: the templatised class GUICitation instantiates
1111 the methods view() and bc(). It also stores the instances of the
1112 View and ButtonController.
1114 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1117 also changed to ButtonController.
1120 * ControlConnections.[Ch]:
1121 * ControlCommand.[Ch]:
1122 * ControlCitation.[Ch]:
1123 * ViewBase.h: Changes associated with this.
1125 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1127 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1128 xforms/ButtonController class into a GUI-I class (here) and an
1129 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1131 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1132 from which all Dialog Controllers should be derived. the Controllers
1133 are GUI-independent, but are designed to control the behaviour of
1134 GUI-specific implementaions of each dialog.
1136 * ControlConnections.[Ch]: new files. Classes controlling the
1137 connections of buffer-independent, buffer-dependent and Inset dialogs
1138 with the LyX kernel.
1140 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1141 InsetCommand subset of insets.
1143 * ControlCitation.[Ch]: new files. The test specialisation! A
1144 controller for the Citation dialog.
1146 * ViewBase.h: new file. ViewBase is an abstract base class from which
1147 GUI-specific dialogs should be derived. The functionality that the GUIs
1148 must now implement is much reduced.