X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FChangeLog;h=2f0c4487f27c743cac510c4dec764d6f946571b4;hb=dd16b2eff7feb1b4ead013eab9f997c965a871cc;hp=f53667e729199d8c237ba167a80abf1580262e42;hpb=fe66fc4644fe336a08e2ce4528b0ccec3d3dd0a8;p=lyx.git diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index f53667e729..2f0c4487f2 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,619 @@ +2003-01-13 Michael Schmitt + + * xformsImage.C (getWidth): revert "fix" that breaks behavior with + xforms 1.0. + +2003-01-13 John Levon + + * forms/form_spellchecker.fd: remove replicated M-R shortcut. + +2003-01-12 Lars Gullik Bjønnes + + * forms/Makefile.am (MAINTAINERCLEANFILES): add + (clean-local): delete + (distclean-local): delete + (.fd.C): delete + (%.C): add + +2003-01-12 Angus Leeming + + * FormFiledialog.[Ch]: initialise and use new static member variables + minw_ and minh_ to prevent the dialog from being shrunk in size. + Shrink too much and xforms crashes :-( + +2003-01-11 Angus Leeming + + * xformsImage.C (init_graphics): turn off support for XPM files. + +2002-01-07 Jürgen Spitzmüller + + * FormTabular.C: typo. + +2003-01-06 Michael Schmitt + + * FormGraphics.C: + * xformsImage.C: + * forms/form_bibtex.fd: + * forms/form_citation.fd: + * forms/form_document.fd: + * forms/form_search.fd: fix inconsistent usage of spaces, colons, + capitalization, and the like. + +2002-12-20 Jürgen Spitzmüller + + * FormTabular.C: fix bug 572, fix ReadOnly logic. + +2003-01-06 Angus Leeming + + * forms/fdfixc.sed: Turn off choice titles as they can contain + meta-chars that just look nasty. + +2003-01-05 John Levon + + * XLyXKeySym.h: + * XLyXKeySym.C: getISOEncoded() changed + +2002-12-26 Jean-Marc Lasgouttes + + * input_validators.C (fl_print_range_filter): remove extra space + + * Menubar_pimpl.C (create_submenu): do not query the status of a + submenu either. + +2002-12-23 Jean-Marc Lasgouttes + + * FormSpellchecker.C (build): + * forms/form_paragraph.fd: + * forms/form_maths_matrix.fd: remove extra spaces + +2002-12-18 Jean-Marc Lasgouttes + + * Menubar_pimpl.C (create_submenu): do not query the status of a + separator. + +2002-12-18 Lars Gullik Bjønnes + + * forms/Makefile.am (EXTRA_DIST): dist the .fd files. + +2002-12-17 Jean-Marc Lasgouttes + + * Menubar_pimpl.C (create_submenu): correctly ignore unknown lfuns + + * lyx_gui.C (getStatus): implement as a dummy action + +2002-12-16 Angus Leeming + + * XPainter.C: missed a #ifdef USE_XFORMS_IMAGE_LOADER. + + * xformsImage.C (init_graphics): Use new #ifdef USE_JPEG_IMAGE_LOADER + rather than HAVE_FLIMAGE_ENABLE_JPEG. + Remove #ifdef HAVE_FLIMAGE_ENABLE_PS. + + * FormPreferences.C: + * forms/form_preferences.fd: remove override_x_deadkeys stuff. + +2002-12-13 Angus Leeming + + * FormBase.C: + * Menubar_pimpl.C: + * Tooltips.[Ch]: + * XFormsView.C: + * XWorkArea.C: + * lyx_gui.C: + * xforms_resize.C: remove work-arounds for xforms < 0.89.5. + + * lyxlookup.[Ch]: removed. + + * Makefile.am: associated change. + + * combox.C: add block #ifdef FL_VERSION < 1 + +2002-12-16 Michael Schmitt + + * FormGraphics.C (build): correct string for boost::format. + +2002-12-09 Lars Gullik Bjønnes + + * FormGraphics.C (build): add another xgettext:no-c-format + +2002-12-08 Lars Gullik Bjønnes + + * FormGraphics.C (build): add a xgettext:no-c-format + +2002-12-05 John Levon + + * XWorkArea.C: set I-beam cursor + +2002-12-04 Angus Leeming + + * XWorkArea.h (backgroundbox): Removed. No need to name it explicitly. + + * XWorkArea.C (work_area_handler): move static vars inside loop, + rename vars as discussed with Lars. Document changes in the text. + Don't declare functions as static; use namespace anon. + (setXtermCursor): removed; not used. + (destroy_object): removed; not used. + Remove unneeded header files ColorHandler.h, LyXView.h, filetools.h, + lstrings.h, LAssert.h, cmath, cctype. + Various other trivial clean-ups. + +2002-12-03 Juergen Spitzmueller + + * xforms_helpers.C: (updateWidgetsFromLength) + use len.empty() instead of len.zero() [bug 490] + +2002-12-03 Lars Gullik Bjønnes + + * XWorkArea.C (work_area_handler): send fewer motion events if the + mouse is outside the workarea. + +2002-12-02 Angus Leeming + + * FormIndex.C (update): if the contents aren't empty, then activate the + Ok, Apply buttons on update. + + * FormMathsDeco.[Ch]: + * forms/form_maths_deco.fd: removed. + + * Makefile.am: + * forms/Makefile.am: commensurate changes. + + * FormMathsPanel.C (build): after all John's work, don't use the + button controller for the Close button, since "cancel" makes no sense + here. + form_maths_deco is just another bitmap dialog; no need for it to have + any special code at all. + + * FormMathsBitmap.C (build): position the bmtables correctly. + +2002-12-01 Lars Gullik Bjønnes + + * several files: ws changes + +2002-12-01 Lars Gullik Bjønnes + + * checkedwidgets.C (setWidget): make sure that FL_LCOL and FL_COL1 + will be seen as FL_COLORs. + +2002-12-01 John Levon + + * FormMathsBitmap.C: fix _(_(blah)) + +2002-11-30 John Levon + + * FormMathsBitmap.C: actually set dialog_->button_close + to the added button + +2002-11-30 John Levon + + * forms/form_maths_panel.fd: small fix + +2002-11-29 Jean-Marc Lasgouttes + + * lyx_gui.C (start): make "unhandled X11 event" debug message + optional (on GUI) + +2002-11-29 Angus Leeming + + * Tooltips.C (init): allow tooltips to be reset. + + * FormSpellchecker.C: having broken Rob's word count update, I guess + I should fix it too ;-) + + * FormPreferences.C (apply): if controller().isClosing() (ie, if the + "save" button has been pressed), then save any modified gui colors. + +2002-11-29 Angus Leeming + + * forms_gettext.[Ch] (scex, idex): re-written to receive and return + string not char *. The old idex function was new-ing memory and nothing + that used it was ensuring that this memory didn't leak. Now safe. + + * Alert_pimpl.C: + * FormFiledialog.C: + * FormPreferences.C: + * forms/fdfixc.sed: associated changes. + +2002-11-28 Rob Lahaye + + * forms/fdfixh.sed: bug fix. + +2002-11-27 Dekel Tsur + + * xfont_loader.C (getFontinfo): Use lyxrc.*_font_foundry. + + * FormPreferences.C: Handle lyxrc.*_font_foundry. + +2002-11-27 Angus Leeming + + * forms/fdfix.sh: + * forms/c_str.sed: replace that nasty global c_str declaration with + nice function-specific ones. Use a two-pass algorithm to do so. + It's possible to do it in one-pass, but the resulting sed script + must use the hold space in a convoluted manner. + +2002-11-27 Lars Gullik Bjønnes + + * XMiniBuffer.C (peek_event): add l10n on a string missing it. + +2002-11-26 Angus Leeming + + * forms_gettext.[Ch] (scex, idex): ditch the #defines and rename the + functions in their place. + + * FormBase.h (FormDB::form): Implement in 1 line not 2. + + * fdesign_base.[Ch]: new files. All fdesign-generated structures will + derive from FD_base, to minimise code duplication. + + * Makefile.am: add new files. + + * forms/Makefile.am (SRCS): move form_wrap.fd to the end of the list. + + * forms/fdfix.sh: add "c_str" to namespace anon in the generated .C + files if required. + + * forms/fdfix[ch].sed: the structs now derive from FD_base, so they + don't need d-tors to clean up the form. + Beautify the sed to produce beautiful looking C++ code. + +2002-11-26 Jean-Marc Lasgouttes + + * FileDialog.C (save): actually return the result from + FileDialog::open + +2002-11-26 Jürgen Spitzmüller + + * FormTabular.C: correct lots of bugs in the setting/getting of + longtable options. + +2002-11-25 Angus Leeming + + * Dialogs_impl.h: + * Dialogs2.C: no need to include math sub dialog header files. + Use standard MCV implementation of main math panel dialog. + + * FormBaseDeprecated.[Ch]: + * FeedbackController.[Ch]: removed. + + * FormBase.[Ch]: Merge the contents of FeedbackController into here + also. + (FormCB): make the controller methods publicly accessible. + + * forms/form_maths_deco.fd: + * forms/form_maths_delim.fd: + * forms/form_maths_matrix.fd: + * forms/form_maths_panel.fd: + * forms/form_maths_space.fd: + * forms/form_maths_style.fd: s/Deprecated// + + * FormMathsBitmap.[Ch]: + * FormMathsDeco.[Ch]: + * FormMathsDelim.[Ch]: + * FormMathsMatrix.[Ch]: + * FormMathsPanel.[Ch]: + * FormMathsSpace.[Ch]: + * FormMathsStyle.[Ch]: implement a Controller-View split of the math + dialogs. + +2002-11-22 Angus Leeming + + The first step towards a math dialog controller... + + * FormBaseDeprecated.h (hide): make public. + + * FormMathsPanel.[Ch] (class FormMathsPanel): + (c-tor, build): no longer create the daughters in the c-tor. Wait + until build() is invoked to create and initialise them at the same time. + (dispatchFunc): now has an additional string argument, making it a + more general wrapper for LyXView::dispatch. + (mathDisplay, setActive): removed. + (daughters_): store the daughter dialogs in a map, using + the FL_OBJECT buttons to identify them. + (addDaughter, showDaughter): helper functions. + + * FormMathsPanel.[Ch] (class FormMathsSub): + (connect, disconect): removed. No need for the daughters to tell the + parent that they're active; the parent knows already. + (isVisible): new method; wrapper for form()->visible. + no need to make FormMathsPanel a friend. + + * FormMathsDelim.C (apply): + * FormMathsMatrix.C (apply): + use FormMathPanel::dispatchFunc() rather than LyXView::dispatch(). + +2002-11-21 Lars Gullik Bjønnes + + * FormGraphics.C (build): use boost::format + + * FeedbackController.C (postMessage): use boost::format + + * ColorHandler.C (getGCForeground): use boost::format + +2002-11-21 Angus Leeming + + * FormDocument.[Ch]: + * forms/form_document.fd: controller-view split of doc dialog. + + * Dialogs_impl.h: + * Dialogs2.C: changes due to controller-view split of doc dialog. + +2002-11-21 Angus Leeming + + * forms/fdfix.sh: Don't use "if [ $? -ne 0 ]; then..." + + * FormSpellchecker.C (updateState): new method, replacing Black Magic. + Should also resolve Darren Freeman's redraw of the status bar problem. + +2002-11-20 Angus Leeming + + * forms/fdfix.sh: + * forms/fdfixh.sed: strengthen the sed in the sed script and further + beautify the contents of the resultant .h file. + +2002-11-20 Angus Leeming + + * MathsCallbacks.h: removed. + * Makefile.am: remove MathsCallbacks.h. + + * FormMathsPanel.C (FormMathsPanel): use vector(begin, end) c-tor + rather than our home-grown loops. + + * FormMathsPanel.h: + * forms/fdfix.sh: no longer #include "MathsCallbacks.h". + + * FormMathsPanel.C (input): + * forms/form_maths_panel.fd: don't pass/use MM_XYZ data. + +2002-11-19 Angus Leeming + + * FormInset.[Ch]: removed; no longer used after John's port of the + tabular dialog to MCV. + + * Makefile.am (libxforms_la_SOURCES): remove FormInset.[Ch]. + + * FormBase.h (show): + * FormExternal.h (apply, build, update, input): + * FormSpellchecker.h (apply, build, update, partialUpdate): + propogate the virtual keyword. + +2002-11-17 John Levon + + * FileDialog.C: open/save name change + +2002-11-15 John Levon + + * Dialogs2.C: + * Dialogs_impl.h: + * FormPreferences.h: + * FormPreferences.C: + * FormTabular.h: + * FormTabular.C: + * forms/form_preferences.fd: + * forms/form_tabular.fd: port tabular and prefs to MVC + + * FormBase.h: make hide() virtual for prefs + +2002-11-08 Angus Leeming + + * xforms_resize.[Ch]: sigh. Hack the "get scaling" part of + fl_adjust_form_size out of the xforms source and put it in here as + get_scaling_factor. Resizing and then unresizing to get this info + produces really nasty results... + + I've put a request into the xforms list. + +2002-11-08 Angus Leeming + + * xforms_resize.[Ch]: replace scale_to_fit_tabs and scale_form with + get_scale_to_fit and scale_form_horizontally, respectively. The + functions are a total re-write, making use of the xforms library's + fl_adjust_form_size routine. We therefore get enormously simplified + code and consideration of /all/ button objects, not just those + tabs in tabfolders. + + * FormBase.C (prepare_to_show): + * FormBaseDeprecated.C (prepare_to_show): use the renamed resize + functions to scale the dialog so that labels fit within buttons. + + * FormBase.C (prepare_to_show): remove bc().refresh() call, as this + is done by the controller. + +2002-11-07 Angus Leeming + + * forms/fdfixh.sed: generate the d-tors in a clean way. + * forms/fdfixc.sed: Go from "fdui->form_xxx" to "fdui->form" in + a clean way. + +2002-10-31 Herbert Voss + + * FormGraphics.C (build, apply): get the rotate-list from the + controller + +2002-11-04 Angus Leeming + + * FormGraphics.C (build): Use frnt::getBBUnits(). + +2002-11-04 Rob Lahaye + + * FormSpellchecker.C (input): fix label of spellchecker progress bar. + +2002-11-04 Lars Gullik Bjønnes + + * lyx_gui.C (hexname): STRCONV + + * FormPreferences.C (X11hexname): STRCONV + + * FormMathsMatrix.C (apply): STRCONV + + * FormMathsDelim.C (apply): STRCONV + + * lyx_gui.C (start): adjust signature + (start): exchange magic integers for defined values. + +2002-10-31 Rob Lahaye + + * xformsImage.C (clip): fix crash caused by uint -> int nastiness. + + * FormGraphics.C: use lyx::float_equal. + +2002-10-29 Rob Lahaye + + * FormParagraph.[Ch]: + * forms/form_paragraph.fd: a large-scale reorganisation and clean-up + of the code to make it more transparent. Use RadioButtonGroup and + CheckedGlueLength for the same reason. Add tooltips. + +2002-10-28 Angus Leeming + + * FeedbackController.C (PrehandlerCB): show tooltips for browser + widgets, working-around an xforms bug. + + * FormBibtex.C (build): + * FormCitation.C (build): + * FormForks.C (build): + * FormSpellchecker.C (build): + * FormTexinfo.C (build): + set the prehandler for the browser widgets so that we can have tooltips. + +2002-10-28 Dekel Tsur + + * xfont_loader.C (getFontinfo): Cleanup. + +2002-10-26 John Levon + + * forms/form_preamble.fd: OK cannot be a RETURN_BUTTON ;) + +2002-10-26 John Levon + + * FormTexinfo.C: using vector + +2002-10-25 Dekel Tsur + + * xfont_loader.C (getFontinfo): Add xfonts to the font path if + necessary. + +2002-10-25 Angus Leeming + + * FormSpellchecker.C (input): fix crash when progress == 0. + +2002-10-24 Rob Lahaye + + * forms/form_print.fd: + * FormPrint.[Ch]: clean-up, reflecting discussion on the list. + + * forms/form_spellchecker.fd: + * FormSpellchecker.[Ch]: add tooltips; general clean-up. + add word count to dialog and improve progress status; + implement single Start/Stop button; + + * FormTabular.C (build): rearrange lines tab by tab. + Use getString not fl_get_inout. + + * FormTexinfo.C: replace View-button by catching double click in + browser; allow viewing of files, irrespective of full path. + + * forms/form_wrap.fd: resized. Remove text_warning widget. Fix gravity. + * FormWrap.[Ch]: simplification through the use of RadioButtonGroup + and CheckedGlueLength. Add tooltips. + +2002-10-24 Angus Leeming + + * FormRef.C (updateBrowser): invoke updateHighlight + (updateHighlight): don't select a browser item if there is no + reference selected. + (apply, input): use getString not fl_get_input. + +2002-10-23 Jean-Marc Lasgouttes + + * FormExternal.C (apply): + (input): fix an off-by-one index (causing a crash) + +2002-10-24 Rob Lahaye + + * FormGraphics.C: use checkedWidgets to ensure that the lengths and + glue lengths are valid. Improve code documentation and layout. + InsetGraphicsParams::scale is now a float; modify dialog to suit. + + * FormLog.C (update): more descriptive title and warning messages. + + * FormMathsPanel.C (c-tor): allow dialog to be resized. + + * FormPreamble.C (build): rearrange. + (apply): use getString, not fl_get_input. + + * FormSearch.C (build): add tooltips. + (input): use getString, not fl_get_input. + + * FormShowFile.C: more descriptive title. + + * forms/form_browser.fd: + * forms/form_preamble.fd: reshape. + + * forms/form_graphics.fd: reshape. Remove text_warning widget. + + * forms/form_maths_panel.fd: + * forms/form_ref.fd: + * forms/form_search.fd: reshape. Fix gravity. + +2002-10-24 Rob Lahaye + + * FormFloat.C (input): fix the radio buttongroup behaviour. + + * RadioButtonGroup.C (init): Assert on ROUND3DBUTTON and RADIO_BUTTON + when adding object to the group. + + * forms/form_float.fd: use RADIO_BUTTON for the buttons in the radio + group. + + * FormDocument.C: remove redundant header files. + +2002-10-24 Angus Leeming + + * Dialogs_impl.h: set the policy of the BibtexDialog to + NoRepeatedApplyReadOnlyPolicy. + +2002-10-23 Rob Lahaye + + * forms/form_float.fd: prettify and implement gravity/resize policy + correctly. + + * FormFloat.C: add tooltips, lots of comments and check the + input more carefully. + +2002-10-23 Angus Leeming + + * checkedwidgets.C (setWidget): Don't set icol2 to alert_col when + the input is invalid. + +2002-10-23 Rob Lahaye + + * FormBibtex.C: remove two redundant header files. + + * FeedbackController (postMessage): s/FL_BLACK/FL_LCOL/ + + * FormDocument.C: disable resizing of the dialog. + Remove redundant counter's bounds/step/precision (is set in + form_document.fd). + + * FormDocument.[Ch] (CheckDocumentInput): removed. Use the + button controller and the checkedGlueLength class to check the validity + of any LyXGlueLengths. + + * forms/form_document.fd: prettify. + +2002-10-23 Rob Lahaye + + * forms/form_bibtex.fd: + * forms/form_citation.fd: less bulky with proper gravity/resize policy + and many other GUI layout improvements. + + * FormBibtex.C: remove choose button, select directly instead; + add Restore/OK/Apply/Cancel buttons; modify tooltip-texts; + + * FormCitation.C: (trivial) rearrange lines; remove redundant check + button settings (do that in form_citation.fd instead). + 2002-10-22 Rob Lahaye * FeedbackController.C: use the NORMAL rather than the SMALL sized font @@ -9,6 +625,7 @@ RadioButtonGroup's semantics. * RadioButtonGroup.[Ch]: something of a clean-up. + (explicit c-tor): removed. (reset): removed. (set): new method, accepting an FL_OBJECT *.