1 2002-04-15 Herbert Voss <voss@perce.de>
3 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
4 with something like ,,...blah...`` (two commas)
6 2002-04-14 Herbert Voss <voss@perce.de>
8 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
9 into the support/lstrings for better use in other programs.
11 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
12 namespace anon and make globally accessible.
13 (familyName): test for the presence of a LaTeX Space at the front of
14 of a name; strip it if it exists.
16 2002-04-11 Herbert Voss <voss@perce.de>
18 * ControlGraphics.C: expand "browse-string" to all available formats
20 2002-04-11 Herbert Voss <voss@perce.de>
22 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
24 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
26 * ControlAboutlyx.C (getVersion): two _() forgotten
28 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
32 * ControlBibtex.C: make N_() be _()
34 2002-04-07 Herbert Voss <voss@perce.de>
36 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
38 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
40 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
41 used when reading the BB.
43 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
45 * ControlGraphics.C (readBB): Don't open the ifstrem and then
46 check the format from the contents (and open a second ifstream in the
47 process. One at a time please.
49 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
51 * ControlRef.C (getBufferNum): squash warning message.
53 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
55 * ControlBibtex.C (Browse):
56 * ControlGraphics.C (Browse):
57 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
59 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
61 * ControlGraphics.C (applyParamsToInset): pass filepath to
62 InsetGraphics::updateInset.
64 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * most files: ws cleanup
68 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
70 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
73 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
76 * ControlInclude.C: better error messages
78 2002-03-11 Herbert Voss <voss@lyx.org>
80 * biblio.C (parseBibTeX): fix another minibug with an
83 2002-03-10 Herbert Voss <voss@lyx.org>
85 * biblio.C (parseBibTeX): fix bug
86 (familyName): improve parsing
88 2002-03-09 Herbert Voss <voss@lyx.org>
90 * ControlGraphics.[Ch]: adding checkFilename() for testing
93 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * ControlSendto.C (allFormats): fix a iterators are not pointers
98 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
100 * ControlShowFile.h: add a #include "LString.h"
102 2002-03-05 Herbert Voss <voss@lyx.org>
104 * biblio.C (getInfo): simplify if using paragraph layout
107 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
109 * biblio.C (getInfo): return the info field correctly if the key
111 (parseBibTeX): fix crash when data.find('=') returns string::npos.
113 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
115 * ControlForks.[Ch]: new files. A controller for the Forked Child
116 processes dialog, enabling the user to see what forked processes
117 are running, and, if he so desires, to kill them.
119 * GUI.h: add class GUIForks.
121 * Makefile.am: add ControlForks.[Ch].
123 * ControlGraphics.C (getParams): small change due to change in
126 2002-02-21 Herbert Voss <voss@lyx.org>
128 * biblio.C: fix bug with commentlines in a bibentry
130 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * Makefile.am: simpler obj. file compile
134 2002-02-18 Herbert Voss <voss@lyx.org>
136 * ControlGraphics.[Ch]: remove help-file call
138 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
140 * helper_funcs.h: wrap the structs firster and seconder up in a
141 namespace to avoid clashes with those in lyxalgo,h.
143 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
144 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
146 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
148 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
151 change Systemcalls::System to Systemcalls::Wait and
152 No change of functionality, just reflects the stripped down Systemcalls
155 2002-02-06 Herbert Voss <voss@lyx.org>
157 * ControlGraphics.[C] (readBB): search also in
158 g'zipped files. If it is useful than PK and compress
159 should also be supported. use unzipFile() from
162 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
164 * ControlRef.C (getBufferName): new method to get a real buffer
167 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
169 * ControlTexInfo.[Ch]: Removed Help functions.
171 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
173 * ControlSpellchecker.C: clear any selection left
176 2002-02-01 Herbert Voss <voss@lyx.org>
178 * ControlGraphics.[C] (readBB): search only, if it is a
179 ".?ps" file and look for bb's at end of file
181 2002-01-30 Herbert Voss <voss@lyx.org>
183 * ControlGraphic.[C]: do not search the whole file, when
186 2002-01-29 Herbert Voss <voss@lyx.org>
188 * ControlGraphic.[C]: added a button for document path
189 when browsing -> bug 222
191 2002-01-27 Herbert Voss <voss@lyx.org>
193 * ControlGraphic.[Ch]: added support for Bounding Box, other
196 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
199 * ControlTexinfo.h: added #include "LString.h" where they belong.
201 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
204 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
206 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
208 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
211 2002-01-20 Herbert Voss <voss@perce.de>
213 * ControlInclude.[Ch]: better control of unexistings files
214 when entered without the browser
216 * ControlGraphic.C (Browse): add extension "ps" when browsing for
219 2002-01-19 Herbert Voss <voss@perce.de>
221 * biblio.C (getInfo): fix bug when no author is given
223 * biblio.C (parseBibTeX): change the parsing, so that
224 '#'-characters in a bibtex entry are no more a problem.
226 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
228 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
229 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
231 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
233 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
235 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
237 * ControlExternal.C (Browse): add a std:: qualifier
239 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
241 * ControlExternal.C (Browse): simplify to use browseRelFile
243 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
245 * ButtonController.tmpl: added // -*- C++ -*-
247 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
248 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
249 Needed in _one_ of the ControlCommand-derived classes only.
251 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
254 * ControlSearch.h: #include LString.h
256 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
258 * ButtonController.h: split into two. The definition remains in
259 ButtonController.h, the declaration is now in ButtonController.tmpl.
260 These template methods should be #included when the derived class is
261 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
262 and in the qt2 and gnome equivalents.
264 * ControlDialogs.h: removed. The definition of class ControlDialog is
265 now to be found in ControlDialog.h and the declaration of the methods
266 is in ControlDialog.tmpl. The two template instantiations are performed
267 in ControlDialog_impl.[Ch], new files also.
269 * ControlInset.h: split into two. The definition remains in
270 ControlInset.h, the declaration is now in ControlInset.tmpl.
271 These template methods should be #included derived class is
272 instantiated, in this case in 8 other .C files in this directory.
274 * ControlAboutlyx.[Ch]:
275 * ControlCharacter.[Ch]:
285 * ControlPreamble.[Ch]:
287 * ControlSearch.[Ch]:
288 * ControlShowFile.[Ch]:
289 * ControlSpellchecker.[Ch]:
290 * ControlTabularCreate.[Ch]:
291 * ControlTexinfo.[Ch]:
292 * ControlThesaurus.[Ch]:
293 * ControlVCLog.[Ch]: small changes associated with the above ones.
295 * GUI.h: #include the ButtonController and dialog controller files
296 here, rather than forward declare them. This is the correct place
299 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
300 Rename ControlDialogs.h as ControlDialog.h.
301 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
304 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
306 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
308 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
310 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
313 * ControlGraphics.C (Browse): remove overzealous shortcut
315 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
317 * FormMinipage.C (apply, update): MinipageParams::width renamed
318 as MinipageParams::pageWidth. InsetMinipage::width renamed
319 as InsetMinipage::pageWidth.
321 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
323 * ButtonController.h (refreshReadOnly): use explicit typename
325 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * helper_funcs.h (browseFile): add default empty button descriptions.
329 * ControlGraphics.C (Browse):
330 * ControlBibtex.C (Browse):
331 * ControlInclude.C (Browse): add shortcuts to directory buttons
333 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
335 * ControlThesaurus.h:
336 * ControlThesaurus.C: update to Aiksaurus 0.14
338 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
340 * ControlSpellchecker.C (clearParams): show the closing message
341 only if some words have been checked, thereby fixing
344 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
346 * ControlFloat.[Ch]: changes to prevent here definitely being used
349 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
351 * ControlThesaurus.h: do not include <config.h> in header files
353 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
355 * ControlToc.C: changes for floatlist
357 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
359 * ControlVCLog.C: use _()
361 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
363 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
366 2001-10-22 Juergen Vigna <jug@sad.it>
368 * ControlSpellchecker.C (clearParams): use the error_ message of the
369 speller_ if available when the spellchecker died.
370 (setParams): remove double error message display.
372 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
376 * helper_funcs.[Ch] (getLatexUnits): see above.
378 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
380 * ControlTexinfo.C (getContents): use the right file for .sty files
382 2001-10-10 Herbert Voss <voss@perce.de>
384 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
385 and some more stuff from FormTexinfo.C
387 * ControlShowFile.C: hiding the update-button
389 2001-10-09 Herbert Voss <voss@perce.de>
391 * ControlTexinfo.[Ch]: new files. Display information about the
392 installed texfiles (cls,sty,bst).
394 * ControlShowFile.[Ch]: new files. Display the contents of a file.
396 * GUI.h: added classes GUIShowFile and GUITexinfo.
398 * Makefile.am: modified appropriately.
400 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
402 * ControlAboutlyx.C (getVersion): use lyx_version and
403 lyx_release_date instead of old macros
405 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
407 * ControlSpellchecker.C (check): Behaves well now when the spell
408 library doesn't know a replacement to an incorrect word.
410 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
412 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
413 the correct place. Can now check spelling more than once!
415 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
417 * ControlSplash.[Ch]: removed.
419 * GUI.h: remove GUISplash class.
421 * ViewBase.h: remove ViewSplash class.
423 * Makefile.am: remove ControlSplash.[Ch].
425 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
427 * ControlButtons.h: add variable emergency_exit_. If set to true, the
428 view will be shut down.
431 * ControlInset.h: act on emergency_exit_.
433 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
434 speller fails to launch.
436 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
438 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
439 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
441 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlRef.h (disconnectOnApply): new method. Set to true.
444 Perhaps make this user-modifiable?
446 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
451 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
453 * ControlRef.C (getBufferList, getBufferNum): New methods
455 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
457 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
458 of the dialog when the Apply button is pressed. Defaults to false,
459 but can be overridden in the daughter classes.
461 * ControlCitation.h (disconnectOnApply): new method. Set to true.
462 Perhaps make this user-modifiable?
464 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
466 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
467 we have dialogs that update their contents when the buffer changes.
468 Rather embarassing, really!
470 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
472 * ControlSearch (replace): change semantics of replace to NOT move on
473 to the next instance of a word once the present instance has been
474 replaced unless we are replacing ALL instances of the word.
476 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
478 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
480 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
482 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
483 dialog, set all options to "reset", close the dialog, re-open it ->
484 the options are set incorrectly.
486 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
487 When Applying it's useful to know whether the dialog is about to close
488 or not (no point refreshing the display for example).
490 * ControlInset.C (apply): use isClosing.
492 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
495 * ControlDialogs.h: remove bc() hack, now fixed in
496 Qt2 frontend. use member dialog_built_ instead of shared
499 * ButtonController.h:
500 * ButtonPolicies.C: more debug info
502 * ButtonControllerBase.C: call refresh() when setting readOnly !
504 * GUI.h: External form has apply, use the right policy
506 * character.C: fix two off-by-one errors when latex font was removed
508 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
510 * ControlInset.h (apply): tentative fix for the press Apply multiple
511 times and get multiple new Insets problem.
513 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
515 * ControlCharacter.C: fix typo
519 * ControlInsets.C: make sure dialog is built before it is shown, so
520 it works properly the very first time it is shown
522 2001-08-20 Herbert Voss <voss@perce.de>
524 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
525 and styles. Added an option for "bibliography into toc"
527 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
529 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
530 LaTeX is no longer a font property.
532 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
534 * GUI.h: Button controller for Reference dialog changed to
535 NoRepeatedApplyReadOnlyPolicy.
537 * biblio.C (getInfo): output volume and number info. Move year to end
540 2001-08-09 Allan Rae <rae@lyx.org>
542 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
544 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
546 * helper_funcs.C (getVectorFromString): fixed small bug.
548 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
550 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
552 * ControlSpellchecker.C: check next word after insert in personal dict
554 2001-08-06 Juergen Vigna <jug@sad.it>
556 * ControlERT.[Ch]: new file
558 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
560 * ControlInset.h: const and non-const forms of params().
562 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
563 whitespace from either side of each item.
565 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
567 * ControlFloat.h: add a != operator for FloatParams.
568 Lars, how did you get this to compile!!!
570 * ControlMinipage.[Ch]: uncommented someone's commenting out of
571 operator != for MinipageParams. Who's changing stuff and not compiling?
573 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
575 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
578 * GUI.h: add class GUIFloat
580 * ControlFloat.[Ch]: new files
582 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
584 * ControlPrint.C: #include Lassert.h here.
586 2001-07-26 Baruch Even <baruch@lyx.org>
588 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
591 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
593 * ControlThesaurus.h:
594 * ControlThesaurus.C:
596 * Makefile.am: thesaurus support
598 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
601 * ControlInclude.C: implement ability to load file
603 2001-07-18 Juergen Vigna <jug@sad.it>
605 * ControlSearch.C (replace): changes to lyxfind.h function calls.
607 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
609 * biblio.C (getInfo): add a .c_str() to handle the usual
612 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
614 * ControlCitation.[Ch]: changes associated with adding natbib support.
615 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
616 New static variable citeStyles_.
618 * biblio.[Ch]: large internal rearrangement.
619 New public enum CiteStyle.
620 New public struct CitationStyle.
621 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
622 getNumericalStrings, getAuthorYearStrings
623 (simpleSearch, regexSearch): no longer publicly accessible.
625 * helper_funcs.C (getStringFromVector): bug fix.
627 2001-07-16 Baruch Even <baruch@lyx.org>
629 * ControlVCLog.h: Added Lsstream.h to includes.
631 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
633 * ControlSpellchecker.[Ch]: remove d-tor.
635 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
637 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
639 2001-07-16 Juergen Vigna <jug@sad.it>
641 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
642 compiled with USE_PSPELL) to be able to switch between ISpell and
645 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
647 Consistent use of Lsstream.h:
648 * ControlAboutlyx.[Ch] (getCredits):
649 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
651 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
653 * ControlCredits.[Ch]: removed
654 * ControlCopyright.[Ch]: removed
655 * ControlAboutlyx.[Ch]: added (replaces previous)
656 * GUI.h: removed credits and copyright added about lyx stuff
658 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
660 * ControlSpellchecker.C (getSuggestion):
661 (getWord): add std:: qualifier
663 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
665 * ControlSpellchecker.[Ch]: added
666 * ViewBase.h: added partialUpdate(int) member
667 * GUI.h: added spell stuff
669 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * ControlExternal.C: (*it). -> it->
673 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
675 * ButtonController.h: move some included header files out of the
676 frontends and into here.
678 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
680 * ControlCharacter.C (c-tor): cosmetic name change of signal.
682 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
684 * *.[h]: added // -*- C++ -*-
685 * *.[C]: removed // -*- C++ -*-
687 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
688 activate Apply button.
689 (clearParams): removed.
690 font_ is now stored as a boost::scoped_ptr.
691 font_ is no longer deleted on hide(), so it's contents can now be used
692 by the Font button on the toolbar.
693 Lots of new methods so that the GUI can easily get the contents of
694 font_ when it update()s.
696 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
698 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
699 crash when the Font button on the Toolbar is pressed.
701 * GUI.h: change policy of Character button controller to
702 OkApplyCancelReadOnlyPolicy.
704 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
706 * ControlToc.C (getContents): don't add anything to the list if it
707 is supposed to be empty.
709 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
711 * helper_funcs.C (getVectorFromString): bug fix.
713 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
716 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
717 from ButtonControllerBase::readOnly. Updates the state of the widgets
718 in the read-only list only when the read-only status of the document
720 (refresh): moved this stuff into refreshReadOnly.
722 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
724 * ControlPrint.C (c-tor):
725 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
727 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
730 * character.h: small clean-ups.
732 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
734 * ControlToc.C (getType): remove support for old float list.
736 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
738 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
739 * ControlGraphics.h: no longer include insetgraphicsParams.h
740 * ControlInset.h: no longer include LyXView.h
745 * ControlCharacter.C:
748 * ControlConnections.C:
749 * ControlCopyright.C:
761 * ControlTabularCreate.C:
763 * ControlVCLog.C: they're now in here!
765 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
767 * ButtonControllerBase.h: C++ mode, inherit privately from
769 * ButtonPolicies.h: ditto
771 * ButtonController.h: C++ mode, swap init order of restore_ and
774 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
776 * ControlTabularCreate.h:
777 * ControlTabularCreate.C: make dialogs use a pair of uints
781 * ControlVCLog.C: fill a stringstream with the log contents
784 * ControlExternal.C: from Angus, clone the new InsetExternal
787 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
789 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
790 and made more robust.
792 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
801 * ControlCopyright.C: include gettext.h
803 * ControlCharacter.C:
804 * character.C: include gettext.h and language.h
806 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
808 * ButtonController.h:
809 * ButtonControllerBase.h:
810 * ButtonControllerBase.C:
817 * ControlConnections.h:
823 * ViewBase.h: s/ControlButton/ControlButtons/
825 s/UndoAll/Restore/ + associated
827 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
829 * ControlToc.[Ch]: new files; a controller for the TOC popup.
832 * Makefile.am: associated changes with all of the above.
834 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
836 * ControlExternal.C: bug fixes. Can now apply changes to the inset
837 and edit, view, update the External Material correctly. I hope!
839 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
841 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
843 * BCTemplates.h: renamed as ButtonController.h
845 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
848 * ControlConnections.h: associated change in #include and class names.
850 * ControlExternal.[Ch]: new files; a controller for the External
854 * Makefile.am: associated changes with all of the above.
856 * ControlGraphics.[Ch]:
857 * ControlInclude.[Ch]:
860 (Browse): new method. Returns the results of a FileDialog browse.
862 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
863 (getVectorFromString): fixed bug.
865 * biblio.C (simpleSearch): cleaned up.
867 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
869 * A slight reworking of Baruch Even's ButtonController patch.
871 * BCTemplates.h: new file; all the templates for the ButtonController.
872 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
873 to the more generic setButtonLabel().
875 * ButtonController.[Ch]: renamed cancel_label and close_label as
876 cancel_label_ and close_label_.
878 * Makefile.am: added BCTemplates.h
880 2001-03-29 Juergen Vigna <jug@sad.it>
882 * ControlMinipage.C: removed widthp_ and all it's functions and changed
883 to use new %-lengths of LyXLength.
885 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
887 * ControlCitation.C (bibkeysInfo): removed Assert.
889 * ControlCopyright.h: moved GUICopyright into GUI.h
893 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
896 (setDaughterParams): a (by default empty) new method called in show().
905 * ControlUrl.h (clearDaughterParams): removed
907 * ControlMinipage.C (applyParamsToInset): update the view.
908 Added namespace minipage containing a helper function getUnits.
910 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
912 * ControlCharacter.[Ch]: moved out all the helper functions and the
913 enum into their own file.
914 * character.[Ch]: new files; contain the character helper functions,
915 now inside namespace character.
917 * ControlCitation.[Ch]: moved out all the helper functions and the
918 enums into their own file. Simplified interface.
919 * biblio.[Ch]: new files; contain the citation helper functions,
920 now inside namespace biblio. Will be of use also to an improved
923 * ControlGraphics.[Ch]:
924 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
925 popups, respectively.
928 * Makefile.am: associated changes.
930 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
932 * ControlMinipage.[Ch]:
933 * ControlPreamble.[Ch]:
935 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
936 and Print popups and Splash screen, respectively.
938 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
942 * Makefile.am: associated changes.
944 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
946 * ControlConnections.[Ch]: (docType): new method; returns the type
947 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
950 * ControlSearch.[Ch]:
951 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
952 Search and TabularCreate popups, respectively.
955 * Makefile.am: associated changes.
957 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
959 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
962 * ControlInset.h (apply): fix bug. Can now create new insets again.
964 * README: describe program flow.
966 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
968 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
970 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
972 * ControlDialogs.h: moved class ControlInset into its own file.
974 * ControlInset.h: new file. class ControlInset has been expanded to take
975 two template parameters, Inset and Params. Believe that all inset
976 controllers can be derived from this with the minimum of effort.
978 * ControlBibitem.[Ch]:
979 * ControlBibtex.[Ch]:
980 * ControlCitation.[Ch]:
981 * ControlCommand.[Ch]: moved most code into ControlInset.
983 * lots of files. Moved protected stuff into private where possible.
986 * ControlInclude.[Ch]:
987 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
988 Include and Url popups, respectively.
991 * Makefile.am: associated changes.
993 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
995 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
998 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1000 * ControlCredits.C (getCredits): remove std:: qualifier for
1003 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1005 * ControlCredits.C (getCredits): add std:: on vector
1007 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1009 * ControlCredits.C: remove using that is only used once, use
1010 std::ios instead of std::iosbase, add some annoying comments.
1012 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1014 * lots of header files: improved explanatory notes.
1016 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1017 ControlBase is now a class that only controls the interaction of the
1018 View with the ButtonController.
1020 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1021 to ControlConnectBase. The class controls the connection/disconnection
1022 of signals from the LyX kernel and makes available the kernel (through
1023 lv_) to daughter controller classes.
1024 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1026 * ControlDialogs.h: new file. Contains the definition of two template
1027 controller classes, ControlDialog and ControlInset (was
1028 ControlConnectInset). ControlInset is a parent class for controllers
1029 of inset-popups. ControlDialogs is the rather uninspired name for
1030 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1031 ControlDialogs is reaching a state of maturity as several popups now use
1032 it and its functionality becomes clear. ControlInset is still in a state
1033 of flux. It is likely that functionality will be moved out of
1034 ControlCommands and into it.
1036 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1037 individual Controller header files and into one place. These classes
1038 serve only as convenient wrappers to simplify code in the respective
1039 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1041 * ControlCharacter.[Ch] (show, update, hide):
1042 * ControlLog.[Ch] (show, update, hide):
1043 * ControlVCLog.[Ch] (show, update, hide): moved back into
1044 the ControlDialogs base class.
1045 (setParams, clearParams): new methods containing controller-specific
1046 code to set/reset the parameters manipulated by the view.
1048 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1050 (hide): calls clearParams.
1052 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1053 by ControlCommand::hide().
1055 * ControlCopyright.[Ch]:
1056 * ControlCredits.[Ch]: new files; controllers for the copyright and
1057 credits popups, respectively.
1059 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1061 * ControlCharacter.C: fix typo
1063 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1065 * ControlCharacter.[Ch]: new files; controller for the character popup.
1067 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1068 moved to new files helper_funcs.[Ch].
1070 * helper_funcs.[Ch]: new files. Some useful helper functions and
1073 * Makefile.am: added new files.
1075 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1079 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1083 Control log files, respectively.
1085 * Makefile.am: added new files.
1087 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1091 * Makefile.am: added ControlBibtex.[Ch].
1093 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1096 * ControlCitation.C: added "using SigC::slot" declaration.
1098 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1099 to FormCitation.C prior to the merger: "Do not put space between
1102 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1104 * several files: remove CXX_WORKING_NAMESPACES
1106 * ButtonController.h: noncopyable is in namespace boost
1107 * ButtonPolicies.h: ditto
1109 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1111 * Merging changes from BRANCH_MVC back into HEAD.
1113 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1115 * Makefile.am: add ControlBibitem.[Ch].
1117 * ControlBibitem.[Ch]: new files that together define the Controller
1118 for a Bibitem popup.
1120 * ControlCommand.h (c-tor): give kb_action a default value of
1123 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1125 * ControlCitation.[Ch]: moved search functions out of class.
1126 (bibkeysInfo): new method. Returns const reference to private data.
1127 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1130 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ControlCitation.[Ch]: added Search functions to the class,
1133 (shamelessly lifted from Marco's gnome code). I think that these would
1134 be better as helper functions outside the class, but this is a first
1137 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1139 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1141 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1142 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1143 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1144 implementation of FormCitation.
1146 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1148 * ButtonPolicies.h: add SMI_NOOP to enum.
1150 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1152 * ButtonController.C (input): add "optimising" if-statement. Actually,
1153 things don't work correctly without it...
1155 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1157 * ViewBase.h: remove #pragma directive
1159 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1162 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1164 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1166 * Makefile.am: added ButtonPolicies.[Ch]
1168 * ButtonController.[Ch]: ButtonController is split into
1169 ButtonControllerBase and a template ButtonController class. The base
1170 class no longer stores a pointer to a ButtonPolicy, but instead
1171 accesses the actual instantiation of the policy through a pure virtual
1172 method bp(). This method and the ButtonPolicy itself are instantiated
1173 in the templatised ButtonController class. This class is derived from
1174 the GUI-specific GUIBC class, meaning that the frontends know
1175 nothing about the actual policy decided upon by the controllers.
1177 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1178 Instead the actual instantiations are accessed through pure virtual
1179 methods view() and bc(). The daughter classes are responsible for the
1180 actual View and ButtonController.
1182 * ControlCitation.h: the templatised class GUICitation instantiates
1183 the methods view() and bc(). It also stores the instances of the
1184 View and ButtonController.
1186 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1188 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1189 also changed to ButtonController.
1192 * ControlConnections.[Ch]:
1193 * ControlCommand.[Ch]:
1194 * ControlCitation.[Ch]:
1195 * ViewBase.h: Changes associated with this.
1197 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1200 xforms/ButtonController class into a GUI-I class (here) and an
1201 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1203 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1204 from which all Dialog Controllers should be derived. the Controllers
1205 are GUI-independent, but are designed to control the behaviour of
1206 GUI-specific implementaions of each dialog.
1208 * ControlConnections.[Ch]: new files. Classes controlling the
1209 connections of buffer-independent, buffer-dependent and Inset dialogs
1210 with the LyX kernel.
1212 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1213 InsetCommand subset of insets.
1215 * ControlCitation.[Ch]: new files. The test specialisation! A
1216 controller for the Citation dialog.
1218 * ViewBase.h: new file. ViewBase is an abstract base class from which
1219 GUI-specific dialogs should be derived. The functionality that the GUIs
1220 must now implement is much reduced.