1 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * biblio.h: include vector
5 * biblio.C: change include order
6 (regexSearch): use boost regex and get rid of LRegex
8 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
16 * ControlConnections.C:
33 * ControlSpellchecker.C:
34 * ControlTabularCreate.C:
39 * ControlVCLog.C: LyXView moved into frontends
41 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * ControlExternal.C: add scoped_ptr.hpp
45 * ControlCharacter.h: use more specific smart_ptr header.
47 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
49 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
51 2002-05-13 Herbert Voss <voss@perce.de>
53 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
54 like "Odland, G. and ... "
55 (parseBibTeX): fix bug with title and booktitle
56 and replace a \n with a space when one entry has more than
59 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
61 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
62 "No change" and "Reset".
64 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
65 them at the front of the list.
67 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
69 * ControlGraphics.C: add some comments to the char * arrays.
70 Make rorigin_size const.
72 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
74 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
75 Enables the gui's to internationalise these strings.
77 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
79 * frnt_lang.C: fix build
81 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
83 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
84 If the the caller is the character dialog, add "No change" and "Reset"
85 to the vector, else don't.
86 Internationalise the GUI strings here rather than in the different
88 Sort the translated strings, albeit simply.
90 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
92 * character.[Ch]: rename namespace character as namespace frnt.
94 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
95 as several dialogs will use this info. The function now returns a
96 vector<LanguagePair> where LanguagePair is a display string and an
97 identifying string. The display string is internationalised.
99 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
100 the identifying strings, "No change" and "Reset".
102 * Makefile.am: add frnt_lang.[Ch].
104 2002-04-25 Herbert Voss <voss@lyx.org>
106 * ControlSendto.C (allFormats): don't add the graphics extensions to the
109 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
111 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
112 BibTeX databases in a WYSIWYM way.
114 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
116 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
117 way past his use-by date.
118 Make use of the improved info from Buffer::getBibkeyList when using
119 \bibliography. Enables us to provide natbib support in this case too.
121 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
123 * ControlGraphics.C: pass the browseFile dialog a string of only those
124 formats that can currently be loaded by LyX.
126 2002-04-15 Herbert Voss <voss@perce.de>
128 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
129 with something like ,,...blah...`` (two commas)
131 2002-04-14 Herbert Voss <voss@perce.de>
133 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
134 into the support/lstrings for better use in other programs.
136 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
137 namespace anon and make globally accessible.
138 (familyName): test for the presence of a LaTeX Space at the front of
139 of a name; strip it if it exists.
141 2002-04-11 Herbert Voss <voss@perce.de>
143 * ControlGraphics.C: expand "browse-string" to all available formats
145 2002-04-11 Herbert Voss <voss@perce.de>
147 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
149 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
151 * ControlAboutlyx.C (getVersion): two _() forgotten
153 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
157 * ControlBibtex.C: make N_() be _()
159 2002-04-07 Herbert Voss <voss@perce.de>
161 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
163 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
165 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
166 used when reading the BB.
168 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
170 * ControlGraphics.C (readBB): Don't open the ifstrem and then
171 check the format from the contents (and open a second ifstream in the
172 process. One at a time please.
174 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
176 * ControlRef.C (getBufferNum): squash warning message.
178 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
180 * ControlBibtex.C (Browse):
181 * ControlGraphics.C (Browse):
182 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
184 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
186 * ControlGraphics.C (applyParamsToInset): pass filepath to
187 InsetGraphics::updateInset.
189 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
191 * most files: ws cleanup
193 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
195 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
198 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
201 * ControlInclude.C: better error messages
203 2002-03-11 Herbert Voss <voss@lyx.org>
205 * biblio.C (parseBibTeX): fix another minibug with an
208 2002-03-10 Herbert Voss <voss@lyx.org>
210 * biblio.C (parseBibTeX): fix bug
211 (familyName): improve parsing
213 2002-03-09 Herbert Voss <voss@lyx.org>
215 * ControlGraphics.[Ch]: adding checkFilename() for testing
216 of non-existing files
218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * ControlSendto.C (allFormats): fix a iterators are not pointers
223 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
225 * ControlShowFile.h: add a #include "LString.h"
227 2002-03-05 Herbert Voss <voss@lyx.org>
229 * biblio.C (getInfo): simplify if using paragraph layout
232 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
234 * biblio.C (getInfo): return the info field correctly if the key
236 (parseBibTeX): fix crash when data.find('=') returns string::npos.
238 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
240 * ControlForks.[Ch]: new files. A controller for the Forked Child
241 processes dialog, enabling the user to see what forked processes
242 are running, and, if he so desires, to kill them.
244 * GUI.h: add class GUIForks.
246 * Makefile.am: add ControlForks.[Ch].
248 * ControlGraphics.C (getParams): small change due to change in
251 2002-02-21 Herbert Voss <voss@lyx.org>
253 * biblio.C: fix bug with commentlines in a bibentry
255 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
257 * Makefile.am: simpler obj. file compile
259 2002-02-18 Herbert Voss <voss@lyx.org>
261 * ControlGraphics.[Ch]: remove help-file call
263 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
265 * helper_funcs.h: wrap the structs firster and seconder up in a
266 namespace to avoid clashes with those in lyxalgo,h.
268 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
269 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
271 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
273 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
276 change Systemcalls::System to Systemcalls::Wait and
277 No change of functionality, just reflects the stripped down Systemcalls
280 2002-02-06 Herbert Voss <voss@lyx.org>
282 * ControlGraphics.[C] (readBB): search also in
283 g'zipped files. If it is useful than PK and compress
284 should also be supported. use unzipFile() from
287 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
289 * ControlRef.C (getBufferName): new method to get a real buffer
292 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
294 * ControlTexInfo.[Ch]: Removed Help functions.
296 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
298 * ControlSpellchecker.C: clear any selection left
301 2002-02-01 Herbert Voss <voss@lyx.org>
303 * ControlGraphics.[C] (readBB): search only, if it is a
304 ".?ps" file and look for bb's at end of file
306 2002-01-30 Herbert Voss <voss@lyx.org>
308 * ControlGraphic.[C]: do not search the whole file, when
311 2002-01-29 Herbert Voss <voss@lyx.org>
313 * ControlGraphic.[C]: added a button for document path
314 when browsing -> bug 222
316 2002-01-27 Herbert Voss <voss@lyx.org>
318 * ControlGraphic.[Ch]: added support for Bounding Box, other
321 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
324 * ControlTexinfo.h: added #include "LString.h" where they belong.
326 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
329 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
331 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
333 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
336 2002-01-20 Herbert Voss <voss@perce.de>
338 * ControlInclude.[Ch]: better control of unexistings files
339 when entered without the browser
341 * ControlGraphic.C (Browse): add extension "ps" when browsing for
344 2002-01-19 Herbert Voss <voss@perce.de>
346 * biblio.C (getInfo): fix bug when no author is given
348 * biblio.C (parseBibTeX): change the parsing, so that
349 '#'-characters in a bibtex entry are no more a problem.
351 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
354 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
356 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
358 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
360 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
362 * ControlExternal.C (Browse): add a std:: qualifier
364 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
366 * ControlExternal.C (Browse): simplify to use browseRelFile
368 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
370 * ButtonController.tmpl: added // -*- C++ -*-
372 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
373 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
374 Needed in _one_ of the ControlCommand-derived classes only.
376 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
379 * ControlSearch.h: #include LString.h
381 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
383 * ButtonController.h: split into two. The definition remains in
384 ButtonController.h, the declaration is now in ButtonController.tmpl.
385 These template methods should be #included when the derived class is
386 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
387 and in the qt2 and gnome equivalents.
389 * ControlDialogs.h: removed. The definition of class ControlDialog is
390 now to be found in ControlDialog.h and the declaration of the methods
391 is in ControlDialog.tmpl. The two template instantiations are performed
392 in ControlDialog_impl.[Ch], new files also.
394 * ControlInset.h: split into two. The definition remains in
395 ControlInset.h, the declaration is now in ControlInset.tmpl.
396 These template methods should be #included derived class is
397 instantiated, in this case in 8 other .C files in this directory.
399 * ControlAboutlyx.[Ch]:
400 * ControlCharacter.[Ch]:
410 * ControlPreamble.[Ch]:
412 * ControlSearch.[Ch]:
413 * ControlShowFile.[Ch]:
414 * ControlSpellchecker.[Ch]:
415 * ControlTabularCreate.[Ch]:
416 * ControlTexinfo.[Ch]:
417 * ControlThesaurus.[Ch]:
418 * ControlVCLog.[Ch]: small changes associated with the above ones.
420 * GUI.h: #include the ButtonController and dialog controller files
421 here, rather than forward declare them. This is the correct place
424 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
425 Rename ControlDialogs.h as ControlDialog.h.
426 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
429 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
431 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
433 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
435 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
438 * ControlGraphics.C (Browse): remove overzealous shortcut
440 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
442 * FormMinipage.C (apply, update): MinipageParams::width renamed
443 as MinipageParams::pageWidth. InsetMinipage::width renamed
444 as InsetMinipage::pageWidth.
446 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * ButtonController.h (refreshReadOnly): use explicit typename
450 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
452 * helper_funcs.h (browseFile): add default empty button descriptions.
454 * ControlGraphics.C (Browse):
455 * ControlBibtex.C (Browse):
456 * ControlInclude.C (Browse): add shortcuts to directory buttons
458 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
460 * ControlThesaurus.h:
461 * ControlThesaurus.C: update to Aiksaurus 0.14
463 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
465 * ControlSpellchecker.C (clearParams): show the closing message
466 only if some words have been checked, thereby fixing
469 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
471 * ControlFloat.[Ch]: changes to prevent here definitely being used
474 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
476 * ControlThesaurus.h: do not include <config.h> in header files
478 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
480 * ControlToc.C: changes for floatlist
482 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
484 * ControlVCLog.C: use _()
486 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
491 2001-10-22 Juergen Vigna <jug@sad.it>
493 * ControlSpellchecker.C (clearParams): use the error_ message of the
494 speller_ if available when the spellchecker died.
495 (setParams): remove double error message display.
497 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
499 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
501 * helper_funcs.[Ch] (getLatexUnits): see above.
503 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
505 * ControlTexinfo.C (getContents): use the right file for .sty files
507 2001-10-10 Herbert Voss <voss@perce.de>
509 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
510 and some more stuff from FormTexinfo.C
512 * ControlShowFile.C: hiding the update-button
514 2001-10-09 Herbert Voss <voss@perce.de>
516 * ControlTexinfo.[Ch]: new files. Display information about the
517 installed texfiles (cls,sty,bst).
519 * ControlShowFile.[Ch]: new files. Display the contents of a file.
521 * GUI.h: added classes GUIShowFile and GUITexinfo.
523 * Makefile.am: modified appropriately.
525 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * ControlAboutlyx.C (getVersion): use lyx_version and
528 lyx_release_date instead of old macros
530 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
532 * ControlSpellchecker.C (check): Behaves well now when the spell
533 library doesn't know a replacement to an incorrect word.
535 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
537 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
538 the correct place. Can now check spelling more than once!
540 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
542 * ControlSplash.[Ch]: removed.
544 * GUI.h: remove GUISplash class.
546 * ViewBase.h: remove ViewSplash class.
548 * Makefile.am: remove ControlSplash.[Ch].
550 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
552 * ControlButtons.h: add variable emergency_exit_. If set to true, the
553 view will be shut down.
556 * ControlInset.h: act on emergency_exit_.
558 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
559 speller fails to launch.
561 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
563 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
564 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
566 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlRef.h (disconnectOnApply): new method. Set to true.
569 Perhaps make this user-modifiable?
571 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
573 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
576 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
578 * ControlRef.C (getBufferList, getBufferNum): New methods
580 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
582 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
583 of the dialog when the Apply button is pressed. Defaults to false,
584 but can be overridden in the daughter classes.
586 * ControlCitation.h (disconnectOnApply): new method. Set to true.
587 Perhaps make this user-modifiable?
589 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
591 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
592 we have dialogs that update their contents when the buffer changes.
593 Rather embarassing, really!
595 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
597 * ControlSearch (replace): change semantics of replace to NOT move on
598 to the next instance of a word once the present instance has been
599 replaced unless we are replacing ALL instances of the word.
601 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
603 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
605 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
607 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
608 dialog, set all options to "reset", close the dialog, re-open it ->
609 the options are set incorrectly.
611 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
612 When Applying it's useful to know whether the dialog is about to close
613 or not (no point refreshing the display for example).
615 * ControlInset.C (apply): use isClosing.
617 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
620 * ControlDialogs.h: remove bc() hack, now fixed in
621 Qt2 frontend. use member dialog_built_ instead of shared
624 * ButtonController.h:
625 * ButtonPolicies.C: more debug info
627 * ButtonControllerBase.C: call refresh() when setting readOnly !
629 * GUI.h: External form has apply, use the right policy
631 * character.C: fix two off-by-one errors when latex font was removed
633 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
635 * ControlInset.h (apply): tentative fix for the press Apply multiple
636 times and get multiple new Insets problem.
638 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
640 * ControlCharacter.C: fix typo
644 * ControlInsets.C: make sure dialog is built before it is shown, so
645 it works properly the very first time it is shown
647 2001-08-20 Herbert Voss <voss@perce.de>
649 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
650 and styles. Added an option for "bibliography into toc"
652 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
654 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
655 LaTeX is no longer a font property.
657 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
659 * GUI.h: Button controller for Reference dialog changed to
660 NoRepeatedApplyReadOnlyPolicy.
662 * biblio.C (getInfo): output volume and number info. Move year to end
665 2001-08-09 Allan Rae <rae@lyx.org>
667 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
669 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
671 * helper_funcs.C (getVectorFromString): fixed small bug.
673 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
675 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
677 * ControlSpellchecker.C: check next word after insert in personal dict
679 2001-08-06 Juergen Vigna <jug@sad.it>
681 * ControlERT.[Ch]: new file
683 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
685 * ControlInset.h: const and non-const forms of params().
687 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
688 whitespace from either side of each item.
690 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
692 * ControlFloat.h: add a != operator for FloatParams.
693 Lars, how did you get this to compile!!!
695 * ControlMinipage.[Ch]: uncommented someone's commenting out of
696 operator != for MinipageParams. Who's changing stuff and not compiling?
698 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
700 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
703 * GUI.h: add class GUIFloat
705 * ControlFloat.[Ch]: new files
707 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
709 * ControlPrint.C: #include Lassert.h here.
711 2001-07-26 Baruch Even <baruch@lyx.org>
713 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
716 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
718 * ControlThesaurus.h:
719 * ControlThesaurus.C:
721 * Makefile.am: thesaurus support
723 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
726 * ControlInclude.C: implement ability to load file
728 2001-07-18 Juergen Vigna <jug@sad.it>
730 * ControlSearch.C (replace): changes to lyxfind.h function calls.
732 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
734 * biblio.C (getInfo): add a .c_str() to handle the usual
737 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
739 * ControlCitation.[Ch]: changes associated with adding natbib support.
740 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
741 New static variable citeStyles_.
743 * biblio.[Ch]: large internal rearrangement.
744 New public enum CiteStyle.
745 New public struct CitationStyle.
746 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
747 getNumericalStrings, getAuthorYearStrings
748 (simpleSearch, regexSearch): no longer publicly accessible.
750 * helper_funcs.C (getStringFromVector): bug fix.
752 2001-07-16 Baruch Even <baruch@lyx.org>
754 * ControlVCLog.h: Added Lsstream.h to includes.
756 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
758 * ControlSpellchecker.[Ch]: remove d-tor.
760 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
762 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
764 2001-07-16 Juergen Vigna <jug@sad.it>
766 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
767 compiled with USE_PSPELL) to be able to switch between ISpell and
770 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
772 Consistent use of Lsstream.h:
773 * ControlAboutlyx.[Ch] (getCredits):
774 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
776 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
778 * ControlCredits.[Ch]: removed
779 * ControlCopyright.[Ch]: removed
780 * ControlAboutlyx.[Ch]: added (replaces previous)
781 * GUI.h: removed credits and copyright added about lyx stuff
783 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
785 * ControlSpellchecker.C (getSuggestion):
786 (getWord): add std:: qualifier
788 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
790 * ControlSpellchecker.[Ch]: added
791 * ViewBase.h: added partialUpdate(int) member
792 * GUI.h: added spell stuff
794 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * ControlExternal.C: (*it). -> it->
798 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
800 * ButtonController.h: move some included header files out of the
801 frontends and into here.
803 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
805 * ControlCharacter.C (c-tor): cosmetic name change of signal.
807 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
809 * *.[h]: added // -*- C++ -*-
810 * *.[C]: removed // -*- C++ -*-
812 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
813 activate Apply button.
814 (clearParams): removed.
815 font_ is now stored as a boost::scoped_ptr.
816 font_ is no longer deleted on hide(), so it's contents can now be used
817 by the Font button on the toolbar.
818 Lots of new methods so that the GUI can easily get the contents of
819 font_ when it update()s.
821 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
823 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
824 crash when the Font button on the Toolbar is pressed.
826 * GUI.h: change policy of Character button controller to
827 OkApplyCancelReadOnlyPolicy.
829 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
831 * ControlToc.C (getContents): don't add anything to the list if it
832 is supposed to be empty.
834 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
836 * helper_funcs.C (getVectorFromString): bug fix.
838 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
841 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
842 from ButtonControllerBase::readOnly. Updates the state of the widgets
843 in the read-only list only when the read-only status of the document
845 (refresh): moved this stuff into refreshReadOnly.
847 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
849 * ControlPrint.C (c-tor):
850 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
852 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
855 * character.h: small clean-ups.
857 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
859 * ControlToc.C (getType): remove support for old float list.
861 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
863 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
864 * ControlGraphics.h: no longer include insetgraphicsParams.h
865 * ControlInset.h: no longer include LyXView.h
870 * ControlCharacter.C:
873 * ControlConnections.C:
874 * ControlCopyright.C:
886 * ControlTabularCreate.C:
888 * ControlVCLog.C: they're now in here!
890 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
892 * ButtonControllerBase.h: C++ mode, inherit privately from
894 * ButtonPolicies.h: ditto
896 * ButtonController.h: C++ mode, swap init order of restore_ and
899 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
901 * ControlTabularCreate.h:
902 * ControlTabularCreate.C: make dialogs use a pair of uints
906 * ControlVCLog.C: fill a stringstream with the log contents
909 * ControlExternal.C: from Angus, clone the new InsetExternal
912 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
914 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
915 and made more robust.
917 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
926 * ControlCopyright.C: include gettext.h
928 * ControlCharacter.C:
929 * character.C: include gettext.h and language.h
931 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
933 * ButtonController.h:
934 * ButtonControllerBase.h:
935 * ButtonControllerBase.C:
942 * ControlConnections.h:
948 * ViewBase.h: s/ControlButton/ControlButtons/
950 s/UndoAll/Restore/ + associated
952 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlToc.[Ch]: new files; a controller for the TOC popup.
957 * Makefile.am: associated changes with all of the above.
959 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
961 * ControlExternal.C: bug fixes. Can now apply changes to the inset
962 and edit, view, update the External Material correctly. I hope!
964 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
966 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
968 * BCTemplates.h: renamed as ButtonController.h
970 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
973 * ControlConnections.h: associated change in #include and class names.
975 * ControlExternal.[Ch]: new files; a controller for the External
979 * Makefile.am: associated changes with all of the above.
981 * ControlGraphics.[Ch]:
982 * ControlInclude.[Ch]:
985 (Browse): new method. Returns the results of a FileDialog browse.
987 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
988 (getVectorFromString): fixed bug.
990 * biblio.C (simpleSearch): cleaned up.
992 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
994 * A slight reworking of Baruch Even's ButtonController patch.
996 * BCTemplates.h: new file; all the templates for the ButtonController.
997 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
998 to the more generic setButtonLabel().
1000 * ButtonController.[Ch]: renamed cancel_label and close_label as
1001 cancel_label_ and close_label_.
1003 * Makefile.am: added BCTemplates.h
1005 2001-03-29 Juergen Vigna <jug@sad.it>
1007 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1008 to use new %-lengths of LyXLength.
1010 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1012 * ControlCitation.C (bibkeysInfo): removed Assert.
1014 * ControlCopyright.h: moved GUICopyright into GUI.h
1018 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1020 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1021 (setDaughterParams): a (by default empty) new method called in show().
1027 * ControlMinipage.h:
1030 * ControlUrl.h (clearDaughterParams): removed
1032 * ControlMinipage.C (applyParamsToInset): update the view.
1033 Added namespace minipage containing a helper function getUnits.
1035 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1037 * ControlCharacter.[Ch]: moved out all the helper functions and the
1038 enum into their own file.
1039 * character.[Ch]: new files; contain the character helper functions,
1040 now inside namespace character.
1042 * ControlCitation.[Ch]: moved out all the helper functions and the
1043 enums into their own file. Simplified interface.
1044 * biblio.[Ch]: new files; contain the citation helper functions,
1045 now inside namespace biblio. Will be of use also to an improved
1048 * ControlGraphics.[Ch]:
1049 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1050 popups, respectively.
1053 * Makefile.am: associated changes.
1055 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ControlMinipage.[Ch]:
1058 * ControlPreamble.[Ch]:
1059 * ControlPrint.[Ch]:
1060 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1061 and Print popups and Splash screen, respectively.
1063 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1067 * Makefile.am: associated changes.
1069 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1071 * ControlConnections.[Ch]: (docType): new method; returns the type
1072 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1075 * ControlSearch.[Ch]:
1076 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1077 Search and TabularCreate popups, respectively.
1080 * Makefile.am: associated changes.
1082 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1084 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1087 * ControlInset.h (apply): fix bug. Can now create new insets again.
1089 * README: describe program flow.
1091 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1093 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1095 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1097 * ControlDialogs.h: moved class ControlInset into its own file.
1099 * ControlInset.h: new file. class ControlInset has been expanded to take
1100 two template parameters, Inset and Params. Believe that all inset
1101 controllers can be derived from this with the minimum of effort.
1103 * ControlBibitem.[Ch]:
1104 * ControlBibtex.[Ch]:
1105 * ControlCitation.[Ch]:
1106 * ControlCommand.[Ch]: moved most code into ControlInset.
1108 * lots of files. Moved protected stuff into private where possible.
1110 * ControlError.[Ch]:
1111 * ControlInclude.[Ch]:
1112 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1113 Include and Url popups, respectively.
1116 * Makefile.am: associated changes.
1118 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1120 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1123 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1125 * ControlCredits.C (getCredits): remove std:: qualifier for
1128 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1130 * ControlCredits.C (getCredits): add std:: on vector
1132 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1134 * ControlCredits.C: remove using that is only used once, use
1135 std::ios instead of std::iosbase, add some annoying comments.
1137 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1139 * lots of header files: improved explanatory notes.
1141 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1142 ControlBase is now a class that only controls the interaction of the
1143 View with the ButtonController.
1145 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1146 to ControlConnectBase. The class controls the connection/disconnection
1147 of signals from the LyX kernel and makes available the kernel (through
1148 lv_) to daughter controller classes.
1149 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1151 * ControlDialogs.h: new file. Contains the definition of two template
1152 controller classes, ControlDialog and ControlInset (was
1153 ControlConnectInset). ControlInset is a parent class for controllers
1154 of inset-popups. ControlDialogs is the rather uninspired name for
1155 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1156 ControlDialogs is reaching a state of maturity as several popups now use
1157 it and its functionality becomes clear. ControlInset is still in a state
1158 of flux. It is likely that functionality will be moved out of
1159 ControlCommands and into it.
1161 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1162 individual Controller header files and into one place. These classes
1163 serve only as convenient wrappers to simplify code in the respective
1164 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1166 * ControlCharacter.[Ch] (show, update, hide):
1167 * ControlLog.[Ch] (show, update, hide):
1168 * ControlVCLog.[Ch] (show, update, hide): moved back into
1169 the ControlDialogs base class.
1170 (setParams, clearParams): new methods containing controller-specific
1171 code to set/reset the parameters manipulated by the view.
1173 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1175 (hide): calls clearParams.
1177 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1178 by ControlCommand::hide().
1180 * ControlCopyright.[Ch]:
1181 * ControlCredits.[Ch]: new files; controllers for the copyright and
1182 credits popups, respectively.
1184 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1186 * ControlCharacter.C: fix typo
1188 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1190 * ControlCharacter.[Ch]: new files; controller for the character popup.
1192 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1193 moved to new files helper_funcs.[Ch].
1195 * helper_funcs.[Ch]: new files. Some useful helper functions and
1198 * Makefile.am: added new files.
1200 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1202 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1204 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1207 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1208 Control log files, respectively.
1210 * Makefile.am: added new files.
1212 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1214 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1216 * Makefile.am: added ControlBibtex.[Ch].
1218 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1221 * ControlCitation.C: added "using SigC::slot" declaration.
1223 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1224 to FormCitation.C prior to the merger: "Do not put space between
1227 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1229 * several files: remove CXX_WORKING_NAMESPACES
1231 * ButtonController.h: noncopyable is in namespace boost
1232 * ButtonPolicies.h: ditto
1234 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1236 * Merging changes from BRANCH_MVC back into HEAD.
1238 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1240 * Makefile.am: add ControlBibitem.[Ch].
1242 * ControlBibitem.[Ch]: new files that together define the Controller
1243 for a Bibitem popup.
1245 * ControlCommand.h (c-tor): give kb_action a default value of
1248 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1250 * ControlCitation.[Ch]: moved search functions out of class.
1251 (bibkeysInfo): new method. Returns const reference to private data.
1252 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1255 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1257 * ControlCitation.[Ch]: added Search functions to the class,
1258 (shamelessly lifted from Marco's gnome code). I think that these would
1259 be better as helper functions outside the class, but this is a first
1262 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1264 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1266 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1267 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1268 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1269 implementation of FormCitation.
1271 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1273 * ButtonPolicies.h: add SMI_NOOP to enum.
1275 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1277 * ButtonController.C (input): add "optimising" if-statement. Actually,
1278 things don't work correctly without it...
1280 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1282 * ViewBase.h: remove #pragma directive
1284 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1287 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1289 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1291 * Makefile.am: added ButtonPolicies.[Ch]
1293 * ButtonController.[Ch]: ButtonController is split into
1294 ButtonControllerBase and a template ButtonController class. The base
1295 class no longer stores a pointer to a ButtonPolicy, but instead
1296 accesses the actual instantiation of the policy through a pure virtual
1297 method bp(). This method and the ButtonPolicy itself are instantiated
1298 in the templatised ButtonController class. This class is derived from
1299 the GUI-specific GUIBC class, meaning that the frontends know
1300 nothing about the actual policy decided upon by the controllers.
1302 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1303 Instead the actual instantiations are accessed through pure virtual
1304 methods view() and bc(). The daughter classes are responsible for the
1305 actual View and ButtonController.
1307 * ControlCitation.h: the templatised class GUICitation instantiates
1308 the methods view() and bc(). It also stores the instances of the
1309 View and ButtonController.
1311 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1313 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1314 also changed to ButtonController.
1317 * ControlConnections.[Ch]:
1318 * ControlCommand.[Ch]:
1319 * ControlCitation.[Ch]:
1320 * ViewBase.h: Changes associated with this.
1322 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1324 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1325 xforms/ButtonController class into a GUI-I class (here) and an
1326 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1328 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1329 from which all Dialog Controllers should be derived. the Controllers
1330 are GUI-independent, but are designed to control the behaviour of
1331 GUI-specific implementaions of each dialog.
1333 * ControlConnections.[Ch]: new files. Classes controlling the
1334 connections of buffer-independent, buffer-dependent and Inset dialogs
1335 with the LyX kernel.
1337 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1338 InsetCommand subset of insets.
1340 * ControlCitation.[Ch]: new files. The test specialisation! A
1341 controller for the Citation dialog.
1343 * ViewBase.h: new file. ViewBase is an abstract base class from which
1344 GUI-specific dialogs should be derived. The functionality that the GUIs
1345 must now implement is much reduced.