1 2003-03-05 Angus Leeming <leeming@lyx.org>
3 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
5 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
7 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
8 * ControlInclude.C: remove unneeded header files.
10 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
12 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
14 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
16 * Dialog.h: make view() public. Add dialog() methods.
18 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
20 * ControlGraphics.C: removed #include "converter.h"
22 * ControlSendto.C: added #include "format.h"
24 2003-02-27 Angus Leeming <leeming@lyx.org>
26 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
28 * Makefile.am: add the new files.
30 2003-02-27 Angus Leeming <leeming@lyx.org>
32 * ControlBibitem.C (c-tor):
33 * ControlBibtex.C (c-tor):
34 * ControlCitation.C (c-tor):
35 * ControlIndex.C (c-tor):
36 * ControlRef.C (c-tor):
37 * ControlToc.C (c-tor):
38 * ControlUrl.C (c-tor):
39 pass "name" to ControlCommand c-tor,
42 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
45 * ControlERT.C (dispatchParams): use "name" rather than a
48 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
50 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
52 2003-02-21 Angus Leeming <leeming@lyx.org>
55 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
57 * ControlBibitem.[Ch]:
59 * ControlCitation.[Ch]:
60 * ControlCommand.[Ch]:
65 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
66 individual controllers too.
67 Move 'apply' code into the LyX kernel.
69 * ControlConnections.C: temporary renaming of Dialogs::signals.
71 * Makefile.am: add new files.
73 2003-02-21 Angus Leeming <leeming@lyx.org>
75 * ControlBibtex.C (Browse):
76 * ControlExternal.C (Browse):
77 * ControlGraphics.C (Browse):
78 * ControlInclude.C (Browse):
79 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
81 * ControlPrint.C (Browse):
82 don't pass a LyXView & to browseFile et al.
83 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
84 don't pass a LyXView & to fileDlg.
86 2003-02-17 John Levon <levon@movementarian.org>
88 * ControlDialog.tmpl: build dialog before calling setParams
89 for the benefit of ControlSpellchecker
91 * ControlSpellchecker.h:
92 * ControlSpellchecker.C: rework. Lots of bugs fixed and
95 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
97 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
98 of available *.bib-files from bibFiles.lst).
100 * tex_helpers.C (getTexFileList): sort and dis-duplicate
101 listWithoutPath correctly.
103 2003-02-08 John Levon <levon@movementarian.org>
106 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
108 2003-02-08 John Levon <levon@movementarian.org>
112 * ControlChanges.C: add merge changes dialog
115 * ControlPrefs.C: add setCurrentAuthor()
117 2003-01-31 Angus Leeming <leeming@lyx.org>
119 * ViewBase.h: add an isVisible() pure virtual method.
121 * ControlTabular.C (updateInset): don't build the dialog here.
122 Instead, do nothing if the dialog is invisible.
124 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
126 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
128 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
130 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
132 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
134 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
138 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * several files: ws changes
142 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
144 * ControlDocument.C (classApply): use boost.format
146 2002-11-29 Angus Leeming <leeming@lyx.org>
148 * ControlButtons.h (isClosing): make it public, so that the view can
150 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
153 * ControlPrefs.[Ch] (OKButton): removed.
155 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
156 dialog isClosing(). (Ie, if the "save" button has been pressed.)
158 2002-11-28 John Levon <levon@movementarian.org>
160 * ControlSpellchecker.C: fix Lars' broken cleanup
162 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
164 * ControlTabular.[Ch]: Add isMulticolumnCell
166 2002-11-27 Angus Leeming <leeming@lyx.org>
168 * ControlMath.C (ControlMath): initialise active_.
170 2002-11-25 Angus Leeming <leeming@lyx.org>
172 * ControlDialog.h (hide, update): move from protected to public.
174 * ControlMath.[Ch]: add controllers for the main math panel dialog and
175 for any daughter dialogs stored by the main panel.
177 2002-11-21 Angus Leeming <leeming@lyx.org>
179 * ControlDocument.[Ch] (classApply): no longer returns bool.
180 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
182 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * biblio.C (getAbbreviatedAuthor): use boost::format
186 * ControlSpellchecker.C (clearParams): use boost::format
188 2002-11-20 John Levon <levon@movementarian.org>
190 * ControlMath.C: couple more manglings
192 2002-11-20 John Levon <levon@movementarian.org>
195 * ControlMath.C: add find_xpm mangler
197 2002-11-17 John Levon <levon@movementarian.org>
199 * helper_funcs.C and users: specify save/open in file dialog
201 2002-11-15 John Levon <levon@movementarian.org>
204 * ControlPrefs.C: use setParams()
206 2002-11-15 John Levon <levon@movementarian.org>
208 * ControlButtons.h: make OKButton() virtual for prefs
211 * ControlPrefs.C: updates for xforms port to MVC
215 * ControlTabular.C: add simple MVC port
217 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
219 * ControlInclude.C: fix file format masks for qt's use
221 2002-11-13 John Levon <levon@movementarian.org>
225 * ControlPrefs.C: add skeleton controller
227 2002-11-12 John Levon <levon@movementarian.org>
229 * biblio.C: fix warnings
231 2002-11-12 Angus Leeming <leeming@lyx.org>
233 * ControlSpellchecker.C (check): fix crash
234 * biblio.C (escape_special_chars): simplify BRE.
236 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
238 * ControlDocument.[Ch]: Remove unused method
240 2002-11-07 Angus Leeming <leeming@lyx.org>
242 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
243 * clean-up the search code in biblio.C.
245 2002-11-07 John Levon <levon@movementarian.org>
247 * ControlGraphics.C: QGraphics fixes
249 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
251 * ControlDocument.C: (SaveAsDefault) make it work.
252 fix buffer update on class change
254 2002-11-06 Angus Leeming <leeming@lyx.org>
256 * biblio.C (searchKeys and helper functions): rewritten entirely
257 using the STL. Boost::regex searching now works as the old 1.2 code
260 2002-11-06 Angus Leeming <leeming@lyx.org>
262 * biblio.C: clean-up of the code. No change in functionality.
264 2002-11-04 Angus Leeming <leeming@lyx.org>
266 * ControlGraphics.[Ch] (getUnits): moved out of class and into
267 frnt::getBBUnits(). Code cleaned also.
269 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * biblio.C (regexSearch): STRCONV
274 * ControlAboutlyx.C (getVersion): STRCONV
276 * ControlMath.C: include config.h
278 2002-10-31 John Levon <levon@movementarian.org>
281 * ControlGraphics.C: bb units from Herbert
283 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
285 * ControlParagraph.[Ch] (alignDefault): new method, returning the
286 default alignment (block, left, right, center) of this paragraph.
288 2002-10-25 John Levon <levon@movementarian.org>
290 * ControlPrint.C: using endl
292 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
294 * ControlPrint.[Ch]: move code here from Liason.[Ch].
296 * ControlSpellchecker.h (getCount): new method.
297 * ControlSpellchecker.[Ch]: constify some accessor methods.
299 2002-10-22 Angus Leeming <leeming@lyx.org>
301 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
302 alphabetical order once again.
304 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
305 Add a list of CheckedWidget ptrs to ButtonControllerBase
306 together with methods addCheckedWidget and checkWidgets to use it.
308 * ButtonController.tmpl (refresh): use the return value of
309 checkWidgets to control the activation state of the Ok, Apply, Restore
312 * ControlDialog.tmpl (show, update):
313 * ControlInset.tmpl (showInset, update):
314 invoke ButtonController::refresh to ensure that the activation state of
315 the Ok, Apply buttons reflects the valid-state of the widgets.
317 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * tex_helpers.C (rescanTexStyles): don't pop p
322 * ControlWrap.C (WrapParms): remove initialization of placement,
323 and move empty c-tor to .h class def.
325 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
326 of on stringsteam, return void. Get the file into the stream as
329 * ControlPreamble.[Ch] (params): getter and setter for params_, make
330 params_ into a string, not just a pointer to string.
332 * ControlExternal.C (getTemplateNumber): put i into the for scope,
333 and use the sequence operator on the last for "parameter"
334 (getTemplate): use std::advance to advance the iterator.
336 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
337 instead of on a stringstream, return void. Get the file into the
338 stream as fast as possible.
339 (getVersion): use ostringstream
341 * lots of files: ws changes, formatting fixes
343 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
345 * ControlCharacter.C (apply): setMinibuffer change
346 * ControlDocument.C (apply): ditto
348 * ControlThesaurus.C (replace): ditto
349 * ControlSearch.C (find): ditto
351 * ControlPreamble.C (apply): ditto
352 * ControlParagraph.C (apply): ditto
354 2002-10-14 André Pönitz <poenitz@gmx.net>
356 * ControlDocument.C: somebody else's fix for a hard lockup
358 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
362 * Makefile.am: New document parameters controller
364 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
368 2002-09-24 Angus Leeming <leeming@lyx.org>
370 * ControlConnections.h: remove trailing whitespace.
372 * biblio.h: #include "LString.h".
374 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
376 * ControlGraphics.C: Change GUI origin strings into proper English.
378 2002-09-09 John Levon <levon@movementarian.org>
380 * ControlInclude.C: fix file masks. Get rid of noload,
381 remove stupid warning
383 2002-09-09 John Levon <levon@movementarian.org>
386 * ControlMath.C: add latex_deco
388 2002-09-06 John Levon <levon@movementarian.org>
390 * ControlMath.C: terminate dots
392 2002-09-05 Angus Leeming <leeming@lyx.org>
394 * all files: modify the headers as discussed on the list.
396 2002-08-30 John Levon <levon@movementarian.org>
399 * ControlMath.C: moved from MathsSymbols.C
401 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
403 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
405 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
407 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
408 first item in the list
410 2002-08-15 Angus Leeming <leeming@lyx.org>
412 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
414 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
416 2002-08-15 Angus Leeming <leeming@lyx.org>
418 * lots: changed my email address to leeming@lyx.org.
420 * GUI.h: return it to private derivation from boost::noncopyable.
422 2002-08-14 Angus Leeming <leeming@lyx.org>
424 * GUI.h: public derivation from boost::noncopyable.
426 2002-08-14 Angus Leeming <leeming@lyx.org>
428 * GUI.h: class GUI deries from boost::noncopyable
430 * ControlButtons.h: no longer derives from DialogBase, but instead
431 derives directly from boost::noncopyable.
433 * ViewBase.h: derives from boost::noncopyable.
435 * ControlCharacter.C:
437 * ControlConnections.C:
440 * ControlParagraph.C:
444 * ControlSpellchecker.C:
446 * ControlThesaurus.C:
447 rearrange #includes. Remove unnecessary ones.
449 * ControlError.h: add "insets/inseterror.h".
451 * helper_funcs.h: add necessary #includes.
453 * tex_helpers.[Ch]: add #pragma directives for g++.
455 * Makefile.am: remove src/frontends from -I list to compiler.
457 2002-08-13 Angus Leeming <leeming@lyx.org>
459 * ControlConnections.C:
461 changes due to the changed LyXView interface that now returns references
462 to member variables not pointers.
464 2002-08-12 Angus Leeming <leeming@lyx.org>
466 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
467 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
468 for the most commonly accessed core methods, to minimise code
471 * many files: use these wrappers and remove associated #includes.
473 2002-08-12 Angus Leeming <leeming@lyx.org>
475 * ControlButtons.[Ch] (bc, view): no longer virtual.
476 (setView, setButtonController): new methods, invoked by GUI.
478 * ControlDialog.h (show):
479 * ControlInset.h (createInset, showInset): make public, so that GUI can
482 * GUI.h: GUI now contains a controller, rather than deriving from it.
483 remove all those friend functions since we can now access the show,
484 createInset, showInset controller methods.
486 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
489 * character.h: #include a couple of STL files.
491 2002-08-08 John Levon <levon@movementarian.org>
493 * ControlCommandBuffer.C: LyXAction cleanup
495 2002-08-07 John Levon <levon@movementarian.org>
497 * ControlSpellchecker.C: fix crash when spellchecker doesn't
500 2002-08-06 John Levon <levon@movementarian.org>
502 * ControlSpellchecker.C:
503 * ControlSpellchecker.h: use WordLangTuple
505 2002-08-06 John Levon <levon@movementarian.org>
507 * ControlSpellchecker.C: show an alert with the
508 error message on initialisation failure
510 2002-08-04 John Levon <levon@movementarian.org>
512 * ControlSpellchecker.h:
513 * ControlSpellchecker.C: some cleanups
515 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
517 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
519 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
520 the Dialogs::updateParagraph signal is emitted.
522 2002-08-02 Angus Leeming <leeming@lyx.org>
524 * ControlCharacter.C (apply):
525 * ControlERT.C (applyParamsToInset):
526 * ControlParagraph.C (apply):
527 * ControlSearch.C (find, replace):
528 * ControlThesaurus.C (replace): changes due to LyXView::view() now
529 returning a boost::shared_ptr.
531 2002-08-01 John Levon <levon@movementarian.org>
533 * ControlSendto.C: writeFile() change
535 2002-08-01 John Levon <levon@movementarian.org>
537 * ControlSpellchecker.h:
538 * ControlSpellchecker.C: remove options
540 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * several files: strip,frontStrip -> trim,ltrim,rtrim
544 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
546 * biblio.C (parseBibTeX): modify because of strip changes
548 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
550 * ControlFloat.[Ch]: Implement Wide Float toggle
551 Replace "allow_here_definitely" by "wide"
553 2002-07-22 Herbert Voss <voss@lyx.org>
555 * ControlGraphics.C: small changes
557 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
559 * ControlToc.C: remove getType
561 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
563 * ControlCommandBuffer.C: don't add "" to history
565 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
567 * ControlRef.C: fix dispatch call nicely
569 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
572 * ControlCommandBuffer.h:
573 * ControlCommandBuffer.C: add controller for command (mini) buffer
576 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
578 * ControlRef.C: fix dispatch call
580 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
582 * ControlCharacter.C: use view_state_changed not setState
584 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
586 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
588 2002-07-15 Mike Fabian <mfabian@suse.de>
590 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
591 of compare_no_case, because in turkish, 'i' is not the lowercase
592 version of 'I', and thus turkish locale breaks parsing of tags.
594 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * ControlBibtex.C (applyParamsToInset): ws change
598 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
600 * ControlInclude.C: Add warning if absolute path name and
601 check_typeset is used together
603 2002-06-28 Angus Leeming <leeming@lyx.org>
605 * ControlGraphics.C: changes associated with the name changes
606 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
608 2002-06-25 Angus Leeming <leeming@lyx.org>
610 * ControlGraphics.C (readBB): Channges associated with the changed
611 interface to the graphics cache.
613 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * ControlParagraph.C: layout as layout
617 2002-06-21 Angus Leeming <leeming@lyx.org>
619 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
620 * tex_helpers.h: #include "LString.h".
622 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
625 * ControlBibitem.C: use repaint()
627 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
629 * ControlTexinfo.C: do the same for Texinfo
631 * tex_helpers.C: don't try to read a file that isn't there
633 2002-06-21 Herbert Voss <voss@perce.de>
635 * ControlBibtex.C: do an automatic update, when no bst-list
638 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
640 * GUI.h: createIndex() changed
642 2002-06-18 Herbert Voss <voss@perce.de>
644 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
645 helperstuff. Now the bibtex gui can use some of these functions
647 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
649 * ControlGraphics.C: just make the mask *.*
651 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
653 * changes to simplify function setup, removal of a lot of includes.
655 2002-06-12 Angus Leeming <leeming@lyx.org>
657 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
659 2002-06-12 Angus Leeming <leeming@lyx.org>
661 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
663 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
665 * ControlParagraph.[Ch]: new paragraph controller
666 * GUI.h: add new controller
669 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * GUI.h: do not include ButtonController.tmpl
673 * ControlInset.h: include ControlInset.tmpl
675 * ControlCitation.C: do not include ControlInset.tmpl
676 * ControlCommand.C: ditto
677 * ControlERT.C: ditto
678 * ControlError.C: ditto
679 * ControlExternal.C: ditto
680 * ControlFloat.C: ditto
681 * ControlGraphics.C: ditto
682 * ControlInclude.C: ditto
683 * ControlMinipage.C: ditto
685 * ControlDialog.tmpl: remove the Base:: prefix
687 2002-06-07 Angus Leeming <leeming@lyx.org>
689 Fixes needed to compile with Compaq cxx 6.5.
690 * ControlDialog.tmpl: I have had to prefix base class methods with
693 * ControlInset.tmpl: #include a couple of headers.
695 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
697 * switch from SigC signals to boost::signals
699 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
701 * biblio.h: include vector
703 * biblio.C: change include order
704 (regexSearch): use boost regex and get rid of LRegex
706 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
711 * ControlCharacter.C:
714 * ControlConnections.C:
731 * ControlSpellchecker.C:
732 * ControlTabularCreate.C:
734 * ControlThesaurus.C:
737 * ControlVCLog.C: LyXView moved into frontends
739 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
741 * ControlExternal.C: add scoped_ptr.hpp
743 * ControlCharacter.h: use more specific smart_ptr header.
745 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
747 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
749 2002-05-13 Herbert Voss <voss@perce.de>
751 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
752 like "Odland, G. and ... "
753 (parseBibTeX): fix bug with title and booktitle
754 and replace a \n with a space when one entry has more than
757 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
759 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
760 "No change" and "Reset".
762 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
763 them at the front of the list.
765 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
767 * ControlGraphics.C: add some comments to the char * arrays.
768 Make rorigin_size const.
770 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
772 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
773 Enables the gui's to internationalise these strings.
775 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
777 * frnt_lang.C: fix build
779 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
781 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
782 If the the caller is the character dialog, add "No change" and "Reset"
783 to the vector, else don't.
784 Internationalise the GUI strings here rather than in the different
786 Sort the translated strings, albeit simply.
788 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
790 * character.[Ch]: rename namespace character as namespace frnt.
792 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
793 as several dialogs will use this info. The function now returns a
794 vector<LanguagePair> where LanguagePair is a display string and an
795 identifying string. The display string is internationalised.
797 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
798 the identifying strings, "No change" and "Reset".
800 * Makefile.am: add frnt_lang.[Ch].
802 2002-04-25 Herbert Voss <voss@lyx.org>
804 * ControlSendto.C (allFormats): don't add the graphics extensions to the
807 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
809 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
810 BibTeX databases in a WYSIWYM way.
812 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
814 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
815 way past his use-by date.
816 Make use of the improved info from Buffer::getBibkeyList when using
817 \bibliography. Enables us to provide natbib support in this case too.
819 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
821 * ControlGraphics.C: pass the browseFile dialog a string of only those
822 formats that can currently be loaded by LyX.
824 2002-04-15 Herbert Voss <voss@perce.de>
826 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
827 with something like ,,...blah...`` (two commas)
829 2002-04-14 Herbert Voss <voss@perce.de>
831 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
832 into the support/lstrings for better use in other programs.
834 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
835 namespace anon and make globally accessible.
836 (familyName): test for the presence of a LaTeX Space at the front of
837 of a name; strip it if it exists.
839 2002-04-11 Herbert Voss <voss@perce.de>
841 * ControlGraphics.C: expand "browse-string" to all available formats
843 2002-04-11 Herbert Voss <voss@perce.de>
845 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
847 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
849 * ControlAboutlyx.C (getVersion): two _() forgotten
851 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
855 * ControlBibtex.C: make N_() be _()
857 2002-04-07 Herbert Voss <voss@perce.de>
859 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
861 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
863 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
864 used when reading the BB.
866 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
868 * ControlGraphics.C (readBB): Don't open the ifstrem and then
869 check the format from the contents (and open a second ifstream in the
870 process. One at a time please.
872 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
874 * ControlRef.C (getBufferNum): squash warning message.
876 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
878 * ControlBibtex.C (Browse):
879 * ControlGraphics.C (Browse):
880 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
882 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
884 * ControlGraphics.C (applyParamsToInset): pass filepath to
885 InsetGraphics::updateInset.
887 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
889 * most files: ws cleanup
891 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
893 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
896 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
899 * ControlInclude.C: better error messages
901 2002-03-11 Herbert Voss <voss@lyx.org>
903 * biblio.C (parseBibTeX): fix another minibug with an
906 2002-03-10 Herbert Voss <voss@lyx.org>
908 * biblio.C (parseBibTeX): fix bug
909 (familyName): improve parsing
911 2002-03-09 Herbert Voss <voss@lyx.org>
913 * ControlGraphics.[Ch]: adding checkFilename() for testing
914 of non-existing files
916 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
918 * ControlSendto.C (allFormats): fix a iterators are not pointers
921 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
923 * ControlShowFile.h: add a #include "LString.h"
925 2002-03-05 Herbert Voss <voss@lyx.org>
927 * biblio.C (getInfo): simplify if using paragraph layout
930 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
932 * biblio.C (getInfo): return the info field correctly if the key
934 (parseBibTeX): fix crash when data.find('=') returns string::npos.
936 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
938 * ControlForks.[Ch]: new files. A controller for the Forked Child
939 processes dialog, enabling the user to see what forked processes
940 are running, and, if he so desires, to kill them.
942 * GUI.h: add class GUIForks.
944 * Makefile.am: add ControlForks.[Ch].
946 * ControlGraphics.C (getParams): small change due to change in
949 2002-02-21 Herbert Voss <voss@lyx.org>
951 * biblio.C: fix bug with commentlines in a bibentry
953 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
955 * Makefile.am: simpler obj. file compile
957 2002-02-18 Herbert Voss <voss@lyx.org>
959 * ControlGraphics.[Ch]: remove help-file call
961 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
963 * helper_funcs.h: wrap the structs firster and seconder up in a
964 namespace to avoid clashes with those in lyxalgo,h.
966 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
967 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
969 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
971 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
974 change Systemcalls::System to Systemcalls::Wait and
975 No change of functionality, just reflects the stripped down Systemcalls
978 2002-02-06 Herbert Voss <voss@lyx.org>
980 * ControlGraphics.[C] (readBB): search also in
981 g'zipped files. If it is useful than PK and compress
982 should also be supported. use unzipFile() from
985 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
987 * ControlRef.C (getBufferName): new method to get a real buffer
990 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
992 * ControlTexInfo.[Ch]: Removed Help functions.
994 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
996 * ControlSpellchecker.C: clear any selection left
999 2002-02-01 Herbert Voss <voss@lyx.org>
1001 * ControlGraphics.[C] (readBB): search only, if it is a
1002 ".?ps" file and look for bb's at end of file
1004 2002-01-30 Herbert Voss <voss@lyx.org>
1006 * ControlGraphic.[C]: do not search the whole file, when
1009 2002-01-29 Herbert Voss <voss@lyx.org>
1011 * ControlGraphic.[C]: added a button for document path
1012 when browsing -> bug 222
1014 2002-01-27 Herbert Voss <voss@lyx.org>
1016 * ControlGraphic.[Ch]: added support for Bounding Box, other
1019 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1021 * ControlAboutlyx.h:
1022 * ControlTexinfo.h: added #include "LString.h" where they belong.
1024 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlCitation.C:
1027 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1029 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1031 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1034 2002-01-20 Herbert Voss <voss@perce.de>
1036 * ControlInclude.[Ch]: better control of unexistings files
1037 when entered without the browser
1039 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1042 2002-01-19 Herbert Voss <voss@perce.de>
1044 * biblio.C (getInfo): fix bug when no author is given
1046 * biblio.C (parseBibTeX): change the parsing, so that
1047 '#'-characters in a bibtex entry are no more a problem.
1049 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1051 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1052 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1054 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1056 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1058 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1060 * ControlExternal.C (Browse): add a std:: qualifier
1062 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1064 * ControlExternal.C (Browse): simplify to use browseRelFile
1066 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1068 * ButtonController.tmpl: added // -*- C++ -*-
1070 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1071 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1072 Needed in _one_ of the ControlCommand-derived classes only.
1074 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1077 * ControlSearch.h: #include LString.h
1079 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1081 * ButtonController.h: split into two. The definition remains in
1082 ButtonController.h, the declaration is now in ButtonController.tmpl.
1083 These template methods should be #included when the derived class is
1084 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1085 and in the qt2 and gnome equivalents.
1087 * ControlDialogs.h: removed. The definition of class ControlDialog is
1088 now to be found in ControlDialog.h and the declaration of the methods
1089 is in ControlDialog.tmpl. The two template instantiations are performed
1090 in ControlDialog_impl.[Ch], new files also.
1092 * ControlInset.h: split into two. The definition remains in
1093 ControlInset.h, the declaration is now in ControlInset.tmpl.
1094 These template methods should be #included derived class is
1095 instantiated, in this case in 8 other .C files in this directory.
1097 * ControlAboutlyx.[Ch]:
1098 * ControlCharacter.[Ch]:
1102 * ControlExternal.C:
1104 * ControlGraphics.C:
1107 * ControlMinipage.C:
1108 * ControlPreamble.[Ch]:
1109 * ControlPrint.[Ch]:
1110 * ControlSearch.[Ch]:
1111 * ControlShowFile.[Ch]:
1112 * ControlSpellchecker.[Ch]:
1113 * ControlTabularCreate.[Ch]:
1114 * ControlTexinfo.[Ch]:
1115 * ControlThesaurus.[Ch]:
1116 * ControlVCLog.[Ch]: small changes associated with the above ones.
1118 * GUI.h: #include the ButtonController and dialog controller files
1119 here, rather than forward declare them. This is the correct place
1120 for these #includes.
1122 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1123 Rename ControlDialogs.h as ControlDialog.h.
1124 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1127 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1129 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1131 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1136 * ControlGraphics.C (Browse): remove overzealous shortcut
1138 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1140 * FormMinipage.C (apply, update): MinipageParams::width renamed
1141 as MinipageParams::pageWidth. InsetMinipage::width renamed
1142 as InsetMinipage::pageWidth.
1144 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1146 * ButtonController.h (refreshReadOnly): use explicit typename
1148 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1150 * helper_funcs.h (browseFile): add default empty button descriptions.
1152 * ControlGraphics.C (Browse):
1153 * ControlBibtex.C (Browse):
1154 * ControlInclude.C (Browse): add shortcuts to directory buttons
1156 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1158 * ControlThesaurus.h:
1159 * ControlThesaurus.C: update to Aiksaurus 0.14
1161 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1163 * ControlSpellchecker.C (clearParams): show the closing message
1164 only if some words have been checked, thereby fixing
1167 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1169 * ControlFloat.[Ch]: changes to prevent here definitely being used
1172 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1174 * ControlThesaurus.h: do not include <config.h> in header files
1176 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1178 * ControlToc.C: changes for floatlist
1180 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1182 * ControlVCLog.C: use _()
1184 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1186 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1189 2001-10-22 Juergen Vigna <jug@sad.it>
1191 * ControlSpellchecker.C (clearParams): use the error_ message of the
1192 speller_ if available when the spellchecker died.
1193 (setParams): remove double error message display.
1195 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1197 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1199 * helper_funcs.[Ch] (getLatexUnits): see above.
1201 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1203 * ControlTexinfo.C (getContents): use the right file for .sty files
1205 2001-10-10 Herbert Voss <voss@perce.de>
1207 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1208 and some more stuff from FormTexinfo.C
1210 * ControlShowFile.C: hiding the update-button
1212 2001-10-09 Herbert Voss <voss@perce.de>
1214 * ControlTexinfo.[Ch]: new files. Display information about the
1215 installed texfiles (cls,sty,bst).
1217 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1219 * GUI.h: added classes GUIShowFile and GUITexinfo.
1221 * Makefile.am: modified appropriately.
1223 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1225 * ControlAboutlyx.C (getVersion): use lyx_version and
1226 lyx_release_date instead of old macros
1228 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1230 * ControlSpellchecker.C (check): Behaves well now when the spell
1231 library doesn't know a replacement to an incorrect word.
1233 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1235 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1236 the correct place. Can now check spelling more than once!
1238 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1240 * ControlSplash.[Ch]: removed.
1242 * GUI.h: remove GUISplash class.
1244 * ViewBase.h: remove ViewSplash class.
1246 * Makefile.am: remove ControlSplash.[Ch].
1248 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1251 view will be shut down.
1254 * ControlInset.h: act on emergency_exit_.
1256 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1257 speller fails to launch.
1259 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1261 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1262 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1264 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ControlRef.h (disconnectOnApply): new method. Set to true.
1267 Perhaps make this user-modifiable?
1269 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1271 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1274 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1276 * ControlRef.C (getBufferList, getBufferNum): New methods
1278 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1280 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1281 of the dialog when the Apply button is pressed. Defaults to false,
1282 but can be overridden in the daughter classes.
1284 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1285 Perhaps make this user-modifiable?
1287 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1289 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1290 we have dialogs that update their contents when the buffer changes.
1291 Rather embarassing, really!
1293 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1295 * ControlSearch (replace): change semantics of replace to NOT move on
1296 to the next instance of a word once the present instance has been
1297 replaced unless we are replacing ALL instances of the word.
1299 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1301 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1303 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1305 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1306 dialog, set all options to "reset", close the dialog, re-open it ->
1307 the options are set incorrectly.
1309 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1310 When Applying it's useful to know whether the dialog is about to close
1311 or not (no point refreshing the display for example).
1313 * ControlInset.C (apply): use isClosing.
1315 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1318 * ControlDialogs.h: remove bc() hack, now fixed in
1319 Qt2 frontend. use member dialog_built_ instead of shared
1322 * ButtonController.h:
1323 * ButtonPolicies.C: more debug info
1325 * ButtonControllerBase.C: call refresh() when setting readOnly !
1327 * GUI.h: External form has apply, use the right policy
1329 * character.C: fix two off-by-one errors when latex font was removed
1331 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1333 * ControlInset.h (apply): tentative fix for the press Apply multiple
1334 times and get multiple new Insets problem.
1336 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1338 * ControlCharacter.C: fix typo
1342 * ControlInsets.C: make sure dialog is built before it is shown, so
1343 it works properly the very first time it is shown
1345 2001-08-20 Herbert Voss <voss@perce.de>
1347 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1348 and styles. Added an option for "bibliography into toc"
1350 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1352 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1353 LaTeX is no longer a font property.
1355 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1357 * GUI.h: Button controller for Reference dialog changed to
1358 NoRepeatedApplyReadOnlyPolicy.
1360 * biblio.C (getInfo): output volume and number info. Move year to end
1363 2001-08-09 Allan Rae <rae@lyx.org>
1365 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1367 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1369 * helper_funcs.C (getVectorFromString): fixed small bug.
1371 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1373 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1375 * ControlSpellchecker.C: check next word after insert in personal dict
1377 2001-08-06 Juergen Vigna <jug@sad.it>
1379 * ControlERT.[Ch]: new file
1381 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1383 * ControlInset.h: const and non-const forms of params().
1385 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1386 whitespace from either side of each item.
1388 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1390 * ControlFloat.h: add a != operator for FloatParams.
1391 Lars, how did you get this to compile!!!
1393 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1394 operator != for MinipageParams. Who's changing stuff and not compiling?
1396 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1398 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1401 * GUI.h: add class GUIFloat
1403 * ControlFloat.[Ch]: new files
1405 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1407 * ControlPrint.C: #include Lassert.h here.
1409 2001-07-26 Baruch Even <baruch@lyx.org>
1411 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1414 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1416 * ControlThesaurus.h:
1417 * ControlThesaurus.C:
1419 * Makefile.am: thesaurus support
1421 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1424 * ControlInclude.C: implement ability to load file
1426 2001-07-18 Juergen Vigna <jug@sad.it>
1428 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1430 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1432 * biblio.C (getInfo): add a .c_str() to handle the usual
1435 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1437 * ControlCitation.[Ch]: changes associated with adding natbib support.
1438 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1439 New static variable citeStyles_.
1441 * biblio.[Ch]: large internal rearrangement.
1442 New public enum CiteStyle.
1443 New public struct CitationStyle.
1444 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1445 getNumericalStrings, getAuthorYearStrings
1446 (simpleSearch, regexSearch): no longer publicly accessible.
1448 * helper_funcs.C (getStringFromVector): bug fix.
1450 2001-07-16 Baruch Even <baruch@lyx.org>
1452 * ControlVCLog.h: Added Lsstream.h to includes.
1454 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1456 * ControlSpellchecker.[Ch]: remove d-tor.
1458 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1460 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1462 2001-07-16 Juergen Vigna <jug@sad.it>
1464 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1465 compiled with USE_PSPELL) to be able to switch between ISpell and
1468 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1470 Consistent use of Lsstream.h:
1471 * ControlAboutlyx.[Ch] (getCredits):
1472 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1474 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1476 * ControlCredits.[Ch]: removed
1477 * ControlCopyright.[Ch]: removed
1478 * ControlAboutlyx.[Ch]: added (replaces previous)
1479 * GUI.h: removed credits and copyright added about lyx stuff
1481 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1483 * ControlSpellchecker.C (getSuggestion):
1484 (getWord): add std:: qualifier
1486 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1488 * ControlSpellchecker.[Ch]: added
1489 * ViewBase.h: added partialUpdate(int) member
1490 * GUI.h: added spell stuff
1492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1494 * ControlExternal.C: (*it). -> it->
1496 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1498 * ButtonController.h: move some included header files out of the
1499 frontends and into here.
1501 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1503 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1505 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1507 * *.[h]: added // -*- C++ -*-
1508 * *.[C]: removed // -*- C++ -*-
1510 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1511 activate Apply button.
1512 (clearParams): removed.
1513 font_ is now stored as a boost::scoped_ptr.
1514 font_ is no longer deleted on hide(), so it's contents can now be used
1515 by the Font button on the toolbar.
1516 Lots of new methods so that the GUI can easily get the contents of
1517 font_ when it update()s.
1519 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1521 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1522 crash when the Font button on the Toolbar is pressed.
1524 * GUI.h: change policy of Character button controller to
1525 OkApplyCancelReadOnlyPolicy.
1527 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1529 * ControlToc.C (getContents): don't add anything to the list if it
1530 is supposed to be empty.
1532 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1534 * helper_funcs.C (getVectorFromString): bug fix.
1536 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1538 * ButtonController.h
1539 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1540 from ButtonControllerBase::readOnly. Updates the state of the widgets
1541 in the read-only list only when the read-only status of the document
1543 (refresh): moved this stuff into refreshReadOnly.
1545 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1547 * ControlPrint.C (c-tor):
1548 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1550 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1553 * character.h: small clean-ups.
1555 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1557 * ControlToc.C (getType): remove support for old float list.
1559 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1561 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1562 * ControlGraphics.h: no longer include insetgraphicsParams.h
1563 * ControlInset.h: no longer include LyXView.h
1568 * ControlCharacter.C:
1569 * ControlCitation.C:
1571 * ControlConnections.C:
1572 * ControlCopyright.C:
1575 * ControlExternal.C:
1576 * ControlGraphics.C:
1579 * ControlMinipage.C:
1580 * ControlPreamble.C:
1584 * ControlTabularCreate.C:
1586 * ControlVCLog.C: they're now in here!
1588 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1590 * ButtonControllerBase.h: C++ mode, inherit privately from
1592 * ButtonPolicies.h: ditto
1594 * ButtonController.h: C++ mode, swap init order of restore_ and
1597 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1599 * ControlTabularCreate.h:
1600 * ControlTabularCreate.C: make dialogs use a pair of uints
1604 * ControlVCLog.C: fill a stringstream with the log contents
1607 * ControlExternal.C: from Angus, clone the new InsetExternal
1610 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1612 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1613 and made more robust.
1615 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1620 * ControlPreamble.C:
1622 * ControlGraphics.C:
1623 * ControlExternal.C:
1624 * ControlCopyright.C: include gettext.h
1626 * ControlCharacter.C:
1627 * character.C: include gettext.h and language.h
1629 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1631 * ButtonController.h:
1632 * ButtonControllerBase.h:
1633 * ButtonControllerBase.C:
1640 * ControlConnections.h:
1643 * ControlExternal.C:
1646 * ViewBase.h: s/ControlButton/ControlButtons/
1648 s/UndoAll/Restore/ + associated
1650 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1652 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1655 * Makefile.am: associated changes with all of the above.
1657 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1659 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1660 and edit, view, update the External Material correctly. I hope!
1662 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1664 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1666 * BCTemplates.h: renamed as ButtonController.h
1668 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1671 * ControlConnections.h: associated change in #include and class names.
1673 * ControlExternal.[Ch]: new files; a controller for the External
1677 * Makefile.am: associated changes with all of the above.
1679 * ControlGraphics.[Ch]:
1680 * ControlInclude.[Ch]:
1681 * ControlPrint.[Ch]:
1683 (Browse): new method. Returns the results of a FileDialog browse.
1685 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1686 (getVectorFromString): fixed bug.
1688 * biblio.C (simpleSearch): cleaned up.
1690 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1692 * A slight reworking of Baruch Even's ButtonController patch.
1694 * BCTemplates.h: new file; all the templates for the ButtonController.
1695 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1696 to the more generic setButtonLabel().
1698 * ButtonController.[Ch]: renamed cancel_label and close_label as
1699 cancel_label_ and close_label_.
1701 * Makefile.am: added BCTemplates.h
1703 2001-03-29 Juergen Vigna <jug@sad.it>
1705 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1706 to use new %-lengths of LyXLength.
1708 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1710 * ControlCitation.C (bibkeysInfo): removed Assert.
1712 * ControlCopyright.h: moved GUICopyright into GUI.h
1716 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1718 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1719 (setDaughterParams): a (by default empty) new method called in show().
1725 * ControlMinipage.h:
1728 * ControlUrl.h (clearDaughterParams): removed
1730 * ControlMinipage.C (applyParamsToInset): update the view.
1731 Added namespace minipage containing a helper function getUnits.
1733 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1735 * ControlCharacter.[Ch]: moved out all the helper functions and the
1736 enum into their own file.
1737 * character.[Ch]: new files; contain the character helper functions,
1738 now inside namespace character.
1740 * ControlCitation.[Ch]: moved out all the helper functions and the
1741 enums into their own file. Simplified interface.
1742 * biblio.[Ch]: new files; contain the citation helper functions,
1743 now inside namespace biblio. Will be of use also to an improved
1746 * ControlGraphics.[Ch]:
1747 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1748 popups, respectively.
1751 * Makefile.am: associated changes.
1753 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1755 * ControlMinipage.[Ch]:
1756 * ControlPreamble.[Ch]:
1757 * ControlPrint.[Ch]:
1758 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1759 and Print popups and Splash screen, respectively.
1761 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1765 * Makefile.am: associated changes.
1767 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1769 * ControlConnections.[Ch]: (docType): new method; returns the type
1770 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1773 * ControlSearch.[Ch]:
1774 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1775 Search and TabularCreate popups, respectively.
1778 * Makefile.am: associated changes.
1780 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1782 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1785 * ControlInset.h (apply): fix bug. Can now create new insets again.
1787 * README: describe program flow.
1789 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1791 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1793 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1795 * ControlDialogs.h: moved class ControlInset into its own file.
1797 * ControlInset.h: new file. class ControlInset has been expanded to take
1798 two template parameters, Inset and Params. Believe that all inset
1799 controllers can be derived from this with the minimum of effort.
1801 * ControlBibitem.[Ch]:
1802 * ControlBibtex.[Ch]:
1803 * ControlCitation.[Ch]:
1804 * ControlCommand.[Ch]: moved most code into ControlInset.
1806 * lots of files. Moved protected stuff into private where possible.
1808 * ControlError.[Ch]:
1809 * ControlInclude.[Ch]:
1810 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1811 Include and Url popups, respectively.
1814 * Makefile.am: associated changes.
1816 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1818 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1821 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1823 * ControlCredits.C (getCredits): remove std:: qualifier for
1826 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1828 * ControlCredits.C (getCredits): add std:: on vector
1830 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1832 * ControlCredits.C: remove using that is only used once, use
1833 std::ios instead of std::iosbase, add some annoying comments.
1835 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1837 * lots of header files: improved explanatory notes.
1839 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1840 ControlBase is now a class that only controls the interaction of the
1841 View with the ButtonController.
1843 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1844 to ControlConnectBase. The class controls the connection/disconnection
1845 of signals from the LyX kernel and makes available the kernel (through
1846 lv_) to daughter controller classes.
1847 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1849 * ControlDialogs.h: new file. Contains the definition of two template
1850 controller classes, ControlDialog and ControlInset (was
1851 ControlConnectInset). ControlInset is a parent class for controllers
1852 of inset-popups. ControlDialogs is the rather uninspired name for
1853 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1854 ControlDialogs is reaching a state of maturity as several popups now use
1855 it and its functionality becomes clear. ControlInset is still in a state
1856 of flux. It is likely that functionality will be moved out of
1857 ControlCommands and into it.
1859 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1860 individual Controller header files and into one place. These classes
1861 serve only as convenient wrappers to simplify code in the respective
1862 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1864 * ControlCharacter.[Ch] (show, update, hide):
1865 * ControlLog.[Ch] (show, update, hide):
1866 * ControlVCLog.[Ch] (show, update, hide): moved back into
1867 the ControlDialogs base class.
1868 (setParams, clearParams): new methods containing controller-specific
1869 code to set/reset the parameters manipulated by the view.
1871 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1873 (hide): calls clearParams.
1875 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1876 by ControlCommand::hide().
1878 * ControlCopyright.[Ch]:
1879 * ControlCredits.[Ch]: new files; controllers for the copyright and
1880 credits popups, respectively.
1882 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1884 * ControlCharacter.C: fix typo
1886 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1888 * ControlCharacter.[Ch]: new files; controller for the character popup.
1890 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1891 moved to new files helper_funcs.[Ch].
1893 * helper_funcs.[Ch]: new files. Some useful helper functions and
1896 * Makefile.am: added new files.
1898 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1900 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1902 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1905 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1906 Control log files, respectively.
1908 * Makefile.am: added new files.
1910 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1912 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1914 * Makefile.am: added ControlBibtex.[Ch].
1916 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1919 * ControlCitation.C: added "using SigC::slot" declaration.
1921 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1922 to FormCitation.C prior to the merger: "Do not put space between
1925 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1927 * several files: remove CXX_WORKING_NAMESPACES
1929 * ButtonController.h: noncopyable is in namespace boost
1930 * ButtonPolicies.h: ditto
1932 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1934 * Merging changes from BRANCH_MVC back into HEAD.
1936 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1938 * Makefile.am: add ControlBibitem.[Ch].
1940 * ControlBibitem.[Ch]: new files that together define the Controller
1941 for a Bibitem popup.
1943 * ControlCommand.h (c-tor): give kb_action a default value of
1946 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1948 * ControlCitation.[Ch]: moved search functions out of class.
1949 (bibkeysInfo): new method. Returns const reference to private data.
1950 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1953 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1955 * ControlCitation.[Ch]: added Search functions to the class,
1956 (shamelessly lifted from Marco's gnome code). I think that these would
1957 be better as helper functions outside the class, but this is a first
1960 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1962 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1964 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1965 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1966 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1967 implementation of FormCitation.
1969 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1971 * ButtonPolicies.h: add SMI_NOOP to enum.
1973 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1975 * ButtonController.C (input): add "optimising" if-statement. Actually,
1976 things don't work correctly without it...
1978 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1980 * ViewBase.h: remove #pragma directive
1982 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1985 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1987 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1989 * Makefile.am: added ButtonPolicies.[Ch]
1991 * ButtonController.[Ch]: ButtonController is split into
1992 ButtonControllerBase and a template ButtonController class. The base
1993 class no longer stores a pointer to a ButtonPolicy, but instead
1994 accesses the actual instantiation of the policy through a pure virtual
1995 method bp(). This method and the ButtonPolicy itself are instantiated
1996 in the templatised ButtonController class. This class is derived from
1997 the GUI-specific GUIBC class, meaning that the frontends know
1998 nothing about the actual policy decided upon by the controllers.
2000 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2001 Instead the actual instantiations are accessed through pure virtual
2002 methods view() and bc(). The daughter classes are responsible for the
2003 actual View and ButtonController.
2005 * ControlCitation.h: the templatised class GUICitation instantiates
2006 the methods view() and bc(). It also stores the instances of the
2007 View and ButtonController.
2009 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2011 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2012 also changed to ButtonController.
2015 * ControlConnections.[Ch]:
2016 * ControlCommand.[Ch]:
2017 * ControlCitation.[Ch]:
2018 * ViewBase.h: Changes associated with this.
2020 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2022 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2023 xforms/ButtonController class into a GUI-I class (here) and an
2024 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2026 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2027 from which all Dialog Controllers should be derived. the Controllers
2028 are GUI-independent, but are designed to control the behaviour of
2029 GUI-specific implementaions of each dialog.
2031 * ControlConnections.[Ch]: new files. Classes controlling the
2032 connections of buffer-independent, buffer-dependent and Inset dialogs
2033 with the LyX kernel.
2035 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2036 InsetCommand subset of insets.
2038 * ControlCitation.[Ch]: new files. The test specialisation! A
2039 controller for the Citation dialog.
2041 * ViewBase.h: new file. ViewBase is an abstract base class from which
2042 GUI-specific dialogs should be derived. The functionality that the GUIs
2043 must now implement is much reduced.