1 2002-11-17 John Levon <levon@movementarian.org>
3 * helper_funcs.C and users: specify save/open in file dialog
5 2002-11-15 John Levon <levon@movementarian.org>
8 * ControlPrefs.C: use setParams()
10 2002-11-15 John Levon <levon@movementarian.org>
12 * ControlButtons.h: make OKButton() virtual for prefs
15 * ControlPrefs.C: updates for xforms port to MVC
19 * ControlTabular.C: add simple MVC port
21 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
23 * ControlInclude.C: fix file format masks for qt's use
25 2002-11-13 John Levon <levon@movementarian.org>
29 * ControlPrefs.C: add skeleton controller
31 2002-11-12 John Levon <levon@movementarian.org>
33 * biblio.C: fix warnings
35 2002-11-12 Angus Leeming <leeming@lyx.org>
37 * ControlSpellchecker.C (check): fix crash
38 * biblio.C (escape_special_chars): simplify BRE.
40 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
42 * ControlDocument.[Ch]: Remove unused method
44 2002-11-07 Angus Leeming <leeming@lyx.org>
46 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
47 * clean-up the search code in biblio.C.
49 2002-11-07 John Levon <levon@movementarian.org>
51 * ControlGraphics.C: QGraphics fixes
53 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
55 * ControlDocument.C: (SaveAsDefault) make it work.
56 fix buffer update on class change
58 2002-11-06 Angus Leeming <leeming@lyx.org>
60 * biblio.C (searchKeys and helper functions): rewritten entirely
61 using the STL. Boost::regex searching now works as the old 1.2 code
64 2002-11-06 Angus Leeming <leeming@lyx.org>
66 * biblio.C: clean-up of the code. No change in functionality.
68 2002-11-04 Angus Leeming <leeming@lyx.org>
70 * ControlGraphics.[Ch] (getUnits): moved out of class and into
71 frnt::getBBUnits(). Code cleaned also.
73 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * biblio.C (regexSearch): STRCONV
78 * ControlAboutlyx.C (getVersion): STRCONV
80 * ControlMath.C: include config.h
82 2002-10-31 John Levon <levon@movementarian.org>
85 * ControlGraphics.C: bb units from Herbert
87 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
89 * ControlParagraph.[Ch] (alignDefault): new method, returning the
90 default alignment (block, left, right, center) of this paragraph.
92 2002-10-25 John Levon <levon@movementarian.org>
94 * ControlPrint.C: using endl
96 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
98 * ControlPrint.[Ch]: move code here from Liason.[Ch].
100 * ControlSpellchecker.h (getCount): new method.
101 * ControlSpellchecker.[Ch]: constify some accessor methods.
103 2002-10-22 Angus Leeming <leeming@lyx.org>
105 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
106 alphabetical order once again.
108 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
109 Add a list of CheckedWidget ptrs to ButtonControllerBase
110 together with methods addCheckedWidget and checkWidgets to use it.
112 * ButtonController.tmpl (refresh): use the return value of
113 checkWidgets to control the activation state of the Ok, Apply, Restore
116 * ControlDialog.tmpl (show, update):
117 * ControlInset.tmpl (showInset, update):
118 invoke ButtonController::refresh to ensure that the activation state of
119 the Ok, Apply buttons reflects the valid-state of the widgets.
121 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * tex_helpers.C (rescanTexStyles): don't pop p
126 * ControlWrap.C (WrapParms): remove initialization of placement,
127 and move empty c-tor to .h class def.
129 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
130 of on stringsteam, return void. Get the file into the stream as
133 * ControlPreamble.[Ch] (params): getter and setter for params_, make
134 params_ into a string, not just a pointer to string.
136 * ControlExternal.C (getTemplateNumber): put i into the for scope,
137 and use the sequence operator on the last for "parameter"
138 (getTemplate): use std::advance to advance the iterator.
140 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
141 instead of on a stringstream, return void. Get the file into the
142 stream as fast as possible.
143 (getVersion): use ostringstream
145 * lots of files: ws changes, formatting fixes
147 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
149 * ControlCharacter.C (apply): setMinibuffer change
150 * ControlDocument.C (apply): ditto
152 * ControlThesaurus.C (replace): ditto
153 * ControlSearch.C (find): ditto
155 * ControlPreamble.C (apply): ditto
156 * ControlParagraph.C (apply): ditto
158 2002-10-14 André Pönitz <poenitz@gmx.net>
160 * ControlDocument.C: somebody else's fix for a hard lockup
162 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
166 * Makefile.am: New document parameters controller
168 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
170 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
172 2002-09-24 Angus Leeming <leeming@lyx.org>
174 * ControlConnections.h: remove trailing whitespace.
176 * biblio.h: #include "LString.h".
178 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
180 * ControlGraphics.C: Change GUI origin strings into proper English.
182 2002-09-09 John Levon <levon@movementarian.org>
184 * ControlInclude.C: fix file masks. Get rid of noload,
185 remove stupid warning
187 2002-09-09 John Levon <levon@movementarian.org>
190 * ControlMath.C: add latex_deco
192 2002-09-06 John Levon <levon@movementarian.org>
194 * ControlMath.C: terminate dots
196 2002-09-05 Angus Leeming <leeming@lyx.org>
198 * all files: modify the headers as discussed on the list.
200 2002-08-30 John Levon <levon@movementarian.org>
203 * ControlMath.C: moved from MathsSymbols.C
205 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
207 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
209 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
211 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
212 first item in the list
214 2002-08-15 Angus Leeming <leeming@lyx.org>
216 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
218 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
220 2002-08-15 Angus Leeming <leeming@lyx.org>
222 * lots: changed my email address to leeming@lyx.org.
224 * GUI.h: return it to private derivation from boost::noncopyable.
226 2002-08-14 Angus Leeming <leeming@lyx.org>
228 * GUI.h: public derivation from boost::noncopyable.
230 2002-08-14 Angus Leeming <leeming@lyx.org>
232 * GUI.h: class GUI deries from boost::noncopyable
234 * ControlButtons.h: no longer derives from DialogBase, but instead
235 derives directly from boost::noncopyable.
237 * ViewBase.h: derives from boost::noncopyable.
239 * ControlCharacter.C:
241 * ControlConnections.C:
244 * ControlParagraph.C:
248 * ControlSpellchecker.C:
250 * ControlThesaurus.C:
251 rearrange #includes. Remove unnecessary ones.
253 * ControlError.h: add "insets/inseterror.h".
255 * helper_funcs.h: add necessary #includes.
257 * tex_helpers.[Ch]: add #pragma directives for g++.
259 * Makefile.am: remove src/frontends from -I list to compiler.
261 2002-08-13 Angus Leeming <leeming@lyx.org>
263 * ControlConnections.C:
265 changes due to the changed LyXView interface that now returns references
266 to member variables not pointers.
268 2002-08-12 Angus Leeming <leeming@lyx.org>
270 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
271 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
272 for the most commonly accessed core methods, to minimise code
275 * many files: use these wrappers and remove associated #includes.
277 2002-08-12 Angus Leeming <leeming@lyx.org>
279 * ControlButtons.[Ch] (bc, view): no longer virtual.
280 (setView, setButtonController): new methods, invoked by GUI.
282 * ControlDialog.h (show):
283 * ControlInset.h (createInset, showInset): make public, so that GUI can
286 * GUI.h: GUI now contains a controller, rather than deriving from it.
287 remove all those friend functions since we can now access the show,
288 createInset, showInset controller methods.
290 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
293 * character.h: #include a couple of STL files.
295 2002-08-08 John Levon <levon@movementarian.org>
297 * ControlCommandBuffer.C: LyXAction cleanup
299 2002-08-07 John Levon <levon@movementarian.org>
301 * ControlSpellchecker.C: fix crash when spellchecker doesn't
304 2002-08-06 John Levon <levon@movementarian.org>
306 * ControlSpellchecker.C:
307 * ControlSpellchecker.h: use WordLangTuple
309 2002-08-06 John Levon <levon@movementarian.org>
311 * ControlSpellchecker.C: show an alert with the
312 error message on initialisation failure
314 2002-08-04 John Levon <levon@movementarian.org>
316 * ControlSpellchecker.h:
317 * ControlSpellchecker.C: some cleanups
319 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
321 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
323 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
324 the Dialogs::updateParagraph signal is emitted.
326 2002-08-02 Angus Leeming <leeming@lyx.org>
328 * ControlCharacter.C (apply):
329 * ControlERT.C (applyParamsToInset):
330 * ControlParagraph.C (apply):
331 * ControlSearch.C (find, replace):
332 * ControlThesaurus.C (replace): changes due to LyXView::view() now
333 returning a boost::shared_ptr.
335 2002-08-01 John Levon <levon@movementarian.org>
337 * ControlSendto.C: writeFile() change
339 2002-08-01 John Levon <levon@movementarian.org>
341 * ControlSpellchecker.h:
342 * ControlSpellchecker.C: remove options
344 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
346 * several files: strip,frontStrip -> trim,ltrim,rtrim
348 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
350 * biblio.C (parseBibTeX): modify because of strip changes
352 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
354 * ControlFloat.[Ch]: Implement Wide Float toggle
355 Replace "allow_here_definitely" by "wide"
357 2002-07-22 Herbert Voss <voss@lyx.org>
359 * ControlGraphics.C: small changes
361 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
363 * ControlToc.C: remove getType
365 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
367 * ControlCommandBuffer.C: don't add "" to history
369 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
371 * ControlRef.C: fix dispatch call nicely
373 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
376 * ControlCommandBuffer.h:
377 * ControlCommandBuffer.C: add controller for command (mini) buffer
380 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
382 * ControlRef.C: fix dispatch call
384 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
386 * ControlCharacter.C: use view_state_changed not setState
388 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
390 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
392 2002-07-15 Mike Fabian <mfabian@suse.de>
394 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
395 of compare_no_case, because in turkish, 'i' is not the lowercase
396 version of 'I', and thus turkish locale breaks parsing of tags.
398 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
400 * ControlBibtex.C (applyParamsToInset): ws change
402 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
404 * ControlInclude.C: Add warning if absolute path name and
405 check_typeset is used together
407 2002-06-28 Angus Leeming <leeming@lyx.org>
409 * ControlGraphics.C: changes associated with the name changes
410 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
412 2002-06-25 Angus Leeming <leeming@lyx.org>
414 * ControlGraphics.C (readBB): Channges associated with the changed
415 interface to the graphics cache.
417 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
419 * ControlParagraph.C: layout as layout
421 2002-06-21 Angus Leeming <leeming@lyx.org>
423 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
424 * tex_helpers.h: #include "LString.h".
426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
429 * ControlBibitem.C: use repaint()
431 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
433 * ControlTexinfo.C: do the same for Texinfo
435 * tex_helpers.C: don't try to read a file that isn't there
437 2002-06-21 Herbert Voss <voss@perce.de>
439 * ControlBibtex.C: do an automatic update, when no bst-list
442 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
444 * GUI.h: createIndex() changed
446 2002-06-18 Herbert Voss <voss@perce.de>
448 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
449 helperstuff. Now the bibtex gui can use some of these functions
451 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
453 * ControlGraphics.C: just make the mask *.*
455 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
457 * changes to simplify function setup, removal of a lot of includes.
459 2002-06-12 Angus Leeming <leeming@lyx.org>
461 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
463 2002-06-12 Angus Leeming <leeming@lyx.org>
465 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
467 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
469 * ControlParagraph.[Ch]: new paragraph controller
470 * GUI.h: add new controller
473 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
475 * GUI.h: do not include ButtonController.tmpl
477 * ControlInset.h: include ControlInset.tmpl
479 * ControlCitation.C: do not include ControlInset.tmpl
480 * ControlCommand.C: ditto
481 * ControlERT.C: ditto
482 * ControlError.C: ditto
483 * ControlExternal.C: ditto
484 * ControlFloat.C: ditto
485 * ControlGraphics.C: ditto
486 * ControlInclude.C: ditto
487 * ControlMinipage.C: ditto
489 * ControlDialog.tmpl: remove the Base:: prefix
491 2002-06-07 Angus Leeming <leeming@lyx.org>
493 Fixes needed to compile with Compaq cxx 6.5.
494 * ControlDialog.tmpl: I have had to prefix base class methods with
497 * ControlInset.tmpl: #include a couple of headers.
499 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
501 * switch from SigC signals to boost::signals
503 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * biblio.h: include vector
507 * biblio.C: change include order
508 (regexSearch): use boost regex and get rid of LRegex
510 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
515 * ControlCharacter.C:
518 * ControlConnections.C:
535 * ControlSpellchecker.C:
536 * ControlTabularCreate.C:
538 * ControlThesaurus.C:
541 * ControlVCLog.C: LyXView moved into frontends
543 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
545 * ControlExternal.C: add scoped_ptr.hpp
547 * ControlCharacter.h: use more specific smart_ptr header.
549 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
551 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
553 2002-05-13 Herbert Voss <voss@perce.de>
555 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
556 like "Odland, G. and ... "
557 (parseBibTeX): fix bug with title and booktitle
558 and replace a \n with a space when one entry has more than
561 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
563 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
564 "No change" and "Reset".
566 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
567 them at the front of the list.
569 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
571 * ControlGraphics.C: add some comments to the char * arrays.
572 Make rorigin_size const.
574 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
576 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
577 Enables the gui's to internationalise these strings.
579 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
581 * frnt_lang.C: fix build
583 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
585 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
586 If the the caller is the character dialog, add "No change" and "Reset"
587 to the vector, else don't.
588 Internationalise the GUI strings here rather than in the different
590 Sort the translated strings, albeit simply.
592 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
594 * character.[Ch]: rename namespace character as namespace frnt.
596 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
597 as several dialogs will use this info. The function now returns a
598 vector<LanguagePair> where LanguagePair is a display string and an
599 identifying string. The display string is internationalised.
601 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
602 the identifying strings, "No change" and "Reset".
604 * Makefile.am: add frnt_lang.[Ch].
606 2002-04-25 Herbert Voss <voss@lyx.org>
608 * ControlSendto.C (allFormats): don't add the graphics extensions to the
611 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
613 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
614 BibTeX databases in a WYSIWYM way.
616 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
618 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
619 way past his use-by date.
620 Make use of the improved info from Buffer::getBibkeyList when using
621 \bibliography. Enables us to provide natbib support in this case too.
623 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
625 * ControlGraphics.C: pass the browseFile dialog a string of only those
626 formats that can currently be loaded by LyX.
628 2002-04-15 Herbert Voss <voss@perce.de>
630 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
631 with something like ,,...blah...`` (two commas)
633 2002-04-14 Herbert Voss <voss@perce.de>
635 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
636 into the support/lstrings for better use in other programs.
638 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
639 namespace anon and make globally accessible.
640 (familyName): test for the presence of a LaTeX Space at the front of
641 of a name; strip it if it exists.
643 2002-04-11 Herbert Voss <voss@perce.de>
645 * ControlGraphics.C: expand "browse-string" to all available formats
647 2002-04-11 Herbert Voss <voss@perce.de>
649 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
651 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
653 * ControlAboutlyx.C (getVersion): two _() forgotten
655 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
659 * ControlBibtex.C: make N_() be _()
661 2002-04-07 Herbert Voss <voss@perce.de>
663 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
665 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
667 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
668 used when reading the BB.
670 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
672 * ControlGraphics.C (readBB): Don't open the ifstrem and then
673 check the format from the contents (and open a second ifstream in the
674 process. One at a time please.
676 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
678 * ControlRef.C (getBufferNum): squash warning message.
680 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
682 * ControlBibtex.C (Browse):
683 * ControlGraphics.C (Browse):
684 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
686 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
688 * ControlGraphics.C (applyParamsToInset): pass filepath to
689 InsetGraphics::updateInset.
691 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * most files: ws cleanup
695 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
697 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
700 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
703 * ControlInclude.C: better error messages
705 2002-03-11 Herbert Voss <voss@lyx.org>
707 * biblio.C (parseBibTeX): fix another minibug with an
710 2002-03-10 Herbert Voss <voss@lyx.org>
712 * biblio.C (parseBibTeX): fix bug
713 (familyName): improve parsing
715 2002-03-09 Herbert Voss <voss@lyx.org>
717 * ControlGraphics.[Ch]: adding checkFilename() for testing
718 of non-existing files
720 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
722 * ControlSendto.C (allFormats): fix a iterators are not pointers
725 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
727 * ControlShowFile.h: add a #include "LString.h"
729 2002-03-05 Herbert Voss <voss@lyx.org>
731 * biblio.C (getInfo): simplify if using paragraph layout
734 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
736 * biblio.C (getInfo): return the info field correctly if the key
738 (parseBibTeX): fix crash when data.find('=') returns string::npos.
740 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
742 * ControlForks.[Ch]: new files. A controller for the Forked Child
743 processes dialog, enabling the user to see what forked processes
744 are running, and, if he so desires, to kill them.
746 * GUI.h: add class GUIForks.
748 * Makefile.am: add ControlForks.[Ch].
750 * ControlGraphics.C (getParams): small change due to change in
753 2002-02-21 Herbert Voss <voss@lyx.org>
755 * biblio.C: fix bug with commentlines in a bibentry
757 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
759 * Makefile.am: simpler obj. file compile
761 2002-02-18 Herbert Voss <voss@lyx.org>
763 * ControlGraphics.[Ch]: remove help-file call
765 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
767 * helper_funcs.h: wrap the structs firster and seconder up in a
768 namespace to avoid clashes with those in lyxalgo,h.
770 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
771 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
773 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
775 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
778 change Systemcalls::System to Systemcalls::Wait and
779 No change of functionality, just reflects the stripped down Systemcalls
782 2002-02-06 Herbert Voss <voss@lyx.org>
784 * ControlGraphics.[C] (readBB): search also in
785 g'zipped files. If it is useful than PK and compress
786 should also be supported. use unzipFile() from
789 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
791 * ControlRef.C (getBufferName): new method to get a real buffer
794 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
796 * ControlTexInfo.[Ch]: Removed Help functions.
798 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
800 * ControlSpellchecker.C: clear any selection left
803 2002-02-01 Herbert Voss <voss@lyx.org>
805 * ControlGraphics.[C] (readBB): search only, if it is a
806 ".?ps" file and look for bb's at end of file
808 2002-01-30 Herbert Voss <voss@lyx.org>
810 * ControlGraphic.[C]: do not search the whole file, when
813 2002-01-29 Herbert Voss <voss@lyx.org>
815 * ControlGraphic.[C]: added a button for document path
816 when browsing -> bug 222
818 2002-01-27 Herbert Voss <voss@lyx.org>
820 * ControlGraphic.[Ch]: added support for Bounding Box, other
823 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
826 * ControlTexinfo.h: added #include "LString.h" where they belong.
828 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
831 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
833 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
835 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
838 2002-01-20 Herbert Voss <voss@perce.de>
840 * ControlInclude.[Ch]: better control of unexistings files
841 when entered without the browser
843 * ControlGraphic.C (Browse): add extension "ps" when browsing for
846 2002-01-19 Herbert Voss <voss@perce.de>
848 * biblio.C (getInfo): fix bug when no author is given
850 * biblio.C (parseBibTeX): change the parsing, so that
851 '#'-characters in a bibtex entry are no more a problem.
853 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
855 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
856 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
858 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
860 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
862 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
864 * ControlExternal.C (Browse): add a std:: qualifier
866 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
868 * ControlExternal.C (Browse): simplify to use browseRelFile
870 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
872 * ButtonController.tmpl: added // -*- C++ -*-
874 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
875 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
876 Needed in _one_ of the ControlCommand-derived classes only.
878 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
881 * ControlSearch.h: #include LString.h
883 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
885 * ButtonController.h: split into two. The definition remains in
886 ButtonController.h, the declaration is now in ButtonController.tmpl.
887 These template methods should be #included when the derived class is
888 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
889 and in the qt2 and gnome equivalents.
891 * ControlDialogs.h: removed. The definition of class ControlDialog is
892 now to be found in ControlDialog.h and the declaration of the methods
893 is in ControlDialog.tmpl. The two template instantiations are performed
894 in ControlDialog_impl.[Ch], new files also.
896 * ControlInset.h: split into two. The definition remains in
897 ControlInset.h, the declaration is now in ControlInset.tmpl.
898 These template methods should be #included derived class is
899 instantiated, in this case in 8 other .C files in this directory.
901 * ControlAboutlyx.[Ch]:
902 * ControlCharacter.[Ch]:
912 * ControlPreamble.[Ch]:
914 * ControlSearch.[Ch]:
915 * ControlShowFile.[Ch]:
916 * ControlSpellchecker.[Ch]:
917 * ControlTabularCreate.[Ch]:
918 * ControlTexinfo.[Ch]:
919 * ControlThesaurus.[Ch]:
920 * ControlVCLog.[Ch]: small changes associated with the above ones.
922 * GUI.h: #include the ButtonController and dialog controller files
923 here, rather than forward declare them. This is the correct place
926 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
927 Rename ControlDialogs.h as ControlDialog.h.
928 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
931 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
933 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
935 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
937 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
940 * ControlGraphics.C (Browse): remove overzealous shortcut
942 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
944 * FormMinipage.C (apply, update): MinipageParams::width renamed
945 as MinipageParams::pageWidth. InsetMinipage::width renamed
946 as InsetMinipage::pageWidth.
948 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
950 * ButtonController.h (refreshReadOnly): use explicit typename
952 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
954 * helper_funcs.h (browseFile): add default empty button descriptions.
956 * ControlGraphics.C (Browse):
957 * ControlBibtex.C (Browse):
958 * ControlInclude.C (Browse): add shortcuts to directory buttons
960 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
962 * ControlThesaurus.h:
963 * ControlThesaurus.C: update to Aiksaurus 0.14
965 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
967 * ControlSpellchecker.C (clearParams): show the closing message
968 only if some words have been checked, thereby fixing
971 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
973 * ControlFloat.[Ch]: changes to prevent here definitely being used
976 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
978 * ControlThesaurus.h: do not include <config.h> in header files
980 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
982 * ControlToc.C: changes for floatlist
984 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
986 * ControlVCLog.C: use _()
988 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
990 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
993 2001-10-22 Juergen Vigna <jug@sad.it>
995 * ControlSpellchecker.C (clearParams): use the error_ message of the
996 speller_ if available when the spellchecker died.
997 (setParams): remove double error message display.
999 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1001 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1003 * helper_funcs.[Ch] (getLatexUnits): see above.
1005 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1007 * ControlTexinfo.C (getContents): use the right file for .sty files
1009 2001-10-10 Herbert Voss <voss@perce.de>
1011 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1012 and some more stuff from FormTexinfo.C
1014 * ControlShowFile.C: hiding the update-button
1016 2001-10-09 Herbert Voss <voss@perce.de>
1018 * ControlTexinfo.[Ch]: new files. Display information about the
1019 installed texfiles (cls,sty,bst).
1021 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1023 * GUI.h: added classes GUIShowFile and GUITexinfo.
1025 * Makefile.am: modified appropriately.
1027 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1029 * ControlAboutlyx.C (getVersion): use lyx_version and
1030 lyx_release_date instead of old macros
1032 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ControlSpellchecker.C (check): Behaves well now when the spell
1035 library doesn't know a replacement to an incorrect word.
1037 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1039 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1040 the correct place. Can now check spelling more than once!
1042 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1044 * ControlSplash.[Ch]: removed.
1046 * GUI.h: remove GUISplash class.
1048 * ViewBase.h: remove ViewSplash class.
1050 * Makefile.am: remove ControlSplash.[Ch].
1052 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1054 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1055 view will be shut down.
1058 * ControlInset.h: act on emergency_exit_.
1060 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1061 speller fails to launch.
1063 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1065 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1066 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1068 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlRef.h (disconnectOnApply): new method. Set to true.
1071 Perhaps make this user-modifiable?
1073 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1075 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1078 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1080 * ControlRef.C (getBufferList, getBufferNum): New methods
1082 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1084 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1085 of the dialog when the Apply button is pressed. Defaults to false,
1086 but can be overridden in the daughter classes.
1088 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1089 Perhaps make this user-modifiable?
1091 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1093 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1094 we have dialogs that update their contents when the buffer changes.
1095 Rather embarassing, really!
1097 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlSearch (replace): change semantics of replace to NOT move on
1100 to the next instance of a word once the present instance has been
1101 replaced unless we are replacing ALL instances of the word.
1103 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1105 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1107 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1109 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1110 dialog, set all options to "reset", close the dialog, re-open it ->
1111 the options are set incorrectly.
1113 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1114 When Applying it's useful to know whether the dialog is about to close
1115 or not (no point refreshing the display for example).
1117 * ControlInset.C (apply): use isClosing.
1119 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1122 * ControlDialogs.h: remove bc() hack, now fixed in
1123 Qt2 frontend. use member dialog_built_ instead of shared
1126 * ButtonController.h:
1127 * ButtonPolicies.C: more debug info
1129 * ButtonControllerBase.C: call refresh() when setting readOnly !
1131 * GUI.h: External form has apply, use the right policy
1133 * character.C: fix two off-by-one errors when latex font was removed
1135 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1137 * ControlInset.h (apply): tentative fix for the press Apply multiple
1138 times and get multiple new Insets problem.
1140 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1142 * ControlCharacter.C: fix typo
1146 * ControlInsets.C: make sure dialog is built before it is shown, so
1147 it works properly the very first time it is shown
1149 2001-08-20 Herbert Voss <voss@perce.de>
1151 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1152 and styles. Added an option for "bibliography into toc"
1154 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1156 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1157 LaTeX is no longer a font property.
1159 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1161 * GUI.h: Button controller for Reference dialog changed to
1162 NoRepeatedApplyReadOnlyPolicy.
1164 * biblio.C (getInfo): output volume and number info. Move year to end
1167 2001-08-09 Allan Rae <rae@lyx.org>
1169 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1171 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1173 * helper_funcs.C (getVectorFromString): fixed small bug.
1175 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1177 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1179 * ControlSpellchecker.C: check next word after insert in personal dict
1181 2001-08-06 Juergen Vigna <jug@sad.it>
1183 * ControlERT.[Ch]: new file
1185 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1187 * ControlInset.h: const and non-const forms of params().
1189 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1190 whitespace from either side of each item.
1192 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1194 * ControlFloat.h: add a != operator for FloatParams.
1195 Lars, how did you get this to compile!!!
1197 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1198 operator != for MinipageParams. Who's changing stuff and not compiling?
1200 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1202 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1205 * GUI.h: add class GUIFloat
1207 * ControlFloat.[Ch]: new files
1209 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1211 * ControlPrint.C: #include Lassert.h here.
1213 2001-07-26 Baruch Even <baruch@lyx.org>
1215 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1218 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1220 * ControlThesaurus.h:
1221 * ControlThesaurus.C:
1223 * Makefile.am: thesaurus support
1225 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1228 * ControlInclude.C: implement ability to load file
1230 2001-07-18 Juergen Vigna <jug@sad.it>
1232 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1234 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * biblio.C (getInfo): add a .c_str() to handle the usual
1239 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1241 * ControlCitation.[Ch]: changes associated with adding natbib support.
1242 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1243 New static variable citeStyles_.
1245 * biblio.[Ch]: large internal rearrangement.
1246 New public enum CiteStyle.
1247 New public struct CitationStyle.
1248 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1249 getNumericalStrings, getAuthorYearStrings
1250 (simpleSearch, regexSearch): no longer publicly accessible.
1252 * helper_funcs.C (getStringFromVector): bug fix.
1254 2001-07-16 Baruch Even <baruch@lyx.org>
1256 * ControlVCLog.h: Added Lsstream.h to includes.
1258 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1260 * ControlSpellchecker.[Ch]: remove d-tor.
1262 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1264 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1266 2001-07-16 Juergen Vigna <jug@sad.it>
1268 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1269 compiled with USE_PSPELL) to be able to switch between ISpell and
1272 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1274 Consistent use of Lsstream.h:
1275 * ControlAboutlyx.[Ch] (getCredits):
1276 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1278 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1280 * ControlCredits.[Ch]: removed
1281 * ControlCopyright.[Ch]: removed
1282 * ControlAboutlyx.[Ch]: added (replaces previous)
1283 * GUI.h: removed credits and copyright added about lyx stuff
1285 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1287 * ControlSpellchecker.C (getSuggestion):
1288 (getWord): add std:: qualifier
1290 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1292 * ControlSpellchecker.[Ch]: added
1293 * ViewBase.h: added partialUpdate(int) member
1294 * GUI.h: added spell stuff
1296 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1298 * ControlExternal.C: (*it). -> it->
1300 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1302 * ButtonController.h: move some included header files out of the
1303 frontends and into here.
1305 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1307 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1309 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1311 * *.[h]: added // -*- C++ -*-
1312 * *.[C]: removed // -*- C++ -*-
1314 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1315 activate Apply button.
1316 (clearParams): removed.
1317 font_ is now stored as a boost::scoped_ptr.
1318 font_ is no longer deleted on hide(), so it's contents can now be used
1319 by the Font button on the toolbar.
1320 Lots of new methods so that the GUI can easily get the contents of
1321 font_ when it update()s.
1323 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1326 crash when the Font button on the Toolbar is pressed.
1328 * GUI.h: change policy of Character button controller to
1329 OkApplyCancelReadOnlyPolicy.
1331 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * ControlToc.C (getContents): don't add anything to the list if it
1334 is supposed to be empty.
1336 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1338 * helper_funcs.C (getVectorFromString): bug fix.
1340 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1342 * ButtonController.h
1343 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1344 from ButtonControllerBase::readOnly. Updates the state of the widgets
1345 in the read-only list only when the read-only status of the document
1347 (refresh): moved this stuff into refreshReadOnly.
1349 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1351 * ControlPrint.C (c-tor):
1352 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1354 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1357 * character.h: small clean-ups.
1359 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1361 * ControlToc.C (getType): remove support for old float list.
1363 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1365 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1366 * ControlGraphics.h: no longer include insetgraphicsParams.h
1367 * ControlInset.h: no longer include LyXView.h
1372 * ControlCharacter.C:
1373 * ControlCitation.C:
1375 * ControlConnections.C:
1376 * ControlCopyright.C:
1379 * ControlExternal.C:
1380 * ControlGraphics.C:
1383 * ControlMinipage.C:
1384 * ControlPreamble.C:
1388 * ControlTabularCreate.C:
1390 * ControlVCLog.C: they're now in here!
1392 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1394 * ButtonControllerBase.h: C++ mode, inherit privately from
1396 * ButtonPolicies.h: ditto
1398 * ButtonController.h: C++ mode, swap init order of restore_ and
1401 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1403 * ControlTabularCreate.h:
1404 * ControlTabularCreate.C: make dialogs use a pair of uints
1408 * ControlVCLog.C: fill a stringstream with the log contents
1411 * ControlExternal.C: from Angus, clone the new InsetExternal
1414 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1416 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1417 and made more robust.
1419 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1424 * ControlPreamble.C:
1426 * ControlGraphics.C:
1427 * ControlExternal.C:
1428 * ControlCopyright.C: include gettext.h
1430 * ControlCharacter.C:
1431 * character.C: include gettext.h and language.h
1433 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1435 * ButtonController.h:
1436 * ButtonControllerBase.h:
1437 * ButtonControllerBase.C:
1444 * ControlConnections.h:
1447 * ControlExternal.C:
1450 * ViewBase.h: s/ControlButton/ControlButtons/
1452 s/UndoAll/Restore/ + associated
1454 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1456 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1459 * Makefile.am: associated changes with all of the above.
1461 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1463 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1464 and edit, view, update the External Material correctly. I hope!
1466 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1468 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1470 * BCTemplates.h: renamed as ButtonController.h
1472 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1475 * ControlConnections.h: associated change in #include and class names.
1477 * ControlExternal.[Ch]: new files; a controller for the External
1481 * Makefile.am: associated changes with all of the above.
1483 * ControlGraphics.[Ch]:
1484 * ControlInclude.[Ch]:
1485 * ControlPrint.[Ch]:
1487 (Browse): new method. Returns the results of a FileDialog browse.
1489 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1490 (getVectorFromString): fixed bug.
1492 * biblio.C (simpleSearch): cleaned up.
1494 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1496 * A slight reworking of Baruch Even's ButtonController patch.
1498 * BCTemplates.h: new file; all the templates for the ButtonController.
1499 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1500 to the more generic setButtonLabel().
1502 * ButtonController.[Ch]: renamed cancel_label and close_label as
1503 cancel_label_ and close_label_.
1505 * Makefile.am: added BCTemplates.h
1507 2001-03-29 Juergen Vigna <jug@sad.it>
1509 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1510 to use new %-lengths of LyXLength.
1512 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1514 * ControlCitation.C (bibkeysInfo): removed Assert.
1516 * ControlCopyright.h: moved GUICopyright into GUI.h
1520 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1522 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1523 (setDaughterParams): a (by default empty) new method called in show().
1529 * ControlMinipage.h:
1532 * ControlUrl.h (clearDaughterParams): removed
1534 * ControlMinipage.C (applyParamsToInset): update the view.
1535 Added namespace minipage containing a helper function getUnits.
1537 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1539 * ControlCharacter.[Ch]: moved out all the helper functions and the
1540 enum into their own file.
1541 * character.[Ch]: new files; contain the character helper functions,
1542 now inside namespace character.
1544 * ControlCitation.[Ch]: moved out all the helper functions and the
1545 enums into their own file. Simplified interface.
1546 * biblio.[Ch]: new files; contain the citation helper functions,
1547 now inside namespace biblio. Will be of use also to an improved
1550 * ControlGraphics.[Ch]:
1551 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1552 popups, respectively.
1555 * Makefile.am: associated changes.
1557 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1559 * ControlMinipage.[Ch]:
1560 * ControlPreamble.[Ch]:
1561 * ControlPrint.[Ch]:
1562 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1563 and Print popups and Splash screen, respectively.
1565 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1569 * Makefile.am: associated changes.
1571 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1573 * ControlConnections.[Ch]: (docType): new method; returns the type
1574 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1577 * ControlSearch.[Ch]:
1578 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1579 Search and TabularCreate popups, respectively.
1582 * Makefile.am: associated changes.
1584 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1586 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1589 * ControlInset.h (apply): fix bug. Can now create new insets again.
1591 * README: describe program flow.
1593 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1595 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1597 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1599 * ControlDialogs.h: moved class ControlInset into its own file.
1601 * ControlInset.h: new file. class ControlInset has been expanded to take
1602 two template parameters, Inset and Params. Believe that all inset
1603 controllers can be derived from this with the minimum of effort.
1605 * ControlBibitem.[Ch]:
1606 * ControlBibtex.[Ch]:
1607 * ControlCitation.[Ch]:
1608 * ControlCommand.[Ch]: moved most code into ControlInset.
1610 * lots of files. Moved protected stuff into private where possible.
1612 * ControlError.[Ch]:
1613 * ControlInclude.[Ch]:
1614 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1615 Include and Url popups, respectively.
1618 * Makefile.am: associated changes.
1620 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1622 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1625 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1627 * ControlCredits.C (getCredits): remove std:: qualifier for
1630 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1632 * ControlCredits.C (getCredits): add std:: on vector
1634 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1636 * ControlCredits.C: remove using that is only used once, use
1637 std::ios instead of std::iosbase, add some annoying comments.
1639 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1641 * lots of header files: improved explanatory notes.
1643 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1644 ControlBase is now a class that only controls the interaction of the
1645 View with the ButtonController.
1647 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1648 to ControlConnectBase. The class controls the connection/disconnection
1649 of signals from the LyX kernel and makes available the kernel (through
1650 lv_) to daughter controller classes.
1651 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1653 * ControlDialogs.h: new file. Contains the definition of two template
1654 controller classes, ControlDialog and ControlInset (was
1655 ControlConnectInset). ControlInset is a parent class for controllers
1656 of inset-popups. ControlDialogs is the rather uninspired name for
1657 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1658 ControlDialogs is reaching a state of maturity as several popups now use
1659 it and its functionality becomes clear. ControlInset is still in a state
1660 of flux. It is likely that functionality will be moved out of
1661 ControlCommands and into it.
1663 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1664 individual Controller header files and into one place. These classes
1665 serve only as convenient wrappers to simplify code in the respective
1666 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1668 * ControlCharacter.[Ch] (show, update, hide):
1669 * ControlLog.[Ch] (show, update, hide):
1670 * ControlVCLog.[Ch] (show, update, hide): moved back into
1671 the ControlDialogs base class.
1672 (setParams, clearParams): new methods containing controller-specific
1673 code to set/reset the parameters manipulated by the view.
1675 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1677 (hide): calls clearParams.
1679 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1680 by ControlCommand::hide().
1682 * ControlCopyright.[Ch]:
1683 * ControlCredits.[Ch]: new files; controllers for the copyright and
1684 credits popups, respectively.
1686 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1688 * ControlCharacter.C: fix typo
1690 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1692 * ControlCharacter.[Ch]: new files; controller for the character popup.
1694 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1695 moved to new files helper_funcs.[Ch].
1697 * helper_funcs.[Ch]: new files. Some useful helper functions and
1700 * Makefile.am: added new files.
1702 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1704 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1706 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1709 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1710 Control log files, respectively.
1712 * Makefile.am: added new files.
1714 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1716 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1718 * Makefile.am: added ControlBibtex.[Ch].
1720 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1723 * ControlCitation.C: added "using SigC::slot" declaration.
1725 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1726 to FormCitation.C prior to the merger: "Do not put space between
1729 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1731 * several files: remove CXX_WORKING_NAMESPACES
1733 * ButtonController.h: noncopyable is in namespace boost
1734 * ButtonPolicies.h: ditto
1736 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1738 * Merging changes from BRANCH_MVC back into HEAD.
1740 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1742 * Makefile.am: add ControlBibitem.[Ch].
1744 * ControlBibitem.[Ch]: new files that together define the Controller
1745 for a Bibitem popup.
1747 * ControlCommand.h (c-tor): give kb_action a default value of
1750 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1752 * ControlCitation.[Ch]: moved search functions out of class.
1753 (bibkeysInfo): new method. Returns const reference to private data.
1754 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1757 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1759 * ControlCitation.[Ch]: added Search functions to the class,
1760 (shamelessly lifted from Marco's gnome code). I think that these would
1761 be better as helper functions outside the class, but this is a first
1764 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1766 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1768 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1769 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1770 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1771 implementation of FormCitation.
1773 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1775 * ButtonPolicies.h: add SMI_NOOP to enum.
1777 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1779 * ButtonController.C (input): add "optimising" if-statement. Actually,
1780 things don't work correctly without it...
1782 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1784 * ViewBase.h: remove #pragma directive
1786 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1789 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1791 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1793 * Makefile.am: added ButtonPolicies.[Ch]
1795 * ButtonController.[Ch]: ButtonController is split into
1796 ButtonControllerBase and a template ButtonController class. The base
1797 class no longer stores a pointer to a ButtonPolicy, but instead
1798 accesses the actual instantiation of the policy through a pure virtual
1799 method bp(). This method and the ButtonPolicy itself are instantiated
1800 in the templatised ButtonController class. This class is derived from
1801 the GUI-specific GUIBC class, meaning that the frontends know
1802 nothing about the actual policy decided upon by the controllers.
1804 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1805 Instead the actual instantiations are accessed through pure virtual
1806 methods view() and bc(). The daughter classes are responsible for the
1807 actual View and ButtonController.
1809 * ControlCitation.h: the templatised class GUICitation instantiates
1810 the methods view() and bc(). It also stores the instances of the
1811 View and ButtonController.
1813 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1815 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1816 also changed to ButtonController.
1819 * ControlConnections.[Ch]:
1820 * ControlCommand.[Ch]:
1821 * ControlCitation.[Ch]:
1822 * ViewBase.h: Changes associated with this.
1824 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1826 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1827 xforms/ButtonController class into a GUI-I class (here) and an
1828 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1830 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1831 from which all Dialog Controllers should be derived. the Controllers
1832 are GUI-independent, but are designed to control the behaviour of
1833 GUI-specific implementaions of each dialog.
1835 * ControlConnections.[Ch]: new files. Classes controlling the
1836 connections of buffer-independent, buffer-dependent and Inset dialogs
1837 with the LyX kernel.
1839 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1840 InsetCommand subset of insets.
1842 * ControlCitation.[Ch]: new files. The test specialisation! A
1843 controller for the Citation dialog.
1845 * ViewBase.h: new file. ViewBase is an abstract base class from which
1846 GUI-specific dialogs should be derived. The functionality that the GUIs
1847 must now implement is much reduced.