X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=b3ffb672a4400effa0bfbcf107bbe8a5a10c2f22;hb=b0389b631b1a00de088cbfb67f961f952b168e24;hp=d165bb87ef6ca718078a213b260b7e260a067d5b;hpb=046b5d824c622204e90fffa690d43008fadaaa2a;p=lyx.git diff --git a/ChangeLog b/ChangeLog index d165bb87ef..b3ffb672a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1769 @@ +2000-09-26 Jean-Marc Lasgouttes + + * lib/layouts/siamltex.layout: new textclass for SIAM journals, + from Kornelia Pietsch + + * src/frontends/xforms/Menubar_pimpl.C: menu buttons are now + created in the constructors in different groups. Then set() just + have to show the groups as needed. This fixes the redraw problems + (and is how the old menu code worked). + + * src/support/lyxlib.h: declare the methods as static when we do + not have namespaces. + +2000-09-26 Juergen Vigna + + * src/buffer.C (asciiParagraph): new function. + (writeFileAscii): new function with parameter ostream. + (writeFileAscii): use now asciiParagraph. + + * various inset files: added the linelen parameter to the Ascii-func. + + * src/tabular.C (Write): fixed error in writing file introduced by + the last changes from Lars. + + * lib/bind/menus.bind: removed not supported functions. + + * src/insets/insettext.C (Ascii): implemented this function. + + * src/insets/lyxinset.h (Ascii): added linelen parameter. + + * src/tabular.C (write_attribute[int,string,bool]): new functions. + (Write): use of the write_attribute functions. + + * src/bufferlist.C (close): fixed reasking question! + +2000-09-26 Lars Gullik Bjønnes + + * src/support/unlink.C src/support/remove.C src/support/mkdir.C: + new files use the everwhere possible. + + * several files: + * src/form1.C src/form1.h src/layout_forms.C src/layout_forms.h + src/log_form.C src/lyx.C: + regenerated + + * src/buffer.C (runLaTeX): remove func + + * src/PaperLayout.C: removed file + * src/ParagraphExtra.C: likewise + * src/bullet_forms.C: likewise + * src/bullet_forms.h: likewise + * src/bullet_forms_cb.C: likewise + + * src/Makefile.am (lyx_SOURCES): remove PaperLayout.C, + ParagraphExtra.C, bullet_forms.C, bullet_forms.h and + bullet_forms_cb.C + + * several files: remove all traces of the old fd_form_paragraph, + and functions belonging to that. + + * several files: remove all traces of the old fd_form_document, + and functions belonging to that. + + * several files: constify local variables were possible. + + * several files: remove all code that was dead when NEW_EXPORT was + defined + + * several files: removed string::c_str in as many places as + possible. + + * forms/makefile (SRCS,OBJS,COBJS): removed bullet_forms.[fd,c,C] + (e): be a bit more outspoken when patching + (updatesrc): only move files if changed. + + * forms/layout_forms.h.patch: regenerated + + * forms/layout_forms.fd: remove form_document and form_paragraph + and form_quotes and form_paper and form_table_options and + form_paragraph_extra + + * forms/form1.fd: remove form_table + + * forms/fdfix.sh: remove sed rules for fl_set_object_lcolor and + the fdui->... rewrite. Update some comments to xforms 0.88 + + * forms/bullet_forms.C.patch: removed file + * forms/bullet_forms.fd: likewise + * forms/bullet_forms.h.patch: likewise + + * development/Code_rules/Rules: added a section on switch + statements. Updated some comment to xforms 0.88. + +2000-09-26 Jean-Marc Lasgouttes + + * src/buffer.C (readFile): make sure that the whole version number + is read after \lyxformat (even when it contains a comma) + + * lib/ui/default.ui: change shortcut of math menu to M-a. + +2000-09-25 Jean-Marc Lasgouttes + + * src/vspace.C (nextToken): use isStrDbl() to check for proper + double values. + + * src/LyXView.C (updateWindowTitle): show the full files name in + window title, limited to 30 characters. + + * src/support/lyxstring.C (lyxstring): fix it correctly this time. + When a number of characters has been given, we should not assume + that the string is 0-terminated. + + * src/intl.C (InitKeyMapper): remove a bunch of string::c_str() + calls (fixes some memory leaks) + + * src/intl.[Ch]: add a destructor for Intl, in order to delete the + trans member on exit. + +2000-09-22 Jean-Marc Lasgouttes + + * src/converter.C (GetReachable): fix typo. + + * src/lyxlex.C (GetFloat): rewrite to use strToDbl() and + understand ',' instead of '.'. + (GetInteger): rewrite to use strToInt(). + +2000-09-26 Juergen Vigna + + * src/frontends/xforms/FormParagraph.C: fixed de/activation of fields, + better visibility and error-message on wrong VSpace input. + + * src/language.C (initL): added english again. + +2000-09-25 Juergen Vigna + + * src/frontends/kde/Dialogs.C (Dialogs): + * src/frontends/gnome/Dialogs.C (Dialogs): + * src/frontends/kde/Makefile.am: + * src/frontends/gnome/Makefile.am: added FormParagraph from xforms. + + * src/frontends/xforms/forms/makefile: added form_paragraph.fd. + + * src/frontends/xforms/Dialogs.C (Dialogs): added FormParagraph. + + * src/frontends/xforms/Makefile.am: added files for FormParagraph. + + * src/frontends/xforms/FormParagraph.C: + * src/frontends/xforms/FormParagraph.h: + * src/frontends/xforms/form_paragraph.C: + * src/frontends/xforms/form_paragraph.h: + * src/frontends/xforms/forms/form_paragraph.fd: new files for the new + paragraph layout. + + * src/lyxfunc.C (Dispatch): call the new layout paragraph. + + * src/tabular.C (OldFormatRead): forgot to delete the temporary + Paragraph-Data after use. + + * src/insets/insettext.C (LocalDispatch): don't set the layout on + non breakable paragraphs. + +2000-09-25 Garst R. Reese + + * src/language.C (initL): added missing language_country codes. + +2000-09-25 Juergen Vigna + + * src/insets/insettext.C (InsetText): + (deleteLyXText): remove the not released LyXText structure! + +2000-09-24 Marko Vendelin + + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h: added support for keyboard + accelerators + + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h + * src/frontends/gnome/Makefile.am + * src/frontends/gnome/pixbutton.h: completed the rewrite of + FormCitation to use "action area" in mainapp window + + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/Menubar_pimpl.h: Gnome menu can handle + large TOC. + +2000-09-23 Dekel Tsur + + * src/mathed/formula.C (MathFuncInset::Metrics): Use default + width/descent/ascent values if name is empty. + (mathed_string_height): Use std::max. + +2000-09-25 Allan Rae + + * src/frontends/xforms/forms/form_preferences.fd: resize to stop + segfault. This will be completely redesigned soon. + + * sigc++: updated libsigc++. Fixes struct timespec bug. + + * development/tools/makeLyXsigc.sh: .cvsignore addition + +2000-09-23 Lars Gullik Bjønnes + + * several files: removed almost all traces of the old table + (tabular) code. + + * src/TableLayout.C: removed file + +2000-09-22 Juergen Vigna + + * src/frontends/kde/Dialogs.C: added credits forms. + + * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added forms. + + * src/frontends/gnome/Dialogs.C: added some forms. + + * src/spellchecker.C (init_spell_checker): set language in pspell code + (RunSpellChecker): some modifications for setting language string. + + * src/language.[Ch]: added language_country code. + +2000-09-21 Angus Leeming + + * src/frontends/Dialogs.h: added new signal showError. + Rearranged existing signals in some sort of alphabetical order. + + * src/frontends/xforms/Makefile.am: added new files, FormBase.[Ch], + FormError.[Ch], form_error.[Ch] + * src/frontends/xforms/forms/makefile: added new file form_error.fd + * src/frontends/xforms/Dialogs.C: added new xforms dialog FormError. + + * src/frontends/xforms/FormBase.[Ch]: new base class for xforms + dialogs. I think that this can be used as the base to all these + dialogs. + + * src/frontends/xforms/FormError.[Ch] + * src/frontends/xforms/forms/form_error.fd: new files. Xforms + implementation of InsetError dialog. + + * src/insets/inseterror.[Ch]: rendered GUI-independent. + + * src/frontends/kde/Dialogs.C: added new xforms dialog FormError. + * src/frontends/kde/Makefile.am: ditto + +2000-09-21 Dekel Tsur + + * src/mathed/math_cursor.[Ch]: Removed class members macroln and + macrobf. This fixes a bug of invisible text. + +2000-09-22 Jean-Marc Lasgouttes + + * lib/doc/LaTeXConfig.lyx.in: updated. + + * src/language.C (initL): remove language "francais" and change a + bit the names of the two other french variations. + + * src/support/lyxstring.C (lyxstring): do not apply strlen() on a + string that may not be 0-terminated. + +2000-09-20 Lars Gullik Bjønnes + + * src/Makefile.am (lyx_SOURCES): remove table.C and Table.h + +2000-09-20 Marko Vendelin + + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormIndex.C + * src/frontends/gnome/FormToc.C + * src/frontends/gnome/FormUrl.C: cleanup the loops, reordering + the variable initialization to shut up the warnings + +2000-09-20 Lars Gullik Bjønnes + + * src/table.[Ch]: deleted files + + * src/lyxfunc.C (Dispatch): Don't pass 0 as argument to Dispatch + second arg. + +2000-09-18 Juergen Vigna + + * src/insets/insettext.C (LocalDispatch): fixed Backspace/Delete + problems with selection. Inserted new LFUN_PASTESELECTION. + (InsetButtonPress): inserted handling of middle mouse-button paste. + + * src/spellchecker.C: changed word to word.c_str(). + +2000-09-16 Kayvan A. Sylvan + + * src/Makefile.am: Add sources to lyx_SOURCES so they will be + included in the ``make dist'' tarball. + +2000-09-15 Juergen Vigna + + * src/CutAndPaste.C (cutSelection): small fix return the right + end position after cut inside one paragraph only. + + * src/insets/insettext.C (resizeLyXText): only reset the cursor if + we are locked as otherwise we don't have a valid cursor position! + + * src/insets/figinset.C (draw): small bugfix but why is this needed??? + +2000-09-19 Angus Leeming + + * src/frontends/kde/FormRef.C: added using directive. + * src/frontends/kde/FormToc.C: ditto + + * src/frontends/kde/formtocdialog.h: changed endl to std::endl. + + * src/frontends/kde/FormRef.h: removed trailing comma from enums. + + +2000-09-19 Marko Vendelin + + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/Menubar_pimpl.h: Gnome menus show now + Toc, ViewFormats, UpdateFormats, and ExportFormats. + + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h: support for menu update used + by Toc menu. + + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h: support for "action" area in the + main window. This area is used by small simple dialogs, such as + FormUrl. + + * src/frontends/gnome/FormIndex.C + * src/frontends/gnome/FormIndex.h + * src/frontends/gnome/FormUrl.C + * src/frontends/gnome/FormUrl.h: rewrite to use main window action + area + + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h: rewrite to use main window + action area. Only "Insert new citation" is implemented. + + + +2000-09-19 Lars Gullik Bjønnes + + * src/buffer.C (Dispatch): fix call to Dispatch + * src/insets/insetref.C (Edit): likewise + * src/insets/insetparent.C (Edit): likewise + * src/insets/insetinclude.C (include_cb): likewise + * src/frontends/xforms/FormUrl.C (apply): likewise + * src/frontends/xforms/FormToc.C (apply): likewise + * src/frontends/xforms/FormRef.C (apply): likewise + * src/frontends/xforms/FormIndex.C (apply): likewise + * src/frontends/xforms/FormCitation.C (apply): likewise + * src/lyxserver.C (callback): likewise + * src/lyxfunc.C (processKeySym): likewise + (Dispatch): likewise + (Dispatch): likewise + * src/lyx_cb.C (LayoutsCB): likewise + + * Makefile.am (sourcedoc): small change + +2000-09-18 Lars Gullik Bjønnes + + * src/main.C (main): Don't make an empty GUIRunTime object. all + methods are static. constify a bit remove unneded using + headers. + + * src/tabular.C: some more const to local vars move some loop vars + + * src/spellchecker.C: added some c_str after some word for pspell + + * src/frontends/GUIRunTime.h: add new static method setDefaults + * src/frontends/xforms/GUIRunTime.C (setDefaults): + * src/frontends/kde/GUIRunTime.C (setDefaults): + * src/frontends/gnome/GUIRunTime.C (setDefaults): new method + + * src/mathed/math_cursor.C (MacroModeClose): don't call SetName + with strnew in arg, use correct emptystring when calling SetName. + + * several files: remove all commented code with relation to + HAVE_SSTREAM beeing false. We now only support stringstream and + not strstream. + +2000-09-15 Jean-Marc Lasgouttes + + * src/lyxfunc.C: construct correctly the automatic new file + names. + + * src/text2.C (IsStringInText): change type of variable i to shut + off a warning. + + * src/support/sstream.h: do not use namespaces if the compiler + does not support them. + +2000-09-15 Marko Vendelin + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h + * src/frontends/gnome/diainsertcitation_interface.c + * src/frontends/gnome/dialogs/diainsertcitation.glade: adds + regexp support to FormCitation [Gnome]. + +2000-09-15 John Levon + + * acconfig.h + * configure.in: remove unused KDE/GTKGUI define + + * src/frontends/kde/FormRef.C + * src/frontends/kde/FormRef.h + * src/frontends/kde/formrefdialog.C + * src/frontends/kde/formrefdialog.h: double click will + go to reference, now it is possible to change a cross-ref + after the fact + + * src/frontends/kde/FormToc.C + * src/frontends/kde/FormToc.h + * src/frontends/kde/formtocdialog.C + * src/frontends/kde/formtocdialog.h: add a depth + slider + + * src/frontends/kde/Makefile.am: add QtLyXView.h + to the sources list + +2000-09-15 Angus Leeming + + * src/frontends/kde/FormCitation.h: added some using directives. + + * src/frontends/kde/FormToc.h: corrected definition of doTree. + + * src/frontends/kde/GUIRunTime.C (initApplication): use lyxerr not + cerr. + + * src/mathed/math_defs.h: redefine SetAlign to use string rather + than char *. + +2000-09-15 Jean-Marc Lasgouttes + + * src/buffer.C (pop_tag): revert for the second time a change by + Lars, who seems to really hate having non-local loop variables :) + + * src/Lsstream.h: add "using" statements. + + * src/support/copy.C (copy): add a bunch of std:: qualifiers + * src/buffer.C (writeFile): ditto + +2000-09-14 Lars Gullik Bjønnes + + * src/buffer.C (writeFile): try to fix the locale modified format + number to always be as we want it. + + * src/WorkArea.C (work_area_handler): try to workaround the bugs + in XForms 0.89. C-space is now working again. + + * src/Lsstream.h src/support/sstream.h: new files. + + * also commented out all cases where strstream were used. + + * src/Bullet.h (c_str): remove method. + + * remove all stuff that is irrelevant when NEW_MENUBAR is defined + + * a lot of files: get rid of "char const *" and "char *" is as + many places as possible. We only want to use them in interaction + with system of other libraries, not inside lyx. + + * a lot of files: return const object is not of pod type. This + helps ensure that temporary objects is not modified. And fits well + with "programming by contract". + + * configure.in: check for the locale header too + + * Makefile.am (sourcedoc): new tag for generation of doc++ + documentation + +2000-09-14 Juergen Vigna + + * src/frontends/xforms/FormDocument.C (ComboInputCB): fixed the + callback to check which combo called it and do the right action. + + * src/combox.C (combo_cb): added combo * to the callbacks. + (Hide): moved call of callback after Ungrab of the pointer. + + * src/intl.h: removed LCombo2 function. + + * src/intl.C (LCombo): added Combox * to call and removed LCombo2 + function as this can now be handled in one function. + + * src/combox.h: added Combox * to callback prototype. + + * src/frontends/xforms/Toolbar_pimpl.C: + * src/lyx_cb.C (LayoutsCB): added Combox * to function call. + +2000-09-14 Garst Reese + + * lib/tex/hollywood.cls changed length of parenthicals to 1.5in + moved usepackage{xxx}'s to beginning of file. Changed left margin + to 1.5in, right margin to 1in. Forced headrulewidth to 0, removed + underlining from title. Thanks to John Culleton for useful suggestions. + +2000-09-13 Jean-Marc Lasgouttes + + * src/lyxlex_pimpl.C (setFile): change error message to debug + message. + +2000-09-13 Juergen Vigna + + * src/frontends/xforms/FormDocument.C: implemented choice_class + as combox and give callback to combo_language so OK/Apply is activated + on change. + + * src/bufferlist.C (newFile): small fix so already named files + (via an open call) are not requested to be named again on the + first save! + +2000-09-13 John Levon + + * src/frontends/kde/Makefile.am + * src/frontends/kde/FormRef.C + * src/frontends/kde/FormRef.h + * src/frontends/kde/formrefdialog.C + * src/frontends/kde/formrefdialog.h: implement + cross-ref dialog + +2000-09-13 John Levon + + * src/frontends/kde/formtocdialog.C + * src/frontends/kde/formtocdialog.h + * src/frontends/kde/FormToc.C + * src/frontends/kde/FormToc.h: change to make TOC hierarchical properly + +2000-09-11 John Levon + + * src/frontends/kde/FormCitation.C: fix thinko + where we didn't always display the reference text + properly + + * src/frontends/kde/formurldialog.C + * src/frontends/kde/formurldialog.h + * src/frontends/kde/FormUrl.C + * src/frontends/kde/FormUrl.h: minor cleanups + + * src/frontends/kde/QtLyXView: wrapper to avoid Qt namespace mangling + + * src/frontends/kde/Makefile.am + * src/frontends/kde/FormToc.C + * src/frontends/kde/FormToc.h + * src/frontends/kde/FormCitation.C + * src/frontends/kde/FormCitation.h + * src/frontends/kde/FormIndex.C + * src/frontends/kde/FormIndex.h + * src/frontends/kde/formtocdialog.C + * src/frontends/kde/formtocdialog.h + * src/frontends/kde/formcitationdialog.C + * src/frontends/kde/formcitationdialog.h + * src/frontends/kde/formindexdialog.C + * src/frontends/kde/formindexdialog.h: new Toc,Citation,Index dialogs + +2000-09-12 Juergen Vigna + + * src/frontends/gnome/GUIRunTime.C (initApplication): make id + version + static strings. + +2000-09-11 Jean-Marc Lasgouttes + + * src/frontends/xforms/GUIRunTime.C (initApplication): use lyxerr, + not cerr. + +2000-09-09 Dekel Tsur + + * src/converter.C (Add, Convert): Added support for converter flags: + needaux, resultdir, resultfile. + (Convert): Added new parameter view_file. + (dvips_options): Fixed letter paper option. + + * src/exporter.C (Export, BufferExtension): Added support for Docbook. + (Export, GetExportableFormats, GetViewableFormats): Added support + for Ascii. + + * src/lyx_main.C (LyX): Call to QuitLyX() to remove temporary + directory! + (easyParse): Fixed to work with new export code. + + * src/support/filetools.C (DeleteAllFilesInDir) Fixed to delete + directories. + + * lyx-devel-export/lib/configure.m4: Changed flags of tth. + + * lib/bind/*.bind: Replaced + buffer-view,buffer-view-ps,buffer-typeset,buffer-typeset-ps by + buffer-view dvi,buffer-view ps,buffer-update dvi,buffer-update ps + +2000-09-11 Juergen Vigna + + * src/lyx_gui.C (runTime): uses global guiruntime variable. + + * src/main.C (main): now GUII defines global guiruntime! + + * src/frontends/gnome/GUIRunTime.C (initApplication): + * src/frontends/kde/GUIRunTime.C (initApplication): + * src/frontends/xforms/GUIRunTime.C (initApplication): + * src/frontends/GUIRunTime.h: added new function initApplication. + + * src/spellchecker.C (sc_accept_word): change to add_to_session. + + * src/vspace.C (nextToken): fixed error with number 0cm as unvalid. + +2000-09-08 Juergen Vigna + + * src/lyx_gui.C (create_forms): don't display the "default" entry as + we have already "Reset". + + * src/language.C (initL): inserted "default" language and made this + THE default language (and not american!) + + * src/paragraph.C: inserted handling of "default" language! + + * src/lyxfont.C: ditto + + * src/text.C: ditto + + * src/paragraph.C: output the \\par only if we have a following + paragraph otherwise it's not needed. + +2000-09-05 Juergen Vigna + + * config/pspell.m4: added entry to lyx-flags + + * src/spellchecker.C: modified version from Kevin for using pspell + +2000-09-01 Marko Vendelin + * src/frontends/gnome/Makefile.am + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h + * src/frontends/gnome/diainsertcitation_callbacks.c + * src/frontends/gnome/diainsertcitation_callbacks.h + * src/frontends/gnome/diainsertcitation_interface.c + * src/frontends/gnome/diainsertcitation_interface.h + * src/frontends/gnome/dialogs/diainsertcitation.glade: Insert Citation + dialog for Gnome frontend + + * src/main.C: Gnome libraries require keeping application name + and its version as strings + + * src/frontends/gnome/mainapp.C: Change the name of the main window + from GnomeLyX to PACKAGE + +2000-09-05 Jean-Marc Lasgouttes + + * src/frontends/Liason.C: add "using: declaration. + +2000-08-31 Dekel Tsur + + * src/mathed/math_macro.C (Metrics): Set the size of the template + + * src/mathed/formulamacro.C (Latex): Fixed the returned value + +2000-09-04 Dekel Tsur + + * src/converter.C (add_options): New function. + (SetViewer): Change $$FName into '$$FName'. + (View): Add options when running xdvi + (Add): Change $$FName into '$$FName'. Same for $$BaseName/$$OutName. + (Convert): The 3rd parameter is now the desired filename. Converts + calls to lyx::rename if necessary. + Add options when running dvips. + (dvi_papersize,dvips_options): New methods. + + * src/exporter.C (Export): Use getLatexName() instead of fileName(). + + * src/frontends/Liason.C (printBuffer): Removed duplicate code by + using a call to Converter::dvips_options. + Fixed to work with nex export code. + + * src/support/copy.C + * src/support/rename.C: New files + + * src/support/syscall.h + * src/support/syscall.C: Added Starttype SystemDontWait. + + * lib/ui/default.ui: Changed to work with new export code + + * lib/configure.m4: Changed to work with new export code + + * src/encoding.C: Changed latex name for iso8859_7 encoding. + +2000-09-04 Angus Leeming + + + * src/frontends/xforms/Menubar_pimpl.C: added two using directives + so that code compiles with DEC cxx. + + * src/frontends/xforms/FormCitation.C (setSize): code re-writtenn + to work correctly! Also now supports the additional elements + neeeded by natbib. + +2000-09-01 Allan Rae + + * src/frontends/ButtonPolicies.C: renamed all the references to + PreferencesPolicy::{AllButtons,BOGUS} to be ButtonPolicy. + + * src/frontends/ButtonPolicies.h: rename AllButtons to ALL_BUTTONS + since it's a const not a type. + + * src/frontends/xforms/ButtonController.h: cleanup before Lars does. + +2000-08-31 Juergen Vigna + + * src/insets/figinset.C: Various changes to look if the filename has + an extension and if not add it for inline previewing. + +2000-08-31 Lars Gullik Bjønnes + + * src/frontends/ButtonPolicies.h: add a Button AllButtons. + make buttonStatus and isReadOnly be const methods. (also reflect + this in derived classes.) + + * src/frontends/ButtonPolicies.C: remove sum_ and bogus_ + (nextState): change to be static inline, pass the StateMachine as + a const reference + (PreferencesPolicy): remove casts + (OkCancelPolicy): remvoe casts + (OkCancelReadOnlyPolicy): remove casts + (NoRepeatedApplyReadOnlyPolicy): remove casts + (OkApplyCancelReadOnlyPolicy): remove casts + (OkApplyCancelPolicy): remove casts + (NoRepeatedApplyPolicy): remove casts + +2000-08-31 Angus Leeming + + * src/converter.C: added some using directives + + * src/frontends/ButtonPolicies.C: changes to overcome + "need lvalue" error with DEC c++ + + * src/frontends/xforms/FormDocument.C (c-tor): use C callback + to WMHideCB for DEC c++ + + * src/frontends/xforms/Menubar_pimpl.C: added using directive + + * src/frontends/xforms/forms/form_document.C.patch: use C callback + to BulletBMTableCB for DEC c++ + +2000-08-31 Allan Rae + + * src/lyx_gui.C (create_forms): build combo_language2 which is part of + character dialog separately from old document dialogs combo_language. + Stops a segfault. + +2000-08-30 Dekel Tsur + + * src/commandtags.h: Added LFUN_GOTO_PARAGRAPH. + Removed LFUN_REF_CREATE. + + * src/MenuBackend.C: Added new tags: toc and references + + * src/frontends/xforms/Menubar_pimpl.C: Removed the use of StrPool + (add_lastfiles, add_documents, add_formats): Removed the unused smn + parameter. + (add_toc, add_references): New methods. + (create_submenu): Handle correctly the case when there is a + seperator after optional menu items. + + * src/lyxfunc.C (getStatus): Handle LFUN_REF_BACK. + (dispatch): Combined the code for LFUN_REF_CREATE and LFUN_REF_INSERT. + (dispatch): New code for LFUN_GOTO_PARAGRAPH. + + * src/frontends/xforms/FormToc.C (apply): Use Dispatch. + +2000-08-30 Dekel Tsur + + * src/converter.[Ch]: New file for converting between different + formats. + + * src/export.[Ch]: New file for exporting a LyX file to different + formats. + + * src/lyx_cb.C: Remove many functions when NEW_EXPORT is defined: + MenuRunLaTeX, MakeLaTeXOutput, RunScript, CreatePostscript, + PreviewPostscript, PreviewDVI, AskOverwrite, MenuMakeLaTeX, + MenuMakeLinuxDoc, MenuMakeDocBook, MenuMakeHTML, + MenuMakeHTML_LinuxDoc, MenuMakeHTML_DocBook, RunLinuxDoc, + RunDocBook, MenuExport. + + * src/lyxfunc.C (Dispatch): Use the Exporter::Export and + Exporter::Preview methods if NEW_EXPORT is defined. + + * src/buffer.C (Dispatch): Use Exporter::Export. + + * src/lyxrc.C: Added new tags: \converter and \viewer. + + * src/commandtags.h + * src/LyXAction.C: Define new lyx-function: buffer-update. + Remove obsolete buffer-typeset,buffer-typeset-ps & buffer-view-ps + when NEW_EXPORT is defined. + + * src/MenuBackend.C: Added new tags: updateformats and viewformats. + + * src/frontends/xforms/Menubar_pimpl.C (add_formats) New method. + + * lib/ui/default.ui: Added submenus "view" and "update" to the + "file" menu. + + * src/filetools.C (GetExtension): New function. + + * src/LaTeX.C (LaTeX): Add "-pdf" to depfile if pdflatex is used. + +2000-08-29 Allan Rae + + * lib/bind/xemacs.bind: update a binding due to Juergen's recent work + + * src/frontends/xforms/FormDocument.C (checkReadOnly): new function + (EnableDocumentLayout): removed + (DisableDocumentLayout): removed + (build): make use of ButtonController's read-only handling to + de/activate various objects. Replaces both of the above functions. + + * src/frontends/xforms/ButtonController.h (readWrite): was read_write + (readOnly): was read_only + (refresh): fixed dumb mistakes with read_only_ handling + + * src/frontends/xforms/forms/form_document.fd: + * src/frontends/xforms/forms/form_tabular.fd: Use FL_FLAT_BOX for the + tabbed dialogs so the tabs look more like tabs and so its easier to + work out which is the current tab. + + * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): fix + segfault with form_table + + * src/frontends/ButtonPolicies.C: All policies now support UNDO_ALL. + +2000-08-28 Juergen Vigna + + * acconfig.h: added USE_PSPELL. + + * src/config.h.in: added USE_PSPELL. + + * autogen.sh: added pspell.m4 + + * config/pspell.m4: new file. + + * src/spellchecker.C: implemented support for pspell libary. + +2000-08-25 Juergen Vigna + + * src/LyXAction.C (init): renamed LFUN_TABLE to + LFUN_DIALOG_TABULAR_INSERT and fixed all it's occurences. + + * src/lyxfunc.C (getStatus): fix for disabled Edit->Table entries. + + * src/lyxscreen.h: add force_clear variable and fuction to force + a clear area when redrawing in LyXText. + + * src/text.C (GetVisibleRow): look if the screen forces a redraw. + +2000-08-25 Lars Gullik Bjønnes + + * some whitespace and comment changes. + + * src/lyx_gui.C (LyXGUI): use C++ style casts instead of C ones. + + * src/buffer.C: up te LYX_FORMAT to 2.17 + +2000-08-23 Juergen Vigna + + * src/BufferView_pimpl.C (tripleClick): disable this when in a + locking_inset. + + * src/insets/insettabular.C (pasteSelection): delete the insets + LyXText as it is not valid anymore. + (copySelection): new function. + (pasteSelection): new function. + (cutSelection): new function. + (LocalDispatch): implemented cut/copy/paste of cell selections. + + * src/insets/insettext.C (resizeLyXText): don't need resize if I still + don't have a LyXText. + + * src/LyXAction.C (init): a NEW_TABULAR define too much. + + * src/lyx_gui_misc.C (CloseAllBufferRelatedDialogs): another missing + NEW_TABULAR define. + +2000-08-22 Juergen Vigna + + * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): + ifdef form_table out if NEW_TABULAR. + +2000-08-21 Juergen Vigna + + * src/insets/insettabular.C (TabularFeatures): BoxType is enum now. + (draw): fixed draw position so that the cursor is positioned in the + right place. + (InsetMotionNotify): hide/show cursor so the position is updated. + (GENERAL): fixed cursor_pos to show only 0/1 (begin/end of cell), + using cellstart() function where it should be used. + + * src/insets/insettext.C (draw): ditto. + + * src/tabular.C: fixed initialization of some missing variables and + made BoxType into an enum. + +2000-08-22 Marko Vendelin + * src/frontends/gnome/Menubar_pimpl.C: Mathces LyX action with Gnome + stock menu item using action numerical value, not its string + representation. + + +2000-08-22 Lars Gullik Bjønnes + + * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add + GUIRunTime.C remove GUIRunTime_pimpl.[Ch] + + * src/frontends/xforms/GUIRunTime_pimpl.[Ch]: removed file + + * src/frontends/xforms/GUIRunTime.C: new file + + * src/frontends/kde/Makefile.am (libkde_la_SOURCES): add + GUIRunTime.C and remove GUIRunTime_pimpl.[Ch] + + * src/frontends/kde/GUIRunTime_pimpl.[Ch]: removed file + + * src/frontends/kde/GUIRunTime.C: new file + + * src/frontends/gnome/Makefile.am (libgnome_la_SOURCES): add + GUIRunTime.C and remove GUIRunTime_pimpl.[Ch] + + * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: removed file + + * src/frontends/gnome/GUIRunTime.C: new file + + * src/frontends/Makefile.am (libfrontends_la_SOURCES): removed + GUIRunTime.C + + * src/frontends/GUIRunTime.h: removed constructor and destructor, + small change to documetentation. + + * src/frontends/GUIRunTime.C: removed file + + * src/text2.C (MeltFootnoteEnvironment): add some NEW_TABULAR + + * src/lyxparagraph.h: enable NEW_TABULAR as default + + * src/lyxfunc.C (processKeySym): remove some commented code + + * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): add + NEW_TABULAR around the fd_form_table_options. + + * src/lyx_gui.C (runTime): call the static member function as + GUIRunTime::runTime(). + +2000-08-21 Allan Rae + + * src/frontends/xforms/FormDocument.h: D'oh. Forgot to change the + policy here also. + +2000-08-21 Dekel Tsur + + * src/Spacing.C (writeEnvirBegin): Small fix when sstream not present + +2000-08-21 Allan Rae + + * src/frontends/xforms/ButtonController.h (setOK): renamed from setOk to + keep Garst happy ;-) + * src/frontends/xforms/FormPreferences.C (build): use setOK + * src/frontends/xforms/FormDocument.C (build): use setOK + (FormDocument): use the appropriate policy. + +2000-08-21 Allan Rae + + * src/frontends/xforms/ButtonController.h (class ButtonController): Allow + automatic [de]activation of arbitrary objects when in a read-only state. + + * src/frontends/ButtonPolicies.h: More documentation + (isReadOnly): added to support the above. + + * src/frontends/xforms/forms/form_preferences.fd: Changed Ok -> Save + +2000-08-18 Juergen Vigna + + * src/insets/insettabular.C (getStatus): changed to return func_status. + + * src/lyxfunc.C (getStatus): fixed TabularFeatures menu to always + display toggle menu entries if they are. + + * src/lyx_cb.C: #ifdef'ed out layout stuff which is in the + new document layout now. + + * src/lyxfunc.C: ditto + + * src/lyx_gui_misc.C: ditto + + * src/lyx_gui.C: ditto + + * lib/ui/default.ui: removed paper and quotes layout as they are now + all in the document layout tabbed folder. + + * src/frontends/xforms/forms/form_document.fd: added Restore + button and callbacks for all inputs for Allan's ButtonPolicy. + + * src/frontends/xforms/FormDocument.C (ChoiceClassCB): added. + (CheckChoiceClass): added missing params setting on class change. + (UpdateLayoutDocument): added for updating the layout on params. + (build): forgot to RETURN_ALWAYS input_doc_spacing. + (FormDocument): Implemented Allan's ButtonPolicy with the + PreferencesPolicy. + +2000-08-17 Allan Rae + + * src/frontends/xforms/Dialogs.C (Dialogs): Make a temporary connection + so we can at least see the credits again. + + * src/frontends/xforms/FormPreferences.C: Used the appropriate button + controller calls for the appropriate callbacks. Note that since Ok + calls apply followed by cancel, and apply isn't a valid input for the + APPLIED state, the bc_ calls have to be made in the static callback not + within each of the real callbacks. + + * src/frontends/xforms/ButtonController.h (Ok): renamed from Okay() + (setOk): renamed from setOkay() + +2000-08-17 Juergen Vigna + + * src/frontends/gnome/Menubar_pimpl.C (openByName): put this function + in the implementation part. + (composeUIInfo): don't show optional menu-items. + + * src/lyxfunc.C (getStatus): use insets LyXText if the_locking_inset. + + * src/insets/insettext.C (UpdateLocal): call to LyXView::showState() + + * src/bufferview_funcs.C (CurrentState): fixed to show also the + text-state when in a text-inset. + + * src/frontends/kde/GUIRunTime_pimpl.C: include xforms for now. + +2000-08-17 Marko Vendelin + * src/frontends/gnome/FormIndex.C + * src/frontends/gnome/FormIndex.h + * src/frontends/gnome/FormToc.C + * src/frontends/gnome/FormToc.h + * src/frontends/gnome/dialogs + * src/frontends/gnome/diatoc_callbacks.c + * src/frontends/gnome/diatoc_callbacks.h + * src/frontends/gnome/diainsertindex_callbacks.h + * src/frontends/gnome/diainsertindex_callbacks.c + * src/frontends/gnome/diainsertindex_interface.c + * src/frontends/gnome/diainsertindex_interface.h + * src/frontends/gnome/diatoc_interface.h + * src/frontends/gnome/diatoc_interface.c + * src/frontends/gnome/Makefile.am: Table of Contents and + Insert Index dialogs implementation for Gnome frontend + + * src/frontends/gnome/GUIRunTime_pimpl.C: fix some small bugs + + * src/frontends/gnome/Menubar_pimpl.C: remove historical comments + + * src/frontends/gnome/diainserturl_interface.c: make the dialog + resizable + +2000-08-17 Lars Gullik Bjønnes + + * src/frontends/xforms/GUIRunTime_pimpl.C: constructor and + destructor. Don't definde if you don't need it + (processEvents): made static, non-blocking events processing for + xforms. + (runTime): static method. event loop for xforms + * similar as above for kde and gnome. + + * src/frontends/GUIRunTime.C (GUIRunTime): new Pimpl() is wrong + new Pimpl is correct + (runTime): new method calss the real frontends runtime func. + + * src/lyx_gui.C (runTime): change to use the GUIRunTime::runTime + +2000-08-16 Lars Gullik Bjønnes + + * src/lyx_gui.C (create_forms): fix the "No change" gettext missing + +2000-08-16 Juergen Vigna + + * src/lyx_gui.C (runTime): added GUII RunTime support. + + * src/frontends/Makefile.am: + * src/frontends/GUIRunTime.[Ch]: + * src/frontends/xforms/GUIRunTime_pimpl.[Ch]: + * src/frontends/kde/GUIRunTime_pimpl.[Ch]: + * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: added GUII runtime support + + * src/LyXAction.C (init): added dummy LFUN_INSERT_URL. + + * src/frontends/Makefile.am (INCLUDES): don't set the FRONTENDS include + as this is already set in ${FRONTEND_INCLUDE} if needed. + + * configure.in (CPPFLAGS): setting the include dir for the frontend + directory and don't set FRONTEND=xforms for now as this is executed + always. + +2000-08-16 John Levon (moz@compsoc.man.ac.uk) + + * src/frontends/kde/Makefile.am: + * src/frontends/kde/FormUrl.C: + * src/frontends/kde/FormUrl.h: + * src/frontends/kde/formurldialog.h: + * src/frontends/kde/formurldialog.C: Add KDE URL dialog + +2000-08-15 Kayvan A. Sylvan + + * src/frontend/Makefile.am: Add gnome and kde to dist tar file. + +2000-08-16 Lars Gullik Bjønnes + + * src/BufferView_pimpl.C (workAreaKeyPress): enable the + processKeySym + +2000-08-15 Lars Gullik Bjønnes + + * src/WorkArea.C (work_area_handler): more work to get te + FL_KEYBOARD to work with xforms 0.88 too, please test. + + * src/BufferView_pimpl.C (workAreaKeyPress): add XForms 0.88 guard. + +2000-08-15 Dekel Tsur + + * src/frontends/ButtonPolicies.C: make gcc happy when compiling with + -pedantic + +2000-08-14 Lars Gullik Bjønnes + + * src/Timeout.h: remove Qt::emit hack. + + * several files: changes to allo doc++ compilation + + * src/lyxfunc.C (processKeySym): new method + (processKeyEvent): comment out if FL_REVISION < 89 + + * src/WorkArea.C: change some debugging levels. + (WorkArea): set wantkey to FL_KEY_ALL + (work_area_handler): enable the FL_KEYBOARD clause, this enables + clearer code and the use of compose with XForms 0.89. Change to + use signals instead of calling methods in bufferview directly. + + * src/Painter.C: change some debugging levels. + + * src/LyXView.C: don't setup of use the KeyPressMask_raw_callback + if FL_REVISION < 89 + + * src/BufferView_pimpl.C (Pimpl): Connect to the WorkArea signals. + (workAreaKeyPress): new method + +2000-08-14 Juergen Vigna + + * src/frontends/kde/Dialogs.C (Dialogs): added missing dialogs. + + * config/kde.m4: addes some features + + * src/frontends/kde/Makefile.am (libkde_la_OBJADD): modified to + include missing xforms dialogs. + + * src/Timeout.h: a hack to be able to compile with qt/kde. + + * sigc++/.cvsignore: added acinclude.m4 + + * lib/.cvsignore: added listerros + + * src/frontends/Makefile.am: modified for now to ALWAYS compile the + xforms tree as objects are needed for other frontends. + + * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added for + linking with not yet implemented xforms objects. + + * src/frontends/gnome/Dialogs.C (Dialogs): added FormDocument. + +2000-08-14 Baruch Even + + * src/frontends/xforms/FormGraphics.h: + * src/frontends/xforms/FormGraphics.C: + * src/frontends/xforms/RadioButtonGroup.h: + * src/frontends/xforms/RadioButtonGroup.C: + * src/insets/insetgraphics.h: + * src/insets/insetgraphics.C: + * src/insets/insetgraphicsParams.h: + * src/insets/insetgraphicsParams.C: Changed indentation to use tabs + instead of spaces, and various other indentation issues to make the + sources more consistent. + +2000-08-14 Marko Vendelin + + * src/frontends/gnome/dialogs/diaprint.glade + * src/frontends/gnome/FormPrint.C + * src/frontends/gnome/FormPrint.h + * src/frontends/gnome/diaprint_callbacks.c + * src/frontends/gnome/diaprint_callbacks.h + * src/frontends/gnome/diaprint_interface.c + * src/frontends/gnome/diaprint_interface.h: Print dialog Gnome + implementation + + * src/frontends/gnome/dialogs/diainserturl.glade + * src/frontends/gnome/FormUrl.C + * src/frontends/gnome/FormUrl.h + * src/frontends/gnome/diainserturl_callbacks.c + * src/frontends/gnome/diainserturl_callbacks.h + * src/frontends/gnome/diainserturl_interface.c + * src/frontends/gnome/diainserturl_interface.h: Insert Url dialog + Gnome implementation + + * src/frontends/gnome/Dialogs.C + * src/frontends/gnome/Makefile.am: added Print, Insert Url and + all other dialogs. Copy all unimplemented dialogs from Xforms + frontend + + * src/frontends/gnome/support.c + * src/frontends/gnome/support.h: support files generated by Glade + + * autogen.sh + * configure.in + * config/gnome.m4: Gnome configuration scripts + + * config/lyxinclude.m4: cleanup: frontend renamed from gtk to gnome in + configure --help message + + * src/lyx_gui.C: Gnome/Gtk releases control in LyXGUI::runTime() + only if there are no events pendling in Gnome/Gtk. This enhances + the performance of menus. + + +2000-08-14 Allan Rae + + * lib/Makefile.am: listerrors cleaning + + * lib/listerrors: removed -- generated file + * acinclude.m4: ditto + * sigc++/acinclude.m4: ditto + + * src/frontends/xforms/forms/form_citation.fd: + * src/frontends/xforms/FormCitation.C (setSize): Made the form a more + manageable size. + + * src/frontends/xforms/forms/makefile: I renamed the `install` target + `updatesrc` and now we have a `test` target that does what `updatesrc` + used to do. I didn't like having an install target that wasn't related + to the dist. + + * src/frontends/xforms/Form*.[hC]: Removed the free() member functions + on all except FormGraphics. This may yet happen. Followed by a major + cleanup including using FL_TRANSIENT for most of the dialogs. More + changes to come when the ButtonController below is introduced. + + * src/frontends/xforms/ButtonController.h: New file for managing up to + four buttons on a dialog according to an externally defined policy. + * src/frontends/xforms/Makefile.am: added above + + * src/frontends/ButtonPolicies.[hC]: New files full of policies for Ok, + Apply and Cancel/Close buttons and everything in between and beyond. + * src/frontends/Makefile.am: added above. + + * src/frontends/xforms/forms/form_preferences.fd: + * src/frontends/xforms/FormPreferences.[hC]: Uses the ButtonController + and removed variable 'status' as a result. Fixed the set_minsize thing. + Use the new screen-font-update after checking screen fonts were changed + Added a "Restore" button to restore the original lyxrc values while + editing. This restores everything not just the last input changed. + That's still a tricky one. As is the "LyX: this shouldn't happen..." + + * src/LyXAction.C: screen-font-update added for updating buffers after + screen font settings have been changed. + * src/commandtags.h: ditto + * src/lyxfunc.C: ditto + + * forms/lyx.fd: removed screen fonts dialog. + * src/lyx_gui.C: ditto + * src/menus.[Ch]: ditto + * src/lyx.[Ch]: ditto + * src/lyx_cb.C: ditto + code from here moved to make + screen-font-update. And people wonder why progress on GUII is + slow. Look at how scattered this stuff was! It takes forever + just find it all. + + * forms/fdfix.sh: Fixup the spacing after commas. + * forms/makefile: Remove date from generated files. Fewer clashes now. + * forms/bullet_forms.C.patch: included someones handwritten changes + + * src/lyxrc.[Ch]: Added a commented out system_lyxrc. Will use it RSN + once I've discovered why LyXRC was made noncopyable. + * src/lyx_main.C: ditto + +2000-08-14 Angus Leeming + + * src/frontends/xforms/forms/fdfix.sh: + * src/frontends/xforms/forms/fdfixh.sed: + * src/frontends/xforms/forms/fdfixc.sed: New file from Angus + * src/frontends/xforms/Form*.[hC]: + * src/frontends/xforms/form_*.[hC]: Massive rewrite of the generation + scripts to rename all the "FL_OBJECT * form_xxxx" to "form" and to + provide a destructor for the struct FD_form_xxxx. Another version of + the set_[max|min]size workaround and a few other cleanups. Actually, + Angus' patch from 20000809. + +2000-08-13 Baruch Even + + * src/insets/insetgraphics.C (Clone): Added several fields that needed + copying. + +2000-08-11 Juergen Vigna + + * src/insets/insetgraphics.C (InsetGraphics): changing init + order because of warnings. + + * src/frontends/xforms/forms/makefile: adding patching .C with + .C.patch files. + + * src/frontends/xforms/forms/fdfix.sh: changing patching file .c + from .C.patch to .c.patch + + * src/frontends/xforms/FormCommand.C (FormCommand): changing init + order because of warning. + + * src/frontends/xforms/Dialogs.C (Dialogs): added FormDialog + + * src/frontends/Liason.C (setMinibuffer): new helper function + + * src/frontends/Dialogs.h (class Dialogs): inserting showLayoutDocument + + * src/lyxfunc.C (Dispatch): calling new Document-Layout + + * lib/ui/default.ui: commented out PaperLayout entry + + * src/frontends/xforms/form_document.[Ch]: new added files + + * src/frontends/xforms/FormDocument.[Ch]: ditto + + * src/frontends/xforms/forms/form_document.fd: ditto + + * src/frontends/xforms/forms/form_document.C.patch: ditto + +2000-08-10 Juergen Vigna + + * src/insets/insetgraphics.C (draw): fixed access to 0 cacheHandle. + (InsetGraphics): initialized cacheHandle to 0. + (draw): changed call to updateInset to status=CHANGE_IN_DRAW. + +2000-08-10 Baruch Even + + * src/graphics/GraphicsCache.h: + * src/graphics/GraphicsCache.C (addFile, removeFile): Changed to work + correctly as a cache. + + * src/graphics/GraphicsCacheItem.h: + * src/graphics/GraphicsCacheItem.C: Changed to the pimpl idiom to allow + reference counting. + + * src/graphics/GraphicsCacheItem_pimpl.h: + * src/graphics/GraphicsCacheItem_pimpl.C: The implementation of the + GraphicsCacheItem. + + * src/insets/insetgraphics.h: + * src/insets/insetgraphics.C: Changed from using a signal notification + to polling when image is not loaded. + +2000-08-10 Allan Rae + + * development/tools/makeLyXsigc.sh: Updated to allow Signal3. Note + that there are two functions that have to been taken out of line by + hand and aren't taken care of in the script. (Just a reminder note) + + * sigc++/macros/*.h.m4: Updated as above. + +2000-08-09 Juergen Vigna + + * src/insets/insettext.C (draw): small fix for clearing rectangle. + + * src/insets/insettabular.C: make drawing of single cell smarter. + +2000-08-09 Marko Vendelin + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/Menubar_pimpl.h: Gnome frontend Menubar + implementation: new files + + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h: Gnome main window (temporary + implementation) + + * src/main.C: create Gnome main window + + * src/frontends/xforms/Menubar_pimpl.h + * src/frontends/Menubar.C + * src/frontends/Menubar.h: added method Menubar::update that calls + Menubar_pimpl::update and xforms/Menubar_pimpl::update (empty one) + + * src/LyXView.C: calls Menubar::update to update the state + of menu items + + * src/frontends/gnome/Makefile.am: added new files + + * src/frontends/Makefile.am: added frontend compiler options + +2000-08-08 Juergen Vigna + + * src/lyx_cb.C (AutoSave): autosave for unnamed files enabled! + + * src/bufferlist.C (close): + * src/bufferlist.C (QwriteAll): remove Autosave-files for Unnamed() + documents if exiting without saving. + + * src/buffer.C (save): use removeAutosaveFile() + + * src/support/filetools.C (removeAutosaveFile): new function. + + * src/lyx_cb.C (MenuWrite): returns a bool now. + (MenuWriteAs): check if file could really be saved and revert to the + old name if not. + (MenuWriteAs): removing old autosavefile if existant. + + * src/frontends/xforms/FormRef.h: puting FD_form_ref declaration + before Goto toggle declaration, because of compiler warning. + + * src/frontends/xforms/FormRef.C: forgot include of + + * src/lyxfunc.C (MenuNew): small fix. + + * src/lyxrc.C (output): added RC_NEW_ASK_FILENAME tag. + + * src/bufferlist.C (newFile): + * src/lyxfunc.C (MenuNew): use the new_ask_filename tag from lyxrc. + + * src/lyxrc.C: added new_ask_filename tag + +2000-08-07 Angus Leeming + + * src/lyx.fd: removed code pertaining to form_ref + * src/lyx.[Ch]: ditto + * src/lyx_cb.C: ditto + * src/lyx_gui.C: ditto + * src/lyx_gui_misc.C: ditto + + * src/BufferView_pimpl.C (restorePosition): update buffer only + if file has changed + + * src/commandtags.h (LFUN_REFTOGGLE): removed + (LFUN_INSERT_REF): renamed LFUN_REF_INSERT + (LFUN_REFGOTO): renamed LFUN_REF_GOTO + (LFUN_REFBACK): renamed LFUN_REF_BACK + + * src/LyXAction.C: removed code pertaining to LFUN_REFTOGGLE + * src/menus.C: ditto + * src/lyxfunc.C (Dispatch): ditto. + InsertRef dialog is now GUI-independent. + + * src/texrow.C: added using std::endl; + + * src/insets/insetref.[Ch]: strip out large amounts of code. + The inset is now a container and this functionality is now + managed by a new FormRef dialog + + * src/frontends/Dialogs.h (showRef, createRef): new signals + + * src/frontends/xforms/FormIndex.[Ch], + src/frontends/xforms/FormUrl.[Ch]: workaround an xforms bug + when setting dialog's min/max size + * src/frontends/xforms/FormIndex.[Ch]: ditto + + * src/frontends/xforms/FormRef.[Ch], + src/frontends/xforms/forms/form_ref.fd: new xforms + implementation of an InsetRef dialog + + * src/graphics/GraphicsCache.[Ch]: small changes to compile with + DEC cxx + + * src/graphics/XPM_Renderer.C (isImageFormatOK): + ios::nocreate is not part of the standard. Removed. + +2000-08-07 Baruch Even + + * src/graphics/Renderer.h: + * src/graphics/Renderer.C: Added base class for rendering of different + image formats into Pixmaps. + + * src/graphics/XPM_Renderer.h: + * src/graphics/XPM_Renderer.C: Taken from GraphicsCacheItem and placed + in a different class. + + * src/graphics/GraphicsCacheItem.C: factored out the rendering in order to + easily add support for other formats. + + * src/insets/figinset.C: plugged a leak of an X resource. + +2000-08-07 Lars Gullik Bjønnes + + * src/CutAndPaste.[Ch]: make all metods static. + + * development/Code_rules/Rules: more work, added section on + Exceptions, and a References section. + + * a lot of header files: work to make doc++ able to generate the + source documentation, some workarounds of doc++ problems. Doc++ is + now able to generate the documentation. + +2000-08-07 Juergen Vigna + + * src/insets/insettabular.C (recomputeTextInsets): removed function + + * src/tabular.C (SetWidthOfMulticolCell): + (SetWidthOfCell): + (calculate_width_of_column_NMC): fixed return value so that it really + only returns true if the column-width has changed (there where + problems with muliticolumn-cells in this column). + +2000-08-04 Juergen Vigna + + * src/BufferView_pimpl.C (checkInsetHit): changed so that it looks + also on the scrollstatus of the inset. + (workAreaMotionNotify): ditto. + + * src/texrow.C (getIdFromRow): fixed compile problem on egcs-1.1.2. + +2000-08-01 Juergen Vigna + + * src/insets/insettabular.C (resetPos): scroll tabular automatically. + + * src/commandtags.h: + * src/LyXAction.C (init): + * src/insets/inset.C (LocalDispatch): added support for + LFUN_SCROLL_INSET. + + * src/insets/inset.C (scroll): new functions. + + * src/insets/insettext.C (removeNewlines): new function. + (SetAutoBreakRows): removes forced newlines in the text of the + paragraph if autoBreakRows is set to false. + + * src/tabular.C (Latex): generates a parbox around the cell contents + if needed. + + * src/frontends/xforms/FormTabular.C (local_update): removed + the radio_useparbox button. + + * src/tabular.C (UseParbox): new function + +2000-08-06 Baruch Even + + * src/graphics/GraphicsCache.h: + * src/graphics/GraphicsCache.C: + * src/graphics/GraphicsCacheItem.h: + * src/graphics/GraphicsCacheItem.C: Made them to actually do something + usefull. + + * src/insets/insetgraphics.h: + * src/insets/insetgraphics.C: Added the use of the GraphicsCache and the + drawing of the inline image. + + * src/buffer.C: Fixed a bug where a loaded InsetGraphics would be loaded + into the wrong position. + + * src/lyxfunc.C: When adding an InsetGraphics the edit dialog is now + launched. + +2000-08-05 Lars Gullik Bjønnes + + * src/support/translator.h: move all typedefs to public section + + * src/support/filetools.C (MakeLatexName): return string const + (QuoteName): ditto + (TmpFileName): ditto + (FileOpenSearch): ditto + (FileSearch): ditto + (LibFileSearch): ditto + (i18nLibFileSearch): ditto + (GetEnv): ditto + (GetEnvPath): ditto + (CreateTmpDir): ditto + (CreateBufferTmpDir): ditto + (CreateLyXTmpDir): ditto + (GetCWD): ditto + (OnlyPath): ditto + (MakeAbsPath): ditto + (AddName): ditto + (OnlyFilename): ditto + (ExpandPath): ditto + (NormalizePath): ditto + (CleanupPath): ditto + (GetFileContents): ditto + (ReplaceEnvironmentPath): ditto + (MakeRelPath): ditto + (AddPath): ditto + (ChangeExtension): ditto + (MakeDisplayPath): ditto + (do_popen): return cmdret const + (findtexfile): return string const + + * src/support/DebugStream.h: add some /// to please doc++ + + * src/frontends/DialogBase.h (endif): add some /// to please doc++ + + * src/texrow.C (same_rownumber): functor to use with find_if + (getIdFromRow): rewritten to use find_if and to not update the + positions. return true if row is found + (increasePos): new method, use to update positions + + * src/lyxlex_pimpl.h: make LyXLex::Pimpl noncopyable + + * src/lyxlex_pimpl.C (verifyTable): new method + (pushTable): use it + (Pimpl): use it + (GetString): return string const + (pushTable): rewrite to use std::stack + (popTable): ditto + (setFile): better check + (setStream): ditto + + * src/lyxlex.h: make LyXLex noncopyable + + * src/lyxlex.C (text): return char const * const + (GetString): return string const + (getLongString): return string const + + * src/lyx_gui_misc.C (askForText): return pair<...> const + + * src/lastfiles.[Ch] (operator): return string const + + * src/buffer.C (parseSingleLyXformat2Token): pass string to + istringstream not char const *. + move token.end() out of loop. + (readFile): move initializaton of token + + * src/BufferView2.C (insertErrors): run texrow.increasePos if + getIdFromRow is successful. + + * lib/bind/emacs.bind: don't include menus bind + + * development/Code_rules/Rules: the beginnings of making this + better and covering more of the unwritten rules that we have. + + * development/Code_rules/Recommendations: a couple of wording + changes. + +2000-08-04 Jean-Marc Lasgouttes + + * src/support/strerror.c: remove C++ comment. + +2000-08-04 Angus Leeming + + * src/commandtags.h: LFUN_INDEX_CREATE_LAST reverts to + LFUN_INDEX_INSERT_LAST + + * src/texrow.C (getIdFromRow): changed from const_iterator to + iterator, allowing code to compile with DEC cxx + + * src/frontends/xforms/FormCitation.[Ch]: made vector + stores part of the class, as suggested by Allan. Will allow + multiple LyXViews. + (apply): test to apply uses InsetCommandParams operator!= + + * src/frontends/xforms/FormIndex.C: moved set_minsize into build + (apply): test to apply uses InsetCommandParams operator!= + + * src/frontends/xforms/FormToc.[Ch]: made vector + stores part of the class. + (update): removed limits on min/max size. + + * src/frontends/xforms/FormUrl.C: moved set_minsize into build + (apply): test to apply uses InsetCommandParams operator!= + + * src/insets/insetcommand.[Ch] InsetCommand made noncopyable + (Read, Write, scanCommand, getCommand): moved functionality + into InsetCommandParams. + (Clone): removed + (getScreenLabel): made pure virtual + new InsetCommandParams operators== and != + + * src/insets/insetbib.[Ch] (InsetBibKey, InsetBibtex): new + c-tors based on InsetCommandParams. Removed others. + * src/insets/insetinclude.[Ch]: ditto + * src/insets/insetlabel.[Ch]: ditto + * src/insets/insetparent.[Ch]: ditto + * src/insets/insetref.[Ch]: ditto. Also moved gotoLabel into .C + + * src/buffer.C (parseSingleLyXformat2Token, readInset): all + insets derived from InsetCommand created using similar c-tors + based on InsetCommandParams + * src/lyx_cb.C (MenuInsertLabel, RefSelectCB): ditto + * src/menus.C (ShowRefsMenu): ditto + * src/paragraph.C (Clone): ditto + * src/text2.C (SetCounter): ditto + * src/lyxfunc.C (Dispatch) ditto + Also recreated old InsetIndex behaviour exactly. Can now + index-insert at the start of a paragraph and index-insert-last + without launching the pop-up. + +2000-08-03 Lars Gullik Bjønnes + + * lib/lyxrc.example: mark te pdf options as non functional. + + * src/support/lstrings.C (strToInt): move initalization of tmpstr + (isStrDbl): move tmpstr.end() out of loop. + (strToDbl): move intialization of tmpstr + (lowercase): return string const and move tmp.end() out of loop. + (uppercase): return string const and move tmp.edn() out of loop. + (prefixIs): add assertion + (suffixIs): ditto + (contains): ditto + (contains): ditto + (contains): ditto + (containsOnly): ditto + (containsOnly): ditto + (containsOnly): ditto + (countChar): make last arg char not char const + (token): return string const + (subst): return string const, move tmp.end() out of loop. + (subst): return string const, add assertion + (strip): return string const + (frontStrip): return string const, add assertion + (frontStrip): return string const + (split): ditto + (split): ditto + (rsplit): ditto + + * src/support/lstrings.C: add inclde "LAssert.h" + (isStrInt): move tmpstr.end() out of loop. + + * src/frontends/xforms/Toolbar_pimpl.C (activate): move + toollist.end() out of loop. + (deactivate): move toollist.end() out of loop. + (update): move toollist.end() out of loop. + (updateLayoutList): move tc.end() out of loop. + (add): move toollist.end() out of loop. + + * src/frontends/xforms/Menubar_pimpl.C (create_submenu): move + md.end() out of loop. + + * src/texrow.h: make getIdFromRow const, make rowlist mutable. + + * src/texrow.C (getIdFromRow): make const, more rowlist.end() out + of loop. + + * src/paragraph.C (Erase): move fontlist.end() out of loop. + (Erase): move insetlist.end() out of loop. + + * src/lyx_sendfax_main.C: make show_logfile static and to take a + ref to const string as first arg. Move initialization of some + variables, whitespace changes. + + * src/kbmap.C (defkey): move table.end() out of loop. + (kb_keymap): move table.end() out of loop. + (findbinding): move table.end() out of loop. + + * src/MenuBackend.C (hasMenu): move end() out of loop. + (getMenu): move end() out of loop. + (getMenu): move menulist_.end() out of loop. + + * src/Makefile.am (#lyx_LDFLAGS): interesting option commented out. + + * src/LaTeXFeatures.C (getIncludedFiles): move IncludedFiles.end() + out of loop. + + * src/LColor.C (getFromGUIName): move infotab.end() out of loop. + (getFromLyXName): move infotab.end() out of loop. + + * config/lyxinclude.m4 (CXXFLAGS): change for 2.96 add + -fvtable-thunks -ffunction-sections -fdata-sections + +2000-08-03 Dekel Tsur + + * src/frontends/xforms/RadioButtonGroup.h: Changed to + FORMS_H_LOCATION. + +2000-08-03 Angus Leeming + + * src/frontends/xforms/FormCommand.[Ch] (d-tor): removed + + * src/frontends/xforms/FormCitation.[Ch], + src/frontends/xforms/FormIndex.[Ch], + src/frontends/xforms/FormToc.[Ch], + src/frontends/xforms/FormUrl.[Ch] (d-tors): call free() + 2000-08-03 Angus Leeming * src/commandtags.h: renamed, created some flags for citation @@ -20,9 +1786,6 @@ * src/frontends/xforms/forms/form_index.fd: xforms implementation of the Index dialog - 2000-08-02 Lars Gullik Bjønnes - - * src/insets/insetref.C (Latex): rewrite so that there is now 2000-08-01 Dekel Tsur * src/mathed/math_write.C (MathDecorationInset::Write) Put \protect @@ -110,14 +1873,14 @@ * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class and modified InsetTOC class - * src/buffer.C: ditto + * src/buffer.C: ditto * forms/lyx.fd: strip out old FD_form_toc code * src/lyx_gui_misc.C: ditto * src/lyx_gui.C: ditto * src/lyx_cb.C: ditto * src/lyx.[Ch]: ditto - + 2000-08-01 Lars Gullik Bjønnes * src/support/utility.hpp: tr -d '\r' @@ -226,14 +1989,14 @@ 2000-07-31 Baruch Even * src/frontends/Dialogs.h: Added showGraphics signals. - + * src/frontends/xforms/forms/form_graphics.fd: Added file, the - xforms form definition of the graphics dialog. + xforms form definition of the graphics dialog. * src/frontends/xforms/FormGraphics.h: * src/frontends/xforms/FormGraphics.C: Added files, the GUIndependent code of InsetGraphics - + * src/insets/insetgraphics.h: * src/insets/insetgraphics.C: Major writing to make it work. @@ -336,7 +2099,7 @@ * development/lyx.spec.in * Makefile.am: Fix buglet for LyX RPM generation resulting from file/directory re-organization. - + 2000-07-26 Angus Leeming * src/insets/insetcommand.[Ch]: moved the string data and @@ -537,7 +2300,7 @@ * config/lyxinclude.m4: added --with-frontend[=value] option value for Gtk/Gnome frontend-GUI support. - + 2000-07-25 Lars Gullik Bjønnes * src/support/lstrings.C (prefixIs): rewrite so that gcc bastring @@ -787,7 +2550,7 @@ * src/mathed/math_symbols.C (math_insert_greek): Changed to use LocalDispatch(..,LFUN_SELFINSERT,..) instead of math_insert_symbol(). Also changed the prototype to "bool math_insert_greek(char)". - + 2000-07-19 Lars Gullik Bjønnes * lots of files: apply the NEW_INSETS on all code that will not be @@ -1170,8 +2933,8 @@ 2000-07-08 Dekel Tsur * src/WorkArea.C (request_clipboard_cb): Set clipboard_read to - true when clipboard is empty. - + true when clipboard is empty. + 2000-07-08 Dekel Tsur * text.C (Backspace): Prevent rebreaking of a row if it is the last @@ -1282,7 +3045,7 @@ (set_font_norm_type): New method. * src/paragraph.C (TeXOnePar): Put "\inputencoding{}" between - paragraphs with different encodings. + paragraphs with different encodings. * src/text.C (is_arabic, is_nikud, TransformChar): Moved to encoding.C (TransformChar): Changed to work correctly with Arabic points. @@ -1672,7 +3435,7 @@ * src/lyxparagraph.h * src/paragraph.C: Changed fontlist to a sorted vector. - + 2000-06-19 Juergen Vigna * src/BufferView.h: added screen() function. @@ -2390,13 +4153,13 @@ * src/trans_mgr.C (insertVerbatim): Do not use insetquote when the text is Hebrew. - + 2000-05-27 Dekel Tsur * src/text.C (draw): draw bars under foreign language words. * src/LColor.[Ch]: add LColor::language - + 2000-05-27 Dekel Tsur * src/lyxcursor.h (boundary): New member variable @@ -3390,7 +5153,7 @@ * src/layout_forms.C (create_form_form_character) * src/lyx_cb.C (UserFreeFont) * src/lyx_gui.C (create_forms): Added GUI support for multi-lingual - documents (in the layout->character popup). + documents (in the layout->character popup). 2000-04-17 Jean-Marc Lasgouttes @@ -3554,7 +5317,7 @@ * src/paragraph.C (ChangeLanguage,isMultiLingual) New methods. * A lot of files: A rewrite of the Right-to-Left support. - + 2000-04-10 Juergen Vigna * src/BufferView2.C (showLockedInsetCursor): small bugfix for