1 2003-03-05 Angus Leeming <leeming@lyx.org>
3 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
4 * ControlInclude.C: remove unneeded header files.
6 2003-03-05 Angus Leeming <leeming@lyx.org>
8 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
10 2003-03-05 Angus Leeming <leeming@lyx.org>
12 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
14 2003-03-05 Angus Leeming <leeming@lyx.org>
16 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
18 * Dialog.h: make view() public. Add dialog() methods.
20 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
22 * ControlGraphics.C: removed #include "converter.h"
24 * ControlSendto.C: added #include "format.h"
26 2003-02-27 Angus Leeming <leeming@lyx.org>
28 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
30 * Makefile.am: add the new files.
32 2003-02-27 Angus Leeming <leeming@lyx.org>
34 * ControlBibitem.C (c-tor):
35 * ControlBibtex.C (c-tor):
36 * ControlCitation.C (c-tor):
37 * ControlIndex.C (c-tor):
38 * ControlRef.C (c-tor):
39 * ControlToc.C (c-tor):
40 * ControlUrl.C (c-tor):
41 pass "name" to ControlCommand c-tor,
44 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
47 * ControlERT.C (dispatchParams): use "name" rather than a
50 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
52 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
54 2003-02-21 Angus Leeming <leeming@lyx.org>
57 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
59 * ControlBibitem.[Ch]:
61 * ControlCitation.[Ch]:
62 * ControlCommand.[Ch]:
67 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
68 individual controllers too.
69 Move 'apply' code into the LyX kernel.
71 * ControlConnections.C: temporary renaming of Dialogs::signals.
73 * Makefile.am: add new files.
75 2003-02-21 Angus Leeming <leeming@lyx.org>
77 * ControlBibtex.C (Browse):
78 * ControlExternal.C (Browse):
79 * ControlGraphics.C (Browse):
80 * ControlInclude.C (Browse):
81 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
83 * ControlPrint.C (Browse):
84 don't pass a LyXView & to browseFile et al.
85 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
86 don't pass a LyXView & to fileDlg.
88 2003-02-17 John Levon <levon@movementarian.org>
90 * ControlDialog.tmpl: build dialog before calling setParams
91 for the benefit of ControlSpellchecker
93 * ControlSpellchecker.h:
94 * ControlSpellchecker.C: rework. Lots of bugs fixed and
97 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
99 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
100 of available *.bib-files from bibFiles.lst).
102 * tex_helpers.C (getTexFileList): sort and dis-duplicate
103 listWithoutPath correctly.
105 2003-02-08 John Levon <levon@movementarian.org>
108 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
110 2003-02-08 John Levon <levon@movementarian.org>
114 * ControlChanges.C: add merge changes dialog
117 * ControlPrefs.C: add setCurrentAuthor()
119 2003-01-31 Angus Leeming <leeming@lyx.org>
121 * ViewBase.h: add an isVisible() pure virtual method.
123 * ControlTabular.C (updateInset): don't build the dialog here.
124 Instead, do nothing if the dialog is invisible.
126 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
128 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
130 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
132 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
134 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
136 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
140 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
142 * several files: ws changes
144 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * ControlDocument.C (classApply): use boost.format
148 2002-11-29 Angus Leeming <leeming@lyx.org>
150 * ControlButtons.h (isClosing): make it public, so that the view can
152 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
155 * ControlPrefs.[Ch] (OKButton): removed.
157 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
158 dialog isClosing(). (Ie, if the "save" button has been pressed.)
160 2002-11-28 John Levon <levon@movementarian.org>
162 * ControlSpellchecker.C: fix Lars' broken cleanup
164 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
166 * ControlTabular.[Ch]: Add isMulticolumnCell
168 2002-11-27 Angus Leeming <leeming@lyx.org>
170 * ControlMath.C (ControlMath): initialise active_.
172 2002-11-25 Angus Leeming <leeming@lyx.org>
174 * ControlDialog.h (hide, update): move from protected to public.
176 * ControlMath.[Ch]: add controllers for the main math panel dialog and
177 for any daughter dialogs stored by the main panel.
179 2002-11-21 Angus Leeming <leeming@lyx.org>
181 * ControlDocument.[Ch] (classApply): no longer returns bool.
182 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
184 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * biblio.C (getAbbreviatedAuthor): use boost::format
188 * ControlSpellchecker.C (clearParams): use boost::format
190 2002-11-20 John Levon <levon@movementarian.org>
192 * ControlMath.C: couple more manglings
194 2002-11-20 John Levon <levon@movementarian.org>
197 * ControlMath.C: add find_xpm mangler
199 2002-11-17 John Levon <levon@movementarian.org>
201 * helper_funcs.C and users: specify save/open in file dialog
203 2002-11-15 John Levon <levon@movementarian.org>
206 * ControlPrefs.C: use setParams()
208 2002-11-15 John Levon <levon@movementarian.org>
210 * ControlButtons.h: make OKButton() virtual for prefs
213 * ControlPrefs.C: updates for xforms port to MVC
217 * ControlTabular.C: add simple MVC port
219 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
221 * ControlInclude.C: fix file format masks for qt's use
223 2002-11-13 John Levon <levon@movementarian.org>
227 * ControlPrefs.C: add skeleton controller
229 2002-11-12 John Levon <levon@movementarian.org>
231 * biblio.C: fix warnings
233 2002-11-12 Angus Leeming <leeming@lyx.org>
235 * ControlSpellchecker.C (check): fix crash
236 * biblio.C (escape_special_chars): simplify BRE.
238 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
240 * ControlDocument.[Ch]: Remove unused method
242 2002-11-07 Angus Leeming <leeming@lyx.org>
244 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
245 * clean-up the search code in biblio.C.
247 2002-11-07 John Levon <levon@movementarian.org>
249 * ControlGraphics.C: QGraphics fixes
251 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
253 * ControlDocument.C: (SaveAsDefault) make it work.
254 fix buffer update on class change
256 2002-11-06 Angus Leeming <leeming@lyx.org>
258 * biblio.C (searchKeys and helper functions): rewritten entirely
259 using the STL. Boost::regex searching now works as the old 1.2 code
262 2002-11-06 Angus Leeming <leeming@lyx.org>
264 * biblio.C: clean-up of the code. No change in functionality.
266 2002-11-04 Angus Leeming <leeming@lyx.org>
268 * ControlGraphics.[Ch] (getUnits): moved out of class and into
269 frnt::getBBUnits(). Code cleaned also.
271 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
273 * biblio.C (regexSearch): STRCONV
276 * ControlAboutlyx.C (getVersion): STRCONV
278 * ControlMath.C: include config.h
280 2002-10-31 John Levon <levon@movementarian.org>
283 * ControlGraphics.C: bb units from Herbert
285 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
287 * ControlParagraph.[Ch] (alignDefault): new method, returning the
288 default alignment (block, left, right, center) of this paragraph.
290 2002-10-25 John Levon <levon@movementarian.org>
292 * ControlPrint.C: using endl
294 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
296 * ControlPrint.[Ch]: move code here from Liason.[Ch].
298 * ControlSpellchecker.h (getCount): new method.
299 * ControlSpellchecker.[Ch]: constify some accessor methods.
301 2002-10-22 Angus Leeming <leeming@lyx.org>
303 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
304 alphabetical order once again.
306 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
307 Add a list of CheckedWidget ptrs to ButtonControllerBase
308 together with methods addCheckedWidget and checkWidgets to use it.
310 * ButtonController.tmpl (refresh): use the return value of
311 checkWidgets to control the activation state of the Ok, Apply, Restore
314 * ControlDialog.tmpl (show, update):
315 * ControlInset.tmpl (showInset, update):
316 invoke ButtonController::refresh to ensure that the activation state of
317 the Ok, Apply buttons reflects the valid-state of the widgets.
319 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * tex_helpers.C (rescanTexStyles): don't pop p
324 * ControlWrap.C (WrapParms): remove initialization of placement,
325 and move empty c-tor to .h class def.
327 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
328 of on stringsteam, return void. Get the file into the stream as
331 * ControlPreamble.[Ch] (params): getter and setter for params_, make
332 params_ into a string, not just a pointer to string.
334 * ControlExternal.C (getTemplateNumber): put i into the for scope,
335 and use the sequence operator on the last for "parameter"
336 (getTemplate): use std::advance to advance the iterator.
338 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
339 instead of on a stringstream, return void. Get the file into the
340 stream as fast as possible.
341 (getVersion): use ostringstream
343 * lots of files: ws changes, formatting fixes
345 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * ControlCharacter.C (apply): setMinibuffer change
348 * ControlDocument.C (apply): ditto
350 * ControlThesaurus.C (replace): ditto
351 * ControlSearch.C (find): ditto
353 * ControlPreamble.C (apply): ditto
354 * ControlParagraph.C (apply): ditto
356 2002-10-14 André Pönitz <poenitz@gmx.net>
358 * ControlDocument.C: somebody else's fix for a hard lockup
360 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
364 * Makefile.am: New document parameters controller
366 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
368 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
370 2002-09-24 Angus Leeming <leeming@lyx.org>
372 * ControlConnections.h: remove trailing whitespace.
374 * biblio.h: #include "LString.h".
376 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
378 * ControlGraphics.C: Change GUI origin strings into proper English.
380 2002-09-09 John Levon <levon@movementarian.org>
382 * ControlInclude.C: fix file masks. Get rid of noload,
383 remove stupid warning
385 2002-09-09 John Levon <levon@movementarian.org>
388 * ControlMath.C: add latex_deco
390 2002-09-06 John Levon <levon@movementarian.org>
392 * ControlMath.C: terminate dots
394 2002-09-05 Angus Leeming <leeming@lyx.org>
396 * all files: modify the headers as discussed on the list.
398 2002-08-30 John Levon <levon@movementarian.org>
401 * ControlMath.C: moved from MathsSymbols.C
403 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
407 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
409 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
410 first item in the list
412 2002-08-15 Angus Leeming <leeming@lyx.org>
414 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
416 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
418 2002-08-15 Angus Leeming <leeming@lyx.org>
420 * lots: changed my email address to leeming@lyx.org.
422 * GUI.h: return it to private derivation from boost::noncopyable.
424 2002-08-14 Angus Leeming <leeming@lyx.org>
426 * GUI.h: public derivation from boost::noncopyable.
428 2002-08-14 Angus Leeming <leeming@lyx.org>
430 * GUI.h: class GUI deries from boost::noncopyable
432 * ControlButtons.h: no longer derives from DialogBase, but instead
433 derives directly from boost::noncopyable.
435 * ViewBase.h: derives from boost::noncopyable.
437 * ControlCharacter.C:
439 * ControlConnections.C:
442 * ControlParagraph.C:
446 * ControlSpellchecker.C:
448 * ControlThesaurus.C:
449 rearrange #includes. Remove unnecessary ones.
451 * ControlError.h: add "insets/inseterror.h".
453 * helper_funcs.h: add necessary #includes.
455 * tex_helpers.[Ch]: add #pragma directives for g++.
457 * Makefile.am: remove src/frontends from -I list to compiler.
459 2002-08-13 Angus Leeming <leeming@lyx.org>
461 * ControlConnections.C:
463 changes due to the changed LyXView interface that now returns references
464 to member variables not pointers.
466 2002-08-12 Angus Leeming <leeming@lyx.org>
468 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
469 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
470 for the most commonly accessed core methods, to minimise code
473 * many files: use these wrappers and remove associated #includes.
475 2002-08-12 Angus Leeming <leeming@lyx.org>
477 * ControlButtons.[Ch] (bc, view): no longer virtual.
478 (setView, setButtonController): new methods, invoked by GUI.
480 * ControlDialog.h (show):
481 * ControlInset.h (createInset, showInset): make public, so that GUI can
484 * GUI.h: GUI now contains a controller, rather than deriving from it.
485 remove all those friend functions since we can now access the show,
486 createInset, showInset controller methods.
488 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
491 * character.h: #include a couple of STL files.
493 2002-08-08 John Levon <levon@movementarian.org>
495 * ControlCommandBuffer.C: LyXAction cleanup
497 2002-08-07 John Levon <levon@movementarian.org>
499 * ControlSpellchecker.C: fix crash when spellchecker doesn't
502 2002-08-06 John Levon <levon@movementarian.org>
504 * ControlSpellchecker.C:
505 * ControlSpellchecker.h: use WordLangTuple
507 2002-08-06 John Levon <levon@movementarian.org>
509 * ControlSpellchecker.C: show an alert with the
510 error message on initialisation failure
512 2002-08-04 John Levon <levon@movementarian.org>
514 * ControlSpellchecker.h:
515 * ControlSpellchecker.C: some cleanups
517 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
519 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
521 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
522 the Dialogs::updateParagraph signal is emitted.
524 2002-08-02 Angus Leeming <leeming@lyx.org>
526 * ControlCharacter.C (apply):
527 * ControlERT.C (applyParamsToInset):
528 * ControlParagraph.C (apply):
529 * ControlSearch.C (find, replace):
530 * ControlThesaurus.C (replace): changes due to LyXView::view() now
531 returning a boost::shared_ptr.
533 2002-08-01 John Levon <levon@movementarian.org>
535 * ControlSendto.C: writeFile() change
537 2002-08-01 John Levon <levon@movementarian.org>
539 * ControlSpellchecker.h:
540 * ControlSpellchecker.C: remove options
542 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * several files: strip,frontStrip -> trim,ltrim,rtrim
546 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * biblio.C (parseBibTeX): modify because of strip changes
550 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
552 * ControlFloat.[Ch]: Implement Wide Float toggle
553 Replace "allow_here_definitely" by "wide"
555 2002-07-22 Herbert Voss <voss@lyx.org>
557 * ControlGraphics.C: small changes
559 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
561 * ControlToc.C: remove getType
563 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
565 * ControlCommandBuffer.C: don't add "" to history
567 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
569 * ControlRef.C: fix dispatch call nicely
571 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
574 * ControlCommandBuffer.h:
575 * ControlCommandBuffer.C: add controller for command (mini) buffer
578 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
580 * ControlRef.C: fix dispatch call
582 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
584 * ControlCharacter.C: use view_state_changed not setState
586 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
588 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
590 2002-07-15 Mike Fabian <mfabian@suse.de>
592 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
593 of compare_no_case, because in turkish, 'i' is not the lowercase
594 version of 'I', and thus turkish locale breaks parsing of tags.
596 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
598 * ControlBibtex.C (applyParamsToInset): ws change
600 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
602 * ControlInclude.C: Add warning if absolute path name and
603 check_typeset is used together
605 2002-06-28 Angus Leeming <leeming@lyx.org>
607 * ControlGraphics.C: changes associated with the name changes
608 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
610 2002-06-25 Angus Leeming <leeming@lyx.org>
612 * ControlGraphics.C (readBB): Channges associated with the changed
613 interface to the graphics cache.
615 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * ControlParagraph.C: layout as layout
619 2002-06-21 Angus Leeming <leeming@lyx.org>
621 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
622 * tex_helpers.h: #include "LString.h".
624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
627 * ControlBibitem.C: use repaint()
629 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
631 * ControlTexinfo.C: do the same for Texinfo
633 * tex_helpers.C: don't try to read a file that isn't there
635 2002-06-21 Herbert Voss <voss@perce.de>
637 * ControlBibtex.C: do an automatic update, when no bst-list
640 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
642 * GUI.h: createIndex() changed
644 2002-06-18 Herbert Voss <voss@perce.de>
646 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
647 helperstuff. Now the bibtex gui can use some of these functions
649 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
651 * ControlGraphics.C: just make the mask *.*
653 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * changes to simplify function setup, removal of a lot of includes.
657 2002-06-12 Angus Leeming <leeming@lyx.org>
659 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
661 2002-06-12 Angus Leeming <leeming@lyx.org>
663 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
665 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
667 * ControlParagraph.[Ch]: new paragraph controller
668 * GUI.h: add new controller
671 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
673 * GUI.h: do not include ButtonController.tmpl
675 * ControlInset.h: include ControlInset.tmpl
677 * ControlCitation.C: do not include ControlInset.tmpl
678 * ControlCommand.C: ditto
679 * ControlERT.C: ditto
680 * ControlError.C: ditto
681 * ControlExternal.C: ditto
682 * ControlFloat.C: ditto
683 * ControlGraphics.C: ditto
684 * ControlInclude.C: ditto
685 * ControlMinipage.C: ditto
687 * ControlDialog.tmpl: remove the Base:: prefix
689 2002-06-07 Angus Leeming <leeming@lyx.org>
691 Fixes needed to compile with Compaq cxx 6.5.
692 * ControlDialog.tmpl: I have had to prefix base class methods with
695 * ControlInset.tmpl: #include a couple of headers.
697 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * switch from SigC signals to boost::signals
701 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * biblio.h: include vector
705 * biblio.C: change include order
706 (regexSearch): use boost regex and get rid of LRegex
708 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
713 * ControlCharacter.C:
716 * ControlConnections.C:
733 * ControlSpellchecker.C:
734 * ControlTabularCreate.C:
736 * ControlThesaurus.C:
739 * ControlVCLog.C: LyXView moved into frontends
741 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
743 * ControlExternal.C: add scoped_ptr.hpp
745 * ControlCharacter.h: use more specific smart_ptr header.
747 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
749 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
751 2002-05-13 Herbert Voss <voss@perce.de>
753 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
754 like "Odland, G. and ... "
755 (parseBibTeX): fix bug with title and booktitle
756 and replace a \n with a space when one entry has more than
759 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
761 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
762 "No change" and "Reset".
764 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
765 them at the front of the list.
767 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlGraphics.C: add some comments to the char * arrays.
770 Make rorigin_size const.
772 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
775 Enables the gui's to internationalise these strings.
777 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
779 * frnt_lang.C: fix build
781 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
783 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
784 If the the caller is the character dialog, add "No change" and "Reset"
785 to the vector, else don't.
786 Internationalise the GUI strings here rather than in the different
788 Sort the translated strings, albeit simply.
790 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
792 * character.[Ch]: rename namespace character as namespace frnt.
794 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
795 as several dialogs will use this info. The function now returns a
796 vector<LanguagePair> where LanguagePair is a display string and an
797 identifying string. The display string is internationalised.
799 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
800 the identifying strings, "No change" and "Reset".
802 * Makefile.am: add frnt_lang.[Ch].
804 2002-04-25 Herbert Voss <voss@lyx.org>
806 * ControlSendto.C (allFormats): don't add the graphics extensions to the
809 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
811 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
812 BibTeX databases in a WYSIWYM way.
814 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
816 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
817 way past his use-by date.
818 Make use of the improved info from Buffer::getBibkeyList when using
819 \bibliography. Enables us to provide natbib support in this case too.
821 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
823 * ControlGraphics.C: pass the browseFile dialog a string of only those
824 formats that can currently be loaded by LyX.
826 2002-04-15 Herbert Voss <voss@perce.de>
828 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
829 with something like ,,...blah...`` (two commas)
831 2002-04-14 Herbert Voss <voss@perce.de>
833 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
834 into the support/lstrings for better use in other programs.
836 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
837 namespace anon and make globally accessible.
838 (familyName): test for the presence of a LaTeX Space at the front of
839 of a name; strip it if it exists.
841 2002-04-11 Herbert Voss <voss@perce.de>
843 * ControlGraphics.C: expand "browse-string" to all available formats
845 2002-04-11 Herbert Voss <voss@perce.de>
847 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
849 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
851 * ControlAboutlyx.C (getVersion): two _() forgotten
853 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
857 * ControlBibtex.C: make N_() be _()
859 2002-04-07 Herbert Voss <voss@perce.de>
861 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
863 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
865 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
866 used when reading the BB.
868 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
870 * ControlGraphics.C (readBB): Don't open the ifstrem and then
871 check the format from the contents (and open a second ifstream in the
872 process. One at a time please.
874 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
876 * ControlRef.C (getBufferNum): squash warning message.
878 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
880 * ControlBibtex.C (Browse):
881 * ControlGraphics.C (Browse):
882 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
884 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
886 * ControlGraphics.C (applyParamsToInset): pass filepath to
887 InsetGraphics::updateInset.
889 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
891 * most files: ws cleanup
893 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
895 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
898 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
901 * ControlInclude.C: better error messages
903 2002-03-11 Herbert Voss <voss@lyx.org>
905 * biblio.C (parseBibTeX): fix another minibug with an
908 2002-03-10 Herbert Voss <voss@lyx.org>
910 * biblio.C (parseBibTeX): fix bug
911 (familyName): improve parsing
913 2002-03-09 Herbert Voss <voss@lyx.org>
915 * ControlGraphics.[Ch]: adding checkFilename() for testing
916 of non-existing files
918 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
920 * ControlSendto.C (allFormats): fix a iterators are not pointers
923 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
925 * ControlShowFile.h: add a #include "LString.h"
927 2002-03-05 Herbert Voss <voss@lyx.org>
929 * biblio.C (getInfo): simplify if using paragraph layout
932 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
934 * biblio.C (getInfo): return the info field correctly if the key
936 (parseBibTeX): fix crash when data.find('=') returns string::npos.
938 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlForks.[Ch]: new files. A controller for the Forked Child
941 processes dialog, enabling the user to see what forked processes
942 are running, and, if he so desires, to kill them.
944 * GUI.h: add class GUIForks.
946 * Makefile.am: add ControlForks.[Ch].
948 * ControlGraphics.C (getParams): small change due to change in
951 2002-02-21 Herbert Voss <voss@lyx.org>
953 * biblio.C: fix bug with commentlines in a bibentry
955 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
957 * Makefile.am: simpler obj. file compile
959 2002-02-18 Herbert Voss <voss@lyx.org>
961 * ControlGraphics.[Ch]: remove help-file call
963 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
965 * helper_funcs.h: wrap the structs firster and seconder up in a
966 namespace to avoid clashes with those in lyxalgo,h.
968 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
969 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
971 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
973 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
976 change Systemcalls::System to Systemcalls::Wait and
977 No change of functionality, just reflects the stripped down Systemcalls
980 2002-02-06 Herbert Voss <voss@lyx.org>
982 * ControlGraphics.[C] (readBB): search also in
983 g'zipped files. If it is useful than PK and compress
984 should also be supported. use unzipFile() from
987 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
989 * ControlRef.C (getBufferName): new method to get a real buffer
992 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
994 * ControlTexInfo.[Ch]: Removed Help functions.
996 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
998 * ControlSpellchecker.C: clear any selection left
1001 2002-02-01 Herbert Voss <voss@lyx.org>
1003 * ControlGraphics.[C] (readBB): search only, if it is a
1004 ".?ps" file and look for bb's at end of file
1006 2002-01-30 Herbert Voss <voss@lyx.org>
1008 * ControlGraphic.[C]: do not search the whole file, when
1011 2002-01-29 Herbert Voss <voss@lyx.org>
1013 * ControlGraphic.[C]: added a button for document path
1014 when browsing -> bug 222
1016 2002-01-27 Herbert Voss <voss@lyx.org>
1018 * ControlGraphic.[Ch]: added support for Bounding Box, other
1021 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1023 * ControlAboutlyx.h:
1024 * ControlTexinfo.h: added #include "LString.h" where they belong.
1026 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1028 * ControlCitation.C:
1029 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1031 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1033 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1036 2002-01-20 Herbert Voss <voss@perce.de>
1038 * ControlInclude.[Ch]: better control of unexistings files
1039 when entered without the browser
1041 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1044 2002-01-19 Herbert Voss <voss@perce.de>
1046 * biblio.C (getInfo): fix bug when no author is given
1048 * biblio.C (parseBibTeX): change the parsing, so that
1049 '#'-characters in a bibtex entry are no more a problem.
1051 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1053 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1054 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1056 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1058 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1060 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1062 * ControlExternal.C (Browse): add a std:: qualifier
1064 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1066 * ControlExternal.C (Browse): simplify to use browseRelFile
1068 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ButtonController.tmpl: added // -*- C++ -*-
1072 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1073 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1074 Needed in _one_ of the ControlCommand-derived classes only.
1076 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1079 * ControlSearch.h: #include LString.h
1081 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1083 * ButtonController.h: split into two. The definition remains in
1084 ButtonController.h, the declaration is now in ButtonController.tmpl.
1085 These template methods should be #included when the derived class is
1086 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1087 and in the qt2 and gnome equivalents.
1089 * ControlDialogs.h: removed. The definition of class ControlDialog is
1090 now to be found in ControlDialog.h and the declaration of the methods
1091 is in ControlDialog.tmpl. The two template instantiations are performed
1092 in ControlDialog_impl.[Ch], new files also.
1094 * ControlInset.h: split into two. The definition remains in
1095 ControlInset.h, the declaration is now in ControlInset.tmpl.
1096 These template methods should be #included derived class is
1097 instantiated, in this case in 8 other .C files in this directory.
1099 * ControlAboutlyx.[Ch]:
1100 * ControlCharacter.[Ch]:
1104 * ControlExternal.C:
1106 * ControlGraphics.C:
1109 * ControlMinipage.C:
1110 * ControlPreamble.[Ch]:
1111 * ControlPrint.[Ch]:
1112 * ControlSearch.[Ch]:
1113 * ControlShowFile.[Ch]:
1114 * ControlSpellchecker.[Ch]:
1115 * ControlTabularCreate.[Ch]:
1116 * ControlTexinfo.[Ch]:
1117 * ControlThesaurus.[Ch]:
1118 * ControlVCLog.[Ch]: small changes associated with the above ones.
1120 * GUI.h: #include the ButtonController and dialog controller files
1121 here, rather than forward declare them. This is the correct place
1122 for these #includes.
1124 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1125 Rename ControlDialogs.h as ControlDialog.h.
1126 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1129 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1131 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1133 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1135 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1138 * ControlGraphics.C (Browse): remove overzealous shortcut
1140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1142 * FormMinipage.C (apply, update): MinipageParams::width renamed
1143 as MinipageParams::pageWidth. InsetMinipage::width renamed
1144 as InsetMinipage::pageWidth.
1146 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1148 * ButtonController.h (refreshReadOnly): use explicit typename
1150 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1152 * helper_funcs.h (browseFile): add default empty button descriptions.
1154 * ControlGraphics.C (Browse):
1155 * ControlBibtex.C (Browse):
1156 * ControlInclude.C (Browse): add shortcuts to directory buttons
1158 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1160 * ControlThesaurus.h:
1161 * ControlThesaurus.C: update to Aiksaurus 0.14
1163 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1165 * ControlSpellchecker.C (clearParams): show the closing message
1166 only if some words have been checked, thereby fixing
1169 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1171 * ControlFloat.[Ch]: changes to prevent here definitely being used
1174 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1176 * ControlThesaurus.h: do not include <config.h> in header files
1178 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1180 * ControlToc.C: changes for floatlist
1182 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1184 * ControlVCLog.C: use _()
1186 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1188 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1191 2001-10-22 Juergen Vigna <jug@sad.it>
1193 * ControlSpellchecker.C (clearParams): use the error_ message of the
1194 speller_ if available when the spellchecker died.
1195 (setParams): remove double error message display.
1197 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1201 * helper_funcs.[Ch] (getLatexUnits): see above.
1203 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1205 * ControlTexinfo.C (getContents): use the right file for .sty files
1207 2001-10-10 Herbert Voss <voss@perce.de>
1209 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1210 and some more stuff from FormTexinfo.C
1212 * ControlShowFile.C: hiding the update-button
1214 2001-10-09 Herbert Voss <voss@perce.de>
1216 * ControlTexinfo.[Ch]: new files. Display information about the
1217 installed texfiles (cls,sty,bst).
1219 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1221 * GUI.h: added classes GUIShowFile and GUITexinfo.
1223 * Makefile.am: modified appropriately.
1225 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1227 * ControlAboutlyx.C (getVersion): use lyx_version and
1228 lyx_release_date instead of old macros
1230 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1232 * ControlSpellchecker.C (check): Behaves well now when the spell
1233 library doesn't know a replacement to an incorrect word.
1235 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1237 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1238 the correct place. Can now check spelling more than once!
1240 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ControlSplash.[Ch]: removed.
1244 * GUI.h: remove GUISplash class.
1246 * ViewBase.h: remove ViewSplash class.
1248 * Makefile.am: remove ControlSplash.[Ch].
1250 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1252 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1253 view will be shut down.
1256 * ControlInset.h: act on emergency_exit_.
1258 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1259 speller fails to launch.
1261 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1263 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1264 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1266 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1268 * ControlRef.h (disconnectOnApply): new method. Set to true.
1269 Perhaps make this user-modifiable?
1271 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1273 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1276 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1278 * ControlRef.C (getBufferList, getBufferNum): New methods
1280 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1282 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1283 of the dialog when the Apply button is pressed. Defaults to false,
1284 but can be overridden in the daughter classes.
1286 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1287 Perhaps make this user-modifiable?
1289 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1291 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1292 we have dialogs that update their contents when the buffer changes.
1293 Rather embarassing, really!
1295 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1297 * ControlSearch (replace): change semantics of replace to NOT move on
1298 to the next instance of a word once the present instance has been
1299 replaced unless we are replacing ALL instances of the word.
1301 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1303 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1305 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1307 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1308 dialog, set all options to "reset", close the dialog, re-open it ->
1309 the options are set incorrectly.
1311 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1312 When Applying it's useful to know whether the dialog is about to close
1313 or not (no point refreshing the display for example).
1315 * ControlInset.C (apply): use isClosing.
1317 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1320 * ControlDialogs.h: remove bc() hack, now fixed in
1321 Qt2 frontend. use member dialog_built_ instead of shared
1324 * ButtonController.h:
1325 * ButtonPolicies.C: more debug info
1327 * ButtonControllerBase.C: call refresh() when setting readOnly !
1329 * GUI.h: External form has apply, use the right policy
1331 * character.C: fix two off-by-one errors when latex font was removed
1333 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1335 * ControlInset.h (apply): tentative fix for the press Apply multiple
1336 times and get multiple new Insets problem.
1338 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1340 * ControlCharacter.C: fix typo
1344 * ControlInsets.C: make sure dialog is built before it is shown, so
1345 it works properly the very first time it is shown
1347 2001-08-20 Herbert Voss <voss@perce.de>
1349 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1350 and styles. Added an option for "bibliography into toc"
1352 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1354 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1355 LaTeX is no longer a font property.
1357 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1359 * GUI.h: Button controller for Reference dialog changed to
1360 NoRepeatedApplyReadOnlyPolicy.
1362 * biblio.C (getInfo): output volume and number info. Move year to end
1365 2001-08-09 Allan Rae <rae@lyx.org>
1367 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1369 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1371 * helper_funcs.C (getVectorFromString): fixed small bug.
1373 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1375 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1377 * ControlSpellchecker.C: check next word after insert in personal dict
1379 2001-08-06 Juergen Vigna <jug@sad.it>
1381 * ControlERT.[Ch]: new file
1383 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1385 * ControlInset.h: const and non-const forms of params().
1387 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1388 whitespace from either side of each item.
1390 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1392 * ControlFloat.h: add a != operator for FloatParams.
1393 Lars, how did you get this to compile!!!
1395 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1396 operator != for MinipageParams. Who's changing stuff and not compiling?
1398 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1400 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1403 * GUI.h: add class GUIFloat
1405 * ControlFloat.[Ch]: new files
1407 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1409 * ControlPrint.C: #include Lassert.h here.
1411 2001-07-26 Baruch Even <baruch@lyx.org>
1413 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1416 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1418 * ControlThesaurus.h:
1419 * ControlThesaurus.C:
1421 * Makefile.am: thesaurus support
1423 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1426 * ControlInclude.C: implement ability to load file
1428 2001-07-18 Juergen Vigna <jug@sad.it>
1430 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1432 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1434 * biblio.C (getInfo): add a .c_str() to handle the usual
1437 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1439 * ControlCitation.[Ch]: changes associated with adding natbib support.
1440 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1441 New static variable citeStyles_.
1443 * biblio.[Ch]: large internal rearrangement.
1444 New public enum CiteStyle.
1445 New public struct CitationStyle.
1446 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1447 getNumericalStrings, getAuthorYearStrings
1448 (simpleSearch, regexSearch): no longer publicly accessible.
1450 * helper_funcs.C (getStringFromVector): bug fix.
1452 2001-07-16 Baruch Even <baruch@lyx.org>
1454 * ControlVCLog.h: Added Lsstream.h to includes.
1456 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1458 * ControlSpellchecker.[Ch]: remove d-tor.
1460 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1462 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1464 2001-07-16 Juergen Vigna <jug@sad.it>
1466 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1467 compiled with USE_PSPELL) to be able to switch between ISpell and
1470 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1472 Consistent use of Lsstream.h:
1473 * ControlAboutlyx.[Ch] (getCredits):
1474 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1476 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1478 * ControlCredits.[Ch]: removed
1479 * ControlCopyright.[Ch]: removed
1480 * ControlAboutlyx.[Ch]: added (replaces previous)
1481 * GUI.h: removed credits and copyright added about lyx stuff
1483 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1485 * ControlSpellchecker.C (getSuggestion):
1486 (getWord): add std:: qualifier
1488 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1490 * ControlSpellchecker.[Ch]: added
1491 * ViewBase.h: added partialUpdate(int) member
1492 * GUI.h: added spell stuff
1494 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1496 * ControlExternal.C: (*it). -> it->
1498 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1500 * ButtonController.h: move some included header files out of the
1501 frontends and into here.
1503 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1505 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1507 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1509 * *.[h]: added // -*- C++ -*-
1510 * *.[C]: removed // -*- C++ -*-
1512 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1513 activate Apply button.
1514 (clearParams): removed.
1515 font_ is now stored as a boost::scoped_ptr.
1516 font_ is no longer deleted on hide(), so it's contents can now be used
1517 by the Font button on the toolbar.
1518 Lots of new methods so that the GUI can easily get the contents of
1519 font_ when it update()s.
1521 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1523 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1524 crash when the Font button on the Toolbar is pressed.
1526 * GUI.h: change policy of Character button controller to
1527 OkApplyCancelReadOnlyPolicy.
1529 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1531 * ControlToc.C (getContents): don't add anything to the list if it
1532 is supposed to be empty.
1534 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1536 * helper_funcs.C (getVectorFromString): bug fix.
1538 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1540 * ButtonController.h
1541 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1542 from ButtonControllerBase::readOnly. Updates the state of the widgets
1543 in the read-only list only when the read-only status of the document
1545 (refresh): moved this stuff into refreshReadOnly.
1547 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1549 * ControlPrint.C (c-tor):
1550 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1552 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1555 * character.h: small clean-ups.
1557 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1559 * ControlToc.C (getType): remove support for old float list.
1561 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1563 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1564 * ControlGraphics.h: no longer include insetgraphicsParams.h
1565 * ControlInset.h: no longer include LyXView.h
1570 * ControlCharacter.C:
1571 * ControlCitation.C:
1573 * ControlConnections.C:
1574 * ControlCopyright.C:
1577 * ControlExternal.C:
1578 * ControlGraphics.C:
1581 * ControlMinipage.C:
1582 * ControlPreamble.C:
1586 * ControlTabularCreate.C:
1588 * ControlVCLog.C: they're now in here!
1590 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1592 * ButtonControllerBase.h: C++ mode, inherit privately from
1594 * ButtonPolicies.h: ditto
1596 * ButtonController.h: C++ mode, swap init order of restore_ and
1599 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1601 * ControlTabularCreate.h:
1602 * ControlTabularCreate.C: make dialogs use a pair of uints
1606 * ControlVCLog.C: fill a stringstream with the log contents
1609 * ControlExternal.C: from Angus, clone the new InsetExternal
1612 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1614 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1615 and made more robust.
1617 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1622 * ControlPreamble.C:
1624 * ControlGraphics.C:
1625 * ControlExternal.C:
1626 * ControlCopyright.C: include gettext.h
1628 * ControlCharacter.C:
1629 * character.C: include gettext.h and language.h
1631 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1633 * ButtonController.h:
1634 * ButtonControllerBase.h:
1635 * ButtonControllerBase.C:
1642 * ControlConnections.h:
1645 * ControlExternal.C:
1648 * ViewBase.h: s/ControlButton/ControlButtons/
1650 s/UndoAll/Restore/ + associated
1652 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1654 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1657 * Makefile.am: associated changes with all of the above.
1659 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1661 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1662 and edit, view, update the External Material correctly. I hope!
1664 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1666 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1668 * BCTemplates.h: renamed as ButtonController.h
1670 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1673 * ControlConnections.h: associated change in #include and class names.
1675 * ControlExternal.[Ch]: new files; a controller for the External
1679 * Makefile.am: associated changes with all of the above.
1681 * ControlGraphics.[Ch]:
1682 * ControlInclude.[Ch]:
1683 * ControlPrint.[Ch]:
1685 (Browse): new method. Returns the results of a FileDialog browse.
1687 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1688 (getVectorFromString): fixed bug.
1690 * biblio.C (simpleSearch): cleaned up.
1692 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1694 * A slight reworking of Baruch Even's ButtonController patch.
1696 * BCTemplates.h: new file; all the templates for the ButtonController.
1697 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1698 to the more generic setButtonLabel().
1700 * ButtonController.[Ch]: renamed cancel_label and close_label as
1701 cancel_label_ and close_label_.
1703 * Makefile.am: added BCTemplates.h
1705 2001-03-29 Juergen Vigna <jug@sad.it>
1707 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1708 to use new %-lengths of LyXLength.
1710 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1712 * ControlCitation.C (bibkeysInfo): removed Assert.
1714 * ControlCopyright.h: moved GUICopyright into GUI.h
1718 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1720 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1721 (setDaughterParams): a (by default empty) new method called in show().
1727 * ControlMinipage.h:
1730 * ControlUrl.h (clearDaughterParams): removed
1732 * ControlMinipage.C (applyParamsToInset): update the view.
1733 Added namespace minipage containing a helper function getUnits.
1735 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1737 * ControlCharacter.[Ch]: moved out all the helper functions and the
1738 enum into their own file.
1739 * character.[Ch]: new files; contain the character helper functions,
1740 now inside namespace character.
1742 * ControlCitation.[Ch]: moved out all the helper functions and the
1743 enums into their own file. Simplified interface.
1744 * biblio.[Ch]: new files; contain the citation helper functions,
1745 now inside namespace biblio. Will be of use also to an improved
1748 * ControlGraphics.[Ch]:
1749 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1750 popups, respectively.
1753 * Makefile.am: associated changes.
1755 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1757 * ControlMinipage.[Ch]:
1758 * ControlPreamble.[Ch]:
1759 * ControlPrint.[Ch]:
1760 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1761 and Print popups and Splash screen, respectively.
1763 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1767 * Makefile.am: associated changes.
1769 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlConnections.[Ch]: (docType): new method; returns the type
1772 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1775 * ControlSearch.[Ch]:
1776 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1777 Search and TabularCreate popups, respectively.
1780 * Makefile.am: associated changes.
1782 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1784 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1787 * ControlInset.h (apply): fix bug. Can now create new insets again.
1789 * README: describe program flow.
1791 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1793 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1795 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1797 * ControlDialogs.h: moved class ControlInset into its own file.
1799 * ControlInset.h: new file. class ControlInset has been expanded to take
1800 two template parameters, Inset and Params. Believe that all inset
1801 controllers can be derived from this with the minimum of effort.
1803 * ControlBibitem.[Ch]:
1804 * ControlBibtex.[Ch]:
1805 * ControlCitation.[Ch]:
1806 * ControlCommand.[Ch]: moved most code into ControlInset.
1808 * lots of files. Moved protected stuff into private where possible.
1810 * ControlError.[Ch]:
1811 * ControlInclude.[Ch]:
1812 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1813 Include and Url popups, respectively.
1816 * Makefile.am: associated changes.
1818 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1820 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1823 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1825 * ControlCredits.C (getCredits): remove std:: qualifier for
1828 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1830 * ControlCredits.C (getCredits): add std:: on vector
1832 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1834 * ControlCredits.C: remove using that is only used once, use
1835 std::ios instead of std::iosbase, add some annoying comments.
1837 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1839 * lots of header files: improved explanatory notes.
1841 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1842 ControlBase is now a class that only controls the interaction of the
1843 View with the ButtonController.
1845 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1846 to ControlConnectBase. The class controls the connection/disconnection
1847 of signals from the LyX kernel and makes available the kernel (through
1848 lv_) to daughter controller classes.
1849 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1851 * ControlDialogs.h: new file. Contains the definition of two template
1852 controller classes, ControlDialog and ControlInset (was
1853 ControlConnectInset). ControlInset is a parent class for controllers
1854 of inset-popups. ControlDialogs is the rather uninspired name for
1855 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1856 ControlDialogs is reaching a state of maturity as several popups now use
1857 it and its functionality becomes clear. ControlInset is still in a state
1858 of flux. It is likely that functionality will be moved out of
1859 ControlCommands and into it.
1861 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1862 individual Controller header files and into one place. These classes
1863 serve only as convenient wrappers to simplify code in the respective
1864 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1866 * ControlCharacter.[Ch] (show, update, hide):
1867 * ControlLog.[Ch] (show, update, hide):
1868 * ControlVCLog.[Ch] (show, update, hide): moved back into
1869 the ControlDialogs base class.
1870 (setParams, clearParams): new methods containing controller-specific
1871 code to set/reset the parameters manipulated by the view.
1873 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1875 (hide): calls clearParams.
1877 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1878 by ControlCommand::hide().
1880 * ControlCopyright.[Ch]:
1881 * ControlCredits.[Ch]: new files; controllers for the copyright and
1882 credits popups, respectively.
1884 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1886 * ControlCharacter.C: fix typo
1888 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1890 * ControlCharacter.[Ch]: new files; controller for the character popup.
1892 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1893 moved to new files helper_funcs.[Ch].
1895 * helper_funcs.[Ch]: new files. Some useful helper functions and
1898 * Makefile.am: added new files.
1900 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1902 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1904 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1907 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1908 Control log files, respectively.
1910 * Makefile.am: added new files.
1912 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1914 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1916 * Makefile.am: added ControlBibtex.[Ch].
1918 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1921 * ControlCitation.C: added "using SigC::slot" declaration.
1923 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1924 to FormCitation.C prior to the merger: "Do not put space between
1927 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1929 * several files: remove CXX_WORKING_NAMESPACES
1931 * ButtonController.h: noncopyable is in namespace boost
1932 * ButtonPolicies.h: ditto
1934 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1936 * Merging changes from BRANCH_MVC back into HEAD.
1938 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1940 * Makefile.am: add ControlBibitem.[Ch].
1942 * ControlBibitem.[Ch]: new files that together define the Controller
1943 for a Bibitem popup.
1945 * ControlCommand.h (c-tor): give kb_action a default value of
1948 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1950 * ControlCitation.[Ch]: moved search functions out of class.
1951 (bibkeysInfo): new method. Returns const reference to private data.
1952 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1955 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1957 * ControlCitation.[Ch]: added Search functions to the class,
1958 (shamelessly lifted from Marco's gnome code). I think that these would
1959 be better as helper functions outside the class, but this is a first
1962 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1964 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1966 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1967 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1968 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1969 implementation of FormCitation.
1971 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1973 * ButtonPolicies.h: add SMI_NOOP to enum.
1975 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1977 * ButtonController.C (input): add "optimising" if-statement. Actually,
1978 things don't work correctly without it...
1980 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1982 * ViewBase.h: remove #pragma directive
1984 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1987 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1989 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1991 * Makefile.am: added ButtonPolicies.[Ch]
1993 * ButtonController.[Ch]: ButtonController is split into
1994 ButtonControllerBase and a template ButtonController class. The base
1995 class no longer stores a pointer to a ButtonPolicy, but instead
1996 accesses the actual instantiation of the policy through a pure virtual
1997 method bp(). This method and the ButtonPolicy itself are instantiated
1998 in the templatised ButtonController class. This class is derived from
1999 the GUI-specific GUIBC class, meaning that the frontends know
2000 nothing about the actual policy decided upon by the controllers.
2002 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2003 Instead the actual instantiations are accessed through pure virtual
2004 methods view() and bc(). The daughter classes are responsible for the
2005 actual View and ButtonController.
2007 * ControlCitation.h: the templatised class GUICitation instantiates
2008 the methods view() and bc(). It also stores the instances of the
2009 View and ButtonController.
2011 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2013 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2014 also changed to ButtonController.
2017 * ControlConnections.[Ch]:
2018 * ControlCommand.[Ch]:
2019 * ControlCitation.[Ch]:
2020 * ViewBase.h: Changes associated with this.
2022 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2024 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2025 xforms/ButtonController class into a GUI-I class (here) and an
2026 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2028 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2029 from which all Dialog Controllers should be derived. the Controllers
2030 are GUI-independent, but are designed to control the behaviour of
2031 GUI-specific implementaions of each dialog.
2033 * ControlConnections.[Ch]: new files. Classes controlling the
2034 connections of buffer-independent, buffer-dependent and Inset dialogs
2035 with the LyX kernel.
2037 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2038 InsetCommand subset of insets.
2040 * ControlCitation.[Ch]: new files. The test specialisation! A
2041 controller for the Citation dialog.
2043 * ViewBase.h: new file. ViewBase is an abstract base class from which
2044 GUI-specific dialogs should be derived. The functionality that the GUIs
2045 must now implement is much reduced.