1 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
5 * ControlBibtex.C: make N_() be _()
7 2002-04-07 Herbert Voss <voss@perce.de>
9 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
11 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
13 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
14 used when reading the BB.
16 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
18 * ControlGraphics.C (readBB): Don't open the ifstrem and then
19 check the format from the contents (and open a second ifstream in the
20 process. One at a time please.
22 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
24 * ControlRef.C (getBufferNum): squash warning message.
26 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
28 * ControlBibtex.C (Browse):
29 * ControlGraphics.C (Browse):
30 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
32 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
34 * ControlGraphics.C (applyParamsToInset): pass filepath to
35 InsetGraphics::updateInset.
37 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
39 * most files: ws cleanup
41 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
43 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
46 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
49 * ControlInclude.C: better error messages
51 2002-03-11 Herbert Voss <voss@lyx.org>
53 * biblio.C (parseBibTeX): fix another minibug with an
56 2002-03-10 Herbert Voss <voss@lyx.org>
58 * biblio.C (parseBibTeX): fix bug
59 (familyName): improve parsing
61 2002-03-09 Herbert Voss <voss@lyx.org>
63 * ControlGraphics.[Ch]: adding checkFilename() for testing
66 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * ControlSendto.C (allFormats): fix a iterators are not pointers
71 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
73 * ControlShowFile.h: add a #include "LString.h"
75 2002-03-05 Herbert Voss <voss@lyx.org>
77 * biblio.C (getInfo): simplify if using paragraph layout
80 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
82 * biblio.C (getInfo): return the info field correctly if the key
84 (parseBibTeX): fix crash when data.find('=') returns string::npos.
86 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
88 * ControlForks.[Ch]: new files. A controller for the Forked Child
89 processes dialog, enabling the user to see what forked processes
90 are running, and, if he so desires, to kill them.
92 * GUI.h: add class GUIForks.
94 * Makefile.am: add ControlForks.[Ch].
96 * ControlGraphics.C (getParams): small change due to change in
99 2002-02-21 Herbert Voss <voss@lyx.org>
101 * biblio.C: fix bug with commentlines in a bibentry
103 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * Makefile.am: simpler obj. file compile
107 2002-02-18 Herbert Voss <voss@lyx.org>
109 * ControlGraphics.[Ch]: remove help-file call
111 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
113 * helper_funcs.h: wrap the structs firster and seconder up in a
114 namespace to avoid clashes with those in lyxalgo,h.
116 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
117 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
119 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
124 change Systemcalls::System to Systemcalls::Wait and
125 No change of functionality, just reflects the stripped down Systemcalls
128 2002-02-06 Herbert Voss <voss@lyx.org>
130 * ControlGraphics.[C] (readBB): search also in
131 g'zipped files. If it is useful than PK and compress
132 should also be supported. use unzipFile() from
135 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
137 * ControlRef.C (getBufferName): new method to get a real buffer
140 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
142 * ControlTexInfo.[Ch]: Removed Help functions.
144 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
146 * ControlSpellchecker.C: clear any selection left
149 2002-02-01 Herbert Voss <voss@lyx.org>
151 * ControlGraphics.[C] (readBB): search only, if it is a
152 ".?ps" file and look for bb's at end of file
154 2002-01-30 Herbert Voss <voss@lyx.org>
156 * ControlGraphic.[C]: do not search the whole file, when
159 2002-01-29 Herbert Voss <voss@lyx.org>
161 * ControlGraphic.[C]: added a button for document path
162 when browsing -> bug 222
164 2002-01-27 Herbert Voss <voss@lyx.org>
166 * ControlGraphic.[Ch]: added support for Bounding Box, other
169 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
172 * ControlTexinfo.h: added #include "LString.h" where they belong.
174 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
177 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
179 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
181 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
184 2002-01-20 Herbert Voss <voss@perce.de>
186 * ControlInclude.[Ch]: better control of unexistings files
187 when entered without the browser
189 * ControlGraphic.C (Browse): add extension "ps" when browsing for
192 2002-01-19 Herbert Voss <voss@perce.de>
194 * biblio.C (getInfo): fix bug when no author is given
196 * biblio.C (parseBibTeX): change the parsing, so that
197 '#'-characters in a bibtex entry are no more a problem.
199 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
201 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
202 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
204 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
206 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
208 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
210 * ControlExternal.C (Browse): add a std:: qualifier
212 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
214 * ControlExternal.C (Browse): simplify to use browseRelFile
216 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
218 * ButtonController.tmpl: added // -*- C++ -*-
220 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
221 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
222 Needed in _one_ of the ControlCommand-derived classes only.
224 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
227 * ControlSearch.h: #include LString.h
229 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
231 * ButtonController.h: split into two. The definition remains in
232 ButtonController.h, the declaration is now in ButtonController.tmpl.
233 These template methods should be #included when the derived class is
234 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
235 and in the qt2 and gnome equivalents.
237 * ControlDialogs.h: removed. The definition of class ControlDialog is
238 now to be found in ControlDialog.h and the declaration of the methods
239 is in ControlDialog.tmpl. The two template instantiations are performed
240 in ControlDialog_impl.[Ch], new files also.
242 * ControlInset.h: split into two. The definition remains in
243 ControlInset.h, the declaration is now in ControlInset.tmpl.
244 These template methods should be #included derived class is
245 instantiated, in this case in 8 other .C files in this directory.
247 * ControlAboutlyx.[Ch]:
248 * ControlCharacter.[Ch]:
258 * ControlPreamble.[Ch]:
260 * ControlSearch.[Ch]:
261 * ControlShowFile.[Ch]:
262 * ControlSpellchecker.[Ch]:
263 * ControlTabularCreate.[Ch]:
264 * ControlTexinfo.[Ch]:
265 * ControlThesaurus.[Ch]:
266 * ControlVCLog.[Ch]: small changes associated with the above ones.
268 * GUI.h: #include the ButtonController and dialog controller files
269 here, rather than forward declare them. This is the correct place
272 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
273 Rename ControlDialogs.h as ControlDialog.h.
274 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
277 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
279 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
281 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
283 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
286 * ControlGraphics.C (Browse): remove overzealous shortcut
288 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
290 * FormMinipage.C (apply, update): MinipageParams::width renamed
291 as MinipageParams::pageWidth. InsetMinipage::width renamed
292 as InsetMinipage::pageWidth.
294 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
296 * ButtonController.h (refreshReadOnly): use explicit typename
298 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
300 * helper_funcs.h (browseFile): add default empty button descriptions.
302 * ControlGraphics.C (Browse):
303 * ControlBibtex.C (Browse):
304 * ControlInclude.C (Browse): add shortcuts to directory buttons
306 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
308 * ControlThesaurus.h:
309 * ControlThesaurus.C: update to Aiksaurus 0.14
311 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
313 * ControlSpellchecker.C (clearParams): show the closing message
314 only if some words have been checked, thereby fixing
317 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
319 * ControlFloat.[Ch]: changes to prevent here definitely being used
322 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
324 * ControlThesaurus.h: do not include <config.h> in header files
326 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
328 * ControlToc.C: changes for floatlist
330 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
332 * ControlVCLog.C: use _()
334 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
336 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
339 2001-10-22 Juergen Vigna <jug@sad.it>
341 * ControlSpellchecker.C (clearParams): use the error_ message of the
342 speller_ if available when the spellchecker died.
343 (setParams): remove double error message display.
345 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
347 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
349 * helper_funcs.[Ch] (getLatexUnits): see above.
351 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
353 * ControlTexinfo.C (getContents): use the right file for .sty files
355 2001-10-10 Herbert Voss <voss@perce.de>
357 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
358 and some more stuff from FormTexinfo.C
360 * ControlShowFile.C: hiding the update-button
362 2001-10-09 Herbert Voss <voss@perce.de>
364 * ControlTexinfo.[Ch]: new files. Display information about the
365 installed texfiles (cls,sty,bst).
367 * ControlShowFile.[Ch]: new files. Display the contents of a file.
369 * GUI.h: added classes GUIShowFile and GUITexinfo.
371 * Makefile.am: modified appropriately.
373 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
375 * ControlAboutlyx.C (getVersion): use lyx_version and
376 lyx_release_date instead of old macros
378 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
380 * ControlSpellchecker.C (check): Behaves well now when the spell
381 library doesn't know a replacement to an incorrect word.
383 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
385 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
386 the correct place. Can now check spelling more than once!
388 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
390 * ControlSplash.[Ch]: removed.
392 * GUI.h: remove GUISplash class.
394 * ViewBase.h: remove ViewSplash class.
396 * Makefile.am: remove ControlSplash.[Ch].
398 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
400 * ControlButtons.h: add variable emergency_exit_. If set to true, the
401 view will be shut down.
404 * ControlInset.h: act on emergency_exit_.
406 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
407 speller fails to launch.
409 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
411 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
412 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
414 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
416 * ControlRef.h (disconnectOnApply): new method. Set to true.
417 Perhaps make this user-modifiable?
419 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
424 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
426 * ControlRef.C (getBufferList, getBufferNum): New methods
428 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
430 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
431 of the dialog when the Apply button is pressed. Defaults to false,
432 but can be overridden in the daughter classes.
434 * ControlCitation.h (disconnectOnApply): new method. Set to true.
435 Perhaps make this user-modifiable?
437 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
440 we have dialogs that update their contents when the buffer changes.
441 Rather embarassing, really!
443 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
445 * ControlSearch (replace): change semantics of replace to NOT move on
446 to the next instance of a word once the present instance has been
447 replaced unless we are replacing ALL instances of the word.
449 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
451 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
453 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
455 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
456 dialog, set all options to "reset", close the dialog, re-open it ->
457 the options are set incorrectly.
459 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
460 When Applying it's useful to know whether the dialog is about to close
461 or not (no point refreshing the display for example).
463 * ControlInset.C (apply): use isClosing.
465 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
468 * ControlDialogs.h: remove bc() hack, now fixed in
469 Qt2 frontend. use member dialog_built_ instead of shared
472 * ButtonController.h:
473 * ButtonPolicies.C: more debug info
475 * ButtonControllerBase.C: call refresh() when setting readOnly !
477 * GUI.h: External form has apply, use the right policy
479 * character.C: fix two off-by-one errors when latex font was removed
481 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
483 * ControlInset.h (apply): tentative fix for the press Apply multiple
484 times and get multiple new Insets problem.
486 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
488 * ControlCharacter.C: fix typo
492 * ControlInsets.C: make sure dialog is built before it is shown, so
493 it works properly the very first time it is shown
495 2001-08-20 Herbert Voss <voss@perce.de>
497 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
498 and styles. Added an option for "bibliography into toc"
500 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
502 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
503 LaTeX is no longer a font property.
505 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
507 * GUI.h: Button controller for Reference dialog changed to
508 NoRepeatedApplyReadOnlyPolicy.
510 * biblio.C (getInfo): output volume and number info. Move year to end
513 2001-08-09 Allan Rae <rae@lyx.org>
515 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
517 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
519 * helper_funcs.C (getVectorFromString): fixed small bug.
521 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
523 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
525 * ControlSpellchecker.C: check next word after insert in personal dict
527 2001-08-06 Juergen Vigna <jug@sad.it>
529 * ControlERT.[Ch]: new file
531 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
533 * ControlInset.h: const and non-const forms of params().
535 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
536 whitespace from either side of each item.
538 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
540 * ControlFloat.h: add a != operator for FloatParams.
541 Lars, how did you get this to compile!!!
543 * ControlMinipage.[Ch]: uncommented someone's commenting out of
544 operator != for MinipageParams. Who's changing stuff and not compiling?
546 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
551 * GUI.h: add class GUIFloat
553 * ControlFloat.[Ch]: new files
555 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * ControlPrint.C: #include Lassert.h here.
559 2001-07-26 Baruch Even <baruch@lyx.org>
561 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
564 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
566 * ControlThesaurus.h:
567 * ControlThesaurus.C:
569 * Makefile.am: thesaurus support
571 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
574 * ControlInclude.C: implement ability to load file
576 2001-07-18 Juergen Vigna <jug@sad.it>
578 * ControlSearch.C (replace): changes to lyxfind.h function calls.
580 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
582 * biblio.C (getInfo): add a .c_str() to handle the usual
585 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
587 * ControlCitation.[Ch]: changes associated with adding natbib support.
588 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
589 New static variable citeStyles_.
591 * biblio.[Ch]: large internal rearrangement.
592 New public enum CiteStyle.
593 New public struct CitationStyle.
594 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
595 getNumericalStrings, getAuthorYearStrings
596 (simpleSearch, regexSearch): no longer publicly accessible.
598 * helper_funcs.C (getStringFromVector): bug fix.
600 2001-07-16 Baruch Even <baruch@lyx.org>
602 * ControlVCLog.h: Added Lsstream.h to includes.
604 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
606 * ControlSpellchecker.[Ch]: remove d-tor.
608 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
610 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
612 2001-07-16 Juergen Vigna <jug@sad.it>
614 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
615 compiled with USE_PSPELL) to be able to switch between ISpell and
618 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
620 Consistent use of Lsstream.h:
621 * ControlAboutlyx.[Ch] (getCredits):
622 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
624 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
626 * ControlCredits.[Ch]: removed
627 * ControlCopyright.[Ch]: removed
628 * ControlAboutlyx.[Ch]: added (replaces previous)
629 * GUI.h: removed credits and copyright added about lyx stuff
631 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
633 * ControlSpellchecker.C (getSuggestion):
634 (getWord): add std:: qualifier
636 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
638 * ControlSpellchecker.[Ch]: added
639 * ViewBase.h: added partialUpdate(int) member
640 * GUI.h: added spell stuff
642 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * ControlExternal.C: (*it). -> it->
646 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
648 * ButtonController.h: move some included header files out of the
649 frontends and into here.
651 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
653 * ControlCharacter.C (c-tor): cosmetic name change of signal.
655 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
657 * *.[h]: added // -*- C++ -*-
658 * *.[C]: removed // -*- C++ -*-
660 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
661 activate Apply button.
662 (clearParams): removed.
663 font_ is now stored as a boost::scoped_ptr.
664 font_ is no longer deleted on hide(), so it's contents can now be used
665 by the Font button on the toolbar.
666 Lots of new methods so that the GUI can easily get the contents of
667 font_ when it update()s.
669 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
671 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
672 crash when the Font button on the Toolbar is pressed.
674 * GUI.h: change policy of Character button controller to
675 OkApplyCancelReadOnlyPolicy.
677 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
679 * ControlToc.C (getContents): don't add anything to the list if it
680 is supposed to be empty.
682 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
684 * helper_funcs.C (getVectorFromString): bug fix.
686 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
689 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
690 from ButtonControllerBase::readOnly. Updates the state of the widgets
691 in the read-only list only when the read-only status of the document
693 (refresh): moved this stuff into refreshReadOnly.
695 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
697 * ControlPrint.C (c-tor):
698 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
700 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
703 * character.h: small clean-ups.
705 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
707 * ControlToc.C (getType): remove support for old float list.
709 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
711 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
712 * ControlGraphics.h: no longer include insetgraphicsParams.h
713 * ControlInset.h: no longer include LyXView.h
718 * ControlCharacter.C:
721 * ControlConnections.C:
722 * ControlCopyright.C:
734 * ControlTabularCreate.C:
736 * ControlVCLog.C: they're now in here!
738 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
740 * ButtonControllerBase.h: C++ mode, inherit privately from
742 * ButtonPolicies.h: ditto
744 * ButtonController.h: C++ mode, swap init order of restore_ and
747 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
749 * ControlTabularCreate.h:
750 * ControlTabularCreate.C: make dialogs use a pair of uints
754 * ControlVCLog.C: fill a stringstream with the log contents
757 * ControlExternal.C: from Angus, clone the new InsetExternal
760 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
762 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
763 and made more robust.
765 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
774 * ControlCopyright.C: include gettext.h
776 * ControlCharacter.C:
777 * character.C: include gettext.h and language.h
779 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
781 * ButtonController.h:
782 * ButtonControllerBase.h:
783 * ButtonControllerBase.C:
790 * ControlConnections.h:
796 * ViewBase.h: s/ControlButton/ControlButtons/
798 s/UndoAll/Restore/ + associated
800 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
802 * ControlToc.[Ch]: new files; a controller for the TOC popup.
805 * Makefile.am: associated changes with all of the above.
807 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
809 * ControlExternal.C: bug fixes. Can now apply changes to the inset
810 and edit, view, update the External Material correctly. I hope!
812 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
814 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
816 * BCTemplates.h: renamed as ButtonController.h
818 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
821 * ControlConnections.h: associated change in #include and class names.
823 * ControlExternal.[Ch]: new files; a controller for the External
827 * Makefile.am: associated changes with all of the above.
829 * ControlGraphics.[Ch]:
830 * ControlInclude.[Ch]:
833 (Browse): new method. Returns the results of a FileDialog browse.
835 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
836 (getVectorFromString): fixed bug.
838 * biblio.C (simpleSearch): cleaned up.
840 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
842 * A slight reworking of Baruch Even's ButtonController patch.
844 * BCTemplates.h: new file; all the templates for the ButtonController.
845 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
846 to the more generic setButtonLabel().
848 * ButtonController.[Ch]: renamed cancel_label and close_label as
849 cancel_label_ and close_label_.
851 * Makefile.am: added BCTemplates.h
853 2001-03-29 Juergen Vigna <jug@sad.it>
855 * ControlMinipage.C: removed widthp_ and all it's functions and changed
856 to use new %-lengths of LyXLength.
858 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
860 * ControlCitation.C (bibkeysInfo): removed Assert.
862 * ControlCopyright.h: moved GUICopyright into GUI.h
866 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
868 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
869 (setDaughterParams): a (by default empty) new method called in show().
878 * ControlUrl.h (clearDaughterParams): removed
880 * ControlMinipage.C (applyParamsToInset): update the view.
881 Added namespace minipage containing a helper function getUnits.
883 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
885 * ControlCharacter.[Ch]: moved out all the helper functions and the
886 enum into their own file.
887 * character.[Ch]: new files; contain the character helper functions,
888 now inside namespace character.
890 * ControlCitation.[Ch]: moved out all the helper functions and the
891 enums into their own file. Simplified interface.
892 * biblio.[Ch]: new files; contain the citation helper functions,
893 now inside namespace biblio. Will be of use also to an improved
896 * ControlGraphics.[Ch]:
897 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
898 popups, respectively.
901 * Makefile.am: associated changes.
903 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
905 * ControlMinipage.[Ch]:
906 * ControlPreamble.[Ch]:
908 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
909 and Print popups and Splash screen, respectively.
911 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
915 * Makefile.am: associated changes.
917 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
919 * ControlConnections.[Ch]: (docType): new method; returns the type
920 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
923 * ControlSearch.[Ch]:
924 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
925 Search and TabularCreate popups, respectively.
928 * Makefile.am: associated changes.
930 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
935 * ControlInset.h (apply): fix bug. Can now create new insets again.
937 * README: describe program flow.
939 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
941 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
943 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
945 * ControlDialogs.h: moved class ControlInset into its own file.
947 * ControlInset.h: new file. class ControlInset has been expanded to take
948 two template parameters, Inset and Params. Believe that all inset
949 controllers can be derived from this with the minimum of effort.
951 * ControlBibitem.[Ch]:
952 * ControlBibtex.[Ch]:
953 * ControlCitation.[Ch]:
954 * ControlCommand.[Ch]: moved most code into ControlInset.
956 * lots of files. Moved protected stuff into private where possible.
959 * ControlInclude.[Ch]:
960 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
961 Include and Url popups, respectively.
964 * Makefile.am: associated changes.
966 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
968 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
971 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
973 * ControlCredits.C (getCredits): remove std:: qualifier for
976 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
978 * ControlCredits.C (getCredits): add std:: on vector
980 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
982 * ControlCredits.C: remove using that is only used once, use
983 std::ios instead of std::iosbase, add some annoying comments.
985 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
987 * lots of header files: improved explanatory notes.
989 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
990 ControlBase is now a class that only controls the interaction of the
991 View with the ButtonController.
993 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
994 to ControlConnectBase. The class controls the connection/disconnection
995 of signals from the LyX kernel and makes available the kernel (through
996 lv_) to daughter controller classes.
997 Moved out class ControlConnectInset to a new file ControlDialogs.h.
999 * ControlDialogs.h: new file. Contains the definition of two template
1000 controller classes, ControlDialog and ControlInset (was
1001 ControlConnectInset). ControlInset is a parent class for controllers
1002 of inset-popups. ControlDialogs is the rather uninspired name for
1003 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1004 ControlDialogs is reaching a state of maturity as several popups now use
1005 it and its functionality becomes clear. ControlInset is still in a state
1006 of flux. It is likely that functionality will be moved out of
1007 ControlCommands and into it.
1009 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1010 individual Controller header files and into one place. These classes
1011 serve only as convenient wrappers to simplify code in the respective
1012 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1014 * ControlCharacter.[Ch] (show, update, hide):
1015 * ControlLog.[Ch] (show, update, hide):
1016 * ControlVCLog.[Ch] (show, update, hide): moved back into
1017 the ControlDialogs base class.
1018 (setParams, clearParams): new methods containing controller-specific
1019 code to set/reset the parameters manipulated by the view.
1021 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1023 (hide): calls clearParams.
1025 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1026 by ControlCommand::hide().
1028 * ControlCopyright.[Ch]:
1029 * ControlCredits.[Ch]: new files; controllers for the copyright and
1030 credits popups, respectively.
1032 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1034 * ControlCharacter.C: fix typo
1036 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1038 * ControlCharacter.[Ch]: new files; controller for the character popup.
1040 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1041 moved to new files helper_funcs.[Ch].
1043 * helper_funcs.[Ch]: new files. Some useful helper functions and
1046 * Makefile.am: added new files.
1048 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1050 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1052 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1055 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1056 Control log files, respectively.
1058 * Makefile.am: added new files.
1060 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1062 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1064 * Makefile.am: added ControlBibtex.[Ch].
1066 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlCitation.C: added "using SigC::slot" declaration.
1071 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1072 to FormCitation.C prior to the merger: "Do not put space between
1075 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1077 * several files: remove CXX_WORKING_NAMESPACES
1079 * ButtonController.h: noncopyable is in namespace boost
1080 * ButtonPolicies.h: ditto
1082 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1084 * Merging changes from BRANCH_MVC back into HEAD.
1086 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1088 * Makefile.am: add ControlBibitem.[Ch].
1090 * ControlBibitem.[Ch]: new files that together define the Controller
1091 for a Bibitem popup.
1093 * ControlCommand.h (c-tor): give kb_action a default value of
1096 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1098 * ControlCitation.[Ch]: moved search functions out of class.
1099 (bibkeysInfo): new method. Returns const reference to private data.
1100 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1103 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1105 * ControlCitation.[Ch]: added Search functions to the class,
1106 (shamelessly lifted from Marco's gnome code). I think that these would
1107 be better as helper functions outside the class, but this is a first
1110 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1112 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1114 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1115 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1116 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1117 implementation of FormCitation.
1119 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1121 * ButtonPolicies.h: add SMI_NOOP to enum.
1123 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1125 * ButtonController.C (input): add "optimising" if-statement. Actually,
1126 things don't work correctly without it...
1128 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1130 * ViewBase.h: remove #pragma directive
1132 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1135 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1137 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1139 * Makefile.am: added ButtonPolicies.[Ch]
1141 * ButtonController.[Ch]: ButtonController is split into
1142 ButtonControllerBase and a template ButtonController class. The base
1143 class no longer stores a pointer to a ButtonPolicy, but instead
1144 accesses the actual instantiation of the policy through a pure virtual
1145 method bp(). This method and the ButtonPolicy itself are instantiated
1146 in the templatised ButtonController class. This class is derived from
1147 the GUI-specific GUIBC class, meaning that the frontends know
1148 nothing about the actual policy decided upon by the controllers.
1150 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1151 Instead the actual instantiations are accessed through pure virtual
1152 methods view() and bc(). The daughter classes are responsible for the
1153 actual View and ButtonController.
1155 * ControlCitation.h: the templatised class GUICitation instantiates
1156 the methods view() and bc(). It also stores the instances of the
1157 View and ButtonController.
1159 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1161 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1162 also changed to ButtonController.
1165 * ControlConnections.[Ch]:
1166 * ControlCommand.[Ch]:
1167 * ControlCitation.[Ch]:
1168 * ViewBase.h: Changes associated with this.
1170 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1173 xforms/ButtonController class into a GUI-I class (here) and an
1174 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1176 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1177 from which all Dialog Controllers should be derived. the Controllers
1178 are GUI-independent, but are designed to control the behaviour of
1179 GUI-specific implementaions of each dialog.
1181 * ControlConnections.[Ch]: new files. Classes controlling the
1182 connections of buffer-independent, buffer-dependent and Inset dialogs
1183 with the LyX kernel.
1185 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1186 InsetCommand subset of insets.
1188 * ControlCitation.[Ch]: new files. The test specialisation! A
1189 controller for the Citation dialog.
1191 * ViewBase.h: new file. ViewBase is an abstract base class from which
1192 GUI-specific dialogs should be derived. The functionality that the GUIs
1193 must now implement is much reduced.