1 2003-03-09 Angus Leeming <leeming@lyx.org>
3 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
5 2003-03-09 Angus Leeming <leeming@lyx.org>
7 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
9 2003-03-09 Angus Leeming <leeming@lyx.org>
11 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
13 2003-03-09 Angus Leeming <leeming@lyx.org>
15 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
17 2003-03-09 Angus Leeming <leeming@lyx.org>
19 * ControlTabular.[Ch]: minimise the interface in preparation for
20 a move to the Dialog-based scheme.
21 (inset): removed; the views require only getActiveCell().
22 (tabular): return as a reference.
24 2003-03-07 Angus Leeming <leeming@lyx.org>
26 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
28 * ControlInset.{h, tmpl}: remove.
29 * Makefile.am: remove files.
31 2003-03-07 Angus Leeming <leeming@lyx.org>
33 * ControlBibitem.[Ch]:
36 * ControlUrl.[Ch]: removed.
38 * Makefile.am: remove files.
40 * ControlERT.C (dispatchParams):
41 * ControlExternal.C (dispatchParams):
42 * ControlFloat.C (dispatchParams):
43 * ControlInclude.C (dispatchParams):
44 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
47 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
49 2003-03-05 Angus Leeming <leeming@lyx.org>
51 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
53 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
55 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
56 * ControlInclude.C: remove unneeded header files.
58 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
60 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
62 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
64 * Dialog.h: make view() public. Add dialog() methods.
66 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
68 * ControlGraphics.C: removed #include "converter.h"
70 * ControlSendto.C: added #include "format.h"
72 2003-02-27 Angus Leeming <leeming@lyx.org>
74 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
76 * Makefile.am: add the new files.
78 2003-02-27 Angus Leeming <leeming@lyx.org>
80 * ControlBibitem.C (c-tor):
81 * ControlBibtex.C (c-tor):
82 * ControlCitation.C (c-tor):
83 * ControlIndex.C (c-tor):
84 * ControlRef.C (c-tor):
85 * ControlToc.C (c-tor):
86 * ControlUrl.C (c-tor):
87 pass "name" to ControlCommand c-tor,
90 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
93 * ControlERT.C (dispatchParams): use "name" rather than a
96 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
98 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
100 2003-02-21 Angus Leeming <leeming@lyx.org>
103 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
105 * ControlBibitem.[Ch]:
106 * ControlBibtex.[Ch]:
107 * ControlCitation.[Ch]:
108 * ControlCommand.[Ch]:
113 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
114 individual controllers too.
115 Move 'apply' code into the LyX kernel.
117 * ControlConnections.C: temporary renaming of Dialogs::signals.
119 * Makefile.am: add new files.
121 2003-02-21 Angus Leeming <leeming@lyx.org>
123 * ControlBibtex.C (Browse):
124 * ControlExternal.C (Browse):
125 * ControlGraphics.C (Browse):
126 * ControlInclude.C (Browse):
127 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
129 * ControlPrint.C (Browse):
130 don't pass a LyXView & to browseFile et al.
131 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
132 don't pass a LyXView & to fileDlg.
134 2003-02-17 John Levon <levon@movementarian.org>
136 * ControlDialog.tmpl: build dialog before calling setParams
137 for the benefit of ControlSpellchecker
139 * ControlSpellchecker.h:
140 * ControlSpellchecker.C: rework. Lots of bugs fixed and
143 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
145 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
146 of available *.bib-files from bibFiles.lst).
148 * tex_helpers.C (getTexFileList): sort and dis-duplicate
149 listWithoutPath correctly.
151 2003-02-08 John Levon <levon@movementarian.org>
154 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
156 2003-02-08 John Levon <levon@movementarian.org>
160 * ControlChanges.C: add merge changes dialog
163 * ControlPrefs.C: add setCurrentAuthor()
165 2003-01-31 Angus Leeming <leeming@lyx.org>
167 * ViewBase.h: add an isVisible() pure virtual method.
169 * ControlTabular.C (updateInset): don't build the dialog here.
170 Instead, do nothing if the dialog is invisible.
172 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
174 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
176 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
178 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
180 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
182 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
186 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * several files: ws changes
190 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * ControlDocument.C (classApply): use boost.format
194 2002-11-29 Angus Leeming <leeming@lyx.org>
196 * ControlButtons.h (isClosing): make it public, so that the view can
198 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
201 * ControlPrefs.[Ch] (OKButton): removed.
203 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
204 dialog isClosing(). (Ie, if the "save" button has been pressed.)
206 2002-11-28 John Levon <levon@movementarian.org>
208 * ControlSpellchecker.C: fix Lars' broken cleanup
210 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
212 * ControlTabular.[Ch]: Add isMulticolumnCell
214 2002-11-27 Angus Leeming <leeming@lyx.org>
216 * ControlMath.C (ControlMath): initialise active_.
218 2002-11-25 Angus Leeming <leeming@lyx.org>
220 * ControlDialog.h (hide, update): move from protected to public.
222 * ControlMath.[Ch]: add controllers for the main math panel dialog and
223 for any daughter dialogs stored by the main panel.
225 2002-11-21 Angus Leeming <leeming@lyx.org>
227 * ControlDocument.[Ch] (classApply): no longer returns bool.
228 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
230 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
232 * biblio.C (getAbbreviatedAuthor): use boost::format
234 * ControlSpellchecker.C (clearParams): use boost::format
236 2002-11-20 John Levon <levon@movementarian.org>
238 * ControlMath.C: couple more manglings
240 2002-11-20 John Levon <levon@movementarian.org>
243 * ControlMath.C: add find_xpm mangler
245 2002-11-17 John Levon <levon@movementarian.org>
247 * helper_funcs.C and users: specify save/open in file dialog
249 2002-11-15 John Levon <levon@movementarian.org>
252 * ControlPrefs.C: use setParams()
254 2002-11-15 John Levon <levon@movementarian.org>
256 * ControlButtons.h: make OKButton() virtual for prefs
259 * ControlPrefs.C: updates for xforms port to MVC
263 * ControlTabular.C: add simple MVC port
265 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
267 * ControlInclude.C: fix file format masks for qt's use
269 2002-11-13 John Levon <levon@movementarian.org>
273 * ControlPrefs.C: add skeleton controller
275 2002-11-12 John Levon <levon@movementarian.org>
277 * biblio.C: fix warnings
279 2002-11-12 Angus Leeming <leeming@lyx.org>
281 * ControlSpellchecker.C (check): fix crash
282 * biblio.C (escape_special_chars): simplify BRE.
284 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
286 * ControlDocument.[Ch]: Remove unused method
288 2002-11-07 Angus Leeming <leeming@lyx.org>
290 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
291 * clean-up the search code in biblio.C.
293 2002-11-07 John Levon <levon@movementarian.org>
295 * ControlGraphics.C: QGraphics fixes
297 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
299 * ControlDocument.C: (SaveAsDefault) make it work.
300 fix buffer update on class change
302 2002-11-06 Angus Leeming <leeming@lyx.org>
304 * biblio.C (searchKeys and helper functions): rewritten entirely
305 using the STL. Boost::regex searching now works as the old 1.2 code
308 2002-11-06 Angus Leeming <leeming@lyx.org>
310 * biblio.C: clean-up of the code. No change in functionality.
312 2002-11-04 Angus Leeming <leeming@lyx.org>
314 * ControlGraphics.[Ch] (getUnits): moved out of class and into
315 frnt::getBBUnits(). Code cleaned also.
317 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * biblio.C (regexSearch): STRCONV
322 * ControlAboutlyx.C (getVersion): STRCONV
324 * ControlMath.C: include config.h
326 2002-10-31 John Levon <levon@movementarian.org>
329 * ControlGraphics.C: bb units from Herbert
331 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
333 * ControlParagraph.[Ch] (alignDefault): new method, returning the
334 default alignment (block, left, right, center) of this paragraph.
336 2002-10-25 John Levon <levon@movementarian.org>
338 * ControlPrint.C: using endl
340 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
342 * ControlPrint.[Ch]: move code here from Liason.[Ch].
344 * ControlSpellchecker.h (getCount): new method.
345 * ControlSpellchecker.[Ch]: constify some accessor methods.
347 2002-10-22 Angus Leeming <leeming@lyx.org>
349 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
350 alphabetical order once again.
352 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
353 Add a list of CheckedWidget ptrs to ButtonControllerBase
354 together with methods addCheckedWidget and checkWidgets to use it.
356 * ButtonController.tmpl (refresh): use the return value of
357 checkWidgets to control the activation state of the Ok, Apply, Restore
360 * ControlDialog.tmpl (show, update):
361 * ControlInset.tmpl (showInset, update):
362 invoke ButtonController::refresh to ensure that the activation state of
363 the Ok, Apply buttons reflects the valid-state of the widgets.
365 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
367 * tex_helpers.C (rescanTexStyles): don't pop p
370 * ControlWrap.C (WrapParms): remove initialization of placement,
371 and move empty c-tor to .h class def.
373 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
374 of on stringsteam, return void. Get the file into the stream as
377 * ControlPreamble.[Ch] (params): getter and setter for params_, make
378 params_ into a string, not just a pointer to string.
380 * ControlExternal.C (getTemplateNumber): put i into the for scope,
381 and use the sequence operator on the last for "parameter"
382 (getTemplate): use std::advance to advance the iterator.
384 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
385 instead of on a stringstream, return void. Get the file into the
386 stream as fast as possible.
387 (getVersion): use ostringstream
389 * lots of files: ws changes, formatting fixes
391 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * ControlCharacter.C (apply): setMinibuffer change
394 * ControlDocument.C (apply): ditto
396 * ControlThesaurus.C (replace): ditto
397 * ControlSearch.C (find): ditto
399 * ControlPreamble.C (apply): ditto
400 * ControlParagraph.C (apply): ditto
402 2002-10-14 André Pönitz <poenitz@gmx.net>
404 * ControlDocument.C: somebody else's fix for a hard lockup
406 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
410 * Makefile.am: New document parameters controller
412 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
414 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
416 2002-09-24 Angus Leeming <leeming@lyx.org>
418 * ControlConnections.h: remove trailing whitespace.
420 * biblio.h: #include "LString.h".
422 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
424 * ControlGraphics.C: Change GUI origin strings into proper English.
426 2002-09-09 John Levon <levon@movementarian.org>
428 * ControlInclude.C: fix file masks. Get rid of noload,
429 remove stupid warning
431 2002-09-09 John Levon <levon@movementarian.org>
434 * ControlMath.C: add latex_deco
436 2002-09-06 John Levon <levon@movementarian.org>
438 * ControlMath.C: terminate dots
440 2002-09-05 Angus Leeming <leeming@lyx.org>
442 * all files: modify the headers as discussed on the list.
444 2002-08-30 John Levon <levon@movementarian.org>
447 * ControlMath.C: moved from MathsSymbols.C
449 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
451 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
453 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
455 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
456 first item in the list
458 2002-08-15 Angus Leeming <leeming@lyx.org>
460 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
462 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
464 2002-08-15 Angus Leeming <leeming@lyx.org>
466 * lots: changed my email address to leeming@lyx.org.
468 * GUI.h: return it to private derivation from boost::noncopyable.
470 2002-08-14 Angus Leeming <leeming@lyx.org>
472 * GUI.h: public derivation from boost::noncopyable.
474 2002-08-14 Angus Leeming <leeming@lyx.org>
476 * GUI.h: class GUI deries from boost::noncopyable
478 * ControlButtons.h: no longer derives from DialogBase, but instead
479 derives directly from boost::noncopyable.
481 * ViewBase.h: derives from boost::noncopyable.
483 * ControlCharacter.C:
485 * ControlConnections.C:
488 * ControlParagraph.C:
492 * ControlSpellchecker.C:
494 * ControlThesaurus.C:
495 rearrange #includes. Remove unnecessary ones.
497 * ControlError.h: add "insets/inseterror.h".
499 * helper_funcs.h: add necessary #includes.
501 * tex_helpers.[Ch]: add #pragma directives for g++.
503 * Makefile.am: remove src/frontends from -I list to compiler.
505 2002-08-13 Angus Leeming <leeming@lyx.org>
507 * ControlConnections.C:
509 changes due to the changed LyXView interface that now returns references
510 to member variables not pointers.
512 2002-08-12 Angus Leeming <leeming@lyx.org>
514 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
515 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
516 for the most commonly accessed core methods, to minimise code
519 * many files: use these wrappers and remove associated #includes.
521 2002-08-12 Angus Leeming <leeming@lyx.org>
523 * ControlButtons.[Ch] (bc, view): no longer virtual.
524 (setView, setButtonController): new methods, invoked by GUI.
526 * ControlDialog.h (show):
527 * ControlInset.h (createInset, showInset): make public, so that GUI can
530 * GUI.h: GUI now contains a controller, rather than deriving from it.
531 remove all those friend functions since we can now access the show,
532 createInset, showInset controller methods.
534 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
537 * character.h: #include a couple of STL files.
539 2002-08-08 John Levon <levon@movementarian.org>
541 * ControlCommandBuffer.C: LyXAction cleanup
543 2002-08-07 John Levon <levon@movementarian.org>
545 * ControlSpellchecker.C: fix crash when spellchecker doesn't
548 2002-08-06 John Levon <levon@movementarian.org>
550 * ControlSpellchecker.C:
551 * ControlSpellchecker.h: use WordLangTuple
553 2002-08-06 John Levon <levon@movementarian.org>
555 * ControlSpellchecker.C: show an alert with the
556 error message on initialisation failure
558 2002-08-04 John Levon <levon@movementarian.org>
560 * ControlSpellchecker.h:
561 * ControlSpellchecker.C: some cleanups
563 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
565 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
567 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
568 the Dialogs::updateParagraph signal is emitted.
570 2002-08-02 Angus Leeming <leeming@lyx.org>
572 * ControlCharacter.C (apply):
573 * ControlERT.C (applyParamsToInset):
574 * ControlParagraph.C (apply):
575 * ControlSearch.C (find, replace):
576 * ControlThesaurus.C (replace): changes due to LyXView::view() now
577 returning a boost::shared_ptr.
579 2002-08-01 John Levon <levon@movementarian.org>
581 * ControlSendto.C: writeFile() change
583 2002-08-01 John Levon <levon@movementarian.org>
585 * ControlSpellchecker.h:
586 * ControlSpellchecker.C: remove options
588 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * several files: strip,frontStrip -> trim,ltrim,rtrim
592 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * biblio.C (parseBibTeX): modify because of strip changes
596 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
598 * ControlFloat.[Ch]: Implement Wide Float toggle
599 Replace "allow_here_definitely" by "wide"
601 2002-07-22 Herbert Voss <voss@lyx.org>
603 * ControlGraphics.C: small changes
605 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
607 * ControlToc.C: remove getType
609 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
611 * ControlCommandBuffer.C: don't add "" to history
613 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
615 * ControlRef.C: fix dispatch call nicely
617 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
620 * ControlCommandBuffer.h:
621 * ControlCommandBuffer.C: add controller for command (mini) buffer
624 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
626 * ControlRef.C: fix dispatch call
628 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
630 * ControlCharacter.C: use view_state_changed not setState
632 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
634 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
636 2002-07-15 Mike Fabian <mfabian@suse.de>
638 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
639 of compare_no_case, because in turkish, 'i' is not the lowercase
640 version of 'I', and thus turkish locale breaks parsing of tags.
642 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * ControlBibtex.C (applyParamsToInset): ws change
646 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
648 * ControlInclude.C: Add warning if absolute path name and
649 check_typeset is used together
651 2002-06-28 Angus Leeming <leeming@lyx.org>
653 * ControlGraphics.C: changes associated with the name changes
654 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
656 2002-06-25 Angus Leeming <leeming@lyx.org>
658 * ControlGraphics.C (readBB): Channges associated with the changed
659 interface to the graphics cache.
661 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
663 * ControlParagraph.C: layout as layout
665 2002-06-21 Angus Leeming <leeming@lyx.org>
667 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
668 * tex_helpers.h: #include "LString.h".
670 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
673 * ControlBibitem.C: use repaint()
675 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
677 * ControlTexinfo.C: do the same for Texinfo
679 * tex_helpers.C: don't try to read a file that isn't there
681 2002-06-21 Herbert Voss <voss@perce.de>
683 * ControlBibtex.C: do an automatic update, when no bst-list
686 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
688 * GUI.h: createIndex() changed
690 2002-06-18 Herbert Voss <voss@perce.de>
692 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
693 helperstuff. Now the bibtex gui can use some of these functions
695 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
697 * ControlGraphics.C: just make the mask *.*
699 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
701 * changes to simplify function setup, removal of a lot of includes.
703 2002-06-12 Angus Leeming <leeming@lyx.org>
705 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
707 2002-06-12 Angus Leeming <leeming@lyx.org>
709 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
711 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
713 * ControlParagraph.[Ch]: new paragraph controller
714 * GUI.h: add new controller
717 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
719 * GUI.h: do not include ButtonController.tmpl
721 * ControlInset.h: include ControlInset.tmpl
723 * ControlCitation.C: do not include ControlInset.tmpl
724 * ControlCommand.C: ditto
725 * ControlERT.C: ditto
726 * ControlError.C: ditto
727 * ControlExternal.C: ditto
728 * ControlFloat.C: ditto
729 * ControlGraphics.C: ditto
730 * ControlInclude.C: ditto
731 * ControlMinipage.C: ditto
733 * ControlDialog.tmpl: remove the Base:: prefix
735 2002-06-07 Angus Leeming <leeming@lyx.org>
737 Fixes needed to compile with Compaq cxx 6.5.
738 * ControlDialog.tmpl: I have had to prefix base class methods with
741 * ControlInset.tmpl: #include a couple of headers.
743 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
745 * switch from SigC signals to boost::signals
747 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
749 * biblio.h: include vector
751 * biblio.C: change include order
752 (regexSearch): use boost regex and get rid of LRegex
754 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
759 * ControlCharacter.C:
762 * ControlConnections.C:
779 * ControlSpellchecker.C:
780 * ControlTabularCreate.C:
782 * ControlThesaurus.C:
785 * ControlVCLog.C: LyXView moved into frontends
787 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * ControlExternal.C: add scoped_ptr.hpp
791 * ControlCharacter.h: use more specific smart_ptr header.
793 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
795 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
797 2002-05-13 Herbert Voss <voss@perce.de>
799 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
800 like "Odland, G. and ... "
801 (parseBibTeX): fix bug with title and booktitle
802 and replace a \n with a space when one entry has more than
805 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
807 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
808 "No change" and "Reset".
810 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
811 them at the front of the list.
813 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
815 * ControlGraphics.C: add some comments to the char * arrays.
816 Make rorigin_size const.
818 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
820 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
821 Enables the gui's to internationalise these strings.
823 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
825 * frnt_lang.C: fix build
827 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
829 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
830 If the the caller is the character dialog, add "No change" and "Reset"
831 to the vector, else don't.
832 Internationalise the GUI strings here rather than in the different
834 Sort the translated strings, albeit simply.
836 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
838 * character.[Ch]: rename namespace character as namespace frnt.
840 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
841 as several dialogs will use this info. The function now returns a
842 vector<LanguagePair> where LanguagePair is a display string and an
843 identifying string. The display string is internationalised.
845 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
846 the identifying strings, "No change" and "Reset".
848 * Makefile.am: add frnt_lang.[Ch].
850 2002-04-25 Herbert Voss <voss@lyx.org>
852 * ControlSendto.C (allFormats): don't add the graphics extensions to the
855 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
857 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
858 BibTeX databases in a WYSIWYM way.
860 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
862 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
863 way past his use-by date.
864 Make use of the improved info from Buffer::getBibkeyList when using
865 \bibliography. Enables us to provide natbib support in this case too.
867 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
869 * ControlGraphics.C: pass the browseFile dialog a string of only those
870 formats that can currently be loaded by LyX.
872 2002-04-15 Herbert Voss <voss@perce.de>
874 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
875 with something like ,,...blah...`` (two commas)
877 2002-04-14 Herbert Voss <voss@perce.de>
879 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
880 into the support/lstrings for better use in other programs.
882 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
883 namespace anon and make globally accessible.
884 (familyName): test for the presence of a LaTeX Space at the front of
885 of a name; strip it if it exists.
887 2002-04-11 Herbert Voss <voss@perce.de>
889 * ControlGraphics.C: expand "browse-string" to all available formats
891 2002-04-11 Herbert Voss <voss@perce.de>
893 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
895 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
897 * ControlAboutlyx.C (getVersion): two _() forgotten
899 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
903 * ControlBibtex.C: make N_() be _()
905 2002-04-07 Herbert Voss <voss@perce.de>
907 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
909 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
912 used when reading the BB.
914 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
916 * ControlGraphics.C (readBB): Don't open the ifstrem and then
917 check the format from the contents (and open a second ifstream in the
918 process. One at a time please.
920 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
922 * ControlRef.C (getBufferNum): squash warning message.
924 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
926 * ControlBibtex.C (Browse):
927 * ControlGraphics.C (Browse):
928 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
930 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
932 * ControlGraphics.C (applyParamsToInset): pass filepath to
933 InsetGraphics::updateInset.
935 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
937 * most files: ws cleanup
939 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
941 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
944 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
947 * ControlInclude.C: better error messages
949 2002-03-11 Herbert Voss <voss@lyx.org>
951 * biblio.C (parseBibTeX): fix another minibug with an
954 2002-03-10 Herbert Voss <voss@lyx.org>
956 * biblio.C (parseBibTeX): fix bug
957 (familyName): improve parsing
959 2002-03-09 Herbert Voss <voss@lyx.org>
961 * ControlGraphics.[Ch]: adding checkFilename() for testing
962 of non-existing files
964 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
966 * ControlSendto.C (allFormats): fix a iterators are not pointers
969 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
971 * ControlShowFile.h: add a #include "LString.h"
973 2002-03-05 Herbert Voss <voss@lyx.org>
975 * biblio.C (getInfo): simplify if using paragraph layout
978 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
980 * biblio.C (getInfo): return the info field correctly if the key
982 (parseBibTeX): fix crash when data.find('=') returns string::npos.
984 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
986 * ControlForks.[Ch]: new files. A controller for the Forked Child
987 processes dialog, enabling the user to see what forked processes
988 are running, and, if he so desires, to kill them.
990 * GUI.h: add class GUIForks.
992 * Makefile.am: add ControlForks.[Ch].
994 * ControlGraphics.C (getParams): small change due to change in
997 2002-02-21 Herbert Voss <voss@lyx.org>
999 * biblio.C: fix bug with commentlines in a bibentry
1001 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1003 * Makefile.am: simpler obj. file compile
1005 2002-02-18 Herbert Voss <voss@lyx.org>
1007 * ControlGraphics.[Ch]: remove help-file call
1009 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1011 * helper_funcs.h: wrap the structs firster and seconder up in a
1012 namespace to avoid clashes with those in lyxalgo,h.
1014 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1015 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1017 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1019 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1022 change Systemcalls::System to Systemcalls::Wait and
1023 No change of functionality, just reflects the stripped down Systemcalls
1026 2002-02-06 Herbert Voss <voss@lyx.org>
1028 * ControlGraphics.[C] (readBB): search also in
1029 g'zipped files. If it is useful than PK and compress
1030 should also be supported. use unzipFile() from
1033 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1035 * ControlRef.C (getBufferName): new method to get a real buffer
1038 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1040 * ControlTexInfo.[Ch]: Removed Help functions.
1042 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1044 * ControlSpellchecker.C: clear any selection left
1047 2002-02-01 Herbert Voss <voss@lyx.org>
1049 * ControlGraphics.[C] (readBB): search only, if it is a
1050 ".?ps" file and look for bb's at end of file
1052 2002-01-30 Herbert Voss <voss@lyx.org>
1054 * ControlGraphic.[C]: do not search the whole file, when
1057 2002-01-29 Herbert Voss <voss@lyx.org>
1059 * ControlGraphic.[C]: added a button for document path
1060 when browsing -> bug 222
1062 2002-01-27 Herbert Voss <voss@lyx.org>
1064 * ControlGraphic.[Ch]: added support for Bounding Box, other
1067 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlAboutlyx.h:
1070 * ControlTexinfo.h: added #include "LString.h" where they belong.
1072 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1074 * ControlCitation.C:
1075 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1077 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1079 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1082 2002-01-20 Herbert Voss <voss@perce.de>
1084 * ControlInclude.[Ch]: better control of unexistings files
1085 when entered without the browser
1087 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1090 2002-01-19 Herbert Voss <voss@perce.de>
1092 * biblio.C (getInfo): fix bug when no author is given
1094 * biblio.C (parseBibTeX): change the parsing, so that
1095 '#'-characters in a bibtex entry are no more a problem.
1097 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1100 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1102 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1104 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1106 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1108 * ControlExternal.C (Browse): add a std:: qualifier
1110 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1112 * ControlExternal.C (Browse): simplify to use browseRelFile
1114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ButtonController.tmpl: added // -*- C++ -*-
1118 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1119 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1120 Needed in _one_ of the ControlCommand-derived classes only.
1122 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1125 * ControlSearch.h: #include LString.h
1127 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1129 * ButtonController.h: split into two. The definition remains in
1130 ButtonController.h, the declaration is now in ButtonController.tmpl.
1131 These template methods should be #included when the derived class is
1132 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1133 and in the qt2 and gnome equivalents.
1135 * ControlDialogs.h: removed. The definition of class ControlDialog is
1136 now to be found in ControlDialog.h and the declaration of the methods
1137 is in ControlDialog.tmpl. The two template instantiations are performed
1138 in ControlDialog_impl.[Ch], new files also.
1140 * ControlInset.h: split into two. The definition remains in
1141 ControlInset.h, the declaration is now in ControlInset.tmpl.
1142 These template methods should be #included derived class is
1143 instantiated, in this case in 8 other .C files in this directory.
1145 * ControlAboutlyx.[Ch]:
1146 * ControlCharacter.[Ch]:
1150 * ControlExternal.C:
1152 * ControlGraphics.C:
1155 * ControlMinipage.C:
1156 * ControlPreamble.[Ch]:
1157 * ControlPrint.[Ch]:
1158 * ControlSearch.[Ch]:
1159 * ControlShowFile.[Ch]:
1160 * ControlSpellchecker.[Ch]:
1161 * ControlTabularCreate.[Ch]:
1162 * ControlTexinfo.[Ch]:
1163 * ControlThesaurus.[Ch]:
1164 * ControlVCLog.[Ch]: small changes associated with the above ones.
1166 * GUI.h: #include the ButtonController and dialog controller files
1167 here, rather than forward declare them. This is the correct place
1168 for these #includes.
1170 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1171 Rename ControlDialogs.h as ControlDialog.h.
1172 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1175 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1177 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1179 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1181 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1184 * ControlGraphics.C (Browse): remove overzealous shortcut
1186 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1188 * FormMinipage.C (apply, update): MinipageParams::width renamed
1189 as MinipageParams::pageWidth. InsetMinipage::width renamed
1190 as InsetMinipage::pageWidth.
1192 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1194 * ButtonController.h (refreshReadOnly): use explicit typename
1196 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1198 * helper_funcs.h (browseFile): add default empty button descriptions.
1200 * ControlGraphics.C (Browse):
1201 * ControlBibtex.C (Browse):
1202 * ControlInclude.C (Browse): add shortcuts to directory buttons
1204 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1206 * ControlThesaurus.h:
1207 * ControlThesaurus.C: update to Aiksaurus 0.14
1209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlSpellchecker.C (clearParams): show the closing message
1212 only if some words have been checked, thereby fixing
1215 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1217 * ControlFloat.[Ch]: changes to prevent here definitely being used
1220 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1222 * ControlThesaurus.h: do not include <config.h> in header files
1224 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1226 * ControlToc.C: changes for floatlist
1228 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1230 * ControlVCLog.C: use _()
1232 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1234 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1237 2001-10-22 Juergen Vigna <jug@sad.it>
1239 * ControlSpellchecker.C (clearParams): use the error_ message of the
1240 speller_ if available when the spellchecker died.
1241 (setParams): remove double error message display.
1243 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1245 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1247 * helper_funcs.[Ch] (getLatexUnits): see above.
1249 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1251 * ControlTexinfo.C (getContents): use the right file for .sty files
1253 2001-10-10 Herbert Voss <voss@perce.de>
1255 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1256 and some more stuff from FormTexinfo.C
1258 * ControlShowFile.C: hiding the update-button
1260 2001-10-09 Herbert Voss <voss@perce.de>
1262 * ControlTexinfo.[Ch]: new files. Display information about the
1263 installed texfiles (cls,sty,bst).
1265 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1267 * GUI.h: added classes GUIShowFile and GUITexinfo.
1269 * Makefile.am: modified appropriately.
1271 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1273 * ControlAboutlyx.C (getVersion): use lyx_version and
1274 lyx_release_date instead of old macros
1276 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1278 * ControlSpellchecker.C (check): Behaves well now when the spell
1279 library doesn't know a replacement to an incorrect word.
1281 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1283 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1284 the correct place. Can now check spelling more than once!
1286 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1288 * ControlSplash.[Ch]: removed.
1290 * GUI.h: remove GUISplash class.
1292 * ViewBase.h: remove ViewSplash class.
1294 * Makefile.am: remove ControlSplash.[Ch].
1296 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1298 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1299 view will be shut down.
1302 * ControlInset.h: act on emergency_exit_.
1304 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1305 speller fails to launch.
1307 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1309 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1310 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1312 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1314 * ControlRef.h (disconnectOnApply): new method. Set to true.
1315 Perhaps make this user-modifiable?
1317 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1319 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1322 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1324 * ControlRef.C (getBufferList, getBufferNum): New methods
1326 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1328 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1329 of the dialog when the Apply button is pressed. Defaults to false,
1330 but can be overridden in the daughter classes.
1332 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1333 Perhaps make this user-modifiable?
1335 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1337 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1338 we have dialogs that update their contents when the buffer changes.
1339 Rather embarassing, really!
1341 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1343 * ControlSearch (replace): change semantics of replace to NOT move on
1344 to the next instance of a word once the present instance has been
1345 replaced unless we are replacing ALL instances of the word.
1347 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1349 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1351 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1353 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1354 dialog, set all options to "reset", close the dialog, re-open it ->
1355 the options are set incorrectly.
1357 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1358 When Applying it's useful to know whether the dialog is about to close
1359 or not (no point refreshing the display for example).
1361 * ControlInset.C (apply): use isClosing.
1363 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1366 * ControlDialogs.h: remove bc() hack, now fixed in
1367 Qt2 frontend. use member dialog_built_ instead of shared
1370 * ButtonController.h:
1371 * ButtonPolicies.C: more debug info
1373 * ButtonControllerBase.C: call refresh() when setting readOnly !
1375 * GUI.h: External form has apply, use the right policy
1377 * character.C: fix two off-by-one errors when latex font was removed
1379 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1381 * ControlInset.h (apply): tentative fix for the press Apply multiple
1382 times and get multiple new Insets problem.
1384 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1386 * ControlCharacter.C: fix typo
1390 * ControlInsets.C: make sure dialog is built before it is shown, so
1391 it works properly the very first time it is shown
1393 2001-08-20 Herbert Voss <voss@perce.de>
1395 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1396 and styles. Added an option for "bibliography into toc"
1398 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1400 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1401 LaTeX is no longer a font property.
1403 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1405 * GUI.h: Button controller for Reference dialog changed to
1406 NoRepeatedApplyReadOnlyPolicy.
1408 * biblio.C (getInfo): output volume and number info. Move year to end
1411 2001-08-09 Allan Rae <rae@lyx.org>
1413 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1415 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1417 * helper_funcs.C (getVectorFromString): fixed small bug.
1419 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1421 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1423 * ControlSpellchecker.C: check next word after insert in personal dict
1425 2001-08-06 Juergen Vigna <jug@sad.it>
1427 * ControlERT.[Ch]: new file
1429 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1431 * ControlInset.h: const and non-const forms of params().
1433 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1434 whitespace from either side of each item.
1436 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1438 * ControlFloat.h: add a != operator for FloatParams.
1439 Lars, how did you get this to compile!!!
1441 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1442 operator != for MinipageParams. Who's changing stuff and not compiling?
1444 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1446 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1449 * GUI.h: add class GUIFloat
1451 * ControlFloat.[Ch]: new files
1453 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1455 * ControlPrint.C: #include Lassert.h here.
1457 2001-07-26 Baruch Even <baruch@lyx.org>
1459 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1462 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1464 * ControlThesaurus.h:
1465 * ControlThesaurus.C:
1467 * Makefile.am: thesaurus support
1469 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1472 * ControlInclude.C: implement ability to load file
1474 2001-07-18 Juergen Vigna <jug@sad.it>
1476 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1478 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1480 * biblio.C (getInfo): add a .c_str() to handle the usual
1483 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1485 * ControlCitation.[Ch]: changes associated with adding natbib support.
1486 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1487 New static variable citeStyles_.
1489 * biblio.[Ch]: large internal rearrangement.
1490 New public enum CiteStyle.
1491 New public struct CitationStyle.
1492 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1493 getNumericalStrings, getAuthorYearStrings
1494 (simpleSearch, regexSearch): no longer publicly accessible.
1496 * helper_funcs.C (getStringFromVector): bug fix.
1498 2001-07-16 Baruch Even <baruch@lyx.org>
1500 * ControlVCLog.h: Added Lsstream.h to includes.
1502 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1504 * ControlSpellchecker.[Ch]: remove d-tor.
1506 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1508 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1510 2001-07-16 Juergen Vigna <jug@sad.it>
1512 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1513 compiled with USE_PSPELL) to be able to switch between ISpell and
1516 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1518 Consistent use of Lsstream.h:
1519 * ControlAboutlyx.[Ch] (getCredits):
1520 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1522 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1524 * ControlCredits.[Ch]: removed
1525 * ControlCopyright.[Ch]: removed
1526 * ControlAboutlyx.[Ch]: added (replaces previous)
1527 * GUI.h: removed credits and copyright added about lyx stuff
1529 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1531 * ControlSpellchecker.C (getSuggestion):
1532 (getWord): add std:: qualifier
1534 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1536 * ControlSpellchecker.[Ch]: added
1537 * ViewBase.h: added partialUpdate(int) member
1538 * GUI.h: added spell stuff
1540 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1542 * ControlExternal.C: (*it). -> it->
1544 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1546 * ButtonController.h: move some included header files out of the
1547 frontends and into here.
1549 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1551 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1553 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1555 * *.[h]: added // -*- C++ -*-
1556 * *.[C]: removed // -*- C++ -*-
1558 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1559 activate Apply button.
1560 (clearParams): removed.
1561 font_ is now stored as a boost::scoped_ptr.
1562 font_ is no longer deleted on hide(), so it's contents can now be used
1563 by the Font button on the toolbar.
1564 Lots of new methods so that the GUI can easily get the contents of
1565 font_ when it update()s.
1567 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1569 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1570 crash when the Font button on the Toolbar is pressed.
1572 * GUI.h: change policy of Character button controller to
1573 OkApplyCancelReadOnlyPolicy.
1575 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1577 * ControlToc.C (getContents): don't add anything to the list if it
1578 is supposed to be empty.
1580 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1582 * helper_funcs.C (getVectorFromString): bug fix.
1584 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1586 * ButtonController.h
1587 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1588 from ButtonControllerBase::readOnly. Updates the state of the widgets
1589 in the read-only list only when the read-only status of the document
1591 (refresh): moved this stuff into refreshReadOnly.
1593 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1595 * ControlPrint.C (c-tor):
1596 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1598 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1601 * character.h: small clean-ups.
1603 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1605 * ControlToc.C (getType): remove support for old float list.
1607 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1609 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1610 * ControlGraphics.h: no longer include insetgraphicsParams.h
1611 * ControlInset.h: no longer include LyXView.h
1616 * ControlCharacter.C:
1617 * ControlCitation.C:
1619 * ControlConnections.C:
1620 * ControlCopyright.C:
1623 * ControlExternal.C:
1624 * ControlGraphics.C:
1627 * ControlMinipage.C:
1628 * ControlPreamble.C:
1632 * ControlTabularCreate.C:
1634 * ControlVCLog.C: they're now in here!
1636 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1638 * ButtonControllerBase.h: C++ mode, inherit privately from
1640 * ButtonPolicies.h: ditto
1642 * ButtonController.h: C++ mode, swap init order of restore_ and
1645 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1647 * ControlTabularCreate.h:
1648 * ControlTabularCreate.C: make dialogs use a pair of uints
1652 * ControlVCLog.C: fill a stringstream with the log contents
1655 * ControlExternal.C: from Angus, clone the new InsetExternal
1658 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1660 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1661 and made more robust.
1663 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1668 * ControlPreamble.C:
1670 * ControlGraphics.C:
1671 * ControlExternal.C:
1672 * ControlCopyright.C: include gettext.h
1674 * ControlCharacter.C:
1675 * character.C: include gettext.h and language.h
1677 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1679 * ButtonController.h:
1680 * ButtonControllerBase.h:
1681 * ButtonControllerBase.C:
1688 * ControlConnections.h:
1691 * ControlExternal.C:
1694 * ViewBase.h: s/ControlButton/ControlButtons/
1696 s/UndoAll/Restore/ + associated
1698 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1700 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1703 * Makefile.am: associated changes with all of the above.
1705 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1707 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1708 and edit, view, update the External Material correctly. I hope!
1710 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1712 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1714 * BCTemplates.h: renamed as ButtonController.h
1716 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1719 * ControlConnections.h: associated change in #include and class names.
1721 * ControlExternal.[Ch]: new files; a controller for the External
1725 * Makefile.am: associated changes with all of the above.
1727 * ControlGraphics.[Ch]:
1728 * ControlInclude.[Ch]:
1729 * ControlPrint.[Ch]:
1731 (Browse): new method. Returns the results of a FileDialog browse.
1733 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1734 (getVectorFromString): fixed bug.
1736 * biblio.C (simpleSearch): cleaned up.
1738 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1740 * A slight reworking of Baruch Even's ButtonController patch.
1742 * BCTemplates.h: new file; all the templates for the ButtonController.
1743 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1744 to the more generic setButtonLabel().
1746 * ButtonController.[Ch]: renamed cancel_label and close_label as
1747 cancel_label_ and close_label_.
1749 * Makefile.am: added BCTemplates.h
1751 2001-03-29 Juergen Vigna <jug@sad.it>
1753 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1754 to use new %-lengths of LyXLength.
1756 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1758 * ControlCitation.C (bibkeysInfo): removed Assert.
1760 * ControlCopyright.h: moved GUICopyright into GUI.h
1764 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1766 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1767 (setDaughterParams): a (by default empty) new method called in show().
1773 * ControlMinipage.h:
1776 * ControlUrl.h (clearDaughterParams): removed
1778 * ControlMinipage.C (applyParamsToInset): update the view.
1779 Added namespace minipage containing a helper function getUnits.
1781 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1783 * ControlCharacter.[Ch]: moved out all the helper functions and the
1784 enum into their own file.
1785 * character.[Ch]: new files; contain the character helper functions,
1786 now inside namespace character.
1788 * ControlCitation.[Ch]: moved out all the helper functions and the
1789 enums into their own file. Simplified interface.
1790 * biblio.[Ch]: new files; contain the citation helper functions,
1791 now inside namespace biblio. Will be of use also to an improved
1794 * ControlGraphics.[Ch]:
1795 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1796 popups, respectively.
1799 * Makefile.am: associated changes.
1801 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1803 * ControlMinipage.[Ch]:
1804 * ControlPreamble.[Ch]:
1805 * ControlPrint.[Ch]:
1806 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1807 and Print popups and Splash screen, respectively.
1809 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1813 * Makefile.am: associated changes.
1815 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1817 * ControlConnections.[Ch]: (docType): new method; returns the type
1818 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1821 * ControlSearch.[Ch]:
1822 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1823 Search and TabularCreate popups, respectively.
1826 * Makefile.am: associated changes.
1828 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1830 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1833 * ControlInset.h (apply): fix bug. Can now create new insets again.
1835 * README: describe program flow.
1837 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1839 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1841 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1843 * ControlDialogs.h: moved class ControlInset into its own file.
1845 * ControlInset.h: new file. class ControlInset has been expanded to take
1846 two template parameters, Inset and Params. Believe that all inset
1847 controllers can be derived from this with the minimum of effort.
1849 * ControlBibitem.[Ch]:
1850 * ControlBibtex.[Ch]:
1851 * ControlCitation.[Ch]:
1852 * ControlCommand.[Ch]: moved most code into ControlInset.
1854 * lots of files. Moved protected stuff into private where possible.
1856 * ControlError.[Ch]:
1857 * ControlInclude.[Ch]:
1858 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1859 Include and Url popups, respectively.
1862 * Makefile.am: associated changes.
1864 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1866 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1869 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1871 * ControlCredits.C (getCredits): remove std:: qualifier for
1874 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1876 * ControlCredits.C (getCredits): add std:: on vector
1878 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1880 * ControlCredits.C: remove using that is only used once, use
1881 std::ios instead of std::iosbase, add some annoying comments.
1883 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1885 * lots of header files: improved explanatory notes.
1887 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1888 ControlBase is now a class that only controls the interaction of the
1889 View with the ButtonController.
1891 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1892 to ControlConnectBase. The class controls the connection/disconnection
1893 of signals from the LyX kernel and makes available the kernel (through
1894 lv_) to daughter controller classes.
1895 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1897 * ControlDialogs.h: new file. Contains the definition of two template
1898 controller classes, ControlDialog and ControlInset (was
1899 ControlConnectInset). ControlInset is a parent class for controllers
1900 of inset-popups. ControlDialogs is the rather uninspired name for
1901 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1902 ControlDialogs is reaching a state of maturity as several popups now use
1903 it and its functionality becomes clear. ControlInset is still in a state
1904 of flux. It is likely that functionality will be moved out of
1905 ControlCommands and into it.
1907 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1908 individual Controller header files and into one place. These classes
1909 serve only as convenient wrappers to simplify code in the respective
1910 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1912 * ControlCharacter.[Ch] (show, update, hide):
1913 * ControlLog.[Ch] (show, update, hide):
1914 * ControlVCLog.[Ch] (show, update, hide): moved back into
1915 the ControlDialogs base class.
1916 (setParams, clearParams): new methods containing controller-specific
1917 code to set/reset the parameters manipulated by the view.
1919 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1921 (hide): calls clearParams.
1923 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1924 by ControlCommand::hide().
1926 * ControlCopyright.[Ch]:
1927 * ControlCredits.[Ch]: new files; controllers for the copyright and
1928 credits popups, respectively.
1930 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1932 * ControlCharacter.C: fix typo
1934 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1936 * ControlCharacter.[Ch]: new files; controller for the character popup.
1938 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1939 moved to new files helper_funcs.[Ch].
1941 * helper_funcs.[Ch]: new files. Some useful helper functions and
1944 * Makefile.am: added new files.
1946 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1948 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1950 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1953 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1954 Control log files, respectively.
1956 * Makefile.am: added new files.
1958 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1960 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1962 * Makefile.am: added ControlBibtex.[Ch].
1964 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1967 * ControlCitation.C: added "using SigC::slot" declaration.
1969 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1970 to FormCitation.C prior to the merger: "Do not put space between
1973 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1975 * several files: remove CXX_WORKING_NAMESPACES
1977 * ButtonController.h: noncopyable is in namespace boost
1978 * ButtonPolicies.h: ditto
1980 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1982 * Merging changes from BRANCH_MVC back into HEAD.
1984 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1986 * Makefile.am: add ControlBibitem.[Ch].
1988 * ControlBibitem.[Ch]: new files that together define the Controller
1989 for a Bibitem popup.
1991 * ControlCommand.h (c-tor): give kb_action a default value of
1994 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1996 * ControlCitation.[Ch]: moved search functions out of class.
1997 (bibkeysInfo): new method. Returns const reference to private data.
1998 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2001 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2003 * ControlCitation.[Ch]: added Search functions to the class,
2004 (shamelessly lifted from Marco's gnome code). I think that these would
2005 be better as helper functions outside the class, but this is a first
2008 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2010 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2012 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2013 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2014 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2015 implementation of FormCitation.
2017 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2019 * ButtonPolicies.h: add SMI_NOOP to enum.
2021 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2023 * ButtonController.C (input): add "optimising" if-statement. Actually,
2024 things don't work correctly without it...
2026 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2028 * ViewBase.h: remove #pragma directive
2030 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2033 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2035 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2037 * Makefile.am: added ButtonPolicies.[Ch]
2039 * ButtonController.[Ch]: ButtonController is split into
2040 ButtonControllerBase and a template ButtonController class. The base
2041 class no longer stores a pointer to a ButtonPolicy, but instead
2042 accesses the actual instantiation of the policy through a pure virtual
2043 method bp(). This method and the ButtonPolicy itself are instantiated
2044 in the templatised ButtonController class. This class is derived from
2045 the GUI-specific GUIBC class, meaning that the frontends know
2046 nothing about the actual policy decided upon by the controllers.
2048 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2049 Instead the actual instantiations are accessed through pure virtual
2050 methods view() and bc(). The daughter classes are responsible for the
2051 actual View and ButtonController.
2053 * ControlCitation.h: the templatised class GUICitation instantiates
2054 the methods view() and bc(). It also stores the instances of the
2055 View and ButtonController.
2057 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2059 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2060 also changed to ButtonController.
2063 * ControlConnections.[Ch]:
2064 * ControlCommand.[Ch]:
2065 * ControlCitation.[Ch]:
2066 * ViewBase.h: Changes associated with this.
2068 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2070 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2071 xforms/ButtonController class into a GUI-I class (here) and an
2072 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2074 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2075 from which all Dialog Controllers should be derived. the Controllers
2076 are GUI-independent, but are designed to control the behaviour of
2077 GUI-specific implementaions of each dialog.
2079 * ControlConnections.[Ch]: new files. Classes controlling the
2080 connections of buffer-independent, buffer-dependent and Inset dialogs
2081 with the LyX kernel.
2083 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2084 InsetCommand subset of insets.
2086 * ControlCitation.[Ch]: new files. The test specialisation! A
2087 controller for the Citation dialog.
2089 * ViewBase.h: new file. ViewBase is an abstract base class from which
2090 GUI-specific dialogs should be derived. The functionality that the GUIs
2091 must now implement is much reduced.