1 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3 * ControlPrint.[Ch]: move code here from Liason.[Ch].
5 * ControlSpellchecker.h (getCount): new method.
6 * ControlSpellchecker.[Ch]: constify some accessor methods.
8 2002-10-22 Angus Leeming <leeming@lyx.org>
10 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
11 alphabetical order once again.
13 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
14 Add a list of CheckedWidget ptrs to ButtonControllerBase
15 together with methods addCheckedWidget and checkWidgets to use it.
17 * ButtonController.tmpl (refresh): use the return value of
18 checkWidgets to control the activation state of the Ok, Apply, Restore
21 * ControlDialog.tmpl (show, update):
22 * ControlInset.tmpl (showInset, update):
23 invoke ButtonController::refresh to ensure that the activation state of
24 the Ok, Apply buttons reflects the valid-state of the widgets.
26 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * tex_helpers.C (rescanTexStyles): don't pop p
31 * ControlWrap.C (WrapParms): remove initialization of placement,
32 and move empty c-tor to .h class def.
34 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
35 of on stringsteam, return void. Get the file into the stream as
38 * ControlPreamble.[Ch] (params): getter and setter for params_, make
39 params_ into a string, not just a pointer to string.
41 * ControlExternal.C (getTemplateNumber): put i into the for scope,
42 and use the sequence operator on the last for "parameter"
43 (getTemplate): use std::advance to advance the iterator.
45 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
46 instead of on a stringstream, return void. Get the file into the
47 stream as fast as possible.
48 (getVersion): use ostringstream
50 * lots of files: ws changes, formatting fixes
52 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
54 * ControlCharacter.C (apply): setMinibuffer change
55 * ControlDocument.C (apply): ditto
57 * ControlThesaurus.C (replace): ditto
58 * ControlSearch.C (find): ditto
60 * ControlPreamble.C (apply): ditto
61 * ControlParagraph.C (apply): ditto
63 2002-10-14 André Pönitz <poenitz@gmx.net>
65 * ControlDocument.C: somebody else's fix for a hard lockup
67 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
71 * Makefile.am: New document parameters controller
73 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
77 2002-09-24 Angus Leeming <leeming@lyx.org>
79 * ControlConnections.h: remove trailing whitespace.
81 * biblio.h: #include "LString.h".
83 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
85 * ControlGraphics.C: Change GUI origin strings into proper English.
87 2002-09-09 John Levon <levon@movementarian.org>
89 * ControlInclude.C: fix file masks. Get rid of noload,
92 2002-09-09 John Levon <levon@movementarian.org>
95 * ControlMath.C: add latex_deco
97 2002-09-06 John Levon <levon@movementarian.org>
99 * ControlMath.C: terminate dots
101 2002-09-05 Angus Leeming <leeming@lyx.org>
103 * all files: modify the headers as discussed on the list.
105 2002-08-30 John Levon <levon@movementarian.org>
108 * ControlMath.C: moved from MathsSymbols.C
110 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
112 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
114 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
116 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
117 first item in the list
119 2002-08-15 Angus Leeming <leeming@lyx.org>
121 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
123 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
125 2002-08-15 Angus Leeming <leeming@lyx.org>
127 * lots: changed my email address to leeming@lyx.org.
129 * GUI.h: return it to private derivation from boost::noncopyable.
131 2002-08-14 Angus Leeming <leeming@lyx.org>
133 * GUI.h: public derivation from boost::noncopyable.
135 2002-08-14 Angus Leeming <leeming@lyx.org>
137 * GUI.h: class GUI deries from boost::noncopyable
139 * ControlButtons.h: no longer derives from DialogBase, but instead
140 derives directly from boost::noncopyable.
142 * ViewBase.h: derives from boost::noncopyable.
144 * ControlCharacter.C:
146 * ControlConnections.C:
149 * ControlParagraph.C:
153 * ControlSpellchecker.C:
155 * ControlThesaurus.C:
156 rearrange #includes. Remove unnecessary ones.
158 * ControlError.h: add "insets/inseterror.h".
160 * helper_funcs.h: add necessary #includes.
162 * tex_helpers.[Ch]: add #pragma directives for g++.
164 * Makefile.am: remove src/frontends from -I list to compiler.
166 2002-08-13 Angus Leeming <leeming@lyx.org>
168 * ControlConnections.C:
170 changes due to the changed LyXView interface that now returns references
171 to member variables not pointers.
173 2002-08-12 Angus Leeming <leeming@lyx.org>
175 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
176 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
177 for the most commonly accessed core methods, to minimise code
180 * many files: use these wrappers and remove associated #includes.
182 2002-08-12 Angus Leeming <leeming@lyx.org>
184 * ControlButtons.[Ch] (bc, view): no longer virtual.
185 (setView, setButtonController): new methods, invoked by GUI.
187 * ControlDialog.h (show):
188 * ControlInset.h (createInset, showInset): make public, so that GUI can
191 * GUI.h: GUI now contains a controller, rather than deriving from it.
192 remove all those friend functions since we can now access the show,
193 createInset, showInset controller methods.
195 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
198 * character.h: #include a couple of STL files.
200 2002-08-08 John Levon <levon@movementarian.org>
202 * ControlCommandBuffer.C: LyXAction cleanup
204 2002-08-07 John Levon <levon@movementarian.org>
206 * ControlSpellchecker.C: fix crash when spellchecker doesn't
209 2002-08-06 John Levon <levon@movementarian.org>
211 * ControlSpellchecker.C:
212 * ControlSpellchecker.h: use WordLangTuple
214 2002-08-06 John Levon <levon@movementarian.org>
216 * ControlSpellchecker.C: show an alert with the
217 error message on initialisation failure
219 2002-08-04 John Levon <levon@movementarian.org>
221 * ControlSpellchecker.h:
222 * ControlSpellchecker.C: some cleanups
224 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
226 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
228 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
229 the Dialogs::updateParagraph signal is emitted.
231 2002-08-02 Angus Leeming <leeming@lyx.org>
233 * ControlCharacter.C (apply):
234 * ControlERT.C (applyParamsToInset):
235 * ControlParagraph.C (apply):
236 * ControlSearch.C (find, replace):
237 * ControlThesaurus.C (replace): changes due to LyXView::view() now
238 returning a boost::shared_ptr.
240 2002-08-01 John Levon <levon@movementarian.org>
242 * ControlSendto.C: writeFile() change
244 2002-08-01 John Levon <levon@movementarian.org>
246 * ControlSpellchecker.h:
247 * ControlSpellchecker.C: remove options
249 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * several files: strip,frontStrip -> trim,ltrim,rtrim
253 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * biblio.C (parseBibTeX): modify because of strip changes
257 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
259 * ControlFloat.[Ch]: Implement Wide Float toggle
260 Replace "allow_here_definitely" by "wide"
262 2002-07-22 Herbert Voss <voss@lyx.org>
264 * ControlGraphics.C: small changes
266 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
268 * ControlToc.C: remove getType
270 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
272 * ControlCommandBuffer.C: don't add "" to history
274 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
276 * ControlRef.C: fix dispatch call nicely
278 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
281 * ControlCommandBuffer.h:
282 * ControlCommandBuffer.C: add controller for command (mini) buffer
285 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
287 * ControlRef.C: fix dispatch call
289 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
291 * ControlCharacter.C: use view_state_changed not setState
293 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
295 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
297 2002-07-15 Mike Fabian <mfabian@suse.de>
299 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
300 of compare_no_case, because in turkish, 'i' is not the lowercase
301 version of 'I', and thus turkish locale breaks parsing of tags.
303 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * ControlBibtex.C (applyParamsToInset): ws change
307 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
309 * ControlInclude.C: Add warning if absolute path name and
310 check_typeset is used together
312 2002-06-28 Angus Leeming <leeming@lyx.org>
314 * ControlGraphics.C: changes associated with the name changes
315 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
317 2002-06-25 Angus Leeming <leeming@lyx.org>
319 * ControlGraphics.C (readBB): Channges associated with the changed
320 interface to the graphics cache.
322 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
324 * ControlParagraph.C: layout as layout
326 2002-06-21 Angus Leeming <leeming@lyx.org>
328 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
329 * tex_helpers.h: #include "LString.h".
331 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
334 * ControlBibitem.C: use repaint()
336 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
338 * ControlTexinfo.C: do the same for Texinfo
340 * tex_helpers.C: don't try to read a file that isn't there
342 2002-06-21 Herbert Voss <voss@perce.de>
344 * ControlBibtex.C: do an automatic update, when no bst-list
347 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
349 * GUI.h: createIndex() changed
351 2002-06-18 Herbert Voss <voss@perce.de>
353 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
354 helperstuff. Now the bibtex gui can use some of these functions
356 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
358 * ControlGraphics.C: just make the mask *.*
360 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * changes to simplify function setup, removal of a lot of includes.
364 2002-06-12 Angus Leeming <leeming@lyx.org>
366 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
368 2002-06-12 Angus Leeming <leeming@lyx.org>
370 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
372 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
374 * ControlParagraph.[Ch]: new paragraph controller
375 * GUI.h: add new controller
378 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
380 * GUI.h: do not include ButtonController.tmpl
382 * ControlInset.h: include ControlInset.tmpl
384 * ControlCitation.C: do not include ControlInset.tmpl
385 * ControlCommand.C: ditto
386 * ControlERT.C: ditto
387 * ControlError.C: ditto
388 * ControlExternal.C: ditto
389 * ControlFloat.C: ditto
390 * ControlGraphics.C: ditto
391 * ControlInclude.C: ditto
392 * ControlMinipage.C: ditto
394 * ControlDialog.tmpl: remove the Base:: prefix
396 2002-06-07 Angus Leeming <leeming@lyx.org>
398 Fixes needed to compile with Compaq cxx 6.5.
399 * ControlDialog.tmpl: I have had to prefix base class methods with
402 * ControlInset.tmpl: #include a couple of headers.
404 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
406 * switch from SigC signals to boost::signals
408 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
410 * biblio.h: include vector
412 * biblio.C: change include order
413 (regexSearch): use boost regex and get rid of LRegex
415 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
420 * ControlCharacter.C:
423 * ControlConnections.C:
440 * ControlSpellchecker.C:
441 * ControlTabularCreate.C:
443 * ControlThesaurus.C:
446 * ControlVCLog.C: LyXView moved into frontends
448 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * ControlExternal.C: add scoped_ptr.hpp
452 * ControlCharacter.h: use more specific smart_ptr header.
454 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
456 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
458 2002-05-13 Herbert Voss <voss@perce.de>
460 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
461 like "Odland, G. and ... "
462 (parseBibTeX): fix bug with title and booktitle
463 and replace a \n with a space when one entry has more than
466 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
468 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
469 "No change" and "Reset".
471 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
472 them at the front of the list.
474 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
476 * ControlGraphics.C: add some comments to the char * arrays.
477 Make rorigin_size const.
479 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
481 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
482 Enables the gui's to internationalise these strings.
484 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
486 * frnt_lang.C: fix build
488 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
490 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
491 If the the caller is the character dialog, add "No change" and "Reset"
492 to the vector, else don't.
493 Internationalise the GUI strings here rather than in the different
495 Sort the translated strings, albeit simply.
497 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
499 * character.[Ch]: rename namespace character as namespace frnt.
501 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
502 as several dialogs will use this info. The function now returns a
503 vector<LanguagePair> where LanguagePair is a display string and an
504 identifying string. The display string is internationalised.
506 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
507 the identifying strings, "No change" and "Reset".
509 * Makefile.am: add frnt_lang.[Ch].
511 2002-04-25 Herbert Voss <voss@lyx.org>
513 * ControlSendto.C (allFormats): don't add the graphics extensions to the
516 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
518 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
519 BibTeX databases in a WYSIWYM way.
521 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
523 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
524 way past his use-by date.
525 Make use of the improved info from Buffer::getBibkeyList when using
526 \bibliography. Enables us to provide natbib support in this case too.
528 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
530 * ControlGraphics.C: pass the browseFile dialog a string of only those
531 formats that can currently be loaded by LyX.
533 2002-04-15 Herbert Voss <voss@perce.de>
535 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
536 with something like ,,...blah...`` (two commas)
538 2002-04-14 Herbert Voss <voss@perce.de>
540 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
541 into the support/lstrings for better use in other programs.
543 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
544 namespace anon and make globally accessible.
545 (familyName): test for the presence of a LaTeX Space at the front of
546 of a name; strip it if it exists.
548 2002-04-11 Herbert Voss <voss@perce.de>
550 * ControlGraphics.C: expand "browse-string" to all available formats
552 2002-04-11 Herbert Voss <voss@perce.de>
554 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
556 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
558 * ControlAboutlyx.C (getVersion): two _() forgotten
560 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
564 * ControlBibtex.C: make N_() be _()
566 2002-04-07 Herbert Voss <voss@perce.de>
568 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
570 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
572 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
573 used when reading the BB.
575 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
577 * ControlGraphics.C (readBB): Don't open the ifstrem and then
578 check the format from the contents (and open a second ifstream in the
579 process. One at a time please.
581 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
583 * ControlRef.C (getBufferNum): squash warning message.
585 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
587 * ControlBibtex.C (Browse):
588 * ControlGraphics.C (Browse):
589 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
591 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
593 * ControlGraphics.C (applyParamsToInset): pass filepath to
594 InsetGraphics::updateInset.
596 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
598 * most files: ws cleanup
600 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
602 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
605 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
608 * ControlInclude.C: better error messages
610 2002-03-11 Herbert Voss <voss@lyx.org>
612 * biblio.C (parseBibTeX): fix another minibug with an
615 2002-03-10 Herbert Voss <voss@lyx.org>
617 * biblio.C (parseBibTeX): fix bug
618 (familyName): improve parsing
620 2002-03-09 Herbert Voss <voss@lyx.org>
622 * ControlGraphics.[Ch]: adding checkFilename() for testing
623 of non-existing files
625 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
627 * ControlSendto.C (allFormats): fix a iterators are not pointers
630 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
632 * ControlShowFile.h: add a #include "LString.h"
634 2002-03-05 Herbert Voss <voss@lyx.org>
636 * biblio.C (getInfo): simplify if using paragraph layout
639 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
641 * biblio.C (getInfo): return the info field correctly if the key
643 (parseBibTeX): fix crash when data.find('=') returns string::npos.
645 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
647 * ControlForks.[Ch]: new files. A controller for the Forked Child
648 processes dialog, enabling the user to see what forked processes
649 are running, and, if he so desires, to kill them.
651 * GUI.h: add class GUIForks.
653 * Makefile.am: add ControlForks.[Ch].
655 * ControlGraphics.C (getParams): small change due to change in
658 2002-02-21 Herbert Voss <voss@lyx.org>
660 * biblio.C: fix bug with commentlines in a bibentry
662 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
664 * Makefile.am: simpler obj. file compile
666 2002-02-18 Herbert Voss <voss@lyx.org>
668 * ControlGraphics.[Ch]: remove help-file call
670 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
672 * helper_funcs.h: wrap the structs firster and seconder up in a
673 namespace to avoid clashes with those in lyxalgo,h.
675 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
676 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
678 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
680 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
683 change Systemcalls::System to Systemcalls::Wait and
684 No change of functionality, just reflects the stripped down Systemcalls
687 2002-02-06 Herbert Voss <voss@lyx.org>
689 * ControlGraphics.[C] (readBB): search also in
690 g'zipped files. If it is useful than PK and compress
691 should also be supported. use unzipFile() from
694 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
696 * ControlRef.C (getBufferName): new method to get a real buffer
699 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
701 * ControlTexInfo.[Ch]: Removed Help functions.
703 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
705 * ControlSpellchecker.C: clear any selection left
708 2002-02-01 Herbert Voss <voss@lyx.org>
710 * ControlGraphics.[C] (readBB): search only, if it is a
711 ".?ps" file and look for bb's at end of file
713 2002-01-30 Herbert Voss <voss@lyx.org>
715 * ControlGraphic.[C]: do not search the whole file, when
718 2002-01-29 Herbert Voss <voss@lyx.org>
720 * ControlGraphic.[C]: added a button for document path
721 when browsing -> bug 222
723 2002-01-27 Herbert Voss <voss@lyx.org>
725 * ControlGraphic.[Ch]: added support for Bounding Box, other
728 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
731 * ControlTexinfo.h: added #include "LString.h" where they belong.
733 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
736 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
738 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
740 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
743 2002-01-20 Herbert Voss <voss@perce.de>
745 * ControlInclude.[Ch]: better control of unexistings files
746 when entered without the browser
748 * ControlGraphic.C (Browse): add extension "ps" when browsing for
751 2002-01-19 Herbert Voss <voss@perce.de>
753 * biblio.C (getInfo): fix bug when no author is given
755 * biblio.C (parseBibTeX): change the parsing, so that
756 '#'-characters in a bibtex entry are no more a problem.
758 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
760 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
761 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
763 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
765 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
767 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
769 * ControlExternal.C (Browse): add a std:: qualifier
771 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
773 * ControlExternal.C (Browse): simplify to use browseRelFile
775 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
777 * ButtonController.tmpl: added // -*- C++ -*-
779 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
780 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
781 Needed in _one_ of the ControlCommand-derived classes only.
783 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
786 * ControlSearch.h: #include LString.h
788 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
790 * ButtonController.h: split into two. The definition remains in
791 ButtonController.h, the declaration is now in ButtonController.tmpl.
792 These template methods should be #included when the derived class is
793 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
794 and in the qt2 and gnome equivalents.
796 * ControlDialogs.h: removed. The definition of class ControlDialog is
797 now to be found in ControlDialog.h and the declaration of the methods
798 is in ControlDialog.tmpl. The two template instantiations are performed
799 in ControlDialog_impl.[Ch], new files also.
801 * ControlInset.h: split into two. The definition remains in
802 ControlInset.h, the declaration is now in ControlInset.tmpl.
803 These template methods should be #included derived class is
804 instantiated, in this case in 8 other .C files in this directory.
806 * ControlAboutlyx.[Ch]:
807 * ControlCharacter.[Ch]:
817 * ControlPreamble.[Ch]:
819 * ControlSearch.[Ch]:
820 * ControlShowFile.[Ch]:
821 * ControlSpellchecker.[Ch]:
822 * ControlTabularCreate.[Ch]:
823 * ControlTexinfo.[Ch]:
824 * ControlThesaurus.[Ch]:
825 * ControlVCLog.[Ch]: small changes associated with the above ones.
827 * GUI.h: #include the ButtonController and dialog controller files
828 here, rather than forward declare them. This is the correct place
831 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
832 Rename ControlDialogs.h as ControlDialog.h.
833 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
836 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
838 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
840 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
842 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
845 * ControlGraphics.C (Browse): remove overzealous shortcut
847 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
849 * FormMinipage.C (apply, update): MinipageParams::width renamed
850 as MinipageParams::pageWidth. InsetMinipage::width renamed
851 as InsetMinipage::pageWidth.
853 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
855 * ButtonController.h (refreshReadOnly): use explicit typename
857 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
859 * helper_funcs.h (browseFile): add default empty button descriptions.
861 * ControlGraphics.C (Browse):
862 * ControlBibtex.C (Browse):
863 * ControlInclude.C (Browse): add shortcuts to directory buttons
865 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
867 * ControlThesaurus.h:
868 * ControlThesaurus.C: update to Aiksaurus 0.14
870 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
872 * ControlSpellchecker.C (clearParams): show the closing message
873 only if some words have been checked, thereby fixing
876 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
878 * ControlFloat.[Ch]: changes to prevent here definitely being used
881 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
883 * ControlThesaurus.h: do not include <config.h> in header files
885 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
887 * ControlToc.C: changes for floatlist
889 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
891 * ControlVCLog.C: use _()
893 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
895 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
898 2001-10-22 Juergen Vigna <jug@sad.it>
900 * ControlSpellchecker.C (clearParams): use the error_ message of the
901 speller_ if available when the spellchecker died.
902 (setParams): remove double error message display.
904 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
906 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
908 * helper_funcs.[Ch] (getLatexUnits): see above.
910 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
912 * ControlTexinfo.C (getContents): use the right file for .sty files
914 2001-10-10 Herbert Voss <voss@perce.de>
916 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
917 and some more stuff from FormTexinfo.C
919 * ControlShowFile.C: hiding the update-button
921 2001-10-09 Herbert Voss <voss@perce.de>
923 * ControlTexinfo.[Ch]: new files. Display information about the
924 installed texfiles (cls,sty,bst).
926 * ControlShowFile.[Ch]: new files. Display the contents of a file.
928 * GUI.h: added classes GUIShowFile and GUITexinfo.
930 * Makefile.am: modified appropriately.
932 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
934 * ControlAboutlyx.C (getVersion): use lyx_version and
935 lyx_release_date instead of old macros
937 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
939 * ControlSpellchecker.C (check): Behaves well now when the spell
940 library doesn't know a replacement to an incorrect word.
942 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
945 the correct place. Can now check spelling more than once!
947 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
949 * ControlSplash.[Ch]: removed.
951 * GUI.h: remove GUISplash class.
953 * ViewBase.h: remove ViewSplash class.
955 * Makefile.am: remove ControlSplash.[Ch].
957 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
959 * ControlButtons.h: add variable emergency_exit_. If set to true, the
960 view will be shut down.
963 * ControlInset.h: act on emergency_exit_.
965 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
966 speller fails to launch.
968 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
970 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
971 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
973 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
975 * ControlRef.h (disconnectOnApply): new method. Set to true.
976 Perhaps make this user-modifiable?
978 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
980 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
983 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
985 * ControlRef.C (getBufferList, getBufferNum): New methods
987 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
989 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
990 of the dialog when the Apply button is pressed. Defaults to false,
991 but can be overridden in the daughter classes.
993 * ControlCitation.h (disconnectOnApply): new method. Set to true.
994 Perhaps make this user-modifiable?
996 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
998 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
999 we have dialogs that update their contents when the buffer changes.
1000 Rather embarassing, really!
1002 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1004 * ControlSearch (replace): change semantics of replace to NOT move on
1005 to the next instance of a word once the present instance has been
1006 replaced unless we are replacing ALL instances of the word.
1008 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1010 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1012 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1014 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1015 dialog, set all options to "reset", close the dialog, re-open it ->
1016 the options are set incorrectly.
1018 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1019 When Applying it's useful to know whether the dialog is about to close
1020 or not (no point refreshing the display for example).
1022 * ControlInset.C (apply): use isClosing.
1024 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1027 * ControlDialogs.h: remove bc() hack, now fixed in
1028 Qt2 frontend. use member dialog_built_ instead of shared
1031 * ButtonController.h:
1032 * ButtonPolicies.C: more debug info
1034 * ButtonControllerBase.C: call refresh() when setting readOnly !
1036 * GUI.h: External form has apply, use the right policy
1038 * character.C: fix two off-by-one errors when latex font was removed
1040 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1042 * ControlInset.h (apply): tentative fix for the press Apply multiple
1043 times and get multiple new Insets problem.
1045 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1047 * ControlCharacter.C: fix typo
1051 * ControlInsets.C: make sure dialog is built before it is shown, so
1052 it works properly the very first time it is shown
1054 2001-08-20 Herbert Voss <voss@perce.de>
1056 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1057 and styles. Added an option for "bibliography into toc"
1059 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1061 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1062 LaTeX is no longer a font property.
1064 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1066 * GUI.h: Button controller for Reference dialog changed to
1067 NoRepeatedApplyReadOnlyPolicy.
1069 * biblio.C (getInfo): output volume and number info. Move year to end
1072 2001-08-09 Allan Rae <rae@lyx.org>
1074 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1076 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1078 * helper_funcs.C (getVectorFromString): fixed small bug.
1080 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1082 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1084 * ControlSpellchecker.C: check next word after insert in personal dict
1086 2001-08-06 Juergen Vigna <jug@sad.it>
1088 * ControlERT.[Ch]: new file
1090 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1092 * ControlInset.h: const and non-const forms of params().
1094 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1095 whitespace from either side of each item.
1097 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlFloat.h: add a != operator for FloatParams.
1100 Lars, how did you get this to compile!!!
1102 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1103 operator != for MinipageParams. Who's changing stuff and not compiling?
1105 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1107 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1110 * GUI.h: add class GUIFloat
1112 * ControlFloat.[Ch]: new files
1114 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1116 * ControlPrint.C: #include Lassert.h here.
1118 2001-07-26 Baruch Even <baruch@lyx.org>
1120 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1123 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1125 * ControlThesaurus.h:
1126 * ControlThesaurus.C:
1128 * Makefile.am: thesaurus support
1130 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1133 * ControlInclude.C: implement ability to load file
1135 2001-07-18 Juergen Vigna <jug@sad.it>
1137 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1139 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1141 * biblio.C (getInfo): add a .c_str() to handle the usual
1144 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1146 * ControlCitation.[Ch]: changes associated with adding natbib support.
1147 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1148 New static variable citeStyles_.
1150 * biblio.[Ch]: large internal rearrangement.
1151 New public enum CiteStyle.
1152 New public struct CitationStyle.
1153 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1154 getNumericalStrings, getAuthorYearStrings
1155 (simpleSearch, regexSearch): no longer publicly accessible.
1157 * helper_funcs.C (getStringFromVector): bug fix.
1159 2001-07-16 Baruch Even <baruch@lyx.org>
1161 * ControlVCLog.h: Added Lsstream.h to includes.
1163 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1165 * ControlSpellchecker.[Ch]: remove d-tor.
1167 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1169 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1171 2001-07-16 Juergen Vigna <jug@sad.it>
1173 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1174 compiled with USE_PSPELL) to be able to switch between ISpell and
1177 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1179 Consistent use of Lsstream.h:
1180 * ControlAboutlyx.[Ch] (getCredits):
1181 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1183 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1185 * ControlCredits.[Ch]: removed
1186 * ControlCopyright.[Ch]: removed
1187 * ControlAboutlyx.[Ch]: added (replaces previous)
1188 * GUI.h: removed credits and copyright added about lyx stuff
1190 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1192 * ControlSpellchecker.C (getSuggestion):
1193 (getWord): add std:: qualifier
1195 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1197 * ControlSpellchecker.[Ch]: added
1198 * ViewBase.h: added partialUpdate(int) member
1199 * GUI.h: added spell stuff
1201 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1203 * ControlExternal.C: (*it). -> it->
1205 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1207 * ButtonController.h: move some included header files out of the
1208 frontends and into here.
1210 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1212 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1214 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1216 * *.[h]: added // -*- C++ -*-
1217 * *.[C]: removed // -*- C++ -*-
1219 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1220 activate Apply button.
1221 (clearParams): removed.
1222 font_ is now stored as a boost::scoped_ptr.
1223 font_ is no longer deleted on hide(), so it's contents can now be used
1224 by the Font button on the toolbar.
1225 Lots of new methods so that the GUI can easily get the contents of
1226 font_ when it update()s.
1228 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1230 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1231 crash when the Font button on the Toolbar is pressed.
1233 * GUI.h: change policy of Character button controller to
1234 OkApplyCancelReadOnlyPolicy.
1236 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1238 * ControlToc.C (getContents): don't add anything to the list if it
1239 is supposed to be empty.
1241 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1243 * helper_funcs.C (getVectorFromString): bug fix.
1245 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1247 * ButtonController.h
1248 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1249 from ButtonControllerBase::readOnly. Updates the state of the widgets
1250 in the read-only list only when the read-only status of the document
1252 (refresh): moved this stuff into refreshReadOnly.
1254 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1256 * ControlPrint.C (c-tor):
1257 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1259 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1262 * character.h: small clean-ups.
1264 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1266 * ControlToc.C (getType): remove support for old float list.
1268 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1270 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1271 * ControlGraphics.h: no longer include insetgraphicsParams.h
1272 * ControlInset.h: no longer include LyXView.h
1277 * ControlCharacter.C:
1278 * ControlCitation.C:
1280 * ControlConnections.C:
1281 * ControlCopyright.C:
1284 * ControlExternal.C:
1285 * ControlGraphics.C:
1288 * ControlMinipage.C:
1289 * ControlPreamble.C:
1293 * ControlTabularCreate.C:
1295 * ControlVCLog.C: they're now in here!
1297 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1299 * ButtonControllerBase.h: C++ mode, inherit privately from
1301 * ButtonPolicies.h: ditto
1303 * ButtonController.h: C++ mode, swap init order of restore_ and
1306 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1308 * ControlTabularCreate.h:
1309 * ControlTabularCreate.C: make dialogs use a pair of uints
1313 * ControlVCLog.C: fill a stringstream with the log contents
1316 * ControlExternal.C: from Angus, clone the new InsetExternal
1319 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1321 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1322 and made more robust.
1324 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1329 * ControlPreamble.C:
1331 * ControlGraphics.C:
1332 * ControlExternal.C:
1333 * ControlCopyright.C: include gettext.h
1335 * ControlCharacter.C:
1336 * character.C: include gettext.h and language.h
1338 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1340 * ButtonController.h:
1341 * ButtonControllerBase.h:
1342 * ButtonControllerBase.C:
1349 * ControlConnections.h:
1352 * ControlExternal.C:
1355 * ViewBase.h: s/ControlButton/ControlButtons/
1357 s/UndoAll/Restore/ + associated
1359 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1364 * Makefile.am: associated changes with all of the above.
1366 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1368 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1369 and edit, view, update the External Material correctly. I hope!
1371 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1373 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1375 * BCTemplates.h: renamed as ButtonController.h
1377 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1380 * ControlConnections.h: associated change in #include and class names.
1382 * ControlExternal.[Ch]: new files; a controller for the External
1386 * Makefile.am: associated changes with all of the above.
1388 * ControlGraphics.[Ch]:
1389 * ControlInclude.[Ch]:
1390 * ControlPrint.[Ch]:
1392 (Browse): new method. Returns the results of a FileDialog browse.
1394 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1395 (getVectorFromString): fixed bug.
1397 * biblio.C (simpleSearch): cleaned up.
1399 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1401 * A slight reworking of Baruch Even's ButtonController patch.
1403 * BCTemplates.h: new file; all the templates for the ButtonController.
1404 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1405 to the more generic setButtonLabel().
1407 * ButtonController.[Ch]: renamed cancel_label and close_label as
1408 cancel_label_ and close_label_.
1410 * Makefile.am: added BCTemplates.h
1412 2001-03-29 Juergen Vigna <jug@sad.it>
1414 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1415 to use new %-lengths of LyXLength.
1417 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1419 * ControlCitation.C (bibkeysInfo): removed Assert.
1421 * ControlCopyright.h: moved GUICopyright into GUI.h
1425 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1427 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1428 (setDaughterParams): a (by default empty) new method called in show().
1434 * ControlMinipage.h:
1437 * ControlUrl.h (clearDaughterParams): removed
1439 * ControlMinipage.C (applyParamsToInset): update the view.
1440 Added namespace minipage containing a helper function getUnits.
1442 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1444 * ControlCharacter.[Ch]: moved out all the helper functions and the
1445 enum into their own file.
1446 * character.[Ch]: new files; contain the character helper functions,
1447 now inside namespace character.
1449 * ControlCitation.[Ch]: moved out all the helper functions and the
1450 enums into their own file. Simplified interface.
1451 * biblio.[Ch]: new files; contain the citation helper functions,
1452 now inside namespace biblio. Will be of use also to an improved
1455 * ControlGraphics.[Ch]:
1456 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1457 popups, respectively.
1460 * Makefile.am: associated changes.
1462 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1464 * ControlMinipage.[Ch]:
1465 * ControlPreamble.[Ch]:
1466 * ControlPrint.[Ch]:
1467 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1468 and Print popups and Splash screen, respectively.
1470 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1474 * Makefile.am: associated changes.
1476 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1478 * ControlConnections.[Ch]: (docType): new method; returns the type
1479 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1482 * ControlSearch.[Ch]:
1483 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1484 Search and TabularCreate popups, respectively.
1487 * Makefile.am: associated changes.
1489 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1491 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1494 * ControlInset.h (apply): fix bug. Can now create new insets again.
1496 * README: describe program flow.
1498 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1500 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1502 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1504 * ControlDialogs.h: moved class ControlInset into its own file.
1506 * ControlInset.h: new file. class ControlInset has been expanded to take
1507 two template parameters, Inset and Params. Believe that all inset
1508 controllers can be derived from this with the minimum of effort.
1510 * ControlBibitem.[Ch]:
1511 * ControlBibtex.[Ch]:
1512 * ControlCitation.[Ch]:
1513 * ControlCommand.[Ch]: moved most code into ControlInset.
1515 * lots of files. Moved protected stuff into private where possible.
1517 * ControlError.[Ch]:
1518 * ControlInclude.[Ch]:
1519 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1520 Include and Url popups, respectively.
1523 * Makefile.am: associated changes.
1525 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1527 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1530 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1532 * ControlCredits.C (getCredits): remove std:: qualifier for
1535 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1537 * ControlCredits.C (getCredits): add std:: on vector
1539 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1541 * ControlCredits.C: remove using that is only used once, use
1542 std::ios instead of std::iosbase, add some annoying comments.
1544 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1546 * lots of header files: improved explanatory notes.
1548 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1549 ControlBase is now a class that only controls the interaction of the
1550 View with the ButtonController.
1552 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1553 to ControlConnectBase. The class controls the connection/disconnection
1554 of signals from the LyX kernel and makes available the kernel (through
1555 lv_) to daughter controller classes.
1556 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1558 * ControlDialogs.h: new file. Contains the definition of two template
1559 controller classes, ControlDialog and ControlInset (was
1560 ControlConnectInset). ControlInset is a parent class for controllers
1561 of inset-popups. ControlDialogs is the rather uninspired name for
1562 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1563 ControlDialogs is reaching a state of maturity as several popups now use
1564 it and its functionality becomes clear. ControlInset is still in a state
1565 of flux. It is likely that functionality will be moved out of
1566 ControlCommands and into it.
1568 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1569 individual Controller header files and into one place. These classes
1570 serve only as convenient wrappers to simplify code in the respective
1571 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1573 * ControlCharacter.[Ch] (show, update, hide):
1574 * ControlLog.[Ch] (show, update, hide):
1575 * ControlVCLog.[Ch] (show, update, hide): moved back into
1576 the ControlDialogs base class.
1577 (setParams, clearParams): new methods containing controller-specific
1578 code to set/reset the parameters manipulated by the view.
1580 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1582 (hide): calls clearParams.
1584 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1585 by ControlCommand::hide().
1587 * ControlCopyright.[Ch]:
1588 * ControlCredits.[Ch]: new files; controllers for the copyright and
1589 credits popups, respectively.
1591 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1593 * ControlCharacter.C: fix typo
1595 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1597 * ControlCharacter.[Ch]: new files; controller for the character popup.
1599 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1600 moved to new files helper_funcs.[Ch].
1602 * helper_funcs.[Ch]: new files. Some useful helper functions and
1605 * Makefile.am: added new files.
1607 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1609 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1611 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1614 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1615 Control log files, respectively.
1617 * Makefile.am: added new files.
1619 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1621 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1623 * Makefile.am: added ControlBibtex.[Ch].
1625 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1628 * ControlCitation.C: added "using SigC::slot" declaration.
1630 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1631 to FormCitation.C prior to the merger: "Do not put space between
1634 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1636 * several files: remove CXX_WORKING_NAMESPACES
1638 * ButtonController.h: noncopyable is in namespace boost
1639 * ButtonPolicies.h: ditto
1641 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1643 * Merging changes from BRANCH_MVC back into HEAD.
1645 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1647 * Makefile.am: add ControlBibitem.[Ch].
1649 * ControlBibitem.[Ch]: new files that together define the Controller
1650 for a Bibitem popup.
1652 * ControlCommand.h (c-tor): give kb_action a default value of
1655 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1657 * ControlCitation.[Ch]: moved search functions out of class.
1658 (bibkeysInfo): new method. Returns const reference to private data.
1659 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1662 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1664 * ControlCitation.[Ch]: added Search functions to the class,
1665 (shamelessly lifted from Marco's gnome code). I think that these would
1666 be better as helper functions outside the class, but this is a first
1669 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1671 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1673 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1674 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1675 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1676 implementation of FormCitation.
1678 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1680 * ButtonPolicies.h: add SMI_NOOP to enum.
1682 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1684 * ButtonController.C (input): add "optimising" if-statement. Actually,
1685 things don't work correctly without it...
1687 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1689 * ViewBase.h: remove #pragma directive
1691 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1694 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1696 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1698 * Makefile.am: added ButtonPolicies.[Ch]
1700 * ButtonController.[Ch]: ButtonController is split into
1701 ButtonControllerBase and a template ButtonController class. The base
1702 class no longer stores a pointer to a ButtonPolicy, but instead
1703 accesses the actual instantiation of the policy through a pure virtual
1704 method bp(). This method and the ButtonPolicy itself are instantiated
1705 in the templatised ButtonController class. This class is derived from
1706 the GUI-specific GUIBC class, meaning that the frontends know
1707 nothing about the actual policy decided upon by the controllers.
1709 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1710 Instead the actual instantiations are accessed through pure virtual
1711 methods view() and bc(). The daughter classes are responsible for the
1712 actual View and ButtonController.
1714 * ControlCitation.h: the templatised class GUICitation instantiates
1715 the methods view() and bc(). It also stores the instances of the
1716 View and ButtonController.
1718 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1720 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1721 also changed to ButtonController.
1724 * ControlConnections.[Ch]:
1725 * ControlCommand.[Ch]:
1726 * ControlCitation.[Ch]:
1727 * ViewBase.h: Changes associated with this.
1729 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1731 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1732 xforms/ButtonController class into a GUI-I class (here) and an
1733 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1735 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1736 from which all Dialog Controllers should be derived. the Controllers
1737 are GUI-independent, but are designed to control the behaviour of
1738 GUI-specific implementaions of each dialog.
1740 * ControlConnections.[Ch]: new files. Classes controlling the
1741 connections of buffer-independent, buffer-dependent and Inset dialogs
1742 with the LyX kernel.
1744 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1745 InsetCommand subset of insets.
1747 * ControlCitation.[Ch]: new files. The test specialisation! A
1748 controller for the Citation dialog.
1750 * ViewBase.h: new file. ViewBase is an abstract base class from which
1751 GUI-specific dialogs should be derived. The functionality that the GUIs
1752 must now implement is much reduced.