X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=718edd956caca946d6462475d11f2b531b702091;hb=916c6bf9d8e994290b87885b6f39c9bbe8159453;hp=7136c99389029106a5b3ba1a6d8adadb9b1f0d0a;hpb=98500cc503dc4ea48739e2fb290306df64cca867;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 7136c99389..718edd956c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,541 @@ +2000-10-27 Dekel Tsur + + * src/mathed/formulamacro.h (LyxCode) Return MATHMACRO_CODE instead + of MATH_CODE. This fixes a bug with math-macros in RTL text. + + * src/text.C (PrepareToPrint): Show math-macros block aligned. + +2000-11-02 Juergen Vigna + + * src/insets/insettext.C (LocalDispatch): return a DISPATCHED_NOUPDATE + on char insertion as it has already be updated by bv->updateInset(). + + * src/insets/insettabular.C (UpdateInsetInInset): update the inset + if an inset inside was updated. + + * lib/configure.cmd: commented out fax-search code + +2000-11-01 Yves Bastide + + * src/tabular.C (OldFormatRead): set tabular language to the + document's one. + +2000-11-02 Jean-Marc Lasgouttes + + * lib/reLyX/MakePreamble.pm (translate_preamble): fix reading of + class names with non-letter characters (from Yves Bastide). + + * lib/ui/default.ui: change Item to OptItem in import menu. + Comment out fax stuff. + + * lib/configure.m4: comment out fax-related stuff. + +2000-10-31 Angus Leeming + + * src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for + useful xforms helper functions. At present contains only formatted(). + Input a string and it returns it with line breaks so that in fits + inside the label. + + * src/frontends/xforms/Makefile.am: add new files. + + * src/lyxrc.[Ch] (getDescription): new name for getFeedback. + * src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected + punctuation. + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: No new functionality + but lots of little clean ups. Removed enum State. Make use of + formatted(). Constify lots of methods. Perhaps best of all: removed + requirement for that horrible reinterpret_cast from pointer to long in + feedbackPost(). + +2000-11-02 Lars Gullik Bjønnes + + * src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION, + conditionalize build on xforms < 0.89 + + * src/lyx_gui.C (LyXGUI): only close lyxlookup if not xforms 0.89 + + * src/lyxfunc.C (getStatus): commenout LFUN_FAX + + * src/LyXAction.C (init): comment out fax + + * src/lyxrc.h: comment out the fax enums + comment out the fax variables + + * src/commandtags.h: comment out LFUN_FAX + + * src/lyxrc.C: disable fax variables. + (read): disable parsing of fax variables + (output): disable writing of fax variables + (getFeedback): now description for fax variables + + * src/lyxfunc.C: comment out MenuFax + (Dispatch): disable LFUN_FAX + + * src/lyx_cb.C (MenuFax): comment out + + * src/WorkArea.C: add + (work_area_handler): better key handling, should be ok now. + for accented chars + etc + + * src/Makefile.am (lyx_SOURCES): remove lyx_sendfax.C + lyx_sendfax.h and lyx_sendfax_man.C + + * src/LyXView.C: don't include lyxlookup.h when using xforms 0.89 + (show): don't call InitLyXLookup when using xforms 0.89 + +2000-11-01 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): better fix, the other one could crash... + + * src/support/filetools.C (GetFileContents): close to dummy change + +2000-10-31 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): workaround stupid compilers. + +2000-10-31 Jean-Marc Lasgouttes + + * src/frontends/xforms/FormDocument.C (class_update): fix setting + of two-sided document. + +2000-10-31 Juergen Vigna + + * src/WorkArea.C (work_area_handler): honor xforms 0.88 defines. + + * src/insets/insettabular.C (ActivateCellInset): passed the wrong + xposition to the Edit call. + +2000-10-31 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): cast explicitly to char. + +2000-10-30 Lars Gullik Bjønnes + + * src/tabular.C (AsciiBottomHLine): simplify? + (AsciiTopHLine): simplify? + (print_n_chars): simplify + (DocBook): remove most of the << endl; we should flush the stream + as seldom as possible. + (Latex): ditto + (TeXBottomHLine): ditto + (TeXTopHLine): ditto + (Write): formatting + (write_attribute): try a templified version. + (set_row_column_number_info): lesson scope of variables + + * src/support/lstrings.h (tostr): new specialization of tostr + + * src/trans.C (AddDeadkey): slightly cleaner fix. + +2000-10-28 Dekel Tsur + + * src/frontends/xforms/Menubar_pimpl.C (add_toc): Replace '%' by + '%%' in Toc menu labels. + (add_toc2): ditto + + * src/insets/insetlatexaccent.C (draw): Correct rendering when + font_norm is iso10646-1. + + * src/font.C (ascent): Fixed for 16bit fonts + (descent,lbearing,rbearing): ditto + +2000-10-30 Angus Leeming + + * src/lyxrc.C.[Ch]: moved LyXRCTags into public part of header file. + (getFeedback): new static method. + + * src/frontends/xforms/FormPreferences.[Ch]: one or two new inputs. + Now use combox rather than choice to display languages. + Feedback is now output using a new timer callback mechanism, identical + to that in Toolbar_pimpl. Individual messages obtained from lyxrc. + +2000-10-30 Jean-Marc Lasgouttes + + * src/minibuffer.C: fix for older compilers + +2000-10-30 Juergen Vigna + + * src/insets/insettext.C (InsertInset): fixed this as the cursor + has to be Left of the inset otherwise LyXText won't find it! + + * src/BufferView2.C (open_new_inset): delete the inset if it can + not be inserted. + +2000-10-30 Rob Lahaye + + * lyx.man: fix typo. + +2000-10-29 Marko Vendelin + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h + * src/frontends/gnome/FormCopyright.C + * src/frontends/gnome/FormCopyright.h + * src/frontends/gnome/FormError.C + * src/frontends/gnome/FormError.h + * src/frontends/gnome/FormIndex.C + * src/frontends/gnome/FormIndex.h + * src/frontends/gnome/FormPrint.C + * src/frontends/gnome/FormPrint.h + * src/frontends/gnome/FormRef.C + * src/frontends/gnome/FormRef.h + * src/frontends/gnome/FormToc.C + * src/frontends/gnome/FormToc.h + * src/frontends/gnome/FormUrl.C + * src/frontends/gnome/FormUrl.h + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h + * src/frontends/gnome/pixbutton.h: replacing NULL with 0 and + changing update() to updateSlot() where appropriate + +2000-10-27 Angus Leeming + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: added a Languagues + tab. + +2000-10-28 Juergen Vigna + + * src/insets/insettabular.C (draw): fixed drawing bug. + + * src/insets/insettext.C (clear): + (Read): + (SetParagraphData): clearing the TEXT buffers when deleting the + paragraphs used by it. + + * src/BufferView_pimpl.C (cursorNext): fixed PageDown problem. + + * src/trans.C (AddDeadkey): fixed bug in inizializing keymap array. + +2000-10-27 Juergen Vigna + + * src/tabular.C (~LyXTabular): removed not needed anymore. + + * src/tabular.h: changed rowofcell and columnofcell to vector + (from Andre). + +2000-10-27 Angus Leeming + + * src/frontends/Dialogs.h: remove hideTabular signal as it is no + longer used. + + * src/frontends/xforms/FormRef.[Ch]: fix bug when setting the min + size. + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: lots and lots! + Reorganised as modules based on tabs. Much easier to follow the + flow and to add new tabs. Added warning and feedback messages. + Added new tabs. + +2000-10-27 Jean-Marc Lasgouttes + + * src/tabular.h (DocBook): add std:: qualifier. + +2000-10-26 José Abílio Matos + + * src/buffer.h (SimpleDocBookOnePar): becomes public and const. + * src/buffer.C (SimpleDocBookOnePar): this method goes const. + + * insettabular.h + * insettabular.C (DocBook): uses the tabular methods to export + docbook + + * src/insets/insettext.h + * src/insets/insettext.C (DocBook): Implemented export for docbooc. + +2000-10-26 Lars Gullik Bjønnes + + * src/frontends/ButtonPolicies.h (operator<<): reinsert for State + and SMInput + + * src/lyxfunc.C (MenuNew): lessen the scope of fname + moved misplaced AllowInput two lines up. + + * src/buffer.C (readFile): compare float with float, not with int + +2000-10-26 Jean-Marc Lasgouttes + + * src/minibuffer.C: add "using SigC::slot" statement. + +2000-10-25 Angus Leeming + + * src/frontends/xforms/forms/README: updated section about make. + + * src/frontends/xforms/forms/form_*.fd: lots and lots of shortcuts. + Tidied some forms up, made two of form_tabular's tabs more + self-consistent, fixed Jean-Marc's size problem in form_preferences, + fixed translation problem with "Column". + +2000-10-25 Lars Gullik Bjønnes + + * src/minibuffer.h: use Timeout instead of the xforms timer + object. + (setTimer) rewrite for the Timeout, change to unsigned arg + (set): change to unsigned timer arg + (TimerCB): remove + + * src/minibuffer.C (TimerCB): removed func + (C_MiniBuffer_TimerCB): removed func + (C_MiniBuffer_ExecutingCB): rewrite to not depend on TimerCB + (peek_event): use a switch statement + (add): don't use fl_add_timer. + (Set): rewrite to use the Timeout + (Init): ditto + + * src/Timeout.[Ch] (setType): return a Timeout & + (setTimeout): ditto, change to unsigned arg for timeout + +2000-10-25 Dekel Tsur + + * src/mathed/formula.C (mathed_string_width): Use string instead + of a constant size char array. + +2000-10-25 Lars Gullik Bjønnes + + * src/frontends/ButtonPolicies.h: remove the LOstream and remove + the two recently added operator<< for SMInput and State. + + * src/frontends/ButtonPolicies.C (PreferencesPolicy): cast + SMI_TOTAL to int. + (OkCancelPolicy): ditto + (OkCancelReadOnlyPolicy): ditto + (NoRepeatedApplyReadOnlyPolicy): ditto + (OkApplyCancelReadOnlyPolicy): ditto + (OkApplyCancelPolicy): ditto + (NoRepeatedApplyPolicy): ditto + +2000-10-25 Jean-Marc Lasgouttes + + * src/frontends/ButtonPolicies.h: include "support/LOstream.h" and + add the usual std:: qualifiers. + +2000-10-25 Juergen Vigna + + * src/screen.C (ShowManualCursor): fixed another uint -> int problem. + +2000-10-25 Lars Gullik Bjønnes + + * src/support/filetools.C (MakeRelPath): change some types to + string::size_type + + * src/frontends/ButtonPolicies.h (operator<<): new operator for + ButtonPolicy::SMInput and ButtonPolicy::State. + + * src/FontLoader.C (reset): small cleanup + (unload): small cleanup + + * src/FontInfo.C (getFontname): initialize error to 10000.0 + +2000-10-24 Angus Leeming + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: added spell checker, + TeX encoding and default paper size sections. + +2000-10-24 Lars Gullik Bjønnes + + * src/frontends/xforms/FormTabularCreate.C: add missing #pragma + implementation + + * src/frontends/xforms/FormError.C (disconnect): use erase() to + make the message_ empty. + (FormError): don't initialize message_ in initializer list. + +2000-10-24 Angus Leeming + + * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. + +2000-10-24 Jean-Marc Lasgouttes + + * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi) + +2000-10-24 John Levon + + * src/frontends/kde/*data.[Ch]: _("") is not + allowed + +2000-10-24 Angus Leeming + + * src/buffer.C: removed redundant using directive. + + * src/frontends/DialogBase.h: revert to original definition of + update(). + + * src/frontends/xforms/Dialogs.C (c-tor): splitting the tabular + stuff into two classes, one for each dialog, requires a new + element in the dialogs vector, FormTabularCreate. + + * src/frontends/xforms/FormXXX.[Ch] (update): revert to original + definition. + + * src/frontends/xforms/FormBase.[Ch] (FormBaseBD::updateSlot): new + method. Continues Allan's idea, but means that derived classes + don't need to worry about "update or hide?". + + * src/frontends/xforms/FormError.C (showInset): add connection + again ;-) + + * src/frontends/xforms/FormTabular.[Ch]: split into two classes, + one for each dialog. FormTabular now contains main tabular dialog + only. + + * src/frontends/xforms/FormTabularCreate.[Ch]: + * src/frontends/xforms/forms/form_tabular_create.fd: the create + dialog. + + * src/frontends/xforms/FormGraphics.[Ch]: + * src/frontends/xforms/forms/form_graphics.fd + * src/frontends/xforms/FormTabular.[Ch]: + * src/frontends/xforms/forms/form_tabular.fd: made daughter + classes of FormInset. + + * src/frontends/xforms/forms/fdfix.sh: small fix. Can now create + class names properly. Eg, form_my_new_dialog -> FormMyNewDialog. + + * src/frontends/xforms/Makefile.am: + * src/frontends/xforms/forms/makefile: added new files. + + * src/insets/insettabular.[Ch]: removed (Dialogs *) member + variable. added Signal0 hide signal, in keeping with other GUI-I + insets. + + * src/support/lstrings.h: removed redundant std:: qualifier as + it's already declared in Lsstream.h. + +2000-10-23 Jean-Marc Lasgouttes + + * src/insets/figinset.C (GhostscriptMsg): use DisplayString() to + open a new display. + (runqueue): ditto. + +2000-10-24 Lars Gullik Bjønnes + + * src/tabular.C (Ascii): minimize scope of cell. + + * src/BufferView2.C (nextWord): return string() instead of 0; + +2000-10-23 Jean-Marc Lasgouttes + + * src/converter.h: add a std:: qualifier + +2000-10-21 Dekel Tsur + + * src/importer.[Ch]: New files. Used for importing files into LyX. + + * src/lyxfunc.C (doImport): Use the new Importer class. + + * src/converter.h: Add shortcut member to the Format class. + Used for holding the menu shortcut. + + * src/converter.C and other files: Made a distinction between + format name and format extension. New formats can be defined using + the \format lyxrc tag. + Added two new converter flags: latex and disable. + +2000-10-20 Jean-Marc Lasgouttes + + * src/support/lyxlib.h: unify namespace/struct implementation. + Remove extra declarations. + + * src/support/chdir.C (chdir): remove version taking char const * + argument. + * src/support/rename.C: ditto. + * src/support/lyxsum.C: ditto. + +2000-10-19 Angus Leeming + + * src/frontends/xforms/FormBase.[Ch]: + * src/frontends/xforms/FormXXX.[Ch] where XXX is a FormBase daughter: + read the xforms manual to discover that fl_set_form_minsize()/maxsize() + work only for the next call to fl_show_form(). The correct place to set + them, therefore is in connect() immediately BEFORE fl_show_form(). Now + done. FormBase also stores minw_, minh_ itself. All dialogs derived + from FormBase have the minimum size set; no more stupid crashes with + tabbed folders etc. + +2000-10-20 Jean-Marc Lasgouttes + + * lib/ui/default.ui: fix shortcut for Insert->Include File. + +2000-10-19 Jean-Marc Lasgouttes + + * lib/CREDITS: add Andre' Poenitz and Kornelia Pietsch + + * src/support/lyxlib.h: changed second argument of mkdir to + unsigned long int (unsigned int would probably have been enough, + but...). Removed header. + * src/support/mkdir.C (mkdir): ditto. + + * NEWS: update. + +2000-10-19 Juergen Vigna + + * src/lyxfunc.C (MenuNew): small fix (form John) + + * src/screen.C (Update): removed unneeded code. + + * src/tabular.C (Ascii): refixed int != uint bug! + + * src/support/lyxlib.h: added sys/types.h include for now permits + compiling, but I don't like this! + +2000-10-18 Juergen Vigna + + * src/text2.C (ClearSelection): if we clear the selection we need + more refresh so set the status apropriately + + * src/insets/insettext.C (draw): hopefully finally fixed draw + problems! + +2000-10-12 Juergen Vigna + + * src/insets/insettext.C (draw): another small fix and make a block + so that variables are localized. + +2000-10-18 Angus Leeming + + * src/support/lstrings.C (lowercase, uppercase): + use explicit casts to remove compiler warnings. + + * src/support/LRegex.C (Impl): + * src/support/StrPool.C (add): + * src/support/filetools.C (MakeAbsPath, NormalizePath, MakeRelPath) + (AddPath, MakeDisplayPath): + * src/support/lstrings.C (prefixIs, subst): + use correct type to remove compiler warnings. + + * src/support/lstrings.[Ch] (countChar): returns string::size_type. + + * src/support/lyxlib.h: + * src/support/mkdir.C (mkdir): change parameter to mode_t for + portability and to remove compiler warning with DEC cxx. + + * src/support/FileInfo.[Ch] (flagRWX): ditto. + +2000-10-18 Jean-Marc Lasgouttes + + * src/minibuffer.C (peek_event): retun 1 when there has been a + mouseclick in the minibuffer. + + * NEWS: updated. + +2000-10-17 John Levon + + * src/frontends/xforms/FormParagraph.C: more space above/below + fixes + +2000-10-17 Dekel Tsur + + * src/lyxfunc.C (Dispatch): Call to showState() after insertion of + a char only if real_current_font was changed. + 2000-10-17 Jean-Marc Lasgouttes - * NEWS: update somehow for 1.1.6 + * NEWS: update somewhat for 1.1.6 * lib/ui/default.ui: clean up. @@ -1399,7 +1934,7 @@ 2000-09-27 Lars Gullik Bjønnes * src/insets/insettext.C (Ascii): return numer of '\n' in the text - outputed to the ostream. + output to the ostream. * several files: fixed types based on warnings from cxx