1 2003-03-05 Angus Leeming <leeming@lyx.org>
3 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
5 * Dialog.h: make view() public. Add dialog() methods.
7 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9 * ControlGraphics.C: removed #include "converter.h"
11 * ControlSendto.C: added #include "format.h"
13 2003-02-27 Angus Leeming <leeming@lyx.org>
15 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
17 * Makefile.am: add the new files.
19 2003-02-27 Angus Leeming <leeming@lyx.org>
21 * ControlBibitem.C (c-tor):
22 * ControlBibtex.C (c-tor):
23 * ControlCitation.C (c-tor):
24 * ControlIndex.C (c-tor):
25 * ControlRef.C (c-tor):
26 * ControlToc.C (c-tor):
27 * ControlUrl.C (c-tor):
28 pass "name" to ControlCommand c-tor,
31 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
34 * ControlERT.C (dispatchParams): use "name" rather than a
37 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
39 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
41 2003-02-21 Angus Leeming <leeming@lyx.org>
44 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
46 * ControlBibitem.[Ch]:
48 * ControlCitation.[Ch]:
49 * ControlCommand.[Ch]:
54 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
55 individual controllers too.
56 Move 'apply' code into the LyX kernel.
58 * ControlConnections.C: temporary renaming of Dialogs::signals.
60 * Makefile.am: add new files.
62 2003-02-21 Angus Leeming <leeming@lyx.org>
64 * ControlBibtex.C (Browse):
65 * ControlExternal.C (Browse):
66 * ControlGraphics.C (Browse):
67 * ControlInclude.C (Browse):
68 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
70 * ControlPrint.C (Browse):
71 don't pass a LyXView & to browseFile et al.
72 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
73 don't pass a LyXView & to fileDlg.
75 2003-02-17 John Levon <levon@movementarian.org>
77 * ControlDialog.tmpl: build dialog before calling setParams
78 for the benefit of ControlSpellchecker
80 * ControlSpellchecker.h:
81 * ControlSpellchecker.C: rework. Lots of bugs fixed and
84 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
86 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
87 of available *.bib-files from bibFiles.lst).
89 * tex_helpers.C (getTexFileList): sort and dis-duplicate
90 listWithoutPath correctly.
92 2003-02-08 John Levon <levon@movementarian.org>
95 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
97 2003-02-08 John Levon <levon@movementarian.org>
101 * ControlChanges.C: add merge changes dialog
104 * ControlPrefs.C: add setCurrentAuthor()
106 2003-01-31 Angus Leeming <leeming@lyx.org>
108 * ViewBase.h: add an isVisible() pure virtual method.
110 * ControlTabular.C (updateInset): don't build the dialog here.
111 Instead, do nothing if the dialog is invisible.
113 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
115 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
117 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
119 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
121 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
123 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
125 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
127 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * several files: ws changes
131 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * ControlDocument.C (classApply): use boost.format
135 2002-11-29 Angus Leeming <leeming@lyx.org>
137 * ControlButtons.h (isClosing): make it public, so that the view can
139 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
142 * ControlPrefs.[Ch] (OKButton): removed.
144 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
145 dialog isClosing(). (Ie, if the "save" button has been pressed.)
147 2002-11-28 John Levon <levon@movementarian.org>
149 * ControlSpellchecker.C: fix Lars' broken cleanup
151 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
153 * ControlTabular.[Ch]: Add isMulticolumnCell
155 2002-11-27 Angus Leeming <leeming@lyx.org>
157 * ControlMath.C (ControlMath): initialise active_.
159 2002-11-25 Angus Leeming <leeming@lyx.org>
161 * ControlDialog.h (hide, update): move from protected to public.
163 * ControlMath.[Ch]: add controllers for the main math panel dialog and
164 for any daughter dialogs stored by the main panel.
166 2002-11-21 Angus Leeming <leeming@lyx.org>
168 * ControlDocument.[Ch] (classApply): no longer returns bool.
169 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
171 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
173 * biblio.C (getAbbreviatedAuthor): use boost::format
175 * ControlSpellchecker.C (clearParams): use boost::format
177 2002-11-20 John Levon <levon@movementarian.org>
179 * ControlMath.C: couple more manglings
181 2002-11-20 John Levon <levon@movementarian.org>
184 * ControlMath.C: add find_xpm mangler
186 2002-11-17 John Levon <levon@movementarian.org>
188 * helper_funcs.C and users: specify save/open in file dialog
190 2002-11-15 John Levon <levon@movementarian.org>
193 * ControlPrefs.C: use setParams()
195 2002-11-15 John Levon <levon@movementarian.org>
197 * ControlButtons.h: make OKButton() virtual for prefs
200 * ControlPrefs.C: updates for xforms port to MVC
204 * ControlTabular.C: add simple MVC port
206 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
208 * ControlInclude.C: fix file format masks for qt's use
210 2002-11-13 John Levon <levon@movementarian.org>
214 * ControlPrefs.C: add skeleton controller
216 2002-11-12 John Levon <levon@movementarian.org>
218 * biblio.C: fix warnings
220 2002-11-12 Angus Leeming <leeming@lyx.org>
222 * ControlSpellchecker.C (check): fix crash
223 * biblio.C (escape_special_chars): simplify BRE.
225 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
227 * ControlDocument.[Ch]: Remove unused method
229 2002-11-07 Angus Leeming <leeming@lyx.org>
231 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
232 * clean-up the search code in biblio.C.
234 2002-11-07 John Levon <levon@movementarian.org>
236 * ControlGraphics.C: QGraphics fixes
238 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
240 * ControlDocument.C: (SaveAsDefault) make it work.
241 fix buffer update on class change
243 2002-11-06 Angus Leeming <leeming@lyx.org>
245 * biblio.C (searchKeys and helper functions): rewritten entirely
246 using the STL. Boost::regex searching now works as the old 1.2 code
249 2002-11-06 Angus Leeming <leeming@lyx.org>
251 * biblio.C: clean-up of the code. No change in functionality.
253 2002-11-04 Angus Leeming <leeming@lyx.org>
255 * ControlGraphics.[Ch] (getUnits): moved out of class and into
256 frnt::getBBUnits(). Code cleaned also.
258 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * biblio.C (regexSearch): STRCONV
263 * ControlAboutlyx.C (getVersion): STRCONV
265 * ControlMath.C: include config.h
267 2002-10-31 John Levon <levon@movementarian.org>
270 * ControlGraphics.C: bb units from Herbert
272 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
274 * ControlParagraph.[Ch] (alignDefault): new method, returning the
275 default alignment (block, left, right, center) of this paragraph.
277 2002-10-25 John Levon <levon@movementarian.org>
279 * ControlPrint.C: using endl
281 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
283 * ControlPrint.[Ch]: move code here from Liason.[Ch].
285 * ControlSpellchecker.h (getCount): new method.
286 * ControlSpellchecker.[Ch]: constify some accessor methods.
288 2002-10-22 Angus Leeming <leeming@lyx.org>
290 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
291 alphabetical order once again.
293 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
294 Add a list of CheckedWidget ptrs to ButtonControllerBase
295 together with methods addCheckedWidget and checkWidgets to use it.
297 * ButtonController.tmpl (refresh): use the return value of
298 checkWidgets to control the activation state of the Ok, Apply, Restore
301 * ControlDialog.tmpl (show, update):
302 * ControlInset.tmpl (showInset, update):
303 invoke ButtonController::refresh to ensure that the activation state of
304 the Ok, Apply buttons reflects the valid-state of the widgets.
306 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
308 * tex_helpers.C (rescanTexStyles): don't pop p
311 * ControlWrap.C (WrapParms): remove initialization of placement,
312 and move empty c-tor to .h class def.
314 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
315 of on stringsteam, return void. Get the file into the stream as
318 * ControlPreamble.[Ch] (params): getter and setter for params_, make
319 params_ into a string, not just a pointer to string.
321 * ControlExternal.C (getTemplateNumber): put i into the for scope,
322 and use the sequence operator on the last for "parameter"
323 (getTemplate): use std::advance to advance the iterator.
325 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
326 instead of on a stringstream, return void. Get the file into the
327 stream as fast as possible.
328 (getVersion): use ostringstream
330 * lots of files: ws changes, formatting fixes
332 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * ControlCharacter.C (apply): setMinibuffer change
335 * ControlDocument.C (apply): ditto
337 * ControlThesaurus.C (replace): ditto
338 * ControlSearch.C (find): ditto
340 * ControlPreamble.C (apply): ditto
341 * ControlParagraph.C (apply): ditto
343 2002-10-14 André Pönitz <poenitz@gmx.net>
345 * ControlDocument.C: somebody else's fix for a hard lockup
347 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
351 * Makefile.am: New document parameters controller
353 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
357 2002-09-24 Angus Leeming <leeming@lyx.org>
359 * ControlConnections.h: remove trailing whitespace.
361 * biblio.h: #include "LString.h".
363 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
365 * ControlGraphics.C: Change GUI origin strings into proper English.
367 2002-09-09 John Levon <levon@movementarian.org>
369 * ControlInclude.C: fix file masks. Get rid of noload,
370 remove stupid warning
372 2002-09-09 John Levon <levon@movementarian.org>
375 * ControlMath.C: add latex_deco
377 2002-09-06 John Levon <levon@movementarian.org>
379 * ControlMath.C: terminate dots
381 2002-09-05 Angus Leeming <leeming@lyx.org>
383 * all files: modify the headers as discussed on the list.
385 2002-08-30 John Levon <levon@movementarian.org>
388 * ControlMath.C: moved from MathsSymbols.C
390 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
392 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
394 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
396 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
397 first item in the list
399 2002-08-15 Angus Leeming <leeming@lyx.org>
401 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
403 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
405 2002-08-15 Angus Leeming <leeming@lyx.org>
407 * lots: changed my email address to leeming@lyx.org.
409 * GUI.h: return it to private derivation from boost::noncopyable.
411 2002-08-14 Angus Leeming <leeming@lyx.org>
413 * GUI.h: public derivation from boost::noncopyable.
415 2002-08-14 Angus Leeming <leeming@lyx.org>
417 * GUI.h: class GUI deries from boost::noncopyable
419 * ControlButtons.h: no longer derives from DialogBase, but instead
420 derives directly from boost::noncopyable.
422 * ViewBase.h: derives from boost::noncopyable.
424 * ControlCharacter.C:
426 * ControlConnections.C:
429 * ControlParagraph.C:
433 * ControlSpellchecker.C:
435 * ControlThesaurus.C:
436 rearrange #includes. Remove unnecessary ones.
438 * ControlError.h: add "insets/inseterror.h".
440 * helper_funcs.h: add necessary #includes.
442 * tex_helpers.[Ch]: add #pragma directives for g++.
444 * Makefile.am: remove src/frontends from -I list to compiler.
446 2002-08-13 Angus Leeming <leeming@lyx.org>
448 * ControlConnections.C:
450 changes due to the changed LyXView interface that now returns references
451 to member variables not pointers.
453 2002-08-12 Angus Leeming <leeming@lyx.org>
455 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
456 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
457 for the most commonly accessed core methods, to minimise code
460 * many files: use these wrappers and remove associated #includes.
462 2002-08-12 Angus Leeming <leeming@lyx.org>
464 * ControlButtons.[Ch] (bc, view): no longer virtual.
465 (setView, setButtonController): new methods, invoked by GUI.
467 * ControlDialog.h (show):
468 * ControlInset.h (createInset, showInset): make public, so that GUI can
471 * GUI.h: GUI now contains a controller, rather than deriving from it.
472 remove all those friend functions since we can now access the show,
473 createInset, showInset controller methods.
475 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
478 * character.h: #include a couple of STL files.
480 2002-08-08 John Levon <levon@movementarian.org>
482 * ControlCommandBuffer.C: LyXAction cleanup
484 2002-08-07 John Levon <levon@movementarian.org>
486 * ControlSpellchecker.C: fix crash when spellchecker doesn't
489 2002-08-06 John Levon <levon@movementarian.org>
491 * ControlSpellchecker.C:
492 * ControlSpellchecker.h: use WordLangTuple
494 2002-08-06 John Levon <levon@movementarian.org>
496 * ControlSpellchecker.C: show an alert with the
497 error message on initialisation failure
499 2002-08-04 John Levon <levon@movementarian.org>
501 * ControlSpellchecker.h:
502 * ControlSpellchecker.C: some cleanups
504 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
506 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
508 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
509 the Dialogs::updateParagraph signal is emitted.
511 2002-08-02 Angus Leeming <leeming@lyx.org>
513 * ControlCharacter.C (apply):
514 * ControlERT.C (applyParamsToInset):
515 * ControlParagraph.C (apply):
516 * ControlSearch.C (find, replace):
517 * ControlThesaurus.C (replace): changes due to LyXView::view() now
518 returning a boost::shared_ptr.
520 2002-08-01 John Levon <levon@movementarian.org>
522 * ControlSendto.C: writeFile() change
524 2002-08-01 John Levon <levon@movementarian.org>
526 * ControlSpellchecker.h:
527 * ControlSpellchecker.C: remove options
529 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * several files: strip,frontStrip -> trim,ltrim,rtrim
533 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
535 * biblio.C (parseBibTeX): modify because of strip changes
537 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
539 * ControlFloat.[Ch]: Implement Wide Float toggle
540 Replace "allow_here_definitely" by "wide"
542 2002-07-22 Herbert Voss <voss@lyx.org>
544 * ControlGraphics.C: small changes
546 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
548 * ControlToc.C: remove getType
550 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
552 * ControlCommandBuffer.C: don't add "" to history
554 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
556 * ControlRef.C: fix dispatch call nicely
558 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
561 * ControlCommandBuffer.h:
562 * ControlCommandBuffer.C: add controller for command (mini) buffer
565 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
567 * ControlRef.C: fix dispatch call
569 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
571 * ControlCharacter.C: use view_state_changed not setState
573 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
575 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
577 2002-07-15 Mike Fabian <mfabian@suse.de>
579 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
580 of compare_no_case, because in turkish, 'i' is not the lowercase
581 version of 'I', and thus turkish locale breaks parsing of tags.
583 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
585 * ControlBibtex.C (applyParamsToInset): ws change
587 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
589 * ControlInclude.C: Add warning if absolute path name and
590 check_typeset is used together
592 2002-06-28 Angus Leeming <leeming@lyx.org>
594 * ControlGraphics.C: changes associated with the name changes
595 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
597 2002-06-25 Angus Leeming <leeming@lyx.org>
599 * ControlGraphics.C (readBB): Channges associated with the changed
600 interface to the graphics cache.
602 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
604 * ControlParagraph.C: layout as layout
606 2002-06-21 Angus Leeming <leeming@lyx.org>
608 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
609 * tex_helpers.h: #include "LString.h".
611 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
614 * ControlBibitem.C: use repaint()
616 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
618 * ControlTexinfo.C: do the same for Texinfo
620 * tex_helpers.C: don't try to read a file that isn't there
622 2002-06-21 Herbert Voss <voss@perce.de>
624 * ControlBibtex.C: do an automatic update, when no bst-list
627 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
629 * GUI.h: createIndex() changed
631 2002-06-18 Herbert Voss <voss@perce.de>
633 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
634 helperstuff. Now the bibtex gui can use some of these functions
636 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
638 * ControlGraphics.C: just make the mask *.*
640 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * changes to simplify function setup, removal of a lot of includes.
644 2002-06-12 Angus Leeming <leeming@lyx.org>
646 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
648 2002-06-12 Angus Leeming <leeming@lyx.org>
650 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
652 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
654 * ControlParagraph.[Ch]: new paragraph controller
655 * GUI.h: add new controller
658 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
660 * GUI.h: do not include ButtonController.tmpl
662 * ControlInset.h: include ControlInset.tmpl
664 * ControlCitation.C: do not include ControlInset.tmpl
665 * ControlCommand.C: ditto
666 * ControlERT.C: ditto
667 * ControlError.C: ditto
668 * ControlExternal.C: ditto
669 * ControlFloat.C: ditto
670 * ControlGraphics.C: ditto
671 * ControlInclude.C: ditto
672 * ControlMinipage.C: ditto
674 * ControlDialog.tmpl: remove the Base:: prefix
676 2002-06-07 Angus Leeming <leeming@lyx.org>
678 Fixes needed to compile with Compaq cxx 6.5.
679 * ControlDialog.tmpl: I have had to prefix base class methods with
682 * ControlInset.tmpl: #include a couple of headers.
684 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
686 * switch from SigC signals to boost::signals
688 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * biblio.h: include vector
692 * biblio.C: change include order
693 (regexSearch): use boost regex and get rid of LRegex
695 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
700 * ControlCharacter.C:
703 * ControlConnections.C:
720 * ControlSpellchecker.C:
721 * ControlTabularCreate.C:
723 * ControlThesaurus.C:
726 * ControlVCLog.C: LyXView moved into frontends
728 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * ControlExternal.C: add scoped_ptr.hpp
732 * ControlCharacter.h: use more specific smart_ptr header.
734 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
736 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
738 2002-05-13 Herbert Voss <voss@perce.de>
740 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
741 like "Odland, G. and ... "
742 (parseBibTeX): fix bug with title and booktitle
743 and replace a \n with a space when one entry has more than
746 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
748 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
749 "No change" and "Reset".
751 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
752 them at the front of the list.
754 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
756 * ControlGraphics.C: add some comments to the char * arrays.
757 Make rorigin_size const.
759 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
761 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
762 Enables the gui's to internationalise these strings.
764 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
766 * frnt_lang.C: fix build
768 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
770 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
771 If the the caller is the character dialog, add "No change" and "Reset"
772 to the vector, else don't.
773 Internationalise the GUI strings here rather than in the different
775 Sort the translated strings, albeit simply.
777 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
779 * character.[Ch]: rename namespace character as namespace frnt.
781 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
782 as several dialogs will use this info. The function now returns a
783 vector<LanguagePair> where LanguagePair is a display string and an
784 identifying string. The display string is internationalised.
786 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
787 the identifying strings, "No change" and "Reset".
789 * Makefile.am: add frnt_lang.[Ch].
791 2002-04-25 Herbert Voss <voss@lyx.org>
793 * ControlSendto.C (allFormats): don't add the graphics extensions to the
796 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
798 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
799 BibTeX databases in a WYSIWYM way.
801 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
803 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
804 way past his use-by date.
805 Make use of the improved info from Buffer::getBibkeyList when using
806 \bibliography. Enables us to provide natbib support in this case too.
808 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
810 * ControlGraphics.C: pass the browseFile dialog a string of only those
811 formats that can currently be loaded by LyX.
813 2002-04-15 Herbert Voss <voss@perce.de>
815 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
816 with something like ,,...blah...`` (two commas)
818 2002-04-14 Herbert Voss <voss@perce.de>
820 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
821 into the support/lstrings for better use in other programs.
823 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
824 namespace anon and make globally accessible.
825 (familyName): test for the presence of a LaTeX Space at the front of
826 of a name; strip it if it exists.
828 2002-04-11 Herbert Voss <voss@perce.de>
830 * ControlGraphics.C: expand "browse-string" to all available formats
832 2002-04-11 Herbert Voss <voss@perce.de>
834 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
836 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
838 * ControlAboutlyx.C (getVersion): two _() forgotten
840 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
844 * ControlBibtex.C: make N_() be _()
846 2002-04-07 Herbert Voss <voss@perce.de>
848 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
850 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
852 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
853 used when reading the BB.
855 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
857 * ControlGraphics.C (readBB): Don't open the ifstrem and then
858 check the format from the contents (and open a second ifstream in the
859 process. One at a time please.
861 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
863 * ControlRef.C (getBufferNum): squash warning message.
865 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlBibtex.C (Browse):
868 * ControlGraphics.C (Browse):
869 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
871 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
873 * ControlGraphics.C (applyParamsToInset): pass filepath to
874 InsetGraphics::updateInset.
876 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
878 * most files: ws cleanup
880 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
882 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
885 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
888 * ControlInclude.C: better error messages
890 2002-03-11 Herbert Voss <voss@lyx.org>
892 * biblio.C (parseBibTeX): fix another minibug with an
895 2002-03-10 Herbert Voss <voss@lyx.org>
897 * biblio.C (parseBibTeX): fix bug
898 (familyName): improve parsing
900 2002-03-09 Herbert Voss <voss@lyx.org>
902 * ControlGraphics.[Ch]: adding checkFilename() for testing
903 of non-existing files
905 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * ControlSendto.C (allFormats): fix a iterators are not pointers
910 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
912 * ControlShowFile.h: add a #include "LString.h"
914 2002-03-05 Herbert Voss <voss@lyx.org>
916 * biblio.C (getInfo): simplify if using paragraph layout
919 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
921 * biblio.C (getInfo): return the info field correctly if the key
923 (parseBibTeX): fix crash when data.find('=') returns string::npos.
925 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
927 * ControlForks.[Ch]: new files. A controller for the Forked Child
928 processes dialog, enabling the user to see what forked processes
929 are running, and, if he so desires, to kill them.
931 * GUI.h: add class GUIForks.
933 * Makefile.am: add ControlForks.[Ch].
935 * ControlGraphics.C (getParams): small change due to change in
938 2002-02-21 Herbert Voss <voss@lyx.org>
940 * biblio.C: fix bug with commentlines in a bibentry
942 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
944 * Makefile.am: simpler obj. file compile
946 2002-02-18 Herbert Voss <voss@lyx.org>
948 * ControlGraphics.[Ch]: remove help-file call
950 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
952 * helper_funcs.h: wrap the structs firster and seconder up in a
953 namespace to avoid clashes with those in lyxalgo,h.
955 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
956 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
958 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
960 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
963 change Systemcalls::System to Systemcalls::Wait and
964 No change of functionality, just reflects the stripped down Systemcalls
967 2002-02-06 Herbert Voss <voss@lyx.org>
969 * ControlGraphics.[C] (readBB): search also in
970 g'zipped files. If it is useful than PK and compress
971 should also be supported. use unzipFile() from
974 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
976 * ControlRef.C (getBufferName): new method to get a real buffer
979 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
981 * ControlTexInfo.[Ch]: Removed Help functions.
983 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
985 * ControlSpellchecker.C: clear any selection left
988 2002-02-01 Herbert Voss <voss@lyx.org>
990 * ControlGraphics.[C] (readBB): search only, if it is a
991 ".?ps" file and look for bb's at end of file
993 2002-01-30 Herbert Voss <voss@lyx.org>
995 * ControlGraphic.[C]: do not search the whole file, when
998 2002-01-29 Herbert Voss <voss@lyx.org>
1000 * ControlGraphic.[C]: added a button for document path
1001 when browsing -> bug 222
1003 2002-01-27 Herbert Voss <voss@lyx.org>
1005 * ControlGraphic.[Ch]: added support for Bounding Box, other
1008 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1010 * ControlAboutlyx.h:
1011 * ControlTexinfo.h: added #include "LString.h" where they belong.
1013 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1015 * ControlCitation.C:
1016 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1018 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1020 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1023 2002-01-20 Herbert Voss <voss@perce.de>
1025 * ControlInclude.[Ch]: better control of unexistings files
1026 when entered without the browser
1028 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1031 2002-01-19 Herbert Voss <voss@perce.de>
1033 * biblio.C (getInfo): fix bug when no author is given
1035 * biblio.C (parseBibTeX): change the parsing, so that
1036 '#'-characters in a bibtex entry are no more a problem.
1038 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1040 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1041 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1043 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1045 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1047 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1049 * ControlExternal.C (Browse): add a std:: qualifier
1051 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1053 * ControlExternal.C (Browse): simplify to use browseRelFile
1055 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ButtonController.tmpl: added // -*- C++ -*-
1059 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1060 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1061 Needed in _one_ of the ControlCommand-derived classes only.
1063 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ControlSearch.h: #include LString.h
1068 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ButtonController.h: split into two. The definition remains in
1071 ButtonController.h, the declaration is now in ButtonController.tmpl.
1072 These template methods should be #included when the derived class is
1073 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1074 and in the qt2 and gnome equivalents.
1076 * ControlDialogs.h: removed. The definition of class ControlDialog is
1077 now to be found in ControlDialog.h and the declaration of the methods
1078 is in ControlDialog.tmpl. The two template instantiations are performed
1079 in ControlDialog_impl.[Ch], new files also.
1081 * ControlInset.h: split into two. The definition remains in
1082 ControlInset.h, the declaration is now in ControlInset.tmpl.
1083 These template methods should be #included derived class is
1084 instantiated, in this case in 8 other .C files in this directory.
1086 * ControlAboutlyx.[Ch]:
1087 * ControlCharacter.[Ch]:
1091 * ControlExternal.C:
1093 * ControlGraphics.C:
1096 * ControlMinipage.C:
1097 * ControlPreamble.[Ch]:
1098 * ControlPrint.[Ch]:
1099 * ControlSearch.[Ch]:
1100 * ControlShowFile.[Ch]:
1101 * ControlSpellchecker.[Ch]:
1102 * ControlTabularCreate.[Ch]:
1103 * ControlTexinfo.[Ch]:
1104 * ControlThesaurus.[Ch]:
1105 * ControlVCLog.[Ch]: small changes associated with the above ones.
1107 * GUI.h: #include the ButtonController and dialog controller files
1108 here, rather than forward declare them. This is the correct place
1109 for these #includes.
1111 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1112 Rename ControlDialogs.h as ControlDialog.h.
1113 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1116 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1118 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1120 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1122 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1125 * ControlGraphics.C (Browse): remove overzealous shortcut
1127 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1129 * FormMinipage.C (apply, update): MinipageParams::width renamed
1130 as MinipageParams::pageWidth. InsetMinipage::width renamed
1131 as InsetMinipage::pageWidth.
1133 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1135 * ButtonController.h (refreshReadOnly): use explicit typename
1137 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1139 * helper_funcs.h (browseFile): add default empty button descriptions.
1141 * ControlGraphics.C (Browse):
1142 * ControlBibtex.C (Browse):
1143 * ControlInclude.C (Browse): add shortcuts to directory buttons
1145 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1147 * ControlThesaurus.h:
1148 * ControlThesaurus.C: update to Aiksaurus 0.14
1150 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1152 * ControlSpellchecker.C (clearParams): show the closing message
1153 only if some words have been checked, thereby fixing
1156 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1158 * ControlFloat.[Ch]: changes to prevent here definitely being used
1161 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1163 * ControlThesaurus.h: do not include <config.h> in header files
1165 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1167 * ControlToc.C: changes for floatlist
1169 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1171 * ControlVCLog.C: use _()
1173 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1175 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1178 2001-10-22 Juergen Vigna <jug@sad.it>
1180 * ControlSpellchecker.C (clearParams): use the error_ message of the
1181 speller_ if available when the spellchecker died.
1182 (setParams): remove double error message display.
1184 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1186 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1188 * helper_funcs.[Ch] (getLatexUnits): see above.
1190 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1192 * ControlTexinfo.C (getContents): use the right file for .sty files
1194 2001-10-10 Herbert Voss <voss@perce.de>
1196 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1197 and some more stuff from FormTexinfo.C
1199 * ControlShowFile.C: hiding the update-button
1201 2001-10-09 Herbert Voss <voss@perce.de>
1203 * ControlTexinfo.[Ch]: new files. Display information about the
1204 installed texfiles (cls,sty,bst).
1206 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1208 * GUI.h: added classes GUIShowFile and GUITexinfo.
1210 * Makefile.am: modified appropriately.
1212 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1214 * ControlAboutlyx.C (getVersion): use lyx_version and
1215 lyx_release_date instead of old macros
1217 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1219 * ControlSpellchecker.C (check): Behaves well now when the spell
1220 library doesn't know a replacement to an incorrect word.
1222 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1224 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1225 the correct place. Can now check spelling more than once!
1227 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1229 * ControlSplash.[Ch]: removed.
1231 * GUI.h: remove GUISplash class.
1233 * ViewBase.h: remove ViewSplash class.
1235 * Makefile.am: remove ControlSplash.[Ch].
1237 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1239 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1240 view will be shut down.
1243 * ControlInset.h: act on emergency_exit_.
1245 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1246 speller fails to launch.
1248 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1251 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1253 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1255 * ControlRef.h (disconnectOnApply): new method. Set to true.
1256 Perhaps make this user-modifiable?
1258 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1260 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1263 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1265 * ControlRef.C (getBufferList, getBufferNum): New methods
1267 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1269 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1270 of the dialog when the Apply button is pressed. Defaults to false,
1271 but can be overridden in the daughter classes.
1273 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1274 Perhaps make this user-modifiable?
1276 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1278 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1279 we have dialogs that update their contents when the buffer changes.
1280 Rather embarassing, really!
1282 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1284 * ControlSearch (replace): change semantics of replace to NOT move on
1285 to the next instance of a word once the present instance has been
1286 replaced unless we are replacing ALL instances of the word.
1288 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1290 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1292 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1294 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1295 dialog, set all options to "reset", close the dialog, re-open it ->
1296 the options are set incorrectly.
1298 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1299 When Applying it's useful to know whether the dialog is about to close
1300 or not (no point refreshing the display for example).
1302 * ControlInset.C (apply): use isClosing.
1304 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1307 * ControlDialogs.h: remove bc() hack, now fixed in
1308 Qt2 frontend. use member dialog_built_ instead of shared
1311 * ButtonController.h:
1312 * ButtonPolicies.C: more debug info
1314 * ButtonControllerBase.C: call refresh() when setting readOnly !
1316 * GUI.h: External form has apply, use the right policy
1318 * character.C: fix two off-by-one errors when latex font was removed
1320 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1322 * ControlInset.h (apply): tentative fix for the press Apply multiple
1323 times and get multiple new Insets problem.
1325 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1327 * ControlCharacter.C: fix typo
1331 * ControlInsets.C: make sure dialog is built before it is shown, so
1332 it works properly the very first time it is shown
1334 2001-08-20 Herbert Voss <voss@perce.de>
1336 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1337 and styles. Added an option for "bibliography into toc"
1339 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1341 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1342 LaTeX is no longer a font property.
1344 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1346 * GUI.h: Button controller for Reference dialog changed to
1347 NoRepeatedApplyReadOnlyPolicy.
1349 * biblio.C (getInfo): output volume and number info. Move year to end
1352 2001-08-09 Allan Rae <rae@lyx.org>
1354 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1356 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1358 * helper_funcs.C (getVectorFromString): fixed small bug.
1360 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1362 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1364 * ControlSpellchecker.C: check next word after insert in personal dict
1366 2001-08-06 Juergen Vigna <jug@sad.it>
1368 * ControlERT.[Ch]: new file
1370 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1372 * ControlInset.h: const and non-const forms of params().
1374 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1375 whitespace from either side of each item.
1377 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1379 * ControlFloat.h: add a != operator for FloatParams.
1380 Lars, how did you get this to compile!!!
1382 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1383 operator != for MinipageParams. Who's changing stuff and not compiling?
1385 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1387 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1390 * GUI.h: add class GUIFloat
1392 * ControlFloat.[Ch]: new files
1394 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1396 * ControlPrint.C: #include Lassert.h here.
1398 2001-07-26 Baruch Even <baruch@lyx.org>
1400 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1403 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1405 * ControlThesaurus.h:
1406 * ControlThesaurus.C:
1408 * Makefile.am: thesaurus support
1410 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1413 * ControlInclude.C: implement ability to load file
1415 2001-07-18 Juergen Vigna <jug@sad.it>
1417 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1419 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1421 * biblio.C (getInfo): add a .c_str() to handle the usual
1424 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1426 * ControlCitation.[Ch]: changes associated with adding natbib support.
1427 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1428 New static variable citeStyles_.
1430 * biblio.[Ch]: large internal rearrangement.
1431 New public enum CiteStyle.
1432 New public struct CitationStyle.
1433 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1434 getNumericalStrings, getAuthorYearStrings
1435 (simpleSearch, regexSearch): no longer publicly accessible.
1437 * helper_funcs.C (getStringFromVector): bug fix.
1439 2001-07-16 Baruch Even <baruch@lyx.org>
1441 * ControlVCLog.h: Added Lsstream.h to includes.
1443 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1445 * ControlSpellchecker.[Ch]: remove d-tor.
1447 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1449 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1451 2001-07-16 Juergen Vigna <jug@sad.it>
1453 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1454 compiled with USE_PSPELL) to be able to switch between ISpell and
1457 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1459 Consistent use of Lsstream.h:
1460 * ControlAboutlyx.[Ch] (getCredits):
1461 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1463 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1465 * ControlCredits.[Ch]: removed
1466 * ControlCopyright.[Ch]: removed
1467 * ControlAboutlyx.[Ch]: added (replaces previous)
1468 * GUI.h: removed credits and copyright added about lyx stuff
1470 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1472 * ControlSpellchecker.C (getSuggestion):
1473 (getWord): add std:: qualifier
1475 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1477 * ControlSpellchecker.[Ch]: added
1478 * ViewBase.h: added partialUpdate(int) member
1479 * GUI.h: added spell stuff
1481 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1483 * ControlExternal.C: (*it). -> it->
1485 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1487 * ButtonController.h: move some included header files out of the
1488 frontends and into here.
1490 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1492 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1494 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1496 * *.[h]: added // -*- C++ -*-
1497 * *.[C]: removed // -*- C++ -*-
1499 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1500 activate Apply button.
1501 (clearParams): removed.
1502 font_ is now stored as a boost::scoped_ptr.
1503 font_ is no longer deleted on hide(), so it's contents can now be used
1504 by the Font button on the toolbar.
1505 Lots of new methods so that the GUI can easily get the contents of
1506 font_ when it update()s.
1508 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1510 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1511 crash when the Font button on the Toolbar is pressed.
1513 * GUI.h: change policy of Character button controller to
1514 OkApplyCancelReadOnlyPolicy.
1516 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1518 * ControlToc.C (getContents): don't add anything to the list if it
1519 is supposed to be empty.
1521 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1523 * helper_funcs.C (getVectorFromString): bug fix.
1525 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1527 * ButtonController.h
1528 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1529 from ButtonControllerBase::readOnly. Updates the state of the widgets
1530 in the read-only list only when the read-only status of the document
1532 (refresh): moved this stuff into refreshReadOnly.
1534 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1536 * ControlPrint.C (c-tor):
1537 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1539 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1542 * character.h: small clean-ups.
1544 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1546 * ControlToc.C (getType): remove support for old float list.
1548 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1550 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1551 * ControlGraphics.h: no longer include insetgraphicsParams.h
1552 * ControlInset.h: no longer include LyXView.h
1557 * ControlCharacter.C:
1558 * ControlCitation.C:
1560 * ControlConnections.C:
1561 * ControlCopyright.C:
1564 * ControlExternal.C:
1565 * ControlGraphics.C:
1568 * ControlMinipage.C:
1569 * ControlPreamble.C:
1573 * ControlTabularCreate.C:
1575 * ControlVCLog.C: they're now in here!
1577 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1579 * ButtonControllerBase.h: C++ mode, inherit privately from
1581 * ButtonPolicies.h: ditto
1583 * ButtonController.h: C++ mode, swap init order of restore_ and
1586 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1588 * ControlTabularCreate.h:
1589 * ControlTabularCreate.C: make dialogs use a pair of uints
1593 * ControlVCLog.C: fill a stringstream with the log contents
1596 * ControlExternal.C: from Angus, clone the new InsetExternal
1599 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1601 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1602 and made more robust.
1604 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1609 * ControlPreamble.C:
1611 * ControlGraphics.C:
1612 * ControlExternal.C:
1613 * ControlCopyright.C: include gettext.h
1615 * ControlCharacter.C:
1616 * character.C: include gettext.h and language.h
1618 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1620 * ButtonController.h:
1621 * ButtonControllerBase.h:
1622 * ButtonControllerBase.C:
1629 * ControlConnections.h:
1632 * ControlExternal.C:
1635 * ViewBase.h: s/ControlButton/ControlButtons/
1637 s/UndoAll/Restore/ + associated
1639 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1641 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1644 * Makefile.am: associated changes with all of the above.
1646 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1648 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1649 and edit, view, update the External Material correctly. I hope!
1651 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1653 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1655 * BCTemplates.h: renamed as ButtonController.h
1657 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1660 * ControlConnections.h: associated change in #include and class names.
1662 * ControlExternal.[Ch]: new files; a controller for the External
1666 * Makefile.am: associated changes with all of the above.
1668 * ControlGraphics.[Ch]:
1669 * ControlInclude.[Ch]:
1670 * ControlPrint.[Ch]:
1672 (Browse): new method. Returns the results of a FileDialog browse.
1674 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1675 (getVectorFromString): fixed bug.
1677 * biblio.C (simpleSearch): cleaned up.
1679 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1681 * A slight reworking of Baruch Even's ButtonController patch.
1683 * BCTemplates.h: new file; all the templates for the ButtonController.
1684 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1685 to the more generic setButtonLabel().
1687 * ButtonController.[Ch]: renamed cancel_label and close_label as
1688 cancel_label_ and close_label_.
1690 * Makefile.am: added BCTemplates.h
1692 2001-03-29 Juergen Vigna <jug@sad.it>
1694 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1695 to use new %-lengths of LyXLength.
1697 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1699 * ControlCitation.C (bibkeysInfo): removed Assert.
1701 * ControlCopyright.h: moved GUICopyright into GUI.h
1705 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1707 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1708 (setDaughterParams): a (by default empty) new method called in show().
1714 * ControlMinipage.h:
1717 * ControlUrl.h (clearDaughterParams): removed
1719 * ControlMinipage.C (applyParamsToInset): update the view.
1720 Added namespace minipage containing a helper function getUnits.
1722 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1724 * ControlCharacter.[Ch]: moved out all the helper functions and the
1725 enum into their own file.
1726 * character.[Ch]: new files; contain the character helper functions,
1727 now inside namespace character.
1729 * ControlCitation.[Ch]: moved out all the helper functions and the
1730 enums into their own file. Simplified interface.
1731 * biblio.[Ch]: new files; contain the citation helper functions,
1732 now inside namespace biblio. Will be of use also to an improved
1735 * ControlGraphics.[Ch]:
1736 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1737 popups, respectively.
1740 * Makefile.am: associated changes.
1742 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1744 * ControlMinipage.[Ch]:
1745 * ControlPreamble.[Ch]:
1746 * ControlPrint.[Ch]:
1747 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1748 and Print popups and Splash screen, respectively.
1750 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1754 * Makefile.am: associated changes.
1756 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1758 * ControlConnections.[Ch]: (docType): new method; returns the type
1759 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1762 * ControlSearch.[Ch]:
1763 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1764 Search and TabularCreate popups, respectively.
1767 * Makefile.am: associated changes.
1769 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1774 * ControlInset.h (apply): fix bug. Can now create new insets again.
1776 * README: describe program flow.
1778 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1780 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1782 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1784 * ControlDialogs.h: moved class ControlInset into its own file.
1786 * ControlInset.h: new file. class ControlInset has been expanded to take
1787 two template parameters, Inset and Params. Believe that all inset
1788 controllers can be derived from this with the minimum of effort.
1790 * ControlBibitem.[Ch]:
1791 * ControlBibtex.[Ch]:
1792 * ControlCitation.[Ch]:
1793 * ControlCommand.[Ch]: moved most code into ControlInset.
1795 * lots of files. Moved protected stuff into private where possible.
1797 * ControlError.[Ch]:
1798 * ControlInclude.[Ch]:
1799 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1800 Include and Url popups, respectively.
1803 * Makefile.am: associated changes.
1805 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1807 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1810 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1812 * ControlCredits.C (getCredits): remove std:: qualifier for
1815 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1817 * ControlCredits.C (getCredits): add std:: on vector
1819 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1821 * ControlCredits.C: remove using that is only used once, use
1822 std::ios instead of std::iosbase, add some annoying comments.
1824 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1826 * lots of header files: improved explanatory notes.
1828 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1829 ControlBase is now a class that only controls the interaction of the
1830 View with the ButtonController.
1832 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1833 to ControlConnectBase. The class controls the connection/disconnection
1834 of signals from the LyX kernel and makes available the kernel (through
1835 lv_) to daughter controller classes.
1836 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1838 * ControlDialogs.h: new file. Contains the definition of two template
1839 controller classes, ControlDialog and ControlInset (was
1840 ControlConnectInset). ControlInset is a parent class for controllers
1841 of inset-popups. ControlDialogs is the rather uninspired name for
1842 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1843 ControlDialogs is reaching a state of maturity as several popups now use
1844 it and its functionality becomes clear. ControlInset is still in a state
1845 of flux. It is likely that functionality will be moved out of
1846 ControlCommands and into it.
1848 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1849 individual Controller header files and into one place. These classes
1850 serve only as convenient wrappers to simplify code in the respective
1851 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1853 * ControlCharacter.[Ch] (show, update, hide):
1854 * ControlLog.[Ch] (show, update, hide):
1855 * ControlVCLog.[Ch] (show, update, hide): moved back into
1856 the ControlDialogs base class.
1857 (setParams, clearParams): new methods containing controller-specific
1858 code to set/reset the parameters manipulated by the view.
1860 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1862 (hide): calls clearParams.
1864 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1865 by ControlCommand::hide().
1867 * ControlCopyright.[Ch]:
1868 * ControlCredits.[Ch]: new files; controllers for the copyright and
1869 credits popups, respectively.
1871 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1873 * ControlCharacter.C: fix typo
1875 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1877 * ControlCharacter.[Ch]: new files; controller for the character popup.
1879 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1880 moved to new files helper_funcs.[Ch].
1882 * helper_funcs.[Ch]: new files. Some useful helper functions and
1885 * Makefile.am: added new files.
1887 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1889 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1891 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1894 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1895 Control log files, respectively.
1897 * Makefile.am: added new files.
1899 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1901 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1903 * Makefile.am: added ControlBibtex.[Ch].
1905 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1908 * ControlCitation.C: added "using SigC::slot" declaration.
1910 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1911 to FormCitation.C prior to the merger: "Do not put space between
1914 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1916 * several files: remove CXX_WORKING_NAMESPACES
1918 * ButtonController.h: noncopyable is in namespace boost
1919 * ButtonPolicies.h: ditto
1921 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1923 * Merging changes from BRANCH_MVC back into HEAD.
1925 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1927 * Makefile.am: add ControlBibitem.[Ch].
1929 * ControlBibitem.[Ch]: new files that together define the Controller
1930 for a Bibitem popup.
1932 * ControlCommand.h (c-tor): give kb_action a default value of
1935 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1937 * ControlCitation.[Ch]: moved search functions out of class.
1938 (bibkeysInfo): new method. Returns const reference to private data.
1939 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1942 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1944 * ControlCitation.[Ch]: added Search functions to the class,
1945 (shamelessly lifted from Marco's gnome code). I think that these would
1946 be better as helper functions outside the class, but this is a first
1949 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1951 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1953 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1954 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1955 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1956 implementation of FormCitation.
1958 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1960 * ButtonPolicies.h: add SMI_NOOP to enum.
1962 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1964 * ButtonController.C (input): add "optimising" if-statement. Actually,
1965 things don't work correctly without it...
1967 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1969 * ViewBase.h: remove #pragma directive
1971 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1974 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1976 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1978 * Makefile.am: added ButtonPolicies.[Ch]
1980 * ButtonController.[Ch]: ButtonController is split into
1981 ButtonControllerBase and a template ButtonController class. The base
1982 class no longer stores a pointer to a ButtonPolicy, but instead
1983 accesses the actual instantiation of the policy through a pure virtual
1984 method bp(). This method and the ButtonPolicy itself are instantiated
1985 in the templatised ButtonController class. This class is derived from
1986 the GUI-specific GUIBC class, meaning that the frontends know
1987 nothing about the actual policy decided upon by the controllers.
1989 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1990 Instead the actual instantiations are accessed through pure virtual
1991 methods view() and bc(). The daughter classes are responsible for the
1992 actual View and ButtonController.
1994 * ControlCitation.h: the templatised class GUICitation instantiates
1995 the methods view() and bc(). It also stores the instances of the
1996 View and ButtonController.
1998 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2000 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2001 also changed to ButtonController.
2004 * ControlConnections.[Ch]:
2005 * ControlCommand.[Ch]:
2006 * ControlCitation.[Ch]:
2007 * ViewBase.h: Changes associated with this.
2009 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2011 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2012 xforms/ButtonController class into a GUI-I class (here) and an
2013 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2015 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2016 from which all Dialog Controllers should be derived. the Controllers
2017 are GUI-independent, but are designed to control the behaviour of
2018 GUI-specific implementaions of each dialog.
2020 * ControlConnections.[Ch]: new files. Classes controlling the
2021 connections of buffer-independent, buffer-dependent and Inset dialogs
2022 with the LyX kernel.
2024 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2025 InsetCommand subset of insets.
2027 * ControlCitation.[Ch]: new files. The test specialisation! A
2028 controller for the Citation dialog.
2030 * ViewBase.h: new file. ViewBase is an abstract base class from which
2031 GUI-specific dialogs should be derived. The functionality that the GUIs
2032 must now implement is much reduced.