1 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3 * ControlGraphics.C: add some comments to the char * arrays.
4 Make rorigin_size const.
6 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
8 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
9 Enables the gui's to internationalise these strings.
11 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
13 * frnt_lang.C: fix build
15 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
17 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
18 If the the caller is the character dialog, add "No change" and "Reset"
19 to the vector, else don't.
20 Internationalise the GUI strings here rather than in the different
22 Sort the translated strings, albeit simply.
24 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
26 * character.[Ch]: rename namespace character as namespace frnt.
28 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
29 as several dialogs will use this info. The function now returns a
30 vector<LanguagePair> where LanguagePair is a display string and an
31 identifying string. The display string is internationalised.
33 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
34 the identifying strings, "No change" and "Reset".
36 * Makefile.am: add frnt_lang.[Ch].
38 2002-04-25 Herbert Voss <voss@lyx.org>
40 * ControlSendto.C (allFormats): don't add the graphics extensions to the
43 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
45 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
46 BibTeX databases in a WYSIWYM way.
48 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
50 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
51 way past his use-by date.
52 Make use of the improved info from Buffer::getBibkeyList when using
53 \bibliography. Enables us to provide natbib support in this case too.
55 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
57 * ControlGraphics.C: pass the browseFile dialog a string of only those
58 formats that can currently be loaded by LyX.
60 2002-04-15 Herbert Voss <voss@perce.de>
62 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
63 with something like ,,...blah...`` (two commas)
65 2002-04-14 Herbert Voss <voss@perce.de>
67 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
68 into the support/lstrings for better use in other programs.
70 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
71 namespace anon and make globally accessible.
72 (familyName): test for the presence of a LaTeX Space at the front of
73 of a name; strip it if it exists.
75 2002-04-11 Herbert Voss <voss@perce.de>
77 * ControlGraphics.C: expand "browse-string" to all available formats
79 2002-04-11 Herbert Voss <voss@perce.de>
81 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
83 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
85 * ControlAboutlyx.C (getVersion): two _() forgotten
87 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
91 * ControlBibtex.C: make N_() be _()
93 2002-04-07 Herbert Voss <voss@perce.de>
95 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
97 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
99 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
100 used when reading the BB.
102 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
104 * ControlGraphics.C (readBB): Don't open the ifstrem and then
105 check the format from the contents (and open a second ifstream in the
106 process. One at a time please.
108 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
110 * ControlRef.C (getBufferNum): squash warning message.
112 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
114 * ControlBibtex.C (Browse):
115 * ControlGraphics.C (Browse):
116 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
118 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
120 * ControlGraphics.C (applyParamsToInset): pass filepath to
121 InsetGraphics::updateInset.
123 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * most files: ws cleanup
127 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
129 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
132 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
135 * ControlInclude.C: better error messages
137 2002-03-11 Herbert Voss <voss@lyx.org>
139 * biblio.C (parseBibTeX): fix another minibug with an
142 2002-03-10 Herbert Voss <voss@lyx.org>
144 * biblio.C (parseBibTeX): fix bug
145 (familyName): improve parsing
147 2002-03-09 Herbert Voss <voss@lyx.org>
149 * ControlGraphics.[Ch]: adding checkFilename() for testing
150 of non-existing files
152 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
154 * ControlSendto.C (allFormats): fix a iterators are not pointers
157 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
159 * ControlShowFile.h: add a #include "LString.h"
161 2002-03-05 Herbert Voss <voss@lyx.org>
163 * biblio.C (getInfo): simplify if using paragraph layout
166 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
168 * biblio.C (getInfo): return the info field correctly if the key
170 (parseBibTeX): fix crash when data.find('=') returns string::npos.
172 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
174 * ControlForks.[Ch]: new files. A controller for the Forked Child
175 processes dialog, enabling the user to see what forked processes
176 are running, and, if he so desires, to kill them.
178 * GUI.h: add class GUIForks.
180 * Makefile.am: add ControlForks.[Ch].
182 * ControlGraphics.C (getParams): small change due to change in
185 2002-02-21 Herbert Voss <voss@lyx.org>
187 * biblio.C: fix bug with commentlines in a bibentry
189 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
191 * Makefile.am: simpler obj. file compile
193 2002-02-18 Herbert Voss <voss@lyx.org>
195 * ControlGraphics.[Ch]: remove help-file call
197 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
199 * helper_funcs.h: wrap the structs firster and seconder up in a
200 namespace to avoid clashes with those in lyxalgo,h.
202 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
203 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
205 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
207 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
210 change Systemcalls::System to Systemcalls::Wait and
211 No change of functionality, just reflects the stripped down Systemcalls
214 2002-02-06 Herbert Voss <voss@lyx.org>
216 * ControlGraphics.[C] (readBB): search also in
217 g'zipped files. If it is useful than PK and compress
218 should also be supported. use unzipFile() from
221 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
223 * ControlRef.C (getBufferName): new method to get a real buffer
226 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
228 * ControlTexInfo.[Ch]: Removed Help functions.
230 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
232 * ControlSpellchecker.C: clear any selection left
235 2002-02-01 Herbert Voss <voss@lyx.org>
237 * ControlGraphics.[C] (readBB): search only, if it is a
238 ".?ps" file and look for bb's at end of file
240 2002-01-30 Herbert Voss <voss@lyx.org>
242 * ControlGraphic.[C]: do not search the whole file, when
245 2002-01-29 Herbert Voss <voss@lyx.org>
247 * ControlGraphic.[C]: added a button for document path
248 when browsing -> bug 222
250 2002-01-27 Herbert Voss <voss@lyx.org>
252 * ControlGraphic.[Ch]: added support for Bounding Box, other
255 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
258 * ControlTexinfo.h: added #include "LString.h" where they belong.
260 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
263 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
265 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
267 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
270 2002-01-20 Herbert Voss <voss@perce.de>
272 * ControlInclude.[Ch]: better control of unexistings files
273 when entered without the browser
275 * ControlGraphic.C (Browse): add extension "ps" when browsing for
278 2002-01-19 Herbert Voss <voss@perce.de>
280 * biblio.C (getInfo): fix bug when no author is given
282 * biblio.C (parseBibTeX): change the parsing, so that
283 '#'-characters in a bibtex entry are no more a problem.
285 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
287 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
288 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
290 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
292 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
294 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
296 * ControlExternal.C (Browse): add a std:: qualifier
298 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
300 * ControlExternal.C (Browse): simplify to use browseRelFile
302 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
304 * ButtonController.tmpl: added // -*- C++ -*-
306 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
307 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
308 Needed in _one_ of the ControlCommand-derived classes only.
310 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
313 * ControlSearch.h: #include LString.h
315 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
317 * ButtonController.h: split into two. The definition remains in
318 ButtonController.h, the declaration is now in ButtonController.tmpl.
319 These template methods should be #included when the derived class is
320 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
321 and in the qt2 and gnome equivalents.
323 * ControlDialogs.h: removed. The definition of class ControlDialog is
324 now to be found in ControlDialog.h and the declaration of the methods
325 is in ControlDialog.tmpl. The two template instantiations are performed
326 in ControlDialog_impl.[Ch], new files also.
328 * ControlInset.h: split into two. The definition remains in
329 ControlInset.h, the declaration is now in ControlInset.tmpl.
330 These template methods should be #included derived class is
331 instantiated, in this case in 8 other .C files in this directory.
333 * ControlAboutlyx.[Ch]:
334 * ControlCharacter.[Ch]:
344 * ControlPreamble.[Ch]:
346 * ControlSearch.[Ch]:
347 * ControlShowFile.[Ch]:
348 * ControlSpellchecker.[Ch]:
349 * ControlTabularCreate.[Ch]:
350 * ControlTexinfo.[Ch]:
351 * ControlThesaurus.[Ch]:
352 * ControlVCLog.[Ch]: small changes associated with the above ones.
354 * GUI.h: #include the ButtonController and dialog controller files
355 here, rather than forward declare them. This is the correct place
358 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
359 Rename ControlDialogs.h as ControlDialog.h.
360 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
363 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
365 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
367 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
369 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
372 * ControlGraphics.C (Browse): remove overzealous shortcut
374 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
376 * FormMinipage.C (apply, update): MinipageParams::width renamed
377 as MinipageParams::pageWidth. InsetMinipage::width renamed
378 as InsetMinipage::pageWidth.
380 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * ButtonController.h (refreshReadOnly): use explicit typename
384 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
386 * helper_funcs.h (browseFile): add default empty button descriptions.
388 * ControlGraphics.C (Browse):
389 * ControlBibtex.C (Browse):
390 * ControlInclude.C (Browse): add shortcuts to directory buttons
392 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
394 * ControlThesaurus.h:
395 * ControlThesaurus.C: update to Aiksaurus 0.14
397 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
399 * ControlSpellchecker.C (clearParams): show the closing message
400 only if some words have been checked, thereby fixing
403 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
405 * ControlFloat.[Ch]: changes to prevent here definitely being used
408 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
410 * ControlThesaurus.h: do not include <config.h> in header files
412 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
414 * ControlToc.C: changes for floatlist
416 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
418 * ControlVCLog.C: use _()
420 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
422 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
425 2001-10-22 Juergen Vigna <jug@sad.it>
427 * ControlSpellchecker.C (clearParams): use the error_ message of the
428 speller_ if available when the spellchecker died.
429 (setParams): remove double error message display.
431 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
433 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
435 * helper_funcs.[Ch] (getLatexUnits): see above.
437 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
439 * ControlTexinfo.C (getContents): use the right file for .sty files
441 2001-10-10 Herbert Voss <voss@perce.de>
443 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
444 and some more stuff from FormTexinfo.C
446 * ControlShowFile.C: hiding the update-button
448 2001-10-09 Herbert Voss <voss@perce.de>
450 * ControlTexinfo.[Ch]: new files. Display information about the
451 installed texfiles (cls,sty,bst).
453 * ControlShowFile.[Ch]: new files. Display the contents of a file.
455 * GUI.h: added classes GUIShowFile and GUITexinfo.
457 * Makefile.am: modified appropriately.
459 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
461 * ControlAboutlyx.C (getVersion): use lyx_version and
462 lyx_release_date instead of old macros
464 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
466 * ControlSpellchecker.C (check): Behaves well now when the spell
467 library doesn't know a replacement to an incorrect word.
469 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
471 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
472 the correct place. Can now check spelling more than once!
474 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
476 * ControlSplash.[Ch]: removed.
478 * GUI.h: remove GUISplash class.
480 * ViewBase.h: remove ViewSplash class.
482 * Makefile.am: remove ControlSplash.[Ch].
484 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
486 * ControlButtons.h: add variable emergency_exit_. If set to true, the
487 view will be shut down.
490 * ControlInset.h: act on emergency_exit_.
492 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
493 speller fails to launch.
495 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
497 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
498 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
500 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlRef.h (disconnectOnApply): new method. Set to true.
503 Perhaps make this user-modifiable?
505 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
507 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
510 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
512 * ControlRef.C (getBufferList, getBufferNum): New methods
514 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
516 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
517 of the dialog when the Apply button is pressed. Defaults to false,
518 but can be overridden in the daughter classes.
520 * ControlCitation.h (disconnectOnApply): new method. Set to true.
521 Perhaps make this user-modifiable?
523 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
526 we have dialogs that update their contents when the buffer changes.
527 Rather embarassing, really!
529 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
531 * ControlSearch (replace): change semantics of replace to NOT move on
532 to the next instance of a word once the present instance has been
533 replaced unless we are replacing ALL instances of the word.
535 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
537 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
539 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
541 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
542 dialog, set all options to "reset", close the dialog, re-open it ->
543 the options are set incorrectly.
545 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
546 When Applying it's useful to know whether the dialog is about to close
547 or not (no point refreshing the display for example).
549 * ControlInset.C (apply): use isClosing.
551 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
554 * ControlDialogs.h: remove bc() hack, now fixed in
555 Qt2 frontend. use member dialog_built_ instead of shared
558 * ButtonController.h:
559 * ButtonPolicies.C: more debug info
561 * ButtonControllerBase.C: call refresh() when setting readOnly !
563 * GUI.h: External form has apply, use the right policy
565 * character.C: fix two off-by-one errors when latex font was removed
567 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
569 * ControlInset.h (apply): tentative fix for the press Apply multiple
570 times and get multiple new Insets problem.
572 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
574 * ControlCharacter.C: fix typo
578 * ControlInsets.C: make sure dialog is built before it is shown, so
579 it works properly the very first time it is shown
581 2001-08-20 Herbert Voss <voss@perce.de>
583 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
584 and styles. Added an option for "bibliography into toc"
586 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
588 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
589 LaTeX is no longer a font property.
591 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
593 * GUI.h: Button controller for Reference dialog changed to
594 NoRepeatedApplyReadOnlyPolicy.
596 * biblio.C (getInfo): output volume and number info. Move year to end
599 2001-08-09 Allan Rae <rae@lyx.org>
601 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
603 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
605 * helper_funcs.C (getVectorFromString): fixed small bug.
607 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
609 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
611 * ControlSpellchecker.C: check next word after insert in personal dict
613 2001-08-06 Juergen Vigna <jug@sad.it>
615 * ControlERT.[Ch]: new file
617 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
619 * ControlInset.h: const and non-const forms of params().
621 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
622 whitespace from either side of each item.
624 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlFloat.h: add a != operator for FloatParams.
627 Lars, how did you get this to compile!!!
629 * ControlMinipage.[Ch]: uncommented someone's commenting out of
630 operator != for MinipageParams. Who's changing stuff and not compiling?
632 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
634 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
637 * GUI.h: add class GUIFloat
639 * ControlFloat.[Ch]: new files
641 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
643 * ControlPrint.C: #include Lassert.h here.
645 2001-07-26 Baruch Even <baruch@lyx.org>
647 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
650 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
652 * ControlThesaurus.h:
653 * ControlThesaurus.C:
655 * Makefile.am: thesaurus support
657 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
660 * ControlInclude.C: implement ability to load file
662 2001-07-18 Juergen Vigna <jug@sad.it>
664 * ControlSearch.C (replace): changes to lyxfind.h function calls.
666 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
668 * biblio.C (getInfo): add a .c_str() to handle the usual
671 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
673 * ControlCitation.[Ch]: changes associated with adding natbib support.
674 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
675 New static variable citeStyles_.
677 * biblio.[Ch]: large internal rearrangement.
678 New public enum CiteStyle.
679 New public struct CitationStyle.
680 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
681 getNumericalStrings, getAuthorYearStrings
682 (simpleSearch, regexSearch): no longer publicly accessible.
684 * helper_funcs.C (getStringFromVector): bug fix.
686 2001-07-16 Baruch Even <baruch@lyx.org>
688 * ControlVCLog.h: Added Lsstream.h to includes.
690 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
692 * ControlSpellchecker.[Ch]: remove d-tor.
694 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
696 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
698 2001-07-16 Juergen Vigna <jug@sad.it>
700 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
701 compiled with USE_PSPELL) to be able to switch between ISpell and
704 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
706 Consistent use of Lsstream.h:
707 * ControlAboutlyx.[Ch] (getCredits):
708 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
710 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
712 * ControlCredits.[Ch]: removed
713 * ControlCopyright.[Ch]: removed
714 * ControlAboutlyx.[Ch]: added (replaces previous)
715 * GUI.h: removed credits and copyright added about lyx stuff
717 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
719 * ControlSpellchecker.C (getSuggestion):
720 (getWord): add std:: qualifier
722 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
724 * ControlSpellchecker.[Ch]: added
725 * ViewBase.h: added partialUpdate(int) member
726 * GUI.h: added spell stuff
728 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * ControlExternal.C: (*it). -> it->
732 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
734 * ButtonController.h: move some included header files out of the
735 frontends and into here.
737 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
739 * ControlCharacter.C (c-tor): cosmetic name change of signal.
741 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
743 * *.[h]: added // -*- C++ -*-
744 * *.[C]: removed // -*- C++ -*-
746 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
747 activate Apply button.
748 (clearParams): removed.
749 font_ is now stored as a boost::scoped_ptr.
750 font_ is no longer deleted on hide(), so it's contents can now be used
751 by the Font button on the toolbar.
752 Lots of new methods so that the GUI can easily get the contents of
753 font_ when it update()s.
755 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
757 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
758 crash when the Font button on the Toolbar is pressed.
760 * GUI.h: change policy of Character button controller to
761 OkApplyCancelReadOnlyPolicy.
763 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
765 * ControlToc.C (getContents): don't add anything to the list if it
766 is supposed to be empty.
768 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
770 * helper_funcs.C (getVectorFromString): bug fix.
772 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
775 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
776 from ButtonControllerBase::readOnly. Updates the state of the widgets
777 in the read-only list only when the read-only status of the document
779 (refresh): moved this stuff into refreshReadOnly.
781 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
783 * ControlPrint.C (c-tor):
784 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
786 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
789 * character.h: small clean-ups.
791 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
793 * ControlToc.C (getType): remove support for old float list.
795 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
797 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
798 * ControlGraphics.h: no longer include insetgraphicsParams.h
799 * ControlInset.h: no longer include LyXView.h
804 * ControlCharacter.C:
807 * ControlConnections.C:
808 * ControlCopyright.C:
820 * ControlTabularCreate.C:
822 * ControlVCLog.C: they're now in here!
824 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
826 * ButtonControllerBase.h: C++ mode, inherit privately from
828 * ButtonPolicies.h: ditto
830 * ButtonController.h: C++ mode, swap init order of restore_ and
833 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
835 * ControlTabularCreate.h:
836 * ControlTabularCreate.C: make dialogs use a pair of uints
840 * ControlVCLog.C: fill a stringstream with the log contents
843 * ControlExternal.C: from Angus, clone the new InsetExternal
846 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
848 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
849 and made more robust.
851 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * ControlCopyright.C: include gettext.h
862 * ControlCharacter.C:
863 * character.C: include gettext.h and language.h
865 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
867 * ButtonController.h:
868 * ButtonControllerBase.h:
869 * ButtonControllerBase.C:
876 * ControlConnections.h:
882 * ViewBase.h: s/ControlButton/ControlButtons/
884 s/UndoAll/Restore/ + associated
886 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
888 * ControlToc.[Ch]: new files; a controller for the TOC popup.
891 * Makefile.am: associated changes with all of the above.
893 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlExternal.C: bug fixes. Can now apply changes to the inset
896 and edit, view, update the External Material correctly. I hope!
898 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
900 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
902 * BCTemplates.h: renamed as ButtonController.h
904 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
907 * ControlConnections.h: associated change in #include and class names.
909 * ControlExternal.[Ch]: new files; a controller for the External
913 * Makefile.am: associated changes with all of the above.
915 * ControlGraphics.[Ch]:
916 * ControlInclude.[Ch]:
919 (Browse): new method. Returns the results of a FileDialog browse.
921 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
922 (getVectorFromString): fixed bug.
924 * biblio.C (simpleSearch): cleaned up.
926 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
928 * A slight reworking of Baruch Even's ButtonController patch.
930 * BCTemplates.h: new file; all the templates for the ButtonController.
931 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
932 to the more generic setButtonLabel().
934 * ButtonController.[Ch]: renamed cancel_label and close_label as
935 cancel_label_ and close_label_.
937 * Makefile.am: added BCTemplates.h
939 2001-03-29 Juergen Vigna <jug@sad.it>
941 * ControlMinipage.C: removed widthp_ and all it's functions and changed
942 to use new %-lengths of LyXLength.
944 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
946 * ControlCitation.C (bibkeysInfo): removed Assert.
948 * ControlCopyright.h: moved GUICopyright into GUI.h
952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
955 (setDaughterParams): a (by default empty) new method called in show().
964 * ControlUrl.h (clearDaughterParams): removed
966 * ControlMinipage.C (applyParamsToInset): update the view.
967 Added namespace minipage containing a helper function getUnits.
969 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
971 * ControlCharacter.[Ch]: moved out all the helper functions and the
972 enum into their own file.
973 * character.[Ch]: new files; contain the character helper functions,
974 now inside namespace character.
976 * ControlCitation.[Ch]: moved out all the helper functions and the
977 enums into their own file. Simplified interface.
978 * biblio.[Ch]: new files; contain the citation helper functions,
979 now inside namespace biblio. Will be of use also to an improved
982 * ControlGraphics.[Ch]:
983 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
984 popups, respectively.
987 * Makefile.am: associated changes.
989 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
991 * ControlMinipage.[Ch]:
992 * ControlPreamble.[Ch]:
994 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
995 and Print popups and Splash screen, respectively.
997 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1001 * Makefile.am: associated changes.
1003 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1005 * ControlConnections.[Ch]: (docType): new method; returns the type
1006 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1009 * ControlSearch.[Ch]:
1010 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1011 Search and TabularCreate popups, respectively.
1014 * Makefile.am: associated changes.
1016 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1018 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1021 * ControlInset.h (apply): fix bug. Can now create new insets again.
1023 * README: describe program flow.
1025 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1027 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1029 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1031 * ControlDialogs.h: moved class ControlInset into its own file.
1033 * ControlInset.h: new file. class ControlInset has been expanded to take
1034 two template parameters, Inset and Params. Believe that all inset
1035 controllers can be derived from this with the minimum of effort.
1037 * ControlBibitem.[Ch]:
1038 * ControlBibtex.[Ch]:
1039 * ControlCitation.[Ch]:
1040 * ControlCommand.[Ch]: moved most code into ControlInset.
1042 * lots of files. Moved protected stuff into private where possible.
1044 * ControlError.[Ch]:
1045 * ControlInclude.[Ch]:
1046 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1047 Include and Url popups, respectively.
1050 * Makefile.am: associated changes.
1052 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1054 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1057 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1059 * ControlCredits.C (getCredits): remove std:: qualifier for
1062 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1064 * ControlCredits.C (getCredits): add std:: on vector
1066 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1068 * ControlCredits.C: remove using that is only used once, use
1069 std::ios instead of std::iosbase, add some annoying comments.
1071 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1073 * lots of header files: improved explanatory notes.
1075 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1076 ControlBase is now a class that only controls the interaction of the
1077 View with the ButtonController.
1079 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1080 to ControlConnectBase. The class controls the connection/disconnection
1081 of signals from the LyX kernel and makes available the kernel (through
1082 lv_) to daughter controller classes.
1083 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1085 * ControlDialogs.h: new file. Contains the definition of two template
1086 controller classes, ControlDialog and ControlInset (was
1087 ControlConnectInset). ControlInset is a parent class for controllers
1088 of inset-popups. ControlDialogs is the rather uninspired name for
1089 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1090 ControlDialogs is reaching a state of maturity as several popups now use
1091 it and its functionality becomes clear. ControlInset is still in a state
1092 of flux. It is likely that functionality will be moved out of
1093 ControlCommands and into it.
1095 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1096 individual Controller header files and into one place. These classes
1097 serve only as convenient wrappers to simplify code in the respective
1098 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1100 * ControlCharacter.[Ch] (show, update, hide):
1101 * ControlLog.[Ch] (show, update, hide):
1102 * ControlVCLog.[Ch] (show, update, hide): moved back into
1103 the ControlDialogs base class.
1104 (setParams, clearParams): new methods containing controller-specific
1105 code to set/reset the parameters manipulated by the view.
1107 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1109 (hide): calls clearParams.
1111 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1112 by ControlCommand::hide().
1114 * ControlCopyright.[Ch]:
1115 * ControlCredits.[Ch]: new files; controllers for the copyright and
1116 credits popups, respectively.
1118 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1120 * ControlCharacter.C: fix typo
1122 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1124 * ControlCharacter.[Ch]: new files; controller for the character popup.
1126 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1127 moved to new files helper_funcs.[Ch].
1129 * helper_funcs.[Ch]: new files. Some useful helper functions and
1132 * Makefile.am: added new files.
1134 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1138 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1141 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1142 Control log files, respectively.
1144 * Makefile.am: added new files.
1146 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1148 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1150 * Makefile.am: added ControlBibtex.[Ch].
1152 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1155 * ControlCitation.C: added "using SigC::slot" declaration.
1157 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1158 to FormCitation.C prior to the merger: "Do not put space between
1161 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1163 * several files: remove CXX_WORKING_NAMESPACES
1165 * ButtonController.h: noncopyable is in namespace boost
1166 * ButtonPolicies.h: ditto
1168 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1170 * Merging changes from BRANCH_MVC back into HEAD.
1172 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1174 * Makefile.am: add ControlBibitem.[Ch].
1176 * ControlBibitem.[Ch]: new files that together define the Controller
1177 for a Bibitem popup.
1179 * ControlCommand.h (c-tor): give kb_action a default value of
1182 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1184 * ControlCitation.[Ch]: moved search functions out of class.
1185 (bibkeysInfo): new method. Returns const reference to private data.
1186 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1189 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1191 * ControlCitation.[Ch]: added Search functions to the class,
1192 (shamelessly lifted from Marco's gnome code). I think that these would
1193 be better as helper functions outside the class, but this is a first
1196 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1198 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1200 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1201 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1202 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1203 implementation of FormCitation.
1205 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1207 * ButtonPolicies.h: add SMI_NOOP to enum.
1209 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1211 * ButtonController.C (input): add "optimising" if-statement. Actually,
1212 things don't work correctly without it...
1214 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1216 * ViewBase.h: remove #pragma directive
1218 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1221 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1223 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1225 * Makefile.am: added ButtonPolicies.[Ch]
1227 * ButtonController.[Ch]: ButtonController is split into
1228 ButtonControllerBase and a template ButtonController class. The base
1229 class no longer stores a pointer to a ButtonPolicy, but instead
1230 accesses the actual instantiation of the policy through a pure virtual
1231 method bp(). This method and the ButtonPolicy itself are instantiated
1232 in the templatised ButtonController class. This class is derived from
1233 the GUI-specific GUIBC class, meaning that the frontends know
1234 nothing about the actual policy decided upon by the controllers.
1236 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1237 Instead the actual instantiations are accessed through pure virtual
1238 methods view() and bc(). The daughter classes are responsible for the
1239 actual View and ButtonController.
1241 * ControlCitation.h: the templatised class GUICitation instantiates
1242 the methods view() and bc(). It also stores the instances of the
1243 View and ButtonController.
1245 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1247 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1248 also changed to ButtonController.
1251 * ControlConnections.[Ch]:
1252 * ControlCommand.[Ch]:
1253 * ControlCitation.[Ch]:
1254 * ViewBase.h: Changes associated with this.
1256 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1258 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1259 xforms/ButtonController class into a GUI-I class (here) and an
1260 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1262 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1263 from which all Dialog Controllers should be derived. the Controllers
1264 are GUI-independent, but are designed to control the behaviour of
1265 GUI-specific implementaions of each dialog.
1267 * ControlConnections.[Ch]: new files. Classes controlling the
1268 connections of buffer-independent, buffer-dependent and Inset dialogs
1269 with the LyX kernel.
1271 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1272 InsetCommand subset of insets.
1274 * ControlCitation.[Ch]: new files. The test specialisation! A
1275 controller for the Citation dialog.
1277 * ViewBase.h: new file. ViewBase is an abstract base class from which
1278 GUI-specific dialogs should be derived. The functionality that the GUIs
1279 must now implement is much reduced.