1 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
5 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * several files: ws changes
9 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * ControlDocument.C (classApply): use boost.format
13 2002-11-29 Angus Leeming <leeming@lyx.org>
15 * ControlButtons.h (isClosing): make it public, so that the view can
17 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
20 * ControlPrefs.[Ch] (OKButton): removed.
22 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
23 dialog isClosing(). (Ie, if the "save" button has been pressed.)
25 2002-11-28 John Levon <levon@movementarian.org>
27 * ControlSpellchecker.C: fix Lars' broken cleanup
29 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
31 * ControlTabular.[Ch]: Add isMulticolumnCell
33 2002-11-27 Angus Leeming <leeming@lyx.org>
35 * ControlMath.C (ControlMath): initialise active_.
37 2002-11-25 Angus Leeming <leeming@lyx.org>
39 * ControlDialog.h (hide, update): move from protected to public.
41 * ControlMath.[Ch]: add controllers for the main math panel dialog and
42 for any daughter dialogs stored by the main panel.
44 2002-11-21 Angus Leeming <leeming@lyx.org>
46 * ControlDocument.[Ch] (classApply): no longer returns bool.
47 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
49 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * biblio.C (getAbbreviatedAuthor): use boost::format
53 * ControlSpellchecker.C (clearParams): use boost::format
55 2002-11-20 John Levon <levon@movementarian.org>
57 * ControlMath.C: couple more manglings
59 2002-11-20 John Levon <levon@movementarian.org>
62 * ControlMath.C: add find_xpm mangler
64 2002-11-17 John Levon <levon@movementarian.org>
66 * helper_funcs.C and users: specify save/open in file dialog
68 2002-11-15 John Levon <levon@movementarian.org>
71 * ControlPrefs.C: use setParams()
73 2002-11-15 John Levon <levon@movementarian.org>
75 * ControlButtons.h: make OKButton() virtual for prefs
78 * ControlPrefs.C: updates for xforms port to MVC
82 * ControlTabular.C: add simple MVC port
84 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
86 * ControlInclude.C: fix file format masks for qt's use
88 2002-11-13 John Levon <levon@movementarian.org>
92 * ControlPrefs.C: add skeleton controller
94 2002-11-12 John Levon <levon@movementarian.org>
96 * biblio.C: fix warnings
98 2002-11-12 Angus Leeming <leeming@lyx.org>
100 * ControlSpellchecker.C (check): fix crash
101 * biblio.C (escape_special_chars): simplify BRE.
103 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
105 * ControlDocument.[Ch]: Remove unused method
107 2002-11-07 Angus Leeming <leeming@lyx.org>
109 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
110 * clean-up the search code in biblio.C.
112 2002-11-07 John Levon <levon@movementarian.org>
114 * ControlGraphics.C: QGraphics fixes
116 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
118 * ControlDocument.C: (SaveAsDefault) make it work.
119 fix buffer update on class change
121 2002-11-06 Angus Leeming <leeming@lyx.org>
123 * biblio.C (searchKeys and helper functions): rewritten entirely
124 using the STL. Boost::regex searching now works as the old 1.2 code
127 2002-11-06 Angus Leeming <leeming@lyx.org>
129 * biblio.C: clean-up of the code. No change in functionality.
131 2002-11-04 Angus Leeming <leeming@lyx.org>
133 * ControlGraphics.[Ch] (getUnits): moved out of class and into
134 frnt::getBBUnits(). Code cleaned also.
136 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * biblio.C (regexSearch): STRCONV
141 * ControlAboutlyx.C (getVersion): STRCONV
143 * ControlMath.C: include config.h
145 2002-10-31 John Levon <levon@movementarian.org>
148 * ControlGraphics.C: bb units from Herbert
150 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
152 * ControlParagraph.[Ch] (alignDefault): new method, returning the
153 default alignment (block, left, right, center) of this paragraph.
155 2002-10-25 John Levon <levon@movementarian.org>
157 * ControlPrint.C: using endl
159 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
161 * ControlPrint.[Ch]: move code here from Liason.[Ch].
163 * ControlSpellchecker.h (getCount): new method.
164 * ControlSpellchecker.[Ch]: constify some accessor methods.
166 2002-10-22 Angus Leeming <leeming@lyx.org>
168 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
169 alphabetical order once again.
171 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
172 Add a list of CheckedWidget ptrs to ButtonControllerBase
173 together with methods addCheckedWidget and checkWidgets to use it.
175 * ButtonController.tmpl (refresh): use the return value of
176 checkWidgets to control the activation state of the Ok, Apply, Restore
179 * ControlDialog.tmpl (show, update):
180 * ControlInset.tmpl (showInset, update):
181 invoke ButtonController::refresh to ensure that the activation state of
182 the Ok, Apply buttons reflects the valid-state of the widgets.
184 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * tex_helpers.C (rescanTexStyles): don't pop p
189 * ControlWrap.C (WrapParms): remove initialization of placement,
190 and move empty c-tor to .h class def.
192 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
193 of on stringsteam, return void. Get the file into the stream as
196 * ControlPreamble.[Ch] (params): getter and setter for params_, make
197 params_ into a string, not just a pointer to string.
199 * ControlExternal.C (getTemplateNumber): put i into the for scope,
200 and use the sequence operator on the last for "parameter"
201 (getTemplate): use std::advance to advance the iterator.
203 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
204 instead of on a stringstream, return void. Get the file into the
205 stream as fast as possible.
206 (getVersion): use ostringstream
208 * lots of files: ws changes, formatting fixes
210 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
212 * ControlCharacter.C (apply): setMinibuffer change
213 * ControlDocument.C (apply): ditto
215 * ControlThesaurus.C (replace): ditto
216 * ControlSearch.C (find): ditto
218 * ControlPreamble.C (apply): ditto
219 * ControlParagraph.C (apply): ditto
221 2002-10-14 André Pönitz <poenitz@gmx.net>
223 * ControlDocument.C: somebody else's fix for a hard lockup
225 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
229 * Makefile.am: New document parameters controller
231 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
235 2002-09-24 Angus Leeming <leeming@lyx.org>
237 * ControlConnections.h: remove trailing whitespace.
239 * biblio.h: #include "LString.h".
241 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
243 * ControlGraphics.C: Change GUI origin strings into proper English.
245 2002-09-09 John Levon <levon@movementarian.org>
247 * ControlInclude.C: fix file masks. Get rid of noload,
248 remove stupid warning
250 2002-09-09 John Levon <levon@movementarian.org>
253 * ControlMath.C: add latex_deco
255 2002-09-06 John Levon <levon@movementarian.org>
257 * ControlMath.C: terminate dots
259 2002-09-05 Angus Leeming <leeming@lyx.org>
261 * all files: modify the headers as discussed on the list.
263 2002-08-30 John Levon <levon@movementarian.org>
266 * ControlMath.C: moved from MathsSymbols.C
268 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
270 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
272 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
274 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
275 first item in the list
277 2002-08-15 Angus Leeming <leeming@lyx.org>
279 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
281 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
283 2002-08-15 Angus Leeming <leeming@lyx.org>
285 * lots: changed my email address to leeming@lyx.org.
287 * GUI.h: return it to private derivation from boost::noncopyable.
289 2002-08-14 Angus Leeming <leeming@lyx.org>
291 * GUI.h: public derivation from boost::noncopyable.
293 2002-08-14 Angus Leeming <leeming@lyx.org>
295 * GUI.h: class GUI deries from boost::noncopyable
297 * ControlButtons.h: no longer derives from DialogBase, but instead
298 derives directly from boost::noncopyable.
300 * ViewBase.h: derives from boost::noncopyable.
302 * ControlCharacter.C:
304 * ControlConnections.C:
307 * ControlParagraph.C:
311 * ControlSpellchecker.C:
313 * ControlThesaurus.C:
314 rearrange #includes. Remove unnecessary ones.
316 * ControlError.h: add "insets/inseterror.h".
318 * helper_funcs.h: add necessary #includes.
320 * tex_helpers.[Ch]: add #pragma directives for g++.
322 * Makefile.am: remove src/frontends from -I list to compiler.
324 2002-08-13 Angus Leeming <leeming@lyx.org>
326 * ControlConnections.C:
328 changes due to the changed LyXView interface that now returns references
329 to member variables not pointers.
331 2002-08-12 Angus Leeming <leeming@lyx.org>
333 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
334 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
335 for the most commonly accessed core methods, to minimise code
338 * many files: use these wrappers and remove associated #includes.
340 2002-08-12 Angus Leeming <leeming@lyx.org>
342 * ControlButtons.[Ch] (bc, view): no longer virtual.
343 (setView, setButtonController): new methods, invoked by GUI.
345 * ControlDialog.h (show):
346 * ControlInset.h (createInset, showInset): make public, so that GUI can
349 * GUI.h: GUI now contains a controller, rather than deriving from it.
350 remove all those friend functions since we can now access the show,
351 createInset, showInset controller methods.
353 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
356 * character.h: #include a couple of STL files.
358 2002-08-08 John Levon <levon@movementarian.org>
360 * ControlCommandBuffer.C: LyXAction cleanup
362 2002-08-07 John Levon <levon@movementarian.org>
364 * ControlSpellchecker.C: fix crash when spellchecker doesn't
367 2002-08-06 John Levon <levon@movementarian.org>
369 * ControlSpellchecker.C:
370 * ControlSpellchecker.h: use WordLangTuple
372 2002-08-06 John Levon <levon@movementarian.org>
374 * ControlSpellchecker.C: show an alert with the
375 error message on initialisation failure
377 2002-08-04 John Levon <levon@movementarian.org>
379 * ControlSpellchecker.h:
380 * ControlSpellchecker.C: some cleanups
382 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
384 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
386 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
387 the Dialogs::updateParagraph signal is emitted.
389 2002-08-02 Angus Leeming <leeming@lyx.org>
391 * ControlCharacter.C (apply):
392 * ControlERT.C (applyParamsToInset):
393 * ControlParagraph.C (apply):
394 * ControlSearch.C (find, replace):
395 * ControlThesaurus.C (replace): changes due to LyXView::view() now
396 returning a boost::shared_ptr.
398 2002-08-01 John Levon <levon@movementarian.org>
400 * ControlSendto.C: writeFile() change
402 2002-08-01 John Levon <levon@movementarian.org>
404 * ControlSpellchecker.h:
405 * ControlSpellchecker.C: remove options
407 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
409 * several files: strip,frontStrip -> trim,ltrim,rtrim
411 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * biblio.C (parseBibTeX): modify because of strip changes
415 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
417 * ControlFloat.[Ch]: Implement Wide Float toggle
418 Replace "allow_here_definitely" by "wide"
420 2002-07-22 Herbert Voss <voss@lyx.org>
422 * ControlGraphics.C: small changes
424 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
426 * ControlToc.C: remove getType
428 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
430 * ControlCommandBuffer.C: don't add "" to history
432 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
434 * ControlRef.C: fix dispatch call nicely
436 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
439 * ControlCommandBuffer.h:
440 * ControlCommandBuffer.C: add controller for command (mini) buffer
443 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
445 * ControlRef.C: fix dispatch call
447 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
449 * ControlCharacter.C: use view_state_changed not setState
451 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
453 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
455 2002-07-15 Mike Fabian <mfabian@suse.de>
457 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
458 of compare_no_case, because in turkish, 'i' is not the lowercase
459 version of 'I', and thus turkish locale breaks parsing of tags.
461 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * ControlBibtex.C (applyParamsToInset): ws change
465 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
467 * ControlInclude.C: Add warning if absolute path name and
468 check_typeset is used together
470 2002-06-28 Angus Leeming <leeming@lyx.org>
472 * ControlGraphics.C: changes associated with the name changes
473 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
475 2002-06-25 Angus Leeming <leeming@lyx.org>
477 * ControlGraphics.C (readBB): Channges associated with the changed
478 interface to the graphics cache.
480 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * ControlParagraph.C: layout as layout
484 2002-06-21 Angus Leeming <leeming@lyx.org>
486 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
487 * tex_helpers.h: #include "LString.h".
489 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
492 * ControlBibitem.C: use repaint()
494 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
496 * ControlTexinfo.C: do the same for Texinfo
498 * tex_helpers.C: don't try to read a file that isn't there
500 2002-06-21 Herbert Voss <voss@perce.de>
502 * ControlBibtex.C: do an automatic update, when no bst-list
505 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
507 * GUI.h: createIndex() changed
509 2002-06-18 Herbert Voss <voss@perce.de>
511 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
512 helperstuff. Now the bibtex gui can use some of these functions
514 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
516 * ControlGraphics.C: just make the mask *.*
518 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
520 * changes to simplify function setup, removal of a lot of includes.
522 2002-06-12 Angus Leeming <leeming@lyx.org>
524 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
526 2002-06-12 Angus Leeming <leeming@lyx.org>
528 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
530 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
532 * ControlParagraph.[Ch]: new paragraph controller
533 * GUI.h: add new controller
536 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
538 * GUI.h: do not include ButtonController.tmpl
540 * ControlInset.h: include ControlInset.tmpl
542 * ControlCitation.C: do not include ControlInset.tmpl
543 * ControlCommand.C: ditto
544 * ControlERT.C: ditto
545 * ControlError.C: ditto
546 * ControlExternal.C: ditto
547 * ControlFloat.C: ditto
548 * ControlGraphics.C: ditto
549 * ControlInclude.C: ditto
550 * ControlMinipage.C: ditto
552 * ControlDialog.tmpl: remove the Base:: prefix
554 2002-06-07 Angus Leeming <leeming@lyx.org>
556 Fixes needed to compile with Compaq cxx 6.5.
557 * ControlDialog.tmpl: I have had to prefix base class methods with
560 * ControlInset.tmpl: #include a couple of headers.
562 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * switch from SigC signals to boost::signals
566 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
568 * biblio.h: include vector
570 * biblio.C: change include order
571 (regexSearch): use boost regex and get rid of LRegex
573 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
578 * ControlCharacter.C:
581 * ControlConnections.C:
598 * ControlSpellchecker.C:
599 * ControlTabularCreate.C:
601 * ControlThesaurus.C:
604 * ControlVCLog.C: LyXView moved into frontends
606 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * ControlExternal.C: add scoped_ptr.hpp
610 * ControlCharacter.h: use more specific smart_ptr header.
612 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
614 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
616 2002-05-13 Herbert Voss <voss@perce.de>
618 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
619 like "Odland, G. and ... "
620 (parseBibTeX): fix bug with title and booktitle
621 and replace a \n with a space when one entry has more than
624 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
627 "No change" and "Reset".
629 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
630 them at the front of the list.
632 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
634 * ControlGraphics.C: add some comments to the char * arrays.
635 Make rorigin_size const.
637 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
639 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
640 Enables the gui's to internationalise these strings.
642 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
644 * frnt_lang.C: fix build
646 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
648 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
649 If the the caller is the character dialog, add "No change" and "Reset"
650 to the vector, else don't.
651 Internationalise the GUI strings here rather than in the different
653 Sort the translated strings, albeit simply.
655 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
657 * character.[Ch]: rename namespace character as namespace frnt.
659 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
660 as several dialogs will use this info. The function now returns a
661 vector<LanguagePair> where LanguagePair is a display string and an
662 identifying string. The display string is internationalised.
664 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
665 the identifying strings, "No change" and "Reset".
667 * Makefile.am: add frnt_lang.[Ch].
669 2002-04-25 Herbert Voss <voss@lyx.org>
671 * ControlSendto.C (allFormats): don't add the graphics extensions to the
674 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
676 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
677 BibTeX databases in a WYSIWYM way.
679 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
681 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
682 way past his use-by date.
683 Make use of the improved info from Buffer::getBibkeyList when using
684 \bibliography. Enables us to provide natbib support in this case too.
686 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
688 * ControlGraphics.C: pass the browseFile dialog a string of only those
689 formats that can currently be loaded by LyX.
691 2002-04-15 Herbert Voss <voss@perce.de>
693 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
694 with something like ,,...blah...`` (two commas)
696 2002-04-14 Herbert Voss <voss@perce.de>
698 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
699 into the support/lstrings for better use in other programs.
701 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
702 namespace anon and make globally accessible.
703 (familyName): test for the presence of a LaTeX Space at the front of
704 of a name; strip it if it exists.
706 2002-04-11 Herbert Voss <voss@perce.de>
708 * ControlGraphics.C: expand "browse-string" to all available formats
710 2002-04-11 Herbert Voss <voss@perce.de>
712 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
714 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
716 * ControlAboutlyx.C (getVersion): two _() forgotten
718 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
722 * ControlBibtex.C: make N_() be _()
724 2002-04-07 Herbert Voss <voss@perce.de>
726 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
728 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
730 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
731 used when reading the BB.
733 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
735 * ControlGraphics.C (readBB): Don't open the ifstrem and then
736 check the format from the contents (and open a second ifstream in the
737 process. One at a time please.
739 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
741 * ControlRef.C (getBufferNum): squash warning message.
743 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
745 * ControlBibtex.C (Browse):
746 * ControlGraphics.C (Browse):
747 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
749 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
751 * ControlGraphics.C (applyParamsToInset): pass filepath to
752 InsetGraphics::updateInset.
754 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
756 * most files: ws cleanup
758 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
760 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
763 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
766 * ControlInclude.C: better error messages
768 2002-03-11 Herbert Voss <voss@lyx.org>
770 * biblio.C (parseBibTeX): fix another minibug with an
773 2002-03-10 Herbert Voss <voss@lyx.org>
775 * biblio.C (parseBibTeX): fix bug
776 (familyName): improve parsing
778 2002-03-09 Herbert Voss <voss@lyx.org>
780 * ControlGraphics.[Ch]: adding checkFilename() for testing
781 of non-existing files
783 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
785 * ControlSendto.C (allFormats): fix a iterators are not pointers
788 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
790 * ControlShowFile.h: add a #include "LString.h"
792 2002-03-05 Herbert Voss <voss@lyx.org>
794 * biblio.C (getInfo): simplify if using paragraph layout
797 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
799 * biblio.C (getInfo): return the info field correctly if the key
801 (parseBibTeX): fix crash when data.find('=') returns string::npos.
803 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
805 * ControlForks.[Ch]: new files. A controller for the Forked Child
806 processes dialog, enabling the user to see what forked processes
807 are running, and, if he so desires, to kill them.
809 * GUI.h: add class GUIForks.
811 * Makefile.am: add ControlForks.[Ch].
813 * ControlGraphics.C (getParams): small change due to change in
816 2002-02-21 Herbert Voss <voss@lyx.org>
818 * biblio.C: fix bug with commentlines in a bibentry
820 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
822 * Makefile.am: simpler obj. file compile
824 2002-02-18 Herbert Voss <voss@lyx.org>
826 * ControlGraphics.[Ch]: remove help-file call
828 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
830 * helper_funcs.h: wrap the structs firster and seconder up in a
831 namespace to avoid clashes with those in lyxalgo,h.
833 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
834 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
836 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
838 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
841 change Systemcalls::System to Systemcalls::Wait and
842 No change of functionality, just reflects the stripped down Systemcalls
845 2002-02-06 Herbert Voss <voss@lyx.org>
847 * ControlGraphics.[C] (readBB): search also in
848 g'zipped files. If it is useful than PK and compress
849 should also be supported. use unzipFile() from
852 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
854 * ControlRef.C (getBufferName): new method to get a real buffer
857 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
859 * ControlTexInfo.[Ch]: Removed Help functions.
861 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
863 * ControlSpellchecker.C: clear any selection left
866 2002-02-01 Herbert Voss <voss@lyx.org>
868 * ControlGraphics.[C] (readBB): search only, if it is a
869 ".?ps" file and look for bb's at end of file
871 2002-01-30 Herbert Voss <voss@lyx.org>
873 * ControlGraphic.[C]: do not search the whole file, when
876 2002-01-29 Herbert Voss <voss@lyx.org>
878 * ControlGraphic.[C]: added a button for document path
879 when browsing -> bug 222
881 2002-01-27 Herbert Voss <voss@lyx.org>
883 * ControlGraphic.[Ch]: added support for Bounding Box, other
886 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
889 * ControlTexinfo.h: added #include "LString.h" where they belong.
891 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
894 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
896 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
898 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
901 2002-01-20 Herbert Voss <voss@perce.de>
903 * ControlInclude.[Ch]: better control of unexistings files
904 when entered without the browser
906 * ControlGraphic.C (Browse): add extension "ps" when browsing for
909 2002-01-19 Herbert Voss <voss@perce.de>
911 * biblio.C (getInfo): fix bug when no author is given
913 * biblio.C (parseBibTeX): change the parsing, so that
914 '#'-characters in a bibtex entry are no more a problem.
916 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
918 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
919 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
921 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
923 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
925 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
927 * ControlExternal.C (Browse): add a std:: qualifier
929 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
931 * ControlExternal.C (Browse): simplify to use browseRelFile
933 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
935 * ButtonController.tmpl: added // -*- C++ -*-
937 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
938 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
939 Needed in _one_ of the ControlCommand-derived classes only.
941 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlSearch.h: #include LString.h
946 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
948 * ButtonController.h: split into two. The definition remains in
949 ButtonController.h, the declaration is now in ButtonController.tmpl.
950 These template methods should be #included when the derived class is
951 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
952 and in the qt2 and gnome equivalents.
954 * ControlDialogs.h: removed. The definition of class ControlDialog is
955 now to be found in ControlDialog.h and the declaration of the methods
956 is in ControlDialog.tmpl. The two template instantiations are performed
957 in ControlDialog_impl.[Ch], new files also.
959 * ControlInset.h: split into two. The definition remains in
960 ControlInset.h, the declaration is now in ControlInset.tmpl.
961 These template methods should be #included derived class is
962 instantiated, in this case in 8 other .C files in this directory.
964 * ControlAboutlyx.[Ch]:
965 * ControlCharacter.[Ch]:
975 * ControlPreamble.[Ch]:
977 * ControlSearch.[Ch]:
978 * ControlShowFile.[Ch]:
979 * ControlSpellchecker.[Ch]:
980 * ControlTabularCreate.[Ch]:
981 * ControlTexinfo.[Ch]:
982 * ControlThesaurus.[Ch]:
983 * ControlVCLog.[Ch]: small changes associated with the above ones.
985 * GUI.h: #include the ButtonController and dialog controller files
986 here, rather than forward declare them. This is the correct place
989 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
990 Rename ControlDialogs.h as ControlDialog.h.
991 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
994 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
996 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
998 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1000 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1003 * ControlGraphics.C (Browse): remove overzealous shortcut
1005 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1007 * FormMinipage.C (apply, update): MinipageParams::width renamed
1008 as MinipageParams::pageWidth. InsetMinipage::width renamed
1009 as InsetMinipage::pageWidth.
1011 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1013 * ButtonController.h (refreshReadOnly): use explicit typename
1015 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1017 * helper_funcs.h (browseFile): add default empty button descriptions.
1019 * ControlGraphics.C (Browse):
1020 * ControlBibtex.C (Browse):
1021 * ControlInclude.C (Browse): add shortcuts to directory buttons
1023 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1025 * ControlThesaurus.h:
1026 * ControlThesaurus.C: update to Aiksaurus 0.14
1028 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1030 * ControlSpellchecker.C (clearParams): show the closing message
1031 only if some words have been checked, thereby fixing
1034 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1036 * ControlFloat.[Ch]: changes to prevent here definitely being used
1039 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1041 * ControlThesaurus.h: do not include <config.h> in header files
1043 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1045 * ControlToc.C: changes for floatlist
1047 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1049 * ControlVCLog.C: use _()
1051 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1053 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1056 2001-10-22 Juergen Vigna <jug@sad.it>
1058 * ControlSpellchecker.C (clearParams): use the error_ message of the
1059 speller_ if available when the spellchecker died.
1060 (setParams): remove double error message display.
1062 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1064 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1066 * helper_funcs.[Ch] (getLatexUnits): see above.
1068 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * ControlTexinfo.C (getContents): use the right file for .sty files
1072 2001-10-10 Herbert Voss <voss@perce.de>
1074 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1075 and some more stuff from FormTexinfo.C
1077 * ControlShowFile.C: hiding the update-button
1079 2001-10-09 Herbert Voss <voss@perce.de>
1081 * ControlTexinfo.[Ch]: new files. Display information about the
1082 installed texfiles (cls,sty,bst).
1084 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1086 * GUI.h: added classes GUIShowFile and GUITexinfo.
1088 * Makefile.am: modified appropriately.
1090 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1092 * ControlAboutlyx.C (getVersion): use lyx_version and
1093 lyx_release_date instead of old macros
1095 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1097 * ControlSpellchecker.C (check): Behaves well now when the spell
1098 library doesn't know a replacement to an incorrect word.
1100 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1102 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1103 the correct place. Can now check spelling more than once!
1105 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1107 * ControlSplash.[Ch]: removed.
1109 * GUI.h: remove GUISplash class.
1111 * ViewBase.h: remove ViewSplash class.
1113 * Makefile.am: remove ControlSplash.[Ch].
1115 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1117 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1118 view will be shut down.
1121 * ControlInset.h: act on emergency_exit_.
1123 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1124 speller fails to launch.
1126 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1128 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1129 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1131 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1133 * ControlRef.h (disconnectOnApply): new method. Set to true.
1134 Perhaps make this user-modifiable?
1136 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1141 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1143 * ControlRef.C (getBufferList, getBufferNum): New methods
1145 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1147 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1148 of the dialog when the Apply button is pressed. Defaults to false,
1149 but can be overridden in the daughter classes.
1151 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1152 Perhaps make this user-modifiable?
1154 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1157 we have dialogs that update their contents when the buffer changes.
1158 Rather embarassing, really!
1160 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1162 * ControlSearch (replace): change semantics of replace to NOT move on
1163 to the next instance of a word once the present instance has been
1164 replaced unless we are replacing ALL instances of the word.
1166 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1168 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1170 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1173 dialog, set all options to "reset", close the dialog, re-open it ->
1174 the options are set incorrectly.
1176 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1177 When Applying it's useful to know whether the dialog is about to close
1178 or not (no point refreshing the display for example).
1180 * ControlInset.C (apply): use isClosing.
1182 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1185 * ControlDialogs.h: remove bc() hack, now fixed in
1186 Qt2 frontend. use member dialog_built_ instead of shared
1189 * ButtonController.h:
1190 * ButtonPolicies.C: more debug info
1192 * ButtonControllerBase.C: call refresh() when setting readOnly !
1194 * GUI.h: External form has apply, use the right policy
1196 * character.C: fix two off-by-one errors when latex font was removed
1198 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1200 * ControlInset.h (apply): tentative fix for the press Apply multiple
1201 times and get multiple new Insets problem.
1203 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1205 * ControlCharacter.C: fix typo
1209 * ControlInsets.C: make sure dialog is built before it is shown, so
1210 it works properly the very first time it is shown
1212 2001-08-20 Herbert Voss <voss@perce.de>
1214 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1215 and styles. Added an option for "bibliography into toc"
1217 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1219 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1220 LaTeX is no longer a font property.
1222 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1224 * GUI.h: Button controller for Reference dialog changed to
1225 NoRepeatedApplyReadOnlyPolicy.
1227 * biblio.C (getInfo): output volume and number info. Move year to end
1230 2001-08-09 Allan Rae <rae@lyx.org>
1232 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1234 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1236 * helper_funcs.C (getVectorFromString): fixed small bug.
1238 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1240 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1242 * ControlSpellchecker.C: check next word after insert in personal dict
1244 2001-08-06 Juergen Vigna <jug@sad.it>
1246 * ControlERT.[Ch]: new file
1248 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlInset.h: const and non-const forms of params().
1252 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1253 whitespace from either side of each item.
1255 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1257 * ControlFloat.h: add a != operator for FloatParams.
1258 Lars, how did you get this to compile!!!
1260 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1261 operator != for MinipageParams. Who's changing stuff and not compiling?
1263 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1265 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1268 * GUI.h: add class GUIFloat
1270 * ControlFloat.[Ch]: new files
1272 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1274 * ControlPrint.C: #include Lassert.h here.
1276 2001-07-26 Baruch Even <baruch@lyx.org>
1278 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1281 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1283 * ControlThesaurus.h:
1284 * ControlThesaurus.C:
1286 * Makefile.am: thesaurus support
1288 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1291 * ControlInclude.C: implement ability to load file
1293 2001-07-18 Juergen Vigna <jug@sad.it>
1295 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1297 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1299 * biblio.C (getInfo): add a .c_str() to handle the usual
1302 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1304 * ControlCitation.[Ch]: changes associated with adding natbib support.
1305 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1306 New static variable citeStyles_.
1308 * biblio.[Ch]: large internal rearrangement.
1309 New public enum CiteStyle.
1310 New public struct CitationStyle.
1311 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1312 getNumericalStrings, getAuthorYearStrings
1313 (simpleSearch, regexSearch): no longer publicly accessible.
1315 * helper_funcs.C (getStringFromVector): bug fix.
1317 2001-07-16 Baruch Even <baruch@lyx.org>
1319 * ControlVCLog.h: Added Lsstream.h to includes.
1321 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1323 * ControlSpellchecker.[Ch]: remove d-tor.
1325 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1327 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1329 2001-07-16 Juergen Vigna <jug@sad.it>
1331 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1332 compiled with USE_PSPELL) to be able to switch between ISpell and
1335 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1337 Consistent use of Lsstream.h:
1338 * ControlAboutlyx.[Ch] (getCredits):
1339 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1341 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1343 * ControlCredits.[Ch]: removed
1344 * ControlCopyright.[Ch]: removed
1345 * ControlAboutlyx.[Ch]: added (replaces previous)
1346 * GUI.h: removed credits and copyright added about lyx stuff
1348 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1350 * ControlSpellchecker.C (getSuggestion):
1351 (getWord): add std:: qualifier
1353 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1355 * ControlSpellchecker.[Ch]: added
1356 * ViewBase.h: added partialUpdate(int) member
1357 * GUI.h: added spell stuff
1359 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1361 * ControlExternal.C: (*it). -> it->
1363 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1365 * ButtonController.h: move some included header files out of the
1366 frontends and into here.
1368 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1370 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1372 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1374 * *.[h]: added // -*- C++ -*-
1375 * *.[C]: removed // -*- C++ -*-
1377 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1378 activate Apply button.
1379 (clearParams): removed.
1380 font_ is now stored as a boost::scoped_ptr.
1381 font_ is no longer deleted on hide(), so it's contents can now be used
1382 by the Font button on the toolbar.
1383 Lots of new methods so that the GUI can easily get the contents of
1384 font_ when it update()s.
1386 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1388 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1389 crash when the Font button on the Toolbar is pressed.
1391 * GUI.h: change policy of Character button controller to
1392 OkApplyCancelReadOnlyPolicy.
1394 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1396 * ControlToc.C (getContents): don't add anything to the list if it
1397 is supposed to be empty.
1399 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1401 * helper_funcs.C (getVectorFromString): bug fix.
1403 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1405 * ButtonController.h
1406 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1407 from ButtonControllerBase::readOnly. Updates the state of the widgets
1408 in the read-only list only when the read-only status of the document
1410 (refresh): moved this stuff into refreshReadOnly.
1412 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1414 * ControlPrint.C (c-tor):
1415 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1417 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1420 * character.h: small clean-ups.
1422 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1424 * ControlToc.C (getType): remove support for old float list.
1426 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1428 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1429 * ControlGraphics.h: no longer include insetgraphicsParams.h
1430 * ControlInset.h: no longer include LyXView.h
1435 * ControlCharacter.C:
1436 * ControlCitation.C:
1438 * ControlConnections.C:
1439 * ControlCopyright.C:
1442 * ControlExternal.C:
1443 * ControlGraphics.C:
1446 * ControlMinipage.C:
1447 * ControlPreamble.C:
1451 * ControlTabularCreate.C:
1453 * ControlVCLog.C: they're now in here!
1455 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1457 * ButtonControllerBase.h: C++ mode, inherit privately from
1459 * ButtonPolicies.h: ditto
1461 * ButtonController.h: C++ mode, swap init order of restore_ and
1464 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1466 * ControlTabularCreate.h:
1467 * ControlTabularCreate.C: make dialogs use a pair of uints
1471 * ControlVCLog.C: fill a stringstream with the log contents
1474 * ControlExternal.C: from Angus, clone the new InsetExternal
1477 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1479 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1480 and made more robust.
1482 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1487 * ControlPreamble.C:
1489 * ControlGraphics.C:
1490 * ControlExternal.C:
1491 * ControlCopyright.C: include gettext.h
1493 * ControlCharacter.C:
1494 * character.C: include gettext.h and language.h
1496 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1498 * ButtonController.h:
1499 * ButtonControllerBase.h:
1500 * ButtonControllerBase.C:
1507 * ControlConnections.h:
1510 * ControlExternal.C:
1513 * ViewBase.h: s/ControlButton/ControlButtons/
1515 s/UndoAll/Restore/ + associated
1517 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1519 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1522 * Makefile.am: associated changes with all of the above.
1524 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1526 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1527 and edit, view, update the External Material correctly. I hope!
1529 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1531 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1533 * BCTemplates.h: renamed as ButtonController.h
1535 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1538 * ControlConnections.h: associated change in #include and class names.
1540 * ControlExternal.[Ch]: new files; a controller for the External
1544 * Makefile.am: associated changes with all of the above.
1546 * ControlGraphics.[Ch]:
1547 * ControlInclude.[Ch]:
1548 * ControlPrint.[Ch]:
1550 (Browse): new method. Returns the results of a FileDialog browse.
1552 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1553 (getVectorFromString): fixed bug.
1555 * biblio.C (simpleSearch): cleaned up.
1557 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1559 * A slight reworking of Baruch Even's ButtonController patch.
1561 * BCTemplates.h: new file; all the templates for the ButtonController.
1562 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1563 to the more generic setButtonLabel().
1565 * ButtonController.[Ch]: renamed cancel_label and close_label as
1566 cancel_label_ and close_label_.
1568 * Makefile.am: added BCTemplates.h
1570 2001-03-29 Juergen Vigna <jug@sad.it>
1572 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1573 to use new %-lengths of LyXLength.
1575 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1577 * ControlCitation.C (bibkeysInfo): removed Assert.
1579 * ControlCopyright.h: moved GUICopyright into GUI.h
1583 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1585 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1586 (setDaughterParams): a (by default empty) new method called in show().
1592 * ControlMinipage.h:
1595 * ControlUrl.h (clearDaughterParams): removed
1597 * ControlMinipage.C (applyParamsToInset): update the view.
1598 Added namespace minipage containing a helper function getUnits.
1600 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1602 * ControlCharacter.[Ch]: moved out all the helper functions and the
1603 enum into their own file.
1604 * character.[Ch]: new files; contain the character helper functions,
1605 now inside namespace character.
1607 * ControlCitation.[Ch]: moved out all the helper functions and the
1608 enums into their own file. Simplified interface.
1609 * biblio.[Ch]: new files; contain the citation helper functions,
1610 now inside namespace biblio. Will be of use also to an improved
1613 * ControlGraphics.[Ch]:
1614 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1615 popups, respectively.
1618 * Makefile.am: associated changes.
1620 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1622 * ControlMinipage.[Ch]:
1623 * ControlPreamble.[Ch]:
1624 * ControlPrint.[Ch]:
1625 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1626 and Print popups and Splash screen, respectively.
1628 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1632 * Makefile.am: associated changes.
1634 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1636 * ControlConnections.[Ch]: (docType): new method; returns the type
1637 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1640 * ControlSearch.[Ch]:
1641 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1642 Search and TabularCreate popups, respectively.
1645 * Makefile.am: associated changes.
1647 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1649 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1652 * ControlInset.h (apply): fix bug. Can now create new insets again.
1654 * README: describe program flow.
1656 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1658 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1660 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1662 * ControlDialogs.h: moved class ControlInset into its own file.
1664 * ControlInset.h: new file. class ControlInset has been expanded to take
1665 two template parameters, Inset and Params. Believe that all inset
1666 controllers can be derived from this with the minimum of effort.
1668 * ControlBibitem.[Ch]:
1669 * ControlBibtex.[Ch]:
1670 * ControlCitation.[Ch]:
1671 * ControlCommand.[Ch]: moved most code into ControlInset.
1673 * lots of files. Moved protected stuff into private where possible.
1675 * ControlError.[Ch]:
1676 * ControlInclude.[Ch]:
1677 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1678 Include and Url popups, respectively.
1681 * Makefile.am: associated changes.
1683 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1685 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1688 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1690 * ControlCredits.C (getCredits): remove std:: qualifier for
1693 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1695 * ControlCredits.C (getCredits): add std:: on vector
1697 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1699 * ControlCredits.C: remove using that is only used once, use
1700 std::ios instead of std::iosbase, add some annoying comments.
1702 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1704 * lots of header files: improved explanatory notes.
1706 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1707 ControlBase is now a class that only controls the interaction of the
1708 View with the ButtonController.
1710 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1711 to ControlConnectBase. The class controls the connection/disconnection
1712 of signals from the LyX kernel and makes available the kernel (through
1713 lv_) to daughter controller classes.
1714 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1716 * ControlDialogs.h: new file. Contains the definition of two template
1717 controller classes, ControlDialog and ControlInset (was
1718 ControlConnectInset). ControlInset is a parent class for controllers
1719 of inset-popups. ControlDialogs is the rather uninspired name for
1720 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1721 ControlDialogs is reaching a state of maturity as several popups now use
1722 it and its functionality becomes clear. ControlInset is still in a state
1723 of flux. It is likely that functionality will be moved out of
1724 ControlCommands and into it.
1726 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1727 individual Controller header files and into one place. These classes
1728 serve only as convenient wrappers to simplify code in the respective
1729 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1731 * ControlCharacter.[Ch] (show, update, hide):
1732 * ControlLog.[Ch] (show, update, hide):
1733 * ControlVCLog.[Ch] (show, update, hide): moved back into
1734 the ControlDialogs base class.
1735 (setParams, clearParams): new methods containing controller-specific
1736 code to set/reset the parameters manipulated by the view.
1738 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1740 (hide): calls clearParams.
1742 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1743 by ControlCommand::hide().
1745 * ControlCopyright.[Ch]:
1746 * ControlCredits.[Ch]: new files; controllers for the copyright and
1747 credits popups, respectively.
1749 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1751 * ControlCharacter.C: fix typo
1753 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1755 * ControlCharacter.[Ch]: new files; controller for the character popup.
1757 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1758 moved to new files helper_funcs.[Ch].
1760 * helper_funcs.[Ch]: new files. Some useful helper functions and
1763 * Makefile.am: added new files.
1765 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1767 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1769 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1772 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1773 Control log files, respectively.
1775 * Makefile.am: added new files.
1777 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1779 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1781 * Makefile.am: added ControlBibtex.[Ch].
1783 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1786 * ControlCitation.C: added "using SigC::slot" declaration.
1788 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1789 to FormCitation.C prior to the merger: "Do not put space between
1792 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1794 * several files: remove CXX_WORKING_NAMESPACES
1796 * ButtonController.h: noncopyable is in namespace boost
1797 * ButtonPolicies.h: ditto
1799 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1801 * Merging changes from BRANCH_MVC back into HEAD.
1803 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1805 * Makefile.am: add ControlBibitem.[Ch].
1807 * ControlBibitem.[Ch]: new files that together define the Controller
1808 for a Bibitem popup.
1810 * ControlCommand.h (c-tor): give kb_action a default value of
1813 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1815 * ControlCitation.[Ch]: moved search functions out of class.
1816 (bibkeysInfo): new method. Returns const reference to private data.
1817 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1820 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1822 * ControlCitation.[Ch]: added Search functions to the class,
1823 (shamelessly lifted from Marco's gnome code). I think that these would
1824 be better as helper functions outside the class, but this is a first
1827 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1829 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1831 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1832 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1833 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1834 implementation of FormCitation.
1836 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1838 * ButtonPolicies.h: add SMI_NOOP to enum.
1840 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1842 * ButtonController.C (input): add "optimising" if-statement. Actually,
1843 things don't work correctly without it...
1845 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1847 * ViewBase.h: remove #pragma directive
1849 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1852 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1854 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1856 * Makefile.am: added ButtonPolicies.[Ch]
1858 * ButtonController.[Ch]: ButtonController is split into
1859 ButtonControllerBase and a template ButtonController class. The base
1860 class no longer stores a pointer to a ButtonPolicy, but instead
1861 accesses the actual instantiation of the policy through a pure virtual
1862 method bp(). This method and the ButtonPolicy itself are instantiated
1863 in the templatised ButtonController class. This class is derived from
1864 the GUI-specific GUIBC class, meaning that the frontends know
1865 nothing about the actual policy decided upon by the controllers.
1867 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1868 Instead the actual instantiations are accessed through pure virtual
1869 methods view() and bc(). The daughter classes are responsible for the
1870 actual View and ButtonController.
1872 * ControlCitation.h: the templatised class GUICitation instantiates
1873 the methods view() and bc(). It also stores the instances of the
1874 View and ButtonController.
1876 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1878 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1879 also changed to ButtonController.
1882 * ControlConnections.[Ch]:
1883 * ControlCommand.[Ch]:
1884 * ControlCitation.[Ch]:
1885 * ViewBase.h: Changes associated with this.
1887 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1889 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1890 xforms/ButtonController class into a GUI-I class (here) and an
1891 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1893 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1894 from which all Dialog Controllers should be derived. the Controllers
1895 are GUI-independent, but are designed to control the behaviour of
1896 GUI-specific implementaions of each dialog.
1898 * ControlConnections.[Ch]: new files. Classes controlling the
1899 connections of buffer-independent, buffer-dependent and Inset dialogs
1900 with the LyX kernel.
1902 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1903 InsetCommand subset of insets.
1905 * ControlCitation.[Ch]: new files. The test specialisation! A
1906 controller for the Citation dialog.
1908 * ViewBase.h: new file. ViewBase is an abstract base class from which
1909 GUI-specific dialogs should be derived. The functionality that the GUIs
1910 must now implement is much reduced.