1 2002-03-10 Herbert Voss <voss@lyx.org>
3 * biblio.C (parseBibTeX): fix bug
4 (familyName): improve parsing
6 2002-03-09 Herbert Voss <voss@lyx.org>
8 * ControlGraphics.[Ch]: adding checkFilename() for testing
11 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * ControlSendto.C (allFormats): fix a iterators are not pointers
16 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
18 * ControlShowFile.h: add a #include "LString.h"
20 2002-03-05 Herbert Voss <voss@lyx.org>
22 * biblio.C (getInfo): simplify if using paragraph layout
25 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
27 * biblio.C (getInfo): return the info field correctly if the key
29 (parseBibTeX): fix crash when data.find('=') returns string::npos.
31 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
33 * ControlForks.[Ch]: new files. A controller for the Forked Child
34 processes dialog, enabling the user to see what forked processes
35 are running, and, if he so desires, to kill them.
37 * GUI.h: add class GUIForks.
39 * Makefile.am: add ControlForks.[Ch].
41 * ControlGraphics.C (getParams): small change due to change in
44 2002-02-21 Herbert Voss <voss@lyx.org>
46 * biblio.C: fix bug with commentlines in a bibentry
48 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
50 * Makefile.am: simpler obj. file compile
52 2002-02-18 Herbert Voss <voss@lyx.org>
54 * ControlGraphics.[Ch]: remove help-file call
56 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
58 * helper_funcs.h: wrap the structs firster and seconder up in a
59 namespace to avoid clashes with those in lyxalgo,h.
61 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
62 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
64 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
66 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
69 change Systemcalls::System to Systemcalls::Wait and
70 No change of functionality, just reflects the stripped down Systemcalls
73 2002-02-06 Herbert Voss <voss@lyx.org>
75 * ControlGraphics.[C] (readBB): search also in
76 g'zipped files. If it is useful than PK and compress
77 should also be supported. use unzipFile() from
80 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
82 * ControlRef.C (getBufferName): new method to get a real buffer
85 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
87 * ControlTexInfo.[Ch]: Removed Help functions.
89 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
91 * ControlSpellchecker.C: clear any selection left
94 2002-02-01 Herbert Voss <voss@lyx.org>
96 * ControlGraphics.[C] (readBB): search only, if it is a
97 ".?ps" file and look for bb's at end of file
99 2002-01-30 Herbert Voss <voss@lyx.org>
101 * ControlGraphic.[C]: do not search the whole file, when
104 2002-01-29 Herbert Voss <voss@lyx.org>
106 * ControlGraphic.[C]: added a button for document path
107 when browsing -> bug 222
109 2002-01-27 Herbert Voss <voss@lyx.org>
111 * ControlGraphic.[Ch]: added support for Bounding Box, other
114 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
117 * ControlTexinfo.h: added #include "LString.h" where they belong.
119 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
124 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
126 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
129 2002-01-20 Herbert Voss <voss@perce.de>
131 * ControlInclude.[Ch]: better control of unexistings files
132 when entered without the browser
134 * ControlGraphic.C (Browse): add extension "ps" when browsing for
137 2002-01-19 Herbert Voss <voss@perce.de>
139 * biblio.C (getInfo): fix bug when no author is given
141 * biblio.C (parseBibTeX): change the parsing, so that
142 '#'-characters in a bibtex entry are no more a problem.
144 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
146 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
147 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
149 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
151 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
153 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
155 * ControlExternal.C (Browse): add a std:: qualifier
157 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
159 * ControlExternal.C (Browse): simplify to use browseRelFile
161 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
163 * ButtonController.tmpl: added // -*- C++ -*-
165 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
166 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
167 Needed in _one_ of the ControlCommand-derived classes only.
169 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
172 * ControlSearch.h: #include LString.h
174 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
176 * ButtonController.h: split into two. The definition remains in
177 ButtonController.h, the declaration is now in ButtonController.tmpl.
178 These template methods should be #included when the derived class is
179 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
180 and in the qt2 and gnome equivalents.
182 * ControlDialogs.h: removed. The definition of class ControlDialog is
183 now to be found in ControlDialog.h and the declaration of the methods
184 is in ControlDialog.tmpl. The two template instantiations are performed
185 in ControlDialog_impl.[Ch], new files also.
187 * ControlInset.h: split into two. The definition remains in
188 ControlInset.h, the declaration is now in ControlInset.tmpl.
189 These template methods should be #included derived class is
190 instantiated, in this case in 8 other .C files in this directory.
192 * ControlAboutlyx.[Ch]:
193 * ControlCharacter.[Ch]:
203 * ControlPreamble.[Ch]:
205 * ControlSearch.[Ch]:
206 * ControlShowFile.[Ch]:
207 * ControlSpellchecker.[Ch]:
208 * ControlTabularCreate.[Ch]:
209 * ControlTexinfo.[Ch]:
210 * ControlThesaurus.[Ch]:
211 * ControlVCLog.[Ch]: small changes associated with the above ones.
213 * GUI.h: #include the ButtonController and dialog controller files
214 here, rather than forward declare them. This is the correct place
217 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
218 Rename ControlDialogs.h as ControlDialog.h.
219 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
222 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
226 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
228 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
231 * ControlGraphics.C (Browse): remove overzealous shortcut
233 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
235 * FormMinipage.C (apply, update): MinipageParams::width renamed
236 as MinipageParams::pageWidth. InsetMinipage::width renamed
237 as InsetMinipage::pageWidth.
239 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * ButtonController.h (refreshReadOnly): use explicit typename
243 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
245 * helper_funcs.h (browseFile): add default empty button descriptions.
247 * ControlGraphics.C (Browse):
248 * ControlBibtex.C (Browse):
249 * ControlInclude.C (Browse): add shortcuts to directory buttons
251 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
253 * ControlThesaurus.h:
254 * ControlThesaurus.C: update to Aiksaurus 0.14
256 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlSpellchecker.C (clearParams): show the closing message
259 only if some words have been checked, thereby fixing
262 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
264 * ControlFloat.[Ch]: changes to prevent here definitely being used
267 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
269 * ControlThesaurus.h: do not include <config.h> in header files
271 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
273 * ControlToc.C: changes for floatlist
275 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
277 * ControlVCLog.C: use _()
279 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
281 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
284 2001-10-22 Juergen Vigna <jug@sad.it>
286 * ControlSpellchecker.C (clearParams): use the error_ message of the
287 speller_ if available when the spellchecker died.
288 (setParams): remove double error message display.
290 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
292 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
294 * helper_funcs.[Ch] (getLatexUnits): see above.
296 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * ControlTexinfo.C (getContents): use the right file for .sty files
300 2001-10-10 Herbert Voss <voss@perce.de>
302 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
303 and some more stuff from FormTexinfo.C
305 * ControlShowFile.C: hiding the update-button
307 2001-10-09 Herbert Voss <voss@perce.de>
309 * ControlTexinfo.[Ch]: new files. Display information about the
310 installed texfiles (cls,sty,bst).
312 * ControlShowFile.[Ch]: new files. Display the contents of a file.
314 * GUI.h: added classes GUIShowFile and GUITexinfo.
316 * Makefile.am: modified appropriately.
318 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
320 * ControlAboutlyx.C (getVersion): use lyx_version and
321 lyx_release_date instead of old macros
323 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
325 * ControlSpellchecker.C (check): Behaves well now when the spell
326 library doesn't know a replacement to an incorrect word.
328 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
330 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
331 the correct place. Can now check spelling more than once!
333 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
335 * ControlSplash.[Ch]: removed.
337 * GUI.h: remove GUISplash class.
339 * ViewBase.h: remove ViewSplash class.
341 * Makefile.am: remove ControlSplash.[Ch].
343 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
345 * ControlButtons.h: add variable emergency_exit_. If set to true, the
346 view will be shut down.
349 * ControlInset.h: act on emergency_exit_.
351 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
352 speller fails to launch.
354 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
356 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
357 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
359 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
361 * ControlRef.h (disconnectOnApply): new method. Set to true.
362 Perhaps make this user-modifiable?
364 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
369 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
371 * ControlRef.C (getBufferList, getBufferNum): New methods
373 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
376 of the dialog when the Apply button is pressed. Defaults to false,
377 but can be overridden in the daughter classes.
379 * ControlCitation.h (disconnectOnApply): new method. Set to true.
380 Perhaps make this user-modifiable?
382 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
384 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
385 we have dialogs that update their contents when the buffer changes.
386 Rather embarassing, really!
388 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
390 * ControlSearch (replace): change semantics of replace to NOT move on
391 to the next instance of a word once the present instance has been
392 replaced unless we are replacing ALL instances of the word.
394 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
396 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
398 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
400 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
401 dialog, set all options to "reset", close the dialog, re-open it ->
402 the options are set incorrectly.
404 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
405 When Applying it's useful to know whether the dialog is about to close
406 or not (no point refreshing the display for example).
408 * ControlInset.C (apply): use isClosing.
410 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
413 * ControlDialogs.h: remove bc() hack, now fixed in
414 Qt2 frontend. use member dialog_built_ instead of shared
417 * ButtonController.h:
418 * ButtonPolicies.C: more debug info
420 * ButtonControllerBase.C: call refresh() when setting readOnly !
422 * GUI.h: External form has apply, use the right policy
424 * character.C: fix two off-by-one errors when latex font was removed
426 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
428 * ControlInset.h (apply): tentative fix for the press Apply multiple
429 times and get multiple new Insets problem.
431 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
433 * ControlCharacter.C: fix typo
437 * ControlInsets.C: make sure dialog is built before it is shown, so
438 it works properly the very first time it is shown
440 2001-08-20 Herbert Voss <voss@perce.de>
442 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
443 and styles. Added an option for "bibliography into toc"
445 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
447 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
448 LaTeX is no longer a font property.
450 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
452 * GUI.h: Button controller for Reference dialog changed to
453 NoRepeatedApplyReadOnlyPolicy.
455 * biblio.C (getInfo): output volume and number info. Move year to end
458 2001-08-09 Allan Rae <rae@lyx.org>
460 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
462 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
464 * helper_funcs.C (getVectorFromString): fixed small bug.
466 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
468 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
470 * ControlSpellchecker.C: check next word after insert in personal dict
472 2001-08-06 Juergen Vigna <jug@sad.it>
474 * ControlERT.[Ch]: new file
476 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
478 * ControlInset.h: const and non-const forms of params().
480 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
481 whitespace from either side of each item.
483 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
485 * ControlFloat.h: add a != operator for FloatParams.
486 Lars, how did you get this to compile!!!
488 * ControlMinipage.[Ch]: uncommented someone's commenting out of
489 operator != for MinipageParams. Who's changing stuff and not compiling?
491 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
496 * GUI.h: add class GUIFloat
498 * ControlFloat.[Ch]: new files
500 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
502 * ControlPrint.C: #include Lassert.h here.
504 2001-07-26 Baruch Even <baruch@lyx.org>
506 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
509 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
511 * ControlThesaurus.h:
512 * ControlThesaurus.C:
514 * Makefile.am: thesaurus support
516 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
519 * ControlInclude.C: implement ability to load file
521 2001-07-18 Juergen Vigna <jug@sad.it>
523 * ControlSearch.C (replace): changes to lyxfind.h function calls.
525 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * biblio.C (getInfo): add a .c_str() to handle the usual
530 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlCitation.[Ch]: changes associated with adding natbib support.
533 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
534 New static variable citeStyles_.
536 * biblio.[Ch]: large internal rearrangement.
537 New public enum CiteStyle.
538 New public struct CitationStyle.
539 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
540 getNumericalStrings, getAuthorYearStrings
541 (simpleSearch, regexSearch): no longer publicly accessible.
543 * helper_funcs.C (getStringFromVector): bug fix.
545 2001-07-16 Baruch Even <baruch@lyx.org>
547 * ControlVCLog.h: Added Lsstream.h to includes.
549 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlSpellchecker.[Ch]: remove d-tor.
553 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
555 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
557 2001-07-16 Juergen Vigna <jug@sad.it>
559 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
560 compiled with USE_PSPELL) to be able to switch between ISpell and
563 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
565 Consistent use of Lsstream.h:
566 * ControlAboutlyx.[Ch] (getCredits):
567 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
569 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
571 * ControlCredits.[Ch]: removed
572 * ControlCopyright.[Ch]: removed
573 * ControlAboutlyx.[Ch]: added (replaces previous)
574 * GUI.h: removed credits and copyright added about lyx stuff
576 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
578 * ControlSpellchecker.C (getSuggestion):
579 (getWord): add std:: qualifier
581 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
583 * ControlSpellchecker.[Ch]: added
584 * ViewBase.h: added partialUpdate(int) member
585 * GUI.h: added spell stuff
587 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
589 * ControlExternal.C: (*it). -> it->
591 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
593 * ButtonController.h: move some included header files out of the
594 frontends and into here.
596 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlCharacter.C (c-tor): cosmetic name change of signal.
600 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
602 * *.[h]: added // -*- C++ -*-
603 * *.[C]: removed // -*- C++ -*-
605 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
606 activate Apply button.
607 (clearParams): removed.
608 font_ is now stored as a boost::scoped_ptr.
609 font_ is no longer deleted on hide(), so it's contents can now be used
610 by the Font button on the toolbar.
611 Lots of new methods so that the GUI can easily get the contents of
612 font_ when it update()s.
614 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
616 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
617 crash when the Font button on the Toolbar is pressed.
619 * GUI.h: change policy of Character button controller to
620 OkApplyCancelReadOnlyPolicy.
622 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * ControlToc.C (getContents): don't add anything to the list if it
625 is supposed to be empty.
627 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
629 * helper_funcs.C (getVectorFromString): bug fix.
631 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
634 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
635 from ButtonControllerBase::readOnly. Updates the state of the widgets
636 in the read-only list only when the read-only status of the document
638 (refresh): moved this stuff into refreshReadOnly.
640 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
642 * ControlPrint.C (c-tor):
643 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
645 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
648 * character.h: small clean-ups.
650 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
652 * ControlToc.C (getType): remove support for old float list.
654 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
656 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
657 * ControlGraphics.h: no longer include insetgraphicsParams.h
658 * ControlInset.h: no longer include LyXView.h
663 * ControlCharacter.C:
666 * ControlConnections.C:
667 * ControlCopyright.C:
679 * ControlTabularCreate.C:
681 * ControlVCLog.C: they're now in here!
683 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * ButtonControllerBase.h: C++ mode, inherit privately from
687 * ButtonPolicies.h: ditto
689 * ButtonController.h: C++ mode, swap init order of restore_ and
692 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
694 * ControlTabularCreate.h:
695 * ControlTabularCreate.C: make dialogs use a pair of uints
699 * ControlVCLog.C: fill a stringstream with the log contents
702 * ControlExternal.C: from Angus, clone the new InsetExternal
705 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
707 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
708 and made more robust.
710 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
719 * ControlCopyright.C: include gettext.h
721 * ControlCharacter.C:
722 * character.C: include gettext.h and language.h
724 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
726 * ButtonController.h:
727 * ButtonControllerBase.h:
728 * ButtonControllerBase.C:
735 * ControlConnections.h:
741 * ViewBase.h: s/ControlButton/ControlButtons/
743 s/UndoAll/Restore/ + associated
745 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlToc.[Ch]: new files; a controller for the TOC popup.
750 * Makefile.am: associated changes with all of the above.
752 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
754 * ControlExternal.C: bug fixes. Can now apply changes to the inset
755 and edit, view, update the External Material correctly. I hope!
757 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
759 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
761 * BCTemplates.h: renamed as ButtonController.h
763 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
766 * ControlConnections.h: associated change in #include and class names.
768 * ControlExternal.[Ch]: new files; a controller for the External
772 * Makefile.am: associated changes with all of the above.
774 * ControlGraphics.[Ch]:
775 * ControlInclude.[Ch]:
778 (Browse): new method. Returns the results of a FileDialog browse.
780 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
781 (getVectorFromString): fixed bug.
783 * biblio.C (simpleSearch): cleaned up.
785 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
787 * A slight reworking of Baruch Even's ButtonController patch.
789 * BCTemplates.h: new file; all the templates for the ButtonController.
790 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
791 to the more generic setButtonLabel().
793 * ButtonController.[Ch]: renamed cancel_label and close_label as
794 cancel_label_ and close_label_.
796 * Makefile.am: added BCTemplates.h
798 2001-03-29 Juergen Vigna <jug@sad.it>
800 * ControlMinipage.C: removed widthp_ and all it's functions and changed
801 to use new %-lengths of LyXLength.
803 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
805 * ControlCitation.C (bibkeysInfo): removed Assert.
807 * ControlCopyright.h: moved GUICopyright into GUI.h
811 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
813 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
814 (setDaughterParams): a (by default empty) new method called in show().
823 * ControlUrl.h (clearDaughterParams): removed
825 * ControlMinipage.C (applyParamsToInset): update the view.
826 Added namespace minipage containing a helper function getUnits.
828 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
830 * ControlCharacter.[Ch]: moved out all the helper functions and the
831 enum into their own file.
832 * character.[Ch]: new files; contain the character helper functions,
833 now inside namespace character.
835 * ControlCitation.[Ch]: moved out all the helper functions and the
836 enums into their own file. Simplified interface.
837 * biblio.[Ch]: new files; contain the citation helper functions,
838 now inside namespace biblio. Will be of use also to an improved
841 * ControlGraphics.[Ch]:
842 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
843 popups, respectively.
846 * Makefile.am: associated changes.
848 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
850 * ControlMinipage.[Ch]:
851 * ControlPreamble.[Ch]:
853 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
854 and Print popups and Splash screen, respectively.
856 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
860 * Makefile.am: associated changes.
862 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
864 * ControlConnections.[Ch]: (docType): new method; returns the type
865 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
868 * ControlSearch.[Ch]:
869 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
870 Search and TabularCreate popups, respectively.
873 * Makefile.am: associated changes.
875 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
877 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
880 * ControlInset.h (apply): fix bug. Can now create new insets again.
882 * README: describe program flow.
884 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
886 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
888 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
890 * ControlDialogs.h: moved class ControlInset into its own file.
892 * ControlInset.h: new file. class ControlInset has been expanded to take
893 two template parameters, Inset and Params. Believe that all inset
894 controllers can be derived from this with the minimum of effort.
896 * ControlBibitem.[Ch]:
897 * ControlBibtex.[Ch]:
898 * ControlCitation.[Ch]:
899 * ControlCommand.[Ch]: moved most code into ControlInset.
901 * lots of files. Moved protected stuff into private where possible.
904 * ControlInclude.[Ch]:
905 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
906 Include and Url popups, respectively.
909 * Makefile.am: associated changes.
911 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
913 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
916 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
918 * ControlCredits.C (getCredits): remove std:: qualifier for
921 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
923 * ControlCredits.C (getCredits): add std:: on vector
925 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
927 * ControlCredits.C: remove using that is only used once, use
928 std::ios instead of std::iosbase, add some annoying comments.
930 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
932 * lots of header files: improved explanatory notes.
934 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
935 ControlBase is now a class that only controls the interaction of the
936 View with the ButtonController.
938 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
939 to ControlConnectBase. The class controls the connection/disconnection
940 of signals from the LyX kernel and makes available the kernel (through
941 lv_) to daughter controller classes.
942 Moved out class ControlConnectInset to a new file ControlDialogs.h.
944 * ControlDialogs.h: new file. Contains the definition of two template
945 controller classes, ControlDialog and ControlInset (was
946 ControlConnectInset). ControlInset is a parent class for controllers
947 of inset-popups. ControlDialogs is the rather uninspired name for
948 the base class of all non-inset popups. (Eg, Document and Paragraph.)
949 ControlDialogs is reaching a state of maturity as several popups now use
950 it and its functionality becomes clear. ControlInset is still in a state
951 of flux. It is likely that functionality will be moved out of
952 ControlCommands and into it.
954 * GUI.h: new file. Moved all the template GUIXXX classes out of the
955 individual Controller header files and into one place. These classes
956 serve only as convenient wrappers to simplify code in the respective
957 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
959 * ControlCharacter.[Ch] (show, update, hide):
960 * ControlLog.[Ch] (show, update, hide):
961 * ControlVCLog.[Ch] (show, update, hide): moved back into
962 the ControlDialogs base class.
963 (setParams, clearParams): new methods containing controller-specific
964 code to set/reset the parameters manipulated by the view.
966 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
968 (hide): calls clearParams.
970 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
971 by ControlCommand::hide().
973 * ControlCopyright.[Ch]:
974 * ControlCredits.[Ch]: new files; controllers for the copyright and
975 credits popups, respectively.
977 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
979 * ControlCharacter.C: fix typo
981 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
983 * ControlCharacter.[Ch]: new files; controller for the character popup.
985 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
986 moved to new files helper_funcs.[Ch].
988 * helper_funcs.[Ch]: new files. Some useful helper functions and
991 * Makefile.am: added new files.
993 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
995 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
997 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1000 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1001 Control log files, respectively.
1003 * Makefile.am: added new files.
1005 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1007 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1009 * Makefile.am: added ControlBibtex.[Ch].
1011 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ControlCitation.C: added "using SigC::slot" declaration.
1016 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1017 to FormCitation.C prior to the merger: "Do not put space between
1020 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1022 * several files: remove CXX_WORKING_NAMESPACES
1024 * ButtonController.h: noncopyable is in namespace boost
1025 * ButtonPolicies.h: ditto
1027 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1029 * Merging changes from BRANCH_MVC back into HEAD.
1031 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1033 * Makefile.am: add ControlBibitem.[Ch].
1035 * ControlBibitem.[Ch]: new files that together define the Controller
1036 for a Bibitem popup.
1038 * ControlCommand.h (c-tor): give kb_action a default value of
1041 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1043 * ControlCitation.[Ch]: moved search functions out of class.
1044 (bibkeysInfo): new method. Returns const reference to private data.
1045 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1048 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1050 * ControlCitation.[Ch]: added Search functions to the class,
1051 (shamelessly lifted from Marco's gnome code). I think that these would
1052 be better as helper functions outside the class, but this is a first
1055 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1059 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1060 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1061 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1062 implementation of FormCitation.
1064 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ButtonPolicies.h: add SMI_NOOP to enum.
1068 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1070 * ButtonController.C (input): add "optimising" if-statement. Actually,
1071 things don't work correctly without it...
1073 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1075 * ViewBase.h: remove #pragma directive
1077 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1080 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1084 * Makefile.am: added ButtonPolicies.[Ch]
1086 * ButtonController.[Ch]: ButtonController is split into
1087 ButtonControllerBase and a template ButtonController class. The base
1088 class no longer stores a pointer to a ButtonPolicy, but instead
1089 accesses the actual instantiation of the policy through a pure virtual
1090 method bp(). This method and the ButtonPolicy itself are instantiated
1091 in the templatised ButtonController class. This class is derived from
1092 the GUI-specific GUIBC class, meaning that the frontends know
1093 nothing about the actual policy decided upon by the controllers.
1095 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1096 Instead the actual instantiations are accessed through pure virtual
1097 methods view() and bc(). The daughter classes are responsible for the
1098 actual View and ButtonController.
1100 * ControlCitation.h: the templatised class GUICitation instantiates
1101 the methods view() and bc(). It also stores the instances of the
1102 View and ButtonController.
1104 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1106 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1107 also changed to ButtonController.
1110 * ControlConnections.[Ch]:
1111 * ControlCommand.[Ch]:
1112 * ControlCitation.[Ch]:
1113 * ViewBase.h: Changes associated with this.
1115 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1117 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1118 xforms/ButtonController class into a GUI-I class (here) and an
1119 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1121 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1122 from which all Dialog Controllers should be derived. the Controllers
1123 are GUI-independent, but are designed to control the behaviour of
1124 GUI-specific implementaions of each dialog.
1126 * ControlConnections.[Ch]: new files. Classes controlling the
1127 connections of buffer-independent, buffer-dependent and Inset dialogs
1128 with the LyX kernel.
1130 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1131 InsetCommand subset of insets.
1133 * ControlCitation.[Ch]: new files. The test specialisation! A
1134 controller for the Citation dialog.
1136 * ViewBase.h: new file. ViewBase is an abstract base class from which
1137 GUI-specific dialogs should be derived. The functionality that the GUIs
1138 must now implement is much reduced.