X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=4995fc3697a24d95a65c16e9a1b06239be681a1a;hb=10ba1b8918e7da14334bb5573ce2a707671c8b51;hp=555b745518c4a6afab0e60a81d9c8e6a3cf96109;hpb=edbef46cd7865dab72ab6b503d62e2492479d297;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 555b745518..4995fc3697 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,8 +1,610 @@ +2004-11-24 Alfredo Braunstein + + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: + * FontIterator.C: + * buffer.C: + * cursor.C: + * cursor_slice.[Ch]: + * dociterator.[Ch]: + * lyxfind.C: + * paragraph_funcs.C: + * pariterator.C: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: + * undo.C: par->pit renaming + + +2004-11-23 Lars Gullik Bjonnes + + * tabular.C (cellstruct): use initialization, store a shared_ptr + to insettext instead of the insettext directly, adjust to fit. + (operator=): new function + (swap): new function + (rowstruct): use initialization + (columnstruct): use initialization + (ltType): use initialization + + + * lyxlength.h (swap): new function + + * LColor.[Ch] (operator=): use the common semantics + +2004-11-22 Jean-Marc Lasgouttes + + * lyxfind.C (findNextChange): update the bufferview after setting + the selection + +2004-11-16 Jean-Marc Lasgouttes + + * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max + number of InsetOptArgs has already been inserted. + + * output_latex.C (latexOptArgInsets): new method. This outputs all + the optarg insets, up to the limit defined in the layout file. + (optArgInset): removed + (TeXOnePar): call latexOptArgInsets; correctly update texrow + +2004-11-16 Jean-Marc Lasgouttes + + * paragraph.C (isLetter): remove special spellchecker-related + code; return true also for digits + (isWord, isKomma): remove + + * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): + * lyxfind.C (MatchString()): use isLetter instead of isWord + +2004-11-17 Lars Gullik Bjonnes + + * pariterator.h (operatir=): comment out un-implemented member + function. + + * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a + static cast. + +2004-11-17 Lars Gullik Bjonnes + + * lyxfont.h: include LColor.h to satisfy concept checks. + +2004-11-16 Lars Gullik Bjonnes + + * pariterator.h: add typdefs for value_type, difference_type, + pointer and reference to satisfy concept checks. Also add default + constructor for same reason. + + * pariterator.C (operator++): add post-increment operator to + satisfy concept checks. + + * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept + checks. + + * RowList_fwd.h: include lyxrow.h to satisfy concept checks. + + * ParagraphList_fwd.h: include paragraph.h to satisfy concept + checks. Also rename base_type to BaseType to follow naming + standard better. + + * FloatList.h: include Floating.h to satisfy concept checks. + +2004-11-15 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): when the origin of the request is menu or + toolbar, and the LyXView does not have focus, do as if there was + no buffer (bug 1720) + + * lyxfunc.C (getStatus, dispatch): propagate the origin of a + FuncRequest to individual entries of LFUN_SEQUENCE + +2004-11-10 Jean-Marc Lasgouttes + + * output_latex.C (TeXOnePar): override runparams.moving_arg + according to the needprotect value of the current paragraph (bug + 1739) + + * paragraph.C (simpleTeXOnePar): no need to override + runparams.moving_args here + +2004-11-14 John Spray + + * vspace.C: fix off-by-one-error, related to fix #1682 + +2004-11-11 Jürgen Spitzmüller + + * lengthcommon.C: a more general fix for bug 1682 + +2004-11-11 Alfredo Braunstein + + * text.C (backspace): fix crash + +2004-11-09 Georg Baum + + * format.[Ch] (getFormatFromFile): new method + * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/ + +2004-11-09 Jean-Marc Lasgouttes + + * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682) + +2004-11-05 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): remove the verbose argument + (sendDispatchMessage): ditto. Use the origin of the FuncRequest + instead + + * kbmap.C (defkey): set the origin of func to KEYBOARD + + * MenuBackend.C (MenuItem): + * ToolbarBackend.C (add): set the origin of func to UI + + * funcrequest.[Ch]: add origin member, which indicates which part + of LyX requests an action + +2004-11-07 Georg Baum + + * converter.C (move): don't lie in the error message + * converter.h (isReachable, move): document + +2004-11-07 Lars Gullik Bjonnes + + * buffer.C: remove unused using lyx::support::atoi + * paragraph_funcs.C: ditto + +2004-11-06 Lars Gullik Bjonnes + + * bufferlist.C (exists): use bind and equal_to instead of + compare_memfun + (getBuffer): ditto + * lyxtextclasslist.C (NumberOfClass): ditto + + * cursor.C (insert): use for_each instead of explicit for loop + + * bufferlist.C (getFileNames): use std::transform and + std::back_inserter instead of std::copy and lyx::back_inserter_fun. + + * buffer_funcs.C (bufferErrors): use for_each instead of explicit + for loop + + * buffer.C (changeLanguage): use for_each instead of explicit for + loop + (hasParWithID): implement using getParFromID + + * LaTeXFeatures.C: ws change only + + * CutAndPaste.C (replaceSelectionWithString): Use a temporary var + to cleanup a bit. + + * BufferView_pimpl.C (trackChanges): use for_each instead of + expilicit for loop + +2004-11-04 André Pönitz + + * undo.h: + * undo.C (textUndoOrRedo): fix crash when creating undo information. + + * dociterator.C (asDocIterator): use hard assert again. + +2004-11-04 Jean-Marc Lasgouttes + + * lyxlength.C (asLatexString): rewrite so that it does not use + snprintf anymore + +2004-11-02 Jean-Marc Lasgouttes + + * text3.C (specialChar, dispatch): make sure cursor moves to the + right after inserting an inset + +2004-11-02 José Matos + + * output_docbook.C (docbook): + * paragraph.C (getID): + * sgml.[Ch] (openTag, cleanID): escape characters inside ids to + garantee that the output is always legal. + + * tabular.C (docbook): + * outputprams.[Ch]: remove mixed contents. + +2004-11-01 Georg Baum + + * text2.C (setCounter): prevent endless loop + +2004-11-01 Georg Baum + + * exporter.C (copyFile): use the mover instead of support::copy() + * exporter.C (Export): pass format and latex name to copyFile() + * exporter.h (addExternalFile): document + * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments + +2004-10-31 Jürgen Spitzmüller + + * text.C (leftMargin): do not indent paragraphs in charstyle insets. + +2004-10-30 José Matos + + * paragraph.[Ch] (onlyText): Checks if the paragraph contains only + text and no inset or font change. This allows to use CDATA + sections just for the whole paragraph. + +2004-10-30 José Matos + + * paragraph.C (getFirstWord): remove unused variable. + +2004-10-30 José Matos + + * paragraph.C (getFirstWord): the content should always be escaped + there. + (simpleDocBookOnePar): + * output_docbook.C (makeEnvironment): replace reference to CDATA + to style pass_thru. + +2004-10-30 José Matos + + * paragraph.C (simpleDocBookOnePar): fix reference to CDATA. + +2004-10-30 José Matos + + * output_docbook.C (makeParagraphs): + * paragraph.[Ch] (emptyTag): for docbook and company, if the + standard paragraph has only a given type of content drop the wrapper. + +2004-10-29 José Matos + + * output_docbook.C (makeEnvironment): + * sgml.C (openTag): + * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...". + +2004-10-29 Andreas Vox + + * sgml.[Ch] (uniqueID): returns a unique id for a given label. + (cleanID): sanitize any id. + +2004-10-29 Georg Baum + + * buffer.C, lyxlex_pimpl.C: + * lyxlex_pimpl.C (setFile): + s/getExtFromContents/getFormatFromContents/ + +2004-10-28 José Matos + + * output_docbook.C (makeEnvironment): move id to broadest possible + scope. + + * sgml.C (openTag): apply substitution of <> for all attributes. + +2004-10-28 José Matos + + * buffer.C (makeLinuxDocFile, makeDocBookFile): + * output_docbook.C (makeParagraph, makeEnvironment, makeCommand): + * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag. + + * sgml.[Ch]: new version for open and closeTag for paragraph and + for strings. Now they handle the ids of paragraphs. + +2004-10-26 Angus Leeming + + * Makefile.am: add mover.[Ch]. + + * converter.C (convert, move): use the new Movers to move external + files to the temp directory. + + * lyx_main.C (init): ensure that the global system_movers data + is initialised. + + * lyxrc.[Ch]: code to read and write 'copiers' from/to the + preferences file. + + * mover.[Ch]: new files, defining a Mover as a utility to move an + external file between directories and, if necessary, manipulate this + file using a helper script. + +2004-10-25 José Matos + + * output_docbook.C (makeCommand): merge two if's that tested the + same condition. + +2004-10-25 Jean-Marc Lasgouttes + + * sgml.C (escapeString): fix warning in a better way + +2004-10-25 José Matos + + * sgml.C (escapeString): import the require boosts header file for + tie, and avoid a signed unsigned comparison. + +2004-10-25 José Matos + + * sgml.h: add #include + +2004-10-25 José Matos + + * sgml.[Ch] (escapeString): new function to escape all the string. + +2004-10-24 José Matos + + * paragraph.[Ch] (getFirstWord): new function to get the first + word. Useful for description. + (simpleDocBookOnePar): remove depth argument, add another that + says where to start the paragraph. + + * output_docbook.C (makeParagraph, makeEnvironment, makeCommand): + use the new functions to fix cleanly the support for descriptions. + +2004-10-24 José Matos + + * buffer.C (makeLinuxDocFile, makeDocBookFile): + * output_docbook.C (makeParagraph, makeEnvironment, makeCommand): + * output_linuxdoc.C (linuxdocParagraphs): + * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and + add buffer as argument. + +2004-10-24 José Matos + + * output_docbook.C (makeEnvironment, searchEnvironment): place + CDATA inside paragraphs and fix scope for listitems. + +2004-10-24 José Matos + + * output_docbook.C: remove using statement for stack. + +2004-10-23 José Matos + + * buffer.C (makeDocBookFile): reorganize the comments about lyx. + * output_docbook.[Ch]: new functions to encapsulate the way lyx exports + docbook. The new scheme is recursive and makes use of iterators, the + same as latex export works. + * paragraph.C (simpleDocBookOnePar): removed coud that does not deal + directly with the paragraph contents. This code was moved up to + output_docbook.C (docbookParagraphs). + * sgml.C (openTag, closeTag): removed unneeded newlines. + (closeEnvTags) removed. + +2004-10-23 André Pönitz + + * undo.C (textUndoOrRedo): + * dociterator.C (asDocIterator): work around crash + + * cursor.C (getStatus): replace ASSERT by more verbose error message + and manual correction of the problem. Should increase stability + while providing more sensible information. + +2004-10-18 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER + + * bufferlist.C (previous, next): new methods + + * lfuns.h: + * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER + +2004-10-18 Andreas Vox + + * buffer.C (makeDocBookFile): add dsssl stylesheet control + entities to preamble. + +2004-10-18 Georg Baum + + * messages.C (Pimpl): strip off translation context information + +2004-10-14 Jean-Marc Lasgouttes + + * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure + the cursor is correct (bug 1694) + +2004-10-13 José Matos + + * output_docbook.C (docbookParagraphs): fix closing tags in the + end of the document. + +2004-10-09 José Matos + + * buffer.C: format up to 237. + * bufferparams.C (write): use tostr to convert booleans to strings. + +2004-10-08 Martin Vermeer + + * lyxrc.C: add to tooltip about using xindy to prefs (xforms) + +2004-10-07 Martin Vermeer + + * LaTeX.C: implement use of babel language in xindy. + +2004-10-05 José Matos + + * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods. + Add new translators to help reading and writing the lyx file. + +2004-10-05 José Matos + + * ParagraphParameters.C (read): + * text.C (readParToken): replace nexToken by more appropriate lex + methods. + +2004-10-05 Hartmut Haase + + * LaTeX.C (runMakeIndex): + * lyxrc.[Ch] (read, write, getDescription): make the indexing command + (usually 'makeindex') configurable. + + * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles' + with a variable rather than with a number. + +2004-09-27 Jean-Marc Lasgouttes + + * output_latex.C (TeXOnePar): make sure font setting is the first + thing that gets output (and the last at the end). Should fix bug + 1404. + +2004-09-26 Lars Gullik Bjonnes + + * pch.h: use proper signal include + + * LaTeX.h: Use preferred calling of Boost.Signal + * buffer.h: ditto + +2004-09-26 Lars Gullik Bjonnes + + * pch.h: dont include + + * Makefile.am (lyx_SOURCES): remove ShareContainer.h + + * paragraph_pimpl.h: remove usage of ShareContainer + + * paragraph_pimpl.C: remove initialization of ShareContainer. + +2004-09-16 Jean-Marc Lasgouttes + + Fix bug #1666 + + * BufferView.C (putSelectionAt): change the semantics when + backwards == true: now, this just swaps cursor and anchor wrt the + forward case + + * BufferView.h (putSelectionAt): add some documentation + + * lyxfind.C (findBackwards): rewrite using while(). In particular, + make sure backwardChar is done at least once (to avoid getting + stuck) + (findNextChange): use putSelectionAt in the forward direction + (operator()): use Paragraph::isWord + +2004-09-16 Lars Gullik Bjonnes + + * Spacing.C (set): c_str fix + +2004-09-09 Jean-Marc Lasgouttes + + * lyx_cb.C (Reconfigure): quote the name of configure script in + case it contains spaces + +2004-09-04 Lars Gullik Bjonnes + + * client: new dir + + * Makefile.am (SUBDIRS): change order of subdirs and add client dir + (BOOST_LIBS): use top_buildir when looking for the file + +2004-08-30 Lars Gullik Bjonnes + + * pch.h: do not use include boost/format.hpp, multiple symbols + will result (gcc bug) + + +2004-08-23 José Matos + + * bufferparams.C (readToken): fix reading of the author field. + +2004-08-20 José Matos + + * lyxrc.C: remove support/translator.h inclusion since it is not used. + +2004-08-20 José Matos + + * lyxlex.[Ch] (findToken): remove function. + + * ParagraphParameters.C (findToken): + * bufferparams.C (findToken): replace call for previous function + with local copy. This local function has one more argument, the + read string argument. + +2004-08-16 José Matos + + * ParagraphParameters.C (write): + * Spacing.C (writeFile): + * bufferparams.C (writeLaTeX): + * lyx_cb.C (Reconfigure): + * paragraph.C (write): + * tabular.C (write): remove unnecessary space at end of line. + + +2004-08-16 José Matos + + * text.C (readParagraph): remove debug message. + +2004-08-16 Jean-Marc Lasgouttes + + * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix + crash + + * output_plaintext.C (asciiParagraph): set depth correctly + + * outputparams.h: add member depth + + * paragraph_funcs.C (ownerPar): remove. + + * text2.C (setCounter): remove first_pit; comment out some + non-working code that uses ownerPar + + * BufferView.C (getParentLanguage): remove. Not used anymore, and + uses ownerPar + +2004-08-16 José Matos + + * text.C (readParToken, readParagraph, read): report all unknown tokens. + For the same level of importance use the same chanel to report problems. + (read): add code to deal with \begin_body and \end_body. + + +2004-08-15 José Matos + + * lyxlex.C (getString): fix comment, buffer::readBody is now + buffer:readDocument. + + * tex-strings.C (string_papersize): Default -> default, + Custom -> custom, for consistency with other options. + +2004-08-15 Lars Gullik Bjonnes + + * pch.h: new file + + * Makefile.am: support pch + +2004-08-15 Jean-Marc Lasgouttes + + * text.C (readParToken): remove the static LyXFont variable and + pass it as a parameter instead. This fixes a nasty bug where an + inset will be inserted with a bad font in some situations + (readParagraph): adapt + + * text2.C (setCounter): reduce number of calls to pars_[pit] + + * text.C (singleWidth): add an assert, fix a test + + * rowpainter.C (paintText): reduce number of calls to singleWidth + + * paragraph.C (isHfill): + (isNewline): ws only + +2004-08-14 André Pönitz + + * text.C: + * text2.C: + * rowpainter.C: + * lyxtext.h (several functions): use a Paragraph & argument + instead of par_type + +2004-08-15 Jean-Marc Lasgouttes + + * metricsinfo.h: add a new field ltr_pos to PainterInfo + + * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos + + * text.C (singleWidth): remove useless test + +2004-08-14 Jean-Marc Lasgouttes + + * tabular.h: remove bogus comments + + * tabular.C (getDescentOfRow): + (isPartOfMultiColumn): add assertions + + * lyxlength.C (inPixels): remove #warning 2004-08-14 André Pönitz * paragraph.h: inline getChar() - + * BufferView.h: remove unused declarations 2004-08-14 José Matos @@ -58,7 +660,7 @@ * Makefile.am: new files to accomodate an 'external' (x,y)-position cache for all insets in (at least partially) visible (top-level) paragraphs. - + * BufferView_pimpl.C: reset external coord cache before every update. This means the coord cache only contains valid entries.