]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
A patch from Dekel (macros in RTL mode)
[lyx.git] / ChangeLog
index 73b9697a4932cb3ce0897ad602694a834f274436..718edd956caca946d6462475d11f2b531b702091 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,521 @@
+2000-10-27   Dekel Tsur  <dekelts@tau.ac.il>
+
+       * 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  <jug@sad.it>
+
+       * 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  <stid@acm.org>
+
+       * src/tabular.C (OldFormatRead): set tabular language to the
+       document's one.
+
+2000-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * 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 <a.leeming@ic.ac.uk>
+
+       * 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  <larsbj@lyx.org>
+
+       * 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 <cctype>
+       (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  <larsbj@lyx.org>
+
+       * 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  <larsbj@lyx.org>
+
+       * src/trans.C (AddDeadkey): workaround stupid compilers.
+
+2000-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/FormDocument.C (class_update): fix setting
+       of two-sided document.
+
+2000-10-31  Juergen Vigna  <jug@sad.it>
+
+       * 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  <larsbj@lyx.org>
+
+       * src/trans.C (AddDeadkey): cast explicitly to char.
+
+2000-10-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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  <dekelts@tau.ac.il>
+
+       * 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 <a.leeming@ic.ac.uk>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/minibuffer.C: fix for older compilers
+
+2000-10-30  Juergen Vigna  <jug@sad.it>
+
+       * 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  <lahaye@postech.edu>
+
+       * lyx.man: fix typo.
+
+2000-10-29  Marko Vendelin <markov@ioc.ee>
+       * 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 <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormPreferences.[Ch]:
+       * src/frontends/xforms/forms/form_preferences.fd: added a Languagues
+       tab.
+
+2000-10-28  Juergen Vigna  <jug@sad.it>
+
+       * 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  <jug@sad.it>
+
+       * src/tabular.C (~LyXTabular): removed not needed anymore.
+
+       * src/tabular.h: changed rowofcell and columnofcell to vector<int>
+       (from Andre).
+
+2000-10-27  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/tabular.h (DocBook): add std:: qualifier.
+
+2000-10-26  José Abílio Matos <jamatos@fep.up.pt>
+
+       * 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  <larsbj@lyx.org>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/minibuffer.C: add "using SigC::slot" statement.
+
+2000-10-25  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * 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  <larsbj@lyx.org>
+
+       * 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  <dekelts@tau.ac.il>
+
+       * src/mathed/formula.C (mathed_string_width): Use string instead
+       of a constant size char array.
+
+2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/ButtonPolicies.h: include "support/LOstream.h" and
+       add the usual std:: qualifiers.
+
+2000-10-25  Juergen Vigna  <jug@sad.it>
+
+       * src/screen.C (ShowManualCursor): fixed another uint -> int problem.
+
+2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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 <a.leeming@ic.ac.uk>
+       
+       * 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  <larsbj@lyx.org>
+
+       * 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 <a.leeming@ic.ac.uk>
+       
+       * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. 
+       
+2000-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi)
+
+2000-10-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/*data.[Ch]: _("") is not
+       allowed
+
+2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/figinset.C (GhostscriptMsg): use DisplayString() to
+       open a new display.
+       (runqueue): ditto.
+
+2000-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/tabular.C (Ascii): minimize scope of cell.
+
+       * src/BufferView2.C (nextWord): return string() instead of 0;
+
+2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/converter.h: add a std:: qualifier
+
+2000-10-21  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * 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 <a.leeming@ic.ac.uk>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/ui/default.ui: fix shortcut for Insert->Include File.
+
+2000-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * 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 <sys/types.h> header.
+       * src/support/mkdir.C (mkdir): ditto.
+
+       * NEWS: update.
+
+2000-10-19  Juergen Vigna  <jug@sad.it>
+
+       * 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  <jug@sad.it>
+
+       * 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  <jug@sad.it>
+
+       * src/insets/insettext.C (draw): another small fix and make a block
+       so that variables are localized.
+
+2000-10-18  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
 
        * src/minibuffer.C (peek_event): retun 1 when there has been a
 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * 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