1 2003-03-09 Angus Leeming <leeming@lyx.org>
3 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
5 2003-03-09 Angus Leeming <leeming@lyx.org>
7 * ControlTabular.[Ch]: minimise the interface in preparation for
8 a move to the Dialog-based scheme.
9 (inset): removed; the views require only getActiveCell().
10 (tabular): return as a reference.
12 2003-03-07 Angus Leeming <leeming@lyx.org>
14 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
16 * ControlInset.{h, tmpl}: remove.
17 * Makefile.am: remove files.
19 2003-03-07 Angus Leeming <leeming@lyx.org>
21 * ControlBibitem.[Ch]:
24 * ControlUrl.[Ch]: removed.
26 * Makefile.am: remove files.
28 * ControlERT.C (dispatchParams):
29 * ControlExternal.C (dispatchParams):
30 * ControlFloat.C (dispatchParams):
31 * ControlInclude.C (dispatchParams):
32 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
35 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
37 2003-03-05 Angus Leeming <leeming@lyx.org>
39 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
41 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
43 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
44 * ControlInclude.C: remove unneeded header files.
46 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
48 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
50 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
52 * Dialog.h: make view() public. Add dialog() methods.
54 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
56 * ControlGraphics.C: removed #include "converter.h"
58 * ControlSendto.C: added #include "format.h"
60 2003-02-27 Angus Leeming <leeming@lyx.org>
62 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
64 * Makefile.am: add the new files.
66 2003-02-27 Angus Leeming <leeming@lyx.org>
68 * ControlBibitem.C (c-tor):
69 * ControlBibtex.C (c-tor):
70 * ControlCitation.C (c-tor):
71 * ControlIndex.C (c-tor):
72 * ControlRef.C (c-tor):
73 * ControlToc.C (c-tor):
74 * ControlUrl.C (c-tor):
75 pass "name" to ControlCommand c-tor,
78 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
81 * ControlERT.C (dispatchParams): use "name" rather than a
84 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
86 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
88 2003-02-21 Angus Leeming <leeming@lyx.org>
91 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
93 * ControlBibitem.[Ch]:
95 * ControlCitation.[Ch]:
96 * ControlCommand.[Ch]:
101 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
102 individual controllers too.
103 Move 'apply' code into the LyX kernel.
105 * ControlConnections.C: temporary renaming of Dialogs::signals.
107 * Makefile.am: add new files.
109 2003-02-21 Angus Leeming <leeming@lyx.org>
111 * ControlBibtex.C (Browse):
112 * ControlExternal.C (Browse):
113 * ControlGraphics.C (Browse):
114 * ControlInclude.C (Browse):
115 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
117 * ControlPrint.C (Browse):
118 don't pass a LyXView & to browseFile et al.
119 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
120 don't pass a LyXView & to fileDlg.
122 2003-02-17 John Levon <levon@movementarian.org>
124 * ControlDialog.tmpl: build dialog before calling setParams
125 for the benefit of ControlSpellchecker
127 * ControlSpellchecker.h:
128 * ControlSpellchecker.C: rework. Lots of bugs fixed and
131 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
133 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
134 of available *.bib-files from bibFiles.lst).
136 * tex_helpers.C (getTexFileList): sort and dis-duplicate
137 listWithoutPath correctly.
139 2003-02-08 John Levon <levon@movementarian.org>
142 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
144 2003-02-08 John Levon <levon@movementarian.org>
148 * ControlChanges.C: add merge changes dialog
151 * ControlPrefs.C: add setCurrentAuthor()
153 2003-01-31 Angus Leeming <leeming@lyx.org>
155 * ViewBase.h: add an isVisible() pure virtual method.
157 * ControlTabular.C (updateInset): don't build the dialog here.
158 Instead, do nothing if the dialog is invisible.
160 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
162 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
164 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
166 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
168 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
170 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
174 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * several files: ws changes
178 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * ControlDocument.C (classApply): use boost.format
182 2002-11-29 Angus Leeming <leeming@lyx.org>
184 * ControlButtons.h (isClosing): make it public, so that the view can
186 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
189 * ControlPrefs.[Ch] (OKButton): removed.
191 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
192 dialog isClosing(). (Ie, if the "save" button has been pressed.)
194 2002-11-28 John Levon <levon@movementarian.org>
196 * ControlSpellchecker.C: fix Lars' broken cleanup
198 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
200 * ControlTabular.[Ch]: Add isMulticolumnCell
202 2002-11-27 Angus Leeming <leeming@lyx.org>
204 * ControlMath.C (ControlMath): initialise active_.
206 2002-11-25 Angus Leeming <leeming@lyx.org>
208 * ControlDialog.h (hide, update): move from protected to public.
210 * ControlMath.[Ch]: add controllers for the main math panel dialog and
211 for any daughter dialogs stored by the main panel.
213 2002-11-21 Angus Leeming <leeming@lyx.org>
215 * ControlDocument.[Ch] (classApply): no longer returns bool.
216 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
218 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * biblio.C (getAbbreviatedAuthor): use boost::format
222 * ControlSpellchecker.C (clearParams): use boost::format
224 2002-11-20 John Levon <levon@movementarian.org>
226 * ControlMath.C: couple more manglings
228 2002-11-20 John Levon <levon@movementarian.org>
231 * ControlMath.C: add find_xpm mangler
233 2002-11-17 John Levon <levon@movementarian.org>
235 * helper_funcs.C and users: specify save/open in file dialog
237 2002-11-15 John Levon <levon@movementarian.org>
240 * ControlPrefs.C: use setParams()
242 2002-11-15 John Levon <levon@movementarian.org>
244 * ControlButtons.h: make OKButton() virtual for prefs
247 * ControlPrefs.C: updates for xforms port to MVC
251 * ControlTabular.C: add simple MVC port
253 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
255 * ControlInclude.C: fix file format masks for qt's use
257 2002-11-13 John Levon <levon@movementarian.org>
261 * ControlPrefs.C: add skeleton controller
263 2002-11-12 John Levon <levon@movementarian.org>
265 * biblio.C: fix warnings
267 2002-11-12 Angus Leeming <leeming@lyx.org>
269 * ControlSpellchecker.C (check): fix crash
270 * biblio.C (escape_special_chars): simplify BRE.
272 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
274 * ControlDocument.[Ch]: Remove unused method
276 2002-11-07 Angus Leeming <leeming@lyx.org>
278 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
279 * clean-up the search code in biblio.C.
281 2002-11-07 John Levon <levon@movementarian.org>
283 * ControlGraphics.C: QGraphics fixes
285 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
287 * ControlDocument.C: (SaveAsDefault) make it work.
288 fix buffer update on class change
290 2002-11-06 Angus Leeming <leeming@lyx.org>
292 * biblio.C (searchKeys and helper functions): rewritten entirely
293 using the STL. Boost::regex searching now works as the old 1.2 code
296 2002-11-06 Angus Leeming <leeming@lyx.org>
298 * biblio.C: clean-up of the code. No change in functionality.
300 2002-11-04 Angus Leeming <leeming@lyx.org>
302 * ControlGraphics.[Ch] (getUnits): moved out of class and into
303 frnt::getBBUnits(). Code cleaned also.
305 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * biblio.C (regexSearch): STRCONV
310 * ControlAboutlyx.C (getVersion): STRCONV
312 * ControlMath.C: include config.h
314 2002-10-31 John Levon <levon@movementarian.org>
317 * ControlGraphics.C: bb units from Herbert
319 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
321 * ControlParagraph.[Ch] (alignDefault): new method, returning the
322 default alignment (block, left, right, center) of this paragraph.
324 2002-10-25 John Levon <levon@movementarian.org>
326 * ControlPrint.C: using endl
328 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
330 * ControlPrint.[Ch]: move code here from Liason.[Ch].
332 * ControlSpellchecker.h (getCount): new method.
333 * ControlSpellchecker.[Ch]: constify some accessor methods.
335 2002-10-22 Angus Leeming <leeming@lyx.org>
337 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
338 alphabetical order once again.
340 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
341 Add a list of CheckedWidget ptrs to ButtonControllerBase
342 together with methods addCheckedWidget and checkWidgets to use it.
344 * ButtonController.tmpl (refresh): use the return value of
345 checkWidgets to control the activation state of the Ok, Apply, Restore
348 * ControlDialog.tmpl (show, update):
349 * ControlInset.tmpl (showInset, update):
350 invoke ButtonController::refresh to ensure that the activation state of
351 the Ok, Apply buttons reflects the valid-state of the widgets.
353 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * tex_helpers.C (rescanTexStyles): don't pop p
358 * ControlWrap.C (WrapParms): remove initialization of placement,
359 and move empty c-tor to .h class def.
361 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
362 of on stringsteam, return void. Get the file into the stream as
365 * ControlPreamble.[Ch] (params): getter and setter for params_, make
366 params_ into a string, not just a pointer to string.
368 * ControlExternal.C (getTemplateNumber): put i into the for scope,
369 and use the sequence operator on the last for "parameter"
370 (getTemplate): use std::advance to advance the iterator.
372 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
373 instead of on a stringstream, return void. Get the file into the
374 stream as fast as possible.
375 (getVersion): use ostringstream
377 * lots of files: ws changes, formatting fixes
379 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
381 * ControlCharacter.C (apply): setMinibuffer change
382 * ControlDocument.C (apply): ditto
384 * ControlThesaurus.C (replace): ditto
385 * ControlSearch.C (find): ditto
387 * ControlPreamble.C (apply): ditto
388 * ControlParagraph.C (apply): ditto
390 2002-10-14 André Pönitz <poenitz@gmx.net>
392 * ControlDocument.C: somebody else's fix for a hard lockup
394 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
398 * Makefile.am: New document parameters controller
400 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
402 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
404 2002-09-24 Angus Leeming <leeming@lyx.org>
406 * ControlConnections.h: remove trailing whitespace.
408 * biblio.h: #include "LString.h".
410 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
412 * ControlGraphics.C: Change GUI origin strings into proper English.
414 2002-09-09 John Levon <levon@movementarian.org>
416 * ControlInclude.C: fix file masks. Get rid of noload,
417 remove stupid warning
419 2002-09-09 John Levon <levon@movementarian.org>
422 * ControlMath.C: add latex_deco
424 2002-09-06 John Levon <levon@movementarian.org>
426 * ControlMath.C: terminate dots
428 2002-09-05 Angus Leeming <leeming@lyx.org>
430 * all files: modify the headers as discussed on the list.
432 2002-08-30 John Levon <levon@movementarian.org>
435 * ControlMath.C: moved from MathsSymbols.C
437 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
439 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
441 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
443 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
444 first item in the list
446 2002-08-15 Angus Leeming <leeming@lyx.org>
448 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
450 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
452 2002-08-15 Angus Leeming <leeming@lyx.org>
454 * lots: changed my email address to leeming@lyx.org.
456 * GUI.h: return it to private derivation from boost::noncopyable.
458 2002-08-14 Angus Leeming <leeming@lyx.org>
460 * GUI.h: public derivation from boost::noncopyable.
462 2002-08-14 Angus Leeming <leeming@lyx.org>
464 * GUI.h: class GUI deries from boost::noncopyable
466 * ControlButtons.h: no longer derives from DialogBase, but instead
467 derives directly from boost::noncopyable.
469 * ViewBase.h: derives from boost::noncopyable.
471 * ControlCharacter.C:
473 * ControlConnections.C:
476 * ControlParagraph.C:
480 * ControlSpellchecker.C:
482 * ControlThesaurus.C:
483 rearrange #includes. Remove unnecessary ones.
485 * ControlError.h: add "insets/inseterror.h".
487 * helper_funcs.h: add necessary #includes.
489 * tex_helpers.[Ch]: add #pragma directives for g++.
491 * Makefile.am: remove src/frontends from -I list to compiler.
493 2002-08-13 Angus Leeming <leeming@lyx.org>
495 * ControlConnections.C:
497 changes due to the changed LyXView interface that now returns references
498 to member variables not pointers.
500 2002-08-12 Angus Leeming <leeming@lyx.org>
502 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
503 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
504 for the most commonly accessed core methods, to minimise code
507 * many files: use these wrappers and remove associated #includes.
509 2002-08-12 Angus Leeming <leeming@lyx.org>
511 * ControlButtons.[Ch] (bc, view): no longer virtual.
512 (setView, setButtonController): new methods, invoked by GUI.
514 * ControlDialog.h (show):
515 * ControlInset.h (createInset, showInset): make public, so that GUI can
518 * GUI.h: GUI now contains a controller, rather than deriving from it.
519 remove all those friend functions since we can now access the show,
520 createInset, showInset controller methods.
522 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
525 * character.h: #include a couple of STL files.
527 2002-08-08 John Levon <levon@movementarian.org>
529 * ControlCommandBuffer.C: LyXAction cleanup
531 2002-08-07 John Levon <levon@movementarian.org>
533 * ControlSpellchecker.C: fix crash when spellchecker doesn't
536 2002-08-06 John Levon <levon@movementarian.org>
538 * ControlSpellchecker.C:
539 * ControlSpellchecker.h: use WordLangTuple
541 2002-08-06 John Levon <levon@movementarian.org>
543 * ControlSpellchecker.C: show an alert with the
544 error message on initialisation failure
546 2002-08-04 John Levon <levon@movementarian.org>
548 * ControlSpellchecker.h:
549 * ControlSpellchecker.C: some cleanups
551 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
553 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
555 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
556 the Dialogs::updateParagraph signal is emitted.
558 2002-08-02 Angus Leeming <leeming@lyx.org>
560 * ControlCharacter.C (apply):
561 * ControlERT.C (applyParamsToInset):
562 * ControlParagraph.C (apply):
563 * ControlSearch.C (find, replace):
564 * ControlThesaurus.C (replace): changes due to LyXView::view() now
565 returning a boost::shared_ptr.
567 2002-08-01 John Levon <levon@movementarian.org>
569 * ControlSendto.C: writeFile() change
571 2002-08-01 John Levon <levon@movementarian.org>
573 * ControlSpellchecker.h:
574 * ControlSpellchecker.C: remove options
576 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * several files: strip,frontStrip -> trim,ltrim,rtrim
580 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * biblio.C (parseBibTeX): modify because of strip changes
584 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
586 * ControlFloat.[Ch]: Implement Wide Float toggle
587 Replace "allow_here_definitely" by "wide"
589 2002-07-22 Herbert Voss <voss@lyx.org>
591 * ControlGraphics.C: small changes
593 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
595 * ControlToc.C: remove getType
597 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
599 * ControlCommandBuffer.C: don't add "" to history
601 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
603 * ControlRef.C: fix dispatch call nicely
605 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
608 * ControlCommandBuffer.h:
609 * ControlCommandBuffer.C: add controller for command (mini) buffer
612 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
614 * ControlRef.C: fix dispatch call
616 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
618 * ControlCharacter.C: use view_state_changed not setState
620 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
622 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
624 2002-07-15 Mike Fabian <mfabian@suse.de>
626 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
627 of compare_no_case, because in turkish, 'i' is not the lowercase
628 version of 'I', and thus turkish locale breaks parsing of tags.
630 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
632 * ControlBibtex.C (applyParamsToInset): ws change
634 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
636 * ControlInclude.C: Add warning if absolute path name and
637 check_typeset is used together
639 2002-06-28 Angus Leeming <leeming@lyx.org>
641 * ControlGraphics.C: changes associated with the name changes
642 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
644 2002-06-25 Angus Leeming <leeming@lyx.org>
646 * ControlGraphics.C (readBB): Channges associated with the changed
647 interface to the graphics cache.
649 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * ControlParagraph.C: layout as layout
653 2002-06-21 Angus Leeming <leeming@lyx.org>
655 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
656 * tex_helpers.h: #include "LString.h".
658 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
661 * ControlBibitem.C: use repaint()
663 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
665 * ControlTexinfo.C: do the same for Texinfo
667 * tex_helpers.C: don't try to read a file that isn't there
669 2002-06-21 Herbert Voss <voss@perce.de>
671 * ControlBibtex.C: do an automatic update, when no bst-list
674 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
676 * GUI.h: createIndex() changed
678 2002-06-18 Herbert Voss <voss@perce.de>
680 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
681 helperstuff. Now the bibtex gui can use some of these functions
683 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
685 * ControlGraphics.C: just make the mask *.*
687 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
689 * changes to simplify function setup, removal of a lot of includes.
691 2002-06-12 Angus Leeming <leeming@lyx.org>
693 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
695 2002-06-12 Angus Leeming <leeming@lyx.org>
697 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
699 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
701 * ControlParagraph.[Ch]: new paragraph controller
702 * GUI.h: add new controller
705 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
707 * GUI.h: do not include ButtonController.tmpl
709 * ControlInset.h: include ControlInset.tmpl
711 * ControlCitation.C: do not include ControlInset.tmpl
712 * ControlCommand.C: ditto
713 * ControlERT.C: ditto
714 * ControlError.C: ditto
715 * ControlExternal.C: ditto
716 * ControlFloat.C: ditto
717 * ControlGraphics.C: ditto
718 * ControlInclude.C: ditto
719 * ControlMinipage.C: ditto
721 * ControlDialog.tmpl: remove the Base:: prefix
723 2002-06-07 Angus Leeming <leeming@lyx.org>
725 Fixes needed to compile with Compaq cxx 6.5.
726 * ControlDialog.tmpl: I have had to prefix base class methods with
729 * ControlInset.tmpl: #include a couple of headers.
731 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
733 * switch from SigC signals to boost::signals
735 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
737 * biblio.h: include vector
739 * biblio.C: change include order
740 (regexSearch): use boost regex and get rid of LRegex
742 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
747 * ControlCharacter.C:
750 * ControlConnections.C:
767 * ControlSpellchecker.C:
768 * ControlTabularCreate.C:
770 * ControlThesaurus.C:
773 * ControlVCLog.C: LyXView moved into frontends
775 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
777 * ControlExternal.C: add scoped_ptr.hpp
779 * ControlCharacter.h: use more specific smart_ptr header.
781 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
783 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
785 2002-05-13 Herbert Voss <voss@perce.de>
787 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
788 like "Odland, G. and ... "
789 (parseBibTeX): fix bug with title and booktitle
790 and replace a \n with a space when one entry has more than
793 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
795 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
796 "No change" and "Reset".
798 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
799 them at the front of the list.
801 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
803 * ControlGraphics.C: add some comments to the char * arrays.
804 Make rorigin_size const.
806 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
808 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
809 Enables the gui's to internationalise these strings.
811 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
813 * frnt_lang.C: fix build
815 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
817 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
818 If the the caller is the character dialog, add "No change" and "Reset"
819 to the vector, else don't.
820 Internationalise the GUI strings here rather than in the different
822 Sort the translated strings, albeit simply.
824 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
826 * character.[Ch]: rename namespace character as namespace frnt.
828 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
829 as several dialogs will use this info. The function now returns a
830 vector<LanguagePair> where LanguagePair is a display string and an
831 identifying string. The display string is internationalised.
833 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
834 the identifying strings, "No change" and "Reset".
836 * Makefile.am: add frnt_lang.[Ch].
838 2002-04-25 Herbert Voss <voss@lyx.org>
840 * ControlSendto.C (allFormats): don't add the graphics extensions to the
843 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
845 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
846 BibTeX databases in a WYSIWYM way.
848 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
850 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
851 way past his use-by date.
852 Make use of the improved info from Buffer::getBibkeyList when using
853 \bibliography. Enables us to provide natbib support in this case too.
855 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
857 * ControlGraphics.C: pass the browseFile dialog a string of only those
858 formats that can currently be loaded by LyX.
860 2002-04-15 Herbert Voss <voss@perce.de>
862 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
863 with something like ,,...blah...`` (two commas)
865 2002-04-14 Herbert Voss <voss@perce.de>
867 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
868 into the support/lstrings for better use in other programs.
870 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
871 namespace anon and make globally accessible.
872 (familyName): test for the presence of a LaTeX Space at the front of
873 of a name; strip it if it exists.
875 2002-04-11 Herbert Voss <voss@perce.de>
877 * ControlGraphics.C: expand "browse-string" to all available formats
879 2002-04-11 Herbert Voss <voss@perce.de>
881 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
883 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
885 * ControlAboutlyx.C (getVersion): two _() forgotten
887 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
891 * ControlBibtex.C: make N_() be _()
893 2002-04-07 Herbert Voss <voss@perce.de>
895 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
897 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
899 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
900 used when reading the BB.
902 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlGraphics.C (readBB): Don't open the ifstrem and then
905 check the format from the contents (and open a second ifstream in the
906 process. One at a time please.
908 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
910 * ControlRef.C (getBufferNum): squash warning message.
912 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
914 * ControlBibtex.C (Browse):
915 * ControlGraphics.C (Browse):
916 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
918 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
920 * ControlGraphics.C (applyParamsToInset): pass filepath to
921 InsetGraphics::updateInset.
923 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
925 * most files: ws cleanup
927 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
929 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
932 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
935 * ControlInclude.C: better error messages
937 2002-03-11 Herbert Voss <voss@lyx.org>
939 * biblio.C (parseBibTeX): fix another minibug with an
942 2002-03-10 Herbert Voss <voss@lyx.org>
944 * biblio.C (parseBibTeX): fix bug
945 (familyName): improve parsing
947 2002-03-09 Herbert Voss <voss@lyx.org>
949 * ControlGraphics.[Ch]: adding checkFilename() for testing
950 of non-existing files
952 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * ControlSendto.C (allFormats): fix a iterators are not pointers
957 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
959 * ControlShowFile.h: add a #include "LString.h"
961 2002-03-05 Herbert Voss <voss@lyx.org>
963 * biblio.C (getInfo): simplify if using paragraph layout
966 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
968 * biblio.C (getInfo): return the info field correctly if the key
970 (parseBibTeX): fix crash when data.find('=') returns string::npos.
972 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
974 * ControlForks.[Ch]: new files. A controller for the Forked Child
975 processes dialog, enabling the user to see what forked processes
976 are running, and, if he so desires, to kill them.
978 * GUI.h: add class GUIForks.
980 * Makefile.am: add ControlForks.[Ch].
982 * ControlGraphics.C (getParams): small change due to change in
985 2002-02-21 Herbert Voss <voss@lyx.org>
987 * biblio.C: fix bug with commentlines in a bibentry
989 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
991 * Makefile.am: simpler obj. file compile
993 2002-02-18 Herbert Voss <voss@lyx.org>
995 * ControlGraphics.[Ch]: remove help-file call
997 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
999 * helper_funcs.h: wrap the structs firster and seconder up in a
1000 namespace to avoid clashes with those in lyxalgo,h.
1002 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1003 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1005 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1007 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1010 change Systemcalls::System to Systemcalls::Wait and
1011 No change of functionality, just reflects the stripped down Systemcalls
1014 2002-02-06 Herbert Voss <voss@lyx.org>
1016 * ControlGraphics.[C] (readBB): search also in
1017 g'zipped files. If it is useful than PK and compress
1018 should also be supported. use unzipFile() from
1021 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1023 * ControlRef.C (getBufferName): new method to get a real buffer
1026 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1028 * ControlTexInfo.[Ch]: Removed Help functions.
1030 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1032 * ControlSpellchecker.C: clear any selection left
1035 2002-02-01 Herbert Voss <voss@lyx.org>
1037 * ControlGraphics.[C] (readBB): search only, if it is a
1038 ".?ps" file and look for bb's at end of file
1040 2002-01-30 Herbert Voss <voss@lyx.org>
1042 * ControlGraphic.[C]: do not search the whole file, when
1045 2002-01-29 Herbert Voss <voss@lyx.org>
1047 * ControlGraphic.[C]: added a button for document path
1048 when browsing -> bug 222
1050 2002-01-27 Herbert Voss <voss@lyx.org>
1052 * ControlGraphic.[Ch]: added support for Bounding Box, other
1055 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1057 * ControlAboutlyx.h:
1058 * ControlTexinfo.h: added #include "LString.h" where they belong.
1060 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1062 * ControlCitation.C:
1063 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1065 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1067 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1070 2002-01-20 Herbert Voss <voss@perce.de>
1072 * ControlInclude.[Ch]: better control of unexistings files
1073 when entered without the browser
1075 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1078 2002-01-19 Herbert Voss <voss@perce.de>
1080 * biblio.C (getInfo): fix bug when no author is given
1082 * biblio.C (parseBibTeX): change the parsing, so that
1083 '#'-characters in a bibtex entry are no more a problem.
1085 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1087 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1088 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1090 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1092 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1094 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1096 * ControlExternal.C (Browse): add a std:: qualifier
1098 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1100 * ControlExternal.C (Browse): simplify to use browseRelFile
1102 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1104 * ButtonController.tmpl: added // -*- C++ -*-
1106 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1107 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1108 Needed in _one_ of the ControlCommand-derived classes only.
1110 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlSearch.h: #include LString.h
1115 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1117 * ButtonController.h: split into two. The definition remains in
1118 ButtonController.h, the declaration is now in ButtonController.tmpl.
1119 These template methods should be #included when the derived class is
1120 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1121 and in the qt2 and gnome equivalents.
1123 * ControlDialogs.h: removed. The definition of class ControlDialog is
1124 now to be found in ControlDialog.h and the declaration of the methods
1125 is in ControlDialog.tmpl. The two template instantiations are performed
1126 in ControlDialog_impl.[Ch], new files also.
1128 * ControlInset.h: split into two. The definition remains in
1129 ControlInset.h, the declaration is now in ControlInset.tmpl.
1130 These template methods should be #included derived class is
1131 instantiated, in this case in 8 other .C files in this directory.
1133 * ControlAboutlyx.[Ch]:
1134 * ControlCharacter.[Ch]:
1138 * ControlExternal.C:
1140 * ControlGraphics.C:
1143 * ControlMinipage.C:
1144 * ControlPreamble.[Ch]:
1145 * ControlPrint.[Ch]:
1146 * ControlSearch.[Ch]:
1147 * ControlShowFile.[Ch]:
1148 * ControlSpellchecker.[Ch]:
1149 * ControlTabularCreate.[Ch]:
1150 * ControlTexinfo.[Ch]:
1151 * ControlThesaurus.[Ch]:
1152 * ControlVCLog.[Ch]: small changes associated with the above ones.
1154 * GUI.h: #include the ButtonController and dialog controller files
1155 here, rather than forward declare them. This is the correct place
1156 for these #includes.
1158 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1159 Rename ControlDialogs.h as ControlDialog.h.
1160 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1163 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1165 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1167 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1169 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1172 * ControlGraphics.C (Browse): remove overzealous shortcut
1174 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1176 * FormMinipage.C (apply, update): MinipageParams::width renamed
1177 as MinipageParams::pageWidth. InsetMinipage::width renamed
1178 as InsetMinipage::pageWidth.
1180 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1182 * ButtonController.h (refreshReadOnly): use explicit typename
1184 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1186 * helper_funcs.h (browseFile): add default empty button descriptions.
1188 * ControlGraphics.C (Browse):
1189 * ControlBibtex.C (Browse):
1190 * ControlInclude.C (Browse): add shortcuts to directory buttons
1192 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1194 * ControlThesaurus.h:
1195 * ControlThesaurus.C: update to Aiksaurus 0.14
1197 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ControlSpellchecker.C (clearParams): show the closing message
1200 only if some words have been checked, thereby fixing
1203 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1205 * ControlFloat.[Ch]: changes to prevent here definitely being used
1208 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1210 * ControlThesaurus.h: do not include <config.h> in header files
1212 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1214 * ControlToc.C: changes for floatlist
1216 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1218 * ControlVCLog.C: use _()
1220 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1222 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1225 2001-10-22 Juergen Vigna <jug@sad.it>
1227 * ControlSpellchecker.C (clearParams): use the error_ message of the
1228 speller_ if available when the spellchecker died.
1229 (setParams): remove double error message display.
1231 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1235 * helper_funcs.[Ch] (getLatexUnits): see above.
1237 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1239 * ControlTexinfo.C (getContents): use the right file for .sty files
1241 2001-10-10 Herbert Voss <voss@perce.de>
1243 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1244 and some more stuff from FormTexinfo.C
1246 * ControlShowFile.C: hiding the update-button
1248 2001-10-09 Herbert Voss <voss@perce.de>
1250 * ControlTexinfo.[Ch]: new files. Display information about the
1251 installed texfiles (cls,sty,bst).
1253 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1255 * GUI.h: added classes GUIShowFile and GUITexinfo.
1257 * Makefile.am: modified appropriately.
1259 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1261 * ControlAboutlyx.C (getVersion): use lyx_version and
1262 lyx_release_date instead of old macros
1264 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ControlSpellchecker.C (check): Behaves well now when the spell
1267 library doesn't know a replacement to an incorrect word.
1269 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1271 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1272 the correct place. Can now check spelling more than once!
1274 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1276 * ControlSplash.[Ch]: removed.
1278 * GUI.h: remove GUISplash class.
1280 * ViewBase.h: remove ViewSplash class.
1282 * Makefile.am: remove ControlSplash.[Ch].
1284 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1286 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1287 view will be shut down.
1290 * ControlInset.h: act on emergency_exit_.
1292 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1293 speller fails to launch.
1295 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1297 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1298 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1300 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1302 * ControlRef.h (disconnectOnApply): new method. Set to true.
1303 Perhaps make this user-modifiable?
1305 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1310 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1312 * ControlRef.C (getBufferList, getBufferNum): New methods
1314 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1316 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1317 of the dialog when the Apply button is pressed. Defaults to false,
1318 but can be overridden in the daughter classes.
1320 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1321 Perhaps make this user-modifiable?
1323 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1326 we have dialogs that update their contents when the buffer changes.
1327 Rather embarassing, really!
1329 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1331 * ControlSearch (replace): change semantics of replace to NOT move on
1332 to the next instance of a word once the present instance has been
1333 replaced unless we are replacing ALL instances of the word.
1335 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1337 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1339 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1341 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1342 dialog, set all options to "reset", close the dialog, re-open it ->
1343 the options are set incorrectly.
1345 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1346 When Applying it's useful to know whether the dialog is about to close
1347 or not (no point refreshing the display for example).
1349 * ControlInset.C (apply): use isClosing.
1351 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1354 * ControlDialogs.h: remove bc() hack, now fixed in
1355 Qt2 frontend. use member dialog_built_ instead of shared
1358 * ButtonController.h:
1359 * ButtonPolicies.C: more debug info
1361 * ButtonControllerBase.C: call refresh() when setting readOnly !
1363 * GUI.h: External form has apply, use the right policy
1365 * character.C: fix two off-by-one errors when latex font was removed
1367 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1369 * ControlInset.h (apply): tentative fix for the press Apply multiple
1370 times and get multiple new Insets problem.
1372 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1374 * ControlCharacter.C: fix typo
1378 * ControlInsets.C: make sure dialog is built before it is shown, so
1379 it works properly the very first time it is shown
1381 2001-08-20 Herbert Voss <voss@perce.de>
1383 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1384 and styles. Added an option for "bibliography into toc"
1386 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1388 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1389 LaTeX is no longer a font property.
1391 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1393 * GUI.h: Button controller for Reference dialog changed to
1394 NoRepeatedApplyReadOnlyPolicy.
1396 * biblio.C (getInfo): output volume and number info. Move year to end
1399 2001-08-09 Allan Rae <rae@lyx.org>
1401 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1403 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1405 * helper_funcs.C (getVectorFromString): fixed small bug.
1407 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1409 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1411 * ControlSpellchecker.C: check next word after insert in personal dict
1413 2001-08-06 Juergen Vigna <jug@sad.it>
1415 * ControlERT.[Ch]: new file
1417 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1419 * ControlInset.h: const and non-const forms of params().
1421 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1422 whitespace from either side of each item.
1424 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1426 * ControlFloat.h: add a != operator for FloatParams.
1427 Lars, how did you get this to compile!!!
1429 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1430 operator != for MinipageParams. Who's changing stuff and not compiling?
1432 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1434 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1437 * GUI.h: add class GUIFloat
1439 * ControlFloat.[Ch]: new files
1441 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1443 * ControlPrint.C: #include Lassert.h here.
1445 2001-07-26 Baruch Even <baruch@lyx.org>
1447 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1450 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1452 * ControlThesaurus.h:
1453 * ControlThesaurus.C:
1455 * Makefile.am: thesaurus support
1457 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1460 * ControlInclude.C: implement ability to load file
1462 2001-07-18 Juergen Vigna <jug@sad.it>
1464 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1466 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1468 * biblio.C (getInfo): add a .c_str() to handle the usual
1471 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1473 * ControlCitation.[Ch]: changes associated with adding natbib support.
1474 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1475 New static variable citeStyles_.
1477 * biblio.[Ch]: large internal rearrangement.
1478 New public enum CiteStyle.
1479 New public struct CitationStyle.
1480 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1481 getNumericalStrings, getAuthorYearStrings
1482 (simpleSearch, regexSearch): no longer publicly accessible.
1484 * helper_funcs.C (getStringFromVector): bug fix.
1486 2001-07-16 Baruch Even <baruch@lyx.org>
1488 * ControlVCLog.h: Added Lsstream.h to includes.
1490 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1492 * ControlSpellchecker.[Ch]: remove d-tor.
1494 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1496 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1498 2001-07-16 Juergen Vigna <jug@sad.it>
1500 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1501 compiled with USE_PSPELL) to be able to switch between ISpell and
1504 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1506 Consistent use of Lsstream.h:
1507 * ControlAboutlyx.[Ch] (getCredits):
1508 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1510 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1512 * ControlCredits.[Ch]: removed
1513 * ControlCopyright.[Ch]: removed
1514 * ControlAboutlyx.[Ch]: added (replaces previous)
1515 * GUI.h: removed credits and copyright added about lyx stuff
1517 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1519 * ControlSpellchecker.C (getSuggestion):
1520 (getWord): add std:: qualifier
1522 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1524 * ControlSpellchecker.[Ch]: added
1525 * ViewBase.h: added partialUpdate(int) member
1526 * GUI.h: added spell stuff
1528 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1530 * ControlExternal.C: (*it). -> it->
1532 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1534 * ButtonController.h: move some included header files out of the
1535 frontends and into here.
1537 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1539 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1541 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1543 * *.[h]: added // -*- C++ -*-
1544 * *.[C]: removed // -*- C++ -*-
1546 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1547 activate Apply button.
1548 (clearParams): removed.
1549 font_ is now stored as a boost::scoped_ptr.
1550 font_ is no longer deleted on hide(), so it's contents can now be used
1551 by the Font button on the toolbar.
1552 Lots of new methods so that the GUI can easily get the contents of
1553 font_ when it update()s.
1555 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1557 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1558 crash when the Font button on the Toolbar is pressed.
1560 * GUI.h: change policy of Character button controller to
1561 OkApplyCancelReadOnlyPolicy.
1563 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1565 * ControlToc.C (getContents): don't add anything to the list if it
1566 is supposed to be empty.
1568 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1570 * helper_funcs.C (getVectorFromString): bug fix.
1572 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1574 * ButtonController.h
1575 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1576 from ButtonControllerBase::readOnly. Updates the state of the widgets
1577 in the read-only list only when the read-only status of the document
1579 (refresh): moved this stuff into refreshReadOnly.
1581 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1583 * ControlPrint.C (c-tor):
1584 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1586 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1589 * character.h: small clean-ups.
1591 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1593 * ControlToc.C (getType): remove support for old float list.
1595 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1597 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1598 * ControlGraphics.h: no longer include insetgraphicsParams.h
1599 * ControlInset.h: no longer include LyXView.h
1604 * ControlCharacter.C:
1605 * ControlCitation.C:
1607 * ControlConnections.C:
1608 * ControlCopyright.C:
1611 * ControlExternal.C:
1612 * ControlGraphics.C:
1615 * ControlMinipage.C:
1616 * ControlPreamble.C:
1620 * ControlTabularCreate.C:
1622 * ControlVCLog.C: they're now in here!
1624 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1626 * ButtonControllerBase.h: C++ mode, inherit privately from
1628 * ButtonPolicies.h: ditto
1630 * ButtonController.h: C++ mode, swap init order of restore_ and
1633 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1635 * ControlTabularCreate.h:
1636 * ControlTabularCreate.C: make dialogs use a pair of uints
1640 * ControlVCLog.C: fill a stringstream with the log contents
1643 * ControlExternal.C: from Angus, clone the new InsetExternal
1646 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1648 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1649 and made more robust.
1651 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1656 * ControlPreamble.C:
1658 * ControlGraphics.C:
1659 * ControlExternal.C:
1660 * ControlCopyright.C: include gettext.h
1662 * ControlCharacter.C:
1663 * character.C: include gettext.h and language.h
1665 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1667 * ButtonController.h:
1668 * ButtonControllerBase.h:
1669 * ButtonControllerBase.C:
1676 * ControlConnections.h:
1679 * ControlExternal.C:
1682 * ViewBase.h: s/ControlButton/ControlButtons/
1684 s/UndoAll/Restore/ + associated
1686 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1688 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1691 * Makefile.am: associated changes with all of the above.
1693 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1695 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1696 and edit, view, update the External Material correctly. I hope!
1698 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1700 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1702 * BCTemplates.h: renamed as ButtonController.h
1704 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1707 * ControlConnections.h: associated change in #include and class names.
1709 * ControlExternal.[Ch]: new files; a controller for the External
1713 * Makefile.am: associated changes with all of the above.
1715 * ControlGraphics.[Ch]:
1716 * ControlInclude.[Ch]:
1717 * ControlPrint.[Ch]:
1719 (Browse): new method. Returns the results of a FileDialog browse.
1721 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1722 (getVectorFromString): fixed bug.
1724 * biblio.C (simpleSearch): cleaned up.
1726 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1728 * A slight reworking of Baruch Even's ButtonController patch.
1730 * BCTemplates.h: new file; all the templates for the ButtonController.
1731 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1732 to the more generic setButtonLabel().
1734 * ButtonController.[Ch]: renamed cancel_label and close_label as
1735 cancel_label_ and close_label_.
1737 * Makefile.am: added BCTemplates.h
1739 2001-03-29 Juergen Vigna <jug@sad.it>
1741 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1742 to use new %-lengths of LyXLength.
1744 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1746 * ControlCitation.C (bibkeysInfo): removed Assert.
1748 * ControlCopyright.h: moved GUICopyright into GUI.h
1752 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1754 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1755 (setDaughterParams): a (by default empty) new method called in show().
1761 * ControlMinipage.h:
1764 * ControlUrl.h (clearDaughterParams): removed
1766 * ControlMinipage.C (applyParamsToInset): update the view.
1767 Added namespace minipage containing a helper function getUnits.
1769 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1771 * ControlCharacter.[Ch]: moved out all the helper functions and the
1772 enum into their own file.
1773 * character.[Ch]: new files; contain the character helper functions,
1774 now inside namespace character.
1776 * ControlCitation.[Ch]: moved out all the helper functions and the
1777 enums into their own file. Simplified interface.
1778 * biblio.[Ch]: new files; contain the citation helper functions,
1779 now inside namespace biblio. Will be of use also to an improved
1782 * ControlGraphics.[Ch]:
1783 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1784 popups, respectively.
1787 * Makefile.am: associated changes.
1789 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1791 * ControlMinipage.[Ch]:
1792 * ControlPreamble.[Ch]:
1793 * ControlPrint.[Ch]:
1794 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1795 and Print popups and Splash screen, respectively.
1797 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1801 * Makefile.am: associated changes.
1803 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1805 * ControlConnections.[Ch]: (docType): new method; returns the type
1806 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1809 * ControlSearch.[Ch]:
1810 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1811 Search and TabularCreate popups, respectively.
1814 * Makefile.am: associated changes.
1816 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1818 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1821 * ControlInset.h (apply): fix bug. Can now create new insets again.
1823 * README: describe program flow.
1825 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1827 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1829 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1831 * ControlDialogs.h: moved class ControlInset into its own file.
1833 * ControlInset.h: new file. class ControlInset has been expanded to take
1834 two template parameters, Inset and Params. Believe that all inset
1835 controllers can be derived from this with the minimum of effort.
1837 * ControlBibitem.[Ch]:
1838 * ControlBibtex.[Ch]:
1839 * ControlCitation.[Ch]:
1840 * ControlCommand.[Ch]: moved most code into ControlInset.
1842 * lots of files. Moved protected stuff into private where possible.
1844 * ControlError.[Ch]:
1845 * ControlInclude.[Ch]:
1846 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1847 Include and Url popups, respectively.
1850 * Makefile.am: associated changes.
1852 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1854 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1857 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1859 * ControlCredits.C (getCredits): remove std:: qualifier for
1862 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1864 * ControlCredits.C (getCredits): add std:: on vector
1866 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1868 * ControlCredits.C: remove using that is only used once, use
1869 std::ios instead of std::iosbase, add some annoying comments.
1871 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1873 * lots of header files: improved explanatory notes.
1875 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1876 ControlBase is now a class that only controls the interaction of the
1877 View with the ButtonController.
1879 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1880 to ControlConnectBase. The class controls the connection/disconnection
1881 of signals from the LyX kernel and makes available the kernel (through
1882 lv_) to daughter controller classes.
1883 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1885 * ControlDialogs.h: new file. Contains the definition of two template
1886 controller classes, ControlDialog and ControlInset (was
1887 ControlConnectInset). ControlInset is a parent class for controllers
1888 of inset-popups. ControlDialogs is the rather uninspired name for
1889 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1890 ControlDialogs is reaching a state of maturity as several popups now use
1891 it and its functionality becomes clear. ControlInset is still in a state
1892 of flux. It is likely that functionality will be moved out of
1893 ControlCommands and into it.
1895 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1896 individual Controller header files and into one place. These classes
1897 serve only as convenient wrappers to simplify code in the respective
1898 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1900 * ControlCharacter.[Ch] (show, update, hide):
1901 * ControlLog.[Ch] (show, update, hide):
1902 * ControlVCLog.[Ch] (show, update, hide): moved back into
1903 the ControlDialogs base class.
1904 (setParams, clearParams): new methods containing controller-specific
1905 code to set/reset the parameters manipulated by the view.
1907 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1909 (hide): calls clearParams.
1911 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1912 by ControlCommand::hide().
1914 * ControlCopyright.[Ch]:
1915 * ControlCredits.[Ch]: new files; controllers for the copyright and
1916 credits popups, respectively.
1918 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1920 * ControlCharacter.C: fix typo
1922 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1924 * ControlCharacter.[Ch]: new files; controller for the character popup.
1926 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1927 moved to new files helper_funcs.[Ch].
1929 * helper_funcs.[Ch]: new files. Some useful helper functions and
1932 * Makefile.am: added new files.
1934 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1936 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1938 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1941 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1942 Control log files, respectively.
1944 * Makefile.am: added new files.
1946 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1948 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1950 * Makefile.am: added ControlBibtex.[Ch].
1952 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1955 * ControlCitation.C: added "using SigC::slot" declaration.
1957 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1958 to FormCitation.C prior to the merger: "Do not put space between
1961 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1963 * several files: remove CXX_WORKING_NAMESPACES
1965 * ButtonController.h: noncopyable is in namespace boost
1966 * ButtonPolicies.h: ditto
1968 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1970 * Merging changes from BRANCH_MVC back into HEAD.
1972 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1974 * Makefile.am: add ControlBibitem.[Ch].
1976 * ControlBibitem.[Ch]: new files that together define the Controller
1977 for a Bibitem popup.
1979 * ControlCommand.h (c-tor): give kb_action a default value of
1982 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1984 * ControlCitation.[Ch]: moved search functions out of class.
1985 (bibkeysInfo): new method. Returns const reference to private data.
1986 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1989 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1991 * ControlCitation.[Ch]: added Search functions to the class,
1992 (shamelessly lifted from Marco's gnome code). I think that these would
1993 be better as helper functions outside the class, but this is a first
1996 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1998 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2000 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2001 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2002 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2003 implementation of FormCitation.
2005 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2007 * ButtonPolicies.h: add SMI_NOOP to enum.
2009 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2011 * ButtonController.C (input): add "optimising" if-statement. Actually,
2012 things don't work correctly without it...
2014 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2016 * ViewBase.h: remove #pragma directive
2018 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2021 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2023 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2025 * Makefile.am: added ButtonPolicies.[Ch]
2027 * ButtonController.[Ch]: ButtonController is split into
2028 ButtonControllerBase and a template ButtonController class. The base
2029 class no longer stores a pointer to a ButtonPolicy, but instead
2030 accesses the actual instantiation of the policy through a pure virtual
2031 method bp(). This method and the ButtonPolicy itself are instantiated
2032 in the templatised ButtonController class. This class is derived from
2033 the GUI-specific GUIBC class, meaning that the frontends know
2034 nothing about the actual policy decided upon by the controllers.
2036 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2037 Instead the actual instantiations are accessed through pure virtual
2038 methods view() and bc(). The daughter classes are responsible for the
2039 actual View and ButtonController.
2041 * ControlCitation.h: the templatised class GUICitation instantiates
2042 the methods view() and bc(). It also stores the instances of the
2043 View and ButtonController.
2045 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2047 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2048 also changed to ButtonController.
2051 * ControlConnections.[Ch]:
2052 * ControlCommand.[Ch]:
2053 * ControlCitation.[Ch]:
2054 * ViewBase.h: Changes associated with this.
2056 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2058 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2059 xforms/ButtonController class into a GUI-I class (here) and an
2060 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2062 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2063 from which all Dialog Controllers should be derived. the Controllers
2064 are GUI-independent, but are designed to control the behaviour of
2065 GUI-specific implementaions of each dialog.
2067 * ControlConnections.[Ch]: new files. Classes controlling the
2068 connections of buffer-independent, buffer-dependent and Inset dialogs
2069 with the LyX kernel.
2071 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2072 InsetCommand subset of insets.
2074 * ControlCitation.[Ch]: new files. The test specialisation! A
2075 controller for the Citation dialog.
2077 * ViewBase.h: new file. ViewBase is an abstract base class from which
2078 GUI-specific dialogs should be derived. The functionality that the GUIs
2079 must now implement is much reduced.