1 2003-10-08 Angus Leeming <leeming@lyx.org>
5 * frnt_lang.h: move comment so that doxygen is not confused.
7 2003-10-07 Angus Leeming <leeming@lyx.org>
9 * ControlExternal.[Ch]: InsetExternal::Params -> InsetExternalParams.
10 (getTemplatePtr): removed. Use function in ExternalSupport.
12 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
16 * Makefile.am: The Box patch. Fancybox support, minipage, parbox
18 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
21 * ControlCommandBuffer.h:
24 * tex_helpers.h: add <string> and other small fixes to make Lars'
25 std::string patch compile with STLport.
27 2003-10-01 Angus Leeming <leeming@lyx.org>
29 * ControlExternal.[Ch]: changes due to the introduction of
30 namespace lyx::external.
32 2003-09-25 Angus Leeming <leeming@lyx.org>
34 * ControlExternal.C (getTemplatePtr): simplify, due to change in
35 ExternalTemplateManager interface.
37 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * ControlDocument.C (setParams): fix new bug
41 2003-09-19 Angus Leeming <leeming@lyx.org>
43 * ControlInclude.[Ch]: Store and access the params as an
44 InsetCommandParams, rather than access them as a InsetInclude::Params
45 and store 'em as a boost::scoped_ptr<InsetInclude>.
46 Other clean-ups due to the changes in InsetInclude.
48 2003-09-18 Angus Leeming <leeming@lyx.org>
50 * ControlCommand.C (clearParams): simplify.
52 2003-09-18 Angus Leeming <leeming@lyx.org>
58 * character.h: rename EnumLColor as LColor_color.
60 2003-09-16 Angus Leeming <leeming@lyx.org>
62 * ControlCharacter.C: add #include "LColor.h".
64 2003-09-16 Angus Leeming <leeming@lyx.org>
66 * character.C: add #include "LColor.h".
68 2003-09-15 Angus Leeming <leeming@lyx.org>
70 * ControlCharacter.C (setColor, getColor):
71 pass EnumLColor args, rather than LColor::color ones.
73 * ControlPrefs.C: add #include "LColor.h".
74 * ControlPrefs.h:remove #include "LColor.h".
76 * ControlPrefs.[Ch] (setColor): pass EnumLColor arg, not than LColor::color one.
78 * character.h:remove #include "LColor.h".
79 typedef ColorPair as a std::pair<string, EnumLColor>.
81 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
86 * tex_helpers.C: remove usage of STRCONV
88 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
90 * several files: change Assert to BOOST_ASSERT
92 2003-09-08 Angus Leeming <leeming@lyx.org>
94 * ControlCommandBuffer.C:
98 * tex_helpers.C: remove redundant using directives.
100 2003-09-07 Angus Leeming <leeming@lyx.org>
102 * ButtonController.h:
103 * helper_funcs.h: remove #include "support/std_string.h".
106 * ControlNote.h: remove #include "debug.h".
108 * ControlDocument.h: remove #include <vector>, "support/std_string.h".
110 * ControlErrorList.h:
111 * ControlThesaurus.h: remove #include <vector>.
113 * ControlPrefs.h: remove #include "funcrequest.h", <utility>.
115 * GUI.h: remove #include "BCView.h".
117 * tex_helpers.h: remove #include <utility>.
119 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
122 * frnt_lang.C: re-add missing system headers, needed for 2.95.2.
124 2003-09-05 Angus Leeming <leeming@lyx.org>
126 * GUI.h: ensure that the header file can be compiled stand-alone.
127 * *.C: strip out redundant #includes. (49 in total.)
129 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
131 * most files: change to use const buffer refs.
133 2003-08-16 Martin Vermeer <martin.vermeer@hut.fi>
135 * ControlBranch.[Ch]:
137 * Makefile.am: implements the 'branch
138 inset' idea. This allows the output of various versions of a
139 document from a single source version, selectively outputing or
140 suppressing output of parts of the text.
141 This implementation contains a 'branch list editor' in a separate
142 tab of the document settings dialog. Branches are user definable
143 and have a "display colour" to distinguish them on-screen.
145 ColorHandler was somewhat cleaned up.
146 (1) make possible a dynamically growing LColor list by allowing
147 the graphic context cache to grow along (vector);
148 (2) eliminate an IMHO unnecessary step in colour allocation.
150 2003-08-15 André Pönitz <poenitz@gmx.net>
152 * ControlErrorList.C:
153 * ControlSpellchecker.C: remove toggleSelection
155 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
157 * ControlGraphics.C: rename "XXX baseline" to "Baseline XXX"
160 * ControlTabular.C: rename VALIGN_CENTER to VALIGN_MIDDLE;
161 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
162 rename VCENTER to MIDDLE
164 2003-08-04 André Pönitz <poenitz@gmx.net>
166 * ControlErrorList.C:
167 * ControlSpellchecker.C: simpler BufferView::update() calls
169 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
171 * ControlNote.[Ch]: add i18n support.
173 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * ControlToc.C (goTo): adjust for lyx::toc
179 * ControlThesaurus.C (replace): adjust for lyx::find
181 * ControlSearch.C (find): adjust for lyx::find
184 * ControlChanges.C (find): adjust for lyx::find
188 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * ControlTabular.C (useMetricUnits): adapt PAPER_* enums
192 2003-07-23 Angus Leeming <leeming@lyx.org>
194 * ControlExternal.C: pass a Buffer const & rather than a Buffer const *
195 to the mailer's string2params, params2string functions.
197 * ControlGraphics.C pass a Buffer const & rather than a string const &
198 buffer_path to the mailer's string2params, params2string functions.
200 2003-07-23 Angus Leeming <leeming@lyx.org>
202 * Kernel.[Ch] (bufferFilepath): new wrapper for Buffer::filePath.
206 * ControlGraphics.C: use it.
208 2003-07-21 Angus Leeming <leeming@lyx.org>
210 * ControlGraphics.C (initialiseParams, dispatchParams): no need
211 to modify the filename for reasons of 'good UI' anymore.
213 2003-07-21 Angus Leeming <leeming@lyx.org>
215 * ControlGraphics.C (initialiseParams, dispatchParams): pass a
216 buffer_path parameter to InsetGraphicsMailer's string2params,
219 2003-07-21 Angus Leeming <leeming@lyx.org>
221 * ControlGraphics.C (readBB): use namespace lyx::graphics rather
224 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
226 * ControlGraphics.C (dispatchParams): avoid some variable/function
229 * ControlDialog.tmpl (show): follow C++ rules more closely
233 2003-07-17 Angus Leeming <leeming@lyx.org>
236 * ControlErrorList.h:
242 * Dialog.h: fix some doxygen warnings.
244 * Dialog.C: shuffle a couple of functions around.
246 2003-07-16 Angus Leeming <leeming@lyx.org>
248 * ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
250 2003-07-16 Angus Leeming <leeming@lyx.org>
252 Dialog.[Ch]: move a few methods out of line.
255 Kernel.h: improve doxygen documentation.
257 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
259 * introduce namespace lyx::support
261 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * Kernel.h: fix some \class issues
265 * Kernel.C: fix \file
267 * Dialog.h: fix some \class issues
269 * ControlErrorList.h: correct const type order, remove some
270 ControlErrorList:: from declarations.
272 * BCView.h: fix usage of \class to \c
273 * ControlAboutlyx.h: ditto
274 * ButtonController.h: ditto + remove misplaced end doxy group tag
276 2003-06-24 Alfredo Braunstein <abraunst@libero.it>
278 * ControlDocument.C (classApply): removed the call to resetErrorList,
279 replaced setErrorList by parseErrors
281 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
283 * ControlError.[Ch]: removed
284 * Makefile.am: adjust
286 2003-06-20 Angus Leeming <leeming@lyx.org>
288 * tex_helpers.[Ch] (getTexFileList): changed to
289 void getTexFileList(string const & file, vector<string> & contents);
291 * ControlBibtex.[Ch] (getBibFiles, getBibStyles): now passed a
292 vector<string> to fill rather than returning a string.
294 * ControlTexinfo.[Ch] (rescanStyles, runTexhash): removed. No need
295 for an extra layer of indirection.
296 (getContents): moved out of class to getTexFileList.
298 2003-06-19 Angus Leeming <leeming@lyx.org>
300 * ControlTexinfo.[Ch]: rewritten to use the Dialog-based scheme.
302 2003-06-17 Angus Leeming <leeming@lyx.org>
305 * ControlMath2.[Ch]: rename ControlMath2 as ControlMath.
306 Move into ControlMath.[Ch]. Remove ControlMath2.[Ch].
308 * Makefile.am: remove ControlMath2.[Ch].
310 2003-06-17 Angus Leeming <leeming@lyx.org>
312 * ControlMath.[Ch] (showDialog):
313 * ControlMath2.[Ch] (showDialog, dispatchFunc): new member functions.
315 * ControlMath2.C: wrap all other calls to the kernel diapatcher into
318 2003-06-12 Angus Leeming <leeming@lyx.org>
320 * ControlMath2.[Ch]: new files. A work in progress towards a clean
321 implementation of the math panel.
323 * Makefile.am: add files.
325 2003-06-11 Angus Leeming <leeming@lyx.org>
327 * ControlExternal.[Ch]: changes due to InsetExternal::Params no longer
328 storing the ExternalTemplate but its name.
330 2003-06-10 Angus Leeming <leeming@lyx.org>
332 * ControlExternal.C (editExternal): invokes new LFUN_EXTERNAL_EDIT
333 rather than generate a new inset itself.
335 2003-06-06 John Levon <levon@movementarian.org>
337 * ControlDocument.C: make sure a language change
338 always gets propogated
340 2003-06-03 Angus Leeming <leeming@lyx.org>
342 * ControlExternal.[Ch]: remove viewExternal and updateExternal.
343 Change the internal store from an InsetExternal to its Param struct.
345 2003-06-03 John Levon <levon@movementarian.org>
347 * ControlGraphics.C: make file path relative for the GUI,
348 absolute for the backend
350 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * ControlDocument.C (saveAsDefault): adjust
354 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
357 * Dialog.h (setTitle): added
359 2003-05-20 Alfredo Braunstein <abraunst@libero.it>
361 * ControlErrorList.[Ch]: small bugs fixed, use ErrorList
363 2003-05-13 André Pönitz <poenitz@gmx.net>
365 * ControlForks.[Ch]: use vector<pid_t> instead of strings
367 2003-05-14 Rob Lahaye <lahaye@users.sourceforge.net>
369 * ControlErrorList.C (clearParams): replace string::clear by
372 2003-05-14 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * ControlErrorList.C (goTo): use lyxerr not cout.
376 2003-05-13 Alfredo Braunstein: <abraunst@libero.it>
378 * ControlErrorList.[Ch]: added
379 * Makefile.am: the above adittion
381 2003-05-13 André Pönitz <poenitz@gmx.net>
385 * ControlSpellchecker.C:
386 * biblio.C: boost::format -> bformat all over the place
392 * ControlSpellchecker.C:
393 * ControlTabularCreate.C: use tostr from new header
396 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * Makefile.am: better lib building
400 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
402 * ControlDocument.C (saveAsDefault): parlist cleanup
404 2003-05-06 John Levon <levon@movementarian.org>
406 * ControlDocument.C: fix buggy boost format
408 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
410 * ControlDocument.C (classApply): adjust call to
411 SwitchLayoutsBetweenClasses.
413 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * ControlDocument.C (setLanguage): call updateDocLang when not
416 calling changeLanguage.
418 2003-04-10 John Levon <levon@movementarian.org>
421 * ControlTabular.C: add longTabular() etc.
423 2003-04-10 John Levon <levon@movementarian.org>
425 * ControlMath.C (find_xpm): handle math_delim arguments
427 2003-04-02 Angus Leeming <leeming@lyx.org>
429 * ControlCommandBuffer.[Ch] (c-tor): passed a LyXView & rather than
430 a LyXFunc &. Ensuing changes elsewhere.
431 (getCurrentState): new method, returning bufferview_func's
432 currentState (needs the currently active BufferView).
434 2003-03-31 John Levon <levon@movementarian.org>
437 * ControlDocument.C: more Alert cleanups
439 2003-03-29 John Levon <levon@movementarian.org>
441 * ControlSpellchecker.C: Alert cleanup
443 2003-03-29 John Levon <levon@movementarian.org>
445 * helper_funcs.C: Alert cleanup
447 2003-03-29 John Levon <levon@movementarian.org>
449 * ControlDocument.C: comment out seemingly silly question
451 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * ControlDialog.tmpl (show): qualify emergency_exit_ with this->
457 2003-03-26 Angus Leeming <leeming@lyx.org>
459 * ControlThesaurus.[Ch]: rewrite to use the Dialog-based scheme.
461 2003-03-25 John Levon <levon@movementarian.org>
463 * ControlSpellchecker.C: support for new aspell
465 2003-03-25 Angus Leeming <leeming@lyx.org>
468 * ControlShowFile.[Ch]:
469 * ControlVCLog.[Ch]: rewrite to use the Dialog-based scheme.
471 2003-03-24 John Levon <levon@movementarian.org>
473 * ControlMath.C: include Pr function
475 2003-03-23 John Levon <levon@movementarian.org>
477 * ControlSpellchecker.C: make "words checked" translatable,
480 2003-03-18 John Levon <levon@movementarian.org>
482 * ControlParagraph.C: make reading of params succeed
484 2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
486 * ControlChanges.[Ch]: ControlChanges::find() returns the bool
487 from lyxfind::findNextChange(), instead of void.
489 2003-03-13 Angus Leeming <leeming@lyx.org>
491 * Dialog.h (initialiseParams): return a bool to indicate successful
492 translation of the string.
496 * ControlAbout.h: a serious attempt at documenting the code.
498 * ButtonController.[Ch] (readWrite): it wasn't used, so remove it.
501 * ButtonController.[Ch]:
502 * BCView.[Ch], BCView.tmpl: make many methods const.
504 2003-03-13 Angus Leeming <leeming@lyx.org>
506 * ControlParagraph.[Ch]: rewrite to use the Dialog-based scheme and
507 the new dispatch lfuns.
509 2003-03-12 Angus Leeming <leeming@lyx.org>
511 * ControlCharacter.[Ch]: rewrite to use the Dialog-based scheme and
512 the new dispatch lfuns.
514 2003-03-09 Angus Leeming <leeming@lyx.org>
516 Flatten the ButtonController tree by splitting it into a Controller
519 * BCView.[Ch], BCView.tmpl: new files containing the View part of the
522 * ButtonController.[Ch]: just the controller, which needs know only
523 two methods of the View, refresh and refreshReadOnly.
525 * lots of files: associated changes.
527 2003-03-09 Angus Leeming <leeming@lyx.org>
529 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
531 2003-03-09 Angus Leeming <leeming@lyx.org>
533 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
535 2003-03-09 Angus Leeming <leeming@lyx.org>
537 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
539 2003-03-09 Angus Leeming <leeming@lyx.org>
541 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
543 2003-03-09 Angus Leeming <leeming@lyx.org>
545 * ControlTabular.[Ch]: minimise the interface in preparation for
546 a move to the Dialog-based scheme.
547 (inset): removed; the views require only getActiveCell().
548 (tabular): return as a reference.
550 2003-03-07 Angus Leeming <leeming@lyx.org>
552 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
554 * ControlInset.{h, tmpl}: remove.
555 * Makefile.am: remove files.
557 2003-03-07 Angus Leeming <leeming@lyx.org>
559 * ControlBibitem.[Ch]:
562 * ControlUrl.[Ch]: removed.
564 * Makefile.am: remove files.
566 * ControlERT.C (dispatchParams):
567 * ControlExternal.C (dispatchParams):
568 * ControlFloat.C (dispatchParams):
569 * ControlInclude.C (dispatchParams):
570 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
573 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
575 2003-03-05 Angus Leeming <leeming@lyx.org>
577 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
579 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
581 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
582 * ControlInclude.C: remove unneeded header files.
584 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
586 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
588 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
590 * Dialog.h: make view() public. Add dialog() methods.
592 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
594 * ControlGraphics.C: removed #include "converter.h"
596 * ControlSendto.C: added #include "format.h"
598 2003-02-27 Angus Leeming <leeming@lyx.org>
600 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
602 * Makefile.am: add the new files.
604 2003-02-27 Angus Leeming <leeming@lyx.org>
606 * ControlBibitem.C (c-tor):
607 * ControlBibtex.C (c-tor):
608 * ControlCitation.C (c-tor):
609 * ControlIndex.C (c-tor):
610 * ControlRef.C (c-tor):
611 * ControlToc.C (c-tor):
612 * ControlUrl.C (c-tor):
613 pass "name" to ControlCommand c-tor,
616 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
619 * ControlERT.C (dispatchParams): use "name" rather than a
622 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
624 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
626 2003-02-21 Angus Leeming <leeming@lyx.org>
629 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
631 * ControlBibitem.[Ch]:
632 * ControlBibtex.[Ch]:
633 * ControlCitation.[Ch]:
634 * ControlCommand.[Ch]:
639 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
640 individual controllers too.
641 Move 'apply' code into the LyX kernel.
643 * ControlConnections.C: temporary renaming of Dialogs::signals.
645 * Makefile.am: add new files.
647 2003-02-21 Angus Leeming <leeming@lyx.org>
649 * ControlBibtex.C (Browse):
650 * ControlExternal.C (Browse):
651 * ControlGraphics.C (Browse):
652 * ControlInclude.C (Browse):
653 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
655 * ControlPrint.C (Browse):
656 don't pass a LyXView & to browseFile et al.
657 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
658 don't pass a LyXView & to fileDlg.
660 2003-02-17 John Levon <levon@movementarian.org>
662 * ControlDialog.tmpl: build dialog before calling setParams
663 for the benefit of ControlSpellchecker
665 * ControlSpellchecker.h:
666 * ControlSpellchecker.C: rework. Lots of bugs fixed and
669 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
671 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
672 of available *.bib-files from bibFiles.lst).
674 * tex_helpers.C (getTexFileList): sort and dis-duplicate
675 listWithoutPath correctly.
677 2003-02-08 John Levon <levon@movementarian.org>
680 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
682 2003-02-08 John Levon <levon@movementarian.org>
686 * ControlChanges.C: add merge changes dialog
689 * ControlPrefs.C: add setCurrentAuthor()
691 2003-01-31 Angus Leeming <leeming@lyx.org>
693 * ViewBase.h: add an isVisible() pure virtual method.
695 * ControlTabular.C (updateInset): don't build the dialog here.
696 Instead, do nothing if the dialog is invisible.
698 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
700 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
702 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
704 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
706 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
708 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
712 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
714 * several files: ws changes
716 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * ControlDocument.C (classApply): use boost.format
720 2002-11-29 Angus Leeming <leeming@lyx.org>
722 * ControlButtons.h (isClosing): make it public, so that the view can
724 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
727 * ControlPrefs.[Ch] (OKButton): removed.
729 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
730 dialog isClosing(). (Ie, if the "save" button has been pressed.)
732 2002-11-28 John Levon <levon@movementarian.org>
734 * ControlSpellchecker.C: fix Lars' broken cleanup
736 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
738 * ControlTabular.[Ch]: Add isMulticolumnCell
740 2002-11-27 Angus Leeming <leeming@lyx.org>
742 * ControlMath.C (ControlMath): initialise active_.
744 2002-11-25 Angus Leeming <leeming@lyx.org>
746 * ControlDialog.h (hide, update): move from protected to public.
748 * ControlMath.[Ch]: add controllers for the main math panel dialog and
749 for any daughter dialogs stored by the main panel.
751 2002-11-21 Angus Leeming <leeming@lyx.org>
753 * ControlDocument.[Ch] (classApply): no longer returns bool.
754 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
756 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
758 * biblio.C (getAbbreviatedAuthor): use boost::format
760 * ControlSpellchecker.C (clearParams): use boost::format
762 2002-11-20 John Levon <levon@movementarian.org>
764 * ControlMath.C: couple more manglings
766 2002-11-20 John Levon <levon@movementarian.org>
769 * ControlMath.C: add find_xpm mangler
771 2002-11-17 John Levon <levon@movementarian.org>
773 * helper_funcs.C and users: specify save/open in file dialog
775 2002-11-15 John Levon <levon@movementarian.org>
778 * ControlPrefs.C: use setParams()
780 2002-11-15 John Levon <levon@movementarian.org>
782 * ControlButtons.h: make OKButton() virtual for prefs
785 * ControlPrefs.C: updates for xforms port to MVC
789 * ControlTabular.C: add simple MVC port
791 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
793 * ControlInclude.C: fix file format masks for qt's use
795 2002-11-13 John Levon <levon@movementarian.org>
799 * ControlPrefs.C: add skeleton controller
801 2002-11-12 John Levon <levon@movementarian.org>
803 * biblio.C: fix warnings
805 2002-11-12 Angus Leeming <leeming@lyx.org>
807 * ControlSpellchecker.C (check): fix crash
808 * biblio.C (escape_special_chars): simplify BRE.
810 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
812 * ControlDocument.[Ch]: Remove unused method
814 2002-11-07 Angus Leeming <leeming@lyx.org>
816 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
817 * clean-up the search code in biblio.C.
819 2002-11-07 John Levon <levon@movementarian.org>
821 * ControlGraphics.C: QGraphics fixes
823 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
825 * ControlDocument.C: (SaveAsDefault) make it work.
826 fix buffer update on class change
828 2002-11-06 Angus Leeming <leeming@lyx.org>
830 * biblio.C (searchKeys and helper functions): rewritten entirely
831 using the STL. Boost::regex searching now works as the old 1.2 code
834 2002-11-06 Angus Leeming <leeming@lyx.org>
836 * biblio.C: clean-up of the code. No change in functionality.
838 2002-11-04 Angus Leeming <leeming@lyx.org>
840 * ControlGraphics.[Ch] (getUnits): moved out of class and into
841 frnt::getBBUnits(). Code cleaned also.
843 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * biblio.C (regexSearch): STRCONV
848 * ControlAboutlyx.C (getVersion): STRCONV
850 * ControlMath.C: include config.h
852 2002-10-31 John Levon <levon@movementarian.org>
855 * ControlGraphics.C: bb units from Herbert
857 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
859 * ControlParagraph.[Ch] (alignDefault): new method, returning the
860 default alignment (block, left, right, center) of this paragraph.
862 2002-10-25 John Levon <levon@movementarian.org>
864 * ControlPrint.C: using endl
866 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
868 * ControlPrint.[Ch]: move code here from Liason.[Ch].
870 * ControlSpellchecker.h (getCount): new method.
871 * ControlSpellchecker.[Ch]: constify some accessor methods.
873 2002-10-22 Angus Leeming <leeming@lyx.org>
875 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
876 alphabetical order once again.
878 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
879 Add a list of CheckedWidget ptrs to ButtonControllerBase
880 together with methods addCheckedWidget and checkWidgets to use it.
882 * ButtonController.tmpl (refresh): use the return value of
883 checkWidgets to control the activation state of the Ok, Apply, Restore
886 * ControlDialog.tmpl (show, update):
887 * ControlInset.tmpl (showInset, update):
888 invoke ButtonController::refresh to ensure that the activation state of
889 the Ok, Apply buttons reflects the valid-state of the widgets.
891 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
893 * tex_helpers.C (rescanTexStyles): don't pop p
896 * ControlWrap.C (WrapParms): remove initialization of placement,
897 and move empty c-tor to .h class def.
899 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
900 of on stringsteam, return void. Get the file into the stream as
903 * ControlPreamble.[Ch] (params): getter and setter for params_, make
904 params_ into a string, not just a pointer to string.
906 * ControlExternal.C (getTemplateNumber): put i into the for scope,
907 and use the sequence operator on the last for "parameter"
908 (getTemplate): use std::advance to advance the iterator.
910 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
911 instead of on a stringstream, return void. Get the file into the
912 stream as fast as possible.
913 (getVersion): use ostringstream
915 * lots of files: ws changes, formatting fixes
917 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * ControlCharacter.C (apply): setMinibuffer change
920 * ControlDocument.C (apply): ditto
922 * ControlThesaurus.C (replace): ditto
923 * ControlSearch.C (find): ditto
925 * ControlPreamble.C (apply): ditto
926 * ControlParagraph.C (apply): ditto
928 2002-10-14 André Pönitz <poenitz@gmx.net>
930 * ControlDocument.C: somebody else's fix for a hard lockup
932 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
936 * Makefile.am: New document parameters controller
938 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
942 2002-09-24 Angus Leeming <leeming@lyx.org>
944 * ControlConnections.h: remove trailing whitespace.
946 * biblio.h: #include "LString.h".
948 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
950 * ControlGraphics.C: Change GUI origin strings into proper English.
952 2002-09-09 John Levon <levon@movementarian.org>
954 * ControlInclude.C: fix file masks. Get rid of noload,
955 remove stupid warning
957 2002-09-09 John Levon <levon@movementarian.org>
960 * ControlMath.C: add latex_deco
962 2002-09-06 John Levon <levon@movementarian.org>
964 * ControlMath.C: terminate dots
966 2002-09-05 Angus Leeming <leeming@lyx.org>
968 * all files: modify the headers as discussed on the list.
970 2002-08-30 John Levon <levon@movementarian.org>
973 * ControlMath.C: moved from MathsSymbols.C
975 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
977 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
979 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
981 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
982 first item in the list
984 2002-08-15 Angus Leeming <leeming@lyx.org>
986 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
988 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
990 2002-08-15 Angus Leeming <leeming@lyx.org>
992 * lots: changed my email address to leeming@lyx.org.
994 * GUI.h: return it to private derivation from boost::noncopyable.
996 2002-08-14 Angus Leeming <leeming@lyx.org>
998 * GUI.h: public derivation from boost::noncopyable.
1000 2002-08-14 Angus Leeming <leeming@lyx.org>
1002 * GUI.h: class GUI deries from boost::noncopyable
1004 * ControlButtons.h: no longer derives from DialogBase, but instead
1005 derives directly from boost::noncopyable.
1007 * ViewBase.h: derives from boost::noncopyable.
1009 * ControlCharacter.C:
1011 * ControlConnections.C:
1012 * ControlGraphics.C:
1014 * ControlParagraph.C:
1015 * ControlPreamble.C:
1018 * ControlSpellchecker.C:
1020 * ControlThesaurus.C:
1021 rearrange #includes. Remove unnecessary ones.
1023 * ControlError.h: add "insets/inseterror.h".
1025 * helper_funcs.h: add necessary #includes.
1027 * tex_helpers.[Ch]: add #pragma directives for g++.
1029 * Makefile.am: remove src/frontends from -I list to compiler.
1031 2002-08-13 Angus Leeming <leeming@lyx.org>
1033 * ControlConnections.C:
1035 changes due to the changed LyXView interface that now returns references
1036 to member variables not pointers.
1038 2002-08-12 Angus Leeming <leeming@lyx.org>
1040 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
1041 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
1042 for the most commonly accessed core methods, to minimise code
1045 * many files: use these wrappers and remove associated #includes.
1047 2002-08-12 Angus Leeming <leeming@lyx.org>
1049 * ControlButtons.[Ch] (bc, view): no longer virtual.
1050 (setView, setButtonController): new methods, invoked by GUI.
1052 * ControlDialog.h (show):
1053 * ControlInset.h (createInset, showInset): make public, so that GUI can
1056 * GUI.h: GUI now contains a controller, rather than deriving from it.
1057 remove all those friend functions since we can now access the show,
1058 createInset, showInset controller methods.
1060 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
1063 * character.h: #include a couple of STL files.
1065 2002-08-08 John Levon <levon@movementarian.org>
1067 * ControlCommandBuffer.C: LyXAction cleanup
1069 2002-08-07 John Levon <levon@movementarian.org>
1071 * ControlSpellchecker.C: fix crash when spellchecker doesn't
1074 2002-08-06 John Levon <levon@movementarian.org>
1076 * ControlSpellchecker.C:
1077 * ControlSpellchecker.h: use WordLangTuple
1079 2002-08-06 John Levon <levon@movementarian.org>
1081 * ControlSpellchecker.C: show an alert with the
1082 error message on initialisation failure
1084 2002-08-04 John Levon <levon@movementarian.org>
1086 * ControlSpellchecker.h:
1087 * ControlSpellchecker.C: some cleanups
1089 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
1091 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
1093 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
1094 the Dialogs::updateParagraph signal is emitted.
1096 2002-08-02 Angus Leeming <leeming@lyx.org>
1098 * ControlCharacter.C (apply):
1099 * ControlERT.C (applyParamsToInset):
1100 * ControlParagraph.C (apply):
1101 * ControlSearch.C (find, replace):
1102 * ControlThesaurus.C (replace): changes due to LyXView::view() now
1103 returning a boost::shared_ptr.
1105 2002-08-01 John Levon <levon@movementarian.org>
1107 * ControlSendto.C: writeFile() change
1109 2002-08-01 John Levon <levon@movementarian.org>
1111 * ControlSpellchecker.h:
1112 * ControlSpellchecker.C: remove options
1114 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * several files: strip,frontStrip -> trim,ltrim,rtrim
1118 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * biblio.C (parseBibTeX): modify because of strip changes
1122 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1124 * ControlFloat.[Ch]: Implement Wide Float toggle
1125 Replace "allow_here_definitely" by "wide"
1127 2002-07-22 Herbert Voss <voss@lyx.org>
1129 * ControlGraphics.C: small changes
1131 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * ControlToc.C: remove getType
1135 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1137 * ControlCommandBuffer.C: don't add "" to history
1139 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1141 * ControlRef.C: fix dispatch call nicely
1143 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1146 * ControlCommandBuffer.h:
1147 * ControlCommandBuffer.C: add controller for command (mini) buffer
1150 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1152 * ControlRef.C: fix dispatch call
1154 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1156 * ControlCharacter.C: use view_state_changed not setState
1158 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1160 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
1162 2002-07-15 Mike Fabian <mfabian@suse.de>
1164 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
1165 of compare_no_case, because in turkish, 'i' is not the lowercase
1166 version of 'I', and thus turkish locale breaks parsing of tags.
1168 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1170 * ControlBibtex.C (applyParamsToInset): ws change
1172 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1174 * ControlInclude.C: Add warning if absolute path name and
1175 check_typeset is used together
1177 2002-06-28 Angus Leeming <leeming@lyx.org>
1179 * ControlGraphics.C: changes associated with the name changes
1180 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
1182 2002-06-25 Angus Leeming <leeming@lyx.org>
1184 * ControlGraphics.C (readBB): Channges associated with the changed
1185 interface to the graphics cache.
1187 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1189 * ControlParagraph.C: layout as layout
1191 2002-06-21 Angus Leeming <leeming@lyx.org>
1193 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
1194 * tex_helpers.h: #include "LString.h".
1196 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1199 * ControlBibitem.C: use repaint()
1201 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1203 * ControlTexinfo.C: do the same for Texinfo
1205 * tex_helpers.C: don't try to read a file that isn't there
1207 2002-06-21 Herbert Voss <voss@perce.de>
1209 * ControlBibtex.C: do an automatic update, when no bst-list
1212 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1214 * GUI.h: createIndex() changed
1216 2002-06-18 Herbert Voss <voss@perce.de>
1218 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
1219 helperstuff. Now the bibtex gui can use some of these functions
1221 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1223 * ControlGraphics.C: just make the mask *.*
1225 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1227 * changes to simplify function setup, removal of a lot of includes.
1229 2002-06-12 Angus Leeming <leeming@lyx.org>
1231 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
1233 2002-06-12 Angus Leeming <leeming@lyx.org>
1235 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
1237 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
1239 * ControlParagraph.[Ch]: new paragraph controller
1240 * GUI.h: add new controller
1241 * Makefile.am: ditto
1243 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1245 * GUI.h: do not include ButtonController.tmpl
1247 * ControlInset.h: include ControlInset.tmpl
1249 * ControlCitation.C: do not include ControlInset.tmpl
1250 * ControlCommand.C: ditto
1251 * ControlERT.C: ditto
1252 * ControlError.C: ditto
1253 * ControlExternal.C: ditto
1254 * ControlFloat.C: ditto
1255 * ControlGraphics.C: ditto
1256 * ControlInclude.C: ditto
1257 * ControlMinipage.C: ditto
1259 * ControlDialog.tmpl: remove the Base:: prefix
1261 2002-06-07 Angus Leeming <leeming@lyx.org>
1263 Fixes needed to compile with Compaq cxx 6.5.
1264 * ControlDialog.tmpl: I have had to prefix base class methods with
1267 * ControlInset.tmpl: #include a couple of headers.
1269 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * switch from SigC signals to boost::signals
1273 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1275 * biblio.h: include vector
1277 * biblio.C: change include order
1278 (regexSearch): use boost regex and get rid of LRegex
1280 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1282 * ControlAboutlyx.C:
1285 * ControlCharacter.C:
1286 * ControlCitation.C:
1288 * ControlConnections.C:
1291 * ControlExternal.C:
1294 * ControlGraphics.C:
1298 * ControlMinipage.C:
1299 * ControlPreamble.C:
1304 * ControlShowFile.C:
1305 * ControlSpellchecker.C:
1306 * ControlTabularCreate.C:
1308 * ControlThesaurus.C:
1311 * ControlVCLog.C: LyXView moved into frontends
1313 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1315 * ControlExternal.C: add scoped_ptr.hpp
1317 * ControlCharacter.h: use more specific smart_ptr header.
1319 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
1321 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
1323 2002-05-13 Herbert Voss <voss@perce.de>
1325 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
1326 like "Odland, G. and ... "
1327 (parseBibTeX): fix bug with title and booktitle
1328 and replace a \n with a space when one entry has more than
1331 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1333 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
1334 "No change" and "Reset".
1336 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
1337 them at the front of the list.
1339 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1341 * ControlGraphics.C: add some comments to the char * arrays.
1342 Make rorigin_size const.
1344 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1346 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
1347 Enables the gui's to internationalise these strings.
1349 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
1351 * frnt_lang.C: fix build
1353 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1355 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
1356 If the the caller is the character dialog, add "No change" and "Reset"
1357 to the vector, else don't.
1358 Internationalise the GUI strings here rather than in the different
1360 Sort the translated strings, albeit simply.
1362 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
1364 * character.[Ch]: rename namespace character as namespace frnt.
1366 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
1367 as several dialogs will use this info. The function now returns a
1368 vector<LanguagePair> where LanguagePair is a display string and an
1369 identifying string. The display string is internationalised.
1371 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
1372 the identifying strings, "No change" and "Reset".
1374 * Makefile.am: add frnt_lang.[Ch].
1376 2002-04-25 Herbert Voss <voss@lyx.org>
1378 * ControlSendto.C (allFormats): don't add the graphics extensions to the
1381 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1383 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
1384 BibTeX databases in a WYSIWYM way.
1386 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1388 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
1389 way past his use-by date.
1390 Make use of the improved info from Buffer::getBibkeyList when using
1391 \bibliography. Enables us to provide natbib support in this case too.
1393 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
1395 * ControlGraphics.C: pass the browseFile dialog a string of only those
1396 formats that can currently be loaded by LyX.
1398 2002-04-15 Herbert Voss <voss@perce.de>
1400 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
1401 with something like ,,...blah...`` (two commas)
1403 2002-04-14 Herbert Voss <voss@perce.de>
1405 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
1406 into the support/lstrings for better use in other programs.
1408 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
1409 namespace anon and make globally accessible.
1410 (familyName): test for the presence of a LaTeX Space at the front of
1411 of a name; strip it if it exists.
1413 2002-04-11 Herbert Voss <voss@perce.de>
1415 * ControlGraphics.C: expand "browse-string" to all available formats
1417 2002-04-11 Herbert Voss <voss@perce.de>
1419 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
1421 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
1423 * ControlAboutlyx.C (getVersion): two _() forgotten
1425 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
1427 * ControlGraphics.C:
1429 * ControlBibtex.C: make N_() be _()
1431 2002-04-07 Herbert Voss <voss@perce.de>
1433 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
1435 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
1437 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
1438 used when reading the BB.
1440 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
1442 * ControlGraphics.C (readBB): Don't open the ifstrem and then
1443 check the format from the contents (and open a second ifstream in the
1444 process. One at a time please.
1446 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1448 * ControlRef.C (getBufferNum): squash warning message.
1450 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1452 * ControlBibtex.C (Browse):
1453 * ControlGraphics.C (Browse):
1454 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
1456 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
1458 * ControlGraphics.C (applyParamsToInset): pass filepath to
1459 InsetGraphics::updateInset.
1461 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1463 * most files: ws cleanup
1465 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1467 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
1470 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
1472 * ControlGraphics.C:
1473 * ControlInclude.C: better error messages
1475 2002-03-11 Herbert Voss <voss@lyx.org>
1477 * biblio.C (parseBibTeX): fix another minibug with an
1480 2002-03-10 Herbert Voss <voss@lyx.org>
1482 * biblio.C (parseBibTeX): fix bug
1483 (familyName): improve parsing
1485 2002-03-09 Herbert Voss <voss@lyx.org>
1487 * ControlGraphics.[Ch]: adding checkFilename() for testing
1488 of non-existing files
1490 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1492 * ControlSendto.C (allFormats): fix a iterators are not pointers
1495 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
1497 * ControlShowFile.h: add a #include "LString.h"
1499 2002-03-05 Herbert Voss <voss@lyx.org>
1501 * biblio.C (getInfo): simplify if using paragraph layout
1504 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1506 * biblio.C (getInfo): return the info field correctly if the key
1507 is not a BibTeX one.
1508 (parseBibTeX): fix crash when data.find('=') returns string::npos.
1510 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1512 * ControlForks.[Ch]: new files. A controller for the Forked Child
1513 processes dialog, enabling the user to see what forked processes
1514 are running, and, if he so desires, to kill them.
1516 * GUI.h: add class GUIForks.
1518 * Makefile.am: add ControlForks.[Ch].
1520 * ControlGraphics.C (getParams): small change due to change in
1523 2002-02-21 Herbert Voss <voss@lyx.org>
1525 * biblio.C: fix bug with commentlines in a bibentry
1527 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1529 * Makefile.am: simpler obj. file compile
1531 2002-02-18 Herbert Voss <voss@lyx.org>
1533 * ControlGraphics.[Ch]: remove help-file call
1535 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1537 * helper_funcs.h: wrap the structs firster and seconder up in a
1538 namespace to avoid clashes with those in lyxalgo,h.
1540 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1541 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1543 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1545 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1548 change Systemcalls::System to Systemcalls::Wait and
1549 No change of functionality, just reflects the stripped down Systemcalls
1552 2002-02-06 Herbert Voss <voss@lyx.org>
1554 * ControlGraphics.[C] (readBB): search also in
1555 g'zipped files. If it is useful than PK and compress
1556 should also be supported. use unzipFile() from
1559 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1561 * ControlRef.C (getBufferName): new method to get a real buffer
1564 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1566 * ControlTexInfo.[Ch]: Removed Help functions.
1568 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1570 * ControlSpellchecker.C: clear any selection left
1573 2002-02-01 Herbert Voss <voss@lyx.org>
1575 * ControlGraphics.[C] (readBB): search only, if it is a
1576 ".?ps" file and look for bb's at end of file
1578 2002-01-30 Herbert Voss <voss@lyx.org>
1580 * ControlGraphic.[C]: do not search the whole file, when
1583 2002-01-29 Herbert Voss <voss@lyx.org>
1585 * ControlGraphic.[C]: added a button for document path
1586 when browsing -> bug 222
1588 2002-01-27 Herbert Voss <voss@lyx.org>
1590 * ControlGraphic.[Ch]: added support for Bounding Box, other
1593 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1595 * ControlAboutlyx.h:
1596 * ControlTexinfo.h: added #include "LString.h" where they belong.
1598 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1600 * ControlCitation.C:
1601 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1603 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1605 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1608 2002-01-20 Herbert Voss <voss@perce.de>
1610 * ControlInclude.[Ch]: better control of unexistings files
1611 when entered without the browser
1613 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1616 2002-01-19 Herbert Voss <voss@perce.de>
1618 * biblio.C (getInfo): fix bug when no author is given
1620 * biblio.C (parseBibTeX): change the parsing, so that
1621 '#'-characters in a bibtex entry are no more a problem.
1623 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1625 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1626 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1628 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1630 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1632 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1634 * ControlExternal.C (Browse): add a std:: qualifier
1636 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1638 * ControlExternal.C (Browse): simplify to use browseRelFile
1640 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1642 * ButtonController.tmpl: added // -*- C++ -*-
1644 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1645 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1646 Needed in _one_ of the ControlCommand-derived classes only.
1648 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1651 * ControlSearch.h: #include LString.h
1653 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1655 * ButtonController.h: split into two. The definition remains in
1656 ButtonController.h, the declaration is now in ButtonController.tmpl.
1657 These template methods should be #included when the derived class is
1658 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1659 and in the qt2 and gnome equivalents.
1661 * ControlDialogs.h: removed. The definition of class ControlDialog is
1662 now to be found in ControlDialog.h and the declaration of the methods
1663 is in ControlDialog.tmpl. The two template instantiations are performed
1664 in ControlDialog_impl.[Ch], new files also.
1666 * ControlInset.h: split into two. The definition remains in
1667 ControlInset.h, the declaration is now in ControlInset.tmpl.
1668 These template methods should be #included derived class is
1669 instantiated, in this case in 8 other .C files in this directory.
1671 * ControlAboutlyx.[Ch]:
1672 * ControlCharacter.[Ch]:
1676 * ControlExternal.C:
1678 * ControlGraphics.C:
1681 * ControlMinipage.C:
1682 * ControlPreamble.[Ch]:
1683 * ControlPrint.[Ch]:
1684 * ControlSearch.[Ch]:
1685 * ControlShowFile.[Ch]:
1686 * ControlSpellchecker.[Ch]:
1687 * ControlTabularCreate.[Ch]:
1688 * ControlTexinfo.[Ch]:
1689 * ControlThesaurus.[Ch]:
1690 * ControlVCLog.[Ch]: small changes associated with the above ones.
1692 * GUI.h: #include the ButtonController and dialog controller files
1693 here, rather than forward declare them. This is the correct place
1694 for these #includes.
1696 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1697 Rename ControlDialogs.h as ControlDialog.h.
1698 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1701 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1703 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1705 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1707 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1710 * ControlGraphics.C (Browse): remove overzealous shortcut
1712 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1714 * FormMinipage.C (apply, update): MinipageParams::width renamed
1715 as MinipageParams::pageWidth. InsetMinipage::width renamed
1716 as InsetMinipage::pageWidth.
1718 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1720 * ButtonController.h (refreshReadOnly): use explicit typename
1722 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1724 * helper_funcs.h (browseFile): add default empty button descriptions.
1726 * ControlGraphics.C (Browse):
1727 * ControlBibtex.C (Browse):
1728 * ControlInclude.C (Browse): add shortcuts to directory buttons
1730 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1732 * ControlThesaurus.h:
1733 * ControlThesaurus.C: update to Aiksaurus 0.14
1735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1737 * ControlSpellchecker.C (clearParams): show the closing message
1738 only if some words have been checked, thereby fixing
1741 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1743 * ControlFloat.[Ch]: changes to prevent here definitely being used
1746 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1748 * ControlThesaurus.h: do not include <config.h> in header files
1750 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1752 * ControlToc.C: changes for floatlist
1754 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1756 * ControlVCLog.C: use _()
1758 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1760 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1763 2001-10-22 Juergen Vigna <jug@sad.it>
1765 * ControlSpellchecker.C (clearParams): use the error_ message of the
1766 speller_ if available when the spellchecker died.
1767 (setParams): remove double error message display.
1769 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1773 * helper_funcs.[Ch] (getLatexUnits): see above.
1775 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1777 * ControlTexinfo.C (getContents): use the right file for .sty files
1779 2001-10-10 Herbert Voss <voss@perce.de>
1781 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1782 and some more stuff from FormTexinfo.C
1784 * ControlShowFile.C: hiding the update-button
1786 2001-10-09 Herbert Voss <voss@perce.de>
1788 * ControlTexinfo.[Ch]: new files. Display information about the
1789 installed texfiles (cls,sty,bst).
1791 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1793 * GUI.h: added classes GUIShowFile and GUITexinfo.
1795 * Makefile.am: modified appropriately.
1797 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1799 * ControlAboutlyx.C (getVersion): use lyx_version and
1800 lyx_release_date instead of old macros
1802 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1804 * ControlSpellchecker.C (check): Behaves well now when the spell
1805 library doesn't know a replacement to an incorrect word.
1807 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1809 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1810 the correct place. Can now check spelling more than once!
1812 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1814 * ControlSplash.[Ch]: removed.
1816 * GUI.h: remove GUISplash class.
1818 * ViewBase.h: remove ViewSplash class.
1820 * Makefile.am: remove ControlSplash.[Ch].
1822 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1824 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1825 view will be shut down.
1828 * ControlInset.h: act on emergency_exit_.
1830 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1831 speller fails to launch.
1833 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1835 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1836 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1838 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1840 * ControlRef.h (disconnectOnApply): new method. Set to true.
1841 Perhaps make this user-modifiable?
1843 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1845 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1848 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1850 * ControlRef.C (getBufferList, getBufferNum): New methods
1852 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1854 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1855 of the dialog when the Apply button is pressed. Defaults to false,
1856 but can be overridden in the daughter classes.
1858 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1859 Perhaps make this user-modifiable?
1861 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1863 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1864 we have dialogs that update their contents when the buffer changes.
1865 Rather embarassing, really!
1867 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1869 * ControlSearch (replace): change semantics of replace to NOT move on
1870 to the next instance of a word once the present instance has been
1871 replaced unless we are replacing ALL instances of the word.
1873 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1875 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1877 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1879 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1880 dialog, set all options to "reset", close the dialog, re-open it ->
1881 the options are set incorrectly.
1883 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1884 When Applying it's useful to know whether the dialog is about to close
1885 or not (no point refreshing the display for example).
1887 * ControlInset.C (apply): use isClosing.
1889 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1892 * ControlDialogs.h: remove bc() hack, now fixed in
1893 Qt2 frontend. use member dialog_built_ instead of shared
1896 * ButtonController.h:
1897 * ButtonPolicies.C: more debug info
1899 * ButtonControllerBase.C: call refresh() when setting readOnly !
1901 * GUI.h: External form has apply, use the right policy
1903 * character.C: fix two off-by-one errors when latex font was removed
1905 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1907 * ControlInset.h (apply): tentative fix for the press Apply multiple
1908 times and get multiple new Insets problem.
1910 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1912 * ControlCharacter.C: fix typo
1916 * ControlInsets.C: make sure dialog is built before it is shown, so
1917 it works properly the very first time it is shown
1919 2001-08-20 Herbert Voss <voss@perce.de>
1921 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1922 and styles. Added an option for "bibliography into toc"
1924 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1926 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1927 LaTeX is no longer a font property.
1929 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1931 * GUI.h: Button controller for Reference dialog changed to
1932 NoRepeatedApplyReadOnlyPolicy.
1934 * biblio.C (getInfo): output volume and number info. Move year to end
1937 2001-08-09 Allan Rae <rae@lyx.org>
1939 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1941 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1943 * helper_funcs.C (getVectorFromString): fixed small bug.
1945 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1947 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1949 * ControlSpellchecker.C: check next word after insert in personal dict
1951 2001-08-06 Juergen Vigna <jug@sad.it>
1953 * ControlERT.[Ch]: new file
1955 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1957 * ControlInset.h: const and non-const forms of params().
1959 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1960 whitespace from either side of each item.
1962 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1964 * ControlFloat.h: add a != operator for FloatParams.
1965 Lars, how did you get this to compile!!!
1967 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1968 operator != for MinipageParams. Who's changing stuff and not compiling?
1970 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1972 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1975 * GUI.h: add class GUIFloat
1977 * ControlFloat.[Ch]: new files
1979 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1981 * ControlPrint.C: #include Lassert.h here.
1983 2001-07-26 Baruch Even <baruch@lyx.org>
1985 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1988 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1990 * ControlThesaurus.h:
1991 * ControlThesaurus.C:
1993 * Makefile.am: thesaurus support
1995 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1998 * ControlInclude.C: implement ability to load file
2000 2001-07-18 Juergen Vigna <jug@sad.it>
2002 * ControlSearch.C (replace): changes to lyxfind.h function calls.
2004 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2006 * biblio.C (getInfo): add a .c_str() to handle the usual
2009 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2011 * ControlCitation.[Ch]: changes associated with adding natbib support.
2012 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
2013 New static variable citeStyles_.
2015 * biblio.[Ch]: large internal rearrangement.
2016 New public enum CiteStyle.
2017 New public struct CitationStyle.
2018 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
2019 getNumericalStrings, getAuthorYearStrings
2020 (simpleSearch, regexSearch): no longer publicly accessible.
2022 * helper_funcs.C (getStringFromVector): bug fix.
2024 2001-07-16 Baruch Even <baruch@lyx.org>
2026 * ControlVCLog.h: Added Lsstream.h to includes.
2028 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
2030 * ControlSpellchecker.[Ch]: remove d-tor.
2032 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2034 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
2036 2001-07-16 Juergen Vigna <jug@sad.it>
2038 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
2039 compiled with USE_PSPELL) to be able to switch between ISpell and
2042 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2044 Consistent use of Lsstream.h:
2045 * ControlAboutlyx.[Ch] (getCredits):
2046 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
2048 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2050 * ControlCredits.[Ch]: removed
2051 * ControlCopyright.[Ch]: removed
2052 * ControlAboutlyx.[Ch]: added (replaces previous)
2053 * GUI.h: removed credits and copyright added about lyx stuff
2055 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2057 * ControlSpellchecker.C (getSuggestion):
2058 (getWord): add std:: qualifier
2060 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2062 * ControlSpellchecker.[Ch]: added
2063 * ViewBase.h: added partialUpdate(int) member
2064 * GUI.h: added spell stuff
2066 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2068 * ControlExternal.C: (*it). -> it->
2070 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
2072 * ButtonController.h: move some included header files out of the
2073 frontends and into here.
2075 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2077 * ControlCharacter.C (c-tor): cosmetic name change of signal.
2079 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
2081 * *.[h]: added // -*- C++ -*-
2082 * *.[C]: removed // -*- C++ -*-
2084 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
2085 activate Apply button.
2086 (clearParams): removed.
2087 font_ is now stored as a boost::scoped_ptr.
2088 font_ is no longer deleted on hide(), so it's contents can now be used
2089 by the Font button on the toolbar.
2090 Lots of new methods so that the GUI can easily get the contents of
2091 font_ when it update()s.
2093 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2095 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
2096 crash when the Font button on the Toolbar is pressed.
2098 * GUI.h: change policy of Character button controller to
2099 OkApplyCancelReadOnlyPolicy.
2101 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2103 * ControlToc.C (getContents): don't add anything to the list if it
2104 is supposed to be empty.
2106 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
2108 * helper_funcs.C (getVectorFromString): bug fix.
2110 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
2112 * ButtonController.h
2113 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
2114 from ButtonControllerBase::readOnly. Updates the state of the widgets
2115 in the read-only list only when the read-only status of the document
2117 (refresh): moved this stuff into refreshReadOnly.
2119 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
2121 * ControlPrint.C (c-tor):
2122 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
2124 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
2127 * character.h: small clean-ups.
2129 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2131 * ControlToc.C (getType): remove support for old float list.
2133 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2135 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
2136 * ControlGraphics.h: no longer include insetgraphicsParams.h
2137 * ControlInset.h: no longer include LyXView.h
2142 * ControlCharacter.C:
2143 * ControlCitation.C:
2145 * ControlConnections.C:
2146 * ControlCopyright.C:
2149 * ControlExternal.C:
2150 * ControlGraphics.C:
2153 * ControlMinipage.C:
2154 * ControlPreamble.C:
2158 * ControlTabularCreate.C:
2160 * ControlVCLog.C: they're now in here!
2162 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2164 * ButtonControllerBase.h: C++ mode, inherit privately from
2166 * ButtonPolicies.h: ditto
2168 * ButtonController.h: C++ mode, swap init order of restore_ and
2171 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2173 * ControlTabularCreate.h:
2174 * ControlTabularCreate.C: make dialogs use a pair of uints
2178 * ControlVCLog.C: fill a stringstream with the log contents
2181 * ControlExternal.C: from Angus, clone the new InsetExternal
2184 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
2186 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
2187 and made more robust.
2189 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2194 * ControlPreamble.C:
2196 * ControlGraphics.C:
2197 * ControlExternal.C:
2198 * ControlCopyright.C: include gettext.h
2200 * ControlCharacter.C:
2201 * character.C: include gettext.h and language.h
2203 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
2205 * ButtonController.h:
2206 * ButtonControllerBase.h:
2207 * ButtonControllerBase.C:
2214 * ControlConnections.h:
2217 * ControlExternal.C:
2220 * ViewBase.h: s/ControlButton/ControlButtons/
2222 s/UndoAll/Restore/ + associated
2224 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2226 * ControlToc.[Ch]: new files; a controller for the TOC popup.
2229 * Makefile.am: associated changes with all of the above.
2231 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2233 * ControlExternal.C: bug fixes. Can now apply changes to the inset
2234 and edit, view, update the External Material correctly. I hope!
2236 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2238 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
2240 * BCTemplates.h: renamed as ButtonController.h
2242 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
2245 * ControlConnections.h: associated change in #include and class names.
2247 * ControlExternal.[Ch]: new files; a controller for the External
2251 * Makefile.am: associated changes with all of the above.
2253 * ControlGraphics.[Ch]:
2254 * ControlInclude.[Ch]:
2255 * ControlPrint.[Ch]:
2257 (Browse): new method. Returns the results of a FileDialog browse.
2259 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
2260 (getVectorFromString): fixed bug.
2262 * biblio.C (simpleSearch): cleaned up.
2264 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2266 * A slight reworking of Baruch Even's ButtonController patch.
2268 * BCTemplates.h: new file; all the templates for the ButtonController.
2269 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
2270 to the more generic setButtonLabel().
2272 * ButtonController.[Ch]: renamed cancel_label and close_label as
2273 cancel_label_ and close_label_.
2275 * Makefile.am: added BCTemplates.h
2277 2001-03-29 Juergen Vigna <jug@sad.it>
2279 * ControlMinipage.C: removed widthp_ and all it's functions and changed
2280 to use new %-lengths of LyXLength.
2282 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2284 * ControlCitation.C (bibkeysInfo): removed Assert.
2286 * ControlCopyright.h: moved GUICopyright into GUI.h
2290 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2292 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
2293 (setDaughterParams): a (by default empty) new method called in show().
2299 * ControlMinipage.h:
2302 * ControlUrl.h (clearDaughterParams): removed
2304 * ControlMinipage.C (applyParamsToInset): update the view.
2305 Added namespace minipage containing a helper function getUnits.
2307 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
2309 * ControlCharacter.[Ch]: moved out all the helper functions and the
2310 enum into their own file.
2311 * character.[Ch]: new files; contain the character helper functions,
2312 now inside namespace character.
2314 * ControlCitation.[Ch]: moved out all the helper functions and the
2315 enums into their own file. Simplified interface.
2316 * biblio.[Ch]: new files; contain the citation helper functions,
2317 now inside namespace biblio. Will be of use also to an improved
2320 * ControlGraphics.[Ch]:
2321 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
2322 popups, respectively.
2325 * Makefile.am: associated changes.
2327 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2329 * ControlMinipage.[Ch]:
2330 * ControlPreamble.[Ch]:
2331 * ControlPrint.[Ch]:
2332 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
2333 and Print popups and Splash screen, respectively.
2335 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
2339 * Makefile.am: associated changes.
2341 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2343 * ControlConnections.[Ch]: (docType): new method; returns the type
2344 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
2347 * ControlSearch.[Ch]:
2348 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
2349 Search and TabularCreate popups, respectively.
2352 * Makefile.am: associated changes.
2354 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2356 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
2359 * ControlInset.h (apply): fix bug. Can now create new insets again.
2361 * README: describe program flow.
2363 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2365 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
2367 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2369 * ControlDialogs.h: moved class ControlInset into its own file.
2371 * ControlInset.h: new file. class ControlInset has been expanded to take
2372 two template parameters, Inset and Params. Believe that all inset
2373 controllers can be derived from this with the minimum of effort.
2375 * ControlBibitem.[Ch]:
2376 * ControlBibtex.[Ch]:
2377 * ControlCitation.[Ch]:
2378 * ControlCommand.[Ch]: moved most code into ControlInset.
2380 * lots of files. Moved protected stuff into private where possible.
2382 * ControlError.[Ch]:
2383 * ControlInclude.[Ch]:
2384 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
2385 Include and Url popups, respectively.
2388 * Makefile.am: associated changes.
2390 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2392 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
2395 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2397 * ControlCredits.C (getCredits): remove std:: qualifier for
2400 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2402 * ControlCredits.C (getCredits): add std:: on vector
2404 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2406 * ControlCredits.C: remove using that is only used once, use
2407 std::ios instead of std::iosbase, add some annoying comments.
2409 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2411 * lots of header files: improved explanatory notes.
2413 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
2414 ControlBase is now a class that only controls the interaction of the
2415 View with the ButtonController.
2417 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
2418 to ControlConnectBase. The class controls the connection/disconnection
2419 of signals from the LyX kernel and makes available the kernel (through
2420 lv_) to daughter controller classes.
2421 Moved out class ControlConnectInset to a new file ControlDialogs.h.
2423 * ControlDialogs.h: new file. Contains the definition of two template
2424 controller classes, ControlDialog and ControlInset (was
2425 ControlConnectInset). ControlInset is a parent class for controllers
2426 of inset-popups. ControlDialogs is the rather uninspired name for
2427 the base class of all non-inset popups. (Eg, Document and Paragraph.)
2428 ControlDialogs is reaching a state of maturity as several popups now use
2429 it and its functionality becomes clear. ControlInset is still in a state
2430 of flux. It is likely that functionality will be moved out of
2431 ControlCommands and into it.
2433 * GUI.h: new file. Moved all the template GUIXXX classes out of the
2434 individual Controller header files and into one place. These classes
2435 serve only as convenient wrappers to simplify code in the respective
2436 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
2438 * ControlCharacter.[Ch] (show, update, hide):
2439 * ControlLog.[Ch] (show, update, hide):
2440 * ControlVCLog.[Ch] (show, update, hide): moved back into
2441 the ControlDialogs base class.
2442 (setParams, clearParams): new methods containing controller-specific
2443 code to set/reset the parameters manipulated by the view.
2445 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
2447 (hide): calls clearParams.
2449 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
2450 by ControlCommand::hide().
2452 * ControlCopyright.[Ch]:
2453 * ControlCredits.[Ch]: new files; controllers for the copyright and
2454 credits popups, respectively.
2456 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2458 * ControlCharacter.C: fix typo
2460 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
2462 * ControlCharacter.[Ch]: new files; controller for the character popup.
2464 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
2465 moved to new files helper_funcs.[Ch].
2467 * helper_funcs.[Ch]: new files. Some useful helper functions and
2470 * Makefile.am: added new files.
2472 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2474 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
2476 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2479 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
2480 Control log files, respectively.
2482 * Makefile.am: added new files.
2484 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2486 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
2488 * Makefile.am: added ControlBibtex.[Ch].
2490 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2493 * ControlCitation.C: added "using SigC::slot" declaration.
2495 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
2496 to FormCitation.C prior to the merger: "Do not put space between
2499 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2501 * several files: remove CXX_WORKING_NAMESPACES
2503 * ButtonController.h: noncopyable is in namespace boost
2504 * ButtonPolicies.h: ditto
2506 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2508 * Merging changes from BRANCH_MVC back into HEAD.
2510 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2512 * Makefile.am: add ControlBibitem.[Ch].
2514 * ControlBibitem.[Ch]: new files that together define the Controller
2515 for a Bibitem popup.
2517 * ControlCommand.h (c-tor): give kb_action a default value of
2520 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
2522 * ControlCitation.[Ch]: moved search functions out of class.
2523 (bibkeysInfo): new method. Returns const reference to private data.
2524 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2527 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2529 * ControlCitation.[Ch]: added Search functions to the class,
2530 (shamelessly lifted from Marco's gnome code). I think that these would
2531 be better as helper functions outside the class, but this is a first
2534 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2536 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2538 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2539 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2540 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2541 implementation of FormCitation.
2543 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2545 * ButtonPolicies.h: add SMI_NOOP to enum.
2547 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2549 * ButtonController.C (input): add "optimising" if-statement. Actually,
2550 things don't work correctly without it...
2552 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2554 * ViewBase.h: remove #pragma directive
2556 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2559 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2561 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2563 * Makefile.am: added ButtonPolicies.[Ch]
2565 * ButtonController.[Ch]: ButtonController is split into
2566 ButtonControllerBase and a template ButtonController class. The base
2567 class no longer stores a pointer to a ButtonPolicy, but instead
2568 accesses the actual instantiation of the policy through a pure virtual
2569 method bp(). This method and the ButtonPolicy itself are instantiated
2570 in the templatised ButtonController class. This class is derived from
2571 the GUI-specific GUIBC class, meaning that the frontends know
2572 nothing about the actual policy decided upon by the controllers.
2574 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2575 Instead the actual instantiations are accessed through pure virtual
2576 methods view() and bc(). The daughter classes are responsible for the
2577 actual View and ButtonController.
2579 * ControlCitation.h: the templatised class GUICitation instantiates
2580 the methods view() and bc(). It also stores the instances of the
2581 View and ButtonController.
2583 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2585 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2586 also changed to ButtonController.
2589 * ControlConnections.[Ch]:
2590 * ControlCommand.[Ch]:
2591 * ControlCitation.[Ch]:
2592 * ViewBase.h: Changes associated with this.
2594 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2596 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2597 xforms/ButtonController class into a GUI-I class (here) and an
2598 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2600 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2601 from which all Dialog Controllers should be derived. the Controllers
2602 are GUI-independent, but are designed to control the behaviour of
2603 GUI-specific implementaions of each dialog.
2605 * ControlConnections.[Ch]: new files. Classes controlling the
2606 connections of buffer-independent, buffer-dependent and Inset dialogs
2607 with the LyX kernel.
2609 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2610 InsetCommand subset of insets.
2612 * ControlCitation.[Ch]: new files. The test specialisation! A
2613 controller for the Citation dialog.
2615 * ViewBase.h: new file. ViewBase is an abstract base class from which
2616 GUI-specific dialogs should be derived. The functionality that the GUIs
2617 must now implement is much reduced.