1 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
5 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
7 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
11 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * several files: ws changes
15 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
17 * ControlDocument.C (classApply): use boost.format
19 2002-11-29 Angus Leeming <leeming@lyx.org>
21 * ControlButtons.h (isClosing): make it public, so that the view can
23 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
26 * ControlPrefs.[Ch] (OKButton): removed.
28 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
29 dialog isClosing(). (Ie, if the "save" button has been pressed.)
31 2002-11-28 John Levon <levon@movementarian.org>
33 * ControlSpellchecker.C: fix Lars' broken cleanup
35 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
37 * ControlTabular.[Ch]: Add isMulticolumnCell
39 2002-11-27 Angus Leeming <leeming@lyx.org>
41 * ControlMath.C (ControlMath): initialise active_.
43 2002-11-25 Angus Leeming <leeming@lyx.org>
45 * ControlDialog.h (hide, update): move from protected to public.
47 * ControlMath.[Ch]: add controllers for the main math panel dialog and
48 for any daughter dialogs stored by the main panel.
50 2002-11-21 Angus Leeming <leeming@lyx.org>
52 * ControlDocument.[Ch] (classApply): no longer returns bool.
53 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
55 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * biblio.C (getAbbreviatedAuthor): use boost::format
59 * ControlSpellchecker.C (clearParams): use boost::format
61 2002-11-20 John Levon <levon@movementarian.org>
63 * ControlMath.C: couple more manglings
65 2002-11-20 John Levon <levon@movementarian.org>
68 * ControlMath.C: add find_xpm mangler
70 2002-11-17 John Levon <levon@movementarian.org>
72 * helper_funcs.C and users: specify save/open in file dialog
74 2002-11-15 John Levon <levon@movementarian.org>
77 * ControlPrefs.C: use setParams()
79 2002-11-15 John Levon <levon@movementarian.org>
81 * ControlButtons.h: make OKButton() virtual for prefs
84 * ControlPrefs.C: updates for xforms port to MVC
88 * ControlTabular.C: add simple MVC port
90 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
92 * ControlInclude.C: fix file format masks for qt's use
94 2002-11-13 John Levon <levon@movementarian.org>
98 * ControlPrefs.C: add skeleton controller
100 2002-11-12 John Levon <levon@movementarian.org>
102 * biblio.C: fix warnings
104 2002-11-12 Angus Leeming <leeming@lyx.org>
106 * ControlSpellchecker.C (check): fix crash
107 * biblio.C (escape_special_chars): simplify BRE.
109 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
111 * ControlDocument.[Ch]: Remove unused method
113 2002-11-07 Angus Leeming <leeming@lyx.org>
115 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
116 * clean-up the search code in biblio.C.
118 2002-11-07 John Levon <levon@movementarian.org>
120 * ControlGraphics.C: QGraphics fixes
122 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
124 * ControlDocument.C: (SaveAsDefault) make it work.
125 fix buffer update on class change
127 2002-11-06 Angus Leeming <leeming@lyx.org>
129 * biblio.C (searchKeys and helper functions): rewritten entirely
130 using the STL. Boost::regex searching now works as the old 1.2 code
133 2002-11-06 Angus Leeming <leeming@lyx.org>
135 * biblio.C: clean-up of the code. No change in functionality.
137 2002-11-04 Angus Leeming <leeming@lyx.org>
139 * ControlGraphics.[Ch] (getUnits): moved out of class and into
140 frnt::getBBUnits(). Code cleaned also.
142 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
144 * biblio.C (regexSearch): STRCONV
147 * ControlAboutlyx.C (getVersion): STRCONV
149 * ControlMath.C: include config.h
151 2002-10-31 John Levon <levon@movementarian.org>
154 * ControlGraphics.C: bb units from Herbert
156 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
158 * ControlParagraph.[Ch] (alignDefault): new method, returning the
159 default alignment (block, left, right, center) of this paragraph.
161 2002-10-25 John Levon <levon@movementarian.org>
163 * ControlPrint.C: using endl
165 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
167 * ControlPrint.[Ch]: move code here from Liason.[Ch].
169 * ControlSpellchecker.h (getCount): new method.
170 * ControlSpellchecker.[Ch]: constify some accessor methods.
172 2002-10-22 Angus Leeming <leeming@lyx.org>
174 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
175 alphabetical order once again.
177 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
178 Add a list of CheckedWidget ptrs to ButtonControllerBase
179 together with methods addCheckedWidget and checkWidgets to use it.
181 * ButtonController.tmpl (refresh): use the return value of
182 checkWidgets to control the activation state of the Ok, Apply, Restore
185 * ControlDialog.tmpl (show, update):
186 * ControlInset.tmpl (showInset, update):
187 invoke ButtonController::refresh to ensure that the activation state of
188 the Ok, Apply buttons reflects the valid-state of the widgets.
190 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * tex_helpers.C (rescanTexStyles): don't pop p
195 * ControlWrap.C (WrapParms): remove initialization of placement,
196 and move empty c-tor to .h class def.
198 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
199 of on stringsteam, return void. Get the file into the stream as
202 * ControlPreamble.[Ch] (params): getter and setter for params_, make
203 params_ into a string, not just a pointer to string.
205 * ControlExternal.C (getTemplateNumber): put i into the for scope,
206 and use the sequence operator on the last for "parameter"
207 (getTemplate): use std::advance to advance the iterator.
209 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
210 instead of on a stringstream, return void. Get the file into the
211 stream as fast as possible.
212 (getVersion): use ostringstream
214 * lots of files: ws changes, formatting fixes
216 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
218 * ControlCharacter.C (apply): setMinibuffer change
219 * ControlDocument.C (apply): ditto
221 * ControlThesaurus.C (replace): ditto
222 * ControlSearch.C (find): ditto
224 * ControlPreamble.C (apply): ditto
225 * ControlParagraph.C (apply): ditto
227 2002-10-14 André Pönitz <poenitz@gmx.net>
229 * ControlDocument.C: somebody else's fix for a hard lockup
231 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
235 * Makefile.am: New document parameters controller
237 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
241 2002-09-24 Angus Leeming <leeming@lyx.org>
243 * ControlConnections.h: remove trailing whitespace.
245 * biblio.h: #include "LString.h".
247 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
249 * ControlGraphics.C: Change GUI origin strings into proper English.
251 2002-09-09 John Levon <levon@movementarian.org>
253 * ControlInclude.C: fix file masks. Get rid of noload,
254 remove stupid warning
256 2002-09-09 John Levon <levon@movementarian.org>
259 * ControlMath.C: add latex_deco
261 2002-09-06 John Levon <levon@movementarian.org>
263 * ControlMath.C: terminate dots
265 2002-09-05 Angus Leeming <leeming@lyx.org>
267 * all files: modify the headers as discussed on the list.
269 2002-08-30 John Levon <levon@movementarian.org>
272 * ControlMath.C: moved from MathsSymbols.C
274 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
276 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
278 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
280 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
281 first item in the list
283 2002-08-15 Angus Leeming <leeming@lyx.org>
285 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
287 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
289 2002-08-15 Angus Leeming <leeming@lyx.org>
291 * lots: changed my email address to leeming@lyx.org.
293 * GUI.h: return it to private derivation from boost::noncopyable.
295 2002-08-14 Angus Leeming <leeming@lyx.org>
297 * GUI.h: public derivation from boost::noncopyable.
299 2002-08-14 Angus Leeming <leeming@lyx.org>
301 * GUI.h: class GUI deries from boost::noncopyable
303 * ControlButtons.h: no longer derives from DialogBase, but instead
304 derives directly from boost::noncopyable.
306 * ViewBase.h: derives from boost::noncopyable.
308 * ControlCharacter.C:
310 * ControlConnections.C:
313 * ControlParagraph.C:
317 * ControlSpellchecker.C:
319 * ControlThesaurus.C:
320 rearrange #includes. Remove unnecessary ones.
322 * ControlError.h: add "insets/inseterror.h".
324 * helper_funcs.h: add necessary #includes.
326 * tex_helpers.[Ch]: add #pragma directives for g++.
328 * Makefile.am: remove src/frontends from -I list to compiler.
330 2002-08-13 Angus Leeming <leeming@lyx.org>
332 * ControlConnections.C:
334 changes due to the changed LyXView interface that now returns references
335 to member variables not pointers.
337 2002-08-12 Angus Leeming <leeming@lyx.org>
339 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
340 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
341 for the most commonly accessed core methods, to minimise code
344 * many files: use these wrappers and remove associated #includes.
346 2002-08-12 Angus Leeming <leeming@lyx.org>
348 * ControlButtons.[Ch] (bc, view): no longer virtual.
349 (setView, setButtonController): new methods, invoked by GUI.
351 * ControlDialog.h (show):
352 * ControlInset.h (createInset, showInset): make public, so that GUI can
355 * GUI.h: GUI now contains a controller, rather than deriving from it.
356 remove all those friend functions since we can now access the show,
357 createInset, showInset controller methods.
359 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
362 * character.h: #include a couple of STL files.
364 2002-08-08 John Levon <levon@movementarian.org>
366 * ControlCommandBuffer.C: LyXAction cleanup
368 2002-08-07 John Levon <levon@movementarian.org>
370 * ControlSpellchecker.C: fix crash when spellchecker doesn't
373 2002-08-06 John Levon <levon@movementarian.org>
375 * ControlSpellchecker.C:
376 * ControlSpellchecker.h: use WordLangTuple
378 2002-08-06 John Levon <levon@movementarian.org>
380 * ControlSpellchecker.C: show an alert with the
381 error message on initialisation failure
383 2002-08-04 John Levon <levon@movementarian.org>
385 * ControlSpellchecker.h:
386 * ControlSpellchecker.C: some cleanups
388 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
390 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
392 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
393 the Dialogs::updateParagraph signal is emitted.
395 2002-08-02 Angus Leeming <leeming@lyx.org>
397 * ControlCharacter.C (apply):
398 * ControlERT.C (applyParamsToInset):
399 * ControlParagraph.C (apply):
400 * ControlSearch.C (find, replace):
401 * ControlThesaurus.C (replace): changes due to LyXView::view() now
402 returning a boost::shared_ptr.
404 2002-08-01 John Levon <levon@movementarian.org>
406 * ControlSendto.C: writeFile() change
408 2002-08-01 John Levon <levon@movementarian.org>
410 * ControlSpellchecker.h:
411 * ControlSpellchecker.C: remove options
413 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * several files: strip,frontStrip -> trim,ltrim,rtrim
417 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * biblio.C (parseBibTeX): modify because of strip changes
421 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
423 * ControlFloat.[Ch]: Implement Wide Float toggle
424 Replace "allow_here_definitely" by "wide"
426 2002-07-22 Herbert Voss <voss@lyx.org>
428 * ControlGraphics.C: small changes
430 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
432 * ControlToc.C: remove getType
434 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
436 * ControlCommandBuffer.C: don't add "" to history
438 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
440 * ControlRef.C: fix dispatch call nicely
442 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
445 * ControlCommandBuffer.h:
446 * ControlCommandBuffer.C: add controller for command (mini) buffer
449 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
451 * ControlRef.C: fix dispatch call
453 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
455 * ControlCharacter.C: use view_state_changed not setState
457 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
459 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
461 2002-07-15 Mike Fabian <mfabian@suse.de>
463 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
464 of compare_no_case, because in turkish, 'i' is not the lowercase
465 version of 'I', and thus turkish locale breaks parsing of tags.
467 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
469 * ControlBibtex.C (applyParamsToInset): ws change
471 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
473 * ControlInclude.C: Add warning if absolute path name and
474 check_typeset is used together
476 2002-06-28 Angus Leeming <leeming@lyx.org>
478 * ControlGraphics.C: changes associated with the name changes
479 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
481 2002-06-25 Angus Leeming <leeming@lyx.org>
483 * ControlGraphics.C (readBB): Channges associated with the changed
484 interface to the graphics cache.
486 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
488 * ControlParagraph.C: layout as layout
490 2002-06-21 Angus Leeming <leeming@lyx.org>
492 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
493 * tex_helpers.h: #include "LString.h".
495 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
498 * ControlBibitem.C: use repaint()
500 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
502 * ControlTexinfo.C: do the same for Texinfo
504 * tex_helpers.C: don't try to read a file that isn't there
506 2002-06-21 Herbert Voss <voss@perce.de>
508 * ControlBibtex.C: do an automatic update, when no bst-list
511 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
513 * GUI.h: createIndex() changed
515 2002-06-18 Herbert Voss <voss@perce.de>
517 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
518 helperstuff. Now the bibtex gui can use some of these functions
520 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
522 * ControlGraphics.C: just make the mask *.*
524 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * changes to simplify function setup, removal of a lot of includes.
528 2002-06-12 Angus Leeming <leeming@lyx.org>
530 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
532 2002-06-12 Angus Leeming <leeming@lyx.org>
534 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
536 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
538 * ControlParagraph.[Ch]: new paragraph controller
539 * GUI.h: add new controller
542 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
544 * GUI.h: do not include ButtonController.tmpl
546 * ControlInset.h: include ControlInset.tmpl
548 * ControlCitation.C: do not include ControlInset.tmpl
549 * ControlCommand.C: ditto
550 * ControlERT.C: ditto
551 * ControlError.C: ditto
552 * ControlExternal.C: ditto
553 * ControlFloat.C: ditto
554 * ControlGraphics.C: ditto
555 * ControlInclude.C: ditto
556 * ControlMinipage.C: ditto
558 * ControlDialog.tmpl: remove the Base:: prefix
560 2002-06-07 Angus Leeming <leeming@lyx.org>
562 Fixes needed to compile with Compaq cxx 6.5.
563 * ControlDialog.tmpl: I have had to prefix base class methods with
566 * ControlInset.tmpl: #include a couple of headers.
568 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
570 * switch from SigC signals to boost::signals
572 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * biblio.h: include vector
576 * biblio.C: change include order
577 (regexSearch): use boost regex and get rid of LRegex
579 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
584 * ControlCharacter.C:
587 * ControlConnections.C:
604 * ControlSpellchecker.C:
605 * ControlTabularCreate.C:
607 * ControlThesaurus.C:
610 * ControlVCLog.C: LyXView moved into frontends
612 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
614 * ControlExternal.C: add scoped_ptr.hpp
616 * ControlCharacter.h: use more specific smart_ptr header.
618 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
620 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
622 2002-05-13 Herbert Voss <voss@perce.de>
624 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
625 like "Odland, G. and ... "
626 (parseBibTeX): fix bug with title and booktitle
627 and replace a \n with a space when one entry has more than
630 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
632 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
633 "No change" and "Reset".
635 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
636 them at the front of the list.
638 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
640 * ControlGraphics.C: add some comments to the char * arrays.
641 Make rorigin_size const.
643 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
645 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
646 Enables the gui's to internationalise these strings.
648 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
650 * frnt_lang.C: fix build
652 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
654 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
655 If the the caller is the character dialog, add "No change" and "Reset"
656 to the vector, else don't.
657 Internationalise the GUI strings here rather than in the different
659 Sort the translated strings, albeit simply.
661 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
663 * character.[Ch]: rename namespace character as namespace frnt.
665 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
666 as several dialogs will use this info. The function now returns a
667 vector<LanguagePair> where LanguagePair is a display string and an
668 identifying string. The display string is internationalised.
670 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
671 the identifying strings, "No change" and "Reset".
673 * Makefile.am: add frnt_lang.[Ch].
675 2002-04-25 Herbert Voss <voss@lyx.org>
677 * ControlSendto.C (allFormats): don't add the graphics extensions to the
680 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
682 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
683 BibTeX databases in a WYSIWYM way.
685 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
687 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
688 way past his use-by date.
689 Make use of the improved info from Buffer::getBibkeyList when using
690 \bibliography. Enables us to provide natbib support in this case too.
692 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
694 * ControlGraphics.C: pass the browseFile dialog a string of only those
695 formats that can currently be loaded by LyX.
697 2002-04-15 Herbert Voss <voss@perce.de>
699 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
700 with something like ,,...blah...`` (two commas)
702 2002-04-14 Herbert Voss <voss@perce.de>
704 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
705 into the support/lstrings for better use in other programs.
707 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
708 namespace anon and make globally accessible.
709 (familyName): test for the presence of a LaTeX Space at the front of
710 of a name; strip it if it exists.
712 2002-04-11 Herbert Voss <voss@perce.de>
714 * ControlGraphics.C: expand "browse-string" to all available formats
716 2002-04-11 Herbert Voss <voss@perce.de>
718 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
720 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
722 * ControlAboutlyx.C (getVersion): two _() forgotten
724 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
728 * ControlBibtex.C: make N_() be _()
730 2002-04-07 Herbert Voss <voss@perce.de>
732 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
734 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
736 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
737 used when reading the BB.
739 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
741 * ControlGraphics.C (readBB): Don't open the ifstrem and then
742 check the format from the contents (and open a second ifstream in the
743 process. One at a time please.
745 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlRef.C (getBufferNum): squash warning message.
749 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
751 * ControlBibtex.C (Browse):
752 * ControlGraphics.C (Browse):
753 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
755 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
757 * ControlGraphics.C (applyParamsToInset): pass filepath to
758 InsetGraphics::updateInset.
760 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
762 * most files: ws cleanup
764 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
766 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
769 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
772 * ControlInclude.C: better error messages
774 2002-03-11 Herbert Voss <voss@lyx.org>
776 * biblio.C (parseBibTeX): fix another minibug with an
779 2002-03-10 Herbert Voss <voss@lyx.org>
781 * biblio.C (parseBibTeX): fix bug
782 (familyName): improve parsing
784 2002-03-09 Herbert Voss <voss@lyx.org>
786 * ControlGraphics.[Ch]: adding checkFilename() for testing
787 of non-existing files
789 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
791 * ControlSendto.C (allFormats): fix a iterators are not pointers
794 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
796 * ControlShowFile.h: add a #include "LString.h"
798 2002-03-05 Herbert Voss <voss@lyx.org>
800 * biblio.C (getInfo): simplify if using paragraph layout
803 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
805 * biblio.C (getInfo): return the info field correctly if the key
807 (parseBibTeX): fix crash when data.find('=') returns string::npos.
809 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
811 * ControlForks.[Ch]: new files. A controller for the Forked Child
812 processes dialog, enabling the user to see what forked processes
813 are running, and, if he so desires, to kill them.
815 * GUI.h: add class GUIForks.
817 * Makefile.am: add ControlForks.[Ch].
819 * ControlGraphics.C (getParams): small change due to change in
822 2002-02-21 Herbert Voss <voss@lyx.org>
824 * biblio.C: fix bug with commentlines in a bibentry
826 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
828 * Makefile.am: simpler obj. file compile
830 2002-02-18 Herbert Voss <voss@lyx.org>
832 * ControlGraphics.[Ch]: remove help-file call
834 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
836 * helper_funcs.h: wrap the structs firster and seconder up in a
837 namespace to avoid clashes with those in lyxalgo,h.
839 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
840 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
842 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
844 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
847 change Systemcalls::System to Systemcalls::Wait and
848 No change of functionality, just reflects the stripped down Systemcalls
851 2002-02-06 Herbert Voss <voss@lyx.org>
853 * ControlGraphics.[C] (readBB): search also in
854 g'zipped files. If it is useful than PK and compress
855 should also be supported. use unzipFile() from
858 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
860 * ControlRef.C (getBufferName): new method to get a real buffer
863 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
865 * ControlTexInfo.[Ch]: Removed Help functions.
867 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
869 * ControlSpellchecker.C: clear any selection left
872 2002-02-01 Herbert Voss <voss@lyx.org>
874 * ControlGraphics.[C] (readBB): search only, if it is a
875 ".?ps" file and look for bb's at end of file
877 2002-01-30 Herbert Voss <voss@lyx.org>
879 * ControlGraphic.[C]: do not search the whole file, when
882 2002-01-29 Herbert Voss <voss@lyx.org>
884 * ControlGraphic.[C]: added a button for document path
885 when browsing -> bug 222
887 2002-01-27 Herbert Voss <voss@lyx.org>
889 * ControlGraphic.[Ch]: added support for Bounding Box, other
892 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlTexinfo.h: added #include "LString.h" where they belong.
897 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
900 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
902 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
904 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
907 2002-01-20 Herbert Voss <voss@perce.de>
909 * ControlInclude.[Ch]: better control of unexistings files
910 when entered without the browser
912 * ControlGraphic.C (Browse): add extension "ps" when browsing for
915 2002-01-19 Herbert Voss <voss@perce.de>
917 * biblio.C (getInfo): fix bug when no author is given
919 * biblio.C (parseBibTeX): change the parsing, so that
920 '#'-characters in a bibtex entry are no more a problem.
922 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
924 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
925 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
927 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
929 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
931 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
933 * ControlExternal.C (Browse): add a std:: qualifier
935 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
937 * ControlExternal.C (Browse): simplify to use browseRelFile
939 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
941 * ButtonController.tmpl: added // -*- C++ -*-
943 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
944 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
945 Needed in _one_ of the ControlCommand-derived classes only.
947 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
950 * ControlSearch.h: #include LString.h
952 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
954 * ButtonController.h: split into two. The definition remains in
955 ButtonController.h, the declaration is now in ButtonController.tmpl.
956 These template methods should be #included when the derived class is
957 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
958 and in the qt2 and gnome equivalents.
960 * ControlDialogs.h: removed. The definition of class ControlDialog is
961 now to be found in ControlDialog.h and the declaration of the methods
962 is in ControlDialog.tmpl. The two template instantiations are performed
963 in ControlDialog_impl.[Ch], new files also.
965 * ControlInset.h: split into two. The definition remains in
966 ControlInset.h, the declaration is now in ControlInset.tmpl.
967 These template methods should be #included derived class is
968 instantiated, in this case in 8 other .C files in this directory.
970 * ControlAboutlyx.[Ch]:
971 * ControlCharacter.[Ch]:
981 * ControlPreamble.[Ch]:
983 * ControlSearch.[Ch]:
984 * ControlShowFile.[Ch]:
985 * ControlSpellchecker.[Ch]:
986 * ControlTabularCreate.[Ch]:
987 * ControlTexinfo.[Ch]:
988 * ControlThesaurus.[Ch]:
989 * ControlVCLog.[Ch]: small changes associated with the above ones.
991 * GUI.h: #include the ButtonController and dialog controller files
992 here, rather than forward declare them. This is the correct place
995 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
996 Rename ControlDialogs.h as ControlDialog.h.
997 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1000 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1004 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1006 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1009 * ControlGraphics.C (Browse): remove overzealous shortcut
1011 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1013 * FormMinipage.C (apply, update): MinipageParams::width renamed
1014 as MinipageParams::pageWidth. InsetMinipage::width renamed
1015 as InsetMinipage::pageWidth.
1017 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1019 * ButtonController.h (refreshReadOnly): use explicit typename
1021 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1023 * helper_funcs.h (browseFile): add default empty button descriptions.
1025 * ControlGraphics.C (Browse):
1026 * ControlBibtex.C (Browse):
1027 * ControlInclude.C (Browse): add shortcuts to directory buttons
1029 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1031 * ControlThesaurus.h:
1032 * ControlThesaurus.C: update to Aiksaurus 0.14
1034 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1036 * ControlSpellchecker.C (clearParams): show the closing message
1037 only if some words have been checked, thereby fixing
1040 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1042 * ControlFloat.[Ch]: changes to prevent here definitely being used
1045 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1047 * ControlThesaurus.h: do not include <config.h> in header files
1049 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1051 * ControlToc.C: changes for floatlist
1053 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1055 * ControlVCLog.C: use _()
1057 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1059 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1062 2001-10-22 Juergen Vigna <jug@sad.it>
1064 * ControlSpellchecker.C (clearParams): use the error_ message of the
1065 speller_ if available when the spellchecker died.
1066 (setParams): remove double error message display.
1068 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1072 * helper_funcs.[Ch] (getLatexUnits): see above.
1074 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1076 * ControlTexinfo.C (getContents): use the right file for .sty files
1078 2001-10-10 Herbert Voss <voss@perce.de>
1080 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1081 and some more stuff from FormTexinfo.C
1083 * ControlShowFile.C: hiding the update-button
1085 2001-10-09 Herbert Voss <voss@perce.de>
1087 * ControlTexinfo.[Ch]: new files. Display information about the
1088 installed texfiles (cls,sty,bst).
1090 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1092 * GUI.h: added classes GUIShowFile and GUITexinfo.
1094 * Makefile.am: modified appropriately.
1096 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1098 * ControlAboutlyx.C (getVersion): use lyx_version and
1099 lyx_release_date instead of old macros
1101 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1103 * ControlSpellchecker.C (check): Behaves well now when the spell
1104 library doesn't know a replacement to an incorrect word.
1106 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1108 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1109 the correct place. Can now check spelling more than once!
1111 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlSplash.[Ch]: removed.
1115 * GUI.h: remove GUISplash class.
1117 * ViewBase.h: remove ViewSplash class.
1119 * Makefile.am: remove ControlSplash.[Ch].
1121 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1123 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1124 view will be shut down.
1127 * ControlInset.h: act on emergency_exit_.
1129 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1130 speller fails to launch.
1132 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1134 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1135 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1137 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1139 * ControlRef.h (disconnectOnApply): new method. Set to true.
1140 Perhaps make this user-modifiable?
1142 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1144 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1147 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1149 * ControlRef.C (getBufferList, getBufferNum): New methods
1151 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1153 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1154 of the dialog when the Apply button is pressed. Defaults to false,
1155 but can be overridden in the daughter classes.
1157 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1158 Perhaps make this user-modifiable?
1160 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1162 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1163 we have dialogs that update their contents when the buffer changes.
1164 Rather embarassing, really!
1166 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlSearch (replace): change semantics of replace to NOT move on
1169 to the next instance of a word once the present instance has been
1170 replaced unless we are replacing ALL instances of the word.
1172 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1174 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1176 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1178 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1179 dialog, set all options to "reset", close the dialog, re-open it ->
1180 the options are set incorrectly.
1182 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1183 When Applying it's useful to know whether the dialog is about to close
1184 or not (no point refreshing the display for example).
1186 * ControlInset.C (apply): use isClosing.
1188 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1191 * ControlDialogs.h: remove bc() hack, now fixed in
1192 Qt2 frontend. use member dialog_built_ instead of shared
1195 * ButtonController.h:
1196 * ButtonPolicies.C: more debug info
1198 * ButtonControllerBase.C: call refresh() when setting readOnly !
1200 * GUI.h: External form has apply, use the right policy
1202 * character.C: fix two off-by-one errors when latex font was removed
1204 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1206 * ControlInset.h (apply): tentative fix for the press Apply multiple
1207 times and get multiple new Insets problem.
1209 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1211 * ControlCharacter.C: fix typo
1215 * ControlInsets.C: make sure dialog is built before it is shown, so
1216 it works properly the very first time it is shown
1218 2001-08-20 Herbert Voss <voss@perce.de>
1220 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1221 and styles. Added an option for "bibliography into toc"
1223 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1225 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1226 LaTeX is no longer a font property.
1228 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1230 * GUI.h: Button controller for Reference dialog changed to
1231 NoRepeatedApplyReadOnlyPolicy.
1233 * biblio.C (getInfo): output volume and number info. Move year to end
1236 2001-08-09 Allan Rae <rae@lyx.org>
1238 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1240 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1242 * helper_funcs.C (getVectorFromString): fixed small bug.
1244 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1246 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1248 * ControlSpellchecker.C: check next word after insert in personal dict
1250 2001-08-06 Juergen Vigna <jug@sad.it>
1252 * ControlERT.[Ch]: new file
1254 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1256 * ControlInset.h: const and non-const forms of params().
1258 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1259 whitespace from either side of each item.
1261 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1263 * ControlFloat.h: add a != operator for FloatParams.
1264 Lars, how did you get this to compile!!!
1266 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1267 operator != for MinipageParams. Who's changing stuff and not compiling?
1269 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1274 * GUI.h: add class GUIFloat
1276 * ControlFloat.[Ch]: new files
1278 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1280 * ControlPrint.C: #include Lassert.h here.
1282 2001-07-26 Baruch Even <baruch@lyx.org>
1284 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1287 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1289 * ControlThesaurus.h:
1290 * ControlThesaurus.C:
1292 * Makefile.am: thesaurus support
1294 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1297 * ControlInclude.C: implement ability to load file
1299 2001-07-18 Juergen Vigna <jug@sad.it>
1301 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1303 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1305 * biblio.C (getInfo): add a .c_str() to handle the usual
1308 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1310 * ControlCitation.[Ch]: changes associated with adding natbib support.
1311 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1312 New static variable citeStyles_.
1314 * biblio.[Ch]: large internal rearrangement.
1315 New public enum CiteStyle.
1316 New public struct CitationStyle.
1317 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1318 getNumericalStrings, getAuthorYearStrings
1319 (simpleSearch, regexSearch): no longer publicly accessible.
1321 * helper_funcs.C (getStringFromVector): bug fix.
1323 2001-07-16 Baruch Even <baruch@lyx.org>
1325 * ControlVCLog.h: Added Lsstream.h to includes.
1327 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1329 * ControlSpellchecker.[Ch]: remove d-tor.
1331 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1333 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1335 2001-07-16 Juergen Vigna <jug@sad.it>
1337 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1338 compiled with USE_PSPELL) to be able to switch between ISpell and
1341 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1343 Consistent use of Lsstream.h:
1344 * ControlAboutlyx.[Ch] (getCredits):
1345 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1347 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1349 * ControlCredits.[Ch]: removed
1350 * ControlCopyright.[Ch]: removed
1351 * ControlAboutlyx.[Ch]: added (replaces previous)
1352 * GUI.h: removed credits and copyright added about lyx stuff
1354 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1356 * ControlSpellchecker.C (getSuggestion):
1357 (getWord): add std:: qualifier
1359 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1361 * ControlSpellchecker.[Ch]: added
1362 * ViewBase.h: added partialUpdate(int) member
1363 * GUI.h: added spell stuff
1365 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1367 * ControlExternal.C: (*it). -> it->
1369 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1371 * ButtonController.h: move some included header files out of the
1372 frontends and into here.
1374 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1376 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1378 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1380 * *.[h]: added // -*- C++ -*-
1381 * *.[C]: removed // -*- C++ -*-
1383 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1384 activate Apply button.
1385 (clearParams): removed.
1386 font_ is now stored as a boost::scoped_ptr.
1387 font_ is no longer deleted on hide(), so it's contents can now be used
1388 by the Font button on the toolbar.
1389 Lots of new methods so that the GUI can easily get the contents of
1390 font_ when it update()s.
1392 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1394 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1395 crash when the Font button on the Toolbar is pressed.
1397 * GUI.h: change policy of Character button controller to
1398 OkApplyCancelReadOnlyPolicy.
1400 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1402 * ControlToc.C (getContents): don't add anything to the list if it
1403 is supposed to be empty.
1405 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1407 * helper_funcs.C (getVectorFromString): bug fix.
1409 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1411 * ButtonController.h
1412 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1413 from ButtonControllerBase::readOnly. Updates the state of the widgets
1414 in the read-only list only when the read-only status of the document
1416 (refresh): moved this stuff into refreshReadOnly.
1418 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1420 * ControlPrint.C (c-tor):
1421 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1423 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1426 * character.h: small clean-ups.
1428 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1430 * ControlToc.C (getType): remove support for old float list.
1432 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1434 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1435 * ControlGraphics.h: no longer include insetgraphicsParams.h
1436 * ControlInset.h: no longer include LyXView.h
1441 * ControlCharacter.C:
1442 * ControlCitation.C:
1444 * ControlConnections.C:
1445 * ControlCopyright.C:
1448 * ControlExternal.C:
1449 * ControlGraphics.C:
1452 * ControlMinipage.C:
1453 * ControlPreamble.C:
1457 * ControlTabularCreate.C:
1459 * ControlVCLog.C: they're now in here!
1461 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1463 * ButtonControllerBase.h: C++ mode, inherit privately from
1465 * ButtonPolicies.h: ditto
1467 * ButtonController.h: C++ mode, swap init order of restore_ and
1470 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1472 * ControlTabularCreate.h:
1473 * ControlTabularCreate.C: make dialogs use a pair of uints
1477 * ControlVCLog.C: fill a stringstream with the log contents
1480 * ControlExternal.C: from Angus, clone the new InsetExternal
1483 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1485 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1486 and made more robust.
1488 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1493 * ControlPreamble.C:
1495 * ControlGraphics.C:
1496 * ControlExternal.C:
1497 * ControlCopyright.C: include gettext.h
1499 * ControlCharacter.C:
1500 * character.C: include gettext.h and language.h
1502 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1504 * ButtonController.h:
1505 * ButtonControllerBase.h:
1506 * ButtonControllerBase.C:
1513 * ControlConnections.h:
1516 * ControlExternal.C:
1519 * ViewBase.h: s/ControlButton/ControlButtons/
1521 s/UndoAll/Restore/ + associated
1523 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1525 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1528 * Makefile.am: associated changes with all of the above.
1530 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1532 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1533 and edit, view, update the External Material correctly. I hope!
1535 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1537 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1539 * BCTemplates.h: renamed as ButtonController.h
1541 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1544 * ControlConnections.h: associated change in #include and class names.
1546 * ControlExternal.[Ch]: new files; a controller for the External
1550 * Makefile.am: associated changes with all of the above.
1552 * ControlGraphics.[Ch]:
1553 * ControlInclude.[Ch]:
1554 * ControlPrint.[Ch]:
1556 (Browse): new method. Returns the results of a FileDialog browse.
1558 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1559 (getVectorFromString): fixed bug.
1561 * biblio.C (simpleSearch): cleaned up.
1563 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1565 * A slight reworking of Baruch Even's ButtonController patch.
1567 * BCTemplates.h: new file; all the templates for the ButtonController.
1568 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1569 to the more generic setButtonLabel().
1571 * ButtonController.[Ch]: renamed cancel_label and close_label as
1572 cancel_label_ and close_label_.
1574 * Makefile.am: added BCTemplates.h
1576 2001-03-29 Juergen Vigna <jug@sad.it>
1578 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1579 to use new %-lengths of LyXLength.
1581 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1583 * ControlCitation.C (bibkeysInfo): removed Assert.
1585 * ControlCopyright.h: moved GUICopyright into GUI.h
1589 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1591 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1592 (setDaughterParams): a (by default empty) new method called in show().
1598 * ControlMinipage.h:
1601 * ControlUrl.h (clearDaughterParams): removed
1603 * ControlMinipage.C (applyParamsToInset): update the view.
1604 Added namespace minipage containing a helper function getUnits.
1606 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1608 * ControlCharacter.[Ch]: moved out all the helper functions and the
1609 enum into their own file.
1610 * character.[Ch]: new files; contain the character helper functions,
1611 now inside namespace character.
1613 * ControlCitation.[Ch]: moved out all the helper functions and the
1614 enums into their own file. Simplified interface.
1615 * biblio.[Ch]: new files; contain the citation helper functions,
1616 now inside namespace biblio. Will be of use also to an improved
1619 * ControlGraphics.[Ch]:
1620 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1621 popups, respectively.
1624 * Makefile.am: associated changes.
1626 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1628 * ControlMinipage.[Ch]:
1629 * ControlPreamble.[Ch]:
1630 * ControlPrint.[Ch]:
1631 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1632 and Print popups and Splash screen, respectively.
1634 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1638 * Makefile.am: associated changes.
1640 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1642 * ControlConnections.[Ch]: (docType): new method; returns the type
1643 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1646 * ControlSearch.[Ch]:
1647 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1648 Search and TabularCreate popups, respectively.
1651 * Makefile.am: associated changes.
1653 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1655 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1658 * ControlInset.h (apply): fix bug. Can now create new insets again.
1660 * README: describe program flow.
1662 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1664 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1666 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1668 * ControlDialogs.h: moved class ControlInset into its own file.
1670 * ControlInset.h: new file. class ControlInset has been expanded to take
1671 two template parameters, Inset and Params. Believe that all inset
1672 controllers can be derived from this with the minimum of effort.
1674 * ControlBibitem.[Ch]:
1675 * ControlBibtex.[Ch]:
1676 * ControlCitation.[Ch]:
1677 * ControlCommand.[Ch]: moved most code into ControlInset.
1679 * lots of files. Moved protected stuff into private where possible.
1681 * ControlError.[Ch]:
1682 * ControlInclude.[Ch]:
1683 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1684 Include and Url popups, respectively.
1687 * Makefile.am: associated changes.
1689 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1691 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1694 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1696 * ControlCredits.C (getCredits): remove std:: qualifier for
1699 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1701 * ControlCredits.C (getCredits): add std:: on vector
1703 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1705 * ControlCredits.C: remove using that is only used once, use
1706 std::ios instead of std::iosbase, add some annoying comments.
1708 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1710 * lots of header files: improved explanatory notes.
1712 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1713 ControlBase is now a class that only controls the interaction of the
1714 View with the ButtonController.
1716 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1717 to ControlConnectBase. The class controls the connection/disconnection
1718 of signals from the LyX kernel and makes available the kernel (through
1719 lv_) to daughter controller classes.
1720 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1722 * ControlDialogs.h: new file. Contains the definition of two template
1723 controller classes, ControlDialog and ControlInset (was
1724 ControlConnectInset). ControlInset is a parent class for controllers
1725 of inset-popups. ControlDialogs is the rather uninspired name for
1726 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1727 ControlDialogs is reaching a state of maturity as several popups now use
1728 it and its functionality becomes clear. ControlInset is still in a state
1729 of flux. It is likely that functionality will be moved out of
1730 ControlCommands and into it.
1732 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1733 individual Controller header files and into one place. These classes
1734 serve only as convenient wrappers to simplify code in the respective
1735 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1737 * ControlCharacter.[Ch] (show, update, hide):
1738 * ControlLog.[Ch] (show, update, hide):
1739 * ControlVCLog.[Ch] (show, update, hide): moved back into
1740 the ControlDialogs base class.
1741 (setParams, clearParams): new methods containing controller-specific
1742 code to set/reset the parameters manipulated by the view.
1744 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1746 (hide): calls clearParams.
1748 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1749 by ControlCommand::hide().
1751 * ControlCopyright.[Ch]:
1752 * ControlCredits.[Ch]: new files; controllers for the copyright and
1753 credits popups, respectively.
1755 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1757 * ControlCharacter.C: fix typo
1759 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1761 * ControlCharacter.[Ch]: new files; controller for the character popup.
1763 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1764 moved to new files helper_funcs.[Ch].
1766 * helper_funcs.[Ch]: new files. Some useful helper functions and
1769 * Makefile.am: added new files.
1771 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1773 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1775 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1778 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1779 Control log files, respectively.
1781 * Makefile.am: added new files.
1783 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1785 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1787 * Makefile.am: added ControlBibtex.[Ch].
1789 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1792 * ControlCitation.C: added "using SigC::slot" declaration.
1794 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1795 to FormCitation.C prior to the merger: "Do not put space between
1798 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1800 * several files: remove CXX_WORKING_NAMESPACES
1802 * ButtonController.h: noncopyable is in namespace boost
1803 * ButtonPolicies.h: ditto
1805 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1807 * Merging changes from BRANCH_MVC back into HEAD.
1809 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1811 * Makefile.am: add ControlBibitem.[Ch].
1813 * ControlBibitem.[Ch]: new files that together define the Controller
1814 for a Bibitem popup.
1816 * ControlCommand.h (c-tor): give kb_action a default value of
1819 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1821 * ControlCitation.[Ch]: moved search functions out of class.
1822 (bibkeysInfo): new method. Returns const reference to private data.
1823 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1826 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1828 * ControlCitation.[Ch]: added Search functions to the class,
1829 (shamelessly lifted from Marco's gnome code). I think that these would
1830 be better as helper functions outside the class, but this is a first
1833 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1835 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1837 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1838 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1839 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1840 implementation of FormCitation.
1842 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1844 * ButtonPolicies.h: add SMI_NOOP to enum.
1846 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1848 * ButtonController.C (input): add "optimising" if-statement. Actually,
1849 things don't work correctly without it...
1851 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1853 * ViewBase.h: remove #pragma directive
1855 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1858 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1860 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1862 * Makefile.am: added ButtonPolicies.[Ch]
1864 * ButtonController.[Ch]: ButtonController is split into
1865 ButtonControllerBase and a template ButtonController class. The base
1866 class no longer stores a pointer to a ButtonPolicy, but instead
1867 accesses the actual instantiation of the policy through a pure virtual
1868 method bp(). This method and the ButtonPolicy itself are instantiated
1869 in the templatised ButtonController class. This class is derived from
1870 the GUI-specific GUIBC class, meaning that the frontends know
1871 nothing about the actual policy decided upon by the controllers.
1873 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1874 Instead the actual instantiations are accessed through pure virtual
1875 methods view() and bc(). The daughter classes are responsible for the
1876 actual View and ButtonController.
1878 * ControlCitation.h: the templatised class GUICitation instantiates
1879 the methods view() and bc(). It also stores the instances of the
1880 View and ButtonController.
1882 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1884 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1885 also changed to ButtonController.
1888 * ControlConnections.[Ch]:
1889 * ControlCommand.[Ch]:
1890 * ControlCitation.[Ch]:
1891 * ViewBase.h: Changes associated with this.
1893 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1895 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1896 xforms/ButtonController class into a GUI-I class (here) and an
1897 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1899 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1900 from which all Dialog Controllers should be derived. the Controllers
1901 are GUI-independent, but are designed to control the behaviour of
1902 GUI-specific implementaions of each dialog.
1904 * ControlConnections.[Ch]: new files. Classes controlling the
1905 connections of buffer-independent, buffer-dependent and Inset dialogs
1906 with the LyX kernel.
1908 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1909 InsetCommand subset of insets.
1911 * ControlCitation.[Ch]: new files. The test specialisation! A
1912 controller for the Citation dialog.
1914 * ViewBase.h: new file. ViewBase is an abstract base class from which
1915 GUI-specific dialogs should be derived. The functionality that the GUIs
1916 must now implement is much reduced.