1 2003-03-09 Angus Leeming <leeming@lyx.org>
3 * ControlTabular.[Ch]: minimise the interface in preparation for
4 a move to the Dialog-based scheme.
5 (inset): removed; the views require only getActiveCell().
6 (tabular): return as a reference.
8 2003-03-07 Angus Leeming <leeming@lyx.org>
10 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
12 * ControlInset.{h, tmpl}: remove.
13 * Makefile.am: remove files.
15 2003-03-07 Angus Leeming <leeming@lyx.org>
17 * ControlBibitem.[Ch]:
20 * ControlUrl.[Ch]: removed.
22 * Makefile.am: remove files.
24 * ControlERT.C (dispatchParams):
25 * ControlExternal.C (dispatchParams):
26 * ControlFloat.C (dispatchParams):
27 * ControlInclude.C (dispatchParams):
28 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
31 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
33 2003-03-05 Angus Leeming <leeming@lyx.org>
35 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
37 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
39 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
40 * ControlInclude.C: remove unneeded header files.
42 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
44 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
46 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
48 * Dialog.h: make view() public. Add dialog() methods.
50 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
52 * ControlGraphics.C: removed #include "converter.h"
54 * ControlSendto.C: added #include "format.h"
56 2003-02-27 Angus Leeming <leeming@lyx.org>
58 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
60 * Makefile.am: add the new files.
62 2003-02-27 Angus Leeming <leeming@lyx.org>
64 * ControlBibitem.C (c-tor):
65 * ControlBibtex.C (c-tor):
66 * ControlCitation.C (c-tor):
67 * ControlIndex.C (c-tor):
68 * ControlRef.C (c-tor):
69 * ControlToc.C (c-tor):
70 * ControlUrl.C (c-tor):
71 pass "name" to ControlCommand c-tor,
74 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
77 * ControlERT.C (dispatchParams): use "name" rather than a
80 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
82 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
84 2003-02-21 Angus Leeming <leeming@lyx.org>
87 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
89 * ControlBibitem.[Ch]:
91 * ControlCitation.[Ch]:
92 * ControlCommand.[Ch]:
97 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
98 individual controllers too.
99 Move 'apply' code into the LyX kernel.
101 * ControlConnections.C: temporary renaming of Dialogs::signals.
103 * Makefile.am: add new files.
105 2003-02-21 Angus Leeming <leeming@lyx.org>
107 * ControlBibtex.C (Browse):
108 * ControlExternal.C (Browse):
109 * ControlGraphics.C (Browse):
110 * ControlInclude.C (Browse):
111 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
113 * ControlPrint.C (Browse):
114 don't pass a LyXView & to browseFile et al.
115 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
116 don't pass a LyXView & to fileDlg.
118 2003-02-17 John Levon <levon@movementarian.org>
120 * ControlDialog.tmpl: build dialog before calling setParams
121 for the benefit of ControlSpellchecker
123 * ControlSpellchecker.h:
124 * ControlSpellchecker.C: rework. Lots of bugs fixed and
127 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
129 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
130 of available *.bib-files from bibFiles.lst).
132 * tex_helpers.C (getTexFileList): sort and dis-duplicate
133 listWithoutPath correctly.
135 2003-02-08 John Levon <levon@movementarian.org>
138 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
140 2003-02-08 John Levon <levon@movementarian.org>
144 * ControlChanges.C: add merge changes dialog
147 * ControlPrefs.C: add setCurrentAuthor()
149 2003-01-31 Angus Leeming <leeming@lyx.org>
151 * ViewBase.h: add an isVisible() pure virtual method.
153 * ControlTabular.C (updateInset): don't build the dialog here.
154 Instead, do nothing if the dialog is invisible.
156 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
158 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
160 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
162 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
164 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
166 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
168 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
170 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * several files: ws changes
174 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * ControlDocument.C (classApply): use boost.format
178 2002-11-29 Angus Leeming <leeming@lyx.org>
180 * ControlButtons.h (isClosing): make it public, so that the view can
182 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
185 * ControlPrefs.[Ch] (OKButton): removed.
187 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
188 dialog isClosing(). (Ie, if the "save" button has been pressed.)
190 2002-11-28 John Levon <levon@movementarian.org>
192 * ControlSpellchecker.C: fix Lars' broken cleanup
194 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
196 * ControlTabular.[Ch]: Add isMulticolumnCell
198 2002-11-27 Angus Leeming <leeming@lyx.org>
200 * ControlMath.C (ControlMath): initialise active_.
202 2002-11-25 Angus Leeming <leeming@lyx.org>
204 * ControlDialog.h (hide, update): move from protected to public.
206 * ControlMath.[Ch]: add controllers for the main math panel dialog and
207 for any daughter dialogs stored by the main panel.
209 2002-11-21 Angus Leeming <leeming@lyx.org>
211 * ControlDocument.[Ch] (classApply): no longer returns bool.
212 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
214 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
216 * biblio.C (getAbbreviatedAuthor): use boost::format
218 * ControlSpellchecker.C (clearParams): use boost::format
220 2002-11-20 John Levon <levon@movementarian.org>
222 * ControlMath.C: couple more manglings
224 2002-11-20 John Levon <levon@movementarian.org>
227 * ControlMath.C: add find_xpm mangler
229 2002-11-17 John Levon <levon@movementarian.org>
231 * helper_funcs.C and users: specify save/open in file dialog
233 2002-11-15 John Levon <levon@movementarian.org>
236 * ControlPrefs.C: use setParams()
238 2002-11-15 John Levon <levon@movementarian.org>
240 * ControlButtons.h: make OKButton() virtual for prefs
243 * ControlPrefs.C: updates for xforms port to MVC
247 * ControlTabular.C: add simple MVC port
249 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
251 * ControlInclude.C: fix file format masks for qt's use
253 2002-11-13 John Levon <levon@movementarian.org>
257 * ControlPrefs.C: add skeleton controller
259 2002-11-12 John Levon <levon@movementarian.org>
261 * biblio.C: fix warnings
263 2002-11-12 Angus Leeming <leeming@lyx.org>
265 * ControlSpellchecker.C (check): fix crash
266 * biblio.C (escape_special_chars): simplify BRE.
268 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
270 * ControlDocument.[Ch]: Remove unused method
272 2002-11-07 Angus Leeming <leeming@lyx.org>
274 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
275 * clean-up the search code in biblio.C.
277 2002-11-07 John Levon <levon@movementarian.org>
279 * ControlGraphics.C: QGraphics fixes
281 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
283 * ControlDocument.C: (SaveAsDefault) make it work.
284 fix buffer update on class change
286 2002-11-06 Angus Leeming <leeming@lyx.org>
288 * biblio.C (searchKeys and helper functions): rewritten entirely
289 using the STL. Boost::regex searching now works as the old 1.2 code
292 2002-11-06 Angus Leeming <leeming@lyx.org>
294 * biblio.C: clean-up of the code. No change in functionality.
296 2002-11-04 Angus Leeming <leeming@lyx.org>
298 * ControlGraphics.[Ch] (getUnits): moved out of class and into
299 frnt::getBBUnits(). Code cleaned also.
301 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * biblio.C (regexSearch): STRCONV
306 * ControlAboutlyx.C (getVersion): STRCONV
308 * ControlMath.C: include config.h
310 2002-10-31 John Levon <levon@movementarian.org>
313 * ControlGraphics.C: bb units from Herbert
315 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
317 * ControlParagraph.[Ch] (alignDefault): new method, returning the
318 default alignment (block, left, right, center) of this paragraph.
320 2002-10-25 John Levon <levon@movementarian.org>
322 * ControlPrint.C: using endl
324 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
326 * ControlPrint.[Ch]: move code here from Liason.[Ch].
328 * ControlSpellchecker.h (getCount): new method.
329 * ControlSpellchecker.[Ch]: constify some accessor methods.
331 2002-10-22 Angus Leeming <leeming@lyx.org>
333 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
334 alphabetical order once again.
336 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
337 Add a list of CheckedWidget ptrs to ButtonControllerBase
338 together with methods addCheckedWidget and checkWidgets to use it.
340 * ButtonController.tmpl (refresh): use the return value of
341 checkWidgets to control the activation state of the Ok, Apply, Restore
344 * ControlDialog.tmpl (show, update):
345 * ControlInset.tmpl (showInset, update):
346 invoke ButtonController::refresh to ensure that the activation state of
347 the Ok, Apply buttons reflects the valid-state of the widgets.
349 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
351 * tex_helpers.C (rescanTexStyles): don't pop p
354 * ControlWrap.C (WrapParms): remove initialization of placement,
355 and move empty c-tor to .h class def.
357 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
358 of on stringsteam, return void. Get the file into the stream as
361 * ControlPreamble.[Ch] (params): getter and setter for params_, make
362 params_ into a string, not just a pointer to string.
364 * ControlExternal.C (getTemplateNumber): put i into the for scope,
365 and use the sequence operator on the last for "parameter"
366 (getTemplate): use std::advance to advance the iterator.
368 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
369 instead of on a stringstream, return void. Get the file into the
370 stream as fast as possible.
371 (getVersion): use ostringstream
373 * lots of files: ws changes, formatting fixes
375 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
377 * ControlCharacter.C (apply): setMinibuffer change
378 * ControlDocument.C (apply): ditto
380 * ControlThesaurus.C (replace): ditto
381 * ControlSearch.C (find): ditto
383 * ControlPreamble.C (apply): ditto
384 * ControlParagraph.C (apply): ditto
386 2002-10-14 André Pönitz <poenitz@gmx.net>
388 * ControlDocument.C: somebody else's fix for a hard lockup
390 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
394 * Makefile.am: New document parameters controller
396 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
400 2002-09-24 Angus Leeming <leeming@lyx.org>
402 * ControlConnections.h: remove trailing whitespace.
404 * biblio.h: #include "LString.h".
406 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
408 * ControlGraphics.C: Change GUI origin strings into proper English.
410 2002-09-09 John Levon <levon@movementarian.org>
412 * ControlInclude.C: fix file masks. Get rid of noload,
413 remove stupid warning
415 2002-09-09 John Levon <levon@movementarian.org>
418 * ControlMath.C: add latex_deco
420 2002-09-06 John Levon <levon@movementarian.org>
422 * ControlMath.C: terminate dots
424 2002-09-05 Angus Leeming <leeming@lyx.org>
426 * all files: modify the headers as discussed on the list.
428 2002-08-30 John Levon <levon@movementarian.org>
431 * ControlMath.C: moved from MathsSymbols.C
433 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
435 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
437 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
439 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
440 first item in the list
442 2002-08-15 Angus Leeming <leeming@lyx.org>
444 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
446 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
448 2002-08-15 Angus Leeming <leeming@lyx.org>
450 * lots: changed my email address to leeming@lyx.org.
452 * GUI.h: return it to private derivation from boost::noncopyable.
454 2002-08-14 Angus Leeming <leeming@lyx.org>
456 * GUI.h: public derivation from boost::noncopyable.
458 2002-08-14 Angus Leeming <leeming@lyx.org>
460 * GUI.h: class GUI deries from boost::noncopyable
462 * ControlButtons.h: no longer derives from DialogBase, but instead
463 derives directly from boost::noncopyable.
465 * ViewBase.h: derives from boost::noncopyable.
467 * ControlCharacter.C:
469 * ControlConnections.C:
472 * ControlParagraph.C:
476 * ControlSpellchecker.C:
478 * ControlThesaurus.C:
479 rearrange #includes. Remove unnecessary ones.
481 * ControlError.h: add "insets/inseterror.h".
483 * helper_funcs.h: add necessary #includes.
485 * tex_helpers.[Ch]: add #pragma directives for g++.
487 * Makefile.am: remove src/frontends from -I list to compiler.
489 2002-08-13 Angus Leeming <leeming@lyx.org>
491 * ControlConnections.C:
493 changes due to the changed LyXView interface that now returns references
494 to member variables not pointers.
496 2002-08-12 Angus Leeming <leeming@lyx.org>
498 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
499 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
500 for the most commonly accessed core methods, to minimise code
503 * many files: use these wrappers and remove associated #includes.
505 2002-08-12 Angus Leeming <leeming@lyx.org>
507 * ControlButtons.[Ch] (bc, view): no longer virtual.
508 (setView, setButtonController): new methods, invoked by GUI.
510 * ControlDialog.h (show):
511 * ControlInset.h (createInset, showInset): make public, so that GUI can
514 * GUI.h: GUI now contains a controller, rather than deriving from it.
515 remove all those friend functions since we can now access the show,
516 createInset, showInset controller methods.
518 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
521 * character.h: #include a couple of STL files.
523 2002-08-08 John Levon <levon@movementarian.org>
525 * ControlCommandBuffer.C: LyXAction cleanup
527 2002-08-07 John Levon <levon@movementarian.org>
529 * ControlSpellchecker.C: fix crash when spellchecker doesn't
532 2002-08-06 John Levon <levon@movementarian.org>
534 * ControlSpellchecker.C:
535 * ControlSpellchecker.h: use WordLangTuple
537 2002-08-06 John Levon <levon@movementarian.org>
539 * ControlSpellchecker.C: show an alert with the
540 error message on initialisation failure
542 2002-08-04 John Levon <levon@movementarian.org>
544 * ControlSpellchecker.h:
545 * ControlSpellchecker.C: some cleanups
547 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
549 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
551 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
552 the Dialogs::updateParagraph signal is emitted.
554 2002-08-02 Angus Leeming <leeming@lyx.org>
556 * ControlCharacter.C (apply):
557 * ControlERT.C (applyParamsToInset):
558 * ControlParagraph.C (apply):
559 * ControlSearch.C (find, replace):
560 * ControlThesaurus.C (replace): changes due to LyXView::view() now
561 returning a boost::shared_ptr.
563 2002-08-01 John Levon <levon@movementarian.org>
565 * ControlSendto.C: writeFile() change
567 2002-08-01 John Levon <levon@movementarian.org>
569 * ControlSpellchecker.h:
570 * ControlSpellchecker.C: remove options
572 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * several files: strip,frontStrip -> trim,ltrim,rtrim
576 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * biblio.C (parseBibTeX): modify because of strip changes
580 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
582 * ControlFloat.[Ch]: Implement Wide Float toggle
583 Replace "allow_here_definitely" by "wide"
585 2002-07-22 Herbert Voss <voss@lyx.org>
587 * ControlGraphics.C: small changes
589 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
591 * ControlToc.C: remove getType
593 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
595 * ControlCommandBuffer.C: don't add "" to history
597 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
599 * ControlRef.C: fix dispatch call nicely
601 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
604 * ControlCommandBuffer.h:
605 * ControlCommandBuffer.C: add controller for command (mini) buffer
608 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
610 * ControlRef.C: fix dispatch call
612 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
614 * ControlCharacter.C: use view_state_changed not setState
616 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
618 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
620 2002-07-15 Mike Fabian <mfabian@suse.de>
622 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
623 of compare_no_case, because in turkish, 'i' is not the lowercase
624 version of 'I', and thus turkish locale breaks parsing of tags.
626 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
628 * ControlBibtex.C (applyParamsToInset): ws change
630 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
632 * ControlInclude.C: Add warning if absolute path name and
633 check_typeset is used together
635 2002-06-28 Angus Leeming <leeming@lyx.org>
637 * ControlGraphics.C: changes associated with the name changes
638 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
640 2002-06-25 Angus Leeming <leeming@lyx.org>
642 * ControlGraphics.C (readBB): Channges associated with the changed
643 interface to the graphics cache.
645 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * ControlParagraph.C: layout as layout
649 2002-06-21 Angus Leeming <leeming@lyx.org>
651 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
652 * tex_helpers.h: #include "LString.h".
654 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
657 * ControlBibitem.C: use repaint()
659 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
661 * ControlTexinfo.C: do the same for Texinfo
663 * tex_helpers.C: don't try to read a file that isn't there
665 2002-06-21 Herbert Voss <voss@perce.de>
667 * ControlBibtex.C: do an automatic update, when no bst-list
670 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
672 * GUI.h: createIndex() changed
674 2002-06-18 Herbert Voss <voss@perce.de>
676 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
677 helperstuff. Now the bibtex gui can use some of these functions
679 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
681 * ControlGraphics.C: just make the mask *.*
683 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * changes to simplify function setup, removal of a lot of includes.
687 2002-06-12 Angus Leeming <leeming@lyx.org>
689 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
691 2002-06-12 Angus Leeming <leeming@lyx.org>
693 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
695 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
697 * ControlParagraph.[Ch]: new paragraph controller
698 * GUI.h: add new controller
701 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * GUI.h: do not include ButtonController.tmpl
705 * ControlInset.h: include ControlInset.tmpl
707 * ControlCitation.C: do not include ControlInset.tmpl
708 * ControlCommand.C: ditto
709 * ControlERT.C: ditto
710 * ControlError.C: ditto
711 * ControlExternal.C: ditto
712 * ControlFloat.C: ditto
713 * ControlGraphics.C: ditto
714 * ControlInclude.C: ditto
715 * ControlMinipage.C: ditto
717 * ControlDialog.tmpl: remove the Base:: prefix
719 2002-06-07 Angus Leeming <leeming@lyx.org>
721 Fixes needed to compile with Compaq cxx 6.5.
722 * ControlDialog.tmpl: I have had to prefix base class methods with
725 * ControlInset.tmpl: #include a couple of headers.
727 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
729 * switch from SigC signals to boost::signals
731 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
733 * biblio.h: include vector
735 * biblio.C: change include order
736 (regexSearch): use boost regex and get rid of LRegex
738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
743 * ControlCharacter.C:
746 * ControlConnections.C:
763 * ControlSpellchecker.C:
764 * ControlTabularCreate.C:
766 * ControlThesaurus.C:
769 * ControlVCLog.C: LyXView moved into frontends
771 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * ControlExternal.C: add scoped_ptr.hpp
775 * ControlCharacter.h: use more specific smart_ptr header.
777 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
779 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
781 2002-05-13 Herbert Voss <voss@perce.de>
783 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
784 like "Odland, G. and ... "
785 (parseBibTeX): fix bug with title and booktitle
786 and replace a \n with a space when one entry has more than
789 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
791 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
792 "No change" and "Reset".
794 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
795 them at the front of the list.
797 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
799 * ControlGraphics.C: add some comments to the char * arrays.
800 Make rorigin_size const.
802 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
804 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
805 Enables the gui's to internationalise these strings.
807 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
809 * frnt_lang.C: fix build
811 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
813 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
814 If the the caller is the character dialog, add "No change" and "Reset"
815 to the vector, else don't.
816 Internationalise the GUI strings here rather than in the different
818 Sort the translated strings, albeit simply.
820 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
822 * character.[Ch]: rename namespace character as namespace frnt.
824 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
825 as several dialogs will use this info. The function now returns a
826 vector<LanguagePair> where LanguagePair is a display string and an
827 identifying string. The display string is internationalised.
829 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
830 the identifying strings, "No change" and "Reset".
832 * Makefile.am: add frnt_lang.[Ch].
834 2002-04-25 Herbert Voss <voss@lyx.org>
836 * ControlSendto.C (allFormats): don't add the graphics extensions to the
839 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
841 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
842 BibTeX databases in a WYSIWYM way.
844 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
846 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
847 way past his use-by date.
848 Make use of the improved info from Buffer::getBibkeyList when using
849 \bibliography. Enables us to provide natbib support in this case too.
851 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
853 * ControlGraphics.C: pass the browseFile dialog a string of only those
854 formats that can currently be loaded by LyX.
856 2002-04-15 Herbert Voss <voss@perce.de>
858 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
859 with something like ,,...blah...`` (two commas)
861 2002-04-14 Herbert Voss <voss@perce.de>
863 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
864 into the support/lstrings for better use in other programs.
866 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
867 namespace anon and make globally accessible.
868 (familyName): test for the presence of a LaTeX Space at the front of
869 of a name; strip it if it exists.
871 2002-04-11 Herbert Voss <voss@perce.de>
873 * ControlGraphics.C: expand "browse-string" to all available formats
875 2002-04-11 Herbert Voss <voss@perce.de>
877 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
879 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
881 * ControlAboutlyx.C (getVersion): two _() forgotten
883 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
887 * ControlBibtex.C: make N_() be _()
889 2002-04-07 Herbert Voss <voss@perce.de>
891 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
893 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
896 used when reading the BB.
898 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
900 * ControlGraphics.C (readBB): Don't open the ifstrem and then
901 check the format from the contents (and open a second ifstream in the
902 process. One at a time please.
904 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
906 * ControlRef.C (getBufferNum): squash warning message.
908 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
910 * ControlBibtex.C (Browse):
911 * ControlGraphics.C (Browse):
912 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
914 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
916 * ControlGraphics.C (applyParamsToInset): pass filepath to
917 InsetGraphics::updateInset.
919 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
921 * most files: ws cleanup
923 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
925 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
928 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
931 * ControlInclude.C: better error messages
933 2002-03-11 Herbert Voss <voss@lyx.org>
935 * biblio.C (parseBibTeX): fix another minibug with an
938 2002-03-10 Herbert Voss <voss@lyx.org>
940 * biblio.C (parseBibTeX): fix bug
941 (familyName): improve parsing
943 2002-03-09 Herbert Voss <voss@lyx.org>
945 * ControlGraphics.[Ch]: adding checkFilename() for testing
946 of non-existing files
948 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
950 * ControlSendto.C (allFormats): fix a iterators are not pointers
953 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
955 * ControlShowFile.h: add a #include "LString.h"
957 2002-03-05 Herbert Voss <voss@lyx.org>
959 * biblio.C (getInfo): simplify if using paragraph layout
962 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
964 * biblio.C (getInfo): return the info field correctly if the key
966 (parseBibTeX): fix crash when data.find('=') returns string::npos.
968 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
970 * ControlForks.[Ch]: new files. A controller for the Forked Child
971 processes dialog, enabling the user to see what forked processes
972 are running, and, if he so desires, to kill them.
974 * GUI.h: add class GUIForks.
976 * Makefile.am: add ControlForks.[Ch].
978 * ControlGraphics.C (getParams): small change due to change in
981 2002-02-21 Herbert Voss <voss@lyx.org>
983 * biblio.C: fix bug with commentlines in a bibentry
985 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
987 * Makefile.am: simpler obj. file compile
989 2002-02-18 Herbert Voss <voss@lyx.org>
991 * ControlGraphics.[Ch]: remove help-file call
993 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
995 * helper_funcs.h: wrap the structs firster and seconder up in a
996 namespace to avoid clashes with those in lyxalgo,h.
998 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
999 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1001 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1003 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1006 change Systemcalls::System to Systemcalls::Wait and
1007 No change of functionality, just reflects the stripped down Systemcalls
1010 2002-02-06 Herbert Voss <voss@lyx.org>
1012 * ControlGraphics.[C] (readBB): search also in
1013 g'zipped files. If it is useful than PK and compress
1014 should also be supported. use unzipFile() from
1017 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1019 * ControlRef.C (getBufferName): new method to get a real buffer
1022 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1024 * ControlTexInfo.[Ch]: Removed Help functions.
1026 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1028 * ControlSpellchecker.C: clear any selection left
1031 2002-02-01 Herbert Voss <voss@lyx.org>
1033 * ControlGraphics.[C] (readBB): search only, if it is a
1034 ".?ps" file and look for bb's at end of file
1036 2002-01-30 Herbert Voss <voss@lyx.org>
1038 * ControlGraphic.[C]: do not search the whole file, when
1041 2002-01-29 Herbert Voss <voss@lyx.org>
1043 * ControlGraphic.[C]: added a button for document path
1044 when browsing -> bug 222
1046 2002-01-27 Herbert Voss <voss@lyx.org>
1048 * ControlGraphic.[Ch]: added support for Bounding Box, other
1051 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1053 * ControlAboutlyx.h:
1054 * ControlTexinfo.h: added #include "LString.h" where they belong.
1056 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1058 * ControlCitation.C:
1059 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1061 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1063 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1066 2002-01-20 Herbert Voss <voss@perce.de>
1068 * ControlInclude.[Ch]: better control of unexistings files
1069 when entered without the browser
1071 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1074 2002-01-19 Herbert Voss <voss@perce.de>
1076 * biblio.C (getInfo): fix bug when no author is given
1078 * biblio.C (parseBibTeX): change the parsing, so that
1079 '#'-characters in a bibtex entry are no more a problem.
1081 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1083 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1084 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1086 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1088 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1090 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1092 * ControlExternal.C (Browse): add a std:: qualifier
1094 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1096 * ControlExternal.C (Browse): simplify to use browseRelFile
1098 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1100 * ButtonController.tmpl: added // -*- C++ -*-
1102 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1103 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1104 Needed in _one_ of the ControlCommand-derived classes only.
1106 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlSearch.h: #include LString.h
1111 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ButtonController.h: split into two. The definition remains in
1114 ButtonController.h, the declaration is now in ButtonController.tmpl.
1115 These template methods should be #included when the derived class is
1116 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1117 and in the qt2 and gnome equivalents.
1119 * ControlDialogs.h: removed. The definition of class ControlDialog is
1120 now to be found in ControlDialog.h and the declaration of the methods
1121 is in ControlDialog.tmpl. The two template instantiations are performed
1122 in ControlDialog_impl.[Ch], new files also.
1124 * ControlInset.h: split into two. The definition remains in
1125 ControlInset.h, the declaration is now in ControlInset.tmpl.
1126 These template methods should be #included derived class is
1127 instantiated, in this case in 8 other .C files in this directory.
1129 * ControlAboutlyx.[Ch]:
1130 * ControlCharacter.[Ch]:
1134 * ControlExternal.C:
1136 * ControlGraphics.C:
1139 * ControlMinipage.C:
1140 * ControlPreamble.[Ch]:
1141 * ControlPrint.[Ch]:
1142 * ControlSearch.[Ch]:
1143 * ControlShowFile.[Ch]:
1144 * ControlSpellchecker.[Ch]:
1145 * ControlTabularCreate.[Ch]:
1146 * ControlTexinfo.[Ch]:
1147 * ControlThesaurus.[Ch]:
1148 * ControlVCLog.[Ch]: small changes associated with the above ones.
1150 * GUI.h: #include the ButtonController and dialog controller files
1151 here, rather than forward declare them. This is the correct place
1152 for these #includes.
1154 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1155 Rename ControlDialogs.h as ControlDialog.h.
1156 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1159 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1161 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1163 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1165 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1168 * ControlGraphics.C (Browse): remove overzealous shortcut
1170 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1172 * FormMinipage.C (apply, update): MinipageParams::width renamed
1173 as MinipageParams::pageWidth. InsetMinipage::width renamed
1174 as InsetMinipage::pageWidth.
1176 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * ButtonController.h (refreshReadOnly): use explicit typename
1180 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1182 * helper_funcs.h (browseFile): add default empty button descriptions.
1184 * ControlGraphics.C (Browse):
1185 * ControlBibtex.C (Browse):
1186 * ControlInclude.C (Browse): add shortcuts to directory buttons
1188 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1190 * ControlThesaurus.h:
1191 * ControlThesaurus.C: update to Aiksaurus 0.14
1193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1195 * ControlSpellchecker.C (clearParams): show the closing message
1196 only if some words have been checked, thereby fixing
1199 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1201 * ControlFloat.[Ch]: changes to prevent here definitely being used
1204 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1206 * ControlThesaurus.h: do not include <config.h> in header files
1208 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1210 * ControlToc.C: changes for floatlist
1212 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1214 * ControlVCLog.C: use _()
1216 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1218 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1221 2001-10-22 Juergen Vigna <jug@sad.it>
1223 * ControlSpellchecker.C (clearParams): use the error_ message of the
1224 speller_ if available when the spellchecker died.
1225 (setParams): remove double error message display.
1227 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1229 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1231 * helper_funcs.[Ch] (getLatexUnits): see above.
1233 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1235 * ControlTexinfo.C (getContents): use the right file for .sty files
1237 2001-10-10 Herbert Voss <voss@perce.de>
1239 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1240 and some more stuff from FormTexinfo.C
1242 * ControlShowFile.C: hiding the update-button
1244 2001-10-09 Herbert Voss <voss@perce.de>
1246 * ControlTexinfo.[Ch]: new files. Display information about the
1247 installed texfiles (cls,sty,bst).
1249 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1251 * GUI.h: added classes GUIShowFile and GUITexinfo.
1253 * Makefile.am: modified appropriately.
1255 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1257 * ControlAboutlyx.C (getVersion): use lyx_version and
1258 lyx_release_date instead of old macros
1260 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1262 * ControlSpellchecker.C (check): Behaves well now when the spell
1263 library doesn't know a replacement to an incorrect word.
1265 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1267 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1268 the correct place. Can now check spelling more than once!
1270 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1272 * ControlSplash.[Ch]: removed.
1274 * GUI.h: remove GUISplash class.
1276 * ViewBase.h: remove ViewSplash class.
1278 * Makefile.am: remove ControlSplash.[Ch].
1280 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1282 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1283 view will be shut down.
1286 * ControlInset.h: act on emergency_exit_.
1288 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1289 speller fails to launch.
1291 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1294 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1296 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1298 * ControlRef.h (disconnectOnApply): new method. Set to true.
1299 Perhaps make this user-modifiable?
1301 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1303 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1306 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1308 * ControlRef.C (getBufferList, getBufferNum): New methods
1310 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1312 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1313 of the dialog when the Apply button is pressed. Defaults to false,
1314 but can be overridden in the daughter classes.
1316 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1317 Perhaps make this user-modifiable?
1319 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1321 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1322 we have dialogs that update their contents when the buffer changes.
1323 Rather embarassing, really!
1325 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1327 * ControlSearch (replace): change semantics of replace to NOT move on
1328 to the next instance of a word once the present instance has been
1329 replaced unless we are replacing ALL instances of the word.
1331 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1333 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1335 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1337 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1338 dialog, set all options to "reset", close the dialog, re-open it ->
1339 the options are set incorrectly.
1341 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1342 When Applying it's useful to know whether the dialog is about to close
1343 or not (no point refreshing the display for example).
1345 * ControlInset.C (apply): use isClosing.
1347 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1350 * ControlDialogs.h: remove bc() hack, now fixed in
1351 Qt2 frontend. use member dialog_built_ instead of shared
1354 * ButtonController.h:
1355 * ButtonPolicies.C: more debug info
1357 * ButtonControllerBase.C: call refresh() when setting readOnly !
1359 * GUI.h: External form has apply, use the right policy
1361 * character.C: fix two off-by-one errors when latex font was removed
1363 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1365 * ControlInset.h (apply): tentative fix for the press Apply multiple
1366 times and get multiple new Insets problem.
1368 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1370 * ControlCharacter.C: fix typo
1374 * ControlInsets.C: make sure dialog is built before it is shown, so
1375 it works properly the very first time it is shown
1377 2001-08-20 Herbert Voss <voss@perce.de>
1379 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1380 and styles. Added an option for "bibliography into toc"
1382 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1384 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1385 LaTeX is no longer a font property.
1387 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1389 * GUI.h: Button controller for Reference dialog changed to
1390 NoRepeatedApplyReadOnlyPolicy.
1392 * biblio.C (getInfo): output volume and number info. Move year to end
1395 2001-08-09 Allan Rae <rae@lyx.org>
1397 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1399 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1401 * helper_funcs.C (getVectorFromString): fixed small bug.
1403 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1405 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1407 * ControlSpellchecker.C: check next word after insert in personal dict
1409 2001-08-06 Juergen Vigna <jug@sad.it>
1411 * ControlERT.[Ch]: new file
1413 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1415 * ControlInset.h: const and non-const forms of params().
1417 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1418 whitespace from either side of each item.
1420 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1422 * ControlFloat.h: add a != operator for FloatParams.
1423 Lars, how did you get this to compile!!!
1425 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1426 operator != for MinipageParams. Who's changing stuff and not compiling?
1428 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1430 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1433 * GUI.h: add class GUIFloat
1435 * ControlFloat.[Ch]: new files
1437 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1439 * ControlPrint.C: #include Lassert.h here.
1441 2001-07-26 Baruch Even <baruch@lyx.org>
1443 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1446 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1448 * ControlThesaurus.h:
1449 * ControlThesaurus.C:
1451 * Makefile.am: thesaurus support
1453 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1456 * ControlInclude.C: implement ability to load file
1458 2001-07-18 Juergen Vigna <jug@sad.it>
1460 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1462 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1464 * biblio.C (getInfo): add a .c_str() to handle the usual
1467 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1469 * ControlCitation.[Ch]: changes associated with adding natbib support.
1470 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1471 New static variable citeStyles_.
1473 * biblio.[Ch]: large internal rearrangement.
1474 New public enum CiteStyle.
1475 New public struct CitationStyle.
1476 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1477 getNumericalStrings, getAuthorYearStrings
1478 (simpleSearch, regexSearch): no longer publicly accessible.
1480 * helper_funcs.C (getStringFromVector): bug fix.
1482 2001-07-16 Baruch Even <baruch@lyx.org>
1484 * ControlVCLog.h: Added Lsstream.h to includes.
1486 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1488 * ControlSpellchecker.[Ch]: remove d-tor.
1490 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1492 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1494 2001-07-16 Juergen Vigna <jug@sad.it>
1496 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1497 compiled with USE_PSPELL) to be able to switch between ISpell and
1500 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1502 Consistent use of Lsstream.h:
1503 * ControlAboutlyx.[Ch] (getCredits):
1504 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1506 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1508 * ControlCredits.[Ch]: removed
1509 * ControlCopyright.[Ch]: removed
1510 * ControlAboutlyx.[Ch]: added (replaces previous)
1511 * GUI.h: removed credits and copyright added about lyx stuff
1513 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1515 * ControlSpellchecker.C (getSuggestion):
1516 (getWord): add std:: qualifier
1518 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1520 * ControlSpellchecker.[Ch]: added
1521 * ViewBase.h: added partialUpdate(int) member
1522 * GUI.h: added spell stuff
1524 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1526 * ControlExternal.C: (*it). -> it->
1528 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1530 * ButtonController.h: move some included header files out of the
1531 frontends and into here.
1533 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1535 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1537 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1539 * *.[h]: added // -*- C++ -*-
1540 * *.[C]: removed // -*- C++ -*-
1542 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1543 activate Apply button.
1544 (clearParams): removed.
1545 font_ is now stored as a boost::scoped_ptr.
1546 font_ is no longer deleted on hide(), so it's contents can now be used
1547 by the Font button on the toolbar.
1548 Lots of new methods so that the GUI can easily get the contents of
1549 font_ when it update()s.
1551 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1553 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1554 crash when the Font button on the Toolbar is pressed.
1556 * GUI.h: change policy of Character button controller to
1557 OkApplyCancelReadOnlyPolicy.
1559 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1561 * ControlToc.C (getContents): don't add anything to the list if it
1562 is supposed to be empty.
1564 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1566 * helper_funcs.C (getVectorFromString): bug fix.
1568 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1570 * ButtonController.h
1571 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1572 from ButtonControllerBase::readOnly. Updates the state of the widgets
1573 in the read-only list only when the read-only status of the document
1575 (refresh): moved this stuff into refreshReadOnly.
1577 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1579 * ControlPrint.C (c-tor):
1580 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1582 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1585 * character.h: small clean-ups.
1587 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1589 * ControlToc.C (getType): remove support for old float list.
1591 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1593 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1594 * ControlGraphics.h: no longer include insetgraphicsParams.h
1595 * ControlInset.h: no longer include LyXView.h
1600 * ControlCharacter.C:
1601 * ControlCitation.C:
1603 * ControlConnections.C:
1604 * ControlCopyright.C:
1607 * ControlExternal.C:
1608 * ControlGraphics.C:
1611 * ControlMinipage.C:
1612 * ControlPreamble.C:
1616 * ControlTabularCreate.C:
1618 * ControlVCLog.C: they're now in here!
1620 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1622 * ButtonControllerBase.h: C++ mode, inherit privately from
1624 * ButtonPolicies.h: ditto
1626 * ButtonController.h: C++ mode, swap init order of restore_ and
1629 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1631 * ControlTabularCreate.h:
1632 * ControlTabularCreate.C: make dialogs use a pair of uints
1636 * ControlVCLog.C: fill a stringstream with the log contents
1639 * ControlExternal.C: from Angus, clone the new InsetExternal
1642 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1644 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1645 and made more robust.
1647 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1652 * ControlPreamble.C:
1654 * ControlGraphics.C:
1655 * ControlExternal.C:
1656 * ControlCopyright.C: include gettext.h
1658 * ControlCharacter.C:
1659 * character.C: include gettext.h and language.h
1661 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1663 * ButtonController.h:
1664 * ButtonControllerBase.h:
1665 * ButtonControllerBase.C:
1672 * ControlConnections.h:
1675 * ControlExternal.C:
1678 * ViewBase.h: s/ControlButton/ControlButtons/
1680 s/UndoAll/Restore/ + associated
1682 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1684 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1687 * Makefile.am: associated changes with all of the above.
1689 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1691 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1692 and edit, view, update the External Material correctly. I hope!
1694 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1696 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1698 * BCTemplates.h: renamed as ButtonController.h
1700 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1703 * ControlConnections.h: associated change in #include and class names.
1705 * ControlExternal.[Ch]: new files; a controller for the External
1709 * Makefile.am: associated changes with all of the above.
1711 * ControlGraphics.[Ch]:
1712 * ControlInclude.[Ch]:
1713 * ControlPrint.[Ch]:
1715 (Browse): new method. Returns the results of a FileDialog browse.
1717 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1718 (getVectorFromString): fixed bug.
1720 * biblio.C (simpleSearch): cleaned up.
1722 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1724 * A slight reworking of Baruch Even's ButtonController patch.
1726 * BCTemplates.h: new file; all the templates for the ButtonController.
1727 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1728 to the more generic setButtonLabel().
1730 * ButtonController.[Ch]: renamed cancel_label and close_label as
1731 cancel_label_ and close_label_.
1733 * Makefile.am: added BCTemplates.h
1735 2001-03-29 Juergen Vigna <jug@sad.it>
1737 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1738 to use new %-lengths of LyXLength.
1740 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1742 * ControlCitation.C (bibkeysInfo): removed Assert.
1744 * ControlCopyright.h: moved GUICopyright into GUI.h
1748 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1750 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1751 (setDaughterParams): a (by default empty) new method called in show().
1757 * ControlMinipage.h:
1760 * ControlUrl.h (clearDaughterParams): removed
1762 * ControlMinipage.C (applyParamsToInset): update the view.
1763 Added namespace minipage containing a helper function getUnits.
1765 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1767 * ControlCharacter.[Ch]: moved out all the helper functions and the
1768 enum into their own file.
1769 * character.[Ch]: new files; contain the character helper functions,
1770 now inside namespace character.
1772 * ControlCitation.[Ch]: moved out all the helper functions and the
1773 enums into their own file. Simplified interface.
1774 * biblio.[Ch]: new files; contain the citation helper functions,
1775 now inside namespace biblio. Will be of use also to an improved
1778 * ControlGraphics.[Ch]:
1779 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1780 popups, respectively.
1783 * Makefile.am: associated changes.
1785 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1787 * ControlMinipage.[Ch]:
1788 * ControlPreamble.[Ch]:
1789 * ControlPrint.[Ch]:
1790 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1791 and Print popups and Splash screen, respectively.
1793 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1797 * Makefile.am: associated changes.
1799 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1801 * ControlConnections.[Ch]: (docType): new method; returns the type
1802 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1805 * ControlSearch.[Ch]:
1806 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1807 Search and TabularCreate popups, respectively.
1810 * Makefile.am: associated changes.
1812 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1814 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1817 * ControlInset.h (apply): fix bug. Can now create new insets again.
1819 * README: describe program flow.
1821 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1823 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1825 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1827 * ControlDialogs.h: moved class ControlInset into its own file.
1829 * ControlInset.h: new file. class ControlInset has been expanded to take
1830 two template parameters, Inset and Params. Believe that all inset
1831 controllers can be derived from this with the minimum of effort.
1833 * ControlBibitem.[Ch]:
1834 * ControlBibtex.[Ch]:
1835 * ControlCitation.[Ch]:
1836 * ControlCommand.[Ch]: moved most code into ControlInset.
1838 * lots of files. Moved protected stuff into private where possible.
1840 * ControlError.[Ch]:
1841 * ControlInclude.[Ch]:
1842 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1843 Include and Url popups, respectively.
1846 * Makefile.am: associated changes.
1848 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1850 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1853 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1855 * ControlCredits.C (getCredits): remove std:: qualifier for
1858 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1860 * ControlCredits.C (getCredits): add std:: on vector
1862 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1864 * ControlCredits.C: remove using that is only used once, use
1865 std::ios instead of std::iosbase, add some annoying comments.
1867 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1869 * lots of header files: improved explanatory notes.
1871 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1872 ControlBase is now a class that only controls the interaction of the
1873 View with the ButtonController.
1875 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1876 to ControlConnectBase. The class controls the connection/disconnection
1877 of signals from the LyX kernel and makes available the kernel (through
1878 lv_) to daughter controller classes.
1879 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1881 * ControlDialogs.h: new file. Contains the definition of two template
1882 controller classes, ControlDialog and ControlInset (was
1883 ControlConnectInset). ControlInset is a parent class for controllers
1884 of inset-popups. ControlDialogs is the rather uninspired name for
1885 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1886 ControlDialogs is reaching a state of maturity as several popups now use
1887 it and its functionality becomes clear. ControlInset is still in a state
1888 of flux. It is likely that functionality will be moved out of
1889 ControlCommands and into it.
1891 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1892 individual Controller header files and into one place. These classes
1893 serve only as convenient wrappers to simplify code in the respective
1894 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1896 * ControlCharacter.[Ch] (show, update, hide):
1897 * ControlLog.[Ch] (show, update, hide):
1898 * ControlVCLog.[Ch] (show, update, hide): moved back into
1899 the ControlDialogs base class.
1900 (setParams, clearParams): new methods containing controller-specific
1901 code to set/reset the parameters manipulated by the view.
1903 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1905 (hide): calls clearParams.
1907 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1908 by ControlCommand::hide().
1910 * ControlCopyright.[Ch]:
1911 * ControlCredits.[Ch]: new files; controllers for the copyright and
1912 credits popups, respectively.
1914 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1916 * ControlCharacter.C: fix typo
1918 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1920 * ControlCharacter.[Ch]: new files; controller for the character popup.
1922 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1923 moved to new files helper_funcs.[Ch].
1925 * helper_funcs.[Ch]: new files. Some useful helper functions and
1928 * Makefile.am: added new files.
1930 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1932 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1934 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1937 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1938 Control log files, respectively.
1940 * Makefile.am: added new files.
1942 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1944 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1946 * Makefile.am: added ControlBibtex.[Ch].
1948 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1951 * ControlCitation.C: added "using SigC::slot" declaration.
1953 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1954 to FormCitation.C prior to the merger: "Do not put space between
1957 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1959 * several files: remove CXX_WORKING_NAMESPACES
1961 * ButtonController.h: noncopyable is in namespace boost
1962 * ButtonPolicies.h: ditto
1964 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1966 * Merging changes from BRANCH_MVC back into HEAD.
1968 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1970 * Makefile.am: add ControlBibitem.[Ch].
1972 * ControlBibitem.[Ch]: new files that together define the Controller
1973 for a Bibitem popup.
1975 * ControlCommand.h (c-tor): give kb_action a default value of
1978 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1980 * ControlCitation.[Ch]: moved search functions out of class.
1981 (bibkeysInfo): new method. Returns const reference to private data.
1982 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1985 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1987 * ControlCitation.[Ch]: added Search functions to the class,
1988 (shamelessly lifted from Marco's gnome code). I think that these would
1989 be better as helper functions outside the class, but this is a first
1992 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1994 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1996 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1997 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1998 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1999 implementation of FormCitation.
2001 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2003 * ButtonPolicies.h: add SMI_NOOP to enum.
2005 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2007 * ButtonController.C (input): add "optimising" if-statement. Actually,
2008 things don't work correctly without it...
2010 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2012 * ViewBase.h: remove #pragma directive
2014 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2017 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2019 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2021 * Makefile.am: added ButtonPolicies.[Ch]
2023 * ButtonController.[Ch]: ButtonController is split into
2024 ButtonControllerBase and a template ButtonController class. The base
2025 class no longer stores a pointer to a ButtonPolicy, but instead
2026 accesses the actual instantiation of the policy through a pure virtual
2027 method bp(). This method and the ButtonPolicy itself are instantiated
2028 in the templatised ButtonController class. This class is derived from
2029 the GUI-specific GUIBC class, meaning that the frontends know
2030 nothing about the actual policy decided upon by the controllers.
2032 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2033 Instead the actual instantiations are accessed through pure virtual
2034 methods view() and bc(). The daughter classes are responsible for the
2035 actual View and ButtonController.
2037 * ControlCitation.h: the templatised class GUICitation instantiates
2038 the methods view() and bc(). It also stores the instances of the
2039 View and ButtonController.
2041 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2043 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2044 also changed to ButtonController.
2047 * ControlConnections.[Ch]:
2048 * ControlCommand.[Ch]:
2049 * ControlCitation.[Ch]:
2050 * ViewBase.h: Changes associated with this.
2052 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2054 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2055 xforms/ButtonController class into a GUI-I class (here) and an
2056 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2058 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2059 from which all Dialog Controllers should be derived. the Controllers
2060 are GUI-independent, but are designed to control the behaviour of
2061 GUI-specific implementaions of each dialog.
2063 * ControlConnections.[Ch]: new files. Classes controlling the
2064 connections of buffer-independent, buffer-dependent and Inset dialogs
2065 with the LyX kernel.
2067 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2068 InsetCommand subset of insets.
2070 * ControlCitation.[Ch]: new files. The test specialisation! A
2071 controller for the Citation dialog.
2073 * ViewBase.h: new file. ViewBase is an abstract base class from which
2074 GUI-specific dialogs should be derived. The functionality that the GUIs
2075 must now implement is much reduced.