X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=b3ffb672a4400effa0bfbcf107bbe8a5a10c2f22;hb=b0389b631b1a00de088cbfb67f961f952b168e24;hp=0f0b7c0ba5aac9307b1606cac07c241030d83e5d;hpb=578e4fa2137aa1cff4cea6c16c27ca5ecf22c1cd;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 0f0b7c0ba5..b3ffb672a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,1110 @@ +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 @@ -772,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' @@ -888,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. @@ -998,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 @@ -1199,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 @@ -1449,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 @@ -1832,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 @@ -1944,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. @@ -2334,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. @@ -3052,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 @@ -4052,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 @@ -4216,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