1 2003-03-09 Angus Leeming <leeming@lyx.org>
3 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
5 2003-03-09 Angus Leeming <leeming@lyx.org>
7 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
9 2003-03-09 Angus Leeming <leeming@lyx.org>
11 * ControlTabular.[Ch]: minimise the interface in preparation for
12 a move to the Dialog-based scheme.
13 (inset): removed; the views require only getActiveCell().
14 (tabular): return as a reference.
16 2003-03-07 Angus Leeming <leeming@lyx.org>
18 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
20 * ControlInset.{h, tmpl}: remove.
21 * Makefile.am: remove files.
23 2003-03-07 Angus Leeming <leeming@lyx.org>
25 * ControlBibitem.[Ch]:
28 * ControlUrl.[Ch]: removed.
30 * Makefile.am: remove files.
32 * ControlERT.C (dispatchParams):
33 * ControlExternal.C (dispatchParams):
34 * ControlFloat.C (dispatchParams):
35 * ControlInclude.C (dispatchParams):
36 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
39 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
41 2003-03-05 Angus Leeming <leeming@lyx.org>
43 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
45 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
47 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
48 * ControlInclude.C: remove unneeded header files.
50 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
52 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
54 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
56 * Dialog.h: make view() public. Add dialog() methods.
58 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
60 * ControlGraphics.C: removed #include "converter.h"
62 * ControlSendto.C: added #include "format.h"
64 2003-02-27 Angus Leeming <leeming@lyx.org>
66 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
68 * Makefile.am: add the new files.
70 2003-02-27 Angus Leeming <leeming@lyx.org>
72 * ControlBibitem.C (c-tor):
73 * ControlBibtex.C (c-tor):
74 * ControlCitation.C (c-tor):
75 * ControlIndex.C (c-tor):
76 * ControlRef.C (c-tor):
77 * ControlToc.C (c-tor):
78 * ControlUrl.C (c-tor):
79 pass "name" to ControlCommand c-tor,
82 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
85 * ControlERT.C (dispatchParams): use "name" rather than a
88 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
90 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
92 2003-02-21 Angus Leeming <leeming@lyx.org>
95 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
97 * ControlBibitem.[Ch]:
99 * ControlCitation.[Ch]:
100 * ControlCommand.[Ch]:
105 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
106 individual controllers too.
107 Move 'apply' code into the LyX kernel.
109 * ControlConnections.C: temporary renaming of Dialogs::signals.
111 * Makefile.am: add new files.
113 2003-02-21 Angus Leeming <leeming@lyx.org>
115 * ControlBibtex.C (Browse):
116 * ControlExternal.C (Browse):
117 * ControlGraphics.C (Browse):
118 * ControlInclude.C (Browse):
119 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
121 * ControlPrint.C (Browse):
122 don't pass a LyXView & to browseFile et al.
123 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
124 don't pass a LyXView & to fileDlg.
126 2003-02-17 John Levon <levon@movementarian.org>
128 * ControlDialog.tmpl: build dialog before calling setParams
129 for the benefit of ControlSpellchecker
131 * ControlSpellchecker.h:
132 * ControlSpellchecker.C: rework. Lots of bugs fixed and
135 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
137 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
138 of available *.bib-files from bibFiles.lst).
140 * tex_helpers.C (getTexFileList): sort and dis-duplicate
141 listWithoutPath correctly.
143 2003-02-08 John Levon <levon@movementarian.org>
146 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
148 2003-02-08 John Levon <levon@movementarian.org>
152 * ControlChanges.C: add merge changes dialog
155 * ControlPrefs.C: add setCurrentAuthor()
157 2003-01-31 Angus Leeming <leeming@lyx.org>
159 * ViewBase.h: add an isVisible() pure virtual method.
161 * ControlTabular.C (updateInset): don't build the dialog here.
162 Instead, do nothing if the dialog is invisible.
164 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
166 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
168 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
170 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
172 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
174 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
178 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * several files: ws changes
182 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * ControlDocument.C (classApply): use boost.format
186 2002-11-29 Angus Leeming <leeming@lyx.org>
188 * ControlButtons.h (isClosing): make it public, so that the view can
190 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
193 * ControlPrefs.[Ch] (OKButton): removed.
195 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
196 dialog isClosing(). (Ie, if the "save" button has been pressed.)
198 2002-11-28 John Levon <levon@movementarian.org>
200 * ControlSpellchecker.C: fix Lars' broken cleanup
202 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
204 * ControlTabular.[Ch]: Add isMulticolumnCell
206 2002-11-27 Angus Leeming <leeming@lyx.org>
208 * ControlMath.C (ControlMath): initialise active_.
210 2002-11-25 Angus Leeming <leeming@lyx.org>
212 * ControlDialog.h (hide, update): move from protected to public.
214 * ControlMath.[Ch]: add controllers for the main math panel dialog and
215 for any daughter dialogs stored by the main panel.
217 2002-11-21 Angus Leeming <leeming@lyx.org>
219 * ControlDocument.[Ch] (classApply): no longer returns bool.
220 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
222 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * biblio.C (getAbbreviatedAuthor): use boost::format
226 * ControlSpellchecker.C (clearParams): use boost::format
228 2002-11-20 John Levon <levon@movementarian.org>
230 * ControlMath.C: couple more manglings
232 2002-11-20 John Levon <levon@movementarian.org>
235 * ControlMath.C: add find_xpm mangler
237 2002-11-17 John Levon <levon@movementarian.org>
239 * helper_funcs.C and users: specify save/open in file dialog
241 2002-11-15 John Levon <levon@movementarian.org>
244 * ControlPrefs.C: use setParams()
246 2002-11-15 John Levon <levon@movementarian.org>
248 * ControlButtons.h: make OKButton() virtual for prefs
251 * ControlPrefs.C: updates for xforms port to MVC
255 * ControlTabular.C: add simple MVC port
257 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
259 * ControlInclude.C: fix file format masks for qt's use
261 2002-11-13 John Levon <levon@movementarian.org>
265 * ControlPrefs.C: add skeleton controller
267 2002-11-12 John Levon <levon@movementarian.org>
269 * biblio.C: fix warnings
271 2002-11-12 Angus Leeming <leeming@lyx.org>
273 * ControlSpellchecker.C (check): fix crash
274 * biblio.C (escape_special_chars): simplify BRE.
276 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
278 * ControlDocument.[Ch]: Remove unused method
280 2002-11-07 Angus Leeming <leeming@lyx.org>
282 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
283 * clean-up the search code in biblio.C.
285 2002-11-07 John Levon <levon@movementarian.org>
287 * ControlGraphics.C: QGraphics fixes
289 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
291 * ControlDocument.C: (SaveAsDefault) make it work.
292 fix buffer update on class change
294 2002-11-06 Angus Leeming <leeming@lyx.org>
296 * biblio.C (searchKeys and helper functions): rewritten entirely
297 using the STL. Boost::regex searching now works as the old 1.2 code
300 2002-11-06 Angus Leeming <leeming@lyx.org>
302 * biblio.C: clean-up of the code. No change in functionality.
304 2002-11-04 Angus Leeming <leeming@lyx.org>
306 * ControlGraphics.[Ch] (getUnits): moved out of class and into
307 frnt::getBBUnits(). Code cleaned also.
309 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * biblio.C (regexSearch): STRCONV
314 * ControlAboutlyx.C (getVersion): STRCONV
316 * ControlMath.C: include config.h
318 2002-10-31 John Levon <levon@movementarian.org>
321 * ControlGraphics.C: bb units from Herbert
323 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
325 * ControlParagraph.[Ch] (alignDefault): new method, returning the
326 default alignment (block, left, right, center) of this paragraph.
328 2002-10-25 John Levon <levon@movementarian.org>
330 * ControlPrint.C: using endl
332 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
334 * ControlPrint.[Ch]: move code here from Liason.[Ch].
336 * ControlSpellchecker.h (getCount): new method.
337 * ControlSpellchecker.[Ch]: constify some accessor methods.
339 2002-10-22 Angus Leeming <leeming@lyx.org>
341 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
342 alphabetical order once again.
344 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
345 Add a list of CheckedWidget ptrs to ButtonControllerBase
346 together with methods addCheckedWidget and checkWidgets to use it.
348 * ButtonController.tmpl (refresh): use the return value of
349 checkWidgets to control the activation state of the Ok, Apply, Restore
352 * ControlDialog.tmpl (show, update):
353 * ControlInset.tmpl (showInset, update):
354 invoke ButtonController::refresh to ensure that the activation state of
355 the Ok, Apply buttons reflects the valid-state of the widgets.
357 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
359 * tex_helpers.C (rescanTexStyles): don't pop p
362 * ControlWrap.C (WrapParms): remove initialization of placement,
363 and move empty c-tor to .h class def.
365 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
366 of on stringsteam, return void. Get the file into the stream as
369 * ControlPreamble.[Ch] (params): getter and setter for params_, make
370 params_ into a string, not just a pointer to string.
372 * ControlExternal.C (getTemplateNumber): put i into the for scope,
373 and use the sequence operator on the last for "parameter"
374 (getTemplate): use std::advance to advance the iterator.
376 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
377 instead of on a stringstream, return void. Get the file into the
378 stream as fast as possible.
379 (getVersion): use ostringstream
381 * lots of files: ws changes, formatting fixes
383 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
385 * ControlCharacter.C (apply): setMinibuffer change
386 * ControlDocument.C (apply): ditto
388 * ControlThesaurus.C (replace): ditto
389 * ControlSearch.C (find): ditto
391 * ControlPreamble.C (apply): ditto
392 * ControlParagraph.C (apply): ditto
394 2002-10-14 André Pönitz <poenitz@gmx.net>
396 * ControlDocument.C: somebody else's fix for a hard lockup
398 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
402 * Makefile.am: New document parameters controller
404 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
408 2002-09-24 Angus Leeming <leeming@lyx.org>
410 * ControlConnections.h: remove trailing whitespace.
412 * biblio.h: #include "LString.h".
414 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
416 * ControlGraphics.C: Change GUI origin strings into proper English.
418 2002-09-09 John Levon <levon@movementarian.org>
420 * ControlInclude.C: fix file masks. Get rid of noload,
421 remove stupid warning
423 2002-09-09 John Levon <levon@movementarian.org>
426 * ControlMath.C: add latex_deco
428 2002-09-06 John Levon <levon@movementarian.org>
430 * ControlMath.C: terminate dots
432 2002-09-05 Angus Leeming <leeming@lyx.org>
434 * all files: modify the headers as discussed on the list.
436 2002-08-30 John Levon <levon@movementarian.org>
439 * ControlMath.C: moved from MathsSymbols.C
441 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
443 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
445 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
447 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
448 first item in the list
450 2002-08-15 Angus Leeming <leeming@lyx.org>
452 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
454 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
456 2002-08-15 Angus Leeming <leeming@lyx.org>
458 * lots: changed my email address to leeming@lyx.org.
460 * GUI.h: return it to private derivation from boost::noncopyable.
462 2002-08-14 Angus Leeming <leeming@lyx.org>
464 * GUI.h: public derivation from boost::noncopyable.
466 2002-08-14 Angus Leeming <leeming@lyx.org>
468 * GUI.h: class GUI deries from boost::noncopyable
470 * ControlButtons.h: no longer derives from DialogBase, but instead
471 derives directly from boost::noncopyable.
473 * ViewBase.h: derives from boost::noncopyable.
475 * ControlCharacter.C:
477 * ControlConnections.C:
480 * ControlParagraph.C:
484 * ControlSpellchecker.C:
486 * ControlThesaurus.C:
487 rearrange #includes. Remove unnecessary ones.
489 * ControlError.h: add "insets/inseterror.h".
491 * helper_funcs.h: add necessary #includes.
493 * tex_helpers.[Ch]: add #pragma directives for g++.
495 * Makefile.am: remove src/frontends from -I list to compiler.
497 2002-08-13 Angus Leeming <leeming@lyx.org>
499 * ControlConnections.C:
501 changes due to the changed LyXView interface that now returns references
502 to member variables not pointers.
504 2002-08-12 Angus Leeming <leeming@lyx.org>
506 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
507 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
508 for the most commonly accessed core methods, to minimise code
511 * many files: use these wrappers and remove associated #includes.
513 2002-08-12 Angus Leeming <leeming@lyx.org>
515 * ControlButtons.[Ch] (bc, view): no longer virtual.
516 (setView, setButtonController): new methods, invoked by GUI.
518 * ControlDialog.h (show):
519 * ControlInset.h (createInset, showInset): make public, so that GUI can
522 * GUI.h: GUI now contains a controller, rather than deriving from it.
523 remove all those friend functions since we can now access the show,
524 createInset, showInset controller methods.
526 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
529 * character.h: #include a couple of STL files.
531 2002-08-08 John Levon <levon@movementarian.org>
533 * ControlCommandBuffer.C: LyXAction cleanup
535 2002-08-07 John Levon <levon@movementarian.org>
537 * ControlSpellchecker.C: fix crash when spellchecker doesn't
540 2002-08-06 John Levon <levon@movementarian.org>
542 * ControlSpellchecker.C:
543 * ControlSpellchecker.h: use WordLangTuple
545 2002-08-06 John Levon <levon@movementarian.org>
547 * ControlSpellchecker.C: show an alert with the
548 error message on initialisation failure
550 2002-08-04 John Levon <levon@movementarian.org>
552 * ControlSpellchecker.h:
553 * ControlSpellchecker.C: some cleanups
555 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
557 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
559 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
560 the Dialogs::updateParagraph signal is emitted.
562 2002-08-02 Angus Leeming <leeming@lyx.org>
564 * ControlCharacter.C (apply):
565 * ControlERT.C (applyParamsToInset):
566 * ControlParagraph.C (apply):
567 * ControlSearch.C (find, replace):
568 * ControlThesaurus.C (replace): changes due to LyXView::view() now
569 returning a boost::shared_ptr.
571 2002-08-01 John Levon <levon@movementarian.org>
573 * ControlSendto.C: writeFile() change
575 2002-08-01 John Levon <levon@movementarian.org>
577 * ControlSpellchecker.h:
578 * ControlSpellchecker.C: remove options
580 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * several files: strip,frontStrip -> trim,ltrim,rtrim
584 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
586 * biblio.C (parseBibTeX): modify because of strip changes
588 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
590 * ControlFloat.[Ch]: Implement Wide Float toggle
591 Replace "allow_here_definitely" by "wide"
593 2002-07-22 Herbert Voss <voss@lyx.org>
595 * ControlGraphics.C: small changes
597 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
599 * ControlToc.C: remove getType
601 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
603 * ControlCommandBuffer.C: don't add "" to history
605 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
607 * ControlRef.C: fix dispatch call nicely
609 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
612 * ControlCommandBuffer.h:
613 * ControlCommandBuffer.C: add controller for command (mini) buffer
616 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
618 * ControlRef.C: fix dispatch call
620 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
622 * ControlCharacter.C: use view_state_changed not setState
624 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
626 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
628 2002-07-15 Mike Fabian <mfabian@suse.de>
630 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
631 of compare_no_case, because in turkish, 'i' is not the lowercase
632 version of 'I', and thus turkish locale breaks parsing of tags.
634 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * ControlBibtex.C (applyParamsToInset): ws change
638 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
640 * ControlInclude.C: Add warning if absolute path name and
641 check_typeset is used together
643 2002-06-28 Angus Leeming <leeming@lyx.org>
645 * ControlGraphics.C: changes associated with the name changes
646 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
648 2002-06-25 Angus Leeming <leeming@lyx.org>
650 * ControlGraphics.C (readBB): Channges associated with the changed
651 interface to the graphics cache.
653 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * ControlParagraph.C: layout as layout
657 2002-06-21 Angus Leeming <leeming@lyx.org>
659 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
660 * tex_helpers.h: #include "LString.h".
662 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
665 * ControlBibitem.C: use repaint()
667 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
669 * ControlTexinfo.C: do the same for Texinfo
671 * tex_helpers.C: don't try to read a file that isn't there
673 2002-06-21 Herbert Voss <voss@perce.de>
675 * ControlBibtex.C: do an automatic update, when no bst-list
678 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
680 * GUI.h: createIndex() changed
682 2002-06-18 Herbert Voss <voss@perce.de>
684 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
685 helperstuff. Now the bibtex gui can use some of these functions
687 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
689 * ControlGraphics.C: just make the mask *.*
691 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * changes to simplify function setup, removal of a lot of includes.
695 2002-06-12 Angus Leeming <leeming@lyx.org>
697 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
699 2002-06-12 Angus Leeming <leeming@lyx.org>
701 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
703 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
705 * ControlParagraph.[Ch]: new paragraph controller
706 * GUI.h: add new controller
709 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
711 * GUI.h: do not include ButtonController.tmpl
713 * ControlInset.h: include ControlInset.tmpl
715 * ControlCitation.C: do not include ControlInset.tmpl
716 * ControlCommand.C: ditto
717 * ControlERT.C: ditto
718 * ControlError.C: ditto
719 * ControlExternal.C: ditto
720 * ControlFloat.C: ditto
721 * ControlGraphics.C: ditto
722 * ControlInclude.C: ditto
723 * ControlMinipage.C: ditto
725 * ControlDialog.tmpl: remove the Base:: prefix
727 2002-06-07 Angus Leeming <leeming@lyx.org>
729 Fixes needed to compile with Compaq cxx 6.5.
730 * ControlDialog.tmpl: I have had to prefix base class methods with
733 * ControlInset.tmpl: #include a couple of headers.
735 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
737 * switch from SigC signals to boost::signals
739 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
741 * biblio.h: include vector
743 * biblio.C: change include order
744 (regexSearch): use boost regex and get rid of LRegex
746 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
751 * ControlCharacter.C:
754 * ControlConnections.C:
771 * ControlSpellchecker.C:
772 * ControlTabularCreate.C:
774 * ControlThesaurus.C:
777 * ControlVCLog.C: LyXView moved into frontends
779 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * ControlExternal.C: add scoped_ptr.hpp
783 * ControlCharacter.h: use more specific smart_ptr header.
785 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
787 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
789 2002-05-13 Herbert Voss <voss@perce.de>
791 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
792 like "Odland, G. and ... "
793 (parseBibTeX): fix bug with title and booktitle
794 and replace a \n with a space when one entry has more than
797 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
799 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
800 "No change" and "Reset".
802 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
803 them at the front of the list.
805 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
807 * ControlGraphics.C: add some comments to the char * arrays.
808 Make rorigin_size const.
810 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
812 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
813 Enables the gui's to internationalise these strings.
815 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
817 * frnt_lang.C: fix build
819 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
821 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
822 If the the caller is the character dialog, add "No change" and "Reset"
823 to the vector, else don't.
824 Internationalise the GUI strings here rather than in the different
826 Sort the translated strings, albeit simply.
828 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
830 * character.[Ch]: rename namespace character as namespace frnt.
832 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
833 as several dialogs will use this info. The function now returns a
834 vector<LanguagePair> where LanguagePair is a display string and an
835 identifying string. The display string is internationalised.
837 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
838 the identifying strings, "No change" and "Reset".
840 * Makefile.am: add frnt_lang.[Ch].
842 2002-04-25 Herbert Voss <voss@lyx.org>
844 * ControlSendto.C (allFormats): don't add the graphics extensions to the
847 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
849 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
850 BibTeX databases in a WYSIWYM way.
852 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
854 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
855 way past his use-by date.
856 Make use of the improved info from Buffer::getBibkeyList when using
857 \bibliography. Enables us to provide natbib support in this case too.
859 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
861 * ControlGraphics.C: pass the browseFile dialog a string of only those
862 formats that can currently be loaded by LyX.
864 2002-04-15 Herbert Voss <voss@perce.de>
866 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
867 with something like ,,...blah...`` (two commas)
869 2002-04-14 Herbert Voss <voss@perce.de>
871 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
872 into the support/lstrings for better use in other programs.
874 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
875 namespace anon and make globally accessible.
876 (familyName): test for the presence of a LaTeX Space at the front of
877 of a name; strip it if it exists.
879 2002-04-11 Herbert Voss <voss@perce.de>
881 * ControlGraphics.C: expand "browse-string" to all available formats
883 2002-04-11 Herbert Voss <voss@perce.de>
885 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
887 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
889 * ControlAboutlyx.C (getVersion): two _() forgotten
891 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
895 * ControlBibtex.C: make N_() be _()
897 2002-04-07 Herbert Voss <voss@perce.de>
899 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
901 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
903 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
904 used when reading the BB.
906 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
908 * ControlGraphics.C (readBB): Don't open the ifstrem and then
909 check the format from the contents (and open a second ifstream in the
910 process. One at a time please.
912 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
914 * ControlRef.C (getBufferNum): squash warning message.
916 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
918 * ControlBibtex.C (Browse):
919 * ControlGraphics.C (Browse):
920 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
922 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
924 * ControlGraphics.C (applyParamsToInset): pass filepath to
925 InsetGraphics::updateInset.
927 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
929 * most files: ws cleanup
931 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
933 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
936 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
939 * ControlInclude.C: better error messages
941 2002-03-11 Herbert Voss <voss@lyx.org>
943 * biblio.C (parseBibTeX): fix another minibug with an
946 2002-03-10 Herbert Voss <voss@lyx.org>
948 * biblio.C (parseBibTeX): fix bug
949 (familyName): improve parsing
951 2002-03-09 Herbert Voss <voss@lyx.org>
953 * ControlGraphics.[Ch]: adding checkFilename() for testing
954 of non-existing files
956 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
958 * ControlSendto.C (allFormats): fix a iterators are not pointers
961 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
963 * ControlShowFile.h: add a #include "LString.h"
965 2002-03-05 Herbert Voss <voss@lyx.org>
967 * biblio.C (getInfo): simplify if using paragraph layout
970 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
972 * biblio.C (getInfo): return the info field correctly if the key
974 (parseBibTeX): fix crash when data.find('=') returns string::npos.
976 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
978 * ControlForks.[Ch]: new files. A controller for the Forked Child
979 processes dialog, enabling the user to see what forked processes
980 are running, and, if he so desires, to kill them.
982 * GUI.h: add class GUIForks.
984 * Makefile.am: add ControlForks.[Ch].
986 * ControlGraphics.C (getParams): small change due to change in
989 2002-02-21 Herbert Voss <voss@lyx.org>
991 * biblio.C: fix bug with commentlines in a bibentry
993 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
995 * Makefile.am: simpler obj. file compile
997 2002-02-18 Herbert Voss <voss@lyx.org>
999 * ControlGraphics.[Ch]: remove help-file call
1001 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1003 * helper_funcs.h: wrap the structs firster and seconder up in a
1004 namespace to avoid clashes with those in lyxalgo,h.
1006 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1007 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1009 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1011 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1014 change Systemcalls::System to Systemcalls::Wait and
1015 No change of functionality, just reflects the stripped down Systemcalls
1018 2002-02-06 Herbert Voss <voss@lyx.org>
1020 * ControlGraphics.[C] (readBB): search also in
1021 g'zipped files. If it is useful than PK and compress
1022 should also be supported. use unzipFile() from
1025 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1027 * ControlRef.C (getBufferName): new method to get a real buffer
1030 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1032 * ControlTexInfo.[Ch]: Removed Help functions.
1034 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1036 * ControlSpellchecker.C: clear any selection left
1039 2002-02-01 Herbert Voss <voss@lyx.org>
1041 * ControlGraphics.[C] (readBB): search only, if it is a
1042 ".?ps" file and look for bb's at end of file
1044 2002-01-30 Herbert Voss <voss@lyx.org>
1046 * ControlGraphic.[C]: do not search the whole file, when
1049 2002-01-29 Herbert Voss <voss@lyx.org>
1051 * ControlGraphic.[C]: added a button for document path
1052 when browsing -> bug 222
1054 2002-01-27 Herbert Voss <voss@lyx.org>
1056 * ControlGraphic.[Ch]: added support for Bounding Box, other
1059 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1061 * ControlAboutlyx.h:
1062 * ControlTexinfo.h: added #include "LString.h" where they belong.
1064 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ControlCitation.C:
1067 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1069 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1071 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1074 2002-01-20 Herbert Voss <voss@perce.de>
1076 * ControlInclude.[Ch]: better control of unexistings files
1077 when entered without the browser
1079 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1082 2002-01-19 Herbert Voss <voss@perce.de>
1084 * biblio.C (getInfo): fix bug when no author is given
1086 * biblio.C (parseBibTeX): change the parsing, so that
1087 '#'-characters in a bibtex entry are no more a problem.
1089 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1091 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1092 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1094 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1096 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1098 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1100 * ControlExternal.C (Browse): add a std:: qualifier
1102 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1104 * ControlExternal.C (Browse): simplify to use browseRelFile
1106 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1108 * ButtonController.tmpl: added // -*- C++ -*-
1110 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1111 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1112 Needed in _one_ of the ControlCommand-derived classes only.
1114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1117 * ControlSearch.h: #include LString.h
1119 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1121 * ButtonController.h: split into two. The definition remains in
1122 ButtonController.h, the declaration is now in ButtonController.tmpl.
1123 These template methods should be #included when the derived class is
1124 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1125 and in the qt2 and gnome equivalents.
1127 * ControlDialogs.h: removed. The definition of class ControlDialog is
1128 now to be found in ControlDialog.h and the declaration of the methods
1129 is in ControlDialog.tmpl. The two template instantiations are performed
1130 in ControlDialog_impl.[Ch], new files also.
1132 * ControlInset.h: split into two. The definition remains in
1133 ControlInset.h, the declaration is now in ControlInset.tmpl.
1134 These template methods should be #included derived class is
1135 instantiated, in this case in 8 other .C files in this directory.
1137 * ControlAboutlyx.[Ch]:
1138 * ControlCharacter.[Ch]:
1142 * ControlExternal.C:
1144 * ControlGraphics.C:
1147 * ControlMinipage.C:
1148 * ControlPreamble.[Ch]:
1149 * ControlPrint.[Ch]:
1150 * ControlSearch.[Ch]:
1151 * ControlShowFile.[Ch]:
1152 * ControlSpellchecker.[Ch]:
1153 * ControlTabularCreate.[Ch]:
1154 * ControlTexinfo.[Ch]:
1155 * ControlThesaurus.[Ch]:
1156 * ControlVCLog.[Ch]: small changes associated with the above ones.
1158 * GUI.h: #include the ButtonController and dialog controller files
1159 here, rather than forward declare them. This is the correct place
1160 for these #includes.
1162 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1163 Rename ControlDialogs.h as ControlDialog.h.
1164 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1167 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1169 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1171 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1173 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1176 * ControlGraphics.C (Browse): remove overzealous shortcut
1178 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1180 * FormMinipage.C (apply, update): MinipageParams::width renamed
1181 as MinipageParams::pageWidth. InsetMinipage::width renamed
1182 as InsetMinipage::pageWidth.
1184 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1186 * ButtonController.h (refreshReadOnly): use explicit typename
1188 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1190 * helper_funcs.h (browseFile): add default empty button descriptions.
1192 * ControlGraphics.C (Browse):
1193 * ControlBibtex.C (Browse):
1194 * ControlInclude.C (Browse): add shortcuts to directory buttons
1196 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1198 * ControlThesaurus.h:
1199 * ControlThesaurus.C: update to Aiksaurus 0.14
1201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1203 * ControlSpellchecker.C (clearParams): show the closing message
1204 only if some words have been checked, thereby fixing
1207 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1209 * ControlFloat.[Ch]: changes to prevent here definitely being used
1212 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1214 * ControlThesaurus.h: do not include <config.h> in header files
1216 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1218 * ControlToc.C: changes for floatlist
1220 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1222 * ControlVCLog.C: use _()
1224 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1226 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1229 2001-10-22 Juergen Vigna <jug@sad.it>
1231 * ControlSpellchecker.C (clearParams): use the error_ message of the
1232 speller_ if available when the spellchecker died.
1233 (setParams): remove double error message display.
1235 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1237 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1239 * helper_funcs.[Ch] (getLatexUnits): see above.
1241 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1243 * ControlTexinfo.C (getContents): use the right file for .sty files
1245 2001-10-10 Herbert Voss <voss@perce.de>
1247 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1248 and some more stuff from FormTexinfo.C
1250 * ControlShowFile.C: hiding the update-button
1252 2001-10-09 Herbert Voss <voss@perce.de>
1254 * ControlTexinfo.[Ch]: new files. Display information about the
1255 installed texfiles (cls,sty,bst).
1257 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1259 * GUI.h: added classes GUIShowFile and GUITexinfo.
1261 * Makefile.am: modified appropriately.
1263 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1265 * ControlAboutlyx.C (getVersion): use lyx_version and
1266 lyx_release_date instead of old macros
1268 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1270 * ControlSpellchecker.C (check): Behaves well now when the spell
1271 library doesn't know a replacement to an incorrect word.
1273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1275 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1276 the correct place. Can now check spelling more than once!
1278 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1280 * ControlSplash.[Ch]: removed.
1282 * GUI.h: remove GUISplash class.
1284 * ViewBase.h: remove ViewSplash class.
1286 * Makefile.am: remove ControlSplash.[Ch].
1288 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1290 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1291 view will be shut down.
1294 * ControlInset.h: act on emergency_exit_.
1296 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1297 speller fails to launch.
1299 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1301 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1302 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1304 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1306 * ControlRef.h (disconnectOnApply): new method. Set to true.
1307 Perhaps make this user-modifiable?
1309 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1314 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1316 * ControlRef.C (getBufferList, getBufferNum): New methods
1318 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1320 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1321 of the dialog when the Apply button is pressed. Defaults to false,
1322 but can be overridden in the daughter classes.
1324 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1325 Perhaps make this user-modifiable?
1327 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1329 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1330 we have dialogs that update their contents when the buffer changes.
1331 Rather embarassing, really!
1333 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1335 * ControlSearch (replace): change semantics of replace to NOT move on
1336 to the next instance of a word once the present instance has been
1337 replaced unless we are replacing ALL instances of the word.
1339 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1341 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1343 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1345 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1346 dialog, set all options to "reset", close the dialog, re-open it ->
1347 the options are set incorrectly.
1349 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1350 When Applying it's useful to know whether the dialog is about to close
1351 or not (no point refreshing the display for example).
1353 * ControlInset.C (apply): use isClosing.
1355 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1358 * ControlDialogs.h: remove bc() hack, now fixed in
1359 Qt2 frontend. use member dialog_built_ instead of shared
1362 * ButtonController.h:
1363 * ButtonPolicies.C: more debug info
1365 * ButtonControllerBase.C: call refresh() when setting readOnly !
1367 * GUI.h: External form has apply, use the right policy
1369 * character.C: fix two off-by-one errors when latex font was removed
1371 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1373 * ControlInset.h (apply): tentative fix for the press Apply multiple
1374 times and get multiple new Insets problem.
1376 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1378 * ControlCharacter.C: fix typo
1382 * ControlInsets.C: make sure dialog is built before it is shown, so
1383 it works properly the very first time it is shown
1385 2001-08-20 Herbert Voss <voss@perce.de>
1387 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1388 and styles. Added an option for "bibliography into toc"
1390 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1392 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1393 LaTeX is no longer a font property.
1395 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1397 * GUI.h: Button controller for Reference dialog changed to
1398 NoRepeatedApplyReadOnlyPolicy.
1400 * biblio.C (getInfo): output volume and number info. Move year to end
1403 2001-08-09 Allan Rae <rae@lyx.org>
1405 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1407 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1409 * helper_funcs.C (getVectorFromString): fixed small bug.
1411 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1413 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1415 * ControlSpellchecker.C: check next word after insert in personal dict
1417 2001-08-06 Juergen Vigna <jug@sad.it>
1419 * ControlERT.[Ch]: new file
1421 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1423 * ControlInset.h: const and non-const forms of params().
1425 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1426 whitespace from either side of each item.
1428 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1430 * ControlFloat.h: add a != operator for FloatParams.
1431 Lars, how did you get this to compile!!!
1433 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1434 operator != for MinipageParams. Who's changing stuff and not compiling?
1436 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1438 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1441 * GUI.h: add class GUIFloat
1443 * ControlFloat.[Ch]: new files
1445 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1447 * ControlPrint.C: #include Lassert.h here.
1449 2001-07-26 Baruch Even <baruch@lyx.org>
1451 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1454 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1456 * ControlThesaurus.h:
1457 * ControlThesaurus.C:
1459 * Makefile.am: thesaurus support
1461 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1464 * ControlInclude.C: implement ability to load file
1466 2001-07-18 Juergen Vigna <jug@sad.it>
1468 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1470 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1472 * biblio.C (getInfo): add a .c_str() to handle the usual
1475 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1477 * ControlCitation.[Ch]: changes associated with adding natbib support.
1478 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1479 New static variable citeStyles_.
1481 * biblio.[Ch]: large internal rearrangement.
1482 New public enum CiteStyle.
1483 New public struct CitationStyle.
1484 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1485 getNumericalStrings, getAuthorYearStrings
1486 (simpleSearch, regexSearch): no longer publicly accessible.
1488 * helper_funcs.C (getStringFromVector): bug fix.
1490 2001-07-16 Baruch Even <baruch@lyx.org>
1492 * ControlVCLog.h: Added Lsstream.h to includes.
1494 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1496 * ControlSpellchecker.[Ch]: remove d-tor.
1498 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1500 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1502 2001-07-16 Juergen Vigna <jug@sad.it>
1504 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1505 compiled with USE_PSPELL) to be able to switch between ISpell and
1508 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1510 Consistent use of Lsstream.h:
1511 * ControlAboutlyx.[Ch] (getCredits):
1512 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1514 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1516 * ControlCredits.[Ch]: removed
1517 * ControlCopyright.[Ch]: removed
1518 * ControlAboutlyx.[Ch]: added (replaces previous)
1519 * GUI.h: removed credits and copyright added about lyx stuff
1521 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1523 * ControlSpellchecker.C (getSuggestion):
1524 (getWord): add std:: qualifier
1526 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1528 * ControlSpellchecker.[Ch]: added
1529 * ViewBase.h: added partialUpdate(int) member
1530 * GUI.h: added spell stuff
1532 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1534 * ControlExternal.C: (*it). -> it->
1536 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1538 * ButtonController.h: move some included header files out of the
1539 frontends and into here.
1541 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1543 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1545 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1547 * *.[h]: added // -*- C++ -*-
1548 * *.[C]: removed // -*- C++ -*-
1550 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1551 activate Apply button.
1552 (clearParams): removed.
1553 font_ is now stored as a boost::scoped_ptr.
1554 font_ is no longer deleted on hide(), so it's contents can now be used
1555 by the Font button on the toolbar.
1556 Lots of new methods so that the GUI can easily get the contents of
1557 font_ when it update()s.
1559 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1561 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1562 crash when the Font button on the Toolbar is pressed.
1564 * GUI.h: change policy of Character button controller to
1565 OkApplyCancelReadOnlyPolicy.
1567 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1569 * ControlToc.C (getContents): don't add anything to the list if it
1570 is supposed to be empty.
1572 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1574 * helper_funcs.C (getVectorFromString): bug fix.
1576 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1578 * ButtonController.h
1579 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1580 from ButtonControllerBase::readOnly. Updates the state of the widgets
1581 in the read-only list only when the read-only status of the document
1583 (refresh): moved this stuff into refreshReadOnly.
1585 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1587 * ControlPrint.C (c-tor):
1588 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1590 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1593 * character.h: small clean-ups.
1595 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1597 * ControlToc.C (getType): remove support for old float list.
1599 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1601 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1602 * ControlGraphics.h: no longer include insetgraphicsParams.h
1603 * ControlInset.h: no longer include LyXView.h
1608 * ControlCharacter.C:
1609 * ControlCitation.C:
1611 * ControlConnections.C:
1612 * ControlCopyright.C:
1615 * ControlExternal.C:
1616 * ControlGraphics.C:
1619 * ControlMinipage.C:
1620 * ControlPreamble.C:
1624 * ControlTabularCreate.C:
1626 * ControlVCLog.C: they're now in here!
1628 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1630 * ButtonControllerBase.h: C++ mode, inherit privately from
1632 * ButtonPolicies.h: ditto
1634 * ButtonController.h: C++ mode, swap init order of restore_ and
1637 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1639 * ControlTabularCreate.h:
1640 * ControlTabularCreate.C: make dialogs use a pair of uints
1644 * ControlVCLog.C: fill a stringstream with the log contents
1647 * ControlExternal.C: from Angus, clone the new InsetExternal
1650 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1652 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1653 and made more robust.
1655 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1660 * ControlPreamble.C:
1662 * ControlGraphics.C:
1663 * ControlExternal.C:
1664 * ControlCopyright.C: include gettext.h
1666 * ControlCharacter.C:
1667 * character.C: include gettext.h and language.h
1669 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1671 * ButtonController.h:
1672 * ButtonControllerBase.h:
1673 * ButtonControllerBase.C:
1680 * ControlConnections.h:
1683 * ControlExternal.C:
1686 * ViewBase.h: s/ControlButton/ControlButtons/
1688 s/UndoAll/Restore/ + associated
1690 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1692 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1695 * Makefile.am: associated changes with all of the above.
1697 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1699 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1700 and edit, view, update the External Material correctly. I hope!
1702 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1704 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1706 * BCTemplates.h: renamed as ButtonController.h
1708 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1711 * ControlConnections.h: associated change in #include and class names.
1713 * ControlExternal.[Ch]: new files; a controller for the External
1717 * Makefile.am: associated changes with all of the above.
1719 * ControlGraphics.[Ch]:
1720 * ControlInclude.[Ch]:
1721 * ControlPrint.[Ch]:
1723 (Browse): new method. Returns the results of a FileDialog browse.
1725 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1726 (getVectorFromString): fixed bug.
1728 * biblio.C (simpleSearch): cleaned up.
1730 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1732 * A slight reworking of Baruch Even's ButtonController patch.
1734 * BCTemplates.h: new file; all the templates for the ButtonController.
1735 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1736 to the more generic setButtonLabel().
1738 * ButtonController.[Ch]: renamed cancel_label and close_label as
1739 cancel_label_ and close_label_.
1741 * Makefile.am: added BCTemplates.h
1743 2001-03-29 Juergen Vigna <jug@sad.it>
1745 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1746 to use new %-lengths of LyXLength.
1748 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1750 * ControlCitation.C (bibkeysInfo): removed Assert.
1752 * ControlCopyright.h: moved GUICopyright into GUI.h
1756 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1758 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1759 (setDaughterParams): a (by default empty) new method called in show().
1765 * ControlMinipage.h:
1768 * ControlUrl.h (clearDaughterParams): removed
1770 * ControlMinipage.C (applyParamsToInset): update the view.
1771 Added namespace minipage containing a helper function getUnits.
1773 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1775 * ControlCharacter.[Ch]: moved out all the helper functions and the
1776 enum into their own file.
1777 * character.[Ch]: new files; contain the character helper functions,
1778 now inside namespace character.
1780 * ControlCitation.[Ch]: moved out all the helper functions and the
1781 enums into their own file. Simplified interface.
1782 * biblio.[Ch]: new files; contain the citation helper functions,
1783 now inside namespace biblio. Will be of use also to an improved
1786 * ControlGraphics.[Ch]:
1787 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1788 popups, respectively.
1791 * Makefile.am: associated changes.
1793 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1795 * ControlMinipage.[Ch]:
1796 * ControlPreamble.[Ch]:
1797 * ControlPrint.[Ch]:
1798 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1799 and Print popups and Splash screen, respectively.
1801 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1805 * Makefile.am: associated changes.
1807 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1809 * ControlConnections.[Ch]: (docType): new method; returns the type
1810 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1813 * ControlSearch.[Ch]:
1814 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1815 Search and TabularCreate popups, respectively.
1818 * Makefile.am: associated changes.
1820 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1822 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1825 * ControlInset.h (apply): fix bug. Can now create new insets again.
1827 * README: describe program flow.
1829 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1831 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1833 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1835 * ControlDialogs.h: moved class ControlInset into its own file.
1837 * ControlInset.h: new file. class ControlInset has been expanded to take
1838 two template parameters, Inset and Params. Believe that all inset
1839 controllers can be derived from this with the minimum of effort.
1841 * ControlBibitem.[Ch]:
1842 * ControlBibtex.[Ch]:
1843 * ControlCitation.[Ch]:
1844 * ControlCommand.[Ch]: moved most code into ControlInset.
1846 * lots of files. Moved protected stuff into private where possible.
1848 * ControlError.[Ch]:
1849 * ControlInclude.[Ch]:
1850 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1851 Include and Url popups, respectively.
1854 * Makefile.am: associated changes.
1856 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1858 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1861 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1863 * ControlCredits.C (getCredits): remove std:: qualifier for
1866 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1868 * ControlCredits.C (getCredits): add std:: on vector
1870 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1872 * ControlCredits.C: remove using that is only used once, use
1873 std::ios instead of std::iosbase, add some annoying comments.
1875 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1877 * lots of header files: improved explanatory notes.
1879 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1880 ControlBase is now a class that only controls the interaction of the
1881 View with the ButtonController.
1883 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1884 to ControlConnectBase. The class controls the connection/disconnection
1885 of signals from the LyX kernel and makes available the kernel (through
1886 lv_) to daughter controller classes.
1887 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1889 * ControlDialogs.h: new file. Contains the definition of two template
1890 controller classes, ControlDialog and ControlInset (was
1891 ControlConnectInset). ControlInset is a parent class for controllers
1892 of inset-popups. ControlDialogs is the rather uninspired name for
1893 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1894 ControlDialogs is reaching a state of maturity as several popups now use
1895 it and its functionality becomes clear. ControlInset is still in a state
1896 of flux. It is likely that functionality will be moved out of
1897 ControlCommands and into it.
1899 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1900 individual Controller header files and into one place. These classes
1901 serve only as convenient wrappers to simplify code in the respective
1902 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1904 * ControlCharacter.[Ch] (show, update, hide):
1905 * ControlLog.[Ch] (show, update, hide):
1906 * ControlVCLog.[Ch] (show, update, hide): moved back into
1907 the ControlDialogs base class.
1908 (setParams, clearParams): new methods containing controller-specific
1909 code to set/reset the parameters manipulated by the view.
1911 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1913 (hide): calls clearParams.
1915 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1916 by ControlCommand::hide().
1918 * ControlCopyright.[Ch]:
1919 * ControlCredits.[Ch]: new files; controllers for the copyright and
1920 credits popups, respectively.
1922 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1924 * ControlCharacter.C: fix typo
1926 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1928 * ControlCharacter.[Ch]: new files; controller for the character popup.
1930 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1931 moved to new files helper_funcs.[Ch].
1933 * helper_funcs.[Ch]: new files. Some useful helper functions and
1936 * Makefile.am: added new files.
1938 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1940 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1942 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1945 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1946 Control log files, respectively.
1948 * Makefile.am: added new files.
1950 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1952 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1954 * Makefile.am: added ControlBibtex.[Ch].
1956 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1959 * ControlCitation.C: added "using SigC::slot" declaration.
1961 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1962 to FormCitation.C prior to the merger: "Do not put space between
1965 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1967 * several files: remove CXX_WORKING_NAMESPACES
1969 * ButtonController.h: noncopyable is in namespace boost
1970 * ButtonPolicies.h: ditto
1972 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1974 * Merging changes from BRANCH_MVC back into HEAD.
1976 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1978 * Makefile.am: add ControlBibitem.[Ch].
1980 * ControlBibitem.[Ch]: new files that together define the Controller
1981 for a Bibitem popup.
1983 * ControlCommand.h (c-tor): give kb_action a default value of
1986 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1988 * ControlCitation.[Ch]: moved search functions out of class.
1989 (bibkeysInfo): new method. Returns const reference to private data.
1990 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1993 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1995 * ControlCitation.[Ch]: added Search functions to the class,
1996 (shamelessly lifted from Marco's gnome code). I think that these would
1997 be better as helper functions outside the class, but this is a first
2000 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2002 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2004 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2005 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2006 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2007 implementation of FormCitation.
2009 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2011 * ButtonPolicies.h: add SMI_NOOP to enum.
2013 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2015 * ButtonController.C (input): add "optimising" if-statement. Actually,
2016 things don't work correctly without it...
2018 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2020 * ViewBase.h: remove #pragma directive
2022 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2025 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2027 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2029 * Makefile.am: added ButtonPolicies.[Ch]
2031 * ButtonController.[Ch]: ButtonController is split into
2032 ButtonControllerBase and a template ButtonController class. The base
2033 class no longer stores a pointer to a ButtonPolicy, but instead
2034 accesses the actual instantiation of the policy through a pure virtual
2035 method bp(). This method and the ButtonPolicy itself are instantiated
2036 in the templatised ButtonController class. This class is derived from
2037 the GUI-specific GUIBC class, meaning that the frontends know
2038 nothing about the actual policy decided upon by the controllers.
2040 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2041 Instead the actual instantiations are accessed through pure virtual
2042 methods view() and bc(). The daughter classes are responsible for the
2043 actual View and ButtonController.
2045 * ControlCitation.h: the templatised class GUICitation instantiates
2046 the methods view() and bc(). It also stores the instances of the
2047 View and ButtonController.
2049 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2051 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2052 also changed to ButtonController.
2055 * ControlConnections.[Ch]:
2056 * ControlCommand.[Ch]:
2057 * ControlCitation.[Ch]:
2058 * ViewBase.h: Changes associated with this.
2060 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2062 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2063 xforms/ButtonController class into a GUI-I class (here) and an
2064 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2066 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2067 from which all Dialog Controllers should be derived. the Controllers
2068 are GUI-independent, but are designed to control the behaviour of
2069 GUI-specific implementaions of each dialog.
2071 * ControlConnections.[Ch]: new files. Classes controlling the
2072 connections of buffer-independent, buffer-dependent and Inset dialogs
2073 with the LyX kernel.
2075 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2076 InsetCommand subset of insets.
2078 * ControlCitation.[Ch]: new files. The test specialisation! A
2079 controller for the Citation dialog.
2081 * ViewBase.h: new file. ViewBase is an abstract base class from which
2082 GUI-specific dialogs should be derived. The functionality that the GUIs
2083 must now implement is much reduced.