2 2003-08-04 André Pönitz <poenitz@gmx.net>
5 * ControlSpellchecker.C: simpler BufferView::update() calls
7 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
9 * ControlNote.[Ch]: add i18n support.
11 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * ControlToc.C (goTo): adjust for lyx::toc
17 * ControlThesaurus.C (replace): adjust for lyx::find
19 * ControlSearch.C (find): adjust for lyx::find
22 * ControlChanges.C (find): adjust for lyx::find
26 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * ControlTabular.C (useMetricUnits): adapt PAPER_* enums
30 2003-07-23 Angus Leeming <leeming@lyx.org>
32 * ControlExternal.C: pass a Buffer const & rather than a Buffer const *
33 to the mailer's string2params, params2string functions.
35 * ControlGraphics.C pass a Buffer const & rather than a string const &
36 buffer_path to the mailer's string2params, params2string functions.
38 2003-07-23 Angus Leeming <leeming@lyx.org>
40 * Kernel.[Ch] (bufferFilepath): new wrapper for Buffer::filePath.
44 * ControlGraphics.C: use it.
46 2003-07-21 Angus Leeming <leeming@lyx.org>
48 * ControlGraphics.C (initialiseParams, dispatchParams): no need
49 to modify the filename for reasons of 'good UI' anymore.
51 2003-07-21 Angus Leeming <leeming@lyx.org>
53 * ControlGraphics.C (initialiseParams, dispatchParams): pass a
54 buffer_path parameter to InsetGraphicsMailer's string2params,
57 2003-07-21 Angus Leeming <leeming@lyx.org>
59 * ControlGraphics.C (readBB): use namespace lyx::graphics rather
62 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * ControlGraphics.C (dispatchParams): avoid some variable/function
67 * ControlDialog.tmpl (show): follow C++ rules more closely
71 2003-07-17 Angus Leeming <leeming@lyx.org>
80 * Dialog.h: fix some doxygen warnings.
82 * Dialog.C: shuffle a couple of functions around.
84 2003-07-16 Angus Leeming <leeming@lyx.org>
86 * ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
88 2003-07-16 Angus Leeming <leeming@lyx.org>
90 Dialog.[Ch]: move a few methods out of line.
93 Kernel.h: improve doxygen documentation.
95 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * introduce namespace lyx::support
99 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * Kernel.h: fix some \class issues
103 * Kernel.C: fix \file
105 * Dialog.h: fix some \class issues
107 * ControlErrorList.h: correct const type order, remove some
108 ControlErrorList:: from declarations.
110 * BCView.h: fix usage of \class to \c
111 * ControlAboutlyx.h: ditto
112 * ButtonController.h: ditto + remove misplaced end doxy group tag
114 2003-06-24 Alfredo Braunstein <abraunst@libero.it>
116 * ControlDocument.C (classApply): removed the call to resetErrorList,
117 replaced setErrorList by parseErrors
119 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
121 * ControlError.[Ch]: removed
122 * Makefile.am: adjust
124 2003-06-20 Angus Leeming <leeming@lyx.org>
126 * tex_helpers.[Ch] (getTexFileList): changed to
127 void getTexFileList(string const & file, vector<string> & contents);
129 * ControlBibtex.[Ch] (getBibFiles, getBibStyles): now passed a
130 vector<string> to fill rather than returning a string.
132 * ControlTexinfo.[Ch] (rescanStyles, runTexhash): removed. No need
133 for an extra layer of indirection.
134 (getContents): moved out of class to getTexFileList.
136 2003-06-19 Angus Leeming <leeming@lyx.org>
138 * ControlTexinfo.[Ch]: rewritten to use the Dialog-based scheme.
140 2003-06-17 Angus Leeming <leeming@lyx.org>
143 * ControlMath2.[Ch]: rename ControlMath2 as ControlMath.
144 Move into ControlMath.[Ch]. Remove ControlMath2.[Ch].
146 * Makefile.am: remove ControlMath2.[Ch].
148 2003-06-17 Angus Leeming <leeming@lyx.org>
150 * ControlMath.[Ch] (showDialog):
151 * ControlMath2.[Ch] (showDialog, dispatchFunc): new member functions.
153 * ControlMath2.C: wrap all other calls to the kernel diapatcher into
156 2003-06-12 Angus Leeming <leeming@lyx.org>
158 * ControlMath2.[Ch]: new files. A work in progress towards a clean
159 implementation of the math panel.
161 * Makefile.am: add files.
163 2003-06-11 Angus Leeming <leeming@lyx.org>
165 * ControlExternal.[Ch]: changes due to InsetExternal::Params no longer
166 storing the ExternalTemplate but its name.
168 2003-06-10 Angus Leeming <leeming@lyx.org>
170 * ControlExternal.C (editExternal): invokes new LFUN_EXTERNAL_EDIT
171 rather than generate a new inset itself.
173 2003-06-06 John Levon <levon@movementarian.org>
175 * ControlDocument.C: make sure a language change
176 always gets propogated
178 2003-06-03 Angus Leeming <leeming@lyx.org>
180 * ControlExternal.[Ch]: remove viewExternal and updateExternal.
181 Change the internal store from an InsetExternal to its Param struct.
183 2003-06-03 John Levon <levon@movementarian.org>
185 * ControlGraphics.C: make file path relative for the GUI,
186 absolute for the backend
188 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
190 * ControlDocument.C (saveAsDefault): adjust
192 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
195 * Dialog.h (setTitle): added
197 2003-05-20 Alfredo Braunstein <abraunst@libero.it>
199 * ControlErrorList.[Ch]: small bugs fixed, use ErrorList
201 2003-05-13 André Pönitz <poenitz@gmx.net>
203 * ControlForks.[Ch]: use vector<pid_t> instead of strings
205 2003-05-14 Rob Lahaye <lahaye@users.sourceforge.net>
207 * ControlErrorList.C (clearParams): replace string::clear by
210 2003-05-14 Lars Gullik Bjønnes <larsbj@gullik.net>
212 * ControlErrorList.C (goTo): use lyxerr not cout.
214 2003-05-13 Alfredo Braunstein: <abraunst@libero.it>
216 * ControlErrorList.[Ch]: added
217 * Makefile.am: the above adittion
219 2003-05-13 André Pönitz <poenitz@gmx.net>
223 * ControlSpellchecker.C:
224 * biblio.C: boost::format -> bformat all over the place
230 * ControlSpellchecker.C:
231 * ControlTabularCreate.C: use tostr from new header
234 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
236 * Makefile.am: better lib building
238 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * ControlDocument.C (saveAsDefault): parlist cleanup
242 2003-05-06 John Levon <levon@movementarian.org>
244 * ControlDocument.C: fix buggy boost format
246 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * ControlDocument.C (classApply): adjust call to
249 SwitchLayoutsBetweenClasses.
251 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
253 * ControlDocument.C (setLanguage): call updateDocLang when not
254 calling changeLanguage.
256 2003-04-10 John Levon <levon@movementarian.org>
259 * ControlTabular.C: add longTabular() etc.
261 2003-04-10 John Levon <levon@movementarian.org>
263 * ControlMath.C (find_xpm): handle math_delim arguments
265 2003-04-02 Angus Leeming <leeming@lyx.org>
267 * ControlCommandBuffer.[Ch] (c-tor): passed a LyXView & rather than
268 a LyXFunc &. Ensuing changes elsewhere.
269 (getCurrentState): new method, returning bufferview_func's
270 currentState (needs the currently active BufferView).
272 2003-03-31 John Levon <levon@movementarian.org>
275 * ControlDocument.C: more Alert cleanups
277 2003-03-29 John Levon <levon@movementarian.org>
279 * ControlSpellchecker.C: Alert cleanup
281 2003-03-29 John Levon <levon@movementarian.org>
283 * helper_funcs.C: Alert cleanup
285 2003-03-29 John Levon <levon@movementarian.org>
287 * ControlDocument.C: comment out seemingly silly question
289 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * ControlDialog.tmpl (show): qualify emergency_exit_ with this->
295 2003-03-26 Angus Leeming <leeming@lyx.org>
297 * ControlThesaurus.[Ch]: rewrite to use the Dialog-based scheme.
299 2003-03-25 John Levon <levon@movementarian.org>
301 * ControlSpellchecker.C: support for new aspell
303 2003-03-25 Angus Leeming <leeming@lyx.org>
306 * ControlShowFile.[Ch]:
307 * ControlVCLog.[Ch]: rewrite to use the Dialog-based scheme.
309 2003-03-24 John Levon <levon@movementarian.org>
311 * ControlMath.C: include Pr function
313 2003-03-23 John Levon <levon@movementarian.org>
315 * ControlSpellchecker.C: make "words checked" translatable,
318 2003-03-18 John Levon <levon@movementarian.org>
320 * ControlParagraph.C: make reading of params succeed
322 2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
324 * ControlChanges.[Ch]: ControlChanges::find() returns the bool
325 from lyxfind::findNextChange(), instead of void.
327 2003-03-13 Angus Leeming <leeming@lyx.org>
329 * Dialog.h (initialiseParams): return a bool to indicate successful
330 translation of the string.
334 * ControlAbout.h: a serious attempt at documenting the code.
336 * ButtonController.[Ch] (readWrite): it wasn't used, so remove it.
339 * ButtonController.[Ch]:
340 * BCView.[Ch], BCView.tmpl: make many methods const.
342 2003-03-13 Angus Leeming <leeming@lyx.org>
344 * ControlParagraph.[Ch]: rewrite to use the Dialog-based scheme and
345 the new dispatch lfuns.
347 2003-03-12 Angus Leeming <leeming@lyx.org>
349 * ControlCharacter.[Ch]: rewrite to use the Dialog-based scheme and
350 the new dispatch lfuns.
352 2003-03-09 Angus Leeming <leeming@lyx.org>
354 Flatten the ButtonController tree by splitting it into a Controller
357 * BCView.[Ch], BCView.tmpl: new files containing the View part of the
360 * ButtonController.[Ch]: just the controller, which needs know only
361 two methods of the View, refresh and refreshReadOnly.
363 * lots of files: associated changes.
365 2003-03-09 Angus Leeming <leeming@lyx.org>
367 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
369 2003-03-09 Angus Leeming <leeming@lyx.org>
371 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
373 2003-03-09 Angus Leeming <leeming@lyx.org>
375 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
377 2003-03-09 Angus Leeming <leeming@lyx.org>
379 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
381 2003-03-09 Angus Leeming <leeming@lyx.org>
383 * ControlTabular.[Ch]: minimise the interface in preparation for
384 a move to the Dialog-based scheme.
385 (inset): removed; the views require only getActiveCell().
386 (tabular): return as a reference.
388 2003-03-07 Angus Leeming <leeming@lyx.org>
390 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
392 * ControlInset.{h, tmpl}: remove.
393 * Makefile.am: remove files.
395 2003-03-07 Angus Leeming <leeming@lyx.org>
397 * ControlBibitem.[Ch]:
400 * ControlUrl.[Ch]: removed.
402 * Makefile.am: remove files.
404 * ControlERT.C (dispatchParams):
405 * ControlExternal.C (dispatchParams):
406 * ControlFloat.C (dispatchParams):
407 * ControlInclude.C (dispatchParams):
408 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
411 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
413 2003-03-05 Angus Leeming <leeming@lyx.org>
415 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
417 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
419 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
420 * ControlInclude.C: remove unneeded header files.
422 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
424 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
426 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
428 * Dialog.h: make view() public. Add dialog() methods.
430 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
432 * ControlGraphics.C: removed #include "converter.h"
434 * ControlSendto.C: added #include "format.h"
436 2003-02-27 Angus Leeming <leeming@lyx.org>
438 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
440 * Makefile.am: add the new files.
442 2003-02-27 Angus Leeming <leeming@lyx.org>
444 * ControlBibitem.C (c-tor):
445 * ControlBibtex.C (c-tor):
446 * ControlCitation.C (c-tor):
447 * ControlIndex.C (c-tor):
448 * ControlRef.C (c-tor):
449 * ControlToc.C (c-tor):
450 * ControlUrl.C (c-tor):
451 pass "name" to ControlCommand c-tor,
454 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
457 * ControlERT.C (dispatchParams): use "name" rather than a
460 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
462 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
464 2003-02-21 Angus Leeming <leeming@lyx.org>
467 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
469 * ControlBibitem.[Ch]:
470 * ControlBibtex.[Ch]:
471 * ControlCitation.[Ch]:
472 * ControlCommand.[Ch]:
477 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
478 individual controllers too.
479 Move 'apply' code into the LyX kernel.
481 * ControlConnections.C: temporary renaming of Dialogs::signals.
483 * Makefile.am: add new files.
485 2003-02-21 Angus Leeming <leeming@lyx.org>
487 * ControlBibtex.C (Browse):
488 * ControlExternal.C (Browse):
489 * ControlGraphics.C (Browse):
490 * ControlInclude.C (Browse):
491 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
493 * ControlPrint.C (Browse):
494 don't pass a LyXView & to browseFile et al.
495 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
496 don't pass a LyXView & to fileDlg.
498 2003-02-17 John Levon <levon@movementarian.org>
500 * ControlDialog.tmpl: build dialog before calling setParams
501 for the benefit of ControlSpellchecker
503 * ControlSpellchecker.h:
504 * ControlSpellchecker.C: rework. Lots of bugs fixed and
507 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
509 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
510 of available *.bib-files from bibFiles.lst).
512 * tex_helpers.C (getTexFileList): sort and dis-duplicate
513 listWithoutPath correctly.
515 2003-02-08 John Levon <levon@movementarian.org>
518 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
520 2003-02-08 John Levon <levon@movementarian.org>
524 * ControlChanges.C: add merge changes dialog
527 * ControlPrefs.C: add setCurrentAuthor()
529 2003-01-31 Angus Leeming <leeming@lyx.org>
531 * ViewBase.h: add an isVisible() pure virtual method.
533 * ControlTabular.C (updateInset): don't build the dialog here.
534 Instead, do nothing if the dialog is invisible.
536 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
538 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
540 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
542 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
544 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
546 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
550 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * several files: ws changes
554 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * ControlDocument.C (classApply): use boost.format
558 2002-11-29 Angus Leeming <leeming@lyx.org>
560 * ControlButtons.h (isClosing): make it public, so that the view can
562 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
565 * ControlPrefs.[Ch] (OKButton): removed.
567 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
568 dialog isClosing(). (Ie, if the "save" button has been pressed.)
570 2002-11-28 John Levon <levon@movementarian.org>
572 * ControlSpellchecker.C: fix Lars' broken cleanup
574 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
576 * ControlTabular.[Ch]: Add isMulticolumnCell
578 2002-11-27 Angus Leeming <leeming@lyx.org>
580 * ControlMath.C (ControlMath): initialise active_.
582 2002-11-25 Angus Leeming <leeming@lyx.org>
584 * ControlDialog.h (hide, update): move from protected to public.
586 * ControlMath.[Ch]: add controllers for the main math panel dialog and
587 for any daughter dialogs stored by the main panel.
589 2002-11-21 Angus Leeming <leeming@lyx.org>
591 * ControlDocument.[Ch] (classApply): no longer returns bool.
592 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
594 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * biblio.C (getAbbreviatedAuthor): use boost::format
598 * ControlSpellchecker.C (clearParams): use boost::format
600 2002-11-20 John Levon <levon@movementarian.org>
602 * ControlMath.C: couple more manglings
604 2002-11-20 John Levon <levon@movementarian.org>
607 * ControlMath.C: add find_xpm mangler
609 2002-11-17 John Levon <levon@movementarian.org>
611 * helper_funcs.C and users: specify save/open in file dialog
613 2002-11-15 John Levon <levon@movementarian.org>
616 * ControlPrefs.C: use setParams()
618 2002-11-15 John Levon <levon@movementarian.org>
620 * ControlButtons.h: make OKButton() virtual for prefs
623 * ControlPrefs.C: updates for xforms port to MVC
627 * ControlTabular.C: add simple MVC port
629 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
631 * ControlInclude.C: fix file format masks for qt's use
633 2002-11-13 John Levon <levon@movementarian.org>
637 * ControlPrefs.C: add skeleton controller
639 2002-11-12 John Levon <levon@movementarian.org>
641 * biblio.C: fix warnings
643 2002-11-12 Angus Leeming <leeming@lyx.org>
645 * ControlSpellchecker.C (check): fix crash
646 * biblio.C (escape_special_chars): simplify BRE.
648 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
650 * ControlDocument.[Ch]: Remove unused method
652 2002-11-07 Angus Leeming <leeming@lyx.org>
654 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
655 * clean-up the search code in biblio.C.
657 2002-11-07 John Levon <levon@movementarian.org>
659 * ControlGraphics.C: QGraphics fixes
661 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
663 * ControlDocument.C: (SaveAsDefault) make it work.
664 fix buffer update on class change
666 2002-11-06 Angus Leeming <leeming@lyx.org>
668 * biblio.C (searchKeys and helper functions): rewritten entirely
669 using the STL. Boost::regex searching now works as the old 1.2 code
672 2002-11-06 Angus Leeming <leeming@lyx.org>
674 * biblio.C: clean-up of the code. No change in functionality.
676 2002-11-04 Angus Leeming <leeming@lyx.org>
678 * ControlGraphics.[Ch] (getUnits): moved out of class and into
679 frnt::getBBUnits(). Code cleaned also.
681 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * biblio.C (regexSearch): STRCONV
686 * ControlAboutlyx.C (getVersion): STRCONV
688 * ControlMath.C: include config.h
690 2002-10-31 John Levon <levon@movementarian.org>
693 * ControlGraphics.C: bb units from Herbert
695 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
697 * ControlParagraph.[Ch] (alignDefault): new method, returning the
698 default alignment (block, left, right, center) of this paragraph.
700 2002-10-25 John Levon <levon@movementarian.org>
702 * ControlPrint.C: using endl
704 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
706 * ControlPrint.[Ch]: move code here from Liason.[Ch].
708 * ControlSpellchecker.h (getCount): new method.
709 * ControlSpellchecker.[Ch]: constify some accessor methods.
711 2002-10-22 Angus Leeming <leeming@lyx.org>
713 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
714 alphabetical order once again.
716 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
717 Add a list of CheckedWidget ptrs to ButtonControllerBase
718 together with methods addCheckedWidget and checkWidgets to use it.
720 * ButtonController.tmpl (refresh): use the return value of
721 checkWidgets to control the activation state of the Ok, Apply, Restore
724 * ControlDialog.tmpl (show, update):
725 * ControlInset.tmpl (showInset, update):
726 invoke ButtonController::refresh to ensure that the activation state of
727 the Ok, Apply buttons reflects the valid-state of the widgets.
729 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
731 * tex_helpers.C (rescanTexStyles): don't pop p
734 * ControlWrap.C (WrapParms): remove initialization of placement,
735 and move empty c-tor to .h class def.
737 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
738 of on stringsteam, return void. Get the file into the stream as
741 * ControlPreamble.[Ch] (params): getter and setter for params_, make
742 params_ into a string, not just a pointer to string.
744 * ControlExternal.C (getTemplateNumber): put i into the for scope,
745 and use the sequence operator on the last for "parameter"
746 (getTemplate): use std::advance to advance the iterator.
748 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
749 instead of on a stringstream, return void. Get the file into the
750 stream as fast as possible.
751 (getVersion): use ostringstream
753 * lots of files: ws changes, formatting fixes
755 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * ControlCharacter.C (apply): setMinibuffer change
758 * ControlDocument.C (apply): ditto
760 * ControlThesaurus.C (replace): ditto
761 * ControlSearch.C (find): ditto
763 * ControlPreamble.C (apply): ditto
764 * ControlParagraph.C (apply): ditto
766 2002-10-14 André Pönitz <poenitz@gmx.net>
768 * ControlDocument.C: somebody else's fix for a hard lockup
770 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
774 * Makefile.am: New document parameters controller
776 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
780 2002-09-24 Angus Leeming <leeming@lyx.org>
782 * ControlConnections.h: remove trailing whitespace.
784 * biblio.h: #include "LString.h".
786 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
788 * ControlGraphics.C: Change GUI origin strings into proper English.
790 2002-09-09 John Levon <levon@movementarian.org>
792 * ControlInclude.C: fix file masks. Get rid of noload,
793 remove stupid warning
795 2002-09-09 John Levon <levon@movementarian.org>
798 * ControlMath.C: add latex_deco
800 2002-09-06 John Levon <levon@movementarian.org>
802 * ControlMath.C: terminate dots
804 2002-09-05 Angus Leeming <leeming@lyx.org>
806 * all files: modify the headers as discussed on the list.
808 2002-08-30 John Levon <levon@movementarian.org>
811 * ControlMath.C: moved from MathsSymbols.C
813 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
815 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
817 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
819 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
820 first item in the list
822 2002-08-15 Angus Leeming <leeming@lyx.org>
824 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
826 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
828 2002-08-15 Angus Leeming <leeming@lyx.org>
830 * lots: changed my email address to leeming@lyx.org.
832 * GUI.h: return it to private derivation from boost::noncopyable.
834 2002-08-14 Angus Leeming <leeming@lyx.org>
836 * GUI.h: public derivation from boost::noncopyable.
838 2002-08-14 Angus Leeming <leeming@lyx.org>
840 * GUI.h: class GUI deries from boost::noncopyable
842 * ControlButtons.h: no longer derives from DialogBase, but instead
843 derives directly from boost::noncopyable.
845 * ViewBase.h: derives from boost::noncopyable.
847 * ControlCharacter.C:
849 * ControlConnections.C:
852 * ControlParagraph.C:
856 * ControlSpellchecker.C:
858 * ControlThesaurus.C:
859 rearrange #includes. Remove unnecessary ones.
861 * ControlError.h: add "insets/inseterror.h".
863 * helper_funcs.h: add necessary #includes.
865 * tex_helpers.[Ch]: add #pragma directives for g++.
867 * Makefile.am: remove src/frontends from -I list to compiler.
869 2002-08-13 Angus Leeming <leeming@lyx.org>
871 * ControlConnections.C:
873 changes due to the changed LyXView interface that now returns references
874 to member variables not pointers.
876 2002-08-12 Angus Leeming <leeming@lyx.org>
878 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
879 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
880 for the most commonly accessed core methods, to minimise code
883 * many files: use these wrappers and remove associated #includes.
885 2002-08-12 Angus Leeming <leeming@lyx.org>
887 * ControlButtons.[Ch] (bc, view): no longer virtual.
888 (setView, setButtonController): new methods, invoked by GUI.
890 * ControlDialog.h (show):
891 * ControlInset.h (createInset, showInset): make public, so that GUI can
894 * GUI.h: GUI now contains a controller, rather than deriving from it.
895 remove all those friend functions since we can now access the show,
896 createInset, showInset controller methods.
898 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
901 * character.h: #include a couple of STL files.
903 2002-08-08 John Levon <levon@movementarian.org>
905 * ControlCommandBuffer.C: LyXAction cleanup
907 2002-08-07 John Levon <levon@movementarian.org>
909 * ControlSpellchecker.C: fix crash when spellchecker doesn't
912 2002-08-06 John Levon <levon@movementarian.org>
914 * ControlSpellchecker.C:
915 * ControlSpellchecker.h: use WordLangTuple
917 2002-08-06 John Levon <levon@movementarian.org>
919 * ControlSpellchecker.C: show an alert with the
920 error message on initialisation failure
922 2002-08-04 John Levon <levon@movementarian.org>
924 * ControlSpellchecker.h:
925 * ControlSpellchecker.C: some cleanups
927 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
929 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
931 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
932 the Dialogs::updateParagraph signal is emitted.
934 2002-08-02 Angus Leeming <leeming@lyx.org>
936 * ControlCharacter.C (apply):
937 * ControlERT.C (applyParamsToInset):
938 * ControlParagraph.C (apply):
939 * ControlSearch.C (find, replace):
940 * ControlThesaurus.C (replace): changes due to LyXView::view() now
941 returning a boost::shared_ptr.
943 2002-08-01 John Levon <levon@movementarian.org>
945 * ControlSendto.C: writeFile() change
947 2002-08-01 John Levon <levon@movementarian.org>
949 * ControlSpellchecker.h:
950 * ControlSpellchecker.C: remove options
952 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * several files: strip,frontStrip -> trim,ltrim,rtrim
956 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * biblio.C (parseBibTeX): modify because of strip changes
960 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
962 * ControlFloat.[Ch]: Implement Wide Float toggle
963 Replace "allow_here_definitely" by "wide"
965 2002-07-22 Herbert Voss <voss@lyx.org>
967 * ControlGraphics.C: small changes
969 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
971 * ControlToc.C: remove getType
973 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
975 * ControlCommandBuffer.C: don't add "" to history
977 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
979 * ControlRef.C: fix dispatch call nicely
981 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
984 * ControlCommandBuffer.h:
985 * ControlCommandBuffer.C: add controller for command (mini) buffer
988 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
990 * ControlRef.C: fix dispatch call
992 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
994 * ControlCharacter.C: use view_state_changed not setState
996 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
998 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
1000 2002-07-15 Mike Fabian <mfabian@suse.de>
1002 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
1003 of compare_no_case, because in turkish, 'i' is not the lowercase
1004 version of 'I', and thus turkish locale breaks parsing of tags.
1006 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1008 * ControlBibtex.C (applyParamsToInset): ws change
1010 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1012 * ControlInclude.C: Add warning if absolute path name and
1013 check_typeset is used together
1015 2002-06-28 Angus Leeming <leeming@lyx.org>
1017 * ControlGraphics.C: changes associated with the name changes
1018 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
1020 2002-06-25 Angus Leeming <leeming@lyx.org>
1022 * ControlGraphics.C (readBB): Channges associated with the changed
1023 interface to the graphics cache.
1025 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1027 * ControlParagraph.C: layout as layout
1029 2002-06-21 Angus Leeming <leeming@lyx.org>
1031 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
1032 * tex_helpers.h: #include "LString.h".
1034 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1037 * ControlBibitem.C: use repaint()
1039 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1041 * ControlTexinfo.C: do the same for Texinfo
1043 * tex_helpers.C: don't try to read a file that isn't there
1045 2002-06-21 Herbert Voss <voss@perce.de>
1047 * ControlBibtex.C: do an automatic update, when no bst-list
1050 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1052 * GUI.h: createIndex() changed
1054 2002-06-18 Herbert Voss <voss@perce.de>
1056 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
1057 helperstuff. Now the bibtex gui can use some of these functions
1059 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1061 * ControlGraphics.C: just make the mask *.*
1063 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1065 * changes to simplify function setup, removal of a lot of includes.
1067 2002-06-12 Angus Leeming <leeming@lyx.org>
1069 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
1071 2002-06-12 Angus Leeming <leeming@lyx.org>
1073 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
1075 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
1077 * ControlParagraph.[Ch]: new paragraph controller
1078 * GUI.h: add new controller
1079 * Makefile.am: ditto
1081 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1083 * GUI.h: do not include ButtonController.tmpl
1085 * ControlInset.h: include ControlInset.tmpl
1087 * ControlCitation.C: do not include ControlInset.tmpl
1088 * ControlCommand.C: ditto
1089 * ControlERT.C: ditto
1090 * ControlError.C: ditto
1091 * ControlExternal.C: ditto
1092 * ControlFloat.C: ditto
1093 * ControlGraphics.C: ditto
1094 * ControlInclude.C: ditto
1095 * ControlMinipage.C: ditto
1097 * ControlDialog.tmpl: remove the Base:: prefix
1099 2002-06-07 Angus Leeming <leeming@lyx.org>
1101 Fixes needed to compile with Compaq cxx 6.5.
1102 * ControlDialog.tmpl: I have had to prefix base class methods with
1105 * ControlInset.tmpl: #include a couple of headers.
1107 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1109 * switch from SigC signals to boost::signals
1111 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1113 * biblio.h: include vector
1115 * biblio.C: change include order
1116 (regexSearch): use boost regex and get rid of LRegex
1118 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1120 * ControlAboutlyx.C:
1123 * ControlCharacter.C:
1124 * ControlCitation.C:
1126 * ControlConnections.C:
1129 * ControlExternal.C:
1132 * ControlGraphics.C:
1136 * ControlMinipage.C:
1137 * ControlPreamble.C:
1142 * ControlShowFile.C:
1143 * ControlSpellchecker.C:
1144 * ControlTabularCreate.C:
1146 * ControlThesaurus.C:
1149 * ControlVCLog.C: LyXView moved into frontends
1151 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1153 * ControlExternal.C: add scoped_ptr.hpp
1155 * ControlCharacter.h: use more specific smart_ptr header.
1157 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
1159 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
1161 2002-05-13 Herbert Voss <voss@perce.de>
1163 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
1164 like "Odland, G. and ... "
1165 (parseBibTeX): fix bug with title and booktitle
1166 and replace a \n with a space when one entry has more than
1169 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1171 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
1172 "No change" and "Reset".
1174 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
1175 them at the front of the list.
1177 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1179 * ControlGraphics.C: add some comments to the char * arrays.
1180 Make rorigin_size const.
1182 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1184 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
1185 Enables the gui's to internationalise these strings.
1187 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
1189 * frnt_lang.C: fix build
1191 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1193 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
1194 If the the caller is the character dialog, add "No change" and "Reset"
1195 to the vector, else don't.
1196 Internationalise the GUI strings here rather than in the different
1198 Sort the translated strings, albeit simply.
1200 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
1202 * character.[Ch]: rename namespace character as namespace frnt.
1204 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
1205 as several dialogs will use this info. The function now returns a
1206 vector<LanguagePair> where LanguagePair is a display string and an
1207 identifying string. The display string is internationalised.
1209 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
1210 the identifying strings, "No change" and "Reset".
1212 * Makefile.am: add frnt_lang.[Ch].
1214 2002-04-25 Herbert Voss <voss@lyx.org>
1216 * ControlSendto.C (allFormats): don't add the graphics extensions to the
1219 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1221 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
1222 BibTeX databases in a WYSIWYM way.
1224 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1226 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
1227 way past his use-by date.
1228 Make use of the improved info from Buffer::getBibkeyList when using
1229 \bibliography. Enables us to provide natbib support in this case too.
1231 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
1233 * ControlGraphics.C: pass the browseFile dialog a string of only those
1234 formats that can currently be loaded by LyX.
1236 2002-04-15 Herbert Voss <voss@perce.de>
1238 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
1239 with something like ,,...blah...`` (two commas)
1241 2002-04-14 Herbert Voss <voss@perce.de>
1243 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
1244 into the support/lstrings for better use in other programs.
1246 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
1247 namespace anon and make globally accessible.
1248 (familyName): test for the presence of a LaTeX Space at the front of
1249 of a name; strip it if it exists.
1251 2002-04-11 Herbert Voss <voss@perce.de>
1253 * ControlGraphics.C: expand "browse-string" to all available formats
1255 2002-04-11 Herbert Voss <voss@perce.de>
1257 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
1259 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
1261 * ControlAboutlyx.C (getVersion): two _() forgotten
1263 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
1265 * ControlGraphics.C:
1267 * ControlBibtex.C: make N_() be _()
1269 2002-04-07 Herbert Voss <voss@perce.de>
1271 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
1273 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
1275 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
1276 used when reading the BB.
1278 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
1280 * ControlGraphics.C (readBB): Don't open the ifstrem and then
1281 check the format from the contents (and open a second ifstream in the
1282 process. One at a time please.
1284 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1286 * ControlRef.C (getBufferNum): squash warning message.
1288 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1290 * ControlBibtex.C (Browse):
1291 * ControlGraphics.C (Browse):
1292 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
1294 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
1296 * ControlGraphics.C (applyParamsToInset): pass filepath to
1297 InsetGraphics::updateInset.
1299 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1301 * most files: ws cleanup
1303 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1305 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
1308 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
1310 * ControlGraphics.C:
1311 * ControlInclude.C: better error messages
1313 2002-03-11 Herbert Voss <voss@lyx.org>
1315 * biblio.C (parseBibTeX): fix another minibug with an
1318 2002-03-10 Herbert Voss <voss@lyx.org>
1320 * biblio.C (parseBibTeX): fix bug
1321 (familyName): improve parsing
1323 2002-03-09 Herbert Voss <voss@lyx.org>
1325 * ControlGraphics.[Ch]: adding checkFilename() for testing
1326 of non-existing files
1328 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1330 * ControlSendto.C (allFormats): fix a iterators are not pointers
1333 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
1335 * ControlShowFile.h: add a #include "LString.h"
1337 2002-03-05 Herbert Voss <voss@lyx.org>
1339 * biblio.C (getInfo): simplify if using paragraph layout
1342 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1344 * biblio.C (getInfo): return the info field correctly if the key
1345 is not a BibTeX one.
1346 (parseBibTeX): fix crash when data.find('=') returns string::npos.
1348 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1350 * ControlForks.[Ch]: new files. A controller for the Forked Child
1351 processes dialog, enabling the user to see what forked processes
1352 are running, and, if he so desires, to kill them.
1354 * GUI.h: add class GUIForks.
1356 * Makefile.am: add ControlForks.[Ch].
1358 * ControlGraphics.C (getParams): small change due to change in
1361 2002-02-21 Herbert Voss <voss@lyx.org>
1363 * biblio.C: fix bug with commentlines in a bibentry
1365 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1367 * Makefile.am: simpler obj. file compile
1369 2002-02-18 Herbert Voss <voss@lyx.org>
1371 * ControlGraphics.[Ch]: remove help-file call
1373 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1375 * helper_funcs.h: wrap the structs firster and seconder up in a
1376 namespace to avoid clashes with those in lyxalgo,h.
1378 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1379 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1381 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1383 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1386 change Systemcalls::System to Systemcalls::Wait and
1387 No change of functionality, just reflects the stripped down Systemcalls
1390 2002-02-06 Herbert Voss <voss@lyx.org>
1392 * ControlGraphics.[C] (readBB): search also in
1393 g'zipped files. If it is useful than PK and compress
1394 should also be supported. use unzipFile() from
1397 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1399 * ControlRef.C (getBufferName): new method to get a real buffer
1402 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1404 * ControlTexInfo.[Ch]: Removed Help functions.
1406 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1408 * ControlSpellchecker.C: clear any selection left
1411 2002-02-01 Herbert Voss <voss@lyx.org>
1413 * ControlGraphics.[C] (readBB): search only, if it is a
1414 ".?ps" file and look for bb's at end of file
1416 2002-01-30 Herbert Voss <voss@lyx.org>
1418 * ControlGraphic.[C]: do not search the whole file, when
1421 2002-01-29 Herbert Voss <voss@lyx.org>
1423 * ControlGraphic.[C]: added a button for document path
1424 when browsing -> bug 222
1426 2002-01-27 Herbert Voss <voss@lyx.org>
1428 * ControlGraphic.[Ch]: added support for Bounding Box, other
1431 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1433 * ControlAboutlyx.h:
1434 * ControlTexinfo.h: added #include "LString.h" where they belong.
1436 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1438 * ControlCitation.C:
1439 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1441 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1443 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1446 2002-01-20 Herbert Voss <voss@perce.de>
1448 * ControlInclude.[Ch]: better control of unexistings files
1449 when entered without the browser
1451 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1454 2002-01-19 Herbert Voss <voss@perce.de>
1456 * biblio.C (getInfo): fix bug when no author is given
1458 * biblio.C (parseBibTeX): change the parsing, so that
1459 '#'-characters in a bibtex entry are no more a problem.
1461 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1463 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1464 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1466 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1468 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1470 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1472 * ControlExternal.C (Browse): add a std:: qualifier
1474 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1476 * ControlExternal.C (Browse): simplify to use browseRelFile
1478 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1480 * ButtonController.tmpl: added // -*- C++ -*-
1482 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1483 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1484 Needed in _one_ of the ControlCommand-derived classes only.
1486 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1489 * ControlSearch.h: #include LString.h
1491 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1493 * ButtonController.h: split into two. The definition remains in
1494 ButtonController.h, the declaration is now in ButtonController.tmpl.
1495 These template methods should be #included when the derived class is
1496 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1497 and in the qt2 and gnome equivalents.
1499 * ControlDialogs.h: removed. The definition of class ControlDialog is
1500 now to be found in ControlDialog.h and the declaration of the methods
1501 is in ControlDialog.tmpl. The two template instantiations are performed
1502 in ControlDialog_impl.[Ch], new files also.
1504 * ControlInset.h: split into two. The definition remains in
1505 ControlInset.h, the declaration is now in ControlInset.tmpl.
1506 These template methods should be #included derived class is
1507 instantiated, in this case in 8 other .C files in this directory.
1509 * ControlAboutlyx.[Ch]:
1510 * ControlCharacter.[Ch]:
1514 * ControlExternal.C:
1516 * ControlGraphics.C:
1519 * ControlMinipage.C:
1520 * ControlPreamble.[Ch]:
1521 * ControlPrint.[Ch]:
1522 * ControlSearch.[Ch]:
1523 * ControlShowFile.[Ch]:
1524 * ControlSpellchecker.[Ch]:
1525 * ControlTabularCreate.[Ch]:
1526 * ControlTexinfo.[Ch]:
1527 * ControlThesaurus.[Ch]:
1528 * ControlVCLog.[Ch]: small changes associated with the above ones.
1530 * GUI.h: #include the ButtonController and dialog controller files
1531 here, rather than forward declare them. This is the correct place
1532 for these #includes.
1534 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1535 Rename ControlDialogs.h as ControlDialog.h.
1536 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1539 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1541 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1543 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1545 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1548 * ControlGraphics.C (Browse): remove overzealous shortcut
1550 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1552 * FormMinipage.C (apply, update): MinipageParams::width renamed
1553 as MinipageParams::pageWidth. InsetMinipage::width renamed
1554 as InsetMinipage::pageWidth.
1556 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1558 * ButtonController.h (refreshReadOnly): use explicit typename
1560 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1562 * helper_funcs.h (browseFile): add default empty button descriptions.
1564 * ControlGraphics.C (Browse):
1565 * ControlBibtex.C (Browse):
1566 * ControlInclude.C (Browse): add shortcuts to directory buttons
1568 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1570 * ControlThesaurus.h:
1571 * ControlThesaurus.C: update to Aiksaurus 0.14
1573 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1575 * ControlSpellchecker.C (clearParams): show the closing message
1576 only if some words have been checked, thereby fixing
1579 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1581 * ControlFloat.[Ch]: changes to prevent here definitely being used
1584 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1586 * ControlThesaurus.h: do not include <config.h> in header files
1588 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1590 * ControlToc.C: changes for floatlist
1592 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1594 * ControlVCLog.C: use _()
1596 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1598 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1601 2001-10-22 Juergen Vigna <jug@sad.it>
1603 * ControlSpellchecker.C (clearParams): use the error_ message of the
1604 speller_ if available when the spellchecker died.
1605 (setParams): remove double error message display.
1607 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1609 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1611 * helper_funcs.[Ch] (getLatexUnits): see above.
1613 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1615 * ControlTexinfo.C (getContents): use the right file for .sty files
1617 2001-10-10 Herbert Voss <voss@perce.de>
1619 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1620 and some more stuff from FormTexinfo.C
1622 * ControlShowFile.C: hiding the update-button
1624 2001-10-09 Herbert Voss <voss@perce.de>
1626 * ControlTexinfo.[Ch]: new files. Display information about the
1627 installed texfiles (cls,sty,bst).
1629 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1631 * GUI.h: added classes GUIShowFile and GUITexinfo.
1633 * Makefile.am: modified appropriately.
1635 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1637 * ControlAboutlyx.C (getVersion): use lyx_version and
1638 lyx_release_date instead of old macros
1640 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1642 * ControlSpellchecker.C (check): Behaves well now when the spell
1643 library doesn't know a replacement to an incorrect word.
1645 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1647 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1648 the correct place. Can now check spelling more than once!
1650 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1652 * ControlSplash.[Ch]: removed.
1654 * GUI.h: remove GUISplash class.
1656 * ViewBase.h: remove ViewSplash class.
1658 * Makefile.am: remove ControlSplash.[Ch].
1660 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1662 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1663 view will be shut down.
1666 * ControlInset.h: act on emergency_exit_.
1668 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1669 speller fails to launch.
1671 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1673 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1674 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1676 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1678 * ControlRef.h (disconnectOnApply): new method. Set to true.
1679 Perhaps make this user-modifiable?
1681 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1683 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1686 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1688 * ControlRef.C (getBufferList, getBufferNum): New methods
1690 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1692 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1693 of the dialog when the Apply button is pressed. Defaults to false,
1694 but can be overridden in the daughter classes.
1696 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1697 Perhaps make this user-modifiable?
1699 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1701 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1702 we have dialogs that update their contents when the buffer changes.
1703 Rather embarassing, really!
1705 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1707 * ControlSearch (replace): change semantics of replace to NOT move on
1708 to the next instance of a word once the present instance has been
1709 replaced unless we are replacing ALL instances of the word.
1711 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1713 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1715 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1717 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1718 dialog, set all options to "reset", close the dialog, re-open it ->
1719 the options are set incorrectly.
1721 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1722 When Applying it's useful to know whether the dialog is about to close
1723 or not (no point refreshing the display for example).
1725 * ControlInset.C (apply): use isClosing.
1727 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1730 * ControlDialogs.h: remove bc() hack, now fixed in
1731 Qt2 frontend. use member dialog_built_ instead of shared
1734 * ButtonController.h:
1735 * ButtonPolicies.C: more debug info
1737 * ButtonControllerBase.C: call refresh() when setting readOnly !
1739 * GUI.h: External form has apply, use the right policy
1741 * character.C: fix two off-by-one errors when latex font was removed
1743 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1745 * ControlInset.h (apply): tentative fix for the press Apply multiple
1746 times and get multiple new Insets problem.
1748 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1750 * ControlCharacter.C: fix typo
1754 * ControlInsets.C: make sure dialog is built before it is shown, so
1755 it works properly the very first time it is shown
1757 2001-08-20 Herbert Voss <voss@perce.de>
1759 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1760 and styles. Added an option for "bibliography into toc"
1762 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1764 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1765 LaTeX is no longer a font property.
1767 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1769 * GUI.h: Button controller for Reference dialog changed to
1770 NoRepeatedApplyReadOnlyPolicy.
1772 * biblio.C (getInfo): output volume and number info. Move year to end
1775 2001-08-09 Allan Rae <rae@lyx.org>
1777 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1779 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1781 * helper_funcs.C (getVectorFromString): fixed small bug.
1783 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1785 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1787 * ControlSpellchecker.C: check next word after insert in personal dict
1789 2001-08-06 Juergen Vigna <jug@sad.it>
1791 * ControlERT.[Ch]: new file
1793 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1795 * ControlInset.h: const and non-const forms of params().
1797 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1798 whitespace from either side of each item.
1800 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1802 * ControlFloat.h: add a != operator for FloatParams.
1803 Lars, how did you get this to compile!!!
1805 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1806 operator != for MinipageParams. Who's changing stuff and not compiling?
1808 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1810 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1813 * GUI.h: add class GUIFloat
1815 * ControlFloat.[Ch]: new files
1817 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1819 * ControlPrint.C: #include Lassert.h here.
1821 2001-07-26 Baruch Even <baruch@lyx.org>
1823 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1826 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1828 * ControlThesaurus.h:
1829 * ControlThesaurus.C:
1831 * Makefile.am: thesaurus support
1833 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1836 * ControlInclude.C: implement ability to load file
1838 2001-07-18 Juergen Vigna <jug@sad.it>
1840 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1842 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1844 * biblio.C (getInfo): add a .c_str() to handle the usual
1847 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1849 * ControlCitation.[Ch]: changes associated with adding natbib support.
1850 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1851 New static variable citeStyles_.
1853 * biblio.[Ch]: large internal rearrangement.
1854 New public enum CiteStyle.
1855 New public struct CitationStyle.
1856 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1857 getNumericalStrings, getAuthorYearStrings
1858 (simpleSearch, regexSearch): no longer publicly accessible.
1860 * helper_funcs.C (getStringFromVector): bug fix.
1862 2001-07-16 Baruch Even <baruch@lyx.org>
1864 * ControlVCLog.h: Added Lsstream.h to includes.
1866 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1868 * ControlSpellchecker.[Ch]: remove d-tor.
1870 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1872 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1874 2001-07-16 Juergen Vigna <jug@sad.it>
1876 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1877 compiled with USE_PSPELL) to be able to switch between ISpell and
1880 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1882 Consistent use of Lsstream.h:
1883 * ControlAboutlyx.[Ch] (getCredits):
1884 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1886 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1888 * ControlCredits.[Ch]: removed
1889 * ControlCopyright.[Ch]: removed
1890 * ControlAboutlyx.[Ch]: added (replaces previous)
1891 * GUI.h: removed credits and copyright added about lyx stuff
1893 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1895 * ControlSpellchecker.C (getSuggestion):
1896 (getWord): add std:: qualifier
1898 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1900 * ControlSpellchecker.[Ch]: added
1901 * ViewBase.h: added partialUpdate(int) member
1902 * GUI.h: added spell stuff
1904 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1906 * ControlExternal.C: (*it). -> it->
1908 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1910 * ButtonController.h: move some included header files out of the
1911 frontends and into here.
1913 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1915 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1917 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1919 * *.[h]: added // -*- C++ -*-
1920 * *.[C]: removed // -*- C++ -*-
1922 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1923 activate Apply button.
1924 (clearParams): removed.
1925 font_ is now stored as a boost::scoped_ptr.
1926 font_ is no longer deleted on hide(), so it's contents can now be used
1927 by the Font button on the toolbar.
1928 Lots of new methods so that the GUI can easily get the contents of
1929 font_ when it update()s.
1931 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1933 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1934 crash when the Font button on the Toolbar is pressed.
1936 * GUI.h: change policy of Character button controller to
1937 OkApplyCancelReadOnlyPolicy.
1939 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1941 * ControlToc.C (getContents): don't add anything to the list if it
1942 is supposed to be empty.
1944 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1946 * helper_funcs.C (getVectorFromString): bug fix.
1948 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1950 * ButtonController.h
1951 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1952 from ButtonControllerBase::readOnly. Updates the state of the widgets
1953 in the read-only list only when the read-only status of the document
1955 (refresh): moved this stuff into refreshReadOnly.
1957 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1959 * ControlPrint.C (c-tor):
1960 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1962 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1965 * character.h: small clean-ups.
1967 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1969 * ControlToc.C (getType): remove support for old float list.
1971 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1973 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1974 * ControlGraphics.h: no longer include insetgraphicsParams.h
1975 * ControlInset.h: no longer include LyXView.h
1980 * ControlCharacter.C:
1981 * ControlCitation.C:
1983 * ControlConnections.C:
1984 * ControlCopyright.C:
1987 * ControlExternal.C:
1988 * ControlGraphics.C:
1991 * ControlMinipage.C:
1992 * ControlPreamble.C:
1996 * ControlTabularCreate.C:
1998 * ControlVCLog.C: they're now in here!
2000 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2002 * ButtonControllerBase.h: C++ mode, inherit privately from
2004 * ButtonPolicies.h: ditto
2006 * ButtonController.h: C++ mode, swap init order of restore_ and
2009 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2011 * ControlTabularCreate.h:
2012 * ControlTabularCreate.C: make dialogs use a pair of uints
2016 * ControlVCLog.C: fill a stringstream with the log contents
2019 * ControlExternal.C: from Angus, clone the new InsetExternal
2022 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
2024 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
2025 and made more robust.
2027 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2032 * ControlPreamble.C:
2034 * ControlGraphics.C:
2035 * ControlExternal.C:
2036 * ControlCopyright.C: include gettext.h
2038 * ControlCharacter.C:
2039 * character.C: include gettext.h and language.h
2041 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
2043 * ButtonController.h:
2044 * ButtonControllerBase.h:
2045 * ButtonControllerBase.C:
2052 * ControlConnections.h:
2055 * ControlExternal.C:
2058 * ViewBase.h: s/ControlButton/ControlButtons/
2060 s/UndoAll/Restore/ + associated
2062 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2064 * ControlToc.[Ch]: new files; a controller for the TOC popup.
2067 * Makefile.am: associated changes with all of the above.
2069 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2071 * ControlExternal.C: bug fixes. Can now apply changes to the inset
2072 and edit, view, update the External Material correctly. I hope!
2074 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2076 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
2078 * BCTemplates.h: renamed as ButtonController.h
2080 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
2083 * ControlConnections.h: associated change in #include and class names.
2085 * ControlExternal.[Ch]: new files; a controller for the External
2089 * Makefile.am: associated changes with all of the above.
2091 * ControlGraphics.[Ch]:
2092 * ControlInclude.[Ch]:
2093 * ControlPrint.[Ch]:
2095 (Browse): new method. Returns the results of a FileDialog browse.
2097 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
2098 (getVectorFromString): fixed bug.
2100 * biblio.C (simpleSearch): cleaned up.
2102 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2104 * A slight reworking of Baruch Even's ButtonController patch.
2106 * BCTemplates.h: new file; all the templates for the ButtonController.
2107 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
2108 to the more generic setButtonLabel().
2110 * ButtonController.[Ch]: renamed cancel_label and close_label as
2111 cancel_label_ and close_label_.
2113 * Makefile.am: added BCTemplates.h
2115 2001-03-29 Juergen Vigna <jug@sad.it>
2117 * ControlMinipage.C: removed widthp_ and all it's functions and changed
2118 to use new %-lengths of LyXLength.
2120 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2122 * ControlCitation.C (bibkeysInfo): removed Assert.
2124 * ControlCopyright.h: moved GUICopyright into GUI.h
2128 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2130 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
2131 (setDaughterParams): a (by default empty) new method called in show().
2137 * ControlMinipage.h:
2140 * ControlUrl.h (clearDaughterParams): removed
2142 * ControlMinipage.C (applyParamsToInset): update the view.
2143 Added namespace minipage containing a helper function getUnits.
2145 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
2147 * ControlCharacter.[Ch]: moved out all the helper functions and the
2148 enum into their own file.
2149 * character.[Ch]: new files; contain the character helper functions,
2150 now inside namespace character.
2152 * ControlCitation.[Ch]: moved out all the helper functions and the
2153 enums into their own file. Simplified interface.
2154 * biblio.[Ch]: new files; contain the citation helper functions,
2155 now inside namespace biblio. Will be of use also to an improved
2158 * ControlGraphics.[Ch]:
2159 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
2160 popups, respectively.
2163 * Makefile.am: associated changes.
2165 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2167 * ControlMinipage.[Ch]:
2168 * ControlPreamble.[Ch]:
2169 * ControlPrint.[Ch]:
2170 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
2171 and Print popups and Splash screen, respectively.
2173 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
2177 * Makefile.am: associated changes.
2179 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2181 * ControlConnections.[Ch]: (docType): new method; returns the type
2182 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
2185 * ControlSearch.[Ch]:
2186 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
2187 Search and TabularCreate popups, respectively.
2190 * Makefile.am: associated changes.
2192 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2194 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
2197 * ControlInset.h (apply): fix bug. Can now create new insets again.
2199 * README: describe program flow.
2201 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2203 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
2205 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2207 * ControlDialogs.h: moved class ControlInset into its own file.
2209 * ControlInset.h: new file. class ControlInset has been expanded to take
2210 two template parameters, Inset and Params. Believe that all inset
2211 controllers can be derived from this with the minimum of effort.
2213 * ControlBibitem.[Ch]:
2214 * ControlBibtex.[Ch]:
2215 * ControlCitation.[Ch]:
2216 * ControlCommand.[Ch]: moved most code into ControlInset.
2218 * lots of files. Moved protected stuff into private where possible.
2220 * ControlError.[Ch]:
2221 * ControlInclude.[Ch]:
2222 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
2223 Include and Url popups, respectively.
2226 * Makefile.am: associated changes.
2228 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2230 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
2233 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2235 * ControlCredits.C (getCredits): remove std:: qualifier for
2238 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2240 * ControlCredits.C (getCredits): add std:: on vector
2242 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2244 * ControlCredits.C: remove using that is only used once, use
2245 std::ios instead of std::iosbase, add some annoying comments.
2247 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2249 * lots of header files: improved explanatory notes.
2251 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
2252 ControlBase is now a class that only controls the interaction of the
2253 View with the ButtonController.
2255 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
2256 to ControlConnectBase. The class controls the connection/disconnection
2257 of signals from the LyX kernel and makes available the kernel (through
2258 lv_) to daughter controller classes.
2259 Moved out class ControlConnectInset to a new file ControlDialogs.h.
2261 * ControlDialogs.h: new file. Contains the definition of two template
2262 controller classes, ControlDialog and ControlInset (was
2263 ControlConnectInset). ControlInset is a parent class for controllers
2264 of inset-popups. ControlDialogs is the rather uninspired name for
2265 the base class of all non-inset popups. (Eg, Document and Paragraph.)
2266 ControlDialogs is reaching a state of maturity as several popups now use
2267 it and its functionality becomes clear. ControlInset is still in a state
2268 of flux. It is likely that functionality will be moved out of
2269 ControlCommands and into it.
2271 * GUI.h: new file. Moved all the template GUIXXX classes out of the
2272 individual Controller header files and into one place. These classes
2273 serve only as convenient wrappers to simplify code in the respective
2274 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
2276 * ControlCharacter.[Ch] (show, update, hide):
2277 * ControlLog.[Ch] (show, update, hide):
2278 * ControlVCLog.[Ch] (show, update, hide): moved back into
2279 the ControlDialogs base class.
2280 (setParams, clearParams): new methods containing controller-specific
2281 code to set/reset the parameters manipulated by the view.
2283 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
2285 (hide): calls clearParams.
2287 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
2288 by ControlCommand::hide().
2290 * ControlCopyright.[Ch]:
2291 * ControlCredits.[Ch]: new files; controllers for the copyright and
2292 credits popups, respectively.
2294 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2296 * ControlCharacter.C: fix typo
2298 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
2300 * ControlCharacter.[Ch]: new files; controller for the character popup.
2302 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
2303 moved to new files helper_funcs.[Ch].
2305 * helper_funcs.[Ch]: new files. Some useful helper functions and
2308 * Makefile.am: added new files.
2310 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2312 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
2314 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2317 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
2318 Control log files, respectively.
2320 * Makefile.am: added new files.
2322 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2324 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
2326 * Makefile.am: added ControlBibtex.[Ch].
2328 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2331 * ControlCitation.C: added "using SigC::slot" declaration.
2333 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
2334 to FormCitation.C prior to the merger: "Do not put space between
2337 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2339 * several files: remove CXX_WORKING_NAMESPACES
2341 * ButtonController.h: noncopyable is in namespace boost
2342 * ButtonPolicies.h: ditto
2344 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2346 * Merging changes from BRANCH_MVC back into HEAD.
2348 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2350 * Makefile.am: add ControlBibitem.[Ch].
2352 * ControlBibitem.[Ch]: new files that together define the Controller
2353 for a Bibitem popup.
2355 * ControlCommand.h (c-tor): give kb_action a default value of
2358 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
2360 * ControlCitation.[Ch]: moved search functions out of class.
2361 (bibkeysInfo): new method. Returns const reference to private data.
2362 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2365 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2367 * ControlCitation.[Ch]: added Search functions to the class,
2368 (shamelessly lifted from Marco's gnome code). I think that these would
2369 be better as helper functions outside the class, but this is a first
2372 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2374 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2376 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2377 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2378 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2379 implementation of FormCitation.
2381 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2383 * ButtonPolicies.h: add SMI_NOOP to enum.
2385 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2387 * ButtonController.C (input): add "optimising" if-statement. Actually,
2388 things don't work correctly without it...
2390 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2392 * ViewBase.h: remove #pragma directive
2394 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2397 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2399 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2401 * Makefile.am: added ButtonPolicies.[Ch]
2403 * ButtonController.[Ch]: ButtonController is split into
2404 ButtonControllerBase and a template ButtonController class. The base
2405 class no longer stores a pointer to a ButtonPolicy, but instead
2406 accesses the actual instantiation of the policy through a pure virtual
2407 method bp(). This method and the ButtonPolicy itself are instantiated
2408 in the templatised ButtonController class. This class is derived from
2409 the GUI-specific GUIBC class, meaning that the frontends know
2410 nothing about the actual policy decided upon by the controllers.
2412 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2413 Instead the actual instantiations are accessed through pure virtual
2414 methods view() and bc(). The daughter classes are responsible for the
2415 actual View and ButtonController.
2417 * ControlCitation.h: the templatised class GUICitation instantiates
2418 the methods view() and bc(). It also stores the instances of the
2419 View and ButtonController.
2421 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2423 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2424 also changed to ButtonController.
2427 * ControlConnections.[Ch]:
2428 * ControlCommand.[Ch]:
2429 * ControlCitation.[Ch]:
2430 * ViewBase.h: Changes associated with this.
2432 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2434 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2435 xforms/ButtonController class into a GUI-I class (here) and an
2436 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2438 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2439 from which all Dialog Controllers should be derived. the Controllers
2440 are GUI-independent, but are designed to control the behaviour of
2441 GUI-specific implementaions of each dialog.
2443 * ControlConnections.[Ch]: new files. Classes controlling the
2444 connections of buffer-independent, buffer-dependent and Inset dialogs
2445 with the LyX kernel.
2447 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2448 InsetCommand subset of insets.
2450 * ControlCitation.[Ch]: new files. The test specialisation! A
2451 controller for the Citation dialog.
2453 * ViewBase.h: new file. ViewBase is an abstract base class from which
2454 GUI-specific dialogs should be derived. The functionality that the GUIs
2455 must now implement is much reduced.