1 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4 * ControlCommandBuffer.h:
7 * tex_helpers.h: add <string> and other small fixes to make Lars'
8 std::string patch compile with STLport.
10 2003-10-01 Angus Leeming <leeming@lyx.org>
12 * ControlExternal.[Ch]: changes due to the introduction of
13 namespace lyx::external.
15 2003-09-25 Angus Leeming <leeming@lyx.org>
17 * ControlExternal.C (getTemplatePtr): simplify, due to change in
18 ExternalTemplateManager interface.
20 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * ControlDocument.C (setParams): fix new bug
24 2003-09-19 Angus Leeming <leeming@lyx.org>
26 * ControlInclude.[Ch]: Store and access the params as an
27 InsetCommandParams, rather than access them as a InsetInclude::Params
28 and store 'em as a boost::scoped_ptr<InsetInclude>.
29 Other clean-ups due to the changes in InsetInclude.
31 2003-09-18 Angus Leeming <leeming@lyx.org>
33 * ControlCommand.C (clearParams): simplify.
35 2003-09-18 Angus Leeming <leeming@lyx.org>
41 * character.h: rename EnumLColor as LColor_color.
43 2003-09-16 Angus Leeming <leeming@lyx.org>
45 * ControlCharacter.C: add #include "LColor.h".
47 2003-09-16 Angus Leeming <leeming@lyx.org>
49 * character.C: add #include "LColor.h".
51 2003-09-15 Angus Leeming <leeming@lyx.org>
53 * ControlCharacter.C (setColor, getColor):
54 pass EnumLColor args, rather than LColor::color ones.
56 * ControlPrefs.C: add #include "LColor.h".
57 * ControlPrefs.h:remove #include "LColor.h".
59 * ControlPrefs.[Ch] (setColor): pass EnumLColor arg, not than LColor::color one.
61 * character.h:remove #include "LColor.h".
62 typedef ColorPair as a std::pair<string, EnumLColor>.
64 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * tex_helpers.C: remove usage of STRCONV
71 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
73 * several files: change Assert to BOOST_ASSERT
75 2003-09-08 Angus Leeming <leeming@lyx.org>
77 * ControlCommandBuffer.C:
81 * tex_helpers.C: remove redundant using directives.
83 2003-09-07 Angus Leeming <leeming@lyx.org>
86 * helper_funcs.h: remove #include "support/std_string.h".
89 * ControlNote.h: remove #include "debug.h".
91 * ControlDocument.h: remove #include <vector>, "support/std_string.h".
94 * ControlThesaurus.h: remove #include <vector>.
96 * ControlPrefs.h: remove #include "funcrequest.h", <utility>.
98 * GUI.h: remove #include "BCView.h".
100 * tex_helpers.h: remove #include <utility>.
102 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
105 * frnt_lang.C: re-add missing system headers, needed for 2.95.2.
107 2003-09-05 Angus Leeming <leeming@lyx.org>
109 * GUI.h: ensure that the header file can be compiled stand-alone.
110 * *.C: strip out redundant #includes. (49 in total.)
112 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
114 * most files: change to use const buffer refs.
116 2003-08-16 Martin Vermeer <martin.vermeer@hut.fi>
118 * ControlBranch.[Ch]:
120 * Makefile.am: implements the 'branch
121 inset' idea. This allows the output of various versions of a
122 document from a single source version, selectively outputing or
123 suppressing output of parts of the text.
124 This implementation contains a 'branch list editor' in a separate
125 tab of the document settings dialog. Branches are user definable
126 and have a "display colour" to distinguish them on-screen.
128 ColorHandler was somewhat cleaned up.
129 (1) make possible a dynamically growing LColor list by allowing
130 the graphic context cache to grow along (vector);
131 (2) eliminate an IMHO unnecessary step in colour allocation.
133 2003-08-15 André Pönitz <poenitz@gmx.net>
135 * ControlErrorList.C:
136 * ControlSpellchecker.C: remove toggleSelection
138 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
140 * ControlGraphics.C: rename "XXX baseline" to "Baseline XXX"
143 * ControlTabular.C: rename VALIGN_CENTER to VALIGN_MIDDLE;
144 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
145 rename VCENTER to MIDDLE
147 2003-08-04 André Pönitz <poenitz@gmx.net>
149 * ControlErrorList.C:
150 * ControlSpellchecker.C: simpler BufferView::update() calls
152 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
154 * ControlNote.[Ch]: add i18n support.
156 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * ControlToc.C (goTo): adjust for lyx::toc
162 * ControlThesaurus.C (replace): adjust for lyx::find
164 * ControlSearch.C (find): adjust for lyx::find
167 * ControlChanges.C (find): adjust for lyx::find
171 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * ControlTabular.C (useMetricUnits): adapt PAPER_* enums
175 2003-07-23 Angus Leeming <leeming@lyx.org>
177 * ControlExternal.C: pass a Buffer const & rather than a Buffer const *
178 to the mailer's string2params, params2string functions.
180 * ControlGraphics.C pass a Buffer const & rather than a string const &
181 buffer_path to the mailer's string2params, params2string functions.
183 2003-07-23 Angus Leeming <leeming@lyx.org>
185 * Kernel.[Ch] (bufferFilepath): new wrapper for Buffer::filePath.
189 * ControlGraphics.C: use it.
191 2003-07-21 Angus Leeming <leeming@lyx.org>
193 * ControlGraphics.C (initialiseParams, dispatchParams): no need
194 to modify the filename for reasons of 'good UI' anymore.
196 2003-07-21 Angus Leeming <leeming@lyx.org>
198 * ControlGraphics.C (initialiseParams, dispatchParams): pass a
199 buffer_path parameter to InsetGraphicsMailer's string2params,
202 2003-07-21 Angus Leeming <leeming@lyx.org>
204 * ControlGraphics.C (readBB): use namespace lyx::graphics rather
207 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
209 * ControlGraphics.C (dispatchParams): avoid some variable/function
212 * ControlDialog.tmpl (show): follow C++ rules more closely
216 2003-07-17 Angus Leeming <leeming@lyx.org>
219 * ControlErrorList.h:
225 * Dialog.h: fix some doxygen warnings.
227 * Dialog.C: shuffle a couple of functions around.
229 2003-07-16 Angus Leeming <leeming@lyx.org>
231 * ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
233 2003-07-16 Angus Leeming <leeming@lyx.org>
235 Dialog.[Ch]: move a few methods out of line.
238 Kernel.h: improve doxygen documentation.
240 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * introduce namespace lyx::support
244 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
246 * Kernel.h: fix some \class issues
248 * Kernel.C: fix \file
250 * Dialog.h: fix some \class issues
252 * ControlErrorList.h: correct const type order, remove some
253 ControlErrorList:: from declarations.
255 * BCView.h: fix usage of \class to \c
256 * ControlAboutlyx.h: ditto
257 * ButtonController.h: ditto + remove misplaced end doxy group tag
259 2003-06-24 Alfredo Braunstein <abraunst@libero.it>
261 * ControlDocument.C (classApply): removed the call to resetErrorList,
262 replaced setErrorList by parseErrors
264 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
266 * ControlError.[Ch]: removed
267 * Makefile.am: adjust
269 2003-06-20 Angus Leeming <leeming@lyx.org>
271 * tex_helpers.[Ch] (getTexFileList): changed to
272 void getTexFileList(string const & file, vector<string> & contents);
274 * ControlBibtex.[Ch] (getBibFiles, getBibStyles): now passed a
275 vector<string> to fill rather than returning a string.
277 * ControlTexinfo.[Ch] (rescanStyles, runTexhash): removed. No need
278 for an extra layer of indirection.
279 (getContents): moved out of class to getTexFileList.
281 2003-06-19 Angus Leeming <leeming@lyx.org>
283 * ControlTexinfo.[Ch]: rewritten to use the Dialog-based scheme.
285 2003-06-17 Angus Leeming <leeming@lyx.org>
288 * ControlMath2.[Ch]: rename ControlMath2 as ControlMath.
289 Move into ControlMath.[Ch]. Remove ControlMath2.[Ch].
291 * Makefile.am: remove ControlMath2.[Ch].
293 2003-06-17 Angus Leeming <leeming@lyx.org>
295 * ControlMath.[Ch] (showDialog):
296 * ControlMath2.[Ch] (showDialog, dispatchFunc): new member functions.
298 * ControlMath2.C: wrap all other calls to the kernel diapatcher into
301 2003-06-12 Angus Leeming <leeming@lyx.org>
303 * ControlMath2.[Ch]: new files. A work in progress towards a clean
304 implementation of the math panel.
306 * Makefile.am: add files.
308 2003-06-11 Angus Leeming <leeming@lyx.org>
310 * ControlExternal.[Ch]: changes due to InsetExternal::Params no longer
311 storing the ExternalTemplate but its name.
313 2003-06-10 Angus Leeming <leeming@lyx.org>
315 * ControlExternal.C (editExternal): invokes new LFUN_EXTERNAL_EDIT
316 rather than generate a new inset itself.
318 2003-06-06 John Levon <levon@movementarian.org>
320 * ControlDocument.C: make sure a language change
321 always gets propogated
323 2003-06-03 Angus Leeming <leeming@lyx.org>
325 * ControlExternal.[Ch]: remove viewExternal and updateExternal.
326 Change the internal store from an InsetExternal to its Param struct.
328 2003-06-03 John Levon <levon@movementarian.org>
330 * ControlGraphics.C: make file path relative for the GUI,
331 absolute for the backend
333 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * ControlDocument.C (saveAsDefault): adjust
337 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
340 * Dialog.h (setTitle): added
342 2003-05-20 Alfredo Braunstein <abraunst@libero.it>
344 * ControlErrorList.[Ch]: small bugs fixed, use ErrorList
346 2003-05-13 André Pönitz <poenitz@gmx.net>
348 * ControlForks.[Ch]: use vector<pid_t> instead of strings
350 2003-05-14 Rob Lahaye <lahaye@users.sourceforge.net>
352 * ControlErrorList.C (clearParams): replace string::clear by
355 2003-05-14 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * ControlErrorList.C (goTo): use lyxerr not cout.
359 2003-05-13 Alfredo Braunstein: <abraunst@libero.it>
361 * ControlErrorList.[Ch]: added
362 * Makefile.am: the above adittion
364 2003-05-13 André Pönitz <poenitz@gmx.net>
368 * ControlSpellchecker.C:
369 * biblio.C: boost::format -> bformat all over the place
375 * ControlSpellchecker.C:
376 * ControlTabularCreate.C: use tostr from new header
379 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
381 * Makefile.am: better lib building
383 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
385 * ControlDocument.C (saveAsDefault): parlist cleanup
387 2003-05-06 John Levon <levon@movementarian.org>
389 * ControlDocument.C: fix buggy boost format
391 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * ControlDocument.C (classApply): adjust call to
394 SwitchLayoutsBetweenClasses.
396 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * ControlDocument.C (setLanguage): call updateDocLang when not
399 calling changeLanguage.
401 2003-04-10 John Levon <levon@movementarian.org>
404 * ControlTabular.C: add longTabular() etc.
406 2003-04-10 John Levon <levon@movementarian.org>
408 * ControlMath.C (find_xpm): handle math_delim arguments
410 2003-04-02 Angus Leeming <leeming@lyx.org>
412 * ControlCommandBuffer.[Ch] (c-tor): passed a LyXView & rather than
413 a LyXFunc &. Ensuing changes elsewhere.
414 (getCurrentState): new method, returning bufferview_func's
415 currentState (needs the currently active BufferView).
417 2003-03-31 John Levon <levon@movementarian.org>
420 * ControlDocument.C: more Alert cleanups
422 2003-03-29 John Levon <levon@movementarian.org>
424 * ControlSpellchecker.C: Alert cleanup
426 2003-03-29 John Levon <levon@movementarian.org>
428 * helper_funcs.C: Alert cleanup
430 2003-03-29 John Levon <levon@movementarian.org>
432 * ControlDocument.C: comment out seemingly silly question
434 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * ControlDialog.tmpl (show): qualify emergency_exit_ with this->
440 2003-03-26 Angus Leeming <leeming@lyx.org>
442 * ControlThesaurus.[Ch]: rewrite to use the Dialog-based scheme.
444 2003-03-25 John Levon <levon@movementarian.org>
446 * ControlSpellchecker.C: support for new aspell
448 2003-03-25 Angus Leeming <leeming@lyx.org>
451 * ControlShowFile.[Ch]:
452 * ControlVCLog.[Ch]: rewrite to use the Dialog-based scheme.
454 2003-03-24 John Levon <levon@movementarian.org>
456 * ControlMath.C: include Pr function
458 2003-03-23 John Levon <levon@movementarian.org>
460 * ControlSpellchecker.C: make "words checked" translatable,
463 2003-03-18 John Levon <levon@movementarian.org>
465 * ControlParagraph.C: make reading of params succeed
467 2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
469 * ControlChanges.[Ch]: ControlChanges::find() returns the bool
470 from lyxfind::findNextChange(), instead of void.
472 2003-03-13 Angus Leeming <leeming@lyx.org>
474 * Dialog.h (initialiseParams): return a bool to indicate successful
475 translation of the string.
479 * ControlAbout.h: a serious attempt at documenting the code.
481 * ButtonController.[Ch] (readWrite): it wasn't used, so remove it.
484 * ButtonController.[Ch]:
485 * BCView.[Ch], BCView.tmpl: make many methods const.
487 2003-03-13 Angus Leeming <leeming@lyx.org>
489 * ControlParagraph.[Ch]: rewrite to use the Dialog-based scheme and
490 the new dispatch lfuns.
492 2003-03-12 Angus Leeming <leeming@lyx.org>
494 * ControlCharacter.[Ch]: rewrite to use the Dialog-based scheme and
495 the new dispatch lfuns.
497 2003-03-09 Angus Leeming <leeming@lyx.org>
499 Flatten the ButtonController tree by splitting it into a Controller
502 * BCView.[Ch], BCView.tmpl: new files containing the View part of the
505 * ButtonController.[Ch]: just the controller, which needs know only
506 two methods of the View, refresh and refreshReadOnly.
508 * lots of files: associated changes.
510 2003-03-09 Angus Leeming <leeming@lyx.org>
512 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
514 2003-03-09 Angus Leeming <leeming@lyx.org>
516 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
518 2003-03-09 Angus Leeming <leeming@lyx.org>
520 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
522 2003-03-09 Angus Leeming <leeming@lyx.org>
524 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
526 2003-03-09 Angus Leeming <leeming@lyx.org>
528 * ControlTabular.[Ch]: minimise the interface in preparation for
529 a move to the Dialog-based scheme.
530 (inset): removed; the views require only getActiveCell().
531 (tabular): return as a reference.
533 2003-03-07 Angus Leeming <leeming@lyx.org>
535 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
537 * ControlInset.{h, tmpl}: remove.
538 * Makefile.am: remove files.
540 2003-03-07 Angus Leeming <leeming@lyx.org>
542 * ControlBibitem.[Ch]:
545 * ControlUrl.[Ch]: removed.
547 * Makefile.am: remove files.
549 * ControlERT.C (dispatchParams):
550 * ControlExternal.C (dispatchParams):
551 * ControlFloat.C (dispatchParams):
552 * ControlInclude.C (dispatchParams):
553 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
556 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
558 2003-03-05 Angus Leeming <leeming@lyx.org>
560 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
562 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
564 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
565 * ControlInclude.C: remove unneeded header files.
567 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
569 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
571 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
573 * Dialog.h: make view() public. Add dialog() methods.
575 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
577 * ControlGraphics.C: removed #include "converter.h"
579 * ControlSendto.C: added #include "format.h"
581 2003-02-27 Angus Leeming <leeming@lyx.org>
583 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
585 * Makefile.am: add the new files.
587 2003-02-27 Angus Leeming <leeming@lyx.org>
589 * ControlBibitem.C (c-tor):
590 * ControlBibtex.C (c-tor):
591 * ControlCitation.C (c-tor):
592 * ControlIndex.C (c-tor):
593 * ControlRef.C (c-tor):
594 * ControlToc.C (c-tor):
595 * ControlUrl.C (c-tor):
596 pass "name" to ControlCommand c-tor,
599 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
602 * ControlERT.C (dispatchParams): use "name" rather than a
605 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
607 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
609 2003-02-21 Angus Leeming <leeming@lyx.org>
612 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
614 * ControlBibitem.[Ch]:
615 * ControlBibtex.[Ch]:
616 * ControlCitation.[Ch]:
617 * ControlCommand.[Ch]:
622 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
623 individual controllers too.
624 Move 'apply' code into the LyX kernel.
626 * ControlConnections.C: temporary renaming of Dialogs::signals.
628 * Makefile.am: add new files.
630 2003-02-21 Angus Leeming <leeming@lyx.org>
632 * ControlBibtex.C (Browse):
633 * ControlExternal.C (Browse):
634 * ControlGraphics.C (Browse):
635 * ControlInclude.C (Browse):
636 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
638 * ControlPrint.C (Browse):
639 don't pass a LyXView & to browseFile et al.
640 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
641 don't pass a LyXView & to fileDlg.
643 2003-02-17 John Levon <levon@movementarian.org>
645 * ControlDialog.tmpl: build dialog before calling setParams
646 for the benefit of ControlSpellchecker
648 * ControlSpellchecker.h:
649 * ControlSpellchecker.C: rework. Lots of bugs fixed and
652 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
654 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
655 of available *.bib-files from bibFiles.lst).
657 * tex_helpers.C (getTexFileList): sort and dis-duplicate
658 listWithoutPath correctly.
660 2003-02-08 John Levon <levon@movementarian.org>
663 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
665 2003-02-08 John Levon <levon@movementarian.org>
669 * ControlChanges.C: add merge changes dialog
672 * ControlPrefs.C: add setCurrentAuthor()
674 2003-01-31 Angus Leeming <leeming@lyx.org>
676 * ViewBase.h: add an isVisible() pure virtual method.
678 * ControlTabular.C (updateInset): don't build the dialog here.
679 Instead, do nothing if the dialog is invisible.
681 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
683 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
685 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
687 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
689 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
691 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
695 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * several files: ws changes
699 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * ControlDocument.C (classApply): use boost.format
703 2002-11-29 Angus Leeming <leeming@lyx.org>
705 * ControlButtons.h (isClosing): make it public, so that the view can
707 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
710 * ControlPrefs.[Ch] (OKButton): removed.
712 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
713 dialog isClosing(). (Ie, if the "save" button has been pressed.)
715 2002-11-28 John Levon <levon@movementarian.org>
717 * ControlSpellchecker.C: fix Lars' broken cleanup
719 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
721 * ControlTabular.[Ch]: Add isMulticolumnCell
723 2002-11-27 Angus Leeming <leeming@lyx.org>
725 * ControlMath.C (ControlMath): initialise active_.
727 2002-11-25 Angus Leeming <leeming@lyx.org>
729 * ControlDialog.h (hide, update): move from protected to public.
731 * ControlMath.[Ch]: add controllers for the main math panel dialog and
732 for any daughter dialogs stored by the main panel.
734 2002-11-21 Angus Leeming <leeming@lyx.org>
736 * ControlDocument.[Ch] (classApply): no longer returns bool.
737 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
739 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
741 * biblio.C (getAbbreviatedAuthor): use boost::format
743 * ControlSpellchecker.C (clearParams): use boost::format
745 2002-11-20 John Levon <levon@movementarian.org>
747 * ControlMath.C: couple more manglings
749 2002-11-20 John Levon <levon@movementarian.org>
752 * ControlMath.C: add find_xpm mangler
754 2002-11-17 John Levon <levon@movementarian.org>
756 * helper_funcs.C and users: specify save/open in file dialog
758 2002-11-15 John Levon <levon@movementarian.org>
761 * ControlPrefs.C: use setParams()
763 2002-11-15 John Levon <levon@movementarian.org>
765 * ControlButtons.h: make OKButton() virtual for prefs
768 * ControlPrefs.C: updates for xforms port to MVC
772 * ControlTabular.C: add simple MVC port
774 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
776 * ControlInclude.C: fix file format masks for qt's use
778 2002-11-13 John Levon <levon@movementarian.org>
782 * ControlPrefs.C: add skeleton controller
784 2002-11-12 John Levon <levon@movementarian.org>
786 * biblio.C: fix warnings
788 2002-11-12 Angus Leeming <leeming@lyx.org>
790 * ControlSpellchecker.C (check): fix crash
791 * biblio.C (escape_special_chars): simplify BRE.
793 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
795 * ControlDocument.[Ch]: Remove unused method
797 2002-11-07 Angus Leeming <leeming@lyx.org>
799 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
800 * clean-up the search code in biblio.C.
802 2002-11-07 John Levon <levon@movementarian.org>
804 * ControlGraphics.C: QGraphics fixes
806 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
808 * ControlDocument.C: (SaveAsDefault) make it work.
809 fix buffer update on class change
811 2002-11-06 Angus Leeming <leeming@lyx.org>
813 * biblio.C (searchKeys and helper functions): rewritten entirely
814 using the STL. Boost::regex searching now works as the old 1.2 code
817 2002-11-06 Angus Leeming <leeming@lyx.org>
819 * biblio.C: clean-up of the code. No change in functionality.
821 2002-11-04 Angus Leeming <leeming@lyx.org>
823 * ControlGraphics.[Ch] (getUnits): moved out of class and into
824 frnt::getBBUnits(). Code cleaned also.
826 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
828 * biblio.C (regexSearch): STRCONV
831 * ControlAboutlyx.C (getVersion): STRCONV
833 * ControlMath.C: include config.h
835 2002-10-31 John Levon <levon@movementarian.org>
838 * ControlGraphics.C: bb units from Herbert
840 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
842 * ControlParagraph.[Ch] (alignDefault): new method, returning the
843 default alignment (block, left, right, center) of this paragraph.
845 2002-10-25 John Levon <levon@movementarian.org>
847 * ControlPrint.C: using endl
849 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
851 * ControlPrint.[Ch]: move code here from Liason.[Ch].
853 * ControlSpellchecker.h (getCount): new method.
854 * ControlSpellchecker.[Ch]: constify some accessor methods.
856 2002-10-22 Angus Leeming <leeming@lyx.org>
858 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
859 alphabetical order once again.
861 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
862 Add a list of CheckedWidget ptrs to ButtonControllerBase
863 together with methods addCheckedWidget and checkWidgets to use it.
865 * ButtonController.tmpl (refresh): use the return value of
866 checkWidgets to control the activation state of the Ok, Apply, Restore
869 * ControlDialog.tmpl (show, update):
870 * ControlInset.tmpl (showInset, update):
871 invoke ButtonController::refresh to ensure that the activation state of
872 the Ok, Apply buttons reflects the valid-state of the widgets.
874 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
876 * tex_helpers.C (rescanTexStyles): don't pop p
879 * ControlWrap.C (WrapParms): remove initialization of placement,
880 and move empty c-tor to .h class def.
882 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
883 of on stringsteam, return void. Get the file into the stream as
886 * ControlPreamble.[Ch] (params): getter and setter for params_, make
887 params_ into a string, not just a pointer to string.
889 * ControlExternal.C (getTemplateNumber): put i into the for scope,
890 and use the sequence operator on the last for "parameter"
891 (getTemplate): use std::advance to advance the iterator.
893 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
894 instead of on a stringstream, return void. Get the file into the
895 stream as fast as possible.
896 (getVersion): use ostringstream
898 * lots of files: ws changes, formatting fixes
900 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * ControlCharacter.C (apply): setMinibuffer change
903 * ControlDocument.C (apply): ditto
905 * ControlThesaurus.C (replace): ditto
906 * ControlSearch.C (find): ditto
908 * ControlPreamble.C (apply): ditto
909 * ControlParagraph.C (apply): ditto
911 2002-10-14 André Pönitz <poenitz@gmx.net>
913 * ControlDocument.C: somebody else's fix for a hard lockup
915 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
919 * Makefile.am: New document parameters controller
921 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
925 2002-09-24 Angus Leeming <leeming@lyx.org>
927 * ControlConnections.h: remove trailing whitespace.
929 * biblio.h: #include "LString.h".
931 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
933 * ControlGraphics.C: Change GUI origin strings into proper English.
935 2002-09-09 John Levon <levon@movementarian.org>
937 * ControlInclude.C: fix file masks. Get rid of noload,
938 remove stupid warning
940 2002-09-09 John Levon <levon@movementarian.org>
943 * ControlMath.C: add latex_deco
945 2002-09-06 John Levon <levon@movementarian.org>
947 * ControlMath.C: terminate dots
949 2002-09-05 Angus Leeming <leeming@lyx.org>
951 * all files: modify the headers as discussed on the list.
953 2002-08-30 John Levon <levon@movementarian.org>
956 * ControlMath.C: moved from MathsSymbols.C
958 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
960 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
962 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
964 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
965 first item in the list
967 2002-08-15 Angus Leeming <leeming@lyx.org>
969 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
971 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
973 2002-08-15 Angus Leeming <leeming@lyx.org>
975 * lots: changed my email address to leeming@lyx.org.
977 * GUI.h: return it to private derivation from boost::noncopyable.
979 2002-08-14 Angus Leeming <leeming@lyx.org>
981 * GUI.h: public derivation from boost::noncopyable.
983 2002-08-14 Angus Leeming <leeming@lyx.org>
985 * GUI.h: class GUI deries from boost::noncopyable
987 * ControlButtons.h: no longer derives from DialogBase, but instead
988 derives directly from boost::noncopyable.
990 * ViewBase.h: derives from boost::noncopyable.
992 * ControlCharacter.C:
994 * ControlConnections.C:
997 * ControlParagraph.C:
1001 * ControlSpellchecker.C:
1003 * ControlThesaurus.C:
1004 rearrange #includes. Remove unnecessary ones.
1006 * ControlError.h: add "insets/inseterror.h".
1008 * helper_funcs.h: add necessary #includes.
1010 * tex_helpers.[Ch]: add #pragma directives for g++.
1012 * Makefile.am: remove src/frontends from -I list to compiler.
1014 2002-08-13 Angus Leeming <leeming@lyx.org>
1016 * ControlConnections.C:
1018 changes due to the changed LyXView interface that now returns references
1019 to member variables not pointers.
1021 2002-08-12 Angus Leeming <leeming@lyx.org>
1023 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
1024 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
1025 for the most commonly accessed core methods, to minimise code
1028 * many files: use these wrappers and remove associated #includes.
1030 2002-08-12 Angus Leeming <leeming@lyx.org>
1032 * ControlButtons.[Ch] (bc, view): no longer virtual.
1033 (setView, setButtonController): new methods, invoked by GUI.
1035 * ControlDialog.h (show):
1036 * ControlInset.h (createInset, showInset): make public, so that GUI can
1039 * GUI.h: GUI now contains a controller, rather than deriving from it.
1040 remove all those friend functions since we can now access the show,
1041 createInset, showInset controller methods.
1043 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
1046 * character.h: #include a couple of STL files.
1048 2002-08-08 John Levon <levon@movementarian.org>
1050 * ControlCommandBuffer.C: LyXAction cleanup
1052 2002-08-07 John Levon <levon@movementarian.org>
1054 * ControlSpellchecker.C: fix crash when spellchecker doesn't
1057 2002-08-06 John Levon <levon@movementarian.org>
1059 * ControlSpellchecker.C:
1060 * ControlSpellchecker.h: use WordLangTuple
1062 2002-08-06 John Levon <levon@movementarian.org>
1064 * ControlSpellchecker.C: show an alert with the
1065 error message on initialisation failure
1067 2002-08-04 John Levon <levon@movementarian.org>
1069 * ControlSpellchecker.h:
1070 * ControlSpellchecker.C: some cleanups
1072 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
1074 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
1076 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
1077 the Dialogs::updateParagraph signal is emitted.
1079 2002-08-02 Angus Leeming <leeming@lyx.org>
1081 * ControlCharacter.C (apply):
1082 * ControlERT.C (applyParamsToInset):
1083 * ControlParagraph.C (apply):
1084 * ControlSearch.C (find, replace):
1085 * ControlThesaurus.C (replace): changes due to LyXView::view() now
1086 returning a boost::shared_ptr.
1088 2002-08-01 John Levon <levon@movementarian.org>
1090 * ControlSendto.C: writeFile() change
1092 2002-08-01 John Levon <levon@movementarian.org>
1094 * ControlSpellchecker.h:
1095 * ControlSpellchecker.C: remove options
1097 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * several files: strip,frontStrip -> trim,ltrim,rtrim
1101 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * biblio.C (parseBibTeX): modify because of strip changes
1105 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1107 * ControlFloat.[Ch]: Implement Wide Float toggle
1108 Replace "allow_here_definitely" by "wide"
1110 2002-07-22 Herbert Voss <voss@lyx.org>
1112 * ControlGraphics.C: small changes
1114 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1116 * ControlToc.C: remove getType
1118 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1120 * ControlCommandBuffer.C: don't add "" to history
1122 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1124 * ControlRef.C: fix dispatch call nicely
1126 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1129 * ControlCommandBuffer.h:
1130 * ControlCommandBuffer.C: add controller for command (mini) buffer
1133 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1135 * ControlRef.C: fix dispatch call
1137 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1139 * ControlCharacter.C: use view_state_changed not setState
1141 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1143 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
1145 2002-07-15 Mike Fabian <mfabian@suse.de>
1147 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
1148 of compare_no_case, because in turkish, 'i' is not the lowercase
1149 version of 'I', and thus turkish locale breaks parsing of tags.
1151 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1153 * ControlBibtex.C (applyParamsToInset): ws change
1155 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1157 * ControlInclude.C: Add warning if absolute path name and
1158 check_typeset is used together
1160 2002-06-28 Angus Leeming <leeming@lyx.org>
1162 * ControlGraphics.C: changes associated with the name changes
1163 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
1165 2002-06-25 Angus Leeming <leeming@lyx.org>
1167 * ControlGraphics.C (readBB): Channges associated with the changed
1168 interface to the graphics cache.
1170 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1172 * ControlParagraph.C: layout as layout
1174 2002-06-21 Angus Leeming <leeming@lyx.org>
1176 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
1177 * tex_helpers.h: #include "LString.h".
1179 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1182 * ControlBibitem.C: use repaint()
1184 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1186 * ControlTexinfo.C: do the same for Texinfo
1188 * tex_helpers.C: don't try to read a file that isn't there
1190 2002-06-21 Herbert Voss <voss@perce.de>
1192 * ControlBibtex.C: do an automatic update, when no bst-list
1195 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1197 * GUI.h: createIndex() changed
1199 2002-06-18 Herbert Voss <voss@perce.de>
1201 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
1202 helperstuff. Now the bibtex gui can use some of these functions
1204 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1206 * ControlGraphics.C: just make the mask *.*
1208 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1210 * changes to simplify function setup, removal of a lot of includes.
1212 2002-06-12 Angus Leeming <leeming@lyx.org>
1214 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
1216 2002-06-12 Angus Leeming <leeming@lyx.org>
1218 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
1220 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
1222 * ControlParagraph.[Ch]: new paragraph controller
1223 * GUI.h: add new controller
1224 * Makefile.am: ditto
1226 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1228 * GUI.h: do not include ButtonController.tmpl
1230 * ControlInset.h: include ControlInset.tmpl
1232 * ControlCitation.C: do not include ControlInset.tmpl
1233 * ControlCommand.C: ditto
1234 * ControlERT.C: ditto
1235 * ControlError.C: ditto
1236 * ControlExternal.C: ditto
1237 * ControlFloat.C: ditto
1238 * ControlGraphics.C: ditto
1239 * ControlInclude.C: ditto
1240 * ControlMinipage.C: ditto
1242 * ControlDialog.tmpl: remove the Base:: prefix
1244 2002-06-07 Angus Leeming <leeming@lyx.org>
1246 Fixes needed to compile with Compaq cxx 6.5.
1247 * ControlDialog.tmpl: I have had to prefix base class methods with
1250 * ControlInset.tmpl: #include a couple of headers.
1252 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1254 * switch from SigC signals to boost::signals
1256 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1258 * biblio.h: include vector
1260 * biblio.C: change include order
1261 (regexSearch): use boost regex and get rid of LRegex
1263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1265 * ControlAboutlyx.C:
1268 * ControlCharacter.C:
1269 * ControlCitation.C:
1271 * ControlConnections.C:
1274 * ControlExternal.C:
1277 * ControlGraphics.C:
1281 * ControlMinipage.C:
1282 * ControlPreamble.C:
1287 * ControlShowFile.C:
1288 * ControlSpellchecker.C:
1289 * ControlTabularCreate.C:
1291 * ControlThesaurus.C:
1294 * ControlVCLog.C: LyXView moved into frontends
1296 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1298 * ControlExternal.C: add scoped_ptr.hpp
1300 * ControlCharacter.h: use more specific smart_ptr header.
1302 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
1304 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
1306 2002-05-13 Herbert Voss <voss@perce.de>
1308 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
1309 like "Odland, G. and ... "
1310 (parseBibTeX): fix bug with title and booktitle
1311 and replace a \n with a space when one entry has more than
1314 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1316 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
1317 "No change" and "Reset".
1319 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
1320 them at the front of the list.
1322 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1324 * ControlGraphics.C: add some comments to the char * arrays.
1325 Make rorigin_size const.
1327 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1329 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
1330 Enables the gui's to internationalise these strings.
1332 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
1334 * frnt_lang.C: fix build
1336 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1338 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
1339 If the the caller is the character dialog, add "No change" and "Reset"
1340 to the vector, else don't.
1341 Internationalise the GUI strings here rather than in the different
1343 Sort the translated strings, albeit simply.
1345 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
1347 * character.[Ch]: rename namespace character as namespace frnt.
1349 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
1350 as several dialogs will use this info. The function now returns a
1351 vector<LanguagePair> where LanguagePair is a display string and an
1352 identifying string. The display string is internationalised.
1354 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
1355 the identifying strings, "No change" and "Reset".
1357 * Makefile.am: add frnt_lang.[Ch].
1359 2002-04-25 Herbert Voss <voss@lyx.org>
1361 * ControlSendto.C (allFormats): don't add the graphics extensions to the
1364 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1366 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
1367 BibTeX databases in a WYSIWYM way.
1369 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1371 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
1372 way past his use-by date.
1373 Make use of the improved info from Buffer::getBibkeyList when using
1374 \bibliography. Enables us to provide natbib support in this case too.
1376 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
1378 * ControlGraphics.C: pass the browseFile dialog a string of only those
1379 formats that can currently be loaded by LyX.
1381 2002-04-15 Herbert Voss <voss@perce.de>
1383 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
1384 with something like ,,...blah...`` (two commas)
1386 2002-04-14 Herbert Voss <voss@perce.de>
1388 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
1389 into the support/lstrings for better use in other programs.
1391 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
1392 namespace anon and make globally accessible.
1393 (familyName): test for the presence of a LaTeX Space at the front of
1394 of a name; strip it if it exists.
1396 2002-04-11 Herbert Voss <voss@perce.de>
1398 * ControlGraphics.C: expand "browse-string" to all available formats
1400 2002-04-11 Herbert Voss <voss@perce.de>
1402 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
1404 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
1406 * ControlAboutlyx.C (getVersion): two _() forgotten
1408 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
1410 * ControlGraphics.C:
1412 * ControlBibtex.C: make N_() be _()
1414 2002-04-07 Herbert Voss <voss@perce.de>
1416 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
1418 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
1420 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
1421 used when reading the BB.
1423 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
1425 * ControlGraphics.C (readBB): Don't open the ifstrem and then
1426 check the format from the contents (and open a second ifstream in the
1427 process. One at a time please.
1429 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1431 * ControlRef.C (getBufferNum): squash warning message.
1433 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1435 * ControlBibtex.C (Browse):
1436 * ControlGraphics.C (Browse):
1437 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
1439 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
1441 * ControlGraphics.C (applyParamsToInset): pass filepath to
1442 InsetGraphics::updateInset.
1444 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1446 * most files: ws cleanup
1448 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1450 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
1453 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
1455 * ControlGraphics.C:
1456 * ControlInclude.C: better error messages
1458 2002-03-11 Herbert Voss <voss@lyx.org>
1460 * biblio.C (parseBibTeX): fix another minibug with an
1463 2002-03-10 Herbert Voss <voss@lyx.org>
1465 * biblio.C (parseBibTeX): fix bug
1466 (familyName): improve parsing
1468 2002-03-09 Herbert Voss <voss@lyx.org>
1470 * ControlGraphics.[Ch]: adding checkFilename() for testing
1471 of non-existing files
1473 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1475 * ControlSendto.C (allFormats): fix a iterators are not pointers
1478 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
1480 * ControlShowFile.h: add a #include "LString.h"
1482 2002-03-05 Herbert Voss <voss@lyx.org>
1484 * biblio.C (getInfo): simplify if using paragraph layout
1487 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1489 * biblio.C (getInfo): return the info field correctly if the key
1490 is not a BibTeX one.
1491 (parseBibTeX): fix crash when data.find('=') returns string::npos.
1493 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1495 * ControlForks.[Ch]: new files. A controller for the Forked Child
1496 processes dialog, enabling the user to see what forked processes
1497 are running, and, if he so desires, to kill them.
1499 * GUI.h: add class GUIForks.
1501 * Makefile.am: add ControlForks.[Ch].
1503 * ControlGraphics.C (getParams): small change due to change in
1506 2002-02-21 Herbert Voss <voss@lyx.org>
1508 * biblio.C: fix bug with commentlines in a bibentry
1510 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1512 * Makefile.am: simpler obj. file compile
1514 2002-02-18 Herbert Voss <voss@lyx.org>
1516 * ControlGraphics.[Ch]: remove help-file call
1518 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1520 * helper_funcs.h: wrap the structs firster and seconder up in a
1521 namespace to avoid clashes with those in lyxalgo,h.
1523 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1524 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1526 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1528 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1531 change Systemcalls::System to Systemcalls::Wait and
1532 No change of functionality, just reflects the stripped down Systemcalls
1535 2002-02-06 Herbert Voss <voss@lyx.org>
1537 * ControlGraphics.[C] (readBB): search also in
1538 g'zipped files. If it is useful than PK and compress
1539 should also be supported. use unzipFile() from
1542 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1544 * ControlRef.C (getBufferName): new method to get a real buffer
1547 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1549 * ControlTexInfo.[Ch]: Removed Help functions.
1551 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1553 * ControlSpellchecker.C: clear any selection left
1556 2002-02-01 Herbert Voss <voss@lyx.org>
1558 * ControlGraphics.[C] (readBB): search only, if it is a
1559 ".?ps" file and look for bb's at end of file
1561 2002-01-30 Herbert Voss <voss@lyx.org>
1563 * ControlGraphic.[C]: do not search the whole file, when
1566 2002-01-29 Herbert Voss <voss@lyx.org>
1568 * ControlGraphic.[C]: added a button for document path
1569 when browsing -> bug 222
1571 2002-01-27 Herbert Voss <voss@lyx.org>
1573 * ControlGraphic.[Ch]: added support for Bounding Box, other
1576 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1578 * ControlAboutlyx.h:
1579 * ControlTexinfo.h: added #include "LString.h" where they belong.
1581 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1583 * ControlCitation.C:
1584 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1586 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1588 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1591 2002-01-20 Herbert Voss <voss@perce.de>
1593 * ControlInclude.[Ch]: better control of unexistings files
1594 when entered without the browser
1596 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1599 2002-01-19 Herbert Voss <voss@perce.de>
1601 * biblio.C (getInfo): fix bug when no author is given
1603 * biblio.C (parseBibTeX): change the parsing, so that
1604 '#'-characters in a bibtex entry are no more a problem.
1606 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1608 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1609 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1611 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1613 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1615 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1617 * ControlExternal.C (Browse): add a std:: qualifier
1619 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1621 * ControlExternal.C (Browse): simplify to use browseRelFile
1623 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1625 * ButtonController.tmpl: added // -*- C++ -*-
1627 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1628 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1629 Needed in _one_ of the ControlCommand-derived classes only.
1631 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1634 * ControlSearch.h: #include LString.h
1636 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1638 * ButtonController.h: split into two. The definition remains in
1639 ButtonController.h, the declaration is now in ButtonController.tmpl.
1640 These template methods should be #included when the derived class is
1641 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1642 and in the qt2 and gnome equivalents.
1644 * ControlDialogs.h: removed. The definition of class ControlDialog is
1645 now to be found in ControlDialog.h and the declaration of the methods
1646 is in ControlDialog.tmpl. The two template instantiations are performed
1647 in ControlDialog_impl.[Ch], new files also.
1649 * ControlInset.h: split into two. The definition remains in
1650 ControlInset.h, the declaration is now in ControlInset.tmpl.
1651 These template methods should be #included derived class is
1652 instantiated, in this case in 8 other .C files in this directory.
1654 * ControlAboutlyx.[Ch]:
1655 * ControlCharacter.[Ch]:
1659 * ControlExternal.C:
1661 * ControlGraphics.C:
1664 * ControlMinipage.C:
1665 * ControlPreamble.[Ch]:
1666 * ControlPrint.[Ch]:
1667 * ControlSearch.[Ch]:
1668 * ControlShowFile.[Ch]:
1669 * ControlSpellchecker.[Ch]:
1670 * ControlTabularCreate.[Ch]:
1671 * ControlTexinfo.[Ch]:
1672 * ControlThesaurus.[Ch]:
1673 * ControlVCLog.[Ch]: small changes associated with the above ones.
1675 * GUI.h: #include the ButtonController and dialog controller files
1676 here, rather than forward declare them. This is the correct place
1677 for these #includes.
1679 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1680 Rename ControlDialogs.h as ControlDialog.h.
1681 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1684 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1686 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1688 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1690 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1693 * ControlGraphics.C (Browse): remove overzealous shortcut
1695 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1697 * FormMinipage.C (apply, update): MinipageParams::width renamed
1698 as MinipageParams::pageWidth. InsetMinipage::width renamed
1699 as InsetMinipage::pageWidth.
1701 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1703 * ButtonController.h (refreshReadOnly): use explicit typename
1705 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1707 * helper_funcs.h (browseFile): add default empty button descriptions.
1709 * ControlGraphics.C (Browse):
1710 * ControlBibtex.C (Browse):
1711 * ControlInclude.C (Browse): add shortcuts to directory buttons
1713 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1715 * ControlThesaurus.h:
1716 * ControlThesaurus.C: update to Aiksaurus 0.14
1718 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1720 * ControlSpellchecker.C (clearParams): show the closing message
1721 only if some words have been checked, thereby fixing
1724 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1726 * ControlFloat.[Ch]: changes to prevent here definitely being used
1729 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1731 * ControlThesaurus.h: do not include <config.h> in header files
1733 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1735 * ControlToc.C: changes for floatlist
1737 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1739 * ControlVCLog.C: use _()
1741 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1743 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1746 2001-10-22 Juergen Vigna <jug@sad.it>
1748 * ControlSpellchecker.C (clearParams): use the error_ message of the
1749 speller_ if available when the spellchecker died.
1750 (setParams): remove double error message display.
1752 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1754 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1756 * helper_funcs.[Ch] (getLatexUnits): see above.
1758 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1760 * ControlTexinfo.C (getContents): use the right file for .sty files
1762 2001-10-10 Herbert Voss <voss@perce.de>
1764 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1765 and some more stuff from FormTexinfo.C
1767 * ControlShowFile.C: hiding the update-button
1769 2001-10-09 Herbert Voss <voss@perce.de>
1771 * ControlTexinfo.[Ch]: new files. Display information about the
1772 installed texfiles (cls,sty,bst).
1774 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1776 * GUI.h: added classes GUIShowFile and GUITexinfo.
1778 * Makefile.am: modified appropriately.
1780 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1782 * ControlAboutlyx.C (getVersion): use lyx_version and
1783 lyx_release_date instead of old macros
1785 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1787 * ControlSpellchecker.C (check): Behaves well now when the spell
1788 library doesn't know a replacement to an incorrect word.
1790 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1792 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1793 the correct place. Can now check spelling more than once!
1795 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1797 * ControlSplash.[Ch]: removed.
1799 * GUI.h: remove GUISplash class.
1801 * ViewBase.h: remove ViewSplash class.
1803 * Makefile.am: remove ControlSplash.[Ch].
1805 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1807 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1808 view will be shut down.
1811 * ControlInset.h: act on emergency_exit_.
1813 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1814 speller fails to launch.
1816 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1818 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1819 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1821 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1823 * ControlRef.h (disconnectOnApply): new method. Set to true.
1824 Perhaps make this user-modifiable?
1826 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1828 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1831 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1833 * ControlRef.C (getBufferList, getBufferNum): New methods
1835 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1837 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1838 of the dialog when the Apply button is pressed. Defaults to false,
1839 but can be overridden in the daughter classes.
1841 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1842 Perhaps make this user-modifiable?
1844 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1846 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1847 we have dialogs that update their contents when the buffer changes.
1848 Rather embarassing, really!
1850 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1852 * ControlSearch (replace): change semantics of replace to NOT move on
1853 to the next instance of a word once the present instance has been
1854 replaced unless we are replacing ALL instances of the word.
1856 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1858 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1860 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1862 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1863 dialog, set all options to "reset", close the dialog, re-open it ->
1864 the options are set incorrectly.
1866 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1867 When Applying it's useful to know whether the dialog is about to close
1868 or not (no point refreshing the display for example).
1870 * ControlInset.C (apply): use isClosing.
1872 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1875 * ControlDialogs.h: remove bc() hack, now fixed in
1876 Qt2 frontend. use member dialog_built_ instead of shared
1879 * ButtonController.h:
1880 * ButtonPolicies.C: more debug info
1882 * ButtonControllerBase.C: call refresh() when setting readOnly !
1884 * GUI.h: External form has apply, use the right policy
1886 * character.C: fix two off-by-one errors when latex font was removed
1888 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1890 * ControlInset.h (apply): tentative fix for the press Apply multiple
1891 times and get multiple new Insets problem.
1893 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1895 * ControlCharacter.C: fix typo
1899 * ControlInsets.C: make sure dialog is built before it is shown, so
1900 it works properly the very first time it is shown
1902 2001-08-20 Herbert Voss <voss@perce.de>
1904 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1905 and styles. Added an option for "bibliography into toc"
1907 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1909 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1910 LaTeX is no longer a font property.
1912 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1914 * GUI.h: Button controller for Reference dialog changed to
1915 NoRepeatedApplyReadOnlyPolicy.
1917 * biblio.C (getInfo): output volume and number info. Move year to end
1920 2001-08-09 Allan Rae <rae@lyx.org>
1922 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1924 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1926 * helper_funcs.C (getVectorFromString): fixed small bug.
1928 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1930 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1932 * ControlSpellchecker.C: check next word after insert in personal dict
1934 2001-08-06 Juergen Vigna <jug@sad.it>
1936 * ControlERT.[Ch]: new file
1938 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1940 * ControlInset.h: const and non-const forms of params().
1942 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1943 whitespace from either side of each item.
1945 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1947 * ControlFloat.h: add a != operator for FloatParams.
1948 Lars, how did you get this to compile!!!
1950 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1951 operator != for MinipageParams. Who's changing stuff and not compiling?
1953 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1955 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1958 * GUI.h: add class GUIFloat
1960 * ControlFloat.[Ch]: new files
1962 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1964 * ControlPrint.C: #include Lassert.h here.
1966 2001-07-26 Baruch Even <baruch@lyx.org>
1968 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1971 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1973 * ControlThesaurus.h:
1974 * ControlThesaurus.C:
1976 * Makefile.am: thesaurus support
1978 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1981 * ControlInclude.C: implement ability to load file
1983 2001-07-18 Juergen Vigna <jug@sad.it>
1985 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1987 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1989 * biblio.C (getInfo): add a .c_str() to handle the usual
1992 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1994 * ControlCitation.[Ch]: changes associated with adding natbib support.
1995 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1996 New static variable citeStyles_.
1998 * biblio.[Ch]: large internal rearrangement.
1999 New public enum CiteStyle.
2000 New public struct CitationStyle.
2001 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
2002 getNumericalStrings, getAuthorYearStrings
2003 (simpleSearch, regexSearch): no longer publicly accessible.
2005 * helper_funcs.C (getStringFromVector): bug fix.
2007 2001-07-16 Baruch Even <baruch@lyx.org>
2009 * ControlVCLog.h: Added Lsstream.h to includes.
2011 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
2013 * ControlSpellchecker.[Ch]: remove d-tor.
2015 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2017 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
2019 2001-07-16 Juergen Vigna <jug@sad.it>
2021 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
2022 compiled with USE_PSPELL) to be able to switch between ISpell and
2025 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2027 Consistent use of Lsstream.h:
2028 * ControlAboutlyx.[Ch] (getCredits):
2029 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
2031 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2033 * ControlCredits.[Ch]: removed
2034 * ControlCopyright.[Ch]: removed
2035 * ControlAboutlyx.[Ch]: added (replaces previous)
2036 * GUI.h: removed credits and copyright added about lyx stuff
2038 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2040 * ControlSpellchecker.C (getSuggestion):
2041 (getWord): add std:: qualifier
2043 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2045 * ControlSpellchecker.[Ch]: added
2046 * ViewBase.h: added partialUpdate(int) member
2047 * GUI.h: added spell stuff
2049 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2051 * ControlExternal.C: (*it). -> it->
2053 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
2055 * ButtonController.h: move some included header files out of the
2056 frontends and into here.
2058 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2060 * ControlCharacter.C (c-tor): cosmetic name change of signal.
2062 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
2064 * *.[h]: added // -*- C++ -*-
2065 * *.[C]: removed // -*- C++ -*-
2067 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
2068 activate Apply button.
2069 (clearParams): removed.
2070 font_ is now stored as a boost::scoped_ptr.
2071 font_ is no longer deleted on hide(), so it's contents can now be used
2072 by the Font button on the toolbar.
2073 Lots of new methods so that the GUI can easily get the contents of
2074 font_ when it update()s.
2076 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2078 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
2079 crash when the Font button on the Toolbar is pressed.
2081 * GUI.h: change policy of Character button controller to
2082 OkApplyCancelReadOnlyPolicy.
2084 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2086 * ControlToc.C (getContents): don't add anything to the list if it
2087 is supposed to be empty.
2089 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
2091 * helper_funcs.C (getVectorFromString): bug fix.
2093 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
2095 * ButtonController.h
2096 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
2097 from ButtonControllerBase::readOnly. Updates the state of the widgets
2098 in the read-only list only when the read-only status of the document
2100 (refresh): moved this stuff into refreshReadOnly.
2102 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
2104 * ControlPrint.C (c-tor):
2105 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
2107 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
2110 * character.h: small clean-ups.
2112 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2114 * ControlToc.C (getType): remove support for old float list.
2116 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2118 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
2119 * ControlGraphics.h: no longer include insetgraphicsParams.h
2120 * ControlInset.h: no longer include LyXView.h
2125 * ControlCharacter.C:
2126 * ControlCitation.C:
2128 * ControlConnections.C:
2129 * ControlCopyright.C:
2132 * ControlExternal.C:
2133 * ControlGraphics.C:
2136 * ControlMinipage.C:
2137 * ControlPreamble.C:
2141 * ControlTabularCreate.C:
2143 * ControlVCLog.C: they're now in here!
2145 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2147 * ButtonControllerBase.h: C++ mode, inherit privately from
2149 * ButtonPolicies.h: ditto
2151 * ButtonController.h: C++ mode, swap init order of restore_ and
2154 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2156 * ControlTabularCreate.h:
2157 * ControlTabularCreate.C: make dialogs use a pair of uints
2161 * ControlVCLog.C: fill a stringstream with the log contents
2164 * ControlExternal.C: from Angus, clone the new InsetExternal
2167 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
2169 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
2170 and made more robust.
2172 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2177 * ControlPreamble.C:
2179 * ControlGraphics.C:
2180 * ControlExternal.C:
2181 * ControlCopyright.C: include gettext.h
2183 * ControlCharacter.C:
2184 * character.C: include gettext.h and language.h
2186 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
2188 * ButtonController.h:
2189 * ButtonControllerBase.h:
2190 * ButtonControllerBase.C:
2197 * ControlConnections.h:
2200 * ControlExternal.C:
2203 * ViewBase.h: s/ControlButton/ControlButtons/
2205 s/UndoAll/Restore/ + associated
2207 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2209 * ControlToc.[Ch]: new files; a controller for the TOC popup.
2212 * Makefile.am: associated changes with all of the above.
2214 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2216 * ControlExternal.C: bug fixes. Can now apply changes to the inset
2217 and edit, view, update the External Material correctly. I hope!
2219 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2221 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
2223 * BCTemplates.h: renamed as ButtonController.h
2225 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
2228 * ControlConnections.h: associated change in #include and class names.
2230 * ControlExternal.[Ch]: new files; a controller for the External
2234 * Makefile.am: associated changes with all of the above.
2236 * ControlGraphics.[Ch]:
2237 * ControlInclude.[Ch]:
2238 * ControlPrint.[Ch]:
2240 (Browse): new method. Returns the results of a FileDialog browse.
2242 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
2243 (getVectorFromString): fixed bug.
2245 * biblio.C (simpleSearch): cleaned up.
2247 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2249 * A slight reworking of Baruch Even's ButtonController patch.
2251 * BCTemplates.h: new file; all the templates for the ButtonController.
2252 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
2253 to the more generic setButtonLabel().
2255 * ButtonController.[Ch]: renamed cancel_label and close_label as
2256 cancel_label_ and close_label_.
2258 * Makefile.am: added BCTemplates.h
2260 2001-03-29 Juergen Vigna <jug@sad.it>
2262 * ControlMinipage.C: removed widthp_ and all it's functions and changed
2263 to use new %-lengths of LyXLength.
2265 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2267 * ControlCitation.C (bibkeysInfo): removed Assert.
2269 * ControlCopyright.h: moved GUICopyright into GUI.h
2273 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2275 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
2276 (setDaughterParams): a (by default empty) new method called in show().
2282 * ControlMinipage.h:
2285 * ControlUrl.h (clearDaughterParams): removed
2287 * ControlMinipage.C (applyParamsToInset): update the view.
2288 Added namespace minipage containing a helper function getUnits.
2290 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
2292 * ControlCharacter.[Ch]: moved out all the helper functions and the
2293 enum into their own file.
2294 * character.[Ch]: new files; contain the character helper functions,
2295 now inside namespace character.
2297 * ControlCitation.[Ch]: moved out all the helper functions and the
2298 enums into their own file. Simplified interface.
2299 * biblio.[Ch]: new files; contain the citation helper functions,
2300 now inside namespace biblio. Will be of use also to an improved
2303 * ControlGraphics.[Ch]:
2304 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
2305 popups, respectively.
2308 * Makefile.am: associated changes.
2310 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2312 * ControlMinipage.[Ch]:
2313 * ControlPreamble.[Ch]:
2314 * ControlPrint.[Ch]:
2315 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
2316 and Print popups and Splash screen, respectively.
2318 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
2322 * Makefile.am: associated changes.
2324 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2326 * ControlConnections.[Ch]: (docType): new method; returns the type
2327 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
2330 * ControlSearch.[Ch]:
2331 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
2332 Search and TabularCreate popups, respectively.
2335 * Makefile.am: associated changes.
2337 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2339 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
2342 * ControlInset.h (apply): fix bug. Can now create new insets again.
2344 * README: describe program flow.
2346 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2348 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
2350 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2352 * ControlDialogs.h: moved class ControlInset into its own file.
2354 * ControlInset.h: new file. class ControlInset has been expanded to take
2355 two template parameters, Inset and Params. Believe that all inset
2356 controllers can be derived from this with the minimum of effort.
2358 * ControlBibitem.[Ch]:
2359 * ControlBibtex.[Ch]:
2360 * ControlCitation.[Ch]:
2361 * ControlCommand.[Ch]: moved most code into ControlInset.
2363 * lots of files. Moved protected stuff into private where possible.
2365 * ControlError.[Ch]:
2366 * ControlInclude.[Ch]:
2367 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
2368 Include and Url popups, respectively.
2371 * Makefile.am: associated changes.
2373 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2375 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
2378 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2380 * ControlCredits.C (getCredits): remove std:: qualifier for
2383 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2385 * ControlCredits.C (getCredits): add std:: on vector
2387 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2389 * ControlCredits.C: remove using that is only used once, use
2390 std::ios instead of std::iosbase, add some annoying comments.
2392 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2394 * lots of header files: improved explanatory notes.
2396 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
2397 ControlBase is now a class that only controls the interaction of the
2398 View with the ButtonController.
2400 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
2401 to ControlConnectBase. The class controls the connection/disconnection
2402 of signals from the LyX kernel and makes available the kernel (through
2403 lv_) to daughter controller classes.
2404 Moved out class ControlConnectInset to a new file ControlDialogs.h.
2406 * ControlDialogs.h: new file. Contains the definition of two template
2407 controller classes, ControlDialog and ControlInset (was
2408 ControlConnectInset). ControlInset is a parent class for controllers
2409 of inset-popups. ControlDialogs is the rather uninspired name for
2410 the base class of all non-inset popups. (Eg, Document and Paragraph.)
2411 ControlDialogs is reaching a state of maturity as several popups now use
2412 it and its functionality becomes clear. ControlInset is still in a state
2413 of flux. It is likely that functionality will be moved out of
2414 ControlCommands and into it.
2416 * GUI.h: new file. Moved all the template GUIXXX classes out of the
2417 individual Controller header files and into one place. These classes
2418 serve only as convenient wrappers to simplify code in the respective
2419 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
2421 * ControlCharacter.[Ch] (show, update, hide):
2422 * ControlLog.[Ch] (show, update, hide):
2423 * ControlVCLog.[Ch] (show, update, hide): moved back into
2424 the ControlDialogs base class.
2425 (setParams, clearParams): new methods containing controller-specific
2426 code to set/reset the parameters manipulated by the view.
2428 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
2430 (hide): calls clearParams.
2432 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
2433 by ControlCommand::hide().
2435 * ControlCopyright.[Ch]:
2436 * ControlCredits.[Ch]: new files; controllers for the copyright and
2437 credits popups, respectively.
2439 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2441 * ControlCharacter.C: fix typo
2443 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
2445 * ControlCharacter.[Ch]: new files; controller for the character popup.
2447 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
2448 moved to new files helper_funcs.[Ch].
2450 * helper_funcs.[Ch]: new files. Some useful helper functions and
2453 * Makefile.am: added new files.
2455 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2457 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
2459 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2462 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
2463 Control log files, respectively.
2465 * Makefile.am: added new files.
2467 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2469 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
2471 * Makefile.am: added ControlBibtex.[Ch].
2473 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2476 * ControlCitation.C: added "using SigC::slot" declaration.
2478 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
2479 to FormCitation.C prior to the merger: "Do not put space between
2482 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2484 * several files: remove CXX_WORKING_NAMESPACES
2486 * ButtonController.h: noncopyable is in namespace boost
2487 * ButtonPolicies.h: ditto
2489 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2491 * Merging changes from BRANCH_MVC back into HEAD.
2493 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2495 * Makefile.am: add ControlBibitem.[Ch].
2497 * ControlBibitem.[Ch]: new files that together define the Controller
2498 for a Bibitem popup.
2500 * ControlCommand.h (c-tor): give kb_action a default value of
2503 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
2505 * ControlCitation.[Ch]: moved search functions out of class.
2506 (bibkeysInfo): new method. Returns const reference to private data.
2507 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2510 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2512 * ControlCitation.[Ch]: added Search functions to the class,
2513 (shamelessly lifted from Marco's gnome code). I think that these would
2514 be better as helper functions outside the class, but this is a first
2517 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2519 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2521 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2522 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2523 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2524 implementation of FormCitation.
2526 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2528 * ButtonPolicies.h: add SMI_NOOP to enum.
2530 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2532 * ButtonController.C (input): add "optimising" if-statement. Actually,
2533 things don't work correctly without it...
2535 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2537 * ViewBase.h: remove #pragma directive
2539 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2542 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2544 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2546 * Makefile.am: added ButtonPolicies.[Ch]
2548 * ButtonController.[Ch]: ButtonController is split into
2549 ButtonControllerBase and a template ButtonController class. The base
2550 class no longer stores a pointer to a ButtonPolicy, but instead
2551 accesses the actual instantiation of the policy through a pure virtual
2552 method bp(). This method and the ButtonPolicy itself are instantiated
2553 in the templatised ButtonController class. This class is derived from
2554 the GUI-specific GUIBC class, meaning that the frontends know
2555 nothing about the actual policy decided upon by the controllers.
2557 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2558 Instead the actual instantiations are accessed through pure virtual
2559 methods view() and bc(). The daughter classes are responsible for the
2560 actual View and ButtonController.
2562 * ControlCitation.h: the templatised class GUICitation instantiates
2563 the methods view() and bc(). It also stores the instances of the
2564 View and ButtonController.
2566 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2568 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2569 also changed to ButtonController.
2572 * ControlConnections.[Ch]:
2573 * ControlCommand.[Ch]:
2574 * ControlCitation.[Ch]:
2575 * ViewBase.h: Changes associated with this.
2577 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2579 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2580 xforms/ButtonController class into a GUI-I class (here) and an
2581 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2583 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2584 from which all Dialog Controllers should be derived. the Controllers
2585 are GUI-independent, but are designed to control the behaviour of
2586 GUI-specific implementaions of each dialog.
2588 * ControlConnections.[Ch]: new files. Classes controlling the
2589 connections of buffer-independent, buffer-dependent and Inset dialogs
2590 with the LyX kernel.
2592 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2593 InsetCommand subset of insets.
2595 * ControlCitation.[Ch]: new files. The test specialisation! A
2596 controller for the Citation dialog.
2598 * ViewBase.h: new file. ViewBase is an abstract base class from which
2599 GUI-specific dialogs should be derived. The functionality that the GUIs
2600 must now implement is much reduced.