1 2002-11-06 Angus Leeming <leeming@lyx.org>
3 * biblio.C (searchKeys and helper functions): rewritten entirely
4 using the STL. Boost::regex searching now works as the old 1.2 code
7 2002-11-06 Angus Leeming <leeming@lyx.org>
9 * biblio.C: clean-up of the code. No change in functionality.
11 2002-11-04 Angus Leeming <leeming@lyx.org>
13 * ControlGraphics.[Ch] (getUnits): moved out of class and into
14 frnt::getBBUnits(). Code cleaned also.
16 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
18 * biblio.C (regexSearch): STRCONV
21 * ControlAboutlyx.C (getVersion): STRCONV
23 * ControlMath.C: include config.h
25 2002-10-31 John Levon <levon@movementarian.org>
28 * ControlGraphics.C: bb units from Herbert
30 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
32 * ControlParagraph.[Ch] (alignDefault): new method, returning the
33 default alignment (block, left, right, center) of this paragraph.
35 2002-10-25 John Levon <levon@movementarian.org>
37 * ControlPrint.C: using endl
39 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
41 * ControlPrint.[Ch]: move code here from Liason.[Ch].
43 * ControlSpellchecker.h (getCount): new method.
44 * ControlSpellchecker.[Ch]: constify some accessor methods.
46 2002-10-22 Angus Leeming <leeming@lyx.org>
48 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
49 alphabetical order once again.
51 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
52 Add a list of CheckedWidget ptrs to ButtonControllerBase
53 together with methods addCheckedWidget and checkWidgets to use it.
55 * ButtonController.tmpl (refresh): use the return value of
56 checkWidgets to control the activation state of the Ok, Apply, Restore
59 * ControlDialog.tmpl (show, update):
60 * ControlInset.tmpl (showInset, update):
61 invoke ButtonController::refresh to ensure that the activation state of
62 the Ok, Apply buttons reflects the valid-state of the widgets.
64 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * tex_helpers.C (rescanTexStyles): don't pop p
69 * ControlWrap.C (WrapParms): remove initialization of placement,
70 and move empty c-tor to .h class def.
72 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
73 of on stringsteam, return void. Get the file into the stream as
76 * ControlPreamble.[Ch] (params): getter and setter for params_, make
77 params_ into a string, not just a pointer to string.
79 * ControlExternal.C (getTemplateNumber): put i into the for scope,
80 and use the sequence operator on the last for "parameter"
81 (getTemplate): use std::advance to advance the iterator.
83 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
84 instead of on a stringstream, return void. Get the file into the
85 stream as fast as possible.
86 (getVersion): use ostringstream
88 * lots of files: ws changes, formatting fixes
90 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * ControlCharacter.C (apply): setMinibuffer change
93 * ControlDocument.C (apply): ditto
95 * ControlThesaurus.C (replace): ditto
96 * ControlSearch.C (find): ditto
98 * ControlPreamble.C (apply): ditto
99 * ControlParagraph.C (apply): ditto
101 2002-10-14 André Pönitz <poenitz@gmx.net>
103 * ControlDocument.C: somebody else's fix for a hard lockup
105 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
109 * Makefile.am: New document parameters controller
111 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
113 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
115 2002-09-24 Angus Leeming <leeming@lyx.org>
117 * ControlConnections.h: remove trailing whitespace.
119 * biblio.h: #include "LString.h".
121 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
123 * ControlGraphics.C: Change GUI origin strings into proper English.
125 2002-09-09 John Levon <levon@movementarian.org>
127 * ControlInclude.C: fix file masks. Get rid of noload,
128 remove stupid warning
130 2002-09-09 John Levon <levon@movementarian.org>
133 * ControlMath.C: add latex_deco
135 2002-09-06 John Levon <levon@movementarian.org>
137 * ControlMath.C: terminate dots
139 2002-09-05 Angus Leeming <leeming@lyx.org>
141 * all files: modify the headers as discussed on the list.
143 2002-08-30 John Levon <levon@movementarian.org>
146 * ControlMath.C: moved from MathsSymbols.C
148 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
150 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
152 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
154 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
155 first item in the list
157 2002-08-15 Angus Leeming <leeming@lyx.org>
159 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
161 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
163 2002-08-15 Angus Leeming <leeming@lyx.org>
165 * lots: changed my email address to leeming@lyx.org.
167 * GUI.h: return it to private derivation from boost::noncopyable.
169 2002-08-14 Angus Leeming <leeming@lyx.org>
171 * GUI.h: public derivation from boost::noncopyable.
173 2002-08-14 Angus Leeming <leeming@lyx.org>
175 * GUI.h: class GUI deries from boost::noncopyable
177 * ControlButtons.h: no longer derives from DialogBase, but instead
178 derives directly from boost::noncopyable.
180 * ViewBase.h: derives from boost::noncopyable.
182 * ControlCharacter.C:
184 * ControlConnections.C:
187 * ControlParagraph.C:
191 * ControlSpellchecker.C:
193 * ControlThesaurus.C:
194 rearrange #includes. Remove unnecessary ones.
196 * ControlError.h: add "insets/inseterror.h".
198 * helper_funcs.h: add necessary #includes.
200 * tex_helpers.[Ch]: add #pragma directives for g++.
202 * Makefile.am: remove src/frontends from -I list to compiler.
204 2002-08-13 Angus Leeming <leeming@lyx.org>
206 * ControlConnections.C:
208 changes due to the changed LyXView interface that now returns references
209 to member variables not pointers.
211 2002-08-12 Angus Leeming <leeming@lyx.org>
213 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
214 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
215 for the most commonly accessed core methods, to minimise code
218 * many files: use these wrappers and remove associated #includes.
220 2002-08-12 Angus Leeming <leeming@lyx.org>
222 * ControlButtons.[Ch] (bc, view): no longer virtual.
223 (setView, setButtonController): new methods, invoked by GUI.
225 * ControlDialog.h (show):
226 * ControlInset.h (createInset, showInset): make public, so that GUI can
229 * GUI.h: GUI now contains a controller, rather than deriving from it.
230 remove all those friend functions since we can now access the show,
231 createInset, showInset controller methods.
233 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
236 * character.h: #include a couple of STL files.
238 2002-08-08 John Levon <levon@movementarian.org>
240 * ControlCommandBuffer.C: LyXAction cleanup
242 2002-08-07 John Levon <levon@movementarian.org>
244 * ControlSpellchecker.C: fix crash when spellchecker doesn't
247 2002-08-06 John Levon <levon@movementarian.org>
249 * ControlSpellchecker.C:
250 * ControlSpellchecker.h: use WordLangTuple
252 2002-08-06 John Levon <levon@movementarian.org>
254 * ControlSpellchecker.C: show an alert with the
255 error message on initialisation failure
257 2002-08-04 John Levon <levon@movementarian.org>
259 * ControlSpellchecker.h:
260 * ControlSpellchecker.C: some cleanups
262 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
264 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
266 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
267 the Dialogs::updateParagraph signal is emitted.
269 2002-08-02 Angus Leeming <leeming@lyx.org>
271 * ControlCharacter.C (apply):
272 * ControlERT.C (applyParamsToInset):
273 * ControlParagraph.C (apply):
274 * ControlSearch.C (find, replace):
275 * ControlThesaurus.C (replace): changes due to LyXView::view() now
276 returning a boost::shared_ptr.
278 2002-08-01 John Levon <levon@movementarian.org>
280 * ControlSendto.C: writeFile() change
282 2002-08-01 John Levon <levon@movementarian.org>
284 * ControlSpellchecker.h:
285 * ControlSpellchecker.C: remove options
287 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
289 * several files: strip,frontStrip -> trim,ltrim,rtrim
291 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
293 * biblio.C (parseBibTeX): modify because of strip changes
295 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
297 * ControlFloat.[Ch]: Implement Wide Float toggle
298 Replace "allow_here_definitely" by "wide"
300 2002-07-22 Herbert Voss <voss@lyx.org>
302 * ControlGraphics.C: small changes
304 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
306 * ControlToc.C: remove getType
308 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
310 * ControlCommandBuffer.C: don't add "" to history
312 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
314 * ControlRef.C: fix dispatch call nicely
316 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
319 * ControlCommandBuffer.h:
320 * ControlCommandBuffer.C: add controller for command (mini) buffer
323 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
325 * ControlRef.C: fix dispatch call
327 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
329 * ControlCharacter.C: use view_state_changed not setState
331 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
333 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
335 2002-07-15 Mike Fabian <mfabian@suse.de>
337 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
338 of compare_no_case, because in turkish, 'i' is not the lowercase
339 version of 'I', and thus turkish locale breaks parsing of tags.
341 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
343 * ControlBibtex.C (applyParamsToInset): ws change
345 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
347 * ControlInclude.C: Add warning if absolute path name and
348 check_typeset is used together
350 2002-06-28 Angus Leeming <leeming@lyx.org>
352 * ControlGraphics.C: changes associated with the name changes
353 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
355 2002-06-25 Angus Leeming <leeming@lyx.org>
357 * ControlGraphics.C (readBB): Channges associated with the changed
358 interface to the graphics cache.
360 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * ControlParagraph.C: layout as layout
364 2002-06-21 Angus Leeming <leeming@lyx.org>
366 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
367 * tex_helpers.h: #include "LString.h".
369 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
372 * ControlBibitem.C: use repaint()
374 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
376 * ControlTexinfo.C: do the same for Texinfo
378 * tex_helpers.C: don't try to read a file that isn't there
380 2002-06-21 Herbert Voss <voss@perce.de>
382 * ControlBibtex.C: do an automatic update, when no bst-list
385 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
387 * GUI.h: createIndex() changed
389 2002-06-18 Herbert Voss <voss@perce.de>
391 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
392 helperstuff. Now the bibtex gui can use some of these functions
394 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
396 * ControlGraphics.C: just make the mask *.*
398 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
400 * changes to simplify function setup, removal of a lot of includes.
402 2002-06-12 Angus Leeming <leeming@lyx.org>
404 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
406 2002-06-12 Angus Leeming <leeming@lyx.org>
408 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
410 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
412 * ControlParagraph.[Ch]: new paragraph controller
413 * GUI.h: add new controller
416 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
418 * GUI.h: do not include ButtonController.tmpl
420 * ControlInset.h: include ControlInset.tmpl
422 * ControlCitation.C: do not include ControlInset.tmpl
423 * ControlCommand.C: ditto
424 * ControlERT.C: ditto
425 * ControlError.C: ditto
426 * ControlExternal.C: ditto
427 * ControlFloat.C: ditto
428 * ControlGraphics.C: ditto
429 * ControlInclude.C: ditto
430 * ControlMinipage.C: ditto
432 * ControlDialog.tmpl: remove the Base:: prefix
434 2002-06-07 Angus Leeming <leeming@lyx.org>
436 Fixes needed to compile with Compaq cxx 6.5.
437 * ControlDialog.tmpl: I have had to prefix base class methods with
440 * ControlInset.tmpl: #include a couple of headers.
442 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
444 * switch from SigC signals to boost::signals
446 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * biblio.h: include vector
450 * biblio.C: change include order
451 (regexSearch): use boost regex and get rid of LRegex
453 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
458 * ControlCharacter.C:
461 * ControlConnections.C:
478 * ControlSpellchecker.C:
479 * ControlTabularCreate.C:
481 * ControlThesaurus.C:
484 * ControlVCLog.C: LyXView moved into frontends
486 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
488 * ControlExternal.C: add scoped_ptr.hpp
490 * ControlCharacter.h: use more specific smart_ptr header.
492 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
494 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
496 2002-05-13 Herbert Voss <voss@perce.de>
498 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
499 like "Odland, G. and ... "
500 (parseBibTeX): fix bug with title and booktitle
501 and replace a \n with a space when one entry has more than
504 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
506 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
507 "No change" and "Reset".
509 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
510 them at the front of the list.
512 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
514 * ControlGraphics.C: add some comments to the char * arrays.
515 Make rorigin_size const.
517 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
519 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
520 Enables the gui's to internationalise these strings.
522 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
524 * frnt_lang.C: fix build
526 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
528 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
529 If the the caller is the character dialog, add "No change" and "Reset"
530 to the vector, else don't.
531 Internationalise the GUI strings here rather than in the different
533 Sort the translated strings, albeit simply.
535 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
537 * character.[Ch]: rename namespace character as namespace frnt.
539 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
540 as several dialogs will use this info. The function now returns a
541 vector<LanguagePair> where LanguagePair is a display string and an
542 identifying string. The display string is internationalised.
544 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
545 the identifying strings, "No change" and "Reset".
547 * Makefile.am: add frnt_lang.[Ch].
549 2002-04-25 Herbert Voss <voss@lyx.org>
551 * ControlSendto.C (allFormats): don't add the graphics extensions to the
554 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
556 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
557 BibTeX databases in a WYSIWYM way.
559 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
561 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
562 way past his use-by date.
563 Make use of the improved info from Buffer::getBibkeyList when using
564 \bibliography. Enables us to provide natbib support in this case too.
566 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
568 * ControlGraphics.C: pass the browseFile dialog a string of only those
569 formats that can currently be loaded by LyX.
571 2002-04-15 Herbert Voss <voss@perce.de>
573 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
574 with something like ,,...blah...`` (two commas)
576 2002-04-14 Herbert Voss <voss@perce.de>
578 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
579 into the support/lstrings for better use in other programs.
581 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
582 namespace anon and make globally accessible.
583 (familyName): test for the presence of a LaTeX Space at the front of
584 of a name; strip it if it exists.
586 2002-04-11 Herbert Voss <voss@perce.de>
588 * ControlGraphics.C: expand "browse-string" to all available formats
590 2002-04-11 Herbert Voss <voss@perce.de>
592 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
594 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
596 * ControlAboutlyx.C (getVersion): two _() forgotten
598 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
602 * ControlBibtex.C: make N_() be _()
604 2002-04-07 Herbert Voss <voss@perce.de>
606 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
608 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
610 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
611 used when reading the BB.
613 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
615 * ControlGraphics.C (readBB): Don't open the ifstrem and then
616 check the format from the contents (and open a second ifstream in the
617 process. One at a time please.
619 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
621 * ControlRef.C (getBufferNum): squash warning message.
623 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
625 * ControlBibtex.C (Browse):
626 * ControlGraphics.C (Browse):
627 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
629 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
631 * ControlGraphics.C (applyParamsToInset): pass filepath to
632 InsetGraphics::updateInset.
634 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * most files: ws cleanup
638 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
640 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
643 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
646 * ControlInclude.C: better error messages
648 2002-03-11 Herbert Voss <voss@lyx.org>
650 * biblio.C (parseBibTeX): fix another minibug with an
653 2002-03-10 Herbert Voss <voss@lyx.org>
655 * biblio.C (parseBibTeX): fix bug
656 (familyName): improve parsing
658 2002-03-09 Herbert Voss <voss@lyx.org>
660 * ControlGraphics.[Ch]: adding checkFilename() for testing
661 of non-existing files
663 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * ControlSendto.C (allFormats): fix a iterators are not pointers
668 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
670 * ControlShowFile.h: add a #include "LString.h"
672 2002-03-05 Herbert Voss <voss@lyx.org>
674 * biblio.C (getInfo): simplify if using paragraph layout
677 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
679 * biblio.C (getInfo): return the info field correctly if the key
681 (parseBibTeX): fix crash when data.find('=') returns string::npos.
683 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
685 * ControlForks.[Ch]: new files. A controller for the Forked Child
686 processes dialog, enabling the user to see what forked processes
687 are running, and, if he so desires, to kill them.
689 * GUI.h: add class GUIForks.
691 * Makefile.am: add ControlForks.[Ch].
693 * ControlGraphics.C (getParams): small change due to change in
696 2002-02-21 Herbert Voss <voss@lyx.org>
698 * biblio.C: fix bug with commentlines in a bibentry
700 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
702 * Makefile.am: simpler obj. file compile
704 2002-02-18 Herbert Voss <voss@lyx.org>
706 * ControlGraphics.[Ch]: remove help-file call
708 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
710 * helper_funcs.h: wrap the structs firster and seconder up in a
711 namespace to avoid clashes with those in lyxalgo,h.
713 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
714 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
716 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
718 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
721 change Systemcalls::System to Systemcalls::Wait and
722 No change of functionality, just reflects the stripped down Systemcalls
725 2002-02-06 Herbert Voss <voss@lyx.org>
727 * ControlGraphics.[C] (readBB): search also in
728 g'zipped files. If it is useful than PK and compress
729 should also be supported. use unzipFile() from
732 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * ControlRef.C (getBufferName): new method to get a real buffer
737 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
739 * ControlTexInfo.[Ch]: Removed Help functions.
741 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
743 * ControlSpellchecker.C: clear any selection left
746 2002-02-01 Herbert Voss <voss@lyx.org>
748 * ControlGraphics.[C] (readBB): search only, if it is a
749 ".?ps" file and look for bb's at end of file
751 2002-01-30 Herbert Voss <voss@lyx.org>
753 * ControlGraphic.[C]: do not search the whole file, when
756 2002-01-29 Herbert Voss <voss@lyx.org>
758 * ControlGraphic.[C]: added a button for document path
759 when browsing -> bug 222
761 2002-01-27 Herbert Voss <voss@lyx.org>
763 * ControlGraphic.[Ch]: added support for Bounding Box, other
766 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
769 * ControlTexinfo.h: added #include "LString.h" where they belong.
771 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
774 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
776 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
778 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
781 2002-01-20 Herbert Voss <voss@perce.de>
783 * ControlInclude.[Ch]: better control of unexistings files
784 when entered without the browser
786 * ControlGraphic.C (Browse): add extension "ps" when browsing for
789 2002-01-19 Herbert Voss <voss@perce.de>
791 * biblio.C (getInfo): fix bug when no author is given
793 * biblio.C (parseBibTeX): change the parsing, so that
794 '#'-characters in a bibtex entry are no more a problem.
796 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
798 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
799 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
801 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
803 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
805 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
807 * ControlExternal.C (Browse): add a std:: qualifier
809 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
811 * ControlExternal.C (Browse): simplify to use browseRelFile
813 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
815 * ButtonController.tmpl: added // -*- C++ -*-
817 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
818 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
819 Needed in _one_ of the ControlCommand-derived classes only.
821 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
824 * ControlSearch.h: #include LString.h
826 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
828 * ButtonController.h: split into two. The definition remains in
829 ButtonController.h, the declaration is now in ButtonController.tmpl.
830 These template methods should be #included when the derived class is
831 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
832 and in the qt2 and gnome equivalents.
834 * ControlDialogs.h: removed. The definition of class ControlDialog is
835 now to be found in ControlDialog.h and the declaration of the methods
836 is in ControlDialog.tmpl. The two template instantiations are performed
837 in ControlDialog_impl.[Ch], new files also.
839 * ControlInset.h: split into two. The definition remains in
840 ControlInset.h, the declaration is now in ControlInset.tmpl.
841 These template methods should be #included derived class is
842 instantiated, in this case in 8 other .C files in this directory.
844 * ControlAboutlyx.[Ch]:
845 * ControlCharacter.[Ch]:
855 * ControlPreamble.[Ch]:
857 * ControlSearch.[Ch]:
858 * ControlShowFile.[Ch]:
859 * ControlSpellchecker.[Ch]:
860 * ControlTabularCreate.[Ch]:
861 * ControlTexinfo.[Ch]:
862 * ControlThesaurus.[Ch]:
863 * ControlVCLog.[Ch]: small changes associated with the above ones.
865 * GUI.h: #include the ButtonController and dialog controller files
866 here, rather than forward declare them. This is the correct place
869 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
870 Rename ControlDialogs.h as ControlDialog.h.
871 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
874 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
876 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
878 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
880 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
883 * ControlGraphics.C (Browse): remove overzealous shortcut
885 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
887 * FormMinipage.C (apply, update): MinipageParams::width renamed
888 as MinipageParams::pageWidth. InsetMinipage::width renamed
889 as InsetMinipage::pageWidth.
891 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
893 * ButtonController.h (refreshReadOnly): use explicit typename
895 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
897 * helper_funcs.h (browseFile): add default empty button descriptions.
899 * ControlGraphics.C (Browse):
900 * ControlBibtex.C (Browse):
901 * ControlInclude.C (Browse): add shortcuts to directory buttons
903 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
905 * ControlThesaurus.h:
906 * ControlThesaurus.C: update to Aiksaurus 0.14
908 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
910 * ControlSpellchecker.C (clearParams): show the closing message
911 only if some words have been checked, thereby fixing
914 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
916 * ControlFloat.[Ch]: changes to prevent here definitely being used
919 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
921 * ControlThesaurus.h: do not include <config.h> in header files
923 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
925 * ControlToc.C: changes for floatlist
927 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
929 * ControlVCLog.C: use _()
931 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
933 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
936 2001-10-22 Juergen Vigna <jug@sad.it>
938 * ControlSpellchecker.C (clearParams): use the error_ message of the
939 speller_ if available when the spellchecker died.
940 (setParams): remove double error message display.
942 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
944 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
946 * helper_funcs.[Ch] (getLatexUnits): see above.
948 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
950 * ControlTexinfo.C (getContents): use the right file for .sty files
952 2001-10-10 Herbert Voss <voss@perce.de>
954 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
955 and some more stuff from FormTexinfo.C
957 * ControlShowFile.C: hiding the update-button
959 2001-10-09 Herbert Voss <voss@perce.de>
961 * ControlTexinfo.[Ch]: new files. Display information about the
962 installed texfiles (cls,sty,bst).
964 * ControlShowFile.[Ch]: new files. Display the contents of a file.
966 * GUI.h: added classes GUIShowFile and GUITexinfo.
968 * Makefile.am: modified appropriately.
970 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
972 * ControlAboutlyx.C (getVersion): use lyx_version and
973 lyx_release_date instead of old macros
975 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
977 * ControlSpellchecker.C (check): Behaves well now when the spell
978 library doesn't know a replacement to an incorrect word.
980 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
982 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
983 the correct place. Can now check spelling more than once!
985 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
987 * ControlSplash.[Ch]: removed.
989 * GUI.h: remove GUISplash class.
991 * ViewBase.h: remove ViewSplash class.
993 * Makefile.am: remove ControlSplash.[Ch].
995 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
997 * ControlButtons.h: add variable emergency_exit_. If set to true, the
998 view will be shut down.
1001 * ControlInset.h: act on emergency_exit_.
1003 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1004 speller fails to launch.
1006 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1008 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1009 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1011 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlRef.h (disconnectOnApply): new method. Set to true.
1014 Perhaps make this user-modifiable?
1016 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1018 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1021 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1023 * ControlRef.C (getBufferList, getBufferNum): New methods
1025 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1027 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1028 of the dialog when the Apply button is pressed. Defaults to false,
1029 but can be overridden in the daughter classes.
1031 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1032 Perhaps make this user-modifiable?
1034 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1036 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1037 we have dialogs that update their contents when the buffer changes.
1038 Rather embarassing, really!
1040 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1042 * ControlSearch (replace): change semantics of replace to NOT move on
1043 to the next instance of a word once the present instance has been
1044 replaced unless we are replacing ALL instances of the word.
1046 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1048 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1050 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1052 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1053 dialog, set all options to "reset", close the dialog, re-open it ->
1054 the options are set incorrectly.
1056 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1057 When Applying it's useful to know whether the dialog is about to close
1058 or not (no point refreshing the display for example).
1060 * ControlInset.C (apply): use isClosing.
1062 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1065 * ControlDialogs.h: remove bc() hack, now fixed in
1066 Qt2 frontend. use member dialog_built_ instead of shared
1069 * ButtonController.h:
1070 * ButtonPolicies.C: more debug info
1072 * ButtonControllerBase.C: call refresh() when setting readOnly !
1074 * GUI.h: External form has apply, use the right policy
1076 * character.C: fix two off-by-one errors when latex font was removed
1078 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1080 * ControlInset.h (apply): tentative fix for the press Apply multiple
1081 times and get multiple new Insets problem.
1083 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1085 * ControlCharacter.C: fix typo
1089 * ControlInsets.C: make sure dialog is built before it is shown, so
1090 it works properly the very first time it is shown
1092 2001-08-20 Herbert Voss <voss@perce.de>
1094 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1095 and styles. Added an option for "bibliography into toc"
1097 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1099 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1100 LaTeX is no longer a font property.
1102 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1104 * GUI.h: Button controller for Reference dialog changed to
1105 NoRepeatedApplyReadOnlyPolicy.
1107 * biblio.C (getInfo): output volume and number info. Move year to end
1110 2001-08-09 Allan Rae <rae@lyx.org>
1112 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1114 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1116 * helper_funcs.C (getVectorFromString): fixed small bug.
1118 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1120 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1122 * ControlSpellchecker.C: check next word after insert in personal dict
1124 2001-08-06 Juergen Vigna <jug@sad.it>
1126 * ControlERT.[Ch]: new file
1128 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1130 * ControlInset.h: const and non-const forms of params().
1132 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1133 whitespace from either side of each item.
1135 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1137 * ControlFloat.h: add a != operator for FloatParams.
1138 Lars, how did you get this to compile!!!
1140 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1141 operator != for MinipageParams. Who's changing stuff and not compiling?
1143 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1145 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1148 * GUI.h: add class GUIFloat
1150 * ControlFloat.[Ch]: new files
1152 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1154 * ControlPrint.C: #include Lassert.h here.
1156 2001-07-26 Baruch Even <baruch@lyx.org>
1158 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1161 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1163 * ControlThesaurus.h:
1164 * ControlThesaurus.C:
1166 * Makefile.am: thesaurus support
1168 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1171 * ControlInclude.C: implement ability to load file
1173 2001-07-18 Juergen Vigna <jug@sad.it>
1175 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1177 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1179 * biblio.C (getInfo): add a .c_str() to handle the usual
1182 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1184 * ControlCitation.[Ch]: changes associated with adding natbib support.
1185 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1186 New static variable citeStyles_.
1188 * biblio.[Ch]: large internal rearrangement.
1189 New public enum CiteStyle.
1190 New public struct CitationStyle.
1191 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1192 getNumericalStrings, getAuthorYearStrings
1193 (simpleSearch, regexSearch): no longer publicly accessible.
1195 * helper_funcs.C (getStringFromVector): bug fix.
1197 2001-07-16 Baruch Even <baruch@lyx.org>
1199 * ControlVCLog.h: Added Lsstream.h to includes.
1201 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1203 * ControlSpellchecker.[Ch]: remove d-tor.
1205 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1207 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1209 2001-07-16 Juergen Vigna <jug@sad.it>
1211 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1212 compiled with USE_PSPELL) to be able to switch between ISpell and
1215 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1217 Consistent use of Lsstream.h:
1218 * ControlAboutlyx.[Ch] (getCredits):
1219 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1221 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1223 * ControlCredits.[Ch]: removed
1224 * ControlCopyright.[Ch]: removed
1225 * ControlAboutlyx.[Ch]: added (replaces previous)
1226 * GUI.h: removed credits and copyright added about lyx stuff
1228 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1230 * ControlSpellchecker.C (getSuggestion):
1231 (getWord): add std:: qualifier
1233 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1235 * ControlSpellchecker.[Ch]: added
1236 * ViewBase.h: added partialUpdate(int) member
1237 * GUI.h: added spell stuff
1239 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1241 * ControlExternal.C: (*it). -> it->
1243 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1245 * ButtonController.h: move some included header files out of the
1246 frontends and into here.
1248 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1250 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1252 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1254 * *.[h]: added // -*- C++ -*-
1255 * *.[C]: removed // -*- C++ -*-
1257 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1258 activate Apply button.
1259 (clearParams): removed.
1260 font_ is now stored as a boost::scoped_ptr.
1261 font_ is no longer deleted on hide(), so it's contents can now be used
1262 by the Font button on the toolbar.
1263 Lots of new methods so that the GUI can easily get the contents of
1264 font_ when it update()s.
1266 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1268 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1269 crash when the Font button on the Toolbar is pressed.
1271 * GUI.h: change policy of Character button controller to
1272 OkApplyCancelReadOnlyPolicy.
1274 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1276 * ControlToc.C (getContents): don't add anything to the list if it
1277 is supposed to be empty.
1279 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1281 * helper_funcs.C (getVectorFromString): bug fix.
1283 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1285 * ButtonController.h
1286 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1287 from ButtonControllerBase::readOnly. Updates the state of the widgets
1288 in the read-only list only when the read-only status of the document
1290 (refresh): moved this stuff into refreshReadOnly.
1292 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1294 * ControlPrint.C (c-tor):
1295 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1297 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1300 * character.h: small clean-ups.
1302 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1304 * ControlToc.C (getType): remove support for old float list.
1306 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1308 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1309 * ControlGraphics.h: no longer include insetgraphicsParams.h
1310 * ControlInset.h: no longer include LyXView.h
1315 * ControlCharacter.C:
1316 * ControlCitation.C:
1318 * ControlConnections.C:
1319 * ControlCopyright.C:
1322 * ControlExternal.C:
1323 * ControlGraphics.C:
1326 * ControlMinipage.C:
1327 * ControlPreamble.C:
1331 * ControlTabularCreate.C:
1333 * ControlVCLog.C: they're now in here!
1335 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1337 * ButtonControllerBase.h: C++ mode, inherit privately from
1339 * ButtonPolicies.h: ditto
1341 * ButtonController.h: C++ mode, swap init order of restore_ and
1344 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1346 * ControlTabularCreate.h:
1347 * ControlTabularCreate.C: make dialogs use a pair of uints
1351 * ControlVCLog.C: fill a stringstream with the log contents
1354 * ControlExternal.C: from Angus, clone the new InsetExternal
1357 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1359 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1360 and made more robust.
1362 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1367 * ControlPreamble.C:
1369 * ControlGraphics.C:
1370 * ControlExternal.C:
1371 * ControlCopyright.C: include gettext.h
1373 * ControlCharacter.C:
1374 * character.C: include gettext.h and language.h
1376 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1378 * ButtonController.h:
1379 * ButtonControllerBase.h:
1380 * ButtonControllerBase.C:
1387 * ControlConnections.h:
1390 * ControlExternal.C:
1393 * ViewBase.h: s/ControlButton/ControlButtons/
1395 s/UndoAll/Restore/ + associated
1397 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1399 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1402 * Makefile.am: associated changes with all of the above.
1404 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1406 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1407 and edit, view, update the External Material correctly. I hope!
1409 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1411 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1413 * BCTemplates.h: renamed as ButtonController.h
1415 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1418 * ControlConnections.h: associated change in #include and class names.
1420 * ControlExternal.[Ch]: new files; a controller for the External
1424 * Makefile.am: associated changes with all of the above.
1426 * ControlGraphics.[Ch]:
1427 * ControlInclude.[Ch]:
1428 * ControlPrint.[Ch]:
1430 (Browse): new method. Returns the results of a FileDialog browse.
1432 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1433 (getVectorFromString): fixed bug.
1435 * biblio.C (simpleSearch): cleaned up.
1437 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1439 * A slight reworking of Baruch Even's ButtonController patch.
1441 * BCTemplates.h: new file; all the templates for the ButtonController.
1442 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1443 to the more generic setButtonLabel().
1445 * ButtonController.[Ch]: renamed cancel_label and close_label as
1446 cancel_label_ and close_label_.
1448 * Makefile.am: added BCTemplates.h
1450 2001-03-29 Juergen Vigna <jug@sad.it>
1452 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1453 to use new %-lengths of LyXLength.
1455 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1457 * ControlCitation.C (bibkeysInfo): removed Assert.
1459 * ControlCopyright.h: moved GUICopyright into GUI.h
1463 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1465 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1466 (setDaughterParams): a (by default empty) new method called in show().
1472 * ControlMinipage.h:
1475 * ControlUrl.h (clearDaughterParams): removed
1477 * ControlMinipage.C (applyParamsToInset): update the view.
1478 Added namespace minipage containing a helper function getUnits.
1480 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1482 * ControlCharacter.[Ch]: moved out all the helper functions and the
1483 enum into their own file.
1484 * character.[Ch]: new files; contain the character helper functions,
1485 now inside namespace character.
1487 * ControlCitation.[Ch]: moved out all the helper functions and the
1488 enums into their own file. Simplified interface.
1489 * biblio.[Ch]: new files; contain the citation helper functions,
1490 now inside namespace biblio. Will be of use also to an improved
1493 * ControlGraphics.[Ch]:
1494 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1495 popups, respectively.
1498 * Makefile.am: associated changes.
1500 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1502 * ControlMinipage.[Ch]:
1503 * ControlPreamble.[Ch]:
1504 * ControlPrint.[Ch]:
1505 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1506 and Print popups and Splash screen, respectively.
1508 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1512 * Makefile.am: associated changes.
1514 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1516 * ControlConnections.[Ch]: (docType): new method; returns the type
1517 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1520 * ControlSearch.[Ch]:
1521 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1522 Search and TabularCreate popups, respectively.
1525 * Makefile.am: associated changes.
1527 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1529 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1532 * ControlInset.h (apply): fix bug. Can now create new insets again.
1534 * README: describe program flow.
1536 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1538 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1540 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1542 * ControlDialogs.h: moved class ControlInset into its own file.
1544 * ControlInset.h: new file. class ControlInset has been expanded to take
1545 two template parameters, Inset and Params. Believe that all inset
1546 controllers can be derived from this with the minimum of effort.
1548 * ControlBibitem.[Ch]:
1549 * ControlBibtex.[Ch]:
1550 * ControlCitation.[Ch]:
1551 * ControlCommand.[Ch]: moved most code into ControlInset.
1553 * lots of files. Moved protected stuff into private where possible.
1555 * ControlError.[Ch]:
1556 * ControlInclude.[Ch]:
1557 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1558 Include and Url popups, respectively.
1561 * Makefile.am: associated changes.
1563 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1565 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1568 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1570 * ControlCredits.C (getCredits): remove std:: qualifier for
1573 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1575 * ControlCredits.C (getCredits): add std:: on vector
1577 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1579 * ControlCredits.C: remove using that is only used once, use
1580 std::ios instead of std::iosbase, add some annoying comments.
1582 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1584 * lots of header files: improved explanatory notes.
1586 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1587 ControlBase is now a class that only controls the interaction of the
1588 View with the ButtonController.
1590 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1591 to ControlConnectBase. The class controls the connection/disconnection
1592 of signals from the LyX kernel and makes available the kernel (through
1593 lv_) to daughter controller classes.
1594 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1596 * ControlDialogs.h: new file. Contains the definition of two template
1597 controller classes, ControlDialog and ControlInset (was
1598 ControlConnectInset). ControlInset is a parent class for controllers
1599 of inset-popups. ControlDialogs is the rather uninspired name for
1600 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1601 ControlDialogs is reaching a state of maturity as several popups now use
1602 it and its functionality becomes clear. ControlInset is still in a state
1603 of flux. It is likely that functionality will be moved out of
1604 ControlCommands and into it.
1606 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1607 individual Controller header files and into one place. These classes
1608 serve only as convenient wrappers to simplify code in the respective
1609 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1611 * ControlCharacter.[Ch] (show, update, hide):
1612 * ControlLog.[Ch] (show, update, hide):
1613 * ControlVCLog.[Ch] (show, update, hide): moved back into
1614 the ControlDialogs base class.
1615 (setParams, clearParams): new methods containing controller-specific
1616 code to set/reset the parameters manipulated by the view.
1618 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1620 (hide): calls clearParams.
1622 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1623 by ControlCommand::hide().
1625 * ControlCopyright.[Ch]:
1626 * ControlCredits.[Ch]: new files; controllers for the copyright and
1627 credits popups, respectively.
1629 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1631 * ControlCharacter.C: fix typo
1633 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1635 * ControlCharacter.[Ch]: new files; controller for the character popup.
1637 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1638 moved to new files helper_funcs.[Ch].
1640 * helper_funcs.[Ch]: new files. Some useful helper functions and
1643 * Makefile.am: added new files.
1645 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1647 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1649 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1652 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1653 Control log files, respectively.
1655 * Makefile.am: added new files.
1657 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1659 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1661 * Makefile.am: added ControlBibtex.[Ch].
1663 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1666 * ControlCitation.C: added "using SigC::slot" declaration.
1668 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1669 to FormCitation.C prior to the merger: "Do not put space between
1672 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1674 * several files: remove CXX_WORKING_NAMESPACES
1676 * ButtonController.h: noncopyable is in namespace boost
1677 * ButtonPolicies.h: ditto
1679 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1681 * Merging changes from BRANCH_MVC back into HEAD.
1683 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1685 * Makefile.am: add ControlBibitem.[Ch].
1687 * ControlBibitem.[Ch]: new files that together define the Controller
1688 for a Bibitem popup.
1690 * ControlCommand.h (c-tor): give kb_action a default value of
1693 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1695 * ControlCitation.[Ch]: moved search functions out of class.
1696 (bibkeysInfo): new method. Returns const reference to private data.
1697 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1700 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1702 * ControlCitation.[Ch]: added Search functions to the class,
1703 (shamelessly lifted from Marco's gnome code). I think that these would
1704 be better as helper functions outside the class, but this is a first
1707 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1709 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1711 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1712 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1713 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1714 implementation of FormCitation.
1716 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1718 * ButtonPolicies.h: add SMI_NOOP to enum.
1720 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1722 * ButtonController.C (input): add "optimising" if-statement. Actually,
1723 things don't work correctly without it...
1725 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1727 * ViewBase.h: remove #pragma directive
1729 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1732 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1734 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1736 * Makefile.am: added ButtonPolicies.[Ch]
1738 * ButtonController.[Ch]: ButtonController is split into
1739 ButtonControllerBase and a template ButtonController class. The base
1740 class no longer stores a pointer to a ButtonPolicy, but instead
1741 accesses the actual instantiation of the policy through a pure virtual
1742 method bp(). This method and the ButtonPolicy itself are instantiated
1743 in the templatised ButtonController class. This class is derived from
1744 the GUI-specific GUIBC class, meaning that the frontends know
1745 nothing about the actual policy decided upon by the controllers.
1747 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1748 Instead the actual instantiations are accessed through pure virtual
1749 methods view() and bc(). The daughter classes are responsible for the
1750 actual View and ButtonController.
1752 * ControlCitation.h: the templatised class GUICitation instantiates
1753 the methods view() and bc(). It also stores the instances of the
1754 View and ButtonController.
1756 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1758 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1759 also changed to ButtonController.
1762 * ControlConnections.[Ch]:
1763 * ControlCommand.[Ch]:
1764 * ControlCitation.[Ch]:
1765 * ViewBase.h: Changes associated with this.
1767 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1769 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1770 xforms/ButtonController class into a GUI-I class (here) and an
1771 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1773 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1774 from which all Dialog Controllers should be derived. the Controllers
1775 are GUI-independent, but are designed to control the behaviour of
1776 GUI-specific implementaions of each dialog.
1778 * ControlConnections.[Ch]: new files. Classes controlling the
1779 connections of buffer-independent, buffer-dependent and Inset dialogs
1780 with the LyX kernel.
1782 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1783 InsetCommand subset of insets.
1785 * ControlCitation.[Ch]: new files. The test specialisation! A
1786 controller for the Citation dialog.
1788 * ViewBase.h: new file. ViewBase is an abstract base class from which
1789 GUI-specific dialogs should be derived. The functionality that the GUIs
1790 must now implement is much reduced.