1 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
4 of available *.bib-files from bibFiles.lst).
6 * tex_helpers.C (getTexFileList): sort and dis-duplicate
7 listWithoutPath correctly.
9 2003-02-08 John Levon <levon@movementarian.org>
12 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
14 2003-02-08 John Levon <levon@movementarian.org>
18 * ControlChanges.C: add merge changes dialog
21 * ControlPrefs.C: add setCurrentAuthor()
23 2003-01-31 Angus Leeming <leeming@lyx.org>
25 * ViewBase.h: add an isVisible() pure virtual method.
27 * ControlTabular.C (updateInset): don't build the dialog here.
28 Instead, do nothing if the dialog is invisible.
30 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
32 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
34 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
36 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
38 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
40 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
42 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
44 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
46 * several files: ws changes
48 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * ControlDocument.C (classApply): use boost.format
52 2002-11-29 Angus Leeming <leeming@lyx.org>
54 * ControlButtons.h (isClosing): make it public, so that the view can
56 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
59 * ControlPrefs.[Ch] (OKButton): removed.
61 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
62 dialog isClosing(). (Ie, if the "save" button has been pressed.)
64 2002-11-28 John Levon <levon@movementarian.org>
66 * ControlSpellchecker.C: fix Lars' broken cleanup
68 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
70 * ControlTabular.[Ch]: Add isMulticolumnCell
72 2002-11-27 Angus Leeming <leeming@lyx.org>
74 * ControlMath.C (ControlMath): initialise active_.
76 2002-11-25 Angus Leeming <leeming@lyx.org>
78 * ControlDialog.h (hide, update): move from protected to public.
80 * ControlMath.[Ch]: add controllers for the main math panel dialog and
81 for any daughter dialogs stored by the main panel.
83 2002-11-21 Angus Leeming <leeming@lyx.org>
85 * ControlDocument.[Ch] (classApply): no longer returns bool.
86 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
88 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * biblio.C (getAbbreviatedAuthor): use boost::format
92 * ControlSpellchecker.C (clearParams): use boost::format
94 2002-11-20 John Levon <levon@movementarian.org>
96 * ControlMath.C: couple more manglings
98 2002-11-20 John Levon <levon@movementarian.org>
101 * ControlMath.C: add find_xpm mangler
103 2002-11-17 John Levon <levon@movementarian.org>
105 * helper_funcs.C and users: specify save/open in file dialog
107 2002-11-15 John Levon <levon@movementarian.org>
110 * ControlPrefs.C: use setParams()
112 2002-11-15 John Levon <levon@movementarian.org>
114 * ControlButtons.h: make OKButton() virtual for prefs
117 * ControlPrefs.C: updates for xforms port to MVC
121 * ControlTabular.C: add simple MVC port
123 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
125 * ControlInclude.C: fix file format masks for qt's use
127 2002-11-13 John Levon <levon@movementarian.org>
131 * ControlPrefs.C: add skeleton controller
133 2002-11-12 John Levon <levon@movementarian.org>
135 * biblio.C: fix warnings
137 2002-11-12 Angus Leeming <leeming@lyx.org>
139 * ControlSpellchecker.C (check): fix crash
140 * biblio.C (escape_special_chars): simplify BRE.
142 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
144 * ControlDocument.[Ch]: Remove unused method
146 2002-11-07 Angus Leeming <leeming@lyx.org>
148 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
149 * clean-up the search code in biblio.C.
151 2002-11-07 John Levon <levon@movementarian.org>
153 * ControlGraphics.C: QGraphics fixes
155 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
157 * ControlDocument.C: (SaveAsDefault) make it work.
158 fix buffer update on class change
160 2002-11-06 Angus Leeming <leeming@lyx.org>
162 * biblio.C (searchKeys and helper functions): rewritten entirely
163 using the STL. Boost::regex searching now works as the old 1.2 code
166 2002-11-06 Angus Leeming <leeming@lyx.org>
168 * biblio.C: clean-up of the code. No change in functionality.
170 2002-11-04 Angus Leeming <leeming@lyx.org>
172 * ControlGraphics.[Ch] (getUnits): moved out of class and into
173 frnt::getBBUnits(). Code cleaned also.
175 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * biblio.C (regexSearch): STRCONV
180 * ControlAboutlyx.C (getVersion): STRCONV
182 * ControlMath.C: include config.h
184 2002-10-31 John Levon <levon@movementarian.org>
187 * ControlGraphics.C: bb units from Herbert
189 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
191 * ControlParagraph.[Ch] (alignDefault): new method, returning the
192 default alignment (block, left, right, center) of this paragraph.
194 2002-10-25 John Levon <levon@movementarian.org>
196 * ControlPrint.C: using endl
198 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
200 * ControlPrint.[Ch]: move code here from Liason.[Ch].
202 * ControlSpellchecker.h (getCount): new method.
203 * ControlSpellchecker.[Ch]: constify some accessor methods.
205 2002-10-22 Angus Leeming <leeming@lyx.org>
207 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
208 alphabetical order once again.
210 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
211 Add a list of CheckedWidget ptrs to ButtonControllerBase
212 together with methods addCheckedWidget and checkWidgets to use it.
214 * ButtonController.tmpl (refresh): use the return value of
215 checkWidgets to control the activation state of the Ok, Apply, Restore
218 * ControlDialog.tmpl (show, update):
219 * ControlInset.tmpl (showInset, update):
220 invoke ButtonController::refresh to ensure that the activation state of
221 the Ok, Apply buttons reflects the valid-state of the widgets.
223 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * tex_helpers.C (rescanTexStyles): don't pop p
228 * ControlWrap.C (WrapParms): remove initialization of placement,
229 and move empty c-tor to .h class def.
231 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
232 of on stringsteam, return void. Get the file into the stream as
235 * ControlPreamble.[Ch] (params): getter and setter for params_, make
236 params_ into a string, not just a pointer to string.
238 * ControlExternal.C (getTemplateNumber): put i into the for scope,
239 and use the sequence operator on the last for "parameter"
240 (getTemplate): use std::advance to advance the iterator.
242 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
243 instead of on a stringstream, return void. Get the file into the
244 stream as fast as possible.
245 (getVersion): use ostringstream
247 * lots of files: ws changes, formatting fixes
249 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * ControlCharacter.C (apply): setMinibuffer change
252 * ControlDocument.C (apply): ditto
254 * ControlThesaurus.C (replace): ditto
255 * ControlSearch.C (find): ditto
257 * ControlPreamble.C (apply): ditto
258 * ControlParagraph.C (apply): ditto
260 2002-10-14 André Pönitz <poenitz@gmx.net>
262 * ControlDocument.C: somebody else's fix for a hard lockup
264 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
268 * Makefile.am: New document parameters controller
270 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
274 2002-09-24 Angus Leeming <leeming@lyx.org>
276 * ControlConnections.h: remove trailing whitespace.
278 * biblio.h: #include "LString.h".
280 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
282 * ControlGraphics.C: Change GUI origin strings into proper English.
284 2002-09-09 John Levon <levon@movementarian.org>
286 * ControlInclude.C: fix file masks. Get rid of noload,
287 remove stupid warning
289 2002-09-09 John Levon <levon@movementarian.org>
292 * ControlMath.C: add latex_deco
294 2002-09-06 John Levon <levon@movementarian.org>
296 * ControlMath.C: terminate dots
298 2002-09-05 Angus Leeming <leeming@lyx.org>
300 * all files: modify the headers as discussed on the list.
302 2002-08-30 John Levon <levon@movementarian.org>
305 * ControlMath.C: moved from MathsSymbols.C
307 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
309 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
311 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
313 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
314 first item in the list
316 2002-08-15 Angus Leeming <leeming@lyx.org>
318 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
320 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
322 2002-08-15 Angus Leeming <leeming@lyx.org>
324 * lots: changed my email address to leeming@lyx.org.
326 * GUI.h: return it to private derivation from boost::noncopyable.
328 2002-08-14 Angus Leeming <leeming@lyx.org>
330 * GUI.h: public derivation from boost::noncopyable.
332 2002-08-14 Angus Leeming <leeming@lyx.org>
334 * GUI.h: class GUI deries from boost::noncopyable
336 * ControlButtons.h: no longer derives from DialogBase, but instead
337 derives directly from boost::noncopyable.
339 * ViewBase.h: derives from boost::noncopyable.
341 * ControlCharacter.C:
343 * ControlConnections.C:
346 * ControlParagraph.C:
350 * ControlSpellchecker.C:
352 * ControlThesaurus.C:
353 rearrange #includes. Remove unnecessary ones.
355 * ControlError.h: add "insets/inseterror.h".
357 * helper_funcs.h: add necessary #includes.
359 * tex_helpers.[Ch]: add #pragma directives for g++.
361 * Makefile.am: remove src/frontends from -I list to compiler.
363 2002-08-13 Angus Leeming <leeming@lyx.org>
365 * ControlConnections.C:
367 changes due to the changed LyXView interface that now returns references
368 to member variables not pointers.
370 2002-08-12 Angus Leeming <leeming@lyx.org>
372 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
373 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
374 for the most commonly accessed core methods, to minimise code
377 * many files: use these wrappers and remove associated #includes.
379 2002-08-12 Angus Leeming <leeming@lyx.org>
381 * ControlButtons.[Ch] (bc, view): no longer virtual.
382 (setView, setButtonController): new methods, invoked by GUI.
384 * ControlDialog.h (show):
385 * ControlInset.h (createInset, showInset): make public, so that GUI can
388 * GUI.h: GUI now contains a controller, rather than deriving from it.
389 remove all those friend functions since we can now access the show,
390 createInset, showInset controller methods.
392 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
395 * character.h: #include a couple of STL files.
397 2002-08-08 John Levon <levon@movementarian.org>
399 * ControlCommandBuffer.C: LyXAction cleanup
401 2002-08-07 John Levon <levon@movementarian.org>
403 * ControlSpellchecker.C: fix crash when spellchecker doesn't
406 2002-08-06 John Levon <levon@movementarian.org>
408 * ControlSpellchecker.C:
409 * ControlSpellchecker.h: use WordLangTuple
411 2002-08-06 John Levon <levon@movementarian.org>
413 * ControlSpellchecker.C: show an alert with the
414 error message on initialisation failure
416 2002-08-04 John Levon <levon@movementarian.org>
418 * ControlSpellchecker.h:
419 * ControlSpellchecker.C: some cleanups
421 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
423 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
425 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
426 the Dialogs::updateParagraph signal is emitted.
428 2002-08-02 Angus Leeming <leeming@lyx.org>
430 * ControlCharacter.C (apply):
431 * ControlERT.C (applyParamsToInset):
432 * ControlParagraph.C (apply):
433 * ControlSearch.C (find, replace):
434 * ControlThesaurus.C (replace): changes due to LyXView::view() now
435 returning a boost::shared_ptr.
437 2002-08-01 John Levon <levon@movementarian.org>
439 * ControlSendto.C: writeFile() change
441 2002-08-01 John Levon <levon@movementarian.org>
443 * ControlSpellchecker.h:
444 * ControlSpellchecker.C: remove options
446 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
448 * several files: strip,frontStrip -> trim,ltrim,rtrim
450 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
452 * biblio.C (parseBibTeX): modify because of strip changes
454 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
456 * ControlFloat.[Ch]: Implement Wide Float toggle
457 Replace "allow_here_definitely" by "wide"
459 2002-07-22 Herbert Voss <voss@lyx.org>
461 * ControlGraphics.C: small changes
463 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
465 * ControlToc.C: remove getType
467 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
469 * ControlCommandBuffer.C: don't add "" to history
471 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
473 * ControlRef.C: fix dispatch call nicely
475 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
478 * ControlCommandBuffer.h:
479 * ControlCommandBuffer.C: add controller for command (mini) buffer
482 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
484 * ControlRef.C: fix dispatch call
486 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
488 * ControlCharacter.C: use view_state_changed not setState
490 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
492 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
494 2002-07-15 Mike Fabian <mfabian@suse.de>
496 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
497 of compare_no_case, because in turkish, 'i' is not the lowercase
498 version of 'I', and thus turkish locale breaks parsing of tags.
500 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
502 * ControlBibtex.C (applyParamsToInset): ws change
504 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
506 * ControlInclude.C: Add warning if absolute path name and
507 check_typeset is used together
509 2002-06-28 Angus Leeming <leeming@lyx.org>
511 * ControlGraphics.C: changes associated with the name changes
512 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
514 2002-06-25 Angus Leeming <leeming@lyx.org>
516 * ControlGraphics.C (readBB): Channges associated with the changed
517 interface to the graphics cache.
519 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
521 * ControlParagraph.C: layout as layout
523 2002-06-21 Angus Leeming <leeming@lyx.org>
525 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
526 * tex_helpers.h: #include "LString.h".
528 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
531 * ControlBibitem.C: use repaint()
533 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
535 * ControlTexinfo.C: do the same for Texinfo
537 * tex_helpers.C: don't try to read a file that isn't there
539 2002-06-21 Herbert Voss <voss@perce.de>
541 * ControlBibtex.C: do an automatic update, when no bst-list
544 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
546 * GUI.h: createIndex() changed
548 2002-06-18 Herbert Voss <voss@perce.de>
550 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
551 helperstuff. Now the bibtex gui can use some of these functions
553 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
555 * ControlGraphics.C: just make the mask *.*
557 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
559 * changes to simplify function setup, removal of a lot of includes.
561 2002-06-12 Angus Leeming <leeming@lyx.org>
563 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
565 2002-06-12 Angus Leeming <leeming@lyx.org>
567 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
569 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
571 * ControlParagraph.[Ch]: new paragraph controller
572 * GUI.h: add new controller
575 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
577 * GUI.h: do not include ButtonController.tmpl
579 * ControlInset.h: include ControlInset.tmpl
581 * ControlCitation.C: do not include ControlInset.tmpl
582 * ControlCommand.C: ditto
583 * ControlERT.C: ditto
584 * ControlError.C: ditto
585 * ControlExternal.C: ditto
586 * ControlFloat.C: ditto
587 * ControlGraphics.C: ditto
588 * ControlInclude.C: ditto
589 * ControlMinipage.C: ditto
591 * ControlDialog.tmpl: remove the Base:: prefix
593 2002-06-07 Angus Leeming <leeming@lyx.org>
595 Fixes needed to compile with Compaq cxx 6.5.
596 * ControlDialog.tmpl: I have had to prefix base class methods with
599 * ControlInset.tmpl: #include a couple of headers.
601 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
603 * switch from SigC signals to boost::signals
605 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * biblio.h: include vector
609 * biblio.C: change include order
610 (regexSearch): use boost regex and get rid of LRegex
612 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
617 * ControlCharacter.C:
620 * ControlConnections.C:
637 * ControlSpellchecker.C:
638 * ControlTabularCreate.C:
640 * ControlThesaurus.C:
643 * ControlVCLog.C: LyXView moved into frontends
645 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * ControlExternal.C: add scoped_ptr.hpp
649 * ControlCharacter.h: use more specific smart_ptr header.
651 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
653 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
655 2002-05-13 Herbert Voss <voss@perce.de>
657 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
658 like "Odland, G. and ... "
659 (parseBibTeX): fix bug with title and booktitle
660 and replace a \n with a space when one entry has more than
663 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
665 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
666 "No change" and "Reset".
668 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
669 them at the front of the list.
671 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
673 * ControlGraphics.C: add some comments to the char * arrays.
674 Make rorigin_size const.
676 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
678 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
679 Enables the gui's to internationalise these strings.
681 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
683 * frnt_lang.C: fix build
685 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
687 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
688 If the the caller is the character dialog, add "No change" and "Reset"
689 to the vector, else don't.
690 Internationalise the GUI strings here rather than in the different
692 Sort the translated strings, albeit simply.
694 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
696 * character.[Ch]: rename namespace character as namespace frnt.
698 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
699 as several dialogs will use this info. The function now returns a
700 vector<LanguagePair> where LanguagePair is a display string and an
701 identifying string. The display string is internationalised.
703 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
704 the identifying strings, "No change" and "Reset".
706 * Makefile.am: add frnt_lang.[Ch].
708 2002-04-25 Herbert Voss <voss@lyx.org>
710 * ControlSendto.C (allFormats): don't add the graphics extensions to the
713 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
715 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
716 BibTeX databases in a WYSIWYM way.
718 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
720 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
721 way past his use-by date.
722 Make use of the improved info from Buffer::getBibkeyList when using
723 \bibliography. Enables us to provide natbib support in this case too.
725 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
727 * ControlGraphics.C: pass the browseFile dialog a string of only those
728 formats that can currently be loaded by LyX.
730 2002-04-15 Herbert Voss <voss@perce.de>
732 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
733 with something like ,,...blah...`` (two commas)
735 2002-04-14 Herbert Voss <voss@perce.de>
737 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
738 into the support/lstrings for better use in other programs.
740 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
741 namespace anon and make globally accessible.
742 (familyName): test for the presence of a LaTeX Space at the front of
743 of a name; strip it if it exists.
745 2002-04-11 Herbert Voss <voss@perce.de>
747 * ControlGraphics.C: expand "browse-string" to all available formats
749 2002-04-11 Herbert Voss <voss@perce.de>
751 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
753 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
755 * ControlAboutlyx.C (getVersion): two _() forgotten
757 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
761 * ControlBibtex.C: make N_() be _()
763 2002-04-07 Herbert Voss <voss@perce.de>
765 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
767 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
770 used when reading the BB.
772 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlGraphics.C (readBB): Don't open the ifstrem and then
775 check the format from the contents (and open a second ifstream in the
776 process. One at a time please.
778 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
780 * ControlRef.C (getBufferNum): squash warning message.
782 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
784 * ControlBibtex.C (Browse):
785 * ControlGraphics.C (Browse):
786 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
788 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
790 * ControlGraphics.C (applyParamsToInset): pass filepath to
791 InsetGraphics::updateInset.
793 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
795 * most files: ws cleanup
797 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
799 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
802 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
805 * ControlInclude.C: better error messages
807 2002-03-11 Herbert Voss <voss@lyx.org>
809 * biblio.C (parseBibTeX): fix another minibug with an
812 2002-03-10 Herbert Voss <voss@lyx.org>
814 * biblio.C (parseBibTeX): fix bug
815 (familyName): improve parsing
817 2002-03-09 Herbert Voss <voss@lyx.org>
819 * ControlGraphics.[Ch]: adding checkFilename() for testing
820 of non-existing files
822 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
824 * ControlSendto.C (allFormats): fix a iterators are not pointers
827 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
829 * ControlShowFile.h: add a #include "LString.h"
831 2002-03-05 Herbert Voss <voss@lyx.org>
833 * biblio.C (getInfo): simplify if using paragraph layout
836 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
838 * biblio.C (getInfo): return the info field correctly if the key
840 (parseBibTeX): fix crash when data.find('=') returns string::npos.
842 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
844 * ControlForks.[Ch]: new files. A controller for the Forked Child
845 processes dialog, enabling the user to see what forked processes
846 are running, and, if he so desires, to kill them.
848 * GUI.h: add class GUIForks.
850 * Makefile.am: add ControlForks.[Ch].
852 * ControlGraphics.C (getParams): small change due to change in
855 2002-02-21 Herbert Voss <voss@lyx.org>
857 * biblio.C: fix bug with commentlines in a bibentry
859 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
861 * Makefile.am: simpler obj. file compile
863 2002-02-18 Herbert Voss <voss@lyx.org>
865 * ControlGraphics.[Ch]: remove help-file call
867 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
869 * helper_funcs.h: wrap the structs firster and seconder up in a
870 namespace to avoid clashes with those in lyxalgo,h.
872 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
873 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
875 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
877 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
880 change Systemcalls::System to Systemcalls::Wait and
881 No change of functionality, just reflects the stripped down Systemcalls
884 2002-02-06 Herbert Voss <voss@lyx.org>
886 * ControlGraphics.[C] (readBB): search also in
887 g'zipped files. If it is useful than PK and compress
888 should also be supported. use unzipFile() from
891 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
893 * ControlRef.C (getBufferName): new method to get a real buffer
896 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
898 * ControlTexInfo.[Ch]: Removed Help functions.
900 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
902 * ControlSpellchecker.C: clear any selection left
905 2002-02-01 Herbert Voss <voss@lyx.org>
907 * ControlGraphics.[C] (readBB): search only, if it is a
908 ".?ps" file and look for bb's at end of file
910 2002-01-30 Herbert Voss <voss@lyx.org>
912 * ControlGraphic.[C]: do not search the whole file, when
915 2002-01-29 Herbert Voss <voss@lyx.org>
917 * ControlGraphic.[C]: added a button for document path
918 when browsing -> bug 222
920 2002-01-27 Herbert Voss <voss@lyx.org>
922 * ControlGraphic.[Ch]: added support for Bounding Box, other
925 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
928 * ControlTexinfo.h: added #include "LString.h" where they belong.
930 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
933 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
935 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
937 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
940 2002-01-20 Herbert Voss <voss@perce.de>
942 * ControlInclude.[Ch]: better control of unexistings files
943 when entered without the browser
945 * ControlGraphic.C (Browse): add extension "ps" when browsing for
948 2002-01-19 Herbert Voss <voss@perce.de>
950 * biblio.C (getInfo): fix bug when no author is given
952 * biblio.C (parseBibTeX): change the parsing, so that
953 '#'-characters in a bibtex entry are no more a problem.
955 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
957 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
958 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
960 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
962 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
964 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
966 * ControlExternal.C (Browse): add a std:: qualifier
968 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
970 * ControlExternal.C (Browse): simplify to use browseRelFile
972 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
974 * ButtonController.tmpl: added // -*- C++ -*-
976 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
977 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
978 Needed in _one_ of the ControlCommand-derived classes only.
980 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
983 * ControlSearch.h: #include LString.h
985 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
987 * ButtonController.h: split into two. The definition remains in
988 ButtonController.h, the declaration is now in ButtonController.tmpl.
989 These template methods should be #included when the derived class is
990 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
991 and in the qt2 and gnome equivalents.
993 * ControlDialogs.h: removed. The definition of class ControlDialog is
994 now to be found in ControlDialog.h and the declaration of the methods
995 is in ControlDialog.tmpl. The two template instantiations are performed
996 in ControlDialog_impl.[Ch], new files also.
998 * ControlInset.h: split into two. The definition remains in
999 ControlInset.h, the declaration is now in ControlInset.tmpl.
1000 These template methods should be #included derived class is
1001 instantiated, in this case in 8 other .C files in this directory.
1003 * ControlAboutlyx.[Ch]:
1004 * ControlCharacter.[Ch]:
1008 * ControlExternal.C:
1010 * ControlGraphics.C:
1013 * ControlMinipage.C:
1014 * ControlPreamble.[Ch]:
1015 * ControlPrint.[Ch]:
1016 * ControlSearch.[Ch]:
1017 * ControlShowFile.[Ch]:
1018 * ControlSpellchecker.[Ch]:
1019 * ControlTabularCreate.[Ch]:
1020 * ControlTexinfo.[Ch]:
1021 * ControlThesaurus.[Ch]:
1022 * ControlVCLog.[Ch]: small changes associated with the above ones.
1024 * GUI.h: #include the ButtonController and dialog controller files
1025 here, rather than forward declare them. This is the correct place
1026 for these #includes.
1028 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1029 Rename ControlDialogs.h as ControlDialog.h.
1030 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1033 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1035 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1037 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1039 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1042 * ControlGraphics.C (Browse): remove overzealous shortcut
1044 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1046 * FormMinipage.C (apply, update): MinipageParams::width renamed
1047 as MinipageParams::pageWidth. InsetMinipage::width renamed
1048 as InsetMinipage::pageWidth.
1050 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1052 * ButtonController.h (refreshReadOnly): use explicit typename
1054 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1056 * helper_funcs.h (browseFile): add default empty button descriptions.
1058 * ControlGraphics.C (Browse):
1059 * ControlBibtex.C (Browse):
1060 * ControlInclude.C (Browse): add shortcuts to directory buttons
1062 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1064 * ControlThesaurus.h:
1065 * ControlThesaurus.C: update to Aiksaurus 0.14
1067 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlSpellchecker.C (clearParams): show the closing message
1070 only if some words have been checked, thereby fixing
1073 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1075 * ControlFloat.[Ch]: changes to prevent here definitely being used
1078 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1080 * ControlThesaurus.h: do not include <config.h> in header files
1082 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1084 * ControlToc.C: changes for floatlist
1086 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1088 * ControlVCLog.C: use _()
1090 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1092 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1095 2001-10-22 Juergen Vigna <jug@sad.it>
1097 * ControlSpellchecker.C (clearParams): use the error_ message of the
1098 speller_ if available when the spellchecker died.
1099 (setParams): remove double error message display.
1101 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1103 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1105 * helper_funcs.[Ch] (getLatexUnits): see above.
1107 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1109 * ControlTexinfo.C (getContents): use the right file for .sty files
1111 2001-10-10 Herbert Voss <voss@perce.de>
1113 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1114 and some more stuff from FormTexinfo.C
1116 * ControlShowFile.C: hiding the update-button
1118 2001-10-09 Herbert Voss <voss@perce.de>
1120 * ControlTexinfo.[Ch]: new files. Display information about the
1121 installed texfiles (cls,sty,bst).
1123 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1125 * GUI.h: added classes GUIShowFile and GUITexinfo.
1127 * Makefile.am: modified appropriately.
1129 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1131 * ControlAboutlyx.C (getVersion): use lyx_version and
1132 lyx_release_date instead of old macros
1134 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1136 * ControlSpellchecker.C (check): Behaves well now when the spell
1137 library doesn't know a replacement to an incorrect word.
1139 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1141 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1142 the correct place. Can now check spelling more than once!
1144 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1146 * ControlSplash.[Ch]: removed.
1148 * GUI.h: remove GUISplash class.
1150 * ViewBase.h: remove ViewSplash class.
1152 * Makefile.am: remove ControlSplash.[Ch].
1154 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1157 view will be shut down.
1160 * ControlInset.h: act on emergency_exit_.
1162 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1163 speller fails to launch.
1165 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1167 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1168 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1170 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ControlRef.h (disconnectOnApply): new method. Set to true.
1173 Perhaps make this user-modifiable?
1175 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1177 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1180 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1182 * ControlRef.C (getBufferList, getBufferNum): New methods
1184 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1186 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1187 of the dialog when the Apply button is pressed. Defaults to false,
1188 but can be overridden in the daughter classes.
1190 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1191 Perhaps make this user-modifiable?
1193 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1195 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1196 we have dialogs that update their contents when the buffer changes.
1197 Rather embarassing, really!
1199 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1201 * ControlSearch (replace): change semantics of replace to NOT move on
1202 to the next instance of a word once the present instance has been
1203 replaced unless we are replacing ALL instances of the word.
1205 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1207 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1209 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1211 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1212 dialog, set all options to "reset", close the dialog, re-open it ->
1213 the options are set incorrectly.
1215 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1216 When Applying it's useful to know whether the dialog is about to close
1217 or not (no point refreshing the display for example).
1219 * ControlInset.C (apply): use isClosing.
1221 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1224 * ControlDialogs.h: remove bc() hack, now fixed in
1225 Qt2 frontend. use member dialog_built_ instead of shared
1228 * ButtonController.h:
1229 * ButtonPolicies.C: more debug info
1231 * ButtonControllerBase.C: call refresh() when setting readOnly !
1233 * GUI.h: External form has apply, use the right policy
1235 * character.C: fix two off-by-one errors when latex font was removed
1237 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1239 * ControlInset.h (apply): tentative fix for the press Apply multiple
1240 times and get multiple new Insets problem.
1242 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1244 * ControlCharacter.C: fix typo
1248 * ControlInsets.C: make sure dialog is built before it is shown, so
1249 it works properly the very first time it is shown
1251 2001-08-20 Herbert Voss <voss@perce.de>
1253 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1254 and styles. Added an option for "bibliography into toc"
1256 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1258 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1259 LaTeX is no longer a font property.
1261 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1263 * GUI.h: Button controller for Reference dialog changed to
1264 NoRepeatedApplyReadOnlyPolicy.
1266 * biblio.C (getInfo): output volume and number info. Move year to end
1269 2001-08-09 Allan Rae <rae@lyx.org>
1271 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1273 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1275 * helper_funcs.C (getVectorFromString): fixed small bug.
1277 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1279 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1281 * ControlSpellchecker.C: check next word after insert in personal dict
1283 2001-08-06 Juergen Vigna <jug@sad.it>
1285 * ControlERT.[Ch]: new file
1287 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1289 * ControlInset.h: const and non-const forms of params().
1291 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1292 whitespace from either side of each item.
1294 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1296 * ControlFloat.h: add a != operator for FloatParams.
1297 Lars, how did you get this to compile!!!
1299 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1300 operator != for MinipageParams. Who's changing stuff and not compiling?
1302 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1304 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1307 * GUI.h: add class GUIFloat
1309 * ControlFloat.[Ch]: new files
1311 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1313 * ControlPrint.C: #include Lassert.h here.
1315 2001-07-26 Baruch Even <baruch@lyx.org>
1317 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1320 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1322 * ControlThesaurus.h:
1323 * ControlThesaurus.C:
1325 * Makefile.am: thesaurus support
1327 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1330 * ControlInclude.C: implement ability to load file
1332 2001-07-18 Juergen Vigna <jug@sad.it>
1334 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1336 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1338 * biblio.C (getInfo): add a .c_str() to handle the usual
1341 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1343 * ControlCitation.[Ch]: changes associated with adding natbib support.
1344 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1345 New static variable citeStyles_.
1347 * biblio.[Ch]: large internal rearrangement.
1348 New public enum CiteStyle.
1349 New public struct CitationStyle.
1350 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1351 getNumericalStrings, getAuthorYearStrings
1352 (simpleSearch, regexSearch): no longer publicly accessible.
1354 * helper_funcs.C (getStringFromVector): bug fix.
1356 2001-07-16 Baruch Even <baruch@lyx.org>
1358 * ControlVCLog.h: Added Lsstream.h to includes.
1360 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1362 * ControlSpellchecker.[Ch]: remove d-tor.
1364 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1366 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1368 2001-07-16 Juergen Vigna <jug@sad.it>
1370 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1371 compiled with USE_PSPELL) to be able to switch between ISpell and
1374 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1376 Consistent use of Lsstream.h:
1377 * ControlAboutlyx.[Ch] (getCredits):
1378 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1380 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1382 * ControlCredits.[Ch]: removed
1383 * ControlCopyright.[Ch]: removed
1384 * ControlAboutlyx.[Ch]: added (replaces previous)
1385 * GUI.h: removed credits and copyright added about lyx stuff
1387 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1389 * ControlSpellchecker.C (getSuggestion):
1390 (getWord): add std:: qualifier
1392 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1394 * ControlSpellchecker.[Ch]: added
1395 * ViewBase.h: added partialUpdate(int) member
1396 * GUI.h: added spell stuff
1398 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1400 * ControlExternal.C: (*it). -> it->
1402 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1404 * ButtonController.h: move some included header files out of the
1405 frontends and into here.
1407 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1409 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1411 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1413 * *.[h]: added // -*- C++ -*-
1414 * *.[C]: removed // -*- C++ -*-
1416 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1417 activate Apply button.
1418 (clearParams): removed.
1419 font_ is now stored as a boost::scoped_ptr.
1420 font_ is no longer deleted on hide(), so it's contents can now be used
1421 by the Font button on the toolbar.
1422 Lots of new methods so that the GUI can easily get the contents of
1423 font_ when it update()s.
1425 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1427 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1428 crash when the Font button on the Toolbar is pressed.
1430 * GUI.h: change policy of Character button controller to
1431 OkApplyCancelReadOnlyPolicy.
1433 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1435 * ControlToc.C (getContents): don't add anything to the list if it
1436 is supposed to be empty.
1438 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1440 * helper_funcs.C (getVectorFromString): bug fix.
1442 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1444 * ButtonController.h
1445 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1446 from ButtonControllerBase::readOnly. Updates the state of the widgets
1447 in the read-only list only when the read-only status of the document
1449 (refresh): moved this stuff into refreshReadOnly.
1451 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1453 * ControlPrint.C (c-tor):
1454 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1456 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1459 * character.h: small clean-ups.
1461 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1463 * ControlToc.C (getType): remove support for old float list.
1465 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1467 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1468 * ControlGraphics.h: no longer include insetgraphicsParams.h
1469 * ControlInset.h: no longer include LyXView.h
1474 * ControlCharacter.C:
1475 * ControlCitation.C:
1477 * ControlConnections.C:
1478 * ControlCopyright.C:
1481 * ControlExternal.C:
1482 * ControlGraphics.C:
1485 * ControlMinipage.C:
1486 * ControlPreamble.C:
1490 * ControlTabularCreate.C:
1492 * ControlVCLog.C: they're now in here!
1494 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1496 * ButtonControllerBase.h: C++ mode, inherit privately from
1498 * ButtonPolicies.h: ditto
1500 * ButtonController.h: C++ mode, swap init order of restore_ and
1503 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1505 * ControlTabularCreate.h:
1506 * ControlTabularCreate.C: make dialogs use a pair of uints
1510 * ControlVCLog.C: fill a stringstream with the log contents
1513 * ControlExternal.C: from Angus, clone the new InsetExternal
1516 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1518 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1519 and made more robust.
1521 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1526 * ControlPreamble.C:
1528 * ControlGraphics.C:
1529 * ControlExternal.C:
1530 * ControlCopyright.C: include gettext.h
1532 * ControlCharacter.C:
1533 * character.C: include gettext.h and language.h
1535 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1537 * ButtonController.h:
1538 * ButtonControllerBase.h:
1539 * ButtonControllerBase.C:
1546 * ControlConnections.h:
1549 * ControlExternal.C:
1552 * ViewBase.h: s/ControlButton/ControlButtons/
1554 s/UndoAll/Restore/ + associated
1556 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1558 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1561 * Makefile.am: associated changes with all of the above.
1563 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1565 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1566 and edit, view, update the External Material correctly. I hope!
1568 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1570 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1572 * BCTemplates.h: renamed as ButtonController.h
1574 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1577 * ControlConnections.h: associated change in #include and class names.
1579 * ControlExternal.[Ch]: new files; a controller for the External
1583 * Makefile.am: associated changes with all of the above.
1585 * ControlGraphics.[Ch]:
1586 * ControlInclude.[Ch]:
1587 * ControlPrint.[Ch]:
1589 (Browse): new method. Returns the results of a FileDialog browse.
1591 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1592 (getVectorFromString): fixed bug.
1594 * biblio.C (simpleSearch): cleaned up.
1596 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1598 * A slight reworking of Baruch Even's ButtonController patch.
1600 * BCTemplates.h: new file; all the templates for the ButtonController.
1601 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1602 to the more generic setButtonLabel().
1604 * ButtonController.[Ch]: renamed cancel_label and close_label as
1605 cancel_label_ and close_label_.
1607 * Makefile.am: added BCTemplates.h
1609 2001-03-29 Juergen Vigna <jug@sad.it>
1611 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1612 to use new %-lengths of LyXLength.
1614 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1616 * ControlCitation.C (bibkeysInfo): removed Assert.
1618 * ControlCopyright.h: moved GUICopyright into GUI.h
1622 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1624 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1625 (setDaughterParams): a (by default empty) new method called in show().
1631 * ControlMinipage.h:
1634 * ControlUrl.h (clearDaughterParams): removed
1636 * ControlMinipage.C (applyParamsToInset): update the view.
1637 Added namespace minipage containing a helper function getUnits.
1639 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1641 * ControlCharacter.[Ch]: moved out all the helper functions and the
1642 enum into their own file.
1643 * character.[Ch]: new files; contain the character helper functions,
1644 now inside namespace character.
1646 * ControlCitation.[Ch]: moved out all the helper functions and the
1647 enums into their own file. Simplified interface.
1648 * biblio.[Ch]: new files; contain the citation helper functions,
1649 now inside namespace biblio. Will be of use also to an improved
1652 * ControlGraphics.[Ch]:
1653 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1654 popups, respectively.
1657 * Makefile.am: associated changes.
1659 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1661 * ControlMinipage.[Ch]:
1662 * ControlPreamble.[Ch]:
1663 * ControlPrint.[Ch]:
1664 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1665 and Print popups and Splash screen, respectively.
1667 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1671 * Makefile.am: associated changes.
1673 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1675 * ControlConnections.[Ch]: (docType): new method; returns the type
1676 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1679 * ControlSearch.[Ch]:
1680 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1681 Search and TabularCreate popups, respectively.
1684 * Makefile.am: associated changes.
1686 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1688 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1691 * ControlInset.h (apply): fix bug. Can now create new insets again.
1693 * README: describe program flow.
1695 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1697 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1699 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1701 * ControlDialogs.h: moved class ControlInset into its own file.
1703 * ControlInset.h: new file. class ControlInset has been expanded to take
1704 two template parameters, Inset and Params. Believe that all inset
1705 controllers can be derived from this with the minimum of effort.
1707 * ControlBibitem.[Ch]:
1708 * ControlBibtex.[Ch]:
1709 * ControlCitation.[Ch]:
1710 * ControlCommand.[Ch]: moved most code into ControlInset.
1712 * lots of files. Moved protected stuff into private where possible.
1714 * ControlError.[Ch]:
1715 * ControlInclude.[Ch]:
1716 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1717 Include and Url popups, respectively.
1720 * Makefile.am: associated changes.
1722 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1724 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1727 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1729 * ControlCredits.C (getCredits): remove std:: qualifier for
1732 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1734 * ControlCredits.C (getCredits): add std:: on vector
1736 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1738 * ControlCredits.C: remove using that is only used once, use
1739 std::ios instead of std::iosbase, add some annoying comments.
1741 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1743 * lots of header files: improved explanatory notes.
1745 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1746 ControlBase is now a class that only controls the interaction of the
1747 View with the ButtonController.
1749 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1750 to ControlConnectBase. The class controls the connection/disconnection
1751 of signals from the LyX kernel and makes available the kernel (through
1752 lv_) to daughter controller classes.
1753 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1755 * ControlDialogs.h: new file. Contains the definition of two template
1756 controller classes, ControlDialog and ControlInset (was
1757 ControlConnectInset). ControlInset is a parent class for controllers
1758 of inset-popups. ControlDialogs is the rather uninspired name for
1759 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1760 ControlDialogs is reaching a state of maturity as several popups now use
1761 it and its functionality becomes clear. ControlInset is still in a state
1762 of flux. It is likely that functionality will be moved out of
1763 ControlCommands and into it.
1765 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1766 individual Controller header files and into one place. These classes
1767 serve only as convenient wrappers to simplify code in the respective
1768 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1770 * ControlCharacter.[Ch] (show, update, hide):
1771 * ControlLog.[Ch] (show, update, hide):
1772 * ControlVCLog.[Ch] (show, update, hide): moved back into
1773 the ControlDialogs base class.
1774 (setParams, clearParams): new methods containing controller-specific
1775 code to set/reset the parameters manipulated by the view.
1777 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1779 (hide): calls clearParams.
1781 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1782 by ControlCommand::hide().
1784 * ControlCopyright.[Ch]:
1785 * ControlCredits.[Ch]: new files; controllers for the copyright and
1786 credits popups, respectively.
1788 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1790 * ControlCharacter.C: fix typo
1792 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1794 * ControlCharacter.[Ch]: new files; controller for the character popup.
1796 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1797 moved to new files helper_funcs.[Ch].
1799 * helper_funcs.[Ch]: new files. Some useful helper functions and
1802 * Makefile.am: added new files.
1804 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1806 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1808 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1811 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1812 Control log files, respectively.
1814 * Makefile.am: added new files.
1816 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1818 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1820 * Makefile.am: added ControlBibtex.[Ch].
1822 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1825 * ControlCitation.C: added "using SigC::slot" declaration.
1827 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1828 to FormCitation.C prior to the merger: "Do not put space between
1831 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1833 * several files: remove CXX_WORKING_NAMESPACES
1835 * ButtonController.h: noncopyable is in namespace boost
1836 * ButtonPolicies.h: ditto
1838 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1840 * Merging changes from BRANCH_MVC back into HEAD.
1842 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1844 * Makefile.am: add ControlBibitem.[Ch].
1846 * ControlBibitem.[Ch]: new files that together define the Controller
1847 for a Bibitem popup.
1849 * ControlCommand.h (c-tor): give kb_action a default value of
1852 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1854 * ControlCitation.[Ch]: moved search functions out of class.
1855 (bibkeysInfo): new method. Returns const reference to private data.
1856 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1859 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1861 * ControlCitation.[Ch]: added Search functions to the class,
1862 (shamelessly lifted from Marco's gnome code). I think that these would
1863 be better as helper functions outside the class, but this is a first
1866 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1868 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1870 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1871 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1872 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1873 implementation of FormCitation.
1875 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1877 * ButtonPolicies.h: add SMI_NOOP to enum.
1879 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1881 * ButtonController.C (input): add "optimising" if-statement. Actually,
1882 things don't work correctly without it...
1884 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1886 * ViewBase.h: remove #pragma directive
1888 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1891 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1893 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1895 * Makefile.am: added ButtonPolicies.[Ch]
1897 * ButtonController.[Ch]: ButtonController is split into
1898 ButtonControllerBase and a template ButtonController class. The base
1899 class no longer stores a pointer to a ButtonPolicy, but instead
1900 accesses the actual instantiation of the policy through a pure virtual
1901 method bp(). This method and the ButtonPolicy itself are instantiated
1902 in the templatised ButtonController class. This class is derived from
1903 the GUI-specific GUIBC class, meaning that the frontends know
1904 nothing about the actual policy decided upon by the controllers.
1906 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1907 Instead the actual instantiations are accessed through pure virtual
1908 methods view() and bc(). The daughter classes are responsible for the
1909 actual View and ButtonController.
1911 * ControlCitation.h: the templatised class GUICitation instantiates
1912 the methods view() and bc(). It also stores the instances of the
1913 View and ButtonController.
1915 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1917 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1918 also changed to ButtonController.
1921 * ControlConnections.[Ch]:
1922 * ControlCommand.[Ch]:
1923 * ControlCitation.[Ch]:
1924 * ViewBase.h: Changes associated with this.
1926 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1928 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1929 xforms/ButtonController class into a GUI-I class (here) and an
1930 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1932 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1933 from which all Dialog Controllers should be derived. the Controllers
1934 are GUI-independent, but are designed to control the behaviour of
1935 GUI-specific implementaions of each dialog.
1937 * ControlConnections.[Ch]: new files. Classes controlling the
1938 connections of buffer-independent, buffer-dependent and Inset dialogs
1939 with the LyX kernel.
1941 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1942 InsetCommand subset of insets.
1944 * ControlCitation.[Ch]: new files. The test specialisation! A
1945 controller for the Citation dialog.
1947 * ViewBase.h: new file. ViewBase is an abstract base class from which
1948 GUI-specific dialogs should be derived. The functionality that the GUIs
1949 must now implement is much reduced.