1 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3 * ControlGraphics.C: removed #include "converter.h"
5 * ControlSendto.C: added #include "format.h"
7 2003-02-27 Angus Leeming <leeming@lyx.org>
9 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
11 * Makefile.am: add the new files.
13 2003-02-27 Angus Leeming <leeming@lyx.org>
15 * ControlBibitem.C (c-tor):
16 * ControlBibtex.C (c-tor):
17 * ControlCitation.C (c-tor):
18 * ControlIndex.C (c-tor):
19 * ControlRef.C (c-tor):
20 * ControlToc.C (c-tor):
21 * ControlUrl.C (c-tor):
22 pass "name" to ControlCommand c-tor,
25 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
28 * ControlERT.C (dispatchParams): use "name" rather than a
31 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
33 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
35 2003-02-21 Angus Leeming <leeming@lyx.org>
38 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
40 * ControlBibitem.[Ch]:
42 * ControlCitation.[Ch]:
43 * ControlCommand.[Ch]:
48 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
49 individual controllers too.
50 Move 'apply' code into the LyX kernel.
52 * ControlConnections.C: temporary renaming of Dialogs::signals.
54 * Makefile.am: add new files.
56 2003-02-21 Angus Leeming <leeming@lyx.org>
58 * ControlBibtex.C (Browse):
59 * ControlExternal.C (Browse):
60 * ControlGraphics.C (Browse):
61 * ControlInclude.C (Browse):
62 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
64 * ControlPrint.C (Browse):
65 don't pass a LyXView & to browseFile et al.
66 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
67 don't pass a LyXView & to fileDlg.
69 2003-02-17 John Levon <levon@movementarian.org>
71 * ControlDialog.tmpl: build dialog before calling setParams
72 for the benefit of ControlSpellchecker
74 * ControlSpellchecker.h:
75 * ControlSpellchecker.C: rework. Lots of bugs fixed and
78 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
80 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
81 of available *.bib-files from bibFiles.lst).
83 * tex_helpers.C (getTexFileList): sort and dis-duplicate
84 listWithoutPath correctly.
86 2003-02-08 John Levon <levon@movementarian.org>
89 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
91 2003-02-08 John Levon <levon@movementarian.org>
95 * ControlChanges.C: add merge changes dialog
98 * ControlPrefs.C: add setCurrentAuthor()
100 2003-01-31 Angus Leeming <leeming@lyx.org>
102 * ViewBase.h: add an isVisible() pure virtual method.
104 * ControlTabular.C (updateInset): don't build the dialog here.
105 Instead, do nothing if the dialog is invisible.
107 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
109 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
111 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
113 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
115 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
117 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
119 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
121 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * several files: ws changes
125 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * ControlDocument.C (classApply): use boost.format
129 2002-11-29 Angus Leeming <leeming@lyx.org>
131 * ControlButtons.h (isClosing): make it public, so that the view can
133 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
136 * ControlPrefs.[Ch] (OKButton): removed.
138 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
139 dialog isClosing(). (Ie, if the "save" button has been pressed.)
141 2002-11-28 John Levon <levon@movementarian.org>
143 * ControlSpellchecker.C: fix Lars' broken cleanup
145 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
147 * ControlTabular.[Ch]: Add isMulticolumnCell
149 2002-11-27 Angus Leeming <leeming@lyx.org>
151 * ControlMath.C (ControlMath): initialise active_.
153 2002-11-25 Angus Leeming <leeming@lyx.org>
155 * ControlDialog.h (hide, update): move from protected to public.
157 * ControlMath.[Ch]: add controllers for the main math panel dialog and
158 for any daughter dialogs stored by the main panel.
160 2002-11-21 Angus Leeming <leeming@lyx.org>
162 * ControlDocument.[Ch] (classApply): no longer returns bool.
163 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
165 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * biblio.C (getAbbreviatedAuthor): use boost::format
169 * ControlSpellchecker.C (clearParams): use boost::format
171 2002-11-20 John Levon <levon@movementarian.org>
173 * ControlMath.C: couple more manglings
175 2002-11-20 John Levon <levon@movementarian.org>
178 * ControlMath.C: add find_xpm mangler
180 2002-11-17 John Levon <levon@movementarian.org>
182 * helper_funcs.C and users: specify save/open in file dialog
184 2002-11-15 John Levon <levon@movementarian.org>
187 * ControlPrefs.C: use setParams()
189 2002-11-15 John Levon <levon@movementarian.org>
191 * ControlButtons.h: make OKButton() virtual for prefs
194 * ControlPrefs.C: updates for xforms port to MVC
198 * ControlTabular.C: add simple MVC port
200 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
202 * ControlInclude.C: fix file format masks for qt's use
204 2002-11-13 John Levon <levon@movementarian.org>
208 * ControlPrefs.C: add skeleton controller
210 2002-11-12 John Levon <levon@movementarian.org>
212 * biblio.C: fix warnings
214 2002-11-12 Angus Leeming <leeming@lyx.org>
216 * ControlSpellchecker.C (check): fix crash
217 * biblio.C (escape_special_chars): simplify BRE.
219 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
221 * ControlDocument.[Ch]: Remove unused method
223 2002-11-07 Angus Leeming <leeming@lyx.org>
225 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
226 * clean-up the search code in biblio.C.
228 2002-11-07 John Levon <levon@movementarian.org>
230 * ControlGraphics.C: QGraphics fixes
232 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
234 * ControlDocument.C: (SaveAsDefault) make it work.
235 fix buffer update on class change
237 2002-11-06 Angus Leeming <leeming@lyx.org>
239 * biblio.C (searchKeys and helper functions): rewritten entirely
240 using the STL. Boost::regex searching now works as the old 1.2 code
243 2002-11-06 Angus Leeming <leeming@lyx.org>
245 * biblio.C: clean-up of the code. No change in functionality.
247 2002-11-04 Angus Leeming <leeming@lyx.org>
249 * ControlGraphics.[Ch] (getUnits): moved out of class and into
250 frnt::getBBUnits(). Code cleaned also.
252 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * biblio.C (regexSearch): STRCONV
257 * ControlAboutlyx.C (getVersion): STRCONV
259 * ControlMath.C: include config.h
261 2002-10-31 John Levon <levon@movementarian.org>
264 * ControlGraphics.C: bb units from Herbert
266 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
268 * ControlParagraph.[Ch] (alignDefault): new method, returning the
269 default alignment (block, left, right, center) of this paragraph.
271 2002-10-25 John Levon <levon@movementarian.org>
273 * ControlPrint.C: using endl
275 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
277 * ControlPrint.[Ch]: move code here from Liason.[Ch].
279 * ControlSpellchecker.h (getCount): new method.
280 * ControlSpellchecker.[Ch]: constify some accessor methods.
282 2002-10-22 Angus Leeming <leeming@lyx.org>
284 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
285 alphabetical order once again.
287 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
288 Add a list of CheckedWidget ptrs to ButtonControllerBase
289 together with methods addCheckedWidget and checkWidgets to use it.
291 * ButtonController.tmpl (refresh): use the return value of
292 checkWidgets to control the activation state of the Ok, Apply, Restore
295 * ControlDialog.tmpl (show, update):
296 * ControlInset.tmpl (showInset, update):
297 invoke ButtonController::refresh to ensure that the activation state of
298 the Ok, Apply buttons reflects the valid-state of the widgets.
300 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
302 * tex_helpers.C (rescanTexStyles): don't pop p
305 * ControlWrap.C (WrapParms): remove initialization of placement,
306 and move empty c-tor to .h class def.
308 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
309 of on stringsteam, return void. Get the file into the stream as
312 * ControlPreamble.[Ch] (params): getter and setter for params_, make
313 params_ into a string, not just a pointer to string.
315 * ControlExternal.C (getTemplateNumber): put i into the for scope,
316 and use the sequence operator on the last for "parameter"
317 (getTemplate): use std::advance to advance the iterator.
319 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
320 instead of on a stringstream, return void. Get the file into the
321 stream as fast as possible.
322 (getVersion): use ostringstream
324 * lots of files: ws changes, formatting fixes
326 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * ControlCharacter.C (apply): setMinibuffer change
329 * ControlDocument.C (apply): ditto
331 * ControlThesaurus.C (replace): ditto
332 * ControlSearch.C (find): ditto
334 * ControlPreamble.C (apply): ditto
335 * ControlParagraph.C (apply): ditto
337 2002-10-14 André Pönitz <poenitz@gmx.net>
339 * ControlDocument.C: somebody else's fix for a hard lockup
341 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
345 * Makefile.am: New document parameters controller
347 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
349 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
351 2002-09-24 Angus Leeming <leeming@lyx.org>
353 * ControlConnections.h: remove trailing whitespace.
355 * biblio.h: #include "LString.h".
357 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
359 * ControlGraphics.C: Change GUI origin strings into proper English.
361 2002-09-09 John Levon <levon@movementarian.org>
363 * ControlInclude.C: fix file masks. Get rid of noload,
364 remove stupid warning
366 2002-09-09 John Levon <levon@movementarian.org>
369 * ControlMath.C: add latex_deco
371 2002-09-06 John Levon <levon@movementarian.org>
373 * ControlMath.C: terminate dots
375 2002-09-05 Angus Leeming <leeming@lyx.org>
377 * all files: modify the headers as discussed on the list.
379 2002-08-30 John Levon <levon@movementarian.org>
382 * ControlMath.C: moved from MathsSymbols.C
384 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
386 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
388 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
390 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
391 first item in the list
393 2002-08-15 Angus Leeming <leeming@lyx.org>
395 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
397 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
399 2002-08-15 Angus Leeming <leeming@lyx.org>
401 * lots: changed my email address to leeming@lyx.org.
403 * GUI.h: return it to private derivation from boost::noncopyable.
405 2002-08-14 Angus Leeming <leeming@lyx.org>
407 * GUI.h: public derivation from boost::noncopyable.
409 2002-08-14 Angus Leeming <leeming@lyx.org>
411 * GUI.h: class GUI deries from boost::noncopyable
413 * ControlButtons.h: no longer derives from DialogBase, but instead
414 derives directly from boost::noncopyable.
416 * ViewBase.h: derives from boost::noncopyable.
418 * ControlCharacter.C:
420 * ControlConnections.C:
423 * ControlParagraph.C:
427 * ControlSpellchecker.C:
429 * ControlThesaurus.C:
430 rearrange #includes. Remove unnecessary ones.
432 * ControlError.h: add "insets/inseterror.h".
434 * helper_funcs.h: add necessary #includes.
436 * tex_helpers.[Ch]: add #pragma directives for g++.
438 * Makefile.am: remove src/frontends from -I list to compiler.
440 2002-08-13 Angus Leeming <leeming@lyx.org>
442 * ControlConnections.C:
444 changes due to the changed LyXView interface that now returns references
445 to member variables not pointers.
447 2002-08-12 Angus Leeming <leeming@lyx.org>
449 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
450 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
451 for the most commonly accessed core methods, to minimise code
454 * many files: use these wrappers and remove associated #includes.
456 2002-08-12 Angus Leeming <leeming@lyx.org>
458 * ControlButtons.[Ch] (bc, view): no longer virtual.
459 (setView, setButtonController): new methods, invoked by GUI.
461 * ControlDialog.h (show):
462 * ControlInset.h (createInset, showInset): make public, so that GUI can
465 * GUI.h: GUI now contains a controller, rather than deriving from it.
466 remove all those friend functions since we can now access the show,
467 createInset, showInset controller methods.
469 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
472 * character.h: #include a couple of STL files.
474 2002-08-08 John Levon <levon@movementarian.org>
476 * ControlCommandBuffer.C: LyXAction cleanup
478 2002-08-07 John Levon <levon@movementarian.org>
480 * ControlSpellchecker.C: fix crash when spellchecker doesn't
483 2002-08-06 John Levon <levon@movementarian.org>
485 * ControlSpellchecker.C:
486 * ControlSpellchecker.h: use WordLangTuple
488 2002-08-06 John Levon <levon@movementarian.org>
490 * ControlSpellchecker.C: show an alert with the
491 error message on initialisation failure
493 2002-08-04 John Levon <levon@movementarian.org>
495 * ControlSpellchecker.h:
496 * ControlSpellchecker.C: some cleanups
498 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
500 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
502 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
503 the Dialogs::updateParagraph signal is emitted.
505 2002-08-02 Angus Leeming <leeming@lyx.org>
507 * ControlCharacter.C (apply):
508 * ControlERT.C (applyParamsToInset):
509 * ControlParagraph.C (apply):
510 * ControlSearch.C (find, replace):
511 * ControlThesaurus.C (replace): changes due to LyXView::view() now
512 returning a boost::shared_ptr.
514 2002-08-01 John Levon <levon@movementarian.org>
516 * ControlSendto.C: writeFile() change
518 2002-08-01 John Levon <levon@movementarian.org>
520 * ControlSpellchecker.h:
521 * ControlSpellchecker.C: remove options
523 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * several files: strip,frontStrip -> trim,ltrim,rtrim
527 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
529 * biblio.C (parseBibTeX): modify because of strip changes
531 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
533 * ControlFloat.[Ch]: Implement Wide Float toggle
534 Replace "allow_here_definitely" by "wide"
536 2002-07-22 Herbert Voss <voss@lyx.org>
538 * ControlGraphics.C: small changes
540 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
542 * ControlToc.C: remove getType
544 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
546 * ControlCommandBuffer.C: don't add "" to history
548 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
550 * ControlRef.C: fix dispatch call nicely
552 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
555 * ControlCommandBuffer.h:
556 * ControlCommandBuffer.C: add controller for command (mini) buffer
559 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
561 * ControlRef.C: fix dispatch call
563 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
565 * ControlCharacter.C: use view_state_changed not setState
567 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
569 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
571 2002-07-15 Mike Fabian <mfabian@suse.de>
573 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
574 of compare_no_case, because in turkish, 'i' is not the lowercase
575 version of 'I', and thus turkish locale breaks parsing of tags.
577 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
579 * ControlBibtex.C (applyParamsToInset): ws change
581 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
583 * ControlInclude.C: Add warning if absolute path name and
584 check_typeset is used together
586 2002-06-28 Angus Leeming <leeming@lyx.org>
588 * ControlGraphics.C: changes associated with the name changes
589 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
591 2002-06-25 Angus Leeming <leeming@lyx.org>
593 * ControlGraphics.C (readBB): Channges associated with the changed
594 interface to the graphics cache.
596 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
598 * ControlParagraph.C: layout as layout
600 2002-06-21 Angus Leeming <leeming@lyx.org>
602 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
603 * tex_helpers.h: #include "LString.h".
605 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
608 * ControlBibitem.C: use repaint()
610 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
612 * ControlTexinfo.C: do the same for Texinfo
614 * tex_helpers.C: don't try to read a file that isn't there
616 2002-06-21 Herbert Voss <voss@perce.de>
618 * ControlBibtex.C: do an automatic update, when no bst-list
621 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
623 * GUI.h: createIndex() changed
625 2002-06-18 Herbert Voss <voss@perce.de>
627 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
628 helperstuff. Now the bibtex gui can use some of these functions
630 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
632 * ControlGraphics.C: just make the mask *.*
634 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * changes to simplify function setup, removal of a lot of includes.
638 2002-06-12 Angus Leeming <leeming@lyx.org>
640 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
642 2002-06-12 Angus Leeming <leeming@lyx.org>
644 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
646 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
648 * ControlParagraph.[Ch]: new paragraph controller
649 * GUI.h: add new controller
652 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * GUI.h: do not include ButtonController.tmpl
656 * ControlInset.h: include ControlInset.tmpl
658 * ControlCitation.C: do not include ControlInset.tmpl
659 * ControlCommand.C: ditto
660 * ControlERT.C: ditto
661 * ControlError.C: ditto
662 * ControlExternal.C: ditto
663 * ControlFloat.C: ditto
664 * ControlGraphics.C: ditto
665 * ControlInclude.C: ditto
666 * ControlMinipage.C: ditto
668 * ControlDialog.tmpl: remove the Base:: prefix
670 2002-06-07 Angus Leeming <leeming@lyx.org>
672 Fixes needed to compile with Compaq cxx 6.5.
673 * ControlDialog.tmpl: I have had to prefix base class methods with
676 * ControlInset.tmpl: #include a couple of headers.
678 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
680 * switch from SigC signals to boost::signals
682 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
684 * biblio.h: include vector
686 * biblio.C: change include order
687 (regexSearch): use boost regex and get rid of LRegex
689 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
694 * ControlCharacter.C:
697 * ControlConnections.C:
714 * ControlSpellchecker.C:
715 * ControlTabularCreate.C:
717 * ControlThesaurus.C:
720 * ControlVCLog.C: LyXView moved into frontends
722 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
724 * ControlExternal.C: add scoped_ptr.hpp
726 * ControlCharacter.h: use more specific smart_ptr header.
728 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
730 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
732 2002-05-13 Herbert Voss <voss@perce.de>
734 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
735 like "Odland, G. and ... "
736 (parseBibTeX): fix bug with title and booktitle
737 and replace a \n with a space when one entry has more than
740 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
742 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
743 "No change" and "Reset".
745 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
746 them at the front of the list.
748 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
750 * ControlGraphics.C: add some comments to the char * arrays.
751 Make rorigin_size const.
753 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
755 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
756 Enables the gui's to internationalise these strings.
758 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
760 * frnt_lang.C: fix build
762 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
764 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
765 If the the caller is the character dialog, add "No change" and "Reset"
766 to the vector, else don't.
767 Internationalise the GUI strings here rather than in the different
769 Sort the translated strings, albeit simply.
771 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
773 * character.[Ch]: rename namespace character as namespace frnt.
775 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
776 as several dialogs will use this info. The function now returns a
777 vector<LanguagePair> where LanguagePair is a display string and an
778 identifying string. The display string is internationalised.
780 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
781 the identifying strings, "No change" and "Reset".
783 * Makefile.am: add frnt_lang.[Ch].
785 2002-04-25 Herbert Voss <voss@lyx.org>
787 * ControlSendto.C (allFormats): don't add the graphics extensions to the
790 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
792 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
793 BibTeX databases in a WYSIWYM way.
795 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
797 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
798 way past his use-by date.
799 Make use of the improved info from Buffer::getBibkeyList when using
800 \bibliography. Enables us to provide natbib support in this case too.
802 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
804 * ControlGraphics.C: pass the browseFile dialog a string of only those
805 formats that can currently be loaded by LyX.
807 2002-04-15 Herbert Voss <voss@perce.de>
809 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
810 with something like ,,...blah...`` (two commas)
812 2002-04-14 Herbert Voss <voss@perce.de>
814 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
815 into the support/lstrings for better use in other programs.
817 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
818 namespace anon and make globally accessible.
819 (familyName): test for the presence of a LaTeX Space at the front of
820 of a name; strip it if it exists.
822 2002-04-11 Herbert Voss <voss@perce.de>
824 * ControlGraphics.C: expand "browse-string" to all available formats
826 2002-04-11 Herbert Voss <voss@perce.de>
828 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
830 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
832 * ControlAboutlyx.C (getVersion): two _() forgotten
834 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
838 * ControlBibtex.C: make N_() be _()
840 2002-04-07 Herbert Voss <voss@perce.de>
842 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
844 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
846 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
847 used when reading the BB.
849 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
851 * ControlGraphics.C (readBB): Don't open the ifstrem and then
852 check the format from the contents (and open a second ifstream in the
853 process. One at a time please.
855 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
857 * ControlRef.C (getBufferNum): squash warning message.
859 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
861 * ControlBibtex.C (Browse):
862 * ControlGraphics.C (Browse):
863 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
865 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
867 * ControlGraphics.C (applyParamsToInset): pass filepath to
868 InsetGraphics::updateInset.
870 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
872 * most files: ws cleanup
874 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
876 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
879 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
882 * ControlInclude.C: better error messages
884 2002-03-11 Herbert Voss <voss@lyx.org>
886 * biblio.C (parseBibTeX): fix another minibug with an
889 2002-03-10 Herbert Voss <voss@lyx.org>
891 * biblio.C (parseBibTeX): fix bug
892 (familyName): improve parsing
894 2002-03-09 Herbert Voss <voss@lyx.org>
896 * ControlGraphics.[Ch]: adding checkFilename() for testing
897 of non-existing files
899 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
901 * ControlSendto.C (allFormats): fix a iterators are not pointers
904 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
906 * ControlShowFile.h: add a #include "LString.h"
908 2002-03-05 Herbert Voss <voss@lyx.org>
910 * biblio.C (getInfo): simplify if using paragraph layout
913 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
915 * biblio.C (getInfo): return the info field correctly if the key
917 (parseBibTeX): fix crash when data.find('=') returns string::npos.
919 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
921 * ControlForks.[Ch]: new files. A controller for the Forked Child
922 processes dialog, enabling the user to see what forked processes
923 are running, and, if he so desires, to kill them.
925 * GUI.h: add class GUIForks.
927 * Makefile.am: add ControlForks.[Ch].
929 * ControlGraphics.C (getParams): small change due to change in
932 2002-02-21 Herbert Voss <voss@lyx.org>
934 * biblio.C: fix bug with commentlines in a bibentry
936 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
938 * Makefile.am: simpler obj. file compile
940 2002-02-18 Herbert Voss <voss@lyx.org>
942 * ControlGraphics.[Ch]: remove help-file call
944 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
946 * helper_funcs.h: wrap the structs firster and seconder up in a
947 namespace to avoid clashes with those in lyxalgo,h.
949 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
950 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
952 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
954 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
957 change Systemcalls::System to Systemcalls::Wait and
958 No change of functionality, just reflects the stripped down Systemcalls
961 2002-02-06 Herbert Voss <voss@lyx.org>
963 * ControlGraphics.[C] (readBB): search also in
964 g'zipped files. If it is useful than PK and compress
965 should also be supported. use unzipFile() from
968 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
970 * ControlRef.C (getBufferName): new method to get a real buffer
973 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
975 * ControlTexInfo.[Ch]: Removed Help functions.
977 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
979 * ControlSpellchecker.C: clear any selection left
982 2002-02-01 Herbert Voss <voss@lyx.org>
984 * ControlGraphics.[C] (readBB): search only, if it is a
985 ".?ps" file and look for bb's at end of file
987 2002-01-30 Herbert Voss <voss@lyx.org>
989 * ControlGraphic.[C]: do not search the whole file, when
992 2002-01-29 Herbert Voss <voss@lyx.org>
994 * ControlGraphic.[C]: added a button for document path
995 when browsing -> bug 222
997 2002-01-27 Herbert Voss <voss@lyx.org>
999 * ControlGraphic.[Ch]: added support for Bounding Box, other
1002 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1004 * ControlAboutlyx.h:
1005 * ControlTexinfo.h: added #include "LString.h" where they belong.
1007 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1009 * ControlCitation.C:
1010 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1012 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1017 2002-01-20 Herbert Voss <voss@perce.de>
1019 * ControlInclude.[Ch]: better control of unexistings files
1020 when entered without the browser
1022 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1025 2002-01-19 Herbert Voss <voss@perce.de>
1027 * biblio.C (getInfo): fix bug when no author is given
1029 * biblio.C (parseBibTeX): change the parsing, so that
1030 '#'-characters in a bibtex entry are no more a problem.
1032 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1034 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1035 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1037 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1039 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1041 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1043 * ControlExternal.C (Browse): add a std:: qualifier
1045 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1047 * ControlExternal.C (Browse): simplify to use browseRelFile
1049 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1051 * ButtonController.tmpl: added // -*- C++ -*-
1053 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1054 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1055 Needed in _one_ of the ControlCommand-derived classes only.
1057 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1060 * ControlSearch.h: #include LString.h
1062 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1064 * ButtonController.h: split into two. The definition remains in
1065 ButtonController.h, the declaration is now in ButtonController.tmpl.
1066 These template methods should be #included when the derived class is
1067 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1068 and in the qt2 and gnome equivalents.
1070 * ControlDialogs.h: removed. The definition of class ControlDialog is
1071 now to be found in ControlDialog.h and the declaration of the methods
1072 is in ControlDialog.tmpl. The two template instantiations are performed
1073 in ControlDialog_impl.[Ch], new files also.
1075 * ControlInset.h: split into two. The definition remains in
1076 ControlInset.h, the declaration is now in ControlInset.tmpl.
1077 These template methods should be #included derived class is
1078 instantiated, in this case in 8 other .C files in this directory.
1080 * ControlAboutlyx.[Ch]:
1081 * ControlCharacter.[Ch]:
1085 * ControlExternal.C:
1087 * ControlGraphics.C:
1090 * ControlMinipage.C:
1091 * ControlPreamble.[Ch]:
1092 * ControlPrint.[Ch]:
1093 * ControlSearch.[Ch]:
1094 * ControlShowFile.[Ch]:
1095 * ControlSpellchecker.[Ch]:
1096 * ControlTabularCreate.[Ch]:
1097 * ControlTexinfo.[Ch]:
1098 * ControlThesaurus.[Ch]:
1099 * ControlVCLog.[Ch]: small changes associated with the above ones.
1101 * GUI.h: #include the ButtonController and dialog controller files
1102 here, rather than forward declare them. This is the correct place
1103 for these #includes.
1105 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1106 Rename ControlDialogs.h as ControlDialog.h.
1107 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1110 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1112 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1114 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1116 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1119 * ControlGraphics.C (Browse): remove overzealous shortcut
1121 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1123 * FormMinipage.C (apply, update): MinipageParams::width renamed
1124 as MinipageParams::pageWidth. InsetMinipage::width renamed
1125 as InsetMinipage::pageWidth.
1127 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1129 * ButtonController.h (refreshReadOnly): use explicit typename
1131 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * helper_funcs.h (browseFile): add default empty button descriptions.
1135 * ControlGraphics.C (Browse):
1136 * ControlBibtex.C (Browse):
1137 * ControlInclude.C (Browse): add shortcuts to directory buttons
1139 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1141 * ControlThesaurus.h:
1142 * ControlThesaurus.C: update to Aiksaurus 0.14
1144 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1146 * ControlSpellchecker.C (clearParams): show the closing message
1147 only if some words have been checked, thereby fixing
1150 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1152 * ControlFloat.[Ch]: changes to prevent here definitely being used
1155 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1157 * ControlThesaurus.h: do not include <config.h> in header files
1159 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1161 * ControlToc.C: changes for floatlist
1163 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1165 * ControlVCLog.C: use _()
1167 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1169 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1172 2001-10-22 Juergen Vigna <jug@sad.it>
1174 * ControlSpellchecker.C (clearParams): use the error_ message of the
1175 speller_ if available when the spellchecker died.
1176 (setParams): remove double error message display.
1178 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1180 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1182 * helper_funcs.[Ch] (getLatexUnits): see above.
1184 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1186 * ControlTexinfo.C (getContents): use the right file for .sty files
1188 2001-10-10 Herbert Voss <voss@perce.de>
1190 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1191 and some more stuff from FormTexinfo.C
1193 * ControlShowFile.C: hiding the update-button
1195 2001-10-09 Herbert Voss <voss@perce.de>
1197 * ControlTexinfo.[Ch]: new files. Display information about the
1198 installed texfiles (cls,sty,bst).
1200 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1202 * GUI.h: added classes GUIShowFile and GUITexinfo.
1204 * Makefile.am: modified appropriately.
1206 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1208 * ControlAboutlyx.C (getVersion): use lyx_version and
1209 lyx_release_date instead of old macros
1211 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1213 * ControlSpellchecker.C (check): Behaves well now when the spell
1214 library doesn't know a replacement to an incorrect word.
1216 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1218 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1219 the correct place. Can now check spelling more than once!
1221 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1223 * ControlSplash.[Ch]: removed.
1225 * GUI.h: remove GUISplash class.
1227 * ViewBase.h: remove ViewSplash class.
1229 * Makefile.am: remove ControlSplash.[Ch].
1231 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1234 view will be shut down.
1237 * ControlInset.h: act on emergency_exit_.
1239 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1240 speller fails to launch.
1242 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1244 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1245 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1247 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1249 * ControlRef.h (disconnectOnApply): new method. Set to true.
1250 Perhaps make this user-modifiable?
1252 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1254 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1257 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1259 * ControlRef.C (getBufferList, getBufferNum): New methods
1261 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1263 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1264 of the dialog when the Apply button is pressed. Defaults to false,
1265 but can be overridden in the daughter classes.
1267 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1268 Perhaps make this user-modifiable?
1270 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1272 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1273 we have dialogs that update their contents when the buffer changes.
1274 Rather embarassing, really!
1276 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1278 * ControlSearch (replace): change semantics of replace to NOT move on
1279 to the next instance of a word once the present instance has been
1280 replaced unless we are replacing ALL instances of the word.
1282 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1284 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1286 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1288 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1289 dialog, set all options to "reset", close the dialog, re-open it ->
1290 the options are set incorrectly.
1292 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1293 When Applying it's useful to know whether the dialog is about to close
1294 or not (no point refreshing the display for example).
1296 * ControlInset.C (apply): use isClosing.
1298 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1301 * ControlDialogs.h: remove bc() hack, now fixed in
1302 Qt2 frontend. use member dialog_built_ instead of shared
1305 * ButtonController.h:
1306 * ButtonPolicies.C: more debug info
1308 * ButtonControllerBase.C: call refresh() when setting readOnly !
1310 * GUI.h: External form has apply, use the right policy
1312 * character.C: fix two off-by-one errors when latex font was removed
1314 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1316 * ControlInset.h (apply): tentative fix for the press Apply multiple
1317 times and get multiple new Insets problem.
1319 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1321 * ControlCharacter.C: fix typo
1325 * ControlInsets.C: make sure dialog is built before it is shown, so
1326 it works properly the very first time it is shown
1328 2001-08-20 Herbert Voss <voss@perce.de>
1330 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1331 and styles. Added an option for "bibliography into toc"
1333 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1335 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1336 LaTeX is no longer a font property.
1338 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1340 * GUI.h: Button controller for Reference dialog changed to
1341 NoRepeatedApplyReadOnlyPolicy.
1343 * biblio.C (getInfo): output volume and number info. Move year to end
1346 2001-08-09 Allan Rae <rae@lyx.org>
1348 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1350 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1352 * helper_funcs.C (getVectorFromString): fixed small bug.
1354 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1356 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1358 * ControlSpellchecker.C: check next word after insert in personal dict
1360 2001-08-06 Juergen Vigna <jug@sad.it>
1362 * ControlERT.[Ch]: new file
1364 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1366 * ControlInset.h: const and non-const forms of params().
1368 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1369 whitespace from either side of each item.
1371 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1373 * ControlFloat.h: add a != operator for FloatParams.
1374 Lars, how did you get this to compile!!!
1376 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1377 operator != for MinipageParams. Who's changing stuff and not compiling?
1379 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1381 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1384 * GUI.h: add class GUIFloat
1386 * ControlFloat.[Ch]: new files
1388 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1390 * ControlPrint.C: #include Lassert.h here.
1392 2001-07-26 Baruch Even <baruch@lyx.org>
1394 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1397 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1399 * ControlThesaurus.h:
1400 * ControlThesaurus.C:
1402 * Makefile.am: thesaurus support
1404 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1407 * ControlInclude.C: implement ability to load file
1409 2001-07-18 Juergen Vigna <jug@sad.it>
1411 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1413 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1415 * biblio.C (getInfo): add a .c_str() to handle the usual
1418 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1420 * ControlCitation.[Ch]: changes associated with adding natbib support.
1421 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1422 New static variable citeStyles_.
1424 * biblio.[Ch]: large internal rearrangement.
1425 New public enum CiteStyle.
1426 New public struct CitationStyle.
1427 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1428 getNumericalStrings, getAuthorYearStrings
1429 (simpleSearch, regexSearch): no longer publicly accessible.
1431 * helper_funcs.C (getStringFromVector): bug fix.
1433 2001-07-16 Baruch Even <baruch@lyx.org>
1435 * ControlVCLog.h: Added Lsstream.h to includes.
1437 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1439 * ControlSpellchecker.[Ch]: remove d-tor.
1441 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1443 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1445 2001-07-16 Juergen Vigna <jug@sad.it>
1447 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1448 compiled with USE_PSPELL) to be able to switch between ISpell and
1451 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1453 Consistent use of Lsstream.h:
1454 * ControlAboutlyx.[Ch] (getCredits):
1455 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1457 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1459 * ControlCredits.[Ch]: removed
1460 * ControlCopyright.[Ch]: removed
1461 * ControlAboutlyx.[Ch]: added (replaces previous)
1462 * GUI.h: removed credits and copyright added about lyx stuff
1464 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1466 * ControlSpellchecker.C (getSuggestion):
1467 (getWord): add std:: qualifier
1469 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1471 * ControlSpellchecker.[Ch]: added
1472 * ViewBase.h: added partialUpdate(int) member
1473 * GUI.h: added spell stuff
1475 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1477 * ControlExternal.C: (*it). -> it->
1479 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1481 * ButtonController.h: move some included header files out of the
1482 frontends and into here.
1484 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1486 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1488 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1490 * *.[h]: added // -*- C++ -*-
1491 * *.[C]: removed // -*- C++ -*-
1493 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1494 activate Apply button.
1495 (clearParams): removed.
1496 font_ is now stored as a boost::scoped_ptr.
1497 font_ is no longer deleted on hide(), so it's contents can now be used
1498 by the Font button on the toolbar.
1499 Lots of new methods so that the GUI can easily get the contents of
1500 font_ when it update()s.
1502 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1504 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1505 crash when the Font button on the Toolbar is pressed.
1507 * GUI.h: change policy of Character button controller to
1508 OkApplyCancelReadOnlyPolicy.
1510 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1512 * ControlToc.C (getContents): don't add anything to the list if it
1513 is supposed to be empty.
1515 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1517 * helper_funcs.C (getVectorFromString): bug fix.
1519 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1521 * ButtonController.h
1522 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1523 from ButtonControllerBase::readOnly. Updates the state of the widgets
1524 in the read-only list only when the read-only status of the document
1526 (refresh): moved this stuff into refreshReadOnly.
1528 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1530 * ControlPrint.C (c-tor):
1531 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1533 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1536 * character.h: small clean-ups.
1538 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1540 * ControlToc.C (getType): remove support for old float list.
1542 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1544 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1545 * ControlGraphics.h: no longer include insetgraphicsParams.h
1546 * ControlInset.h: no longer include LyXView.h
1551 * ControlCharacter.C:
1552 * ControlCitation.C:
1554 * ControlConnections.C:
1555 * ControlCopyright.C:
1558 * ControlExternal.C:
1559 * ControlGraphics.C:
1562 * ControlMinipage.C:
1563 * ControlPreamble.C:
1567 * ControlTabularCreate.C:
1569 * ControlVCLog.C: they're now in here!
1571 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1573 * ButtonControllerBase.h: C++ mode, inherit privately from
1575 * ButtonPolicies.h: ditto
1577 * ButtonController.h: C++ mode, swap init order of restore_ and
1580 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1582 * ControlTabularCreate.h:
1583 * ControlTabularCreate.C: make dialogs use a pair of uints
1587 * ControlVCLog.C: fill a stringstream with the log contents
1590 * ControlExternal.C: from Angus, clone the new InsetExternal
1593 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1595 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1596 and made more robust.
1598 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1603 * ControlPreamble.C:
1605 * ControlGraphics.C:
1606 * ControlExternal.C:
1607 * ControlCopyright.C: include gettext.h
1609 * ControlCharacter.C:
1610 * character.C: include gettext.h and language.h
1612 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1614 * ButtonController.h:
1615 * ButtonControllerBase.h:
1616 * ButtonControllerBase.C:
1623 * ControlConnections.h:
1626 * ControlExternal.C:
1629 * ViewBase.h: s/ControlButton/ControlButtons/
1631 s/UndoAll/Restore/ + associated
1633 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1635 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1638 * Makefile.am: associated changes with all of the above.
1640 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1642 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1643 and edit, view, update the External Material correctly. I hope!
1645 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1647 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1649 * BCTemplates.h: renamed as ButtonController.h
1651 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1654 * ControlConnections.h: associated change in #include and class names.
1656 * ControlExternal.[Ch]: new files; a controller for the External
1660 * Makefile.am: associated changes with all of the above.
1662 * ControlGraphics.[Ch]:
1663 * ControlInclude.[Ch]:
1664 * ControlPrint.[Ch]:
1666 (Browse): new method. Returns the results of a FileDialog browse.
1668 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1669 (getVectorFromString): fixed bug.
1671 * biblio.C (simpleSearch): cleaned up.
1673 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1675 * A slight reworking of Baruch Even's ButtonController patch.
1677 * BCTemplates.h: new file; all the templates for the ButtonController.
1678 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1679 to the more generic setButtonLabel().
1681 * ButtonController.[Ch]: renamed cancel_label and close_label as
1682 cancel_label_ and close_label_.
1684 * Makefile.am: added BCTemplates.h
1686 2001-03-29 Juergen Vigna <jug@sad.it>
1688 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1689 to use new %-lengths of LyXLength.
1691 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1693 * ControlCitation.C (bibkeysInfo): removed Assert.
1695 * ControlCopyright.h: moved GUICopyright into GUI.h
1699 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1701 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1702 (setDaughterParams): a (by default empty) new method called in show().
1708 * ControlMinipage.h:
1711 * ControlUrl.h (clearDaughterParams): removed
1713 * ControlMinipage.C (applyParamsToInset): update the view.
1714 Added namespace minipage containing a helper function getUnits.
1716 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1718 * ControlCharacter.[Ch]: moved out all the helper functions and the
1719 enum into their own file.
1720 * character.[Ch]: new files; contain the character helper functions,
1721 now inside namespace character.
1723 * ControlCitation.[Ch]: moved out all the helper functions and the
1724 enums into their own file. Simplified interface.
1725 * biblio.[Ch]: new files; contain the citation helper functions,
1726 now inside namespace biblio. Will be of use also to an improved
1729 * ControlGraphics.[Ch]:
1730 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1731 popups, respectively.
1734 * Makefile.am: associated changes.
1736 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1738 * ControlMinipage.[Ch]:
1739 * ControlPreamble.[Ch]:
1740 * ControlPrint.[Ch]:
1741 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1742 and Print popups and Splash screen, respectively.
1744 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1748 * Makefile.am: associated changes.
1750 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1752 * ControlConnections.[Ch]: (docType): new method; returns the type
1753 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1756 * ControlSearch.[Ch]:
1757 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1758 Search and TabularCreate popups, respectively.
1761 * Makefile.am: associated changes.
1763 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1765 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1768 * ControlInset.h (apply): fix bug. Can now create new insets again.
1770 * README: describe program flow.
1772 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1774 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1776 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1778 * ControlDialogs.h: moved class ControlInset into its own file.
1780 * ControlInset.h: new file. class ControlInset has been expanded to take
1781 two template parameters, Inset and Params. Believe that all inset
1782 controllers can be derived from this with the minimum of effort.
1784 * ControlBibitem.[Ch]:
1785 * ControlBibtex.[Ch]:
1786 * ControlCitation.[Ch]:
1787 * ControlCommand.[Ch]: moved most code into ControlInset.
1789 * lots of files. Moved protected stuff into private where possible.
1791 * ControlError.[Ch]:
1792 * ControlInclude.[Ch]:
1793 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1794 Include and Url popups, respectively.
1797 * Makefile.am: associated changes.
1799 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1801 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1804 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1806 * ControlCredits.C (getCredits): remove std:: qualifier for
1809 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1811 * ControlCredits.C (getCredits): add std:: on vector
1813 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1815 * ControlCredits.C: remove using that is only used once, use
1816 std::ios instead of std::iosbase, add some annoying comments.
1818 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1820 * lots of header files: improved explanatory notes.
1822 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1823 ControlBase is now a class that only controls the interaction of the
1824 View with the ButtonController.
1826 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1827 to ControlConnectBase. The class controls the connection/disconnection
1828 of signals from the LyX kernel and makes available the kernel (through
1829 lv_) to daughter controller classes.
1830 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1832 * ControlDialogs.h: new file. Contains the definition of two template
1833 controller classes, ControlDialog and ControlInset (was
1834 ControlConnectInset). ControlInset is a parent class for controllers
1835 of inset-popups. ControlDialogs is the rather uninspired name for
1836 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1837 ControlDialogs is reaching a state of maturity as several popups now use
1838 it and its functionality becomes clear. ControlInset is still in a state
1839 of flux. It is likely that functionality will be moved out of
1840 ControlCommands and into it.
1842 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1843 individual Controller header files and into one place. These classes
1844 serve only as convenient wrappers to simplify code in the respective
1845 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1847 * ControlCharacter.[Ch] (show, update, hide):
1848 * ControlLog.[Ch] (show, update, hide):
1849 * ControlVCLog.[Ch] (show, update, hide): moved back into
1850 the ControlDialogs base class.
1851 (setParams, clearParams): new methods containing controller-specific
1852 code to set/reset the parameters manipulated by the view.
1854 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1856 (hide): calls clearParams.
1858 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1859 by ControlCommand::hide().
1861 * ControlCopyright.[Ch]:
1862 * ControlCredits.[Ch]: new files; controllers for the copyright and
1863 credits popups, respectively.
1865 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1867 * ControlCharacter.C: fix typo
1869 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1871 * ControlCharacter.[Ch]: new files; controller for the character popup.
1873 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1874 moved to new files helper_funcs.[Ch].
1876 * helper_funcs.[Ch]: new files. Some useful helper functions and
1879 * Makefile.am: added new files.
1881 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1883 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1885 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1888 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1889 Control log files, respectively.
1891 * Makefile.am: added new files.
1893 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1895 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1897 * Makefile.am: added ControlBibtex.[Ch].
1899 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1902 * ControlCitation.C: added "using SigC::slot" declaration.
1904 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1905 to FormCitation.C prior to the merger: "Do not put space between
1908 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1910 * several files: remove CXX_WORKING_NAMESPACES
1912 * ButtonController.h: noncopyable is in namespace boost
1913 * ButtonPolicies.h: ditto
1915 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1917 * Merging changes from BRANCH_MVC back into HEAD.
1919 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1921 * Makefile.am: add ControlBibitem.[Ch].
1923 * ControlBibitem.[Ch]: new files that together define the Controller
1924 for a Bibitem popup.
1926 * ControlCommand.h (c-tor): give kb_action a default value of
1929 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1931 * ControlCitation.[Ch]: moved search functions out of class.
1932 (bibkeysInfo): new method. Returns const reference to private data.
1933 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1936 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1938 * ControlCitation.[Ch]: added Search functions to the class,
1939 (shamelessly lifted from Marco's gnome code). I think that these would
1940 be better as helper functions outside the class, but this is a first
1943 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1945 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1947 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1948 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1949 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1950 implementation of FormCitation.
1952 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1954 * ButtonPolicies.h: add SMI_NOOP to enum.
1956 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1958 * ButtonController.C (input): add "optimising" if-statement. Actually,
1959 things don't work correctly without it...
1961 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1963 * ViewBase.h: remove #pragma directive
1965 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1968 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1970 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1972 * Makefile.am: added ButtonPolicies.[Ch]
1974 * ButtonController.[Ch]: ButtonController is split into
1975 ButtonControllerBase and a template ButtonController class. The base
1976 class no longer stores a pointer to a ButtonPolicy, but instead
1977 accesses the actual instantiation of the policy through a pure virtual
1978 method bp(). This method and the ButtonPolicy itself are instantiated
1979 in the templatised ButtonController class. This class is derived from
1980 the GUI-specific GUIBC class, meaning that the frontends know
1981 nothing about the actual policy decided upon by the controllers.
1983 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1984 Instead the actual instantiations are accessed through pure virtual
1985 methods view() and bc(). The daughter classes are responsible for the
1986 actual View and ButtonController.
1988 * ControlCitation.h: the templatised class GUICitation instantiates
1989 the methods view() and bc(). It also stores the instances of the
1990 View and ButtonController.
1992 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1994 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1995 also changed to ButtonController.
1998 * ControlConnections.[Ch]:
1999 * ControlCommand.[Ch]:
2000 * ControlCitation.[Ch]:
2001 * ViewBase.h: Changes associated with this.
2003 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2005 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2006 xforms/ButtonController class into a GUI-I class (here) and an
2007 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2009 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2010 from which all Dialog Controllers should be derived. the Controllers
2011 are GUI-independent, but are designed to control the behaviour of
2012 GUI-specific implementaions of each dialog.
2014 * ControlConnections.[Ch]: new files. Classes controlling the
2015 connections of buffer-independent, buffer-dependent and Inset dialogs
2016 with the LyX kernel.
2018 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2019 InsetCommand subset of insets.
2021 * ControlCitation.[Ch]: new files. The test specialisation! A
2022 controller for the Citation dialog.
2024 * ViewBase.h: new file. ViewBase is an abstract base class from which
2025 GUI-specific dialogs should be derived. The functionality that the GUIs
2026 must now implement is much reduced.