X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=59ece2c11fbd40caf9d80dbdb8aa9fd77129af52;hb=d473dff41766665868f7e802181acbbbfb076657;hp=7b5e490f13f18ed0022da767b5f3da7f4e07d906;hpb=26b1ba3a9b8094e92ff01b88371ccefa93d23733;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 7b5e490f13..59ece2c11f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,717 @@ + +2004-04-05 André Pönitz + + * cursor.[Ch] (valign, halign...): remove unneeded functions + +2004-04-05 Angus Leeming + + * lyxlength.[Ch] (unit_name et al.): const-correct. + +2004-04-05 Angus Leeming + + * BufferView_pimpl.C: + * buffer.C: + * counters.C: + * cursor.C: + * lyxfunc.C + * paragraph.C: + * pariterator.C: + * text.C: + * text2.C: + * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks. + +2004-04-01 Alfredo Braunstein + + * text3.C (getStatus): add LFUN_BEGINNINGBUF + +2004-04-01 Alfredo Braunstein + + * lyxfind.C: add a couple of inTexted() tests + other small fixes + * BufferView_pimpl.[Ch] (getStatus) + * BufferView.[Ch] (getStatus): add + * lyxfunc.C (getStatus): move lfuns handled in + BufferView::dispatch to te function above + * Cursor.C (setSelection): set selection() = true + +2004-04-01 Alfredo Braunstein + + * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE} + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): Fall through to the generic + Dialogs::show("preamble"). + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): Fall through to the generic + Dialogs::show("spellchecker"). + +2004-03-31 Angus Leeming + + * lyxfunc.C (getStatus, dispatch): changed invocation of the + preferences dialog. + +2004-03-31 Alfredo Braunstein + + * BufferView.C + * cursor.[Ch] + * dociterator.[Ch]: + * insetiterator.[Ch]: + * lyxfind.C: + * lyxfunc.C: + * pariterator.[Ch]: + * text2.C: + * undo.[Ch]: s/DocumentIterator/DocIterator/g + +2004-03-31 Alfredo Braunstein + + * BufferView.C (setCursor, putSelectionAt): call edit to open the + insets where we are putting the cursor. + +2004-03-31 Angus Leeming + + * lfuns.h: + * LyXAction.C: new lfun LFUN_LYXRC_APPLY. + + * lyxrc.[Ch] (read, write): overloaded member functions taking + a std::[io]stream arguments. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY. + +2004-03-31 Angus Leeming + + * lyxfunc.C (loadTextclass): new helper function, invoked by two of + dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD. + + * lyxtextclass.C (load): if the text class couldn't be loaded, then + don't overwrite 'loaded_ = false' with 'loaded_ = true' ! + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): remove the cursor-manipulation code from + the LFUN_ALL_INSETS_TOGGLE code. + +2004-03-30 Angus Leeming + + * lyxfunc.C (dispatch): the specialization Dialogs::showDocument + has died. Fall through to the generic Dialogs::show("document"). + +2004-03-30 Angus Leeming + + * lfuns.h: + * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY, + LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY. + + * lyxfunc.C (getStatus, dispatch): define the actions for these + lfuns. Little more than a cut and pste job from ControlDocument.C + + * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_. + +2004-03-30 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE, + LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE. + + * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the + open/closed state of ollapsable insets. Usage: + + all-inset-toggle , where + == "open" || "closed" || "toggle" and + is an identifier for a 'type' of inset. Eg "branch", "ert",... + + * lyxtext.h, text2.C (toggleInset): removed. + + * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two, + LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE + now passes LFUN_INSET_TOGGLE to the found inset. + + * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality + is now invoked as "all-insets-toggle toggle branch". + +2004-03-30 Angus Leeming + + * dociterator.C: + * insetiterator.C: + * pariterator.[Ch]: added/corrected header blurb. + +2004-03-30 Alfredo Braunstein + + * dociterator.[Ch]: add an inset_ member + (backwardPos): implemented + (backwardPos, forwardPos): use inset_ when the stack is empty. + (doc_iterator_begin, doc_iterator_end): implemented + * pariterator.[Ch]: adjust, add begin, end + * insetiterator.[Ch]: adjust, add begin, end + * cursor.C: + * document.C: + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: adjust + +2004-03-29 Jürgen Spitzmüller + + * buffer.C: increment file format to 232. + * LaTeXFeatures.C: add bibtopic package. + * bufferparams.[Ch]: param \use_bibtopic. + + * lyxrc.[Ch]: add lyxrc bibtex_command + * LaTeX.C: use rc.bibtex_command instead of hardcoded string. + + * buffer.C: increment file format to 231. + +2004-03-28 Alfredo Braunstein + + * dociterator.C: implement forwardPar + * iterators.[Ch]: remove, replaced by + * pariterator.[Ch]: this. derive ParIterator from DocumentIterator + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: + * buffer.C: + * bufferview_funcs.C: + * cursor.C: + * lyxfind.C + * lyxfunc.C + * paragraph_funcs.C + * toc.C: + * Makefile.am: adjust + +2004-03-28 Alfredo Braunstein + + * CutAndPaste.C (pasteSelection): fix 2 crashes + (eraseSelection): fix a crash + * paragraph_funcs.C: remove a warning + +2004-03-28 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_PRINT. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT. + +2004-03-27 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_EXPORT_CUSTOM. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM. + +2004-03-27 Angus Leeming + + * paragraph_funcs.C (moveItem): fix memory leaks, ensure that + insetlist always contains non-null pointers to insets. + +2004-03-26 Angus Leeming + + * src/BufferView_pimpl.C: + * src/CutAndPaste.C: + * src/buffer.C: + * src/iterators.C: + * src/output_plaintext.C: + * src/outputparams.h: + * src/paragraph_funcs.C: + * src/rowpainter.C: + * src/text.C: + * src/text2.C: + * src/frontends/controllers/ControlErrorList.C: + * src/frontends/gtk/FileDialogPrivate.C: + * src/frontends/gtk/GPainter.C: + * src/frontends/gtk/GToolbar.C: + * src/frontends/qt2/QRef.C: + * src/mathed/math_scriptinset.C: squash compiler warnings. + +2004-03-26 Angus Leeming + + * ispell.C (LaunchIspell::start): + * lyx_cb.C (AutoSaveBuffer::start): + invoke run(DontWait) rather than runNonBlocking(). + +2004-03-26 Alfredo Braunstein + + * buffer_funcs.C (readFile): add cancel button to two prompt dialogs + +2004-03-26 Jean-Marc Lasgouttes + + * kbsequence.C (print): adjust + + * kbmap.C (printKeySym): rename and change signature + (printKey): use LyXKeySym::print() + +2004-03-26 Martin Vermeer + + * undo.C: add using std::advance to compile for stlport + +2004-03-24 Angus Leeming + + * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as + it leads to a crash when no buffer is present. + +2004-03-25 Jean-Marc Lasgouttes + Martin Vermeer + + * lyxfunc.C (dispatch): + * bufferparams.C (readToken): use the new LColor::setColor + + * LColor.[Ch] (setColor): new version that takes two strings as + argument and creates a new color entry if necessary + +2003-02-12 Jean-Marc Lasgouttes + + * buffer.C (makeLaTeXFile): if the main latex file that is + processed is usually a subdocument of some master, then pretend + for a while that it is actually the master + +2003-02-10 Jean-Marc Lasgouttes + + * buffer.C (getLabelList): + (getBibkeyList): use getMasterBuffer() + (getMasterBuffer): new method. Returns the main document in the + case where one is using included documents. + +2004-03-25 André Pönitz + + * Makefile.am: + * iterators.[Ch]: + * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator + + * ParagraphList_fwd.h: change ParagraphList to a std::vector + + * CutAndPaste.[Ch]: simpler interface by moving some stuff from + text*.C over here. Rename namespace CutAndPaste to lyx::cap + + * ParameterStruct.h: merge with ParagraphParameters + + * lyxtext.h: remove LyXText::parOffset() and getPar() + + * text3.C: Remove all 'manual' update calls. We do now one per user + interaction which is completely sufficient. + + * Bidi.C: + * BufferView.[Ch]: + * BufferView_pimpl.C: + * FontIterator.[Ch]: + * MenuBackend.C: + * ParagraphParameters.[Ch]: + * buffer.C: + * buffer.h: + * bufferlist.C: + * cursor.[Ch]: + * cursor_slice.[Ch]: + * dociterator.[Ch]: + * errorlist.[Ch]: + * factory.C: + * lfuns.h: + * lyxfind.C: + * lyxfunc.C: + * output_docbook.[Ch]: + * output_latex.[Ch]: + * output_linuxdoc.[Ch]: + * output_plaintext.[Ch]: + * paragraph.[Ch]: + * paragraph_funcs.[Ch]: + * paragraph_pimpl.[Ch]: + * rowpainter.C: + * tabular.[Ch]: + * text.C: + * text2.C: + * toc.C: + * undo.[Ch]: adjust + + * frontends/controllers/ControlDocument.C: + * frontends/controllers/ControlErrorList.C: + * frontends/controllers/ControlSpellchecker.C: + * insets/inset.C: + * insets/inset.h: + * insets/insetbase.h: + * insets/insetbibitem.C: + * insets/insetbox.C: + * insets/insetbranch.C: + * insets/insetcaption.C: + * insets/insetcharstyle.C: + * insets/insetcharstyle.h: + * insets/insetcollapsable.C: + * insets/insetcollapsable.h: + * insets/insetert.C: + * insets/insetfloat.C: + * insets/insetfoot.C: + * insets/insetmarginal.C: + * insets/insetnote.C: + * insets/insetoptarg.C: + * insets/insettabular.C: + * insets/insettext.C: + * insets/insettext.h: + * insets/insetwrap.C: + * mathed/math_mboxinset.C: + * mathed/math_nestinset.C: + * mathed/math_scriptinset.C: + * mathed/math_scriptinset.h: + * support/types.h: + +2004-03-24 Angus Leeming + + * BufferView_pimpl.C (cursorToggle): use the cursor toggle to + deal with any child processes that have finished but are waiting to + communicate this fact to the rest of LyX. + +2004-03-24 Angus Leeming + + 64-bit compile fixes. + + * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type. + (c-tor): pass lyx::pos_types rather than ints. + + * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as + lyx::pos_type. + + * text.C (Delete): compile fix. + (getPar): ensure that function declaration is the same as that in + the header file. + +2004-03-23 Angus Leeming + + * ispell.C (LaunchIspell): + * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return + a boost::shred_ptr rather than a std::auto_ptr. + +2004-03-22 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): handle read-only buffers correctly; + handle LFUN_FILE_INSERT_* + + * lyxrc.C (setDefaults, getDescription, output, read): + * lyxrc.h: remove ps_command + +2004-03-22 Angus Leeming + + * lyx_main.C (error_handler, init): remove handler for SIGPIPE. + Ensure that error_handler is processed once only and that all data + is saved before attempting to output any warning messages. + + * cursor.[Ch] (nopos_, noPos): remove unused member variable/function. + +2004-03-21 Alfredo Braunstein + + * tabular.C (TeXRow): crash fix (from Kayvan and André) + +2004-03-19 André Pönitz + + * cursor.[Ch] (reset): take main text inset as argument + + * BufferView: adjust + * BufferView_pimpl.C: adjust + + * paragraph.[Ch]: fix completely broken operator=() + +2004-03-16 Jean-Marc Lasgouttes + + * LColor.C (getFromLyXName): make sure that the color name is used + as lowercase. + +2004-03-17 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): remove LFUN_FORKS_KILL. + + * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks + dialog and to kill a forked process. + +2004-03-17 Alfredo Braunstein + + * text2.C (setCursorFromCoordinates): fix font problem + +2004-03-17 Alfredo Braunstein + + * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and + bogus "rebuild cursor" code + +2004-03-11 André Pönitz + + * buffer.[Ch]: use InsetText instead of LyXText as container for + the main lyx text. + + * dociterator.[Ch]: drop the BufferView * member which is not needed + anymore after the change to buffer.C + + * paragraph_funcs.C: + * text.C: + * text2.C: + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * cursor.[Ch]: + * cursor_slice.[Ch]: adjust + + * text3.C: fix bug in mathDispatch + +2004-03-08 André Pönitz + + * undo.[Ch]: use 'StableDocumentIterator' as base for + the Undo struct. + +2004-03-07 Jürgen Spitzmüller + + * LaTeXFeatures.C: + * bufferparams.[Ch]: add jurabib support and param. + + * LaTeX.C: add FIXME/comment. + +2004-03-05 Jürgen Spitzmüller + + * buffer.C: increment file format to 230. + +2004-03-04 Alfredo Braunstein + + * cursor.C (dispatch): avoid infinite loops + +2004-03-01 Alfredo Braunstein + + * rowpainter.C (paintSelection): fix x coordinates + +2004-03-01 Alfredo Braunstein + + * text.C (rowBreakPoint): fix breaking before displayed insets + +2004-03-01 André Pönitz + + * dociterator.[Ch]: new class for the 'iterator part' of LCursor. + + * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery + + * Makefile.am: + * BufferView.C: + * BufferView_pimpl.C: + * buffer.C: + * lyxfind.C: + * lyxfunc.C: + * text.C: + * text2.C: + * text3.C: adjust + +2004-03-01 Alfredo Braunstein + + * lyxtext.h: + * text.C: + * text2.C: + * rowpainter.C: + * BufferView_pimpl.C: rename textwidth -> maxwidth, + prepareToPrint -> computeRowMetrics and remove textWidth accessor. + +2004-03-01 Alfredo Braunstein + + * Bidi.[Ch] (computeTables): const correctness + * lyxrow.[Ch]: add RowMetrics class, move there fill_separator, + fill_hfill, fill_label_hfill and x from Row + * lyxtext.h: prepareToPrint returns a RowMetrics + * rowPainter.C: adjust + * text.C (prepareToPrint): use width, not textWidth. adjust + (redoParagraphInternal, cursorX): adjust + * text2.C (getColumnNearX): adjust + (init): put a default value to the top LyXText::width + +2004-03-01 Alfredo Braunstein + + * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here + +2004-03-01 Alfredo Braunstein + + * lyxtext.h: add FontIterator class + + * text.C (FontIterator, operator*, operator->, operator++): add + (rowBreakPoint, setRowWidth): adjust (fixing a + rebreaking bug) + +2004-02-25 Jean-Marc Lasgouttes + + * BufferView_pimpl.C (workAreaDispatch): allow also + LFUN_FILE_OPEN, which is used by the drag-and-drop code. + +2004-02-27 Alfredo Braunstein + + * text.C (rowBreakPoint): fix a bug showing with very large insets + +2004-02-25 André Pönitz + + * text3.C: + * cursor.[Ch]: move some mathed specific code to mathed + +2004-02-21 Georg Baum + + * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore + use_tempdir in preferences + * buffer.C (readFile), lyxvc.C (getLogFile): check success of + tempfile creation + * lyx_main.C: ensure that tempdir is valid + * lyxlex.h: correct typo + * buffer.[Ch] (isMultiLingual), (isUnnamed): make const + * paragraph.[Ch] (isMultiLingual): make const + * cursor.[Ch] (openable): make const + +2004-02-20 Jürgen Spitzmüller + + * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double. + +2004-02-20 André Pönitz + + * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT' + + * cursor.[Ch]: prepare for localized getStatus() + + * lyxtext.h: + * tabular.C: + * text.C: + * text2.C: + * text3.C: streamlines the LyXText cursor movement handlers a bit. + +2004-02-20 André Pönitz + + * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage() + +2004-02-16 Alfredo Braunstein + + * text2.C (setCursorFromCoordinates): switch to absolute coords + (cursorUp): adjust + (cursorDown): adjust + * text3.C (dispatch): adjust + +2004-02-16 André Pönitz + + * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see + insets/ChangeLog) + + * cursor_slice.[Ch]: remove unneeded acessor function + + * lyxtext.h: rename rtl() to isRTL() + + * rowpainter.C: + * tabular.C: + * text.C: + * text2.C: + * text3.C: adjust + +2004-02-16 Alfredo Braunstein + + * rowpainter.C (paintSelection): coord fix + +2004-02-15 Georg Baum + + * Spacing.C: compile fix + +2004-02-13 Alfredo Braunstein + + * cursor.C (dispatch): restore current_ before returning + +2004-02-13 Alfredo Braunstein + + * text2.C (cursorUp, cursorDown): fix coords + (moveUp): fix crash + +2004-02-12 André Pönitz + + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: add LCursor & parameter to most cursor movement functions + remove usage of LyXText::cursorRow() and cursorPar() + + * cursor.[Ch]: add textRow() needed members + + * BufferView.C: + * BufferView_pimpl.C: + * paragraph.[Ch]: + * BufferView.C: + * BufferView_pimpl.C: adjust + +2004-02-11 André Pönitz + + * lyxfunc.C: + * BufferView.[Ch]: + * BufferView_pimpl.C: shift undo/redo handling + + * cursor.[Ch]: fix mathed crash + + * lyxfind.C: + * lyxtext.h: move selectionAsText to LCursor + + * output_latex.C: + * paragraph.C: + * text.C: + * text2.C: + * text3.C: adjust + + * rowpainter.C: fix excessive drawing + +2004-02-06 André Pönitz + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * text3.C: move some text specific LFUN handling + +2004-02-06 Alfredo Braunstein + + * text3.C (checkInsetHit): adjust coords + * text2.C (getColumnNearX): adjust coords + (edit): adjust coords + * text.C (getRowNearY): add two asserts + +2004-02-06 Martin Vermeer + + * converter.C: + * format.C: add using std::distance to compile on gcc 2.95/stlport + +2004-02-04 Martin Vermeer + + * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug + +2004-02-04 André Pönitz + + * BufferView.[Ch] (insertInset): + * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value + + * text2.C: + * text3.C: adjust + +2004-02-03 Alfredo Braunstein + + * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch + on the default clause of the switch + * lyxfunc.C (dispatch): call BufferView::dispatch if the event + wasn't catched by LCursor::dispatch + +2004-02-03 André Pönitz + + * BufferView.C: + * cursor.[Ch]: some additional asserts + + * undo.[Ch]: remove LyXText dependency in interface + + * lyxfunc.C: adjust + + * lyxtext.h (firstPar, lastPar): remove dead functions + + * text.C: + * text2.C: + * text3.C: + * paragraph.[Ch]: adjust + +2004-02-03 Alfredo Braunstein + + * lyxfind.C (find): fix argument order in call to ::find + +2004-02-02 André Pönitz + + * cursor.[Ch]: remove direct access to anchor + + * text.C: remove findText() hack + +2004-02-02 Alfredo Braunstein + + * iterators.[Ch] (lockPath): remove in favour of... + * BufferView.[Ch] (setCursor): this addition + * BufferView.C (putSelectionAt): adjust + * undo.C (performUndoOrRedo): adjust + * lyxfunc.C (dispatch): adjust + 2004-02-02 Alfredo Braunstein * iterators.C (lockPath): add a missing slice