1 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * several files: ws changes
5 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * ControlDocument.C (classApply): use boost.format
9 2002-11-29 Angus Leeming <leeming@lyx.org>
11 * ControlButtons.h (isClosing): make it public, so that the view can
13 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
16 * ControlPrefs.[Ch] (OKButton): removed.
18 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
19 dialog isClosing(). (Ie, if the "save" button has been pressed.)
21 2002-11-28 John Levon <levon@movementarian.org>
23 * ControlSpellchecker.C: fix Lars' broken cleanup
25 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
27 * ControlTabular.[Ch]: Add isMulticolumnCell
29 2002-11-27 Angus Leeming <leeming@lyx.org>
31 * ControlMath.C (ControlMath): initialise active_.
33 2002-11-25 Angus Leeming <leeming@lyx.org>
35 * ControlDialog.h (hide, update): move from protected to public.
37 * ControlMath.[Ch]: add controllers for the main math panel dialog and
38 for any daughter dialogs stored by the main panel.
40 2002-11-21 Angus Leeming <leeming@lyx.org>
42 * ControlDocument.[Ch] (classApply): no longer returns bool.
43 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
45 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * biblio.C (getAbbreviatedAuthor): use boost::format
49 * ControlSpellchecker.C (clearParams): use boost::format
51 2002-11-20 John Levon <levon@movementarian.org>
53 * ControlMath.C: couple more manglings
55 2002-11-20 John Levon <levon@movementarian.org>
58 * ControlMath.C: add find_xpm mangler
60 2002-11-17 John Levon <levon@movementarian.org>
62 * helper_funcs.C and users: specify save/open in file dialog
64 2002-11-15 John Levon <levon@movementarian.org>
67 * ControlPrefs.C: use setParams()
69 2002-11-15 John Levon <levon@movementarian.org>
71 * ControlButtons.h: make OKButton() virtual for prefs
74 * ControlPrefs.C: updates for xforms port to MVC
78 * ControlTabular.C: add simple MVC port
80 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
82 * ControlInclude.C: fix file format masks for qt's use
84 2002-11-13 John Levon <levon@movementarian.org>
88 * ControlPrefs.C: add skeleton controller
90 2002-11-12 John Levon <levon@movementarian.org>
92 * biblio.C: fix warnings
94 2002-11-12 Angus Leeming <leeming@lyx.org>
96 * ControlSpellchecker.C (check): fix crash
97 * biblio.C (escape_special_chars): simplify BRE.
99 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
101 * ControlDocument.[Ch]: Remove unused method
103 2002-11-07 Angus Leeming <leeming@lyx.org>
105 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
106 * clean-up the search code in biblio.C.
108 2002-11-07 John Levon <levon@movementarian.org>
110 * ControlGraphics.C: QGraphics fixes
112 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
114 * ControlDocument.C: (SaveAsDefault) make it work.
115 fix buffer update on class change
117 2002-11-06 Angus Leeming <leeming@lyx.org>
119 * biblio.C (searchKeys and helper functions): rewritten entirely
120 using the STL. Boost::regex searching now works as the old 1.2 code
123 2002-11-06 Angus Leeming <leeming@lyx.org>
125 * biblio.C: clean-up of the code. No change in functionality.
127 2002-11-04 Angus Leeming <leeming@lyx.org>
129 * ControlGraphics.[Ch] (getUnits): moved out of class and into
130 frnt::getBBUnits(). Code cleaned also.
132 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * biblio.C (regexSearch): STRCONV
137 * ControlAboutlyx.C (getVersion): STRCONV
139 * ControlMath.C: include config.h
141 2002-10-31 John Levon <levon@movementarian.org>
144 * ControlGraphics.C: bb units from Herbert
146 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
148 * ControlParagraph.[Ch] (alignDefault): new method, returning the
149 default alignment (block, left, right, center) of this paragraph.
151 2002-10-25 John Levon <levon@movementarian.org>
153 * ControlPrint.C: using endl
155 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
157 * ControlPrint.[Ch]: move code here from Liason.[Ch].
159 * ControlSpellchecker.h (getCount): new method.
160 * ControlSpellchecker.[Ch]: constify some accessor methods.
162 2002-10-22 Angus Leeming <leeming@lyx.org>
164 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
165 alphabetical order once again.
167 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
168 Add a list of CheckedWidget ptrs to ButtonControllerBase
169 together with methods addCheckedWidget and checkWidgets to use it.
171 * ButtonController.tmpl (refresh): use the return value of
172 checkWidgets to control the activation state of the Ok, Apply, Restore
175 * ControlDialog.tmpl (show, update):
176 * ControlInset.tmpl (showInset, update):
177 invoke ButtonController::refresh to ensure that the activation state of
178 the Ok, Apply buttons reflects the valid-state of the widgets.
180 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * tex_helpers.C (rescanTexStyles): don't pop p
185 * ControlWrap.C (WrapParms): remove initialization of placement,
186 and move empty c-tor to .h class def.
188 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
189 of on stringsteam, return void. Get the file into the stream as
192 * ControlPreamble.[Ch] (params): getter and setter for params_, make
193 params_ into a string, not just a pointer to string.
195 * ControlExternal.C (getTemplateNumber): put i into the for scope,
196 and use the sequence operator on the last for "parameter"
197 (getTemplate): use std::advance to advance the iterator.
199 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
200 instead of on a stringstream, return void. Get the file into the
201 stream as fast as possible.
202 (getVersion): use ostringstream
204 * lots of files: ws changes, formatting fixes
206 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * ControlCharacter.C (apply): setMinibuffer change
209 * ControlDocument.C (apply): ditto
211 * ControlThesaurus.C (replace): ditto
212 * ControlSearch.C (find): ditto
214 * ControlPreamble.C (apply): ditto
215 * ControlParagraph.C (apply): ditto
217 2002-10-14 André Pönitz <poenitz@gmx.net>
219 * ControlDocument.C: somebody else's fix for a hard lockup
221 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
225 * Makefile.am: New document parameters controller
227 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
229 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
231 2002-09-24 Angus Leeming <leeming@lyx.org>
233 * ControlConnections.h: remove trailing whitespace.
235 * biblio.h: #include "LString.h".
237 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
239 * ControlGraphics.C: Change GUI origin strings into proper English.
241 2002-09-09 John Levon <levon@movementarian.org>
243 * ControlInclude.C: fix file masks. Get rid of noload,
244 remove stupid warning
246 2002-09-09 John Levon <levon@movementarian.org>
249 * ControlMath.C: add latex_deco
251 2002-09-06 John Levon <levon@movementarian.org>
253 * ControlMath.C: terminate dots
255 2002-09-05 Angus Leeming <leeming@lyx.org>
257 * all files: modify the headers as discussed on the list.
259 2002-08-30 John Levon <levon@movementarian.org>
262 * ControlMath.C: moved from MathsSymbols.C
264 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
266 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
268 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
270 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
271 first item in the list
273 2002-08-15 Angus Leeming <leeming@lyx.org>
275 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
277 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
279 2002-08-15 Angus Leeming <leeming@lyx.org>
281 * lots: changed my email address to leeming@lyx.org.
283 * GUI.h: return it to private derivation from boost::noncopyable.
285 2002-08-14 Angus Leeming <leeming@lyx.org>
287 * GUI.h: public derivation from boost::noncopyable.
289 2002-08-14 Angus Leeming <leeming@lyx.org>
291 * GUI.h: class GUI deries from boost::noncopyable
293 * ControlButtons.h: no longer derives from DialogBase, but instead
294 derives directly from boost::noncopyable.
296 * ViewBase.h: derives from boost::noncopyable.
298 * ControlCharacter.C:
300 * ControlConnections.C:
303 * ControlParagraph.C:
307 * ControlSpellchecker.C:
309 * ControlThesaurus.C:
310 rearrange #includes. Remove unnecessary ones.
312 * ControlError.h: add "insets/inseterror.h".
314 * helper_funcs.h: add necessary #includes.
316 * tex_helpers.[Ch]: add #pragma directives for g++.
318 * Makefile.am: remove src/frontends from -I list to compiler.
320 2002-08-13 Angus Leeming <leeming@lyx.org>
322 * ControlConnections.C:
324 changes due to the changed LyXView interface that now returns references
325 to member variables not pointers.
327 2002-08-12 Angus Leeming <leeming@lyx.org>
329 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
330 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
331 for the most commonly accessed core methods, to minimise code
334 * many files: use these wrappers and remove associated #includes.
336 2002-08-12 Angus Leeming <leeming@lyx.org>
338 * ControlButtons.[Ch] (bc, view): no longer virtual.
339 (setView, setButtonController): new methods, invoked by GUI.
341 * ControlDialog.h (show):
342 * ControlInset.h (createInset, showInset): make public, so that GUI can
345 * GUI.h: GUI now contains a controller, rather than deriving from it.
346 remove all those friend functions since we can now access the show,
347 createInset, showInset controller methods.
349 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
352 * character.h: #include a couple of STL files.
354 2002-08-08 John Levon <levon@movementarian.org>
356 * ControlCommandBuffer.C: LyXAction cleanup
358 2002-08-07 John Levon <levon@movementarian.org>
360 * ControlSpellchecker.C: fix crash when spellchecker doesn't
363 2002-08-06 John Levon <levon@movementarian.org>
365 * ControlSpellchecker.C:
366 * ControlSpellchecker.h: use WordLangTuple
368 2002-08-06 John Levon <levon@movementarian.org>
370 * ControlSpellchecker.C: show an alert with the
371 error message on initialisation failure
373 2002-08-04 John Levon <levon@movementarian.org>
375 * ControlSpellchecker.h:
376 * ControlSpellchecker.C: some cleanups
378 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
380 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
382 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
383 the Dialogs::updateParagraph signal is emitted.
385 2002-08-02 Angus Leeming <leeming@lyx.org>
387 * ControlCharacter.C (apply):
388 * ControlERT.C (applyParamsToInset):
389 * ControlParagraph.C (apply):
390 * ControlSearch.C (find, replace):
391 * ControlThesaurus.C (replace): changes due to LyXView::view() now
392 returning a boost::shared_ptr.
394 2002-08-01 John Levon <levon@movementarian.org>
396 * ControlSendto.C: writeFile() change
398 2002-08-01 John Levon <levon@movementarian.org>
400 * ControlSpellchecker.h:
401 * ControlSpellchecker.C: remove options
403 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
405 * several files: strip,frontStrip -> trim,ltrim,rtrim
407 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
409 * biblio.C (parseBibTeX): modify because of strip changes
411 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
413 * ControlFloat.[Ch]: Implement Wide Float toggle
414 Replace "allow_here_definitely" by "wide"
416 2002-07-22 Herbert Voss <voss@lyx.org>
418 * ControlGraphics.C: small changes
420 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
422 * ControlToc.C: remove getType
424 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
426 * ControlCommandBuffer.C: don't add "" to history
428 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
430 * ControlRef.C: fix dispatch call nicely
432 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
435 * ControlCommandBuffer.h:
436 * ControlCommandBuffer.C: add controller for command (mini) buffer
439 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
441 * ControlRef.C: fix dispatch call
443 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
445 * ControlCharacter.C: use view_state_changed not setState
447 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
449 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
451 2002-07-15 Mike Fabian <mfabian@suse.de>
453 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
454 of compare_no_case, because in turkish, 'i' is not the lowercase
455 version of 'I', and thus turkish locale breaks parsing of tags.
457 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
459 * ControlBibtex.C (applyParamsToInset): ws change
461 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
463 * ControlInclude.C: Add warning if absolute path name and
464 check_typeset is used together
466 2002-06-28 Angus Leeming <leeming@lyx.org>
468 * ControlGraphics.C: changes associated with the name changes
469 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
471 2002-06-25 Angus Leeming <leeming@lyx.org>
473 * ControlGraphics.C (readBB): Channges associated with the changed
474 interface to the graphics cache.
476 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * ControlParagraph.C: layout as layout
480 2002-06-21 Angus Leeming <leeming@lyx.org>
482 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
483 * tex_helpers.h: #include "LString.h".
485 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
488 * ControlBibitem.C: use repaint()
490 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
492 * ControlTexinfo.C: do the same for Texinfo
494 * tex_helpers.C: don't try to read a file that isn't there
496 2002-06-21 Herbert Voss <voss@perce.de>
498 * ControlBibtex.C: do an automatic update, when no bst-list
501 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
503 * GUI.h: createIndex() changed
505 2002-06-18 Herbert Voss <voss@perce.de>
507 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
508 helperstuff. Now the bibtex gui can use some of these functions
510 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
512 * ControlGraphics.C: just make the mask *.*
514 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
516 * changes to simplify function setup, removal of a lot of includes.
518 2002-06-12 Angus Leeming <leeming@lyx.org>
520 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
522 2002-06-12 Angus Leeming <leeming@lyx.org>
524 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
526 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
528 * ControlParagraph.[Ch]: new paragraph controller
529 * GUI.h: add new controller
532 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * GUI.h: do not include ButtonController.tmpl
536 * ControlInset.h: include ControlInset.tmpl
538 * ControlCitation.C: do not include ControlInset.tmpl
539 * ControlCommand.C: ditto
540 * ControlERT.C: ditto
541 * ControlError.C: ditto
542 * ControlExternal.C: ditto
543 * ControlFloat.C: ditto
544 * ControlGraphics.C: ditto
545 * ControlInclude.C: ditto
546 * ControlMinipage.C: ditto
548 * ControlDialog.tmpl: remove the Base:: prefix
550 2002-06-07 Angus Leeming <leeming@lyx.org>
552 Fixes needed to compile with Compaq cxx 6.5.
553 * ControlDialog.tmpl: I have had to prefix base class methods with
556 * ControlInset.tmpl: #include a couple of headers.
558 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * switch from SigC signals to boost::signals
562 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * biblio.h: include vector
566 * biblio.C: change include order
567 (regexSearch): use boost regex and get rid of LRegex
569 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
574 * ControlCharacter.C:
577 * ControlConnections.C:
594 * ControlSpellchecker.C:
595 * ControlTabularCreate.C:
597 * ControlThesaurus.C:
600 * ControlVCLog.C: LyXView moved into frontends
602 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
604 * ControlExternal.C: add scoped_ptr.hpp
606 * ControlCharacter.h: use more specific smart_ptr header.
608 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
610 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
612 2002-05-13 Herbert Voss <voss@perce.de>
614 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
615 like "Odland, G. and ... "
616 (parseBibTeX): fix bug with title and booktitle
617 and replace a \n with a space when one entry has more than
620 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
622 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
623 "No change" and "Reset".
625 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
626 them at the front of the list.
628 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
630 * ControlGraphics.C: add some comments to the char * arrays.
631 Make rorigin_size const.
633 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
635 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
636 Enables the gui's to internationalise these strings.
638 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
640 * frnt_lang.C: fix build
642 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
644 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
645 If the the caller is the character dialog, add "No change" and "Reset"
646 to the vector, else don't.
647 Internationalise the GUI strings here rather than in the different
649 Sort the translated strings, albeit simply.
651 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
653 * character.[Ch]: rename namespace character as namespace frnt.
655 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
656 as several dialogs will use this info. The function now returns a
657 vector<LanguagePair> where LanguagePair is a display string and an
658 identifying string. The display string is internationalised.
660 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
661 the identifying strings, "No change" and "Reset".
663 * Makefile.am: add frnt_lang.[Ch].
665 2002-04-25 Herbert Voss <voss@lyx.org>
667 * ControlSendto.C (allFormats): don't add the graphics extensions to the
670 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
672 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
673 BibTeX databases in a WYSIWYM way.
675 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
677 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
678 way past his use-by date.
679 Make use of the improved info from Buffer::getBibkeyList when using
680 \bibliography. Enables us to provide natbib support in this case too.
682 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
684 * ControlGraphics.C: pass the browseFile dialog a string of only those
685 formats that can currently be loaded by LyX.
687 2002-04-15 Herbert Voss <voss@perce.de>
689 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
690 with something like ,,...blah...`` (two commas)
692 2002-04-14 Herbert Voss <voss@perce.de>
694 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
695 into the support/lstrings for better use in other programs.
697 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
698 namespace anon and make globally accessible.
699 (familyName): test for the presence of a LaTeX Space at the front of
700 of a name; strip it if it exists.
702 2002-04-11 Herbert Voss <voss@perce.de>
704 * ControlGraphics.C: expand "browse-string" to all available formats
706 2002-04-11 Herbert Voss <voss@perce.de>
708 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
710 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
712 * ControlAboutlyx.C (getVersion): two _() forgotten
714 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
718 * ControlBibtex.C: make N_() be _()
720 2002-04-07 Herbert Voss <voss@perce.de>
722 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
724 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
726 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
727 used when reading the BB.
729 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
731 * ControlGraphics.C (readBB): Don't open the ifstrem and then
732 check the format from the contents (and open a second ifstream in the
733 process. One at a time please.
735 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
737 * ControlRef.C (getBufferNum): squash warning message.
739 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
741 * ControlBibtex.C (Browse):
742 * ControlGraphics.C (Browse):
743 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
745 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
747 * ControlGraphics.C (applyParamsToInset): pass filepath to
748 InsetGraphics::updateInset.
750 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
752 * most files: ws cleanup
754 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
756 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
759 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
762 * ControlInclude.C: better error messages
764 2002-03-11 Herbert Voss <voss@lyx.org>
766 * biblio.C (parseBibTeX): fix another minibug with an
769 2002-03-10 Herbert Voss <voss@lyx.org>
771 * biblio.C (parseBibTeX): fix bug
772 (familyName): improve parsing
774 2002-03-09 Herbert Voss <voss@lyx.org>
776 * ControlGraphics.[Ch]: adding checkFilename() for testing
777 of non-existing files
779 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * ControlSendto.C (allFormats): fix a iterators are not pointers
784 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
786 * ControlShowFile.h: add a #include "LString.h"
788 2002-03-05 Herbert Voss <voss@lyx.org>
790 * biblio.C (getInfo): simplify if using paragraph layout
793 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
795 * biblio.C (getInfo): return the info field correctly if the key
797 (parseBibTeX): fix crash when data.find('=') returns string::npos.
799 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
801 * ControlForks.[Ch]: new files. A controller for the Forked Child
802 processes dialog, enabling the user to see what forked processes
803 are running, and, if he so desires, to kill them.
805 * GUI.h: add class GUIForks.
807 * Makefile.am: add ControlForks.[Ch].
809 * ControlGraphics.C (getParams): small change due to change in
812 2002-02-21 Herbert Voss <voss@lyx.org>
814 * biblio.C: fix bug with commentlines in a bibentry
816 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
818 * Makefile.am: simpler obj. file compile
820 2002-02-18 Herbert Voss <voss@lyx.org>
822 * ControlGraphics.[Ch]: remove help-file call
824 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
826 * helper_funcs.h: wrap the structs firster and seconder up in a
827 namespace to avoid clashes with those in lyxalgo,h.
829 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
830 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
832 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
834 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
837 change Systemcalls::System to Systemcalls::Wait and
838 No change of functionality, just reflects the stripped down Systemcalls
841 2002-02-06 Herbert Voss <voss@lyx.org>
843 * ControlGraphics.[C] (readBB): search also in
844 g'zipped files. If it is useful than PK and compress
845 should also be supported. use unzipFile() from
848 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
850 * ControlRef.C (getBufferName): new method to get a real buffer
853 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
855 * ControlTexInfo.[Ch]: Removed Help functions.
857 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
859 * ControlSpellchecker.C: clear any selection left
862 2002-02-01 Herbert Voss <voss@lyx.org>
864 * ControlGraphics.[C] (readBB): search only, if it is a
865 ".?ps" file and look for bb's at end of file
867 2002-01-30 Herbert Voss <voss@lyx.org>
869 * ControlGraphic.[C]: do not search the whole file, when
872 2002-01-29 Herbert Voss <voss@lyx.org>
874 * ControlGraphic.[C]: added a button for document path
875 when browsing -> bug 222
877 2002-01-27 Herbert Voss <voss@lyx.org>
879 * ControlGraphic.[Ch]: added support for Bounding Box, other
882 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
885 * ControlTexinfo.h: added #include "LString.h" where they belong.
887 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
890 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
892 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
894 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
897 2002-01-20 Herbert Voss <voss@perce.de>
899 * ControlInclude.[Ch]: better control of unexistings files
900 when entered without the browser
902 * ControlGraphic.C (Browse): add extension "ps" when browsing for
905 2002-01-19 Herbert Voss <voss@perce.de>
907 * biblio.C (getInfo): fix bug when no author is given
909 * biblio.C (parseBibTeX): change the parsing, so that
910 '#'-characters in a bibtex entry are no more a problem.
912 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
914 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
915 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
917 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
919 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
921 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
923 * ControlExternal.C (Browse): add a std:: qualifier
925 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
927 * ControlExternal.C (Browse): simplify to use browseRelFile
929 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
931 * ButtonController.tmpl: added // -*- C++ -*-
933 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
934 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
935 Needed in _one_ of the ControlCommand-derived classes only.
937 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
940 * ControlSearch.h: #include LString.h
942 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
944 * ButtonController.h: split into two. The definition remains in
945 ButtonController.h, the declaration is now in ButtonController.tmpl.
946 These template methods should be #included when the derived class is
947 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
948 and in the qt2 and gnome equivalents.
950 * ControlDialogs.h: removed. The definition of class ControlDialog is
951 now to be found in ControlDialog.h and the declaration of the methods
952 is in ControlDialog.tmpl. The two template instantiations are performed
953 in ControlDialog_impl.[Ch], new files also.
955 * ControlInset.h: split into two. The definition remains in
956 ControlInset.h, the declaration is now in ControlInset.tmpl.
957 These template methods should be #included derived class is
958 instantiated, in this case in 8 other .C files in this directory.
960 * ControlAboutlyx.[Ch]:
961 * ControlCharacter.[Ch]:
971 * ControlPreamble.[Ch]:
973 * ControlSearch.[Ch]:
974 * ControlShowFile.[Ch]:
975 * ControlSpellchecker.[Ch]:
976 * ControlTabularCreate.[Ch]:
977 * ControlTexinfo.[Ch]:
978 * ControlThesaurus.[Ch]:
979 * ControlVCLog.[Ch]: small changes associated with the above ones.
981 * GUI.h: #include the ButtonController and dialog controller files
982 here, rather than forward declare them. This is the correct place
985 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
986 Rename ControlDialogs.h as ControlDialog.h.
987 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
990 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
992 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
994 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
996 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
999 * ControlGraphics.C (Browse): remove overzealous shortcut
1001 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1003 * FormMinipage.C (apply, update): MinipageParams::width renamed
1004 as MinipageParams::pageWidth. InsetMinipage::width renamed
1005 as InsetMinipage::pageWidth.
1007 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1009 * ButtonController.h (refreshReadOnly): use explicit typename
1011 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1013 * helper_funcs.h (browseFile): add default empty button descriptions.
1015 * ControlGraphics.C (Browse):
1016 * ControlBibtex.C (Browse):
1017 * ControlInclude.C (Browse): add shortcuts to directory buttons
1019 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1021 * ControlThesaurus.h:
1022 * ControlThesaurus.C: update to Aiksaurus 0.14
1024 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlSpellchecker.C (clearParams): show the closing message
1027 only if some words have been checked, thereby fixing
1030 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1032 * ControlFloat.[Ch]: changes to prevent here definitely being used
1035 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1037 * ControlThesaurus.h: do not include <config.h> in header files
1039 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1041 * ControlToc.C: changes for floatlist
1043 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1045 * ControlVCLog.C: use _()
1047 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1049 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1052 2001-10-22 Juergen Vigna <jug@sad.it>
1054 * ControlSpellchecker.C (clearParams): use the error_ message of the
1055 speller_ if available when the spellchecker died.
1056 (setParams): remove double error message display.
1058 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1060 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1062 * helper_funcs.[Ch] (getLatexUnits): see above.
1064 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1066 * ControlTexinfo.C (getContents): use the right file for .sty files
1068 2001-10-10 Herbert Voss <voss@perce.de>
1070 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1071 and some more stuff from FormTexinfo.C
1073 * ControlShowFile.C: hiding the update-button
1075 2001-10-09 Herbert Voss <voss@perce.de>
1077 * ControlTexinfo.[Ch]: new files. Display information about the
1078 installed texfiles (cls,sty,bst).
1080 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1082 * GUI.h: added classes GUIShowFile and GUITexinfo.
1084 * Makefile.am: modified appropriately.
1086 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1088 * ControlAboutlyx.C (getVersion): use lyx_version and
1089 lyx_release_date instead of old macros
1091 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1093 * ControlSpellchecker.C (check): Behaves well now when the spell
1094 library doesn't know a replacement to an incorrect word.
1096 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1098 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1099 the correct place. Can now check spelling more than once!
1101 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1103 * ControlSplash.[Ch]: removed.
1105 * GUI.h: remove GUISplash class.
1107 * ViewBase.h: remove ViewSplash class.
1109 * Makefile.am: remove ControlSplash.[Ch].
1111 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1113 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1114 view will be shut down.
1117 * ControlInset.h: act on emergency_exit_.
1119 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1120 speller fails to launch.
1122 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1124 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1125 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1127 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1129 * ControlRef.h (disconnectOnApply): new method. Set to true.
1130 Perhaps make this user-modifiable?
1132 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1134 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1137 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1139 * ControlRef.C (getBufferList, getBufferNum): New methods
1141 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1143 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1144 of the dialog when the Apply button is pressed. Defaults to false,
1145 but can be overridden in the daughter classes.
1147 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1148 Perhaps make this user-modifiable?
1150 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1152 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1153 we have dialogs that update their contents when the buffer changes.
1154 Rather embarassing, really!
1156 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1158 * ControlSearch (replace): change semantics of replace to NOT move on
1159 to the next instance of a word once the present instance has been
1160 replaced unless we are replacing ALL instances of the word.
1162 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1164 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1166 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1168 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1169 dialog, set all options to "reset", close the dialog, re-open it ->
1170 the options are set incorrectly.
1172 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1173 When Applying it's useful to know whether the dialog is about to close
1174 or not (no point refreshing the display for example).
1176 * ControlInset.C (apply): use isClosing.
1178 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1181 * ControlDialogs.h: remove bc() hack, now fixed in
1182 Qt2 frontend. use member dialog_built_ instead of shared
1185 * ButtonController.h:
1186 * ButtonPolicies.C: more debug info
1188 * ButtonControllerBase.C: call refresh() when setting readOnly !
1190 * GUI.h: External form has apply, use the right policy
1192 * character.C: fix two off-by-one errors when latex font was removed
1194 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1196 * ControlInset.h (apply): tentative fix for the press Apply multiple
1197 times and get multiple new Insets problem.
1199 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1201 * ControlCharacter.C: fix typo
1205 * ControlInsets.C: make sure dialog is built before it is shown, so
1206 it works properly the very first time it is shown
1208 2001-08-20 Herbert Voss <voss@perce.de>
1210 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1211 and styles. Added an option for "bibliography into toc"
1213 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1215 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1216 LaTeX is no longer a font property.
1218 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1220 * GUI.h: Button controller for Reference dialog changed to
1221 NoRepeatedApplyReadOnlyPolicy.
1223 * biblio.C (getInfo): output volume and number info. Move year to end
1226 2001-08-09 Allan Rae <rae@lyx.org>
1228 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1230 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1232 * helper_funcs.C (getVectorFromString): fixed small bug.
1234 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1236 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1238 * ControlSpellchecker.C: check next word after insert in personal dict
1240 2001-08-06 Juergen Vigna <jug@sad.it>
1242 * ControlERT.[Ch]: new file
1244 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1246 * ControlInset.h: const and non-const forms of params().
1248 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1249 whitespace from either side of each item.
1251 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1253 * ControlFloat.h: add a != operator for FloatParams.
1254 Lars, how did you get this to compile!!!
1256 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1257 operator != for MinipageParams. Who's changing stuff and not compiling?
1259 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1264 * GUI.h: add class GUIFloat
1266 * ControlFloat.[Ch]: new files
1268 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1270 * ControlPrint.C: #include Lassert.h here.
1272 2001-07-26 Baruch Even <baruch@lyx.org>
1274 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1277 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1279 * ControlThesaurus.h:
1280 * ControlThesaurus.C:
1282 * Makefile.am: thesaurus support
1284 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1287 * ControlInclude.C: implement ability to load file
1289 2001-07-18 Juergen Vigna <jug@sad.it>
1291 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1293 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1295 * biblio.C (getInfo): add a .c_str() to handle the usual
1298 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1300 * ControlCitation.[Ch]: changes associated with adding natbib support.
1301 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1302 New static variable citeStyles_.
1304 * biblio.[Ch]: large internal rearrangement.
1305 New public enum CiteStyle.
1306 New public struct CitationStyle.
1307 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1308 getNumericalStrings, getAuthorYearStrings
1309 (simpleSearch, regexSearch): no longer publicly accessible.
1311 * helper_funcs.C (getStringFromVector): bug fix.
1313 2001-07-16 Baruch Even <baruch@lyx.org>
1315 * ControlVCLog.h: Added Lsstream.h to includes.
1317 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1319 * ControlSpellchecker.[Ch]: remove d-tor.
1321 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1323 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1325 2001-07-16 Juergen Vigna <jug@sad.it>
1327 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1328 compiled with USE_PSPELL) to be able to switch between ISpell and
1331 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1333 Consistent use of Lsstream.h:
1334 * ControlAboutlyx.[Ch] (getCredits):
1335 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1337 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1339 * ControlCredits.[Ch]: removed
1340 * ControlCopyright.[Ch]: removed
1341 * ControlAboutlyx.[Ch]: added (replaces previous)
1342 * GUI.h: removed credits and copyright added about lyx stuff
1344 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * ControlSpellchecker.C (getSuggestion):
1347 (getWord): add std:: qualifier
1349 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1351 * ControlSpellchecker.[Ch]: added
1352 * ViewBase.h: added partialUpdate(int) member
1353 * GUI.h: added spell stuff
1355 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1357 * ControlExternal.C: (*it). -> it->
1359 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ButtonController.h: move some included header files out of the
1362 frontends and into here.
1364 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1366 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1368 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1370 * *.[h]: added // -*- C++ -*-
1371 * *.[C]: removed // -*- C++ -*-
1373 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1374 activate Apply button.
1375 (clearParams): removed.
1376 font_ is now stored as a boost::scoped_ptr.
1377 font_ is no longer deleted on hide(), so it's contents can now be used
1378 by the Font button on the toolbar.
1379 Lots of new methods so that the GUI can easily get the contents of
1380 font_ when it update()s.
1382 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1384 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1385 crash when the Font button on the Toolbar is pressed.
1387 * GUI.h: change policy of Character button controller to
1388 OkApplyCancelReadOnlyPolicy.
1390 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * ControlToc.C (getContents): don't add anything to the list if it
1393 is supposed to be empty.
1395 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1397 * helper_funcs.C (getVectorFromString): bug fix.
1399 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1401 * ButtonController.h
1402 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1403 from ButtonControllerBase::readOnly. Updates the state of the widgets
1404 in the read-only list only when the read-only status of the document
1406 (refresh): moved this stuff into refreshReadOnly.
1408 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1410 * ControlPrint.C (c-tor):
1411 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1413 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1416 * character.h: small clean-ups.
1418 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1420 * ControlToc.C (getType): remove support for old float list.
1422 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1424 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1425 * ControlGraphics.h: no longer include insetgraphicsParams.h
1426 * ControlInset.h: no longer include LyXView.h
1431 * ControlCharacter.C:
1432 * ControlCitation.C:
1434 * ControlConnections.C:
1435 * ControlCopyright.C:
1438 * ControlExternal.C:
1439 * ControlGraphics.C:
1442 * ControlMinipage.C:
1443 * ControlPreamble.C:
1447 * ControlTabularCreate.C:
1449 * ControlVCLog.C: they're now in here!
1451 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1453 * ButtonControllerBase.h: C++ mode, inherit privately from
1455 * ButtonPolicies.h: ditto
1457 * ButtonController.h: C++ mode, swap init order of restore_ and
1460 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1462 * ControlTabularCreate.h:
1463 * ControlTabularCreate.C: make dialogs use a pair of uints
1467 * ControlVCLog.C: fill a stringstream with the log contents
1470 * ControlExternal.C: from Angus, clone the new InsetExternal
1473 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1475 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1476 and made more robust.
1478 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1483 * ControlPreamble.C:
1485 * ControlGraphics.C:
1486 * ControlExternal.C:
1487 * ControlCopyright.C: include gettext.h
1489 * ControlCharacter.C:
1490 * character.C: include gettext.h and language.h
1492 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1494 * ButtonController.h:
1495 * ButtonControllerBase.h:
1496 * ButtonControllerBase.C:
1503 * ControlConnections.h:
1506 * ControlExternal.C:
1509 * ViewBase.h: s/ControlButton/ControlButtons/
1511 s/UndoAll/Restore/ + associated
1513 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1515 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1518 * Makefile.am: associated changes with all of the above.
1520 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1522 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1523 and edit, view, update the External Material correctly. I hope!
1525 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1527 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1529 * BCTemplates.h: renamed as ButtonController.h
1531 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1534 * ControlConnections.h: associated change in #include and class names.
1536 * ControlExternal.[Ch]: new files; a controller for the External
1540 * Makefile.am: associated changes with all of the above.
1542 * ControlGraphics.[Ch]:
1543 * ControlInclude.[Ch]:
1544 * ControlPrint.[Ch]:
1546 (Browse): new method. Returns the results of a FileDialog browse.
1548 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1549 (getVectorFromString): fixed bug.
1551 * biblio.C (simpleSearch): cleaned up.
1553 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1555 * A slight reworking of Baruch Even's ButtonController patch.
1557 * BCTemplates.h: new file; all the templates for the ButtonController.
1558 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1559 to the more generic setButtonLabel().
1561 * ButtonController.[Ch]: renamed cancel_label and close_label as
1562 cancel_label_ and close_label_.
1564 * Makefile.am: added BCTemplates.h
1566 2001-03-29 Juergen Vigna <jug@sad.it>
1568 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1569 to use new %-lengths of LyXLength.
1571 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1573 * ControlCitation.C (bibkeysInfo): removed Assert.
1575 * ControlCopyright.h: moved GUICopyright into GUI.h
1579 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1581 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1582 (setDaughterParams): a (by default empty) new method called in show().
1588 * ControlMinipage.h:
1591 * ControlUrl.h (clearDaughterParams): removed
1593 * ControlMinipage.C (applyParamsToInset): update the view.
1594 Added namespace minipage containing a helper function getUnits.
1596 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1598 * ControlCharacter.[Ch]: moved out all the helper functions and the
1599 enum into their own file.
1600 * character.[Ch]: new files; contain the character helper functions,
1601 now inside namespace character.
1603 * ControlCitation.[Ch]: moved out all the helper functions and the
1604 enums into their own file. Simplified interface.
1605 * biblio.[Ch]: new files; contain the citation helper functions,
1606 now inside namespace biblio. Will be of use also to an improved
1609 * ControlGraphics.[Ch]:
1610 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1611 popups, respectively.
1614 * Makefile.am: associated changes.
1616 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1618 * ControlMinipage.[Ch]:
1619 * ControlPreamble.[Ch]:
1620 * ControlPrint.[Ch]:
1621 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1622 and Print popups and Splash screen, respectively.
1624 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1628 * Makefile.am: associated changes.
1630 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1632 * ControlConnections.[Ch]: (docType): new method; returns the type
1633 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1636 * ControlSearch.[Ch]:
1637 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1638 Search and TabularCreate popups, respectively.
1641 * Makefile.am: associated changes.
1643 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1645 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1648 * ControlInset.h (apply): fix bug. Can now create new insets again.
1650 * README: describe program flow.
1652 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1654 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1656 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1658 * ControlDialogs.h: moved class ControlInset into its own file.
1660 * ControlInset.h: new file. class ControlInset has been expanded to take
1661 two template parameters, Inset and Params. Believe that all inset
1662 controllers can be derived from this with the minimum of effort.
1664 * ControlBibitem.[Ch]:
1665 * ControlBibtex.[Ch]:
1666 * ControlCitation.[Ch]:
1667 * ControlCommand.[Ch]: moved most code into ControlInset.
1669 * lots of files. Moved protected stuff into private where possible.
1671 * ControlError.[Ch]:
1672 * ControlInclude.[Ch]:
1673 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1674 Include and Url popups, respectively.
1677 * Makefile.am: associated changes.
1679 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1681 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1684 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1686 * ControlCredits.C (getCredits): remove std:: qualifier for
1689 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1691 * ControlCredits.C (getCredits): add std:: on vector
1693 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1695 * ControlCredits.C: remove using that is only used once, use
1696 std::ios instead of std::iosbase, add some annoying comments.
1698 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1700 * lots of header files: improved explanatory notes.
1702 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1703 ControlBase is now a class that only controls the interaction of the
1704 View with the ButtonController.
1706 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1707 to ControlConnectBase. The class controls the connection/disconnection
1708 of signals from the LyX kernel and makes available the kernel (through
1709 lv_) to daughter controller classes.
1710 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1712 * ControlDialogs.h: new file. Contains the definition of two template
1713 controller classes, ControlDialog and ControlInset (was
1714 ControlConnectInset). ControlInset is a parent class for controllers
1715 of inset-popups. ControlDialogs is the rather uninspired name for
1716 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1717 ControlDialogs is reaching a state of maturity as several popups now use
1718 it and its functionality becomes clear. ControlInset is still in a state
1719 of flux. It is likely that functionality will be moved out of
1720 ControlCommands and into it.
1722 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1723 individual Controller header files and into one place. These classes
1724 serve only as convenient wrappers to simplify code in the respective
1725 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1727 * ControlCharacter.[Ch] (show, update, hide):
1728 * ControlLog.[Ch] (show, update, hide):
1729 * ControlVCLog.[Ch] (show, update, hide): moved back into
1730 the ControlDialogs base class.
1731 (setParams, clearParams): new methods containing controller-specific
1732 code to set/reset the parameters manipulated by the view.
1734 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1736 (hide): calls clearParams.
1738 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1739 by ControlCommand::hide().
1741 * ControlCopyright.[Ch]:
1742 * ControlCredits.[Ch]: new files; controllers for the copyright and
1743 credits popups, respectively.
1745 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1747 * ControlCharacter.C: fix typo
1749 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1751 * ControlCharacter.[Ch]: new files; controller for the character popup.
1753 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1754 moved to new files helper_funcs.[Ch].
1756 * helper_funcs.[Ch]: new files. Some useful helper functions and
1759 * Makefile.am: added new files.
1761 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1763 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1765 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1768 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1769 Control log files, respectively.
1771 * Makefile.am: added new files.
1773 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1775 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1777 * Makefile.am: added ControlBibtex.[Ch].
1779 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1782 * ControlCitation.C: added "using SigC::slot" declaration.
1784 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1785 to FormCitation.C prior to the merger: "Do not put space between
1788 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1790 * several files: remove CXX_WORKING_NAMESPACES
1792 * ButtonController.h: noncopyable is in namespace boost
1793 * ButtonPolicies.h: ditto
1795 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1797 * Merging changes from BRANCH_MVC back into HEAD.
1799 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1801 * Makefile.am: add ControlBibitem.[Ch].
1803 * ControlBibitem.[Ch]: new files that together define the Controller
1804 for a Bibitem popup.
1806 * ControlCommand.h (c-tor): give kb_action a default value of
1809 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1811 * ControlCitation.[Ch]: moved search functions out of class.
1812 (bibkeysInfo): new method. Returns const reference to private data.
1813 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1816 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1818 * ControlCitation.[Ch]: added Search functions to the class,
1819 (shamelessly lifted from Marco's gnome code). I think that these would
1820 be better as helper functions outside the class, but this is a first
1823 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1825 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1827 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1828 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1829 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1830 implementation of FormCitation.
1832 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1834 * ButtonPolicies.h: add SMI_NOOP to enum.
1836 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1838 * ButtonController.C (input): add "optimising" if-statement. Actually,
1839 things don't work correctly without it...
1841 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1843 * ViewBase.h: remove #pragma directive
1845 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1848 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1850 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1852 * Makefile.am: added ButtonPolicies.[Ch]
1854 * ButtonController.[Ch]: ButtonController is split into
1855 ButtonControllerBase and a template ButtonController class. The base
1856 class no longer stores a pointer to a ButtonPolicy, but instead
1857 accesses the actual instantiation of the policy through a pure virtual
1858 method bp(). This method and the ButtonPolicy itself are instantiated
1859 in the templatised ButtonController class. This class is derived from
1860 the GUI-specific GUIBC class, meaning that the frontends know
1861 nothing about the actual policy decided upon by the controllers.
1863 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1864 Instead the actual instantiations are accessed through pure virtual
1865 methods view() and bc(). The daughter classes are responsible for the
1866 actual View and ButtonController.
1868 * ControlCitation.h: the templatised class GUICitation instantiates
1869 the methods view() and bc(). It also stores the instances of the
1870 View and ButtonController.
1872 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1874 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1875 also changed to ButtonController.
1878 * ControlConnections.[Ch]:
1879 * ControlCommand.[Ch]:
1880 * ControlCitation.[Ch]:
1881 * ViewBase.h: Changes associated with this.
1883 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1885 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1886 xforms/ButtonController class into a GUI-I class (here) and an
1887 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1889 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1890 from which all Dialog Controllers should be derived. the Controllers
1891 are GUI-independent, but are designed to control the behaviour of
1892 GUI-specific implementaions of each dialog.
1894 * ControlConnections.[Ch]: new files. Classes controlling the
1895 connections of buffer-independent, buffer-dependent and Inset dialogs
1896 with the LyX kernel.
1898 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1899 InsetCommand subset of insets.
1901 * ControlCitation.[Ch]: new files. The test specialisation! A
1902 controller for the Citation dialog.
1904 * ViewBase.h: new file. ViewBase is an abstract base class from which
1905 GUI-specific dialogs should be derived. The functionality that the GUIs
1906 must now implement is much reduced.