1 2003-03-05 Angus Leeming <leeming@lyx.org>
3 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
5 2003-03-05 Angus Leeming <leeming@lyx.org>
7 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
9 * Dialog.h: make view() public. Add dialog() methods.
11 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
13 * ControlGraphics.C: removed #include "converter.h"
15 * ControlSendto.C: added #include "format.h"
17 2003-02-27 Angus Leeming <leeming@lyx.org>
19 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
21 * Makefile.am: add the new files.
23 2003-02-27 Angus Leeming <leeming@lyx.org>
25 * ControlBibitem.C (c-tor):
26 * ControlBibtex.C (c-tor):
27 * ControlCitation.C (c-tor):
28 * ControlIndex.C (c-tor):
29 * ControlRef.C (c-tor):
30 * ControlToc.C (c-tor):
31 * ControlUrl.C (c-tor):
32 pass "name" to ControlCommand c-tor,
35 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
38 * ControlERT.C (dispatchParams): use "name" rather than a
41 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
43 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
45 2003-02-21 Angus Leeming <leeming@lyx.org>
48 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
50 * ControlBibitem.[Ch]:
52 * ControlCitation.[Ch]:
53 * ControlCommand.[Ch]:
58 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
59 individual controllers too.
60 Move 'apply' code into the LyX kernel.
62 * ControlConnections.C: temporary renaming of Dialogs::signals.
64 * Makefile.am: add new files.
66 2003-02-21 Angus Leeming <leeming@lyx.org>
68 * ControlBibtex.C (Browse):
69 * ControlExternal.C (Browse):
70 * ControlGraphics.C (Browse):
71 * ControlInclude.C (Browse):
72 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
74 * ControlPrint.C (Browse):
75 don't pass a LyXView & to browseFile et al.
76 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
77 don't pass a LyXView & to fileDlg.
79 2003-02-17 John Levon <levon@movementarian.org>
81 * ControlDialog.tmpl: build dialog before calling setParams
82 for the benefit of ControlSpellchecker
84 * ControlSpellchecker.h:
85 * ControlSpellchecker.C: rework. Lots of bugs fixed and
88 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
90 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
91 of available *.bib-files from bibFiles.lst).
93 * tex_helpers.C (getTexFileList): sort and dis-duplicate
94 listWithoutPath correctly.
96 2003-02-08 John Levon <levon@movementarian.org>
99 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
101 2003-02-08 John Levon <levon@movementarian.org>
105 * ControlChanges.C: add merge changes dialog
108 * ControlPrefs.C: add setCurrentAuthor()
110 2003-01-31 Angus Leeming <leeming@lyx.org>
112 * ViewBase.h: add an isVisible() pure virtual method.
114 * ControlTabular.C (updateInset): don't build the dialog here.
115 Instead, do nothing if the dialog is invisible.
117 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
119 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
121 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
123 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
125 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
127 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
131 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * several files: ws changes
135 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
137 * ControlDocument.C (classApply): use boost.format
139 2002-11-29 Angus Leeming <leeming@lyx.org>
141 * ControlButtons.h (isClosing): make it public, so that the view can
143 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
146 * ControlPrefs.[Ch] (OKButton): removed.
148 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
149 dialog isClosing(). (Ie, if the "save" button has been pressed.)
151 2002-11-28 John Levon <levon@movementarian.org>
153 * ControlSpellchecker.C: fix Lars' broken cleanup
155 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
157 * ControlTabular.[Ch]: Add isMulticolumnCell
159 2002-11-27 Angus Leeming <leeming@lyx.org>
161 * ControlMath.C (ControlMath): initialise active_.
163 2002-11-25 Angus Leeming <leeming@lyx.org>
165 * ControlDialog.h (hide, update): move from protected to public.
167 * ControlMath.[Ch]: add controllers for the main math panel dialog and
168 for any daughter dialogs stored by the main panel.
170 2002-11-21 Angus Leeming <leeming@lyx.org>
172 * ControlDocument.[Ch] (classApply): no longer returns bool.
173 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
175 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * biblio.C (getAbbreviatedAuthor): use boost::format
179 * ControlSpellchecker.C (clearParams): use boost::format
181 2002-11-20 John Levon <levon@movementarian.org>
183 * ControlMath.C: couple more manglings
185 2002-11-20 John Levon <levon@movementarian.org>
188 * ControlMath.C: add find_xpm mangler
190 2002-11-17 John Levon <levon@movementarian.org>
192 * helper_funcs.C and users: specify save/open in file dialog
194 2002-11-15 John Levon <levon@movementarian.org>
197 * ControlPrefs.C: use setParams()
199 2002-11-15 John Levon <levon@movementarian.org>
201 * ControlButtons.h: make OKButton() virtual for prefs
204 * ControlPrefs.C: updates for xforms port to MVC
208 * ControlTabular.C: add simple MVC port
210 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
212 * ControlInclude.C: fix file format masks for qt's use
214 2002-11-13 John Levon <levon@movementarian.org>
218 * ControlPrefs.C: add skeleton controller
220 2002-11-12 John Levon <levon@movementarian.org>
222 * biblio.C: fix warnings
224 2002-11-12 Angus Leeming <leeming@lyx.org>
226 * ControlSpellchecker.C (check): fix crash
227 * biblio.C (escape_special_chars): simplify BRE.
229 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
231 * ControlDocument.[Ch]: Remove unused method
233 2002-11-07 Angus Leeming <leeming@lyx.org>
235 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
236 * clean-up the search code in biblio.C.
238 2002-11-07 John Levon <levon@movementarian.org>
240 * ControlGraphics.C: QGraphics fixes
242 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
244 * ControlDocument.C: (SaveAsDefault) make it work.
245 fix buffer update on class change
247 2002-11-06 Angus Leeming <leeming@lyx.org>
249 * biblio.C (searchKeys and helper functions): rewritten entirely
250 using the STL. Boost::regex searching now works as the old 1.2 code
253 2002-11-06 Angus Leeming <leeming@lyx.org>
255 * biblio.C: clean-up of the code. No change in functionality.
257 2002-11-04 Angus Leeming <leeming@lyx.org>
259 * ControlGraphics.[Ch] (getUnits): moved out of class and into
260 frnt::getBBUnits(). Code cleaned also.
262 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
264 * biblio.C (regexSearch): STRCONV
267 * ControlAboutlyx.C (getVersion): STRCONV
269 * ControlMath.C: include config.h
271 2002-10-31 John Levon <levon@movementarian.org>
274 * ControlGraphics.C: bb units from Herbert
276 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
278 * ControlParagraph.[Ch] (alignDefault): new method, returning the
279 default alignment (block, left, right, center) of this paragraph.
281 2002-10-25 John Levon <levon@movementarian.org>
283 * ControlPrint.C: using endl
285 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
287 * ControlPrint.[Ch]: move code here from Liason.[Ch].
289 * ControlSpellchecker.h (getCount): new method.
290 * ControlSpellchecker.[Ch]: constify some accessor methods.
292 2002-10-22 Angus Leeming <leeming@lyx.org>
294 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
295 alphabetical order once again.
297 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
298 Add a list of CheckedWidget ptrs to ButtonControllerBase
299 together with methods addCheckedWidget and checkWidgets to use it.
301 * ButtonController.tmpl (refresh): use the return value of
302 checkWidgets to control the activation state of the Ok, Apply, Restore
305 * ControlDialog.tmpl (show, update):
306 * ControlInset.tmpl (showInset, update):
307 invoke ButtonController::refresh to ensure that the activation state of
308 the Ok, Apply buttons reflects the valid-state of the widgets.
310 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * tex_helpers.C (rescanTexStyles): don't pop p
315 * ControlWrap.C (WrapParms): remove initialization of placement,
316 and move empty c-tor to .h class def.
318 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
319 of on stringsteam, return void. Get the file into the stream as
322 * ControlPreamble.[Ch] (params): getter and setter for params_, make
323 params_ into a string, not just a pointer to string.
325 * ControlExternal.C (getTemplateNumber): put i into the for scope,
326 and use the sequence operator on the last for "parameter"
327 (getTemplate): use std::advance to advance the iterator.
329 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
330 instead of on a stringstream, return void. Get the file into the
331 stream as fast as possible.
332 (getVersion): use ostringstream
334 * lots of files: ws changes, formatting fixes
336 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * ControlCharacter.C (apply): setMinibuffer change
339 * ControlDocument.C (apply): ditto
341 * ControlThesaurus.C (replace): ditto
342 * ControlSearch.C (find): ditto
344 * ControlPreamble.C (apply): ditto
345 * ControlParagraph.C (apply): ditto
347 2002-10-14 André Pönitz <poenitz@gmx.net>
349 * ControlDocument.C: somebody else's fix for a hard lockup
351 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
355 * Makefile.am: New document parameters controller
357 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
361 2002-09-24 Angus Leeming <leeming@lyx.org>
363 * ControlConnections.h: remove trailing whitespace.
365 * biblio.h: #include "LString.h".
367 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
369 * ControlGraphics.C: Change GUI origin strings into proper English.
371 2002-09-09 John Levon <levon@movementarian.org>
373 * ControlInclude.C: fix file masks. Get rid of noload,
374 remove stupid warning
376 2002-09-09 John Levon <levon@movementarian.org>
379 * ControlMath.C: add latex_deco
381 2002-09-06 John Levon <levon@movementarian.org>
383 * ControlMath.C: terminate dots
385 2002-09-05 Angus Leeming <leeming@lyx.org>
387 * all files: modify the headers as discussed on the list.
389 2002-08-30 John Levon <levon@movementarian.org>
392 * ControlMath.C: moved from MathsSymbols.C
394 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
396 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
398 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
400 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
401 first item in the list
403 2002-08-15 Angus Leeming <leeming@lyx.org>
405 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
407 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
409 2002-08-15 Angus Leeming <leeming@lyx.org>
411 * lots: changed my email address to leeming@lyx.org.
413 * GUI.h: return it to private derivation from boost::noncopyable.
415 2002-08-14 Angus Leeming <leeming@lyx.org>
417 * GUI.h: public derivation from boost::noncopyable.
419 2002-08-14 Angus Leeming <leeming@lyx.org>
421 * GUI.h: class GUI deries from boost::noncopyable
423 * ControlButtons.h: no longer derives from DialogBase, but instead
424 derives directly from boost::noncopyable.
426 * ViewBase.h: derives from boost::noncopyable.
428 * ControlCharacter.C:
430 * ControlConnections.C:
433 * ControlParagraph.C:
437 * ControlSpellchecker.C:
439 * ControlThesaurus.C:
440 rearrange #includes. Remove unnecessary ones.
442 * ControlError.h: add "insets/inseterror.h".
444 * helper_funcs.h: add necessary #includes.
446 * tex_helpers.[Ch]: add #pragma directives for g++.
448 * Makefile.am: remove src/frontends from -I list to compiler.
450 2002-08-13 Angus Leeming <leeming@lyx.org>
452 * ControlConnections.C:
454 changes due to the changed LyXView interface that now returns references
455 to member variables not pointers.
457 2002-08-12 Angus Leeming <leeming@lyx.org>
459 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
460 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
461 for the most commonly accessed core methods, to minimise code
464 * many files: use these wrappers and remove associated #includes.
466 2002-08-12 Angus Leeming <leeming@lyx.org>
468 * ControlButtons.[Ch] (bc, view): no longer virtual.
469 (setView, setButtonController): new methods, invoked by GUI.
471 * ControlDialog.h (show):
472 * ControlInset.h (createInset, showInset): make public, so that GUI can
475 * GUI.h: GUI now contains a controller, rather than deriving from it.
476 remove all those friend functions since we can now access the show,
477 createInset, showInset controller methods.
479 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
482 * character.h: #include a couple of STL files.
484 2002-08-08 John Levon <levon@movementarian.org>
486 * ControlCommandBuffer.C: LyXAction cleanup
488 2002-08-07 John Levon <levon@movementarian.org>
490 * ControlSpellchecker.C: fix crash when spellchecker doesn't
493 2002-08-06 John Levon <levon@movementarian.org>
495 * ControlSpellchecker.C:
496 * ControlSpellchecker.h: use WordLangTuple
498 2002-08-06 John Levon <levon@movementarian.org>
500 * ControlSpellchecker.C: show an alert with the
501 error message on initialisation failure
503 2002-08-04 John Levon <levon@movementarian.org>
505 * ControlSpellchecker.h:
506 * ControlSpellchecker.C: some cleanups
508 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
510 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
512 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
513 the Dialogs::updateParagraph signal is emitted.
515 2002-08-02 Angus Leeming <leeming@lyx.org>
517 * ControlCharacter.C (apply):
518 * ControlERT.C (applyParamsToInset):
519 * ControlParagraph.C (apply):
520 * ControlSearch.C (find, replace):
521 * ControlThesaurus.C (replace): changes due to LyXView::view() now
522 returning a boost::shared_ptr.
524 2002-08-01 John Levon <levon@movementarian.org>
526 * ControlSendto.C: writeFile() change
528 2002-08-01 John Levon <levon@movementarian.org>
530 * ControlSpellchecker.h:
531 * ControlSpellchecker.C: remove options
533 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
535 * several files: strip,frontStrip -> trim,ltrim,rtrim
537 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
539 * biblio.C (parseBibTeX): modify because of strip changes
541 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
543 * ControlFloat.[Ch]: Implement Wide Float toggle
544 Replace "allow_here_definitely" by "wide"
546 2002-07-22 Herbert Voss <voss@lyx.org>
548 * ControlGraphics.C: small changes
550 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
552 * ControlToc.C: remove getType
554 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
556 * ControlCommandBuffer.C: don't add "" to history
558 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
560 * ControlRef.C: fix dispatch call nicely
562 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
565 * ControlCommandBuffer.h:
566 * ControlCommandBuffer.C: add controller for command (mini) buffer
569 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
571 * ControlRef.C: fix dispatch call
573 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
575 * ControlCharacter.C: use view_state_changed not setState
577 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
579 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
581 2002-07-15 Mike Fabian <mfabian@suse.de>
583 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
584 of compare_no_case, because in turkish, 'i' is not the lowercase
585 version of 'I', and thus turkish locale breaks parsing of tags.
587 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
589 * ControlBibtex.C (applyParamsToInset): ws change
591 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
593 * ControlInclude.C: Add warning if absolute path name and
594 check_typeset is used together
596 2002-06-28 Angus Leeming <leeming@lyx.org>
598 * ControlGraphics.C: changes associated with the name changes
599 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
601 2002-06-25 Angus Leeming <leeming@lyx.org>
603 * ControlGraphics.C (readBB): Channges associated with the changed
604 interface to the graphics cache.
606 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * ControlParagraph.C: layout as layout
610 2002-06-21 Angus Leeming <leeming@lyx.org>
612 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
613 * tex_helpers.h: #include "LString.h".
615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
618 * ControlBibitem.C: use repaint()
620 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
622 * ControlTexinfo.C: do the same for Texinfo
624 * tex_helpers.C: don't try to read a file that isn't there
626 2002-06-21 Herbert Voss <voss@perce.de>
628 * ControlBibtex.C: do an automatic update, when no bst-list
631 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
633 * GUI.h: createIndex() changed
635 2002-06-18 Herbert Voss <voss@perce.de>
637 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
638 helperstuff. Now the bibtex gui can use some of these functions
640 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
642 * ControlGraphics.C: just make the mask *.*
644 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
646 * changes to simplify function setup, removal of a lot of includes.
648 2002-06-12 Angus Leeming <leeming@lyx.org>
650 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
652 2002-06-12 Angus Leeming <leeming@lyx.org>
654 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
656 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
658 * ControlParagraph.[Ch]: new paragraph controller
659 * GUI.h: add new controller
662 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
664 * GUI.h: do not include ButtonController.tmpl
666 * ControlInset.h: include ControlInset.tmpl
668 * ControlCitation.C: do not include ControlInset.tmpl
669 * ControlCommand.C: ditto
670 * ControlERT.C: ditto
671 * ControlError.C: ditto
672 * ControlExternal.C: ditto
673 * ControlFloat.C: ditto
674 * ControlGraphics.C: ditto
675 * ControlInclude.C: ditto
676 * ControlMinipage.C: ditto
678 * ControlDialog.tmpl: remove the Base:: prefix
680 2002-06-07 Angus Leeming <leeming@lyx.org>
682 Fixes needed to compile with Compaq cxx 6.5.
683 * ControlDialog.tmpl: I have had to prefix base class methods with
686 * ControlInset.tmpl: #include a couple of headers.
688 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * switch from SigC signals to boost::signals
692 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * biblio.h: include vector
696 * biblio.C: change include order
697 (regexSearch): use boost regex and get rid of LRegex
699 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
704 * ControlCharacter.C:
707 * ControlConnections.C:
724 * ControlSpellchecker.C:
725 * ControlTabularCreate.C:
727 * ControlThesaurus.C:
730 * ControlVCLog.C: LyXView moved into frontends
732 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
734 * ControlExternal.C: add scoped_ptr.hpp
736 * ControlCharacter.h: use more specific smart_ptr header.
738 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
740 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
742 2002-05-13 Herbert Voss <voss@perce.de>
744 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
745 like "Odland, G. and ... "
746 (parseBibTeX): fix bug with title and booktitle
747 and replace a \n with a space when one entry has more than
750 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
752 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
753 "No change" and "Reset".
755 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
756 them at the front of the list.
758 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
760 * ControlGraphics.C: add some comments to the char * arrays.
761 Make rorigin_size const.
763 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
765 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
766 Enables the gui's to internationalise these strings.
768 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
770 * frnt_lang.C: fix build
772 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
774 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
775 If the the caller is the character dialog, add "No change" and "Reset"
776 to the vector, else don't.
777 Internationalise the GUI strings here rather than in the different
779 Sort the translated strings, albeit simply.
781 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
783 * character.[Ch]: rename namespace character as namespace frnt.
785 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
786 as several dialogs will use this info. The function now returns a
787 vector<LanguagePair> where LanguagePair is a display string and an
788 identifying string. The display string is internationalised.
790 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
791 the identifying strings, "No change" and "Reset".
793 * Makefile.am: add frnt_lang.[Ch].
795 2002-04-25 Herbert Voss <voss@lyx.org>
797 * ControlSendto.C (allFormats): don't add the graphics extensions to the
800 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
802 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
803 BibTeX databases in a WYSIWYM way.
805 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
807 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
808 way past his use-by date.
809 Make use of the improved info from Buffer::getBibkeyList when using
810 \bibliography. Enables us to provide natbib support in this case too.
812 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
814 * ControlGraphics.C: pass the browseFile dialog a string of only those
815 formats that can currently be loaded by LyX.
817 2002-04-15 Herbert Voss <voss@perce.de>
819 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
820 with something like ,,...blah...`` (two commas)
822 2002-04-14 Herbert Voss <voss@perce.de>
824 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
825 into the support/lstrings for better use in other programs.
827 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
828 namespace anon and make globally accessible.
829 (familyName): test for the presence of a LaTeX Space at the front of
830 of a name; strip it if it exists.
832 2002-04-11 Herbert Voss <voss@perce.de>
834 * ControlGraphics.C: expand "browse-string" to all available formats
836 2002-04-11 Herbert Voss <voss@perce.de>
838 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
840 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
842 * ControlAboutlyx.C (getVersion): two _() forgotten
844 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
848 * ControlBibtex.C: make N_() be _()
850 2002-04-07 Herbert Voss <voss@perce.de>
852 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
854 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
856 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
857 used when reading the BB.
859 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
861 * ControlGraphics.C (readBB): Don't open the ifstrem and then
862 check the format from the contents (and open a second ifstream in the
863 process. One at a time please.
865 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlRef.C (getBufferNum): squash warning message.
869 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
871 * ControlBibtex.C (Browse):
872 * ControlGraphics.C (Browse):
873 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
875 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
877 * ControlGraphics.C (applyParamsToInset): pass filepath to
878 InsetGraphics::updateInset.
880 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
882 * most files: ws cleanup
884 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
886 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
889 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
892 * ControlInclude.C: better error messages
894 2002-03-11 Herbert Voss <voss@lyx.org>
896 * biblio.C (parseBibTeX): fix another minibug with an
899 2002-03-10 Herbert Voss <voss@lyx.org>
901 * biblio.C (parseBibTeX): fix bug
902 (familyName): improve parsing
904 2002-03-09 Herbert Voss <voss@lyx.org>
906 * ControlGraphics.[Ch]: adding checkFilename() for testing
907 of non-existing files
909 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
911 * ControlSendto.C (allFormats): fix a iterators are not pointers
914 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
916 * ControlShowFile.h: add a #include "LString.h"
918 2002-03-05 Herbert Voss <voss@lyx.org>
920 * biblio.C (getInfo): simplify if using paragraph layout
923 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
925 * biblio.C (getInfo): return the info field correctly if the key
927 (parseBibTeX): fix crash when data.find('=') returns string::npos.
929 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
931 * ControlForks.[Ch]: new files. A controller for the Forked Child
932 processes dialog, enabling the user to see what forked processes
933 are running, and, if he so desires, to kill them.
935 * GUI.h: add class GUIForks.
937 * Makefile.am: add ControlForks.[Ch].
939 * ControlGraphics.C (getParams): small change due to change in
942 2002-02-21 Herbert Voss <voss@lyx.org>
944 * biblio.C: fix bug with commentlines in a bibentry
946 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
948 * Makefile.am: simpler obj. file compile
950 2002-02-18 Herbert Voss <voss@lyx.org>
952 * ControlGraphics.[Ch]: remove help-file call
954 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
956 * helper_funcs.h: wrap the structs firster and seconder up in a
957 namespace to avoid clashes with those in lyxalgo,h.
959 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
960 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
962 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
964 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
967 change Systemcalls::System to Systemcalls::Wait and
968 No change of functionality, just reflects the stripped down Systemcalls
971 2002-02-06 Herbert Voss <voss@lyx.org>
973 * ControlGraphics.[C] (readBB): search also in
974 g'zipped files. If it is useful than PK and compress
975 should also be supported. use unzipFile() from
978 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
980 * ControlRef.C (getBufferName): new method to get a real buffer
983 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
985 * ControlTexInfo.[Ch]: Removed Help functions.
987 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
989 * ControlSpellchecker.C: clear any selection left
992 2002-02-01 Herbert Voss <voss@lyx.org>
994 * ControlGraphics.[C] (readBB): search only, if it is a
995 ".?ps" file and look for bb's at end of file
997 2002-01-30 Herbert Voss <voss@lyx.org>
999 * ControlGraphic.[C]: do not search the whole file, when
1002 2002-01-29 Herbert Voss <voss@lyx.org>
1004 * ControlGraphic.[C]: added a button for document path
1005 when browsing -> bug 222
1007 2002-01-27 Herbert Voss <voss@lyx.org>
1009 * ControlGraphic.[Ch]: added support for Bounding Box, other
1012 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ControlAboutlyx.h:
1015 * ControlTexinfo.h: added #include "LString.h" where they belong.
1017 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ControlCitation.C:
1020 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1022 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1024 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1027 2002-01-20 Herbert Voss <voss@perce.de>
1029 * ControlInclude.[Ch]: better control of unexistings files
1030 when entered without the browser
1032 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1035 2002-01-19 Herbert Voss <voss@perce.de>
1037 * biblio.C (getInfo): fix bug when no author is given
1039 * biblio.C (parseBibTeX): change the parsing, so that
1040 '#'-characters in a bibtex entry are no more a problem.
1042 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1044 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1045 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1047 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1049 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1051 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1053 * ControlExternal.C (Browse): add a std:: qualifier
1055 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1057 * ControlExternal.C (Browse): simplify to use browseRelFile
1059 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1061 * ButtonController.tmpl: added // -*- C++ -*-
1063 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1064 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1065 Needed in _one_ of the ControlCommand-derived classes only.
1067 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlSearch.h: #include LString.h
1072 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1074 * ButtonController.h: split into two. The definition remains in
1075 ButtonController.h, the declaration is now in ButtonController.tmpl.
1076 These template methods should be #included when the derived class is
1077 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1078 and in the qt2 and gnome equivalents.
1080 * ControlDialogs.h: removed. The definition of class ControlDialog is
1081 now to be found in ControlDialog.h and the declaration of the methods
1082 is in ControlDialog.tmpl. The two template instantiations are performed
1083 in ControlDialog_impl.[Ch], new files also.
1085 * ControlInset.h: split into two. The definition remains in
1086 ControlInset.h, the declaration is now in ControlInset.tmpl.
1087 These template methods should be #included derived class is
1088 instantiated, in this case in 8 other .C files in this directory.
1090 * ControlAboutlyx.[Ch]:
1091 * ControlCharacter.[Ch]:
1095 * ControlExternal.C:
1097 * ControlGraphics.C:
1100 * ControlMinipage.C:
1101 * ControlPreamble.[Ch]:
1102 * ControlPrint.[Ch]:
1103 * ControlSearch.[Ch]:
1104 * ControlShowFile.[Ch]:
1105 * ControlSpellchecker.[Ch]:
1106 * ControlTabularCreate.[Ch]:
1107 * ControlTexinfo.[Ch]:
1108 * ControlThesaurus.[Ch]:
1109 * ControlVCLog.[Ch]: small changes associated with the above ones.
1111 * GUI.h: #include the ButtonController and dialog controller files
1112 here, rather than forward declare them. This is the correct place
1113 for these #includes.
1115 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1116 Rename ControlDialogs.h as ControlDialog.h.
1117 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1120 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1122 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1124 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1126 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1129 * ControlGraphics.C (Browse): remove overzealous shortcut
1131 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1133 * FormMinipage.C (apply, update): MinipageParams::width renamed
1134 as MinipageParams::pageWidth. InsetMinipage::width renamed
1135 as InsetMinipage::pageWidth.
1137 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1139 * ButtonController.h (refreshReadOnly): use explicit typename
1141 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1143 * helper_funcs.h (browseFile): add default empty button descriptions.
1145 * ControlGraphics.C (Browse):
1146 * ControlBibtex.C (Browse):
1147 * ControlInclude.C (Browse): add shortcuts to directory buttons
1149 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1151 * ControlThesaurus.h:
1152 * ControlThesaurus.C: update to Aiksaurus 0.14
1154 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlSpellchecker.C (clearParams): show the closing message
1157 only if some words have been checked, thereby fixing
1160 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1162 * ControlFloat.[Ch]: changes to prevent here definitely being used
1165 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1167 * ControlThesaurus.h: do not include <config.h> in header files
1169 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1171 * ControlToc.C: changes for floatlist
1173 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1175 * ControlVCLog.C: use _()
1177 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1179 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1182 2001-10-22 Juergen Vigna <jug@sad.it>
1184 * ControlSpellchecker.C (clearParams): use the error_ message of the
1185 speller_ if available when the spellchecker died.
1186 (setParams): remove double error message display.
1188 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1190 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1192 * helper_funcs.[Ch] (getLatexUnits): see above.
1194 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1196 * ControlTexinfo.C (getContents): use the right file for .sty files
1198 2001-10-10 Herbert Voss <voss@perce.de>
1200 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1201 and some more stuff from FormTexinfo.C
1203 * ControlShowFile.C: hiding the update-button
1205 2001-10-09 Herbert Voss <voss@perce.de>
1207 * ControlTexinfo.[Ch]: new files. Display information about the
1208 installed texfiles (cls,sty,bst).
1210 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1212 * GUI.h: added classes GUIShowFile and GUITexinfo.
1214 * Makefile.am: modified appropriately.
1216 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1218 * ControlAboutlyx.C (getVersion): use lyx_version and
1219 lyx_release_date instead of old macros
1221 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1223 * ControlSpellchecker.C (check): Behaves well now when the spell
1224 library doesn't know a replacement to an incorrect word.
1226 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1228 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1229 the correct place. Can now check spelling more than once!
1231 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ControlSplash.[Ch]: removed.
1235 * GUI.h: remove GUISplash class.
1237 * ViewBase.h: remove ViewSplash class.
1239 * Makefile.am: remove ControlSplash.[Ch].
1241 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1243 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1244 view will be shut down.
1247 * ControlInset.h: act on emergency_exit_.
1249 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1250 speller fails to launch.
1252 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1254 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1255 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1257 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1259 * ControlRef.h (disconnectOnApply): new method. Set to true.
1260 Perhaps make this user-modifiable?
1262 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1264 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1267 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1269 * ControlRef.C (getBufferList, getBufferNum): New methods
1271 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1273 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1274 of the dialog when the Apply button is pressed. Defaults to false,
1275 but can be overridden in the daughter classes.
1277 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1278 Perhaps make this user-modifiable?
1280 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1282 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1283 we have dialogs that update their contents when the buffer changes.
1284 Rather embarassing, really!
1286 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1288 * ControlSearch (replace): change semantics of replace to NOT move on
1289 to the next instance of a word once the present instance has been
1290 replaced unless we are replacing ALL instances of the word.
1292 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1294 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1296 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1298 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1299 dialog, set all options to "reset", close the dialog, re-open it ->
1300 the options are set incorrectly.
1302 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1303 When Applying it's useful to know whether the dialog is about to close
1304 or not (no point refreshing the display for example).
1306 * ControlInset.C (apply): use isClosing.
1308 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1311 * ControlDialogs.h: remove bc() hack, now fixed in
1312 Qt2 frontend. use member dialog_built_ instead of shared
1315 * ButtonController.h:
1316 * ButtonPolicies.C: more debug info
1318 * ButtonControllerBase.C: call refresh() when setting readOnly !
1320 * GUI.h: External form has apply, use the right policy
1322 * character.C: fix two off-by-one errors when latex font was removed
1324 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1326 * ControlInset.h (apply): tentative fix for the press Apply multiple
1327 times and get multiple new Insets problem.
1329 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1331 * ControlCharacter.C: fix typo
1335 * ControlInsets.C: make sure dialog is built before it is shown, so
1336 it works properly the very first time it is shown
1338 2001-08-20 Herbert Voss <voss@perce.de>
1340 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1341 and styles. Added an option for "bibliography into toc"
1343 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1345 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1346 LaTeX is no longer a font property.
1348 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1350 * GUI.h: Button controller for Reference dialog changed to
1351 NoRepeatedApplyReadOnlyPolicy.
1353 * biblio.C (getInfo): output volume and number info. Move year to end
1356 2001-08-09 Allan Rae <rae@lyx.org>
1358 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1360 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1362 * helper_funcs.C (getVectorFromString): fixed small bug.
1364 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1366 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1368 * ControlSpellchecker.C: check next word after insert in personal dict
1370 2001-08-06 Juergen Vigna <jug@sad.it>
1372 * ControlERT.[Ch]: new file
1374 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1376 * ControlInset.h: const and non-const forms of params().
1378 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1379 whitespace from either side of each item.
1381 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1383 * ControlFloat.h: add a != operator for FloatParams.
1384 Lars, how did you get this to compile!!!
1386 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1387 operator != for MinipageParams. Who's changing stuff and not compiling?
1389 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1391 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1394 * GUI.h: add class GUIFloat
1396 * ControlFloat.[Ch]: new files
1398 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1400 * ControlPrint.C: #include Lassert.h here.
1402 2001-07-26 Baruch Even <baruch@lyx.org>
1404 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1407 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1409 * ControlThesaurus.h:
1410 * ControlThesaurus.C:
1412 * Makefile.am: thesaurus support
1414 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1417 * ControlInclude.C: implement ability to load file
1419 2001-07-18 Juergen Vigna <jug@sad.it>
1421 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1423 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1425 * biblio.C (getInfo): add a .c_str() to handle the usual
1428 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1430 * ControlCitation.[Ch]: changes associated with adding natbib support.
1431 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1432 New static variable citeStyles_.
1434 * biblio.[Ch]: large internal rearrangement.
1435 New public enum CiteStyle.
1436 New public struct CitationStyle.
1437 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1438 getNumericalStrings, getAuthorYearStrings
1439 (simpleSearch, regexSearch): no longer publicly accessible.
1441 * helper_funcs.C (getStringFromVector): bug fix.
1443 2001-07-16 Baruch Even <baruch@lyx.org>
1445 * ControlVCLog.h: Added Lsstream.h to includes.
1447 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1449 * ControlSpellchecker.[Ch]: remove d-tor.
1451 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1453 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1455 2001-07-16 Juergen Vigna <jug@sad.it>
1457 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1458 compiled with USE_PSPELL) to be able to switch between ISpell and
1461 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1463 Consistent use of Lsstream.h:
1464 * ControlAboutlyx.[Ch] (getCredits):
1465 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1467 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1469 * ControlCredits.[Ch]: removed
1470 * ControlCopyright.[Ch]: removed
1471 * ControlAboutlyx.[Ch]: added (replaces previous)
1472 * GUI.h: removed credits and copyright added about lyx stuff
1474 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1476 * ControlSpellchecker.C (getSuggestion):
1477 (getWord): add std:: qualifier
1479 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1481 * ControlSpellchecker.[Ch]: added
1482 * ViewBase.h: added partialUpdate(int) member
1483 * GUI.h: added spell stuff
1485 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1487 * ControlExternal.C: (*it). -> it->
1489 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1491 * ButtonController.h: move some included header files out of the
1492 frontends and into here.
1494 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1496 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1498 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1500 * *.[h]: added // -*- C++ -*-
1501 * *.[C]: removed // -*- C++ -*-
1503 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1504 activate Apply button.
1505 (clearParams): removed.
1506 font_ is now stored as a boost::scoped_ptr.
1507 font_ is no longer deleted on hide(), so it's contents can now be used
1508 by the Font button on the toolbar.
1509 Lots of new methods so that the GUI can easily get the contents of
1510 font_ when it update()s.
1512 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1514 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1515 crash when the Font button on the Toolbar is pressed.
1517 * GUI.h: change policy of Character button controller to
1518 OkApplyCancelReadOnlyPolicy.
1520 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1522 * ControlToc.C (getContents): don't add anything to the list if it
1523 is supposed to be empty.
1525 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1527 * helper_funcs.C (getVectorFromString): bug fix.
1529 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1531 * ButtonController.h
1532 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1533 from ButtonControllerBase::readOnly. Updates the state of the widgets
1534 in the read-only list only when the read-only status of the document
1536 (refresh): moved this stuff into refreshReadOnly.
1538 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1540 * ControlPrint.C (c-tor):
1541 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1543 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1546 * character.h: small clean-ups.
1548 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1550 * ControlToc.C (getType): remove support for old float list.
1552 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1554 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1555 * ControlGraphics.h: no longer include insetgraphicsParams.h
1556 * ControlInset.h: no longer include LyXView.h
1561 * ControlCharacter.C:
1562 * ControlCitation.C:
1564 * ControlConnections.C:
1565 * ControlCopyright.C:
1568 * ControlExternal.C:
1569 * ControlGraphics.C:
1572 * ControlMinipage.C:
1573 * ControlPreamble.C:
1577 * ControlTabularCreate.C:
1579 * ControlVCLog.C: they're now in here!
1581 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1583 * ButtonControllerBase.h: C++ mode, inherit privately from
1585 * ButtonPolicies.h: ditto
1587 * ButtonController.h: C++ mode, swap init order of restore_ and
1590 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1592 * ControlTabularCreate.h:
1593 * ControlTabularCreate.C: make dialogs use a pair of uints
1597 * ControlVCLog.C: fill a stringstream with the log contents
1600 * ControlExternal.C: from Angus, clone the new InsetExternal
1603 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1605 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1606 and made more robust.
1608 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1613 * ControlPreamble.C:
1615 * ControlGraphics.C:
1616 * ControlExternal.C:
1617 * ControlCopyright.C: include gettext.h
1619 * ControlCharacter.C:
1620 * character.C: include gettext.h and language.h
1622 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1624 * ButtonController.h:
1625 * ButtonControllerBase.h:
1626 * ButtonControllerBase.C:
1633 * ControlConnections.h:
1636 * ControlExternal.C:
1639 * ViewBase.h: s/ControlButton/ControlButtons/
1641 s/UndoAll/Restore/ + associated
1643 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1645 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1648 * Makefile.am: associated changes with all of the above.
1650 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1652 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1653 and edit, view, update the External Material correctly. I hope!
1655 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1657 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1659 * BCTemplates.h: renamed as ButtonController.h
1661 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1664 * ControlConnections.h: associated change in #include and class names.
1666 * ControlExternal.[Ch]: new files; a controller for the External
1670 * Makefile.am: associated changes with all of the above.
1672 * ControlGraphics.[Ch]:
1673 * ControlInclude.[Ch]:
1674 * ControlPrint.[Ch]:
1676 (Browse): new method. Returns the results of a FileDialog browse.
1678 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1679 (getVectorFromString): fixed bug.
1681 * biblio.C (simpleSearch): cleaned up.
1683 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1685 * A slight reworking of Baruch Even's ButtonController patch.
1687 * BCTemplates.h: new file; all the templates for the ButtonController.
1688 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1689 to the more generic setButtonLabel().
1691 * ButtonController.[Ch]: renamed cancel_label and close_label as
1692 cancel_label_ and close_label_.
1694 * Makefile.am: added BCTemplates.h
1696 2001-03-29 Juergen Vigna <jug@sad.it>
1698 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1699 to use new %-lengths of LyXLength.
1701 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1703 * ControlCitation.C (bibkeysInfo): removed Assert.
1705 * ControlCopyright.h: moved GUICopyright into GUI.h
1709 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1711 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1712 (setDaughterParams): a (by default empty) new method called in show().
1718 * ControlMinipage.h:
1721 * ControlUrl.h (clearDaughterParams): removed
1723 * ControlMinipage.C (applyParamsToInset): update the view.
1724 Added namespace minipage containing a helper function getUnits.
1726 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1728 * ControlCharacter.[Ch]: moved out all the helper functions and the
1729 enum into their own file.
1730 * character.[Ch]: new files; contain the character helper functions,
1731 now inside namespace character.
1733 * ControlCitation.[Ch]: moved out all the helper functions and the
1734 enums into their own file. Simplified interface.
1735 * biblio.[Ch]: new files; contain the citation helper functions,
1736 now inside namespace biblio. Will be of use also to an improved
1739 * ControlGraphics.[Ch]:
1740 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1741 popups, respectively.
1744 * Makefile.am: associated changes.
1746 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1748 * ControlMinipage.[Ch]:
1749 * ControlPreamble.[Ch]:
1750 * ControlPrint.[Ch]:
1751 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1752 and Print popups and Splash screen, respectively.
1754 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1758 * Makefile.am: associated changes.
1760 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1762 * ControlConnections.[Ch]: (docType): new method; returns the type
1763 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1766 * ControlSearch.[Ch]:
1767 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1768 Search and TabularCreate popups, respectively.
1771 * Makefile.am: associated changes.
1773 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1775 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1778 * ControlInset.h (apply): fix bug. Can now create new insets again.
1780 * README: describe program flow.
1782 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1784 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1786 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1788 * ControlDialogs.h: moved class ControlInset into its own file.
1790 * ControlInset.h: new file. class ControlInset has been expanded to take
1791 two template parameters, Inset and Params. Believe that all inset
1792 controllers can be derived from this with the minimum of effort.
1794 * ControlBibitem.[Ch]:
1795 * ControlBibtex.[Ch]:
1796 * ControlCitation.[Ch]:
1797 * ControlCommand.[Ch]: moved most code into ControlInset.
1799 * lots of files. Moved protected stuff into private where possible.
1801 * ControlError.[Ch]:
1802 * ControlInclude.[Ch]:
1803 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1804 Include and Url popups, respectively.
1807 * Makefile.am: associated changes.
1809 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1811 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1814 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1816 * ControlCredits.C (getCredits): remove std:: qualifier for
1819 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1821 * ControlCredits.C (getCredits): add std:: on vector
1823 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1825 * ControlCredits.C: remove using that is only used once, use
1826 std::ios instead of std::iosbase, add some annoying comments.
1828 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1830 * lots of header files: improved explanatory notes.
1832 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1833 ControlBase is now a class that only controls the interaction of the
1834 View with the ButtonController.
1836 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1837 to ControlConnectBase. The class controls the connection/disconnection
1838 of signals from the LyX kernel and makes available the kernel (through
1839 lv_) to daughter controller classes.
1840 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1842 * ControlDialogs.h: new file. Contains the definition of two template
1843 controller classes, ControlDialog and ControlInset (was
1844 ControlConnectInset). ControlInset is a parent class for controllers
1845 of inset-popups. ControlDialogs is the rather uninspired name for
1846 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1847 ControlDialogs is reaching a state of maturity as several popups now use
1848 it and its functionality becomes clear. ControlInset is still in a state
1849 of flux. It is likely that functionality will be moved out of
1850 ControlCommands and into it.
1852 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1853 individual Controller header files and into one place. These classes
1854 serve only as convenient wrappers to simplify code in the respective
1855 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1857 * ControlCharacter.[Ch] (show, update, hide):
1858 * ControlLog.[Ch] (show, update, hide):
1859 * ControlVCLog.[Ch] (show, update, hide): moved back into
1860 the ControlDialogs base class.
1861 (setParams, clearParams): new methods containing controller-specific
1862 code to set/reset the parameters manipulated by the view.
1864 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1866 (hide): calls clearParams.
1868 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1869 by ControlCommand::hide().
1871 * ControlCopyright.[Ch]:
1872 * ControlCredits.[Ch]: new files; controllers for the copyright and
1873 credits popups, respectively.
1875 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1877 * ControlCharacter.C: fix typo
1879 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1881 * ControlCharacter.[Ch]: new files; controller for the character popup.
1883 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1884 moved to new files helper_funcs.[Ch].
1886 * helper_funcs.[Ch]: new files. Some useful helper functions and
1889 * Makefile.am: added new files.
1891 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1893 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1895 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1898 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1899 Control log files, respectively.
1901 * Makefile.am: added new files.
1903 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1905 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1907 * Makefile.am: added ControlBibtex.[Ch].
1909 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1912 * ControlCitation.C: added "using SigC::slot" declaration.
1914 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1915 to FormCitation.C prior to the merger: "Do not put space between
1918 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1920 * several files: remove CXX_WORKING_NAMESPACES
1922 * ButtonController.h: noncopyable is in namespace boost
1923 * ButtonPolicies.h: ditto
1925 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1927 * Merging changes from BRANCH_MVC back into HEAD.
1929 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1931 * Makefile.am: add ControlBibitem.[Ch].
1933 * ControlBibitem.[Ch]: new files that together define the Controller
1934 for a Bibitem popup.
1936 * ControlCommand.h (c-tor): give kb_action a default value of
1939 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1941 * ControlCitation.[Ch]: moved search functions out of class.
1942 (bibkeysInfo): new method. Returns const reference to private data.
1943 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1946 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1948 * ControlCitation.[Ch]: added Search functions to the class,
1949 (shamelessly lifted from Marco's gnome code). I think that these would
1950 be better as helper functions outside the class, but this is a first
1953 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1955 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1957 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1958 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1959 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1960 implementation of FormCitation.
1962 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1964 * ButtonPolicies.h: add SMI_NOOP to enum.
1966 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1968 * ButtonController.C (input): add "optimising" if-statement. Actually,
1969 things don't work correctly without it...
1971 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1973 * ViewBase.h: remove #pragma directive
1975 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1978 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1980 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1982 * Makefile.am: added ButtonPolicies.[Ch]
1984 * ButtonController.[Ch]: ButtonController is split into
1985 ButtonControllerBase and a template ButtonController class. The base
1986 class no longer stores a pointer to a ButtonPolicy, but instead
1987 accesses the actual instantiation of the policy through a pure virtual
1988 method bp(). This method and the ButtonPolicy itself are instantiated
1989 in the templatised ButtonController class. This class is derived from
1990 the GUI-specific GUIBC class, meaning that the frontends know
1991 nothing about the actual policy decided upon by the controllers.
1993 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1994 Instead the actual instantiations are accessed through pure virtual
1995 methods view() and bc(). The daughter classes are responsible for the
1996 actual View and ButtonController.
1998 * ControlCitation.h: the templatised class GUICitation instantiates
1999 the methods view() and bc(). It also stores the instances of the
2000 View and ButtonController.
2002 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2004 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2005 also changed to ButtonController.
2008 * ControlConnections.[Ch]:
2009 * ControlCommand.[Ch]:
2010 * ControlCitation.[Ch]:
2011 * ViewBase.h: Changes associated with this.
2013 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2015 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2016 xforms/ButtonController class into a GUI-I class (here) and an
2017 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2019 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2020 from which all Dialog Controllers should be derived. the Controllers
2021 are GUI-independent, but are designed to control the behaviour of
2022 GUI-specific implementaions of each dialog.
2024 * ControlConnections.[Ch]: new files. Classes controlling the
2025 connections of buffer-independent, buffer-dependent and Inset dialogs
2026 with the LyX kernel.
2028 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2029 InsetCommand subset of insets.
2031 * ControlCitation.[Ch]: new files. The test specialisation! A
2032 controller for the Citation dialog.
2034 * ViewBase.h: new file. ViewBase is an abstract base class from which
2035 GUI-specific dialogs should be derived. The functionality that the GUIs
2036 must now implement is much reduced.