1 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
3 * ControlAboutlyx.C (getVersion): two _() forgotten
5 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
9 * ControlBibtex.C: make N_() be _()
11 2002-04-07 Herbert Voss <voss@perce.de>
13 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
15 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
17 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
18 used when reading the BB.
20 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
22 * ControlGraphics.C (readBB): Don't open the ifstrem and then
23 check the format from the contents (and open a second ifstream in the
24 process. One at a time please.
26 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
28 * ControlRef.C (getBufferNum): squash warning message.
30 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
32 * ControlBibtex.C (Browse):
33 * ControlGraphics.C (Browse):
34 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
36 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
38 * ControlGraphics.C (applyParamsToInset): pass filepath to
39 InsetGraphics::updateInset.
41 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * most files: ws cleanup
45 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
47 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
50 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
53 * ControlInclude.C: better error messages
55 2002-03-11 Herbert Voss <voss@lyx.org>
57 * biblio.C (parseBibTeX): fix another minibug with an
60 2002-03-10 Herbert Voss <voss@lyx.org>
62 * biblio.C (parseBibTeX): fix bug
63 (familyName): improve parsing
65 2002-03-09 Herbert Voss <voss@lyx.org>
67 * ControlGraphics.[Ch]: adding checkFilename() for testing
70 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * ControlSendto.C (allFormats): fix a iterators are not pointers
75 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
77 * ControlShowFile.h: add a #include "LString.h"
79 2002-03-05 Herbert Voss <voss@lyx.org>
81 * biblio.C (getInfo): simplify if using paragraph layout
84 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
86 * biblio.C (getInfo): return the info field correctly if the key
88 (parseBibTeX): fix crash when data.find('=') returns string::npos.
90 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
92 * ControlForks.[Ch]: new files. A controller for the Forked Child
93 processes dialog, enabling the user to see what forked processes
94 are running, and, if he so desires, to kill them.
96 * GUI.h: add class GUIForks.
98 * Makefile.am: add ControlForks.[Ch].
100 * ControlGraphics.C (getParams): small change due to change in
103 2002-02-21 Herbert Voss <voss@lyx.org>
105 * biblio.C: fix bug with commentlines in a bibentry
107 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * Makefile.am: simpler obj. file compile
111 2002-02-18 Herbert Voss <voss@lyx.org>
113 * ControlGraphics.[Ch]: remove help-file call
115 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
117 * helper_funcs.h: wrap the structs firster and seconder up in a
118 namespace to avoid clashes with those in lyxalgo,h.
120 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
121 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
125 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
128 change Systemcalls::System to Systemcalls::Wait and
129 No change of functionality, just reflects the stripped down Systemcalls
132 2002-02-06 Herbert Voss <voss@lyx.org>
134 * ControlGraphics.[C] (readBB): search also in
135 g'zipped files. If it is useful than PK and compress
136 should also be supported. use unzipFile() from
139 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
141 * ControlRef.C (getBufferName): new method to get a real buffer
144 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
146 * ControlTexInfo.[Ch]: Removed Help functions.
148 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
150 * ControlSpellchecker.C: clear any selection left
153 2002-02-01 Herbert Voss <voss@lyx.org>
155 * ControlGraphics.[C] (readBB): search only, if it is a
156 ".?ps" file and look for bb's at end of file
158 2002-01-30 Herbert Voss <voss@lyx.org>
160 * ControlGraphic.[C]: do not search the whole file, when
163 2002-01-29 Herbert Voss <voss@lyx.org>
165 * ControlGraphic.[C]: added a button for document path
166 when browsing -> bug 222
168 2002-01-27 Herbert Voss <voss@lyx.org>
170 * ControlGraphic.[Ch]: added support for Bounding Box, other
173 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
176 * ControlTexinfo.h: added #include "LString.h" where they belong.
178 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
181 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
183 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
185 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
188 2002-01-20 Herbert Voss <voss@perce.de>
190 * ControlInclude.[Ch]: better control of unexistings files
191 when entered without the browser
193 * ControlGraphic.C (Browse): add extension "ps" when browsing for
196 2002-01-19 Herbert Voss <voss@perce.de>
198 * biblio.C (getInfo): fix bug when no author is given
200 * biblio.C (parseBibTeX): change the parsing, so that
201 '#'-characters in a bibtex entry are no more a problem.
203 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
205 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
206 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
208 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
210 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
214 * ControlExternal.C (Browse): add a std:: qualifier
216 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
218 * ControlExternal.C (Browse): simplify to use browseRelFile
220 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
222 * ButtonController.tmpl: added // -*- C++ -*-
224 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
225 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
226 Needed in _one_ of the ControlCommand-derived classes only.
228 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
231 * ControlSearch.h: #include LString.h
233 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
235 * ButtonController.h: split into two. The definition remains in
236 ButtonController.h, the declaration is now in ButtonController.tmpl.
237 These template methods should be #included when the derived class is
238 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
239 and in the qt2 and gnome equivalents.
241 * ControlDialogs.h: removed. The definition of class ControlDialog is
242 now to be found in ControlDialog.h and the declaration of the methods
243 is in ControlDialog.tmpl. The two template instantiations are performed
244 in ControlDialog_impl.[Ch], new files also.
246 * ControlInset.h: split into two. The definition remains in
247 ControlInset.h, the declaration is now in ControlInset.tmpl.
248 These template methods should be #included derived class is
249 instantiated, in this case in 8 other .C files in this directory.
251 * ControlAboutlyx.[Ch]:
252 * ControlCharacter.[Ch]:
262 * ControlPreamble.[Ch]:
264 * ControlSearch.[Ch]:
265 * ControlShowFile.[Ch]:
266 * ControlSpellchecker.[Ch]:
267 * ControlTabularCreate.[Ch]:
268 * ControlTexinfo.[Ch]:
269 * ControlThesaurus.[Ch]:
270 * ControlVCLog.[Ch]: small changes associated with the above ones.
272 * GUI.h: #include the ButtonController and dialog controller files
273 here, rather than forward declare them. This is the correct place
276 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
277 Rename ControlDialogs.h as ControlDialog.h.
278 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
281 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
283 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
285 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
287 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
290 * ControlGraphics.C (Browse): remove overzealous shortcut
292 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
294 * FormMinipage.C (apply, update): MinipageParams::width renamed
295 as MinipageParams::pageWidth. InsetMinipage::width renamed
296 as InsetMinipage::pageWidth.
298 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * ButtonController.h (refreshReadOnly): use explicit typename
302 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
304 * helper_funcs.h (browseFile): add default empty button descriptions.
306 * ControlGraphics.C (Browse):
307 * ControlBibtex.C (Browse):
308 * ControlInclude.C (Browse): add shortcuts to directory buttons
310 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
312 * ControlThesaurus.h:
313 * ControlThesaurus.C: update to Aiksaurus 0.14
315 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
317 * ControlSpellchecker.C (clearParams): show the closing message
318 only if some words have been checked, thereby fixing
321 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
323 * ControlFloat.[Ch]: changes to prevent here definitely being used
326 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
328 * ControlThesaurus.h: do not include <config.h> in header files
330 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
332 * ControlToc.C: changes for floatlist
334 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
336 * ControlVCLog.C: use _()
338 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
340 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
343 2001-10-22 Juergen Vigna <jug@sad.it>
345 * ControlSpellchecker.C (clearParams): use the error_ message of the
346 speller_ if available when the spellchecker died.
347 (setParams): remove double error message display.
349 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
351 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
353 * helper_funcs.[Ch] (getLatexUnits): see above.
355 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
357 * ControlTexinfo.C (getContents): use the right file for .sty files
359 2001-10-10 Herbert Voss <voss@perce.de>
361 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
362 and some more stuff from FormTexinfo.C
364 * ControlShowFile.C: hiding the update-button
366 2001-10-09 Herbert Voss <voss@perce.de>
368 * ControlTexinfo.[Ch]: new files. Display information about the
369 installed texfiles (cls,sty,bst).
371 * ControlShowFile.[Ch]: new files. Display the contents of a file.
373 * GUI.h: added classes GUIShowFile and GUITexinfo.
375 * Makefile.am: modified appropriately.
377 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
379 * ControlAboutlyx.C (getVersion): use lyx_version and
380 lyx_release_date instead of old macros
382 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
384 * ControlSpellchecker.C (check): Behaves well now when the spell
385 library doesn't know a replacement to an incorrect word.
387 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
389 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
390 the correct place. Can now check spelling more than once!
392 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
394 * ControlSplash.[Ch]: removed.
396 * GUI.h: remove GUISplash class.
398 * ViewBase.h: remove ViewSplash class.
400 * Makefile.am: remove ControlSplash.[Ch].
402 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
404 * ControlButtons.h: add variable emergency_exit_. If set to true, the
405 view will be shut down.
408 * ControlInset.h: act on emergency_exit_.
410 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
411 speller fails to launch.
413 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
415 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
416 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
418 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
420 * ControlRef.h (disconnectOnApply): new method. Set to true.
421 Perhaps make this user-modifiable?
423 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
425 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
428 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
430 * ControlRef.C (getBufferList, getBufferNum): New methods
432 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
435 of the dialog when the Apply button is pressed. Defaults to false,
436 but can be overridden in the daughter classes.
438 * ControlCitation.h (disconnectOnApply): new method. Set to true.
439 Perhaps make this user-modifiable?
441 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
444 we have dialogs that update their contents when the buffer changes.
445 Rather embarassing, really!
447 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
449 * ControlSearch (replace): change semantics of replace to NOT move on
450 to the next instance of a word once the present instance has been
451 replaced unless we are replacing ALL instances of the word.
453 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
455 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
457 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
459 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
460 dialog, set all options to "reset", close the dialog, re-open it ->
461 the options are set incorrectly.
463 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
464 When Applying it's useful to know whether the dialog is about to close
465 or not (no point refreshing the display for example).
467 * ControlInset.C (apply): use isClosing.
469 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
472 * ControlDialogs.h: remove bc() hack, now fixed in
473 Qt2 frontend. use member dialog_built_ instead of shared
476 * ButtonController.h:
477 * ButtonPolicies.C: more debug info
479 * ButtonControllerBase.C: call refresh() when setting readOnly !
481 * GUI.h: External form has apply, use the right policy
483 * character.C: fix two off-by-one errors when latex font was removed
485 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
487 * ControlInset.h (apply): tentative fix for the press Apply multiple
488 times and get multiple new Insets problem.
490 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
492 * ControlCharacter.C: fix typo
496 * ControlInsets.C: make sure dialog is built before it is shown, so
497 it works properly the very first time it is shown
499 2001-08-20 Herbert Voss <voss@perce.de>
501 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
502 and styles. Added an option for "bibliography into toc"
504 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
506 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
507 LaTeX is no longer a font property.
509 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
511 * GUI.h: Button controller for Reference dialog changed to
512 NoRepeatedApplyReadOnlyPolicy.
514 * biblio.C (getInfo): output volume and number info. Move year to end
517 2001-08-09 Allan Rae <rae@lyx.org>
519 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
521 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
523 * helper_funcs.C (getVectorFromString): fixed small bug.
525 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
527 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
529 * ControlSpellchecker.C: check next word after insert in personal dict
531 2001-08-06 Juergen Vigna <jug@sad.it>
533 * ControlERT.[Ch]: new file
535 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
537 * ControlInset.h: const and non-const forms of params().
539 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
540 whitespace from either side of each item.
542 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
544 * ControlFloat.h: add a != operator for FloatParams.
545 Lars, how did you get this to compile!!!
547 * ControlMinipage.[Ch]: uncommented someone's commenting out of
548 operator != for MinipageParams. Who's changing stuff and not compiling?
550 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
552 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
555 * GUI.h: add class GUIFloat
557 * ControlFloat.[Ch]: new files
559 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
561 * ControlPrint.C: #include Lassert.h here.
563 2001-07-26 Baruch Even <baruch@lyx.org>
565 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
568 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
570 * ControlThesaurus.h:
571 * ControlThesaurus.C:
573 * Makefile.am: thesaurus support
575 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
578 * ControlInclude.C: implement ability to load file
580 2001-07-18 Juergen Vigna <jug@sad.it>
582 * ControlSearch.C (replace): changes to lyxfind.h function calls.
584 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * biblio.C (getInfo): add a .c_str() to handle the usual
589 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
591 * ControlCitation.[Ch]: changes associated with adding natbib support.
592 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
593 New static variable citeStyles_.
595 * biblio.[Ch]: large internal rearrangement.
596 New public enum CiteStyle.
597 New public struct CitationStyle.
598 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
599 getNumericalStrings, getAuthorYearStrings
600 (simpleSearch, regexSearch): no longer publicly accessible.
602 * helper_funcs.C (getStringFromVector): bug fix.
604 2001-07-16 Baruch Even <baruch@lyx.org>
606 * ControlVCLog.h: Added Lsstream.h to includes.
608 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
610 * ControlSpellchecker.[Ch]: remove d-tor.
612 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
614 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
616 2001-07-16 Juergen Vigna <jug@sad.it>
618 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
619 compiled with USE_PSPELL) to be able to switch between ISpell and
622 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
624 Consistent use of Lsstream.h:
625 * ControlAboutlyx.[Ch] (getCredits):
626 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
628 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
630 * ControlCredits.[Ch]: removed
631 * ControlCopyright.[Ch]: removed
632 * ControlAboutlyx.[Ch]: added (replaces previous)
633 * GUI.h: removed credits and copyright added about lyx stuff
635 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
637 * ControlSpellchecker.C (getSuggestion):
638 (getWord): add std:: qualifier
640 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
642 * ControlSpellchecker.[Ch]: added
643 * ViewBase.h: added partialUpdate(int) member
644 * GUI.h: added spell stuff
646 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
648 * ControlExternal.C: (*it). -> it->
650 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
652 * ButtonController.h: move some included header files out of the
653 frontends and into here.
655 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
657 * ControlCharacter.C (c-tor): cosmetic name change of signal.
659 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
661 * *.[h]: added // -*- C++ -*-
662 * *.[C]: removed // -*- C++ -*-
664 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
665 activate Apply button.
666 (clearParams): removed.
667 font_ is now stored as a boost::scoped_ptr.
668 font_ is no longer deleted on hide(), so it's contents can now be used
669 by the Font button on the toolbar.
670 Lots of new methods so that the GUI can easily get the contents of
671 font_ when it update()s.
673 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
675 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
676 crash when the Font button on the Toolbar is pressed.
678 * GUI.h: change policy of Character button controller to
679 OkApplyCancelReadOnlyPolicy.
681 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
683 * ControlToc.C (getContents): don't add anything to the list if it
684 is supposed to be empty.
686 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
688 * helper_funcs.C (getVectorFromString): bug fix.
690 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
693 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
694 from ButtonControllerBase::readOnly. Updates the state of the widgets
695 in the read-only list only when the read-only status of the document
697 (refresh): moved this stuff into refreshReadOnly.
699 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
701 * ControlPrint.C (c-tor):
702 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
704 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
707 * character.h: small clean-ups.
709 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
711 * ControlToc.C (getType): remove support for old float list.
713 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
715 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
716 * ControlGraphics.h: no longer include insetgraphicsParams.h
717 * ControlInset.h: no longer include LyXView.h
722 * ControlCharacter.C:
725 * ControlConnections.C:
726 * ControlCopyright.C:
738 * ControlTabularCreate.C:
740 * ControlVCLog.C: they're now in here!
742 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
744 * ButtonControllerBase.h: C++ mode, inherit privately from
746 * ButtonPolicies.h: ditto
748 * ButtonController.h: C++ mode, swap init order of restore_ and
751 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
753 * ControlTabularCreate.h:
754 * ControlTabularCreate.C: make dialogs use a pair of uints
758 * ControlVCLog.C: fill a stringstream with the log contents
761 * ControlExternal.C: from Angus, clone the new InsetExternal
764 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
766 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
767 and made more robust.
769 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
778 * ControlCopyright.C: include gettext.h
780 * ControlCharacter.C:
781 * character.C: include gettext.h and language.h
783 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
785 * ButtonController.h:
786 * ButtonControllerBase.h:
787 * ButtonControllerBase.C:
794 * ControlConnections.h:
800 * ViewBase.h: s/ControlButton/ControlButtons/
802 s/UndoAll/Restore/ + associated
804 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
806 * ControlToc.[Ch]: new files; a controller for the TOC popup.
809 * Makefile.am: associated changes with all of the above.
811 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
813 * ControlExternal.C: bug fixes. Can now apply changes to the inset
814 and edit, view, update the External Material correctly. I hope!
816 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
818 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
820 * BCTemplates.h: renamed as ButtonController.h
822 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
825 * ControlConnections.h: associated change in #include and class names.
827 * ControlExternal.[Ch]: new files; a controller for the External
831 * Makefile.am: associated changes with all of the above.
833 * ControlGraphics.[Ch]:
834 * ControlInclude.[Ch]:
837 (Browse): new method. Returns the results of a FileDialog browse.
839 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
840 (getVectorFromString): fixed bug.
842 * biblio.C (simpleSearch): cleaned up.
844 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
846 * A slight reworking of Baruch Even's ButtonController patch.
848 * BCTemplates.h: new file; all the templates for the ButtonController.
849 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
850 to the more generic setButtonLabel().
852 * ButtonController.[Ch]: renamed cancel_label and close_label as
853 cancel_label_ and close_label_.
855 * Makefile.am: added BCTemplates.h
857 2001-03-29 Juergen Vigna <jug@sad.it>
859 * ControlMinipage.C: removed widthp_ and all it's functions and changed
860 to use new %-lengths of LyXLength.
862 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
864 * ControlCitation.C (bibkeysInfo): removed Assert.
866 * ControlCopyright.h: moved GUICopyright into GUI.h
870 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
872 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
873 (setDaughterParams): a (by default empty) new method called in show().
882 * ControlUrl.h (clearDaughterParams): removed
884 * ControlMinipage.C (applyParamsToInset): update the view.
885 Added namespace minipage containing a helper function getUnits.
887 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
889 * ControlCharacter.[Ch]: moved out all the helper functions and the
890 enum into their own file.
891 * character.[Ch]: new files; contain the character helper functions,
892 now inside namespace character.
894 * ControlCitation.[Ch]: moved out all the helper functions and the
895 enums into their own file. Simplified interface.
896 * biblio.[Ch]: new files; contain the citation helper functions,
897 now inside namespace biblio. Will be of use also to an improved
900 * ControlGraphics.[Ch]:
901 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
902 popups, respectively.
905 * Makefile.am: associated changes.
907 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
909 * ControlMinipage.[Ch]:
910 * ControlPreamble.[Ch]:
912 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
913 and Print popups and Splash screen, respectively.
915 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
919 * Makefile.am: associated changes.
921 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
923 * ControlConnections.[Ch]: (docType): new method; returns the type
924 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
927 * ControlSearch.[Ch]:
928 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
929 Search and TabularCreate popups, respectively.
932 * Makefile.am: associated changes.
934 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
936 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
939 * ControlInset.h (apply): fix bug. Can now create new insets again.
941 * README: describe program flow.
943 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
945 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
947 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
949 * ControlDialogs.h: moved class ControlInset into its own file.
951 * ControlInset.h: new file. class ControlInset has been expanded to take
952 two template parameters, Inset and Params. Believe that all inset
953 controllers can be derived from this with the minimum of effort.
955 * ControlBibitem.[Ch]:
956 * ControlBibtex.[Ch]:
957 * ControlCitation.[Ch]:
958 * ControlCommand.[Ch]: moved most code into ControlInset.
960 * lots of files. Moved protected stuff into private where possible.
963 * ControlInclude.[Ch]:
964 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
965 Include and Url popups, respectively.
968 * Makefile.am: associated changes.
970 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
972 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
975 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
977 * ControlCredits.C (getCredits): remove std:: qualifier for
980 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
982 * ControlCredits.C (getCredits): add std:: on vector
984 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
986 * ControlCredits.C: remove using that is only used once, use
987 std::ios instead of std::iosbase, add some annoying comments.
989 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
991 * lots of header files: improved explanatory notes.
993 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
994 ControlBase is now a class that only controls the interaction of the
995 View with the ButtonController.
997 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
998 to ControlConnectBase. The class controls the connection/disconnection
999 of signals from the LyX kernel and makes available the kernel (through
1000 lv_) to daughter controller classes.
1001 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1003 * ControlDialogs.h: new file. Contains the definition of two template
1004 controller classes, ControlDialog and ControlInset (was
1005 ControlConnectInset). ControlInset is a parent class for controllers
1006 of inset-popups. ControlDialogs is the rather uninspired name for
1007 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1008 ControlDialogs is reaching a state of maturity as several popups now use
1009 it and its functionality becomes clear. ControlInset is still in a state
1010 of flux. It is likely that functionality will be moved out of
1011 ControlCommands and into it.
1013 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1014 individual Controller header files and into one place. These classes
1015 serve only as convenient wrappers to simplify code in the respective
1016 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1018 * ControlCharacter.[Ch] (show, update, hide):
1019 * ControlLog.[Ch] (show, update, hide):
1020 * ControlVCLog.[Ch] (show, update, hide): moved back into
1021 the ControlDialogs base class.
1022 (setParams, clearParams): new methods containing controller-specific
1023 code to set/reset the parameters manipulated by the view.
1025 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1027 (hide): calls clearParams.
1029 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1030 by ControlCommand::hide().
1032 * ControlCopyright.[Ch]:
1033 * ControlCredits.[Ch]: new files; controllers for the copyright and
1034 credits popups, respectively.
1036 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1038 * ControlCharacter.C: fix typo
1040 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1042 * ControlCharacter.[Ch]: new files; controller for the character popup.
1044 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1045 moved to new files helper_funcs.[Ch].
1047 * helper_funcs.[Ch]: new files. Some useful helper functions and
1050 * Makefile.am: added new files.
1052 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1054 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1056 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1059 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1060 Control log files, respectively.
1062 * Makefile.am: added new files.
1064 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1068 * Makefile.am: added ControlBibtex.[Ch].
1070 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1073 * ControlCitation.C: added "using SigC::slot" declaration.
1075 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1076 to FormCitation.C prior to the merger: "Do not put space between
1079 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1081 * several files: remove CXX_WORKING_NAMESPACES
1083 * ButtonController.h: noncopyable is in namespace boost
1084 * ButtonPolicies.h: ditto
1086 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1088 * Merging changes from BRANCH_MVC back into HEAD.
1090 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1092 * Makefile.am: add ControlBibitem.[Ch].
1094 * ControlBibitem.[Ch]: new files that together define the Controller
1095 for a Bibitem popup.
1097 * ControlCommand.h (c-tor): give kb_action a default value of
1100 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1102 * ControlCitation.[Ch]: moved search functions out of class.
1103 (bibkeysInfo): new method. Returns const reference to private data.
1104 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1107 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlCitation.[Ch]: added Search functions to the class,
1110 (shamelessly lifted from Marco's gnome code). I think that these would
1111 be better as helper functions outside the class, but this is a first
1114 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1118 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1119 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1120 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1121 implementation of FormCitation.
1123 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1125 * ButtonPolicies.h: add SMI_NOOP to enum.
1127 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1129 * ButtonController.C (input): add "optimising" if-statement. Actually,
1130 things don't work correctly without it...
1132 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1134 * ViewBase.h: remove #pragma directive
1136 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1139 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1141 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1143 * Makefile.am: added ButtonPolicies.[Ch]
1145 * ButtonController.[Ch]: ButtonController is split into
1146 ButtonControllerBase and a template ButtonController class. The base
1147 class no longer stores a pointer to a ButtonPolicy, but instead
1148 accesses the actual instantiation of the policy through a pure virtual
1149 method bp(). This method and the ButtonPolicy itself are instantiated
1150 in the templatised ButtonController class. This class is derived from
1151 the GUI-specific GUIBC class, meaning that the frontends know
1152 nothing about the actual policy decided upon by the controllers.
1154 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1155 Instead the actual instantiations are accessed through pure virtual
1156 methods view() and bc(). The daughter classes are responsible for the
1157 actual View and ButtonController.
1159 * ControlCitation.h: the templatised class GUICitation instantiates
1160 the methods view() and bc(). It also stores the instances of the
1161 View and ButtonController.
1163 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1165 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1166 also changed to ButtonController.
1169 * ControlConnections.[Ch]:
1170 * ControlCommand.[Ch]:
1171 * ControlCitation.[Ch]:
1172 * ViewBase.h: Changes associated with this.
1174 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1176 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1177 xforms/ButtonController class into a GUI-I class (here) and an
1178 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1180 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1181 from which all Dialog Controllers should be derived. the Controllers
1182 are GUI-independent, but are designed to control the behaviour of
1183 GUI-specific implementaions of each dialog.
1185 * ControlConnections.[Ch]: new files. Classes controlling the
1186 connections of buffer-independent, buffer-dependent and Inset dialogs
1187 with the LyX kernel.
1189 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1190 InsetCommand subset of insets.
1192 * ControlCitation.[Ch]: new files. The test specialisation! A
1193 controller for the Citation dialog.
1195 * ViewBase.h: new file. ViewBase is an abstract base class from which
1196 GUI-specific dialogs should be derived. The functionality that the GUIs
1197 must now implement is much reduced.