1 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
3 * character.[Ch]: rename namespace character as namespace frnt.
5 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
6 as several dialogs will use this info. The function now returns a
7 vector<LanguagePair> where LanguagePair is a display string and an
8 identifying string. The display string is internationalised.
10 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
11 the identifying strings, "No change" and "Reset".
13 * Makefile.am: add frnt_lang.[Ch].
15 2002-04-25 Herbert Voss <voss@lyx.org>
17 * ControlSendto.C (allFormats): don't add the graphics extensions to the
20 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
22 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
23 BibTeX databases in a WYSIWYM way.
25 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
27 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
28 way past his use-by date.
29 Make use of the improved info from Buffer::getBibkeyList when using
30 \bibliography. Enables us to provide natbib support in this case too.
32 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
34 * ControlGraphics.C: pass the browseFile dialog a string of only those
35 formats that can currently be loaded by LyX.
37 2002-04-15 Herbert Voss <voss@perce.de>
39 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
40 with something like ,,...blah...`` (two commas)
42 2002-04-14 Herbert Voss <voss@perce.de>
44 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
45 into the support/lstrings for better use in other programs.
47 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
48 namespace anon and make globally accessible.
49 (familyName): test for the presence of a LaTeX Space at the front of
50 of a name; strip it if it exists.
52 2002-04-11 Herbert Voss <voss@perce.de>
54 * ControlGraphics.C: expand "browse-string" to all available formats
56 2002-04-11 Herbert Voss <voss@perce.de>
58 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
60 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
62 * ControlAboutlyx.C (getVersion): two _() forgotten
64 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
68 * ControlBibtex.C: make N_() be _()
70 2002-04-07 Herbert Voss <voss@perce.de>
72 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
74 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
76 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
77 used when reading the BB.
79 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
81 * ControlGraphics.C (readBB): Don't open the ifstrem and then
82 check the format from the contents (and open a second ifstream in the
83 process. One at a time please.
85 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
87 * ControlRef.C (getBufferNum): squash warning message.
89 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
91 * ControlBibtex.C (Browse):
92 * ControlGraphics.C (Browse):
93 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
95 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
97 * ControlGraphics.C (applyParamsToInset): pass filepath to
98 InsetGraphics::updateInset.
100 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
102 * most files: ws cleanup
104 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
106 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
109 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
112 * ControlInclude.C: better error messages
114 2002-03-11 Herbert Voss <voss@lyx.org>
116 * biblio.C (parseBibTeX): fix another minibug with an
119 2002-03-10 Herbert Voss <voss@lyx.org>
121 * biblio.C (parseBibTeX): fix bug
122 (familyName): improve parsing
124 2002-03-09 Herbert Voss <voss@lyx.org>
126 * ControlGraphics.[Ch]: adding checkFilename() for testing
127 of non-existing files
129 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
131 * ControlSendto.C (allFormats): fix a iterators are not pointers
134 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
136 * ControlShowFile.h: add a #include "LString.h"
138 2002-03-05 Herbert Voss <voss@lyx.org>
140 * biblio.C (getInfo): simplify if using paragraph layout
143 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
145 * biblio.C (getInfo): return the info field correctly if the key
147 (parseBibTeX): fix crash when data.find('=') returns string::npos.
149 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
151 * ControlForks.[Ch]: new files. A controller for the Forked Child
152 processes dialog, enabling the user to see what forked processes
153 are running, and, if he so desires, to kill them.
155 * GUI.h: add class GUIForks.
157 * Makefile.am: add ControlForks.[Ch].
159 * ControlGraphics.C (getParams): small change due to change in
162 2002-02-21 Herbert Voss <voss@lyx.org>
164 * biblio.C: fix bug with commentlines in a bibentry
166 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
168 * Makefile.am: simpler obj. file compile
170 2002-02-18 Herbert Voss <voss@lyx.org>
172 * ControlGraphics.[Ch]: remove help-file call
174 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
176 * helper_funcs.h: wrap the structs firster and seconder up in a
177 namespace to avoid clashes with those in lyxalgo,h.
179 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
180 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
182 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
184 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
187 change Systemcalls::System to Systemcalls::Wait and
188 No change of functionality, just reflects the stripped down Systemcalls
191 2002-02-06 Herbert Voss <voss@lyx.org>
193 * ControlGraphics.[C] (readBB): search also in
194 g'zipped files. If it is useful than PK and compress
195 should also be supported. use unzipFile() from
198 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
200 * ControlRef.C (getBufferName): new method to get a real buffer
203 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
205 * ControlTexInfo.[Ch]: Removed Help functions.
207 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
209 * ControlSpellchecker.C: clear any selection left
212 2002-02-01 Herbert Voss <voss@lyx.org>
214 * ControlGraphics.[C] (readBB): search only, if it is a
215 ".?ps" file and look for bb's at end of file
217 2002-01-30 Herbert Voss <voss@lyx.org>
219 * ControlGraphic.[C]: do not search the whole file, when
222 2002-01-29 Herbert Voss <voss@lyx.org>
224 * ControlGraphic.[C]: added a button for document path
225 when browsing -> bug 222
227 2002-01-27 Herbert Voss <voss@lyx.org>
229 * ControlGraphic.[Ch]: added support for Bounding Box, other
232 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
235 * ControlTexinfo.h: added #include "LString.h" where they belong.
237 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
240 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
242 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
244 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
247 2002-01-20 Herbert Voss <voss@perce.de>
249 * ControlInclude.[Ch]: better control of unexistings files
250 when entered without the browser
252 * ControlGraphic.C (Browse): add extension "ps" when browsing for
255 2002-01-19 Herbert Voss <voss@perce.de>
257 * biblio.C (getInfo): fix bug when no author is given
259 * biblio.C (parseBibTeX): change the parsing, so that
260 '#'-characters in a bibtex entry are no more a problem.
262 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
264 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
265 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
267 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
269 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
271 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
273 * ControlExternal.C (Browse): add a std:: qualifier
275 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
277 * ControlExternal.C (Browse): simplify to use browseRelFile
279 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
281 * ButtonController.tmpl: added // -*- C++ -*-
283 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
284 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
285 Needed in _one_ of the ControlCommand-derived classes only.
287 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
290 * ControlSearch.h: #include LString.h
292 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
294 * ButtonController.h: split into two. The definition remains in
295 ButtonController.h, the declaration is now in ButtonController.tmpl.
296 These template methods should be #included when the derived class is
297 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
298 and in the qt2 and gnome equivalents.
300 * ControlDialogs.h: removed. The definition of class ControlDialog is
301 now to be found in ControlDialog.h and the declaration of the methods
302 is in ControlDialog.tmpl. The two template instantiations are performed
303 in ControlDialog_impl.[Ch], new files also.
305 * ControlInset.h: split into two. The definition remains in
306 ControlInset.h, the declaration is now in ControlInset.tmpl.
307 These template methods should be #included derived class is
308 instantiated, in this case in 8 other .C files in this directory.
310 * ControlAboutlyx.[Ch]:
311 * ControlCharacter.[Ch]:
321 * ControlPreamble.[Ch]:
323 * ControlSearch.[Ch]:
324 * ControlShowFile.[Ch]:
325 * ControlSpellchecker.[Ch]:
326 * ControlTabularCreate.[Ch]:
327 * ControlTexinfo.[Ch]:
328 * ControlThesaurus.[Ch]:
329 * ControlVCLog.[Ch]: small changes associated with the above ones.
331 * GUI.h: #include the ButtonController and dialog controller files
332 here, rather than forward declare them. This is the correct place
335 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
336 Rename ControlDialogs.h as ControlDialog.h.
337 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
340 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
342 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
344 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
346 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
349 * ControlGraphics.C (Browse): remove overzealous shortcut
351 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
353 * FormMinipage.C (apply, update): MinipageParams::width renamed
354 as MinipageParams::pageWidth. InsetMinipage::width renamed
355 as InsetMinipage::pageWidth.
357 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
359 * ButtonController.h (refreshReadOnly): use explicit typename
361 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
363 * helper_funcs.h (browseFile): add default empty button descriptions.
365 * ControlGraphics.C (Browse):
366 * ControlBibtex.C (Browse):
367 * ControlInclude.C (Browse): add shortcuts to directory buttons
369 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
371 * ControlThesaurus.h:
372 * ControlThesaurus.C: update to Aiksaurus 0.14
374 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
376 * ControlSpellchecker.C (clearParams): show the closing message
377 only if some words have been checked, thereby fixing
380 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
382 * ControlFloat.[Ch]: changes to prevent here definitely being used
385 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
387 * ControlThesaurus.h: do not include <config.h> in header files
389 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
391 * ControlToc.C: changes for floatlist
393 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
395 * ControlVCLog.C: use _()
397 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
402 2001-10-22 Juergen Vigna <jug@sad.it>
404 * ControlSpellchecker.C (clearParams): use the error_ message of the
405 speller_ if available when the spellchecker died.
406 (setParams): remove double error message display.
408 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
410 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
412 * helper_funcs.[Ch] (getLatexUnits): see above.
414 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
416 * ControlTexinfo.C (getContents): use the right file for .sty files
418 2001-10-10 Herbert Voss <voss@perce.de>
420 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
421 and some more stuff from FormTexinfo.C
423 * ControlShowFile.C: hiding the update-button
425 2001-10-09 Herbert Voss <voss@perce.de>
427 * ControlTexinfo.[Ch]: new files. Display information about the
428 installed texfiles (cls,sty,bst).
430 * ControlShowFile.[Ch]: new files. Display the contents of a file.
432 * GUI.h: added classes GUIShowFile and GUITexinfo.
434 * Makefile.am: modified appropriately.
436 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * ControlAboutlyx.C (getVersion): use lyx_version and
439 lyx_release_date instead of old macros
441 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
443 * ControlSpellchecker.C (check): Behaves well now when the spell
444 library doesn't know a replacement to an incorrect word.
446 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
448 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
449 the correct place. Can now check spelling more than once!
451 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
453 * ControlSplash.[Ch]: removed.
455 * GUI.h: remove GUISplash class.
457 * ViewBase.h: remove ViewSplash class.
459 * Makefile.am: remove ControlSplash.[Ch].
461 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
463 * ControlButtons.h: add variable emergency_exit_. If set to true, the
464 view will be shut down.
467 * ControlInset.h: act on emergency_exit_.
469 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
470 speller fails to launch.
472 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
474 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
475 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
477 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
479 * ControlRef.h (disconnectOnApply): new method. Set to true.
480 Perhaps make this user-modifiable?
482 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
484 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
487 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
489 * ControlRef.C (getBufferList, getBufferNum): New methods
491 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
493 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
494 of the dialog when the Apply button is pressed. Defaults to false,
495 but can be overridden in the daughter classes.
497 * ControlCitation.h (disconnectOnApply): new method. Set to true.
498 Perhaps make this user-modifiable?
500 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
502 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
503 we have dialogs that update their contents when the buffer changes.
504 Rather embarassing, really!
506 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
508 * ControlSearch (replace): change semantics of replace to NOT move on
509 to the next instance of a word once the present instance has been
510 replaced unless we are replacing ALL instances of the word.
512 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
514 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
516 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
518 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
519 dialog, set all options to "reset", close the dialog, re-open it ->
520 the options are set incorrectly.
522 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
523 When Applying it's useful to know whether the dialog is about to close
524 or not (no point refreshing the display for example).
526 * ControlInset.C (apply): use isClosing.
528 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
531 * ControlDialogs.h: remove bc() hack, now fixed in
532 Qt2 frontend. use member dialog_built_ instead of shared
535 * ButtonController.h:
536 * ButtonPolicies.C: more debug info
538 * ButtonControllerBase.C: call refresh() when setting readOnly !
540 * GUI.h: External form has apply, use the right policy
542 * character.C: fix two off-by-one errors when latex font was removed
544 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
546 * ControlInset.h (apply): tentative fix for the press Apply multiple
547 times and get multiple new Insets problem.
549 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
551 * ControlCharacter.C: fix typo
555 * ControlInsets.C: make sure dialog is built before it is shown, so
556 it works properly the very first time it is shown
558 2001-08-20 Herbert Voss <voss@perce.de>
560 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
561 and styles. Added an option for "bibliography into toc"
563 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
565 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
566 LaTeX is no longer a font property.
568 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
570 * GUI.h: Button controller for Reference dialog changed to
571 NoRepeatedApplyReadOnlyPolicy.
573 * biblio.C (getInfo): output volume and number info. Move year to end
576 2001-08-09 Allan Rae <rae@lyx.org>
578 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
580 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
582 * helper_funcs.C (getVectorFromString): fixed small bug.
584 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
586 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
588 * ControlSpellchecker.C: check next word after insert in personal dict
590 2001-08-06 Juergen Vigna <jug@sad.it>
592 * ControlERT.[Ch]: new file
594 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
596 * ControlInset.h: const and non-const forms of params().
598 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
599 whitespace from either side of each item.
601 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
603 * ControlFloat.h: add a != operator for FloatParams.
604 Lars, how did you get this to compile!!!
606 * ControlMinipage.[Ch]: uncommented someone's commenting out of
607 operator != for MinipageParams. Who's changing stuff and not compiling?
609 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
614 * GUI.h: add class GUIFloat
616 * ControlFloat.[Ch]: new files
618 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * ControlPrint.C: #include Lassert.h here.
622 2001-07-26 Baruch Even <baruch@lyx.org>
624 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
627 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
629 * ControlThesaurus.h:
630 * ControlThesaurus.C:
632 * Makefile.am: thesaurus support
634 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
637 * ControlInclude.C: implement ability to load file
639 2001-07-18 Juergen Vigna <jug@sad.it>
641 * ControlSearch.C (replace): changes to lyxfind.h function calls.
643 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
645 * biblio.C (getInfo): add a .c_str() to handle the usual
648 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
650 * ControlCitation.[Ch]: changes associated with adding natbib support.
651 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
652 New static variable citeStyles_.
654 * biblio.[Ch]: large internal rearrangement.
655 New public enum CiteStyle.
656 New public struct CitationStyle.
657 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
658 getNumericalStrings, getAuthorYearStrings
659 (simpleSearch, regexSearch): no longer publicly accessible.
661 * helper_funcs.C (getStringFromVector): bug fix.
663 2001-07-16 Baruch Even <baruch@lyx.org>
665 * ControlVCLog.h: Added Lsstream.h to includes.
667 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
669 * ControlSpellchecker.[Ch]: remove d-tor.
671 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
673 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
675 2001-07-16 Juergen Vigna <jug@sad.it>
677 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
678 compiled with USE_PSPELL) to be able to switch between ISpell and
681 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
683 Consistent use of Lsstream.h:
684 * ControlAboutlyx.[Ch] (getCredits):
685 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
687 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
689 * ControlCredits.[Ch]: removed
690 * ControlCopyright.[Ch]: removed
691 * ControlAboutlyx.[Ch]: added (replaces previous)
692 * GUI.h: removed credits and copyright added about lyx stuff
694 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
696 * ControlSpellchecker.C (getSuggestion):
697 (getWord): add std:: qualifier
699 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
701 * ControlSpellchecker.[Ch]: added
702 * ViewBase.h: added partialUpdate(int) member
703 * GUI.h: added spell stuff
705 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
707 * ControlExternal.C: (*it). -> it->
709 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
711 * ButtonController.h: move some included header files out of the
712 frontends and into here.
714 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
716 * ControlCharacter.C (c-tor): cosmetic name change of signal.
718 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
720 * *.[h]: added // -*- C++ -*-
721 * *.[C]: removed // -*- C++ -*-
723 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
724 activate Apply button.
725 (clearParams): removed.
726 font_ is now stored as a boost::scoped_ptr.
727 font_ is no longer deleted on hide(), so it's contents can now be used
728 by the Font button on the toolbar.
729 Lots of new methods so that the GUI can easily get the contents of
730 font_ when it update()s.
732 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
734 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
735 crash when the Font button on the Toolbar is pressed.
737 * GUI.h: change policy of Character button controller to
738 OkApplyCancelReadOnlyPolicy.
740 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
742 * ControlToc.C (getContents): don't add anything to the list if it
743 is supposed to be empty.
745 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
747 * helper_funcs.C (getVectorFromString): bug fix.
749 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
752 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
753 from ButtonControllerBase::readOnly. Updates the state of the widgets
754 in the read-only list only when the read-only status of the document
756 (refresh): moved this stuff into refreshReadOnly.
758 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
760 * ControlPrint.C (c-tor):
761 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
763 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
766 * character.h: small clean-ups.
768 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
770 * ControlToc.C (getType): remove support for old float list.
772 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
775 * ControlGraphics.h: no longer include insetgraphicsParams.h
776 * ControlInset.h: no longer include LyXView.h
781 * ControlCharacter.C:
784 * ControlConnections.C:
785 * ControlCopyright.C:
797 * ControlTabularCreate.C:
799 * ControlVCLog.C: they're now in here!
801 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
803 * ButtonControllerBase.h: C++ mode, inherit privately from
805 * ButtonPolicies.h: ditto
807 * ButtonController.h: C++ mode, swap init order of restore_ and
810 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
812 * ControlTabularCreate.h:
813 * ControlTabularCreate.C: make dialogs use a pair of uints
817 * ControlVCLog.C: fill a stringstream with the log contents
820 * ControlExternal.C: from Angus, clone the new InsetExternal
823 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
825 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
826 and made more robust.
828 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
837 * ControlCopyright.C: include gettext.h
839 * ControlCharacter.C:
840 * character.C: include gettext.h and language.h
842 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
844 * ButtonController.h:
845 * ButtonControllerBase.h:
846 * ButtonControllerBase.C:
853 * ControlConnections.h:
859 * ViewBase.h: s/ControlButton/ControlButtons/
861 s/UndoAll/Restore/ + associated
863 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
865 * ControlToc.[Ch]: new files; a controller for the TOC popup.
868 * Makefile.am: associated changes with all of the above.
870 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
872 * ControlExternal.C: bug fixes. Can now apply changes to the inset
873 and edit, view, update the External Material correctly. I hope!
875 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
877 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
879 * BCTemplates.h: renamed as ButtonController.h
881 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
884 * ControlConnections.h: associated change in #include and class names.
886 * ControlExternal.[Ch]: new files; a controller for the External
890 * Makefile.am: associated changes with all of the above.
892 * ControlGraphics.[Ch]:
893 * ControlInclude.[Ch]:
896 (Browse): new method. Returns the results of a FileDialog browse.
898 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
899 (getVectorFromString): fixed bug.
901 * biblio.C (simpleSearch): cleaned up.
903 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
905 * A slight reworking of Baruch Even's ButtonController patch.
907 * BCTemplates.h: new file; all the templates for the ButtonController.
908 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
909 to the more generic setButtonLabel().
911 * ButtonController.[Ch]: renamed cancel_label and close_label as
912 cancel_label_ and close_label_.
914 * Makefile.am: added BCTemplates.h
916 2001-03-29 Juergen Vigna <jug@sad.it>
918 * ControlMinipage.C: removed widthp_ and all it's functions and changed
919 to use new %-lengths of LyXLength.
921 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
923 * ControlCitation.C (bibkeysInfo): removed Assert.
925 * ControlCopyright.h: moved GUICopyright into GUI.h
929 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
931 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
932 (setDaughterParams): a (by default empty) new method called in show().
941 * ControlUrl.h (clearDaughterParams): removed
943 * ControlMinipage.C (applyParamsToInset): update the view.
944 Added namespace minipage containing a helper function getUnits.
946 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
948 * ControlCharacter.[Ch]: moved out all the helper functions and the
949 enum into their own file.
950 * character.[Ch]: new files; contain the character helper functions,
951 now inside namespace character.
953 * ControlCitation.[Ch]: moved out all the helper functions and the
954 enums into their own file. Simplified interface.
955 * biblio.[Ch]: new files; contain the citation helper functions,
956 now inside namespace biblio. Will be of use also to an improved
959 * ControlGraphics.[Ch]:
960 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
961 popups, respectively.
964 * Makefile.am: associated changes.
966 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
968 * ControlMinipage.[Ch]:
969 * ControlPreamble.[Ch]:
971 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
972 and Print popups and Splash screen, respectively.
974 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
978 * Makefile.am: associated changes.
980 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
982 * ControlConnections.[Ch]: (docType): new method; returns the type
983 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
986 * ControlSearch.[Ch]:
987 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
988 Search and TabularCreate popups, respectively.
991 * Makefile.am: associated changes.
993 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
995 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
998 * ControlInset.h (apply): fix bug. Can now create new insets again.
1000 * README: describe program flow.
1002 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1004 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1006 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1008 * ControlDialogs.h: moved class ControlInset into its own file.
1010 * ControlInset.h: new file. class ControlInset has been expanded to take
1011 two template parameters, Inset and Params. Believe that all inset
1012 controllers can be derived from this with the minimum of effort.
1014 * ControlBibitem.[Ch]:
1015 * ControlBibtex.[Ch]:
1016 * ControlCitation.[Ch]:
1017 * ControlCommand.[Ch]: moved most code into ControlInset.
1019 * lots of files. Moved protected stuff into private where possible.
1021 * ControlError.[Ch]:
1022 * ControlInclude.[Ch]:
1023 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1024 Include and Url popups, respectively.
1027 * Makefile.am: associated changes.
1029 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1031 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1034 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1036 * ControlCredits.C (getCredits): remove std:: qualifier for
1039 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1041 * ControlCredits.C (getCredits): add std:: on vector
1043 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1045 * ControlCredits.C: remove using that is only used once, use
1046 std::ios instead of std::iosbase, add some annoying comments.
1048 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1050 * lots of header files: improved explanatory notes.
1052 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1053 ControlBase is now a class that only controls the interaction of the
1054 View with the ButtonController.
1056 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1057 to ControlConnectBase. The class controls the connection/disconnection
1058 of signals from the LyX kernel and makes available the kernel (through
1059 lv_) to daughter controller classes.
1060 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1062 * ControlDialogs.h: new file. Contains the definition of two template
1063 controller classes, ControlDialog and ControlInset (was
1064 ControlConnectInset). ControlInset is a parent class for controllers
1065 of inset-popups. ControlDialogs is the rather uninspired name for
1066 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1067 ControlDialogs is reaching a state of maturity as several popups now use
1068 it and its functionality becomes clear. ControlInset is still in a state
1069 of flux. It is likely that functionality will be moved out of
1070 ControlCommands and into it.
1072 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1073 individual Controller header files and into one place. These classes
1074 serve only as convenient wrappers to simplify code in the respective
1075 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1077 * ControlCharacter.[Ch] (show, update, hide):
1078 * ControlLog.[Ch] (show, update, hide):
1079 * ControlVCLog.[Ch] (show, update, hide): moved back into
1080 the ControlDialogs base class.
1081 (setParams, clearParams): new methods containing controller-specific
1082 code to set/reset the parameters manipulated by the view.
1084 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1086 (hide): calls clearParams.
1088 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1089 by ControlCommand::hide().
1091 * ControlCopyright.[Ch]:
1092 * ControlCredits.[Ch]: new files; controllers for the copyright and
1093 credits popups, respectively.
1095 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1097 * ControlCharacter.C: fix typo
1099 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1101 * ControlCharacter.[Ch]: new files; controller for the character popup.
1103 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1104 moved to new files helper_funcs.[Ch].
1106 * helper_funcs.[Ch]: new files. Some useful helper functions and
1109 * Makefile.am: added new files.
1111 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1115 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1118 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1119 Control log files, respectively.
1121 * Makefile.am: added new files.
1123 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1125 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1127 * Makefile.am: added ControlBibtex.[Ch].
1129 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1132 * ControlCitation.C: added "using SigC::slot" declaration.
1134 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1135 to FormCitation.C prior to the merger: "Do not put space between
1138 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1140 * several files: remove CXX_WORKING_NAMESPACES
1142 * ButtonController.h: noncopyable is in namespace boost
1143 * ButtonPolicies.h: ditto
1145 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1147 * Merging changes from BRANCH_MVC back into HEAD.
1149 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1151 * Makefile.am: add ControlBibitem.[Ch].
1153 * ControlBibitem.[Ch]: new files that together define the Controller
1154 for a Bibitem popup.
1156 * ControlCommand.h (c-tor): give kb_action a default value of
1159 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1161 * ControlCitation.[Ch]: moved search functions out of class.
1162 (bibkeysInfo): new method. Returns const reference to private data.
1163 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1166 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlCitation.[Ch]: added Search functions to the class,
1169 (shamelessly lifted from Marco's gnome code). I think that these would
1170 be better as helper functions outside the class, but this is a first
1173 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1175 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1177 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1178 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1179 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1180 implementation of FormCitation.
1182 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1184 * ButtonPolicies.h: add SMI_NOOP to enum.
1186 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1188 * ButtonController.C (input): add "optimising" if-statement. Actually,
1189 things don't work correctly without it...
1191 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1193 * ViewBase.h: remove #pragma directive
1195 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1198 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1200 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1202 * Makefile.am: added ButtonPolicies.[Ch]
1204 * ButtonController.[Ch]: ButtonController is split into
1205 ButtonControllerBase and a template ButtonController class. The base
1206 class no longer stores a pointer to a ButtonPolicy, but instead
1207 accesses the actual instantiation of the policy through a pure virtual
1208 method bp(). This method and the ButtonPolicy itself are instantiated
1209 in the templatised ButtonController class. This class is derived from
1210 the GUI-specific GUIBC class, meaning that the frontends know
1211 nothing about the actual policy decided upon by the controllers.
1213 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1214 Instead the actual instantiations are accessed through pure virtual
1215 methods view() and bc(). The daughter classes are responsible for the
1216 actual View and ButtonController.
1218 * ControlCitation.h: the templatised class GUICitation instantiates
1219 the methods view() and bc(). It also stores the instances of the
1220 View and ButtonController.
1222 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1224 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1225 also changed to ButtonController.
1228 * ControlConnections.[Ch]:
1229 * ControlCommand.[Ch]:
1230 * ControlCitation.[Ch]:
1231 * ViewBase.h: Changes associated with this.
1233 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1235 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1236 xforms/ButtonController class into a GUI-I class (here) and an
1237 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1239 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1240 from which all Dialog Controllers should be derived. the Controllers
1241 are GUI-independent, but are designed to control the behaviour of
1242 GUI-specific implementaions of each dialog.
1244 * ControlConnections.[Ch]: new files. Classes controlling the
1245 connections of buffer-independent, buffer-dependent and Inset dialogs
1246 with the LyX kernel.
1248 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1249 InsetCommand subset of insets.
1251 * ControlCitation.[Ch]: new files. The test specialisation! A
1252 controller for the Citation dialog.
1254 * ViewBase.h: new file. ViewBase is an abstract base class from which
1255 GUI-specific dialogs should be derived. The functionality that the GUIs
1256 must now implement is much reduced.