]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
Bugfixes, de.po and sl.po updates, lyxlookup cleanup
[lyx.git] / ChangeLog
index 8554b5110be85ba568686f155ea5024bdb54cce6..37feb4dc7058077214a278e5a591abbc6a27e7c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,553 @@
+2001-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/Toolbar_pimpl.C (BubbleTimerCB): translate
+       the tooltip.
+       (set): ditto.
+
+       * src/spellchecker.C (sigchldhandler): add an #ifndef USE_PSPELL
+       around some ispell code.
+
+       * src/lyxcursor.[Ch]: add proper constructor, to avoid tons of
+       Unitialized Memory Read in purify.
+
+       * lib/examples/nl_splash.lyx: update from Tino Meinen.
+
+2001-01-04  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/frontends/xforms/FormDocument.C (FormDocument::build):
+       Disable class_->choice_doc_class and language_->choice_language to
+       allow using the class/language combox with keyboard.
+
+2001-01-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/snprintf.c (va_copy): only define va_copy if undefined
+
+2001-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/lyxvc.C (showLog): give the tempfile a mask
+
+       * src/lyx_cb.C (AutoSave): five tempfile a mask, enter the failed
+       branch on !rename
+
+       * src/support/filetools.C (IsDirWriteable): give the tempfile a
+       mask and unlink the tempfile after use.
+
+2001-01-04  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (resetPos): an extra scroll, but we
+       really should redo all this scrolling code!
+       (TabularFeatures): unlock the_locking_inset before add/del rows/colums.
+
+       * src/text.C (GetVisibleRow): check that y/h values are good otherwise
+       change them.
+
+       * src/insets/insettabular.C (LocalDispatch): fixes to PASTESELECTION.
+       (pasteSelection): pay attention to multicolumn cells.
+       (calculate_dimensions_of_cells): forgot to reset maxAsc/Desc.
+
+2001-01-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/mathed/math_panel.C (deco_cb): check the decoration index is
+       valid. 
+
+       * src/frontends/xforms/FormPreferences.C (feedback): apply
+       formatting to the translated string, not to the original one.
+       (printWarning): ditto.
+
+       * src/gettext.C (_): translate empty string with empty string.
+
+       * src/frontends/xforms/FormCopyright.C (build): use _() instead of
+       N_(). 
+
+       * NEWS: small update
+
+       * UPGRADING: mention that tabular format has been changed.
+
+2001-01-03  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (InsetButtonPress): look for button==2
+       and do Clipboard Paste!
+
+       * src/insets/insettext.C (SetText): added function.
+
+       * src/insets/insettabular.C (LocalDispatch): Fixed LFUN_PASTE and
+       new LFUN_PASTESELECTION.
+
+       * src/insets/insettext.C (draw): don't clear if top_x changes.
+
+       * src/insets/insettabular.C (draw): clear only if the inset didn't
+       change in the draw routine.
+
+       * src/insets/insettext.C (width): make the width dependant on the
+       textWidth too.
+
+       * src/text.C (draw): comment out the UpdateInset call.
+
+       * src/screen.C (DrawOneRow):
+       (DrawFromTo): check for bv->text->status not text->status.
+
+       * src/insets/insettabular.C (calculate_dimensions_of_cells): calculate
+       dimensions of ascent-descent for the whole row.
+
+       * src/insets/insettext.C (draw): check also for need_update == INIT.
+
+2001-01-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * Makefile.am (EXTRA_DIST): add autogen.sh
+
+2001-01-03  Miyata Shigeru  <miyata@kusm.kyoto-u.ac.jp>
+
+       * development/OS2/quick_fix.patch: 
+       * lib/configure.cmd: update OS/2 support files.
+
+2001-01-02  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (pasteSelection): rewritten correctly.
+
+       * src/tabular.C (TeXTopHLine): 
+       (TeXBottomHLine): fixed Lars new code.
+
+       * src/insets/insettext.C (LocalDispatch): added support for math_greek.
+
+       * src/mathed/math_symbols.C (math_insert_greek): removed current_view
+       from this function and added a BufferView * parameter.
+
+       * src/mathed/math_symbols.C (math_insert_symbol): ditto
+
+2000-12-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/version.h: set to pre3
+
+2000-12-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/Makefile.am (lyx_SOURCES): added Floating.C
+
+       * src/Floating.h: moved all the inlines to Floating.C
+
+       * src/Floating.C: new file
+
+2000-12-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/FormPreferences.C (feedback): fix
+       description of RC_PRINTCOPIESFLAG and RC_PRINTCOLLCOPIESFLAG.
+
+2000-12-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/FileInfo.h: move unistd.h to after sys/types.h and
+       sys/stat.h. 
+
+       * src/support/FileInfo.C: don't include sys/types. and sys/stat.h
+
+       * src/mathed/math_inset.h: move LString.h to be included first
+
+       * src/insets/insetfloat.C: adjust for change in private variable names
+
+       * src/frontends/xforms/xform_helpers.h : don't include config.h
+
+       * src/frontends/xforms/xform_helpers.C: adjust the order of
+       includes, some whitespace changes.
+
+       * src/trans.C (Load): constify filename and res
+
+       * src/text2.C (SetCounter): call Floating::name() 
+
+       * src/screen.C: change to not use owner from WorkArea, but from
+       text instead.
+
+       * src/lyxfunc.C: adjust because of changes in Intl.
+
+       * src/intl.h: make trans a object instead of pointer, inlucd
+       trans_mgr.h in this file.
+       (getTrans): return a reference to TransManager
+
+       * src/intl.C: don't include trans_mgr.h here
+       modify calls to trans to work on object instead of on pointer
+
+       * src/WorkArea.h: add using for Signal1
+       comment out forward decl of BufferView.
+       add signal scrollCB
+       remove class variable owner_ and getter method for this.
+
+       * src/WorkArea.C: don't include BufferView.h
+       (WorkArea): change to not take a BufferView.h, use signals
+       instead.
+       (scroll_cb): emit signal
+
+       * src/LaTeXFeatures.C: include Floatlist.h
+       (getPackages): only load float.sty when needed
+       (getMacros): prepare for outputting the correct code to preamble.
+
+       * src/Floating.h: make all variables private + rename to var_.
+       (Floating): default ctor
+       (Floating): complex ctor to set a complete Floating
+       (type): getter
+       (placement): getter
+       (name): getter
+       (builtin): getter
+
+       * src/FloatList.C (FloatList): use Floating's constructor
+       (begin): new method
+       (end): ditto
+       (newFloat): call type()
+       (defaultPlacement): call placement()
+       (operator): new operator
+
+       * src/BufferView_pimpl.C (Pimpl): modify call to WorkArea
+       (scrollUp): call pimpl's scrollCB
+       (scrollDown): ditto
+       (pasteClipboard): constify clip
+
+       * src/BufferView2.C (insertLyXFile): constify fname, fi and c.
+       (insertErrors): constify desctext, errortext, msgtxt and errorrow
+       (open_new_inset): delete some commented code.
+
+       * src/BufferView.[Ch] (enterView): comment out
+       (leaveView): ditto
+       (scrollCB): ditto
+       (workAreaMotionNotify): ditto
+       (workAreaButtonPress): ditto
+       (doubleClick): ditto
+       (tripleClick): ditto
+       (workAreaButtonRelease): ditto
+       (workAreaExpose): ditto
+
+       * config/lyxinclude.m4 (cross_compiling): small stuff to be able
+       to compile with cvs gcc (2.97).
+
+2000-12-28  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/ui/default.ui: menu structure cleanup.
+
+       * lib/languages: add description of entries.
+
+2000-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/ExternalTemplate.C (readTemplates): change debug
+       messages a bit.
+       (readTemplate): use lyxlex.printError to report read errors.
+       (readFormat): ditto.
+
+       * src/insets/insetexternal.C (Read): suppress debug message when
+       not needed.
+
+2000-12-21  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/insets/insetinclude.C (Ascii): New method. Currently
+       supports only verbatim input.
+
+2000-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/bind/fi_menus.bind: update from Pauli Virtanen.
+
+2000-12-22  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (InsetButtonPress): do nothing if we
+       have a selection and button == 3.
+       (UpdateLocal): if what == INIT clear selection if existent!
+       (InsetButtonPress): don't activate the cell inset on button==3
+       (Edit): ditto
+       (LocalDispatch): move curor up/down if exiting an inset which this
+       keys.
+
+2000-12-20  Juergen Vigna  <jug@sad.it>
+
+       * src/mathed/formula.C (LocalDispatch): return UNDISPATCHED when
+       calling for the math-panel (do not unlock the math-inset if locked)!
+
+       * src/text.C (GetVisibleRow): fixed drawing of depth lines inside
+       text-insets (with x-offset).
+
+       * src/tabular.C (TeXCellPreamble): fixed wrong output of special
+       alignment of multicolumn-cells.
+
+2000-12-19  Juergen Vigna  <jug@sad.it>
+
+       * src/lyxfunc.C (Dispatch): 
+       * src/bufferview_funcs.C (changeDepth): implemented DEPTH functions
+       for insettext.
+
+2000-12-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/WorkArea.C (work_area_handler): simplify the key/keysym
+       handling for XForms 0.89, this might have rendered some cases
+       unusable. I have at least deadkeys, accent-xxx and KP_x working.
+       Please report proplems. 
+
+       * src/lyxfunc.C (processKeySym): make the self-insert handling
+       work as it should
+
+2000-12-18  Baruch Even  <baruch.even@writeme.com>
+
+       * src/LaTeX.C (deplog): fix spelling errors
+       * src/text2.C (CutSelection): ditto
+       * src/lyxfunc.C (Dispatch): ditto
+
+2000-12-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * lib/layouts/stdlayouts.inc: only allow align Center for Caption
+
+       * src/mathed/math_inset.C (MathMatrixInset): initialize v_align
+       and h_align in default init.
+       adjust calls to MathedRowSt
+
+       * src/mathed/math_iter.C: adjust calls to MathedRowSt
+       * src/mathed/math_iter.h (getAD): ditto
+
+       * src/mathed/math_defs.h (class MathedRowSt): remove friends, add
+       methods setBaseline, ascent, descent
+       (class MathMatrixInset): remove method GetAlign, change h_align
+       from char* to string
+
+       * src/lyxfunc.C (processKeySym): discover the correct argument if
+       the action is LFUN_SELFINSERT
+
+2000-12-18  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/mathed/math_cursor.C (Interpret) Suppress a debug message
+       in normal run.
+
+2000-12-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/copy.C: don't include filetools.h
+
+       * lib/images: revert to old banner, drop the cucumber.
+       
+2000-12-12  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/converter.C (Formats::View): Change the current directory to
+       the directory of the file.
+                                                                           
+2000-12-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/kbsequence.C (addkey): also clear sequence and modifiers if
+       length == 0
+
+       * src/BufferView2.C (theLockingInset): return 0 if text is 0
+
+2000-12-17  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * Many files: Fix RTL support for insettext.
+
+2000-12-11  John Levon  <moz@compsoc.man.ac.uk>
+
+       * README: add mention of broken ghostscript versions, remove
+       reference to non-existent BUGS file
+
+2000-12-13  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/support/lstrings.C (compare_no_case): small fix. When passed
+       length, should use it in the size comparison.
+
+2000-12-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/insetexternal.C (getScreenLabel): Return a default
+       value if the template label is empty.
+
+       * src/lyxlookup.C: do not condition on FL_REVISION.
+
+       * forms/sp_form.fd:
+       * src/sp_form.C: fix the font size of some text entries
+
+       * src/frontends/xforms/Menubar_pimpl.C (add_toc): honor separator
+       after TOC when there is no TOC. 
+
+       * src/lyxrc.C (readBindFileIfNeeded): new method. Reads the main
+       bind file if it has not been done yet.
+       (read): remove local bindFile variable. Try to fix the handling of
+       RC_BIND and RC_BINDFILE.
+
+       * src/lyx_main.C (init): use readBindFileIfNeeded().
+
+       * lib/languages: Change description of german to "German (new
+       spelling)".
+
+2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormInset.C (createInset): activate "Ok",
+       "Apply" buttons if arg is non-zero.
+
+       * src/lyxfunc.C (Dispatch): enable citation to be inserted without
+       launching the popup if sufficient info is passed to
+       LFUN_CITATION_CREATE.
+
+2000-11-23  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/lyx_cb.C (MenuInsertLabel): Compute a default value for new
+       labels (disabled in 1.1.6).
+
+       * src/lyxrc.[Ch]: New variable label_init_length
+
+       * mathed/formula.C (LocalDispatch): Preserve the label when
+       changing from display math to eqnarray (however, the label
+       do not appear at the first line, as one might expects, but at the
+       second line).
+       (LocalDispatch): When inserting a label to a formula which already 
+       have a label, the old label is used as default value.
+       Also, if the label is changed, then all references to the label
+       are changed.
+
+       * src/mathed/math_iter.C (setLabel): Allow to set the label
+       even if it is empty. This is needed to allow deletion of a label
+       in an eqnarray.
+
+       * src/BufferView2.C (ChangeRefsIfUnique): New method. Changes the
+       refernces only if the old label appears once in the document.
+
+2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * lib/languages: added ngerman. Patch courtesy of Andreas Gehlert
+       <gehlert@Rcs1.urz.tu-dresden.de>
+
+       * src/frontends/xforms/FormBase.C: comment out debug.h
+
+       * src/frontends/xforms/FormGraphics.[Ch] (browseFile): removed. Reuse
+       code in xform_helpers instead.
+       (d-tor): comment out "delete dialog;" and so prevent a crash on exit.
+
+       * src/frontends/xforms/FormPreferences.C: use AddName() in more places.
+       Use N_(), rather than _() when creating strings to pass to browseFile()
+       because browseFile calls gettext() itself now.
+
+       * src/frontends/xforms/xform_helpers.C (browseFile): call gettext() and
+       display the filename correctly.
+
+2000-12-09  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/converter.C (Move): New method. Used to move file or files
+       from temp dir to the output dir. (this fixes the bug that
+       exporting linuxdoc/docbook document to html would not move all
+       html file from temp directory).
+
+       * src/support/filetools.C (DirList): Fixed.
+
+       * src/lstrings.C (prefixIs): Fixed (how nobody noticed it before??).
+
+2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/converter.C (Add): Remove $$i when setting latex_command.
+
+       * src/text.C (IsBoundary): Return false when pos = 0.
+       
+2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/kbd/hebrew.kmap: Add Hebrew points (nikud).
+
+2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormDocument.C (checkMarginValues): you don't
+       need to empty the fields to turn off use of the geometry package!
+
+2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/lyxparagraph.h, src/paragraph.C (CopyIntoMinibuffer): pass a
+       (Buffer const &), not a (BufferParams const &) and so fix a crash
+       caused by using current_view before it had been initialised. Not
+       the best way to do this, but much easier than changing
+       Inset::Clone(Buffer const &) to Inset::Clone().
+
+       * src/CutAndPaste.C:
+       * src/tabular.C: changed call to CopyIntoMinibuffer().
+
+2000-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/ui/default.ui: put TOC at the beginning of the TOC menu.
+
+       * src/lyxfunc.C (getStatus): disable insertion of floats in a
+       tabular. 
+
+2000-12-06  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormPreferences.C (ScreenFonts::build):
+       changed filter for screen fonts input filter from int to float
+
+       * src/frontends/xforms/input_validators.c: removed.
+       * src/frontends/xforms/input_validators.C: new file. Can now call C++
+       functions from within the filter functions.
+
+       * src/frontends/xforms/input_validators.[Ch]
+       (fl_unsigned_float_filter): new filter function.
+
+       * src/frontends/xforms/forms/fdfixc.sed: I defy gettext to get
+       confused now! And if you think I'm going to do this in
+       ./forms/fdfix.sh with its "sed -e" declarations, then think again!
+                          
+2000-12-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/buffer.C (asciiParagraph): small NEW_INSETS fix from Levon
+
+       * src/WorkArea.C (work_area_handler): don't handle button requests
+       if xbutton.button == 0
+
+2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/layouts/lyxmacros.inc: do not use \verbatim@font in lyxcode.
+       It creates a lot of interesting problems.
+
+2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/Menubar_pimpl.C (openByName): check that
+       the menu exists in the current menubar before opening it.
+
+       * src/MenuBackend.C (hasSubmenu): new method. 
+
+       * src/frontends/xforms/Menubar_pimpl.C: fix problem with bogus
+       action value by offsetting actions by a large constant (so that
+       bogs choice result will be less than this constant).
+
+       * lib/bind/fi_menus.bind: more cleanup to menus.
+       * lib/bind/sciword.bind: ditto.
+       * lib/bind/xemacs.bind: ditto.
+       * lib/bind/emacs.bind: ditto.
+       * lib/bind/pt_menus.bind: ditto.
+       * lib/bind/hu_menus.bind: ditto.
+
+       * src/gettext.h (locale_init): set locale LC_NUMERIC to "C".
+
+       * INSTALL: update PROBLEMS section.
+
+       * src/lyxlookup.h: remove condition on xforms version, since we
+       should not include it if not appropriate.
+
+2000-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/LColor.C: "latex text" -> "latex inset" (from
+       Angus Leeming)
+
+       * src/lyxrc.C: "it's" -> "its" (from Angus Leeming)
+
+       * src/frontends/kde/FormTabularCreate.C:
+       * src/frontends/kde/citationdlg.C:
+       * src/frontends/kde/copyrightdlg.C:
+       * src/frontends/kde/paradlg.C:
+       * src/frontends/kde/paraextradlg.C:
+       * src/frontends/kde/parageneraldlg.C:
+       * src/frontends/kde/printdlg.C:
+       * src/frontends/kde/refdlg.C:
+       * src/frontends/kde/tabcreatedlg.C:
+       * src/frontends/kde/tocdlg.C:
+       * src/frontends/kde/urldlg.C: add necessary headers
+       (from Angus Leeming)
+
+       * src/frontends/kde/dlg/emptytable.C:
+       * src/frontends/kde/dlg/tabstack.C: ctors shouldn't have
+       default parameters (from Angus Leeming)
+               
+       * src/frontends/kde/dlg/moc/.cvsignore:
+       * src/frontends/kde/dlg/.cvsignore:
+       * src/frontends/kde/moc/.cvsignore: fix the library name
+       (from Angus Leeming)
+
+       * src/frontends/kde/paradlg.C:
+       * src/frontends/kde/parageneraldlg.C:
+       * src/frontends/kde/dlg/para.dlg:
+       * src/frontends/kde/dlg/paradlgdata.C: added accelerators
+
+       * src/frontends/kde/dlg/README: clarified qtarch version
+
+       * src/frontends/kde/dlg/Makefile.am: removed the
+       dlg rules as they created spontaneous rebuilds
+       (not a good idea as it requires qtarch)
+
 2000-12-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * config/lyxinclude.m4 (LYX_PATH_XFORMS): display also the