1 2003-01-31 Angus Leeming <leeming@lyx.org>
3 * ViewBase.h: add an isVisible() pure virtual method.
5 * ControlTabular.C (updateInset): don't build the dialog here.
6 Instead, do nothing if the dialog is invisible.
8 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
12 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
14 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
16 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
18 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
22 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
24 * several files: ws changes
26 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
28 * ControlDocument.C (classApply): use boost.format
30 2002-11-29 Angus Leeming <leeming@lyx.org>
32 * ControlButtons.h (isClosing): make it public, so that the view can
34 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
37 * ControlPrefs.[Ch] (OKButton): removed.
39 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
40 dialog isClosing(). (Ie, if the "save" button has been pressed.)
42 2002-11-28 John Levon <levon@movementarian.org>
44 * ControlSpellchecker.C: fix Lars' broken cleanup
46 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
48 * ControlTabular.[Ch]: Add isMulticolumnCell
50 2002-11-27 Angus Leeming <leeming@lyx.org>
52 * ControlMath.C (ControlMath): initialise active_.
54 2002-11-25 Angus Leeming <leeming@lyx.org>
56 * ControlDialog.h (hide, update): move from protected to public.
58 * ControlMath.[Ch]: add controllers for the main math panel dialog and
59 for any daughter dialogs stored by the main panel.
61 2002-11-21 Angus Leeming <leeming@lyx.org>
63 * ControlDocument.[Ch] (classApply): no longer returns bool.
64 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
66 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * biblio.C (getAbbreviatedAuthor): use boost::format
70 * ControlSpellchecker.C (clearParams): use boost::format
72 2002-11-20 John Levon <levon@movementarian.org>
74 * ControlMath.C: couple more manglings
76 2002-11-20 John Levon <levon@movementarian.org>
79 * ControlMath.C: add find_xpm mangler
81 2002-11-17 John Levon <levon@movementarian.org>
83 * helper_funcs.C and users: specify save/open in file dialog
85 2002-11-15 John Levon <levon@movementarian.org>
88 * ControlPrefs.C: use setParams()
90 2002-11-15 John Levon <levon@movementarian.org>
92 * ControlButtons.h: make OKButton() virtual for prefs
95 * ControlPrefs.C: updates for xforms port to MVC
99 * ControlTabular.C: add simple MVC port
101 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
103 * ControlInclude.C: fix file format masks for qt's use
105 2002-11-13 John Levon <levon@movementarian.org>
109 * ControlPrefs.C: add skeleton controller
111 2002-11-12 John Levon <levon@movementarian.org>
113 * biblio.C: fix warnings
115 2002-11-12 Angus Leeming <leeming@lyx.org>
117 * ControlSpellchecker.C (check): fix crash
118 * biblio.C (escape_special_chars): simplify BRE.
120 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
122 * ControlDocument.[Ch]: Remove unused method
124 2002-11-07 Angus Leeming <leeming@lyx.org>
126 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
127 * clean-up the search code in biblio.C.
129 2002-11-07 John Levon <levon@movementarian.org>
131 * ControlGraphics.C: QGraphics fixes
133 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
135 * ControlDocument.C: (SaveAsDefault) make it work.
136 fix buffer update on class change
138 2002-11-06 Angus Leeming <leeming@lyx.org>
140 * biblio.C (searchKeys and helper functions): rewritten entirely
141 using the STL. Boost::regex searching now works as the old 1.2 code
144 2002-11-06 Angus Leeming <leeming@lyx.org>
146 * biblio.C: clean-up of the code. No change in functionality.
148 2002-11-04 Angus Leeming <leeming@lyx.org>
150 * ControlGraphics.[Ch] (getUnits): moved out of class and into
151 frnt::getBBUnits(). Code cleaned also.
153 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * biblio.C (regexSearch): STRCONV
158 * ControlAboutlyx.C (getVersion): STRCONV
160 * ControlMath.C: include config.h
162 2002-10-31 John Levon <levon@movementarian.org>
165 * ControlGraphics.C: bb units from Herbert
167 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
169 * ControlParagraph.[Ch] (alignDefault): new method, returning the
170 default alignment (block, left, right, center) of this paragraph.
172 2002-10-25 John Levon <levon@movementarian.org>
174 * ControlPrint.C: using endl
176 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
178 * ControlPrint.[Ch]: move code here from Liason.[Ch].
180 * ControlSpellchecker.h (getCount): new method.
181 * ControlSpellchecker.[Ch]: constify some accessor methods.
183 2002-10-22 Angus Leeming <leeming@lyx.org>
185 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
186 alphabetical order once again.
188 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
189 Add a list of CheckedWidget ptrs to ButtonControllerBase
190 together with methods addCheckedWidget and checkWidgets to use it.
192 * ButtonController.tmpl (refresh): use the return value of
193 checkWidgets to control the activation state of the Ok, Apply, Restore
196 * ControlDialog.tmpl (show, update):
197 * ControlInset.tmpl (showInset, update):
198 invoke ButtonController::refresh to ensure that the activation state of
199 the Ok, Apply buttons reflects the valid-state of the widgets.
201 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * tex_helpers.C (rescanTexStyles): don't pop p
206 * ControlWrap.C (WrapParms): remove initialization of placement,
207 and move empty c-tor to .h class def.
209 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
210 of on stringsteam, return void. Get the file into the stream as
213 * ControlPreamble.[Ch] (params): getter and setter for params_, make
214 params_ into a string, not just a pointer to string.
216 * ControlExternal.C (getTemplateNumber): put i into the for scope,
217 and use the sequence operator on the last for "parameter"
218 (getTemplate): use std::advance to advance the iterator.
220 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
221 instead of on a stringstream, return void. Get the file into the
222 stream as fast as possible.
223 (getVersion): use ostringstream
225 * lots of files: ws changes, formatting fixes
227 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
229 * ControlCharacter.C (apply): setMinibuffer change
230 * ControlDocument.C (apply): ditto
232 * ControlThesaurus.C (replace): ditto
233 * ControlSearch.C (find): ditto
235 * ControlPreamble.C (apply): ditto
236 * ControlParagraph.C (apply): ditto
238 2002-10-14 André Pönitz <poenitz@gmx.net>
240 * ControlDocument.C: somebody else's fix for a hard lockup
242 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
246 * Makefile.am: New document parameters controller
248 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
252 2002-09-24 Angus Leeming <leeming@lyx.org>
254 * ControlConnections.h: remove trailing whitespace.
256 * biblio.h: #include "LString.h".
258 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
260 * ControlGraphics.C: Change GUI origin strings into proper English.
262 2002-09-09 John Levon <levon@movementarian.org>
264 * ControlInclude.C: fix file masks. Get rid of noload,
265 remove stupid warning
267 2002-09-09 John Levon <levon@movementarian.org>
270 * ControlMath.C: add latex_deco
272 2002-09-06 John Levon <levon@movementarian.org>
274 * ControlMath.C: terminate dots
276 2002-09-05 Angus Leeming <leeming@lyx.org>
278 * all files: modify the headers as discussed on the list.
280 2002-08-30 John Levon <levon@movementarian.org>
283 * ControlMath.C: moved from MathsSymbols.C
285 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
287 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
289 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
291 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
292 first item in the list
294 2002-08-15 Angus Leeming <leeming@lyx.org>
296 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
298 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
300 2002-08-15 Angus Leeming <leeming@lyx.org>
302 * lots: changed my email address to leeming@lyx.org.
304 * GUI.h: return it to private derivation from boost::noncopyable.
306 2002-08-14 Angus Leeming <leeming@lyx.org>
308 * GUI.h: public derivation from boost::noncopyable.
310 2002-08-14 Angus Leeming <leeming@lyx.org>
312 * GUI.h: class GUI deries from boost::noncopyable
314 * ControlButtons.h: no longer derives from DialogBase, but instead
315 derives directly from boost::noncopyable.
317 * ViewBase.h: derives from boost::noncopyable.
319 * ControlCharacter.C:
321 * ControlConnections.C:
324 * ControlParagraph.C:
328 * ControlSpellchecker.C:
330 * ControlThesaurus.C:
331 rearrange #includes. Remove unnecessary ones.
333 * ControlError.h: add "insets/inseterror.h".
335 * helper_funcs.h: add necessary #includes.
337 * tex_helpers.[Ch]: add #pragma directives for g++.
339 * Makefile.am: remove src/frontends from -I list to compiler.
341 2002-08-13 Angus Leeming <leeming@lyx.org>
343 * ControlConnections.C:
345 changes due to the changed LyXView interface that now returns references
346 to member variables not pointers.
348 2002-08-12 Angus Leeming <leeming@lyx.org>
350 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
351 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
352 for the most commonly accessed core methods, to minimise code
355 * many files: use these wrappers and remove associated #includes.
357 2002-08-12 Angus Leeming <leeming@lyx.org>
359 * ControlButtons.[Ch] (bc, view): no longer virtual.
360 (setView, setButtonController): new methods, invoked by GUI.
362 * ControlDialog.h (show):
363 * ControlInset.h (createInset, showInset): make public, so that GUI can
366 * GUI.h: GUI now contains a controller, rather than deriving from it.
367 remove all those friend functions since we can now access the show,
368 createInset, showInset controller methods.
370 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
373 * character.h: #include a couple of STL files.
375 2002-08-08 John Levon <levon@movementarian.org>
377 * ControlCommandBuffer.C: LyXAction cleanup
379 2002-08-07 John Levon <levon@movementarian.org>
381 * ControlSpellchecker.C: fix crash when spellchecker doesn't
384 2002-08-06 John Levon <levon@movementarian.org>
386 * ControlSpellchecker.C:
387 * ControlSpellchecker.h: use WordLangTuple
389 2002-08-06 John Levon <levon@movementarian.org>
391 * ControlSpellchecker.C: show an alert with the
392 error message on initialisation failure
394 2002-08-04 John Levon <levon@movementarian.org>
396 * ControlSpellchecker.h:
397 * ControlSpellchecker.C: some cleanups
399 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
401 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
403 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
404 the Dialogs::updateParagraph signal is emitted.
406 2002-08-02 Angus Leeming <leeming@lyx.org>
408 * ControlCharacter.C (apply):
409 * ControlERT.C (applyParamsToInset):
410 * ControlParagraph.C (apply):
411 * ControlSearch.C (find, replace):
412 * ControlThesaurus.C (replace): changes due to LyXView::view() now
413 returning a boost::shared_ptr.
415 2002-08-01 John Levon <levon@movementarian.org>
417 * ControlSendto.C: writeFile() change
419 2002-08-01 John Levon <levon@movementarian.org>
421 * ControlSpellchecker.h:
422 * ControlSpellchecker.C: remove options
424 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * several files: strip,frontStrip -> trim,ltrim,rtrim
428 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
430 * biblio.C (parseBibTeX): modify because of strip changes
432 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
434 * ControlFloat.[Ch]: Implement Wide Float toggle
435 Replace "allow_here_definitely" by "wide"
437 2002-07-22 Herbert Voss <voss@lyx.org>
439 * ControlGraphics.C: small changes
441 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
443 * ControlToc.C: remove getType
445 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
447 * ControlCommandBuffer.C: don't add "" to history
449 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
451 * ControlRef.C: fix dispatch call nicely
453 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
456 * ControlCommandBuffer.h:
457 * ControlCommandBuffer.C: add controller for command (mini) buffer
460 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
462 * ControlRef.C: fix dispatch call
464 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
466 * ControlCharacter.C: use view_state_changed not setState
468 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
470 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
472 2002-07-15 Mike Fabian <mfabian@suse.de>
474 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
475 of compare_no_case, because in turkish, 'i' is not the lowercase
476 version of 'I', and thus turkish locale breaks parsing of tags.
478 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
480 * ControlBibtex.C (applyParamsToInset): ws change
482 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
484 * ControlInclude.C: Add warning if absolute path name and
485 check_typeset is used together
487 2002-06-28 Angus Leeming <leeming@lyx.org>
489 * ControlGraphics.C: changes associated with the name changes
490 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
492 2002-06-25 Angus Leeming <leeming@lyx.org>
494 * ControlGraphics.C (readBB): Channges associated with the changed
495 interface to the graphics cache.
497 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
499 * ControlParagraph.C: layout as layout
501 2002-06-21 Angus Leeming <leeming@lyx.org>
503 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
504 * tex_helpers.h: #include "LString.h".
506 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
509 * ControlBibitem.C: use repaint()
511 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
513 * ControlTexinfo.C: do the same for Texinfo
515 * tex_helpers.C: don't try to read a file that isn't there
517 2002-06-21 Herbert Voss <voss@perce.de>
519 * ControlBibtex.C: do an automatic update, when no bst-list
522 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
524 * GUI.h: createIndex() changed
526 2002-06-18 Herbert Voss <voss@perce.de>
528 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
529 helperstuff. Now the bibtex gui can use some of these functions
531 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
533 * ControlGraphics.C: just make the mask *.*
535 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
537 * changes to simplify function setup, removal of a lot of includes.
539 2002-06-12 Angus Leeming <leeming@lyx.org>
541 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
543 2002-06-12 Angus Leeming <leeming@lyx.org>
545 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
547 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
549 * ControlParagraph.[Ch]: new paragraph controller
550 * GUI.h: add new controller
553 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
555 * GUI.h: do not include ButtonController.tmpl
557 * ControlInset.h: include ControlInset.tmpl
559 * ControlCitation.C: do not include ControlInset.tmpl
560 * ControlCommand.C: ditto
561 * ControlERT.C: ditto
562 * ControlError.C: ditto
563 * ControlExternal.C: ditto
564 * ControlFloat.C: ditto
565 * ControlGraphics.C: ditto
566 * ControlInclude.C: ditto
567 * ControlMinipage.C: ditto
569 * ControlDialog.tmpl: remove the Base:: prefix
571 2002-06-07 Angus Leeming <leeming@lyx.org>
573 Fixes needed to compile with Compaq cxx 6.5.
574 * ControlDialog.tmpl: I have had to prefix base class methods with
577 * ControlInset.tmpl: #include a couple of headers.
579 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
581 * switch from SigC signals to boost::signals
583 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
585 * biblio.h: include vector
587 * biblio.C: change include order
588 (regexSearch): use boost regex and get rid of LRegex
590 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
595 * ControlCharacter.C:
598 * ControlConnections.C:
615 * ControlSpellchecker.C:
616 * ControlTabularCreate.C:
618 * ControlThesaurus.C:
621 * ControlVCLog.C: LyXView moved into frontends
623 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
625 * ControlExternal.C: add scoped_ptr.hpp
627 * ControlCharacter.h: use more specific smart_ptr header.
629 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
631 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
633 2002-05-13 Herbert Voss <voss@perce.de>
635 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
636 like "Odland, G. and ... "
637 (parseBibTeX): fix bug with title and booktitle
638 and replace a \n with a space when one entry has more than
641 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
643 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
644 "No change" and "Reset".
646 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
647 them at the front of the list.
649 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
651 * ControlGraphics.C: add some comments to the char * arrays.
652 Make rorigin_size const.
654 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
656 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
657 Enables the gui's to internationalise these strings.
659 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
661 * frnt_lang.C: fix build
663 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
665 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
666 If the the caller is the character dialog, add "No change" and "Reset"
667 to the vector, else don't.
668 Internationalise the GUI strings here rather than in the different
670 Sort the translated strings, albeit simply.
672 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
674 * character.[Ch]: rename namespace character as namespace frnt.
676 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
677 as several dialogs will use this info. The function now returns a
678 vector<LanguagePair> where LanguagePair is a display string and an
679 identifying string. The display string is internationalised.
681 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
682 the identifying strings, "No change" and "Reset".
684 * Makefile.am: add frnt_lang.[Ch].
686 2002-04-25 Herbert Voss <voss@lyx.org>
688 * ControlSendto.C (allFormats): don't add the graphics extensions to the
691 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
693 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
694 BibTeX databases in a WYSIWYM way.
696 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
698 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
699 way past his use-by date.
700 Make use of the improved info from Buffer::getBibkeyList when using
701 \bibliography. Enables us to provide natbib support in this case too.
703 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
705 * ControlGraphics.C: pass the browseFile dialog a string of only those
706 formats that can currently be loaded by LyX.
708 2002-04-15 Herbert Voss <voss@perce.de>
710 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
711 with something like ,,...blah...`` (two commas)
713 2002-04-14 Herbert Voss <voss@perce.de>
715 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
716 into the support/lstrings for better use in other programs.
718 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
719 namespace anon and make globally accessible.
720 (familyName): test for the presence of a LaTeX Space at the front of
721 of a name; strip it if it exists.
723 2002-04-11 Herbert Voss <voss@perce.de>
725 * ControlGraphics.C: expand "browse-string" to all available formats
727 2002-04-11 Herbert Voss <voss@perce.de>
729 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
731 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
733 * ControlAboutlyx.C (getVersion): two _() forgotten
735 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
739 * ControlBibtex.C: make N_() be _()
741 2002-04-07 Herbert Voss <voss@perce.de>
743 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
745 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
748 used when reading the BB.
750 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
752 * ControlGraphics.C (readBB): Don't open the ifstrem and then
753 check the format from the contents (and open a second ifstream in the
754 process. One at a time please.
756 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
758 * ControlRef.C (getBufferNum): squash warning message.
760 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlBibtex.C (Browse):
763 * ControlGraphics.C (Browse):
764 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
766 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
768 * ControlGraphics.C (applyParamsToInset): pass filepath to
769 InsetGraphics::updateInset.
771 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * most files: ws cleanup
775 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
777 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
780 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
783 * ControlInclude.C: better error messages
785 2002-03-11 Herbert Voss <voss@lyx.org>
787 * biblio.C (parseBibTeX): fix another minibug with an
790 2002-03-10 Herbert Voss <voss@lyx.org>
792 * biblio.C (parseBibTeX): fix bug
793 (familyName): improve parsing
795 2002-03-09 Herbert Voss <voss@lyx.org>
797 * ControlGraphics.[Ch]: adding checkFilename() for testing
798 of non-existing files
800 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
802 * ControlSendto.C (allFormats): fix a iterators are not pointers
805 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
807 * ControlShowFile.h: add a #include "LString.h"
809 2002-03-05 Herbert Voss <voss@lyx.org>
811 * biblio.C (getInfo): simplify if using paragraph layout
814 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
816 * biblio.C (getInfo): return the info field correctly if the key
818 (parseBibTeX): fix crash when data.find('=') returns string::npos.
820 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
822 * ControlForks.[Ch]: new files. A controller for the Forked Child
823 processes dialog, enabling the user to see what forked processes
824 are running, and, if he so desires, to kill them.
826 * GUI.h: add class GUIForks.
828 * Makefile.am: add ControlForks.[Ch].
830 * ControlGraphics.C (getParams): small change due to change in
833 2002-02-21 Herbert Voss <voss@lyx.org>
835 * biblio.C: fix bug with commentlines in a bibentry
837 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
839 * Makefile.am: simpler obj. file compile
841 2002-02-18 Herbert Voss <voss@lyx.org>
843 * ControlGraphics.[Ch]: remove help-file call
845 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
847 * helper_funcs.h: wrap the structs firster and seconder up in a
848 namespace to avoid clashes with those in lyxalgo,h.
850 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
851 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
853 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
855 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
858 change Systemcalls::System to Systemcalls::Wait and
859 No change of functionality, just reflects the stripped down Systemcalls
862 2002-02-06 Herbert Voss <voss@lyx.org>
864 * ControlGraphics.[C] (readBB): search also in
865 g'zipped files. If it is useful than PK and compress
866 should also be supported. use unzipFile() from
869 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
871 * ControlRef.C (getBufferName): new method to get a real buffer
874 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
876 * ControlTexInfo.[Ch]: Removed Help functions.
878 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
880 * ControlSpellchecker.C: clear any selection left
883 2002-02-01 Herbert Voss <voss@lyx.org>
885 * ControlGraphics.[C] (readBB): search only, if it is a
886 ".?ps" file and look for bb's at end of file
888 2002-01-30 Herbert Voss <voss@lyx.org>
890 * ControlGraphic.[C]: do not search the whole file, when
893 2002-01-29 Herbert Voss <voss@lyx.org>
895 * ControlGraphic.[C]: added a button for document path
896 when browsing -> bug 222
898 2002-01-27 Herbert Voss <voss@lyx.org>
900 * ControlGraphic.[Ch]: added support for Bounding Box, other
903 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
906 * ControlTexinfo.h: added #include "LString.h" where they belong.
908 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
911 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
913 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
915 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
918 2002-01-20 Herbert Voss <voss@perce.de>
920 * ControlInclude.[Ch]: better control of unexistings files
921 when entered without the browser
923 * ControlGraphic.C (Browse): add extension "ps" when browsing for
926 2002-01-19 Herbert Voss <voss@perce.de>
928 * biblio.C (getInfo): fix bug when no author is given
930 * biblio.C (parseBibTeX): change the parsing, so that
931 '#'-characters in a bibtex entry are no more a problem.
933 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
935 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
936 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
938 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
940 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
942 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
944 * ControlExternal.C (Browse): add a std:: qualifier
946 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
948 * ControlExternal.C (Browse): simplify to use browseRelFile
950 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
952 * ButtonController.tmpl: added // -*- C++ -*-
954 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
955 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
956 Needed in _one_ of the ControlCommand-derived classes only.
958 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
961 * ControlSearch.h: #include LString.h
963 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
965 * ButtonController.h: split into two. The definition remains in
966 ButtonController.h, the declaration is now in ButtonController.tmpl.
967 These template methods should be #included when the derived class is
968 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
969 and in the qt2 and gnome equivalents.
971 * ControlDialogs.h: removed. The definition of class ControlDialog is
972 now to be found in ControlDialog.h and the declaration of the methods
973 is in ControlDialog.tmpl. The two template instantiations are performed
974 in ControlDialog_impl.[Ch], new files also.
976 * ControlInset.h: split into two. The definition remains in
977 ControlInset.h, the declaration is now in ControlInset.tmpl.
978 These template methods should be #included derived class is
979 instantiated, in this case in 8 other .C files in this directory.
981 * ControlAboutlyx.[Ch]:
982 * ControlCharacter.[Ch]:
992 * ControlPreamble.[Ch]:
994 * ControlSearch.[Ch]:
995 * ControlShowFile.[Ch]:
996 * ControlSpellchecker.[Ch]:
997 * ControlTabularCreate.[Ch]:
998 * ControlTexinfo.[Ch]:
999 * ControlThesaurus.[Ch]:
1000 * ControlVCLog.[Ch]: small changes associated with the above ones.
1002 * GUI.h: #include the ButtonController and dialog controller files
1003 here, rather than forward declare them. This is the correct place
1004 for these #includes.
1006 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1007 Rename ControlDialogs.h as ControlDialog.h.
1008 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1011 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1013 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1015 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1017 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1020 * ControlGraphics.C (Browse): remove overzealous shortcut
1022 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1024 * FormMinipage.C (apply, update): MinipageParams::width renamed
1025 as MinipageParams::pageWidth. InsetMinipage::width renamed
1026 as InsetMinipage::pageWidth.
1028 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1030 * ButtonController.h (refreshReadOnly): use explicit typename
1032 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1034 * helper_funcs.h (browseFile): add default empty button descriptions.
1036 * ControlGraphics.C (Browse):
1037 * ControlBibtex.C (Browse):
1038 * ControlInclude.C (Browse): add shortcuts to directory buttons
1040 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1042 * ControlThesaurus.h:
1043 * ControlThesaurus.C: update to Aiksaurus 0.14
1045 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1047 * ControlSpellchecker.C (clearParams): show the closing message
1048 only if some words have been checked, thereby fixing
1051 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1053 * ControlFloat.[Ch]: changes to prevent here definitely being used
1056 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1058 * ControlThesaurus.h: do not include <config.h> in header files
1060 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1062 * ControlToc.C: changes for floatlist
1064 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1066 * ControlVCLog.C: use _()
1068 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1073 2001-10-22 Juergen Vigna <jug@sad.it>
1075 * ControlSpellchecker.C (clearParams): use the error_ message of the
1076 speller_ if available when the spellchecker died.
1077 (setParams): remove double error message display.
1079 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1081 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1083 * helper_funcs.[Ch] (getLatexUnits): see above.
1085 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1087 * ControlTexinfo.C (getContents): use the right file for .sty files
1089 2001-10-10 Herbert Voss <voss@perce.de>
1091 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1092 and some more stuff from FormTexinfo.C
1094 * ControlShowFile.C: hiding the update-button
1096 2001-10-09 Herbert Voss <voss@perce.de>
1098 * ControlTexinfo.[Ch]: new files. Display information about the
1099 installed texfiles (cls,sty,bst).
1101 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1103 * GUI.h: added classes GUIShowFile and GUITexinfo.
1105 * Makefile.am: modified appropriately.
1107 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1109 * ControlAboutlyx.C (getVersion): use lyx_version and
1110 lyx_release_date instead of old macros
1112 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1114 * ControlSpellchecker.C (check): Behaves well now when the spell
1115 library doesn't know a replacement to an incorrect word.
1117 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1119 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1120 the correct place. Can now check spelling more than once!
1122 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1124 * ControlSplash.[Ch]: removed.
1126 * GUI.h: remove GUISplash class.
1128 * ViewBase.h: remove ViewSplash class.
1130 * Makefile.am: remove ControlSplash.[Ch].
1132 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1134 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1135 view will be shut down.
1138 * ControlInset.h: act on emergency_exit_.
1140 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1141 speller fails to launch.
1143 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1145 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1146 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1148 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1150 * ControlRef.h (disconnectOnApply): new method. Set to true.
1151 Perhaps make this user-modifiable?
1153 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1158 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1160 * ControlRef.C (getBufferList, getBufferNum): New methods
1162 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1164 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1165 of the dialog when the Apply button is pressed. Defaults to false,
1166 but can be overridden in the daughter classes.
1168 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1169 Perhaps make this user-modifiable?
1171 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1173 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1174 we have dialogs that update their contents when the buffer changes.
1175 Rather embarassing, really!
1177 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1179 * ControlSearch (replace): change semantics of replace to NOT move on
1180 to the next instance of a word once the present instance has been
1181 replaced unless we are replacing ALL instances of the word.
1183 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1185 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1187 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1189 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1190 dialog, set all options to "reset", close the dialog, re-open it ->
1191 the options are set incorrectly.
1193 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1194 When Applying it's useful to know whether the dialog is about to close
1195 or not (no point refreshing the display for example).
1197 * ControlInset.C (apply): use isClosing.
1199 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1202 * ControlDialogs.h: remove bc() hack, now fixed in
1203 Qt2 frontend. use member dialog_built_ instead of shared
1206 * ButtonController.h:
1207 * ButtonPolicies.C: more debug info
1209 * ButtonControllerBase.C: call refresh() when setting readOnly !
1211 * GUI.h: External form has apply, use the right policy
1213 * character.C: fix two off-by-one errors when latex font was removed
1215 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1217 * ControlInset.h (apply): tentative fix for the press Apply multiple
1218 times and get multiple new Insets problem.
1220 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1222 * ControlCharacter.C: fix typo
1226 * ControlInsets.C: make sure dialog is built before it is shown, so
1227 it works properly the very first time it is shown
1229 2001-08-20 Herbert Voss <voss@perce.de>
1231 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1232 and styles. Added an option for "bibliography into toc"
1234 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1236 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1237 LaTeX is no longer a font property.
1239 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1241 * GUI.h: Button controller for Reference dialog changed to
1242 NoRepeatedApplyReadOnlyPolicy.
1244 * biblio.C (getInfo): output volume and number info. Move year to end
1247 2001-08-09 Allan Rae <rae@lyx.org>
1249 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1251 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1253 * helper_funcs.C (getVectorFromString): fixed small bug.
1255 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1257 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1259 * ControlSpellchecker.C: check next word after insert in personal dict
1261 2001-08-06 Juergen Vigna <jug@sad.it>
1263 * ControlERT.[Ch]: new file
1265 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1267 * ControlInset.h: const and non-const forms of params().
1269 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1270 whitespace from either side of each item.
1272 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1274 * ControlFloat.h: add a != operator for FloatParams.
1275 Lars, how did you get this to compile!!!
1277 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1278 operator != for MinipageParams. Who's changing stuff and not compiling?
1280 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1282 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1285 * GUI.h: add class GUIFloat
1287 * ControlFloat.[Ch]: new files
1289 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1291 * ControlPrint.C: #include Lassert.h here.
1293 2001-07-26 Baruch Even <baruch@lyx.org>
1295 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1298 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1300 * ControlThesaurus.h:
1301 * ControlThesaurus.C:
1303 * Makefile.am: thesaurus support
1305 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1308 * ControlInclude.C: implement ability to load file
1310 2001-07-18 Juergen Vigna <jug@sad.it>
1312 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1314 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1316 * biblio.C (getInfo): add a .c_str() to handle the usual
1319 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1321 * ControlCitation.[Ch]: changes associated with adding natbib support.
1322 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1323 New static variable citeStyles_.
1325 * biblio.[Ch]: large internal rearrangement.
1326 New public enum CiteStyle.
1327 New public struct CitationStyle.
1328 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1329 getNumericalStrings, getAuthorYearStrings
1330 (simpleSearch, regexSearch): no longer publicly accessible.
1332 * helper_funcs.C (getStringFromVector): bug fix.
1334 2001-07-16 Baruch Even <baruch@lyx.org>
1336 * ControlVCLog.h: Added Lsstream.h to includes.
1338 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1340 * ControlSpellchecker.[Ch]: remove d-tor.
1342 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1344 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1346 2001-07-16 Juergen Vigna <jug@sad.it>
1348 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1349 compiled with USE_PSPELL) to be able to switch between ISpell and
1352 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1354 Consistent use of Lsstream.h:
1355 * ControlAboutlyx.[Ch] (getCredits):
1356 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1358 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1360 * ControlCredits.[Ch]: removed
1361 * ControlCopyright.[Ch]: removed
1362 * ControlAboutlyx.[Ch]: added (replaces previous)
1363 * GUI.h: removed credits and copyright added about lyx stuff
1365 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1367 * ControlSpellchecker.C (getSuggestion):
1368 (getWord): add std:: qualifier
1370 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1372 * ControlSpellchecker.[Ch]: added
1373 * ViewBase.h: added partialUpdate(int) member
1374 * GUI.h: added spell stuff
1376 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1378 * ControlExternal.C: (*it). -> it->
1380 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1382 * ButtonController.h: move some included header files out of the
1383 frontends and into here.
1385 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1387 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1389 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1391 * *.[h]: added // -*- C++ -*-
1392 * *.[C]: removed // -*- C++ -*-
1394 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1395 activate Apply button.
1396 (clearParams): removed.
1397 font_ is now stored as a boost::scoped_ptr.
1398 font_ is no longer deleted on hide(), so it's contents can now be used
1399 by the Font button on the toolbar.
1400 Lots of new methods so that the GUI can easily get the contents of
1401 font_ when it update()s.
1403 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1405 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1406 crash when the Font button on the Toolbar is pressed.
1408 * GUI.h: change policy of Character button controller to
1409 OkApplyCancelReadOnlyPolicy.
1411 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1413 * ControlToc.C (getContents): don't add anything to the list if it
1414 is supposed to be empty.
1416 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1418 * helper_funcs.C (getVectorFromString): bug fix.
1420 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1422 * ButtonController.h
1423 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1424 from ButtonControllerBase::readOnly. Updates the state of the widgets
1425 in the read-only list only when the read-only status of the document
1427 (refresh): moved this stuff into refreshReadOnly.
1429 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1431 * ControlPrint.C (c-tor):
1432 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1434 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1437 * character.h: small clean-ups.
1439 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1441 * ControlToc.C (getType): remove support for old float list.
1443 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1445 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1446 * ControlGraphics.h: no longer include insetgraphicsParams.h
1447 * ControlInset.h: no longer include LyXView.h
1452 * ControlCharacter.C:
1453 * ControlCitation.C:
1455 * ControlConnections.C:
1456 * ControlCopyright.C:
1459 * ControlExternal.C:
1460 * ControlGraphics.C:
1463 * ControlMinipage.C:
1464 * ControlPreamble.C:
1468 * ControlTabularCreate.C:
1470 * ControlVCLog.C: they're now in here!
1472 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1474 * ButtonControllerBase.h: C++ mode, inherit privately from
1476 * ButtonPolicies.h: ditto
1478 * ButtonController.h: C++ mode, swap init order of restore_ and
1481 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1483 * ControlTabularCreate.h:
1484 * ControlTabularCreate.C: make dialogs use a pair of uints
1488 * ControlVCLog.C: fill a stringstream with the log contents
1491 * ControlExternal.C: from Angus, clone the new InsetExternal
1494 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1496 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1497 and made more robust.
1499 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1504 * ControlPreamble.C:
1506 * ControlGraphics.C:
1507 * ControlExternal.C:
1508 * ControlCopyright.C: include gettext.h
1510 * ControlCharacter.C:
1511 * character.C: include gettext.h and language.h
1513 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1515 * ButtonController.h:
1516 * ButtonControllerBase.h:
1517 * ButtonControllerBase.C:
1524 * ControlConnections.h:
1527 * ControlExternal.C:
1530 * ViewBase.h: s/ControlButton/ControlButtons/
1532 s/UndoAll/Restore/ + associated
1534 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1536 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1539 * Makefile.am: associated changes with all of the above.
1541 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1543 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1544 and edit, view, update the External Material correctly. I hope!
1546 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1548 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1550 * BCTemplates.h: renamed as ButtonController.h
1552 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1555 * ControlConnections.h: associated change in #include and class names.
1557 * ControlExternal.[Ch]: new files; a controller for the External
1561 * Makefile.am: associated changes with all of the above.
1563 * ControlGraphics.[Ch]:
1564 * ControlInclude.[Ch]:
1565 * ControlPrint.[Ch]:
1567 (Browse): new method. Returns the results of a FileDialog browse.
1569 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1570 (getVectorFromString): fixed bug.
1572 * biblio.C (simpleSearch): cleaned up.
1574 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1576 * A slight reworking of Baruch Even's ButtonController patch.
1578 * BCTemplates.h: new file; all the templates for the ButtonController.
1579 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1580 to the more generic setButtonLabel().
1582 * ButtonController.[Ch]: renamed cancel_label and close_label as
1583 cancel_label_ and close_label_.
1585 * Makefile.am: added BCTemplates.h
1587 2001-03-29 Juergen Vigna <jug@sad.it>
1589 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1590 to use new %-lengths of LyXLength.
1592 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1594 * ControlCitation.C (bibkeysInfo): removed Assert.
1596 * ControlCopyright.h: moved GUICopyright into GUI.h
1600 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1602 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1603 (setDaughterParams): a (by default empty) new method called in show().
1609 * ControlMinipage.h:
1612 * ControlUrl.h (clearDaughterParams): removed
1614 * ControlMinipage.C (applyParamsToInset): update the view.
1615 Added namespace minipage containing a helper function getUnits.
1617 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1619 * ControlCharacter.[Ch]: moved out all the helper functions and the
1620 enum into their own file.
1621 * character.[Ch]: new files; contain the character helper functions,
1622 now inside namespace character.
1624 * ControlCitation.[Ch]: moved out all the helper functions and the
1625 enums into their own file. Simplified interface.
1626 * biblio.[Ch]: new files; contain the citation helper functions,
1627 now inside namespace biblio. Will be of use also to an improved
1630 * ControlGraphics.[Ch]:
1631 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1632 popups, respectively.
1635 * Makefile.am: associated changes.
1637 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1639 * ControlMinipage.[Ch]:
1640 * ControlPreamble.[Ch]:
1641 * ControlPrint.[Ch]:
1642 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1643 and Print popups and Splash screen, respectively.
1645 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1649 * Makefile.am: associated changes.
1651 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1653 * ControlConnections.[Ch]: (docType): new method; returns the type
1654 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1657 * ControlSearch.[Ch]:
1658 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1659 Search and TabularCreate popups, respectively.
1662 * Makefile.am: associated changes.
1664 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1666 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1669 * ControlInset.h (apply): fix bug. Can now create new insets again.
1671 * README: describe program flow.
1673 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1675 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1677 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1679 * ControlDialogs.h: moved class ControlInset into its own file.
1681 * ControlInset.h: new file. class ControlInset has been expanded to take
1682 two template parameters, Inset and Params. Believe that all inset
1683 controllers can be derived from this with the minimum of effort.
1685 * ControlBibitem.[Ch]:
1686 * ControlBibtex.[Ch]:
1687 * ControlCitation.[Ch]:
1688 * ControlCommand.[Ch]: moved most code into ControlInset.
1690 * lots of files. Moved protected stuff into private where possible.
1692 * ControlError.[Ch]:
1693 * ControlInclude.[Ch]:
1694 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1695 Include and Url popups, respectively.
1698 * Makefile.am: associated changes.
1700 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1702 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1705 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1707 * ControlCredits.C (getCredits): remove std:: qualifier for
1710 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1712 * ControlCredits.C (getCredits): add std:: on vector
1714 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1716 * ControlCredits.C: remove using that is only used once, use
1717 std::ios instead of std::iosbase, add some annoying comments.
1719 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1721 * lots of header files: improved explanatory notes.
1723 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1724 ControlBase is now a class that only controls the interaction of the
1725 View with the ButtonController.
1727 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1728 to ControlConnectBase. The class controls the connection/disconnection
1729 of signals from the LyX kernel and makes available the kernel (through
1730 lv_) to daughter controller classes.
1731 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1733 * ControlDialogs.h: new file. Contains the definition of two template
1734 controller classes, ControlDialog and ControlInset (was
1735 ControlConnectInset). ControlInset is a parent class for controllers
1736 of inset-popups. ControlDialogs is the rather uninspired name for
1737 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1738 ControlDialogs is reaching a state of maturity as several popups now use
1739 it and its functionality becomes clear. ControlInset is still in a state
1740 of flux. It is likely that functionality will be moved out of
1741 ControlCommands and into it.
1743 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1744 individual Controller header files and into one place. These classes
1745 serve only as convenient wrappers to simplify code in the respective
1746 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1748 * ControlCharacter.[Ch] (show, update, hide):
1749 * ControlLog.[Ch] (show, update, hide):
1750 * ControlVCLog.[Ch] (show, update, hide): moved back into
1751 the ControlDialogs base class.
1752 (setParams, clearParams): new methods containing controller-specific
1753 code to set/reset the parameters manipulated by the view.
1755 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1757 (hide): calls clearParams.
1759 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1760 by ControlCommand::hide().
1762 * ControlCopyright.[Ch]:
1763 * ControlCredits.[Ch]: new files; controllers for the copyright and
1764 credits popups, respectively.
1766 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1768 * ControlCharacter.C: fix typo
1770 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1772 * ControlCharacter.[Ch]: new files; controller for the character popup.
1774 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1775 moved to new files helper_funcs.[Ch].
1777 * helper_funcs.[Ch]: new files. Some useful helper functions and
1780 * Makefile.am: added new files.
1782 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1784 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1786 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1789 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1790 Control log files, respectively.
1792 * Makefile.am: added new files.
1794 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1796 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1798 * Makefile.am: added ControlBibtex.[Ch].
1800 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1803 * ControlCitation.C: added "using SigC::slot" declaration.
1805 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1806 to FormCitation.C prior to the merger: "Do not put space between
1809 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1811 * several files: remove CXX_WORKING_NAMESPACES
1813 * ButtonController.h: noncopyable is in namespace boost
1814 * ButtonPolicies.h: ditto
1816 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1818 * Merging changes from BRANCH_MVC back into HEAD.
1820 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1822 * Makefile.am: add ControlBibitem.[Ch].
1824 * ControlBibitem.[Ch]: new files that together define the Controller
1825 for a Bibitem popup.
1827 * ControlCommand.h (c-tor): give kb_action a default value of
1830 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1832 * ControlCitation.[Ch]: moved search functions out of class.
1833 (bibkeysInfo): new method. Returns const reference to private data.
1834 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1837 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1839 * ControlCitation.[Ch]: added Search functions to the class,
1840 (shamelessly lifted from Marco's gnome code). I think that these would
1841 be better as helper functions outside the class, but this is a first
1844 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1846 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1848 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1849 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1850 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1851 implementation of FormCitation.
1853 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1855 * ButtonPolicies.h: add SMI_NOOP to enum.
1857 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1859 * ButtonController.C (input): add "optimising" if-statement. Actually,
1860 things don't work correctly without it...
1862 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1864 * ViewBase.h: remove #pragma directive
1866 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1869 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1871 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1873 * Makefile.am: added ButtonPolicies.[Ch]
1875 * ButtonController.[Ch]: ButtonController is split into
1876 ButtonControllerBase and a template ButtonController class. The base
1877 class no longer stores a pointer to a ButtonPolicy, but instead
1878 accesses the actual instantiation of the policy through a pure virtual
1879 method bp(). This method and the ButtonPolicy itself are instantiated
1880 in the templatised ButtonController class. This class is derived from
1881 the GUI-specific GUIBC class, meaning that the frontends know
1882 nothing about the actual policy decided upon by the controllers.
1884 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1885 Instead the actual instantiations are accessed through pure virtual
1886 methods view() and bc(). The daughter classes are responsible for the
1887 actual View and ButtonController.
1889 * ControlCitation.h: the templatised class GUICitation instantiates
1890 the methods view() and bc(). It also stores the instances of the
1891 View and ButtonController.
1893 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1895 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1896 also changed to ButtonController.
1899 * ControlConnections.[Ch]:
1900 * ControlCommand.[Ch]:
1901 * ControlCitation.[Ch]:
1902 * ViewBase.h: Changes associated with this.
1904 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1906 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1907 xforms/ButtonController class into a GUI-I class (here) and an
1908 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1910 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1911 from which all Dialog Controllers should be derived. the Controllers
1912 are GUI-independent, but are designed to control the behaviour of
1913 GUI-specific implementaions of each dialog.
1915 * ControlConnections.[Ch]: new files. Classes controlling the
1916 connections of buffer-independent, buffer-dependent and Inset dialogs
1917 with the LyX kernel.
1919 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1920 InsetCommand subset of insets.
1922 * ControlCitation.[Ch]: new files. The test specialisation! A
1923 controller for the Citation dialog.
1925 * ViewBase.h: new file. ViewBase is an abstract base class from which
1926 GUI-specific dialogs should be derived. The functionality that the GUIs
1927 must now implement is much reduced.