1 2003-02-27 Angus Leeming <leeming@lyx.org>
3 * ControlBibitem.C (c-tor):
4 * ControlBibtex.C (c-tor):
5 * ControlCitation.C (c-tor):
6 * ControlIndex.C (c-tor):
7 * ControlRef.C (c-tor):
8 * ControlToc.C (c-tor):
9 * ControlUrl.C (c-tor):
10 pass "name" to ControlCommand c-tor,
13 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
16 * ControlERT.C (dispatchParams): use "name" rather than a
19 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
21 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
23 2003-02-21 Angus Leeming <leeming@lyx.org>
26 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
28 * ControlBibitem.[Ch]:
30 * ControlCitation.[Ch]:
31 * ControlCommand.[Ch]:
36 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
37 individual controllers too.
38 Move 'apply' code into the LyX kernel.
40 * ControlConnections.C: temporary renaming of Dialogs::signals.
42 * Makefile.am: add new files.
44 2003-02-21 Angus Leeming <leeming@lyx.org>
46 * ControlBibtex.C (Browse):
47 * ControlExternal.C (Browse):
48 * ControlGraphics.C (Browse):
49 * ControlInclude.C (Browse):
50 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
52 * ControlPrint.C (Browse):
53 don't pass a LyXView & to browseFile et al.
54 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
55 don't pass a LyXView & to fileDlg.
57 2003-02-17 John Levon <levon@movementarian.org>
59 * ControlDialog.tmpl: build dialog before calling setParams
60 for the benefit of ControlSpellchecker
62 * ControlSpellchecker.h:
63 * ControlSpellchecker.C: rework. Lots of bugs fixed and
66 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
68 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
69 of available *.bib-files from bibFiles.lst).
71 * tex_helpers.C (getTexFileList): sort and dis-duplicate
72 listWithoutPath correctly.
74 2003-02-08 John Levon <levon@movementarian.org>
77 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
79 2003-02-08 John Levon <levon@movementarian.org>
83 * ControlChanges.C: add merge changes dialog
86 * ControlPrefs.C: add setCurrentAuthor()
88 2003-01-31 Angus Leeming <leeming@lyx.org>
90 * ViewBase.h: add an isVisible() pure virtual method.
92 * ControlTabular.C (updateInset): don't build the dialog here.
93 Instead, do nothing if the dialog is invisible.
95 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
97 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
99 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
101 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
103 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
105 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
107 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
109 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
111 * several files: ws changes
113 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
115 * ControlDocument.C (classApply): use boost.format
117 2002-11-29 Angus Leeming <leeming@lyx.org>
119 * ControlButtons.h (isClosing): make it public, so that the view can
121 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
124 * ControlPrefs.[Ch] (OKButton): removed.
126 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
127 dialog isClosing(). (Ie, if the "save" button has been pressed.)
129 2002-11-28 John Levon <levon@movementarian.org>
131 * ControlSpellchecker.C: fix Lars' broken cleanup
133 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
135 * ControlTabular.[Ch]: Add isMulticolumnCell
137 2002-11-27 Angus Leeming <leeming@lyx.org>
139 * ControlMath.C (ControlMath): initialise active_.
141 2002-11-25 Angus Leeming <leeming@lyx.org>
143 * ControlDialog.h (hide, update): move from protected to public.
145 * ControlMath.[Ch]: add controllers for the main math panel dialog and
146 for any daughter dialogs stored by the main panel.
148 2002-11-21 Angus Leeming <leeming@lyx.org>
150 * ControlDocument.[Ch] (classApply): no longer returns bool.
151 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
153 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
155 * biblio.C (getAbbreviatedAuthor): use boost::format
157 * ControlSpellchecker.C (clearParams): use boost::format
159 2002-11-20 John Levon <levon@movementarian.org>
161 * ControlMath.C: couple more manglings
163 2002-11-20 John Levon <levon@movementarian.org>
166 * ControlMath.C: add find_xpm mangler
168 2002-11-17 John Levon <levon@movementarian.org>
170 * helper_funcs.C and users: specify save/open in file dialog
172 2002-11-15 John Levon <levon@movementarian.org>
175 * ControlPrefs.C: use setParams()
177 2002-11-15 John Levon <levon@movementarian.org>
179 * ControlButtons.h: make OKButton() virtual for prefs
182 * ControlPrefs.C: updates for xforms port to MVC
186 * ControlTabular.C: add simple MVC port
188 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
190 * ControlInclude.C: fix file format masks for qt's use
192 2002-11-13 John Levon <levon@movementarian.org>
196 * ControlPrefs.C: add skeleton controller
198 2002-11-12 John Levon <levon@movementarian.org>
200 * biblio.C: fix warnings
202 2002-11-12 Angus Leeming <leeming@lyx.org>
204 * ControlSpellchecker.C (check): fix crash
205 * biblio.C (escape_special_chars): simplify BRE.
207 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
209 * ControlDocument.[Ch]: Remove unused method
211 2002-11-07 Angus Leeming <leeming@lyx.org>
213 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
214 * clean-up the search code in biblio.C.
216 2002-11-07 John Levon <levon@movementarian.org>
218 * ControlGraphics.C: QGraphics fixes
220 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
222 * ControlDocument.C: (SaveAsDefault) make it work.
223 fix buffer update on class change
225 2002-11-06 Angus Leeming <leeming@lyx.org>
227 * biblio.C (searchKeys and helper functions): rewritten entirely
228 using the STL. Boost::regex searching now works as the old 1.2 code
231 2002-11-06 Angus Leeming <leeming@lyx.org>
233 * biblio.C: clean-up of the code. No change in functionality.
235 2002-11-04 Angus Leeming <leeming@lyx.org>
237 * ControlGraphics.[Ch] (getUnits): moved out of class and into
238 frnt::getBBUnits(). Code cleaned also.
240 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * biblio.C (regexSearch): STRCONV
245 * ControlAboutlyx.C (getVersion): STRCONV
247 * ControlMath.C: include config.h
249 2002-10-31 John Levon <levon@movementarian.org>
252 * ControlGraphics.C: bb units from Herbert
254 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
256 * ControlParagraph.[Ch] (alignDefault): new method, returning the
257 default alignment (block, left, right, center) of this paragraph.
259 2002-10-25 John Levon <levon@movementarian.org>
261 * ControlPrint.C: using endl
263 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
265 * ControlPrint.[Ch]: move code here from Liason.[Ch].
267 * ControlSpellchecker.h (getCount): new method.
268 * ControlSpellchecker.[Ch]: constify some accessor methods.
270 2002-10-22 Angus Leeming <leeming@lyx.org>
272 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
273 alphabetical order once again.
275 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
276 Add a list of CheckedWidget ptrs to ButtonControllerBase
277 together with methods addCheckedWidget and checkWidgets to use it.
279 * ButtonController.tmpl (refresh): use the return value of
280 checkWidgets to control the activation state of the Ok, Apply, Restore
283 * ControlDialog.tmpl (show, update):
284 * ControlInset.tmpl (showInset, update):
285 invoke ButtonController::refresh to ensure that the activation state of
286 the Ok, Apply buttons reflects the valid-state of the widgets.
288 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
290 * tex_helpers.C (rescanTexStyles): don't pop p
293 * ControlWrap.C (WrapParms): remove initialization of placement,
294 and move empty c-tor to .h class def.
296 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
297 of on stringsteam, return void. Get the file into the stream as
300 * ControlPreamble.[Ch] (params): getter and setter for params_, make
301 params_ into a string, not just a pointer to string.
303 * ControlExternal.C (getTemplateNumber): put i into the for scope,
304 and use the sequence operator on the last for "parameter"
305 (getTemplate): use std::advance to advance the iterator.
307 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
308 instead of on a stringstream, return void. Get the file into the
309 stream as fast as possible.
310 (getVersion): use ostringstream
312 * lots of files: ws changes, formatting fixes
314 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
316 * ControlCharacter.C (apply): setMinibuffer change
317 * ControlDocument.C (apply): ditto
319 * ControlThesaurus.C (replace): ditto
320 * ControlSearch.C (find): ditto
322 * ControlPreamble.C (apply): ditto
323 * ControlParagraph.C (apply): ditto
325 2002-10-14 André Pönitz <poenitz@gmx.net>
327 * ControlDocument.C: somebody else's fix for a hard lockup
329 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
333 * Makefile.am: New document parameters controller
335 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
339 2002-09-24 Angus Leeming <leeming@lyx.org>
341 * ControlConnections.h: remove trailing whitespace.
343 * biblio.h: #include "LString.h".
345 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
347 * ControlGraphics.C: Change GUI origin strings into proper English.
349 2002-09-09 John Levon <levon@movementarian.org>
351 * ControlInclude.C: fix file masks. Get rid of noload,
352 remove stupid warning
354 2002-09-09 John Levon <levon@movementarian.org>
357 * ControlMath.C: add latex_deco
359 2002-09-06 John Levon <levon@movementarian.org>
361 * ControlMath.C: terminate dots
363 2002-09-05 Angus Leeming <leeming@lyx.org>
365 * all files: modify the headers as discussed on the list.
367 2002-08-30 John Levon <levon@movementarian.org>
370 * ControlMath.C: moved from MathsSymbols.C
372 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
374 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
376 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
378 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
379 first item in the list
381 2002-08-15 Angus Leeming <leeming@lyx.org>
383 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
385 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
387 2002-08-15 Angus Leeming <leeming@lyx.org>
389 * lots: changed my email address to leeming@lyx.org.
391 * GUI.h: return it to private derivation from boost::noncopyable.
393 2002-08-14 Angus Leeming <leeming@lyx.org>
395 * GUI.h: public derivation from boost::noncopyable.
397 2002-08-14 Angus Leeming <leeming@lyx.org>
399 * GUI.h: class GUI deries from boost::noncopyable
401 * ControlButtons.h: no longer derives from DialogBase, but instead
402 derives directly from boost::noncopyable.
404 * ViewBase.h: derives from boost::noncopyable.
406 * ControlCharacter.C:
408 * ControlConnections.C:
411 * ControlParagraph.C:
415 * ControlSpellchecker.C:
417 * ControlThesaurus.C:
418 rearrange #includes. Remove unnecessary ones.
420 * ControlError.h: add "insets/inseterror.h".
422 * helper_funcs.h: add necessary #includes.
424 * tex_helpers.[Ch]: add #pragma directives for g++.
426 * Makefile.am: remove src/frontends from -I list to compiler.
428 2002-08-13 Angus Leeming <leeming@lyx.org>
430 * ControlConnections.C:
432 changes due to the changed LyXView interface that now returns references
433 to member variables not pointers.
435 2002-08-12 Angus Leeming <leeming@lyx.org>
437 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
438 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
439 for the most commonly accessed core methods, to minimise code
442 * many files: use these wrappers and remove associated #includes.
444 2002-08-12 Angus Leeming <leeming@lyx.org>
446 * ControlButtons.[Ch] (bc, view): no longer virtual.
447 (setView, setButtonController): new methods, invoked by GUI.
449 * ControlDialog.h (show):
450 * ControlInset.h (createInset, showInset): make public, so that GUI can
453 * GUI.h: GUI now contains a controller, rather than deriving from it.
454 remove all those friend functions since we can now access the show,
455 createInset, showInset controller methods.
457 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
460 * character.h: #include a couple of STL files.
462 2002-08-08 John Levon <levon@movementarian.org>
464 * ControlCommandBuffer.C: LyXAction cleanup
466 2002-08-07 John Levon <levon@movementarian.org>
468 * ControlSpellchecker.C: fix crash when spellchecker doesn't
471 2002-08-06 John Levon <levon@movementarian.org>
473 * ControlSpellchecker.C:
474 * ControlSpellchecker.h: use WordLangTuple
476 2002-08-06 John Levon <levon@movementarian.org>
478 * ControlSpellchecker.C: show an alert with the
479 error message on initialisation failure
481 2002-08-04 John Levon <levon@movementarian.org>
483 * ControlSpellchecker.h:
484 * ControlSpellchecker.C: some cleanups
486 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
488 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
490 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
491 the Dialogs::updateParagraph signal is emitted.
493 2002-08-02 Angus Leeming <leeming@lyx.org>
495 * ControlCharacter.C (apply):
496 * ControlERT.C (applyParamsToInset):
497 * ControlParagraph.C (apply):
498 * ControlSearch.C (find, replace):
499 * ControlThesaurus.C (replace): changes due to LyXView::view() now
500 returning a boost::shared_ptr.
502 2002-08-01 John Levon <levon@movementarian.org>
504 * ControlSendto.C: writeFile() change
506 2002-08-01 John Levon <levon@movementarian.org>
508 * ControlSpellchecker.h:
509 * ControlSpellchecker.C: remove options
511 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
513 * several files: strip,frontStrip -> trim,ltrim,rtrim
515 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * biblio.C (parseBibTeX): modify because of strip changes
519 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
521 * ControlFloat.[Ch]: Implement Wide Float toggle
522 Replace "allow_here_definitely" by "wide"
524 2002-07-22 Herbert Voss <voss@lyx.org>
526 * ControlGraphics.C: small changes
528 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
530 * ControlToc.C: remove getType
532 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
534 * ControlCommandBuffer.C: don't add "" to history
536 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
538 * ControlRef.C: fix dispatch call nicely
540 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
543 * ControlCommandBuffer.h:
544 * ControlCommandBuffer.C: add controller for command (mini) buffer
547 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
549 * ControlRef.C: fix dispatch call
551 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
553 * ControlCharacter.C: use view_state_changed not setState
555 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
557 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
559 2002-07-15 Mike Fabian <mfabian@suse.de>
561 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
562 of compare_no_case, because in turkish, 'i' is not the lowercase
563 version of 'I', and thus turkish locale breaks parsing of tags.
565 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
567 * ControlBibtex.C (applyParamsToInset): ws change
569 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
571 * ControlInclude.C: Add warning if absolute path name and
572 check_typeset is used together
574 2002-06-28 Angus Leeming <leeming@lyx.org>
576 * ControlGraphics.C: changes associated with the name changes
577 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
579 2002-06-25 Angus Leeming <leeming@lyx.org>
581 * ControlGraphics.C (readBB): Channges associated with the changed
582 interface to the graphics cache.
584 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * ControlParagraph.C: layout as layout
588 2002-06-21 Angus Leeming <leeming@lyx.org>
590 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
591 * tex_helpers.h: #include "LString.h".
593 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
596 * ControlBibitem.C: use repaint()
598 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
600 * ControlTexinfo.C: do the same for Texinfo
602 * tex_helpers.C: don't try to read a file that isn't there
604 2002-06-21 Herbert Voss <voss@perce.de>
606 * ControlBibtex.C: do an automatic update, when no bst-list
609 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
611 * GUI.h: createIndex() changed
613 2002-06-18 Herbert Voss <voss@perce.de>
615 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
616 helperstuff. Now the bibtex gui can use some of these functions
618 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
620 * ControlGraphics.C: just make the mask *.*
622 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * changes to simplify function setup, removal of a lot of includes.
626 2002-06-12 Angus Leeming <leeming@lyx.org>
628 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
630 2002-06-12 Angus Leeming <leeming@lyx.org>
632 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
634 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
636 * ControlParagraph.[Ch]: new paragraph controller
637 * GUI.h: add new controller
640 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * GUI.h: do not include ButtonController.tmpl
644 * ControlInset.h: include ControlInset.tmpl
646 * ControlCitation.C: do not include ControlInset.tmpl
647 * ControlCommand.C: ditto
648 * ControlERT.C: ditto
649 * ControlError.C: ditto
650 * ControlExternal.C: ditto
651 * ControlFloat.C: ditto
652 * ControlGraphics.C: ditto
653 * ControlInclude.C: ditto
654 * ControlMinipage.C: ditto
656 * ControlDialog.tmpl: remove the Base:: prefix
658 2002-06-07 Angus Leeming <leeming@lyx.org>
660 Fixes needed to compile with Compaq cxx 6.5.
661 * ControlDialog.tmpl: I have had to prefix base class methods with
664 * ControlInset.tmpl: #include a couple of headers.
666 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
668 * switch from SigC signals to boost::signals
670 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
672 * biblio.h: include vector
674 * biblio.C: change include order
675 (regexSearch): use boost regex and get rid of LRegex
677 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
682 * ControlCharacter.C:
685 * ControlConnections.C:
702 * ControlSpellchecker.C:
703 * ControlTabularCreate.C:
705 * ControlThesaurus.C:
708 * ControlVCLog.C: LyXView moved into frontends
710 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
712 * ControlExternal.C: add scoped_ptr.hpp
714 * ControlCharacter.h: use more specific smart_ptr header.
716 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
718 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
720 2002-05-13 Herbert Voss <voss@perce.de>
722 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
723 like "Odland, G. and ... "
724 (parseBibTeX): fix bug with title and booktitle
725 and replace a \n with a space when one entry has more than
728 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
730 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
731 "No change" and "Reset".
733 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
734 them at the front of the list.
736 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
738 * ControlGraphics.C: add some comments to the char * arrays.
739 Make rorigin_size const.
741 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
743 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
744 Enables the gui's to internationalise these strings.
746 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
748 * frnt_lang.C: fix build
750 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
752 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
753 If the the caller is the character dialog, add "No change" and "Reset"
754 to the vector, else don't.
755 Internationalise the GUI strings here rather than in the different
757 Sort the translated strings, albeit simply.
759 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
761 * character.[Ch]: rename namespace character as namespace frnt.
763 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
764 as several dialogs will use this info. The function now returns a
765 vector<LanguagePair> where LanguagePair is a display string and an
766 identifying string. The display string is internationalised.
768 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
769 the identifying strings, "No change" and "Reset".
771 * Makefile.am: add frnt_lang.[Ch].
773 2002-04-25 Herbert Voss <voss@lyx.org>
775 * ControlSendto.C (allFormats): don't add the graphics extensions to the
778 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
780 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
781 BibTeX databases in a WYSIWYM way.
783 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
785 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
786 way past his use-by date.
787 Make use of the improved info from Buffer::getBibkeyList when using
788 \bibliography. Enables us to provide natbib support in this case too.
790 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
792 * ControlGraphics.C: pass the browseFile dialog a string of only those
793 formats that can currently be loaded by LyX.
795 2002-04-15 Herbert Voss <voss@perce.de>
797 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
798 with something like ,,...blah...`` (two commas)
800 2002-04-14 Herbert Voss <voss@perce.de>
802 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
803 into the support/lstrings for better use in other programs.
805 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
806 namespace anon and make globally accessible.
807 (familyName): test for the presence of a LaTeX Space at the front of
808 of a name; strip it if it exists.
810 2002-04-11 Herbert Voss <voss@perce.de>
812 * ControlGraphics.C: expand "browse-string" to all available formats
814 2002-04-11 Herbert Voss <voss@perce.de>
816 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
818 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
820 * ControlAboutlyx.C (getVersion): two _() forgotten
822 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
826 * ControlBibtex.C: make N_() be _()
828 2002-04-07 Herbert Voss <voss@perce.de>
830 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
832 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
834 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
835 used when reading the BB.
837 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
839 * ControlGraphics.C (readBB): Don't open the ifstrem and then
840 check the format from the contents (and open a second ifstream in the
841 process. One at a time please.
843 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
845 * ControlRef.C (getBufferNum): squash warning message.
847 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
849 * ControlBibtex.C (Browse):
850 * ControlGraphics.C (Browse):
851 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
853 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
855 * ControlGraphics.C (applyParamsToInset): pass filepath to
856 InsetGraphics::updateInset.
858 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
860 * most files: ws cleanup
862 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
864 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
867 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
870 * ControlInclude.C: better error messages
872 2002-03-11 Herbert Voss <voss@lyx.org>
874 * biblio.C (parseBibTeX): fix another minibug with an
877 2002-03-10 Herbert Voss <voss@lyx.org>
879 * biblio.C (parseBibTeX): fix bug
880 (familyName): improve parsing
882 2002-03-09 Herbert Voss <voss@lyx.org>
884 * ControlGraphics.[Ch]: adding checkFilename() for testing
885 of non-existing files
887 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
889 * ControlSendto.C (allFormats): fix a iterators are not pointers
892 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
894 * ControlShowFile.h: add a #include "LString.h"
896 2002-03-05 Herbert Voss <voss@lyx.org>
898 * biblio.C (getInfo): simplify if using paragraph layout
901 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
903 * biblio.C (getInfo): return the info field correctly if the key
905 (parseBibTeX): fix crash when data.find('=') returns string::npos.
907 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
909 * ControlForks.[Ch]: new files. A controller for the Forked Child
910 processes dialog, enabling the user to see what forked processes
911 are running, and, if he so desires, to kill them.
913 * GUI.h: add class GUIForks.
915 * Makefile.am: add ControlForks.[Ch].
917 * ControlGraphics.C (getParams): small change due to change in
920 2002-02-21 Herbert Voss <voss@lyx.org>
922 * biblio.C: fix bug with commentlines in a bibentry
924 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
926 * Makefile.am: simpler obj. file compile
928 2002-02-18 Herbert Voss <voss@lyx.org>
930 * ControlGraphics.[Ch]: remove help-file call
932 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
934 * helper_funcs.h: wrap the structs firster and seconder up in a
935 namespace to avoid clashes with those in lyxalgo,h.
937 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
938 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
940 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
942 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
945 change Systemcalls::System to Systemcalls::Wait and
946 No change of functionality, just reflects the stripped down Systemcalls
949 2002-02-06 Herbert Voss <voss@lyx.org>
951 * ControlGraphics.[C] (readBB): search also in
952 g'zipped files. If it is useful than PK and compress
953 should also be supported. use unzipFile() from
956 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
958 * ControlRef.C (getBufferName): new method to get a real buffer
961 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
963 * ControlTexInfo.[Ch]: Removed Help functions.
965 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
967 * ControlSpellchecker.C: clear any selection left
970 2002-02-01 Herbert Voss <voss@lyx.org>
972 * ControlGraphics.[C] (readBB): search only, if it is a
973 ".?ps" file and look for bb's at end of file
975 2002-01-30 Herbert Voss <voss@lyx.org>
977 * ControlGraphic.[C]: do not search the whole file, when
980 2002-01-29 Herbert Voss <voss@lyx.org>
982 * ControlGraphic.[C]: added a button for document path
983 when browsing -> bug 222
985 2002-01-27 Herbert Voss <voss@lyx.org>
987 * ControlGraphic.[Ch]: added support for Bounding Box, other
990 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
993 * ControlTexinfo.h: added #include "LString.h" where they belong.
995 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
998 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1000 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1005 2002-01-20 Herbert Voss <voss@perce.de>
1007 * ControlInclude.[Ch]: better control of unexistings files
1008 when entered without the browser
1010 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1013 2002-01-19 Herbert Voss <voss@perce.de>
1015 * biblio.C (getInfo): fix bug when no author is given
1017 * biblio.C (parseBibTeX): change the parsing, so that
1018 '#'-characters in a bibtex entry are no more a problem.
1020 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1022 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1023 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1025 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1027 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1029 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1031 * ControlExternal.C (Browse): add a std:: qualifier
1033 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1035 * ControlExternal.C (Browse): simplify to use browseRelFile
1037 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1039 * ButtonController.tmpl: added // -*- C++ -*-
1041 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1042 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1043 Needed in _one_ of the ControlCommand-derived classes only.
1045 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1048 * ControlSearch.h: #include LString.h
1050 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ButtonController.h: split into two. The definition remains in
1053 ButtonController.h, the declaration is now in ButtonController.tmpl.
1054 These template methods should be #included when the derived class is
1055 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1056 and in the qt2 and gnome equivalents.
1058 * ControlDialogs.h: removed. The definition of class ControlDialog is
1059 now to be found in ControlDialog.h and the declaration of the methods
1060 is in ControlDialog.tmpl. The two template instantiations are performed
1061 in ControlDialog_impl.[Ch], new files also.
1063 * ControlInset.h: split into two. The definition remains in
1064 ControlInset.h, the declaration is now in ControlInset.tmpl.
1065 These template methods should be #included derived class is
1066 instantiated, in this case in 8 other .C files in this directory.
1068 * ControlAboutlyx.[Ch]:
1069 * ControlCharacter.[Ch]:
1073 * ControlExternal.C:
1075 * ControlGraphics.C:
1078 * ControlMinipage.C:
1079 * ControlPreamble.[Ch]:
1080 * ControlPrint.[Ch]:
1081 * ControlSearch.[Ch]:
1082 * ControlShowFile.[Ch]:
1083 * ControlSpellchecker.[Ch]:
1084 * ControlTabularCreate.[Ch]:
1085 * ControlTexinfo.[Ch]:
1086 * ControlThesaurus.[Ch]:
1087 * ControlVCLog.[Ch]: small changes associated with the above ones.
1089 * GUI.h: #include the ButtonController and dialog controller files
1090 here, rather than forward declare them. This is the correct place
1091 for these #includes.
1093 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1094 Rename ControlDialogs.h as ControlDialog.h.
1095 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1098 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1100 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1102 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1104 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1107 * ControlGraphics.C (Browse): remove overzealous shortcut
1109 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1111 * FormMinipage.C (apply, update): MinipageParams::width renamed
1112 as MinipageParams::pageWidth. InsetMinipage::width renamed
1113 as InsetMinipage::pageWidth.
1115 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1117 * ButtonController.h (refreshReadOnly): use explicit typename
1119 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1121 * helper_funcs.h (browseFile): add default empty button descriptions.
1123 * ControlGraphics.C (Browse):
1124 * ControlBibtex.C (Browse):
1125 * ControlInclude.C (Browse): add shortcuts to directory buttons
1127 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1129 * ControlThesaurus.h:
1130 * ControlThesaurus.C: update to Aiksaurus 0.14
1132 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1134 * ControlSpellchecker.C (clearParams): show the closing message
1135 only if some words have been checked, thereby fixing
1138 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1140 * ControlFloat.[Ch]: changes to prevent here definitely being used
1143 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1145 * ControlThesaurus.h: do not include <config.h> in header files
1147 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1149 * ControlToc.C: changes for floatlist
1151 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1153 * ControlVCLog.C: use _()
1155 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1157 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1160 2001-10-22 Juergen Vigna <jug@sad.it>
1162 * ControlSpellchecker.C (clearParams): use the error_ message of the
1163 speller_ if available when the spellchecker died.
1164 (setParams): remove double error message display.
1166 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1170 * helper_funcs.[Ch] (getLatexUnits): see above.
1172 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1174 * ControlTexinfo.C (getContents): use the right file for .sty files
1176 2001-10-10 Herbert Voss <voss@perce.de>
1178 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1179 and some more stuff from FormTexinfo.C
1181 * ControlShowFile.C: hiding the update-button
1183 2001-10-09 Herbert Voss <voss@perce.de>
1185 * ControlTexinfo.[Ch]: new files. Display information about the
1186 installed texfiles (cls,sty,bst).
1188 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1190 * GUI.h: added classes GUIShowFile and GUITexinfo.
1192 * Makefile.am: modified appropriately.
1194 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1196 * ControlAboutlyx.C (getVersion): use lyx_version and
1197 lyx_release_date instead of old macros
1199 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1201 * ControlSpellchecker.C (check): Behaves well now when the spell
1202 library doesn't know a replacement to an incorrect word.
1204 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1206 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1207 the correct place. Can now check spelling more than once!
1209 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlSplash.[Ch]: removed.
1213 * GUI.h: remove GUISplash class.
1215 * ViewBase.h: remove ViewSplash class.
1217 * Makefile.am: remove ControlSplash.[Ch].
1219 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1221 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1222 view will be shut down.
1225 * ControlInset.h: act on emergency_exit_.
1227 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1228 speller fails to launch.
1230 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1232 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1233 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1235 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1237 * ControlRef.h (disconnectOnApply): new method. Set to true.
1238 Perhaps make this user-modifiable?
1240 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1242 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1245 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1247 * ControlRef.C (getBufferList, getBufferNum): New methods
1249 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1251 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1252 of the dialog when the Apply button is pressed. Defaults to false,
1253 but can be overridden in the daughter classes.
1255 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1256 Perhaps make this user-modifiable?
1258 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1260 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1261 we have dialogs that update their contents when the buffer changes.
1262 Rather embarassing, really!
1264 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1266 * ControlSearch (replace): change semantics of replace to NOT move on
1267 to the next instance of a word once the present instance has been
1268 replaced unless we are replacing ALL instances of the word.
1270 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1272 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1274 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1276 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1277 dialog, set all options to "reset", close the dialog, re-open it ->
1278 the options are set incorrectly.
1280 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1281 When Applying it's useful to know whether the dialog is about to close
1282 or not (no point refreshing the display for example).
1284 * ControlInset.C (apply): use isClosing.
1286 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1289 * ControlDialogs.h: remove bc() hack, now fixed in
1290 Qt2 frontend. use member dialog_built_ instead of shared
1293 * ButtonController.h:
1294 * ButtonPolicies.C: more debug info
1296 * ButtonControllerBase.C: call refresh() when setting readOnly !
1298 * GUI.h: External form has apply, use the right policy
1300 * character.C: fix two off-by-one errors when latex font was removed
1302 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1304 * ControlInset.h (apply): tentative fix for the press Apply multiple
1305 times and get multiple new Insets problem.
1307 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1309 * ControlCharacter.C: fix typo
1313 * ControlInsets.C: make sure dialog is built before it is shown, so
1314 it works properly the very first time it is shown
1316 2001-08-20 Herbert Voss <voss@perce.de>
1318 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1319 and styles. Added an option for "bibliography into toc"
1321 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1323 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1324 LaTeX is no longer a font property.
1326 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1328 * GUI.h: Button controller for Reference dialog changed to
1329 NoRepeatedApplyReadOnlyPolicy.
1331 * biblio.C (getInfo): output volume and number info. Move year to end
1334 2001-08-09 Allan Rae <rae@lyx.org>
1336 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1338 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1340 * helper_funcs.C (getVectorFromString): fixed small bug.
1342 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1344 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1346 * ControlSpellchecker.C: check next word after insert in personal dict
1348 2001-08-06 Juergen Vigna <jug@sad.it>
1350 * ControlERT.[Ch]: new file
1352 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1354 * ControlInset.h: const and non-const forms of params().
1356 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1357 whitespace from either side of each item.
1359 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ControlFloat.h: add a != operator for FloatParams.
1362 Lars, how did you get this to compile!!!
1364 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1365 operator != for MinipageParams. Who's changing stuff and not compiling?
1367 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1372 * GUI.h: add class GUIFloat
1374 * ControlFloat.[Ch]: new files
1376 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1378 * ControlPrint.C: #include Lassert.h here.
1380 2001-07-26 Baruch Even <baruch@lyx.org>
1382 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1385 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1387 * ControlThesaurus.h:
1388 * ControlThesaurus.C:
1390 * Makefile.am: thesaurus support
1392 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1395 * ControlInclude.C: implement ability to load file
1397 2001-07-18 Juergen Vigna <jug@sad.it>
1399 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1401 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1403 * biblio.C (getInfo): add a .c_str() to handle the usual
1406 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1408 * ControlCitation.[Ch]: changes associated with adding natbib support.
1409 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1410 New static variable citeStyles_.
1412 * biblio.[Ch]: large internal rearrangement.
1413 New public enum CiteStyle.
1414 New public struct CitationStyle.
1415 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1416 getNumericalStrings, getAuthorYearStrings
1417 (simpleSearch, regexSearch): no longer publicly accessible.
1419 * helper_funcs.C (getStringFromVector): bug fix.
1421 2001-07-16 Baruch Even <baruch@lyx.org>
1423 * ControlVCLog.h: Added Lsstream.h to includes.
1425 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1427 * ControlSpellchecker.[Ch]: remove d-tor.
1429 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1431 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1433 2001-07-16 Juergen Vigna <jug@sad.it>
1435 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1436 compiled with USE_PSPELL) to be able to switch between ISpell and
1439 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1441 Consistent use of Lsstream.h:
1442 * ControlAboutlyx.[Ch] (getCredits):
1443 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1445 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1447 * ControlCredits.[Ch]: removed
1448 * ControlCopyright.[Ch]: removed
1449 * ControlAboutlyx.[Ch]: added (replaces previous)
1450 * GUI.h: removed credits and copyright added about lyx stuff
1452 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1454 * ControlSpellchecker.C (getSuggestion):
1455 (getWord): add std:: qualifier
1457 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1459 * ControlSpellchecker.[Ch]: added
1460 * ViewBase.h: added partialUpdate(int) member
1461 * GUI.h: added spell stuff
1463 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1465 * ControlExternal.C: (*it). -> it->
1467 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1469 * ButtonController.h: move some included header files out of the
1470 frontends and into here.
1472 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1474 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1476 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1478 * *.[h]: added // -*- C++ -*-
1479 * *.[C]: removed // -*- C++ -*-
1481 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1482 activate Apply button.
1483 (clearParams): removed.
1484 font_ is now stored as a boost::scoped_ptr.
1485 font_ is no longer deleted on hide(), so it's contents can now be used
1486 by the Font button on the toolbar.
1487 Lots of new methods so that the GUI can easily get the contents of
1488 font_ when it update()s.
1490 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1492 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1493 crash when the Font button on the Toolbar is pressed.
1495 * GUI.h: change policy of Character button controller to
1496 OkApplyCancelReadOnlyPolicy.
1498 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1500 * ControlToc.C (getContents): don't add anything to the list if it
1501 is supposed to be empty.
1503 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1505 * helper_funcs.C (getVectorFromString): bug fix.
1507 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1509 * ButtonController.h
1510 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1511 from ButtonControllerBase::readOnly. Updates the state of the widgets
1512 in the read-only list only when the read-only status of the document
1514 (refresh): moved this stuff into refreshReadOnly.
1516 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1518 * ControlPrint.C (c-tor):
1519 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1521 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1524 * character.h: small clean-ups.
1526 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1528 * ControlToc.C (getType): remove support for old float list.
1530 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1532 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1533 * ControlGraphics.h: no longer include insetgraphicsParams.h
1534 * ControlInset.h: no longer include LyXView.h
1539 * ControlCharacter.C:
1540 * ControlCitation.C:
1542 * ControlConnections.C:
1543 * ControlCopyright.C:
1546 * ControlExternal.C:
1547 * ControlGraphics.C:
1550 * ControlMinipage.C:
1551 * ControlPreamble.C:
1555 * ControlTabularCreate.C:
1557 * ControlVCLog.C: they're now in here!
1559 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1561 * ButtonControllerBase.h: C++ mode, inherit privately from
1563 * ButtonPolicies.h: ditto
1565 * ButtonController.h: C++ mode, swap init order of restore_ and
1568 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1570 * ControlTabularCreate.h:
1571 * ControlTabularCreate.C: make dialogs use a pair of uints
1575 * ControlVCLog.C: fill a stringstream with the log contents
1578 * ControlExternal.C: from Angus, clone the new InsetExternal
1581 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1583 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1584 and made more robust.
1586 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1591 * ControlPreamble.C:
1593 * ControlGraphics.C:
1594 * ControlExternal.C:
1595 * ControlCopyright.C: include gettext.h
1597 * ControlCharacter.C:
1598 * character.C: include gettext.h and language.h
1600 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1602 * ButtonController.h:
1603 * ButtonControllerBase.h:
1604 * ButtonControllerBase.C:
1611 * ControlConnections.h:
1614 * ControlExternal.C:
1617 * ViewBase.h: s/ControlButton/ControlButtons/
1619 s/UndoAll/Restore/ + associated
1621 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1623 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1626 * Makefile.am: associated changes with all of the above.
1628 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1630 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1631 and edit, view, update the External Material correctly. I hope!
1633 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1635 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1637 * BCTemplates.h: renamed as ButtonController.h
1639 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1642 * ControlConnections.h: associated change in #include and class names.
1644 * ControlExternal.[Ch]: new files; a controller for the External
1648 * Makefile.am: associated changes with all of the above.
1650 * ControlGraphics.[Ch]:
1651 * ControlInclude.[Ch]:
1652 * ControlPrint.[Ch]:
1654 (Browse): new method. Returns the results of a FileDialog browse.
1656 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1657 (getVectorFromString): fixed bug.
1659 * biblio.C (simpleSearch): cleaned up.
1661 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1663 * A slight reworking of Baruch Even's ButtonController patch.
1665 * BCTemplates.h: new file; all the templates for the ButtonController.
1666 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1667 to the more generic setButtonLabel().
1669 * ButtonController.[Ch]: renamed cancel_label and close_label as
1670 cancel_label_ and close_label_.
1672 * Makefile.am: added BCTemplates.h
1674 2001-03-29 Juergen Vigna <jug@sad.it>
1676 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1677 to use new %-lengths of LyXLength.
1679 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1681 * ControlCitation.C (bibkeysInfo): removed Assert.
1683 * ControlCopyright.h: moved GUICopyright into GUI.h
1687 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1689 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1690 (setDaughterParams): a (by default empty) new method called in show().
1696 * ControlMinipage.h:
1699 * ControlUrl.h (clearDaughterParams): removed
1701 * ControlMinipage.C (applyParamsToInset): update the view.
1702 Added namespace minipage containing a helper function getUnits.
1704 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1706 * ControlCharacter.[Ch]: moved out all the helper functions and the
1707 enum into their own file.
1708 * character.[Ch]: new files; contain the character helper functions,
1709 now inside namespace character.
1711 * ControlCitation.[Ch]: moved out all the helper functions and the
1712 enums into their own file. Simplified interface.
1713 * biblio.[Ch]: new files; contain the citation helper functions,
1714 now inside namespace biblio. Will be of use also to an improved
1717 * ControlGraphics.[Ch]:
1718 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1719 popups, respectively.
1722 * Makefile.am: associated changes.
1724 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1726 * ControlMinipage.[Ch]:
1727 * ControlPreamble.[Ch]:
1728 * ControlPrint.[Ch]:
1729 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1730 and Print popups and Splash screen, respectively.
1732 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1736 * Makefile.am: associated changes.
1738 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1740 * ControlConnections.[Ch]: (docType): new method; returns the type
1741 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1744 * ControlSearch.[Ch]:
1745 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1746 Search and TabularCreate popups, respectively.
1749 * Makefile.am: associated changes.
1751 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1753 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1756 * ControlInset.h (apply): fix bug. Can now create new insets again.
1758 * README: describe program flow.
1760 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1762 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1764 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1766 * ControlDialogs.h: moved class ControlInset into its own file.
1768 * ControlInset.h: new file. class ControlInset has been expanded to take
1769 two template parameters, Inset and Params. Believe that all inset
1770 controllers can be derived from this with the minimum of effort.
1772 * ControlBibitem.[Ch]:
1773 * ControlBibtex.[Ch]:
1774 * ControlCitation.[Ch]:
1775 * ControlCommand.[Ch]: moved most code into ControlInset.
1777 * lots of files. Moved protected stuff into private where possible.
1779 * ControlError.[Ch]:
1780 * ControlInclude.[Ch]:
1781 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1782 Include and Url popups, respectively.
1785 * Makefile.am: associated changes.
1787 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1789 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1792 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1794 * ControlCredits.C (getCredits): remove std:: qualifier for
1797 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1799 * ControlCredits.C (getCredits): add std:: on vector
1801 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1803 * ControlCredits.C: remove using that is only used once, use
1804 std::ios instead of std::iosbase, add some annoying comments.
1806 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1808 * lots of header files: improved explanatory notes.
1810 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1811 ControlBase is now a class that only controls the interaction of the
1812 View with the ButtonController.
1814 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1815 to ControlConnectBase. The class controls the connection/disconnection
1816 of signals from the LyX kernel and makes available the kernel (through
1817 lv_) to daughter controller classes.
1818 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1820 * ControlDialogs.h: new file. Contains the definition of two template
1821 controller classes, ControlDialog and ControlInset (was
1822 ControlConnectInset). ControlInset is a parent class for controllers
1823 of inset-popups. ControlDialogs is the rather uninspired name for
1824 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1825 ControlDialogs is reaching a state of maturity as several popups now use
1826 it and its functionality becomes clear. ControlInset is still in a state
1827 of flux. It is likely that functionality will be moved out of
1828 ControlCommands and into it.
1830 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1831 individual Controller header files and into one place. These classes
1832 serve only as convenient wrappers to simplify code in the respective
1833 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1835 * ControlCharacter.[Ch] (show, update, hide):
1836 * ControlLog.[Ch] (show, update, hide):
1837 * ControlVCLog.[Ch] (show, update, hide): moved back into
1838 the ControlDialogs base class.
1839 (setParams, clearParams): new methods containing controller-specific
1840 code to set/reset the parameters manipulated by the view.
1842 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1844 (hide): calls clearParams.
1846 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1847 by ControlCommand::hide().
1849 * ControlCopyright.[Ch]:
1850 * ControlCredits.[Ch]: new files; controllers for the copyright and
1851 credits popups, respectively.
1853 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1855 * ControlCharacter.C: fix typo
1857 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1859 * ControlCharacter.[Ch]: new files; controller for the character popup.
1861 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1862 moved to new files helper_funcs.[Ch].
1864 * helper_funcs.[Ch]: new files. Some useful helper functions and
1867 * Makefile.am: added new files.
1869 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1871 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1873 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1876 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1877 Control log files, respectively.
1879 * Makefile.am: added new files.
1881 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1883 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1885 * Makefile.am: added ControlBibtex.[Ch].
1887 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1890 * ControlCitation.C: added "using SigC::slot" declaration.
1892 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1893 to FormCitation.C prior to the merger: "Do not put space between
1896 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1898 * several files: remove CXX_WORKING_NAMESPACES
1900 * ButtonController.h: noncopyable is in namespace boost
1901 * ButtonPolicies.h: ditto
1903 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1905 * Merging changes from BRANCH_MVC back into HEAD.
1907 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1909 * Makefile.am: add ControlBibitem.[Ch].
1911 * ControlBibitem.[Ch]: new files that together define the Controller
1912 for a Bibitem popup.
1914 * ControlCommand.h (c-tor): give kb_action a default value of
1917 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1919 * ControlCitation.[Ch]: moved search functions out of class.
1920 (bibkeysInfo): new method. Returns const reference to private data.
1921 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1924 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1926 * ControlCitation.[Ch]: added Search functions to the class,
1927 (shamelessly lifted from Marco's gnome code). I think that these would
1928 be better as helper functions outside the class, but this is a first
1931 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1933 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1935 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1936 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1937 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1938 implementation of FormCitation.
1940 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1942 * ButtonPolicies.h: add SMI_NOOP to enum.
1944 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1946 * ButtonController.C (input): add "optimising" if-statement. Actually,
1947 things don't work correctly without it...
1949 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1951 * ViewBase.h: remove #pragma directive
1953 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1956 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1958 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1960 * Makefile.am: added ButtonPolicies.[Ch]
1962 * ButtonController.[Ch]: ButtonController is split into
1963 ButtonControllerBase and a template ButtonController class. The base
1964 class no longer stores a pointer to a ButtonPolicy, but instead
1965 accesses the actual instantiation of the policy through a pure virtual
1966 method bp(). This method and the ButtonPolicy itself are instantiated
1967 in the templatised ButtonController class. This class is derived from
1968 the GUI-specific GUIBC class, meaning that the frontends know
1969 nothing about the actual policy decided upon by the controllers.
1971 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1972 Instead the actual instantiations are accessed through pure virtual
1973 methods view() and bc(). The daughter classes are responsible for the
1974 actual View and ButtonController.
1976 * ControlCitation.h: the templatised class GUICitation instantiates
1977 the methods view() and bc(). It also stores the instances of the
1978 View and ButtonController.
1980 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1982 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1983 also changed to ButtonController.
1986 * ControlConnections.[Ch]:
1987 * ControlCommand.[Ch]:
1988 * ControlCitation.[Ch]:
1989 * ViewBase.h: Changes associated with this.
1991 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1993 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1994 xforms/ButtonController class into a GUI-I class (here) and an
1995 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1997 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1998 from which all Dialog Controllers should be derived. the Controllers
1999 are GUI-independent, but are designed to control the behaviour of
2000 GUI-specific implementaions of each dialog.
2002 * ControlConnections.[Ch]: new files. Classes controlling the
2003 connections of buffer-independent, buffer-dependent and Inset dialogs
2004 with the LyX kernel.
2006 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2007 InsetCommand subset of insets.
2009 * ControlCitation.[Ch]: new files. The test specialisation! A
2010 controller for the Citation dialog.
2012 * ViewBase.h: new file. ViewBase is an abstract base class from which
2013 GUI-specific dialogs should be derived. The functionality that the GUIs
2014 must now implement is much reduced.