1 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * most files: ws cleanup
5 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
7 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
10 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
13 * ControlInclude.C: better error messages
15 2002-03-11 Herbert Voss <voss@lyx.org>
17 * biblio.C (parseBibTeX): fix another minibug with an
20 2002-03-10 Herbert Voss <voss@lyx.org>
22 * biblio.C (parseBibTeX): fix bug
23 (familyName): improve parsing
25 2002-03-09 Herbert Voss <voss@lyx.org>
27 * ControlGraphics.[Ch]: adding checkFilename() for testing
30 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * ControlSendto.C (allFormats): fix a iterators are not pointers
35 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
37 * ControlShowFile.h: add a #include "LString.h"
39 2002-03-05 Herbert Voss <voss@lyx.org>
41 * biblio.C (getInfo): simplify if using paragraph layout
44 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
46 * biblio.C (getInfo): return the info field correctly if the key
48 (parseBibTeX): fix crash when data.find('=') returns string::npos.
50 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
52 * ControlForks.[Ch]: new files. A controller for the Forked Child
53 processes dialog, enabling the user to see what forked processes
54 are running, and, if he so desires, to kill them.
56 * GUI.h: add class GUIForks.
58 * Makefile.am: add ControlForks.[Ch].
60 * ControlGraphics.C (getParams): small change due to change in
63 2002-02-21 Herbert Voss <voss@lyx.org>
65 * biblio.C: fix bug with commentlines in a bibentry
67 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * Makefile.am: simpler obj. file compile
71 2002-02-18 Herbert Voss <voss@lyx.org>
73 * ControlGraphics.[Ch]: remove help-file call
75 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
77 * helper_funcs.h: wrap the structs firster and seconder up in a
78 namespace to avoid clashes with those in lyxalgo,h.
80 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
81 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
83 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
85 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
88 change Systemcalls::System to Systemcalls::Wait and
89 No change of functionality, just reflects the stripped down Systemcalls
92 2002-02-06 Herbert Voss <voss@lyx.org>
94 * ControlGraphics.[C] (readBB): search also in
95 g'zipped files. If it is useful than PK and compress
96 should also be supported. use unzipFile() from
99 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * ControlRef.C (getBufferName): new method to get a real buffer
104 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
106 * ControlTexInfo.[Ch]: Removed Help functions.
108 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
110 * ControlSpellchecker.C: clear any selection left
113 2002-02-01 Herbert Voss <voss@lyx.org>
115 * ControlGraphics.[C] (readBB): search only, if it is a
116 ".?ps" file and look for bb's at end of file
118 2002-01-30 Herbert Voss <voss@lyx.org>
120 * ControlGraphic.[C]: do not search the whole file, when
123 2002-01-29 Herbert Voss <voss@lyx.org>
125 * ControlGraphic.[C]: added a button for document path
126 when browsing -> bug 222
128 2002-01-27 Herbert Voss <voss@lyx.org>
130 * ControlGraphic.[Ch]: added support for Bounding Box, other
133 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlTexinfo.h: added #include "LString.h" where they belong.
138 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
141 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
143 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
145 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
148 2002-01-20 Herbert Voss <voss@perce.de>
150 * ControlInclude.[Ch]: better control of unexistings files
151 when entered without the browser
153 * ControlGraphic.C (Browse): add extension "ps" when browsing for
156 2002-01-19 Herbert Voss <voss@perce.de>
158 * biblio.C (getInfo): fix bug when no author is given
160 * biblio.C (parseBibTeX): change the parsing, so that
161 '#'-characters in a bibtex entry are no more a problem.
163 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
165 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
166 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
168 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
170 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
172 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
174 * ControlExternal.C (Browse): add a std:: qualifier
176 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * ControlExternal.C (Browse): simplify to use browseRelFile
180 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
182 * ButtonController.tmpl: added // -*- C++ -*-
184 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
185 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
186 Needed in _one_ of the ControlCommand-derived classes only.
188 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
191 * ControlSearch.h: #include LString.h
193 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
195 * ButtonController.h: split into two. The definition remains in
196 ButtonController.h, the declaration is now in ButtonController.tmpl.
197 These template methods should be #included when the derived class is
198 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
199 and in the qt2 and gnome equivalents.
201 * ControlDialogs.h: removed. The definition of class ControlDialog is
202 now to be found in ControlDialog.h and the declaration of the methods
203 is in ControlDialog.tmpl. The two template instantiations are performed
204 in ControlDialog_impl.[Ch], new files also.
206 * ControlInset.h: split into two. The definition remains in
207 ControlInset.h, the declaration is now in ControlInset.tmpl.
208 These template methods should be #included derived class is
209 instantiated, in this case in 8 other .C files in this directory.
211 * ControlAboutlyx.[Ch]:
212 * ControlCharacter.[Ch]:
222 * ControlPreamble.[Ch]:
224 * ControlSearch.[Ch]:
225 * ControlShowFile.[Ch]:
226 * ControlSpellchecker.[Ch]:
227 * ControlTabularCreate.[Ch]:
228 * ControlTexinfo.[Ch]:
229 * ControlThesaurus.[Ch]:
230 * ControlVCLog.[Ch]: small changes associated with the above ones.
232 * GUI.h: #include the ButtonController and dialog controller files
233 here, rather than forward declare them. This is the correct place
236 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
237 Rename ControlDialogs.h as ControlDialog.h.
238 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
241 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
243 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
245 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
250 * ControlGraphics.C (Browse): remove overzealous shortcut
252 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
254 * FormMinipage.C (apply, update): MinipageParams::width renamed
255 as MinipageParams::pageWidth. InsetMinipage::width renamed
256 as InsetMinipage::pageWidth.
258 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
260 * ButtonController.h (refreshReadOnly): use explicit typename
262 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
264 * helper_funcs.h (browseFile): add default empty button descriptions.
266 * ControlGraphics.C (Browse):
267 * ControlBibtex.C (Browse):
268 * ControlInclude.C (Browse): add shortcuts to directory buttons
270 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
272 * ControlThesaurus.h:
273 * ControlThesaurus.C: update to Aiksaurus 0.14
275 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
277 * ControlSpellchecker.C (clearParams): show the closing message
278 only if some words have been checked, thereby fixing
281 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
283 * ControlFloat.[Ch]: changes to prevent here definitely being used
286 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
288 * ControlThesaurus.h: do not include <config.h> in header files
290 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
292 * ControlToc.C: changes for floatlist
294 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
296 * ControlVCLog.C: use _()
298 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
300 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
303 2001-10-22 Juergen Vigna <jug@sad.it>
305 * ControlSpellchecker.C (clearParams): use the error_ message of the
306 speller_ if available when the spellchecker died.
307 (setParams): remove double error message display.
309 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
311 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
313 * helper_funcs.[Ch] (getLatexUnits): see above.
315 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
317 * ControlTexinfo.C (getContents): use the right file for .sty files
319 2001-10-10 Herbert Voss <voss@perce.de>
321 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
322 and some more stuff from FormTexinfo.C
324 * ControlShowFile.C: hiding the update-button
326 2001-10-09 Herbert Voss <voss@perce.de>
328 * ControlTexinfo.[Ch]: new files. Display information about the
329 installed texfiles (cls,sty,bst).
331 * ControlShowFile.[Ch]: new files. Display the contents of a file.
333 * GUI.h: added classes GUIShowFile and GUITexinfo.
335 * Makefile.am: modified appropriately.
337 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
339 * ControlAboutlyx.C (getVersion): use lyx_version and
340 lyx_release_date instead of old macros
342 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
344 * ControlSpellchecker.C (check): Behaves well now when the spell
345 library doesn't know a replacement to an incorrect word.
347 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
349 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
350 the correct place. Can now check spelling more than once!
352 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
354 * ControlSplash.[Ch]: removed.
356 * GUI.h: remove GUISplash class.
358 * ViewBase.h: remove ViewSplash class.
360 * Makefile.am: remove ControlSplash.[Ch].
362 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
364 * ControlButtons.h: add variable emergency_exit_. If set to true, the
365 view will be shut down.
368 * ControlInset.h: act on emergency_exit_.
370 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
371 speller fails to launch.
373 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
375 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
376 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
378 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlRef.h (disconnectOnApply): new method. Set to true.
381 Perhaps make this user-modifiable?
383 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
388 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
390 * ControlRef.C (getBufferList, getBufferNum): New methods
392 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
394 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
395 of the dialog when the Apply button is pressed. Defaults to false,
396 but can be overridden in the daughter classes.
398 * ControlCitation.h (disconnectOnApply): new method. Set to true.
399 Perhaps make this user-modifiable?
401 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
403 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
404 we have dialogs that update their contents when the buffer changes.
405 Rather embarassing, really!
407 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
409 * ControlSearch (replace): change semantics of replace to NOT move on
410 to the next instance of a word once the present instance has been
411 replaced unless we are replacing ALL instances of the word.
413 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
415 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
417 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
419 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
420 dialog, set all options to "reset", close the dialog, re-open it ->
421 the options are set incorrectly.
423 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
424 When Applying it's useful to know whether the dialog is about to close
425 or not (no point refreshing the display for example).
427 * ControlInset.C (apply): use isClosing.
429 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
432 * ControlDialogs.h: remove bc() hack, now fixed in
433 Qt2 frontend. use member dialog_built_ instead of shared
436 * ButtonController.h:
437 * ButtonPolicies.C: more debug info
439 * ButtonControllerBase.C: call refresh() when setting readOnly !
441 * GUI.h: External form has apply, use the right policy
443 * character.C: fix two off-by-one errors when latex font was removed
445 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
447 * ControlInset.h (apply): tentative fix for the press Apply multiple
448 times and get multiple new Insets problem.
450 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
452 * ControlCharacter.C: fix typo
456 * ControlInsets.C: make sure dialog is built before it is shown, so
457 it works properly the very first time it is shown
459 2001-08-20 Herbert Voss <voss@perce.de>
461 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
462 and styles. Added an option for "bibliography into toc"
464 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
466 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
467 LaTeX is no longer a font property.
469 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
471 * GUI.h: Button controller for Reference dialog changed to
472 NoRepeatedApplyReadOnlyPolicy.
474 * biblio.C (getInfo): output volume and number info. Move year to end
477 2001-08-09 Allan Rae <rae@lyx.org>
479 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
481 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
483 * helper_funcs.C (getVectorFromString): fixed small bug.
485 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
487 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
489 * ControlSpellchecker.C: check next word after insert in personal dict
491 2001-08-06 Juergen Vigna <jug@sad.it>
493 * ControlERT.[Ch]: new file
495 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlInset.h: const and non-const forms of params().
499 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
500 whitespace from either side of each item.
502 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlFloat.h: add a != operator for FloatParams.
505 Lars, how did you get this to compile!!!
507 * ControlMinipage.[Ch]: uncommented someone's commenting out of
508 operator != for MinipageParams. Who's changing stuff and not compiling?
510 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
515 * GUI.h: add class GUIFloat
517 * ControlFloat.[Ch]: new files
519 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
521 * ControlPrint.C: #include Lassert.h here.
523 2001-07-26 Baruch Even <baruch@lyx.org>
525 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
528 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
530 * ControlThesaurus.h:
531 * ControlThesaurus.C:
533 * Makefile.am: thesaurus support
535 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
538 * ControlInclude.C: implement ability to load file
540 2001-07-18 Juergen Vigna <jug@sad.it>
542 * ControlSearch.C (replace): changes to lyxfind.h function calls.
544 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
546 * biblio.C (getInfo): add a .c_str() to handle the usual
549 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
551 * ControlCitation.[Ch]: changes associated with adding natbib support.
552 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
553 New static variable citeStyles_.
555 * biblio.[Ch]: large internal rearrangement.
556 New public enum CiteStyle.
557 New public struct CitationStyle.
558 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
559 getNumericalStrings, getAuthorYearStrings
560 (simpleSearch, regexSearch): no longer publicly accessible.
562 * helper_funcs.C (getStringFromVector): bug fix.
564 2001-07-16 Baruch Even <baruch@lyx.org>
566 * ControlVCLog.h: Added Lsstream.h to includes.
568 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
570 * ControlSpellchecker.[Ch]: remove d-tor.
572 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
574 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
576 2001-07-16 Juergen Vigna <jug@sad.it>
578 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
579 compiled with USE_PSPELL) to be able to switch between ISpell and
582 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
584 Consistent use of Lsstream.h:
585 * ControlAboutlyx.[Ch] (getCredits):
586 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
588 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
590 * ControlCredits.[Ch]: removed
591 * ControlCopyright.[Ch]: removed
592 * ControlAboutlyx.[Ch]: added (replaces previous)
593 * GUI.h: removed credits and copyright added about lyx stuff
595 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
597 * ControlSpellchecker.C (getSuggestion):
598 (getWord): add std:: qualifier
600 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
602 * ControlSpellchecker.[Ch]: added
603 * ViewBase.h: added partialUpdate(int) member
604 * GUI.h: added spell stuff
606 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * ControlExternal.C: (*it). -> it->
610 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
612 * ButtonController.h: move some included header files out of the
613 frontends and into here.
615 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
617 * ControlCharacter.C (c-tor): cosmetic name change of signal.
619 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
621 * *.[h]: added // -*- C++ -*-
622 * *.[C]: removed // -*- C++ -*-
624 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
625 activate Apply button.
626 (clearParams): removed.
627 font_ is now stored as a boost::scoped_ptr.
628 font_ is no longer deleted on hide(), so it's contents can now be used
629 by the Font button on the toolbar.
630 Lots of new methods so that the GUI can easily get the contents of
631 font_ when it update()s.
633 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
635 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
636 crash when the Font button on the Toolbar is pressed.
638 * GUI.h: change policy of Character button controller to
639 OkApplyCancelReadOnlyPolicy.
641 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
643 * ControlToc.C (getContents): don't add anything to the list if it
644 is supposed to be empty.
646 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
648 * helper_funcs.C (getVectorFromString): bug fix.
650 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
653 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
654 from ButtonControllerBase::readOnly. Updates the state of the widgets
655 in the read-only list only when the read-only status of the document
657 (refresh): moved this stuff into refreshReadOnly.
659 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
661 * ControlPrint.C (c-tor):
662 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
664 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
667 * character.h: small clean-ups.
669 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * ControlToc.C (getType): remove support for old float list.
673 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
675 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
676 * ControlGraphics.h: no longer include insetgraphicsParams.h
677 * ControlInset.h: no longer include LyXView.h
682 * ControlCharacter.C:
685 * ControlConnections.C:
686 * ControlCopyright.C:
698 * ControlTabularCreate.C:
700 * ControlVCLog.C: they're now in here!
702 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
704 * ButtonControllerBase.h: C++ mode, inherit privately from
706 * ButtonPolicies.h: ditto
708 * ButtonController.h: C++ mode, swap init order of restore_ and
711 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
713 * ControlTabularCreate.h:
714 * ControlTabularCreate.C: make dialogs use a pair of uints
718 * ControlVCLog.C: fill a stringstream with the log contents
721 * ControlExternal.C: from Angus, clone the new InsetExternal
724 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
726 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
727 and made more robust.
729 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
738 * ControlCopyright.C: include gettext.h
740 * ControlCharacter.C:
741 * character.C: include gettext.h and language.h
743 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
745 * ButtonController.h:
746 * ButtonControllerBase.h:
747 * ButtonControllerBase.C:
754 * ControlConnections.h:
760 * ViewBase.h: s/ControlButton/ControlButtons/
762 s/UndoAll/Restore/ + associated
764 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
766 * ControlToc.[Ch]: new files; a controller for the TOC popup.
769 * Makefile.am: associated changes with all of the above.
771 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
773 * ControlExternal.C: bug fixes. Can now apply changes to the inset
774 and edit, view, update the External Material correctly. I hope!
776 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
778 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
780 * BCTemplates.h: renamed as ButtonController.h
782 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
785 * ControlConnections.h: associated change in #include and class names.
787 * ControlExternal.[Ch]: new files; a controller for the External
791 * Makefile.am: associated changes with all of the above.
793 * ControlGraphics.[Ch]:
794 * ControlInclude.[Ch]:
797 (Browse): new method. Returns the results of a FileDialog browse.
799 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
800 (getVectorFromString): fixed bug.
802 * biblio.C (simpleSearch): cleaned up.
804 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
806 * A slight reworking of Baruch Even's ButtonController patch.
808 * BCTemplates.h: new file; all the templates for the ButtonController.
809 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
810 to the more generic setButtonLabel().
812 * ButtonController.[Ch]: renamed cancel_label and close_label as
813 cancel_label_ and close_label_.
815 * Makefile.am: added BCTemplates.h
817 2001-03-29 Juergen Vigna <jug@sad.it>
819 * ControlMinipage.C: removed widthp_ and all it's functions and changed
820 to use new %-lengths of LyXLength.
822 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
824 * ControlCitation.C (bibkeysInfo): removed Assert.
826 * ControlCopyright.h: moved GUICopyright into GUI.h
830 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
832 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
833 (setDaughterParams): a (by default empty) new method called in show().
842 * ControlUrl.h (clearDaughterParams): removed
844 * ControlMinipage.C (applyParamsToInset): update the view.
845 Added namespace minipage containing a helper function getUnits.
847 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
849 * ControlCharacter.[Ch]: moved out all the helper functions and the
850 enum into their own file.
851 * character.[Ch]: new files; contain the character helper functions,
852 now inside namespace character.
854 * ControlCitation.[Ch]: moved out all the helper functions and the
855 enums into their own file. Simplified interface.
856 * biblio.[Ch]: new files; contain the citation helper functions,
857 now inside namespace biblio. Will be of use also to an improved
860 * ControlGraphics.[Ch]:
861 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
862 popups, respectively.
865 * Makefile.am: associated changes.
867 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
869 * ControlMinipage.[Ch]:
870 * ControlPreamble.[Ch]:
872 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
873 and Print popups and Splash screen, respectively.
875 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
879 * Makefile.am: associated changes.
881 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
883 * ControlConnections.[Ch]: (docType): new method; returns the type
884 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
887 * ControlSearch.[Ch]:
888 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
889 Search and TabularCreate popups, respectively.
892 * Makefile.am: associated changes.
894 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
896 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
899 * ControlInset.h (apply): fix bug. Can now create new insets again.
901 * README: describe program flow.
903 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
905 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
907 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
909 * ControlDialogs.h: moved class ControlInset into its own file.
911 * ControlInset.h: new file. class ControlInset has been expanded to take
912 two template parameters, Inset and Params. Believe that all inset
913 controllers can be derived from this with the minimum of effort.
915 * ControlBibitem.[Ch]:
916 * ControlBibtex.[Ch]:
917 * ControlCitation.[Ch]:
918 * ControlCommand.[Ch]: moved most code into ControlInset.
920 * lots of files. Moved protected stuff into private where possible.
923 * ControlInclude.[Ch]:
924 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
925 Include and Url popups, respectively.
928 * Makefile.am: associated changes.
930 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
935 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
937 * ControlCredits.C (getCredits): remove std:: qualifier for
940 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
942 * ControlCredits.C (getCredits): add std:: on vector
944 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
946 * ControlCredits.C: remove using that is only used once, use
947 std::ios instead of std::iosbase, add some annoying comments.
949 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
951 * lots of header files: improved explanatory notes.
953 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
954 ControlBase is now a class that only controls the interaction of the
955 View with the ButtonController.
957 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
958 to ControlConnectBase. The class controls the connection/disconnection
959 of signals from the LyX kernel and makes available the kernel (through
960 lv_) to daughter controller classes.
961 Moved out class ControlConnectInset to a new file ControlDialogs.h.
963 * ControlDialogs.h: new file. Contains the definition of two template
964 controller classes, ControlDialog and ControlInset (was
965 ControlConnectInset). ControlInset is a parent class for controllers
966 of inset-popups. ControlDialogs is the rather uninspired name for
967 the base class of all non-inset popups. (Eg, Document and Paragraph.)
968 ControlDialogs is reaching a state of maturity as several popups now use
969 it and its functionality becomes clear. ControlInset is still in a state
970 of flux. It is likely that functionality will be moved out of
971 ControlCommands and into it.
973 * GUI.h: new file. Moved all the template GUIXXX classes out of the
974 individual Controller header files and into one place. These classes
975 serve only as convenient wrappers to simplify code in the respective
976 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
978 * ControlCharacter.[Ch] (show, update, hide):
979 * ControlLog.[Ch] (show, update, hide):
980 * ControlVCLog.[Ch] (show, update, hide): moved back into
981 the ControlDialogs base class.
982 (setParams, clearParams): new methods containing controller-specific
983 code to set/reset the parameters manipulated by the view.
985 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
987 (hide): calls clearParams.
989 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
990 by ControlCommand::hide().
992 * ControlCopyright.[Ch]:
993 * ControlCredits.[Ch]: new files; controllers for the copyright and
994 credits popups, respectively.
996 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
998 * ControlCharacter.C: fix typo
1000 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlCharacter.[Ch]: new files; controller for the character popup.
1004 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1005 moved to new files helper_funcs.[Ch].
1007 * helper_funcs.[Ch]: new files. Some useful helper functions and
1010 * Makefile.am: added new files.
1012 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1016 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1020 Control log files, respectively.
1022 * Makefile.am: added new files.
1024 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1028 * Makefile.am: added ControlBibtex.[Ch].
1030 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1033 * ControlCitation.C: added "using SigC::slot" declaration.
1035 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1036 to FormCitation.C prior to the merger: "Do not put space between
1039 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1041 * several files: remove CXX_WORKING_NAMESPACES
1043 * ButtonController.h: noncopyable is in namespace boost
1044 * ButtonPolicies.h: ditto
1046 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1048 * Merging changes from BRANCH_MVC back into HEAD.
1050 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1052 * Makefile.am: add ControlBibitem.[Ch].
1054 * ControlBibitem.[Ch]: new files that together define the Controller
1055 for a Bibitem popup.
1057 * ControlCommand.h (c-tor): give kb_action a default value of
1060 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1062 * ControlCitation.[Ch]: moved search functions out of class.
1063 (bibkeysInfo): new method. Returns const reference to private data.
1064 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1067 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlCitation.[Ch]: added Search functions to the class,
1070 (shamelessly lifted from Marco's gnome code). I think that these would
1071 be better as helper functions outside the class, but this is a first
1074 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1076 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1078 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1079 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1080 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1081 implementation of FormCitation.
1083 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1085 * ButtonPolicies.h: add SMI_NOOP to enum.
1087 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1089 * ButtonController.C (input): add "optimising" if-statement. Actually,
1090 things don't work correctly without it...
1092 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1094 * ViewBase.h: remove #pragma directive
1096 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1099 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1103 * Makefile.am: added ButtonPolicies.[Ch]
1105 * ButtonController.[Ch]: ButtonController is split into
1106 ButtonControllerBase and a template ButtonController class. The base
1107 class no longer stores a pointer to a ButtonPolicy, but instead
1108 accesses the actual instantiation of the policy through a pure virtual
1109 method bp(). This method and the ButtonPolicy itself are instantiated
1110 in the templatised ButtonController class. This class is derived from
1111 the GUI-specific GUIBC class, meaning that the frontends know
1112 nothing about the actual policy decided upon by the controllers.
1114 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1115 Instead the actual instantiations are accessed through pure virtual
1116 methods view() and bc(). The daughter classes are responsible for the
1117 actual View and ButtonController.
1119 * ControlCitation.h: the templatised class GUICitation instantiates
1120 the methods view() and bc(). It also stores the instances of the
1121 View and ButtonController.
1123 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1125 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1126 also changed to ButtonController.
1129 * ControlConnections.[Ch]:
1130 * ControlCommand.[Ch]:
1131 * ControlCitation.[Ch]:
1132 * ViewBase.h: Changes associated with this.
1134 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1137 xforms/ButtonController class into a GUI-I class (here) and an
1138 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1140 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1141 from which all Dialog Controllers should be derived. the Controllers
1142 are GUI-independent, but are designed to control the behaviour of
1143 GUI-specific implementaions of each dialog.
1145 * ControlConnections.[Ch]: new files. Classes controlling the
1146 connections of buffer-independent, buffer-dependent and Inset dialogs
1147 with the LyX kernel.
1149 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1150 InsetCommand subset of insets.
1152 * ControlCitation.[Ch]: new files. The test specialisation! A
1153 controller for the Citation dialog.
1155 * ViewBase.h: new file. ViewBase is an abstract base class from which
1156 GUI-specific dialogs should be derived. The functionality that the GUIs
1157 must now implement is much reduced.