1 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * ControlDocument.C (classApply): use boost.format
5 2002-11-29 Angus Leeming <leeming@lyx.org>
7 * ControlButtons.h (isClosing): make it public, so that the view can
9 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
12 * ControlPrefs.[Ch] (OKButton): removed.
14 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
15 dialog isClosing(). (Ie, if the "save" button has been pressed.)
17 2002-11-28 John Levon <levon@movementarian.org>
19 * ControlSpellchecker.C: fix Lars' broken cleanup
21 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
23 * ControlTabular.[Ch]: Add isMulticolumnCell
25 2002-11-27 Angus Leeming <leeming@lyx.org>
27 * ControlMath.C (ControlMath): initialise active_.
29 2002-11-25 Angus Leeming <leeming@lyx.org>
31 * ControlDialog.h (hide, update): move from protected to public.
33 * ControlMath.[Ch]: add controllers for the main math panel dialog and
34 for any daughter dialogs stored by the main panel.
36 2002-11-21 Angus Leeming <leeming@lyx.org>
38 * ControlDocument.[Ch] (classApply): no longer returns bool.
39 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
41 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * biblio.C (getAbbreviatedAuthor): use boost::format
45 * ControlSpellchecker.C (clearParams): use boost::format
47 2002-11-20 John Levon <levon@movementarian.org>
49 * ControlMath.C: couple more manglings
51 2002-11-20 John Levon <levon@movementarian.org>
54 * ControlMath.C: add find_xpm mangler
56 2002-11-17 John Levon <levon@movementarian.org>
58 * helper_funcs.C and users: specify save/open in file dialog
60 2002-11-15 John Levon <levon@movementarian.org>
63 * ControlPrefs.C: use setParams()
65 2002-11-15 John Levon <levon@movementarian.org>
67 * ControlButtons.h: make OKButton() virtual for prefs
70 * ControlPrefs.C: updates for xforms port to MVC
74 * ControlTabular.C: add simple MVC port
76 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
78 * ControlInclude.C: fix file format masks for qt's use
80 2002-11-13 John Levon <levon@movementarian.org>
84 * ControlPrefs.C: add skeleton controller
86 2002-11-12 John Levon <levon@movementarian.org>
88 * biblio.C: fix warnings
90 2002-11-12 Angus Leeming <leeming@lyx.org>
92 * ControlSpellchecker.C (check): fix crash
93 * biblio.C (escape_special_chars): simplify BRE.
95 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
97 * ControlDocument.[Ch]: Remove unused method
99 2002-11-07 Angus Leeming <leeming@lyx.org>
101 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
102 * clean-up the search code in biblio.C.
104 2002-11-07 John Levon <levon@movementarian.org>
106 * ControlGraphics.C: QGraphics fixes
108 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
110 * ControlDocument.C: (SaveAsDefault) make it work.
111 fix buffer update on class change
113 2002-11-06 Angus Leeming <leeming@lyx.org>
115 * biblio.C (searchKeys and helper functions): rewritten entirely
116 using the STL. Boost::regex searching now works as the old 1.2 code
119 2002-11-06 Angus Leeming <leeming@lyx.org>
121 * biblio.C: clean-up of the code. No change in functionality.
123 2002-11-04 Angus Leeming <leeming@lyx.org>
125 * ControlGraphics.[Ch] (getUnits): moved out of class and into
126 frnt::getBBUnits(). Code cleaned also.
128 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * biblio.C (regexSearch): STRCONV
133 * ControlAboutlyx.C (getVersion): STRCONV
135 * ControlMath.C: include config.h
137 2002-10-31 John Levon <levon@movementarian.org>
140 * ControlGraphics.C: bb units from Herbert
142 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
144 * ControlParagraph.[Ch] (alignDefault): new method, returning the
145 default alignment (block, left, right, center) of this paragraph.
147 2002-10-25 John Levon <levon@movementarian.org>
149 * ControlPrint.C: using endl
151 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
153 * ControlPrint.[Ch]: move code here from Liason.[Ch].
155 * ControlSpellchecker.h (getCount): new method.
156 * ControlSpellchecker.[Ch]: constify some accessor methods.
158 2002-10-22 Angus Leeming <leeming@lyx.org>
160 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
161 alphabetical order once again.
163 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
164 Add a list of CheckedWidget ptrs to ButtonControllerBase
165 together with methods addCheckedWidget and checkWidgets to use it.
167 * ButtonController.tmpl (refresh): use the return value of
168 checkWidgets to control the activation state of the Ok, Apply, Restore
171 * ControlDialog.tmpl (show, update):
172 * ControlInset.tmpl (showInset, update):
173 invoke ButtonController::refresh to ensure that the activation state of
174 the Ok, Apply buttons reflects the valid-state of the widgets.
176 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * tex_helpers.C (rescanTexStyles): don't pop p
181 * ControlWrap.C (WrapParms): remove initialization of placement,
182 and move empty c-tor to .h class def.
184 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
185 of on stringsteam, return void. Get the file into the stream as
188 * ControlPreamble.[Ch] (params): getter and setter for params_, make
189 params_ into a string, not just a pointer to string.
191 * ControlExternal.C (getTemplateNumber): put i into the for scope,
192 and use the sequence operator on the last for "parameter"
193 (getTemplate): use std::advance to advance the iterator.
195 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
196 instead of on a stringstream, return void. Get the file into the
197 stream as fast as possible.
198 (getVersion): use ostringstream
200 * lots of files: ws changes, formatting fixes
202 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * ControlCharacter.C (apply): setMinibuffer change
205 * ControlDocument.C (apply): ditto
207 * ControlThesaurus.C (replace): ditto
208 * ControlSearch.C (find): ditto
210 * ControlPreamble.C (apply): ditto
211 * ControlParagraph.C (apply): ditto
213 2002-10-14 André Pönitz <poenitz@gmx.net>
215 * ControlDocument.C: somebody else's fix for a hard lockup
217 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
221 * Makefile.am: New document parameters controller
223 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
227 2002-09-24 Angus Leeming <leeming@lyx.org>
229 * ControlConnections.h: remove trailing whitespace.
231 * biblio.h: #include "LString.h".
233 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
235 * ControlGraphics.C: Change GUI origin strings into proper English.
237 2002-09-09 John Levon <levon@movementarian.org>
239 * ControlInclude.C: fix file masks. Get rid of noload,
240 remove stupid warning
242 2002-09-09 John Levon <levon@movementarian.org>
245 * ControlMath.C: add latex_deco
247 2002-09-06 John Levon <levon@movementarian.org>
249 * ControlMath.C: terminate dots
251 2002-09-05 Angus Leeming <leeming@lyx.org>
253 * all files: modify the headers as discussed on the list.
255 2002-08-30 John Levon <levon@movementarian.org>
258 * ControlMath.C: moved from MathsSymbols.C
260 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
262 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
264 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
266 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
267 first item in the list
269 2002-08-15 Angus Leeming <leeming@lyx.org>
271 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
273 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
275 2002-08-15 Angus Leeming <leeming@lyx.org>
277 * lots: changed my email address to leeming@lyx.org.
279 * GUI.h: return it to private derivation from boost::noncopyable.
281 2002-08-14 Angus Leeming <leeming@lyx.org>
283 * GUI.h: public derivation from boost::noncopyable.
285 2002-08-14 Angus Leeming <leeming@lyx.org>
287 * GUI.h: class GUI deries from boost::noncopyable
289 * ControlButtons.h: no longer derives from DialogBase, but instead
290 derives directly from boost::noncopyable.
292 * ViewBase.h: derives from boost::noncopyable.
294 * ControlCharacter.C:
296 * ControlConnections.C:
299 * ControlParagraph.C:
303 * ControlSpellchecker.C:
305 * ControlThesaurus.C:
306 rearrange #includes. Remove unnecessary ones.
308 * ControlError.h: add "insets/inseterror.h".
310 * helper_funcs.h: add necessary #includes.
312 * tex_helpers.[Ch]: add #pragma directives for g++.
314 * Makefile.am: remove src/frontends from -I list to compiler.
316 2002-08-13 Angus Leeming <leeming@lyx.org>
318 * ControlConnections.C:
320 changes due to the changed LyXView interface that now returns references
321 to member variables not pointers.
323 2002-08-12 Angus Leeming <leeming@lyx.org>
325 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
326 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
327 for the most commonly accessed core methods, to minimise code
330 * many files: use these wrappers and remove associated #includes.
332 2002-08-12 Angus Leeming <leeming@lyx.org>
334 * ControlButtons.[Ch] (bc, view): no longer virtual.
335 (setView, setButtonController): new methods, invoked by GUI.
337 * ControlDialog.h (show):
338 * ControlInset.h (createInset, showInset): make public, so that GUI can
341 * GUI.h: GUI now contains a controller, rather than deriving from it.
342 remove all those friend functions since we can now access the show,
343 createInset, showInset controller methods.
345 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
348 * character.h: #include a couple of STL files.
350 2002-08-08 John Levon <levon@movementarian.org>
352 * ControlCommandBuffer.C: LyXAction cleanup
354 2002-08-07 John Levon <levon@movementarian.org>
356 * ControlSpellchecker.C: fix crash when spellchecker doesn't
359 2002-08-06 John Levon <levon@movementarian.org>
361 * ControlSpellchecker.C:
362 * ControlSpellchecker.h: use WordLangTuple
364 2002-08-06 John Levon <levon@movementarian.org>
366 * ControlSpellchecker.C: show an alert with the
367 error message on initialisation failure
369 2002-08-04 John Levon <levon@movementarian.org>
371 * ControlSpellchecker.h:
372 * ControlSpellchecker.C: some cleanups
374 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
376 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
378 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
379 the Dialogs::updateParagraph signal is emitted.
381 2002-08-02 Angus Leeming <leeming@lyx.org>
383 * ControlCharacter.C (apply):
384 * ControlERT.C (applyParamsToInset):
385 * ControlParagraph.C (apply):
386 * ControlSearch.C (find, replace):
387 * ControlThesaurus.C (replace): changes due to LyXView::view() now
388 returning a boost::shared_ptr.
390 2002-08-01 John Levon <levon@movementarian.org>
392 * ControlSendto.C: writeFile() change
394 2002-08-01 John Levon <levon@movementarian.org>
396 * ControlSpellchecker.h:
397 * ControlSpellchecker.C: remove options
399 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * several files: strip,frontStrip -> trim,ltrim,rtrim
403 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
405 * biblio.C (parseBibTeX): modify because of strip changes
407 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
409 * ControlFloat.[Ch]: Implement Wide Float toggle
410 Replace "allow_here_definitely" by "wide"
412 2002-07-22 Herbert Voss <voss@lyx.org>
414 * ControlGraphics.C: small changes
416 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * ControlToc.C: remove getType
420 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
422 * ControlCommandBuffer.C: don't add "" to history
424 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
426 * ControlRef.C: fix dispatch call nicely
428 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
431 * ControlCommandBuffer.h:
432 * ControlCommandBuffer.C: add controller for command (mini) buffer
435 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
437 * ControlRef.C: fix dispatch call
439 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
441 * ControlCharacter.C: use view_state_changed not setState
443 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
445 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
447 2002-07-15 Mike Fabian <mfabian@suse.de>
449 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
450 of compare_no_case, because in turkish, 'i' is not the lowercase
451 version of 'I', and thus turkish locale breaks parsing of tags.
453 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
455 * ControlBibtex.C (applyParamsToInset): ws change
457 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
459 * ControlInclude.C: Add warning if absolute path name and
460 check_typeset is used together
462 2002-06-28 Angus Leeming <leeming@lyx.org>
464 * ControlGraphics.C: changes associated with the name changes
465 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
467 2002-06-25 Angus Leeming <leeming@lyx.org>
469 * ControlGraphics.C (readBB): Channges associated with the changed
470 interface to the graphics cache.
472 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
474 * ControlParagraph.C: layout as layout
476 2002-06-21 Angus Leeming <leeming@lyx.org>
478 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
479 * tex_helpers.h: #include "LString.h".
481 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
484 * ControlBibitem.C: use repaint()
486 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
488 * ControlTexinfo.C: do the same for Texinfo
490 * tex_helpers.C: don't try to read a file that isn't there
492 2002-06-21 Herbert Voss <voss@perce.de>
494 * ControlBibtex.C: do an automatic update, when no bst-list
497 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
499 * GUI.h: createIndex() changed
501 2002-06-18 Herbert Voss <voss@perce.de>
503 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
504 helperstuff. Now the bibtex gui can use some of these functions
506 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
508 * ControlGraphics.C: just make the mask *.*
510 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * changes to simplify function setup, removal of a lot of includes.
514 2002-06-12 Angus Leeming <leeming@lyx.org>
516 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
518 2002-06-12 Angus Leeming <leeming@lyx.org>
520 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
522 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
524 * ControlParagraph.[Ch]: new paragraph controller
525 * GUI.h: add new controller
528 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
530 * GUI.h: do not include ButtonController.tmpl
532 * ControlInset.h: include ControlInset.tmpl
534 * ControlCitation.C: do not include ControlInset.tmpl
535 * ControlCommand.C: ditto
536 * ControlERT.C: ditto
537 * ControlError.C: ditto
538 * ControlExternal.C: ditto
539 * ControlFloat.C: ditto
540 * ControlGraphics.C: ditto
541 * ControlInclude.C: ditto
542 * ControlMinipage.C: ditto
544 * ControlDialog.tmpl: remove the Base:: prefix
546 2002-06-07 Angus Leeming <leeming@lyx.org>
548 Fixes needed to compile with Compaq cxx 6.5.
549 * ControlDialog.tmpl: I have had to prefix base class methods with
552 * ControlInset.tmpl: #include a couple of headers.
554 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
556 * switch from SigC signals to boost::signals
558 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * biblio.h: include vector
562 * biblio.C: change include order
563 (regexSearch): use boost regex and get rid of LRegex
565 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
570 * ControlCharacter.C:
573 * ControlConnections.C:
590 * ControlSpellchecker.C:
591 * ControlTabularCreate.C:
593 * ControlThesaurus.C:
596 * ControlVCLog.C: LyXView moved into frontends
598 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
600 * ControlExternal.C: add scoped_ptr.hpp
602 * ControlCharacter.h: use more specific smart_ptr header.
604 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
606 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
608 2002-05-13 Herbert Voss <voss@perce.de>
610 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
611 like "Odland, G. and ... "
612 (parseBibTeX): fix bug with title and booktitle
613 and replace a \n with a space when one entry has more than
616 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
618 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
619 "No change" and "Reset".
621 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
622 them at the front of the list.
624 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
626 * ControlGraphics.C: add some comments to the char * arrays.
627 Make rorigin_size const.
629 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
631 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
632 Enables the gui's to internationalise these strings.
634 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
636 * frnt_lang.C: fix build
638 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
640 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
641 If the the caller is the character dialog, add "No change" and "Reset"
642 to the vector, else don't.
643 Internationalise the GUI strings here rather than in the different
645 Sort the translated strings, albeit simply.
647 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
649 * character.[Ch]: rename namespace character as namespace frnt.
651 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
652 as several dialogs will use this info. The function now returns a
653 vector<LanguagePair> where LanguagePair is a display string and an
654 identifying string. The display string is internationalised.
656 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
657 the identifying strings, "No change" and "Reset".
659 * Makefile.am: add frnt_lang.[Ch].
661 2002-04-25 Herbert Voss <voss@lyx.org>
663 * ControlSendto.C (allFormats): don't add the graphics extensions to the
666 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
668 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
669 BibTeX databases in a WYSIWYM way.
671 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
673 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
674 way past his use-by date.
675 Make use of the improved info from Buffer::getBibkeyList when using
676 \bibliography. Enables us to provide natbib support in this case too.
678 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
680 * ControlGraphics.C: pass the browseFile dialog a string of only those
681 formats that can currently be loaded by LyX.
683 2002-04-15 Herbert Voss <voss@perce.de>
685 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
686 with something like ,,...blah...`` (two commas)
688 2002-04-14 Herbert Voss <voss@perce.de>
690 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
691 into the support/lstrings for better use in other programs.
693 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
694 namespace anon and make globally accessible.
695 (familyName): test for the presence of a LaTeX Space at the front of
696 of a name; strip it if it exists.
698 2002-04-11 Herbert Voss <voss@perce.de>
700 * ControlGraphics.C: expand "browse-string" to all available formats
702 2002-04-11 Herbert Voss <voss@perce.de>
704 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
706 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
708 * ControlAboutlyx.C (getVersion): two _() forgotten
710 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
714 * ControlBibtex.C: make N_() be _()
716 2002-04-07 Herbert Voss <voss@perce.de>
718 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
720 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
722 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
723 used when reading the BB.
725 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
727 * ControlGraphics.C (readBB): Don't open the ifstrem and then
728 check the format from the contents (and open a second ifstream in the
729 process. One at a time please.
731 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
733 * ControlRef.C (getBufferNum): squash warning message.
735 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
737 * ControlBibtex.C (Browse):
738 * ControlGraphics.C (Browse):
739 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
741 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
743 * ControlGraphics.C (applyParamsToInset): pass filepath to
744 InsetGraphics::updateInset.
746 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * most files: ws cleanup
750 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
752 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
755 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
758 * ControlInclude.C: better error messages
760 2002-03-11 Herbert Voss <voss@lyx.org>
762 * biblio.C (parseBibTeX): fix another minibug with an
765 2002-03-10 Herbert Voss <voss@lyx.org>
767 * biblio.C (parseBibTeX): fix bug
768 (familyName): improve parsing
770 2002-03-09 Herbert Voss <voss@lyx.org>
772 * ControlGraphics.[Ch]: adding checkFilename() for testing
773 of non-existing files
775 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
777 * ControlSendto.C (allFormats): fix a iterators are not pointers
780 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
782 * ControlShowFile.h: add a #include "LString.h"
784 2002-03-05 Herbert Voss <voss@lyx.org>
786 * biblio.C (getInfo): simplify if using paragraph layout
789 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
791 * biblio.C (getInfo): return the info field correctly if the key
793 (parseBibTeX): fix crash when data.find('=') returns string::npos.
795 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
797 * ControlForks.[Ch]: new files. A controller for the Forked Child
798 processes dialog, enabling the user to see what forked processes
799 are running, and, if he so desires, to kill them.
801 * GUI.h: add class GUIForks.
803 * Makefile.am: add ControlForks.[Ch].
805 * ControlGraphics.C (getParams): small change due to change in
808 2002-02-21 Herbert Voss <voss@lyx.org>
810 * biblio.C: fix bug with commentlines in a bibentry
812 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
814 * Makefile.am: simpler obj. file compile
816 2002-02-18 Herbert Voss <voss@lyx.org>
818 * ControlGraphics.[Ch]: remove help-file call
820 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
822 * helper_funcs.h: wrap the structs firster and seconder up in a
823 namespace to avoid clashes with those in lyxalgo,h.
825 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
826 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
828 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
830 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
833 change Systemcalls::System to Systemcalls::Wait and
834 No change of functionality, just reflects the stripped down Systemcalls
837 2002-02-06 Herbert Voss <voss@lyx.org>
839 * ControlGraphics.[C] (readBB): search also in
840 g'zipped files. If it is useful than PK and compress
841 should also be supported. use unzipFile() from
844 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
846 * ControlRef.C (getBufferName): new method to get a real buffer
849 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
851 * ControlTexInfo.[Ch]: Removed Help functions.
853 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
855 * ControlSpellchecker.C: clear any selection left
858 2002-02-01 Herbert Voss <voss@lyx.org>
860 * ControlGraphics.[C] (readBB): search only, if it is a
861 ".?ps" file and look for bb's at end of file
863 2002-01-30 Herbert Voss <voss@lyx.org>
865 * ControlGraphic.[C]: do not search the whole file, when
868 2002-01-29 Herbert Voss <voss@lyx.org>
870 * ControlGraphic.[C]: added a button for document path
871 when browsing -> bug 222
873 2002-01-27 Herbert Voss <voss@lyx.org>
875 * ControlGraphic.[Ch]: added support for Bounding Box, other
878 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
881 * ControlTexinfo.h: added #include "LString.h" where they belong.
883 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
886 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
888 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
890 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
893 2002-01-20 Herbert Voss <voss@perce.de>
895 * ControlInclude.[Ch]: better control of unexistings files
896 when entered without the browser
898 * ControlGraphic.C (Browse): add extension "ps" when browsing for
901 2002-01-19 Herbert Voss <voss@perce.de>
903 * biblio.C (getInfo): fix bug when no author is given
905 * biblio.C (parseBibTeX): change the parsing, so that
906 '#'-characters in a bibtex entry are no more a problem.
908 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
910 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
911 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
913 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
915 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
917 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
919 * ControlExternal.C (Browse): add a std:: qualifier
921 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
923 * ControlExternal.C (Browse): simplify to use browseRelFile
925 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
927 * ButtonController.tmpl: added // -*- C++ -*-
929 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
930 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
931 Needed in _one_ of the ControlCommand-derived classes only.
933 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
936 * ControlSearch.h: #include LString.h
938 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
940 * ButtonController.h: split into two. The definition remains in
941 ButtonController.h, the declaration is now in ButtonController.tmpl.
942 These template methods should be #included when the derived class is
943 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
944 and in the qt2 and gnome equivalents.
946 * ControlDialogs.h: removed. The definition of class ControlDialog is
947 now to be found in ControlDialog.h and the declaration of the methods
948 is in ControlDialog.tmpl. The two template instantiations are performed
949 in ControlDialog_impl.[Ch], new files also.
951 * ControlInset.h: split into two. The definition remains in
952 ControlInset.h, the declaration is now in ControlInset.tmpl.
953 These template methods should be #included derived class is
954 instantiated, in this case in 8 other .C files in this directory.
956 * ControlAboutlyx.[Ch]:
957 * ControlCharacter.[Ch]:
967 * ControlPreamble.[Ch]:
969 * ControlSearch.[Ch]:
970 * ControlShowFile.[Ch]:
971 * ControlSpellchecker.[Ch]:
972 * ControlTabularCreate.[Ch]:
973 * ControlTexinfo.[Ch]:
974 * ControlThesaurus.[Ch]:
975 * ControlVCLog.[Ch]: small changes associated with the above ones.
977 * GUI.h: #include the ButtonController and dialog controller files
978 here, rather than forward declare them. This is the correct place
981 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
982 Rename ControlDialogs.h as ControlDialog.h.
983 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
986 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
988 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
990 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
992 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
995 * ControlGraphics.C (Browse): remove overzealous shortcut
997 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
999 * FormMinipage.C (apply, update): MinipageParams::width renamed
1000 as MinipageParams::pageWidth. InsetMinipage::width renamed
1001 as InsetMinipage::pageWidth.
1003 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1005 * ButtonController.h (refreshReadOnly): use explicit typename
1007 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1009 * helper_funcs.h (browseFile): add default empty button descriptions.
1011 * ControlGraphics.C (Browse):
1012 * ControlBibtex.C (Browse):
1013 * ControlInclude.C (Browse): add shortcuts to directory buttons
1015 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1017 * ControlThesaurus.h:
1018 * ControlThesaurus.C: update to Aiksaurus 0.14
1020 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1022 * ControlSpellchecker.C (clearParams): show the closing message
1023 only if some words have been checked, thereby fixing
1026 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1028 * ControlFloat.[Ch]: changes to prevent here definitely being used
1031 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1033 * ControlThesaurus.h: do not include <config.h> in header files
1035 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1037 * ControlToc.C: changes for floatlist
1039 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1041 * ControlVCLog.C: use _()
1043 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1045 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1048 2001-10-22 Juergen Vigna <jug@sad.it>
1050 * ControlSpellchecker.C (clearParams): use the error_ message of the
1051 speller_ if available when the spellchecker died.
1052 (setParams): remove double error message display.
1054 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1056 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1058 * helper_funcs.[Ch] (getLatexUnits): see above.
1060 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * ControlTexinfo.C (getContents): use the right file for .sty files
1064 2001-10-10 Herbert Voss <voss@perce.de>
1066 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1067 and some more stuff from FormTexinfo.C
1069 * ControlShowFile.C: hiding the update-button
1071 2001-10-09 Herbert Voss <voss@perce.de>
1073 * ControlTexinfo.[Ch]: new files. Display information about the
1074 installed texfiles (cls,sty,bst).
1076 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1078 * GUI.h: added classes GUIShowFile and GUITexinfo.
1080 * Makefile.am: modified appropriately.
1082 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1084 * ControlAboutlyx.C (getVersion): use lyx_version and
1085 lyx_release_date instead of old macros
1087 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ControlSpellchecker.C (check): Behaves well now when the spell
1090 library doesn't know a replacement to an incorrect word.
1092 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1094 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1095 the correct place. Can now check spelling more than once!
1097 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlSplash.[Ch]: removed.
1101 * GUI.h: remove GUISplash class.
1103 * ViewBase.h: remove ViewSplash class.
1105 * Makefile.am: remove ControlSplash.[Ch].
1107 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1110 view will be shut down.
1113 * ControlInset.h: act on emergency_exit_.
1115 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1116 speller fails to launch.
1118 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1120 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1121 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1123 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1125 * ControlRef.h (disconnectOnApply): new method. Set to true.
1126 Perhaps make this user-modifiable?
1128 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1130 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1133 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1135 * ControlRef.C (getBufferList, getBufferNum): New methods
1137 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1139 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1140 of the dialog when the Apply button is pressed. Defaults to false,
1141 but can be overridden in the daughter classes.
1143 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1144 Perhaps make this user-modifiable?
1146 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1148 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1149 we have dialogs that update their contents when the buffer changes.
1150 Rather embarassing, really!
1152 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1154 * ControlSearch (replace): change semantics of replace to NOT move on
1155 to the next instance of a word once the present instance has been
1156 replaced unless we are replacing ALL instances of the word.
1158 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1160 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1162 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1164 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1165 dialog, set all options to "reset", close the dialog, re-open it ->
1166 the options are set incorrectly.
1168 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1169 When Applying it's useful to know whether the dialog is about to close
1170 or not (no point refreshing the display for example).
1172 * ControlInset.C (apply): use isClosing.
1174 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1177 * ControlDialogs.h: remove bc() hack, now fixed in
1178 Qt2 frontend. use member dialog_built_ instead of shared
1181 * ButtonController.h:
1182 * ButtonPolicies.C: more debug info
1184 * ButtonControllerBase.C: call refresh() when setting readOnly !
1186 * GUI.h: External form has apply, use the right policy
1188 * character.C: fix two off-by-one errors when latex font was removed
1190 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1192 * ControlInset.h (apply): tentative fix for the press Apply multiple
1193 times and get multiple new Insets problem.
1195 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1197 * ControlCharacter.C: fix typo
1201 * ControlInsets.C: make sure dialog is built before it is shown, so
1202 it works properly the very first time it is shown
1204 2001-08-20 Herbert Voss <voss@perce.de>
1206 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1207 and styles. Added an option for "bibliography into toc"
1209 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1211 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1212 LaTeX is no longer a font property.
1214 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1216 * GUI.h: Button controller for Reference dialog changed to
1217 NoRepeatedApplyReadOnlyPolicy.
1219 * biblio.C (getInfo): output volume and number info. Move year to end
1222 2001-08-09 Allan Rae <rae@lyx.org>
1224 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1226 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1228 * helper_funcs.C (getVectorFromString): fixed small bug.
1230 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1232 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1234 * ControlSpellchecker.C: check next word after insert in personal dict
1236 2001-08-06 Juergen Vigna <jug@sad.it>
1238 * ControlERT.[Ch]: new file
1240 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ControlInset.h: const and non-const forms of params().
1244 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1245 whitespace from either side of each item.
1247 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1249 * ControlFloat.h: add a != operator for FloatParams.
1250 Lars, how did you get this to compile!!!
1252 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1253 operator != for MinipageParams. Who's changing stuff and not compiling?
1255 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1257 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1260 * GUI.h: add class GUIFloat
1262 * ControlFloat.[Ch]: new files
1264 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1266 * ControlPrint.C: #include Lassert.h here.
1268 2001-07-26 Baruch Even <baruch@lyx.org>
1270 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1273 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1275 * ControlThesaurus.h:
1276 * ControlThesaurus.C:
1278 * Makefile.am: thesaurus support
1280 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1283 * ControlInclude.C: implement ability to load file
1285 2001-07-18 Juergen Vigna <jug@sad.it>
1287 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1289 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1291 * biblio.C (getInfo): add a .c_str() to handle the usual
1294 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1296 * ControlCitation.[Ch]: changes associated with adding natbib support.
1297 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1298 New static variable citeStyles_.
1300 * biblio.[Ch]: large internal rearrangement.
1301 New public enum CiteStyle.
1302 New public struct CitationStyle.
1303 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1304 getNumericalStrings, getAuthorYearStrings
1305 (simpleSearch, regexSearch): no longer publicly accessible.
1307 * helper_funcs.C (getStringFromVector): bug fix.
1309 2001-07-16 Baruch Even <baruch@lyx.org>
1311 * ControlVCLog.h: Added Lsstream.h to includes.
1313 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1315 * ControlSpellchecker.[Ch]: remove d-tor.
1317 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1319 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1321 2001-07-16 Juergen Vigna <jug@sad.it>
1323 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1324 compiled with USE_PSPELL) to be able to switch between ISpell and
1327 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1329 Consistent use of Lsstream.h:
1330 * ControlAboutlyx.[Ch] (getCredits):
1331 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1333 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1335 * ControlCredits.[Ch]: removed
1336 * ControlCopyright.[Ch]: removed
1337 * ControlAboutlyx.[Ch]: added (replaces previous)
1338 * GUI.h: removed credits and copyright added about lyx stuff
1340 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1342 * ControlSpellchecker.C (getSuggestion):
1343 (getWord): add std:: qualifier
1345 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1347 * ControlSpellchecker.[Ch]: added
1348 * ViewBase.h: added partialUpdate(int) member
1349 * GUI.h: added spell stuff
1351 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1353 * ControlExternal.C: (*it). -> it->
1355 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1357 * ButtonController.h: move some included header files out of the
1358 frontends and into here.
1360 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1362 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1364 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1366 * *.[h]: added // -*- C++ -*-
1367 * *.[C]: removed // -*- C++ -*-
1369 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1370 activate Apply button.
1371 (clearParams): removed.
1372 font_ is now stored as a boost::scoped_ptr.
1373 font_ is no longer deleted on hide(), so it's contents can now be used
1374 by the Font button on the toolbar.
1375 Lots of new methods so that the GUI can easily get the contents of
1376 font_ when it update()s.
1378 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1380 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1381 crash when the Font button on the Toolbar is pressed.
1383 * GUI.h: change policy of Character button controller to
1384 OkApplyCancelReadOnlyPolicy.
1386 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * ControlToc.C (getContents): don't add anything to the list if it
1389 is supposed to be empty.
1391 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1393 * helper_funcs.C (getVectorFromString): bug fix.
1395 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1397 * ButtonController.h
1398 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1399 from ButtonControllerBase::readOnly. Updates the state of the widgets
1400 in the read-only list only when the read-only status of the document
1402 (refresh): moved this stuff into refreshReadOnly.
1404 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1406 * ControlPrint.C (c-tor):
1407 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1409 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1412 * character.h: small clean-ups.
1414 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1416 * ControlToc.C (getType): remove support for old float list.
1418 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1420 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1421 * ControlGraphics.h: no longer include insetgraphicsParams.h
1422 * ControlInset.h: no longer include LyXView.h
1427 * ControlCharacter.C:
1428 * ControlCitation.C:
1430 * ControlConnections.C:
1431 * ControlCopyright.C:
1434 * ControlExternal.C:
1435 * ControlGraphics.C:
1438 * ControlMinipage.C:
1439 * ControlPreamble.C:
1443 * ControlTabularCreate.C:
1445 * ControlVCLog.C: they're now in here!
1447 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1449 * ButtonControllerBase.h: C++ mode, inherit privately from
1451 * ButtonPolicies.h: ditto
1453 * ButtonController.h: C++ mode, swap init order of restore_ and
1456 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1458 * ControlTabularCreate.h:
1459 * ControlTabularCreate.C: make dialogs use a pair of uints
1463 * ControlVCLog.C: fill a stringstream with the log contents
1466 * ControlExternal.C: from Angus, clone the new InsetExternal
1469 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1471 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1472 and made more robust.
1474 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1479 * ControlPreamble.C:
1481 * ControlGraphics.C:
1482 * ControlExternal.C:
1483 * ControlCopyright.C: include gettext.h
1485 * ControlCharacter.C:
1486 * character.C: include gettext.h and language.h
1488 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1490 * ButtonController.h:
1491 * ButtonControllerBase.h:
1492 * ButtonControllerBase.C:
1499 * ControlConnections.h:
1502 * ControlExternal.C:
1505 * ViewBase.h: s/ControlButton/ControlButtons/
1507 s/UndoAll/Restore/ + associated
1509 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1511 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1514 * Makefile.am: associated changes with all of the above.
1516 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1518 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1519 and edit, view, update the External Material correctly. I hope!
1521 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1523 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1525 * BCTemplates.h: renamed as ButtonController.h
1527 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1530 * ControlConnections.h: associated change in #include and class names.
1532 * ControlExternal.[Ch]: new files; a controller for the External
1536 * Makefile.am: associated changes with all of the above.
1538 * ControlGraphics.[Ch]:
1539 * ControlInclude.[Ch]:
1540 * ControlPrint.[Ch]:
1542 (Browse): new method. Returns the results of a FileDialog browse.
1544 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1545 (getVectorFromString): fixed bug.
1547 * biblio.C (simpleSearch): cleaned up.
1549 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1551 * A slight reworking of Baruch Even's ButtonController patch.
1553 * BCTemplates.h: new file; all the templates for the ButtonController.
1554 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1555 to the more generic setButtonLabel().
1557 * ButtonController.[Ch]: renamed cancel_label and close_label as
1558 cancel_label_ and close_label_.
1560 * Makefile.am: added BCTemplates.h
1562 2001-03-29 Juergen Vigna <jug@sad.it>
1564 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1565 to use new %-lengths of LyXLength.
1567 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1569 * ControlCitation.C (bibkeysInfo): removed Assert.
1571 * ControlCopyright.h: moved GUICopyright into GUI.h
1575 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1577 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1578 (setDaughterParams): a (by default empty) new method called in show().
1584 * ControlMinipage.h:
1587 * ControlUrl.h (clearDaughterParams): removed
1589 * ControlMinipage.C (applyParamsToInset): update the view.
1590 Added namespace minipage containing a helper function getUnits.
1592 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1594 * ControlCharacter.[Ch]: moved out all the helper functions and the
1595 enum into their own file.
1596 * character.[Ch]: new files; contain the character helper functions,
1597 now inside namespace character.
1599 * ControlCitation.[Ch]: moved out all the helper functions and the
1600 enums into their own file. Simplified interface.
1601 * biblio.[Ch]: new files; contain the citation helper functions,
1602 now inside namespace biblio. Will be of use also to an improved
1605 * ControlGraphics.[Ch]:
1606 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1607 popups, respectively.
1610 * Makefile.am: associated changes.
1612 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1614 * ControlMinipage.[Ch]:
1615 * ControlPreamble.[Ch]:
1616 * ControlPrint.[Ch]:
1617 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1618 and Print popups and Splash screen, respectively.
1620 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1624 * Makefile.am: associated changes.
1626 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1628 * ControlConnections.[Ch]: (docType): new method; returns the type
1629 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1632 * ControlSearch.[Ch]:
1633 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1634 Search and TabularCreate popups, respectively.
1637 * Makefile.am: associated changes.
1639 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1641 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1644 * ControlInset.h (apply): fix bug. Can now create new insets again.
1646 * README: describe program flow.
1648 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1650 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1652 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1654 * ControlDialogs.h: moved class ControlInset into its own file.
1656 * ControlInset.h: new file. class ControlInset has been expanded to take
1657 two template parameters, Inset and Params. Believe that all inset
1658 controllers can be derived from this with the minimum of effort.
1660 * ControlBibitem.[Ch]:
1661 * ControlBibtex.[Ch]:
1662 * ControlCitation.[Ch]:
1663 * ControlCommand.[Ch]: moved most code into ControlInset.
1665 * lots of files. Moved protected stuff into private where possible.
1667 * ControlError.[Ch]:
1668 * ControlInclude.[Ch]:
1669 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1670 Include and Url popups, respectively.
1673 * Makefile.am: associated changes.
1675 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1677 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1680 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1682 * ControlCredits.C (getCredits): remove std:: qualifier for
1685 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1687 * ControlCredits.C (getCredits): add std:: on vector
1689 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1691 * ControlCredits.C: remove using that is only used once, use
1692 std::ios instead of std::iosbase, add some annoying comments.
1694 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1696 * lots of header files: improved explanatory notes.
1698 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1699 ControlBase is now a class that only controls the interaction of the
1700 View with the ButtonController.
1702 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1703 to ControlConnectBase. The class controls the connection/disconnection
1704 of signals from the LyX kernel and makes available the kernel (through
1705 lv_) to daughter controller classes.
1706 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1708 * ControlDialogs.h: new file. Contains the definition of two template
1709 controller classes, ControlDialog and ControlInset (was
1710 ControlConnectInset). ControlInset is a parent class for controllers
1711 of inset-popups. ControlDialogs is the rather uninspired name for
1712 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1713 ControlDialogs is reaching a state of maturity as several popups now use
1714 it and its functionality becomes clear. ControlInset is still in a state
1715 of flux. It is likely that functionality will be moved out of
1716 ControlCommands and into it.
1718 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1719 individual Controller header files and into one place. These classes
1720 serve only as convenient wrappers to simplify code in the respective
1721 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1723 * ControlCharacter.[Ch] (show, update, hide):
1724 * ControlLog.[Ch] (show, update, hide):
1725 * ControlVCLog.[Ch] (show, update, hide): moved back into
1726 the ControlDialogs base class.
1727 (setParams, clearParams): new methods containing controller-specific
1728 code to set/reset the parameters manipulated by the view.
1730 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1732 (hide): calls clearParams.
1734 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1735 by ControlCommand::hide().
1737 * ControlCopyright.[Ch]:
1738 * ControlCredits.[Ch]: new files; controllers for the copyright and
1739 credits popups, respectively.
1741 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1743 * ControlCharacter.C: fix typo
1745 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1747 * ControlCharacter.[Ch]: new files; controller for the character popup.
1749 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1750 moved to new files helper_funcs.[Ch].
1752 * helper_funcs.[Ch]: new files. Some useful helper functions and
1755 * Makefile.am: added new files.
1757 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1759 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1761 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1764 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1765 Control log files, respectively.
1767 * Makefile.am: added new files.
1769 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1773 * Makefile.am: added ControlBibtex.[Ch].
1775 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1778 * ControlCitation.C: added "using SigC::slot" declaration.
1780 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1781 to FormCitation.C prior to the merger: "Do not put space between
1784 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1786 * several files: remove CXX_WORKING_NAMESPACES
1788 * ButtonController.h: noncopyable is in namespace boost
1789 * ButtonPolicies.h: ditto
1791 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1793 * Merging changes from BRANCH_MVC back into HEAD.
1795 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1797 * Makefile.am: add ControlBibitem.[Ch].
1799 * ControlBibitem.[Ch]: new files that together define the Controller
1800 for a Bibitem popup.
1802 * ControlCommand.h (c-tor): give kb_action a default value of
1805 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1807 * ControlCitation.[Ch]: moved search functions out of class.
1808 (bibkeysInfo): new method. Returns const reference to private data.
1809 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1812 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1814 * ControlCitation.[Ch]: added Search functions to the class,
1815 (shamelessly lifted from Marco's gnome code). I think that these would
1816 be better as helper functions outside the class, but this is a first
1819 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1821 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1823 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1824 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1825 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1826 implementation of FormCitation.
1828 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1830 * ButtonPolicies.h: add SMI_NOOP to enum.
1832 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1834 * ButtonController.C (input): add "optimising" if-statement. Actually,
1835 things don't work correctly without it...
1837 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1839 * ViewBase.h: remove #pragma directive
1841 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1844 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1846 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1848 * Makefile.am: added ButtonPolicies.[Ch]
1850 * ButtonController.[Ch]: ButtonController is split into
1851 ButtonControllerBase and a template ButtonController class. The base
1852 class no longer stores a pointer to a ButtonPolicy, but instead
1853 accesses the actual instantiation of the policy through a pure virtual
1854 method bp(). This method and the ButtonPolicy itself are instantiated
1855 in the templatised ButtonController class. This class is derived from
1856 the GUI-specific GUIBC class, meaning that the frontends know
1857 nothing about the actual policy decided upon by the controllers.
1859 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1860 Instead the actual instantiations are accessed through pure virtual
1861 methods view() and bc(). The daughter classes are responsible for the
1862 actual View and ButtonController.
1864 * ControlCitation.h: the templatised class GUICitation instantiates
1865 the methods view() and bc(). It also stores the instances of the
1866 View and ButtonController.
1868 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1870 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1871 also changed to ButtonController.
1874 * ControlConnections.[Ch]:
1875 * ControlCommand.[Ch]:
1876 * ControlCitation.[Ch]:
1877 * ViewBase.h: Changes associated with this.
1879 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1881 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1882 xforms/ButtonController class into a GUI-I class (here) and an
1883 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1885 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1886 from which all Dialog Controllers should be derived. the Controllers
1887 are GUI-independent, but are designed to control the behaviour of
1888 GUI-specific implementaions of each dialog.
1890 * ControlConnections.[Ch]: new files. Classes controlling the
1891 connections of buffer-independent, buffer-dependent and Inset dialogs
1892 with the LyX kernel.
1894 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1895 InsetCommand subset of insets.
1897 * ControlCitation.[Ch]: new files. The test specialisation! A
1898 controller for the Citation dialog.
1900 * ViewBase.h: new file. ViewBase is an abstract base class from which
1901 GUI-specific dialogs should be derived. The functionality that the GUIs
1902 must now implement is much reduced.