1 2003-12-05 Angus Leeming <leeming@lyx.org>
3 * ControlVCLog.[Ch]: removed.
4 * Makefile.am: remove ControlVCLog.[Ch]
6 2003-12-05 Angus Leeming <leeming@lyx.org>
8 * ControlLog.[Ch]: re-worked so that it is passed the logtype and
9 filename rather than extracting them from the kernel.
11 2003-12-04 Angus Leeming <leeming@lyx.org>
13 * ControlExternal.[Ch] (bbChanged): new accessor functions to a
15 (readBB): attempt to read the BoundingBox from the graphics file.
16 If that fails, try the Graphics Cache.
17 (all_origins, origin_gui_str): helpers for the frontends.
19 2003-12-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * ControlVSpace.C: enable the buttons for new insets.
23 2003-11-28 André Pönitz <poenitz@gmx.net>
25 * ControlVSpace.[Ch]: new files
28 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
30 * ControlDocument.C: Change call to insetsOpenCloseBranch
32 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
34 * ControlSpellchecker.C (isLetter): skip ert
36 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
38 * ControlErrorList.C (goTo): allow going to inner paragraphs
40 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
43 * ControlThesaurus.C: adjust to spellcheck code changes
45 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
47 * ControlSpellchecker.C (nextWord): do not send ligature breaks
48 and other nasty insets to the spellchecker
50 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
52 * ControlSpellchecker.[Ch] (nextWord, check): rewrite of the text
55 2003-10-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
57 * ControlDocument.[Ch]: add method setBranchColor().
59 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * ControlCommandBuffer.C (dispatch): adjust for dispatch change
63 2003-10-08 Angus Leeming <leeming@lyx.org>
67 * frnt_lang.h: move comment so that doxygen is not confused.
69 2003-10-07 Angus Leeming <leeming@lyx.org>
71 * ControlExternal.[Ch]: InsetExternal::Params -> InsetExternalParams.
72 (getTemplatePtr): removed. Use function in ExternalSupport.
74 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
78 * Makefile.am: The Box patch. Fancybox support, minipage, parbox
80 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
83 * ControlCommandBuffer.h:
86 * tex_helpers.h: add <string> and other small fixes to make Lars'
87 std::string patch compile with STLport.
89 2003-10-01 Angus Leeming <leeming@lyx.org>
91 * ControlExternal.[Ch]: changes due to the introduction of
92 namespace lyx::external.
94 2003-09-25 Angus Leeming <leeming@lyx.org>
96 * ControlExternal.C (getTemplatePtr): simplify, due to change in
97 ExternalTemplateManager interface.
99 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * ControlDocument.C (setParams): fix new bug
103 2003-09-19 Angus Leeming <leeming@lyx.org>
105 * ControlInclude.[Ch]: Store and access the params as an
106 InsetCommandParams, rather than access them as a InsetInclude::Params
107 and store 'em as a boost::scoped_ptr<InsetInclude>.
108 Other clean-ups due to the changes in InsetInclude.
110 2003-09-18 Angus Leeming <leeming@lyx.org>
112 * ControlCommand.C (clearParams): simplify.
114 2003-09-18 Angus Leeming <leeming@lyx.org>
116 * ControlCharacter.C:
117 * ControlCharacter.h:
120 * character.h: rename EnumLColor as LColor_color.
122 2003-09-16 Angus Leeming <leeming@lyx.org>
124 * ControlCharacter.C: add #include "LColor.h".
126 2003-09-16 Angus Leeming <leeming@lyx.org>
128 * character.C: add #include "LColor.h".
130 2003-09-15 Angus Leeming <leeming@lyx.org>
132 * ControlCharacter.C (setColor, getColor):
133 pass EnumLColor args, rather than LColor::color ones.
135 * ControlPrefs.C: add #include "LColor.h".
136 * ControlPrefs.h:remove #include "LColor.h".
138 * ControlPrefs.[Ch] (setColor): pass EnumLColor arg, not than LColor::color one.
140 * character.h:remove #include "LColor.h".
141 typedef ColorPair as a std::pair<string, EnumLColor>.
143 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
148 * tex_helpers.C: remove usage of STRCONV
150 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
152 * several files: change Assert to BOOST_ASSERT
154 2003-09-08 Angus Leeming <leeming@lyx.org>
156 * ControlCommandBuffer.C:
160 * tex_helpers.C: remove redundant using directives.
162 2003-09-07 Angus Leeming <leeming@lyx.org>
164 * ButtonController.h:
165 * helper_funcs.h: remove #include "support/std_string.h".
168 * ControlNote.h: remove #include "debug.h".
170 * ControlDocument.h: remove #include <vector>, "support/std_string.h".
172 * ControlErrorList.h:
173 * ControlThesaurus.h: remove #include <vector>.
175 * ControlPrefs.h: remove #include "funcrequest.h", <utility>.
177 * GUI.h: remove #include "BCView.h".
179 * tex_helpers.h: remove #include <utility>.
181 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
184 * frnt_lang.C: re-add missing system headers, needed for 2.95.2.
186 2003-09-05 Angus Leeming <leeming@lyx.org>
188 * GUI.h: ensure that the header file can be compiled stand-alone.
189 * *.C: strip out redundant #includes. (49 in total.)
191 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * most files: change to use const buffer refs.
195 2003-08-16 Martin Vermeer <martin.vermeer@hut.fi>
197 * ControlBranch.[Ch]:
199 * Makefile.am: implements the 'branch
200 inset' idea. This allows the output of various versions of a
201 document from a single source version, selectively outputing or
202 suppressing output of parts of the text.
203 This implementation contains a 'branch list editor' in a separate
204 tab of the document settings dialog. Branches are user definable
205 and have a "display colour" to distinguish them on-screen.
207 ColorHandler was somewhat cleaned up.
208 (1) make possible a dynamically growing LColor list by allowing
209 the graphic context cache to grow along (vector);
210 (2) eliminate an IMHO unnecessary step in colour allocation.
212 2003-08-15 André Pönitz <poenitz@gmx.net>
214 * ControlErrorList.C:
215 * ControlSpellchecker.C: remove toggleSelection
217 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
219 * ControlGraphics.C: rename "XXX baseline" to "Baseline XXX"
222 * ControlTabular.C: rename VALIGN_CENTER to VALIGN_MIDDLE;
223 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
224 rename VCENTER to MIDDLE
226 2003-08-04 André Pönitz <poenitz@gmx.net>
228 * ControlErrorList.C:
229 * ControlSpellchecker.C: simpler BufferView::update() calls
231 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
233 * ControlNote.[Ch]: add i18n support.
235 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * ControlToc.C (goTo): adjust for lyx::toc
241 * ControlThesaurus.C (replace): adjust for lyx::find
243 * ControlSearch.C (find): adjust for lyx::find
246 * ControlChanges.C (find): adjust for lyx::find
250 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * ControlTabular.C (useMetricUnits): adapt PAPER_* enums
254 2003-07-23 Angus Leeming <leeming@lyx.org>
256 * ControlExternal.C: pass a Buffer const & rather than a Buffer const *
257 to the mailer's string2params, params2string functions.
259 * ControlGraphics.C pass a Buffer const & rather than a string const &
260 buffer_path to the mailer's string2params, params2string functions.
262 2003-07-23 Angus Leeming <leeming@lyx.org>
264 * Kernel.[Ch] (bufferFilepath): new wrapper for Buffer::filePath.
268 * ControlGraphics.C: use it.
270 2003-07-21 Angus Leeming <leeming@lyx.org>
272 * ControlGraphics.C (initialiseParams, dispatchParams): no need
273 to modify the filename for reasons of 'good UI' anymore.
275 2003-07-21 Angus Leeming <leeming@lyx.org>
277 * ControlGraphics.C (initialiseParams, dispatchParams): pass a
278 buffer_path parameter to InsetGraphicsMailer's string2params,
281 2003-07-21 Angus Leeming <leeming@lyx.org>
283 * ControlGraphics.C (readBB): use namespace lyx::graphics rather
286 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
288 * ControlGraphics.C (dispatchParams): avoid some variable/function
291 * ControlDialog.tmpl (show): follow C++ rules more closely
295 2003-07-17 Angus Leeming <leeming@lyx.org>
298 * ControlErrorList.h:
304 * Dialog.h: fix some doxygen warnings.
306 * Dialog.C: shuffle a couple of functions around.
308 2003-07-16 Angus Leeming <leeming@lyx.org>
310 * ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
312 2003-07-16 Angus Leeming <leeming@lyx.org>
314 Dialog.[Ch]: move a few methods out of line.
317 Kernel.h: improve doxygen documentation.
319 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * introduce namespace lyx::support
323 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
325 * Kernel.h: fix some \class issues
327 * Kernel.C: fix \file
329 * Dialog.h: fix some \class issues
331 * ControlErrorList.h: correct const type order, remove some
332 ControlErrorList:: from declarations.
334 * BCView.h: fix usage of \class to \c
335 * ControlAboutlyx.h: ditto
336 * ButtonController.h: ditto + remove misplaced end doxy group tag
338 2003-06-24 Alfredo Braunstein <abraunst@libero.it>
340 * ControlDocument.C (classApply): removed the call to resetErrorList,
341 replaced setErrorList by parseErrors
343 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
345 * ControlError.[Ch]: removed
346 * Makefile.am: adjust
348 2003-06-20 Angus Leeming <leeming@lyx.org>
350 * tex_helpers.[Ch] (getTexFileList): changed to
351 void getTexFileList(string const & file, vector<string> & contents);
353 * ControlBibtex.[Ch] (getBibFiles, getBibStyles): now passed a
354 vector<string> to fill rather than returning a string.
356 * ControlTexinfo.[Ch] (rescanStyles, runTexhash): removed. No need
357 for an extra layer of indirection.
358 (getContents): moved out of class to getTexFileList.
360 2003-06-19 Angus Leeming <leeming@lyx.org>
362 * ControlTexinfo.[Ch]: rewritten to use the Dialog-based scheme.
364 2003-06-17 Angus Leeming <leeming@lyx.org>
367 * ControlMath2.[Ch]: rename ControlMath2 as ControlMath.
368 Move into ControlMath.[Ch]. Remove ControlMath2.[Ch].
370 * Makefile.am: remove ControlMath2.[Ch].
372 2003-06-17 Angus Leeming <leeming@lyx.org>
374 * ControlMath.[Ch] (showDialog):
375 * ControlMath2.[Ch] (showDialog, dispatchFunc): new member functions.
377 * ControlMath2.C: wrap all other calls to the kernel diapatcher into
380 2003-06-12 Angus Leeming <leeming@lyx.org>
382 * ControlMath2.[Ch]: new files. A work in progress towards a clean
383 implementation of the math panel.
385 * Makefile.am: add files.
387 2003-06-11 Angus Leeming <leeming@lyx.org>
389 * ControlExternal.[Ch]: changes due to InsetExternal::Params no longer
390 storing the ExternalTemplate but its name.
392 2003-06-10 Angus Leeming <leeming@lyx.org>
394 * ControlExternal.C (editExternal): invokes new LFUN_EXTERNAL_EDIT
395 rather than generate a new inset itself.
397 2003-06-06 John Levon <levon@movementarian.org>
399 * ControlDocument.C: make sure a language change
400 always gets propogated
402 2003-06-03 Angus Leeming <leeming@lyx.org>
404 * ControlExternal.[Ch]: remove viewExternal and updateExternal.
405 Change the internal store from an InsetExternal to its Param struct.
407 2003-06-03 John Levon <levon@movementarian.org>
409 * ControlGraphics.C: make file path relative for the GUI,
410 absolute for the backend
412 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
414 * ControlDocument.C (saveAsDefault): adjust
416 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
419 * Dialog.h (setTitle): added
421 2003-05-20 Alfredo Braunstein <abraunst@libero.it>
423 * ControlErrorList.[Ch]: small bugs fixed, use ErrorList
425 2003-05-13 André Pönitz <poenitz@gmx.net>
427 * ControlForks.[Ch]: use vector<pid_t> instead of strings
429 2003-05-14 Rob Lahaye <lahaye@users.sourceforge.net>
431 * ControlErrorList.C (clearParams): replace string::clear by
434 2003-05-14 Lars Gullik Bjønnes <larsbj@gullik.net>
436 * ControlErrorList.C (goTo): use lyxerr not cout.
438 2003-05-13 Alfredo Braunstein: <abraunst@libero.it>
440 * ControlErrorList.[Ch]: added
441 * Makefile.am: the above adittion
443 2003-05-13 André Pönitz <poenitz@gmx.net>
447 * ControlSpellchecker.C:
448 * biblio.C: boost::format -> bformat all over the place
454 * ControlSpellchecker.C:
455 * ControlTabularCreate.C: use tostr from new header
458 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * Makefile.am: better lib building
462 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * ControlDocument.C (saveAsDefault): parlist cleanup
466 2003-05-06 John Levon <levon@movementarian.org>
468 * ControlDocument.C: fix buggy boost format
470 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * ControlDocument.C (classApply): adjust call to
473 SwitchLayoutsBetweenClasses.
475 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
477 * ControlDocument.C (setLanguage): call updateDocLang when not
478 calling changeLanguage.
480 2003-04-10 John Levon <levon@movementarian.org>
483 * ControlTabular.C: add longTabular() etc.
485 2003-04-10 John Levon <levon@movementarian.org>
487 * ControlMath.C (find_xpm): handle math_delim arguments
489 2003-04-02 Angus Leeming <leeming@lyx.org>
491 * ControlCommandBuffer.[Ch] (c-tor): passed a LyXView & rather than
492 a LyXFunc &. Ensuing changes elsewhere.
493 (getCurrentState): new method, returning bufferview_func's
494 currentState (needs the currently active BufferView).
496 2003-03-31 John Levon <levon@movementarian.org>
499 * ControlDocument.C: more Alert cleanups
501 2003-03-29 John Levon <levon@movementarian.org>
503 * ControlSpellchecker.C: Alert cleanup
505 2003-03-29 John Levon <levon@movementarian.org>
507 * helper_funcs.C: Alert cleanup
509 2003-03-29 John Levon <levon@movementarian.org>
511 * ControlDocument.C: comment out seemingly silly question
513 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * ControlDialog.tmpl (show): qualify emergency_exit_ with this->
519 2003-03-26 Angus Leeming <leeming@lyx.org>
521 * ControlThesaurus.[Ch]: rewrite to use the Dialog-based scheme.
523 2003-03-25 John Levon <levon@movementarian.org>
525 * ControlSpellchecker.C: support for new aspell
527 2003-03-25 Angus Leeming <leeming@lyx.org>
530 * ControlShowFile.[Ch]:
531 * ControlVCLog.[Ch]: rewrite to use the Dialog-based scheme.
533 2003-03-24 John Levon <levon@movementarian.org>
535 * ControlMath.C: include Pr function
537 2003-03-23 John Levon <levon@movementarian.org>
539 * ControlSpellchecker.C: make "words checked" translatable,
542 2003-03-18 John Levon <levon@movementarian.org>
544 * ControlParagraph.C: make reading of params succeed
546 2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
548 * ControlChanges.[Ch]: ControlChanges::find() returns the bool
549 from lyxfind::findNextChange(), instead of void.
551 2003-03-13 Angus Leeming <leeming@lyx.org>
553 * Dialog.h (initialiseParams): return a bool to indicate successful
554 translation of the string.
558 * ControlAbout.h: a serious attempt at documenting the code.
560 * ButtonController.[Ch] (readWrite): it wasn't used, so remove it.
563 * ButtonController.[Ch]:
564 * BCView.[Ch], BCView.tmpl: make many methods const.
566 2003-03-13 Angus Leeming <leeming@lyx.org>
568 * ControlParagraph.[Ch]: rewrite to use the Dialog-based scheme and
569 the new dispatch lfuns.
571 2003-03-12 Angus Leeming <leeming@lyx.org>
573 * ControlCharacter.[Ch]: rewrite to use the Dialog-based scheme and
574 the new dispatch lfuns.
576 2003-03-09 Angus Leeming <leeming@lyx.org>
578 Flatten the ButtonController tree by splitting it into a Controller
581 * BCView.[Ch], BCView.tmpl: new files containing the View part of the
584 * ButtonController.[Ch]: just the controller, which needs know only
585 two methods of the View, refresh and refreshReadOnly.
587 * lots of files: associated changes.
589 2003-03-09 Angus Leeming <leeming@lyx.org>
591 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
593 2003-03-09 Angus Leeming <leeming@lyx.org>
595 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
597 2003-03-09 Angus Leeming <leeming@lyx.org>
599 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
601 2003-03-09 Angus Leeming <leeming@lyx.org>
603 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
605 2003-03-09 Angus Leeming <leeming@lyx.org>
607 * ControlTabular.[Ch]: minimise the interface in preparation for
608 a move to the Dialog-based scheme.
609 (inset): removed; the views require only getActiveCell().
610 (tabular): return as a reference.
612 2003-03-07 Angus Leeming <leeming@lyx.org>
614 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
616 * ControlInset.{h, tmpl}: remove.
617 * Makefile.am: remove files.
619 2003-03-07 Angus Leeming <leeming@lyx.org>
621 * ControlBibitem.[Ch]:
624 * ControlUrl.[Ch]: removed.
626 * Makefile.am: remove files.
628 * ControlERT.C (dispatchParams):
629 * ControlExternal.C (dispatchParams):
630 * ControlFloat.C (dispatchParams):
631 * ControlInclude.C (dispatchParams):
632 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
635 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
637 2003-03-05 Angus Leeming <leeming@lyx.org>
639 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
641 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
643 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
644 * ControlInclude.C: remove unneeded header files.
646 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
648 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
650 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
652 * Dialog.h: make view() public. Add dialog() methods.
654 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
656 * ControlGraphics.C: removed #include "converter.h"
658 * ControlSendto.C: added #include "format.h"
660 2003-02-27 Angus Leeming <leeming@lyx.org>
662 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
664 * Makefile.am: add the new files.
666 2003-02-27 Angus Leeming <leeming@lyx.org>
668 * ControlBibitem.C (c-tor):
669 * ControlBibtex.C (c-tor):
670 * ControlCitation.C (c-tor):
671 * ControlIndex.C (c-tor):
672 * ControlRef.C (c-tor):
673 * ControlToc.C (c-tor):
674 * ControlUrl.C (c-tor):
675 pass "name" to ControlCommand c-tor,
678 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
681 * ControlERT.C (dispatchParams): use "name" rather than a
684 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
686 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
688 2003-02-21 Angus Leeming <leeming@lyx.org>
691 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
693 * ControlBibitem.[Ch]:
694 * ControlBibtex.[Ch]:
695 * ControlCitation.[Ch]:
696 * ControlCommand.[Ch]:
701 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
702 individual controllers too.
703 Move 'apply' code into the LyX kernel.
705 * ControlConnections.C: temporary renaming of Dialogs::signals.
707 * Makefile.am: add new files.
709 2003-02-21 Angus Leeming <leeming@lyx.org>
711 * ControlBibtex.C (Browse):
712 * ControlExternal.C (Browse):
713 * ControlGraphics.C (Browse):
714 * ControlInclude.C (Browse):
715 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
717 * ControlPrint.C (Browse):
718 don't pass a LyXView & to browseFile et al.
719 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
720 don't pass a LyXView & to fileDlg.
722 2003-02-17 John Levon <levon@movementarian.org>
724 * ControlDialog.tmpl: build dialog before calling setParams
725 for the benefit of ControlSpellchecker
727 * ControlSpellchecker.h:
728 * ControlSpellchecker.C: rework. Lots of bugs fixed and
731 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
733 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
734 of available *.bib-files from bibFiles.lst).
736 * tex_helpers.C (getTexFileList): sort and dis-duplicate
737 listWithoutPath correctly.
739 2003-02-08 John Levon <levon@movementarian.org>
742 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
744 2003-02-08 John Levon <levon@movementarian.org>
748 * ControlChanges.C: add merge changes dialog
751 * ControlPrefs.C: add setCurrentAuthor()
753 2003-01-31 Angus Leeming <leeming@lyx.org>
755 * ViewBase.h: add an isVisible() pure virtual method.
757 * ControlTabular.C (updateInset): don't build the dialog here.
758 Instead, do nothing if the dialog is invisible.
760 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
762 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
764 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
766 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
768 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
770 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
772 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
774 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * several files: ws changes
778 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * ControlDocument.C (classApply): use boost.format
782 2002-11-29 Angus Leeming <leeming@lyx.org>
784 * ControlButtons.h (isClosing): make it public, so that the view can
786 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
789 * ControlPrefs.[Ch] (OKButton): removed.
791 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
792 dialog isClosing(). (Ie, if the "save" button has been pressed.)
794 2002-11-28 John Levon <levon@movementarian.org>
796 * ControlSpellchecker.C: fix Lars' broken cleanup
798 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
800 * ControlTabular.[Ch]: Add isMulticolumnCell
802 2002-11-27 Angus Leeming <leeming@lyx.org>
804 * ControlMath.C (ControlMath): initialise active_.
806 2002-11-25 Angus Leeming <leeming@lyx.org>
808 * ControlDialog.h (hide, update): move from protected to public.
810 * ControlMath.[Ch]: add controllers for the main math panel dialog and
811 for any daughter dialogs stored by the main panel.
813 2002-11-21 Angus Leeming <leeming@lyx.org>
815 * ControlDocument.[Ch] (classApply): no longer returns bool.
816 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
818 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
820 * biblio.C (getAbbreviatedAuthor): use boost::format
822 * ControlSpellchecker.C (clearParams): use boost::format
824 2002-11-20 John Levon <levon@movementarian.org>
826 * ControlMath.C: couple more manglings
828 2002-11-20 John Levon <levon@movementarian.org>
831 * ControlMath.C: add find_xpm mangler
833 2002-11-17 John Levon <levon@movementarian.org>
835 * helper_funcs.C and users: specify save/open in file dialog
837 2002-11-15 John Levon <levon@movementarian.org>
840 * ControlPrefs.C: use setParams()
842 2002-11-15 John Levon <levon@movementarian.org>
844 * ControlButtons.h: make OKButton() virtual for prefs
847 * ControlPrefs.C: updates for xforms port to MVC
851 * ControlTabular.C: add simple MVC port
853 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
855 * ControlInclude.C: fix file format masks for qt's use
857 2002-11-13 John Levon <levon@movementarian.org>
861 * ControlPrefs.C: add skeleton controller
863 2002-11-12 John Levon <levon@movementarian.org>
865 * biblio.C: fix warnings
867 2002-11-12 Angus Leeming <leeming@lyx.org>
869 * ControlSpellchecker.C (check): fix crash
870 * biblio.C (escape_special_chars): simplify BRE.
872 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
874 * ControlDocument.[Ch]: Remove unused method
876 2002-11-07 Angus Leeming <leeming@lyx.org>
878 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
879 * clean-up the search code in biblio.C.
881 2002-11-07 John Levon <levon@movementarian.org>
883 * ControlGraphics.C: QGraphics fixes
885 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
887 * ControlDocument.C: (SaveAsDefault) make it work.
888 fix buffer update on class change
890 2002-11-06 Angus Leeming <leeming@lyx.org>
892 * biblio.C (searchKeys and helper functions): rewritten entirely
893 using the STL. Boost::regex searching now works as the old 1.2 code
896 2002-11-06 Angus Leeming <leeming@lyx.org>
898 * biblio.C: clean-up of the code. No change in functionality.
900 2002-11-04 Angus Leeming <leeming@lyx.org>
902 * ControlGraphics.[Ch] (getUnits): moved out of class and into
903 frnt::getBBUnits(). Code cleaned also.
905 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * biblio.C (regexSearch): STRCONV
910 * ControlAboutlyx.C (getVersion): STRCONV
912 * ControlMath.C: include config.h
914 2002-10-31 John Levon <levon@movementarian.org>
917 * ControlGraphics.C: bb units from Herbert
919 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
921 * ControlParagraph.[Ch] (alignDefault): new method, returning the
922 default alignment (block, left, right, center) of this paragraph.
924 2002-10-25 John Levon <levon@movementarian.org>
926 * ControlPrint.C: using endl
928 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
930 * ControlPrint.[Ch]: move code here from Liason.[Ch].
932 * ControlSpellchecker.h (getCount): new method.
933 * ControlSpellchecker.[Ch]: constify some accessor methods.
935 2002-10-22 Angus Leeming <leeming@lyx.org>
937 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
938 alphabetical order once again.
940 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
941 Add a list of CheckedWidget ptrs to ButtonControllerBase
942 together with methods addCheckedWidget and checkWidgets to use it.
944 * ButtonController.tmpl (refresh): use the return value of
945 checkWidgets to control the activation state of the Ok, Apply, Restore
948 * ControlDialog.tmpl (show, update):
949 * ControlInset.tmpl (showInset, update):
950 invoke ButtonController::refresh to ensure that the activation state of
951 the Ok, Apply buttons reflects the valid-state of the widgets.
953 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
955 * tex_helpers.C (rescanTexStyles): don't pop p
958 * ControlWrap.C (WrapParms): remove initialization of placement,
959 and move empty c-tor to .h class def.
961 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
962 of on stringsteam, return void. Get the file into the stream as
965 * ControlPreamble.[Ch] (params): getter and setter for params_, make
966 params_ into a string, not just a pointer to string.
968 * ControlExternal.C (getTemplateNumber): put i into the for scope,
969 and use the sequence operator on the last for "parameter"
970 (getTemplate): use std::advance to advance the iterator.
972 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
973 instead of on a stringstream, return void. Get the file into the
974 stream as fast as possible.
975 (getVersion): use ostringstream
977 * lots of files: ws changes, formatting fixes
979 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * ControlCharacter.C (apply): setMinibuffer change
982 * ControlDocument.C (apply): ditto
984 * ControlThesaurus.C (replace): ditto
985 * ControlSearch.C (find): ditto
987 * ControlPreamble.C (apply): ditto
988 * ControlParagraph.C (apply): ditto
990 2002-10-14 André Pönitz <poenitz@gmx.net>
992 * ControlDocument.C: somebody else's fix for a hard lockup
994 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
998 * Makefile.am: New document parameters controller
1000 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1004 2002-09-24 Angus Leeming <leeming@lyx.org>
1006 * ControlConnections.h: remove trailing whitespace.
1008 * biblio.h: #include "LString.h".
1010 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1012 * ControlGraphics.C: Change GUI origin strings into proper English.
1014 2002-09-09 John Levon <levon@movementarian.org>
1016 * ControlInclude.C: fix file masks. Get rid of noload,
1017 remove stupid warning
1019 2002-09-09 John Levon <levon@movementarian.org>
1022 * ControlMath.C: add latex_deco
1024 2002-09-06 John Levon <levon@movementarian.org>
1026 * ControlMath.C: terminate dots
1028 2002-09-05 Angus Leeming <leeming@lyx.org>
1030 * all files: modify the headers as discussed on the list.
1032 2002-08-30 John Levon <levon@movementarian.org>
1035 * ControlMath.C: moved from MathsSymbols.C
1037 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1039 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
1041 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1043 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
1044 first item in the list
1046 2002-08-15 Angus Leeming <leeming@lyx.org>
1048 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
1050 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
1052 2002-08-15 Angus Leeming <leeming@lyx.org>
1054 * lots: changed my email address to leeming@lyx.org.
1056 * GUI.h: return it to private derivation from boost::noncopyable.
1058 2002-08-14 Angus Leeming <leeming@lyx.org>
1060 * GUI.h: public derivation from boost::noncopyable.
1062 2002-08-14 Angus Leeming <leeming@lyx.org>
1064 * GUI.h: class GUI deries from boost::noncopyable
1066 * ControlButtons.h: no longer derives from DialogBase, but instead
1067 derives directly from boost::noncopyable.
1069 * ViewBase.h: derives from boost::noncopyable.
1071 * ControlCharacter.C:
1073 * ControlConnections.C:
1074 * ControlGraphics.C:
1076 * ControlParagraph.C:
1077 * ControlPreamble.C:
1080 * ControlSpellchecker.C:
1082 * ControlThesaurus.C:
1083 rearrange #includes. Remove unnecessary ones.
1085 * ControlError.h: add "insets/inseterror.h".
1087 * helper_funcs.h: add necessary #includes.
1089 * tex_helpers.[Ch]: add #pragma directives for g++.
1091 * Makefile.am: remove src/frontends from -I list to compiler.
1093 2002-08-13 Angus Leeming <leeming@lyx.org>
1095 * ControlConnections.C:
1097 changes due to the changed LyXView interface that now returns references
1098 to member variables not pointers.
1100 2002-08-12 Angus Leeming <leeming@lyx.org>
1102 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
1103 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
1104 for the most commonly accessed core methods, to minimise code
1107 * many files: use these wrappers and remove associated #includes.
1109 2002-08-12 Angus Leeming <leeming@lyx.org>
1111 * ControlButtons.[Ch] (bc, view): no longer virtual.
1112 (setView, setButtonController): new methods, invoked by GUI.
1114 * ControlDialog.h (show):
1115 * ControlInset.h (createInset, showInset): make public, so that GUI can
1118 * GUI.h: GUI now contains a controller, rather than deriving from it.
1119 remove all those friend functions since we can now access the show,
1120 createInset, showInset controller methods.
1122 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
1125 * character.h: #include a couple of STL files.
1127 2002-08-08 John Levon <levon@movementarian.org>
1129 * ControlCommandBuffer.C: LyXAction cleanup
1131 2002-08-07 John Levon <levon@movementarian.org>
1133 * ControlSpellchecker.C: fix crash when spellchecker doesn't
1136 2002-08-06 John Levon <levon@movementarian.org>
1138 * ControlSpellchecker.C:
1139 * ControlSpellchecker.h: use WordLangTuple
1141 2002-08-06 John Levon <levon@movementarian.org>
1143 * ControlSpellchecker.C: show an alert with the
1144 error message on initialisation failure
1146 2002-08-04 John Levon <levon@movementarian.org>
1148 * ControlSpellchecker.h:
1149 * ControlSpellchecker.C: some cleanups
1151 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
1153 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
1155 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
1156 the Dialogs::updateParagraph signal is emitted.
1158 2002-08-02 Angus Leeming <leeming@lyx.org>
1160 * ControlCharacter.C (apply):
1161 * ControlERT.C (applyParamsToInset):
1162 * ControlParagraph.C (apply):
1163 * ControlSearch.C (find, replace):
1164 * ControlThesaurus.C (replace): changes due to LyXView::view() now
1165 returning a boost::shared_ptr.
1167 2002-08-01 John Levon <levon@movementarian.org>
1169 * ControlSendto.C: writeFile() change
1171 2002-08-01 John Levon <levon@movementarian.org>
1173 * ControlSpellchecker.h:
1174 * ControlSpellchecker.C: remove options
1176 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * several files: strip,frontStrip -> trim,ltrim,rtrim
1180 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * biblio.C (parseBibTeX): modify because of strip changes
1184 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1186 * ControlFloat.[Ch]: Implement Wide Float toggle
1187 Replace "allow_here_definitely" by "wide"
1189 2002-07-22 Herbert Voss <voss@lyx.org>
1191 * ControlGraphics.C: small changes
1193 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1195 * ControlToc.C: remove getType
1197 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1199 * ControlCommandBuffer.C: don't add "" to history
1201 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1203 * ControlRef.C: fix dispatch call nicely
1205 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1208 * ControlCommandBuffer.h:
1209 * ControlCommandBuffer.C: add controller for command (mini) buffer
1212 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1214 * ControlRef.C: fix dispatch call
1216 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1218 * ControlCharacter.C: use view_state_changed not setState
1220 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1222 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
1224 2002-07-15 Mike Fabian <mfabian@suse.de>
1226 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
1227 of compare_no_case, because in turkish, 'i' is not the lowercase
1228 version of 'I', and thus turkish locale breaks parsing of tags.
1230 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1232 * ControlBibtex.C (applyParamsToInset): ws change
1234 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1236 * ControlInclude.C: Add warning if absolute path name and
1237 check_typeset is used together
1239 2002-06-28 Angus Leeming <leeming@lyx.org>
1241 * ControlGraphics.C: changes associated with the name changes
1242 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
1244 2002-06-25 Angus Leeming <leeming@lyx.org>
1246 * ControlGraphics.C (readBB): Channges associated with the changed
1247 interface to the graphics cache.
1249 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1251 * ControlParagraph.C: layout as layout
1253 2002-06-21 Angus Leeming <leeming@lyx.org>
1255 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
1256 * tex_helpers.h: #include "LString.h".
1258 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1261 * ControlBibitem.C: use repaint()
1263 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1265 * ControlTexinfo.C: do the same for Texinfo
1267 * tex_helpers.C: don't try to read a file that isn't there
1269 2002-06-21 Herbert Voss <voss@perce.de>
1271 * ControlBibtex.C: do an automatic update, when no bst-list
1274 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1276 * GUI.h: createIndex() changed
1278 2002-06-18 Herbert Voss <voss@perce.de>
1280 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
1281 helperstuff. Now the bibtex gui can use some of these functions
1283 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1285 * ControlGraphics.C: just make the mask *.*
1287 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1289 * changes to simplify function setup, removal of a lot of includes.
1291 2002-06-12 Angus Leeming <leeming@lyx.org>
1293 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
1295 2002-06-12 Angus Leeming <leeming@lyx.org>
1297 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
1299 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
1301 * ControlParagraph.[Ch]: new paragraph controller
1302 * GUI.h: add new controller
1303 * Makefile.am: ditto
1305 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1307 * GUI.h: do not include ButtonController.tmpl
1309 * ControlInset.h: include ControlInset.tmpl
1311 * ControlCitation.C: do not include ControlInset.tmpl
1312 * ControlCommand.C: ditto
1313 * ControlERT.C: ditto
1314 * ControlError.C: ditto
1315 * ControlExternal.C: ditto
1316 * ControlFloat.C: ditto
1317 * ControlGraphics.C: ditto
1318 * ControlInclude.C: ditto
1319 * ControlMinipage.C: ditto
1321 * ControlDialog.tmpl: remove the Base:: prefix
1323 2002-06-07 Angus Leeming <leeming@lyx.org>
1325 Fixes needed to compile with Compaq cxx 6.5.
1326 * ControlDialog.tmpl: I have had to prefix base class methods with
1329 * ControlInset.tmpl: #include a couple of headers.
1331 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * switch from SigC signals to boost::signals
1335 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1337 * biblio.h: include vector
1339 * biblio.C: change include order
1340 (regexSearch): use boost regex and get rid of LRegex
1342 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1344 * ControlAboutlyx.C:
1347 * ControlCharacter.C:
1348 * ControlCitation.C:
1350 * ControlConnections.C:
1353 * ControlExternal.C:
1356 * ControlGraphics.C:
1360 * ControlMinipage.C:
1361 * ControlPreamble.C:
1366 * ControlShowFile.C:
1367 * ControlSpellchecker.C:
1368 * ControlTabularCreate.C:
1370 * ControlThesaurus.C:
1373 * ControlVCLog.C: LyXView moved into frontends
1375 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1377 * ControlExternal.C: add scoped_ptr.hpp
1379 * ControlCharacter.h: use more specific smart_ptr header.
1381 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
1383 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
1385 2002-05-13 Herbert Voss <voss@perce.de>
1387 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
1388 like "Odland, G. and ... "
1389 (parseBibTeX): fix bug with title and booktitle
1390 and replace a \n with a space when one entry has more than
1393 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1395 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
1396 "No change" and "Reset".
1398 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
1399 them at the front of the list.
1401 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1403 * ControlGraphics.C: add some comments to the char * arrays.
1404 Make rorigin_size const.
1406 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1408 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
1409 Enables the gui's to internationalise these strings.
1411 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
1413 * frnt_lang.C: fix build
1415 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
1417 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
1418 If the the caller is the character dialog, add "No change" and "Reset"
1419 to the vector, else don't.
1420 Internationalise the GUI strings here rather than in the different
1422 Sort the translated strings, albeit simply.
1424 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
1426 * character.[Ch]: rename namespace character as namespace frnt.
1428 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
1429 as several dialogs will use this info. The function now returns a
1430 vector<LanguagePair> where LanguagePair is a display string and an
1431 identifying string. The display string is internationalised.
1433 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
1434 the identifying strings, "No change" and "Reset".
1436 * Makefile.am: add frnt_lang.[Ch].
1438 2002-04-25 Herbert Voss <voss@lyx.org>
1440 * ControlSendto.C (allFormats): don't add the graphics extensions to the
1443 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1445 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
1446 BibTeX databases in a WYSIWYM way.
1448 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1450 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
1451 way past his use-by date.
1452 Make use of the improved info from Buffer::getBibkeyList when using
1453 \bibliography. Enables us to provide natbib support in this case too.
1455 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
1457 * ControlGraphics.C: pass the browseFile dialog a string of only those
1458 formats that can currently be loaded by LyX.
1460 2002-04-15 Herbert Voss <voss@perce.de>
1462 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
1463 with something like ,,...blah...`` (two commas)
1465 2002-04-14 Herbert Voss <voss@perce.de>
1467 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
1468 into the support/lstrings for better use in other programs.
1470 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
1471 namespace anon and make globally accessible.
1472 (familyName): test for the presence of a LaTeX Space at the front of
1473 of a name; strip it if it exists.
1475 2002-04-11 Herbert Voss <voss@perce.de>
1477 * ControlGraphics.C: expand "browse-string" to all available formats
1479 2002-04-11 Herbert Voss <voss@perce.de>
1481 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
1483 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
1485 * ControlAboutlyx.C (getVersion): two _() forgotten
1487 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
1489 * ControlGraphics.C:
1491 * ControlBibtex.C: make N_() be _()
1493 2002-04-07 Herbert Voss <voss@perce.de>
1495 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
1497 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
1499 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
1500 used when reading the BB.
1502 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
1504 * ControlGraphics.C (readBB): Don't open the ifstrem and then
1505 check the format from the contents (and open a second ifstream in the
1506 process. One at a time please.
1508 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1510 * ControlRef.C (getBufferNum): squash warning message.
1512 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1514 * ControlBibtex.C (Browse):
1515 * ControlGraphics.C (Browse):
1516 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
1518 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
1520 * ControlGraphics.C (applyParamsToInset): pass filepath to
1521 InsetGraphics::updateInset.
1523 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1525 * most files: ws cleanup
1527 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1529 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
1532 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
1534 * ControlGraphics.C:
1535 * ControlInclude.C: better error messages
1537 2002-03-11 Herbert Voss <voss@lyx.org>
1539 * biblio.C (parseBibTeX): fix another minibug with an
1542 2002-03-10 Herbert Voss <voss@lyx.org>
1544 * biblio.C (parseBibTeX): fix bug
1545 (familyName): improve parsing
1547 2002-03-09 Herbert Voss <voss@lyx.org>
1549 * ControlGraphics.[Ch]: adding checkFilename() for testing
1550 of non-existing files
1552 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1554 * ControlSendto.C (allFormats): fix a iterators are not pointers
1557 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
1559 * ControlShowFile.h: add a #include "LString.h"
1561 2002-03-05 Herbert Voss <voss@lyx.org>
1563 * biblio.C (getInfo): simplify if using paragraph layout
1566 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1568 * biblio.C (getInfo): return the info field correctly if the key
1569 is not a BibTeX one.
1570 (parseBibTeX): fix crash when data.find('=') returns string::npos.
1572 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1574 * ControlForks.[Ch]: new files. A controller for the Forked Child
1575 processes dialog, enabling the user to see what forked processes
1576 are running, and, if he so desires, to kill them.
1578 * GUI.h: add class GUIForks.
1580 * Makefile.am: add ControlForks.[Ch].
1582 * ControlGraphics.C (getParams): small change due to change in
1585 2002-02-21 Herbert Voss <voss@lyx.org>
1587 * biblio.C: fix bug with commentlines in a bibentry
1589 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1591 * Makefile.am: simpler obj. file compile
1593 2002-02-18 Herbert Voss <voss@lyx.org>
1595 * ControlGraphics.[Ch]: remove help-file call
1597 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1599 * helper_funcs.h: wrap the structs firster and seconder up in a
1600 namespace to avoid clashes with those in lyxalgo,h.
1602 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1603 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1605 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1607 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1610 change Systemcalls::System to Systemcalls::Wait and
1611 No change of functionality, just reflects the stripped down Systemcalls
1614 2002-02-06 Herbert Voss <voss@lyx.org>
1616 * ControlGraphics.[C] (readBB): search also in
1617 g'zipped files. If it is useful than PK and compress
1618 should also be supported. use unzipFile() from
1621 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1623 * ControlRef.C (getBufferName): new method to get a real buffer
1626 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1628 * ControlTexInfo.[Ch]: Removed Help functions.
1630 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1632 * ControlSpellchecker.C: clear any selection left
1635 2002-02-01 Herbert Voss <voss@lyx.org>
1637 * ControlGraphics.[C] (readBB): search only, if it is a
1638 ".?ps" file and look for bb's at end of file
1640 2002-01-30 Herbert Voss <voss@lyx.org>
1642 * ControlGraphic.[C]: do not search the whole file, when
1645 2002-01-29 Herbert Voss <voss@lyx.org>
1647 * ControlGraphic.[C]: added a button for document path
1648 when browsing -> bug 222
1650 2002-01-27 Herbert Voss <voss@lyx.org>
1652 * ControlGraphic.[Ch]: added support for Bounding Box, other
1655 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1657 * ControlAboutlyx.h:
1658 * ControlTexinfo.h: added #include "LString.h" where they belong.
1660 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1662 * ControlCitation.C:
1663 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1665 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1667 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1670 2002-01-20 Herbert Voss <voss@perce.de>
1672 * ControlInclude.[Ch]: better control of unexistings files
1673 when entered without the browser
1675 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1678 2002-01-19 Herbert Voss <voss@perce.de>
1680 * biblio.C (getInfo): fix bug when no author is given
1682 * biblio.C (parseBibTeX): change the parsing, so that
1683 '#'-characters in a bibtex entry are no more a problem.
1685 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1687 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1688 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1690 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1692 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1694 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1696 * ControlExternal.C (Browse): add a std:: qualifier
1698 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1700 * ControlExternal.C (Browse): simplify to use browseRelFile
1702 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1704 * ButtonController.tmpl: added // -*- C++ -*-
1706 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1707 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1708 Needed in _one_ of the ControlCommand-derived classes only.
1710 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1713 * ControlSearch.h: #include LString.h
1715 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1717 * ButtonController.h: split into two. The definition remains in
1718 ButtonController.h, the declaration is now in ButtonController.tmpl.
1719 These template methods should be #included when the derived class is
1720 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1721 and in the qt2 and gnome equivalents.
1723 * ControlDialogs.h: removed. The definition of class ControlDialog is
1724 now to be found in ControlDialog.h and the declaration of the methods
1725 is in ControlDialog.tmpl. The two template instantiations are performed
1726 in ControlDialog_impl.[Ch], new files also.
1728 * ControlInset.h: split into two. The definition remains in
1729 ControlInset.h, the declaration is now in ControlInset.tmpl.
1730 These template methods should be #included derived class is
1731 instantiated, in this case in 8 other .C files in this directory.
1733 * ControlAboutlyx.[Ch]:
1734 * ControlCharacter.[Ch]:
1738 * ControlExternal.C:
1740 * ControlGraphics.C:
1743 * ControlMinipage.C:
1744 * ControlPreamble.[Ch]:
1745 * ControlPrint.[Ch]:
1746 * ControlSearch.[Ch]:
1747 * ControlShowFile.[Ch]:
1748 * ControlSpellchecker.[Ch]:
1749 * ControlTabularCreate.[Ch]:
1750 * ControlTexinfo.[Ch]:
1751 * ControlThesaurus.[Ch]:
1752 * ControlVCLog.[Ch]: small changes associated with the above ones.
1754 * GUI.h: #include the ButtonController and dialog controller files
1755 here, rather than forward declare them. This is the correct place
1756 for these #includes.
1758 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1759 Rename ControlDialogs.h as ControlDialog.h.
1760 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1763 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1765 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1767 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1769 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1772 * ControlGraphics.C (Browse): remove overzealous shortcut
1774 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1776 * FormMinipage.C (apply, update): MinipageParams::width renamed
1777 as MinipageParams::pageWidth. InsetMinipage::width renamed
1778 as InsetMinipage::pageWidth.
1780 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1782 * ButtonController.h (refreshReadOnly): use explicit typename
1784 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1786 * helper_funcs.h (browseFile): add default empty button descriptions.
1788 * ControlGraphics.C (Browse):
1789 * ControlBibtex.C (Browse):
1790 * ControlInclude.C (Browse): add shortcuts to directory buttons
1792 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1794 * ControlThesaurus.h:
1795 * ControlThesaurus.C: update to Aiksaurus 0.14
1797 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1799 * ControlSpellchecker.C (clearParams): show the closing message
1800 only if some words have been checked, thereby fixing
1803 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1805 * ControlFloat.[Ch]: changes to prevent here definitely being used
1808 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1810 * ControlThesaurus.h: do not include <config.h> in header files
1812 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1814 * ControlToc.C: changes for floatlist
1816 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1818 * ControlVCLog.C: use _()
1820 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1822 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1825 2001-10-22 Juergen Vigna <jug@sad.it>
1827 * ControlSpellchecker.C (clearParams): use the error_ message of the
1828 speller_ if available when the spellchecker died.
1829 (setParams): remove double error message display.
1831 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1833 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1835 * helper_funcs.[Ch] (getLatexUnits): see above.
1837 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1839 * ControlTexinfo.C (getContents): use the right file for .sty files
1841 2001-10-10 Herbert Voss <voss@perce.de>
1843 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1844 and some more stuff from FormTexinfo.C
1846 * ControlShowFile.C: hiding the update-button
1848 2001-10-09 Herbert Voss <voss@perce.de>
1850 * ControlTexinfo.[Ch]: new files. Display information about the
1851 installed texfiles (cls,sty,bst).
1853 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1855 * GUI.h: added classes GUIShowFile and GUITexinfo.
1857 * Makefile.am: modified appropriately.
1859 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1861 * ControlAboutlyx.C (getVersion): use lyx_version and
1862 lyx_release_date instead of old macros
1864 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1866 * ControlSpellchecker.C (check): Behaves well now when the spell
1867 library doesn't know a replacement to an incorrect word.
1869 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1871 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1872 the correct place. Can now check spelling more than once!
1874 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1876 * ControlSplash.[Ch]: removed.
1878 * GUI.h: remove GUISplash class.
1880 * ViewBase.h: remove ViewSplash class.
1882 * Makefile.am: remove ControlSplash.[Ch].
1884 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1886 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1887 view will be shut down.
1890 * ControlInset.h: act on emergency_exit_.
1892 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1893 speller fails to launch.
1895 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1897 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1898 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1900 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1902 * ControlRef.h (disconnectOnApply): new method. Set to true.
1903 Perhaps make this user-modifiable?
1905 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1907 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1910 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1912 * ControlRef.C (getBufferList, getBufferNum): New methods
1914 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1916 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1917 of the dialog when the Apply button is pressed. Defaults to false,
1918 but can be overridden in the daughter classes.
1920 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1921 Perhaps make this user-modifiable?
1923 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1925 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1926 we have dialogs that update their contents when the buffer changes.
1927 Rather embarassing, really!
1929 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1931 * ControlSearch (replace): change semantics of replace to NOT move on
1932 to the next instance of a word once the present instance has been
1933 replaced unless we are replacing ALL instances of the word.
1935 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1937 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1939 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1941 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1942 dialog, set all options to "reset", close the dialog, re-open it ->
1943 the options are set incorrectly.
1945 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1946 When Applying it's useful to know whether the dialog is about to close
1947 or not (no point refreshing the display for example).
1949 * ControlInset.C (apply): use isClosing.
1951 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1954 * ControlDialogs.h: remove bc() hack, now fixed in
1955 Qt2 frontend. use member dialog_built_ instead of shared
1958 * ButtonController.h:
1959 * ButtonPolicies.C: more debug info
1961 * ButtonControllerBase.C: call refresh() when setting readOnly !
1963 * GUI.h: External form has apply, use the right policy
1965 * character.C: fix two off-by-one errors when latex font was removed
1967 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1969 * ControlInset.h (apply): tentative fix for the press Apply multiple
1970 times and get multiple new Insets problem.
1972 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1974 * ControlCharacter.C: fix typo
1978 * ControlInsets.C: make sure dialog is built before it is shown, so
1979 it works properly the very first time it is shown
1981 2001-08-20 Herbert Voss <voss@perce.de>
1983 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1984 and styles. Added an option for "bibliography into toc"
1986 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1988 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1989 LaTeX is no longer a font property.
1991 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1993 * GUI.h: Button controller for Reference dialog changed to
1994 NoRepeatedApplyReadOnlyPolicy.
1996 * biblio.C (getInfo): output volume and number info. Move year to end
1999 2001-08-09 Allan Rae <rae@lyx.org>
2001 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
2003 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
2005 * helper_funcs.C (getVectorFromString): fixed small bug.
2007 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
2009 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
2011 * ControlSpellchecker.C: check next word after insert in personal dict
2013 2001-08-06 Juergen Vigna <jug@sad.it>
2015 * ControlERT.[Ch]: new file
2017 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
2019 * ControlInset.h: const and non-const forms of params().
2021 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
2022 whitespace from either side of each item.
2024 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
2026 * ControlFloat.h: add a != operator for FloatParams.
2027 Lars, how did you get this to compile!!!
2029 * ControlMinipage.[Ch]: uncommented someone's commenting out of
2030 operator != for MinipageParams. Who's changing stuff and not compiling?
2032 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2034 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
2037 * GUI.h: add class GUIFloat
2039 * ControlFloat.[Ch]: new files
2041 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2043 * ControlPrint.C: #include Lassert.h here.
2045 2001-07-26 Baruch Even <baruch@lyx.org>
2047 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
2050 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2052 * ControlThesaurus.h:
2053 * ControlThesaurus.C:
2055 * Makefile.am: thesaurus support
2057 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
2060 * ControlInclude.C: implement ability to load file
2062 2001-07-18 Juergen Vigna <jug@sad.it>
2064 * ControlSearch.C (replace): changes to lyxfind.h function calls.
2066 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2068 * biblio.C (getInfo): add a .c_str() to handle the usual
2071 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2073 * ControlCitation.[Ch]: changes associated with adding natbib support.
2074 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
2075 New static variable citeStyles_.
2077 * biblio.[Ch]: large internal rearrangement.
2078 New public enum CiteStyle.
2079 New public struct CitationStyle.
2080 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
2081 getNumericalStrings, getAuthorYearStrings
2082 (simpleSearch, regexSearch): no longer publicly accessible.
2084 * helper_funcs.C (getStringFromVector): bug fix.
2086 2001-07-16 Baruch Even <baruch@lyx.org>
2088 * ControlVCLog.h: Added Lsstream.h to includes.
2090 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
2092 * ControlSpellchecker.[Ch]: remove d-tor.
2094 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2096 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
2098 2001-07-16 Juergen Vigna <jug@sad.it>
2100 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
2101 compiled with USE_PSPELL) to be able to switch between ISpell and
2104 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2106 Consistent use of Lsstream.h:
2107 * ControlAboutlyx.[Ch] (getCredits):
2108 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
2110 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2112 * ControlCredits.[Ch]: removed
2113 * ControlCopyright.[Ch]: removed
2114 * ControlAboutlyx.[Ch]: added (replaces previous)
2115 * GUI.h: removed credits and copyright added about lyx stuff
2117 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2119 * ControlSpellchecker.C (getSuggestion):
2120 (getWord): add std:: qualifier
2122 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2124 * ControlSpellchecker.[Ch]: added
2125 * ViewBase.h: added partialUpdate(int) member
2126 * GUI.h: added spell stuff
2128 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2130 * ControlExternal.C: (*it). -> it->
2132 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
2134 * ButtonController.h: move some included header files out of the
2135 frontends and into here.
2137 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2139 * ControlCharacter.C (c-tor): cosmetic name change of signal.
2141 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
2143 * *.[h]: added // -*- C++ -*-
2144 * *.[C]: removed // -*- C++ -*-
2146 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
2147 activate Apply button.
2148 (clearParams): removed.
2149 font_ is now stored as a boost::scoped_ptr.
2150 font_ is no longer deleted on hide(), so it's contents can now be used
2151 by the Font button on the toolbar.
2152 Lots of new methods so that the GUI can easily get the contents of
2153 font_ when it update()s.
2155 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2157 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
2158 crash when the Font button on the Toolbar is pressed.
2160 * GUI.h: change policy of Character button controller to
2161 OkApplyCancelReadOnlyPolicy.
2163 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2165 * ControlToc.C (getContents): don't add anything to the list if it
2166 is supposed to be empty.
2168 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
2170 * helper_funcs.C (getVectorFromString): bug fix.
2172 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
2174 * ButtonController.h
2175 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
2176 from ButtonControllerBase::readOnly. Updates the state of the widgets
2177 in the read-only list only when the read-only status of the document
2179 (refresh): moved this stuff into refreshReadOnly.
2181 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
2183 * ControlPrint.C (c-tor):
2184 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
2186 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
2189 * character.h: small clean-ups.
2191 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2193 * ControlToc.C (getType): remove support for old float list.
2195 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2197 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
2198 * ControlGraphics.h: no longer include insetgraphicsParams.h
2199 * ControlInset.h: no longer include LyXView.h
2204 * ControlCharacter.C:
2205 * ControlCitation.C:
2207 * ControlConnections.C:
2208 * ControlCopyright.C:
2211 * ControlExternal.C:
2212 * ControlGraphics.C:
2215 * ControlMinipage.C:
2216 * ControlPreamble.C:
2220 * ControlTabularCreate.C:
2222 * ControlVCLog.C: they're now in here!
2224 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2226 * ButtonControllerBase.h: C++ mode, inherit privately from
2228 * ButtonPolicies.h: ditto
2230 * ButtonController.h: C++ mode, swap init order of restore_ and
2233 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2235 * ControlTabularCreate.h:
2236 * ControlTabularCreate.C: make dialogs use a pair of uints
2240 * ControlVCLog.C: fill a stringstream with the log contents
2243 * ControlExternal.C: from Angus, clone the new InsetExternal
2246 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
2248 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
2249 and made more robust.
2251 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2256 * ControlPreamble.C:
2258 * ControlGraphics.C:
2259 * ControlExternal.C:
2260 * ControlCopyright.C: include gettext.h
2262 * ControlCharacter.C:
2263 * character.C: include gettext.h and language.h
2265 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
2267 * ButtonController.h:
2268 * ButtonControllerBase.h:
2269 * ButtonControllerBase.C:
2276 * ControlConnections.h:
2279 * ControlExternal.C:
2282 * ViewBase.h: s/ControlButton/ControlButtons/
2284 s/UndoAll/Restore/ + associated
2286 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2288 * ControlToc.[Ch]: new files; a controller for the TOC popup.
2291 * Makefile.am: associated changes with all of the above.
2293 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2295 * ControlExternal.C: bug fixes. Can now apply changes to the inset
2296 and edit, view, update the External Material correctly. I hope!
2298 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2300 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
2302 * BCTemplates.h: renamed as ButtonController.h
2304 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
2307 * ControlConnections.h: associated change in #include and class names.
2309 * ControlExternal.[Ch]: new files; a controller for the External
2313 * Makefile.am: associated changes with all of the above.
2315 * ControlGraphics.[Ch]:
2316 * ControlInclude.[Ch]:
2317 * ControlPrint.[Ch]:
2319 (Browse): new method. Returns the results of a FileDialog browse.
2321 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
2322 (getVectorFromString): fixed bug.
2324 * biblio.C (simpleSearch): cleaned up.
2326 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2328 * A slight reworking of Baruch Even's ButtonController patch.
2330 * BCTemplates.h: new file; all the templates for the ButtonController.
2331 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
2332 to the more generic setButtonLabel().
2334 * ButtonController.[Ch]: renamed cancel_label and close_label as
2335 cancel_label_ and close_label_.
2337 * Makefile.am: added BCTemplates.h
2339 2001-03-29 Juergen Vigna <jug@sad.it>
2341 * ControlMinipage.C: removed widthp_ and all it's functions and changed
2342 to use new %-lengths of LyXLength.
2344 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2346 * ControlCitation.C (bibkeysInfo): removed Assert.
2348 * ControlCopyright.h: moved GUICopyright into GUI.h
2352 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2354 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
2355 (setDaughterParams): a (by default empty) new method called in show().
2361 * ControlMinipage.h:
2364 * ControlUrl.h (clearDaughterParams): removed
2366 * ControlMinipage.C (applyParamsToInset): update the view.
2367 Added namespace minipage containing a helper function getUnits.
2369 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
2371 * ControlCharacter.[Ch]: moved out all the helper functions and the
2372 enum into their own file.
2373 * character.[Ch]: new files; contain the character helper functions,
2374 now inside namespace character.
2376 * ControlCitation.[Ch]: moved out all the helper functions and the
2377 enums into their own file. Simplified interface.
2378 * biblio.[Ch]: new files; contain the citation helper functions,
2379 now inside namespace biblio. Will be of use also to an improved
2382 * ControlGraphics.[Ch]:
2383 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
2384 popups, respectively.
2387 * Makefile.am: associated changes.
2389 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2391 * ControlMinipage.[Ch]:
2392 * ControlPreamble.[Ch]:
2393 * ControlPrint.[Ch]:
2394 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
2395 and Print popups and Splash screen, respectively.
2397 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
2401 * Makefile.am: associated changes.
2403 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2405 * ControlConnections.[Ch]: (docType): new method; returns the type
2406 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
2409 * ControlSearch.[Ch]:
2410 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
2411 Search and TabularCreate popups, respectively.
2414 * Makefile.am: associated changes.
2416 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2418 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
2421 * ControlInset.h (apply): fix bug. Can now create new insets again.
2423 * README: describe program flow.
2425 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2427 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
2429 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2431 * ControlDialogs.h: moved class ControlInset into its own file.
2433 * ControlInset.h: new file. class ControlInset has been expanded to take
2434 two template parameters, Inset and Params. Believe that all inset
2435 controllers can be derived from this with the minimum of effort.
2437 * ControlBibitem.[Ch]:
2438 * ControlBibtex.[Ch]:
2439 * ControlCitation.[Ch]:
2440 * ControlCommand.[Ch]: moved most code into ControlInset.
2442 * lots of files. Moved protected stuff into private where possible.
2444 * ControlError.[Ch]:
2445 * ControlInclude.[Ch]:
2446 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
2447 Include and Url popups, respectively.
2450 * Makefile.am: associated changes.
2452 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2454 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
2457 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2459 * ControlCredits.C (getCredits): remove std:: qualifier for
2462 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2464 * ControlCredits.C (getCredits): add std:: on vector
2466 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2468 * ControlCredits.C: remove using that is only used once, use
2469 std::ios instead of std::iosbase, add some annoying comments.
2471 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2473 * lots of header files: improved explanatory notes.
2475 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
2476 ControlBase is now a class that only controls the interaction of the
2477 View with the ButtonController.
2479 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
2480 to ControlConnectBase. The class controls the connection/disconnection
2481 of signals from the LyX kernel and makes available the kernel (through
2482 lv_) to daughter controller classes.
2483 Moved out class ControlConnectInset to a new file ControlDialogs.h.
2485 * ControlDialogs.h: new file. Contains the definition of two template
2486 controller classes, ControlDialog and ControlInset (was
2487 ControlConnectInset). ControlInset is a parent class for controllers
2488 of inset-popups. ControlDialogs is the rather uninspired name for
2489 the base class of all non-inset popups. (Eg, Document and Paragraph.)
2490 ControlDialogs is reaching a state of maturity as several popups now use
2491 it and its functionality becomes clear. ControlInset is still in a state
2492 of flux. It is likely that functionality will be moved out of
2493 ControlCommands and into it.
2495 * GUI.h: new file. Moved all the template GUIXXX classes out of the
2496 individual Controller header files and into one place. These classes
2497 serve only as convenient wrappers to simplify code in the respective
2498 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
2500 * ControlCharacter.[Ch] (show, update, hide):
2501 * ControlLog.[Ch] (show, update, hide):
2502 * ControlVCLog.[Ch] (show, update, hide): moved back into
2503 the ControlDialogs base class.
2504 (setParams, clearParams): new methods containing controller-specific
2505 code to set/reset the parameters manipulated by the view.
2507 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
2509 (hide): calls clearParams.
2511 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
2512 by ControlCommand::hide().
2514 * ControlCopyright.[Ch]:
2515 * ControlCredits.[Ch]: new files; controllers for the copyright and
2516 credits popups, respectively.
2518 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2520 * ControlCharacter.C: fix typo
2522 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
2524 * ControlCharacter.[Ch]: new files; controller for the character popup.
2526 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
2527 moved to new files helper_funcs.[Ch].
2529 * helper_funcs.[Ch]: new files. Some useful helper functions and
2532 * Makefile.am: added new files.
2534 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2536 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
2538 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2541 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
2542 Control log files, respectively.
2544 * Makefile.am: added new files.
2546 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2548 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
2550 * Makefile.am: added ControlBibtex.[Ch].
2552 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2555 * ControlCitation.C: added "using SigC::slot" declaration.
2557 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
2558 to FormCitation.C prior to the merger: "Do not put space between
2561 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2563 * several files: remove CXX_WORKING_NAMESPACES
2565 * ButtonController.h: noncopyable is in namespace boost
2566 * ButtonPolicies.h: ditto
2568 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2570 * Merging changes from BRANCH_MVC back into HEAD.
2572 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2574 * Makefile.am: add ControlBibitem.[Ch].
2576 * ControlBibitem.[Ch]: new files that together define the Controller
2577 for a Bibitem popup.
2579 * ControlCommand.h (c-tor): give kb_action a default value of
2582 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
2584 * ControlCitation.[Ch]: moved search functions out of class.
2585 (bibkeysInfo): new method. Returns const reference to private data.
2586 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2589 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2591 * ControlCitation.[Ch]: added Search functions to the class,
2592 (shamelessly lifted from Marco's gnome code). I think that these would
2593 be better as helper functions outside the class, but this is a first
2596 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2598 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2600 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2601 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2602 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2603 implementation of FormCitation.
2605 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2607 * ButtonPolicies.h: add SMI_NOOP to enum.
2609 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2611 * ButtonController.C (input): add "optimising" if-statement. Actually,
2612 things don't work correctly without it...
2614 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2616 * ViewBase.h: remove #pragma directive
2618 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2621 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2623 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2625 * Makefile.am: added ButtonPolicies.[Ch]
2627 * ButtonController.[Ch]: ButtonController is split into
2628 ButtonControllerBase and a template ButtonController class. The base
2629 class no longer stores a pointer to a ButtonPolicy, but instead
2630 accesses the actual instantiation of the policy through a pure virtual
2631 method bp(). This method and the ButtonPolicy itself are instantiated
2632 in the templatised ButtonController class. This class is derived from
2633 the GUI-specific GUIBC class, meaning that the frontends know
2634 nothing about the actual policy decided upon by the controllers.
2636 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2637 Instead the actual instantiations are accessed through pure virtual
2638 methods view() and bc(). The daughter classes are responsible for the
2639 actual View and ButtonController.
2641 * ControlCitation.h: the templatised class GUICitation instantiates
2642 the methods view() and bc(). It also stores the instances of the
2643 View and ButtonController.
2645 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2647 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2648 also changed to ButtonController.
2651 * ControlConnections.[Ch]:
2652 * ControlCommand.[Ch]:
2653 * ControlCitation.[Ch]:
2654 * ViewBase.h: Changes associated with this.
2656 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2658 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2659 xforms/ButtonController class into a GUI-I class (here) and an
2660 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2662 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2663 from which all Dialog Controllers should be derived. the Controllers
2664 are GUI-independent, but are designed to control the behaviour of
2665 GUI-specific implementaions of each dialog.
2667 * ControlConnections.[Ch]: new files. Classes controlling the
2668 connections of buffer-independent, buffer-dependent and Inset dialogs
2669 with the LyX kernel.
2671 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2672 InsetCommand subset of insets.
2674 * ControlCitation.[Ch]: new files. The test specialisation! A
2675 controller for the Citation dialog.
2677 * ViewBase.h: new file. ViewBase is an abstract base class from which
2678 GUI-specific dialogs should be derived. The functionality that the GUIs
2679 must now implement is much reduced.