2 2004-02-11 André Pönitz <poenitz@gmx.net>
6 * BufferView_pimpl.C: shift undo/redo handling
8 * cursor.[Ch]: fix mathed crash
11 * lyxtext.h: move selectionAsText to LCursor
19 * rowpainter.C: fix excessive drawing
21 2004-02-06 André Pönitz <poenitz@gmx.net>
24 * BufferView_pimpl.[Ch]:
25 * text3.C: move some text specific LFUN handling
27 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
29 * text3.C (checkInsetHit): adjust coords
30 * text2.C (getColumnNearX): adjust coords
32 * text.C (getRowNearY): add two asserts
34 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
37 * format.C: add using std::distance to compile on gcc 2.95/stlport
39 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
41 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
43 2004-02-04 André Pönitz <poenitz@gmx.net>
45 * BufferView.[Ch] (insertInset):
46 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
51 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
53 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
54 on the default clause of the switch
55 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
56 wasn't catched by LCursor::dispatch
58 2004-02-03 André Pönitz <poenitz@gmx.net>
61 * cursor.[Ch]: some additional asserts
63 * undo.[Ch]: remove LyXText dependency in interface
67 * lyxtext.h (firstPar, lastPar): remove dead functions
72 * paragraph.[Ch]: adjust
74 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
76 * lyxfind.C (find): fix argument order in call to ::find
78 2004-02-02 André Pönitz <poenitz@gmx.net>
80 * cursor.[Ch]: remove direct access to anchor
82 * text.C: remove findText() hack
84 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
86 * iterators.[Ch] (lockPath): remove in favour of...
87 * BufferView.[Ch] (setCursor): this addition
88 * BufferView.C (putSelectionAt): adjust
89 * undo.C (performUndoOrRedo): adjust
90 * lyxfunc.C (dispatch): adjust
92 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
94 * iterators.C (lockPath): add a missing slice
95 * undo.C (performUndoOrRedo): remove redundant positioning code
97 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
99 * vc-backend.C (scanMaster): ";" -> ';'
101 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
106 * lyxtextclass.C (compare_name): rename to...
107 (LayoutNamesEqual): ...this
109 * lyxlex_pimpl.C (compare_tags): inherit from
110 std::binary_function, put back into anon namespace
112 * lyxfind.C (MatchString): inherig from std::binary_function
113 (findChange): use empty() istead of !size()
115 * format.C (FormatNamesEqual): new functor
122 * converter.C (compare_Converter): rename to...
123 (ConverterEqual): ...this, and fixup a bit.
124 (getConverter): use it, and make function const
125 (getNumber): use it, and make function const
129 * bufferlist.C: add using boost::bind
131 * MenuBackend.C (MenuNamesEqual): new functor
132 (hasMenu): use it, and make function const
133 (hasSubmenu): use nested bind to get rid of compare_memfun.
135 2004-01-30 André Pönitz <poenitz@gmx.net>
137 * BufferView_pimpl.C:
148 * text3.C: move some of the edit(x,y) handling to the insets
149 some coordinate changes.
151 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
153 * text.C: add using statements for std::advance and std::distance
155 * paragraph.C: add using statement for std::distance
157 * lyxfind.C: add using statement for std::advance
159 * cursor.C (region): remove std:: from swap
160 (openable): use nucleus in stead of operator->
162 * BufferView.C: add using statements for std::distance and std::swap
164 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * iterators.C: Remove the pimple, move the needed structures to
167 the header file. Create accessor for the positions stack.
168 (asPosIterator): remove function
170 * PosIterator.C (PosIterator): move constructors to top of file
171 (PosIterator): reimplement the constructor taking a ParIterator in
173 (setFrom): new function
174 (operator!=): inline it
176 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * lyxfind.C (replaceAll): use std::advance
180 * iterators.h: inherit from std::iterator.
182 * PosIterator.C (advance, distance): remove
183 * PosIterator.h: interit from std::iterator.
185 2004-01-26 André Pönitz <poenitz@gmx.net>
188 * BufferView_pimpl.[Ch]:
192 * bufferview_funcs.C:
203 * output_plaintext.C:
205 * paragraph_funcs.[Ch]:
206 * paragraph_pimpl.[Ch]:
212 * text3.C: more IU: dumps most of the rest of the mathcursor
213 implementation into cursor.[Ch]; "globalize" a bit of it.
215 2004-01-25 Angus Leeming <leeming@lyx.org>
217 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
219 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * LaTeXFeatures.h: add nice_ and nice() const
222 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
224 2004-01-20 André Pönitz <poenitz@gmx.net>
227 * BufferView_pimpl.C:
229 * bufferview_funcs.C:
242 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
243 LCursor and mathcursor parts to LCursor and InsetBase.
245 2004-01-15 André Pönitz <poenitz@gmx.net>
247 * cursor_slice.[Ch]: add a few covienience functions
249 * funcrequest.[Ch]: remove BufferView * member
251 * BufferView_pimpl.C:
258 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
260 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
262 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
263 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
265 2004-01-13 André Pönitz <poenitz@gmx.net>
268 * lyxtext.h: hide cursor and selection anchor behind accessor function
271 * BufferView_pimpl.[Ch]:
273 * bufferview_funcs.C:
283 * cursor_slice.[Ch]: some integer type changes for inset unification
285 * lyxcursor.[hC]: remove, it's CursorSlice now.
288 * BufferView_pimpl.[Ch]:
289 * bufferview_funcs.C:
295 * textcursor.[Ch]: adjust
297 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
299 * text2.C (undoSpan): add and use
300 * text.C (breakParagraph): use undoSpan (fix bug 578)
303 2004-01-08 Angus Leeming <leeming@lyx.org>
305 * BufferView_pimpl.C (MenuInsertLyXFile):
306 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
307 * lyxfunc.C (menuNew, open, doImport):
308 FileFilterList change to the FileDialog open and save functions.
310 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
312 * ShareContainer.h: make isEqual and isUnique adaptable
314 * CutAndPaste.C: make resetOwnerAndChanges adaptable
316 2004-01-07 Angus Leeming <leeming@lyx.org>
319 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
321 * BufferView_pimpl.C (dispatch): act on these LFUNs.
323 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
324 functions replacing find, replace and replaceAll.
326 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
327 LFUN_WORDFIND(FORWARD|BACKWARD).
329 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
331 * text.C (breakParagraph): remove an outdated #warning
333 2004-01-07 André Pönitz <poenitz@gmx.net>
335 * lyxfind.C: somewhat clearer logic
337 * text.C: prevent crash in cursorX on unitialized row cache
339 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
341 * lyxcursor.[Ch] (operator>): add
342 * textcursor.C (selStart, selEnd): use std::min and std::max
344 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
346 * Chktex.C: include boost/format.hpp
348 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
350 * InsetList.C: replace functor MathcIt with adaptable functor
352 (insetIterator): modify accordingly
354 * BranchList.h: move the BranchNamesEqual functor here from...
355 * BranchList.C: ... to here
357 * BranchList.C: new BranchListEqual fuctor, use it. Remove
359 (add): replace a finding loop with std::find_if.
361 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
363 * output_docbook.C: moving LatexParam functionality into
366 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
368 * buffer.C: increment format to 229.
370 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
373 * lyx_sty.[Ch]: remove minipageindent_def
379 * text3.C: remove LFUN_INSET_MINIPAGE
381 2003-12-28 Angus Leeming <leeming@lyx.org>
383 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
385 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
387 * text2.C (setParagraph): fix off-by-one crash
389 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
391 * output_docbook.C: header stuff for AGU
393 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
395 * text2.C (redoCursor): remove
398 * BufferView_pimpl.C: remove calls to redoCursor and
399 setCursor(cursor.par(), cursor.pos()) all around
401 2003-12-15 Angus Leeming <leeming@lyx.org>
403 * buffer.C: up the format to 228.
405 2003-12-15 André Pönitz <poenitz@gmx.net>
407 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
412 * BufferView_pimpl.C:
421 2003-12-15 Angus Leeming <leeming@lyx.org>
423 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
424 than getFromGUIName to manipulate the color.
426 2003-12-14 Angus Leeming <leeming@lyx.org>
428 * BranchList.[Ch]: minimize the API.
429 (Branch::getBranch, getColor): now return a 'const &'.
430 (Branch::setSelected) now returns a bool set to true if the
431 selection status changes.
432 (BranchList::clear, size, getColor, setColor, setSelected,
433 allBranches, allSelected, separator): removed.
434 (BranchList::find): new functions, returning the Branch with
436 (BranchList::add, remove): return a bool indicating that
437 the operation was successful.
439 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
440 new InsetBranch::isBranchSlected member function.
442 * LColor.[Ch]: mimimize the API.
443 (fill): renamed as addColor and made private.
444 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
445 versions of these functions taking a string arg have been removed.
447 * bufferparams.C (readToken):
448 * lyxfunc.C (dispatch):
449 * lyxrc.C (read): changes due to the altered BranchList and
452 * factory.C (createInset, readInset): changes due to altered
455 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
458 * lyxfunc.C: remove insetminipage. "minipage-insert"
459 now produces a frameless minipage box inset.
461 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
463 * textcursor.[Ch] (selStart,selEnd): add new methods
464 remove selection::start, end, use LyXCursor::operator<
465 * lyxcursor.[Ch] (operator<): add
466 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
467 * BufferView.[Ch] (unsetXSel): add
468 * text2.C (clearSelection): use unsetXSel,adjust
471 * rowpainter.C: adjust
472 * bufferview_funcs.C (put_selection_at): adjust
474 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
476 * BufferView_pimpl.C: small coord. correction
478 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
480 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
481 dragging over the splash screen.
483 2003-12-11 Angus Leeming <leeming@lyx.org>
485 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
486 as it is now handled in LyXText::dispatch.
488 * text3.C (doInsertInset): remove a level of nesting.
490 2003-12-11 Angus Leeming <leeming@lyx.org>
492 * factory.C (createInset): changes due to the changed interface to
493 InsetCommandMailer::string2params.
495 2003-12-10 Angus Leeming <leeming@lyx.org>
497 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
498 'dialog-show-new-inset <inset name>'
500 2003-12-10 Angus Leeming <leeming@lyx.org>
502 * buffer.C: up the format to 227.
504 * factory.C: the box inset is now identified simply by 'Box'.
506 2003-12-10 Angus Leeming <leeming@lyx.org>
508 * buffer.C: up the format to 226.
510 * factory.C: the note inset is now identified simply by 'Note'.
512 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
514 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
515 when a pit is enough. Standarize a couple of loops.
517 2003-12-05 Angus Leeming <leeming@lyx.org>
519 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
520 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
521 data to the re-worked "log" dialog.
523 2003-12-03 André Pönitz <poenitz@gmx.net>
531 * text2.C: use Inset::getText instead of Inset::getParagraph
533 2003-12-03 André Pönitz <poenitz@gmx.net>
537 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
538 InsetText::read() as LyXText::read()
540 2003-12-02 Angus Leeming <leeming@lyx.org>
542 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
543 type. Add a comment in the implementation that the function uses
544 the stream's bad() function rather than fail() as the std::streams
547 2003-12-02 André Pönitz <poenitz@gmx.net>
549 * lyxlex.[Ch]: make interface more similar to std::stream
551 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
553 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
555 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
557 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
559 * vspace.[Ch]: remove VSpace::NONE
561 2003-12-01 André Pönitz <poenitz@gmx.net>
564 * lyxtext.h: move ParagraphList member to LyXText
565 rename LyXText::ownerParagraphs to LyXText::paragraph
568 * bufferview_funcs.C:
578 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
580 * undo.C: fix cursor positioning
582 2003-12-01 John Levon <levon@movementarian.org>
584 * BufferView_pimpl.C: fix a crash on exit with
587 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
589 * BranchList.C: fix setSelected() method.
591 2003-11-28 André Pönitz <poenitz@gmx.net>
593 * ParagraphParameters.[Ch]:
594 * ParameterStruct.h: remove space above/below from Paragraph to
597 * BufferView_pimpl.C:
609 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
611 * factory.C: Syntax change for CharStyles
613 2003-11-28 André Pönitz <poenitz@gmx.net>
618 * buffer.[Ch]: move LyXText member
620 2003-11-28 André Pönitz <poenitz@gmx.net>
622 * BufferView.[Ch]: make LyXText * text a private member
624 * BufferView_pimpl.C:
635 * output_plaintext.C: cleanup
637 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
640 * lyxtextclass.[Ch]: parametrize SGML document header
642 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
645 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
648 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
650 * text2.C (setFont): rework using PosIterator (no more recursive)
651 (setCharFont): no more needed
652 (setLayout): no more selection cursors fiddling (done by redoCursor)
653 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
654 destroy remaining ones)
656 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
658 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
660 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
663 * text3.C: adjust + re-allow multi par depth changes
664 * textcursor.C: simplify a bit
666 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
672 * src/output_docbook.C:
673 * src/output_latex.C:
678 * src/text2.C: Introducing a number of tags parametrizing various
679 XML formats that we may want to support
681 2003-11-25 André Pönitz <poenitz@gmx.net>
683 * InsetList.[Ch] (begein, end): inline as suggested by profiler
685 * lyxtext.h (leftMargin/rightMargin): simplify interface
692 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * lyxfunc.C (dispatch): propogate the bibtex databases from the
695 master file to any child files. Fixes bug 546.
697 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
699 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
701 2003-11-24 André Pönitz <poenitz@gmx.net>
703 * rowpainter.C: simplification
705 * text2.C (updateCounters): remove call to redoParagraph on
706 changed labels as this is far too expensive.
708 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
710 * converter.C (convert): fix a crash: this function gets
711 called with buffer == 0 from importer code.
713 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
715 * text3.C (cursorPrevious): make sure that we do not compare
716 iterators form different containers.
719 * rowpainter.C (paintSelection): make sure that we do not compare
720 iterators from different containers.
722 * text3.C (dispatch): [PRIOR] make sure that we do not compare
723 iterators from different ParagraphList containers.
726 * text2.C (LyXText): change order of initialization slightly
727 (operator=): new function. copy all variables except cache_par_
728 (moveUp): make sure that we do not compare iterators from
729 different ParagraphList constainers.
732 * text.C (firstPar): new function
733 (lastPar): new function
734 (endPar): new function
736 * lyxtext.h: move things around and group public functions, public
737 variables, private functions, private variables
739 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
741 * factory.C: change call to InsetERT constructor to avoid
742 additional invocation of method status
743 * text2.C (toggleInset): remove redundant update() call
744 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
745 instead of a Bufferview pointer
747 2003-11-21 André Pönitz <poenitz@gmx.net>
749 * rowpainter.C: simplification
751 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
753 * text3.C (dispatch): make possible to extend a word/row selection
756 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
758 * lyxtext.h: x0_,y0_ -> xo_,yo_
759 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
760 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
761 * rowpainter.C (paintRows): paint full paragraphs
763 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
765 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
768 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
770 * lyxtext.h: add x0_, y0_
771 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
772 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
774 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
776 * text2.C (setCursorIntern): move the x_target update here *
777 * text3.C: change some bv() to true/false in calls to
778 cursorUp/Down/Right/Left
779 * cursor.C: use helper function.
781 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
783 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
784 * paragraph_funcs.[Ch]: correct comment
785 * rowpainter.C: do not paint selections away from bv->cursor()
786 Fix a long standing selection painting bug.
787 * text3.C: generalize mouse-selection code to LyXTexts other that
789 * textcursor.C: do not use y coords if we can use par offsets
791 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
793 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
794 cursor position after e.g. inset insert)
796 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
798 * lyxfind.C (replace): adjust to locking removal + some
801 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
803 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
806 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
809 * output_docbook.C: XML sanitation: new layout
810 parameters InnerTag and CommandDepth
812 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
814 * BufferView_pimpl.C:
816 * text3.C: Fix the insertion and modification of button-style
819 2003-11-13 André Pönitz <poenitz@gmx.net>
821 * InsetList.[Ch]: remove deleteLyXText
823 * paragraph.[Ch]: cache beginOfBody position
828 * text3.C: remove superfluous update() calls
832 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
834 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
835 * BufferView.C (fitLockedInsetCursor): remove
836 * cursor.[Ch] (getDim): add
837 * text.C (getRowNearY): add faster version
838 * text3.C: remove some update calls
840 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
852 * text3.C: The Character Style /XML short element patch.
854 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
857 * factory.C: Small step to solving 'unable to insert some insets'
860 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
862 * cursor.[Ch] (updatePos): new function for updating the y
863 position of the tip inset
864 * bufferview_funcs.C (put_selection_at):
865 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
867 2003-11-11 André Pönitz <poenitz@gmx.net>
869 * text.C: remove big comment on invalid Paragraph pointers as it is
872 2003-11-11 André Pönitz <poenitz@gmx.net>
874 * text_funcs.[Ch]: merge with ...
882 * Makefile.am: remove text_funcs.[Ch]
884 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
886 * cursor.C (getPos): return absolute cached y coord
888 * BufferView_pimpl.C (fitCursor): new simplistic code
889 (workAreaDispatch): add a fitCursor call
891 2003-11-10 André Pönitz <poenitz@gmx.net>
894 * BufferView_pimpl.[Ch]: merge update() and updateInset()
896 2003-11-10 André Pönitz <poenitz@gmx.net>
898 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
899 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
900 indicate that the cursor needs to leave an inset
902 * lyxtext.h: remove inset locking
904 * cursor.[Ch]: re-implement functionality provided by inset locking
907 * BufferView_pimpl.[Ch]:
909 * bufferview_funcs.[Ch]:
921 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
923 * PosIterator.[Ch]: replace the stack with a vector, add inset
925 * iterators.[C]: adjust
927 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
929 * lyxfind.C (replaceAll): mark the buffer dirty if something was
931 * paragraph_funcs.C (readParToken): put the correct id in the
932 error item, not the id of the top paragraph
934 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
936 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
937 * bufferview_funcs.C (put_selection_at): use the above
939 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
941 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
943 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * output_plaintext.h:
948 * output_docbook.h: add #include statements
950 2003-11-05 José Matos <jamatos@lyx.org>
952 * output_docbook.[Ch]:
954 * output_linuxdoc.[Ch]:
955 * output_plaintext.[Ch]: New files for output formats.
956 * output.[Ch]: New file for helper functions.
959 * paragraph_funcs.[Ch]: output functions moved to new files.
961 * outputparams.h: rename of latexrunparams.h
969 * paragraph_funcs.[Ch]:
970 * paragraph_pimpl.[Ch]:
971 * tabular.[Ch]: rename ascii to plaintext
972 and LatexRunParams to OutputParams.
974 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
976 * iterators.[Ch] (text): require bv argument
977 * undo.C (recordUndo):
978 * lyxfunc.C (dispatch):
979 * bufferview_funcs.C (put_selection_at): adjust
981 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
983 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
985 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
987 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
990 2003-11-04 André Pönitz <poenitz@gmx.net>
992 * cursor.[Ch]: restructure
995 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
997 * iterators.[Ch] (asCursor): remove
999 * lfuns.h: remove LFUN_INSET_EDIT
1005 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1007 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1009 * lyxfind.[Ch]: complete overhaul
1010 * BufferView_pimpl.C:
1012 * paragraph.[Ch] (insert): add
1014 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1018 * text.C: remove dead spellcheck code
1020 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * dispatchresult.h: add a val setter
1024 * cursor.C (dispatch): use a tempvar for data_[i]
1026 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1028 * PosIterator.[Ch]: compile fix
1030 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1032 * text.C (cursorPar): deactivate the cursor cache
1034 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1036 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1038 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1040 * text3.C (dispatch): adjust for new DisptchResult semantics.
1042 * lyxfunc.C (dispatch): handle update when return from
1043 Cursor::dispatch, adjust for new DispatchResult semantics.
1045 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1046 DispatchResult(true) mean to not update. Add class functions for
1047 setting dispatched and update, as well as reading.
1049 * cursor.C (dispatch): don't handle update here
1051 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1054 * trans_mgr.C: adjust
1056 * paragraph_funcs.C (readParToken): exception safety
1058 * lyxvc.h: store the vcs pointer in a scoped_ptr
1061 * lyxsocket.C (serverCallback): exception safety
1063 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1065 * ispell.C (clone): make it return a auto_ptr
1067 * factory.C (createInset): exception safety
1068 (readInset): exception safety
1070 * bufferlist.C (newBuffer): exception safety
1072 * Thesaurus.C (Thesaurus): use initialization for aik_
1074 * MenuBackend.C (expandToc): exception safety.
1076 2003-11-03 André Pönitz <poenitz@gmx.net>
1080 * bufferview_funcs.C: remove getInsetFromId()
1083 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1089 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1091 * PosIterator.C (distance, advance): new
1092 * bufferview_funcs.[Ch] (put_selection_at): new
1093 * iterators.[Ch] (lockPath): new
1095 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1097 * iterators.[Ch] (asPosIterator): added
1098 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1099 * PosIterator.[Ch]: added
1101 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * cursor.C (dispatch):
1106 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1108 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1109 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1110 contructor, add a class function dispatched. Remove operator>=
1112 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * debug.C: only use the default constructor for debugstream
1117 * main.C (main): include debug.h and setup the lyxerr streambuf
1120 2003-10-31 José Matos <jamatos@lyx.org>
1122 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1124 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1125 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1126 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1127 * paragraph_pimpl.C (simpleTeXSpecialC):
1128 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1129 add LatexRunParams argument.
1131 * exporter.C (Export): change call accordingly.
1133 * latexrunparams.h: add new member to take care of the other backends.
1134 2003-10-30 José Matos <jamatos@lyx.org>
1136 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1137 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1138 factorise code for paragraph output.
1140 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1143 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * text3.C (dispatch):
1146 * lyxfunc.C (dispatch):
1147 * cursor.C (dispatch):
1148 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1150 * dispatchresult.h: make the dispatch_result_t ctor explicit
1152 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1155 * buffer.C: small refactoring of docbook stuff
1157 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1159 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1162 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1165 operator dispatch_result_t, and operators for == != and >=
1167 * cursor.C (dispatch): adjust for operator dispatch_result_t
1168 removal. comment out call to update
1170 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1172 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1183 * dispatchresult.h: new file, DispatchResult broken out of
1186 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1188 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1190 * text.C (rowBreakPoint): put a hack inside #if 0
1192 2003-10-28 André Pönitz <poenitz@gmx.net>
1196 * paragraph_funcs.C:
1199 * text2.C: general cleanup (lots of small stuff)
1201 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1203 * text2.C (cursorEnd): simple fix to the "end key goes to one
1204 before the end on last row" bug
1206 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1208 * text.C (backspace): fix the "zombie characters"
1210 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1212 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1214 2003-10-27 André Pönitz <poenitz@gmx.net>
1216 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1218 * factory.C: handle new InsetPagebreak, InsetLine
1220 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1221 and move handling into new InsetPagebreak, InsetLine
1223 * BufferView_pimpl.C:
1225 * ParagraphParameters.C:
1226 * ParameterStruct.h:
1231 * paragraph_funcs.C:
1232 * paragraph_pimpl.C:
1238 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1241 * lyxrow_funcs.[Ch]:
1247 * text3.C: remove lastPos uses in favour of Row::endpos
1249 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1251 * undo.C (performUndoOrRedo): fix two crashes by setting a
1252 cursor by hand and reordering some calls. Use bv->lockInset instead
1253 of inset->edit because the latter loses cursor information
1255 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1257 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1259 (rowBreakPoint): fix width. change point to point + 1.
1260 Add a missing check.
1262 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1265 * lyxfunc.C: fix (at least partly) the problems
1266 with the Nav menu and headers inside branch insets
1269 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1271 * paragraph.C (getChar): add strong asserts
1273 * lyxrow_funcs.C (lastPos): remove hideous hack
1275 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1276 (fill): adjust to that (avoid an infinite loop)
1278 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1280 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1282 2003-10-23 André Pönitz <poenitz@gmx.net>
1284 * RowList_fwd.h: change list<> to vector<> to gain speed
1285 after suggestion from Alfredo
1287 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1289 * lyxtext.h: move the bidi stuff from here...
1292 * Bidi.[Ch]: ... to here
1294 2003-10-23 André Pönitz <poenitz@gmx.net>
1297 * text.C (isLastRow, isFirstRow): new functions
1299 * paragraph.h: new width cache member
1301 * rowpainter.C: replace RowList::iterator with Row & where possible
1303 * lyxfunc.C: replace several view()->text with a single call
1305 * toc.C: fix 'unused' warning
1307 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1310 when woring with stream::pos_type
1311 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1313 2003-10-22 André Pönitz <poenitz@gmx.net>
1316 * text.C: use Row & instead of RowList::iterator
1318 * lyxrow.h: rename end() to endpos()
1324 2003-10-22 Angus Leeming <leeming@lyx.org>
1326 * buffer.[Ch] (fully_loaded): new member function, returning true
1327 only when the file has been loaded fully.
1328 Used to prevent the premature generation of previews and by the
1329 citation inset to prevent computation of the natbib-style label.
1331 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1332 templates are all set up.
1334 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1336 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1338 * text.C: fixed an "oops" in the "is a bit silly"
1341 2003-10-21 André Pönitz <poenitz@gmx.net>
1343 * FuncStatus.[Ch]: small stuff, whitespace
1345 * lyxfont.[Ch]: operator<<() for debug reasons
1349 * lyxtext.h: whitespace, spelling
1351 * paragraph.C: naming of variables
1354 * text2.C: small stuff
1357 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1359 * text.C: (1) finish off the inset display() work;
1360 (2) fix the "is a bit silly" bug (accessing char
1363 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1365 * text.C: re-introduce display() for insets, fixing the
1366 various bugs (stretch of line above, math inset
1369 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * text.C (rightMargin): remove spurious semicolon
1373 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1376 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1378 * text3.C: fix one crash due to wrong cursor def
1380 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * vc-backend.C (scanMaster): make the regex static
1384 * LaTeX.C (scanAuxFile): make the regexs static
1386 * text3.C (doInsertInset, dispatch, dispatch):
1387 * text2.C (cursorUp, cursorDown):
1388 * text.C (selectNextWordToSpellcheck):
1389 * BufferView_pimpl.C (dispatch):
1390 * lyxfunc.C (dispatch): localDispatch -> dispatch
1392 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * lyxsocket.C: include <cerrno>
1396 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * lyxfunc.C (dispatch): remove textcache stuff
1400 * bufferlist.C (release): remove textcache stuff
1403 * TextCache.C: delete file
1404 * TextCache.h: delete file
1406 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1408 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1409 delete of the bv_->text.
1410 (resizeCurrentBuffer): remove texcache stuff
1411 (workAreaResize): ditto
1413 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1418 2003-10-16 André Pönitz <poenitz@gmx.net>
1425 * text3.C: speed up by storing y positions per paragraph plus per-row
1426 offset instead of having a 'full' y position in the row.
1428 2003-10-15 André Pönitz <poenitz@gmx.net>
1432 * undo.[Ch]: make undo aware of inner insets
1434 2003-10-14 Angus Leeming <leeming@lyx.org>
1436 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1437 static member functions LyX::ref() and LyX::cref.
1438 (lastfiles): new accessor functions for the new lastfiles_ member var.
1439 (addLyXView, views_): add a new LyXView to the list of views_.
1440 (updateInset): loop over all LyXViews to call their own updateInset
1441 member function, returning a pointer to the Buffer owning the inset.
1443 * BufferView_pimpl.C (loadLyXFile):
1444 * MenuBackend.C (expandLastfiles):
1445 * bufferlist.C (MenuWrite, QuitLyX):
1446 lastfiles is no longer a global variable.
1447 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1449 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1450 static function. Access through LyX::cref().emergencyCleanup().
1452 2003-10-14 André Pönitz <poenitz@gmx.net>
1454 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1456 * undo.[Ch]: restoring part of 'undo in insets'
1459 * undo_funcs.[Ch]: merge with undo.[Ch]
1461 * tabular.C: small cleansing stuff
1463 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1465 * paragraph_funcs.C (readParToken): report unknown insets as error
1466 boxes. Use the outer paragraph as location (also for unknown
1469 * factory.C (readInset): do not abort on reading an unknown inset.
1470 Eat it and return 0.
1472 2003-10-13 Angus Leeming <leeming@lyx.org>
1474 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1476 * lyxrc.C: displayTranslator is now a function,
1477 declared in GraphicsTypes.h.
1479 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1481 * format.C: new placeholder $$a to pass the socket address.
1483 * bufferlist.[Ch]: new function getBufferFromTmp.
1485 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1486 files in the temporary dir.
1488 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1490 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1492 * Makefile.am: add lyxsocket.[Ch].
1494 * lyx_main.C (error_handler): handle SIGPIPE.
1496 2003-10-13 André Pönitz <poenitz@gmx.net>
1498 * BufferView_pimpl.C:
1503 * undo_funcs.[Ch]: use paroffset_type instead of
1504 ParagraphList::iterators to prevent multiple conversion
1505 (and get a more robust interface)
1507 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1511 * text3.C (dispatch): ditto
1513 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1515 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1516 move the onlyfile, use onlyfile instead of foundfile in a couple
1519 * DepTable.C (update): flush the error stream a bit more
1521 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1523 * lyxserver.C (callback): adjust
1525 * lyxfunc.C (getStatus): add a missing brace in commented code
1526 (ensureBufferClean): reindent
1527 (dispatch): delete version taking a string
1529 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * LaTeX.C (deplog): move found file handlig from here...
1532 (handleFoundFile): .. to new function here.
1533 (deplog): make sure to discover several files mentioned on the
1536 2003-10-10 André Pönitz <poenitz@gmx.net>
1543 * text3.C: fix some of the tabular crashes
1545 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1547 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1549 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1551 2003-10-09 André Pönitz <poenitz@gmx.net>
1553 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1556 * BufferView_pimpl.C:
1557 * bufferview_funcs.C:
1568 * undo_funcs.C: adjust
1570 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * text2.C (incrementItemDepth): new function, use a backtracking
1573 algorithm to discover the correct item depth.
1574 (resetEnumCounterIfNeeded): new function, use a backtracking
1575 algorithm to discover if counter reset is needed.
1576 (setCounter): use them. Simplify a bit. Add different labels for
1577 different item depths for itemize.
1579 * paragraph.C (Paragraph): remove initialization of enumdepth
1582 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1583 enumerate and itemize. Change the type of itemdepth to signed char.
1585 2003-10-08 André Pönitz <poenitz@gmx.net>
1587 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1592 * tabular.[Ch]: fix crash after 'row-insert'
1594 2003-10-08 Angus Leeming <leeming@lyx.org>
1596 Fix doxygen warnings.
1598 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1599 Remove CutAndPaste:: prefix from header file declaration.
1601 * LColor.h (fill): remove LColor:: prefix from declaration.
1603 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1604 use lyx::depth_type rather than Paragraph::depth_type so that
1605 header file and .C file match.
1607 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1609 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1610 * aspell.C: \file aspell_local.C -> \file aspell.C
1611 * gettext.C: \file gettext.C -> \file src/gettext.C
1612 * gettext.h: \file gettext.h -> \file src/gettext.h
1613 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1614 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1615 * text.C: \file text.C -> \file src/text.C
1617 * toc.C: move comment so that doxygen is not confused.
1619 2003-10-07 Angus Leeming <leeming@lyx.org>
1621 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1623 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1626 * aspell_local.h: add forgotten std::string's.
1628 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1635 * text3.C: The Box patch. Fancybox support, minipage, parbox
1637 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1643 * ParagraphParameters.h:
1653 * lyxtextclasslist.h:
1656 * paragraph_pimpl.C:
1657 * textcursor.h: add <string> and other small fixes to make Lars'
1658 std::string patch compile with STLport.
1660 2003-10-06 Angus Leeming <leeming@lyx.org>
1662 * LColor.h: Add missing #include <string>.
1664 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * All most all file in all subdirs: Make <string> be the prefered
1667 way of getting to std::string, add using declarations.
1669 2003-10-06 André Pönitz <poenitz@gmx.net>
1671 * metricsinfo.C: initialize LyXFont before changing attribute.
1672 (fixes the 'math in \emph is upright' bug)
1674 2003-10-06 André Pönitz <poenitz@gmx.net>
1676 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1678 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1681 * paragraph_pimpl.C: Small fixes to build using STLport
1683 2003-10-02 André Pönitz <poenitz@gmx.net>
1686 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1688 2003-10-01 André Pönitz <poenitz@gmx.net>
1690 * factory.C: assert early
1692 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * lyx_main.C: remove the global debug object
1696 * debug.h: adjust for new debugstream
1698 * debug.C: adjust for new debugstream and keep the global debug
1701 2003-09-22 Angus Leeming <leeming@lyx.org>
1703 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1704 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1705 an incomplete class LyXFont.
1707 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1709 * factory.C: bug fix in branches
1711 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * lyxfunc.C (processKeySym): adjust
1715 (dispatch): change arg name from ev to func, adjust
1716 (sendDispatchMessage): ditto
1718 * lyx_main.C (defaultKeyBindings): adjust keybindings
1719 (deadKeyBindings): ditto
1721 * kbsequence.C (addkey): return a FuncRequest
1723 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1725 * kbmap.C (bind): take a FuncRequest as arg, adjust
1728 (defkey): change to take a FuncRequest as arg, adjust
1729 (findbinding): take a FuncRequest as arg, adjust.
1731 * funcrequest.h (operator=): added
1733 * funcrequest.C (FuncRequest): default kb_action changed from
1734 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1736 * buffer.C (dispatch): simplify
1737 (dispatch): adjust to take a FuncRequest as arg, adjust
1739 * boost.C (assertion_failed): change assertion message slightly
1741 * ToolbarBackend.C (read): simplify
1743 * MenuBackend.C (binding): adjust call to findbinding, add a
1744 message if no binding is found.
1746 (expandToc): correct by adding a empty FuncRequest
1748 * LyXAction.C: include <boost/assert.hpp>
1749 (isPseudoAction): delete function
1750 (LookupFunc): change name to...
1751 (lookupFunc): this. change return type to FuncRequest.
1752 (getActionName): take kb_action as arg, simplify
1753 (funcHasFlag): add an assert, simplify.
1755 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * toc.C (action): return a FuncRequest, simplify
1759 * lyxfunc.C (processKeySym): adjust
1760 (getStatus): delete version that takes an int.
1762 (dispatch): delete version that takes action as int
1764 (sendDispatchMessage): simplify and adjust
1766 * funcrequest.C (getArg): take unsigned int as arg
1768 * ToolbarBackend.C (read): adjust
1769 (add): delete version that takes func as a string.
1770 (getIton): take a FuncRequest as arg
1772 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1775 * MenuBackend.C (MenuItem): add a new construct that only takes a
1776 Kind, simplify the constructor use for submenus.
1778 (expandLastfiles): adjust
1779 (expandDocuments): adjust
1780 (expandFormats): adjust
1781 (expandFloatListInsert): adjust
1782 (expandFloatInsert): adjust
1783 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1785 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1786 Remove class variables lyx_pseudo_map and lyx_arg_map
1788 * LyXAction.C (searchActionArg): delete function
1789 (getPseudoAction): delete function
1790 (retrieveActionArg): delete function
1791 (LookupFunc): make it return kb_action, simplify.
1792 (getActionName): simplify
1794 * factory.C (createInset): fix new bug
1796 2003-09-19 Angus Leeming <leeming@lyx.org>
1798 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1799 masterFilename_ parameter in the include inset.
1801 * factory.C (createInset): changes due to the changes to InsetInclude.
1803 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1805 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1807 2003-09-18 Angus Leeming <leeming@lyx.org>
1810 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1811 Inset::fillWithBibKeys.
1812 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1814 2003-09-18 Angus Leeming <leeming@lyx.org>
1816 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1818 (ctor): pass and store a 'Buffer const &'
1819 (buffer): new member function.
1821 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1822 '*this' to the LaTeXFeatures ctor.
1824 2003-09-18 Angus Leeming <leeming@lyx.org>
1830 * text.C: rename EnumLColor as LColor_color.
1832 2003-09-18 Angus Leeming <leeming@lyx.org>
1834 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1835 remove #include "insets/insetbase.h" from cursor.h.
1837 2003-09-18 Angus Leeming <leeming@lyx.org>
1839 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1840 InsetOld_code to remove #include "inset.h".
1842 * iterators.C: add #include "insets/inset.h"
1844 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1846 * BufferView.C: remove more locking stuff that apparently doesn't
1847 do anything sensible.
1849 2003-09-16 André Pönitz <poenitz@gmx.net>
1852 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1855 2003-09-16 Angus Leeming <leeming@lyx.org>
1857 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1859 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1862 * paragraph.h: remove #include "lyxfont.h". Forward declare
1865 2003-09-16 Angus Leeming <leeming@lyx.org>
1867 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1868 of support/textutils.h.
1869 (isWord): move the contents of support/textutils.h's IsWordChar here.
1875 * text2.C: add #include "paragraph.h".
1878 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1880 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * LaTeX.C: use namespace alias for lyx::support::os
1888 2003-09-16 Angus Leeming <leeming@lyx.org>
1891 * bufferview_funcs.C:
1894 * paragraph_pimpl.C:
1896 * text.C: add #include "LColor.h".
1898 2003-09-16 Angus Leeming <leeming@lyx.org>
1900 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1901 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1903 Store the FontBits::color variable as an int rather than as an
1904 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1907 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1908 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1909 string calls together.
1911 * lyxrc.C: add #include "LColor.h".
1913 2003-09-15 Angus Leeming <leeming@lyx.org>
1915 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1918 2003-09-15 Angus Leeming <leeming@lyx.org>
1920 * LColor.h: add an EnumLColor wrapper for LColor::color.
1922 * lyxfont.[Ch] (color, setColor, realColor):
1923 * lyxtext.h, text.C (backgroundColor):
1924 pass EnumLColor args to/from the functions, rather than LColor::color
1928 * lyxtext.h: forward declare EnumLColor.
1930 * lyx_main.C: add #include "LColor.h".
1932 2003-09-15 Angus Leeming <leeming@lyx.org>
1934 * .cvsignore: add lyx-gtk.
1936 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * ParagraphParameters.C
1945 * bufferview_funcs.C
1955 * vc-backend.C: remove usage of STRCONV
1957 2003-09-15 Angus Leeming <leeming@lyx.org>
1959 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1960 explicitly define the color passed to the painter.
1962 2003-09-15 Angus Leeming <leeming@lyx.org>
1964 * bufferparams.C (BufferParams): reorder member initializers to avoid
1967 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1969 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1970 * text.C (updateRowPositions): remove an unusual nop
1972 2003-09-12 André Pönitz <poenitz@gmx.net>
1974 * BufferView_pimpl.C:
1983 * Counters.[Ch]: finish the 'automatic counters' job
1985 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1987 * aspell.C: include <boost/assert.cpp> (compile fix)
1989 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1991 * boost.C (assertion_failed): use lyx::support::abort instead of
1994 2003-09-10 Angus Leeming <leeming@lyx.org>
1996 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1997 with their _fwd progeny.
1999 2003-09-09 Angus Leeming <leeming@lyx.org>
2001 134 files throughtout the source tree: replace 'using namespace abc;'
2002 directives with the appropriate 'using abc::xyz;' declarations.
2004 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2006 * boost.C (emergencyCleanup): moved here from LAssert.c
2007 (assertion_failed): new function, called by BOOST_ASSERT
2009 * several files: change Assert to BOOST_ASSERT
2011 2003-09-09 Angus Leeming <leeming@lyx.org>
2013 * buffer.[Ch]: Add an Impl class and move Buffer's member
2014 variables into it. As a result move several header files out of
2017 Add header files to lots of .C files all over the tree as a result.
2019 2003-09-09 Angus Leeming <leeming@lyx.org>
2021 * buffer.[Ch]: make Buffer's member variables private. Add
2024 Lots of changes all over the tree as a result.
2026 2003-09-08 Angus Leeming <leeming@lyx.org>
2028 * graph.C: #include <config.h>.
2030 2003-09-08 Angus Leeming <leeming@lyx.org>
2034 * BufferView_pimpl.C:
2063 * toc.C: remove redundant using directives.
2065 2003-09-07 Angus Leeming <leeming@lyx.org>
2067 * LaTeXFeatures.h: remove #include "support/types.h".
2068 * ToolbarBackend.h: remove #include <algorithm>.
2069 * changes.h: remove #include <ctime>.
2070 * debug.h: remove #include <iosfwd>.
2071 * graph.h: remove #include "support/std_string.h".
2072 * lyx_main.h: remove #include <csignal>.
2073 * lyxlex_pimpl.h: remove #include <fstream>.
2074 * sgml.h: remove #include <algorithm>, <utility>.
2075 * toc.h: remove #include "support/std_ostream.h".
2076 Add #include <iosfwd>.
2078 2003-09-07 Angus Leeming <leeming@lyx.org>
2080 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2082 * converter.h: forward declare LatexRunParams.
2083 * encoding.h: remove #include "lyxrc.h".
2084 * lyxtext.h: remove #include "LColor.h".
2085 * lyxtextclass.h: remove #include "support/types.h".
2086 * trans.h: remove #include "tex-accent.h".
2087 * trans_mgr.h: remove #include "tex-accent.h".
2088 * insets/inset.h: remove #include "support/types.h", <vector>.
2089 * insets/insetcollapsable.h: remove #include "LColor.h".
2090 * insets/insetinclude.h: remove #include "dimension.h".
2091 * insets/insetlatexaccent.h: remove #include "dimension.h".
2092 * insets/insetoptarg.h:: remove #include "insettext.h".
2093 * insets/insettext.h: remove #include "dimension.h",
2094 <boost/shared_ptr.hpp>
2096 * insets/renderers.h: add #include "dimension.h".
2097 * insets/updatableinset.h: add #include "support/types.h".
2099 * many .C files: Associated changes.
2101 2003-09-06 Angus Leeming <leeming@lyx.org>
2103 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2104 one, inside testInvariant.
2106 * PrinterParams.C: new file.
2107 * PrinterParams.[Ch]: move the function bodies out of line.
2109 2003-09-06 Angus Leeming <leeming@lyx.org>
2111 * ParagraphParameters.h: forward declare ParameterStruct rather than
2112 including its header file.
2113 (depth): moved out-of-line.
2115 2003-09-06 Angus Leeming <leeming@lyx.org>
2117 * BufferView_pimpl.h:
2120 * lyxfunc.h: forward declare LyXKeySym rather than
2121 #include "frontends/LyXKeySym.h".
2123 * BufferView_pimpl.C:
2126 * lyxfunc.C: associated changes.
2128 2003-09-06 Angus Leeming <leeming@lyx.org>
2130 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2131 As a result, can remove the #include "insets/inset.h" from BufferView.h
2133 2003-09-06 Angus Leeming <leeming@lyx.org>
2135 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2136 As a result, can remove the #include "insets/inset.h" from BufferView.h
2138 2003-09-06 Angus Leeming <leeming@lyx.org>
2144 * bufferview_funcs.C:
2145 * BufferView_pimpl.C:
2150 * ParagraphParameters.C:
2155 * frontends/controllers/ControlDocument.C:
2156 * insets/insetcaption.C: rearrange the #includes into some sort of
2159 * buffer.h: remove #includes ErrorList.h, undo.h
2161 2003-09-06 Angus Leeming <leeming@lyx.org>
2163 * support/types.h: add a 'depth_type' typedef, used to store the
2164 nesting depth of a paragraph.
2167 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2168 defining explicitly.
2171 * paragraph_funcs.h:
2172 * ParagraphParameters.h:
2173 * sgml.h: use lyx::depth_type rather than Paragraph or
2174 ParameterStruct's depth_type.
2177 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2180 * BufferView_pimpl.C:
2182 * ParagraphParameters.C:
2185 * bufferview_funcs.C:
2192 * frontends/LyXView.C:
2193 * frontends/controllers/ControlDocument.C:
2194 * frontends/controllers/ControlErrorList.C:
2195 * insets/insetbibitem.C:
2196 * insets/insetbranch.C:
2197 * insets/insetcaption.C:
2198 * insets/insetcollapsable.C:
2199 * insets/insetenv.C:
2200 * insets/insetert.C:
2201 * insets/insetfloat.C:
2202 * insets/insetfoot.C:
2203 * insets/insetfootlike.C:
2204 * insets/insetnewline.C:
2205 * insets/insetquotes.C:
2206 * insets/insettabular.C:
2207 * insets/insettext.C:
2208 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2210 * frontends/controllers/ControlChanges.C: #include "changes.h".
2212 2003-09-06 Angus Leeming <leeming@lyx.org>
2214 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2215 than #including paragraph.h.
2218 * RowList.h: deleted. Superfluous.
2228 * insets/insettext.h: use ParagraphList_fwd.h rather than
2231 * paragraph.h: don't forward declare ParagraphList.
2234 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2235 rather than ParagraphList.h. paragraph.h is still needed for the
2236 Paragraph::depth_type parameters.
2238 * textcursor.h: enable it to compile stand-alone in light of the
2241 * bufferview_funcs.C:
2253 * frontends/controllers/ControlParagraph.C:
2254 * frontends/controllers/ControlTabular.C:
2255 * insets/insetmarginal.C:
2256 * insets/insetminipage.C:
2257 * insets/insetnote.C:
2258 * insets/insetoptarg.C: add header files needed to compile again.
2260 2003-09-06 Angus Leeming <leeming@lyx.org>
2262 * RowList_fwd.h: new file, forward-declaring Row rather than
2263 #including lyxrow.h.
2268 * insets/insettext.h: use it instead of RowList.h
2270 * bufferview_funcs.C:
2277 * text3.C: #include "RowList.h".
2279 2003-09-05 Angus Leeming <leeming@lyx.org>
2281 * factory.C (createInset):
2282 * vspace.C (c-tor): replace sscanf call with an istringstream.
2283 * ispell.C: re-add missing HP/UX headers.
2284 * lyxserver.C: re-add missing os2 headers.
2286 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2295 * text3.C: re-add missing system headers, needed for 2.95.2.
2297 2003-09-05 Angus Leeming <leeming@lyx.org>
2299 Changes most place everywhere due to the removal of using directives
2300 from support/std_sstream.h.
2302 2003-09-05 Angus Leeming <leeming@lyx.org>
2304 Replace LString.h with support/std_string.h,
2305 Lsstream.h with support/std_sstream.h,
2306 support/LIstream.h with support/std_istream.h,
2307 support/LOstream.h with support/std_ostream.h.
2309 Changes resulting throughout the tree.
2311 2003-09-05 Angus Leeming <leeming@lyx.org>
2313 * sgml.h: ensure that the header file can be compiled stand-alone.
2314 * *.C: strip out redundant #includes. (320 in total.)
2316 2003-09-04 Angus Leeming <leeming@lyx.org>
2318 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2319 here (from getPackages).
2321 * debug.[Ch]: add a new EXTERNAL tag.
2323 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2325 * text2.C (cursorEnd): simplify
2327 (getColumnNearX): adjust
2329 * text.C (computeBidiTables): adjust
2332 * rowpainter.C (paintChars): adjust
2333 (paintSelection): adjust
2334 (paintChangeBar): adjust
2337 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2339 (numberOfSeparators): adjust
2341 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2347 * text3.C: Restricts the mouse click functionality
2348 of insets like bibtex, include, toc and floatlist to the visible
2349 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2350 up the dialogs. Cursor has to be in front of the inset (i.e.
2351 start of row) for this to function.
2353 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2355 * bufferview_funcs.C (currentState): output row information
2357 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2359 * bufferview_funcs.C (currentState): output paragraph position
2361 2003-09-04 Angus Leeming <leeming@lyx.org>
2363 * FloatList.h: move out #include "Floating.h".
2364 * LaTeX.h: move out #include "DepTable.h".
2365 * LyXAction.h: move out #include "funcrequest.h".
2366 * buffer.h: move out #include "author.h", "iterators.h".
2367 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2368 * lyx_main.h: move out #include "errorlist.h".
2369 * lyxfunc.h: move out #include "FuncStatus.h".
2370 * lyxtext: move out #include "lyxcursor.h".
2371 * paragraph_pimpl.h: move out #include "counters.h".
2373 2003-09-03 Angus Leeming <leeming@lyx.org>
2375 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2376 preamble_snippets list, enabling us to add snippets to the preamble
2377 only if the snippet was not there already.
2379 2003-09-04 Angus Leeming <leeming@lyx.org>
2381 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2383 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2388 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2390 * BranchList.C: point fix, earlier forgotten
2392 2003-09-02 Angus Leeming <leeming@lyx.org>
2394 * box.C (contains): renamed from 'contained' after a fantastic
2397 2003-09-02 John Levon <levon@movementarian.org>
2403 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2405 2003-09-02 John Levon <levon@movementarian.org>
2407 * text2.C: simplification of cursorEnd(), including partial
2410 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * buffer.C (readFile): add a space
2414 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2416 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2418 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * buffer.C (readFile): new function, take a filename and a
2421 ParagraphList::iterator
2423 (readFile): adjust, make it private. don't use setStream, make
2424 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2425 always contain the filename.
2427 * BufferView.C (insertLyXFile): simplify and make it work for
2430 2003-08-30 John Levon <levon@movementarian.org>
2432 * Makefile.am: fix dist (from Kayvan)
2434 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * most files: change to use const Buffer refs
2438 2003-08-27 André Pönitz <poenitz@gmx.net>
2440 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2441 on top of ownerPar().
2443 2003-08-27 John Levon <levon@movementarian.org>
2445 * funcrequest.C: properly initialise POD members
2447 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2449 * lyxtext.h (top_y): move top_y from here
2454 * BufferView_pimpl.[Ch]: to here
2455 * frontends/screen.C:
2456 * insets/insettabular.C:
2457 * insets/insettext.C: adjust
2458 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2460 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2463 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2465 2003-08-26 André Pönitz <poenitz@gmx.net>
2467 * paragraph_func.[Ch] (outerPar): new function
2470 * paragraph_funcs.C:
2471 * paragraph_funcs.h:
2472 * paragraph_pimpl.C:
2473 * text2.C: remove Inset::par_owner
2475 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2480 * text2.C: eliminates the needFullRow/display() stuff
2481 altogether, putting the logic in metrics/draw in the insets.
2483 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2485 * text2.C (redoParagraphInternal, redoParagraphs):
2486 * text.C (redoParagraph): add a call to updateRowPositions at the
2487 end of each 'metrics-like' call. Remove all others.
2488 (getRow): remove the 'y-computing' version.
2489 (getRowNearY): do not compute nor return the real y. Solve the
2490 'y < 0' problem and simplify.
2492 2003-08-22 Angus Leeming <leeming@lyx.org>
2494 * *.[Ch]: clean-up of licence and author blurbs.
2495 Also move config.h out of a few .h files and into a few .C files.
2497 2003-08-22 André Pönitz <poenitz@gmx.net>
2499 * lyxrow.[Ch]: add x_ and *fill_ members
2504 * text2.C: adjust/remove prepareToPrint() calls
2506 2003-08-22 André Pönitz <poenitz@gmx.net>
2508 * lyxrow.[Ch]: add end_ member
2510 * lyxrow_funcs.C: use LyXRow::end_
2512 * lyxtext.h (singleWidth): add LyXFont parameter
2515 * text2.C: adjust LyXText::singleWidth() calls
2517 * text.C (redoParagraph): simplify row breaking logic
2520 2003-08-19 André Pönitz <poenitz@gmx.net>
2522 * funcrequest.C: initialize button_ member
2525 * rowpainter.[Ch]: interface consolidation
2527 2003-08-18 André Pönitz <poenitz@gmx.net>
2530 * BufferView_pimpl.C:
2532 * paragraph_funcs.C:
2534 * text3.C: remove LyXScreen::draw() and fitCursor calls
2536 * BranchList.h: remove spurious semicolons
2538 * MenuBackend.C: fix branchlist related crash
2540 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2548 * bufferparams.[Ch]:
2552 * text3.C: implements the 'branch inset'
2553 idea. This allows the output of various versions of a document
2554 from a single source version, selectively outputing or suppressing
2555 output of parts of the text.
2556 This implementation contains a 'branch list editor' in a separate
2557 tab of the document settings dialog. Branches are user definable
2558 and have a "display colour" to distinguish them on-screen.
2560 ColorHandler was somewhat cleaned up.
2561 (1) make possible a dynamically growing LColor list by allowing
2562 the graphic context cache to grow along (vector);
2563 (2) eliminate an IMHO unnecessary step in colour allocation.
2565 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2567 * BufferView_pimpl.C: compile fix
2569 2003-08-15 André Pönitz <poenitz@gmx.net>
2571 * rowpainter.C: remove extra metrics calls
2573 * lyxtext.h: merge the two constructors into a single one,
2574 pass reference to owner's par list
2576 * BufferView_pimpl.C:
2580 2003-08-15 André Pönitz <poenitz@gmx.net>
2582 * lyxrow_funcs.[Ch]:
2585 * paragraph_funcs.C:
2590 * text_funcs.C: split LyXText::rowlist_ into individual
2591 Paragraph::rows_ chunks
2594 * BufferView_pimpl.[Ch]:
2597 * text3.C: remove toggleSelection()
2599 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2601 * bufferlist.C: beautify two alerts (shorter text of buttons)
2602 * buffer.C: Remove redundant ' ' from message
2604 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2605 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2606 rename VALIGN_CENTER to VALIGN_MIDDLE
2608 2003-08-11 André Pönitz <poenitz@gmx.net>
2610 * lyxtext.h (getPar):
2611 * text.C: new function
2613 2003-08-11 André Pönitz <poenitz@gmx.net>
2616 * tracer.[Ch]: remove unneeded files
2618 * InsetList.[Ch]: remove resizeInsetsLyXText()
2623 * text3.C: merge insertParagraphs() and appendParagraph()
2624 remove breakAgain(), update()
2626 * BufferView_pimpl.[Ch]:
2627 * bufferview_funcs.[Ch]:
2631 * tabular.C: adjust after text & InsetList changes.
2633 2003-08-08 André Pönitz <poenitz@gmx.net>
2635 * text.C (insertChar, backspace): replace rowlist fiddling
2636 with rebreak of full par
2639 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2640 checkParagraph, updateInset): removed
2642 2003-08-07 André Pönitz <poenitz@gmx.net>
2645 * text3.C: merge some LFUN handlers, remove dead code
2647 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2651 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2653 * text2.C (DEPM): fix part of bug 1255 and 1256
2655 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * BufferView_pimpl.C (workAreaDispatch): change to use
2658 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2659 that are no mouse related.
2661 2003-08-05 André Pönitz <poenitz@gmx.net>
2664 * BufferView_pimpl.[Ch]:
2665 * bufferview_funcs.C:
2667 * text3.C: rip out "deep update"
2669 * textcursor.[Ch] (last_sel_cursor): remove unused member
2671 2003-08-04 André Pönitz <poenitz@gmx.net>
2674 * BufferView_pimpl.[Ch]:
2675 * ParagraphParameters.C:
2676 * bufferview_funcs.C:
2682 * text3.C: replace "complicated" BufferView::update(...) calls with
2685 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2687 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2689 * Makefile.am (lyx_SOURCES): add paper.h
2691 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2693 * Makefile.am: move things around so that both lyx-qt and
2694 lyx-xforms can be built (according to --with-frontend). Then lyx
2695 is a symbolic link to lyx-[firstfrontend]
2697 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2699 * Always use std::endl with lyxerr
2701 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2703 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2705 2003-08-01 André Pönitz <poenitz@gmx.net>
2708 * BufferView_pimpl.[Ch]:
2710 * text3.C: merge BufferView::repaint() and BufferView::update()
2712 2003-08-01 José Matos <jamatos@lyx.org>
2714 * buffer.[Ch]: file_format is no longer a buffer data element.
2716 2003-08-01 André Pönitz <poenitz@gmx.net>
2721 * text2.C: make redoParagraph more independent of current cursor
2723 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2725 * text2.C: remove unneeded members
2727 2003-07-30 André Pönitz <poenitz@gmx.net>
2729 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2731 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2732 create a single function...
2734 * paragraph_funcs.C (moveItem): ... here.
2737 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2739 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2741 * LColor.[Ch]: Add comment and greyedout logical colors.
2743 2003-07-30 André Pönitz <poenitz@gmx.net>
2745 * tabular.C: don't use Assert too heavily. This crashes where it
2748 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2750 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2751 is disabled (bug 1232)
2753 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2755 * factory.C: limited 'arg' scope
2757 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2759 * factory.C: fixed Note submenu issues
2761 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2763 * factory.C: submenu for Note/Comment/Greyedout
2765 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2768 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2770 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2773 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2774 greyedout. Patch provided by Jürgen Spitzmüller.
2776 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2778 * kbmap.C (read): fix error message when reading bind files
2780 2003-07-29 Angus Leeming <leeming@lyx.org>
2782 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2783 certainly does not do what it purports to do. I am doing it, and
2784 us, a favour by killing it.
2786 2003-07-28 José Matos <jamatos@lyx.org>
2788 * buffer.C (readBody, do_writeFile):
2789 * paragraph.C(readParagraph): \end_document replaces \the_end.
2791 2003-07-29 André Pönitz <poenitz@gmx.net>
2794 * BufferView_pimpl.[Ch]:
2798 * textcursor.[Ch]: remove toggleToggle & Co
2800 2003-07-28 José Matos <jamatos@fep.up.pt>
2802 * buffer.C (readParagraph):
2803 * params_func (readParToken, readParagraph):
2804 * paragraph.C (write): \layout -> \begin_layout.
2806 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * lyxlex_pimpl.C (setFile): clean up slightly.
2810 * bufferparams.h: add compressed var
2812 * buffer_funcs.C (readFile): adjust for LyXLex change
2813 (newFile): ditto + simplify
2815 * buffer.C (writeFile): handle writing of compressed files
2817 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2818 Check if the file is compressed and set a bufferparm if so.
2820 * Makefile.am (lyx_LDADD): remove explicit -lz
2822 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2824 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2825 makeDocBookFile): put the real LyX version in the first line of
2829 * version.C.in: remove lyx_docversion
2831 * tabular.C (write_attribute): add a template-based version to
2832 write enums properly
2834 2003-07-28 André Pönitz <poenitz@gmx.net>
2839 * text3.C: use doubles again for x-coordinates. They are needed.
2841 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * messages.C (getLocaleDir): use lyx_localedir()
2845 * lyxlex_pimpl.C (setFile): compress stuff
2847 * buffer.C (writeFile): add some compression stuff
2848 (do_writeFile): new func, dont call expliti close... will this
2851 * Makefile.am (lyx_LDADD): add -lz
2853 2003-07-28 José Matos <jamatos@fep.up.pt>
2855 * buffer.C: increment file format.
2856 * paragraph_funcs (readParagraph, readParToken):
2857 * paragraph.C (readParagraph): add \end_layout.
2859 2003-07-27 Angus Leeming <leeming@lyx.org>
2861 * Makefile.am: remove special casing for configure-time setting of
2862 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2864 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2865 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2867 2003-07-26 André Pönitz <poenitz@gmx.net>
2869 * paragraph_func.[Ch]:
2870 * paragraph.C (realizeFont): inline it whereever it is used
2875 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2878 2003-07-26 André Pönitz <poenitz@gmx.net>
2882 * text2.C: get rid of LyXText::need_break_row
2884 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * toc.[Ch]: put namespace toc inside namespace lyx
2888 * MenuBackend.C (expandToc2): adjust for lyx::toc
2891 * lyxfunc.C (dispatch): adjust for lyx::find
2893 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2894 lyx::find instead. Reorganize a bit.
2895 (LyXReplace): rename to replace
2896 (LyXFind): rename to find
2898 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2901 2003-07-26 André Pönitz <poenitz@gmx.net>
2903 * text.C (setHeightOfRow): restrict scope of temporary variable
2905 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2906 code (never has been used?)
2908 2003-07-27 Asger Alstrup <alstrup@local>
2910 * text.C (fill): Optimise algorithm to exploit that we can reuse
2911 the LyXFont for many characters.
2912 (setHeightOfRow): Same thing.
2913 (rowBreakPoint): Same thing.
2915 2003-07-26 Asger Alstrup <alstrup@local>
2917 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2919 * text.C (singleWidth): Spurious font copying in hot-spot
2920 singleWidth avoided. Reorder tests for arabic for efficiency.
2922 * text.C (fill): handle empty paragraphs better.
2924 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2927 * encoding.h: add includes
2929 * lyxrc.C: remove reading of bind files
2931 * lyx_main.C (init): setup bindings and menus only if we have a
2934 * kbmap.C (read): new method. Do the actual reading of bind
2937 * converter.C (dvipdfm_options):
2940 (output): adapt PAPER_* enums.
2942 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2944 * bufferparams.h: remove paper-related enums from there
2946 * paper.h: New file. A trivial header file to hold paper-related
2947 enums. It should later expand to contain many paper-related
2950 * lyxrc.C: declare extern displayTranslator
2952 2003-07-27 José Matos <jamatos@fep.up.pt>
2954 * tabular.[Ch] (linuxdoc): add support for tables and figures
2957 2003-07-27 José Matos <jamatos@fep.up.pt>
2959 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2960 consistency in both functions.
2961 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2963 2003-07-26 Asger Alstrup <alstrup@local>
2965 * rowpainter.C (paintRows): Change algorithm to work directly on
2966 the insets rather than asking every character in the document
2967 whether its an inset.
2969 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2971 * buffer.C (openFileWrite): factorize some code
2973 2003-07-26 Angus Leeming <leeming@lyx.org>
2976 * lyx_main.[Ch]: replace occurances of system_tempdir with
2979 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2981 * rename Inset to InsetOld
2983 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2985 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2986 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2987 which I think is a bit clearer. EDIT is gone, since it was
2988 premature optimisation, and broken for mathed anyway.
2989 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2990 with cursor positioning in insets as well (math insets still do not
2991 work, but that's a different story anyway.) It mysteriously
2992 crashes sometimes with undo in the first paragraph, but I'm fairly
2993 confident that this is a compiler bug.
2995 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * paragraph.C (Paragraph): adjust for new clone return type
2999 (copyIntoMinibuffer): ditto
3001 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3003 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3004 by not having a special case, and always doing a full rebreak of
3005 the document after undo.
3007 2003-07-23 Angus Leeming <leeming@lyx.org>
3009 * factory.C (createInset): InsetExternal::setParams now takes a
3012 2003-07-23 Angus Leeming <leeming@lyx.org>
3014 * factory.C (createInset): changed interface to the external and
3015 graphics mailers' string2params functions.
3017 2003-07-23 Angus Leeming <leeming@lyx.org>
3019 * factory.C (createInset): pass a
3020 Buffer const * parameter to InsetExternalMailer's string2params.
3022 2003-07-22 John Levon <levon@movementarian.org>
3024 * Thesaurus.h: include the right aiksaurus header
3026 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3028 * MenuBackend.C (expand): check menu shortcuts unconditionally
3030 2003-07-21 Angus Leeming <leeming@lyx.org>
3032 * factory.C (createInset): pass a
3033 buffer_path parameter to InsetGraphicsMailer's string2params.
3035 2003-07-21 Angus Leeming <leeming@lyx.org>
3037 * BufferView_pimpl.C (buffer):
3040 * lyxfunc.C (dispatch):
3041 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3042 rather than the grfx shortcut.
3044 2003-07-21 André Pönitz <poenitz@gmx.net>
3046 * rowpainter.C: remove unused variables
3049 * tabular_funcs.h: move to tabular.C
3050 * Makefile.am: adjust
3052 * tabular.[Ch]: basic optical cleaning
3054 * author.h: pass references, not values
3056 2003-07-18 André Pönitz <poenitz@gmx.net>
3064 * text3.C: two-phase drawing for InsetText and InsetTabular
3065 some float -> int changes.
3067 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3069 * lyx_main.C: fix the fix
3071 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3073 * lyx_main.C: fix a crash in batch mode if no files specified
3076 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3078 * format.[Ch] (papersize): moved to BufferParams
3079 * converter.[Ch] (dvips_options): moved to BufferParams
3080 (dvipdfm_options): moved to anon namespace
3081 * bufferparams.[Ch]: added above functions.
3083 2003-07-17 André Pönitz <poenitz@gmx.net>
3087 * text2.C: don't call inset->update() anymore
3089 * metricsinfo.[Ch]: add convenience constructor
3091 2003-07-16 André Pönitz <poenitz@gmx.net>
3096 * text2.C: replace the LyXCursor::irow_ member with
3097 on-demand computation of the value
3099 2003-07-16 John Levon <levon@movementarian.org>
3101 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3103 2003-07-15 André Pönitz <poenitz@gmx.net>
3106 * text2.C: remove no more needed refresh_row
3108 2003-07-15 André Pönitz <poenitz@gmx.net>
3113 * text3.C: refresh_status tristate -> need_update bool
3115 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3117 * lyxtext.h (init): remove reinit argument (act as if always true)
3118 * text2.C: adjust to that
3120 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3122 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3123 * text3.C: use it to delete selections in some cases
3124 (bugs 441, 673, 702, 954).
3126 2003-07-14 André Pönitz <poenitz@gmx.net>
3128 * rowpainter.[Ch]: reduce interface
3130 2003-07-14 André Pönitz <poenitz@gmx.net>
3132 * BufferView_pimpl.C:
3133 * text2.C: adjust after removing unused BufferView * argument
3135 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3137 * text2.C (init): fix a crash fired on resize
3139 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3141 * buffer.[Ch]: added new closing signal
3142 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3143 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3144 BufferView::Pimpl via the closing the signal
3146 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3148 * buffer.[Ch]: take out all bv-related from buffer
3150 * BufferView_pimpl.[Ch]: connect to new signals
3151 * CutAndPaste.C: removed useless asserts
3152 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3155 * lyxfunc.C: moved view-related funciontality from vc here
3156 * paragraph.C: removed outdated comments
3159 2003-07-10 André Pönitz <poenitz@gmx.net>
3161 * BufferView_pimpl.C:
3165 * text2.C: remove InsetText::InnerCache, clean up consequences
3167 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3169 * ispell.C: fix two typos in error messages
3171 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3173 * Extend Note inset to other forms of annotation like Comment
3174 and Greyedout. Right button click gives dialog.
3176 Files modified or added (+):
3180 * ControlNote.[Ch] +
3182 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3183 frontends/controllers
3187 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3189 * aspell.C: add missing namespace lyx::support
3191 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3193 * BufferView.[Ch] (newFile): Add
3194 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3195 * LaTeX.[Ch] (message): added this signal and use it
3196 * buffer.[Ch] (busy, message): added these signals and use them
3197 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3201 * importer.C: use buffer signals instead of direct bv calling
3202 * lyx_cb.[Ch] (ShowMessage): removed
3205 * paragraph_funcs.C:
3206 * text2.C: use buffer signals
3208 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * introduce namespace lyx::graphics
3212 2003-07-02 André Pönitz <poenitz@gmx.net>
3214 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3216 2003-07-01 André Pönitz <poenitz@gmx.net>
3223 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3224 text*.C to text_func.C
3226 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * introduce namespace lyx::support
3230 2003-06-30 André Pönitz <poenitz@gmx.net>
3235 * text.C: re-enable --with-included-string
3237 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * textcursor.C: add <config.h>
3241 * text.C (getWord): remove const from word_location arg
3243 * lyxvc.C (getLogFile): fix const type order
3245 * lyxtext.h: remove const from word_location arg, add arg name
3247 * lyxlayout.h: currect type on labeltype.
3249 * importer.C: correct \file
3251 * converter.C (intToFormat): use std:: on ret val, ws changes
3253 * bufferlist.h: correct \file
3255 * buffer.C (makeLinuxDocFile): fix const type order
3256 (makeDocBookFile): ditto
3257 (fillWithBibKeys): use std:: on stdlib args.
3259 * CutAndPaste.C: fix authors.
3260 (availableSelections): use std:: on return vector
3262 2003-06-27 André Pönitz <poenitz@gmx.net>
3264 * BufferView_pimpl.C:
3265 * bufferview_funcs.C:
3273 * text3.C: remove LyXCursor::row_ member
3276 * text.C: rename fullRebreak() to partialRebreak() and implement
3277 a fullRebreak() that really bereks fully
3279 * textcursor.h: new struct for cursor-related data
3281 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3283 * lyx_main.C (LyX): get full path of document loaded on the
3286 2003-06-26 André Pönitz <poenitz@gmx.net>
3288 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3289 remove unused/broken operator>,<,>=.
3291 * text.C: remove only use of broken operator<= in an Assert().
3293 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3295 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3296 moved errorlist_.clear to showErrorList
3298 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3300 * converter.C (scanLog, runLaTeX):
3301 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3302 move the bv->showErrorList call to the callers
3303 * lyxfunc.C: i.e. here...
3305 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3306 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3307 namespace, the second to...
3308 * buffer_funcs (BufferFormat, parseErrors): added
3309 * errorlist.C (ErrorList(TeXErrors const &)): removed
3311 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3313 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3315 2003-06-24 "Garst R. Reese" <reese@isn.net>
3319 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3321 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3323 * version.C.in: change docversion to 1.4
3325 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3327 * buffer.C: fix a bug just introduced
3329 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3331 * buffer.[Ch]: added the parseError signal and use it, removed
3333 * BufferView.[Ch] (addError): moved to ...
3334 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3335 to the Buffer::parseError signal to catch (guess what) parse errors
3336 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3338 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3340 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3341 ability to create a buffer and to return an existing one from
3342 the list. Moved these functions to...
3343 * buffer_funcs.[Ch]: added
3344 * BufferView.[Ch] (loadLyXFile): added
3345 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3346 job removed from bufferlist::loadLyXFile.
3347 * buffer.C (setReadOnly): make it work without view
3348 (i.e added an if (users))
3350 2003-06-19 Angus Leeming <leeming@lyx.org>
3353 * LyXAction.C (init):
3354 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3355 with LFUN_DIALOG_SHOW <name> <data>.
3357 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3359 * CutAndPaste.C (availableSelections): small compilation fix for
3360 ancient (gcc 2.9x) compilers
3362 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * text3.C (cursorNext): add tmp var
3366 * text2.C (updateCounters): for function calling out of for clause
3367 (replaceSelectionWithString): ditto
3368 (insertStringAsParagraphs): ditto
3369 (getColumnNearX): add tmp var
3370 (setCursorFromCoordinates): add tmp var
3371 (cursorDownParagraph): add tmp var
3372 (deleteEmptyParagraphMechanism): add tmp var
3374 * text.C (insertChar): add tmp var
3376 * rowpainter.C (paintDepthBar): add tmp var
3378 * CutAndPaste.C (availableSelections): potentially check all
3379 paragraphs in a cut to fill the shown strings.
3381 2003-06-18 André Pönitz <poenitz@gmx.net>
3383 * kbmap.[Ch]: use vector<> instead of list<>
3385 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3387 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3388 pasteSelection with index
3390 * text2.C (pasteSelection): modify, call pasteSelection with index
3392 * paragraph.C (asString): reimplement version with no interval to
3393 call the one with interval.
3395 * lyxtext.h: add index arg to pasteSelection
3397 * MenuBackend.C (MenuItem): handle PasteRecent
3398 (Menu::read::Menutags): add md_pasterecent
3400 (expandPasteRecent): new function
3403 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3405 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3407 (availableSelections): new function
3409 2003-06-17 Angus Leeming <leeming@lyx.org>
3411 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3413 2003-06-17 Angus Leeming <leeming@lyx.org>
3416 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3418 * lyxfunc.C (dispatch): invoke it.
3420 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3422 * iterators.C (operator++, ParPosition): reintroduce some
3423 const_cast for the benefit of older compilers.
3425 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3427 * text3.C (dispatch): do not modify clipboard when doing
3428 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3429 LFUN_DELETE_SKIP on a selection selection
3431 2003-06-16 André Pönitz <poenitz@gmx.net>
3437 * tabular.[Ch]: IU of clone() and getLabelList();
3439 2003-06-13 André Pönitz <poenitz@gmx.net>
3441 * tabular.h: compactification
3443 2003-06-12 André Pönitz <poenitz@gmx.net>
3447 * tabular_funcs.h: some renaming plus whitespace
3449 2003-06-12 André Pönitz <poenitz@gmx.net>
3452 * BufferView_pimpl.C:
3458 * toc.C: Return a Paragraph & for ParIterator::operator*()
3460 2003-06-11 John Levon <levon@movementarian.org>
3464 * ToolbarBackend.C: add "Toolbars" section and
3467 2003-06-10 Angus Leeming <leeming@lyx.org>
3470 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3472 * lyxfunc.C (dispatch): invoke it.
3474 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * main.C: protect <ios> with HAVE_IOS
3477 (main): protect sync_with_stdio with HAVE_IOS
3479 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3481 * text2.C (cutSelection): adjust
3482 (pasteSelection): adjust
3484 * messages.C: handle get of empty string
3486 * main.C (main): use sync_with_stdio(false)
3488 * lyxfunc.C (dispatch): adjust
3490 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3491 (WriteAs): remove unneeded BufferView arg.
3493 * bufferparams.h: use correct types on papersize, papersize2 and
3496 * bufferparams.C (readToken): adjust for type
3497 (writeLaTeX): add missing cases to switch.
3499 * bufferlist.C (quitWriteBuffer): adjust
3502 * buffer.C (asciiParagraph): remove some commented code.
3504 * CutAndPaste.C: remove current_view extern variable.
3505 (cutSelection): add BufferParams arg.
3506 (eraseSelection): add BufferParams arg.
3507 (pasteSelection): add Buffer const & arg
3509 2003-06-07 John Levon <levon@movementarian.org>
3512 * paragraph_funcs.C:
3513 * paragraph_pimpl.C:
3517 * paragraph.C: allow InsetERT to freely space lines,
3518 and some consolidation of code
3520 2003-06-06 José Matos <jamatos@fep.up.pt>
3522 * buffer.C (makeDocBookFile): fix bug #821
3524 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3526 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3528 2003-06-04 Angus Leeming <leeming@lyx.org>
3530 * buffer.C: bump format to 224.
3532 2003-06-05 André Pönitz <poenitz@gmx.net>
3534 * text2.C (redoParagraphs): remove two const_cast<>
3536 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3538 * ParagraphList.h: remove last remnants of NO_STD_LIST
3540 2003-06-03 Angus Leeming <leeming@lyx.org>
3542 * factory.C (createInset): small change to the way InsetExternal's params
3545 2003-06-04 André Pönitz <poenitz@gmx.net>
3547 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3549 * paragraph_pimpl.h:
3550 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3552 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3554 * undo_funcs.C: make some simple cases of undo work again
3556 2003-06-03 John Levon <levon@movementarian.org>
3558 * ispell.C: HPUX doesn't have sys/select.h
3561 2003-06-03 John Levon <levon@movementarian.org>
3563 * CutAndPaste.C: update tabular and include inset
3568 * paragraph.C: remove owningBuffer(), don't pass Buffer
3571 * factory.C: insetGraphicsParams changed
3573 2003-06-02 John Levon <levon@movementarian.org>
3579 * text3.C: remove insetparent
3581 2003-06-02 John Levon <levon@movementarian.org>
3584 * buffer.C: fix inset_iterator.end(), move out of line
3587 2003-06-01 John Levon <levon@movementarian.org>
3589 * text3.C: use a proper cut/paste when doing inset
3590 insert (from Jürgen Spitzmüller)
3592 2003-06-01 John Levon <levon@movementarian.org>
3594 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3596 2003-05-30 André Pönitz <poenitz@gmx.net>
3598 * rowpainter.C: unify second drawing phase
3600 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * trans_mgr.C: remove one case of current_view
3604 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3606 * paragraph_funcs.h: remove paragraph.h include
3608 * paragraph.h: delete NO_STD_LIST stuff
3610 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3612 * buffer.h: remove paragraph.h include
3614 * ParagraphList.C: delete file
3616 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3618 * toc.C (getTocList): adjust
3620 * paragraph_pimpl.C (validate): adjust
3622 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3624 * paragraph.C (Paragraph): adjust
3625 (getPositionOfInset): use const_iterator, adjust
3626 (bibitem): use const_iterator, adjust
3627 (setInsetOwner): adjust
3629 * iterators.C (operator++): adjust
3631 * InsetList.[Ch]: Replace selfmade iterator with standard
3632 vector::iterator also introduce const_iterator. Remove getPos,
3633 getInset and setInset from InsetTable. Adjust accordingly.
3635 * BufferView.C (lockInset): adjust
3636 (ChangeInsets): adjust
3638 * tabular.[Ch]: delete commented same_id functions
3640 2003-05-28 John Levon <levon@movementarian.org>
3642 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3644 2003-05-28 André Pönitz <poenitz@gmx.net>
3646 * metricsinfo.[Ch]: remove 'fullredraw' member
3648 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3650 * lyxtextclass.C (operator): remove caching.
3652 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * text2.C (cursorBottom): adjust
3657 (setCounter): use ParagraphList::find, adjust
3659 * text.C (workWidth): use ParagraphList::find, adjust
3661 * lyxcursor.C (LyXCursor): adjust
3663 * buffer.C (inset_iterator): adjust
3665 * ParagraphList.h: make iterator(value_type) private, make
3666 ParagraphList a friend of iterator.
3668 * ParagraphList.C (find): new function
3670 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3672 2003-05-27 André Pönitz <poenitz@gmx.net>
3674 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3676 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3678 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3680 2003-05-26 John Levon <levon@movementarian.org>
3682 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3684 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * remove same_id from function signatures, adjust.
3688 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3692 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3694 * paragraph.C (Paragraph): get rid of same_ids parameter
3696 * ParagraphList.C (insert): adjust
3699 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * paragraph_funcs.C (breakParagraph): adjust
3702 (breakParagraphConservative): adjust
3704 * buffer.C (readParagraph): adjust
3706 * ParagraphList.C (insert): take a reference instead of a pointer
3709 * paragraph.[Ch] (id): new function
3711 * bufferlist.C (newFile): adjust
3713 * ParagraphList.C (ParagraphList): adjust
3715 (push_back): take a reference instead of a pointer.
3717 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3719 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3722 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3723 set else use old code.
3725 * ParagraphList.C: remove all NO_NEXT code and only compile this
3726 code of NO_STD_LIST is set.
3728 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3730 * BufferView_pimpl.C:
3740 * graphics/GraphicsConverter.C:
3741 * graphics/PreviewLoader.C: header adjustment
3743 2003-05-23 Angus Leeming <leeming@lyx.org>
3745 * LaTeXFeatures.[Ch] (useBabel): new method.
3746 * bufferparams.C (writeLaTeX): use it.
3748 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * ParagraphList.h (set): remove unused function.
3752 2003-05-23 André Pönitz <poenitz@gmx.net>
3755 * BufferView_pimpl.C:
3759 * undo_funcs.C: setUndo reworked
3761 * iterators.[Ch]: add access to topmost ParagraphList
3763 * lyxtext.[Ch] (workWidth): add a const
3765 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3767 * texrow.[Ch] (increasePos): remove function
3768 * exporter.C (export): removed unused var and outdated comment
3770 2003-05-23 Angus Leeming <leeming@lyx.org>
3772 * latexrunparams.h: rename fragile as moving_arg.
3773 * paragraph.C (simpleTeXOnePar): ditto.
3774 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3776 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3780 (textUndoOrRedo): comment out a currently unused var.
3782 * paragraph.h (NO_NEXT): enable NO_NEXT
3784 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3786 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3788 * exporter.C (Export): adjust for removeAutoInsets removal.
3790 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3792 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3794 * BufferView.[Ch] (removeAutoInsets): delete function
3796 2003-05-22 Angus Leeming <leeming@lyx.org>
3798 * latexrunparams.h: add a free_spacing variable.
3800 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3801 to pass moving_arg, as the data is stored in runparams.fragile.
3803 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3804 to Inset::latexOptional or to simpleTeXOnePar.
3806 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3807 free_spacing arg to Inset::latexOptional.
3809 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3812 2003-05-22 Angus Leeming <leeming@lyx.org>
3814 * latexrunparams.h: add fragile and use_babel variables.
3816 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3817 * buffer.C (makeLaTeXFile): store this returned value in
3818 runparams.use_babel, thus passing it to the inset::latex methods.
3820 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3821 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3823 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3824 longer has a fragile arg, as it is stored in runparams.fragile.
3826 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3827 moving_arg parameter as the data is stored in runparams.fragile.
3829 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3830 a fragile parameter as the data is stored in runparams.fragile.
3832 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3836 2003-05-22 Angus Leeming <leeming@lyx.org>
3838 * latexrunparams.h: add a 'bool nice' which defaults to false.
3840 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3841 now encapsulated within runparams.
3843 * bufferlist.C (updateIncludedTeXfiles):
3844 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3846 2003-05-22 Angus Leeming <leeming@lyx.org>
3848 * latexrunparams.h: new file containing struct LatexRunParams.
3849 * Makefile.am: add new file.
3851 * LaTeX.[Ch] (c-tor, run):
3852 * buffer.[Ch] (makeLaTeXFile):
3853 * bufferlist.[Ch] (updateIncludedTeXfiles):
3854 * converter.C (convert, scanLog):
3855 * converter.[Ch] (runLaTeX):
3856 * exporter.C (Export):
3857 * paragraph.[Ch] (simpleTeXOnePar):
3858 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3859 * paragraph_funcs.[Ch] (latexParagraphs):
3860 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3862 pass around a LatexRunParams parameter.
3864 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * paragraph.[Ch]: remove unused constructor
3868 * ParagraphList.C (erase): new function, taking two iterators
3870 2003-05-22 André Pönitz <poenitz@gmx.net>
3872 * undo_funcs.C: remove duplicated code
3874 * iterator.[Ch]: operator=
3876 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * tabular.C (SetMultiColumn): ws changes
3880 * rowpainter.C (paintFirst): get rid of a ->previous
3882 * lyx_cb.C (getPossibleLabel): parlist simplification
3884 * BufferView.C (ChangeInsets): simplify slightly.
3886 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3888 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3889 * lfuns.h: new LFUN_SPACE
3890 * lyxfunc.C: protected space has a new lfun
3891 * paragraph_funcs.C: read new space insets
3893 * factory.C: handle new space insets
3895 2003-05-22 André Pönitz <poenitz@gmx.net>
3898 * BufferView_pimpl.C:
3901 * undo_funcs.C: return a ParIterator from getParFromID.
3903 * iterators.[Ch]: add two const's
3905 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * toc.C (getTocList): adjust
3909 * iterators.[Ch]: rework for parlist
3911 * buffer.C (par_iterator_begin): adjust
3912 (par_iterator_end): adjust
3914 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3916 * BufferView.C (removeAutoInsets): adjust
3917 (ChangeInsets): adjust
3919 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3921 * text.C (top_y): fix bug 1110
3923 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3925 * errorlist.[Ch]: added
3928 * BufferView_pimpl.C:
3929 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3932 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * Makefile.am: ensure that lyx is relinked upon changes to the
3935 various "convenience" libs.
3937 2003-05-20 Angus Leeming <leeming@lyx.org>
3939 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3940 files are compiled in alphabetical order again.
3942 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3944 2003-05-19 Angus Leeming <leeming@lyx.org>
3946 * gettext.[Ch]: remove "char const * _(char const *)".
3948 2003-05-19 André Pönitz <poenitz@gmx.net>
3950 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3959 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3961 2003-05-19 André Pönitz <poenitz@gmx.net>
3965 * lyxtextclass.[Ch]:
3967 * paragraph_funcs.[Ch]:
3969 * text3.C: more insetenv work
3971 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3973 * ParagraphParameters.C (params2string): small bug fixed
3975 2003-05-16 André Pönitz <poenitz@gmx.net>
3978 * bufferview_funcs.C: patch from Kornel Benko to prevent
3979 crash when _(...) is called twice in a statement
3981 2003-05-16 André Pönitz <poenitz@gmx.net>
3988 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3990 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3992 * lyx_main.C (init): remove spurious static_cast
3994 2003-05-14 André Pönitz <poenitz@gmx.net>
3996 * BufferView.C: fix format string
3998 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4000 * BufferView.[Ch] (insertErrors): removed
4001 * BufferView.[Ch] (showErrorList): added
4002 * buffer.C (runChkTeX):
4003 * converter.C (scanLog): call showErrorList instead of inserterrors
4005 2003-05-13 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C:
4009 * bufferview_func.C:
4016 * tabular_funcs.h: tostr() from its own header
4018 * ParagraphParameters.C:
4023 * text3.C: STRCONV()
4025 2003-05-12 André Pönitz <poenitz@gmx.net>
4028 * BufferView_pimpl.C:
4032 * ParagraphParameters.C:
4036 * bufferview_funcs.C:
4049 * paragraph_funcs.C:
4053 * text3.C: boost::format -> bformat all over the place
4056 2003-05-09 André Pönitz <poenitz@gmx.net>
4058 * LColor.[Ch]: Pimpl the #include <map> away
4060 2003-05-09 John Levon <levon@movementarian.org>
4062 * bufferlist.C: never remove emergency saves
4064 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * Makefile.am: better lib building
4068 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4072 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4073 (simpleTeXSpecialChars): adjust
4074 (simpleTeXSpecialChars): adjust
4075 * paragraph.C (simpleTeXOnePar): adjust
4076 * buffer.C (makeLaTeXFile): adjust
4078 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4080 * text2.C (changeDepth): parlist cleanup
4081 (getColumnNearX): ditto
4083 * rowpainter.C (getLabelFont): parlist cleanup
4085 * bufferlist.C (newFile): parlist cleanup
4087 * CutAndPaste.C (eraseSelection): parlist cleanup
4089 * BufferView_pimpl.C (trackChanges): parlist cleanup
4092 * BufferView.C (lockInset): parlist cleanup.
4093 (ChangeInsets): ditto
4095 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * CutAndPaste.h: Update file header.
4099 * CutAndPaste.C: Update file header.
4100 Store the parts cut out of the Document in a limited_stack.
4101 (copySelection): adjust
4102 (pasteSelection): new function, takes the index in the limited stack.
4103 (nrOfParagraphs): adjust
4104 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4105 simplify error inset insertion.
4106 (checkPastePossible): adjust
4108 2003-05-06 John Levon <levon@movementarian.org>
4110 * text2.C: don't cast wrap inset to float
4112 2003-05-05 André Pönitz <poenitz@gmx.net>
4115 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4117 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4118 few naked Paragraph *.
4120 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4122 * bufferparams.C: Output warning if a document with missing
4123 TeX document class is loaded
4124 * exporter.C: Disable TeX exports if the document class is missing
4127 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4128 isTeXClassAvailable()
4130 2003-05-03 John Levon <levon@movementarian.org>
4133 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4134 explicit cursor show/hide
4136 * BufferView_pimpl.h:
4137 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4138 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4140 * lyxfunc.C: hide cursor before dispatching.
4145 * text3.C: remove explicit cursor hides
4147 2003-05-02 André Pönitz <poenitz@gmx.net>
4149 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4152 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4155 * text2.C: tiny whitespace
4157 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * undo_funcs.C: almost only ws changes.
4161 * ParagraphList.C (splice): just return if pl is empty.
4163 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * ParagraphList.C (splice): new function.
4167 * CutAndPaste.C (pasteSelection): use it
4169 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4171 * CutAndPaste.C (pasteSelection): remove the last next and
4172 previous from this file.
4174 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * CutAndPaste.C (pasteSelection): more clean up, user proper
4177 ParagraphList functions for pasteing.
4179 * ParagraphList.C (insert): new function, three arg insert
4181 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * ParagraphList.C (insert): new function, three arg insert
4185 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4188 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4192 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4196 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4199 (copySelection): clean up a bit.
4200 (pasteSelection): use make_pair
4202 * ParagraphList.C (ParagraphList): implement copy constructor
4203 (operator=): implement, base on copy constructor.
4206 * paragraph.C (erase): return a bool
4208 * paragraph_pimpl.C (erasePos): remove function, move contents...
4209 (erase): ... here. Return a bool.
4210 (erase): call erase instead of erasePos.
4212 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4214 * ParagraphList.h: define PitPosPair
4215 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4216 ParagraphList, fix a bug on pasting multiple pars
4217 * text2.C: change interface to C&P
4219 2003-04-30 André Pönitz <poenitz@gmx.net>
4221 * undo_func.C: revert part of yesterday's patch 2
4223 2003-04-30 John Levon <levon@movementarian.org>
4225 * LColor.C: s/tabular/table/
4227 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * text3.C (dispatch): do not convert iterator -> pointer
4230 * undo_funcs.C (setCursorParUndo): ditto
4231 * text_funcs.C (transposeChars): ditto
4233 * text2.C (setLayout): ws changes only
4235 * text.C (breakParagraph): do not convert iterator -> pointer
4237 (acceptChange): ditto
4238 (rejectChange): ditto
4243 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4246 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4248 * text3.C (gotoInset): YABG (yet another bad getChar)
4250 2003-04-29 André Pönitz <poenitz@gmx.net>
4252 * paragraph.h: make operator= private unimplemented as long as
4255 * ParagraphList.C: whitespace
4258 * paragraph_pimpl.[Ch]:
4259 * paragraph_funcs.C:
4261 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4264 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4266 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4268 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4269 * paragraph.[Ch] (erase):
4270 * paragraph_pimpl.[Ch] (erase): change return type and value
4271 * text2.C (cutSelection): some rework
4273 2003-04-28 John Levon <levon@movementarian.org>
4275 * bufferlist.C: changes for unsaved changes dialog
4277 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * bufferlist.C (newFile): set language (messages_) for new
4282 * buffer.C (readFile): ws changes only.
4284 2003-04-28 André Pönitz <poenitz@gmx.net>
4289 * BufferView_pimpl.C:
4290 * BufferView.C: getParFromID related ParagraphList::iterator changes
4292 2003-04-28 André Pönitz <poenitz@gmx.net>
4294 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4297 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * messages.C: remove one more localedir class variable.
4301 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * messages.C (getLocaleDir): singleton generation function
4305 (Messages): add a default constructor.
4307 * main.C (main): do not setup localedir here, do not call
4310 * gettext.C (_): use it.
4311 (gettext_init): delete funciton
4313 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * gettext.C (getLyXMessages): new singleton generating function.
4317 * buffer.C (updateDocLang): adjust
4319 * Makefile.am (messages.o): add target
4320 (main.o): remove target
4322 2003-04-27 John Levon <levon@movementarian.org>
4327 * lyxvc.C: specify cancel button in Alert::prompt
4329 2003-04-26 John Levon <levon@movementarian.org>
4334 * LyXAction.C: add LFUN_INSET_SETTINGS
4336 * lyxfunc.C: don't enable tabular-feature when there's
4337 just any locking inset
4339 2003-04-26 John Levon <levon@movementarian.org>
4341 * bufferlist.C: re-add Cancel to buffer close question
4343 * lyxfunc.C: fix import UI a bit
4345 2003-04-25 John Levon <levon@movementarian.org>
4347 * gettext.C: remove the broken asserts for now
4349 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * messages.C: make case where setlocale cannot comply work better.
4353 * buffer.C (updateDocLang): new function
4354 (changeLanguage): use it
4357 * text2.C (setCounter): use B_ a bit.
4359 * lyxlayout.C (Read): be sure to trim the label strings.
4361 * messages.C (Messages): fix typo in comment
4363 * buffer.C (readFile): set message_ after file is loaded.
4364 (makeDocBookFile): remove double return
4365 (changeLanguage): reset message_ upon language change.
4366 (B_): new func, use this to get translated buffer strings.
4368 * main.C: add myself and Jean Marc as authors.
4370 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * messages.[hC]: pimplify Messages, and three different pimpls to be
4373 used in different circumstances.
4375 * gettext.[Ch]: change for use with new message code.
4377 2003-04-24 André Pönitz <poenitz@gmx.net>
4379 * factory.C: support for eqref
4381 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * messages.[Ch]: add missing char
4385 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4387 * messages.[Ch]: New files
4389 2003-04-18 John Levon <levon@movementarian.org>
4393 * BufferView_pimpl.C:
4397 * text2.C: remove layout-copy/paste (bug 778)
4399 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4401 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4403 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4405 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4406 if they succeed. Act accordingly.
4408 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * text2.C (setCharFont): adjust
4411 (setCounter): adjust
4412 (insertStringAsLines): adjust
4414 * text.C (leftMargin): adjust
4415 (setHeightOfRow): adjust
4417 * rowpainter.C (paintFirst): adjust
4420 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4422 (isFirstInSequence): ditto
4423 (getEndLabel): ditto
4426 * paragraph.C (getParLanguage): comment out some hard stuff.
4428 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4430 (simpleDocBookOnePar): ditto
4431 (makeDocBookFile): use ParagraphList::iterator
4433 * CutAndPaste.C (pasteSelection): adjust
4435 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * text2.C (getFont): adjust
4438 (getLayoutFont): adjust
4439 (getLabelFont): adjust
4441 * paragraph_funcs.C (TeXOnePar): adjust
4443 * buffer.C (simpleLinuxDocOnePar): adjust
4444 (simpleDocBookOnePar): adjust
4446 * CutAndPaste.C (pasteSelection): adjust
4448 * BufferView.C (getEncoding): adjust
4450 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4452 2003-04-16 John Levon <levon@movementarian.org>
4454 * lyxfind.C: use parlist stuff for search/changes
4456 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4460 * text2.C (deleteEmptyParagraphMechanism): adjust
4462 * text2.[Ch] (ownerParagraph): delete func (both of them
4464 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4468 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * ParagraphList.C: prepare for NO_NEXT
4472 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * text2.C (getFont): adjust
4475 (getLayoutFont): adjust
4476 (getLabelFont): adjust
4478 * paragraph.C (getFont): adjust
4479 (getLabelFont): adjust
4480 (getLayoutFont): adjust
4482 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4484 2003-04-15 John Levon <levon@movementarian.org>
4488 * lyx_main.C: handle Include in .ui files
4490 2003-04-15 John Levon <levon@movementarian.org>
4492 * MenuBackend.C: make the doc files length shorter
4495 * ToolbarBackend.C: handle toolbar placement flags,
4498 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4503 * paragraph_funcs.C (TeXOnePar): adjust
4505 * paragraph.C (getLabelFont): add outerfont arg, adjust
4506 (getLayoutFont): ditto
4507 (simpleTeXOnePar): adjust
4509 * paragraph_pimpl.C (realizeFont): delete func
4511 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4513 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4514 row argument, constify cur argument.
4516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * text2.C (getFont): adjust
4519 (getLayoutFont): adjust
4520 (getLabelFont): adjust
4522 * paragraph_funcs.C (TeXOnePar): adjust
4523 (outerFont): new func...
4524 (realizeFont): ...moved out from here, changed this to facilitate
4527 * paragraph.C (getFont): take outerfont as arg, adjust
4528 (simpleTeXOnePar): add outerfont arg, adjust
4530 * buffer.C (simpleLinuxDocOnePar): adjust
4531 (simpleDocBookOnePar): adjust
4533 * CutAndPaste.C (pasteSelection): adjust
4535 * BufferView.C (getEncoding): adjust
4537 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * text2.C (setCharFont): adjust
4540 (setCounter): adjust
4542 * text.C (leftMargin): adjust
4543 (setHeightOfRow): adjust
4545 * rowpainter.C (paintFirst): adjust
4548 * paragraph_pimpl.C (realizeFont): adjust
4550 * paragraph.C (isFirstInSequence): move from here...
4551 * paragraph_funcs.C (isFirstInSequence): ...to here
4553 * paragraph.C (outerHook): move from here...
4554 * paragraph_funcs.C (outerHook): ...to here
4556 * paragraph.C (depthHook): move from here...
4557 * paragraph_funcs.C (depthHook): ...to here
4559 * paragraph.C (getEndLabel): move from here...
4560 * paragraph_funcs.C (getEndLabel): ...to here
4562 * text2.C (realizeFont): move from here...
4563 * paragraph_funcs.C (realizeFont): ...to here
4565 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4569 2003-04-14 Angus Leeming <leeming@lyx.org>
4571 * LColor.[Ch]: scrap LColor mathcursor.
4573 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * lyxlex.[Ch] (text): delete function
4576 * trans.C (Load): adjust
4577 * paragraph_funcs.C (readParToken): adjust
4579 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4582 vector<char> instead of a char[].
4584 * lyxlex_pimpl.C (getString): adjust
4586 (lex): use getString
4590 * lyxlex.C (text): use pimpl_->getString()
4594 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4597 (makeFontEntriesLayoutSpecific): temp var for par.size()
4598 (setLayout): temp var for ownerParagraphs().end()
4599 (fullRebreak): temp var for rows().end()
4600 (selectionAsString): temp var for boost::next(startpit), realize
4601 that the while really is a regular for loop.
4602 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4603 setCursor in one place.
4604 (setParagraph): temp vr for ownerParagraphs().end()
4605 (updateCounters): make the while loop a for loop
4606 (cutSelection): temp var for ownerParagraphs().end()
4607 (updateInset): make the do {} while() a regular for loop
4608 (getCursorX): use temp vars
4609 (setCurrentFont): use temp vars
4610 (getColumnNearX): use temp vars
4612 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * text.C (transformChar): use temp var for getChar
4615 (computeBidiTables): use temp var for row->par()
4616 (fill): move temp vars for row->par() and pit->layout() earlier in
4618 (labelFill): use temp var for row->par()
4619 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4620 asc and desc, realize that pit never changes and that firstpit is
4621 just a duplicate and not needed. Exchange rit->par() with pit in a
4623 (breakAgain): use a temp var for boost::next(rit)
4624 (breakAgainOneRow): ditto
4625 (breakParagraph): use a temp var for rows().begin()
4626 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4627 (cursorRightOneWord): use temp var for cursor.par() and
4628 cursor.pos(), remove usage of tmpcursor.
4629 (cursorLeftOneWord): use temp var for cursor.par() and
4630 cursor.pos() only set cur at end of function.
4632 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * text.C, text2.C: exchange all usage of Paragraph::next with
4635 boost::next(ParagraphList::iterator)
4637 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4639 * text2.C (cursorTop): simplify implementation
4640 (cursorBottom): ditto
4641 (setParagraph): use ParagraphList::iterator
4642 (setCurrentFont): adjust
4643 (getColumnNearX): adjust
4644 (cursorRight): adjust
4645 (cursorLeft): remove usage of Paragraph::previous
4646 (cursorUpParagraph): ditto
4647 (deleteEmptyParagraphMechanism): slight cleanup
4649 * text.C (isBoundary): take a Paragraph const & instead of a
4651 (addressBreakPoint): ditto
4652 (leftMargin): remove usage of Paragraph::previous.
4653 (setHeightOfRow): ditto
4654 (cursorLeftOneWord): ditto
4655 (selectNextWordToSpellcheck): ditto
4658 (breakParagraph): remove one usage of Paragraph::next
4659 (redoParagraph): ditto
4660 (acceptChange): ditto
4661 (insertChar): adjust
4662 (rowBreakPoint): adjust
4664 * bufferview_funcs.C (toggleAndShow): adjust
4666 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4668 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4669 methods to access it.
4671 * text.C: Added updateRowPositions to compute all row positions.
4672 Make top_y and getRowNearY() to use the cached y position
4674 2003-04-11 John Levon <levon@movementarian.org>
4676 * text.C (rowBreakPoint): reintroduce the labelEnd
4677 checks, code copied from the row fill stuff. Deep voodoo.
4679 * text.C (fill): add a comment and debugging for the
4682 2003-04-11 John Levon <levon@movementarian.org>
4684 * text.C: make sure fullrow insets get wrapped to the next line,
4685 even when they're in a manual label
4687 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * text2.C (insertParagraph): make it take ParagraphList::iterator
4691 (setLayout): make it return ParagraphList::iterator
4692 (redoParagraphs): ditto
4694 (checkParagraph): ditto
4696 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4698 * text2.C: adjust several funcs.
4699 (realizeFont): take a ParagraphList::iterator as arg.
4700 (getLayoutFont): ditto
4701 (getLabelFont): ditto
4702 (setCharFont): ditto
4704 * text.C: adjust several funcs.
4706 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4708 * text.C (selectNextWordToSpellcheck): don't accidentally
4711 2003-04-10 John Levon <levon@movementarian.org>
4713 * ToolbarBackend.C (getIcon): special handling for
4716 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4718 * text2.C (cursorRight): a getChar assert fixed
4720 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * text2.C (getFont): change to take a ParagraphList::iterator
4723 instead of Paragraph*
4724 Adjust several functions.
4726 * text.C (transformChar): change to take a ParagraphList::iterator
4727 instead of Paragraph*
4728 (singleWidth): ditto
4729 Adjust several functions.
4731 * rowpainter.C: adjust several functions
4732 * rowpainter.h:store a ParagraphList::iterator and not a
4736 2003-04-09 John Levon <levon@movementarian.org>
4741 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4742 and the "help" bits as well
4744 2003-04-09 John Levon <levon@movementarian.org>
4747 * ToolbarBackend.C: allow multiple toolbars
4749 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * undo_funcs.C (setCursorParUndo): adjust
4753 * text_funcs.C (transposeChars): adjust
4755 * text3.C (gotoNextInset): adjust
4758 * text2.C (setLayout): adjust
4759 (changeDepth): adjust
4761 (redoParagraphs): adjust
4762 (selectionAsString): adjust
4763 (setParagraph): adjust
4764 (insertInset): adjust
4765 (cutSelection): adjust
4766 (copySelection): adjust
4767 (pasteSelection): adjust
4768 (insertStringAsLines): adjust
4769 (updateInset): adjust
4770 (setCursor): change to take a ParagraphList::iterator parameter
4771 (setCursorIntern): change to take a ParagraphList::iterator parameter
4772 (setCurrentFont): adjust
4773 (cursorLeft): adjust
4774 (cursorRight): adjust
4775 (deleteEmptyParagraphMechanism): adjust
4777 * text.C (breakParagraph): adjust
4778 (insertChar): adjust
4779 (acceptChange): adjust
4780 (rejectChange): adjust
4781 (selectNextWordToSpellcheck): adjust
4782 (changeCase): adjust
4786 * lyxfind.C (SearchForward): adjust
4787 (SearchBackward): adjust
4788 (nextChange): adjust
4790 * lyxcursor.C (par): adjust
4792 * lyxcursor.h: store a ParagraphList::iterator instead of a
4795 * lyx_cb.C (getPossibleLabel): adjust
4797 * bufferview_funcs.C (toggleAndShow): adjust
4799 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4802 * BufferView.C (removeAutoInsets): adjust
4803 (lockedInsetStoreUndo): adjust
4805 2003-04-09 John Levon <levon@movementarian.org>
4807 * ToolbarBackend.C: try icon without argument
4808 if with argument fails
4810 2003-04-08 John Levon <levon@movementarian.org>
4813 * ToolbarBackend.C: add getIcon(), handle tooltip,
4814 and change from "Icon" to "Item".
4816 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4818 * BufferView.C (lockInset): another bad getchar crunched
4820 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4822 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4825 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4827 * lyxfind.C (searchForward, searchBackwards): bug 782
4829 2003-04-07 John Levon <levon@movementarian.org>
4831 * paragraph.C: remove dead comment
4833 * text.C: remove troublesome depth-fiddling code
4834 in leftMargin() and rightMargin() (bug 1017)
4836 * text.C: fix breaking of rows in nested lists
4839 * text2.C (updateCounters): fix up depth values
4842 2003-04-07 John Levon <levon@movementarian.org>
4844 * BufferView_pimpl.C: clear message when doc finishes resizing,
4845 and after a mouse event
4847 * lyxfunc.C: clear message after exiting inset
4849 2003-04-07 John Levon <levon@movementarian.org>
4851 * bufferview_funcs.C: show math status not outside
4852 status in the statusbar
4854 2003-04-07 John Levon <levon@movementarian.org>
4856 * lyxfunc.C: note status changed after a depth change
4858 2003-04-04 Angus Leeming <leeming@lyx.org>
4860 * LaTeX.h: move AuxInfo operator==, != out of line.
4861 Remove LaTeX virtual destructor; nothing derives from it.
4862 Move operator()() out of public area and rename it startscript().
4863 Change protected for private.
4865 2003-04-04 Angus Leeming <leeming@lyx.org>
4868 * text2.C: remove unneeded #includes.
4870 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4872 * text2.C (dEPM): fix the heigth of the next row
4874 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4876 * text.C: squashed an invalid getChar requester + some ws changes
4878 2003-04-03 John Levon <levon@movementarian.org>
4880 * bufferview_funcs.h:
4881 * bufferview_funcs.C:
4884 * text2.C: make getStatus work for the env depth lfuns
4886 2003-04-03 John Levon <levon@movementarian.org>
4888 * bufferview_funcs.h:
4889 * bufferview_funcs.C:
4892 * text2.C: parlistize decDepth(), by merging it with incDepth()
4894 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * lyxrow.h: store a ParagraphList::iterator instead of a
4897 Paragraph* and adjust other class functions to suit.
4899 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4902 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4904 * text2.C (setCursor): do not anchor to cursor row for the time being
4906 2003-04-02 John Levon <levon@movementarian.org>
4913 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4915 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * paragraph.h: make ParagraphList and ParagraphList::iterator
4918 friends of Paragraph.
4920 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4922 * ParagraphList.C: Use the private next_ and previous_ from
4925 2003-04-01 John Levon <levon@movementarian.org>
4929 * Makefile.am: rename, remove defaults gunk
4932 * MenuBackend.C: remove defaults gunk
4935 * Languages.C: remove defaults gunk
4938 * lyx_main.C: error out if files couldn't be found.
4940 2003-04-02 John Levon <levon@movementarian.org>
4942 * text2.C: make incDepth() use parlist
4944 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * undo_funcs.C (firstUndoParagraph): adjust
4948 * text3.C (gotoInset): adjust
4949 (dispatch): adjust, and rewrite loop.
4951 * text2.C (init): adjust, and rewrite loop.
4952 (redoParagraphs): adjust
4953 (updateInset): adjust, and rewrite loop.
4954 (deleteEmptyParagraphMechanism): adjust
4956 * tabular.C (LyXTabular): adjust
4957 (SetMultiColumn): adjust
4960 * lyxtext.[Ch] (ownerParagraph): delete function
4961 (ownerParagraphs): new function returns a ParagraphList.
4963 * BufferView.C (removeAutoInsets): adjust
4964 (insertErrors): adjust
4965 (setCursorFromRow): adjust
4967 2003-04-01 Angus Leeming <leeming@lyx.org>
4969 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4972 2003-04-02 John Levon <levon@movementarian.org>
4978 * text_funcs.C: make transposeChars a free function
4980 * lyxrow_funcs.C: remove wrong comment
4982 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * rowpainter.C: adjust
4990 * lyxrow_funcs. [Ch]: new files
4992 * lyxrow.[Ch]: remove next and previous pointers
4993 (next,previous): remove accessor functions
4994 (isParEnd): move to lyxrow_funcs
4995 (lastPos): move to lyxrow_funcs
4996 (nextRowIsAllInset): move to lyxrow_funcs
4997 (lastPrintablePos): move to lyxrow_funcs
4998 (numberOfSeparators): move to lyxrow_funcs
4999 (numberOfHfills): move to lyxrow_funcs
5000 (numberOfLabelHfills): move to lyxrow_funcs
5001 (hfillExpansion): move to lyxrow_funcs
5005 * bufferview_funcs.C (toggleAndShow): adjust
5007 * RowList.h: Remove class RowList from file leave just a
5010 * RowList.C: delete file
5012 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5015 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * text3.C (cursorPrevious): adjust
5018 (cursorNext): adjust
5021 * text2.C (redoHeightOfParagraph): adjust
5022 (redoDrawingOfParagraph): adjust
5025 * text.C (breakParagraph): adjust
5026 (insertChar): adjust
5029 * rowpainter.C (RowPainter): adjust
5030 (leftMargin): simplify and adjust
5031 (most rowpainter functions): adjust.
5033 * rowpainter.h: store the row as RowList::iterator not as Row*
5035 * lyxcursor.C (row): taka RowList::iterator as arg
5038 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5041 2003-04-01 Angus Leeming <leeming@lyx.org>
5043 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5044 stuff like bool Bool.
5046 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5048 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5051 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5056 * lyxtext.h (rows): drop one version and leve a const variant that
5057 returns a RowList::iterator.
5059 2003-03-31 Angus Leeming <leeming@lyx.org>
5061 * text.C (fill): ensure that the signature is the same as that in the
5064 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * text2.C (redoParagraphs): adjust
5067 (updateCounters): adjust
5068 (checkParagraph): adjust
5069 (getColumnNearX): adjust and reformat a bit.
5071 * text.C (top_y): adjust
5073 (leftMargin): adjust
5074 (prepareToPrint): adjust
5076 (getRowNearY): adjust
5078 * lyxtext.h: make rowlist_ mutable.
5080 * RowList.h: add const_iterator
5081 * RowList.C: adjust for RowList::const_iterator.
5083 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5086 2003-03-31 John Levon <levon@movementarian.org>
5089 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5091 * lyx_main.C: set default fonts from using lyx_gui funcs
5093 * exporter.C: pdf_mode moved from lyxrc
5096 * lyxfunc.C: changes from above
5098 2003-03-31 John Levon <levon@movementarian.org>
5100 * lyx_main.C: fix to the last fix
5102 2003-03-31 John Levon <levon@movementarian.org>
5104 * bufferlist.C: "Load original" -> "Load Original"
5110 * format.C: more Alert cleanups
5112 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * text2.C (removeParagraph): make it take a RowList::iterator as
5116 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5117 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5119 * text.C (anchor_row): make it take a RowList::iterator as arg,
5121 (computeBidiTables): make it take a const reference to Row instead
5122 of Row pointer, adjust.
5123 (leftMargin): make it take a RowList::iterator as arg, adjust.
5124 (rowBreakPoint): adjust
5125 (breakAgainOneRow): make it take a RowList::iterator as arg,
5127 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5129 * bufferview_funcs.C (toggleAndShow): adjust
5131 2003-03-30 John Levon <levon@movementarian.org>
5135 * boost-inst.C: moved to support
5137 * several files: changes as a result
5139 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * text2.C (LyXText): adjust.
5143 (removeRow): make it take a RowList::iterator as arg, adjust.
5144 (fullRebreak): adjust
5145 (deleteEmptyParagraphMechanism): adjust
5146 (clearPaint): adjust
5149 * text.C (top_y): adjust
5150 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5151 (breakAgain): make it take a RowList::iterator as arg, adjust.
5152 (breakParagraph): adjust
5153 (insertChar): adjust
5156 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5157 need_break_row, and refresh_row.
5159 * text3.C (dispatch): adjust
5161 * text2.C (checkParagraph): adjust
5163 (setCursorFromCoordinates): adjust
5165 * text.C (top_y): adjust
5167 (getRow): make it return a RowList::iterator, adjust
5168 (getRowNearY): make it return a RowList::iterator, adjust
5170 * text2.C (init): adjust
5171 (insertRow): remove function
5172 (insertParagraph): adjust
5173 (redoParagraphs): adjust
5174 (fullRebreak): adjust
5175 (updateCounters): adjust
5177 * text.C (top_y): rewrite to use RowList iterators.
5179 (setHeightOfRow): rewrite to sue RowList iterators.
5180 (appendParagraph): adjust
5181 (breakAgain): adjust
5182 (breakAgainOneRow): adjust
5183 (breakParagraph): adjust
5185 (getRowNearY): adjust, and remove commented code.
5187 * lyxtext.h (firstRow): delete function
5188 (lastRow): delete function
5189 (rows): new function (const and non-const versions.)
5190 (insertRow): delete function
5192 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5194 2003-03-29 John Levon <levon@movementarian.org>
5196 * BufferView_pimpl.C: always update scrollbar top
5197 because pasting text when we're anchored could mean we
5198 miss an update altogether
5200 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * text2.C (init): use rowlist_.end() and not 0.
5203 (insertRow): change to take a RowList::iterator as arg, adjust
5205 (insertParagraph): change to take a RowList::iterator as arg,
5207 (redoParagraphs): remove some debug msgs.
5209 * text.C (appendParagraph): change to take a RowList::iterator
5210 arg, adjust for this.
5211 (breakAgain): add an assert
5212 (breakAgainOneRow): ditto
5214 2003-03-29 John Levon <levon@movementarian.org>
5216 * text2.C: do not clear selection after inc/decDepth
5219 2003-03-29 John Levon <levon@movementarian.org>
5222 * buffer.C: fix broken strerrors according to Lars
5224 2003-03-29 John Levon <levon@movementarian.org>
5226 * converters.C: more Alert cleanups
5228 2003-03-29 John Levon <levon@movementarian.org>
5230 * bufferview_funcs.C: remove pointless Alert
5232 * buffer.C: fix confusing error message when
5233 a template is chmoded 000
5235 2003-03-29 John Levon <levon@movementarian.org>
5239 * BufferView_pimpl.C: Alert fixes
5243 * tabular-old.C: remove unused table compat reading
5245 2003-03-29 John Levon <levon@movementarian.org>
5250 * lyx_cb.C: more Alert cleanups
5252 * lyxfunc.C: don't allow chktex if not latex document
5254 2003-03-29 John Levon <levon@movementarian.org>
5258 * buffer.C: warnings pushed down from support/,
5261 2003-03-29 John Levon <levon@movementarian.org>
5263 * lyxfunc.C: safety check for C-r (revert)
5265 2003-03-29 John Levon <levon@movementarian.org>
5268 * bufferlist.C: several UI fixes using Alert::prompt.
5269 Fix the pointless looping quit code. Fix stupid revert
5274 * lyx_cb.C: use Alert::prompt
5276 * lyx_main.C: remove a silly question
5278 * lyxfunc.C: remove a couple of silly questions,
5281 2003-03-28 John Levon <levon@movementarian.org>
5283 * text2.C: fix bug 974 (End on empty par)
5285 2003-03-28 John Levon <levon@movementarian.org>
5287 * BufferView_pimpl.C:
5289 * lfuns.h: remove do-nothing math greek lfuns
5291 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * lyxgluelength.h (isValidGlueLength): add default arg on
5294 parameter 2. Remove default arg from friend in class.
5296 * lyxlength.h (isValidLength): add default arg on parameter 2.
5297 Remove default arg from friend in class.
5299 * text2.C (LyXText): adjust, initialize refresh_row.
5303 (insertParagraph): adjst
5304 (redoParagraphs): adjust
5305 (fullRebreak): adjust
5306 (updateCounters): adjust
5307 (deleteEmptyParagraphMechanism): first attempt at fixing a
5310 * text.C (top_y): adjust
5311 (setHeightOfRow): adjust
5313 (getRowNearY): adjust
5315 * lyxtext.h: include RowList.h
5316 (~LyXText): not needed anymore, deleted.
5317 (firstRow): modify for RowList
5318 (lastRow): new function
5319 Delete firstrow and lastrow class variables, add a Rowlist
5320 rowlist_ class variable.
5322 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5325 * RowList.C (insert): fix case where it == begin().
5327 2003-03-26 Angus Leeming <leeming@lyx.org>
5329 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5330 the thesaurus dialog.
5332 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5336 * RowList.[Ch]: new files
5338 * ParagraphList.C (erase): handle the case where it == begin
5341 2003-03-25 John Levon <levon@movementarian.org>
5345 * aspell.C: add new aspell support
5348 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5351 2003-03-25 Angus Leeming <leeming@lyx.org>
5354 * LyXAction.C (init): new LFUN_INSET_INSERT.
5356 * BufferView_pimpl.C (dispatch): split out part of the
5357 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5359 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5362 2003-03-25 Angus Leeming <leeming@lyx.org>
5364 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5366 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5369 * text3.C: remove useless row->height(0)
5371 2003-03-25 John Levon <levon@movementarian.org>
5375 * text3.C: rename the refreshing stuff to better names
5377 2003-03-24 John Levon <levon@movementarian.org>
5379 * BufferView_pimpl.h:
5380 * BufferView_pimpl.C: update layout choice on a mouse
5383 2003-03-23 John Levon <levon@movementarian.org>
5385 * Makefile.am: fix commandtags.h reference
5387 2003-03-22 John Levon <levon@movementarian.org>
5389 * BufferView_pimpl.C:
5394 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5396 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5399 * text.C: take the rtl methods out of line
5401 2003-03-21 André Pönitz <poenitz@gmx.net>
5403 * metricsinfo.[Ch]: new files containing structures to be passed around
5404 during the two-phase-drawing...
5406 2003-03-21 André Pönitz <poenitz@gmx.net>
5408 * lyxtextclass.C: read 'environment' tag.
5410 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5412 * text2.C (removeRow): fix bug 964
5414 2003-03-20 John Levon <levon@movementarian.org>
5418 * text2.C: paint cleanups. Inset::update() dropped font
5421 2003-03-19 John Levon <levon@movementarian.org>
5423 * lyxfunc.C: only fitcursor/markDirty if available()
5425 2003-03-19 John Levon <levon@movementarian.org>
5427 * commandtags.h: rename to ...
5429 * lfuns.h: ... this, and renumber / cleanup
5431 2003-03-19 John Levon <levon@movementarian.org>
5433 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5434 fit the cursor after an lfun
5438 * BufferView_pimpl.h:
5439 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5441 * LyXAction.C: layout-character should have ReadOnly
5443 * ParagraphParameters.C:
5445 * bufferview_funcs.C:
5452 * undo_funcs.C: changes from above
5454 2003-03-18 John Levon <levon@movementarian.org>
5456 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5457 remove it from update()
5459 * lyxfunc.C: update layout choice after an lfun
5461 * text3.C: remove extra updateLayoutChoice()s
5463 2003-03-18 John Levon <levon@movementarian.org>
5465 * text.C: top_y change means full repaint, fix
5466 a drawing bug with cursor movement
5468 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5472 * text2.C: anchor row on setCursor
5474 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5476 * lyxtext.h: remove almost all mutable keywords
5479 * text3.C: remove const keywords accordingly
5481 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5485 (TeXEnvironment): ditto
5488 2003-03-17 John Levon <levon@movementarian.org>
5490 * text.C (rowBreakPoint): remove attempt to fix displayed
5491 math insets inside a manual label
5493 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * lyxtext.h: remove BufferView* as first arg from almost all class
5497 * other files: adjust.
5499 2003-03-17 John Levon <levon@movementarian.org>
5503 * text2.C: more paint cleanups
5505 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5508 * rowpainter.C: remove "smart" background painting code
5510 2003-03-16 John Levon <levon@movementarian.org>
5515 * text3.C: add helper functions for setting refresh_row/y
5517 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5519 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5520 newline inset which *can* get inserted in the pass_thru layouts.
5521 This is primarily for literate documents.
5523 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5525 * buffer.C: increment LYX_FORMAT to 223
5527 2003-03-14 André Pönitz <poenitz@gmx.net>
5529 * textclass.h: prepare for environment handling, ws changes
5530 * lyxlayout.C: read latexheader and latexfooter tags
5532 2003-03-14 John Levon <levon@movementarian.org>
5534 * text2.C: rewrite ::status() a bit
5536 2003-03-13 John Levon <levon@movementarian.org>
5538 * lyxtext.h: add some docs
5540 2003-03-13 John Levon <levon@movementarian.org>
5545 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5547 2003-03-13 John Levon <levon@movementarian.org>
5549 * text3.C: fix appendix redrawing
5551 2003-03-13 John Levon <levon@movementarian.org>
5553 * text.C (setHeightOfRow):
5555 * rowpainter.C: make appendix mark have the text
5556 "Appendix" so the user knows what it is
5559 * LColor.C: s/appendixline/appendix/ from above
5561 2003-03-13 John Levon <levon@movementarian.org>
5563 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5565 * text.C: fix a getChar(pos) bug properly
5567 2003-03-13 Angus Leeming <leeming@lyx.org>
5570 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5571 Probably only temporary. Let's see how things pan out.
5573 * BufferView.C (unlockInset):
5574 * BufferView_pimpl.C (fitCursor):
5575 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5577 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5578 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5580 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5581 new functions that convert ParagraphParameters to and from a string.
5583 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5584 BufferView::Pimpl's dispatch.
5585 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5587 2003-03-13 André Pönitz <poenitz@gmx.net>
5591 * factory.C: make it aware of InsetEnv
5593 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * text2.C (setCursor): never ask for one past last
5596 (setCursor): add some debugging messages.
5598 * text.C (singleWidth): never ask for one past last
5599 (singleWidth): ditto
5601 (rightMargin): ditto
5602 (rowBreakPoint): ditto
5603 (setHeightOfRow): ditto
5604 (prepareToPrint): ditto
5606 * rowpainter.C (paintBackground): never ask for one past last
5607 (paintText): never ask for one past last
5609 * paragraph_pimpl.C (getChar): make the assert stricter, never
5610 allow the one past last pos to be taken
5612 * paragraph.C (getChar): ws changes only
5614 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5615 (numberOfSeparators): ditto
5616 (numberOfHfills): ditto
5618 2003-03-12 John Levon <levon@movementarian.org>
5624 * paragraph_funcs.C: fix per-buffer authorlists
5626 2003-03-12 John Levon <levon@movementarian.org>
5628 * text.C: fix newline in right address
5630 2003-03-12 Angus Leeming <leeming@lyx.org>
5632 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5633 duplicate those in LyXFunc::dispatch.
5637 * ToolbarDefaults.C:
5638 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5639 Add LFUN_FONTFREE_UPDATE.
5641 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5642 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5644 * bufferview_func.[Ch]: several new functions to facilliate
5645 transfer of data to and from the character dialog.
5647 2003-03-12 John Levon <levon@movementarian.org>
5652 * paragraph_funcs.C:
5653 * paragraph_pimpl.C:
5657 * text3.C: remove META_NEWLINE in favour of an inset
5660 * rowpainter.C: remove paintNewline (done by inset)
5662 2003-03-12 John Levon <levon@movementarian.org>
5664 * paragraph_pimpl.C: complain about bad getChar()s
5665 for a while at least
5667 2003-03-12 John Levon <levon@movementarian.org>
5670 * buffer.C: move paragraph read into a separate function,
5671 a little renaming to reflect that.
5674 * bufferparams.C: remove the author_ids map, not necessary now
5677 * factory.C: moved Buffer::readInset to here
5679 * paragraph_funcs.h:
5680 * paragraph_funcs.C: readParagraph free function moved from
5683 * tabular.C: name change
5685 2003-03-12 John Levon <levon@movementarian.org>
5688 * ParagraphParameters.C: move par params input to
5691 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5692 behave like a normal read from the stream wrt reading
5693 a line vs. a \\token
5695 2003-03-12 John Levon <levon@movementarian.org>
5698 * ParagraphParameters.h:
5699 * ParagraphParameters.C: move output code to a
5702 2003-03-12 John Levon <levon@movementarian.org>
5704 * BufferView.C (insertLyXFile):
5707 * tabular.C: use a parlist iterator for creating the
5710 2003-03-12 John Levon <levon@movementarian.org>
5712 * buffer.C: make current_change static local not
5715 2003-03-12 John Levon <levon@movementarian.org>
5717 * buffer.C: fix insertStringAsLines for change tracking
5719 2003-03-12 John Levon <levon@movementarian.org>
5726 * bufferparams.C: move author list into params. Rename some
5727 functions. Move the header reading into a separate token
5728 loop. Move the header token reading into BufferParams.
5730 2003-03-12 John Levon <levon@movementarian.org>
5732 * changes.C: put debug inside lyxerr.debugging() checks
5734 2003-03-11 André Pönitz <poenitz@gmx.net>
5736 * factory.C: make it aware of InsetHFill
5738 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5740 * buffer.C (latexParagraphs): move function from here...
5741 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5744 2003-03-10 Angus Leeming <leeming@lyx.org>
5746 * LyXAction.C (init): fix bug in poplating array with multiple entries
5747 with the same LFUN (spotted by JMarc).
5749 2003-03-10 John Levon <levon@movementarian.org>
5752 * text2.C: move getColumnNearX() near its
5755 2003-03-10 John Levon <levon@movementarian.org>
5757 * text.C: fix break before a minipage
5759 2003-03-10 John Levon <levon@movementarian.org>
5761 * text.C: fix the last commit
5763 2003-03-09 John Levon <levon@movementarian.org>
5767 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5768 bug 365 (don't break before insets unless needed). Don't
5769 return a value > last under any circumstances.
5771 2003-03-09 Angus Leeming <leeming@lyx.org>
5773 * BufferView_pimpl.C (trackChanges, dispatch): call
5774 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5776 2003-03-09 Angus Leeming <leeming@lyx.org>
5778 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5779 than Dialogs::showAboutlyx().
5781 2003-03-09 Angus Leeming <leeming@lyx.org>
5783 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5784 than Dialogs::showTabularCreate().
5786 2003-03-09 John Levon <levon@movementarian.org>
5790 * text2.C: 3rd arg to nextBreakPoint was always the same.
5793 2003-03-08 John Levon <levon@movementarian.org>
5800 * text2.C: Remove the "main" bit from the "main body"
5803 2003-03-08 John Levon <levon@movementarian.org>
5805 * text.C (leftMargin): The left margin of an empty
5806 manual label paragraph should not include the label width
5809 * text.C (prepareToPrint): don't attempt to measure hfills
5810 for empty manual label paragraphs - the answer should be 0
5812 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * CutAndPaste.C: remove commented code and reindent.
5816 2003-03-08 John Levon <levon@movementarian.org>
5819 * lyxfunc.C: move reloadBuffer()
5822 * BufferView.C: to here
5824 * lyxvc.C: add comment
5827 * vc-backend.C: call bv->reload() to avoid
5828 getStatus() check on MENURELOAD
5830 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5832 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5833 to an old format .dep file.
5835 2003-03-07 Angus Leeming <leeming@lyx.org>
5837 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5838 when the LFUN_MOUSE_RELEASE should have been handled by
5839 inset->localDispatch.
5841 2003-03-07 Angus Leeming <leeming@lyx.org>
5843 * BufferView_pimpl.C (dispatch):
5844 * LyXAction.C (init):
5845 * ToolbarDefaults.C (init):
5847 * lyxfunc.C (getStatus):
5848 remove LFUN_INSET_GRAPHICS.
5850 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5852 2003-03-07 Angus Leeming <leeming@lyx.org>
5855 * LyXAction.C (init):
5856 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5858 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5861 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5863 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5864 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5866 2003-03-07 Angus Leeming <leeming@lyx.org>
5868 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5871 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * ParagraphList.C (front): new function
5876 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5878 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5879 and top_row_offset_. removed var first_y.
5881 * text2.C (LyXText, removeRow):
5883 * BufferView_pimpl.C:
5884 use these methods instead of using first_y
5886 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * text2.C (pasteSelection): adjust for checkPastePossible
5890 * CutAndPaste.C: remove Paragraph * buf and replace with
5891 ParagraphList paragraphs.
5892 (DeleteBuffer): delete
5893 (cutSelection): change the tc type to textclass_type
5894 (copySelection): change the tc type to textclass_type
5895 (copySelection): adjust for ParagraphList
5896 (pasteSelection): change the tc type to textclass_type
5897 (pasteSelection): adjust for Paragraphlist
5898 (nrOfParagraphs): simplify for ParagraphList
5899 (checkPastePossible): simplify for ParagraphList
5900 (checkPastePossible): remove unused arg
5902 * ParagraphList.C (insert): handle the case where there are no
5905 * CutAndPaste.h: make CutAndPaste a namespace.
5907 * text3.C (dispatch): adjust
5909 * text.C (breakParagraph): add a ParagraphList as arg
5911 * paragraph_funcs.C (breakParagraph): change to take a
5912 BufferParams and a ParagraphList as args.
5913 (breakParagraphConservative): ditto
5914 (mergeParagraph): ditto
5915 (TeXDeeper): add a ParagraphList arg
5916 (TeXEnvironment): ditto
5919 * buffer.C (readLyXformat2): adjust
5920 (insertStringAsLines): adjust
5921 (latexParagraphs): adjust
5923 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5924 (cutSelection): adjust
5925 (pasteSelection): adjust
5927 * BufferView_pimpl.C (insertInset): adjust
5929 2003-03-05 Angus Leeming <leeming@lyx.org>
5932 * LyXAction.C (init):
5933 * BufferView_pimpl.C (dispatch):
5934 * lyxfunc.C (getStatus):
5935 remove LFUN_CHILD_INSERT.
5937 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5939 2003-03-05 Angus Leeming <leeming@lyx.org>
5942 * LyXAction.C (init):
5943 * src/factory.C (createInset):
5944 * lyxfunc.C (getStatus):
5945 * text3.C (dispatch):
5946 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5948 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5950 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * ParagraphList.C (insert): handle insert right before end()
5953 (erase): fix cases where it can be first or last paragraph.
5955 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5957 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5958 Paragraph::next and Paragraph::previous
5961 * text.C (breakParagraph): adjust
5963 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5964 BufferParams& as arg.
5965 (breakParagraph): use ParagraphList::insert
5966 (breakParagraphConservative): take a Buffer* instead of a
5967 BufferParams& as arg.
5968 (breakParagraphConservative): use ParagraphList::insert.
5970 * buffer.C (insertStringAsLines): un-const it
5971 (insertStringAsLines): adjust
5973 * ParagraphList.C (insert): new function
5975 * CutAndPaste.C (pasteSelection): adjust
5977 * text.C (backspace): adjust
5979 * tabular.C (SetMultiColumn): adjust
5981 * CutAndPaste.C (cutSelection): adjust
5982 (pasteSelection): adjust
5984 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5985 Buffer const * as arg
5987 * ParagraphList.C (erase): new function
5988 * paragraph_funcs.C (mergeParagraph): use it
5989 (mergeParagraph): make it take a Buffer* instead of a
5990 BufferParams* as arg
5992 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5994 (breakParagraphConservative): ditto
5996 * paragraph.h: remove the breakParagraph friend
5998 * paragraph.C (eraseIntern): new function
5999 (setChange): new function
6001 * paragraph_funcs.C (mergeParagraph): make it take a
6002 ParagraphList::iterator instead of a Paragraph *, adjust
6005 * paragraph.h: move an #endif so that the change tracking stuff
6006 also works in the NO_NEXT case.
6008 2003-03-04 Angus Leeming <leeming@lyx.org>
6011 * LyXAction.C: new LFUN_INSET_MODIFY.
6013 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6014 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6016 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * several files: ws changes only
6020 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6021 (TeXEnvironment): ditto
6024 * buffer.C (makeLaTeXFile): adjust
6025 (latexParagraphs): make it take ParagraphList::iterator as args
6027 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * buffer.C (latexParagraphs): adjust
6031 * paragraph.C (TeXOnePar): move function...
6032 (optArgInset): move function...
6033 (TeXEnvironment): move function...
6034 * paragraph_pimpl.C (TeXDeeper): move function...
6035 * paragraph_funcs.C: ...here
6037 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6039 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * buffer.C (readInset): remove compability code for old Figure and
6044 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * buffer.C: ws changes
6049 * BufferView_pimpl.C: ditto
6052 * bufferlist.h: ditto
6056 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6058 * converter.[Ch]: split into itself +
6061 * Makefile.am: += graph.[Ch] + format.[Ch]
6068 * lyxrc.C: added #include "format.h"
6070 2003-02-27 Angus Leeming <leeming@lyx.org>
6072 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6075 * factory.C (createInset): add "label" to the factory.
6077 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6078 string and do no more.
6080 2003-02-27 Angus Leeming <leeming@lyx.org>
6083 * LyXAction.C (init):
6084 * factory.C (createInset):
6085 * BufferView_pimpl.C (dispatch):
6086 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6088 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6090 * lyxfunc.C (dispatch):
6091 * text3.C (dispatch): pass name to params2string.
6093 2003-02-26 Angus Leeming <leeming@lyx.org>
6095 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6097 Rearrange the ~includes. Strip out the unnecessary ones.
6099 * factory.C (createInset): reformat.
6100 create new insets for the various LFUN_XYZ_APPLY lfuns.
6102 2003-02-26 John Levon <levon@movementarian.org>
6105 * lyxrow.C: add isParStart,isParEnd helpers
6107 * paragraph.h: make isInserted/DeletedText take refs
6109 * paragraph_funcs.h:
6110 * paragraph_funcs.C: remove #if 0'd code
6115 * text.C: use lyxrow helpers above.
6116 Move draw and paint routines to RowPainter.
6117 Make several methods use refs not pointers.
6118 Make backgroundColor() const.
6119 Add markChangeInDraw(), isInInset().
6120 Merge changeRegionCase into changeCase.
6121 Make workWidth() shouldn't-happen code into an Assert.
6124 * rowpainter.C: new class for painting a row.
6127 * vspace.C: make inPixels take a ref
6129 2003-02-26 Angus Leeming <leeming@lyx.org>
6131 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6134 2003-02-25 John Levon <levon@movementarian.org>
6136 * ispell.C: give the forked command a more accurate name
6138 2003-02-22 John Levon <levon@movementarian.org>
6141 * toc.C: make TocItem store an id not a Paragraph *
6144 2003-02-21 Angus Leeming <leeming@lyx.org>
6146 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6147 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6148 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6149 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6150 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6151 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6153 * BufferView_pimpl.C (dispatch):
6154 * LyXAction.C (init):
6155 * factory.C (createInset):
6156 * lyxfunc.C (getStatus, dispatch):
6157 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6159 2003-02-21 Angus Leeming <leeming@lyx.org>
6161 * BufferView_pimpl.C (MenuInsertLyXFile):
6162 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6163 * lyxfunc.C (menuNew, open, doImport):
6164 no longer pass a LyXView & to fileDlg.
6166 2003-02-21 Angus Leeming <leeming@lyx.org>
6168 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6169 * LyXAction.C: change, BIBKEY to BIBITEM.
6170 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6171 Change InsetBibKey to InsetBibitem.
6172 Change BIBKEY_CODE to BIBITEM_CODE.
6173 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6174 * factory.C: replace insetbib.h with insetbibitem.h.
6175 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6176 * paragraph.C: replace insetbib.h with insetbibitem.h.
6177 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6178 Change bibkey() to bibitem().
6179 * text.C: remove insetbib.h.
6180 * text2.C: replace insetbib.h with insetbibitem.h.
6181 change bibkey() to bibitem().
6182 * text3.C: remove insetbib.h.
6183 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6185 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * lyxrc.C (output): enclose user email in quotes (in case there are
6190 2003-02-18 John Levon <levon@movementarian.org>
6192 * buffer.h: add std::
6194 2003-02-17 John Levon <levon@movementarian.org>
6200 * pspell.C: reworking. Especially in ispell, a large
6201 number of clean ups and bug fixes.
6203 * lyxfunc.C: fix revert to behave sensibly
6205 2003-02-17 André Pönitz <poenitz@gmx.net>
6208 * commandtags.h: new LFUN_INSERT_BIBKEY
6218 * paragraph_func.C: remove special bibkey handling
6220 2003-02-17 John Levon <levon@movementarian.org>
6222 * text.C (Delete): fix case where delete at the end of
6223 the very first paragraph would not merge the pars
6225 2003-02-17 John Levon <levon@movementarian.org>
6227 * lyxrow.C: fix lastPrintablePos()
6229 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6231 * bufferparams.C (writeLaTeX): add a std:here
6233 * buffer.C: and remove a using directive there
6235 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * buffer.C (makeLaTeXFile): move the code that generates the
6240 * bufferparams.C (writeLaTeX): ... in this new method
6242 * LaTeXFeatures.C (getEncodingSet): make const
6243 (getLanguages): make const
6245 * MenuBackend.C (binding): returns the binding associated to this
6247 (add): sets the status of each item by calling getStatus. Adds
6249 (read): add support for OptSubMenu
6250 (expand): remove extra separator at the end of expanded menu
6252 2003-02-15 John Levon <levon@movementarian.org>
6255 * BufferView_pimpl.C:
6257 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6258 inset code that had no actual effect. Remove unneeded status
6261 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6263 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6266 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6268 * text.C (drawLengthMarker): also draw an arrow marker for
6269 symbolic lengths (medskip...)
6271 2003-02-14 John Levon <levon@movementarian.org>
6274 * tabular.C: better method names
6276 2003-02-14 John Levon <levon@movementarian.org>
6278 * BufferView_pimpl.C:
6283 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6284 it's a more accurate name. Remove some pointless uses.
6286 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * text2.C (LyXText): change order of initilizers to shut off
6291 2003-02-14 John Levon <levon@movementarian.org>
6293 * buffer.C: use ParIterator for getParFromID()
6297 * paragraph_pimpl.h:
6298 * paragraph_pimpl.C: remove unused getParFromID()
6300 2003-02-14 John Levon <levon@movementarian.org>
6302 * buffer.C: remove some very old #if 0'd parse code
6304 2003-02-13 John Levon <levon@movementarian.org>
6308 * text2.C: move hfillExpansion(), numberOfSeparators(),
6309 rowLast(), rowLastPrintable(), numberofHfills(),
6310 numberOfLabelHfills() ...
6313 * lyxrow.C: ... to member functions here.
6318 * text.C: remove LyXText::beginningOfMainBody(), and call
6319 p->beginningOfMainBody() directly. Move the check for
6320 LABEL_MANUAL into the latter.
6327 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6333 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6334 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6336 2003-02-13 John Levon <levon@movementarian.org>
6338 * CutAndPaste.C: remove debug
6340 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6342 * paragraph.C (asString): remove two unused variables
6344 * lyxtextclass.C (readTitleType):
6346 (LyXTextClass): handle new members titletype_ and titlename_
6348 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6350 2003-02-09 John Levon <levon@movementarian.org>
6353 * buffer.C: replace hand-coded list with a map for the dep clean
6355 2003-02-08 John Levon <levon@movementarian.org>
6357 * LaTeX.C: consolidate code into showRunMessage() helper
6359 2003-02-08 John Levon <levon@movementarian.org>
6364 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6365 and pass the size in explicitly
6367 * BufferView_pimpl.h:
6368 * BufferView_pimpl.C:
6370 * BufferView.C: add getCurrentChange()
6372 * BufferView_pimpl.h:
6373 * BufferView_pimpl.C: handle change lfuns
6375 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6376 for changes. Mark pasted paragraphs as new.
6378 * support/lyxtime.h:
6379 * support/lyxtime.C:
6380 * DepTable.C: abstract time_t as lyx::time_type
6383 * LColor.C: add colours for new text, deleted text, changebars
6385 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6386 package use "usenames" option.
6390 * LyXAction.C: add change lfuns
6394 * author.C: author handling
6397 * buffer.C: add a per-buffer author list, with first entry as
6398 current author. Handle new .lyx tokens for change tracking. Output
6399 author list to .lyx file. Output dvipost stuff to .tex preamble.
6400 Bump lyx format to 222.
6403 * bufferlist.C: add setCurrentAuthor() to reset current author details
6407 * bufferparams.C: add param for tracking
6409 * bufferview_funcs.C: output change info in minibuffer
6413 * changes.C: add change-tracking structure
6416 * debug.C: add CHANGES debug flag
6419 * lyxfind.C: add code for finding the next change piece
6422 * lyxrc.C: add user_name and user_email
6425 * lyxrow.C: add a metric for the top of the text line
6428 * text.C: implement accept/rejectChange()
6431 * text.C: paint changebars. Paint new/deleted text in the chosen
6432 colours. Strike through deleted text.
6436 * paragraph_pimpl.h:
6437 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6438 in the current change to the insert functions. Rework erase to
6439 mark text as deleted, adding an eraseIntern() and a range-based
6440 erase(). Implement per-paragraph change lookup and
6443 * paragraph_funcs.C: Fixup paste for change tracking.
6445 * tabular.C: mark added row/columns as new.
6447 * text.C: fix rowLast() to never return -1. Don't allow
6448 spellchecking of deleted text. Track transpose changes. Don't
6449 allow paragraph break or merge where appropriate.
6451 * text2.C: leave cursor at end of selection after a cut.
6453 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6455 * text.C (getLengthMarkerHeight):
6456 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6457 visible on screen too.
6459 2003-02-07 John Levon <levon@movementarian.org>
6461 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6463 2003-02-05 Angus Leeming <leeming@lyx.org>
6465 * lyxserver.C (read_ready): revert my patch of 11 September last year
6466 as it sends PC cpu through the roof. Presumably this means that
6467 the lyxserver will no longer run on an Alpha...
6469 2003-01-30 Angus Leeming <leeming@lyx.org>
6471 * factory.C (createInset): create an InsetCommandParam of type "index"
6472 and use it to 'do the right thing'.
6474 * text2.C (getStringToIndex): ensure that cursor position is always
6475 reset to the reset_cursor position.
6477 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6482 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6486 * lyxfunc.C: Output messages with identical spelling, punctuation,
6489 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6491 * MenuBackend.C (expandFormats): List only viewable export formats
6494 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6497 * lyxfunc.C (getStatus): Make sure that formats other than
6498 "fax" can also be disabled
6500 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * text3.C (dispatch): put the lfuns that insert insets in 3
6503 groups, and call doInsertInset with appropriate arguments.
6504 (doInsertInset): new function, that creates an inset and inserts
6505 it according to some boolean parameters.
6507 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * buffer.C (readFile): remember to pass on 'par' when calling
6510 readFile recursively.
6512 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6514 * MenuBackend.C (expandFormats): add "..." to import formats.
6516 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6518 * paragraph.C (asString): Remove XForms RTL hacks.
6520 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6521 * buffer.C: fix typo
6523 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * Makefile.am (LIBS): delete var
6526 (lyx_LDADD): add @LIBS@ here instead.
6528 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6530 * Clarify the meaning of "wheel mouse jump"
6532 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6537 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6539 * importer.C (Loaders): do not preallocate 3 elements in the
6540 vector, since one ends up with 6 elements otherwise
6542 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6544 * DepTable.C (write): write the file name as last element of the
6545 .dep file (because it may contain spaces)
6546 (read): read info in the right order
6548 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6550 * paragraph_pimpl.C (simpleTeXBlanks):
6551 (simpleTeXSpecialChars):
6552 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6554 * tabular.C (latex): add some missing case statements. Reindent.
6556 * MenuBackend.C (expandToc): remove unused variable.
6558 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6567 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6570 2003-01-05 John Levon <levon@movementarian.org>
6573 * BufferView.C: add getEncoding()
6576 * kbsequence.C: do not store last keypress
6579 * lyxfunc.C: store last keypress here instead. Pass encoding
6582 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6584 * lyx_main.C (init): remove annoying error message when following
6585 symbolic links (bug #780)
6587 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6589 * text.C (insertChar):
6590 * lyxrc.C (getDescription): remove extra spaces
6592 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * lyxrc.C (getDescription): remove extra spaces
6596 2002-12-20 John Levon <levon@movementarian.org>
6598 * text3.C: hack fix for page up/down across tall rows
6600 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6605 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6607 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6608 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6609 thesaurus is not compiled in
6611 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6613 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6615 2002-12-16 Angus Leeming <leeming@lyx.org>
6618 * lyx_main.C (init): remove override_x_deadkeys stuff.
6620 2002-12-12 John Levon <levon@movementarian.org>
6622 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6623 insert. Only remove shift modifier under strict
6626 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * MenuBackend.C (expandToc): fix crash.
6630 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * MenuBackend.C (expandToc): gettext on float names.
6634 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6636 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6637 implement bool empty() [bug 490]
6639 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6641 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6643 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * several files: ws changes
6647 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6649 * text2.C (setCounter): clean up a bit, use boost.format.
6650 (updateCounters): initialize par upon declaration.
6652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6653 if the layout exists. We do not just store the layout any more.
6654 (SwitchLayoutsBetweenClasses): use boost.format
6656 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * converter.C (convert): if from and to files are the same, use a
6659 temporary files as intermediary
6661 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6664 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6666 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6668 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6670 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * tabular.C (asciiPrintCell): use string(size, char) instead of
6675 * sgml.C (openTag): fix order of arguments to string constructor
6678 * lyxfunc.C (dispatch): use boost.format
6680 * lots of files: change "c" -> 'c'
6682 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6684 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6686 2002-11-25 Angus Leeming <leeming@lyx.org>
6688 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6690 * lyx_main.C (init): compile fix.
6692 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * lyx_cb.C (start): boost.formatify
6695 do not include <iostream>
6697 * lengthcommon.C: ws only
6699 * boost-inst.C,BoostFormat.h: add more explict instantations
6701 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * lots of files: handle USE_BOOST_FORMAT
6705 2002-11-21 John Levon <levon@movementarian.org>
6707 * pspell.C: fix compile
6709 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6711 * lyxfunc.C (dispatch): use boost::format
6715 * lyxfont.C (stateText): use boost::format
6717 * lyx_main.C (LyX): use boost::format
6719 (queryUserLyXDir): ditto
6722 (typedef boost::function): use the recommened syntax.
6724 * importer.C (Import): use boost::format
6726 * debug.C (showLevel): use boost::format
6728 * converter.C (view): use boost::format
6733 * bufferview_funcs.C (currentState): use boost::format
6735 * bufferlist.C (emergencyWrite): use boost::format
6737 * buffer.C (readLyXformat2): use boost::format
6738 (parseSingleLyXformat2Token): ditto
6740 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6742 * LaTeX.C (run): use boost::format
6744 * Chktex.C (scanLogFile): use boost::format
6746 * BufferView_pimpl.C (savePosition): use boost::format
6747 (restorePosition): ditto
6748 (MenuInsertLyXFile): ditto
6750 * BoostFormat.h: help file for explicit instation.
6752 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6754 * tabular.C (latex): Support for block alignment in fixed width
6757 2002-11-17 John Levon <levon@movementarian.org>
6759 * BufferView_pimpl.C:
6761 * lyxfunc.C: split filedialog into open/save
6763 2002-11-08 Juergen Vigna <jug@sad.it>
6765 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6766 by my last patch (hopefully).
6768 2002-11-08 John Levon <levon@movementarian.org>
6777 * toc.C: ParConstIterator, and use it (from Lars)
6779 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6781 * lyxtextclass.[Ch]: revise and add doxygen comments
6783 2002-11-07 John Levon <levon@movementarian.org>
6785 * text.C: fix progress value for spellchecker
6787 * toc.C: fix navigate menu for insetwrap inside minipage
6789 * paragraph_funcs.C: added FIXME for suspect code
6791 2002-11-07 John Levon <levon@movementarian.org>
6793 * BufferView_pimpl.C: fix redrawing of insets
6796 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6798 * text2.C (updateCounters): fix bug 668
6800 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6802 * text3.C (dispatch): Do not make the buffer dirty when moving the
6805 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * vc-backend.C: STRCONV
6810 * text2.C (setCounter): STRCONV
6812 * paragraph.C (asString): STRCONV
6814 * lyxlength.C (asString): STRCONV
6815 (asLatexString): ditto
6817 * lyxgluelength.C (asString): STRCONV
6818 (asLatexString): ditto
6820 * lyxfunc.C (dispatch): STRCONV
6823 * lyxfont.C (stateText): STRCONV
6825 * importer.C (Import): STRCONV
6827 * counters.C (labelItem): STRCONV
6828 (numberLabel): ditto
6829 (numberLabel): remove unused ostringstream o
6834 * bufferview_funcs.C (currentState): STRCONV
6836 * buffer.C (readFile): STRCONV
6837 (asciiParagraph): ditto
6838 (makeLaTeXFile): ditto
6840 * Spacing.C (writeEnvirBegin): STRCONV
6842 * LaTeXFeatures.C (getLanguages): STRCONV
6843 (getPackages): ditto
6845 (getBabelOptions): ditto
6846 (getTClassPreamble): ditto
6847 (getLyXSGMLEntities): ditto
6848 (getIncludedFiles): ditto
6852 (scanAuxFile): ditto
6855 * LString.h: add the STRCONV macros
6857 * BufferView_pimpl.C (savePosition): STRCONV
6858 (restorePosition): ditto
6859 (MenuInsertLyXFile): ditto
6861 * vc-backend.C (scanMaster): change from submatch[...] to
6864 * funcrequest.C: include config.h
6866 * factory.C: include config.h
6868 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6870 * box.C: include config.h
6872 * LaTeX.C (scanAuxFile): change from submatch[...] to
6876 2002-10-25 Angus Leeming <leeming@lyx.org>
6878 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6880 * ispell.[Ch] (setError): new method.
6881 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6882 Use setError() insetead of goto END.
6884 * lyx_cb.C (AutoSave): move out child process into new class
6887 2002-10-30 John Levon <levon@movementarian.org>
6889 * text3.C: make start appendix undoable
6891 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6893 * lyxlength.C (inPixels): Fix returned value.
6895 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6898 2002-10-24 Angus Leeming <leeming@lyx.org>
6900 * lyxgluelength.h: no need to forward declare BufferParams
6901 or BufferView, so don't.
6903 2002-10-21 John Levon <levon@movementarian.org>
6905 * BufferView.C: menuUndo ->undo, redo
6907 * BufferView.h: document, remove dead, make some methods private
6909 * paragraph_funcs.h:
6910 * paragraph_funcs.C:
6911 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6916 * sgml.C: move sgml open/close tag into sgml.C
6918 * bufferview_funcs.h: unused prototype
6921 * lyxfunc.C: remove unused
6924 * text.C: remove unused
6926 2002-10-21 John Levon <levon@movementarian.org>
6930 * BufferView_pimpl.h:
6931 * BufferView_pimpl.C: fix mouse wheel handling based on
6932 patch from Darren Freeman
6934 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6936 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6938 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6940 * lyxlength.C (inPixels): Fix hanfling of negative length.
6941 Fix LyXLength::MU case.
6943 2002-10-16 John Levon <levon@movementarian.org>
6945 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6947 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6949 * converter.C (view): add support for $$i (file name) and $$p
6950 (file path) for the viewer command. If $$i is not specified, then
6951 it is appended to the command (for compatibility with old syntax)
6953 2002-10-14 Juergen Vigna <jug@sad.it>
6955 * undo_funcs.C (textHandleUndo): alter the order in which the
6956 new undopar is added to the LyXText, as we have to set first
6957 the right prev/next and then add it as otherwise the rebuild of
6958 LyXText is not correct. Also reset the cursor to the right paragraph,
6959 with this IMO we could remove the hack in "redoParagraphs()".
6961 2002-10-09 Angus Leeming <leeming@lyx.org>
6963 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6964 to turn off an optimisation if a new inset is to be inserted.
6966 2002-10-11 André Pönitz <poenitz@gmx.net>
6968 * lyxtext.h: make some functions public to allow access
6969 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6971 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * text3.C (dispatch): when changing layout, avoid an infinite loop
6976 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6978 * lyxrc.C (read): treat a viewer or converter command of "none" as
6981 * MenuBackend.C (expandFormats): for an update, also allow the
6982 formats that are not viewable
6984 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6985 script if it is newer than the lyxrc.defaults in user directory
6987 2002-10-07 André Pönitz <poenitz@gmx.net>
6989 * text.C: Vitaly Lipatov's small i18n fix
6991 2002-09-25 Angus Leeming <leeming@lyx.org>
6993 * ispell.h: doxygen fix.
6995 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6997 * buffer.h (readFile): Add a new argument to the method, to allow
6998 reading of old-format templates.
7000 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7002 * toc.C (getTocList): Get TOC from InsetWrap.
7004 2002-09-16 John Levon <levon@movementarian.org>
7006 * lyxfunc.C: check tabular for cut/copy too
7008 2002-09-12 John Levon <levon@movementarian.org>
7013 * factory.C: add header
7015 * paragraph_funcs.h:
7016 * paragraph_funcs.C: cleanup
7018 2002-09-11 John Levon <levon@movementarian.org>
7020 * PrinterParams.h: odd/even default to true
7022 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7024 * PrinterParams.h: update printer parameters for new xforms dialog
7026 2002-09-11 Angus Leeming <leeming@lyx.org>
7028 * lyxserver.C (read_ready): re-write to make it more transparent
7029 and to make it work in coherent fashion under Tru64 Unix.
7031 2002-09-11 André Pönitz <poenitz@gmx.net>
7035 * text3.C: implement LFUN_WORDSEL
7037 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7040 make floatlist_ a boost::shared_ptr<FloatList>
7042 * lyxtextclass.C: include FloatList.h
7043 (LyXTextClass): initialize floatlist_
7044 (TextClassTags): add TC_NOFLOAT
7045 (Read): match "nofloat" to TC_NOFLOAT and use it.
7046 (readFloat): modify call to floatlist_
7050 * FloatList.[Ch] (FloatList): remove commented out float
7052 (erase): new function
7054 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * MenuBackend.C (expandToc): fix crash when there is no document
7059 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7061 * many files: Add insetwrap.
7063 2002-09-09 John Levon <levon@movementarian.org>
7065 * text2.C: remove confusing and awkward depth wraparound
7067 2002-09-09 John Levon <levon@movementarian.org>
7069 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7072 * buffer.C: remove getIncludeonlyList()
7075 * lyxfunc.C: remove headers
7077 2002-09-09 Juergen Vigna <jug@sad.it>
7079 * text.C (getColumnNearX): fix form Michael this is most
7080 probably a cut&paste bug.
7082 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7086 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7087 references, ws changes.
7089 * text2.C (init): update counters after init
7090 (insertParagraph): no need to set counter on idividual paragraphs.
7091 (setCounter): access the counters object in the textclass object
7092 on in the buffer object.
7093 (updateCounters): ditto
7095 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7096 shared_ptr<Counters> to avoid loading counters.h in all
7098 (LyXTextClass): initialize ctrs_
7099 (TextClassTags): add TC_COUNTER, and ...
7100 (Read): use it here.
7101 (CounterTags): new tags
7102 (readCounter): new function
7103 (counters): new funtion
7104 (defaultLayoutName): return a const reference
7106 * counters.C (Counters): remove contructor
7107 (newCounter): remove a couple of unneeded statements.
7108 (newCounter): simplify a bit.
7109 (numberLabel): some small formatting changes.
7111 * buffer.[Ch]: remove all traces of counters, move the Counters
7112 object to the LyXTextClass.
7114 2002-09-06 Alain Castera <castera@in2p3.fr>
7116 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7117 package to set the horizontal alignment on fixed width columns.
7120 * lyx_sty.h: added tabularnewline macro def.
7122 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7124 2002-09-06 John Levon <levon@movementarian.org>
7126 * LyXAction.C: tooltips for sub/superscript
7128 * MenuBackend.C: a bit more verbose
7130 * lyxfunc.C: tiny clean
7132 * undo_funcs.C: document undo_frozen
7134 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * counters.C (Counters): add missing algorithm counter.
7138 * text2.C (setCounter): lookup the counter with layouts latexname
7139 instead of by section number.
7140 (setCounter): use a hackish way to lookup the correct enum
7142 a float name->type change
7143 reset enum couners with counter name directly instead of depth value.
7145 * counters.C (Counters): remove the push_backs, change to use the
7146 float type not the float name.
7147 (labelItem): remove unused string, float name->type change
7149 * counters.h: don't include vector, loose the enums and sects vectors
7151 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7154 (Read): add float->TC_FLOAT to textclassTags
7155 (Read): and handle it in the switch
7156 (readFloat): new function
7158 * FloatList.C (FloatList): comment out the hardcoded float
7161 * lyxlayout.h: ws change.
7163 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7165 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7167 2002-09-03 Angus Leeming <leeming@lyx.org>
7169 * BufferView_pimpl.h: qualified name is not allowed in member
7170 declaration: WorkArea & Pimpl::workarea() const;
7172 * factory.C: added using std::endl directive.
7174 * text3.C: added using std::find and std::vector directives.
7176 2002-08-29 André Pönitz <poenitz@gmx.net>
7179 * text2.C: remove unused member number_of_rows
7182 * BufferView2.C: remove file, move contents to...
7183 * BufferView.C: ... here
7185 * BufferView_pimpl.C:
7186 * factory.C: move more inset creation to factory
7188 * vspace.C: avoid direct usage of LyXText, ws changes
7191 don't provide direct access to WorkArea, use two simple
7192 acessors haveSelction() and workHeight() instead
7195 2002-08-29 John Levon <levon@movementarian.org>
7197 * BufferView_pimpl.C (dispatch): do not continue when
7200 2002-08-28 André Pönitz <poenitz@gmx.net>
7202 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7205 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7207 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7209 * buffer.C: increment LYX_FORMAT to 221
7211 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7212 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7214 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7216 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7218 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * factory.C (createInset): use LyXTextClass::floats
7222 * MenuBackend.C (expandFloatListInsert):
7223 (expandFloatInsert):
7226 * text2.C (setCounter):
7228 * LaTeXFeatures.C (useFloat):
7229 (getFloatDefinitions):
7231 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7233 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7234 floatlist_, with accessor floats().
7236 * FloatList.h: remove global FloatList
7238 2002-08-26 André Pönitz <poenitz@gmx.net>
7240 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7244 * BufferView_pimpl.C:
7245 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7247 2002-08-25 John Levon <levon@movementarian.org>
7249 * LyXAction.C: fix margin note description
7251 2002-08-24 John Levon <levon@movementarian.org>
7255 * bufferview_funcs.C:
7257 * undo_funcs.C: cleanups
7259 * lyxfunc.C: disable CUT/COPY when no selection
7261 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7263 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7264 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7266 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7267 Add backward compatibility to "mono", "gray" and "no".
7269 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7271 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7272 (and file_format >= 200).
7274 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7276 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7278 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7280 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7282 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7284 * BufferView_pimpl.C:
7291 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7292 inset and code to make it work with the paragraph code. The inset
7293 can be anywhere in the paragraph, but will only do the expected
7294 thing in LaTeX if the layout file contains the parameter line
7296 (or more generally, a nonzero value) for that layout.
7298 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * paragraph.h: remove the declaration of undefined counters class
7303 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7305 * text2.C (setCounter): fixed enumeration mis-count as reported by
7306 Dr. Richard Hawkins.
7308 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7310 * paragraph_funcs.h: remove some unneeded includes
7312 * text.C (backspace): pasteParagraph now in global scipe
7314 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7315 (pasteSelection): ditto
7317 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7318 * paragraph_funcs.C (pasteParagraph): ... here
7320 2002-08-20 André Pönitz <poenitz@gmx.net>
7322 * commandtags.h: new LFUNs for swapping/copying table row/colums
7325 * lyxfunc.C: support for new lfuns
7327 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * buffer.[Ch]: remove NO_COMPABILITY stuff
7332 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * boost.C (throw_exception): new file, with helper function for
7335 boost compiled without exceptions.
7340 * ParameterStruct.h:
7341 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7343 * bufferlist.C (emergencyWriteAll): use boost bind
7345 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7347 * text.C: include paragraph_funcs.h
7348 (breakParagraph): breakParagraph is now in global scope
7350 * paragraph_funcs.[Ch]: new files
7352 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7355 * buffer.C: include paragraph_funcs.h
7356 (insertStringAsLines): breakParagraph is now in global scope
7358 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7361 * CutAndPaste.C: include paragraph_funcs.h
7362 (cutSelection): breakParagraphConservative is now in global scope
7363 (pasteSelection): ditto
7365 * buffer.h: declare oprator== and operator!= for
7366 Buffer::inset_iterator
7368 * bufferlist.C (emergencyWrite): don't use fmt(...)
7370 * text3.C: add using std::endl
7372 * BufferView.C (moveCursorUpdate): remove default arg
7374 2002-08-20 André Pönitz <poenitz@gmx.net>
7376 * buffer.[Ch]: move inline functions to .C
7379 * BufferView_pimpl.C:
7381 * buffer.[Ch]: use improved inset_iterator
7384 * paragraph.[Ch]: write one paragraph at a time
7386 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7388 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7389 style if style is not specified.
7391 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7393 * text2.C (setCounter): when searching for right label for a
7394 caption, make sure to recurse to parent insets (so that a caption
7395 in a minipage in a figure float works) (bug #568)
7397 2002-08-20 André Pönitz <poenitz@gmx.net>
7399 * text3.C: new file for LyXText::dispatch() and helpers
7401 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7403 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7405 2002-08-19 André Pönitz <poenitz@gmx.net>
7408 * text.C: new LyXText::dispatch()
7410 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7412 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7414 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7416 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7419 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * Makefile.am: use $(variables) instead of @substitutions@
7423 2002-08-15 André Pönitz <poenitz@gmx.net>
7426 * BufferView_pimpl.C: streamlining mathed <-> outer world
7430 * LyXAction.C: remove unused LFUN_MATH
7432 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7436 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * paragraph.C (Paragraph): reformat a bit
7439 (cutIntoMinibuffer): use builtin InsetList function instad of
7443 * buffer.C: include boost/bind.hpp, add using std::for_each
7444 (writeFileAscii): use ParagraphList iterators
7445 (validate): use for_each for validate traversal of paragraphs
7446 (getBibkeyList): use ParagraphList iterators
7447 (resizeInsets): use for_each to resizeInsetsLyXText for all
7449 (getParFromID): use ParagraphList iterators
7451 * BufferView2.C (lockInset): use paragraph list and iterators
7453 2002-08-14 John Levon <levon@movementarian.org>
7455 * lyxserver.C: remove spurious xforms include
7457 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7459 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7461 2002-08-13 André Pönitz <poenitz@gmx.net>
7464 * lyxfunc.C: further cleaning
7466 2002-08-13 André Pönitz <poenitz@gmx.net>
7468 * funcrequest.h: new constructor
7470 * funcrequest.C: move stuff here from .h
7473 * BufferView_pimpl.C:
7476 * lyxfunc.C: subsequent changes
7478 * lyxfunc.h: new view() member function
7480 * lyxfunc.C: subsequent changes
7482 2002-08-13 Angus Leeming <leeming@lyx.org>
7485 * BufferView_pimpl.C:
7493 changes due to the changed LyXView interface that now returns references
7494 to member variables not pointers.
7496 2002-08-13 Angus Leeming <leeming@lyx.org>
7498 * WordLangTuple (word, lang_code): return references to strings,
7503 * lyxtext.h: forward-declare WordLangTuple.
7508 * text.C: #include "WordLangTuple.h".
7511 * text.C: (selectNextWordToSpellcheck): constify return type.
7513 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7519 * paragraph_pimpl.h:
7522 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7524 Made updateCounter always count from start of buffer, and removed
7525 second argument (par).
7526 Reverted floats number display to '#'. Perhaps I'll try again when the
7527 code base is sanitized a bit.
7529 2002-08-12 Angus Leeming <leeming@lyx.org>
7531 * buffer.[Ch] (getLabelList): constify.
7533 2002-08-07 André Pönitz <poenitz@gmx.net>
7535 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7537 * funcrequest.h: extension to keep mouse (x,y) position
7539 2002-08-12 Juergen Vigna <jug@sad.it>
7541 * BufferView2.C (insertErrors): forbid undo when inserting error
7544 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7546 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * ParagraphList.[Ch]: new files
7550 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7552 * BufferView2.C (lockInset): ParagraphList changes
7555 * bufferlist.C: ditto
7559 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7562 unused class variable counter_,
7564 * paragraph.[Ch] (getFirstCounter): delete unused function
7566 * counters.C: include LAssert.h
7567 (reset): add a new function with no arg, change other version to
7568 not have def. arg and to not allow empty arg.
7570 * text2.C (setCounter): remove empty arg from call to Counters::reset
7572 2002-08-11 John Levon <levon@movementarian.org>
7574 * Makefile.am: add WordLangTuple.h
7576 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7579 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7581 * insets/insettext.C: InsetList changes
7583 * graphics/GraphicsSupport.C (operator()): InsetList changes
7585 * toc.C (getTocList): InsetList changes
7587 * paragraph_pimpl.[Ch]: InsetList changes
7589 * paragraph.[Ch]: InsetList changes
7591 * buffer.C (inset_iterator): InsetList changes
7592 (setParagraph): ditto
7593 * buffer.h (inset_iterator): ditto
7594 * iterators.C (operator++): ditto
7595 * iterators.h: ditto
7597 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7599 * InsetList.[Ch]: new files, most InsetList handling moved out of
7602 * BufferView2.C (removeAutoInsets): InsetList changes
7604 (ChangeInsets): ditto
7606 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * paragraph_pimpl.h (empty): new function
7610 * paragraph.[Ch] (empty): new function
7612 * other files: use the new Paragraph::empty function
7614 2002-08-09 John Levon <levon@movementarian.org>
7616 * lyxtext.h: remove unused refresh_height
7618 2002-08-09 John Levon <levon@movementarian.org>
7625 * paragraph.C: move sgml char escaping out of paragraph
7628 * paragraph.C: remove id setter
7632 * paragraph_pimpl.C: remove dead tex_code_break_column
7634 * bufferview_funcs.C: small cleanup
7636 * lyxfunc.C: remove dead proto
7638 * lyxtext.h: make some stuff private. Remove some dead stuff.
7640 * lyxgluelength.C: make as[LyX]String() readable
7642 2002-08-08 John Levon <levon@movementarian.org>
7647 * ToolbarDefaults.C:
7650 * toc.C: lyxaction cleanup
7652 2002-08-08 John Levon <levon@movementarian.org>
7654 * BufferView2.C: small cleanup
7657 * lyxfind.C: move unnecessary header into the .C
7659 2002-08-08 John Levon <levon@movementarian.org>
7661 * funcrequest.h: just tedious nonsense
7664 * lyx_main.C: cleanups
7667 * vspace.C: remove dead header lyx_main.h
7669 2002-08-07 Angus Leeming <leeming@lyx.org>
7672 * paragraph_pimpl.h:
7673 Forward declare class Counters in paragraph.h by moving the ctrs member
7674 variable into Paragraph::Pimpl.
7675 (counters): new method, returning a reference to pimpl_->ctrs.
7677 * text2.C: ensuing changes.
7679 2002-08-07 John Levon <levon@movementarian.org>
7681 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7683 * BufferView_pimpl.C: announce X selection on double/triple
7686 * lyx_main.C: use correct bool in batch dispatch
7688 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7690 2002-08-07 André Pönitz <poenitz@gmx.net>
7692 * funcrequest.h: new class to wrap a kb_action and its argument
7695 * BufferView_pimpl[Ch]:
7699 * lyxrc.C: subsequent changes
7702 2002-08-07 John Levon <levon@movementarian.org>
7704 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7705 document options change.
7707 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7712 * makefile.am: move counters functionality over from
7713 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7715 2002-08-06 John Levon <levon@movementarian.org>
7717 * WordLangTuple.h: new file for word + language code tuple
7728 * BufferView2.C: use WordLangTuple
7731 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7733 2002-08-06 John Levon <levon@movementarian.org>
7735 * lyx_main.C: fix cmdline batch handling
7737 2002-08-06 André Pönitz <poenitz@gmx.net>
7739 * lyxrc.C: set default for show_banner to true
7741 2002-08-06 John Levon <levon@movementarian.org>
7743 * pspell.C: fix a crash, and allow new aspell to work
7745 2002-08-06 John Levon <levon@movementarian.org>
7748 * kbmap.C: small cleanup
7751 * vspace.C: add const
7753 2002-08-05 John Levon <levon@movementarian.org>
7755 * LyXAction.C: back to tabular-insert
7757 2002-08-04 John Levon <levon@movementarian.org>
7760 * BufferView.C: cosmetic change
7762 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7772 * BufferView2.C: purge all "Lyx" not "LyX" strings
7775 * lyxcursor.C: attempt to add some documentation
7780 * ToolbarDefaults.C:
7781 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7782 merge with LFUN_TABULAR_INSERT
7789 * pspell.C: split up i/pspell implementations into separate
7790 files, many cleanups
7792 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7794 * text2.C: some cleanup
7796 * lyxfunc.C: don't check for isp_command == "none" any more, it
7797 didn't make any sense
7799 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7804 * makefile.am: move counters functionality over
7805 from text2.C/paragraph.[Ch] to counters.[Ch], and
7807 2002-08-02 John Levon <levon@movementarian.org>
7809 * buffer.C: s/lyxconvert/lyx2lyx/
7811 2002-08-02 Angus Leeming <leeming@lyx.org>
7813 * lyxlex.C: revert John's change as it breaks reading of the user
7816 2002-08-02 Angus Leeming <leeming@lyx.org>
7818 * importer.C (Import):
7819 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7820 changes due to LyXView::view() now returning a boost::shared_ptr.
7822 2002-08-02 John Levon <levon@movementarian.org>
7824 * lyxlex.C: small cleanup
7826 2002-08-02 John Levon <levon@movementarian.org>
7828 * text2.C (status): small cleanup, no logic change
7830 2002-08-01 John Levon <levon@movementarian.org>
7833 * buffer.C (writeFile): don't output alerts, caller
7837 * lyx_cb.C: from above
7839 * lyxfunc.C: allow to open non-existent files
7841 2002-07-31 John Levon <levon@movementarian.org>
7843 * lyxserver.C: don't let incidental errors get
7846 2002-07-30 John Levon <levon@movementarian.org>
7848 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7850 2002-07-30 John Levon <levon@movementarian.org>
7853 * lyxserver.C: remove I/O callback too
7855 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7860 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7862 * many files: strip,frontStrip -> trim,ltrim,rtrim
7864 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * PrinterParams.h: remove extern containsOnly, and include
7867 support/lstrings.h instead.
7869 * LaTeX.C (scanAuxFile): modify because of strip changes
7871 * buffer.C (makeLaTeXFile): ditto
7872 * bufferparams.C (writeFile): ditt
7873 * lyxfont.C (stateText): ditto
7874 * lyxserver.C (read_ready): ditto
7875 * vc-backend.C (scanMaster): ditto
7877 * BufferView_pimpl.h: ws changes
7879 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7881 2002-07-26 André Pönitz <poenitz@gmx.net>
7883 * kb_sequence.C: remove unnedred usings
7885 2002-07-26 Juergen Vigna <jug@sad.it>
7887 * lyxfind.C (LyXReplace): we have to check better if the returned
7888 text is not of theLockingInset()->getLockingInset().
7890 2002-07-25 Juergen Vigna <jug@sad.it>
7892 * lyxfind.C (LyXReplace): don't replace if we don't get the
7895 * undo_funcs.C (createUndo): remove debugging code.
7897 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7899 * buffer.C (parseSingleLyXformat2Token): Use default placement
7900 when reading old floats.
7902 * FloatList.C (FloatList): Change the default placement of figure
7903 and tables to "tbp".
7905 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7907 * MenuBackend.C: using std::max
7909 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7911 * MenuBackend.C (expandToc):
7912 (expandToc2): code moved from xforms menu frontend. It is now
7913 generic and TOCs are transparent to menu frontends.
7915 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * toc.C (getTocList): protect against buf=0
7919 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7920 Menu as first parameter. Now, this calls itself recursively to
7921 expand a whole tree (this will be useful for TOC handling)
7922 (expandFloatInsert): remove 'wide' version of floats
7924 * MenuBackend.h (submenuname): returns the name of the submenu.
7925 (submenu): returns the submenu itself, provided it has been
7926 created by MenuBackend::expand
7928 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7930 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7931 insets which have noFontChange == true. (bug #172)
7933 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7935 * BufferView_pimpl.C: add connection objects and use them...
7938 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7940 * MenuBackend.C (expandLastfiles):
7943 (expandFloatListInsert):
7944 (expandFloatInsert):
7945 (expand): split expand in parts
7947 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7949 * lyx_gui.C: use lyx_gui::exit()
7951 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7953 * LyXAction.C: show the failing pseudo action
7955 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7957 * buffer.C (readFile): Run the lyxconvert script in order to read
7960 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7964 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7966 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7970 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7972 2002-07-22 Herbert Voss <voss@lyx.org>
7975 * lyxlength.[Ch]: add support for the vertical lengths
7977 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7979 * toc.[Ch]: std:: fixes
7981 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7983 * lyxrc.C: do not include lyx_main.h
7985 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7991 * BufferView2.C: include "lyxlex.h"
7994 * bufferparams.h: do not #include "lyxlex.h"
7996 * lyxtextclasslist.C (Add): remove method
7997 (classlist): renamed to classlist_
7999 * paragraph_pimpl.C:
8003 * bufferview_funcs.C:
8008 * toc.C (getTocList): use BufferParams::getLyXTextClass
8010 * toc.C (getTocList): use InsetFloat::addToToc
8012 * toc.[Ch]: new files, containing helper functions to handle table
8015 * lyxfunc.C (dispatch): no need to remove spaces around command
8017 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8018 first command of the sequence; it is not very clever, but I do not
8019 have a better idea, actually
8021 * LyXAction.C (LookupFunc): make sure to remove space at the
8022 beginning and end of the command
8024 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * MenuBackend.C (getMenubar): new method: return the menubar of
8028 (read): treat differently reading of menu and menubar (in
8029 particular, the menubar has no name now)
8030 (Menu::menubar): remove
8032 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8035 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8037 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8038 a bibitem inset in a RTL paragraph.
8040 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8042 * paragraph_pimpl.C: constify
8044 * BufferView_pimpl.C:
8046 * lyxfunc.C: fix dispatch in a nicer way
8048 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * lyxfunc.C (dispatch):
8051 * BufferView_pimpl.C:
8052 * BufferView_pimpl.h:
8054 * BufferView.h: rename Dispatch() to dispatch()
8056 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8058 * lyxlayout.C (Read): honor DependsOn tag
8060 * lyxlayout.[Ch] (depends_on): new method
8062 * version.C.in: update lyx_docversion
8064 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8066 * paragraph.C (validate): remove from here...
8067 * paragraph_pimpl.C (validate): ... and move here
8068 (isTextAt): make it const
8070 * buffer.C (getLists): ws cleanup
8072 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8074 * language.C (read): Use iso8859-1 encoding in latex_lang
8075 (this prevents LyX from crashing when using iso10646-1 encoding).
8077 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8079 * text2.C (toggleInset): if cursor is inside an inset, close the
8080 inset and leave cursor _after_ it
8082 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8084 * lyxfunc.C: move minibuffer completion handling out of here
8086 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8088 * BufferView_pimpl.C:
8089 * LaTeX.C: fix dispatch calls
8091 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8093 * text.C (drawChars): Fix Arabic text rendering.
8095 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8099 * lyxfunc.C: remove message-push/pop
8103 * lyxfunc.C: rationalise some code by removing verboseDispatch
8104 in favour of a bool argument to dispatch()
8106 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * lyx_main.C (init): make sure to read symlinks as absolute paths
8110 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8113 * lyxfunc.C: no need for commandshortcut to be a member
8115 2002-07-15 André Pönitz <poenitz@gmx.net>
8117 * converter.C: add support for $$s (scripts from lib/scripts dir)
8118 * lyx_main.C: white space
8120 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8124 * lyxrc.C: remove second exit confirmation
8126 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8131 * BufferView_pimpl.h:
8132 * BufferView_pimpl.C:
8133 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8135 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8137 * MenuBackend.C (expand): add numeric shortcuts to document menu
8139 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8141 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8143 * lyxfont.C (setLyXFamily):
8150 * buffer.C (asciiParagraph): use ascii_lowercase
8152 2002-07-15 Mike Fabian <mfabian@suse.de>
8154 * lyxlex_pimpl.C (search_kw):
8155 * lyxlex.C (getLongString):
8156 * converter.h (operator<):
8157 * converter.C (operator<):
8158 * buffer.C (parseSingleLyXformat2Token):
8160 * ToolbarDefaults.C (read):
8161 * MenuBackend.C (checkShortcuts):
8163 * LColor.C (getFromGUIName):
8164 (getFromLyXName): use the compare_ascii_no_case instead of
8165 compare_no_case, because in turkish, 'i' is not the lowercase
8166 version of 'I', and thus turkish locale breaks parsing of tags.
8168 2002-07-16 Angus Leeming <leeming@lyx.org>
8170 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8171 now takes a Buffer const & argument.
8173 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8175 * BufferView.C (resize): check there's a buffer to resize
8177 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8179 * lyxfunc.C: remove dead code
8182 * lyxserver.C: use lyx_guii::set_read_callback
8184 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8186 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8187 an inset in a RTL paragraph.
8189 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8191 * lyxfunc.C: repaint after a font size update
8193 2002-07-15 André Pönitz <poenitz@gmx.net>
8195 * lyxlength.C: inBP should be able to return negative values
8197 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8199 * lyxfunc.C: use lyx_gui::update_fonts()
8201 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8203 * lyxfunc.C: use lyx_gui::update_color()
8205 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8211 * lyxrc.C: remove file->new asks for name option, and let
8212 buffer-new take an argument
8214 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8216 * BufferView_pimpl.C: remove unneeded extra repaint()
8218 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8220 * LyXAction.C: allow command-sequence with NoBuffer
8222 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8224 2002-07-10 Angus Leeming <leeming@lyx.org>
8226 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8228 2002-07-09 Angus Leeming <leeming@lyx.org>
8230 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8232 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8234 * lengthcommon.h: whitespace
8236 * lyxfunc.C: update scrollbar after goto paragraph
8238 * lyxtext.h: factor out page break drawing, and fix it so
8239 page break/added space paints as selected nicely
8241 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8243 * BufferView_pimpl.C: add FIXMEs, clean up a little
8245 2002-07-09 André Pönitz <poenitz@gmx.net>
8247 * lyxfont.[Ch]: support for wasy symbols
8249 2002-07-08 André Pönitz <poenitz@gmx.net>
8251 * BufferView_pimpl.C: apply John's patch for #93.
8253 2002-07-05 Angus Leeming <leeming@lyx.org>
8255 * BufferView_pimpl.C (buffer): generate previews if desired.
8257 * LColor.h: add "preview" to the color enum.
8259 * LColor.C (LColor): add a corresponding entry to the items array.
8261 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8264 2002-07-05 Angus Leeming <leeming@lyx.org>
8266 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8267 The body of the code is now in the method that is passed an ostream &
8268 rather than a file name.
8269 Pass an additional only_preamble parameter, useful for the forthcoming
8272 2002-07-03 André Pönitz <poenitz@gmx.net>
8274 * lyxfunc.C: simplify getStatus() a bit for math stuff
8276 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8280 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * text.C (changeRegionCase): do not change case of all the
8283 document when region ends at paragraph end (bug #461)
8285 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8287 * paragraph.C (startTeXParParams):
8288 (endTeXParParams): add \protect when necessary
8290 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8292 * BufferView_pimpl.C (workAreaExpose): remove warning
8294 2002-06-27 Angus Leeming <leeming@lyx.org>
8296 * Makefile.am: add lyxlayout_ptr_fwd.h.
8298 2002-06-26 André Pönitz <poenitz@gmx.net>
8300 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8302 2002-06-25 Angus Leeming <leeming@lyx.org>
8304 * lyxfunc.C (dispatch): Comment out the call to
8305 grfx::GCache::changeDisplay. The method no longer exists now that the
8306 pixmap generation part of the graphics loader has been moved into
8309 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * text2.C: layout as layout
8313 * text.C: layout as layout
8315 * tabular.C (OldFormatRead): layout as layout
8317 * paragraph_pimpl.C (TeXDeeper): layout as layout
8318 (realizeFont): layout as layout
8320 * paragraph.C (writeFile): layout as layout
8321 (validate): layout as layout
8322 (getFont): layout as layout
8323 (getLabelFont): layout as layout
8324 (getLayoutFont): layout as layout
8325 (breakParagraph): layout as layout
8326 (stripLeadingSpaces): layout as layout
8327 (getEndLabel): layout as layout
8328 (getMaxDepthAfter): layout as layout
8329 (applyLayout): layout as layout
8330 (TeXOnePar): layout as layout
8331 (simpleTeXOnePar): layout as layout
8332 (TeXEnvironment): layout as layout
8333 (layout): layout as layout
8334 (layout): layout as layout
8336 * lyxtextclass.C (compare_name): new functor to work with
8337 shared_ptr, layout as layout
8338 (Read): layout as layout
8339 (hasLayout): layout as layout
8340 (operator): layout as layout
8341 (delete_layout): layout as layout
8342 (defaultLayout): layout as layout
8344 * lyxlayout_ptr_fwd.h: new file
8346 * lyxlayout.C (Read): layout as layout
8348 * lyx_cb.C (MenuInsertLabel): layout as layout
8350 * bufferlist.C (newFile): layout as layout
8352 * buffer.C (readLyXformat2): layout as layout
8353 (parseSingleLyXformat2Token): layout as layout
8354 (insertStringAsLines): layout as layout
8355 (asciiParagraph): layout as layout
8356 (latexParagraphs): layout as layout
8357 (makeLinuxDocFile): layout as layout
8358 (simpleLinuxDocOnePar): layout as layout
8359 (makeDocBookFile): layout as layout
8360 (simpleDocBookOnePar): layout as layout
8361 (getLists): layout as layout
8363 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8365 * CutAndPaste.C (cutSelection): layout as layout
8366 (pasteSelection): layout as layout
8367 (SwitchLayoutsBetweenClasses): layout as layout
8369 * BufferView_pimpl.C (Dispatch): layout as layout
8370 (smartQuote): layout as layout
8372 * BufferView2.C (unlockInset): layout as layout
8374 2002-06-24 André Pönitz <poenitz@gmx.net>
8376 * lyxfunc.C: fix #487
8378 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8382 * lyxfunc.C: remove display_shortcuts, show_banner
8384 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8386 * Buffer_pimpl.C: oops, update on resize
8388 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8395 * BufferView.C: use repaint()
8397 * BufferView_pimpl.h:
8398 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8399 as it's a clearer description. Remove superfluous
8402 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8404 * text.C: fix bug 488. Not ideal, but getting
8405 getWord() to work properly for the insets that
8406 matter is more difficult ...
8408 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8410 * BufferView_pimpl.C:
8413 * lyxfunc.C: remove the six million index lyxfuncs to just
8414 one, and DTRT (bug 458)
8416 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8420 * BufferView_pimpl.h:
8421 * BufferView_pimpl.C: clean up resize() stuff,
8422 and unnecessary updateScreen()s
8424 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8428 * BufferView_pimpl.h:
8429 * BufferView_pimpl.C:
8432 * minibuffer.C: remove focus management of workarea,
8433 not needed. Use screen's greyOut()
8435 2002-06-17 Herbert Voss <voss@lyx.org>
8437 * converter.C: (convert) do not post a message, when converting
8438 fails, let the calling function decide what to do in this case
8440 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8442 * lyxfunc.C: tidy up a little
8444 2002-06-16 <alstrup@diku.dk>
8446 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8447 Got rid of FORMS_H_LOCATION include. Now we are
8450 2002-06-15 LyX Development team <lyx@rilke>
8452 * buffer.[Ch] (sgmlOpenTag):
8453 (sgmlCloseTag): Added support for avoiding pernicious mixed
8454 content. Return number of lines written.
8457 (makeDocBookFile): Fixed calls to sgml*Tag.
8458 Simple white space clean.
8460 (simpleDocBookOnePar): Simple white space clean.
8462 * tabular.[Ch] (docBook): Renamed to docbook and got another
8463 argument to related with the pernicious mixed content.
8465 (docbookRow): Fixed calls for docbook inset method.
8467 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8469 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8470 so it's X11 independent.
8474 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8476 2002-06-15 Lyx Development team <lyx@electronia>
8478 * intl.h: Renamed getTrans to getTransManager.
8480 2002-06-14 Angus Leeming <leeming@lyx.org>
8482 * Makefile.am: nuke forgotten stl_string_fwd.h.
8484 2002-06-12 Angus Leeming <leeming@lyx.org>
8486 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8488 2002-06-13 Angus Leeming <leeming@lyx.org>
8491 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8493 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8495 * kbmap.C (getiso): add support for cyrillic and greek
8497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8501 * BufferView_pimpl.h:
8502 * BufferView_pimpl.C: move bogus scrolling logic
8505 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8508 * BufferView_pimpl.C: view->resize() change
8510 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8512 * BufferView_pimpl.C: topCursorVisible
8515 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8519 * lyx_gui.C: move to frontends/
8523 * lyx_main.C: changes from above
8525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8532 * lyx_main.C: minor tidy
8534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8536 * BufferView_pimpl.h:
8537 * BufferView_pimpl.C:
8539 * BufferView.C: make painter() const,
8542 * BufferView2.C: use screen() accessor
8545 * lyx_main.C: some minor cleanup
8547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.h:
8550 * BufferView_pimpl.C: remove enter/leaveView,
8553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8558 * BufferView_pimpl.h:
8559 * BufferView_pimpl.C: only construct screen once,
8562 * lyxrc.C: remove pointless comment
8564 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8567 * BufferView.C: remove active() and belowMouse()
8569 * BufferView_pimpl.h:
8570 * BufferView_pimpl.C: use workarea() not workarea_,
8571 and make it use a scoped_ptr instead
8573 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8575 * lyx_gui.C: add debug message on BadWindow
8577 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8579 * sp_spell.C: fdopen is not part of the C++ standard.
8581 * paragraph.C (InsetIterator): use >= instead of ==
8583 2002-06-07 Angus Leeming <leeming@lyx.org>
8585 Fixes needed to compile with Compaq cxx 6.5.
8586 * BufferView_pimpl.C:
8593 * lyxtextclasslist.C:
8598 all c-library variables have been moved into namespace std. Wrap
8599 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8604 Add a using std::abs declaration.
8606 * kbmap.h (modifier_pair):
8607 * paragraph.h (InsetTable, InsetList):
8608 * lyxfont.h (FontBits):
8609 type definition made public.
8611 * bufferlist.C (emergencyWriteAll): the compiler complains that
8612 there is more than one possible lyx::class_fun template to choose from.
8613 I re-named the void specialisation as lyx::void_class_fun.
8615 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8617 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8618 the compiler is is unable to find tostr in write_attribute.
8620 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * buffer.C (sgmlError): hide #warning
8624 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8626 * xtl/*: get rid of xtl, which is not in use anyway
8628 * LyXAction.C (init):
8629 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8630 were unimplemented xtl experimentation
8632 2002-06-04 André Pönitz <poenitz@gmx.net>
8634 * lyxfunc.C: disable array operation on simple formulae
8636 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8638 * converter.C: constify a bit
8640 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8642 * lyx_gui.C: check xforms version correctly
8644 2002-04-30 Herbert Voss <voss@lyx.org>
8646 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8649 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8651 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8652 attempt to register it with a VCS)
8654 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8656 * lyx_main.C (init): honor variables LYX_DIR_13x and
8659 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8663 * lyx_main.C: fix a crash on bad command line,
8664 and give a useful exit status on error
8666 * lyxfunc.C (doImport): allow -i lyx to work
8668 2002-03-30 André Pönitz <poenitz@gmx.net>
8670 * lyxfunc.C: mathed font changes
8672 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8687 * trans_mgr.h: srcdocs, and some minor cleanups
8689 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8691 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8692 call getFont all the time)
8694 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8696 * switch from SigC signals to boost::signals
8698 2002-05-29 André Pönitz <poenitz@gmx.net>
8700 * paragraph_pimpl.C (getChar): don't call size() too often...
8702 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * paragraph_pimpl.C (insertChar): do not try to update tables when
8705 appending (pos == size())
8707 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8708 in order to reduce drastically the number of comparisons needed to
8709 parse a large document
8711 2002-05-29 André Pönitz <poenitz@gmx.net>
8717 * textclasslist.[Ch]:
8718 * sp_ispell.h: whitespace change
8720 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8723 lyxaction directly now.
8725 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8729 * lyxvc.C: remove unused headers
8731 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8738 * undo_funcs.C: some cleanups. Use shared_ptr
8739 and a template for the undo stacks.
8741 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8743 * BufferView_pimpl.h:
8744 * BufferView_pimpl.C:
8751 * text2.C: use key_state/mouse_state
8753 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8758 * chset.C: change include order
8759 (loadFile): use boost regex and get rid of LRegex and LSubstring
8761 * Makefile.am (BOOST_LIBS): new variable
8764 * LaTeX.C: change include order.
8765 (scanAuxFile): use boost regex and get rid of LRegex and
8769 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8774 * FontInfo.C: moved to frontends/xforms/
8777 * FontLoader.C: moved into frontends for GUIIzation
8782 * lyxfunc.C: changes from above
8784 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8786 * LColor.C: remove spurious X include
8788 * BufferView_pimpl.C:
8793 * text2.C: move font metrics to frontends/
8795 2002-05-24 Juergen Vigna <jug@sad.it>
8797 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8798 setting the undo_cursor.
8800 * ParagraphParameters.h: include local includes first.
8802 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8804 * BufferView_pimpl.C:
8805 * BufferView_pimpl.h:
8809 * screen.C: move WorkArea into frontends/
8815 * BufferView2.C: move LyXScreen into frontends/
8819 * lyx_gui.C: move lyxlookup into frontends/xforms/
8821 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8824 * BufferView_pimpl.C:
8834 * bufferview_funcs.C:
8847 * vc-backend.C: move LyX/XFormsView into frontends/
8849 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8861 * text2.C: move Painter to frontends/
8863 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8865 * buffer.C: comment out some some code that depend upon lyx_format
8868 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8869 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8871 * buffer.h (NO_COMPABILITY): turn off compability
8873 * ColorHandler.C: include scoped_array.hpp
8875 * font.C: Use more specific smart_ptr header.
8878 * ShareContainer.h: ditto
8882 * BufferView_pimpl.h: ditto
8883 * ColorHandler.h: ditto
8885 * kbmap.C (defkey): change call to shared_ptr::reset
8887 2002-05-21 Juergen Vigna <jug@sad.it>
8889 * buffer.C (insertErtContents): fix to insert ert asis if it is
8890 non empty. Skip it completely if it contains only whitespaces.
8892 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8894 * BufferView_pimpl.C:
8895 * BufferView2.C: clear selection on paste (bug 393)
8897 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8899 * DepTable.C: include ctime
8901 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8903 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8905 2002-05-14 Juergen Vigna <jug@sad.it>
8907 * text.C (breakParagraph): fixed function to honor the keepempty
8908 layout in the right maner and also to permit the right breaking
8909 algorithm on empty or non empyt keepempty paragraphs.
8911 * paragraph.C (breakParagraph): we have to check also if the par
8912 is really empty (!size()) for isempty otherwise we do the wrong
8915 2002-05-10 Juergen Vigna <jug@sad.it>
8917 * buffer.[Ch] : The following are only changes to the ert
8918 compatibility read reading old LaTeX layout and font stuff and
8919 convert it to ERTInsets.
8921 * buffer.h: added isErtInset().
8923 * buffer.C (struct ErtComp): add a fromlayout bool to check
8924 if we're inside a LaTeX layout.
8925 (isErtInset): new helper function.
8926 (insertErtContents): look for other ert insets before this one
8927 and insert the contents there, so that we don't have subsequent
8928 ERT insets with nothing between them. This way we create only one
8929 inset with multiple paragraphs. Also check if we don't insert only
8930 spaces ' ' as they are ignored anyway afterwards in the .tex file
8931 so if we have only spaces we will ignore this latex part in the
8933 (parseSingleLyXformat2Token \\layout): better compatibility when
8934 reading layout-latex stuff.
8935 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8937 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8938 stuff after reading the inset only get the information back from
8941 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8943 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8945 * LaTeXFeatures.C (getBabelOptions): New method.
8947 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * BufferView_pimpl.C (Dispatch): work around missing argument for
8952 2002-05-08 Juergen Vigna <jug@sad.it>
8954 * text.C (leftMargin): handle paragraph leftindent.
8956 * paragraph.C (writeFile): write the new \\leftindent tag.
8957 (validate): handle leftindent code.
8958 (TeXEnvironment): handle paragraphleftindent code again.
8960 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8962 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8963 for paragrap_extra indent code and new token \\leftindent.
8964 (latexParagraphs): handle the leftindent as environment.
8966 * ParameterStruct.h: added leftindent support.
8968 * ParagraphParameters.C (leftIndent): added support functions for
8969 the paragraph left indent.
8971 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8974 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8976 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8979 * text.C (computeBidiTables): No bidi in insetERT.
8981 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8984 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8986 * version.C.in: pre 5
8988 2002-05-02 José Matos <jamatos@fep.up.pt>
8989 * buffer.C (makeDocBookFile): white space changes, add newline to
8991 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8993 * tabular.C (docBook): fix typo.
8995 2002-05-03 Juergen Vigna <jug@sad.it>
8997 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8998 change in LyXText as we can not be sure it was not freed.
8999 (drawOneRow): remove unused code.
9001 * text.C (drawInset): redo the calculation of the need_break_row as
9002 it could have a row which was already freed.
9003 (draw): look at the return value of drawInset and return false if
9004 it also returned false.
9005 (paintRowText): look at the return value of draw and return false if
9006 it also returned false.
9008 * lyxtext.h: added bool return type to drawInset() and draw() so that
9009 if we have a change in the row so that the rowbreak has to be redone
9010 we abort drawing as it will be called again.
9012 2002-05-02 Juergen Vigna <jug@sad.it>
9014 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9015 a change in the maintext also if we're inside an inset.
9016 (Dispatch): set the cursor again after a break line and after the
9017 screen has been updated as it could be we're in a different row.
9019 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9020 to set the cursor behind the pargraph with > size().
9021 (setCursor): check also for the same paragraph when checking where
9022 to put the cursor if we have a NFR inset.
9024 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9025 parts of layout read further up as it still was in the wrong
9028 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9030 * screen.C (drawFromTo): change sine fullRebreak always return
9033 * buffer.C (parseSingleLyXformat2Token): reindent some
9035 * BufferView_pimpl.C (update): change since fullRebreak always
9037 (Dispatch): git rid of the last hardcoded "Standard"s.
9039 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9041 * text2.[Ch] (fullRebreak): make it return void now that we always
9044 2002-04-30 Juergen Vigna <jug@sad.it>
9046 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9047 ert compatibility check for "latex" layout.
9049 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9051 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9052 minipages: use col% instead of p%, and also use the current font.
9053 (makeLaTeXFile): Fix use babel condition.
9054 (parseSingleLyXformat2Token): Correct font when reading old floats.
9056 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9058 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9059 inserting list of floats.
9061 2002-04-25 Herbert Voss <voss@lyx.org>
9063 * MenuBackend.C (expand): don't add the graphics extensions to the
9066 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9069 non-existing layout, do not complain if it was the default layout
9070 of the original class (bug #342)
9072 2002-04-24 Juergen Vigna <jug@sad.it>
9074 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9075 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9077 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9079 * buffer.C (getBibkeyList): If using \bibliography, return the
9080 option field with the reference itself. Enables us to provide natbib
9081 support when using \bibliography.
9083 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9085 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9087 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9088 natbib is provided by the LaTeX class.
9090 2002-04-23 Juergen Vigna <jug@sad.it>
9092 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9095 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9097 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9099 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9101 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9102 ensuremath around textordmasculine, textordfeminine and
9105 2002-04-19 Juergen Vigna <jug@sad.it>
9107 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9108 reinitializing the buffer otherwise row-dimensions may be wrong.
9109 (update): reset also the selection cursors if they do exits otherwise
9110 their x/y positions may be wrong.
9112 * text2.C (cursorDown): don't enter the inset if we came from a row
9113 above and are one row over the inset.
9115 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9116 really leaving an inset.
9118 2002-04-18 Juergen Vigna <jug@sad.it>
9120 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9121 of the selected paragraph does not have the selected layout also if
9124 * text2.C (setLayout): fixed bug which did not change last selected
9127 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9128 changed the read and substituted \\end_float with \\end_inset!
9130 * BufferView_pimpl.C (cursorPrevious):
9131 (cursorNext): fixed to make it work with rows heigher than the work
9132 area without moving the cursor only the draw of the row.
9133 (workAreaMotionNotify): fix jumping over high rows.
9135 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9140 2002-04-16 Juergen Vigna <jug@sad.it>
9142 * text2.C (setCursor): set also the irow().
9143 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9145 (cursorDown): support for locking an inset if the x_fix value goes
9146 inside it. That way I can transverse insets too with cursor up/down.
9148 * lyxrow.h: added irow helper function same as other (i) functions.
9150 * BufferView_pimpl.C (cursorPrevious):
9151 (cursorNext): fixed for insets!
9153 2002-04-15 Juergen Vigna <jug@sad.it>
9155 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9156 position otherwise it is wrong in some cases.
9158 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9159 inside the inset before the call.
9161 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9163 * buffer.[Ch] (getBibkeyList): make it const.
9165 2002-04-12 Juergen Vigna <jug@sad.it>
9167 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9169 * text2.C (getCursorX): new helper function
9170 (setCursor): compute also ix_
9171 (setCursorFromCoordinates): set also ix.
9173 * lyxcursor.h: added ix_ and helper functions.
9175 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9177 * buffer.C (insertStringAsLines): dont break paragraph if the this
9178 paragraph is inside an inset which does not permit it!
9180 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9181 also with no chars on this paragraph.
9182 (paintRowText): only paint stuff if it's inside the workarea!
9184 * paragraph.C (breakParagraph): honor keepempty flag and break the
9185 paragraph always below not above.
9187 * BufferView2.C (unlockInset): update the paragraph layout on inset
9188 unlock as we changed paragraph in such a case.
9190 * lyxfind.C (LyXFind): clear the former selection if not found!
9192 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9193 again called in insertChar().
9195 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9196 an inset which uses the whole row!
9197 (rightMargin): ditto.
9198 (insertChar): force a rebreak if we inserted an inset!
9200 2002-03-28 Herbert Voss <voss@lyx.org>
9202 * lyxlength.[Ch]: add inBP() to get the right PS-point
9203 units (BigPoint). With inPixels we have rounding errors
9205 2002-04-11 Juergen Vigna <jug@sad.it>
9207 * text2.C (setCursorFromCoordinates): set iy to the right value.
9208 (setCursor): add check if row->previous exists!
9210 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9211 an old float_type as this was the case in the old code!
9213 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9215 * BufferView2.C (showLockedInsetCursor): use iy
9216 (fitLockedInsetCursor): ditto
9218 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9219 locked insets as there we have the right value now.
9221 * lyxcursor.C: added iy_ variable and iy functions to set to the
9222 baseline of cursor-y of the locked inset.
9224 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9225 (setCursor): fixed for insets which need a full row.
9227 * text.C (rowLastPrintable): don't ignore the last space when before
9228 an inset which needs a full row.
9229 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9230 as last character of a row when before a inset which needs a full row.
9232 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9234 * version.C.in: update date
9236 * text2.C (fullRebreak): try to always return true and see what
9239 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9241 * MenuBackend.C (expand): use Floating::listName
9243 * FloatList.C (FloatList): add listName argument to the built-in
9246 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9247 text associated with the float.
9249 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9253 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * ShareContainer.h: add a couple of missing typenames.
9257 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9259 * lyxrc.C (getDescription): use _() correctly rather than N_().
9261 2002-03-28 Herbert Voss <voss@lyx.org>
9263 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9264 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9266 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9268 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9269 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9271 2002-03-29 Juergen Vigna <jug@sad.it>
9273 * lyxfunc.C (dispatch): add a missing fitCursor call.
9275 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9276 it was scrolled by a cursor move, so return the bool status.
9278 * BufferView.C (fitCursor): return the bool flag also to the outside
9279 world as this is needed.
9281 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9283 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9284 call the edit() as it is not needed (and wrong) IMO.
9285 (workAreaButtonPress): set the screen_first variable before evt.
9286 unlock the inset as this may change screen_first and then we have
9287 a wrong y position for the click!
9289 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9291 * MenuBackend.C (expand): another translation that I missed
9293 2002-03-28 Juergen Vigna <jug@sad.it>
9295 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9297 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9299 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9301 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9303 * MenuBackend.C (expand): fix export/view/update when there is no
9306 2002-03-27 Herbert Voss <voss@lyx.org>
9308 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9311 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9313 * bufferview_funcs.C (currentState): only show paragraph number
9314 for is DEVEL_VERSION is set.
9316 * lyxfunc.C (dispatch): put warning in INFO channel
9318 * MenuBackend.C (expand): translate the name of floats
9320 * FloatList.C (FloatList): mark the float names for translation
9322 * converter.C (convert): use LibScriptSearch
9324 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9326 * MenuBackend.C (defaults): fix default menu (we might as well get
9329 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9331 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9334 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * lyxvc.C: reorder includes.
9338 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9340 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9343 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9345 * CutAndPaste.C: change layouts earlier on paste
9346 to avoid crashing when calling getFont()
9348 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9350 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9353 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * WorkArea.C: remove 'Pending' debug message.
9357 * most files: ws cleanup
9359 * buffer.[Ch]: ws changes
9361 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9363 2002-03-21 Juergen Vigna <jug@sad.it>
9365 * tabular.C (SetMultiColumn): collapse also the contents of the
9366 cells and set the last border right. Added a Buffer const * param.
9368 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9373 2002-03-19 Juergen Vigna <jug@sad.it>
9375 * text2.C (clearSelection): reset also xsel_cache.
9377 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9378 where it needs to be called (John tells us to do so too :)
9379 (selectionLost): reset sel_cache.
9381 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9383 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9385 * text2.C (setCursorIntern): put debuging code in INSETS channel
9387 2002-03-19 André Pönitz <poenitz@gmx.net>
9389 * lyxfunc.C: tiny whitespace change
9391 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * ToolbarDefaults.C (init):
9394 * LyXAction.C (init):
9396 * BufferView_pimpl.C (Dispatch):
9397 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9399 2002-03-19 Allan Rae <rae@lyx.org>
9401 * exporter.C (Export): removeAutoInsets before doing anything else.
9402 While I've just introduced a dependency on BufferView this really is
9403 the best place to clean the buffer otherwise you need to cleanup in
9404 a dozen places before calling export or cleanup in a dozen functions
9407 * converter.C (runLaTeX):
9408 (scanLog): Better handling of removeAutoInsets and screen updates.
9410 * lyxfunc.C (dispatch): small whitespace changes
9412 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9414 * WorkArea.C (C_WorkAreaEvent): return a value.
9415 (event_cb): return 1 if we handled the event, 0 otherwise.
9417 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9419 2002-03-18 Juergen Vigna <jug@sad.it>
9421 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9422 (GetAdditionalWidth): ditto.
9426 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9427 inset if we're there actually (probably not used right now but this
9428 is the direction to go for unifying code).
9429 (paste): disable code to clear the selection.
9431 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9432 inside an InsetText and move the check further up as it is in the
9435 * text2.C (pasteSelection): set a selection over the pasted text.
9437 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9439 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9440 and libgraphics to build on Cygwin.
9442 2002-03-15 Juergen Vigna <jug@sad.it>
9444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9445 inserting an Inset into the paragraph. I know this is not the best
9446 fix but we already use current_view in CutAndPaste so we will remove
9447 all of it's using at the same time.
9449 * buffer.C (sgmlError): deactivated function till it is rewritten in
9450 the right mode, now it can create problems.
9452 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9453 before accessing it.
9455 2002-03-14 Juergen Vigna <jug@sad.it>
9457 * undo_funcs.C (textHandleUndo): do the right thing when updating
9458 the inset after the undo/redo.
9460 * text2.C (setCursor): just some testcode for #44 not ready yet.
9462 * undo_funcs.C (textHandleUndo): set the next() and previous()
9463 pointers of the paragraph to 0 before deleting otherwise we have
9464 problems with the Paragraph::[destructor].
9466 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9467 on a paragraph insertion.
9469 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * buffer.C (asciiParagraph): use += operator for char append to
9474 * paragraph.C (getFontSettings): compare >= not just >
9475 (highestFontInRange): ditto
9478 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9480 * paragraph.C: change several algorithm to be more appripriate for
9481 the problem domain. This is lookip in FontList and in the InsetList.
9483 2002-03-13 André Pönitz <poenitz@gmx.net>
9486 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9488 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9493 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9495 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * Painter.C (display): anon helper function, adjust code for this
9499 (pixmap): remove function.
9501 * Painter.h: remove private display variable.
9503 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9505 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9507 * WorkArea.[Ch]: remove figinset_canvas cruft.
9509 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9511 * lyxtextclass.C (operator): add one item cache optimization.
9513 * bufferlist.h: doxy changes
9515 * bufferlist.C: ws changes
9517 * DepTable.[Ch] (ext_exist): place const in the right spot.
9519 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9521 (workAreaExpose): call resizeInsets when the with BufferView changes.
9522 (Dispatch): adjust for protectedBlank removal
9523 (specialChar): call updateInset if the insert went ok.
9525 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9526 specialChar instead.
9528 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9530 * BufferView.h: doxy change
9532 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9534 * lyxtextclass.C (operator[]): remove non-const version
9535 (defaultLayout): remove non-const version
9537 2002-03-12 Juergen Vigna <jug@sad.it>
9539 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9540 did resize the LyXText too.
9542 * buffer.C (readLyXformat2): set layout information on newly allocated
9545 * tabular.C (OldFormatRead): set layout information on the paragraph.
9547 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9549 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9551 2002-03-11 Juergen Vigna <jug@sad.it>
9553 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9555 (resizeCurrentBuffer): force also the insets to resize themselfes.
9556 (moveCursorUpdate): fixed up for InsetText.
9558 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9561 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9562 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9563 value of Dialogs::tooltipsEnabled().
9564 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9566 2002-03-08 Juergen Vigna <jug@sad.it>
9568 * BufferView_pimpl.C (updateInset): update inset inside inset also
9569 if it isn't inside theLockingInset().
9571 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * buffer.C (asciiParagraph): redo some of the word and line length
9575 (getLists): look for Caption instead of caption.
9577 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9579 * buffer.C (Buffer): initialize niceFile to true
9582 (makeDocBookFile): make sure niceFile is true on exit
9584 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9586 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9588 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9590 * LyXSendto.C: remove.
9591 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9592 * lyx_gui.C: remove now-redundant comment.
9593 * ColorHandler.h: remove forward declaration of class WorkArea.
9594 * lyxfunc.C: remove #include "WorkArea.h".
9596 2002-03-07 Juergen Vigna <jug@sad.it>
9598 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9599 got moved away with the DEPM and also set the inset_owner always
9600 right which before could have been omitted.
9602 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9605 wanted layout is not found.
9607 2002-03-07 Juergen Vigna <jug@sad.it>
9609 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9611 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * paragraph.C (breakParagraph): use default layout not layout of
9615 (Paragraph): clear ParagraphParameters.
9617 2002-03-06 Juergen Vigna <jug@sad.it>
9619 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9620 otherwise it would not be a valid lenght. Fixed a special case in
9621 the minipage compatibility read where we end the document with a
9624 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9625 was set as it could be 0 for InsetTexts first entry.
9627 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * paragraph.C (writeFile): if layout is empty write out
9630 defaultLayoutName().
9632 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9633 file without named layout we set layout to defaultLayoutName().
9635 2002-03-06 Juergen Vigna <jug@sad.it>
9637 * CutAndPaste.C (copySelection): set layout for new paragraph.
9639 * text.C (prepareToPrint): leave ERT inset left aligned
9640 (leftMargin): don't indent paragraphs inside ERT insets
9642 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * paragraph.C (breakParagraph): dont call clear do the work manually
9646 * paragraph.[Ch] (clear): remove function
9648 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * paragraph.C (Paragraph): dont call clear, the work has already
9653 * lyxtextclass.C (operator): assert if n is empty
9655 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9656 work manually instead.
9658 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9660 * BufferView_pimpl.C: protect selectionLost against text == 0
9662 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * text.C (breakParagraph): fix a setting layout to '0' problem.
9666 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9668 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9669 final location of file, for the included files, and graphics.
9671 2002-03-05 Juergen Vigna <jug@sad.it>
9673 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9675 2002-03-04 Juergen Vigna <jug@sad.it>
9677 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9679 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9680 last column of multicolumn cells.
9681 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9683 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9685 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9686 file if it doesn't go to a temporary file.
9688 * buffer.C (sgmlOpenTag):
9689 (sgmlCloseTag): remove extra newline insertion.
9691 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * text.C (getRowNearY): comment out debug msg
9695 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9697 * text2.C: first -> first_y
9699 * text.C (getRowNearY): add some attemts at a possible
9700 optimization, not working.
9702 * tabular.[Ch]: add BufferParams to several function so that newly
9703 created paragraph can be initialized to he default layotu for the
9706 * tabular-old.C (ReadOld): add buf->params to call of Init
9708 * screen.C: rename text->first to text->first_y
9710 * paragraph.C (breakParagraph): always set layout in the broken
9713 * lyxtextclass.C (Read): remove lowercase
9716 (delete_layout): ditto
9718 * lyxtext.h: rename first -> first_y
9720 * lyxlayout.C (Read): remove lowercase
9723 (obsoleted_by): ditto
9725 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9727 * buffer.C (insertErtContents): add params are to InsetERT
9728 (parseSingleLyXformat2Token): add code to check if a paragraphs
9729 layout really exist.
9730 (parseSingleLyXformat2Token): add params to several inset
9732 (asciiParagraph): remove lowercase, do the layout comparisons with
9735 * BufferView_pimpl.C (cursorNext): first -> first_y
9736 (resizeCurrentBuffer): first -> first_y
9737 (updateScrollbar): first -> first_y
9738 (scrollCB): first -> first_y
9739 (workAreaMotionNotify): first -> first_y
9740 (workAreaButtonPress): first -> first_y
9741 (checkInsetHit): first -> first_y
9742 (cursorPrevious): first -> first_y
9743 (cursorNext): first -> first_y
9744 (Dispatch): add buffer_->params to severl inset contructors
9746 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9748 * lyxlayout.C (Read): remove some debug info that I forgot.
9750 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9751 clean up the code slightly.
9752 (makeLinuxDocFile): ditto
9753 (makeDocBookFile): ditto
9755 * text2.C: layout as string
9757 * text.C: layout as string
9759 * paragraph_pimpl.C: layout as string
9761 * paragraph.[Ch]: layout as string
9763 * lyxtextclasslist.[Ch]: layout as string
9765 * lyxtextclass.[Ch]: layout as string
9767 * lyxtext.h: layout as string
9769 * lyxlayout.[Ch]: layout as string
9771 * lyx_cb.C: layout as string
9773 * bufferview_funcs.C: layout as string
9775 * bufferparams.C: layout as string
9777 * buffer.C: layout as string
9779 * LyXView.[Ch]: layout as string
9781 * LaTeXFeatures.[Ch]: layout as string
9783 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9785 * BufferView_pimpl.C: change current_layout to string, remove
9790 (workAreaButtonRelease): layout as string
9792 * BufferView2.C (unlockInset): adjust
9794 * vspace.C (asLatexCommand): use an explict temp variable.
9796 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9798 * Makefile.am: use FRONTEND_*
9800 2002-03-01 Juergen Vigna <jug@sad.it>
9802 * tabular.C (SetWidthOfMulticolCell): changed to something better
9803 I hope but still work in progress.
9804 (recalculateMulticolumnsOfColumn): renamed function from
9805 recalculateMulticolCells as it is more appropriate now.
9806 (SetWidthOfCell): calculate multicols better.
9808 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9812 * lyxfunc.C (processKeySym): print sequence also if it is
9813 `deleted' (complete)
9815 * kbsequence.C (print): print sequence even if it is deleted
9816 (complete would be a better word, actually).
9818 * lyxfunc.C (dispatch): print complete options after a prefix key
9820 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9822 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9824 * text2.C (setCharFont): eliminate setCharFont code duplication.
9826 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9829 LFUN_TABULAR_FEATURE (bug #177)
9831 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9833 * Makefile.am: remove figure.h
9835 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9837 * Bufferview_pimpl.C:
9849 * text2.C: remove #include "lyx_gui_misc.h".
9851 * LaTeX.C: added #include <cstdio>
9853 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9856 that the paragraph following this one can have.
9858 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9860 * vspace.C (asLatexCommand): fix bogus gcc warning
9862 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9864 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9866 * text2.C (setLayout): get rid of redundant code
9868 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9870 * text2.C (incDepth): make sure depth cannot be increased beyond
9873 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9875 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9876 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9878 * PainterBase.h (image):
9879 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9882 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9886 * BufferView_pimpl.C:
9887 * BufferView_pimpl.h:
9907 * sp_spell.C: remove fig inset, and the crap house of
9908 cards that follows it
9910 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9916 * nt_defines.h: move .h into support/
9918 * vms_defines.h: remove
9920 * WorkArea.C: add space in debug output
9924 * buffer.C: add WITH_WARNINGS
9928 * bufferlist.C: s/retrive/retrieve/, add docs
9939 * lyxgui.C: add ID to X error handler
9941 * lyxtestclass.c: fix typo
9943 2002-02-26 Juergen Vigna <jug@sad.it>
9945 * tabular_funcs.C (write_attribute): changed so that some default
9946 attributes are not written at all.
9947 (getTokenValue): set default values before trying to read the
9948 value so we have the return value always set as default if we don't
9949 find the token we search for.
9951 * tabular.C (Write): write bools as bools not as strings!
9953 2002-02-22 Juergen Vigna <jug@sad.it>
9955 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9956 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9958 * text.C (leftMargin): don't add an indent for paragraphs inside
9959 tabular cells (fix #208).
9961 2002-02-21 José Matos <jamatos@fep.up.pt>
9963 * tabular.C (docBook): fixed support for long tables.
9965 2002-02-20 Juergen Vigna <jug@sad.it>
9967 * text2.C (getFont): get the drawing font of the Inset if this
9968 paragraph is inside an inset (only important for InsetERT for now).
9970 * buffer.C (insertErtContents): use new lanugage params in ERT
9973 * CutAndPaste.C: commenting out seemingly uneeded code.
9975 2002-02-19 Allan Rae <rae@lyx.org>
9977 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9978 Iterators might be simple to use but they also get invalidated.
9979 (removeAutoInsets): renamed saved cursor tracking variables and added
9980 some comments to clarify what everything does.
9982 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9989 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9990 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9993 * vc-backend.h: remove #include "support/syscall.h"
9997 * converter.C: rearrange #includes in Lars' approved fashion.
9999 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10000 forward declare class Timeout in the header file.
10002 * XFormsView.C: changes due to the above.
10004 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10005 similar to LyXView.
10007 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10008 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10010 2002-02-18 José Matos <jamatos@fep.up.pt>
10012 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10015 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10017 * a lot of small ws changes
10018 * add a lot of using std::XXX
10019 * use std construcs some places where approp.
10020 * use some exisint stuff from lyxfunctional where approp.
10021 * Make file changes to use partial linking (lets test this now...)
10023 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10027 remove #include "support/syscontr.h" as it's redundant. Always has been.
10035 change Systemcalls::System to Systemcalls::Wait and
10036 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10037 No change of functionality, just reflects the stripped down Systemcalls
10040 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10042 * debug.[Ch]: add a GRAPHICS type to the enum.
10044 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10048 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10051 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10054 match the changes below.
10056 * text2.C (toggleInset): if there is not editable inset at cursor
10057 position, try to see if cursor is _inside_ a collapsable inset
10060 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10062 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10063 document menu has a nice checkbox
10065 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * lyxlength.C (asLatexString): change PW to output as percent of
10070 * lengthcommon.C: change '%' to 't%'
10072 * lyxfunc.C (dispatch): a few comments from Martin
10074 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10078 * BufferView_pimpl.h:
10079 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10082 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10084 * vspace.C (inPixels): fix compiler warning
10086 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10088 * lyxfunc.C (getStatus): fix status message for disabled commands.
10090 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10092 * BufferView_pimpl.C: fix crash on close buffer
10093 during selection (#227)
10095 2002-01-27 Herbert Voss <voss@lyx.org>
10097 * buffer.C: link old Figure to new graphic inset
10099 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10101 * FontLoader.C (getFontinfo): Change the latex font names in order
10102 to match the names of type1inst.
10104 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10106 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10108 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10109 (extchanged): ditto
10111 (remove_files_with_extension): ditto
10112 (remove_file): ditto
10115 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10116 document is smaller than the work area height. Do not initialize
10117 static variables to 0.
10119 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10123 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10124 LFUN_LAYOUT_PARAGRAPHS.
10126 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10127 tabular. It is possible to provide a possible cell, which will
10128 typically be the actcell from the corresponding insettabular
10130 * lyxfunc.C (getStatus): small cleanup; disable
10131 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10134 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10138 * paragraph.C (startTeXParParams):
10139 (endTeXParParams): new methods. The LaTeX code to
10140 start/end paragraph formatting
10141 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10142 empty (fixes bug #200)
10144 * vspace.C (inPixels): adapt to the change below
10145 (inPixels): [later] more cleanups (remove unused variables)
10147 * lyxlength.C (inPixels): change to use a width and a height as
10150 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10153 Replaced with \paperwidth
10155 * DepTable.C (insert): add std:: qualifier
10157 2002-01-18 Allan Rae <rae@lyx.org>
10159 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10162 * text.C (drawInset): Turned out I didn't know enough about how
10163 rebreaking worked. This fixes most of the redraw problems. I see
10164 an occasional cursor trail when a line is broken now and the cursor
10165 placement can seem out by a few pixels also after a rebreak.
10167 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10169 * buffer.C (parseSingleLyXformat2Token): update because minipage
10170 width is now a LyXLength
10172 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10174 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10177 2002-01-17 Juergen Vigna <jug@sad.it>
10179 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10181 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10182 is set correctly and the inset is updated correctly.
10184 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10187 the beginning of the loop.
10189 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10191 * lyxrc.C: improve help for use_scalable_fonts
10193 2002-01-17 Allan Rae <rae@lyx.org>
10195 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10197 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10200 make sure to set their inset_owner to the right value (bug #171)
10202 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10205 * DepTable.C: Implement mtime checking to reduce time spent doing
10208 2002-01-16 Juergen Vigna <jug@sad.it>
10210 * tabular.C (GetAdditionalHeight): one of error fixed.
10212 * lyxrc.C (output): small fix in writing use_pspell.
10214 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10216 * sp_base.h: #include LString.h
10218 2002-01-16 Allan Rae <rae@lyx.org>
10220 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10221 Can someone check this please?
10223 * text.C (drawInset): It was possible that p.row would be removed by
10224 breakAgainOneRow upsetting a few other settings. There may be another
10225 small tweak possible by setting need_break_row = 0 when p.row has been
10226 removed but I don't know enough about the logic here.
10228 2002-01-15 Allan Rae <rae@lyx.org>
10230 * text.C (insertChar): removed conditional truism.
10232 * BufferView2.C (removeAutoInsets): More tweaks.
10233 cur_par_prev could be a stray pointer. Check for trailing empty line
10234 in case last line was cur_par and only had an error inset on it.
10236 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10238 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10241 * vc-backend.C (most methods):
10242 * exporter.C (Export):
10243 * converter.C (convert):
10245 * LyXSendto.C (SendtoApplyCB):
10246 * lyxfunc.C (dispatch):
10250 * lyx_cb.C (AutoSave):
10252 * BufferView_pimpl.C (MenuInsertLyXFile):
10253 * buffer.C (runChktex): use Buffer::filePath().
10255 * buffer.h: rename filename to filename_; rename filepath to
10256 filepath_ and make it private
10257 (filePath): new method
10259 * buffer.C (writeFile): use fileName()
10262 * lyx_main.C (init): fix starting of LyX when the binary is a
10263 link from so,ewhere else.
10265 * minibuffer.C: include <cctype> for isprint
10267 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10269 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10270 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10271 name clash with InsetCollapsable's width function.
10273 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10275 * lastfiles.C: include <iterator>
10277 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10279 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10282 * buffer.C (makeLaTeXFile): ditto.
10283 Also make loop operation more transparent.
10285 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10287 * ToolbarDefaults.C: remove trailing comma closing namespace.
10289 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10291 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10294 * trans.C (Load): comment out unused variable, allowed.
10296 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10298 * minibuffer.[Ch] (append_char): new method to recieve input from the
10299 drop-down completion browser. If a key was pressed, then recieve this
10300 char and append it to the existing string.
10301 (peek_event): modify the positioning data passed to the completion
10302 browser so that it can be placed above the minibuffer rather than below.
10303 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * LyXAction.C (init): alloe error-next for readonly documents.
10307 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10310 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * bufferlist.C (readFile): create the buffer _after_ checking that
10315 * lyxfunc.C (verboseDispatch): fix handling of arguments
10317 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10319 * lyxrc.C: use string::erase() instead of initializing to "".
10322 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10324 * BufferView_pimpl.h:
10325 * BufferView_pimpl.C:
10328 * text2.C: tell X when we have made a selection for copying
10330 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * BufferView_pimpl.C (MenuInsertLyXFile):
10333 * lyxfunc.C (menuNew):
10335 (doImport): add shortcuts to directory buttons
10337 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10340 * lyxfunc.C (setStatusMessage):
10341 (getStatusMessage): new methods
10342 (getStatus):use setStatusMessage instead of setErrorMessage
10343 (dispatch): when function is disabled, set error message here
10344 [instead of in getStatus previously]
10346 * BufferView_pimpl.C (workAreaButtonRelease): update
10347 toolbar/menubar here too.
10349 2002-01-13 Allan Rae <rae@lyx.org>
10351 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10352 Now seems indestructible. Remaining task is to audit all other
10353 code affected by deleteEmptyParagraphMechanism. One small quirk
10354 left is that an empty document with an error in the preamble can
10355 be made to report an error but no error box appears. I don't know
10357 (removeAutoInsets): Improved comments.
10359 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10362 * Thesaurus.C: update for Aiksaurus 0.14
10364 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10366 * text2.C (firstParagraph): removed member function, all uses
10367 replaces with ownerParagraph
10368 (redoParagraphs): here
10369 (updateInset): here
10370 (toggleAppendix): here
10371 * BufferView2.C (insertErrors): here
10372 (setCursorFromRow): here
10374 2002-01-13 Allan Rae <rae@lyx.org>
10376 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10377 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10378 There is still a way to segfault this although you may have to do this
10379 multiple times: Have an InsetERT with an unknown command in it.
10380 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10381 <down-arrow>, <Enter> again, View->DVI, BANG!
10383 * text2.C (setCursor):
10384 (deleteEmptyParagraphMechanism):
10385 * lyxtext.h (setCursor):
10386 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10387 Making use of the return value may help fix other bugs.
10389 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10393 * LyXView.C (updateMenubar): call MenuBar::update here
10394 (updateToolbar): but not here
10395 (showState): do not update toolbar/menubar
10397 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10398 should need to care about that.
10400 * lyxfunc.C (verboseDispatch): simplify a bit
10401 (getStatus): have a version which takes a pseudoaction, and
10402 another which requires a (kb_action,string).
10404 * LyXAction.C (retrieveActionArg): make it work also when action
10405 is not a pseudo-action.
10406 (getActionName): simplify a bit
10409 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10411 * lyxfunc.C (verboseDispatch): new families of methods with
10412 several ways to specify a command and a bool to indicate whether
10413 the command name and shortcut should be displayed in minibuffer
10414 (eventually, we could extend that to a finer bitmask like
10415 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10416 (dispatch): the pristine dispatch command which just, well,
10417 dispatchs! Note it still sets its result to minibuffer; I'm not
10420 * lyxfunc.h: remove setHintMessage
10422 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10424 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * BufferView_pimpl.C (specialChar): delete new inset if we have
10427 not been able to insert it.
10429 * kbmap.C: revert to using int instead of kb_action, since all we
10430 are dealing with is pseudo-actions.
10432 * LyXAction.C (searchActionArg): change to return int instead of
10433 kb_action, since the result is a pseudoaction.
10435 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10437 * buffer.C (insertErtContents): Fix (partially) the font bug.
10439 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10441 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10442 as the other one is broken on my machine!
10444 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10447 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10449 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10451 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10452 reflect their actual use. Provide compatibility code for older lyxrc
10455 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10457 change names of popup font variables in line with the changes to lyxrc.C
10459 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10461 * buffer.C (asciiParagraph): avoid outputing a word twice after
10464 * lyxrc.C (getDescription): document that document_path and
10465 template_path can be empty.
10467 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * LaTeXFeatures.C (getMacros):
10470 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10472 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10474 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10476 (getPackages): rename feature "floats" to "float". Use an array to
10477 iterate over 'simple' features (i.e. just a \usepackage). Add
10478 handling of "amsmath" (renamed from "amsstyle").
10480 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10482 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10485 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10487 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10488 FuncStaus::FuncStatus & FuncStaus::some_method().
10490 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10492 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10493 of the func_satus stuff. Edited and massaged in various ways by
10496 * lyxfunc.C (getStatus): use FuncStatus
10498 2002-01-08 Juergen Vigna <jug@sad.it>
10500 * text.C (nextBreakPoint): use function Inset::isChar().
10502 * paragraph.C (TeXOnePar): use function
10503 Inset::forceDefaultParagraphs.
10505 * buffer.C (latexParagraphs): use function
10506 Inset::forceDefaultParagraphs.
10508 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10510 * lyx_gui.C (init): set the style of the menu popups to
10511 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10513 2002-01-07 Juergen Vigna <jug@sad.it>
10515 * text.C (setHeightOfRow): small fix
10516 (prepareToPrint): don't look at alignment if we don't have the place
10519 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10521 * box.C: New file. Move the Box methods and functions out of box.h,
10522 following Lars' suggestion.
10524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10526 * box.h: #include "support/LOstream.h", needed for inlined function.
10529 * lyxtextclasslist.C: added some using std declarations.
10531 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10533 * box.h: make signed dimensions to allow insets wider than
10534 the screen (bug #162)
10536 * BufferView_pimpl.C: add some insetHit debug
10538 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10540 * vc-backend.C: add FIXME
10542 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyxfunc.C (getStatus): enable code for showing math font status
10547 2002-01-07 Juergen Vigna <jug@sad.it>
10549 * text.C (nextBreakPoint): removed debug output not needed anymore.
10551 2002-01-06 Juergen Vigna <jug@sad.it>
10553 * text.C (nextBreakPoint): fixed up this function we had this bug
10554 since ever but now hopefully we break row better.
10555 (insertChar): we have to check if an inset is the next char as it
10556 could now happen that a large inset is causing a break.
10558 2002-01-05 Juergen Vigna <jug@sad.it>
10560 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10561 if it doesn't like to be drawed.
10563 2002-01-04 Juergen Vigna <jug@sad.it>
10565 * BufferView2.C (lockInset): forgot to set a cursor.
10567 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10569 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10571 * FormMathsPanel.C:
10574 * form_maths_panel.C:
10575 * form_maths_panel.h:
10576 * form_maths_panel.fd: implemented sub- and super- buttons in math
10579 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10580 (or ^ space) to be used as in TeX (req'd by André).
10582 * lyxfunc.C: Allow ^ and _ again to be used both as
10583 super/subscript (mathed) and as themselves (in text).
10585 2002-01-03 Allan Rae <rae@lyx.org>
10587 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10588 "LyX" or the filename of the current buffer if it has one. This is a
10589 modified form of John Levon's patch.
10591 * XFormsView.C (setWindowTitle): also set icon title.
10593 * LyXView.h (setWindowTitle): signature changed.
10594 * XFormsView.h (setWindowTitle): ditto.
10596 2002-01-02 Juergen Vigna <jug@sad.it>
10598 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10600 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10602 * screen.C (topCursorVisible): introduce a temp var for
10603 text->cursor.row(), handle the case where this row is null. (kindo
10606 * text2.C (setCursor): add a couple of asserts.
10608 * paragraph.h (inset_iterator): add -> operator
10610 * paragraph.[Ch] (autoDeleteInsets): remove member function
10612 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10613 cursor pos correctly and handle inset deletion by itself.
10614 (insertErrors): move iterator declaration out of for expression
10616 * lyxtextclass.C: add <algorithm>
10618 * Makefile.am: added the new files to sources, removed layout.C
10620 * layout.C: removed file
10622 * layout.h: remove LYX_DUMMY_LAYOUT
10624 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10628 * lyxtextclass.[Ch]:
10629 * lyxtextclasslist.[Ch]: new files
10631 * include order changes to a lot of files, also changes because of
10634 2001-12-27 Juergen Vigna <jug@sad.it>
10636 * buffer.C (asciiParagraph): more fixes.
10638 * tabular.C (ascii): make ascii export support export of only the
10639 data separated by a column-delimiter.
10640 (ascii): better support for ascii export.
10642 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10644 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10646 * tabular_funcs.C: use a "using std::getline" instead of the
10647 previous fix from Angus (necessary for cxx + lyxstring)
10649 2001-12-24 Juergen Vigna <jug@sad.it>
10651 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10653 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10654 problems. First check a minipage also if we have some ert-contents
10655 (not only on par->size(), second set the right depth of the paragraph
10656 on the relink to the root-paragraph-list!
10658 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10659 which then did not anymore update the main paragraphs on undo/redo!
10661 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10664 code. Support all font-changing funcs (even those which are not in
10665 menu currently). Support for reporting font settings in
10666 mathed (disabled until Andre provides a function on mathed's side).
10668 * func_status.h (toggle): small helper function to set toggle
10671 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10673 * tabular_funcs.C: getline -> std::getline
10675 2001-12-21 Juergen Vigna <jug@sad.it>
10677 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10678 accessed and could be 0 (I couldn't generate this but it seems
10681 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10684 * tabular_funcs.h: here and include iosfwd
10686 2001-12-20 Juergen Vigna <jug@sad.it>
10688 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10689 inside inset but undo_par was.
10691 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * Thesaurus.C: always include <config.h> in sources.
10697 * box.h: do not include <config.h> in header files
10699 * text.C (paintLastRow): remove unused variable
10701 * text.C (transformChar):
10703 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10705 * Painter.C (text):
10706 * font.C (width): rewrite to use uppercase() instead of
10709 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10711 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10713 * lyxfind.C: clean up of find failure position change
10715 2001-12-20 Juergen Vigna <jug@sad.it>
10717 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10719 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10720 (TeXRow): added to LaTeX a single tabular row.
10721 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10722 (Latex): simplified and finally good LT-h/f support.
10723 (various_functions): just small adaptions for LT-h/f support.
10725 * tabular_funcs.[hC]: added and moved here all not classfunctions
10728 2001-12-19 Juergen Vigna <jug@sad.it>
10730 * tabular.[Ch]: better support for longtabular options (not finished
10733 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10735 * text.C (paintLastRow): use the label font instead of the font of
10736 the last character to compute the size of *_BOX. This makes more
10737 sense and avoids a crash with empty paragraphs.
10738 Use Painter::rectangle to draw EMPTY_BOX.
10740 2001-12-19 Juergen Vigna <jug@sad.it>
10742 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10743 the paragraphs if the replaced paragraph is not the first one!
10744 Tried to delete not used paragraphs but does not work yet so for
10745 now it's inside #ifdef's and by default off!
10747 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10749 * MenuBackend.C: include "lyx_main.h" instead of declaring
10750 lastfiles (actually was declared as LastFiles* instead of a
10753 2001-12-17 Juergen Vigna <jug@sad.it>
10755 * tabular.C (AppendColumn): applied John's fix
10757 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10761 * BufferView_pimpl.h:
10762 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10765 * box.h: new start of class for above
10767 * lyxfunc.C: ignore space-only minibuffer dispatches.
10768 Show the command name when it doesn't exist
10770 * minibuffer.C: don't add empty lines to the history
10772 * minibuffer.C: add a space on dropdown completion
10774 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10776 * text.C: fix line above/below drawing in insets
10778 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * lyxlength.C (LyXLength): Initialize private variables.
10782 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10785 when inserting error insets.
10787 2001-12-13 Juergen Vigna <jug@sad.it>
10789 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10790 actually sometimes the before-paragraph.
10791 (setUndo): don't clear the redostack if we're not actually undoing!
10793 2001-12-06 Juergen Vigna <jug@sad.it>
10795 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10796 and fixed redoing of main paragraph, so we can use it now ;)
10798 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10800 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10805 2001-12-13 André Pönitz <poenitz@gmx.net>
10808 * undo_func.C: minor cleanup
10810 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10813 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10814 font in urw-fonts package which is marked as -urw-fontspecific and
10815 does not work (incidentally, changing the encoding in the
10816 fonts.dir of this package to -adobe-fontspecific fixes the
10819 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10820 is a crash when undoing first paragraph (Juergen, please take a
10821 look). THis does not mean the undo fix is wrong, just that it
10824 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10825 the (Paragraph*) version when needed instead of duplicating the
10828 * text.C (workWidth): use Inset::parOwner to find out where the
10829 inset has been inserted. This is a huge performance gain for large
10830 documents with lots of insets. If Inset::parOwner is not set, fall
10831 back on the brute force method
10833 * paragraph_pimpl.C (insertInset):
10834 * paragraph.C (Paragraph):
10835 (cutIntoMinibuffer): set parOwner of insets when
10836 inserting/removing them
10838 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10840 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10846 * mathed/formulabase.C:
10847 * mathed/math_cursor.[Ch]:
10848 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10851 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10853 * lyxlength.[Ch] (operator!=): new function
10855 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10857 * text.C (workWidth): use Inset::parOwner to find out where the
10858 inset has been inserted. This is a huge performance gain for large
10859 documents with lots of insets. If Inset::parOwner is not set, fall
10860 back on the brute force method
10862 * paragraph_pimpl.C (insertInset):
10863 * paragraph.C (Paragraph):
10864 (cutIntoMinibuffer): set parOwner of insets when
10865 inserting/removing them
10867 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10869 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10871 * tabular-old.C (getTokenValue):
10872 * tabular.C (getTokenValue):
10873 (write_attribute): new versions for LyXLength
10874 (everywhere): adjust the use of widths
10876 * tabular.h: change the type of widths from string to LyXLength
10878 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10880 * paragraph.C: fixed missing line number count when exporting
10881 Environments to LaTeX file
10883 * buffer.C: added informational message for checking line numbers.
10885 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10888 paragraph, do the 'double space' part, but not the 'empty
10891 * text.C (workWidth): small optimization
10892 (getLengthMarkerHeight): use minimal size for negative lengths.
10894 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10896 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10898 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10900 2001-12-11 André Pönitz <poenitz@gmx.net>
10903 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10905 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10907 * text2.C: keep selection on a setFont()
10909 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10911 * lyx_cb.C: another bv->text misuse, from insert label
10913 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10916 * kbsequence.C: re-instate nmodifier mask
10918 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10920 * lyx_main.h: make lyxGUI private.
10922 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10924 * lyxfind.C: place the cursor correctly on failed search
10926 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10928 * text.C (getLengthMarkerHeight): for small heights, the arrows
10929 are not always on top/bottom of the text
10930 (drawLengthMarker): smaller arrows; take the left margin in
10931 account; draw also vfills.
10933 (paintLastRow): remove special code for vfill and standard spaces,
10934 since everything is handled in drawLengthMarker now.
10936 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10938 * buffer.C (insertErtContents): try to handle font and language
10939 interaction a bit better.g
10941 * ColorHandler.C (updateColor): change the hash to cover the whole
10942 LColor enum, ws cleanup
10943 (getGCLinepars): ditto
10944 (getGCLinepars): only lookup in the linecache once.
10946 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10948 * iterators.C (operator++): Make the iterator more robust
10950 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10952 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10954 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10957 * text.C: better added space drawing
10959 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10962 * BufferView2.C: fix layout combo update on inset unlock
10964 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10966 * Makefile.am: don't compile unused files
10968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10972 * LyXAction.C: remove old LFUN_LAYOUTNO
10974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10976 * paragraph_pimpl.h:
10977 * paragraph_pimpl.C: isTextAt() doesn't need font param
10979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10982 * lyxlex.C: little cleanup
10984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView_pimpl.C: fix insertAscii for insets
10988 2001-12-05 Juergen Vigna <jug@sad.it>
10990 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10991 set the right font on the "multi" paragraph paste!
10993 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10999 * lyxlength.C: remove out-commented code.
11001 * BufferView_pimpl:
11015 * vc-backend.C: change "while(" to "while ("
11017 * lyxlength.[Ch]: add zero function to check if length is zero or
11019 * lyxgluelength.C: use it
11021 2001-12-05 Allan Rae <rae@lyx.org>
11023 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11024 Works for 2.95.3, from what I understand of Garst's reports this should
11025 work for other g++ versions. We're screwed if the abs(int) definition
11026 changed between bugfix releases of gcc.
11028 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11030 * text.C: fix chapter label offset !
11032 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11035 * text.C: fix hfill at end of line, clean up
11037 2001-12-04 Juergen Vigna <jug@sad.it>
11039 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11040 that we force an update of the inset and it's owners if neccessary.
11042 2001-12-03 Juergen Vigna <jug@sad.it>
11044 * text.C (rowLast): simplified code
11046 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11048 * lyxfunc.C: fix show options on timeout
11050 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * screen.C (topCursorVisible): scroll half a page when the cursor
11053 reached top of bottom of screen
11055 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11057 * minibuffer.C: deactivate on loss of focus
11059 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * vspace.[Ch] (operator!=): add operator.
11063 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11065 * BufferView_pimpl.C: refuse to open an inset when
11066 there's a selection.
11068 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11070 * BufferView_pimpl.C: allow to click on RHS of full row insets
11072 2001-11-30 Juergen Vigna <jug@sad.it>
11074 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11075 insets for undo reasons.
11077 2001-11-28 André Pönitz <poenitz@gmx.net>
11079 * vspace.[Ch]: cosmetical changes
11081 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11091 * kbsequence.C: part re-write of old kb code
11094 * WorkArea.C: remove Lgb_bug_find_hack
11096 2001-11-30 José Matos <jamatos@fep.up.pt>
11098 * buffer.C (makeDocBookFile): add a comment to point a hack.
11099 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11100 Fixed a double write of labels.
11102 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11105 * LaTeX.h Fixed bug in LaTeX class where it would not
11106 re-run latex if no depfiles were changed, but the .dvi was removed.
11108 2001-11-28 André Pönitz <poenitz@gmx.net>
11110 * all the files from the change on 2001/11/26:
11111 use lyx::layout_type instead of LyXTextClass::size_type
11112 use lyx::textclass_type instead of LyXTextClassList::size_type
11114 2001-11-29 Juergen Vigna <jug@sad.it>
11116 * text.C: added support for paragraph::isFreeSpacing()
11118 * buffer.C: same as above
11120 * paragraph.h: inserted isFreeSpacing() function to enable
11121 FreeSpacing inside InsetERT.
11123 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11124 of the paragraph's in the cut/copy buffer to 0!
11126 * text2.C (removeRow): remove the assert as it can!
11128 * lyxtext.h: added helper function firstRow returning firstrow and
11129 made firstrow private again.
11131 * BufferView2.C (lockInset): don't relock if we're already locked!
11133 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11134 the only paragraph.
11135 (removeRow): added Assert::(firstrow)
11137 * debug.C: forgot to add INSETTEXT here.
11139 2001-11-28 Juergen Vigna <jug@sad.it>
11141 * sp_spell.C (initialize): changed error text to more general
11142 spellchecker command use (not only ispell!)
11144 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11146 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11148 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11150 * vspace.C: initialise lyxgluelength on failure
11152 2001-11-28 Allan Rae <rae@lyx.org>
11154 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11155 declaration & definition that looks like a function declaration.
11157 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * BufferView2.C (copy):
11160 (copyEnvironment): do not clear the selection when doing a copy.
11162 * text.C (paintFirstRow): compilation fix
11164 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11166 * tabular.C (Latex): correct line count when writing latex.
11168 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11170 * paragraph_pimpl.h:
11171 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11174 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11178 * LColor.C: change vfillline->added_space
11180 * text.C: add markers and text for added space
11182 * vspace.C: fix comment
11184 2001-11-28 André Pönitz <poenitz@gmx.net>
11186 * paragraph.C: whitespace changes
11187 * all the other files from the change on 2001/11/26:
11188 change *::pos_type into lyx::pos_type
11190 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11192 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11193 language of the document when inserting error insets.
11195 2001-11-26 André Pönitz <poenitz@gmx.net>
11197 * BufferView_pimpl.[Ch]:
11205 * paragraph_pimpl.[Ch]:
11208 * text2.C: reduce header dependencies, introduce type for positions
11210 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11212 * <various>: change to use Alert.h
11214 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11216 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11217 when encountering an unknown token.
11218 (readLyXformat2): Show an error message if there were unknown tokens.
11220 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11223 * BufferView_pimpl.C:
11227 * text2.C: use par->isInset()
11229 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11231 * paragraph_pimpl.h:
11232 * paragraph_pimpl.C: cleanup
11234 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11236 * text2.C (removeRow):
11237 * text.C (setHeightOfRow): remove useless (and costly) call to
11240 2001-11-20 Allan Rae <rae@lyx.org>
11242 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11243 Now need Inset*::checkInsertChar() to return true for appropriate
11244 cases so that the characters in the minibuffer will actually be
11247 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11249 * text.C: change the order of the includes.
11250 (workWidth): initialize it at once.
11251 (workWidth): make maxw unsigned
11252 (setHeightOfRow): remove unused variable (inset)
11253 (selectSelectedWord): remove unused variable (inset)
11254 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11256 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11258 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11259 server is not running.
11261 (closeConnection): add debug info when server is disabled.
11263 * ColorHandler.C (getGCForeground): send debug message to GUI
11266 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11268 * kbmap.C (bind): modify because return conventions of
11269 kb_sequence::parse have changed.
11271 * kbsequence.C (parse): only ignore spaces and not any stupid
11272 control character. This avoids tests like s[i] <= ' ', which are
11273 guaranteed to fail with 8bit characters and signed chars.
11274 Change return code to string::npos when there have been no error
11275 (0 was a bad idea when error is at first character)
11277 2001-11-14 José Matos <jamatos@fep.up.pt>
11280 * buffer.C (simpleDocBookOnePar): removed unused argument.
11282 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11284 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11285 insets which are part of a word. Paragraph::isLetter takes care of
11286 that now. Use Paragraph::isInset to identify insets.
11287 (selectSelectedWord): do not test for hyphenation break.
11289 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11290 that protected spaces are considered as spaces.
11292 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11295 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11298 * lyxserver.C: fix it. and small cleanup.
11300 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11302 * BufferView_pimpl.C: use inline helpers
11305 * LaTeXFeatures.C: fix typos
11308 * Spacing.C: move spacing_string into class
11310 * ToolbarDefaults.C: move stuff into namespace anon
11312 * layout.h: update enum
11314 * lyxfunc.C: use better debug
11316 * minibuffer.h: fix typo
11320 * WorkArea.C: add and use Debug::WORKAREA
11324 * text2.C: code re-organisation, inline helpers
11326 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11328 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11329 std::vector.empty().
11331 2001-11-09 Allan Rae <rae@lyx.org>
11333 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11334 '\n's after tables. Tabular and ERT inset work now makes this no
11337 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11340 * minibuffer.C: fix crash, improve drop-down completion
11342 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11345 * lyxserver.C: invalidate fd's when doing endPipe()
11347 2001-11-08 José Matos <jamatos@fep.up.pt>
11349 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11350 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11353 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11355 2001-11-07 José Matos <jamatos@fep.up.pt>
11358 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11361 * buffer.C (sgmlOpenTag):
11362 * buffer.C (sgmlCloseTag): removed debug info.
11364 * buffer.h (sgmlOpenTag):
11365 * buffer.h (sgmlCloseTag): made public.
11367 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11369 * buffer.C (saveParamsAsDefaults):
11370 * lyx_cb.C (MenuLayoutSave): remove
11372 * LyXAction.C (init):
11374 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11376 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11378 * buffer.C (setPaperStuff): removed from here...
11380 * bufferparams.C (setPaperStuff): ... and moved there.
11382 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11386 * XFormsView.C: add support for drop-down completion
11388 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11390 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11393 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11398 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11400 * lyx_main.C: change ref to known bugs
11402 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11404 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11405 to work around older babel problems.
11407 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11409 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11411 2001-10-24 Juergen Vigna <jug@sad.it>
11413 * tabular-old.C (ReadOld): below variable changes reflected.
11415 * tabular.[Ch]: added ltType struct for longtable header/footer
11416 defines and changed all instances where they are used. Added
11417 future support for double top/bottom rows.
11419 2001-10-24 José Matos <jamatos@fep.up.pt>
11421 * buffer.h (docbookHandleCaption):
11422 * buffer.C (docbookHandleCaption): removed unused function.
11423 (makeDocBookFile): moved docbook supported version to v4.1.
11425 2001-10-24 José Matos <jamatos@fep.up.pt>
11428 * tabular.C (docbookRow): new function to export docbook code of a row.
11429 (DocBook): now honors the longtable flags.
11431 2001-10-23 José Matos <jamatos@fep.up.pt>
11434 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11435 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11437 * buffer.C (makeLinuxDocFile):
11438 (makeDocBookFile): reworked the preamble, more clean, and with
11439 support for lyx defined entities. Changed the document declaration
11440 to be more XML friendly.
11442 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11443 if we need to output XML that should be done with a filter.
11445 2001-10-22 Juergen Vigna <jug@sad.it>
11447 * sp_pspell.h (class PSpell): add alive function needed in the
11448 controller to see if the spellchecker could be started.
11450 2001-10-22 Juergen Vigna <jug@sad.it>
11452 * buffer.C (insertStringAsLines): modify the font for inserting
11453 chars in certain conditions by calling checkInsertChar(font).
11455 2001-10-19 Juergen Vigna <jug@sad.it>
11457 * text.C (workWidth): use getRow instead of wrong algorithm.
11458 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11460 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11465 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11467 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11469 * text.C (workWidth): do not search for the exact row when
11470 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11471 optimization for big documents.
11473 2001-10-18 Juergen Vigna <jug@sad.it>
11475 * text.C (workWidth): new function with added Inset * parameter.
11477 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11481 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11482 change return type of getColumnNearX.
11485 * text.C (changeRegionCase): use uppercase/lowercase instead of
11488 (rightMargin): simplify code by factoring out the uses of
11493 (appendParagraph): use Paragraph::size_type
11495 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11497 * vspace.C (asLatexString): add a missing break
11499 2001-10-15 Herbert Voss <voss@perce.de>
11501 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11503 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11505 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11508 2001-10-10 André Pönitz <poenitz@gmx.net>
11510 * lyxfunc.C: removed greek_kb_flag.
11512 2001-10-10 Herbert Voss <voss@perce.de>
11514 * lyx_main.C: delete global string help_lyxdir.
11516 2001-10-09 Herbert Voss <voss@perce.de>
11518 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11520 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11522 * lyx_main.C: added global string help_lyxdir.
11524 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11526 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11528 * lyxrc.C (set_font_norm_type): support iso8859-4
11530 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11532 * LaTeX.C (deplog): add another regex for MikTeX
11534 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11536 * lyxrc.C (set_font_norm_type): support iso8859-3
11538 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11540 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11542 * LaTeXFeatures.C: remove special case of french and index
11544 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11545 before \begin{document}). This solves several incompatibilities.
11547 2001-10-03 Garst Reese <reese@isn.net>
11549 * lyx_cb.C: change CheckTex error msg.
11551 2001-10-03 José Matos <jamatos@fep.up.pt>
11553 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11555 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * .cvsignore: update
11559 * lyx_main.C (commandLineVersionInfo): use new style version info.
11561 * buffer.C (writeFile):
11563 (makeLinuxDocFile):
11564 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11566 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11568 * version.h: update to use stuff in version.C
11570 * version.C.in: new file. Contains version information determined
11571 at compile time. This is a merging of version.h and
11574 2001-10-03 Juergen Vigna <jug@sad.it>
11576 * BufferView_pimpl.C (update): don't change "dirty" status in
11579 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11581 * WorkArea.C (c-tor): re-position version string slightly.
11583 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11585 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11586 revert to previous code.
11588 WorkArea.[Ch]: (show, destroySplash): methods removed.
11590 WorkArea.C: rework code so that it's an amalgam of the codes before and
11591 after the splash screen was moved to WorkArea.
11593 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11596 * vspace.C (inPixels):
11599 * buffer.C (insertStringAsLines):
11600 (asciiParagraph): fix types to be large enough
11602 * lyxlex_pimpl.h: change member status from short to int
11604 * layout.h: fix type of endlabeltype
11607 * kbsequence.C (parse): change return type to string::size_type
11609 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11612 * Bullet.C (bulletSize):
11613 (bulletEntry): do not use short ints as parameters
11615 * BufferView2.C (insertLyXFile): change a char to an int.
11617 * WorkArea.C (WorkArea): remove unneeded floats in computation
11619 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11621 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11623 * paragraph.C (asString): Do not ignore newline/hfill chars when
11624 copying to the clipboard.
11626 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11628 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11629 after a multi-line inset.
11631 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11633 * paragraph.C (validate): Set NeedLyXFootnoteCode
11635 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11637 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11638 and decrease-error to decrease.
11640 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11642 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11643 it more readable (should be equivalent)
11645 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11647 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11649 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11652 of a cursor (row, etc.) after a character has been deleted
11653 (deleteEmptyParagraphMechanism): call the method above on _all_
11654 cursors held by the LyXText when a double space has been
11657 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11659 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11661 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11663 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11664 background. Use greyOut() and the new show() methods to toggle between
11665 the foreground and background. Add code to remove the splash after
11666 its initial showing.
11668 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11669 (create_forms): no longer call Dialogs::showSplash.
11671 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * .cvsignore: add version_info.h
11675 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11677 * version_info.h.in: new file
11679 * Makefile.am: add version_info.h.in
11681 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11682 version_info.h instead of VERSION_INFO
11684 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11686 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11687 The ERT inset now returns string().
11689 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11691 * lyxtext.h, text.C (selectNextWord): renamed as
11692 selectNextWordToSpellcheck.
11694 * text.C (selectNextWordToSpellcheck): Modified to not select
11695 words inside an ERT inset.
11697 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11699 * lyx_cb.C (MenuLayoutSave): change a bit the question
11701 * sp_base.h: include <sys/types.h>
11703 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11705 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11707 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11709 * several files: fix typos in user-visible strings
11711 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11713 * text2.C (pasteSelection): do not set the selection, since it
11714 will be cleared later. Actually, the intent was to fix the way the
11715 selection was set, but I figured rmoving the code was just as good.
11717 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11719 * FontLoader.C (available): Check if font is available without
11722 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11724 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11726 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11728 * lyxrc.[Ch]: added display_graphics variable and associated code.
11730 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11732 * bufferparams.C (hasClassDefaults): new method. Returns true if
11733 the buffer parameters correspond to known class defaults
11735 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11737 * XFormsView.C (show): set minimum size to the main window.
11739 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * text2.C (copySelection):
11743 * lyxfind.C (LyXReplace):
11744 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11745 LyXText::selectionAsString.
11747 * paragraph.C (asString): add "label" argument to the second form
11749 * text2.C (selectionAsString): add "label" argument and pass it to
11750 Paragraph::asString.
11752 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11754 * lyx_main.C (commandLineHelp): remove version information
11756 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11758 * lyx_main.C: add -version commandline option
11760 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * paragraph.h: make the optional constructor arg required instead.
11763 some modifications to other files because of this.
11765 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11767 * lyxserver.C (C_LyXComm_callback): make it static
11769 * lyx_main.C (error_handler): make it static
11771 * lyx_gui.C (LyX_XErrHandler): make it static
11773 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11775 * WorkArea.C: make the extern "C" methods static.
11777 * Makefile.am (lyx_LDADD): simplify
11779 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11781 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11782 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11784 * LyXAction.C (init):
11785 * lyxfunc.C (dispatch): associated code removal.
11787 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11789 * lyxfont.h (isSymbolFont): shut off warning
11791 * text.C (setHeightOfRow):
11792 (getVisibleRow): fix crash with empty paragraphs which have a
11795 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11797 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11800 2001-09-04 José Matos <jamatos@fep.up.pt>
11803 * tabular.C (docbook): rename docBook method to docbook.
11805 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11807 * Makefile.am: add dependencies to main.o.
11809 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11811 * FontLoader.C (available): Return false if !lyxrc.use_gui
11813 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11815 * FontInfo.C (query):
11816 * converter.C (view):
11817 * importer.C (Import):
11818 * exporter.C (Export): Can not -> cannot.
11820 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.C: allow to create index inset even if
11825 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11827 * buffer.C (getLists): replace boost::tie code with an explicit pair
11828 as boost::tie can break some compilers.
11830 * iterators.h: Added a std:: declaration to the return type of
11833 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11835 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11838 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11840 * iterators.[Ch]: New files. Provide paragraph iterators.
11842 * buffer.C (changeLanguage): Use paragraph iterators.
11843 (isMultiLingual): ditto
11845 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11847 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11849 * FontLoader.C: Support for cmr font.
11851 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11853 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11854 (available): New method.
11856 * FontInfo.C (getFontname): Use scalable fonts even when
11857 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11860 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11862 * converter.C (Formats::view): reverted! Incorrect fix.
11864 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11866 * converter.C (Formats::view): only output the -paper option
11867 if the dvi viewer is xdvi, thereby fixing bug #233429.
11869 2001-08-23 Herbert Voss <voss@perce>
11871 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11873 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11875 * Spacing.h (Spacing): Set space to Default on in the default
11878 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * vc-backend.h (RCS::versionString): add RCS to version
11881 (CVS::versionString): add CVS to version
11883 * vc-backend.C (scanMaster): do not add CVS to version.
11884 (scanMaster): do not add RCS to version
11886 * lyxvc.C (versionString): new method
11888 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11890 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * Spacing.C (set): initialize fval
11894 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11896 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11899 2001-08-16 Juergen Vigna <jug@sad.it>
11901 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11903 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11905 * BufferView_pimpl.C:
11908 * text2.C: setParagraph takes linespacing now
11910 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11912 * LyxAction.C: add internal LFUN_CITATION_INSERT
11914 * LyXView.C: actually apply fix
11916 * bufferlist.C: fix open non-existent file
11918 * lyxfind.C: fix indentation
11920 * lyxfunc.C: remove unneeded assert, fix typo
11922 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11924 * MenuBackend.C: use "Floatname List"
11926 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11928 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11929 when converting LaTeX layout to insetERT.
11930 Generate a non-collapsed float when reading old float
11932 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11934 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11937 2001-08-13 Juergen Vigna <jug@sad.it>
11939 * text.C (fill): return 0 instead of 20 as this seems to be the more
11942 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11944 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11947 2001-08-13 Juergen Vigna <jug@sad.it>
11949 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11951 (SearchBackward): comment out the unlocking of the inset_owner this
11952 should not be needed!
11954 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11956 * Many files: Remove inherit_language, and add latex_language
11958 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11959 collapsible insets.
11961 2001-08-10 Juergen Vigna <jug@sad.it>
11963 * text.C (prepareToPrint): fixed hfill-width in draw!
11965 * BufferView2.C (selectLastWord): save the selection cursor as this
11966 now is cleared in the function LyXText::clearSelection!
11968 2001-08-08 Juergen Vigna <jug@sad.it>
11970 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11971 BACKSPACE type functions.
11973 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11974 is only cutted from the document but not put in the cut-buffer, where
11975 still the old stuff should be.
11977 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11979 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11981 * tabular.C (SetWidthOfCell): fixed special case where the width
11983 (LeftLine): handle '|' in align_special.
11985 (LeftAlreadyDrawed): ditto
11986 (SetWidthOfCell): ditto
11988 2001-08-07 Juergen Vigna <jug@sad.it>
11990 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11992 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11994 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11995 * lyxlex.[hC]: ditto
11997 2001-08-06 Juergen Vigna <jug@sad.it>
11999 * text.C (getVisibleRow): fix up row clearing a bit.
12001 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12003 * minibuffer.C: make sure the X server sees the changes in the input.
12005 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * paragraph.C (getFont): split into...
12008 (getLabelFont): this
12009 (getLayoutFont): and this
12010 * paragraph_pimpl.C (realizeFont): calling this
12012 * text2.C (getFont): split into...
12013 (getLayoutFont): this
12014 (getLabelFont): and this
12015 (realizeFont): all three calling this
12017 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12020 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12022 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12024 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12026 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12027 layouts from the Quote inset insertion.
12029 2001-08-03 Juergen Vigna <jug@sad.it>
12031 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12033 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12034 only if status not is already CHANGED_IN_DRAW (second level).
12036 * text.C (draw): don't set the need_break_row when inside an
12039 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * buffer.C (parseSingleLyXformat2Token): handle more latex
12044 * bufferview_funcs.[hC]: change function names to
12045 begin with small char, adjust other files.
12047 2001-08-02 André Pönitz <poenitz@gmx.net>
12050 BufferView_pimpl.C: remove broken special code for math-greek
12052 2001-08-02 Juergen Vigna <jug@sad.it>
12054 * BufferView_pimpl.C (update): redone this function so that we
12055 update the text again if there was a CHANGE_IN_DRAW.
12057 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12058 (drawFromTo): added a new internal bool which is used by draw() and
12060 (general): some cursor drawing problems fixed.
12062 2001-08-01 Juergen Vigna <jug@sad.it>
12064 * lyxfind.C (LyXFind): fixed
12065 (SearchForward): ditto
12066 (SearchBackward): ditto
12068 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12069 spurius drawing of the cursor in the main area.
12071 * text2.C (status): small fix which could lead to a segfault!
12072 (clearSelection): remove unneeded BufferView param.
12074 2001-08-01 André Pönitz <poenitz@gmx.net>
12076 * lyxfunc.C: small change due to changed mathed interface
12078 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12082 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12084 * lyxfunc.c: fail gracefully if file doesn't exist
12089 * BufferView_pimpl.C: IsDirWriteable() proto changed
12091 * LyXView.C: fix updateWindowTitle() to store the last title
12093 2001-07-31 Juergen Vigna <jug@sad.it>
12095 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12096 the font (wrong since using of Paragraph::highestFontInRange).
12098 * paragraph.C (highestFontInRange): added a default_size parameter.
12100 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12101 (setHeightOfRow): reformat
12103 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * converter.[hC] + affected files: move to (inital-char)lowercase
12108 * ParagraphParameters.C (ParagraphParameters): remove commented code
12110 * PainterBase.[Ch]: remove commented code
12112 * LaTeXFeatures.h: add "bool floats" for float.sty
12114 * LaTeXFeatures.C (LaTeXFeatures): init floats
12115 (require): handle float
12116 (getPackages): do it with floats
12118 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12120 * BufferView_pimpl.C (Dispatch): improve handling of
12121 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12123 * commandtags.h: #include lyxfont.h here temporarily to avoid
12126 * bufferlist.h: include LString.h here.
12128 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * text2.C (getStringToIndex): new method.
12132 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12134 * *: Reduced header file dependencies all over.
12136 2001-07-30 Baruch Even <baruch@lyx.org>
12138 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12140 2001-07-29 Baruch Even <baruch@lyx.org>
12142 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12144 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * ParameterStruct.h (endif): add a default constructor to make
12147 sure that all variables is initialized.
12149 * ParagraphParameters.C (ParagraphParameters): adjust
12151 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12154 index; also, check that there is something to index, and that it
12155 does not span over several paragraphs.
12156 (doubleClick): use WHOLE_WORD_STRICT for double click.
12158 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12160 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12163 2001-07-26 Baruch Even <baruch@lyx.org>
12165 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12166 an InsetFig figure, backwards compatible reading of old figure code.
12168 2001-07-27 Juergen Vigna <jug@sad.it>
12170 * text2.C: font.realize function adaption.
12172 * text.C (draw): add a warnings lyxerr text if needed.
12174 * layout.C: font.realize function adaption.
12176 * language.C: add inherit_language and implement it's handlings
12178 * bufferview_funcs.C (StyleReset): remove language parameter from
12179 font creation (should be language_inherit now).
12181 * bufferparams.C (writeFile): handle ignore_language.
12183 * paragraph.C (getFontSettings): the language has to be resolved
12184 otherwise we have problems in LyXFont!
12186 * lyxfont.C (lyxWriteChanges): added document_language parameter
12187 (update): removed unneeded language parameter
12189 * paragraph.C (validate): fixed wrong output of color-package when
12190 using interface colors for certain fonts in certain environments,
12191 which should not seen as that on the final output.
12193 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12195 * BufferView_pimpl.C:
12200 * LyXAction.C: add thesaurus support
12203 * lyxfind.C: add "once" parameter, for thesaurus, to not
12204 move to the next match
12206 2001-07-26 Juergen Vigna <jug@sad.it>
12208 * lyxfont.C (realize): honor ignore_language too!
12211 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12213 * text.C (draw): one place more for ignore_language to not draw
12216 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12218 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12220 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12223 the minipage conversion problem.
12225 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12230 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * BufferView.h: don't forward declare WorkArea
12234 * BufferView.C: don't include WorkArea.h
12236 2001-07-25 André Pönitz <poenitz@gmx.net>
12240 * lyxfunc.C: new LFUN 'math-space'
12242 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12244 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * text2.C (toggleInset): call open/close
12248 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * lyxfunc.C (dispatch): add debug for the disabled case
12252 * font.C (buttonText): make similar to rectText
12254 * buffer.C (readInset): comment out parsing of insetlist and
12257 * PainterBase.C (rectText): small correction
12259 * BufferView_pimpl.C: comment out insettheorem and insetlist
12260 * LyXAction.C: ditto
12261 * commandtags.h: ditto
12263 2001-07-24 Juergen Vigna <jug@sad.it>
12265 * text.C (draw): honor the ignore_language.
12267 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12269 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12274 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12276 * lyxtext.h: remove unused (and unimplemented) methods
12278 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12280 * text.C (getVisibleRow): honor background color
12283 * Painter.h: remove default color argument for fillRectangle
12285 * text.C (backgroundColor): new method
12287 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * text.C (getVisibleRow): adjust
12291 * font.[Ch] (rectText): new method, metrics
12292 (buttonText): new method, metrics
12294 * PainterBase.[hC]: make rectText and buttonText always draw and take
12297 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12299 * ToolbarDefaults.C (read):
12300 * MenuBackend.C (read): allow escaping in all strings
12302 * BufferView_pimpl.C (insertAndEditInset): new method.
12303 (Dispatch): use insertAndEditInset whenever appropriate.
12305 * BufferView_pimpl.C (insertNote): removed
12307 * BufferView_pimpl.C (smartQuote): new method, moved from
12308 BufferView; if an insetquote cannot be inserted, insert a '"'
12311 * BufferView2.C: remove insertCorrectQuote();
12313 * lyxfunc.C (getStatus): Add support for all remaingin
12314 inset-insert lfuns.
12316 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12318 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12319 command (necessary to pass " as parameter of self-insert.
12321 * text.C (selectWordWhenUnderCursor):
12322 (selectWord): add word_location parameter
12323 (selectWordWhenUnderCursor): same + remove special code for word
12325 (selectNextWord): use kind() to guess type of insetspecialchar,
12328 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12329 (insertErtContents): create ert insets as collapsed.
12330 (readInset): better compatibility code for Info inset.
12332 2001-07-20 Juergen Vigna <jug@sad.it>
12334 * lyxfunc.C (dispatch): use always LyXFind now!
12336 * text2.C (init): add a reinit flag so that the LyXText can be
12337 reinited instead of deleted and reallocated (used in InsetText).
12339 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12345 2001-07-18 Juergen Vigna <jug@sad.it>
12347 * text.C (selectNextWord): handle insets inside inset by calling
12348 always the bv->text functions so that we can go up the_locking_inset!
12350 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12351 in strange locations when inside an inset!
12353 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12354 handling to include insets.
12356 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12358 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12360 * LyXAction.C (init):
12362 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12363 LIGATURE_BREAK, since the name is so stupid.
12365 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12367 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12370 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12372 * sp_form.[Ch]: remove.
12374 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12376 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12379 * src/buffer.C (readInset): ditto.
12381 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12383 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12384 menuSeparator(), endOfSentenceDot(), ldots() and
12385 hyphenationPoint(), which are therefore removed.
12386 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12388 * LyXAction.C (init):
12389 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12391 * paragraph.C (getWord): removed.
12393 * BufferView_pimpl.C (Dispatch): use last word or selection for
12394 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12396 * lyx_main.C (queryUserLyXDir): do not ask before creating
12397 user_dir, except if it has been named explicitely.
12399 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12401 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12402 a document of zero size.
12404 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12406 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12407 approriately in the c-tor and in require().
12408 (getPackages): output the appropriate LaTeX for natbib support.
12410 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12411 variables "use_natbib" and "use_numerical_citations" when reading the
12413 (readInset): read the various natbib cite commands.
12414 (validate): white-space change.
12416 * bufferparams.[Ch]: new variables "bool use_natbib" and
12417 "bool use_numerical_citations".
12418 (writeFile): output them in the LyX file.
12420 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12422 * lyxfunc.C (getStatus): add support for all the inset insertion
12425 * text2.C (insertInset):
12426 * paragraph.C (insetAllowed):
12427 * BufferView_pimpl.C (insertInset): update to take in account the
12428 renaming of insertInsetAllowed
12430 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12432 * text2.C (getInset): new method. returns inset at cursor position.
12434 * BufferView_pimpl.C (Dispatch): changes because of this.
12436 * LyXAction.C (init): rename open-stuff to inset-toggle.
12438 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12440 * text2.C (toggleInset): renamed from openStuff; use
12443 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12445 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12447 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12449 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12451 * buffer.C (readLyXformat2): Add filename to the error dialog
12453 2001-07-18 Juergen Vigna <jug@sad.it>
12455 * tabular.C (GetCellNumber): put an assert here instead of the check!
12457 2001-07-17 Juergen Vigna <jug@sad.it>
12459 * BufferView_pimpl.C (toggleSelection): adapted too.
12461 * text.C (selectNextWord): adapted for use with insets.
12462 (selectSelectedWord): ditto
12464 2001-07-17 Juergen Vigna <jug@sad.it>
12466 * sp_spell.C (PSpell): fix initialitation order.
12468 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * paragraph.C: spacing
12472 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12474 * sp_spell.C: repair language selection for pspell
12476 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * lyxfunc.h: change more methods to begin with lower char.
12480 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12482 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12483 for unknown layouts.
12485 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12487 * buffer.C (readLyXformat2): Generate an error dialog if there are
12490 2001-07-16 Juergen Vigna <jug@sad.it>
12492 * sp_spell.C: always compile ISpell part.
12494 * lyxrc.C: added use_pspell entry and it's handling.
12496 2001-07-13 Juergen Vigna <jug@sad.it>
12498 * sp_spell.C: removed double includes.
12500 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12502 Consistent use of Lsstream.h:
12503 * Lsstream.h: added using std::stringstream for consistencies sake.
12505 * buffer.C: removed using std::stringstream
12507 * lyxfont.C (stateText):
12508 * paragraph.C (asString):
12509 * text.C (selectNextWord, selectSelectedWord):
12510 * text2.C (setCounter):
12511 * vspace.C (asString, asLatexString):
12512 std::ostringstream -> ostringstream.
12514 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12516 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12517 * commandtags.h: add LFUN_HELP_ABOUTLYX
12518 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12520 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12522 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12524 * lyx_gui_misc.C: remove spellchecker
12525 * lyxfunc.C: showSpellchecker
12527 * sp_ispell.h: added
12528 * sp_pspell.h: added
12529 * sp_spell.C: added
12530 * sp_form.[Ch]: removed
12531 * spellchecker.[Ch]: removed
12533 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12535 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12537 (simpleTeXSpecialChars): Simply print the input character without
12538 any special translation if pass_thru is set.
12540 * layout.h: Added bool pass_thru to layout class for being able to
12541 implement pass through of a paragraph for Literate Programming.
12543 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12544 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12545 * layout.C (Read): add "passthru" to list of layout tags and add
12546 code to set the pass_thru boolean when it is read.
12548 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * trans_decl.h: remove allowed from KmodInfo
12552 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12553 remove allowed code
12556 * paragraph_pimpl.C (erase): use boost::prior
12558 * Painter.C (text): use data() instead of c_str() when length is
12560 * WorkArea.C (putClipboard): ditto
12561 * font.h (width): ditto
12563 * BufferView2.C: use it-> instead of (*it). for iterators
12565 * paragraph_pimpl.C: ditto
12566 * paragraph.C: ditto
12567 * minibuffer.C: ditto
12568 * language.C: ditto
12570 * encoding.C: ditto
12571 * counters.C: ditto
12572 * converter.C: ditto
12574 * Variables.C: ditto
12575 * TextCache.C: ditto
12576 * MenuBackend.C: ditto
12577 * LyXAction.C: ditto
12579 * FloatList.C: ditto
12580 * DepTable.C: ditto
12581 * ColorHandler.C (LyXColorHandler): ditto
12583 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12585 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12587 * text2.C (openStuff): reintroduce this method (which had been
12588 nuked in NEW_INSETS frenzy).
12590 * lyxfunc.C (Dispatch): when an action has not been handled, use
12591 its name in the error message, not its number.
12593 * paragraph.C (inInset): change method name to begin with lowercase.
12596 * text2.C: updates because of this.
12598 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12600 * ToolbarDefaults.C (add): add spaces in error message
12602 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12604 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12605 (readLyXformat2): rename return_par to first_par, use lyxlex's
12606 pushToken and remove the manual push handling.
12607 (parseSingleLyXformat2Token): add another ert comp. variable:
12608 in_tabular, rename return_par to first_par. handle newlines better
12610 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12614 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * text2.C (getParFromID): removed
12618 * buffer.C (getParFromID): new method moved form lyxtext.
12619 * BufferView2.C (insertErrors): adjust
12620 (setCursorFromRow): adjust
12621 * BufferView_pimpl.C (restorePosition): adjust
12622 * lyxfunc.C (Dispatch): adjust
12623 * undo_funcs.C (textUndo): adjust
12625 (textHandleUndo): adjust
12626 (textHandleUndo): adjust
12628 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * buffer.C: up' the LYX_FORMAT
12632 * lyxfont.h: turn NO_LATEX on as default
12634 * buffer.C (insertErtContents): new methods of tex style compability.
12635 (parseSingleLyXformat2Token): use it several places.
12636 * tabular.C (OldFormatRead): and here
12638 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * text2.C: remove some commented code.
12643 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12644 * trans.C: changes because of the above.
12646 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12648 * text2.C (setCounter): Fix counters bug with bibliography layout.
12650 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12653 own member functions
12654 (simpleTeXSpecialChars): ditto
12656 2001-07-06 Juergen Vigna <jug@sad.it>
12658 * a lot of files: changed the access to LyXText::status and the
12659 call of undo-functions.
12661 * undo.[Ch]: added a inset_id to the undo informations.
12663 * undo_funcs.[Ch]: added and moved here all undo functions.
12665 * lyxtext.h: give the status enum a weight, made status_ a private
12666 variable and made accessor functions for it, removed the whole bunch
12667 of undo-functions as they are now in their own file, make some
12668 functions publically available. Added function ownerParagraph with
12671 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12672 made InInset() a const function, added getParFromID() function.
12674 * buffer.[Ch]: added const version for inset_iterator functions,
12675 added getInsetFromID() function.
12677 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12678 changed undo functions for new version.
12680 2001-07-05 Juergen Vigna <jug@sad.it>
12682 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12683 unknow mechanism does not call the proper constructor but only this
12684 one also if I request the other!?
12686 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12690 * text2.C (LyXText): use initialization lists.
12692 * lyxtext.h (Selection): initialize set_ and mark_
12693 (init): remove method
12695 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12697 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12699 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * screen.[Ch]: change method names to begin with lowercase
12703 * BufferView_pimpl.C (updateScrollbar): simplify further and
12704 hopefully make it a bit faster.
12706 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12709 calling directly xforms functions.
12711 * Painter.C (Painter):
12712 * lyx_cb.C (MenuWrite):
12713 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12716 * lyx_gui.C: remove bogus guiruntime extern declaration.
12718 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12722 (redoDrawingOfParagraph): ditto
12723 (redoParagraphs): ditto
12724 (cutSelection): don't create a object for CutAndPaste use the
12725 static method directly
12726 (pasteSelection): ditto
12728 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12731 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * modifications to some other files because of this.
12735 * Makefile.am (lyx_SOURCES): add XFormsView
12737 * XFormsView.[Ch]: new files
12739 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12740 the main window. Move the gui dependent stuff to XFormsView
12742 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12744 * tabular.C (GetCellInset): update cur_cell also in the row/col
12745 version of this function.
12747 * lyxfunc.C: no need to include figure_form.h here.
12753 * lyxvc.C: no need to include forms.h here.
12755 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12759 * lyxfunc.C (Dispatch):
12761 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12762 constructor argument.
12764 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * paragraph.C (Paragraph): dont't clear, and just set layout.
12767 (makeSameLayout): use params's copy contructor.
12769 * ParagraphParameters.[Ch] (makeSame): delete method
12771 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12773 * Variables.[Ch]: fix indentation, rename set to isSet
12775 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * lyxfunc.C (Dispatch): fix typo
12779 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12784 * bufferlist.C: include assert.h for emergencyWrite().
12786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12788 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12789 give up at last (bug #425202) !
12791 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12797 * spellchecker.C: strip spellchecker options and bring up
12798 preferences tab instead
12800 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12802 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12803 the istringstream constructor
12805 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12807 * paragraph.C (getLayout): fix return value
12809 * paragraph.h: do not declare getLayout as inline.
12811 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12813 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * lyxcursor.h (operator<): new func
12816 (operator>): new func
12817 (operator>=): new func
12818 (operator<=): new func
12820 * text.C (changeCase): use selection.start and selection.end
12821 (changeRegionCase): require from to be <= to. Require par to be a
12824 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12826 2001-06-27 Juergen Vigna <jug@sad.it>
12828 * text.C (cursorLeftOneWord): changed to return the cursor and added
12829 overlay with BufferView * parameter which calls this one.
12831 (selectWord): use new getWord function.
12832 (changeCase): renamed from changeWordCase as and extended to work
12833 also on selections.
12835 * lyxtext.h: added enum word_location
12837 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12838 changeCase as this operates now also on selections.
12840 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12842 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12844 * many files: send debug output to Debug::INFO instead of
12847 * converter.C (View):
12849 (Move): send debug output to Debug::FILES instead of console.
12851 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12853 * lyxfunc.C (getStatus): use func_status
12855 * func_status.h: new header, describing the results of
12856 LyXFunc::getStatus;
12858 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12861 2001-06-25 The LyX Project <jug@sad.it>
12863 * buffer.C (sgmlOpenTag):
12865 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12867 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * text2.C: remove some dead code
12871 * tabular.C (GetCellInset): store the last cell checked (gotten)
12873 * tabular.h: add the helper for the speedup
12875 * lyxtext.h: remove some dead code
12877 2001-06-26 The LyX Project <Asger>
12879 * paragraph.C: Change export to LaTeX of alignment to
12880 \begin{center} and family for better roundtrip work with reLyX.
12882 * Tune the math drawing a bit.
12884 2001-06-25 The LyX Project <Asger>
12886 * LColor.C (LColor): New color for math background. New color
12889 2001-06-25 The LyX Project <jug@sad.it>
12891 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12893 * lyxfunc.C (Open):
12894 * bufferlist.C (newFile): do not restrict to files ending with
12897 * BufferView_pimpl.C (MenuInsertLyXFile):
12899 2001-06-24 The LyX Project <jug@sad.it>
12901 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12904 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * lyxtext.h: rename most methods to begin with a small char.
12907 Lots of changes because of this.
12909 * paragraph.C (Paragraph): do not call fitToSize
12910 (erase): call Pimpl::erase
12911 (insertChar): call Pimpl::insertChar
12912 (insertInset): call Pipl::insertInset
12913 (breakParagraph): do not call fitToSize
12914 (breakParagraphConservative): do not call fitToSize
12915 (fitToSize): remove method
12917 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12919 2001-06-24 The LyX Project <Asger>
12921 * Fix Qt compilation^2
12923 2001-06-24 The LyX Project <jug@sad.it>
12925 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12926 depthHook(getDepth()-1).
12929 * ParagraphParameters.h:
12930 * ParameterStruct.h: change type of depth to unsigned int ==
12931 depth_type. Many adaptations to other files before of that.
12933 2001-06-24 The LyX Project <Asger>
12935 * Fix Qt compilation.
12937 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * paragraph.h: renamed several methods to begin with small letter.
12940 several changes to many parts of the code because of this.
12942 2001-06-23 The LyX Project <jug@sad.it>
12944 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12945 rewritten to discard all double spaces when KeepEmpty is off
12946 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12947 to only handle newlines but not fiddle with spaces and friends.
12949 * lyxfunc.C (MenuNew): when doing 'new from template', use
12950 template_path as default directory
12952 2001-06-23 The LyX Project <Asger>
12954 * Clean-up of header file includes all over
12955 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12957 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * paragraph.h: renamed from lyxparagraph.h
12961 2001-06-23 Asger <lyx@violet.home.sad.it>
12963 * Buffer.h: Removed Buffer::resize
12964 * BufferList.h: Removed BufferList::resize
12965 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12966 the document lazily when we change the width, or the font settings.
12968 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12970 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12972 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12974 * buffer.h: remove out of date comment
12976 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12979 * screen.C: fix "theoretical" GC leak
12981 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12983 * LaTeX.C (scanAuxFile):
12984 (deplog): remove trailing \r when reading stream (useful under
12987 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12989 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12990 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12991 and BufferView::theLockingInset(Inset*), so should use them and not
12992 access bv_->text->the_locking_inset directly.
12994 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12996 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12999 * tex-defs.h: remove old unused file
13001 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13003 * BufferView_pimpl.C: fix typo, remove minibuffer message
13004 when buffer has loaded
13006 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * lyxfunc.C (Dispatch): use stringstream
13009 (MenuNew): use stringstream
13010 (Open): use stringstream
13012 * importer.C (Import): use stringstream
13014 * bufferview_funcs.C (CurrentState): use stringstream
13016 * LaTeX.C (run): use stringstream
13018 * BufferView_pimpl.C (savePosition): use stringstream
13019 (restorePosition): use stringstream
13020 (MenuInsertLyXFile): use stringstream
13022 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13035 * vspace.C: removed // -*- C++ -*- as first line.
13038 * version.h: added // -*- C++ -*- as first line.
13040 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13044 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13047 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13049 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13052 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * gettext.C: include LString.h even when --disable-nls is on.
13056 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13058 * converter.h (Get): changed argument type from int to
13059 FormatList::size_type to avoid unnecessary conversion.
13061 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13064 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * gettext.h: include LString.h even when --disable-nls is on.
13068 2001-06-07 Juergen Vigna <jug@sad.it>
13070 * text.C (BreakAgain): subst spaces with tabs.
13072 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13073 (resizeInsetsLyXText): set force on resizeLyXText.
13075 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13077 * gettext.h (gettext_init):
13078 (locale_init): use a real definition instead of a macro
13080 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13082 * Bufferview_pimpl.C:
13084 * LColor.C: further lcolor tidies
13086 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13088 * BufferView_pimpl.C (updateScrollbar): simplify.
13090 * BufferView2.C: don't include insets/insetinfo.h, change
13091 prototype for insertInset and call the Pimpl version. let
13092 updateInset call Pimpl version.
13094 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13095 gotoInset to BufferView::Pimpl
13097 2001-06-01 Juergen Vigna <jug@sad.it>
13099 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13100 inside a LockingInset (is the update needed at all?).
13102 2001-05-31 Juergen Vigna <jug@sad.it>
13104 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13105 here not the old one otherwise how should we compare it afterwards
13108 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * FontInfo.C: bring C functions into global namespace when
13116 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * LString.h: make sure config.h has been loaded before LString.h.
13120 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13121 (one for each char read by EatLine!).
13123 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13126 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13129 to the same as the par we break from
13131 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13135 * MenuBackend.C (expand): also create menu entries for wide
13136 versions of the floats.
13138 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13140 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13142 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13143 frontends/Makefile.am
13149 * tabular.C (getTokenValue): add std::
13151 * tabular-old.C (getTokenValue): add std::
13152 (getTokenValue): ditto
13153 (getTokenValue): ditto
13155 * screen.C (ToggleSelection): adjust
13157 * lyxtext.h: put selection cursors inside a Selection struct.
13159 * lyxfunc.C (moveCursorUpdate): adjust
13161 * lyxfont.C (latexWriteStartChanges): add std::
13163 * lyxfind.C: adjust
13165 * font.h: delete with(char const *, LyXFont const &)
13167 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13169 * FontInfo.C (getFontname): add std::
13171 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13172 (workAreaButtonPress): adjust
13173 (tripleClick): adjust
13175 (moveCursorUpdate): adjust
13178 * BufferView2.C (gotoInset): adjust
13180 2001-05-30 Juergen Vigna <jug@sad.it>
13182 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13183 to check pspell I add this as default as I now have new pspell
13184 libraries and they seem to use this.
13186 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * text2.C (CutSelection): make the cursor valid before the call to
13191 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13193 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13194 relied on 0 terminated strings and other horrors. Bug found due to
13195 the new assert in lyxstring!
13197 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13200 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13205 * lyxfunc.C (processKeySym): change method of getting to the
13208 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13209 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13210 * BufferView_pimpl.[Ch]: here as private methods.
13212 2001-05-28 Juergen Vigna <jug@sad.it>
13214 * text.C (SetHeightOfRow): added the update() call again as it is
13215 needed to initialize inset dimensions!
13217 2001-05-16 Juergen Vigna <jug@sad.it>
13219 * text2.C (SetCharFont): Add new function with BufferView * and
13220 bool toggleall parameters for setting insets internal fonts.
13221 (SetFont): Freeze the undo as we may change fonts in Insets and
13222 all this change should be inside only one Undo!
13224 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13225 setting font's in insets as for them we have the SetFont function!
13227 2001-05-15 Juergen Vigna <jug@sad.it>
13229 * text2.C (ClearSelection): to be sure we REALLY don't have any
13232 * tabular.C (TeXCellPreamble): fixed the left border problem for
13235 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13237 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13240 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13243 LFUN_BREAKPARAGRAPH.
13245 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13246 help test to "internal only", similar for LFUN_INSERT_URL
13248 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13249 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13250 auto_region_delete and deadkeys.
13252 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13255 * LColor.C: remove some dead entries, tidy a little
13257 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13261 (Dispatch): implement LFUN_ESCAPE
13263 * commandtags.h: add LFUN_ESCAPE
13265 * LyXAction.C (init): add entry for LFUN_ESCAPE
13267 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13268 Remove commented code.
13269 (insertNote): moved here
13270 (open_new_inset): moved here
13272 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13275 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * kbmap.C (findbinding): clean it up and make it work correctly.
13279 * lyx_main.C (init): do not pass argc and argv as parameters
13281 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13283 * buffer.C: fix path for OS/2 & Win32
13287 * lyx_main.C: Added os:: class.
13289 * os2_defines.h: update
13291 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13294 better by trying again with reduced state.
13296 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13298 * lyxrc.C (read): print error about invalid key sequence only when
13299 debugging (because not all latinX keysyms are known to some X
13302 * kbsequence.C (getiso): add a few std:: qualifiers
13303 (getiso): comment out extra return statement.
13305 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13309 (Dispatch): enhance the accent inset a bit. (not perfect)
13311 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13315 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * bufferlist.C (emergencyWrite): fix assert() call
13319 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13321 * text.C (InsertChar): Added trivial patch to only send the "you
13322 can not do multiple spaces this way" message once during a
13325 2001-05-08 Baruch Even <baruch@lyx.org>
13327 * Makefile.am: Changed order of libraries to get LyX to link properly
13328 with the gnome frontend.
13330 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13332 * LaTeXFeatures.h: add a std:: qualifier
13334 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * paragraph.C (String): use stringstream
13338 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * paragraph.C (writeFile): remove footflag arg
13342 * buffer.C (makeLaTeXFile): use stringstream
13343 (latexParagraphs): remove footnot gurba
13345 * LaTeXFeatures.C (getPackages): use stringstream
13346 (getMacros): likewise
13347 (getTClassPreamble): likewise
13348 (getFloatDefinitions): new method
13350 * paragraph.C (writeFile): reindent
13353 * WorkArea.h: revert the xpos + etc changes.
13355 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13357 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13359 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13360 (pasteSelection): likewise
13361 * text2.C (CreateUndo): likewise
13363 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * minibuffer.C (peek_event): temporarily reduce the functionality
13366 of the minibuffer (to allow args on lfuns)
13368 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13369 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13371 * buffer.C (readInset): add compability reading of old float
13372 lists, add reading of new style float list.
13373 (readInset): avoid reevaluation of inscmd.getCmdName()
13374 (getLists): reindent
13376 * MenuBackend.C (MenuItem): implement parsing of
13377 md_floatlistinsert and md_floatinsert.
13378 (expand::LastFiles): move initalizaton of iterators out of loop,
13379 avoid reevaluation.
13380 (expand::Documents): introduce typdedef vector<string> Strings,
13382 (expand::ExportFormats): introduce typedef vector<Format const *>
13383 Formats, and use it.
13384 (expand): implement FloatListInsert and FloatInsert.
13386 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13387 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13388 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13390 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13392 (Dispatch::LFUN_FLOAT_LIST): implement
13394 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13396 * LaTeX.C (run): Fix problem with --export code.
13398 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13400 * BufferView.[Ch] (workarea): removed.
13401 (getClipboard) new method; wrapper for workarea()->getClipboard()
13403 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13406 * WorkArea.h (width, height, xpos, ypos): These methods all
13407 returned the dimensions of the work_area sub-area of WorkArea,
13408 resulting in a position error if the WorkArea were resized. Now
13409 return the dimensions of the entire WorkArea.
13411 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13413 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * LaTeX.C (deplog): correct the syntax of regex reg1
13417 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * undo.C: remove !NEW_INSETS cruft
13421 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * text2.C: remove !NEW_INSETS cruft
13425 * text.C: remove !NEW_INSETS cruft
13427 * tabular.C: remove !NEW_INSETS cruft
13429 * spellchecker.C: remove !NEW_INSETS cruft
13431 * lyxtext.h: remove !NEW_INSETS cruft
13433 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13435 * lyxfunc.C: remove !NEW_INSETS cruft
13437 * lyxfind.C: remove !NEW_INSETS cruft
13439 * lyx_cb.C: remove !NEW_INSETS cruft
13441 * figureForm.C: remove !NEW_INSETS cruft
13443 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13445 * buffer.[Ch]: remove !NEW_INSETS cruft
13447 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13449 * CutAndPaste.C: remove !NEW_INSETS cruft
13451 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13453 * BufferView2.C: remove !NEW_INSETS cruft
13455 * BufferView.h: remove !NEW_INSETS cruft
13457 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * Lsstream.h: include LString.h before the sstream headers to
13460 fix problem with gcc 2.95.3 and lyxstring
13462 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13464 * lyx_main.C: add using directives when needed for C functions
13465 declared in std:: namespace.
13467 2001-04-27 Juergen Vigna <jug@sad.it>
13469 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13470 (SetHeightOfRow): comment out the update call should not be needed!
13472 2001-04-13 Juergen Vigna <jug@sad.it>
13474 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13475 (LyXTabular): tried to minimize operator= operations (and realized
13476 hopfully Lars wish).
13478 2001-04-27 Juergen Vigna <jug@sad.it>
13480 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13482 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13484 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13486 * buffer.C (readInset): hack to make listof algorithm work
13488 * BufferView_pimpl.C: hack to make listof algorithm work
13490 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13492 * LyXAction.C: removed all !NEW_INSETS cruft
13493 (init): moved lfun_item in method
13495 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13497 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13499 * BufferView2.C (theLockingInset): white space.
13501 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13503 * minibuffer.C: include <iostream>
13505 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13507 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13509 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13511 * text.[Ch] (TransposeChars): new method
13513 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * call message directly through LyXView instead of through LyXFunc
13516 * BufferView2.C: adjust
13517 * BufferView_pimpl.C: adjust
13518 * FontLoader.C: adjust
13520 * bufferview_funcs.C: adjust
13521 * converter.C: adjust
13522 * figureForm.C: adjust
13523 * importer.C: adjust
13525 * lyx_gui_misc.C: adjust
13526 * lyxfunc.C: adjust
13529 + more files in subdirs
13531 * lyxparagraph.h (size): move up int file
13534 * adjust all uses of Assert to lyx::Assert.
13536 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13537 lyxfunctional in namespace lyx
13538 * layout.C (hasLayout): ditto
13541 (delete_layout): ditto
13542 (NumberOfClass): ditto
13543 * converter.C (GetFormat): ditto
13548 * bufferlist.C (getFileNames): ditto
13549 (emergencyWriteAll): ditto
13552 * MenuBackend.C (hasSubmenu): ditto
13555 * BufferView_pimpl.C (getInsetByCode): ditto
13557 2001-04-18 Juergen Vigna <jug@sad.it>
13559 * vspace.C (asLatexString): fixed the 100% problem.
13561 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * lyxfunc.C (Dispatch):
13565 * minibuffer.h: add a few std:: qualifiers
13567 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13569 * minibuffer.[Ch]: reimplement so that commands is initiated and
13570 run from lyxfunc, simplified som handling, and made the completion
13571 and history code for complete. wip.
13573 * lyxfunc.C (processKeySym): call message
13574 (miniDispatch): new temporary method
13575 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13576 (LFUN_MESSAGE): implement
13577 (LFUN_MESSAGE_PUSH): implement
13578 (LFUN_MESSAGE_POP): implement
13579 (initMiniBuffer): the initial/defualt minibuffer message.
13581 * lyxfont.[Ch]: inline some more getters
13583 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13585 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13587 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13588 (AutoSave): use LFUN_MESSAGE
13589 (Reconfigure): ditto
13591 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13593 * figureForm.C: use LFUN_MESSAGE
13595 * converter.C (runLaTeX): use LFUN_MESSAGE
13597 * bufferview_funcs.C: use LFUN_MESSAGE
13599 (changeDepth): ditto
13601 * bufferparams.h: use boost::
13603 * bufferlist.h: inherit privately from noncopyable
13605 * bufferlist.C (loadLyXFile): remove some commented code.
13607 * buffer.C (runChktex): use LFUN_MESSAGE
13609 * ShareContainer.h: inherit privately from noncopyable
13611 * ParagraphParameters.[hC] (depth): inline it.
13613 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13615 (message): new method
13616 (messagePush): ditto
13617 (messagePop): ditto
13618 (show): init minibuffer
13619 (showState): direct call
13621 * LaTeX.[Ch]: inherit privately from noncopyable
13622 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13623 instead of WriteStatus.
13625 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13627 * BufferView_pimpl.C (buffer): don't init minibuffer
13628 (workAreaButtonPress): use LFUN_MESSAGE
13629 (workAreaButtonRelease): ditto
13630 (savePosition): ditto
13631 (restorePosition): ditto
13632 (MenuInsertLyXFile): ditto
13633 (workAreaExpose): don't init minibuffer
13634 (update): remove commented code, simplify
13636 * BufferView2.C (openStuff): use LFUN_MESSAGE
13637 (toggleFloat): ditto
13640 (copyEnvironment): ditto
13641 (pasteEnvironment): ditto
13646 (updateInset): remove some commented code
13648 * lastfiles.h: inherit privately from noncopyable
13651 * lyx_main.h: ditto
13653 * lyxlex_pimpl.h: ditto
13655 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13656 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13657 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13659 * LyXAction.h: inherit privately from noncopyable, add methods
13660 func_begin, func_end, returning iterators to the func map.
13662 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13663 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13664 (func_begin): new method
13665 (func_end): new method
13667 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13669 (copySelection): ditto
13670 (pasteSelection): ditto
13672 * BufferView.C: whitespace change
13673 * BufferView.h: inherit privately from noncopyable
13675 2001-04-16 Allan Rae <rae@lyx.org>
13677 * tabular-old.C (l_getline):
13678 * spellchecker.C (sc_check_word):
13679 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13680 an unrecognised preprocessor directive. So ensure they're wrapped.
13682 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13684 * src/exporter.C (Export): Give an error message when path to file
13687 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13689 * LaTeX.C (deplog): Always check that foundfile exists.
13691 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13694 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13696 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13698 * tabular.[Ch] (getLabelList): implement new method
13700 * minibuffer.h: comment ouf setTiimer
13702 * minibuffer.C (ExecutingCB): constify res
13703 (peek_event): constify s
13704 (Set): constify ntext
13705 (Init): constify nicename
13707 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13709 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13710 (savePosition): use two params to Minibuffer::Set
13711 (restorePosition): ditto
13713 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13715 * lyx_main.C: include language.h
13717 * Makefile.am (lyx_main.o): add language.h
13719 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13725 * CutAndPaste.C: include gettext.h
13727 * lyxfont.h: remove old hack with ON and OFF.
13730 * lyxfont.h: do not include language.h...
13735 * bufferview_funcs.C:
13741 * paragraph.C: ... but do it here instead
13743 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13745 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13747 * tabular.C: small reformat
13749 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13752 (BreakParagraph): ditto
13753 (SetOnlyLayout): ditto
13756 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13759 * lastfiles.C: removed most using decl, add std:: where needed
13761 * buffer.C: ws changes
13763 * MenuBackend.C (class compare_format): put into anon namespace
13764 (expand): constify label, names, action, action2
13767 * text.C (SingleWidth): constify font
13768 (IsBoundary): constify rtl2
13769 (GetVisibleRow): constify ww
13771 * LaTeX.C (deplog): constify logfile
13773 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13775 (workAreaExpose): constify widthChange, heightChange
13777 * lyxrow.C (par): moved
13780 * lyxrow.h: as inlines here
13782 * lyxfont.h (shape): moved from lyxfont.C
13783 (emph): moved from lyxfont.C
13785 * lyxfont.C (LyXFont): use initialization list for all
13787 (shape): move to lyxfont.h as inline
13788 (emph): move to lyxfont.h as inline
13791 2001-04-04 Juergen Vigna <jug@sad.it>
13793 * vspace.C: had to include stdio.h for use of sscanf
13795 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13798 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13799 independent of xforms.
13801 2001-04-02 Juergen Vigna <jug@sad.it>
13803 * spellchecker.C: fixed namespace placing!
13805 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13807 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13808 the LyXParagraph * is 0.
13810 2001-03-29 Juergen Vigna <jug@sad.it>
13812 * vspace.C: added support for %, c%, p%, l%.
13813 (stringFromUnit): added helper function.
13814 (asLatexString): changed to give right results for the %-values.
13816 * buffer.C: convert the widthp in a width%.
13818 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13820 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13823 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13824 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13826 * lyx_cb.[Ch]: see above.
13828 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13832 * lyx.[Ch]: replaced by figure_form.[Ch].
13836 * lyxfunc.C: changed headers associated with above changes.
13838 2001-03-27 Juergen Vigna <jug@sad.it>
13840 * BufferView_pimpl.C: set the temporary cursor right!
13842 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13844 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13846 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13848 * LString.h: removed "using std::getline"!
13850 * BufferView_pimpl.C (Dispatch): changes due to changes in
13851 InsetInclude::Params.
13853 * buffer.C (tag_name): removed redundant break statements as they were
13854 producing lots of warnings with my compiler.
13856 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * LString.h: add "using std::getline" when using the real <string>.
13860 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13862 * buffer.C: removed bitset usage.
13863 PAR_TAG moved to an anonymous name space.
13864 (tag_name): new funtion, also in the anonymous namespace.
13865 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13866 (makeDocBookFile): clean code. Completed transition from string arrays
13868 (SimpleDocBookOnePar): code clean.
13870 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13872 * tabular.C: add some comments.
13874 2001-03-22 Juergen Vigna <jug@sad.it>
13876 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13877 compatibility read a bit and fixed bug with minipage in different
13880 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13882 * buffer.C (pop_tag): removed.
13883 (push_tag): removed.
13884 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13885 array replaced with vector. Added support for CDATA sections.
13886 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13888 (makeDocBookFile): XML conformant declaration of CDATA section,
13889 fixed bug related to <emphasis> in the first paragraph char.
13890 (sgmlOpenTag): exclude empty tags.
13891 (sgmlCloseTag): ditto.
13893 * buffer.h (pop_tag): removed.
13894 (push_tag): removed.
13896 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13898 * language.h (Languages): added size_type and size().
13900 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13902 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13903 response on compability reading of minipages. One probliem is that
13904 the old usage of minipages was «flertydig»
13906 * several files here and in subdirs: don't use static at file
13907 scope use anon namespaces instead.
13909 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13911 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13912 LaTeX output. This is necessary for Literate document
13915 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13917 * buffer.C: insert hfill when needed.
13919 * tabular.C (l_getline): use string::erase, small whitespace change.
13921 * BufferView_pimpl.C: try the anon namespace.
13922 * WorkArea.C: ditto
13924 2001-03-16 Juergen Vigna <jug@sad.it>
13926 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13927 otherwise it won't open options-dialogs.
13929 * buffer.C: honor pextraWidth(p) on converting minipages.
13931 * tabular.C (l_getline): changed the functions to strip trailing \r.
13933 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13935 * BufferView_pimpl.C:
13936 * minibuffer..C: added "using SigC::slot" declaration.
13938 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13940 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13946 * paragraph.C: ditto
13948 * lyxtext.h: NO_PEXTRA
13950 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13952 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13953 * ParameterStruct.h: ditto
13954 * ParagraphParameters.h: ditto
13955 * lyxparagraph.h: ditto
13957 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13959 * buffer.C: add compability for minipage alignment.
13960 (latexParagraphs): remove unwanted pextra check.
13962 * several files: remove CXX_WORKING_NAMESPACES
13964 * buffer.C (pop_tag): tie is in namespace boost
13966 * BufferView.h: noncopyable is in namespace boost
13968 * lyx_main.h: ditto
13971 * lastfiles.h: ditto
13972 * bufferlist.h: ditto
13973 * ShareContainer.h: ditto
13975 * LyXAction.h: ditto
13978 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13980 * Merging changes from BRANCH_MVC back into HEAD.
13982 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13984 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13986 * BufferView_pimpl.C: change from intl.C
13990 * Makefile.am: move combox.*
13996 * intl.C: remove dialog (covered by prefs)
13998 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14000 * lyxfunc.C (Dispatch): removed redundant break statement.
14002 2001-03-14 Juergen Vigna <jug@sad.it>
14004 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14006 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14008 * buffer.C: add hack to fix compability reading of minipages.
14010 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14012 * buffer.C (getLists): Cleanup.
14014 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * lyxfont.C (update): don't honor toggleall on font size.
14018 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14022 * Makefile.am: moved to frontends/xforms/
14026 * BufferView_pimpl.C: changes for moved mathpanel
14028 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14030 * gettext.h: fix gettext_init() in --disable-nls
14032 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14036 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14039 * lyx.h: strip external form
14041 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14043 * BufferView_pimpl.C: add comment, destroySplash()
14045 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14047 * BufferView_pimpl.C:
14051 * lyxfunc.C: use re-worked insetinclude
14053 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14055 * buffer.C: add using std::stringstream.
14057 * lyx_cb.C: readd using std::ios.
14059 * buffer.C: add using std::map.
14061 * BufferView_pimpl.C: add using std::vector.
14063 * ShareContainer.h: add std:: to swap.
14065 * buffer.h: add some typedefs
14066 * buffer.C (getLists): use them
14067 (getLists): renamed from getTocList.
14068 add a counter for the different float types and use it in the
14070 (getLists): use the same counter for the NEW_INSETS and the "non"
14073 * lyx_cb.h: remove unused items, includes, using etc.
14075 * ShareContainer.h: remove some commented code, add more comments
14076 and "documentation".
14078 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14080 * buffer.C (getTocList): make the list also when NEW_INSETS is
14083 * buffer.h: remove TocType
14085 * buffer.C (getTocList): change to return a map<string,
14086 vector<TocItem> >, implement for dynamic number of list.
14088 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14089 * text2.C (PasteSelection): adjust
14090 * CutAndPaste.C (pasteSelection): adjust
14092 * FloatList.C (FloatList): update from the new_insets branch.
14093 * Floating.[Ch]: ditto
14094 * LaTeXFeatures.C: ditto
14096 * lyxlex_pimpl.C: ditto
14098 * paragraph.C (Last): remove when NEW_INSETS is defined.
14100 * other file: changes because of the above.
14102 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14104 * lyxparagraph.h: rename next to next_, previous to previous_,
14105 make them private for NEW_INSETS. Rename Next() to next(),
14106 Previous() to previous().
14108 * other files: changes because of the above.
14110 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14113 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14116 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14118 * main.C (main): pass lyx_localedir to gettext_init().
14120 * gettext.h: remove locale_init and gettext_init macros
14122 * gettext.C (locale_init): new function
14123 (gettext_init): new function
14125 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14128 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14130 * Moved credits to frontends:
14131 * credits.[Ch]: removed
14132 * credits_form.[Ch]: removed
14133 * lyx_gui_misc.C: remove credits stuff
14136 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14138 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14140 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14141 unneeded destructor.
14143 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14144 a standalone pointer again.
14146 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14148 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14154 * ToolbarDefaults.C:
14163 * BufferView_pimpl.C: use new file dialog in GUII
14166 * lyx_cb.C: remove LayoutsCB to Toolbar
14168 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * ShareContainer.h (get): add std:: qualifier
14172 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * ShareContainer.h: define a proper ShareContainer::value_type
14175 type (and use typename to please compaq cxx)
14177 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14179 * lyxparagraph.h: move serveral local vars to
14180 ParameterStruct/ParagraphParameters., use ShareContainer in
14181 FontTable., make vars in FontTable private and add getter and
14184 * paragraph.C: changes because of the above.
14186 * lyxfont.h: remove copy constructor and copy assignment. (the
14187 default ones is ok), move number inside FontBits. move inlines to
14190 * lyxfont.C: add number to initializaton of statics, move several
14191 inlines here. constify several local vars. some whitespace
14192 cleanup. Dont hide outerscope variables.
14194 * Spacing.h: add two new constructors to match the set methods.
14196 * ShareContainer.h: new file, will perhaps be moved to support
14198 * ParameterStruct.h: new file
14200 * ParagraphParameters.h: new file
14202 * ParagraphParameters.C: new file
14204 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14205 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14207 * BufferView_pimpl.C: ParagraphParameter changes.
14208 * buffer.C: Likewise.
14209 * bufferview_funcs.C: Likewise.
14210 * text.C: Likewise.
14211 * text2.C: Likewise.
14213 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14215 * lyxfind.C (LyXReplace): do not redefine default argument in
14217 (IsStringInText): ditto
14218 (SearchForward): ditto
14219 (SearchBackward): ditto
14221 2001-03-06 Juergen Vigna <jug@sad.it>
14223 * lyxfind.C (IsStringInText): put parentes around expressions.
14225 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14227 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14229 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14231 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14233 * stl_string_fwd.h: add comment
14235 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14238 * tabular.C: remove unused DocBook methods
14244 killed DO_USE_DEFAULT_LANGUAGE
14246 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14248 * lyx_gui.C: do not include language.h.
14250 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14251 arguments in function implementation.
14253 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14255 * BufferView_pimpl.C: add <ctime>
14257 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14259 * BufferView_pimpl.C: add using std::find_if
14261 2001-02-27 José Matos <jamatos@fep.up.pt>
14263 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14266 2001-02-11 José Matos <jamatos@fep.up.pt>
14268 * buffer.C (makeDocBookFile): command styles now have a parameter as
14269 "title" by default.
14271 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14273 * layout_forms.[Ch]: removed
14274 * lyx_cb.[Ch]: out character
14275 * lyx_gui.C: out character
14276 * lyx_gui_misc.C: out character
14277 * bufferview_funcs.C: : out character,
14278 added toggleall as parameter in ToggleAndShow
14280 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14282 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14284 * text2.C (SetCurrentFont): Disable number property at boundary.
14286 2001-02-26 Juergen Vigna <jug@sad.it>
14288 * lyxfunc.C (getStatus): added a string argument override function so
14289 that this is correctly called from LyXFunc::Dispatch if it contains a
14290 do_not_use_argument which is used!
14291 (Dispatch): added check for "custom" export and call appropriate func.
14293 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14295 * lyxrc.C: Add language_command_local, language_use_babel and
14296 language_global_options.
14298 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14300 * buffer.C (makeLaTeXFile): Use language_use_babel and
14301 language_global_options.
14303 2001-02-23 Juergen Vigna <jug@sad.it>
14305 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14306 which works with LyXText and putted it inside BufferView. Here now we
14307 only call for that part the BufferView::Dispatch() function.
14309 * BufferView.C (Dispatch): added.
14311 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14312 functions which needs to use a LyXText over from LyXFunc.
14313 (MenuInsertLyXFile): added
14314 (getInsetByCode): added
14315 (moveCursorUpdate): added
14316 (static TEXT): added
14318 2001-02-22 Juergen Vigna <jug@sad.it>
14320 * BufferView_pimpl.C (update): call a status update to see if LyXText
14323 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14325 * vc-backend.C (revert): implement for CVS
14326 (getLog): implement for CVS
14328 2001-02-20 Juergen Vigna <jug@sad.it>
14330 * text2.C (ClearSelection): added BufferView param for inset_owner call
14332 * lyxfunc.C (TEXT): added this function and use it instead of
14333 directly owner->view()-text of getLyXText().
14335 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14337 * src/layout_forms.C: out preamble
14338 * src/layout_forms.h: out preamble
14339 * src/lyx_cb.C: out preamble
14340 * src/lyx_cb.h: out preamble
14341 * src/lyx_gui.C: out preamble
14342 * src/lyx_gui_misc.C: out preamble
14343 * src/lyxfunc.C: connect with guii preamble
14345 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14347 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14349 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14351 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14352 whether to run bibtex.
14354 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14356 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14358 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14360 * Makefile.am (lyx_SOURCES): removed bibforms.h
14362 * vspace.h: doxygen
14364 * text.C (GetVisibleRow): make several local vars const
14366 * tabular.C: small cleanup.
14368 * lyxserver.C (callback): use compare instead of strncmp
14370 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14371 inlines to after class or to paragraph.C
14373 * lyxfont.h: remove friend operator!=
14375 * converter.h: move friend bool operator< to non friend and after
14378 * combox.h: small cleanup
14380 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14381 to inlines after class def.
14383 * buffer.C (pop_tag): use string operations instead of strcmp
14385 * bmtable.c: doxygen, small cleanup
14387 * LaTeX.h: remove friend operator==
14389 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14401 * BufferView_pimpl.C:
14402 * BufferView.[Ch]: remove cruft
14404 2001-02-14 Juergen Vigna <jug@sad.it>
14406 * lyxfunc.C: removed #if 0 unused code
14408 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14410 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14412 * text2.C (SetSelection): added a BufferView * parameter
14414 2001-02-13 Juergen Vigna <jug@sad.it>
14416 * lyxfunc.C (Dispatch): fixed protected blank problem.
14417 * BufferView2.C (protectedBlank): added LyxText * parameter.
14419 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14420 (AppendColumn): same as above for column_info.
14422 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14423 (moveCursorUpdate): use a LyXText param for support of InsetText.
14425 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14426 (tripleClick): ditto
14428 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14430 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14432 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14434 * text2.C (SetSelection): set correct update status if inset_owner
14435 (ToggleFree): ditto
14437 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14439 * tabular.C: remove some commented code.
14441 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14443 * BufferView_pimpl.C: call hideSplash()
14445 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14448 * bibforms.h: remove
14451 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14452 add LFUN_CHILD_CREATE
14454 * counters.h: fix tiny typo
14459 * lyx.C: move splash to frontends/xforms/
14461 * lyx_gui_misc.C: move Include and Bibform to frontends
14463 * lyxvc.h: clarify comment
14465 * vspace.C: tiny housekeeping
14467 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14469 * text.C (PrepareToPrint): RTL Fix.
14471 * paragraph.C (GetUChar): New method.
14472 (String): Use GetUChar.
14474 * buffer.C (asciiParagraph): Use GetUChar.
14476 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14478 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14480 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14483 * buffer.C: rename to getLogName(), handle
14484 build log / latex log nicely
14486 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14489 * MenuBackend.h: remove support for reference menuitem type.
14491 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14493 * BufferView_pimpl.C: housekeeping
14494 * BufferView_pimpl.h:
14499 * minibuffer.h: move Timeout GUI-I
14501 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14503 * lyxrc.C (read): Update converters data-structures.
14505 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14507 * LaTeX.h (operator!=): add operator != for Aux_Info
14509 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14511 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14513 * LaTeXLog.C: deleted, useful code moved to Buffer
14516 * buffer.C: new function getLatexLogName()
14522 * lyxfunc.C: use frontends for LaTeX and VC logs
14524 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14526 * LaTeX.h: yet another std:: that Allan forgot.
14528 * Variables.C (set): renamed from isset(), because this clashes
14529 with some HP-UX macros (grr).
14531 2001-02-06 Allan Rae <rae@lyx.org>
14533 * LaTeX.h: Another bug fix. Missing std:: this time.
14535 2001-02-04 Allan Rae <rae@lyx.org>
14537 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14538 floats problem. I've left it commented out because it's not quite
14539 correct. It should also test that the current object is a table or
14540 figure inset. But I haven't gotten around to figuring out how to do
14541 that. I *think* it'll be something like: "table" == inset.type()
14543 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14546 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14548 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14549 all the citation/databases/styles in the auxilary file.
14550 (run): Rerun latex if there was a babel language error.
14552 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14554 * text.C (Backspace): Preserve the font when changing newline char
14556 (BreakParagraph): If the cursor is before a space, delete the space.
14558 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14560 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14562 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14563 new argument (code).
14564 (ChangeCitationsIfUnique): New method.
14566 * paragraph.C (GetPositionOfInset): Handle bibkey.
14568 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * BufferView_pimpl.h: change type of Position::par_pos to
14571 LyXParagraph::size_type.
14573 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14575 * BufferView_pimpl.C (savePosition, restorePosition): Write
14576 messages to minibuffer.
14578 2001-01-28 José Matos <jamatos@fep.up.pt>
14580 * buffer.C (makeDocBookFile): adds support for document language.
14581 A silly restriction on the name of LatexCommand types where removed.
14582 Added support for CDATA sections, allows to chars unescaped, used
14583 among others in code, to avoid escape < and >.
14585 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14587 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14588 saved positions instrad of a stack. Furthermore, a position is
14589 stored using paragraph id/paragraph position.
14591 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14592 Remove LFUN_REF_BACK.
14594 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14596 * converter.C (dvipdfm_options): New method.
14598 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14600 * vspace.C (isValidLength): Fix for empty input string.
14602 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14604 * LyXAction.C (init): change description of LFUN_FIGURE to
14607 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * LaTeX.C: add using directive
14611 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14613 * MenuBackend.C (expand): Fix the sorting of the formats.
14615 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14617 * lyx_main.C: tiny error message fix
14619 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14621 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14622 calling fl_initialize(). This fixes the problem with ',' as
14623 decimal separator in text files.
14625 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14627 * trans.C (process): Fix the keymap bug.
14629 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14631 * LaTeX.C (scanAuxFiles): New method. Provides support for
14632 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14633 (scanLogFile) Scan for "run BibTeX" messages.
14635 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14636 OT1 font encoding. Also, load the aecompl package if the ae
14639 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14641 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14643 * texrow.C (increasePos): turn two error messages into debug
14646 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14648 * LaTeX.C (scanAux): Handle the \@input macro.
14649 (runBibTeX): Use scanAux().
14651 * language.C (latex_options_): New field.
14653 * LaTeXFeatures.C (getMacros): Add language macros.
14655 * buffer.C (makeLaTeXFile): Small fix.
14657 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14661 * text2.C: add a using directive.
14663 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14668 * lyxfunc.C: kill LyXBell.
14670 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14672 * text.C (IsBoundary): Remove the error message
14674 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14676 * lyxrc.C (setDefaults): Correct initialization value for
14679 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14681 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14684 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14685 and GotoNextNote().
14687 * src/LyXAction.C: Added reference-next.
14689 * text.C (InsertChar): Use contains instead of strchr.
14691 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14693 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14695 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14696 alignment commands (when needed).
14698 * text.C (InsertChar): Add ':' to number separator chars.