]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
changeCase fix
[lyx.git] / src / ChangeLog
index cfae23e97435714b5bbfc283270402bf37f3fed0..96f2b35dcde66c5551e66871f691cb887d74074f 100644 (file)
@@ -1,3 +1,430 @@
+2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxcursor.h (operator<): new func
+       (operator>): new func
+       (operator>=): new func
+       (operator<=): new func
+
+       * text.C (changeCase): use selection.start and selection.end
+       (changeRegionCase): require from to be <= to. Require par to be a
+       valid paragraph.
+
+       * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
+
+2001-06-27  Juergen Vigna  <jug@sad.it>
+
+       * text.C (cursorLeftOneWord): changed to return the cursor and added
+       overlay with BufferView * parameter which calls this one.
+       (getWord): added
+       (selectWord): use new getWord function.
+       (changeCase): renamed from changeWordCase as and extended to work
+       also on selections.
+
+       * lyxtext.h: added enum word_location
+
+       * BufferView_pimpl.C (Dispatch): change function changeWordCase to
+       changeCase as this operates now also on selections.
+
+2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
+
+       * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
+
+       * many files: send debug output to Debug::INFO instead of
+       Debug::ANY. 
+
+       * converter.C (View): 
+       (Convert): 
+       (Move): send debug output to Debug::FILES instead of console.
+
+2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
+
+       * lyxfunc.C (getStatus): use func_status
+
+       * func_status.h: new header, describing the results of
+       LyXFunc::getStatus;
+
+       * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
+       LFUN_MATH_HALIGN.
+
+2001-06-25  The LyX Project  <jug@sad.it>
+
+       * buffer.C (sgmlOpenTag):
+       (sgmlCloseTag):
+       (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
+
+2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C: remove some dead code
+
+       * tabular.C (GetCellInset): store the last cell checked (gotten)
+
+       * tabular.h: add the helper for the speedup
+
+       * lyxtext.h: remove some dead code
+
+2001-06-26  The LyX Project  <Asger>
+
+       * paragraph.C: Change export to LaTeX of alignment to
+       \begin{center} and family for better roundtrip work with reLyX.
+
+       * Tune the math drawing a bit.
+
+2001-06-25  The LyX Project  <Asger>
+
+       * LColor.C (LColor): New color for math background. New color
+       for buttons.
+
+2001-06-25  The LyX Project  <jug@sad.it>
+
+       * lyxfunc.C (MenuNew): remove extra check for .lyx file
+
+       * lyxfunc.C (Open): 
+       * bufferlist.C (newFile): do not restrict to files ending with
+       .lyx
+
+       * BufferView_pimpl.C (MenuInsertLyXFile): 
+
+2001-06-24  The LyX Project  <jug@sad.it>
+
+       * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
+       of compare_no_case
+
+2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxtext.h: rename most methods to begin with a small char.
+       Lots of changes because of this.
+
+       * paragraph.C (Paragraph): do not call fitToSize
+       (erase): call Pimpl::erase
+       (insertChar): call Pimpl::insertChar
+       (insertInset): call Pipl::insertInset
+       (breakParagraph): do not call fitToSize
+       (breakParagraphConservative): do not call fitToSize
+       (fitToSize): remove method
+
+       * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
+
+2001-06-24  The LyX Project  <Asger>
+
+       * Fix Qt compilation^2
+
+2001-06-24  The LyX Project  <jug@sad.it>
+
+       * paragraph.[Ch] (outerHook): new method. mostly equivalent to
+       depthHook(getDepth()-1).
+
+       * paragraph.h: 
+       * ParagraphParameters.h: 
+       * ParameterStruct.h: change type of depth to unsigned int ==
+       depth_type. Many adaptations to other files before of that.
+
+2001-06-24  The LyX Project  <Asger>
+
+       * Fix Qt compilation.
+
+2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.h: renamed several methods to begin with small letter.
+       several changes to many parts of the code because of this.
+
+2001-06-23  The LyX Project  <jug@sad.it>
+
+       * text2.C (InsertStringAsLines): renamed from InsertStringA;
+       rewritten to discard all double spaces when KeepEmpty is off
+       (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
+       to only handle newlines but not fiddle with spaces and friends.
+
+       * lyxfunc.C (MenuNew): when doing 'new from template', use
+       template_path as default directory
+
+2001-06-23  The LyX Project  <Asger>
+
+       * Clean-up of header file includes all over
+       * paragraph.h: Move some of the stuff into paragraph_pimpl.h
+       
+2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.h: renamed from lyxparagraph.h
+
+2001-06-23  Asger  <lyx@violet.home.sad.it>
+
+       * Buffer.h: Removed Buffer::resize
+       * BufferList.h: Removed BufferList::resize
+       * LyXView.h: Added LyXView::resize. This way, we will only reflow 
+       the document lazily when we change the width, or the font settings.
+
+2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfunc.C: silently ignore empty dispatches from the minibuffer
+
+2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
+
+       * buffer.h: remove out of date comment
+
+2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxscreen.h:
+       * screen.C: fix "theoretical" GC leak
+2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * LaTeX.C (scanAuxFile):
+       (deplog): remove trailing \r when reading stream (useful under
+       win32)  
+
+2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
+       (resizeCurrentBuffer): have functions BufferView::theLockingInset()
+       and BufferView::theLockingInset(Inset*), so should use them and not
+       access bv_->text->the_locking_inset directly.
+
+       * lyxfunc.C (Dispatch): cosmetic name change of three signals.
+
+2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am:
+       * tex-defs.h: remove old unused file
+        
+2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: fix typo, remove minibuffer message
+         when buffer has loaded
+
+2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxfunc.C (Dispatch): use stringstream
+       (MenuNew): use stringstream
+       (Open): use stringstream
+
+       * importer.C (Import): use stringstream
+
+       * bufferview_funcs.C (CurrentState): use stringstream
+
+       * LaTeX.C (run): use stringstream
+
+       * BufferView_pimpl.C (savePosition): use stringstream
+       (restorePosition): use stringstream
+       (MenuInsertLyXFile): use stringstream
+
+2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * BufferView.C:
+       * Bullet.C:
+       * ColorHandler.C:
+       * FontInfo.C:
+       * FontLoader.C:
+       * LColor.C:
+       * LaTeXFeatures.C:
+       * Painter.C:
+       * gettext.C:
+       * lyx_gui_misc.C:
+       * lyxserver.C:
+       * vspace.C: removed // -*- C++ -*- as first line.
+
+       * lyxfind.h:
+       * version.h: added // -*- C++ -*- as first line.
+
+2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
+
+       * text2.C (SetSelectionOverString): do not test str[i]==0 for end
+       of string
+
+2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (parseSingleLyXformat2Token): fix compatability reading
+       of floats.
+
+2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * gettext.C: include LString.h even when --disable-nls is on. 
+
+2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * converter.h (Get): changed argument type from int to
+       FormatList::size_type to avoid unnecessary conversion.
+
+       * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
+       before using it.
+
+2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * gettext.h: include LString.h even when --disable-nls is on. 
+
+2001-06-07  Juergen Vigna  <jug@sad.it>
+
+       * text.C (BreakAgain): subst spaces with tabs.
+
+       * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
+       (resizeInsetsLyXText): set force on resizeLyXText.
+
+2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * gettext.h (gettext_init): 
+       (locale_init): use a real definition instead of a macro
+
+2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Bufferview_pimpl.C:
+       * LColor.h:
+       * LColor.C: further lcolor tidies
+
+2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * BufferView_pimpl.C (updateScrollbar): simplify.
+
+       * BufferView2.C: don't include insets/insetinfo.h, change
+       prototype for insertInset and call the Pimpl version. let
+       updateInset call Pimpl version.
+
+       * BufferView.h: move inset_slept to BufferView::Pimpl, move
+       gotoInset to BufferView::Pimpl
+
+2001-06-01  Juergen Vigna  <jug@sad.it>
+
+       * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
+       inside a LockingInset (is the update needed at all?).
+
+2001-05-31  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
+       here not the old one otherwise how should we compare it afterwards
+       if it's the same!
+
+2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfont.C: 
+       * tabular.C:
+       * tabular-old.C: 
+       * FontInfo.C: bring C functions into global namespace when
+       necessary
+
+2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * LString.h: make sure config.h has been loaded before LString.h.
+
+       * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
+       (one for each char read by EatLine!).
+
+       * lyx_main.C (init): constify lyxdir. Lowercase the name of some
+       variables. 
+
+2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C (BreakParagraph): set the inset_owner in the new par
+       to the same as the par we break from
+
+2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * commandtags.h: add LFUN_INSET_WIDE_FLOAT
+
+       * MenuBackend.C (expand): also create menu entries for wide
+       versions of the floats.
+
+       * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
+
+       * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
+
+       * Makefile.am (lyx_DEPENDENCIES): adjust for change in
+       frontends/Makefile.am
+
+       * text2.C: adjust
+       * text.C: adjust
+       
+
+       * tabular.C (getTokenValue): add std::
+
+       * tabular-old.C (getTokenValue): add std::
+       (getTokenValue): ditto
+       (getTokenValue): ditto
+
+       * screen.C (ToggleSelection): adjust
+
+       * lyxtext.h: put selection cursors inside a Selection struct.
+
+       * lyxfunc.C (moveCursorUpdate): adjust
+
+       * lyxfont.C (latexWriteStartChanges): add std::
+
+       * lyxfind.C: adjust
+
+       * font.h: delete with(char const *, LyXFont const &)
+
+       * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
+
+       * FontInfo.C (getFontname): add std::
+
+       * BufferView_pimpl.C (resizeCurrentBuffer): adjust
+       (workAreaButtonPress): adjust
+       (tripleClick): adjust
+       (update): adjust
+       (moveCursorUpdate): adjust
+       (Dispatch): adjust
+
+       * BufferView2.C (gotoInset): adjust
+
+2001-05-30  Juergen Vigna  <jug@sad.it>
+
+       * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
+       to check pspell I add this as default as I now have new pspell
+       libraries and they seem to use this.
+
+2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C (CutSelection): make the cursor valid before the call to
+       ClearSelection.
+
+2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * kbsequence.C (parse): de-uglify a bit the parsing code, which
+       relied on 0 terminated strings and other horrors. Bug found due to
+       the new assert in lyxstring!
+
+       * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
+       KP_ keys.
+
+2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
+       to latinkeys.bind.
+
+       * lyxfunc.C (processKeySym): change method of getting to the
+       self-insert char.
+
+       * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
+       menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
+       * BufferView_pimpl.[Ch]: here as private methods.
+
+2001-05-28  Juergen Vigna  <jug@sad.it>
+
+       * text.C (SetHeightOfRow): added the update() call again as it is
+       needed to initialize inset dimensions!
+
+2001-05-16  Juergen Vigna  <jug@sad.it>
+
+       * text2.C (SetCharFont): Add new function with BufferView * and
+       bool toggleall parameters for setting insets internal fonts.
+       (SetFont): Freeze the undo as we may change fonts in Insets and
+       all this change should be inside only one Undo!
+
+       * bufferview_funcs.C (ToggleAndShow): fixed this functions for
+       setting font's in insets as for them we have the SetFont function!
+
+2001-05-15  Juergen Vigna  <jug@sad.it>
+
+       * text2.C (ClearSelection): to be sure we REALLY don't have any
+       selection anymore!
+
+       * tabular.C (TeXCellPreamble): fixed the left border problem for
+       multicolumn cells.
+
+2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * LaTeX.C (deplog): Make sure that the main .tex file is in the
+       dependancy file
+
 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * lyx_main.C (defaultKeyBindings): set KP_enter to point at