]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
some small stuff before the meeting begins for real
[lyx.git] / ChangeLog
index 95558284ab24fd86435aedbc7a8a5b2e399a20ab..963766124e6f23f00e2d1da8ef525172de749a77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,551 @@
+2000-06-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/LSubstring.C (operator): simplify
+
+       * src/lyxtext.h: removed bparams, use buffer_->params instead
+       
+       * src/lyxrow.h: make Row a real class, move all variables to
+       private and use accessors.
+
+       * src/lyxparagraph.h (getParLanguage): add BufferParamas as
+       arguament.
+       (isRightToLeftPar): ditto
+       (ChangeLanguage): ditto
+       (isMultiLingual): ditto
+       (String): ditto
+       (TeXOnePar): ditto
+       (SimpleTeXOnePar): ditto
+       (TeXEnvironment): ditto
+       (GetEndLabel): ditto
+       (SetLayout): ditto
+       (SetOnlyLayout): ditto
+       (BreakParagraph): ditto
+       (BreakParagraphConservative): ditto
+       (GetFontSettings): ditto
+       (getFont): ditto
+       (CopyIntoMinibuffer): ditto
+       (CutIntoMinibuffer): ditto
+       (PasteParagraph): ditto
+       (SetPExtraType): ditto
+       (UnsetPExtraType): ditto
+       (DocBookContTableRows): ditto
+       (SimpleDocBookOneTablePar): ditto
+       (TeXDeeper): ditto
+       (TeXFootnote): ditto
+       (SimpleTeXOneTablePar): ditto
+       (TeXContTableRows): ditto
+       (SimpleTeXSpecialChars): ditto
+       
+
+       * src/lyxcursor.h: make LyXCursor a real class, move all variables
+       to private and use accessors.
+
+       * src/lyx_cb.C: remove char updatetimer, and all code that uses
+       this, we did not use it anymore and has not been for ages. Just a
+       waste of cpu cycles.
+
+       * src/language.h: make Language a real class, move all variables
+       to private and use accessors.
+
+       * src/BufferView_pimpl.C (Pimpl): use new timer code.
+       (create_view): remove
+       (update): some changes for new timer
+       (cursorToggle): use new timer
+       (beforeChange): change for new timer
+
+       * src/BufferView.h (cursorToggleCB): removed last paramter because
+       of new timer code. 
+
+       * src/BufferView.C (C_BufferView_CursorToggleCB): removed 
+       (cursorToggleCB): change because of new timer code
+
+       * lib/CREDITS: updated own mailaddress
+
+2000-06-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/support/filetools.C (PutEnv): fix the code in case neither
+       putenv() nor setenv() have been found.
+
+       * INSTALL: mention the install-strip Makefile target.
+
+       * src/LyXAction.C (init): make LFUN_BUILDPROG available in
+       read-only documents.
+
+2000-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/reLyX/configure.in (VERSION): avoid using a previously
+       generated reLyX wrapper to find out $prefix.
+
+       * lib/examples/eu_adibide_lyx-atua.lyx: 
+       * lib/examples/eu_adibide_gordina.lyx: new examples for the Basque
+       translation of the Tutorial (Dooteo)
+
+2000-06-06  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * forms/cite.fd: new citation dialog
+
+       * src/insetcite.[Ch]: the new citation dialog is moved into
+       its own files.
+
+       * src/insetbib.C: InsetBibtex::getKeys() uses STL containers
+       (Dekel).
+
+       * src/insets/insetcommand.h: data members made private. 
+
+2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * LyX 1.1.5 released
+
+2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/version.h (LYX_RELEASE): to 1.1.5
+
+       * src/spellchecker.C (RunSpellChecker): return false if the
+       spellchecker dies upon creation.
+
+2000-06-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/reLyX/reLyXmain.pl, lib/reLyX/LastLyX.pm: fix suffix of file
+       in \include{} (from Tomasz Motylewski <motyl@stan.chemie.unibas.ch>) 
+       
+       * NEWS: update.
+
+       * lib/CREDITS: update entry for Martin Vermeer.
+
+2000-06-06  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/text.C (draw): Draw foreign language bars at the bottom of
+       the row instead of at the baseline.
+
+       * lib/examples/Minipage.lyx: Use the new multi-lingual support.
+
+2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * lib/bind/de_menus.bind: updated
+
+2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * forms/lyx.fd: Correct gravity for objects in form_toc and form_ref
+
+2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/menus.C (Limit_string_length): New function
+       (ShowTocMenu): Limit the number of items/length of items in the
+       LOT/LOF/LOA menus.
+
+       * src/paragraph.C (String): Correct result for a paragraph inside
+       a footnote.
+
+2000-06-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/bufferlist.C (close): test of buf->getuser() == NULL
+
+2000-06-02  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/BufferView2.C (removeAutoInsets): Fix a bug: 
+       Do not call to SetCursor when the paragraph is a closed footnote!
+
+2000-06-01  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/insets/insetlabel.C (Edit): Mark buffer as dirty when a
+       label is changed.
+
+       * src/text.C (SetCursor): Made the computation of cursor_vpos safer.
+
+2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * forms/lyx.fd
+       * src/lyx_cb.C (RefSelectCB): Added "Go Back" button in the insert
+       reference popup, that activates the reference-back action
+
+       * src/menus.C (ShowRefsMenu): Added "Go Back" menu item.
+
+       * src/menus.C (Add_to_refs_menu): Limit the size of each item in
+       the menus. Also fixed a bug.
+
+       * src/lyx_cb.C (updateAllVisibleBufferRelatedPopups): Do not close 
+       the math panels when switching buffers (unless new buffer is readonly).
+
+       * src/BufferView.C (NoSavedPositions)
+       * src/BufferView_pimpl.C (NoSavedPositions): New methods
+
+2000-06-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/lyx_cb.C (MakeLaTeXOutput): we run MakeLaTeXOutput regard
+       less of dvi dirty or not.
+
+       * src/trans_mgr.[Ch] (insert): change first parameter to string
+       const &.  
+
+       * src/chset.[Ch] (encodeString): add const to first parameter
+
+2000-05-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/lyxstring.C (begin): fix a "shared" string bug. use
+       rep->get_own_copy()
+       (end): ditto
+
+       * src/LaTeX.C (deplog): better searching for dependency files in
+       the latex log. Uses now regexps.
+
+       * lib/layouts/stdlists.inc (lyxlist): fix the label to use \hfil
+       instead of the box hack or \hfill. 
+
+2000-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxfunc.C (doImportHelper): do not create the file before
+       doing the actual import. 
+       (doImportASCIIasLines): create a new file before doing the insert.
+       (doImportASCIIasParagraphs): ditto.
+
+       * lib/lyxrc.example: remove mention of non-existing commands
+
+       * lyx.man: remove mention of color-related switches.
+
+       * src/lyxrc.C: remove RC_SELECTIONCOLOR and RC_BACKGROUNDCOLOR. 
+
+       * src/lyx_gui.C: remove all the color-related ressources, which
+       are not used anymore.
+
+       * src/lyx_gui_misc.C (WarnReadonly): use MakeDisplayPath on file
+       name. 
+
+2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyxrc.C (read): Add a missing break in the switch
+
+2000-05-30 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/text2.C (InsertStringA): Fix a bug with insertion into table
+       
+       * src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
+       text is Hebrew.
+                             
+2000-05-27  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/text.C (draw): draw bars under foreign language words.
+       
+       * src/LColor.[Ch]: add LColor::language
+                            
+2000-05-27 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyxcursor.h (boundary): New member variable
+
+       * src/text.C (IsBoundary): New methods
+
+       * src/text.C: Use the above for currect cursor movement when there
+       is both RTL & LTR text.
+       
+       * src/text2.C: ditto
+       
+       * src/bufferview_funcs.C (ToggleAndShow): ditto
+
+2000-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/text.C (DeleteLineForward): set selection to true to avoid
+       that DeleteEmptyParagraphMechanism does some magic. This is how it
+       is done in all other functions, and seems reasonable.
+       (DeleteWordForward): do not jump over non-word stuff, since
+       CursorRightOneWord() already does it.
+       
+       Remove the CHECK tag from DeleteLineForward, DeleteWordForward and
+       DeleteWordBackward, since they seem safe to me (since selection is
+       set to "true") DeleteEmptyParagraphMechanism does nothing.
+
+2000-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyx_main.C (easyParse): simplify the code by factoring the
+       part that removes parameters from the command line.
+       (LyX): check wether wrong command line options have been given.
+
+2000-05-29  Lior Silberman <slior@math.huji.ac.il>
+
+       * src/lyx_main.C : add support for specifying user LyX
+       directory via command line option -userdir.
+
+2000-05-26 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/menus.C (Add_to_toc_menu): Limit the number of popups, and
+       the number of items per popup.
+       (Add_to_refs_menu): Ditto.
+       
+2000-05-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxparagraph.h: renamed ClearParagraph() to
+       StripLeadingSpaces() and moved it to paragraph.C. We pass the
+       textclass as parameter, and do nothing if free_spacing is
+       true. This fixes part of the line-delete-forward problems.
+
+       * src/CutAndPaste.C (cutSelection): use StripLeadingSpaces.
+       (pasteSelection): ditto.
+       (SwitchLayoutsBetweenClasses): more translatable strings.
+
+       * src/text2.C (CutSelection): use StripLeadingSpaces.
+       (PasteSelection): ditto.
+       (DeleteEmptyParagraphMechanism): ditto.
+
+2000-05-26  Juergen Vigna  <jug@sad.it>
+
+       * src/TabularLayout.C (TabularOptionsCB): removed delete-table as this
+       is not needed in tabular insets.
+
+       * src/insets/insettabular.C (TabularFeatures): added missing features.
+
+       * src/tabular.C (DeleteColumn):
+       (AppendColumn): 
+       (AppendRow): implemented this functions
+       (cellsturct::operator=): clone the inset too; 
+
+2000-05-23  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (LocalDispatch): better selection support
+       when having multicolumn-cells.
+
+2000-05-26  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
+
+       * lib/layouts/linuxdoc.layout: fix indentation of paragraphs.
+
+2000-05-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/ColorHandler.C (getGCForeground): put more test into _()
+
+       * lib/examples/eu_splash.lyx: new file (Basque translation) from
+       Dooteo. 
+
+       * config/lyxinclude.m4 (LYX_PROG_CXX): use ${CXX} and not g++ to
+       get the version.
+
+2000-05-25 Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyx_cb.C (RefUpdateCB): disable appropriate buttons when
+       there are no labels, or when buffer is readonly.
+
+       * src/menus.C (ShowRefsMenu) disable appropriate menu items when
+       there are no labels, buffer is SGML, or when buffer is readonly.
+
+2000-05-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/LColor.C (LColor): change a couple of grey40 to grey60
+       (LColor): rewore initalization to make compiles go some magnitude
+       faster.
+       (getGUIName): don't use gettext until we need the string.
+
+2000-05-09  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/Bullet.[Ch]: Fixed a small bug.
+
+2000-05-21  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/paragraph.C (String): Several fixes/improvements
+
+       * src/insets/insetbib.[Ch] (InsetCitation::Ascii) New method
+
+2000-05-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/paragraph.C (String): give more correct output.
+
+2000-05-20  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyxfont.C (stateText) Do not output the language if it is
+       eqaul to the language of the document.
+
+       * src/paragraph.C (TeXOnePar): Do not put language switch commands
+       between two paragraphs with the same language.
+
+       * src/paragraph.C (getParLanguage) Return a correct answer for an
+       empty dummy paragraph.
+
+       * src/menus.C (ShowTocMenu): Do not draw lines between LOF/LOT/LOA
+       menus.
+
+       * src/menus.C (ShowLayoutMenu) Add "Start of Appendix" item to the
+       layout menu.
+
+       * src/lyx_gui.C (init): Try to use helvetica (or fixed) fonts for
+       the menus/popup, if requested fonts are unavailable.
+
+2000-05-22  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (LocalDispatch): added some more cursor
+       movement support (Up/Down/Tab/Shift-Tab).
+       (LocalDispatch): added also preliminari cursor-selection.
+
+       * src/LyXAction.C (init): added SHIFT-Tab as tab-backward.
+
+       * src/paragraph.C (PasteParagraph): Hopefully now right!
+
+2000-05-22  Garst R. Reese  <reese@isn.net>
+
+       * layouts/hollywood.layout, broadway.layout : move Dialogue to top
+        of list, change all references to Environment to Command
+       * tex/hollywood.cls : rewrite environments as commands, add 
+       \uppercase to interiorshot and exteriorshot to force uppecase.
+       * tex/broadway.cls : rewrite environments as commands. Tweak
+       whitespace.
+
+2000-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/menus.C (Add_to_toc_menu): fix the code which limits the
+       size of items: use a constant intead of the hardcoded 40, and more
+       importantly do not remove the %m and %x tags added at the end.
+       (Add_to_refs_menu): use vector::size_type instead of
+       unsigned int as basic types for the variables. _Please_ do not
+       assume that size_t is equal to unsigned int. On an alpha, this is
+       unsigned long, which is _not_ the same.
+
+       * src/language.C (initL): remove language "hungarian", since it
+       seems that "magyar" is better.
+
+2000-05-22  Juergen Vigna  <jug@sad.it>
+
+       * src/CutAndPaste.C: hopefully fixed memory the problem defenitively!
+
+       * src/tabular.C (OldFormatRead): added \end_deeper to the end LyXTable
+       end markers!
+
+       * src/paragraph.C (PasteParagraph): Possibly a memory leak as
+       next was deleted but not set to 0.
+
+2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/language.C (initL): change the initialization of languages
+       so that compiles goes _fast_.
+
+       * src/menus.C (Add_to_toc_menu): limit the line length in TOC to
+       40 chars.
+
+       * src/lyxfunc.C (processKeyEvent): initalize keysym_return to 0.
+
+2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * release 1.1.5pre3
+
+2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/WorkArea.C (request_clipboard_cb): give "C" linkage.
+
+2000-05-19  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/commandtags.h
+       * src/LyXAction.C
+       * src/lyxfunc.C (Dispatch): Added LFUN_LOFVIEW, LFUN_LOTVIEW
+       and LFUN_LOAVIEW
+       
+       * src/insets/insetlo*.[Ch]: Made editable
+
+2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/text2.C (SetSelection): call BufferView::stuffClipboard with
+       the current selection.
+
+       * src/BufferView_pimpl.C (stuffClipboard): new method
+
+       * src/BufferView.C (stuffClipboard): new method
+
+       * src/paragraph.C (String): new method
+
+       * src/LColor.C (getFromLyXName): return LColor::inherit instead of
+       LColor::ignore when lyxname is not found.
+
+       * src/BufferView.C (pasteSelection): new method
+
+       * src/BufferView_pimpl.C (pasteSelection): new method
+
+       * src/lyxfunc.C (Dispatch): use the new clipboard functions.
+
+       * src/WorkArea.C (request_clipboard_cb): new static function
+       (getClipboard): new method
+       (putClipboard): new method
+
+2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * LyX 1.1.5pre2 released
+
+2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/vspace.C (operator=): removed
+       (operator=): removed
+
+       * src/lyx_gui_misc.C (askForText): manually set the type in make_pair
+
+       * src/layout.C (NumberOfClass): manually set the type in make_pair
+       (NumberOfLayout): ditto
+
+       * src/language.C: use the Language constructor for ignore_lang
+
+       * src/language.h: add constructors to struct Language
+
+       * src/BufferView_pimpl.C (scrollDown): change to pair<float, float>
+
+       * src/text2.C (SetCursorIntern): comment out #warning
+
+       * src/mathed/math_symbols.C (pixmapFromBitmapData): add const_cast
+
+       * src/mathed/math_iter.h: initialize sx and sw to 0
+
+2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * forms/lyx.fd: Redesign of form_ref
+
+       * src/LaTeXFeatures.[Ch]
+       * src/buffer.C
+       * src/lyx_cb.C
+       * src/menus.C   
+       * src/insets/insetref.[Ch]: Added support for varioref and prettyref.
+
+       * src/buffer.h
+       * src/lyxparagraph.h: Added new classes: LyXParagraph::inset_iterator
+       and Buffer::inset_iterator.
+
+       * src/menus.C: Added new menus: TOC and Refs.
+
+       * src/insets/insetlabel.C (Edit) Made InsetLabel editable.
+
+       * src/buffer.C (getTocList): New method.
+
+       * src/BufferView2.C (ChangeRefs): New method.
+
+       * src/buffer.C (getLabelList): New method. It replaces the old
+       getReferenceList. The return type is vector<string> instead of 
+       string.
+
+       * src/insets/insetinclude.C (getLabelList): New method. Replaces
+       the old getLabel() and GetNumberOfLabels() methods.
+       * src/insets/insetlabel.C (getLabelList): ditto
+       * src/mathed/formula.C (getLabelList): ditto
+       
+       * src/paragraph.C (String): New method.
+
+       * src/lyx_cb.C (TocSelectCB,TocUpdateCB): Rewritten.
+       Uses the new getTocList() method. 
+       TocSelectCB() now calls to TocUpdateCB() before moving the cursor, 
+       which automatically updates the contents of the browser.
+       (RefUpdateCB): Use the new getLabelList method.
+
+       * src/lyxfunc.C (Dispatch): Give an error if the label is not found.
+       
+       * src/BufferView2.C (gotoLabel) Use the new getLabelList method.
+
+       * src/spellchecker.C: Added using std::reverse;
+
+2000-05-19  Juergen Vigna  <jug@sad.it>
+
+       * src/tabular.C (Validate): fixed/added validating of LaTeXFeatures.
+
+       * src/insets/insettext.C (computeTextRows): small fix for display of
+       1 character after a newline.
+
+       * src/tabular.C (OldFormatRead): fixed the OldFormatRead with regard
+       to cont-rows!
+
+2000-05-18  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (TabularFeatures): fixed update of display
+       when changing width of column.
+
+       * src/tabular.C (set_row_column_number_info): setting of
+       autobreak rows if necessary.
+
 2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * src/lyxvc.C (toggleReadOnly): use VCS::status() instead of stat()