1 2002-04-25 Herbert Voss <voss@lyx.org>
3 * ControlSendto.C (allFormats): don't add the graphics extensions to the
6 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
9 BibTeX databases in a WYSIWYM way.
11 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
14 way past his use-by date.
15 Make use of the improved info from Buffer::getBibkeyList when using
16 \bibliography. Enables us to provide natbib support in this case too.
18 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
20 * ControlGraphics.C: pass the browseFile dialog a string of only those
21 formats that can currently be loaded by LyX.
23 2002-04-15 Herbert Voss <voss@perce.de>
25 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
26 with something like ,,...blah...`` (two commas)
28 2002-04-14 Herbert Voss <voss@perce.de>
30 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
31 into the support/lstrings for better use in other programs.
33 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
34 namespace anon and make globally accessible.
35 (familyName): test for the presence of a LaTeX Space at the front of
36 of a name; strip it if it exists.
38 2002-04-11 Herbert Voss <voss@perce.de>
40 * ControlGraphics.C: expand "browse-string" to all available formats
42 2002-04-11 Herbert Voss <voss@perce.de>
44 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
46 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
48 * ControlAboutlyx.C (getVersion): two _() forgotten
50 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
54 * ControlBibtex.C: make N_() be _()
56 2002-04-07 Herbert Voss <voss@perce.de>
58 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
60 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
62 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
63 used when reading the BB.
65 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
67 * ControlGraphics.C (readBB): Don't open the ifstrem and then
68 check the format from the contents (and open a second ifstream in the
69 process. One at a time please.
71 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
73 * ControlRef.C (getBufferNum): squash warning message.
75 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
77 * ControlBibtex.C (Browse):
78 * ControlGraphics.C (Browse):
79 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
81 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
83 * ControlGraphics.C (applyParamsToInset): pass filepath to
84 InsetGraphics::updateInset.
86 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
88 * most files: ws cleanup
90 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
92 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
95 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
98 * ControlInclude.C: better error messages
100 2002-03-11 Herbert Voss <voss@lyx.org>
102 * biblio.C (parseBibTeX): fix another minibug with an
105 2002-03-10 Herbert Voss <voss@lyx.org>
107 * biblio.C (parseBibTeX): fix bug
108 (familyName): improve parsing
110 2002-03-09 Herbert Voss <voss@lyx.org>
112 * ControlGraphics.[Ch]: adding checkFilename() for testing
113 of non-existing files
115 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * ControlSendto.C (allFormats): fix a iterators are not pointers
120 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
122 * ControlShowFile.h: add a #include "LString.h"
124 2002-03-05 Herbert Voss <voss@lyx.org>
126 * biblio.C (getInfo): simplify if using paragraph layout
129 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
131 * biblio.C (getInfo): return the info field correctly if the key
133 (parseBibTeX): fix crash when data.find('=') returns string::npos.
135 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
137 * ControlForks.[Ch]: new files. A controller for the Forked Child
138 processes dialog, enabling the user to see what forked processes
139 are running, and, if he so desires, to kill them.
141 * GUI.h: add class GUIForks.
143 * Makefile.am: add ControlForks.[Ch].
145 * ControlGraphics.C (getParams): small change due to change in
148 2002-02-21 Herbert Voss <voss@lyx.org>
150 * biblio.C: fix bug with commentlines in a bibentry
152 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
154 * Makefile.am: simpler obj. file compile
156 2002-02-18 Herbert Voss <voss@lyx.org>
158 * ControlGraphics.[Ch]: remove help-file call
160 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
162 * helper_funcs.h: wrap the structs firster and seconder up in a
163 namespace to avoid clashes with those in lyxalgo,h.
165 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
166 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
168 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
170 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
173 change Systemcalls::System to Systemcalls::Wait and
174 No change of functionality, just reflects the stripped down Systemcalls
177 2002-02-06 Herbert Voss <voss@lyx.org>
179 * ControlGraphics.[C] (readBB): search also in
180 g'zipped files. If it is useful than PK and compress
181 should also be supported. use unzipFile() from
184 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
186 * ControlRef.C (getBufferName): new method to get a real buffer
189 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
191 * ControlTexInfo.[Ch]: Removed Help functions.
193 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
195 * ControlSpellchecker.C: clear any selection left
198 2002-02-01 Herbert Voss <voss@lyx.org>
200 * ControlGraphics.[C] (readBB): search only, if it is a
201 ".?ps" file and look for bb's at end of file
203 2002-01-30 Herbert Voss <voss@lyx.org>
205 * ControlGraphic.[C]: do not search the whole file, when
208 2002-01-29 Herbert Voss <voss@lyx.org>
210 * ControlGraphic.[C]: added a button for document path
211 when browsing -> bug 222
213 2002-01-27 Herbert Voss <voss@lyx.org>
215 * ControlGraphic.[Ch]: added support for Bounding Box, other
218 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
221 * ControlTexinfo.h: added #include "LString.h" where they belong.
223 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
226 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
228 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
230 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
233 2002-01-20 Herbert Voss <voss@perce.de>
235 * ControlInclude.[Ch]: better control of unexistings files
236 when entered without the browser
238 * ControlGraphic.C (Browse): add extension "ps" when browsing for
241 2002-01-19 Herbert Voss <voss@perce.de>
243 * biblio.C (getInfo): fix bug when no author is given
245 * biblio.C (parseBibTeX): change the parsing, so that
246 '#'-characters in a bibtex entry are no more a problem.
248 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
250 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
251 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
253 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
255 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
257 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
259 * ControlExternal.C (Browse): add a std:: qualifier
261 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
263 * ControlExternal.C (Browse): simplify to use browseRelFile
265 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
267 * ButtonController.tmpl: added // -*- C++ -*-
269 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
270 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
271 Needed in _one_ of the ControlCommand-derived classes only.
273 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
276 * ControlSearch.h: #include LString.h
278 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
280 * ButtonController.h: split into two. The definition remains in
281 ButtonController.h, the declaration is now in ButtonController.tmpl.
282 These template methods should be #included when the derived class is
283 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
284 and in the qt2 and gnome equivalents.
286 * ControlDialogs.h: removed. The definition of class ControlDialog is
287 now to be found in ControlDialog.h and the declaration of the methods
288 is in ControlDialog.tmpl. The two template instantiations are performed
289 in ControlDialog_impl.[Ch], new files also.
291 * ControlInset.h: split into two. The definition remains in
292 ControlInset.h, the declaration is now in ControlInset.tmpl.
293 These template methods should be #included derived class is
294 instantiated, in this case in 8 other .C files in this directory.
296 * ControlAboutlyx.[Ch]:
297 * ControlCharacter.[Ch]:
307 * ControlPreamble.[Ch]:
309 * ControlSearch.[Ch]:
310 * ControlShowFile.[Ch]:
311 * ControlSpellchecker.[Ch]:
312 * ControlTabularCreate.[Ch]:
313 * ControlTexinfo.[Ch]:
314 * ControlThesaurus.[Ch]:
315 * ControlVCLog.[Ch]: small changes associated with the above ones.
317 * GUI.h: #include the ButtonController and dialog controller files
318 here, rather than forward declare them. This is the correct place
321 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
322 Rename ControlDialogs.h as ControlDialog.h.
323 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
326 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
328 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
330 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
332 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
335 * ControlGraphics.C (Browse): remove overzealous shortcut
337 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
339 * FormMinipage.C (apply, update): MinipageParams::width renamed
340 as MinipageParams::pageWidth. InsetMinipage::width renamed
341 as InsetMinipage::pageWidth.
343 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
345 * ButtonController.h (refreshReadOnly): use explicit typename
347 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
349 * helper_funcs.h (browseFile): add default empty button descriptions.
351 * ControlGraphics.C (Browse):
352 * ControlBibtex.C (Browse):
353 * ControlInclude.C (Browse): add shortcuts to directory buttons
355 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
357 * ControlThesaurus.h:
358 * ControlThesaurus.C: update to Aiksaurus 0.14
360 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
362 * ControlSpellchecker.C (clearParams): show the closing message
363 only if some words have been checked, thereby fixing
366 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
368 * ControlFloat.[Ch]: changes to prevent here definitely being used
371 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
373 * ControlThesaurus.h: do not include <config.h> in header files
375 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
377 * ControlToc.C: changes for floatlist
379 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
381 * ControlVCLog.C: use _()
383 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
385 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
388 2001-10-22 Juergen Vigna <jug@sad.it>
390 * ControlSpellchecker.C (clearParams): use the error_ message of the
391 speller_ if available when the spellchecker died.
392 (setParams): remove double error message display.
394 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
396 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
398 * helper_funcs.[Ch] (getLatexUnits): see above.
400 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
402 * ControlTexinfo.C (getContents): use the right file for .sty files
404 2001-10-10 Herbert Voss <voss@perce.de>
406 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
407 and some more stuff from FormTexinfo.C
409 * ControlShowFile.C: hiding the update-button
411 2001-10-09 Herbert Voss <voss@perce.de>
413 * ControlTexinfo.[Ch]: new files. Display information about the
414 installed texfiles (cls,sty,bst).
416 * ControlShowFile.[Ch]: new files. Display the contents of a file.
418 * GUI.h: added classes GUIShowFile and GUITexinfo.
420 * Makefile.am: modified appropriately.
422 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
424 * ControlAboutlyx.C (getVersion): use lyx_version and
425 lyx_release_date instead of old macros
427 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
429 * ControlSpellchecker.C (check): Behaves well now when the spell
430 library doesn't know a replacement to an incorrect word.
432 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
434 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
435 the correct place. Can now check spelling more than once!
437 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlSplash.[Ch]: removed.
441 * GUI.h: remove GUISplash class.
443 * ViewBase.h: remove ViewSplash class.
445 * Makefile.am: remove ControlSplash.[Ch].
447 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
449 * ControlButtons.h: add variable emergency_exit_. If set to true, the
450 view will be shut down.
453 * ControlInset.h: act on emergency_exit_.
455 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
456 speller fails to launch.
458 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
460 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
461 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
463 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
465 * ControlRef.h (disconnectOnApply): new method. Set to true.
466 Perhaps make this user-modifiable?
468 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
470 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
473 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
475 * ControlRef.C (getBufferList, getBufferNum): New methods
477 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
479 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
480 of the dialog when the Apply button is pressed. Defaults to false,
481 but can be overridden in the daughter classes.
483 * ControlCitation.h (disconnectOnApply): new method. Set to true.
484 Perhaps make this user-modifiable?
486 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
488 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
489 we have dialogs that update their contents when the buffer changes.
490 Rather embarassing, really!
492 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
494 * ControlSearch (replace): change semantics of replace to NOT move on
495 to the next instance of a word once the present instance has been
496 replaced unless we are replacing ALL instances of the word.
498 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
500 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
502 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
504 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
505 dialog, set all options to "reset", close the dialog, re-open it ->
506 the options are set incorrectly.
508 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
509 When Applying it's useful to know whether the dialog is about to close
510 or not (no point refreshing the display for example).
512 * ControlInset.C (apply): use isClosing.
514 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
517 * ControlDialogs.h: remove bc() hack, now fixed in
518 Qt2 frontend. use member dialog_built_ instead of shared
521 * ButtonController.h:
522 * ButtonPolicies.C: more debug info
524 * ButtonControllerBase.C: call refresh() when setting readOnly !
526 * GUI.h: External form has apply, use the right policy
528 * character.C: fix two off-by-one errors when latex font was removed
530 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlInset.h (apply): tentative fix for the press Apply multiple
533 times and get multiple new Insets problem.
535 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
537 * ControlCharacter.C: fix typo
541 * ControlInsets.C: make sure dialog is built before it is shown, so
542 it works properly the very first time it is shown
544 2001-08-20 Herbert Voss <voss@perce.de>
546 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
547 and styles. Added an option for "bibliography into toc"
549 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
551 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
552 LaTeX is no longer a font property.
554 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
556 * GUI.h: Button controller for Reference dialog changed to
557 NoRepeatedApplyReadOnlyPolicy.
559 * biblio.C (getInfo): output volume and number info. Move year to end
562 2001-08-09 Allan Rae <rae@lyx.org>
564 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
566 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
568 * helper_funcs.C (getVectorFromString): fixed small bug.
570 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
572 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
574 * ControlSpellchecker.C: check next word after insert in personal dict
576 2001-08-06 Juergen Vigna <jug@sad.it>
578 * ControlERT.[Ch]: new file
580 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlInset.h: const and non-const forms of params().
584 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
585 whitespace from either side of each item.
587 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
589 * ControlFloat.h: add a != operator for FloatParams.
590 Lars, how did you get this to compile!!!
592 * ControlMinipage.[Ch]: uncommented someone's commenting out of
593 operator != for MinipageParams. Who's changing stuff and not compiling?
595 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
597 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
600 * GUI.h: add class GUIFloat
602 * ControlFloat.[Ch]: new files
604 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
606 * ControlPrint.C: #include Lassert.h here.
608 2001-07-26 Baruch Even <baruch@lyx.org>
610 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
613 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
615 * ControlThesaurus.h:
616 * ControlThesaurus.C:
618 * Makefile.am: thesaurus support
620 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
623 * ControlInclude.C: implement ability to load file
625 2001-07-18 Juergen Vigna <jug@sad.it>
627 * ControlSearch.C (replace): changes to lyxfind.h function calls.
629 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
631 * biblio.C (getInfo): add a .c_str() to handle the usual
634 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
636 * ControlCitation.[Ch]: changes associated with adding natbib support.
637 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
638 New static variable citeStyles_.
640 * biblio.[Ch]: large internal rearrangement.
641 New public enum CiteStyle.
642 New public struct CitationStyle.
643 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
644 getNumericalStrings, getAuthorYearStrings
645 (simpleSearch, regexSearch): no longer publicly accessible.
647 * helper_funcs.C (getStringFromVector): bug fix.
649 2001-07-16 Baruch Even <baruch@lyx.org>
651 * ControlVCLog.h: Added Lsstream.h to includes.
653 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
655 * ControlSpellchecker.[Ch]: remove d-tor.
657 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
659 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
661 2001-07-16 Juergen Vigna <jug@sad.it>
663 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
664 compiled with USE_PSPELL) to be able to switch between ISpell and
667 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
669 Consistent use of Lsstream.h:
670 * ControlAboutlyx.[Ch] (getCredits):
671 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
673 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
675 * ControlCredits.[Ch]: removed
676 * ControlCopyright.[Ch]: removed
677 * ControlAboutlyx.[Ch]: added (replaces previous)
678 * GUI.h: removed credits and copyright added about lyx stuff
680 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
682 * ControlSpellchecker.C (getSuggestion):
683 (getWord): add std:: qualifier
685 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
687 * ControlSpellchecker.[Ch]: added
688 * ViewBase.h: added partialUpdate(int) member
689 * GUI.h: added spell stuff
691 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * ControlExternal.C: (*it). -> it->
695 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
697 * ButtonController.h: move some included header files out of the
698 frontends and into here.
700 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
702 * ControlCharacter.C (c-tor): cosmetic name change of signal.
704 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
706 * *.[h]: added // -*- C++ -*-
707 * *.[C]: removed // -*- C++ -*-
709 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
710 activate Apply button.
711 (clearParams): removed.
712 font_ is now stored as a boost::scoped_ptr.
713 font_ is no longer deleted on hide(), so it's contents can now be used
714 by the Font button on the toolbar.
715 Lots of new methods so that the GUI can easily get the contents of
716 font_ when it update()s.
718 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
720 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
721 crash when the Font button on the Toolbar is pressed.
723 * GUI.h: change policy of Character button controller to
724 OkApplyCancelReadOnlyPolicy.
726 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
728 * ControlToc.C (getContents): don't add anything to the list if it
729 is supposed to be empty.
731 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
733 * helper_funcs.C (getVectorFromString): bug fix.
735 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
738 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
739 from ButtonControllerBase::readOnly. Updates the state of the widgets
740 in the read-only list only when the read-only status of the document
742 (refresh): moved this stuff into refreshReadOnly.
744 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
746 * ControlPrint.C (c-tor):
747 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
749 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
752 * character.h: small clean-ups.
754 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
756 * ControlToc.C (getType): remove support for old float list.
758 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
760 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
761 * ControlGraphics.h: no longer include insetgraphicsParams.h
762 * ControlInset.h: no longer include LyXView.h
767 * ControlCharacter.C:
770 * ControlConnections.C:
771 * ControlCopyright.C:
783 * ControlTabularCreate.C:
785 * ControlVCLog.C: they're now in here!
787 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * ButtonControllerBase.h: C++ mode, inherit privately from
791 * ButtonPolicies.h: ditto
793 * ButtonController.h: C++ mode, swap init order of restore_ and
796 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
798 * ControlTabularCreate.h:
799 * ControlTabularCreate.C: make dialogs use a pair of uints
803 * ControlVCLog.C: fill a stringstream with the log contents
806 * ControlExternal.C: from Angus, clone the new InsetExternal
809 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
811 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
812 and made more robust.
814 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * ControlCopyright.C: include gettext.h
825 * ControlCharacter.C:
826 * character.C: include gettext.h and language.h
828 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
830 * ButtonController.h:
831 * ButtonControllerBase.h:
832 * ButtonControllerBase.C:
839 * ControlConnections.h:
845 * ViewBase.h: s/ControlButton/ControlButtons/
847 s/UndoAll/Restore/ + associated
849 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
851 * ControlToc.[Ch]: new files; a controller for the TOC popup.
854 * Makefile.am: associated changes with all of the above.
856 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
858 * ControlExternal.C: bug fixes. Can now apply changes to the inset
859 and edit, view, update the External Material correctly. I hope!
861 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
863 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
865 * BCTemplates.h: renamed as ButtonController.h
867 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
870 * ControlConnections.h: associated change in #include and class names.
872 * ControlExternal.[Ch]: new files; a controller for the External
876 * Makefile.am: associated changes with all of the above.
878 * ControlGraphics.[Ch]:
879 * ControlInclude.[Ch]:
882 (Browse): new method. Returns the results of a FileDialog browse.
884 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
885 (getVectorFromString): fixed bug.
887 * biblio.C (simpleSearch): cleaned up.
889 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
891 * A slight reworking of Baruch Even's ButtonController patch.
893 * BCTemplates.h: new file; all the templates for the ButtonController.
894 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
895 to the more generic setButtonLabel().
897 * ButtonController.[Ch]: renamed cancel_label and close_label as
898 cancel_label_ and close_label_.
900 * Makefile.am: added BCTemplates.h
902 2001-03-29 Juergen Vigna <jug@sad.it>
904 * ControlMinipage.C: removed widthp_ and all it's functions and changed
905 to use new %-lengths of LyXLength.
907 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
909 * ControlCitation.C (bibkeysInfo): removed Assert.
911 * ControlCopyright.h: moved GUICopyright into GUI.h
915 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
917 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
918 (setDaughterParams): a (by default empty) new method called in show().
927 * ControlUrl.h (clearDaughterParams): removed
929 * ControlMinipage.C (applyParamsToInset): update the view.
930 Added namespace minipage containing a helper function getUnits.
932 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
934 * ControlCharacter.[Ch]: moved out all the helper functions and the
935 enum into their own file.
936 * character.[Ch]: new files; contain the character helper functions,
937 now inside namespace character.
939 * ControlCitation.[Ch]: moved out all the helper functions and the
940 enums into their own file. Simplified interface.
941 * biblio.[Ch]: new files; contain the citation helper functions,
942 now inside namespace biblio. Will be of use also to an improved
945 * ControlGraphics.[Ch]:
946 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
947 popups, respectively.
950 * Makefile.am: associated changes.
952 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlMinipage.[Ch]:
955 * ControlPreamble.[Ch]:
957 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
958 and Print popups and Splash screen, respectively.
960 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
964 * Makefile.am: associated changes.
966 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
968 * ControlConnections.[Ch]: (docType): new method; returns the type
969 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
972 * ControlSearch.[Ch]:
973 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
974 Search and TabularCreate popups, respectively.
977 * Makefile.am: associated changes.
979 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
981 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
984 * ControlInset.h (apply): fix bug. Can now create new insets again.
986 * README: describe program flow.
988 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
990 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
992 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
994 * ControlDialogs.h: moved class ControlInset into its own file.
996 * ControlInset.h: new file. class ControlInset has been expanded to take
997 two template parameters, Inset and Params. Believe that all inset
998 controllers can be derived from this with the minimum of effort.
1000 * ControlBibitem.[Ch]:
1001 * ControlBibtex.[Ch]:
1002 * ControlCitation.[Ch]:
1003 * ControlCommand.[Ch]: moved most code into ControlInset.
1005 * lots of files. Moved protected stuff into private where possible.
1007 * ControlError.[Ch]:
1008 * ControlInclude.[Ch]:
1009 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1010 Include and Url popups, respectively.
1013 * Makefile.am: associated changes.
1015 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1020 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1022 * ControlCredits.C (getCredits): remove std:: qualifier for
1025 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1027 * ControlCredits.C (getCredits): add std:: on vector
1029 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1031 * ControlCredits.C: remove using that is only used once, use
1032 std::ios instead of std::iosbase, add some annoying comments.
1034 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1036 * lots of header files: improved explanatory notes.
1038 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1039 ControlBase is now a class that only controls the interaction of the
1040 View with the ButtonController.
1042 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1043 to ControlConnectBase. The class controls the connection/disconnection
1044 of signals from the LyX kernel and makes available the kernel (through
1045 lv_) to daughter controller classes.
1046 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1048 * ControlDialogs.h: new file. Contains the definition of two template
1049 controller classes, ControlDialog and ControlInset (was
1050 ControlConnectInset). ControlInset is a parent class for controllers
1051 of inset-popups. ControlDialogs is the rather uninspired name for
1052 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1053 ControlDialogs is reaching a state of maturity as several popups now use
1054 it and its functionality becomes clear. ControlInset is still in a state
1055 of flux. It is likely that functionality will be moved out of
1056 ControlCommands and into it.
1058 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1059 individual Controller header files and into one place. These classes
1060 serve only as convenient wrappers to simplify code in the respective
1061 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1063 * ControlCharacter.[Ch] (show, update, hide):
1064 * ControlLog.[Ch] (show, update, hide):
1065 * ControlVCLog.[Ch] (show, update, hide): moved back into
1066 the ControlDialogs base class.
1067 (setParams, clearParams): new methods containing controller-specific
1068 code to set/reset the parameters manipulated by the view.
1070 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1072 (hide): calls clearParams.
1074 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1075 by ControlCommand::hide().
1077 * ControlCopyright.[Ch]:
1078 * ControlCredits.[Ch]: new files; controllers for the copyright and
1079 credits popups, respectively.
1081 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1083 * ControlCharacter.C: fix typo
1085 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1087 * ControlCharacter.[Ch]: new files; controller for the character popup.
1089 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1090 moved to new files helper_funcs.[Ch].
1092 * helper_funcs.[Ch]: new files. Some useful helper functions and
1095 * Makefile.am: added new files.
1097 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1101 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1104 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1105 Control log files, respectively.
1107 * Makefile.am: added new files.
1109 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1111 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1113 * Makefile.am: added ControlBibtex.[Ch].
1115 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1118 * ControlCitation.C: added "using SigC::slot" declaration.
1120 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1121 to FormCitation.C prior to the merger: "Do not put space between
1124 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1126 * several files: remove CXX_WORKING_NAMESPACES
1128 * ButtonController.h: noncopyable is in namespace boost
1129 * ButtonPolicies.h: ditto
1131 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1133 * Merging changes from BRANCH_MVC back into HEAD.
1135 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1137 * Makefile.am: add ControlBibitem.[Ch].
1139 * ControlBibitem.[Ch]: new files that together define the Controller
1140 for a Bibitem popup.
1142 * ControlCommand.h (c-tor): give kb_action a default value of
1145 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1147 * ControlCitation.[Ch]: moved search functions out of class.
1148 (bibkeysInfo): new method. Returns const reference to private data.
1149 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1152 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1154 * ControlCitation.[Ch]: added Search functions to the class,
1155 (shamelessly lifted from Marco's gnome code). I think that these would
1156 be better as helper functions outside the class, but this is a first
1159 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1161 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1163 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1164 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1165 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1166 implementation of FormCitation.
1168 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1170 * ButtonPolicies.h: add SMI_NOOP to enum.
1172 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1174 * ButtonController.C (input): add "optimising" if-statement. Actually,
1175 things don't work correctly without it...
1177 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1179 * ViewBase.h: remove #pragma directive
1181 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1184 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1186 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1188 * Makefile.am: added ButtonPolicies.[Ch]
1190 * ButtonController.[Ch]: ButtonController is split into
1191 ButtonControllerBase and a template ButtonController class. The base
1192 class no longer stores a pointer to a ButtonPolicy, but instead
1193 accesses the actual instantiation of the policy through a pure virtual
1194 method bp(). This method and the ButtonPolicy itself are instantiated
1195 in the templatised ButtonController class. This class is derived from
1196 the GUI-specific GUIBC class, meaning that the frontends know
1197 nothing about the actual policy decided upon by the controllers.
1199 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1200 Instead the actual instantiations are accessed through pure virtual
1201 methods view() and bc(). The daughter classes are responsible for the
1202 actual View and ButtonController.
1204 * ControlCitation.h: the templatised class GUICitation instantiates
1205 the methods view() and bc(). It also stores the instances of the
1206 View and ButtonController.
1208 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1210 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1211 also changed to ButtonController.
1214 * ControlConnections.[Ch]:
1215 * ControlCommand.[Ch]:
1216 * ControlCitation.[Ch]:
1217 * ViewBase.h: Changes associated with this.
1219 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1221 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1222 xforms/ButtonController class into a GUI-I class (here) and an
1223 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1225 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1226 from which all Dialog Controllers should be derived. the Controllers
1227 are GUI-independent, but are designed to control the behaviour of
1228 GUI-specific implementaions of each dialog.
1230 * ControlConnections.[Ch]: new files. Classes controlling the
1231 connections of buffer-independent, buffer-dependent and Inset dialogs
1232 with the LyX kernel.
1234 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1235 InsetCommand subset of insets.
1237 * ControlCitation.[Ch]: new files. The test specialisation! A
1238 controller for the Citation dialog.
1240 * ViewBase.h: new file. ViewBase is an abstract base class from which
1241 GUI-specific dialogs should be derived. The functionality that the GUIs
1242 must now implement is much reduced.