X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=aba178940a769b8f3cb6df7046e1019d54c404d4;hb=0ea0f3399a0f243750090882bdb7afe03cf058ad;hp=717f3e20a776d8f78b0b5463c645f5a66c012c91;hpb=ea6a5fe92db34116130c64ca0ab72e40df80fe16;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 717f3e20a7..aba178940a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,534 @@ +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 + + * Buffer.[Ch] (readDocument): new name for old readBody. + * Buffer.C: new file format, new keywords: \begin_document, + \begin_header, \begin_body, \end_body. + + * bufferparams.C (readToken): replace all calls to lex.nextToken + by lex.next(). Do the same to eatLine except where really needed. + + * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of + line when writing to the lyx file. + + * output_plaintext.C (asciiParagraph): fix Bibliography style + handling. + + * text.C (read): fix end of file handling. + +2004-08-14 Jean-Marc Lasgouttes + + * MenuBackend.C (Menu::operator[]): new method to access + individual menu items + (Menu::hasFunc): new method. search for an item that corresponds + to a given func + (MenuBackend::specialMenu): new method + (MenuBackend::expand): if a special menu has been set, skip + entries whose func() appears in this menu + +2004-08-14 Lars Gullik Bjonnes + + * text3.C: use Debug::DEBUG a bit more + + * text.C (leftMargin): try to simplify a tiny bit change var x to + l_margin. Dont output the wide margins always. + (rightMargin): no margin in inner texts + + * rowpainter.h (nestMargin): new func + (changebarMargin): new func + (rightMargin): new func + + * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is + now functions. + (paintLast): ditto + + * factory.C (createInset): modify setDrawFrame + + * cursor.C: use Debug::DEBUG a bit more + +2004-08-14 André Pönitz + + * coordcache.[Ch]: + * 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. + +2004-08-14 Lars Gullik Bjonnes + + bug 1096 + * BufferView_pimpl.C (getInsetByCode): move function out of class + and change in to a template in anon namespace. Also fix to do what + suits us better. + +2004-08-13 Lars Gullik Bjonnes + + bug 1305 + * paragraph_funcs.C (moveItem): use Paragraph::value_type instead + of char + (breakParagraph): rename par to par_offset and use a local + reference. Add code to keep the language over a rebreak. + (breakParagraphConservative): rename par to par_offset, use a + local reference + (mergeParagraph): ditto + (outerHook): ditto + (isFirstInSequence): ditto + (outerFont): rename pit to par_offset + + * paragraph.C: ws change + * paragraph.h: ditto + * text3.C: ditto + * text.C: ditto + +2004-08-13 Jean-Marc Lasgouttes + + * paragraph_pimpl.C (simpleTeXSpecialChars): remove special + treatment for ']' + + * paragraph.C (simpleTeXOnePar): when we have a \item with + optional argument, enclose the argument with curly brackets (in + case it contains a closing square bracket) + + * text2.C (editXY): + * text2.C (editXY): + * text3.C (checkInsetHit): constify + +2004-08-13 Jean-Marc Lasgouttes + + * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only + documents (bug 1629) + +2004-08-13 Jean-Marc Lasgouttes + + Fix toggling of collapsable insets with the mouse (bug 1558) + + * lyxfunc.C (dispatch): adapt to LCursor changes + + * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes; + make sure that dispatch is not invoked twice + + * cursor.C (needsUpdate): new method + (dispatch): return void + (result): new method, to access the DispatchResult of the cursor. + +2004-08-13 José Matos + + * tabular.C (docbook): close empty tags in XML. Fix bug 1147. + +2004-08-13 André Pönitz + + * cursor.C (macroModeClose): use plainInsert instead of niceInsert. + + * CutAndPaste.C (eraseSelection): fix cursor position after erasing + multiple cells + +2004-08-12 André Pönitz + + * text3.C: take out the 'cursor right' form insertInset and only + do it in those places when it is really needed. Fixes crash on + C-m... + +2004-08-08 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT + + * BufferView_pimpl.C (setBuffer): initialize the current font of + the underlying LyXText + +2004-08-05 Jean-Marc Lasgouttes + + * kbsequence.C (print): use UI native formatting for menu + shortcuts + + * text.C (insertChar): call Paragraph::insertChar with a font + argument (cosmetic) + + * paragraph.C (insertInset, insertChar): the version that takes a + LyXFont argument is now a wrapper around the other one (the + opposite used to be true). + + * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont + argument. Font setting is done in Paragraph now. + +2004-08-04 Jean-Marc Lasgouttes + + * outputparams.h: add new members intitle and lang. + + * paragraph.C (simpleTeXOnePar): initialize rp.lang and + rp.intitle. Actually use rp in call to simpleTeXSpecialChars + +2004-08-01 Lars Gullik Bjonnes + + * text3.C (dispatch): remove special handling of button 4 and 5, + it is now taken care of in the frontend code. + +2004-07-25 Georg Baum + + * Spacing.h: add (STLPort compile fix) + +2004-08-02 Juergen Spitzmueller + + * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage + +2004-07-25 Lars Gullik Bjonnes + + * lyxlex_pimpl.C (compare_tags): chagne return type of operator() + to bool. + + * converter.C (showMessage): inherit from unary_function, make + operator() const. + + * buffer.C (writeFile): initialize retval + + * InsetList.h: rename private variable list to list_ + * InsetList.[Ch]: adjust accordingly. + +2004-07-24 Lars Gullik Bjonnes + + * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C: + * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C: + * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C: + * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C: + * ParagraphParameters.C, LaTeXFeatures.C: replace + "support/std_sstream.h" with + +2004-07-23 Lars Gullik Bjonnes + + * lyxserver.C (startPipe): use this (pointer) not *this (reference) + * lyxsocket.C (LyXServerSocket): ditto + (serverCallback): ditto + +2004-07-23 Juergen Spitzmueller + + * LaTeXFeatures.C: check release date when loading jurabib. + +2004-07-22 Lars Gullik Bjonnes + + * lyxserver.C (startPipe): call register_socket_callback + (endPipe): call unregister_socket_callback + +2004-07-21 Lars Gullik Bjonnes + + * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3 + (LyXServerSocket): register the callback + (LyXServerSocket): unregister the callback + (fd): delete function + (serverCallback): improve error checking and setup the callbacks. + (dataCallback): change arg to fd. + (writeln): new func (copied fro the client socket) used for server + write to client. + (LyXDataSocket): simplify + (~LyXDataSocket): close ann unregiser callback + (server): delete function + (fd): delete function + (readln): small changes, improve some std::string usage + (writeln): constify a bit + +2004-06-24 Jean-Marc Lasgouttes + + * kbmap.C (find1keybinding): new method, only used by LyX/Mac with + Qt frontend + +2004-07-05 Jean-Marc Lasgouttes + + * BufferView_pimpl.C (setBuffer): set the layout combox value only + after it has been populated + +2004-06-29 Jean-Marc Lasgouttes + + * text2.C (insertInset): move cursor when inserting inset. + +2004-06-30 Jean-Marc Lasgouttes + + * kbmap.C (findbindings): a couple of new methods. returns a + container of kb_sequence objects. The real work is done by the + private recursive version + (printbindings): uses findbindings to print out a bracketed list + of bindings (renamed from findbinding). + + * MenuBackend.C (binding): use kb_keymap::findbindings + + * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings. + +2004-07-01 Georg Baum + + * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix) + +2004-06-29 Jean-Marc Lasgouttes + + * paragraph.C (isWord): return true on insets that report + isLetter(). + + * text.C (getWord): use Paragraph::isWord to decide what is in a + word and what is not; fix bug 1609. + +2004-06-27 Jürgen Spitzmüller + + * tex-strings.C: add "none" to string_paperpackages[], fixes + off-by-one-error in the paperpackage selection. + + * lyxlex.[Ch]: + * tex-strings.[Ch]: char const * string[n] + -> char const * const string[] + +2004-06-10 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the + command, return early. + +2004-06-18 Lars Gullik Bjonnes + + * debug.h: add DEBUG to enum and fix size of ANY. + + * debug.C: add support for Debug::DEBUG + (showTags): cast errorTags.level to unsigned int + + * BufferView_pimpl.C (fitCursor): use Debug::DEBUG + (redoCurrentBuffer): ditto + (updateScrollbar): ditto + * cursor.C (dispatch): ditto + * text2.C (setLayout): ditto + (setFont): ditto + (updateCounters): ditto + (editXY): ditto + (deleteEmptyParagraphMechanism): ditto + +2004-06-09 Lars Gullik Bjonnes + + * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_ + annotations to cleanup the Makefile slightly. + +2004-05-10 Jean-Marc Lasgouttes + + * lyxrc.C: do not set user_email to a default value but use empty + instead. The entry used to be translated, which does not work + since at the point where lyxrc is constructed there is no + translation service available + + * messages.C (getLocaleDir): remove and use directly + lyx_localedir() instead + +2004-06-02 Angus Leeming + + Fix crash caused by dereferencing null pointer 'exportdata' in + OutputParams by creating a new ExportData variable on the heap, + storing it in a boost::shared_ptr. + The crash was triggered when generating an Instant Preview + of an external inset. + + * Makefile.am: add outputparams.C + + * outputparams.[Ch]: store exportdata as a shared_ptr. + (c-tor): allocate memory to it. + + * exporter.C (c-tor): associated changes. + +2004-06-01 Angus Leeming + + * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph + contains data before calling isInset(0). (Bug 1513.) + +2004-06-01 Georg Baum + + * exporter.C (checkOverwrite): new method + * exporter.C (copyFile): new method + * exporter.C (Export): copy referenced files to the document dir + * exporter.[Ch]: new class ExportedFile + * exporter.[Ch]: new class ExportData. Contains currently the + names of referenced external files + * outputparams.h: add exportdata member. + +2004-05-28 Lars Gullik Bjonnes + + * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and + version.C-tmp + +2004-05-19 Angus Leeming + + * LaTeXFeatures.C: + * ToolbarBackend.C: + * bufferparams.C: + * lyxfunc.C: small changes due to the introduction of namespace + lyx::frontend and the moving of namespace biblio to lyx::biblio. + +2004-05-18 Alfredo Braunstein + + * text3.C (dispatch): supress update when only moving the cursor + * cursor.C (selHandle): remove commented code + +2004-05-17 Georg Baum + + * paragraph.C (startTeXParParams): correct column count + * CutAndPaste.C (pasteSelection): remove const_cast + * output_docbook.C (docbookParagraphs): remove const_cast + * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove + const_cast and return ParagraphList::const_iterator + * output_linuxdoc.C (linuxdocParagraphs): remove const_cast + * output_plaintext.C (writeFileAscii): remove const_cast + * paragraph.[Ch] (simpleTeXOnePar): make const + * paragraph_funcs.C (outerPar): use const iterators + * paragraph_pimpl.C (validate): use const iterators + * text.C (setHeightOfRow): use const iterators + +2004-05-17 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_INSET_REFRESH. + + * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop + over all insets and dispatch LFUN_INSET_REFRESH to any citation insets + if the citation engine has changed. + +2004-05-14 José Matos + + * buffer.C (makeDocBookFile): add a default Formal Public Identifier + if the textclass does not provide it. Have it different for sgml and + xml. + support the language of document. + * output_docbook.C (docbookParagraphs): + * paragraph.[Ch] (getDocbookId): new function that gets the id of the + first anchor as the id of the paragraph, remove special case code. + * sgml.C (escapeChar): escape only < & >. + 2004-05-14 Angus Leeming * bufferparams.h: move biblio::CiteEngine enum here to minimize @@ -22,7 +553,7 @@ 2004-05-03 Jean-Marc Lasgouttes - * lyxfunc.C (dispatch): + * lyxfunc.C (dispatch): (getStatus): fix handling of LFUN_SEQUENCE 2004-04-29 Jean-Marc Lasgouttes