2001-02-16 Angus Leeming * FormCitation.C: lots of white-space changes to make file consistent with LyX style. (input): use the FL_OBJECT * parameter to decide what to do, not the long parameter. * FormCitation.h: removed most entries in enum. * forms/form_citation.fd: change names of variables, consistent with Allan's naming scheme. Don't pass any particular arguments to the InputCB function. choice_style now triggers a callback and looks like other choices. 2001-02-16 Lars Gullik Bjønnes * other: use compare instead of strcmp/strncmp 2001-02-15 Angus Leeming * ButtonController.[Ch]: changed trigger_change_ vector and associated methods to dont_trigger_change_ because FL_OBJECTs that trigger a callback to InputCB() but don't trigger a change in the state of the Ok, Apply buttons are much rarer than those that do. * FormCitation.C (build): associated change. 2001-02-14 Lars Gullik Bjønnes * ButtonController.C: include algorithm 2001-02-14 Angus Leeming * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange): new methods. (valid): method can now be passed an optional FL_OBJECT *. If it is, and the vector of FL_OBJECT *s that can trigger a change in the button state is not empty, then a change of state will occur only if the FL_OBJECT * is present in this vector. * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows the user to deactivate specific fields within restore(). (InputCB): pass the FL_OBJECT * to bc_.valid(). * FormCitation.C (build): create a vector of FL_OBJECT *s that can trigger a change of state in the Ok,Apply buttons. (update): bc_.readOnly() to the start of the method. Similar reasoning to that for FormBase::RestoreCB, above. 2001-02-14 Angus Leeming * FormBrowser.C: used OkCancelPolicy for ButtonController rather than IgnorantPolicy. * forms/form_browser.fd: * forms/form_copyright.fd: * forms/form_error.fd: * forms/form_tabular.fd: * forms/form_toc.fd: Consistent shortcuts for Close button: Esc and Return only. * forms/form_citation.fd: * forms/form_document.fd: * forms/form_index.fd: * forms/form_paragraph.fd: * forms/form_preferences.fd: * forms/form_print.fd: * forms/form_ref.fd: * forms/form_tabular_create.fd: * forms/form_url.fd: Consistent shortcut for Cancel button: Esc only. 2001-02-12 John Levon * Dialogs.C: new Splash. Include, Bibitem/tex * FormBase.h: make show() virtual for Splash's benefit * Makefile.am: * forms/makefile: * FormBibitem.C: * FormBibitem.h: * FormBibtex.C: * FormBibtex.h: * form_bibitem.C: * form_bibitem.h: * form_bibtex.C: * form_bibtex.h: * forms/form_bibitem.fd: * forms/form_bibtex.fd: * FormInclude.C: * FormInclude.h: * form_include.C: * form_include.h: * forms/form_include.fd: * FormSplash.C: * FormSplash.h: * form_splash.C: * form_splash.h: * forms/form_splash.fd: new forms 2001-02-09 John Levon * FormLog.C: handle Literate build log nicely 2001-02-09 Jean-Marc Lasgouttes * Menubar_pimpl.C: remove support for reference menuitem type. 2001-02-07 John Levon * Makefile.am: * Timeout_pimpl.h: * Timeout_pimpl.C: add Timeout implementation 2001-02-06 John Levon * form_browser.h: * form_browser.C: * forms/form_browser.fd: * forms/makefile: * FormBrowser.C: * FormBrowser.h: readonly browser form * FormLog.C: * FormLog.h: * FormVCLog.C: * FormVCLog.h: * Dialogs.C: add Log and VCLog * Makefile.am: add Log and VCLog, add updatesrc target 2001-01-31 Dekel Tsur * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu. 2001-01-25 Jean-Marc Lasgouttes * FormPreferences.C (GetFrom): fix crash when there is no format defined. (GetTo): ditto. 2001-01-23 Angus Leeming * FormPreferences.C (LoadBrowserLyX): convert unsigned short to unsigned char correctly and so fix 2 bugs loading/changing colors. 2001-01-21 Dekel Tsur * FormRef.C (update): Do not update dialog_->{ref,name,type} if inset_ == 0. Deactivate the type button when buffer is LinuxDoc/Docbook (build): Uncomment calls to addReadOnly(). (updateBrowser) Do not disable the update button when there are no keys. (build, getType, getName): Use InsetRef::types. 2001-01-18 Angus Leeming * FormPrint.[Ch] (browse): new method to browse for file to print to. * forms/form_print.fd: give the form a Browse button. 2001-01-17 Dekel Tsur * FormRef.C (input): Fix the behavior of goto reference button.