2 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4 * iterators.[Ch] (lockPath): remove in favour of...
5 * BufferView.[Ch] (setCursor): this addition
6 * BufferView.C (putSelectionAt): adjust
7 * undo.C (performUndoOrRedo): adjust
8 * lyxfunc.C (dispatch): adjust
10 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
12 * iterators.C (lockPath): add a missing slice
13 * undo.C (performUndoOrRedo): remove redundant positioning code
15 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
17 * vc-backend.C (scanMaster): ";" -> ';'
19 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
21 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
24 * lyxtextclass.C (compare_name): rename to...
25 (LayoutNamesEqual): ...this
27 * lyxlex_pimpl.C (compare_tags): inherit from
28 std::binary_function, put back into anon namespace
30 * lyxfind.C (MatchString): inherig from std::binary_function
31 (findChange): use empty() istead of !size()
33 * format.C (FormatNamesEqual): new functor
40 * converter.C (compare_Converter): rename to...
41 (ConverterEqual): ...this, and fixup a bit.
42 (getConverter): use it, and make function const
43 (getNumber): use it, and make function const
47 * bufferlist.C: add using boost::bind
49 * MenuBackend.C (MenuNamesEqual): new functor
50 (hasMenu): use it, and make function const
51 (hasSubmenu): use nested bind to get rid of compare_memfun.
53 2004-01-30 André Pönitz <poenitz@gmx.net>
66 * text3.C: move some of the edit(x,y) handling to the insets
67 some coordinate changes.
69 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
71 * text.C: add using statements for std::advance and std::distance
73 * paragraph.C: add using statement for std::distance
75 * lyxfind.C: add using statement for std::advance
77 * cursor.C (region): remove std:: from swap
78 (openable): use nucleus in stead of operator->
80 * BufferView.C: add using statements for std::distance and std::swap
82 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
84 * iterators.C: Remove the pimple, move the needed structures to
85 the header file. Create accessor for the positions stack.
86 (asPosIterator): remove function
88 * PosIterator.C (PosIterator): move constructors to top of file
89 (PosIterator): reimplement the constructor taking a ParIterator in
91 (setFrom): new function
92 (operator!=): inline it
94 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
96 * lyxfind.C (replaceAll): use std::advance
98 * iterators.h: inherit from std::iterator.
100 * PosIterator.C (advance, distance): remove
101 * PosIterator.h: interit from std::iterator.
103 2004-01-26 André Pönitz <poenitz@gmx.net>
106 * BufferView_pimpl.[Ch]:
110 * bufferview_funcs.C:
121 * output_plaintext.C:
123 * paragraph_funcs.[Ch]:
124 * paragraph_pimpl.[Ch]:
130 * text3.C: more IU: dumps most of the rest of the mathcursor
131 implementation into cursor.[Ch]; "globalize" a bit of it.
133 2004-01-25 Angus Leeming <leeming@lyx.org>
135 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
137 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * LaTeXFeatures.h: add nice_ and nice() const
140 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
142 2004-01-20 André Pönitz <poenitz@gmx.net>
145 * BufferView_pimpl.C:
147 * bufferview_funcs.C:
160 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
161 LCursor and mathcursor parts to LCursor and InsetBase.
163 2004-01-15 André Pönitz <poenitz@gmx.net>
165 * cursor_slice.[Ch]: add a few covienience functions
167 * funcrequest.[Ch]: remove BufferView * member
169 * BufferView_pimpl.C:
176 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
178 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
180 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
181 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
183 2004-01-13 André Pönitz <poenitz@gmx.net>
186 * lyxtext.h: hide cursor and selection anchor behind accessor function
189 * BufferView_pimpl.[Ch]:
191 * bufferview_funcs.C:
201 * cursor_slice.[Ch]: some integer type changes for inset unification
203 * lyxcursor.[hC]: remove, it's CursorSlice now.
206 * BufferView_pimpl.[Ch]:
207 * bufferview_funcs.C:
213 * textcursor.[Ch]: adjust
215 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
217 * text2.C (undoSpan): add and use
218 * text.C (breakParagraph): use undoSpan (fix bug 578)
221 2004-01-08 Angus Leeming <leeming@lyx.org>
223 * BufferView_pimpl.C (MenuInsertLyXFile):
224 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
225 * lyxfunc.C (menuNew, open, doImport):
226 FileFilterList change to the FileDialog open and save functions.
228 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
230 * ShareContainer.h: make isEqual and isUnique adaptable
232 * CutAndPaste.C: make resetOwnerAndChanges adaptable
234 2004-01-07 Angus Leeming <leeming@lyx.org>
237 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
239 * BufferView_pimpl.C (dispatch): act on these LFUNs.
241 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
242 functions replacing find, replace and replaceAll.
244 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
245 LFUN_WORDFIND(FORWARD|BACKWARD).
247 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
249 * text.C (breakParagraph): remove an outdated #warning
251 2004-01-07 André Pönitz <poenitz@gmx.net>
253 * lyxfind.C: somewhat clearer logic
255 * text.C: prevent crash in cursorX on unitialized row cache
257 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
259 * lyxcursor.[Ch] (operator>): add
260 * textcursor.C (selStart, selEnd): use std::min and std::max
262 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
264 * Chktex.C: include boost/format.hpp
266 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
268 * InsetList.C: replace functor MathcIt with adaptable functor
270 (insetIterator): modify accordingly
272 * BranchList.h: move the BranchNamesEqual functor here from...
273 * BranchList.C: ... to here
275 * BranchList.C: new BranchListEqual fuctor, use it. Remove
277 (add): replace a finding loop with std::find_if.
279 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
281 * output_docbook.C: moving LatexParam functionality into
284 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * buffer.C: increment format to 229.
288 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
291 * lyx_sty.[Ch]: remove minipageindent_def
297 * text3.C: remove LFUN_INSET_MINIPAGE
299 2003-12-28 Angus Leeming <leeming@lyx.org>
301 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
303 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
305 * text2.C (setParagraph): fix off-by-one crash
307 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
309 * output_docbook.C: header stuff for AGU
311 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
313 * text2.C (redoCursor): remove
316 * BufferView_pimpl.C: remove calls to redoCursor and
317 setCursor(cursor.par(), cursor.pos()) all around
319 2003-12-15 Angus Leeming <leeming@lyx.org>
321 * buffer.C: up the format to 228.
323 2003-12-15 André Pönitz <poenitz@gmx.net>
325 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
330 * BufferView_pimpl.C:
339 2003-12-15 Angus Leeming <leeming@lyx.org>
341 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
342 than getFromGUIName to manipulate the color.
344 2003-12-14 Angus Leeming <leeming@lyx.org>
346 * BranchList.[Ch]: minimize the API.
347 (Branch::getBranch, getColor): now return a 'const &'.
348 (Branch::setSelected) now returns a bool set to true if the
349 selection status changes.
350 (BranchList::clear, size, getColor, setColor, setSelected,
351 allBranches, allSelected, separator): removed.
352 (BranchList::find): new functions, returning the Branch with
354 (BranchList::add, remove): return a bool indicating that
355 the operation was successful.
357 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
358 new InsetBranch::isBranchSlected member function.
360 * LColor.[Ch]: mimimize the API.
361 (fill): renamed as addColor and made private.
362 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
363 versions of these functions taking a string arg have been removed.
365 * bufferparams.C (readToken):
366 * lyxfunc.C (dispatch):
367 * lyxrc.C (read): changes due to the altered BranchList and
370 * factory.C (createInset, readInset): changes due to altered
373 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * lyxfunc.C: remove insetminipage. "minipage-insert"
377 now produces a frameless minipage box inset.
379 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
381 * textcursor.[Ch] (selStart,selEnd): add new methods
382 remove selection::start, end, use LyXCursor::operator<
383 * lyxcursor.[Ch] (operator<): add
384 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
385 * BufferView.[Ch] (unsetXSel): add
386 * text2.C (clearSelection): use unsetXSel,adjust
389 * rowpainter.C: adjust
390 * bufferview_funcs.C (put_selection_at): adjust
392 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
394 * BufferView_pimpl.C: small coord. correction
396 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
398 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
399 dragging over the splash screen.
401 2003-12-11 Angus Leeming <leeming@lyx.org>
403 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
404 as it is now handled in LyXText::dispatch.
406 * text3.C (doInsertInset): remove a level of nesting.
408 2003-12-11 Angus Leeming <leeming@lyx.org>
410 * factory.C (createInset): changes due to the changed interface to
411 InsetCommandMailer::string2params.
413 2003-12-10 Angus Leeming <leeming@lyx.org>
415 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
416 'dialog-show-new-inset <inset name>'
418 2003-12-10 Angus Leeming <leeming@lyx.org>
420 * buffer.C: up the format to 227.
422 * factory.C: the box inset is now identified simply by 'Box'.
424 2003-12-10 Angus Leeming <leeming@lyx.org>
426 * buffer.C: up the format to 226.
428 * factory.C: the note inset is now identified simply by 'Note'.
430 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
432 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
433 when a pit is enough. Standarize a couple of loops.
435 2003-12-05 Angus Leeming <leeming@lyx.org>
437 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
438 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
439 data to the re-worked "log" dialog.
441 2003-12-03 André Pönitz <poenitz@gmx.net>
449 * text2.C: use Inset::getText instead of Inset::getParagraph
451 2003-12-03 André Pönitz <poenitz@gmx.net>
455 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
456 InsetText::read() as LyXText::read()
458 2003-12-02 Angus Leeming <leeming@lyx.org>
460 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
461 type. Add a comment in the implementation that the function uses
462 the stream's bad() function rather than fail() as the std::streams
465 2003-12-02 André Pönitz <poenitz@gmx.net>
467 * lyxlex.[Ch]: make interface more similar to std::stream
469 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
471 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
473 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
475 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
477 * vspace.[Ch]: remove VSpace::NONE
479 2003-12-01 André Pönitz <poenitz@gmx.net>
482 * lyxtext.h: move ParagraphList member to LyXText
483 rename LyXText::ownerParagraphs to LyXText::paragraph
486 * bufferview_funcs.C:
496 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
498 * undo.C: fix cursor positioning
500 2003-12-01 John Levon <levon@movementarian.org>
502 * BufferView_pimpl.C: fix a crash on exit with
505 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
507 * BranchList.C: fix setSelected() method.
509 2003-11-28 André Pönitz <poenitz@gmx.net>
511 * ParagraphParameters.[Ch]:
512 * ParameterStruct.h: remove space above/below from Paragraph to
515 * BufferView_pimpl.C:
527 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
529 * factory.C: Syntax change for CharStyles
531 2003-11-28 André Pönitz <poenitz@gmx.net>
536 * buffer.[Ch]: move LyXText member
538 2003-11-28 André Pönitz <poenitz@gmx.net>
540 * BufferView.[Ch]: make LyXText * text a private member
542 * BufferView_pimpl.C:
553 * output_plaintext.C: cleanup
555 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
558 * lyxtextclass.[Ch]: parametrize SGML document header
560 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
563 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
566 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
568 * text2.C (setFont): rework using PosIterator (no more recursive)
569 (setCharFont): no more needed
570 (setLayout): no more selection cursors fiddling (done by redoCursor)
571 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
572 destroy remaining ones)
574 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
576 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
578 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
581 * text3.C: adjust + re-allow multi par depth changes
582 * textcursor.C: simplify a bit
584 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
590 * src/output_docbook.C:
591 * src/output_latex.C:
596 * src/text2.C: Introducing a number of tags parametrizing various
597 XML formats that we may want to support
599 2003-11-25 André Pönitz <poenitz@gmx.net>
601 * InsetList.[Ch] (begein, end): inline as suggested by profiler
603 * lyxtext.h (leftMargin/rightMargin): simplify interface
610 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
612 * lyxfunc.C (dispatch): propogate the bibtex databases from the
613 master file to any child files. Fixes bug 546.
615 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
617 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
619 2003-11-24 André Pönitz <poenitz@gmx.net>
621 * rowpainter.C: simplification
623 * text2.C (updateCounters): remove call to redoParagraph on
624 changed labels as this is far too expensive.
626 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
628 * converter.C (convert): fix a crash: this function gets
629 called with buffer == 0 from importer code.
631 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
633 * text3.C (cursorPrevious): make sure that we do not compare
634 iterators form different containers.
637 * rowpainter.C (paintSelection): make sure that we do not compare
638 iterators from different containers.
640 * text3.C (dispatch): [PRIOR] make sure that we do not compare
641 iterators from different ParagraphList containers.
644 * text2.C (LyXText): change order of initialization slightly
645 (operator=): new function. copy all variables except cache_par_
646 (moveUp): make sure that we do not compare iterators from
647 different ParagraphList constainers.
650 * text.C (firstPar): new function
651 (lastPar): new function
652 (endPar): new function
654 * lyxtext.h: move things around and group public functions, public
655 variables, private functions, private variables
657 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
659 * factory.C: change call to InsetERT constructor to avoid
660 additional invocation of method status
661 * text2.C (toggleInset): remove redundant update() call
662 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
663 instead of a Bufferview pointer
665 2003-11-21 André Pönitz <poenitz@gmx.net>
667 * rowpainter.C: simplification
669 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
671 * text3.C (dispatch): make possible to extend a word/row selection
674 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
676 * lyxtext.h: x0_,y0_ -> xo_,yo_
677 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
678 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
679 * rowpainter.C (paintRows): paint full paragraphs
681 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
683 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
686 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
688 * lyxtext.h: add x0_, y0_
689 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
690 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
692 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
694 * text2.C (setCursorIntern): move the x_target update here *
695 * text3.C: change some bv() to true/false in calls to
696 cursorUp/Down/Right/Left
697 * cursor.C: use helper function.
699 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
701 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
702 * paragraph_funcs.[Ch]: correct comment
703 * rowpainter.C: do not paint selections away from bv->cursor()
704 Fix a long standing selection painting bug.
705 * text3.C: generalize mouse-selection code to LyXTexts other that
707 * textcursor.C: do not use y coords if we can use par offsets
709 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
711 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
712 cursor position after e.g. inset insert)
714 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
716 * lyxfind.C (replace): adjust to locking removal + some
719 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
721 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
724 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
727 * output_docbook.C: XML sanitation: new layout
728 parameters InnerTag and CommandDepth
730 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
732 * BufferView_pimpl.C:
734 * text3.C: Fix the insertion and modification of button-style
737 2003-11-13 André Pönitz <poenitz@gmx.net>
739 * InsetList.[Ch]: remove deleteLyXText
741 * paragraph.[Ch]: cache beginOfBody position
746 * text3.C: remove superfluous update() calls
750 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
752 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
753 * BufferView.C (fitLockedInsetCursor): remove
754 * cursor.[Ch] (getDim): add
755 * text.C (getRowNearY): add faster version
756 * text3.C: remove some update calls
758 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
770 * text3.C: The Character Style /XML short element patch.
772 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
775 * factory.C: Small step to solving 'unable to insert some insets'
778 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
780 * cursor.[Ch] (updatePos): new function for updating the y
781 position of the tip inset
782 * bufferview_funcs.C (put_selection_at):
783 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
785 2003-11-11 André Pönitz <poenitz@gmx.net>
787 * text.C: remove big comment on invalid Paragraph pointers as it is
790 2003-11-11 André Pönitz <poenitz@gmx.net>
792 * text_funcs.[Ch]: merge with ...
800 * Makefile.am: remove text_funcs.[Ch]
802 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
804 * cursor.C (getPos): return absolute cached y coord
806 * BufferView_pimpl.C (fitCursor): new simplistic code
807 (workAreaDispatch): add a fitCursor call
809 2003-11-10 André Pönitz <poenitz@gmx.net>
812 * BufferView_pimpl.[Ch]: merge update() and updateInset()
814 2003-11-10 André Pönitz <poenitz@gmx.net>
816 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
817 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
818 indicate that the cursor needs to leave an inset
820 * lyxtext.h: remove inset locking
822 * cursor.[Ch]: re-implement functionality provided by inset locking
825 * BufferView_pimpl.[Ch]:
827 * bufferview_funcs.[Ch]:
839 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
841 * PosIterator.[Ch]: replace the stack with a vector, add inset
843 * iterators.[C]: adjust
845 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
847 * lyxfind.C (replaceAll): mark the buffer dirty if something was
849 * paragraph_funcs.C (readParToken): put the correct id in the
850 error item, not the id of the top paragraph
852 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
854 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
855 * bufferview_funcs.C (put_selection_at): use the above
857 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
859 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
861 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * output_plaintext.h:
866 * output_docbook.h: add #include statements
868 2003-11-05 José Matos <jamatos@lyx.org>
870 * output_docbook.[Ch]:
872 * output_linuxdoc.[Ch]:
873 * output_plaintext.[Ch]: New files for output formats.
874 * output.[Ch]: New file for helper functions.
877 * paragraph_funcs.[Ch]: output functions moved to new files.
879 * outputparams.h: rename of latexrunparams.h
887 * paragraph_funcs.[Ch]:
888 * paragraph_pimpl.[Ch]:
889 * tabular.[Ch]: rename ascii to plaintext
890 and LatexRunParams to OutputParams.
892 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
894 * iterators.[Ch] (text): require bv argument
895 * undo.C (recordUndo):
896 * lyxfunc.C (dispatch):
897 * bufferview_funcs.C (put_selection_at): adjust
899 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
901 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
903 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
905 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
908 2003-11-04 André Pönitz <poenitz@gmx.net>
910 * cursor.[Ch]: restructure
913 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
915 * iterators.[Ch] (asCursor): remove
917 * lfuns.h: remove LFUN_INSET_EDIT
923 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
925 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
927 * lyxfind.[Ch]: complete overhaul
928 * BufferView_pimpl.C:
930 * paragraph.[Ch] (insert): add
932 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
936 * text.C: remove dead spellcheck code
938 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * dispatchresult.h: add a val setter
942 * cursor.C (dispatch): use a tempvar for data_[i]
944 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
946 * PosIterator.[Ch]: compile fix
948 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
950 * text.C (cursorPar): deactivate the cursor cache
952 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
954 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
956 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * text3.C (dispatch): adjust for new DisptchResult semantics.
960 * lyxfunc.C (dispatch): handle update when return from
961 Cursor::dispatch, adjust for new DispatchResult semantics.
963 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
964 DispatchResult(true) mean to not update. Add class functions for
965 setting dispatched and update, as well as reading.
967 * cursor.C (dispatch): don't handle update here
969 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
972 * trans_mgr.C: adjust
974 * paragraph_funcs.C (readParToken): exception safety
976 * lyxvc.h: store the vcs pointer in a scoped_ptr
979 * lyxsocket.C (serverCallback): exception safety
981 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
983 * ispell.C (clone): make it return a auto_ptr
985 * factory.C (createInset): exception safety
986 (readInset): exception safety
988 * bufferlist.C (newBuffer): exception safety
990 * Thesaurus.C (Thesaurus): use initialization for aik_
992 * MenuBackend.C (expandToc): exception safety.
994 2003-11-03 André Pönitz <poenitz@gmx.net>
998 * bufferview_funcs.C: remove getInsetFromId()
1001 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1007 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1009 * PosIterator.C (distance, advance): new
1010 * bufferview_funcs.[Ch] (put_selection_at): new
1011 * iterators.[Ch] (lockPath): new
1013 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1015 * iterators.[Ch] (asPosIterator): added
1016 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1017 * PosIterator.[Ch]: added
1019 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * cursor.C (dispatch):
1024 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1026 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1027 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1028 contructor, add a class function dispatched. Remove operator>=
1030 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * debug.C: only use the default constructor for debugstream
1035 * main.C (main): include debug.h and setup the lyxerr streambuf
1038 2003-10-31 José Matos <jamatos@lyx.org>
1040 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1042 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1043 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1044 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1045 * paragraph_pimpl.C (simpleTeXSpecialC):
1046 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1047 add LatexRunParams argument.
1049 * exporter.C (Export): change call accordingly.
1051 * latexrunparams.h: add new member to take care of the other backends.
1052 2003-10-30 José Matos <jamatos@lyx.org>
1054 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1055 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1056 factorise code for paragraph output.
1058 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1061 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * text3.C (dispatch):
1064 * lyxfunc.C (dispatch):
1065 * cursor.C (dispatch):
1066 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1068 * dispatchresult.h: make the dispatch_result_t ctor explicit
1070 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1073 * buffer.C: small refactoring of docbook stuff
1075 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1080 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1083 operator dispatch_result_t, and operators for == != and >=
1085 * cursor.C (dispatch): adjust for operator dispatch_result_t
1086 removal. comment out call to update
1088 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1090 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1101 * dispatchresult.h: new file, DispatchResult broken out of
1104 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1106 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1108 * text.C (rowBreakPoint): put a hack inside #if 0
1110 2003-10-28 André Pönitz <poenitz@gmx.net>
1114 * paragraph_funcs.C:
1117 * text2.C: general cleanup (lots of small stuff)
1119 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1121 * text2.C (cursorEnd): simple fix to the "end key goes to one
1122 before the end on last row" bug
1124 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1126 * text.C (backspace): fix the "zombie characters"
1128 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1130 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1132 2003-10-27 André Pönitz <poenitz@gmx.net>
1134 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1136 * factory.C: handle new InsetPagebreak, InsetLine
1138 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1139 and move handling into new InsetPagebreak, InsetLine
1141 * BufferView_pimpl.C:
1143 * ParagraphParameters.C:
1144 * ParameterStruct.h:
1149 * paragraph_funcs.C:
1150 * paragraph_pimpl.C:
1156 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1159 * lyxrow_funcs.[Ch]:
1165 * text3.C: remove lastPos uses in favour of Row::endpos
1167 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1169 * undo.C (performUndoOrRedo): fix two crashes by setting a
1170 cursor by hand and reordering some calls. Use bv->lockInset instead
1171 of inset->edit because the latter loses cursor information
1173 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1175 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1177 (rowBreakPoint): fix width. change point to point + 1.
1178 Add a missing check.
1180 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1183 * lyxfunc.C: fix (at least partly) the problems
1184 with the Nav menu and headers inside branch insets
1187 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1189 * paragraph.C (getChar): add strong asserts
1191 * lyxrow_funcs.C (lastPos): remove hideous hack
1193 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1194 (fill): adjust to that (avoid an infinite loop)
1196 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1198 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1200 2003-10-23 André Pönitz <poenitz@gmx.net>
1202 * RowList_fwd.h: change list<> to vector<> to gain speed
1203 after suggestion from Alfredo
1205 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1207 * lyxtext.h: move the bidi stuff from here...
1210 * Bidi.[Ch]: ... to here
1212 2003-10-23 André Pönitz <poenitz@gmx.net>
1215 * text.C (isLastRow, isFirstRow): new functions
1217 * paragraph.h: new width cache member
1219 * rowpainter.C: replace RowList::iterator with Row & where possible
1221 * lyxfunc.C: replace several view()->text with a single call
1223 * toc.C: fix 'unused' warning
1225 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1228 when woring with stream::pos_type
1229 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1231 2003-10-22 André Pönitz <poenitz@gmx.net>
1234 * text.C: use Row & instead of RowList::iterator
1236 * lyxrow.h: rename end() to endpos()
1242 2003-10-22 Angus Leeming <leeming@lyx.org>
1244 * buffer.[Ch] (fully_loaded): new member function, returning true
1245 only when the file has been loaded fully.
1246 Used to prevent the premature generation of previews and by the
1247 citation inset to prevent computation of the natbib-style label.
1249 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1250 templates are all set up.
1252 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1254 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1256 * text.C: fixed an "oops" in the "is a bit silly"
1259 2003-10-21 André Pönitz <poenitz@gmx.net>
1261 * FuncStatus.[Ch]: small stuff, whitespace
1263 * lyxfont.[Ch]: operator<<() for debug reasons
1267 * lyxtext.h: whitespace, spelling
1269 * paragraph.C: naming of variables
1272 * text2.C: small stuff
1275 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1277 * text.C: (1) finish off the inset display() work;
1278 (2) fix the "is a bit silly" bug (accessing char
1281 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1283 * text.C: re-introduce display() for insets, fixing the
1284 various bugs (stretch of line above, math inset
1287 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * text.C (rightMargin): remove spurious semicolon
1291 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1294 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1296 * text3.C: fix one crash due to wrong cursor def
1298 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * vc-backend.C (scanMaster): make the regex static
1302 * LaTeX.C (scanAuxFile): make the regexs static
1304 * text3.C (doInsertInset, dispatch, dispatch):
1305 * text2.C (cursorUp, cursorDown):
1306 * text.C (selectNextWordToSpellcheck):
1307 * BufferView_pimpl.C (dispatch):
1308 * lyxfunc.C (dispatch): localDispatch -> dispatch
1310 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * lyxsocket.C: include <cerrno>
1314 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * lyxfunc.C (dispatch): remove textcache stuff
1318 * bufferlist.C (release): remove textcache stuff
1321 * TextCache.C: delete file
1322 * TextCache.h: delete file
1324 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1326 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1327 delete of the bv_->text.
1328 (resizeCurrentBuffer): remove texcache stuff
1329 (workAreaResize): ditto
1331 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1336 2003-10-16 André Pönitz <poenitz@gmx.net>
1343 * text3.C: speed up by storing y positions per paragraph plus per-row
1344 offset instead of having a 'full' y position in the row.
1346 2003-10-15 André Pönitz <poenitz@gmx.net>
1350 * undo.[Ch]: make undo aware of inner insets
1352 2003-10-14 Angus Leeming <leeming@lyx.org>
1354 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1355 static member functions LyX::ref() and LyX::cref.
1356 (lastfiles): new accessor functions for the new lastfiles_ member var.
1357 (addLyXView, views_): add a new LyXView to the list of views_.
1358 (updateInset): loop over all LyXViews to call their own updateInset
1359 member function, returning a pointer to the Buffer owning the inset.
1361 * BufferView_pimpl.C (loadLyXFile):
1362 * MenuBackend.C (expandLastfiles):
1363 * bufferlist.C (MenuWrite, QuitLyX):
1364 lastfiles is no longer a global variable.
1365 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1367 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1368 static function. Access through LyX::cref().emergencyCleanup().
1370 2003-10-14 André Pönitz <poenitz@gmx.net>
1372 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1374 * undo.[Ch]: restoring part of 'undo in insets'
1377 * undo_funcs.[Ch]: merge with undo.[Ch]
1379 * tabular.C: small cleansing stuff
1381 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1383 * paragraph_funcs.C (readParToken): report unknown insets as error
1384 boxes. Use the outer paragraph as location (also for unknown
1387 * factory.C (readInset): do not abort on reading an unknown inset.
1388 Eat it and return 0.
1390 2003-10-13 Angus Leeming <leeming@lyx.org>
1392 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1394 * lyxrc.C: displayTranslator is now a function,
1395 declared in GraphicsTypes.h.
1397 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1399 * format.C: new placeholder $$a to pass the socket address.
1401 * bufferlist.[Ch]: new function getBufferFromTmp.
1403 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1404 files in the temporary dir.
1406 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1408 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1410 * Makefile.am: add lyxsocket.[Ch].
1412 * lyx_main.C (error_handler): handle SIGPIPE.
1414 2003-10-13 André Pönitz <poenitz@gmx.net>
1416 * BufferView_pimpl.C:
1421 * undo_funcs.[Ch]: use paroffset_type instead of
1422 ParagraphList::iterators to prevent multiple conversion
1423 (and get a more robust interface)
1425 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1429 * text3.C (dispatch): ditto
1431 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1433 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1434 move the onlyfile, use onlyfile instead of foundfile in a couple
1437 * DepTable.C (update): flush the error stream a bit more
1439 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * lyxserver.C (callback): adjust
1443 * lyxfunc.C (getStatus): add a missing brace in commented code
1444 (ensureBufferClean): reindent
1445 (dispatch): delete version taking a string
1447 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * LaTeX.C (deplog): move found file handlig from here...
1450 (handleFoundFile): .. to new function here.
1451 (deplog): make sure to discover several files mentioned on the
1454 2003-10-10 André Pönitz <poenitz@gmx.net>
1461 * text3.C: fix some of the tabular crashes
1463 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1465 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1467 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1469 2003-10-09 André Pönitz <poenitz@gmx.net>
1471 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1474 * BufferView_pimpl.C:
1475 * bufferview_funcs.C:
1486 * undo_funcs.C: adjust
1488 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * text2.C (incrementItemDepth): new function, use a backtracking
1491 algorithm to discover the correct item depth.
1492 (resetEnumCounterIfNeeded): new function, use a backtracking
1493 algorithm to discover if counter reset is needed.
1494 (setCounter): use them. Simplify a bit. Add different labels for
1495 different item depths for itemize.
1497 * paragraph.C (Paragraph): remove initialization of enumdepth
1500 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1501 enumerate and itemize. Change the type of itemdepth to signed char.
1503 2003-10-08 André Pönitz <poenitz@gmx.net>
1505 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1510 * tabular.[Ch]: fix crash after 'row-insert'
1512 2003-10-08 Angus Leeming <leeming@lyx.org>
1514 Fix doxygen warnings.
1516 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1517 Remove CutAndPaste:: prefix from header file declaration.
1519 * LColor.h (fill): remove LColor:: prefix from declaration.
1521 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1522 use lyx::depth_type rather than Paragraph::depth_type so that
1523 header file and .C file match.
1525 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1527 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1528 * aspell.C: \file aspell_local.C -> \file aspell.C
1529 * gettext.C: \file gettext.C -> \file src/gettext.C
1530 * gettext.h: \file gettext.h -> \file src/gettext.h
1531 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1532 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1533 * text.C: \file text.C -> \file src/text.C
1535 * toc.C: move comment so that doxygen is not confused.
1537 2003-10-07 Angus Leeming <leeming@lyx.org>
1539 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1541 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1544 * aspell_local.h: add forgotten std::string's.
1546 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1553 * text3.C: The Box patch. Fancybox support, minipage, parbox
1555 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1561 * ParagraphParameters.h:
1571 * lyxtextclasslist.h:
1574 * paragraph_pimpl.C:
1575 * textcursor.h: add <string> and other small fixes to make Lars'
1576 std::string patch compile with STLport.
1578 2003-10-06 Angus Leeming <leeming@lyx.org>
1580 * LColor.h: Add missing #include <string>.
1582 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1584 * All most all file in all subdirs: Make <string> be the prefered
1585 way of getting to std::string, add using declarations.
1587 2003-10-06 André Pönitz <poenitz@gmx.net>
1589 * metricsinfo.C: initialize LyXFont before changing attribute.
1590 (fixes the 'math in \emph is upright' bug)
1592 2003-10-06 André Pönitz <poenitz@gmx.net>
1594 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1596 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1599 * paragraph_pimpl.C: Small fixes to build using STLport
1601 2003-10-02 André Pönitz <poenitz@gmx.net>
1604 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1606 2003-10-01 André Pönitz <poenitz@gmx.net>
1608 * factory.C: assert early
1610 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * lyx_main.C: remove the global debug object
1614 * debug.h: adjust for new debugstream
1616 * debug.C: adjust for new debugstream and keep the global debug
1619 2003-09-22 Angus Leeming <leeming@lyx.org>
1621 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1622 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1623 an incomplete class LyXFont.
1625 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1627 * factory.C: bug fix in branches
1629 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * lyxfunc.C (processKeySym): adjust
1633 (dispatch): change arg name from ev to func, adjust
1634 (sendDispatchMessage): ditto
1636 * lyx_main.C (defaultKeyBindings): adjust keybindings
1637 (deadKeyBindings): ditto
1639 * kbsequence.C (addkey): return a FuncRequest
1641 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1643 * kbmap.C (bind): take a FuncRequest as arg, adjust
1646 (defkey): change to take a FuncRequest as arg, adjust
1647 (findbinding): take a FuncRequest as arg, adjust.
1649 * funcrequest.h (operator=): added
1651 * funcrequest.C (FuncRequest): default kb_action changed from
1652 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1654 * buffer.C (dispatch): simplify
1655 (dispatch): adjust to take a FuncRequest as arg, adjust
1657 * boost.C (assertion_failed): change assertion message slightly
1659 * ToolbarBackend.C (read): simplify
1661 * MenuBackend.C (binding): adjust call to findbinding, add a
1662 message if no binding is found.
1664 (expandToc): correct by adding a empty FuncRequest
1666 * LyXAction.C: include <boost/assert.hpp>
1667 (isPseudoAction): delete function
1668 (LookupFunc): change name to...
1669 (lookupFunc): this. change return type to FuncRequest.
1670 (getActionName): take kb_action as arg, simplify
1671 (funcHasFlag): add an assert, simplify.
1673 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * toc.C (action): return a FuncRequest, simplify
1677 * lyxfunc.C (processKeySym): adjust
1678 (getStatus): delete version that takes an int.
1680 (dispatch): delete version that takes action as int
1682 (sendDispatchMessage): simplify and adjust
1684 * funcrequest.C (getArg): take unsigned int as arg
1686 * ToolbarBackend.C (read): adjust
1687 (add): delete version that takes func as a string.
1688 (getIton): take a FuncRequest as arg
1690 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1693 * MenuBackend.C (MenuItem): add a new construct that only takes a
1694 Kind, simplify the constructor use for submenus.
1696 (expandLastfiles): adjust
1697 (expandDocuments): adjust
1698 (expandFormats): adjust
1699 (expandFloatListInsert): adjust
1700 (expandFloatInsert): adjust
1701 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1703 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1704 Remove class variables lyx_pseudo_map and lyx_arg_map
1706 * LyXAction.C (searchActionArg): delete function
1707 (getPseudoAction): delete function
1708 (retrieveActionArg): delete function
1709 (LookupFunc): make it return kb_action, simplify.
1710 (getActionName): simplify
1712 * factory.C (createInset): fix new bug
1714 2003-09-19 Angus Leeming <leeming@lyx.org>
1716 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1717 masterFilename_ parameter in the include inset.
1719 * factory.C (createInset): changes due to the changes to InsetInclude.
1721 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1723 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1725 2003-09-18 Angus Leeming <leeming@lyx.org>
1728 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1729 Inset::fillWithBibKeys.
1730 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1732 2003-09-18 Angus Leeming <leeming@lyx.org>
1734 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1736 (ctor): pass and store a 'Buffer const &'
1737 (buffer): new member function.
1739 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1740 '*this' to the LaTeXFeatures ctor.
1742 2003-09-18 Angus Leeming <leeming@lyx.org>
1748 * text.C: rename EnumLColor as LColor_color.
1750 2003-09-18 Angus Leeming <leeming@lyx.org>
1752 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1753 remove #include "insets/insetbase.h" from cursor.h.
1755 2003-09-18 Angus Leeming <leeming@lyx.org>
1757 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1758 InsetOld_code to remove #include "inset.h".
1760 * iterators.C: add #include "insets/inset.h"
1762 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1764 * BufferView.C: remove more locking stuff that apparently doesn't
1765 do anything sensible.
1767 2003-09-16 André Pönitz <poenitz@gmx.net>
1770 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1773 2003-09-16 Angus Leeming <leeming@lyx.org>
1775 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1777 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1780 * paragraph.h: remove #include "lyxfont.h". Forward declare
1783 2003-09-16 Angus Leeming <leeming@lyx.org>
1785 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1786 of support/textutils.h.
1787 (isWord): move the contents of support/textutils.h's IsWordChar here.
1793 * text2.C: add #include "paragraph.h".
1796 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1798 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * LaTeX.C: use namespace alias for lyx::support::os
1806 2003-09-16 Angus Leeming <leeming@lyx.org>
1809 * bufferview_funcs.C:
1812 * paragraph_pimpl.C:
1814 * text.C: add #include "LColor.h".
1816 2003-09-16 Angus Leeming <leeming@lyx.org>
1818 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1819 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1821 Store the FontBits::color variable as an int rather than as an
1822 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1825 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1826 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1827 string calls together.
1829 * lyxrc.C: add #include "LColor.h".
1831 2003-09-15 Angus Leeming <leeming@lyx.org>
1833 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1836 2003-09-15 Angus Leeming <leeming@lyx.org>
1838 * LColor.h: add an EnumLColor wrapper for LColor::color.
1840 * lyxfont.[Ch] (color, setColor, realColor):
1841 * lyxtext.h, text.C (backgroundColor):
1842 pass EnumLColor args to/from the functions, rather than LColor::color
1846 * lyxtext.h: forward declare EnumLColor.
1848 * lyx_main.C: add #include "LColor.h".
1850 2003-09-15 Angus Leeming <leeming@lyx.org>
1852 * .cvsignore: add lyx-gtk.
1854 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * ParagraphParameters.C
1863 * bufferview_funcs.C
1873 * vc-backend.C: remove usage of STRCONV
1875 2003-09-15 Angus Leeming <leeming@lyx.org>
1877 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1878 explicitly define the color passed to the painter.
1880 2003-09-15 Angus Leeming <leeming@lyx.org>
1882 * bufferparams.C (BufferParams): reorder member initializers to avoid
1885 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1887 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1888 * text.C (updateRowPositions): remove an unusual nop
1890 2003-09-12 André Pönitz <poenitz@gmx.net>
1892 * BufferView_pimpl.C:
1901 * Counters.[Ch]: finish the 'automatic counters' job
1903 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1905 * aspell.C: include <boost/assert.cpp> (compile fix)
1907 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1909 * boost.C (assertion_failed): use lyx::support::abort instead of
1912 2003-09-10 Angus Leeming <leeming@lyx.org>
1914 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1915 with their _fwd progeny.
1917 2003-09-09 Angus Leeming <leeming@lyx.org>
1919 134 files throughtout the source tree: replace 'using namespace abc;'
1920 directives with the appropriate 'using abc::xyz;' declarations.
1922 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1924 * boost.C (emergencyCleanup): moved here from LAssert.c
1925 (assertion_failed): new function, called by BOOST_ASSERT
1927 * several files: change Assert to BOOST_ASSERT
1929 2003-09-09 Angus Leeming <leeming@lyx.org>
1931 * buffer.[Ch]: Add an Impl class and move Buffer's member
1932 variables into it. As a result move several header files out of
1935 Add header files to lots of .C files all over the tree as a result.
1937 2003-09-09 Angus Leeming <leeming@lyx.org>
1939 * buffer.[Ch]: make Buffer's member variables private. Add
1942 Lots of changes all over the tree as a result.
1944 2003-09-08 Angus Leeming <leeming@lyx.org>
1946 * graph.C: #include <config.h>.
1948 2003-09-08 Angus Leeming <leeming@lyx.org>
1952 * BufferView_pimpl.C:
1981 * toc.C: remove redundant using directives.
1983 2003-09-07 Angus Leeming <leeming@lyx.org>
1985 * LaTeXFeatures.h: remove #include "support/types.h".
1986 * ToolbarBackend.h: remove #include <algorithm>.
1987 * changes.h: remove #include <ctime>.
1988 * debug.h: remove #include <iosfwd>.
1989 * graph.h: remove #include "support/std_string.h".
1990 * lyx_main.h: remove #include <csignal>.
1991 * lyxlex_pimpl.h: remove #include <fstream>.
1992 * sgml.h: remove #include <algorithm>, <utility>.
1993 * toc.h: remove #include "support/std_ostream.h".
1994 Add #include <iosfwd>.
1996 2003-09-07 Angus Leeming <leeming@lyx.org>
1998 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2000 * converter.h: forward declare LatexRunParams.
2001 * encoding.h: remove #include "lyxrc.h".
2002 * lyxtext.h: remove #include "LColor.h".
2003 * lyxtextclass.h: remove #include "support/types.h".
2004 * trans.h: remove #include "tex-accent.h".
2005 * trans_mgr.h: remove #include "tex-accent.h".
2006 * insets/inset.h: remove #include "support/types.h", <vector>.
2007 * insets/insetcollapsable.h: remove #include "LColor.h".
2008 * insets/insetinclude.h: remove #include "dimension.h".
2009 * insets/insetlatexaccent.h: remove #include "dimension.h".
2010 * insets/insetoptarg.h:: remove #include "insettext.h".
2011 * insets/insettext.h: remove #include "dimension.h",
2012 <boost/shared_ptr.hpp>
2014 * insets/renderers.h: add #include "dimension.h".
2015 * insets/updatableinset.h: add #include "support/types.h".
2017 * many .C files: Associated changes.
2019 2003-09-06 Angus Leeming <leeming@lyx.org>
2021 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2022 one, inside testInvariant.
2024 * PrinterParams.C: new file.
2025 * PrinterParams.[Ch]: move the function bodies out of line.
2027 2003-09-06 Angus Leeming <leeming@lyx.org>
2029 * ParagraphParameters.h: forward declare ParameterStruct rather than
2030 including its header file.
2031 (depth): moved out-of-line.
2033 2003-09-06 Angus Leeming <leeming@lyx.org>
2035 * BufferView_pimpl.h:
2038 * lyxfunc.h: forward declare LyXKeySym rather than
2039 #include "frontends/LyXKeySym.h".
2041 * BufferView_pimpl.C:
2044 * lyxfunc.C: associated changes.
2046 2003-09-06 Angus Leeming <leeming@lyx.org>
2048 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2049 As a result, can remove the #include "insets/inset.h" from BufferView.h
2051 2003-09-06 Angus Leeming <leeming@lyx.org>
2053 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2054 As a result, can remove the #include "insets/inset.h" from BufferView.h
2056 2003-09-06 Angus Leeming <leeming@lyx.org>
2062 * bufferview_funcs.C:
2063 * BufferView_pimpl.C:
2068 * ParagraphParameters.C:
2073 * frontends/controllers/ControlDocument.C:
2074 * insets/insetcaption.C: rearrange the #includes into some sort of
2077 * buffer.h: remove #includes ErrorList.h, undo.h
2079 2003-09-06 Angus Leeming <leeming@lyx.org>
2081 * support/types.h: add a 'depth_type' typedef, used to store the
2082 nesting depth of a paragraph.
2085 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2086 defining explicitly.
2089 * paragraph_funcs.h:
2090 * ParagraphParameters.h:
2091 * sgml.h: use lyx::depth_type rather than Paragraph or
2092 ParameterStruct's depth_type.
2095 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2098 * BufferView_pimpl.C:
2100 * ParagraphParameters.C:
2103 * bufferview_funcs.C:
2110 * frontends/LyXView.C:
2111 * frontends/controllers/ControlDocument.C:
2112 * frontends/controllers/ControlErrorList.C:
2113 * insets/insetbibitem.C:
2114 * insets/insetbranch.C:
2115 * insets/insetcaption.C:
2116 * insets/insetcollapsable.C:
2117 * insets/insetenv.C:
2118 * insets/insetert.C:
2119 * insets/insetfloat.C:
2120 * insets/insetfoot.C:
2121 * insets/insetfootlike.C:
2122 * insets/insetnewline.C:
2123 * insets/insetquotes.C:
2124 * insets/insettabular.C:
2125 * insets/insettext.C:
2126 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2128 * frontends/controllers/ControlChanges.C: #include "changes.h".
2130 2003-09-06 Angus Leeming <leeming@lyx.org>
2132 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2133 than #including paragraph.h.
2136 * RowList.h: deleted. Superfluous.
2146 * insets/insettext.h: use ParagraphList_fwd.h rather than
2149 * paragraph.h: don't forward declare ParagraphList.
2152 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2153 rather than ParagraphList.h. paragraph.h is still needed for the
2154 Paragraph::depth_type parameters.
2156 * textcursor.h: enable it to compile stand-alone in light of the
2159 * bufferview_funcs.C:
2171 * frontends/controllers/ControlParagraph.C:
2172 * frontends/controllers/ControlTabular.C:
2173 * insets/insetmarginal.C:
2174 * insets/insetminipage.C:
2175 * insets/insetnote.C:
2176 * insets/insetoptarg.C: add header files needed to compile again.
2178 2003-09-06 Angus Leeming <leeming@lyx.org>
2180 * RowList_fwd.h: new file, forward-declaring Row rather than
2181 #including lyxrow.h.
2186 * insets/insettext.h: use it instead of RowList.h
2188 * bufferview_funcs.C:
2195 * text3.C: #include "RowList.h".
2197 2003-09-05 Angus Leeming <leeming@lyx.org>
2199 * factory.C (createInset):
2200 * vspace.C (c-tor): replace sscanf call with an istringstream.
2201 * ispell.C: re-add missing HP/UX headers.
2202 * lyxserver.C: re-add missing os2 headers.
2204 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2213 * text3.C: re-add missing system headers, needed for 2.95.2.
2215 2003-09-05 Angus Leeming <leeming@lyx.org>
2217 Changes most place everywhere due to the removal of using directives
2218 from support/std_sstream.h.
2220 2003-09-05 Angus Leeming <leeming@lyx.org>
2222 Replace LString.h with support/std_string.h,
2223 Lsstream.h with support/std_sstream.h,
2224 support/LIstream.h with support/std_istream.h,
2225 support/LOstream.h with support/std_ostream.h.
2227 Changes resulting throughout the tree.
2229 2003-09-05 Angus Leeming <leeming@lyx.org>
2231 * sgml.h: ensure that the header file can be compiled stand-alone.
2232 * *.C: strip out redundant #includes. (320 in total.)
2234 2003-09-04 Angus Leeming <leeming@lyx.org>
2236 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2237 here (from getPackages).
2239 * debug.[Ch]: add a new EXTERNAL tag.
2241 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2243 * text2.C (cursorEnd): simplify
2245 (getColumnNearX): adjust
2247 * text.C (computeBidiTables): adjust
2250 * rowpainter.C (paintChars): adjust
2251 (paintSelection): adjust
2252 (paintChangeBar): adjust
2255 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2257 (numberOfSeparators): adjust
2259 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2265 * text3.C: Restricts the mouse click functionality
2266 of insets like bibtex, include, toc and floatlist to the visible
2267 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2268 up the dialogs. Cursor has to be in front of the inset (i.e.
2269 start of row) for this to function.
2271 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2273 * bufferview_funcs.C (currentState): output row information
2275 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2277 * bufferview_funcs.C (currentState): output paragraph position
2279 2003-09-04 Angus Leeming <leeming@lyx.org>
2281 * FloatList.h: move out #include "Floating.h".
2282 * LaTeX.h: move out #include "DepTable.h".
2283 * LyXAction.h: move out #include "funcrequest.h".
2284 * buffer.h: move out #include "author.h", "iterators.h".
2285 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2286 * lyx_main.h: move out #include "errorlist.h".
2287 * lyxfunc.h: move out #include "FuncStatus.h".
2288 * lyxtext: move out #include "lyxcursor.h".
2289 * paragraph_pimpl.h: move out #include "counters.h".
2291 2003-09-03 Angus Leeming <leeming@lyx.org>
2293 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2294 preamble_snippets list, enabling us to add snippets to the preamble
2295 only if the snippet was not there already.
2297 2003-09-04 Angus Leeming <leeming@lyx.org>
2299 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2301 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2306 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2308 * BranchList.C: point fix, earlier forgotten
2310 2003-09-02 Angus Leeming <leeming@lyx.org>
2312 * box.C (contains): renamed from 'contained' after a fantastic
2315 2003-09-02 John Levon <levon@movementarian.org>
2321 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2323 2003-09-02 John Levon <levon@movementarian.org>
2325 * text2.C: simplification of cursorEnd(), including partial
2328 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * buffer.C (readFile): add a space
2332 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2334 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2336 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * buffer.C (readFile): new function, take a filename and a
2339 ParagraphList::iterator
2341 (readFile): adjust, make it private. don't use setStream, make
2342 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2343 always contain the filename.
2345 * BufferView.C (insertLyXFile): simplify and make it work for
2348 2003-08-30 John Levon <levon@movementarian.org>
2350 * Makefile.am: fix dist (from Kayvan)
2352 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * most files: change to use const Buffer refs
2356 2003-08-27 André Pönitz <poenitz@gmx.net>
2358 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2359 on top of ownerPar().
2361 2003-08-27 John Levon <levon@movementarian.org>
2363 * funcrequest.C: properly initialise POD members
2365 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2367 * lyxtext.h (top_y): move top_y from here
2372 * BufferView_pimpl.[Ch]: to here
2373 * frontends/screen.C:
2374 * insets/insettabular.C:
2375 * insets/insettext.C: adjust
2376 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2378 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2381 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2383 2003-08-26 André Pönitz <poenitz@gmx.net>
2385 * paragraph_func.[Ch] (outerPar): new function
2388 * paragraph_funcs.C:
2389 * paragraph_funcs.h:
2390 * paragraph_pimpl.C:
2391 * text2.C: remove Inset::par_owner
2393 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2398 * text2.C: eliminates the needFullRow/display() stuff
2399 altogether, putting the logic in metrics/draw in the insets.
2401 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2403 * text2.C (redoParagraphInternal, redoParagraphs):
2404 * text.C (redoParagraph): add a call to updateRowPositions at the
2405 end of each 'metrics-like' call. Remove all others.
2406 (getRow): remove the 'y-computing' version.
2407 (getRowNearY): do not compute nor return the real y. Solve the
2408 'y < 0' problem and simplify.
2410 2003-08-22 Angus Leeming <leeming@lyx.org>
2412 * *.[Ch]: clean-up of licence and author blurbs.
2413 Also move config.h out of a few .h files and into a few .C files.
2415 2003-08-22 André Pönitz <poenitz@gmx.net>
2417 * lyxrow.[Ch]: add x_ and *fill_ members
2422 * text2.C: adjust/remove prepareToPrint() calls
2424 2003-08-22 André Pönitz <poenitz@gmx.net>
2426 * lyxrow.[Ch]: add end_ member
2428 * lyxrow_funcs.C: use LyXRow::end_
2430 * lyxtext.h (singleWidth): add LyXFont parameter
2433 * text2.C: adjust LyXText::singleWidth() calls
2435 * text.C (redoParagraph): simplify row breaking logic
2438 2003-08-19 André Pönitz <poenitz@gmx.net>
2440 * funcrequest.C: initialize button_ member
2443 * rowpainter.[Ch]: interface consolidation
2445 2003-08-18 André Pönitz <poenitz@gmx.net>
2448 * BufferView_pimpl.C:
2450 * paragraph_funcs.C:
2452 * text3.C: remove LyXScreen::draw() and fitCursor calls
2454 * BranchList.h: remove spurious semicolons
2456 * MenuBackend.C: fix branchlist related crash
2458 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2466 * bufferparams.[Ch]:
2470 * text3.C: implements the 'branch inset'
2471 idea. This allows the output of various versions of a document
2472 from a single source version, selectively outputing or suppressing
2473 output of parts of the text.
2474 This implementation contains a 'branch list editor' in a separate
2475 tab of the document settings dialog. Branches are user definable
2476 and have a "display colour" to distinguish them on-screen.
2478 ColorHandler was somewhat cleaned up.
2479 (1) make possible a dynamically growing LColor list by allowing
2480 the graphic context cache to grow along (vector);
2481 (2) eliminate an IMHO unnecessary step in colour allocation.
2483 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2485 * BufferView_pimpl.C: compile fix
2487 2003-08-15 André Pönitz <poenitz@gmx.net>
2489 * rowpainter.C: remove extra metrics calls
2491 * lyxtext.h: merge the two constructors into a single one,
2492 pass reference to owner's par list
2494 * BufferView_pimpl.C:
2498 2003-08-15 André Pönitz <poenitz@gmx.net>
2500 * lyxrow_funcs.[Ch]:
2503 * paragraph_funcs.C:
2508 * text_funcs.C: split LyXText::rowlist_ into individual
2509 Paragraph::rows_ chunks
2512 * BufferView_pimpl.[Ch]:
2515 * text3.C: remove toggleSelection()
2517 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2519 * bufferlist.C: beautify two alerts (shorter text of buttons)
2520 * buffer.C: Remove redundant ' ' from message
2522 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2523 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2524 rename VALIGN_CENTER to VALIGN_MIDDLE
2526 2003-08-11 André Pönitz <poenitz@gmx.net>
2528 * lyxtext.h (getPar):
2529 * text.C: new function
2531 2003-08-11 André Pönitz <poenitz@gmx.net>
2534 * tracer.[Ch]: remove unneeded files
2536 * InsetList.[Ch]: remove resizeInsetsLyXText()
2541 * text3.C: merge insertParagraphs() and appendParagraph()
2542 remove breakAgain(), update()
2544 * BufferView_pimpl.[Ch]:
2545 * bufferview_funcs.[Ch]:
2549 * tabular.C: adjust after text & InsetList changes.
2551 2003-08-08 André Pönitz <poenitz@gmx.net>
2553 * text.C (insertChar, backspace): replace rowlist fiddling
2554 with rebreak of full par
2557 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2558 checkParagraph, updateInset): removed
2560 2003-08-07 André Pönitz <poenitz@gmx.net>
2563 * text3.C: merge some LFUN handlers, remove dead code
2565 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2569 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2571 * text2.C (DEPM): fix part of bug 1255 and 1256
2573 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * BufferView_pimpl.C (workAreaDispatch): change to use
2576 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2577 that are no mouse related.
2579 2003-08-05 André Pönitz <poenitz@gmx.net>
2582 * BufferView_pimpl.[Ch]:
2583 * bufferview_funcs.C:
2585 * text3.C: rip out "deep update"
2587 * textcursor.[Ch] (last_sel_cursor): remove unused member
2589 2003-08-04 André Pönitz <poenitz@gmx.net>
2592 * BufferView_pimpl.[Ch]:
2593 * ParagraphParameters.C:
2594 * bufferview_funcs.C:
2600 * text3.C: replace "complicated" BufferView::update(...) calls with
2603 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2605 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2607 * Makefile.am (lyx_SOURCES): add paper.h
2609 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2611 * Makefile.am: move things around so that both lyx-qt and
2612 lyx-xforms can be built (according to --with-frontend). Then lyx
2613 is a symbolic link to lyx-[firstfrontend]
2615 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2617 * Always use std::endl with lyxerr
2619 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2621 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2623 2003-08-01 André Pönitz <poenitz@gmx.net>
2626 * BufferView_pimpl.[Ch]:
2628 * text3.C: merge BufferView::repaint() and BufferView::update()
2630 2003-08-01 José Matos <jamatos@lyx.org>
2632 * buffer.[Ch]: file_format is no longer a buffer data element.
2634 2003-08-01 André Pönitz <poenitz@gmx.net>
2639 * text2.C: make redoParagraph more independent of current cursor
2641 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2643 * text2.C: remove unneeded members
2645 2003-07-30 André Pönitz <poenitz@gmx.net>
2647 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2649 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2650 create a single function...
2652 * paragraph_funcs.C (moveItem): ... here.
2655 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2657 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2659 * LColor.[Ch]: Add comment and greyedout logical colors.
2661 2003-07-30 André Pönitz <poenitz@gmx.net>
2663 * tabular.C: don't use Assert too heavily. This crashes where it
2666 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2668 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2669 is disabled (bug 1232)
2671 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2673 * factory.C: limited 'arg' scope
2675 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2677 * factory.C: fixed Note submenu issues
2679 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2681 * factory.C: submenu for Note/Comment/Greyedout
2683 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2686 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2688 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2691 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2692 greyedout. Patch provided by Jürgen Spitzmüller.
2694 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2696 * kbmap.C (read): fix error message when reading bind files
2698 2003-07-29 Angus Leeming <leeming@lyx.org>
2700 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2701 certainly does not do what it purports to do. I am doing it, and
2702 us, a favour by killing it.
2704 2003-07-28 José Matos <jamatos@lyx.org>
2706 * buffer.C (readBody, do_writeFile):
2707 * paragraph.C(readParagraph): \end_document replaces \the_end.
2709 2003-07-29 André Pönitz <poenitz@gmx.net>
2712 * BufferView_pimpl.[Ch]:
2716 * textcursor.[Ch]: remove toggleToggle & Co
2718 2003-07-28 José Matos <jamatos@fep.up.pt>
2720 * buffer.C (readParagraph):
2721 * params_func (readParToken, readParagraph):
2722 * paragraph.C (write): \layout -> \begin_layout.
2724 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * lyxlex_pimpl.C (setFile): clean up slightly.
2728 * bufferparams.h: add compressed var
2730 * buffer_funcs.C (readFile): adjust for LyXLex change
2731 (newFile): ditto + simplify
2733 * buffer.C (writeFile): handle writing of compressed files
2735 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2736 Check if the file is compressed and set a bufferparm if so.
2738 * Makefile.am (lyx_LDADD): remove explicit -lz
2740 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2742 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2743 makeDocBookFile): put the real LyX version in the first line of
2747 * version.C.in: remove lyx_docversion
2749 * tabular.C (write_attribute): add a template-based version to
2750 write enums properly
2752 2003-07-28 André Pönitz <poenitz@gmx.net>
2757 * text3.C: use doubles again for x-coordinates. They are needed.
2759 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * messages.C (getLocaleDir): use lyx_localedir()
2763 * lyxlex_pimpl.C (setFile): compress stuff
2765 * buffer.C (writeFile): add some compression stuff
2766 (do_writeFile): new func, dont call expliti close... will this
2769 * Makefile.am (lyx_LDADD): add -lz
2771 2003-07-28 José Matos <jamatos@fep.up.pt>
2773 * buffer.C: increment file format.
2774 * paragraph_funcs (readParagraph, readParToken):
2775 * paragraph.C (readParagraph): add \end_layout.
2777 2003-07-27 Angus Leeming <leeming@lyx.org>
2779 * Makefile.am: remove special casing for configure-time setting of
2780 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2782 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2783 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2785 2003-07-26 André Pönitz <poenitz@gmx.net>
2787 * paragraph_func.[Ch]:
2788 * paragraph.C (realizeFont): inline it whereever it is used
2793 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2796 2003-07-26 André Pönitz <poenitz@gmx.net>
2800 * text2.C: get rid of LyXText::need_break_row
2802 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * toc.[Ch]: put namespace toc inside namespace lyx
2806 * MenuBackend.C (expandToc2): adjust for lyx::toc
2809 * lyxfunc.C (dispatch): adjust for lyx::find
2811 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2812 lyx::find instead. Reorganize a bit.
2813 (LyXReplace): rename to replace
2814 (LyXFind): rename to find
2816 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2819 2003-07-26 André Pönitz <poenitz@gmx.net>
2821 * text.C (setHeightOfRow): restrict scope of temporary variable
2823 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2824 code (never has been used?)
2826 2003-07-27 Asger Alstrup <alstrup@local>
2828 * text.C (fill): Optimise algorithm to exploit that we can reuse
2829 the LyXFont for many characters.
2830 (setHeightOfRow): Same thing.
2831 (rowBreakPoint): Same thing.
2833 2003-07-26 Asger Alstrup <alstrup@local>
2835 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2837 * text.C (singleWidth): Spurious font copying in hot-spot
2838 singleWidth avoided. Reorder tests for arabic for efficiency.
2840 * text.C (fill): handle empty paragraphs better.
2842 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2845 * encoding.h: add includes
2847 * lyxrc.C: remove reading of bind files
2849 * lyx_main.C (init): setup bindings and menus only if we have a
2852 * kbmap.C (read): new method. Do the actual reading of bind
2855 * converter.C (dvipdfm_options):
2858 (output): adapt PAPER_* enums.
2860 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2862 * bufferparams.h: remove paper-related enums from there
2864 * paper.h: New file. A trivial header file to hold paper-related
2865 enums. It should later expand to contain many paper-related
2868 * lyxrc.C: declare extern displayTranslator
2870 2003-07-27 José Matos <jamatos@fep.up.pt>
2872 * tabular.[Ch] (linuxdoc): add support for tables and figures
2875 2003-07-27 José Matos <jamatos@fep.up.pt>
2877 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2878 consistency in both functions.
2879 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2881 2003-07-26 Asger Alstrup <alstrup@local>
2883 * rowpainter.C (paintRows): Change algorithm to work directly on
2884 the insets rather than asking every character in the document
2885 whether its an inset.
2887 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2889 * buffer.C (openFileWrite): factorize some code
2891 2003-07-26 Angus Leeming <leeming@lyx.org>
2894 * lyx_main.[Ch]: replace occurances of system_tempdir with
2897 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2899 * rename Inset to InsetOld
2901 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2903 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2904 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2905 which I think is a bit clearer. EDIT is gone, since it was
2906 premature optimisation, and broken for mathed anyway.
2907 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2908 with cursor positioning in insets as well (math insets still do not
2909 work, but that's a different story anyway.) It mysteriously
2910 crashes sometimes with undo in the first paragraph, but I'm fairly
2911 confident that this is a compiler bug.
2913 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * paragraph.C (Paragraph): adjust for new clone return type
2917 (copyIntoMinibuffer): ditto
2919 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2921 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2922 by not having a special case, and always doing a full rebreak of
2923 the document after undo.
2925 2003-07-23 Angus Leeming <leeming@lyx.org>
2927 * factory.C (createInset): InsetExternal::setParams now takes a
2930 2003-07-23 Angus Leeming <leeming@lyx.org>
2932 * factory.C (createInset): changed interface to the external and
2933 graphics mailers' string2params functions.
2935 2003-07-23 Angus Leeming <leeming@lyx.org>
2937 * factory.C (createInset): pass a
2938 Buffer const * parameter to InsetExternalMailer's string2params.
2940 2003-07-22 John Levon <levon@movementarian.org>
2942 * Thesaurus.h: include the right aiksaurus header
2944 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * MenuBackend.C (expand): check menu shortcuts unconditionally
2948 2003-07-21 Angus Leeming <leeming@lyx.org>
2950 * factory.C (createInset): pass a
2951 buffer_path parameter to InsetGraphicsMailer's string2params.
2953 2003-07-21 Angus Leeming <leeming@lyx.org>
2955 * BufferView_pimpl.C (buffer):
2958 * lyxfunc.C (dispatch):
2959 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2960 rather than the grfx shortcut.
2962 2003-07-21 André Pönitz <poenitz@gmx.net>
2964 * rowpainter.C: remove unused variables
2967 * tabular_funcs.h: move to tabular.C
2968 * Makefile.am: adjust
2970 * tabular.[Ch]: basic optical cleaning
2972 * author.h: pass references, not values
2974 2003-07-18 André Pönitz <poenitz@gmx.net>
2982 * text3.C: two-phase drawing for InsetText and InsetTabular
2983 some float -> int changes.
2985 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2987 * lyx_main.C: fix the fix
2989 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2991 * lyx_main.C: fix a crash in batch mode if no files specified
2994 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2996 * format.[Ch] (papersize): moved to BufferParams
2997 * converter.[Ch] (dvips_options): moved to BufferParams
2998 (dvipdfm_options): moved to anon namespace
2999 * bufferparams.[Ch]: added above functions.
3001 2003-07-17 André Pönitz <poenitz@gmx.net>
3005 * text2.C: don't call inset->update() anymore
3007 * metricsinfo.[Ch]: add convenience constructor
3009 2003-07-16 André Pönitz <poenitz@gmx.net>
3014 * text2.C: replace the LyXCursor::irow_ member with
3015 on-demand computation of the value
3017 2003-07-16 John Levon <levon@movementarian.org>
3019 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3021 2003-07-15 André Pönitz <poenitz@gmx.net>
3024 * text2.C: remove no more needed refresh_row
3026 2003-07-15 André Pönitz <poenitz@gmx.net>
3031 * text3.C: refresh_status tristate -> need_update bool
3033 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3035 * lyxtext.h (init): remove reinit argument (act as if always true)
3036 * text2.C: adjust to that
3038 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3040 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3041 * text3.C: use it to delete selections in some cases
3042 (bugs 441, 673, 702, 954).
3044 2003-07-14 André Pönitz <poenitz@gmx.net>
3046 * rowpainter.[Ch]: reduce interface
3048 2003-07-14 André Pönitz <poenitz@gmx.net>
3050 * BufferView_pimpl.C:
3051 * text2.C: adjust after removing unused BufferView * argument
3053 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3055 * text2.C (init): fix a crash fired on resize
3057 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3059 * buffer.[Ch]: added new closing signal
3060 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3061 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3062 BufferView::Pimpl via the closing the signal
3064 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3066 * buffer.[Ch]: take out all bv-related from buffer
3068 * BufferView_pimpl.[Ch]: connect to new signals
3069 * CutAndPaste.C: removed useless asserts
3070 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3073 * lyxfunc.C: moved view-related funciontality from vc here
3074 * paragraph.C: removed outdated comments
3077 2003-07-10 André Pönitz <poenitz@gmx.net>
3079 * BufferView_pimpl.C:
3083 * text2.C: remove InsetText::InnerCache, clean up consequences
3085 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3087 * ispell.C: fix two typos in error messages
3089 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3091 * Extend Note inset to other forms of annotation like Comment
3092 and Greyedout. Right button click gives dialog.
3094 Files modified or added (+):
3098 * ControlNote.[Ch] +
3100 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3101 frontends/controllers
3105 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3107 * aspell.C: add missing namespace lyx::support
3109 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3111 * BufferView.[Ch] (newFile): Add
3112 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3113 * LaTeX.[Ch] (message): added this signal and use it
3114 * buffer.[Ch] (busy, message): added these signals and use them
3115 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3119 * importer.C: use buffer signals instead of direct bv calling
3120 * lyx_cb.[Ch] (ShowMessage): removed
3123 * paragraph_funcs.C:
3124 * text2.C: use buffer signals
3126 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * introduce namespace lyx::graphics
3130 2003-07-02 André Pönitz <poenitz@gmx.net>
3132 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3134 2003-07-01 André Pönitz <poenitz@gmx.net>
3141 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3142 text*.C to text_func.C
3144 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * introduce namespace lyx::support
3148 2003-06-30 André Pönitz <poenitz@gmx.net>
3153 * text.C: re-enable --with-included-string
3155 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * textcursor.C: add <config.h>
3159 * text.C (getWord): remove const from word_location arg
3161 * lyxvc.C (getLogFile): fix const type order
3163 * lyxtext.h: remove const from word_location arg, add arg name
3165 * lyxlayout.h: currect type on labeltype.
3167 * importer.C: correct \file
3169 * converter.C (intToFormat): use std:: on ret val, ws changes
3171 * bufferlist.h: correct \file
3173 * buffer.C (makeLinuxDocFile): fix const type order
3174 (makeDocBookFile): ditto
3175 (fillWithBibKeys): use std:: on stdlib args.
3177 * CutAndPaste.C: fix authors.
3178 (availableSelections): use std:: on return vector
3180 2003-06-27 André Pönitz <poenitz@gmx.net>
3182 * BufferView_pimpl.C:
3183 * bufferview_funcs.C:
3191 * text3.C: remove LyXCursor::row_ member
3194 * text.C: rename fullRebreak() to partialRebreak() and implement
3195 a fullRebreak() that really bereks fully
3197 * textcursor.h: new struct for cursor-related data
3199 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3201 * lyx_main.C (LyX): get full path of document loaded on the
3204 2003-06-26 André Pönitz <poenitz@gmx.net>
3206 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3207 remove unused/broken operator>,<,>=.
3209 * text.C: remove only use of broken operator<= in an Assert().
3211 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3213 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3214 moved errorlist_.clear to showErrorList
3216 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3218 * converter.C (scanLog, runLaTeX):
3219 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3220 move the bv->showErrorList call to the callers
3221 * lyxfunc.C: i.e. here...
3223 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3224 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3225 namespace, the second to...
3226 * buffer_funcs (BufferFormat, parseErrors): added
3227 * errorlist.C (ErrorList(TeXErrors const &)): removed
3229 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3231 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3233 2003-06-24 "Garst R. Reese" <reese@isn.net>
3237 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3239 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3241 * version.C.in: change docversion to 1.4
3243 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3245 * buffer.C: fix a bug just introduced
3247 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3249 * buffer.[Ch]: added the parseError signal and use it, removed
3251 * BufferView.[Ch] (addError): moved to ...
3252 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3253 to the Buffer::parseError signal to catch (guess what) parse errors
3254 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3256 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3258 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3259 ability to create a buffer and to return an existing one from
3260 the list. Moved these functions to...
3261 * buffer_funcs.[Ch]: added
3262 * BufferView.[Ch] (loadLyXFile): added
3263 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3264 job removed from bufferlist::loadLyXFile.
3265 * buffer.C (setReadOnly): make it work without view
3266 (i.e added an if (users))
3268 2003-06-19 Angus Leeming <leeming@lyx.org>
3271 * LyXAction.C (init):
3272 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3273 with LFUN_DIALOG_SHOW <name> <data>.
3275 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3277 * CutAndPaste.C (availableSelections): small compilation fix for
3278 ancient (gcc 2.9x) compilers
3280 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * text3.C (cursorNext): add tmp var
3284 * text2.C (updateCounters): for function calling out of for clause
3285 (replaceSelectionWithString): ditto
3286 (insertStringAsParagraphs): ditto
3287 (getColumnNearX): add tmp var
3288 (setCursorFromCoordinates): add tmp var
3289 (cursorDownParagraph): add tmp var
3290 (deleteEmptyParagraphMechanism): add tmp var
3292 * text.C (insertChar): add tmp var
3294 * rowpainter.C (paintDepthBar): add tmp var
3296 * CutAndPaste.C (availableSelections): potentially check all
3297 paragraphs in a cut to fill the shown strings.
3299 2003-06-18 André Pönitz <poenitz@gmx.net>
3301 * kbmap.[Ch]: use vector<> instead of list<>
3303 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3305 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3306 pasteSelection with index
3308 * text2.C (pasteSelection): modify, call pasteSelection with index
3310 * paragraph.C (asString): reimplement version with no interval to
3311 call the one with interval.
3313 * lyxtext.h: add index arg to pasteSelection
3315 * MenuBackend.C (MenuItem): handle PasteRecent
3316 (Menu::read::Menutags): add md_pasterecent
3318 (expandPasteRecent): new function
3321 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3323 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3325 (availableSelections): new function
3327 2003-06-17 Angus Leeming <leeming@lyx.org>
3329 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3331 2003-06-17 Angus Leeming <leeming@lyx.org>
3334 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3336 * lyxfunc.C (dispatch): invoke it.
3338 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3340 * iterators.C (operator++, ParPosition): reintroduce some
3341 const_cast for the benefit of older compilers.
3343 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3345 * text3.C (dispatch): do not modify clipboard when doing
3346 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3347 LFUN_DELETE_SKIP on a selection selection
3349 2003-06-16 André Pönitz <poenitz@gmx.net>
3355 * tabular.[Ch]: IU of clone() and getLabelList();
3357 2003-06-13 André Pönitz <poenitz@gmx.net>
3359 * tabular.h: compactification
3361 2003-06-12 André Pönitz <poenitz@gmx.net>
3365 * tabular_funcs.h: some renaming plus whitespace
3367 2003-06-12 André Pönitz <poenitz@gmx.net>
3370 * BufferView_pimpl.C:
3376 * toc.C: Return a Paragraph & for ParIterator::operator*()
3378 2003-06-11 John Levon <levon@movementarian.org>
3382 * ToolbarBackend.C: add "Toolbars" section and
3385 2003-06-10 Angus Leeming <leeming@lyx.org>
3388 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3390 * lyxfunc.C (dispatch): invoke it.
3392 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * main.C: protect <ios> with HAVE_IOS
3395 (main): protect sync_with_stdio with HAVE_IOS
3397 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3399 * text2.C (cutSelection): adjust
3400 (pasteSelection): adjust
3402 * messages.C: handle get of empty string
3404 * main.C (main): use sync_with_stdio(false)
3406 * lyxfunc.C (dispatch): adjust
3408 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3409 (WriteAs): remove unneeded BufferView arg.
3411 * bufferparams.h: use correct types on papersize, papersize2 and
3414 * bufferparams.C (readToken): adjust for type
3415 (writeLaTeX): add missing cases to switch.
3417 * bufferlist.C (quitWriteBuffer): adjust
3420 * buffer.C (asciiParagraph): remove some commented code.
3422 * CutAndPaste.C: remove current_view extern variable.
3423 (cutSelection): add BufferParams arg.
3424 (eraseSelection): add BufferParams arg.
3425 (pasteSelection): add Buffer const & arg
3427 2003-06-07 John Levon <levon@movementarian.org>
3430 * paragraph_funcs.C:
3431 * paragraph_pimpl.C:
3435 * paragraph.C: allow InsetERT to freely space lines,
3436 and some consolidation of code
3438 2003-06-06 José Matos <jamatos@fep.up.pt>
3440 * buffer.C (makeDocBookFile): fix bug #821
3442 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3444 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3446 2003-06-04 Angus Leeming <leeming@lyx.org>
3448 * buffer.C: bump format to 224.
3450 2003-06-05 André Pönitz <poenitz@gmx.net>
3452 * text2.C (redoParagraphs): remove two const_cast<>
3454 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3456 * ParagraphList.h: remove last remnants of NO_STD_LIST
3458 2003-06-03 Angus Leeming <leeming@lyx.org>
3460 * factory.C (createInset): small change to the way InsetExternal's params
3463 2003-06-04 André Pönitz <poenitz@gmx.net>
3465 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3467 * paragraph_pimpl.h:
3468 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3470 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3472 * undo_funcs.C: make some simple cases of undo work again
3474 2003-06-03 John Levon <levon@movementarian.org>
3476 * ispell.C: HPUX doesn't have sys/select.h
3479 2003-06-03 John Levon <levon@movementarian.org>
3481 * CutAndPaste.C: update tabular and include inset
3486 * paragraph.C: remove owningBuffer(), don't pass Buffer
3489 * factory.C: insetGraphicsParams changed
3491 2003-06-02 John Levon <levon@movementarian.org>
3497 * text3.C: remove insetparent
3499 2003-06-02 John Levon <levon@movementarian.org>
3502 * buffer.C: fix inset_iterator.end(), move out of line
3505 2003-06-01 John Levon <levon@movementarian.org>
3507 * text3.C: use a proper cut/paste when doing inset
3508 insert (from Jürgen Spitzmüller)
3510 2003-06-01 John Levon <levon@movementarian.org>
3512 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3514 2003-05-30 André Pönitz <poenitz@gmx.net>
3516 * rowpainter.C: unify second drawing phase
3518 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * trans_mgr.C: remove one case of current_view
3522 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3524 * paragraph_funcs.h: remove paragraph.h include
3526 * paragraph.h: delete NO_STD_LIST stuff
3528 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3530 * buffer.h: remove paragraph.h include
3532 * ParagraphList.C: delete file
3534 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3536 * toc.C (getTocList): adjust
3538 * paragraph_pimpl.C (validate): adjust
3540 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3542 * paragraph.C (Paragraph): adjust
3543 (getPositionOfInset): use const_iterator, adjust
3544 (bibitem): use const_iterator, adjust
3545 (setInsetOwner): adjust
3547 * iterators.C (operator++): adjust
3549 * InsetList.[Ch]: Replace selfmade iterator with standard
3550 vector::iterator also introduce const_iterator. Remove getPos,
3551 getInset and setInset from InsetTable. Adjust accordingly.
3553 * BufferView.C (lockInset): adjust
3554 (ChangeInsets): adjust
3556 * tabular.[Ch]: delete commented same_id functions
3558 2003-05-28 John Levon <levon@movementarian.org>
3560 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3562 2003-05-28 André Pönitz <poenitz@gmx.net>
3564 * metricsinfo.[Ch]: remove 'fullredraw' member
3566 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3568 * lyxtextclass.C (operator): remove caching.
3570 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * text2.C (cursorBottom): adjust
3575 (setCounter): use ParagraphList::find, adjust
3577 * text.C (workWidth): use ParagraphList::find, adjust
3579 * lyxcursor.C (LyXCursor): adjust
3581 * buffer.C (inset_iterator): adjust
3583 * ParagraphList.h: make iterator(value_type) private, make
3584 ParagraphList a friend of iterator.
3586 * ParagraphList.C (find): new function
3588 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3590 2003-05-27 André Pönitz <poenitz@gmx.net>
3592 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3594 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3596 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3598 2003-05-26 John Levon <levon@movementarian.org>
3600 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3602 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * remove same_id from function signatures, adjust.
3606 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3610 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3612 * paragraph.C (Paragraph): get rid of same_ids parameter
3614 * ParagraphList.C (insert): adjust
3617 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * paragraph_funcs.C (breakParagraph): adjust
3620 (breakParagraphConservative): adjust
3622 * buffer.C (readParagraph): adjust
3624 * ParagraphList.C (insert): take a reference instead of a pointer
3627 * paragraph.[Ch] (id): new function
3629 * bufferlist.C (newFile): adjust
3631 * ParagraphList.C (ParagraphList): adjust
3633 (push_back): take a reference instead of a pointer.
3635 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3637 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3640 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3641 set else use old code.
3643 * ParagraphList.C: remove all NO_NEXT code and only compile this
3644 code of NO_STD_LIST is set.
3646 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3648 * BufferView_pimpl.C:
3658 * graphics/GraphicsConverter.C:
3659 * graphics/PreviewLoader.C: header adjustment
3661 2003-05-23 Angus Leeming <leeming@lyx.org>
3663 * LaTeXFeatures.[Ch] (useBabel): new method.
3664 * bufferparams.C (writeLaTeX): use it.
3666 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * ParagraphList.h (set): remove unused function.
3670 2003-05-23 André Pönitz <poenitz@gmx.net>
3673 * BufferView_pimpl.C:
3677 * undo_funcs.C: setUndo reworked
3679 * iterators.[Ch]: add access to topmost ParagraphList
3681 * lyxtext.[Ch] (workWidth): add a const
3683 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3685 * texrow.[Ch] (increasePos): remove function
3686 * exporter.C (export): removed unused var and outdated comment
3688 2003-05-23 Angus Leeming <leeming@lyx.org>
3690 * latexrunparams.h: rename fragile as moving_arg.
3691 * paragraph.C (simpleTeXOnePar): ditto.
3692 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3694 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3698 (textUndoOrRedo): comment out a currently unused var.
3700 * paragraph.h (NO_NEXT): enable NO_NEXT
3702 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3704 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3706 * exporter.C (Export): adjust for removeAutoInsets removal.
3708 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3710 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3712 * BufferView.[Ch] (removeAutoInsets): delete function
3714 2003-05-22 Angus Leeming <leeming@lyx.org>
3716 * latexrunparams.h: add a free_spacing variable.
3718 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3719 to pass moving_arg, as the data is stored in runparams.fragile.
3721 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3722 to Inset::latexOptional or to simpleTeXOnePar.
3724 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3725 free_spacing arg to Inset::latexOptional.
3727 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3730 2003-05-22 Angus Leeming <leeming@lyx.org>
3732 * latexrunparams.h: add fragile and use_babel variables.
3734 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3735 * buffer.C (makeLaTeXFile): store this returned value in
3736 runparams.use_babel, thus passing it to the inset::latex methods.
3738 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3739 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3741 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3742 longer has a fragile arg, as it is stored in runparams.fragile.
3744 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3745 moving_arg parameter as the data is stored in runparams.fragile.
3747 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3748 a fragile parameter as the data is stored in runparams.fragile.
3750 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3754 2003-05-22 Angus Leeming <leeming@lyx.org>
3756 * latexrunparams.h: add a 'bool nice' which defaults to false.
3758 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3759 now encapsulated within runparams.
3761 * bufferlist.C (updateIncludedTeXfiles):
3762 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3764 2003-05-22 Angus Leeming <leeming@lyx.org>
3766 * latexrunparams.h: new file containing struct LatexRunParams.
3767 * Makefile.am: add new file.
3769 * LaTeX.[Ch] (c-tor, run):
3770 * buffer.[Ch] (makeLaTeXFile):
3771 * bufferlist.[Ch] (updateIncludedTeXfiles):
3772 * converter.C (convert, scanLog):
3773 * converter.[Ch] (runLaTeX):
3774 * exporter.C (Export):
3775 * paragraph.[Ch] (simpleTeXOnePar):
3776 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3777 * paragraph_funcs.[Ch] (latexParagraphs):
3778 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3779 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3780 pass around a LatexRunParams parameter.
3782 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * paragraph.[Ch]: remove unused constructor
3786 * ParagraphList.C (erase): new function, taking two iterators
3788 2003-05-22 André Pönitz <poenitz@gmx.net>
3790 * undo_funcs.C: remove duplicated code
3792 * iterator.[Ch]: operator=
3794 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * tabular.C (SetMultiColumn): ws changes
3798 * rowpainter.C (paintFirst): get rid of a ->previous
3800 * lyx_cb.C (getPossibleLabel): parlist simplification
3802 * BufferView.C (ChangeInsets): simplify slightly.
3804 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3806 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3807 * lfuns.h: new LFUN_SPACE
3808 * lyxfunc.C: protected space has a new lfun
3809 * paragraph_funcs.C: read new space insets
3811 * factory.C: handle new space insets
3813 2003-05-22 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C:
3819 * undo_funcs.C: return a ParIterator from getParFromID.
3821 * iterators.[Ch]: add two const's
3823 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * toc.C (getTocList): adjust
3827 * iterators.[Ch]: rework for parlist
3829 * buffer.C (par_iterator_begin): adjust
3830 (par_iterator_end): adjust
3832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3834 * BufferView.C (removeAutoInsets): adjust
3835 (ChangeInsets): adjust
3837 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3839 * text.C (top_y): fix bug 1110
3841 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3843 * errorlist.[Ch]: added
3846 * BufferView_pimpl.C:
3847 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3850 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * Makefile.am: ensure that lyx is relinked upon changes to the
3853 various "convenience" libs.
3855 2003-05-20 Angus Leeming <leeming@lyx.org>
3857 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3858 files are compiled in alphabetical order again.
3860 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3862 2003-05-19 Angus Leeming <leeming@lyx.org>
3864 * gettext.[Ch]: remove "char const * _(char const *)".
3866 2003-05-19 André Pönitz <poenitz@gmx.net>
3868 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3877 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3879 2003-05-19 André Pönitz <poenitz@gmx.net>
3883 * lyxtextclass.[Ch]:
3885 * paragraph_funcs.[Ch]:
3887 * text3.C: more insetenv work
3889 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3891 * ParagraphParameters.C (params2string): small bug fixed
3893 2003-05-16 André Pönitz <poenitz@gmx.net>
3896 * bufferview_funcs.C: patch from Kornel Benko to prevent
3897 crash when _(...) is called twice in a statement
3899 2003-05-16 André Pönitz <poenitz@gmx.net>
3906 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3908 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3910 * lyx_main.C (init): remove spurious static_cast
3912 2003-05-14 André Pönitz <poenitz@gmx.net>
3914 * BufferView.C: fix format string
3916 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3918 * BufferView.[Ch] (insertErrors): removed
3919 * BufferView.[Ch] (showErrorList): added
3920 * buffer.C (runChkTeX):
3921 * converter.C (scanLog): call showErrorList instead of inserterrors
3923 2003-05-13 André Pönitz <poenitz@gmx.net>
3925 * BufferView_pimpl.C:
3927 * bufferview_func.C:
3934 * tabular_funcs.h: tostr() from its own header
3936 * ParagraphParameters.C:
3941 * text3.C: STRCONV()
3943 2003-05-12 André Pönitz <poenitz@gmx.net>
3946 * BufferView_pimpl.C:
3950 * ParagraphParameters.C:
3954 * bufferview_funcs.C:
3967 * paragraph_funcs.C:
3971 * text3.C: boost::format -> bformat all over the place
3974 2003-05-09 André Pönitz <poenitz@gmx.net>
3976 * LColor.[Ch]: Pimpl the #include <map> away
3978 2003-05-09 John Levon <levon@movementarian.org>
3980 * bufferlist.C: never remove emergency saves
3982 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * Makefile.am: better lib building
3986 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3990 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3991 (simpleTeXSpecialChars): adjust
3992 (simpleTeXSpecialChars): adjust
3993 * paragraph.C (simpleTeXOnePar): adjust
3994 * buffer.C (makeLaTeXFile): adjust
3996 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3998 * text2.C (changeDepth): parlist cleanup
3999 (getColumnNearX): ditto
4001 * rowpainter.C (getLabelFont): parlist cleanup
4003 * bufferlist.C (newFile): parlist cleanup
4005 * CutAndPaste.C (eraseSelection): parlist cleanup
4007 * BufferView_pimpl.C (trackChanges): parlist cleanup
4010 * BufferView.C (lockInset): parlist cleanup.
4011 (ChangeInsets): ditto
4013 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * CutAndPaste.h: Update file header.
4017 * CutAndPaste.C: Update file header.
4018 Store the parts cut out of the Document in a limited_stack.
4019 (copySelection): adjust
4020 (pasteSelection): new function, takes the index in the limited stack.
4021 (nrOfParagraphs): adjust
4022 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4023 simplify error inset insertion.
4024 (checkPastePossible): adjust
4026 2003-05-06 John Levon <levon@movementarian.org>
4028 * text2.C: don't cast wrap inset to float
4030 2003-05-05 André Pönitz <poenitz@gmx.net>
4033 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4035 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4036 few naked Paragraph *.
4038 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4040 * bufferparams.C: Output warning if a document with missing
4041 TeX document class is loaded
4042 * exporter.C: Disable TeX exports if the document class is missing
4045 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4046 isTeXClassAvailable()
4048 2003-05-03 John Levon <levon@movementarian.org>
4051 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4052 explicit cursor show/hide
4054 * BufferView_pimpl.h:
4055 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4056 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4058 * lyxfunc.C: hide cursor before dispatching.
4063 * text3.C: remove explicit cursor hides
4065 2003-05-02 André Pönitz <poenitz@gmx.net>
4067 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4070 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4073 * text2.C: tiny whitespace
4075 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * undo_funcs.C: almost only ws changes.
4079 * ParagraphList.C (splice): just return if pl is empty.
4081 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * ParagraphList.C (splice): new function.
4085 * CutAndPaste.C (pasteSelection): use it
4087 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * CutAndPaste.C (pasteSelection): remove the last next and
4090 previous from this file.
4092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * CutAndPaste.C (pasteSelection): more clean up, user proper
4095 ParagraphList functions for pasteing.
4097 * ParagraphList.C (insert): new function, three arg insert
4099 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * ParagraphList.C (insert): new function, three arg insert
4103 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4106 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4110 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4114 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4117 (copySelection): clean up a bit.
4118 (pasteSelection): use make_pair
4120 * ParagraphList.C (ParagraphList): implement copy constructor
4121 (operator=): implement, base on copy constructor.
4124 * paragraph.C (erase): return a bool
4126 * paragraph_pimpl.C (erasePos): remove function, move contents...
4127 (erase): ... here. Return a bool.
4128 (erase): call erase instead of erasePos.
4130 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4132 * ParagraphList.h: define PitPosPair
4133 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4134 ParagraphList, fix a bug on pasting multiple pars
4135 * text2.C: change interface to C&P
4137 2003-04-30 André Pönitz <poenitz@gmx.net>
4139 * undo_func.C: revert part of yesterday's patch 2
4141 2003-04-30 John Levon <levon@movementarian.org>
4143 * LColor.C: s/tabular/table/
4145 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * text3.C (dispatch): do not convert iterator -> pointer
4148 * undo_funcs.C (setCursorParUndo): ditto
4149 * text_funcs.C (transposeChars): ditto
4151 * text2.C (setLayout): ws changes only
4153 * text.C (breakParagraph): do not convert iterator -> pointer
4155 (acceptChange): ditto
4156 (rejectChange): ditto
4161 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4164 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4166 * text3.C (gotoInset): YABG (yet another bad getChar)
4168 2003-04-29 André Pönitz <poenitz@gmx.net>
4170 * paragraph.h: make operator= private unimplemented as long as
4173 * ParagraphList.C: whitespace
4176 * paragraph_pimpl.[Ch]:
4177 * paragraph_funcs.C:
4179 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4182 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4184 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4186 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4187 * paragraph.[Ch] (erase):
4188 * paragraph_pimpl.[Ch] (erase): change return type and value
4189 * text2.C (cutSelection): some rework
4191 2003-04-28 John Levon <levon@movementarian.org>
4193 * bufferlist.C: changes for unsaved changes dialog
4195 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * bufferlist.C (newFile): set language (messages_) for new
4200 * buffer.C (readFile): ws changes only.
4202 2003-04-28 André Pönitz <poenitz@gmx.net>
4207 * BufferView_pimpl.C:
4208 * BufferView.C: getParFromID related ParagraphList::iterator changes
4210 2003-04-28 André Pönitz <poenitz@gmx.net>
4212 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4215 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * messages.C: remove one more localedir class variable.
4219 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * messages.C (getLocaleDir): singleton generation function
4223 (Messages): add a default constructor.
4225 * main.C (main): do not setup localedir here, do not call
4228 * gettext.C (_): use it.
4229 (gettext_init): delete funciton
4231 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * gettext.C (getLyXMessages): new singleton generating function.
4235 * buffer.C (updateDocLang): adjust
4237 * Makefile.am (messages.o): add target
4238 (main.o): remove target
4240 2003-04-27 John Levon <levon@movementarian.org>
4245 * lyxvc.C: specify cancel button in Alert::prompt
4247 2003-04-26 John Levon <levon@movementarian.org>
4252 * LyXAction.C: add LFUN_INSET_SETTINGS
4254 * lyxfunc.C: don't enable tabular-feature when there's
4255 just any locking inset
4257 2003-04-26 John Levon <levon@movementarian.org>
4259 * bufferlist.C: re-add Cancel to buffer close question
4261 * lyxfunc.C: fix import UI a bit
4263 2003-04-25 John Levon <levon@movementarian.org>
4265 * gettext.C: remove the broken asserts for now
4267 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * messages.C: make case where setlocale cannot comply work better.
4271 * buffer.C (updateDocLang): new function
4272 (changeLanguage): use it
4275 * text2.C (setCounter): use B_ a bit.
4277 * lyxlayout.C (Read): be sure to trim the label strings.
4279 * messages.C (Messages): fix typo in comment
4281 * buffer.C (readFile): set message_ after file is loaded.
4282 (makeDocBookFile): remove double return
4283 (changeLanguage): reset message_ upon language change.
4284 (B_): new func, use this to get translated buffer strings.
4286 * main.C: add myself and Jean Marc as authors.
4288 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * messages.[hC]: pimplify Messages, and three different pimpls to be
4291 used in different circumstances.
4293 * gettext.[Ch]: change for use with new message code.
4295 2003-04-24 André Pönitz <poenitz@gmx.net>
4297 * factory.C: support for eqref
4299 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * messages.[Ch]: add missing char
4303 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4305 * messages.[Ch]: New files
4307 2003-04-18 John Levon <levon@movementarian.org>
4311 * BufferView_pimpl.C:
4315 * text2.C: remove layout-copy/paste (bug 778)
4317 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4319 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4321 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4323 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4324 if they succeed. Act accordingly.
4326 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * text2.C (setCharFont): adjust
4329 (setCounter): adjust
4330 (insertStringAsLines): adjust
4332 * text.C (leftMargin): adjust
4333 (setHeightOfRow): adjust
4335 * rowpainter.C (paintFirst): adjust
4338 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4340 (isFirstInSequence): ditto
4341 (getEndLabel): ditto
4344 * paragraph.C (getParLanguage): comment out some hard stuff.
4346 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4348 (simpleDocBookOnePar): ditto
4349 (makeDocBookFile): use ParagraphList::iterator
4351 * CutAndPaste.C (pasteSelection): adjust
4353 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * text2.C (getFont): adjust
4356 (getLayoutFont): adjust
4357 (getLabelFont): adjust
4359 * paragraph_funcs.C (TeXOnePar): adjust
4361 * buffer.C (simpleLinuxDocOnePar): adjust
4362 (simpleDocBookOnePar): adjust
4364 * CutAndPaste.C (pasteSelection): adjust
4366 * BufferView.C (getEncoding): adjust
4368 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4370 2003-04-16 John Levon <levon@movementarian.org>
4372 * lyxfind.C: use parlist stuff for search/changes
4374 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4378 * text2.C (deleteEmptyParagraphMechanism): adjust
4380 * text2.[Ch] (ownerParagraph): delete func (both of them
4382 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4386 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * ParagraphList.C: prepare for NO_NEXT
4390 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * text2.C (getFont): adjust
4393 (getLayoutFont): adjust
4394 (getLabelFont): adjust
4396 * paragraph.C (getFont): adjust
4397 (getLabelFont): adjust
4398 (getLayoutFont): adjust
4400 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4402 2003-04-15 John Levon <levon@movementarian.org>
4406 * lyx_main.C: handle Include in .ui files
4408 2003-04-15 John Levon <levon@movementarian.org>
4410 * MenuBackend.C: make the doc files length shorter
4413 * ToolbarBackend.C: handle toolbar placement flags,
4416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4421 * paragraph_funcs.C (TeXOnePar): adjust
4423 * paragraph.C (getLabelFont): add outerfont arg, adjust
4424 (getLayoutFont): ditto
4425 (simpleTeXOnePar): adjust
4427 * paragraph_pimpl.C (realizeFont): delete func
4429 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4431 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4432 row argument, constify cur argument.
4434 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * text2.C (getFont): adjust
4437 (getLayoutFont): adjust
4438 (getLabelFont): adjust
4440 * paragraph_funcs.C (TeXOnePar): adjust
4441 (outerFont): new func...
4442 (realizeFont): ...moved out from here, changed this to facilitate
4445 * paragraph.C (getFont): take outerfont as arg, adjust
4446 (simpleTeXOnePar): add outerfont arg, adjust
4448 * buffer.C (simpleLinuxDocOnePar): adjust
4449 (simpleDocBookOnePar): adjust
4451 * CutAndPaste.C (pasteSelection): adjust
4453 * BufferView.C (getEncoding): adjust
4455 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * text2.C (setCharFont): adjust
4458 (setCounter): adjust
4460 * text.C (leftMargin): adjust
4461 (setHeightOfRow): adjust
4463 * rowpainter.C (paintFirst): adjust
4466 * paragraph_pimpl.C (realizeFont): adjust
4468 * paragraph.C (isFirstInSequence): move from here...
4469 * paragraph_funcs.C (isFirstInSequence): ...to here
4471 * paragraph.C (outerHook): move from here...
4472 * paragraph_funcs.C (outerHook): ...to here
4474 * paragraph.C (depthHook): move from here...
4475 * paragraph_funcs.C (depthHook): ...to here
4477 * paragraph.C (getEndLabel): move from here...
4478 * paragraph_funcs.C (getEndLabel): ...to here
4480 * text2.C (realizeFont): move from here...
4481 * paragraph_funcs.C (realizeFont): ...to here
4483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4487 2003-04-14 Angus Leeming <leeming@lyx.org>
4489 * LColor.[Ch]: scrap LColor mathcursor.
4491 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * lyxlex.[Ch] (text): delete function
4494 * trans.C (Load): adjust
4495 * paragraph_funcs.C (readParToken): adjust
4497 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4499 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4500 vector<char> instead of a char[].
4502 * lyxlex_pimpl.C (getString): adjust
4504 (lex): use getString
4508 * lyxlex.C (text): use pimpl_->getString()
4512 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4515 (makeFontEntriesLayoutSpecific): temp var for par.size()
4516 (setLayout): temp var for ownerParagraphs().end()
4517 (fullRebreak): temp var for rows().end()
4518 (selectionAsString): temp var for boost::next(startpit), realize
4519 that the while really is a regular for loop.
4520 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4521 setCursor in one place.
4522 (setParagraph): temp vr for ownerParagraphs().end()
4523 (updateCounters): make the while loop a for loop
4524 (cutSelection): temp var for ownerParagraphs().end()
4525 (updateInset): make the do {} while() a regular for loop
4526 (getCursorX): use temp vars
4527 (setCurrentFont): use temp vars
4528 (getColumnNearX): use temp vars
4530 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * text.C (transformChar): use temp var for getChar
4533 (computeBidiTables): use temp var for row->par()
4534 (fill): move temp vars for row->par() and pit->layout() earlier in
4536 (labelFill): use temp var for row->par()
4537 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4538 asc and desc, realize that pit never changes and that firstpit is
4539 just a duplicate and not needed. Exchange rit->par() with pit in a
4541 (breakAgain): use a temp var for boost::next(rit)
4542 (breakAgainOneRow): ditto
4543 (breakParagraph): use a temp var for rows().begin()
4544 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4545 (cursorRightOneWord): use temp var for cursor.par() and
4546 cursor.pos(), remove usage of tmpcursor.
4547 (cursorLeftOneWord): use temp var for cursor.par() and
4548 cursor.pos() only set cur at end of function.
4550 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * text.C, text2.C: exchange all usage of Paragraph::next with
4553 boost::next(ParagraphList::iterator)
4555 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4557 * text2.C (cursorTop): simplify implementation
4558 (cursorBottom): ditto
4559 (setParagraph): use ParagraphList::iterator
4560 (setCurrentFont): adjust
4561 (getColumnNearX): adjust
4562 (cursorRight): adjust
4563 (cursorLeft): remove usage of Paragraph::previous
4564 (cursorUpParagraph): ditto
4565 (deleteEmptyParagraphMechanism): slight cleanup
4567 * text.C (isBoundary): take a Paragraph const & instead of a
4569 (addressBreakPoint): ditto
4570 (leftMargin): remove usage of Paragraph::previous.
4571 (setHeightOfRow): ditto
4572 (cursorLeftOneWord): ditto
4573 (selectNextWordToSpellcheck): ditto
4576 (breakParagraph): remove one usage of Paragraph::next
4577 (redoParagraph): ditto
4578 (acceptChange): ditto
4579 (insertChar): adjust
4580 (rowBreakPoint): adjust
4582 * bufferview_funcs.C (toggleAndShow): adjust
4584 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4586 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4587 methods to access it.
4589 * text.C: Added updateRowPositions to compute all row positions.
4590 Make top_y and getRowNearY() to use the cached y position
4592 2003-04-11 John Levon <levon@movementarian.org>
4594 * text.C (rowBreakPoint): reintroduce the labelEnd
4595 checks, code copied from the row fill stuff. Deep voodoo.
4597 * text.C (fill): add a comment and debugging for the
4600 2003-04-11 John Levon <levon@movementarian.org>
4602 * text.C: make sure fullrow insets get wrapped to the next line,
4603 even when they're in a manual label
4605 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * text2.C (insertParagraph): make it take ParagraphList::iterator
4609 (setLayout): make it return ParagraphList::iterator
4610 (redoParagraphs): ditto
4612 (checkParagraph): ditto
4614 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4616 * text2.C: adjust several funcs.
4617 (realizeFont): take a ParagraphList::iterator as arg.
4618 (getLayoutFont): ditto
4619 (getLabelFont): ditto
4620 (setCharFont): ditto
4622 * text.C: adjust several funcs.
4624 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4626 * text.C (selectNextWordToSpellcheck): don't accidentally
4629 2003-04-10 John Levon <levon@movementarian.org>
4631 * ToolbarBackend.C (getIcon): special handling for
4634 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4636 * text2.C (cursorRight): a getChar assert fixed
4638 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * text2.C (getFont): change to take a ParagraphList::iterator
4641 instead of Paragraph*
4642 Adjust several functions.
4644 * text.C (transformChar): change to take a ParagraphList::iterator
4645 instead of Paragraph*
4646 (singleWidth): ditto
4647 Adjust several functions.
4649 * rowpainter.C: adjust several functions
4650 * rowpainter.h:store a ParagraphList::iterator and not a
4654 2003-04-09 John Levon <levon@movementarian.org>
4659 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4660 and the "help" bits as well
4662 2003-04-09 John Levon <levon@movementarian.org>
4665 * ToolbarBackend.C: allow multiple toolbars
4667 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * undo_funcs.C (setCursorParUndo): adjust
4671 * text_funcs.C (transposeChars): adjust
4673 * text3.C (gotoNextInset): adjust
4676 * text2.C (setLayout): adjust
4677 (changeDepth): adjust
4679 (redoParagraphs): adjust
4680 (selectionAsString): adjust
4681 (setParagraph): adjust
4682 (insertInset): adjust
4683 (cutSelection): adjust
4684 (copySelection): adjust
4685 (pasteSelection): adjust
4686 (insertStringAsLines): adjust
4687 (updateInset): adjust
4688 (setCursor): change to take a ParagraphList::iterator parameter
4689 (setCursorIntern): change to take a ParagraphList::iterator parameter
4690 (setCurrentFont): adjust
4691 (cursorLeft): adjust
4692 (cursorRight): adjust
4693 (deleteEmptyParagraphMechanism): adjust
4695 * text.C (breakParagraph): adjust
4696 (insertChar): adjust
4697 (acceptChange): adjust
4698 (rejectChange): adjust
4699 (selectNextWordToSpellcheck): adjust
4700 (changeCase): adjust
4704 * lyxfind.C (SearchForward): adjust
4705 (SearchBackward): adjust
4706 (nextChange): adjust
4708 * lyxcursor.C (par): adjust
4710 * lyxcursor.h: store a ParagraphList::iterator instead of a
4713 * lyx_cb.C (getPossibleLabel): adjust
4715 * bufferview_funcs.C (toggleAndShow): adjust
4717 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4720 * BufferView.C (removeAutoInsets): adjust
4721 (lockedInsetStoreUndo): adjust
4723 2003-04-09 John Levon <levon@movementarian.org>
4725 * ToolbarBackend.C: try icon without argument
4726 if with argument fails
4728 2003-04-08 John Levon <levon@movementarian.org>
4731 * ToolbarBackend.C: add getIcon(), handle tooltip,
4732 and change from "Icon" to "Item".
4734 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4736 * BufferView.C (lockInset): another bad getchar crunched
4738 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4740 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4743 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4745 * lyxfind.C (searchForward, searchBackwards): bug 782
4747 2003-04-07 John Levon <levon@movementarian.org>
4749 * paragraph.C: remove dead comment
4751 * text.C: remove troublesome depth-fiddling code
4752 in leftMargin() and rightMargin() (bug 1017)
4754 * text.C: fix breaking of rows in nested lists
4757 * text2.C (updateCounters): fix up depth values
4760 2003-04-07 John Levon <levon@movementarian.org>
4762 * BufferView_pimpl.C: clear message when doc finishes resizing,
4763 and after a mouse event
4765 * lyxfunc.C: clear message after exiting inset
4767 2003-04-07 John Levon <levon@movementarian.org>
4769 * bufferview_funcs.C: show math status not outside
4770 status in the statusbar
4772 2003-04-07 John Levon <levon@movementarian.org>
4774 * lyxfunc.C: note status changed after a depth change
4776 2003-04-04 Angus Leeming <leeming@lyx.org>
4778 * LaTeX.h: move AuxInfo operator==, != out of line.
4779 Remove LaTeX virtual destructor; nothing derives from it.
4780 Move operator()() out of public area and rename it startscript().
4781 Change protected for private.
4783 2003-04-04 Angus Leeming <leeming@lyx.org>
4786 * text2.C: remove unneeded #includes.
4788 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4790 * text2.C (dEPM): fix the heigth of the next row
4792 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4794 * text.C: squashed an invalid getChar requester + some ws changes
4796 2003-04-03 John Levon <levon@movementarian.org>
4798 * bufferview_funcs.h:
4799 * bufferview_funcs.C:
4802 * text2.C: make getStatus work for the env depth lfuns
4804 2003-04-03 John Levon <levon@movementarian.org>
4806 * bufferview_funcs.h:
4807 * bufferview_funcs.C:
4810 * text2.C: parlistize decDepth(), by merging it with incDepth()
4812 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * lyxrow.h: store a ParagraphList::iterator instead of a
4815 Paragraph* and adjust other class functions to suit.
4817 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4820 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4822 * text2.C (setCursor): do not anchor to cursor row for the time being
4824 2003-04-02 John Levon <levon@movementarian.org>
4831 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4833 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * paragraph.h: make ParagraphList and ParagraphList::iterator
4836 friends of Paragraph.
4838 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4840 * ParagraphList.C: Use the private next_ and previous_ from
4843 2003-04-01 John Levon <levon@movementarian.org>
4847 * Makefile.am: rename, remove defaults gunk
4850 * MenuBackend.C: remove defaults gunk
4853 * Languages.C: remove defaults gunk
4856 * lyx_main.C: error out if files couldn't be found.
4858 2003-04-02 John Levon <levon@movementarian.org>
4860 * text2.C: make incDepth() use parlist
4862 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * undo_funcs.C (firstUndoParagraph): adjust
4866 * text3.C (gotoInset): adjust
4867 (dispatch): adjust, and rewrite loop.
4869 * text2.C (init): adjust, and rewrite loop.
4870 (redoParagraphs): adjust
4871 (updateInset): adjust, and rewrite loop.
4872 (deleteEmptyParagraphMechanism): adjust
4874 * tabular.C (LyXTabular): adjust
4875 (SetMultiColumn): adjust
4878 * lyxtext.[Ch] (ownerParagraph): delete function
4879 (ownerParagraphs): new function returns a ParagraphList.
4881 * BufferView.C (removeAutoInsets): adjust
4882 (insertErrors): adjust
4883 (setCursorFromRow): adjust
4885 2003-04-01 Angus Leeming <leeming@lyx.org>
4887 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4890 2003-04-02 John Levon <levon@movementarian.org>
4896 * text_funcs.C: make transposeChars a free function
4898 * lyxrow_funcs.C: remove wrong comment
4900 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * rowpainter.C: adjust
4908 * lyxrow_funcs. [Ch]: new files
4910 * lyxrow.[Ch]: remove next and previous pointers
4911 (next,previous): remove accessor functions
4912 (isParEnd): move to lyxrow_funcs
4913 (lastPos): move to lyxrow_funcs
4914 (nextRowIsAllInset): move to lyxrow_funcs
4915 (lastPrintablePos): move to lyxrow_funcs
4916 (numberOfSeparators): move to lyxrow_funcs
4917 (numberOfHfills): move to lyxrow_funcs
4918 (numberOfLabelHfills): move to lyxrow_funcs
4919 (hfillExpansion): move to lyxrow_funcs
4923 * bufferview_funcs.C (toggleAndShow): adjust
4925 * RowList.h: Remove class RowList from file leave just a
4928 * RowList.C: delete file
4930 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4933 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * text3.C (cursorPrevious): adjust
4936 (cursorNext): adjust
4939 * text2.C (redoHeightOfParagraph): adjust
4940 (redoDrawingOfParagraph): adjust
4943 * text.C (breakParagraph): adjust
4944 (insertChar): adjust
4947 * rowpainter.C (RowPainter): adjust
4948 (leftMargin): simplify and adjust
4949 (most rowpainter functions): adjust.
4951 * rowpainter.h: store the row as RowList::iterator not as Row*
4953 * lyxcursor.C (row): taka RowList::iterator as arg
4956 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4959 2003-04-01 Angus Leeming <leeming@lyx.org>
4961 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4962 stuff like bool Bool.
4964 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4966 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4969 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4974 * lyxtext.h (rows): drop one version and leve a const variant that
4975 returns a RowList::iterator.
4977 2003-03-31 Angus Leeming <leeming@lyx.org>
4979 * text.C (fill): ensure that the signature is the same as that in the
4982 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * text2.C (redoParagraphs): adjust
4985 (updateCounters): adjust
4986 (checkParagraph): adjust
4987 (getColumnNearX): adjust and reformat a bit.
4989 * text.C (top_y): adjust
4991 (leftMargin): adjust
4992 (prepareToPrint): adjust
4994 (getRowNearY): adjust
4996 * lyxtext.h: make rowlist_ mutable.
4998 * RowList.h: add const_iterator
4999 * RowList.C: adjust for RowList::const_iterator.
5001 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5004 2003-03-31 John Levon <levon@movementarian.org>
5007 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5009 * lyx_main.C: set default fonts from using lyx_gui funcs
5011 * exporter.C: pdf_mode moved from lyxrc
5014 * lyxfunc.C: changes from above
5016 2003-03-31 John Levon <levon@movementarian.org>
5018 * lyx_main.C: fix to the last fix
5020 2003-03-31 John Levon <levon@movementarian.org>
5022 * bufferlist.C: "Load original" -> "Load Original"
5028 * format.C: more Alert cleanups
5030 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * text2.C (removeParagraph): make it take a RowList::iterator as
5034 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5035 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5037 * text.C (anchor_row): make it take a RowList::iterator as arg,
5039 (computeBidiTables): make it take a const reference to Row instead
5040 of Row pointer, adjust.
5041 (leftMargin): make it take a RowList::iterator as arg, adjust.
5042 (rowBreakPoint): adjust
5043 (breakAgainOneRow): make it take a RowList::iterator as arg,
5045 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5047 * bufferview_funcs.C (toggleAndShow): adjust
5049 2003-03-30 John Levon <levon@movementarian.org>
5053 * boost-inst.C: moved to support
5055 * several files: changes as a result
5057 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * text2.C (LyXText): adjust.
5061 (removeRow): make it take a RowList::iterator as arg, adjust.
5062 (fullRebreak): adjust
5063 (deleteEmptyParagraphMechanism): adjust
5064 (clearPaint): adjust
5067 * text.C (top_y): adjust
5068 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5069 (breakAgain): make it take a RowList::iterator as arg, adjust.
5070 (breakParagraph): adjust
5071 (insertChar): adjust
5074 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5075 need_break_row, and refresh_row.
5077 * text3.C (dispatch): adjust
5079 * text2.C (checkParagraph): adjust
5081 (setCursorFromCoordinates): adjust
5083 * text.C (top_y): adjust
5085 (getRow): make it return a RowList::iterator, adjust
5086 (getRowNearY): make it return a RowList::iterator, adjust
5088 * text2.C (init): adjust
5089 (insertRow): remove function
5090 (insertParagraph): adjust
5091 (redoParagraphs): adjust
5092 (fullRebreak): adjust
5093 (updateCounters): adjust
5095 * text.C (top_y): rewrite to use RowList iterators.
5097 (setHeightOfRow): rewrite to sue RowList iterators.
5098 (appendParagraph): adjust
5099 (breakAgain): adjust
5100 (breakAgainOneRow): adjust
5101 (breakParagraph): adjust
5103 (getRowNearY): adjust, and remove commented code.
5105 * lyxtext.h (firstRow): delete function
5106 (lastRow): delete function
5107 (rows): new function (const and non-const versions.)
5108 (insertRow): delete function
5110 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5112 2003-03-29 John Levon <levon@movementarian.org>
5114 * BufferView_pimpl.C: always update scrollbar top
5115 because pasting text when we're anchored could mean we
5116 miss an update altogether
5118 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * text2.C (init): use rowlist_.end() and not 0.
5121 (insertRow): change to take a RowList::iterator as arg, adjust
5123 (insertParagraph): change to take a RowList::iterator as arg,
5125 (redoParagraphs): remove some debug msgs.
5127 * text.C (appendParagraph): change to take a RowList::iterator
5128 arg, adjust for this.
5129 (breakAgain): add an assert
5130 (breakAgainOneRow): ditto
5132 2003-03-29 John Levon <levon@movementarian.org>
5134 * text2.C: do not clear selection after inc/decDepth
5137 2003-03-29 John Levon <levon@movementarian.org>
5140 * buffer.C: fix broken strerrors according to Lars
5142 2003-03-29 John Levon <levon@movementarian.org>
5144 * converters.C: more Alert cleanups
5146 2003-03-29 John Levon <levon@movementarian.org>
5148 * bufferview_funcs.C: remove pointless Alert
5150 * buffer.C: fix confusing error message when
5151 a template is chmoded 000
5153 2003-03-29 John Levon <levon@movementarian.org>
5157 * BufferView_pimpl.C: Alert fixes
5161 * tabular-old.C: remove unused table compat reading
5163 2003-03-29 John Levon <levon@movementarian.org>
5168 * lyx_cb.C: more Alert cleanups
5170 * lyxfunc.C: don't allow chktex if not latex document
5172 2003-03-29 John Levon <levon@movementarian.org>
5176 * buffer.C: warnings pushed down from support/,
5179 2003-03-29 John Levon <levon@movementarian.org>
5181 * lyxfunc.C: safety check for C-r (revert)
5183 2003-03-29 John Levon <levon@movementarian.org>
5186 * bufferlist.C: several UI fixes using Alert::prompt.
5187 Fix the pointless looping quit code. Fix stupid revert
5192 * lyx_cb.C: use Alert::prompt
5194 * lyx_main.C: remove a silly question
5196 * lyxfunc.C: remove a couple of silly questions,
5199 2003-03-28 John Levon <levon@movementarian.org>
5201 * text2.C: fix bug 974 (End on empty par)
5203 2003-03-28 John Levon <levon@movementarian.org>
5205 * BufferView_pimpl.C:
5207 * lfuns.h: remove do-nothing math greek lfuns
5209 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5211 * lyxgluelength.h (isValidGlueLength): add default arg on
5212 parameter 2. Remove default arg from friend in class.
5214 * lyxlength.h (isValidLength): add default arg on parameter 2.
5215 Remove default arg from friend in class.
5217 * text2.C (LyXText): adjust, initialize refresh_row.
5221 (insertParagraph): adjst
5222 (redoParagraphs): adjust
5223 (fullRebreak): adjust
5224 (updateCounters): adjust
5225 (deleteEmptyParagraphMechanism): first attempt at fixing a
5228 * text.C (top_y): adjust
5229 (setHeightOfRow): adjust
5231 (getRowNearY): adjust
5233 * lyxtext.h: include RowList.h
5234 (~LyXText): not needed anymore, deleted.
5235 (firstRow): modify for RowList
5236 (lastRow): new function
5237 Delete firstrow and lastrow class variables, add a Rowlist
5238 rowlist_ class variable.
5240 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5243 * RowList.C (insert): fix case where it == begin().
5245 2003-03-26 Angus Leeming <leeming@lyx.org>
5247 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5248 the thesaurus dialog.
5250 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5254 * RowList.[Ch]: new files
5256 * ParagraphList.C (erase): handle the case where it == begin
5259 2003-03-25 John Levon <levon@movementarian.org>
5263 * aspell.C: add new aspell support
5266 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5269 2003-03-25 Angus Leeming <leeming@lyx.org>
5272 * LyXAction.C (init): new LFUN_INSET_INSERT.
5274 * BufferView_pimpl.C (dispatch): split out part of the
5275 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5277 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5280 2003-03-25 Angus Leeming <leeming@lyx.org>
5282 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5284 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5287 * text3.C: remove useless row->height(0)
5289 2003-03-25 John Levon <levon@movementarian.org>
5293 * text3.C: rename the refreshing stuff to better names
5295 2003-03-24 John Levon <levon@movementarian.org>
5297 * BufferView_pimpl.h:
5298 * BufferView_pimpl.C: update layout choice on a mouse
5301 2003-03-23 John Levon <levon@movementarian.org>
5303 * Makefile.am: fix commandtags.h reference
5305 2003-03-22 John Levon <levon@movementarian.org>
5307 * BufferView_pimpl.C:
5312 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5314 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5317 * text.C: take the rtl methods out of line
5319 2003-03-21 André Pönitz <poenitz@gmx.net>
5321 * metricsinfo.[Ch]: new files containing structures to be passed around
5322 during the two-phase-drawing...
5324 2003-03-21 André Pönitz <poenitz@gmx.net>
5326 * lyxtextclass.C: read 'environment' tag.
5328 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5330 * text2.C (removeRow): fix bug 964
5332 2003-03-20 John Levon <levon@movementarian.org>
5336 * text2.C: paint cleanups. Inset::update() dropped font
5339 2003-03-19 John Levon <levon@movementarian.org>
5341 * lyxfunc.C: only fitcursor/markDirty if available()
5343 2003-03-19 John Levon <levon@movementarian.org>
5345 * commandtags.h: rename to ...
5347 * lfuns.h: ... this, and renumber / cleanup
5349 2003-03-19 John Levon <levon@movementarian.org>
5351 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5352 fit the cursor after an lfun
5356 * BufferView_pimpl.h:
5357 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5359 * LyXAction.C: layout-character should have ReadOnly
5361 * ParagraphParameters.C:
5363 * bufferview_funcs.C:
5370 * undo_funcs.C: changes from above
5372 2003-03-18 John Levon <levon@movementarian.org>
5374 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5375 remove it from update()
5377 * lyxfunc.C: update layout choice after an lfun
5379 * text3.C: remove extra updateLayoutChoice()s
5381 2003-03-18 John Levon <levon@movementarian.org>
5383 * text.C: top_y change means full repaint, fix
5384 a drawing bug with cursor movement
5386 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5390 * text2.C: anchor row on setCursor
5392 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5394 * lyxtext.h: remove almost all mutable keywords
5397 * text3.C: remove const keywords accordingly
5399 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5403 (TeXEnvironment): ditto
5406 2003-03-17 John Levon <levon@movementarian.org>
5408 * text.C (rowBreakPoint): remove attempt to fix displayed
5409 math insets inside a manual label
5411 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * lyxtext.h: remove BufferView* as first arg from almost all class
5415 * other files: adjust.
5417 2003-03-17 John Levon <levon@movementarian.org>
5421 * text2.C: more paint cleanups
5423 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5426 * rowpainter.C: remove "smart" background painting code
5428 2003-03-16 John Levon <levon@movementarian.org>
5433 * text3.C: add helper functions for setting refresh_row/y
5435 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5437 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5438 newline inset which *can* get inserted in the pass_thru layouts.
5439 This is primarily for literate documents.
5441 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5443 * buffer.C: increment LYX_FORMAT to 223
5445 2003-03-14 André Pönitz <poenitz@gmx.net>
5447 * textclass.h: prepare for environment handling, ws changes
5448 * lyxlayout.C: read latexheader and latexfooter tags
5450 2003-03-14 John Levon <levon@movementarian.org>
5452 * text2.C: rewrite ::status() a bit
5454 2003-03-13 John Levon <levon@movementarian.org>
5456 * lyxtext.h: add some docs
5458 2003-03-13 John Levon <levon@movementarian.org>
5463 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5465 2003-03-13 John Levon <levon@movementarian.org>
5467 * text3.C: fix appendix redrawing
5469 2003-03-13 John Levon <levon@movementarian.org>
5471 * text.C (setHeightOfRow):
5473 * rowpainter.C: make appendix mark have the text
5474 "Appendix" so the user knows what it is
5477 * LColor.C: s/appendixline/appendix/ from above
5479 2003-03-13 John Levon <levon@movementarian.org>
5481 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5483 * text.C: fix a getChar(pos) bug properly
5485 2003-03-13 Angus Leeming <leeming@lyx.org>
5488 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5489 Probably only temporary. Let's see how things pan out.
5491 * BufferView.C (unlockInset):
5492 * BufferView_pimpl.C (fitCursor):
5493 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5495 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5496 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5498 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5499 new functions that convert ParagraphParameters to and from a string.
5501 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5502 BufferView::Pimpl's dispatch.
5503 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5505 2003-03-13 André Pönitz <poenitz@gmx.net>
5509 * factory.C: make it aware of InsetEnv
5511 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * text2.C (setCursor): never ask for one past last
5514 (setCursor): add some debugging messages.
5516 * text.C (singleWidth): never ask for one past last
5517 (singleWidth): ditto
5519 (rightMargin): ditto
5520 (rowBreakPoint): ditto
5521 (setHeightOfRow): ditto
5522 (prepareToPrint): ditto
5524 * rowpainter.C (paintBackground): never ask for one past last
5525 (paintText): never ask for one past last
5527 * paragraph_pimpl.C (getChar): make the assert stricter, never
5528 allow the one past last pos to be taken
5530 * paragraph.C (getChar): ws changes only
5532 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5533 (numberOfSeparators): ditto
5534 (numberOfHfills): ditto
5536 2003-03-12 John Levon <levon@movementarian.org>
5542 * paragraph_funcs.C: fix per-buffer authorlists
5544 2003-03-12 John Levon <levon@movementarian.org>
5546 * text.C: fix newline in right address
5548 2003-03-12 Angus Leeming <leeming@lyx.org>
5550 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5551 duplicate those in LyXFunc::dispatch.
5555 * ToolbarDefaults.C:
5556 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5557 Add LFUN_FONTFREE_UPDATE.
5559 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5560 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5562 * bufferview_func.[Ch]: several new functions to facilliate
5563 transfer of data to and from the character dialog.
5565 2003-03-12 John Levon <levon@movementarian.org>
5570 * paragraph_funcs.C:
5571 * paragraph_pimpl.C:
5575 * text3.C: remove META_NEWLINE in favour of an inset
5578 * rowpainter.C: remove paintNewline (done by inset)
5580 2003-03-12 John Levon <levon@movementarian.org>
5582 * paragraph_pimpl.C: complain about bad getChar()s
5583 for a while at least
5585 2003-03-12 John Levon <levon@movementarian.org>
5588 * buffer.C: move paragraph read into a separate function,
5589 a little renaming to reflect that.
5592 * bufferparams.C: remove the author_ids map, not necessary now
5595 * factory.C: moved Buffer::readInset to here
5597 * paragraph_funcs.h:
5598 * paragraph_funcs.C: readParagraph free function moved from
5601 * tabular.C: name change
5603 2003-03-12 John Levon <levon@movementarian.org>
5606 * ParagraphParameters.C: move par params input to
5609 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5610 behave like a normal read from the stream wrt reading
5611 a line vs. a \\token
5613 2003-03-12 John Levon <levon@movementarian.org>
5616 * ParagraphParameters.h:
5617 * ParagraphParameters.C: move output code to a
5620 2003-03-12 John Levon <levon@movementarian.org>
5622 * BufferView.C (insertLyXFile):
5625 * tabular.C: use a parlist iterator for creating the
5628 2003-03-12 John Levon <levon@movementarian.org>
5630 * buffer.C: make current_change static local not
5633 2003-03-12 John Levon <levon@movementarian.org>
5635 * buffer.C: fix insertStringAsLines for change tracking
5637 2003-03-12 John Levon <levon@movementarian.org>
5644 * bufferparams.C: move author list into params. Rename some
5645 functions. Move the header reading into a separate token
5646 loop. Move the header token reading into BufferParams.
5648 2003-03-12 John Levon <levon@movementarian.org>
5650 * changes.C: put debug inside lyxerr.debugging() checks
5652 2003-03-11 André Pönitz <poenitz@gmx.net>
5654 * factory.C: make it aware of InsetHFill
5656 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5658 * buffer.C (latexParagraphs): move function from here...
5659 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5662 2003-03-10 Angus Leeming <leeming@lyx.org>
5664 * LyXAction.C (init): fix bug in poplating array with multiple entries
5665 with the same LFUN (spotted by JMarc).
5667 2003-03-10 John Levon <levon@movementarian.org>
5670 * text2.C: move getColumnNearX() near its
5673 2003-03-10 John Levon <levon@movementarian.org>
5675 * text.C: fix break before a minipage
5677 2003-03-10 John Levon <levon@movementarian.org>
5679 * text.C: fix the last commit
5681 2003-03-09 John Levon <levon@movementarian.org>
5685 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5686 bug 365 (don't break before insets unless needed). Don't
5687 return a value > last under any circumstances.
5689 2003-03-09 Angus Leeming <leeming@lyx.org>
5691 * BufferView_pimpl.C (trackChanges, dispatch): call
5692 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5694 2003-03-09 Angus Leeming <leeming@lyx.org>
5696 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5697 than Dialogs::showAboutlyx().
5699 2003-03-09 Angus Leeming <leeming@lyx.org>
5701 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5702 than Dialogs::showTabularCreate().
5704 2003-03-09 John Levon <levon@movementarian.org>
5708 * text2.C: 3rd arg to nextBreakPoint was always the same.
5711 2003-03-08 John Levon <levon@movementarian.org>
5718 * text2.C: Remove the "main" bit from the "main body"
5721 2003-03-08 John Levon <levon@movementarian.org>
5723 * text.C (leftMargin): The left margin of an empty
5724 manual label paragraph should not include the label width
5727 * text.C (prepareToPrint): don't attempt to measure hfills
5728 for empty manual label paragraphs - the answer should be 0
5730 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * CutAndPaste.C: remove commented code and reindent.
5734 2003-03-08 John Levon <levon@movementarian.org>
5737 * lyxfunc.C: move reloadBuffer()
5740 * BufferView.C: to here
5742 * lyxvc.C: add comment
5745 * vc-backend.C: call bv->reload() to avoid
5746 getStatus() check on MENURELOAD
5748 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5750 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5751 to an old format .dep file.
5753 2003-03-07 Angus Leeming <leeming@lyx.org>
5755 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5756 when the LFUN_MOUSE_RELEASE should have been handled by
5757 inset->localDispatch.
5759 2003-03-07 Angus Leeming <leeming@lyx.org>
5761 * BufferView_pimpl.C (dispatch):
5762 * LyXAction.C (init):
5763 * ToolbarDefaults.C (init):
5765 * lyxfunc.C (getStatus):
5766 remove LFUN_INSET_GRAPHICS.
5768 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5770 2003-03-07 Angus Leeming <leeming@lyx.org>
5773 * LyXAction.C (init):
5774 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5776 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5779 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5781 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5782 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5784 2003-03-07 Angus Leeming <leeming@lyx.org>
5786 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5789 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * ParagraphList.C (front): new function
5794 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5796 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5797 and top_row_offset_. removed var first_y.
5799 * text2.C (LyXText, removeRow):
5801 * BufferView_pimpl.C:
5802 use these methods instead of using first_y
5804 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * text2.C (pasteSelection): adjust for checkPastePossible
5808 * CutAndPaste.C: remove Paragraph * buf and replace with
5809 ParagraphList paragraphs.
5810 (DeleteBuffer): delete
5811 (cutSelection): change the tc type to textclass_type
5812 (copySelection): change the tc type to textclass_type
5813 (copySelection): adjust for ParagraphList
5814 (pasteSelection): change the tc type to textclass_type
5815 (pasteSelection): adjust for Paragraphlist
5816 (nrOfParagraphs): simplify for ParagraphList
5817 (checkPastePossible): simplify for ParagraphList
5818 (checkPastePossible): remove unused arg
5820 * ParagraphList.C (insert): handle the case where there are no
5823 * CutAndPaste.h: make CutAndPaste a namespace.
5825 * text3.C (dispatch): adjust
5827 * text.C (breakParagraph): add a ParagraphList as arg
5829 * paragraph_funcs.C (breakParagraph): change to take a
5830 BufferParams and a ParagraphList as args.
5831 (breakParagraphConservative): ditto
5832 (mergeParagraph): ditto
5833 (TeXDeeper): add a ParagraphList arg
5834 (TeXEnvironment): ditto
5837 * buffer.C (readLyXformat2): adjust
5838 (insertStringAsLines): adjust
5839 (latexParagraphs): adjust
5841 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5842 (cutSelection): adjust
5843 (pasteSelection): adjust
5845 * BufferView_pimpl.C (insertInset): adjust
5847 2003-03-05 Angus Leeming <leeming@lyx.org>
5850 * LyXAction.C (init):
5851 * BufferView_pimpl.C (dispatch):
5852 * lyxfunc.C (getStatus):
5853 remove LFUN_CHILD_INSERT.
5855 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5857 2003-03-05 Angus Leeming <leeming@lyx.org>
5860 * LyXAction.C (init):
5861 * src/factory.C (createInset):
5862 * lyxfunc.C (getStatus):
5863 * text3.C (dispatch):
5864 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5866 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5868 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * ParagraphList.C (insert): handle insert right before end()
5871 (erase): fix cases where it can be first or last paragraph.
5873 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5876 Paragraph::next and Paragraph::previous
5879 * text.C (breakParagraph): adjust
5881 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5882 BufferParams& as arg.
5883 (breakParagraph): use ParagraphList::insert
5884 (breakParagraphConservative): take a Buffer* instead of a
5885 BufferParams& as arg.
5886 (breakParagraphConservative): use ParagraphList::insert.
5888 * buffer.C (insertStringAsLines): un-const it
5889 (insertStringAsLines): adjust
5891 * ParagraphList.C (insert): new function
5893 * CutAndPaste.C (pasteSelection): adjust
5895 * text.C (backspace): adjust
5897 * tabular.C (SetMultiColumn): adjust
5899 * CutAndPaste.C (cutSelection): adjust
5900 (pasteSelection): adjust
5902 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5903 Buffer const * as arg
5905 * ParagraphList.C (erase): new function
5906 * paragraph_funcs.C (mergeParagraph): use it
5907 (mergeParagraph): make it take a Buffer* instead of a
5908 BufferParams* as arg
5910 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5912 (breakParagraphConservative): ditto
5914 * paragraph.h: remove the breakParagraph friend
5916 * paragraph.C (eraseIntern): new function
5917 (setChange): new function
5919 * paragraph_funcs.C (mergeParagraph): make it take a
5920 ParagraphList::iterator instead of a Paragraph *, adjust
5923 * paragraph.h: move an #endif so that the change tracking stuff
5924 also works in the NO_NEXT case.
5926 2003-03-04 Angus Leeming <leeming@lyx.org>
5929 * LyXAction.C: new LFUN_INSET_MODIFY.
5931 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5932 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5934 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * several files: ws changes only
5938 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5939 (TeXEnvironment): ditto
5942 * buffer.C (makeLaTeXFile): adjust
5943 (latexParagraphs): make it take ParagraphList::iterator as args
5945 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * buffer.C (latexParagraphs): adjust
5949 * paragraph.C (TeXOnePar): move function...
5950 (optArgInset): move function...
5951 (TeXEnvironment): move function...
5952 * paragraph_pimpl.C (TeXDeeper): move function...
5953 * paragraph_funcs.C: ...here
5955 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5957 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * buffer.C (readInset): remove compability code for old Figure and
5962 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * buffer.C: ws changes
5967 * BufferView_pimpl.C: ditto
5970 * bufferlist.h: ditto
5974 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5976 * converter.[Ch]: split into itself +
5979 * Makefile.am: += graph.[Ch] + format.[Ch]
5986 * lyxrc.C: added #include "format.h"
5988 2003-02-27 Angus Leeming <leeming@lyx.org>
5990 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5993 * factory.C (createInset): add "label" to the factory.
5995 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5996 string and do no more.
5998 2003-02-27 Angus Leeming <leeming@lyx.org>
6001 * LyXAction.C (init):
6002 * factory.C (createInset):
6003 * BufferView_pimpl.C (dispatch):
6004 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6006 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6008 * lyxfunc.C (dispatch):
6009 * text3.C (dispatch): pass name to params2string.
6011 2003-02-26 Angus Leeming <leeming@lyx.org>
6013 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6015 Rearrange the ~includes. Strip out the unnecessary ones.
6017 * factory.C (createInset): reformat.
6018 create new insets for the various LFUN_XYZ_APPLY lfuns.
6020 2003-02-26 John Levon <levon@movementarian.org>
6023 * lyxrow.C: add isParStart,isParEnd helpers
6025 * paragraph.h: make isInserted/DeletedText take refs
6027 * paragraph_funcs.h:
6028 * paragraph_funcs.C: remove #if 0'd code
6033 * text.C: use lyxrow helpers above.
6034 Move draw and paint routines to RowPainter.
6035 Make several methods use refs not pointers.
6036 Make backgroundColor() const.
6037 Add markChangeInDraw(), isInInset().
6038 Merge changeRegionCase into changeCase.
6039 Make workWidth() shouldn't-happen code into an Assert.
6042 * rowpainter.C: new class for painting a row.
6045 * vspace.C: make inPixels take a ref
6047 2003-02-26 Angus Leeming <leeming@lyx.org>
6049 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6052 2003-02-25 John Levon <levon@movementarian.org>
6054 * ispell.C: give the forked command a more accurate name
6056 2003-02-22 John Levon <levon@movementarian.org>
6059 * toc.C: make TocItem store an id not a Paragraph *
6062 2003-02-21 Angus Leeming <leeming@lyx.org>
6064 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6065 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6066 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6067 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6068 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6069 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6071 * BufferView_pimpl.C (dispatch):
6072 * LyXAction.C (init):
6073 * factory.C (createInset):
6074 * lyxfunc.C (getStatus, dispatch):
6075 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6077 2003-02-21 Angus Leeming <leeming@lyx.org>
6079 * BufferView_pimpl.C (MenuInsertLyXFile):
6080 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6081 * lyxfunc.C (menuNew, open, doImport):
6082 no longer pass a LyXView & to fileDlg.
6084 2003-02-21 Angus Leeming <leeming@lyx.org>
6086 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6087 * LyXAction.C: change, BIBKEY to BIBITEM.
6088 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6089 Change InsetBibKey to InsetBibitem.
6090 Change BIBKEY_CODE to BIBITEM_CODE.
6091 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6092 * factory.C: replace insetbib.h with insetbibitem.h.
6093 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6094 * paragraph.C: replace insetbib.h with insetbibitem.h.
6095 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6096 Change bibkey() to bibitem().
6097 * text.C: remove insetbib.h.
6098 * text2.C: replace insetbib.h with insetbibitem.h.
6099 change bibkey() to bibitem().
6100 * text3.C: remove insetbib.h.
6101 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6103 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6105 * lyxrc.C (output): enclose user email in quotes (in case there are
6108 2003-02-18 John Levon <levon@movementarian.org>
6110 * buffer.h: add std::
6112 2003-02-17 John Levon <levon@movementarian.org>
6118 * pspell.C: reworking. Especially in ispell, a large
6119 number of clean ups and bug fixes.
6121 * lyxfunc.C: fix revert to behave sensibly
6123 2003-02-17 André Pönitz <poenitz@gmx.net>
6126 * commandtags.h: new LFUN_INSERT_BIBKEY
6136 * paragraph_func.C: remove special bibkey handling
6138 2003-02-17 John Levon <levon@movementarian.org>
6140 * text.C (Delete): fix case where delete at the end of
6141 the very first paragraph would not merge the pars
6143 2003-02-17 John Levon <levon@movementarian.org>
6145 * lyxrow.C: fix lastPrintablePos()
6147 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6149 * bufferparams.C (writeLaTeX): add a std:here
6151 * buffer.C: and remove a using directive there
6153 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6155 * buffer.C (makeLaTeXFile): move the code that generates the
6158 * bufferparams.C (writeLaTeX): ... in this new method
6160 * LaTeXFeatures.C (getEncodingSet): make const
6161 (getLanguages): make const
6163 * MenuBackend.C (binding): returns the binding associated to this
6165 (add): sets the status of each item by calling getStatus. Adds
6167 (read): add support for OptSubMenu
6168 (expand): remove extra separator at the end of expanded menu
6170 2003-02-15 John Levon <levon@movementarian.org>
6173 * BufferView_pimpl.C:
6175 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6176 inset code that had no actual effect. Remove unneeded status
6179 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6181 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6184 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6186 * text.C (drawLengthMarker): also draw an arrow marker for
6187 symbolic lengths (medskip...)
6189 2003-02-14 John Levon <levon@movementarian.org>
6192 * tabular.C: better method names
6194 2003-02-14 John Levon <levon@movementarian.org>
6196 * BufferView_pimpl.C:
6201 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6202 it's a more accurate name. Remove some pointless uses.
6204 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * text2.C (LyXText): change order of initilizers to shut off
6209 2003-02-14 John Levon <levon@movementarian.org>
6211 * buffer.C: use ParIterator for getParFromID()
6215 * paragraph_pimpl.h:
6216 * paragraph_pimpl.C: remove unused getParFromID()
6218 2003-02-14 John Levon <levon@movementarian.org>
6220 * buffer.C: remove some very old #if 0'd parse code
6222 2003-02-13 John Levon <levon@movementarian.org>
6226 * text2.C: move hfillExpansion(), numberOfSeparators(),
6227 rowLast(), rowLastPrintable(), numberofHfills(),
6228 numberOfLabelHfills() ...
6231 * lyxrow.C: ... to member functions here.
6236 * text.C: remove LyXText::beginningOfMainBody(), and call
6237 p->beginningOfMainBody() directly. Move the check for
6238 LABEL_MANUAL into the latter.
6245 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6251 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6252 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6254 2003-02-13 John Levon <levon@movementarian.org>
6256 * CutAndPaste.C: remove debug
6258 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6260 * paragraph.C (asString): remove two unused variables
6262 * lyxtextclass.C (readTitleType):
6264 (LyXTextClass): handle new members titletype_ and titlename_
6266 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6268 2003-02-09 John Levon <levon@movementarian.org>
6271 * buffer.C: replace hand-coded list with a map for the dep clean
6273 2003-02-08 John Levon <levon@movementarian.org>
6275 * LaTeX.C: consolidate code into showRunMessage() helper
6277 2003-02-08 John Levon <levon@movementarian.org>
6282 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6283 and pass the size in explicitly
6285 * BufferView_pimpl.h:
6286 * BufferView_pimpl.C:
6288 * BufferView.C: add getCurrentChange()
6290 * BufferView_pimpl.h:
6291 * BufferView_pimpl.C: handle change lfuns
6293 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6294 for changes. Mark pasted paragraphs as new.
6296 * support/lyxtime.h:
6297 * support/lyxtime.C:
6298 * DepTable.C: abstract time_t as lyx::time_type
6301 * LColor.C: add colours for new text, deleted text, changebars
6303 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6304 package use "usenames" option.
6308 * LyXAction.C: add change lfuns
6312 * author.C: author handling
6315 * buffer.C: add a per-buffer author list, with first entry as
6316 current author. Handle new .lyx tokens for change tracking. Output
6317 author list to .lyx file. Output dvipost stuff to .tex preamble.
6318 Bump lyx format to 222.
6321 * bufferlist.C: add setCurrentAuthor() to reset current author details
6325 * bufferparams.C: add param for tracking
6327 * bufferview_funcs.C: output change info in minibuffer
6331 * changes.C: add change-tracking structure
6334 * debug.C: add CHANGES debug flag
6337 * lyxfind.C: add code for finding the next change piece
6340 * lyxrc.C: add user_name and user_email
6343 * lyxrow.C: add a metric for the top of the text line
6346 * text.C: implement accept/rejectChange()
6349 * text.C: paint changebars. Paint new/deleted text in the chosen
6350 colours. Strike through deleted text.
6354 * paragraph_pimpl.h:
6355 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6356 in the current change to the insert functions. Rework erase to
6357 mark text as deleted, adding an eraseIntern() and a range-based
6358 erase(). Implement per-paragraph change lookup and
6361 * paragraph_funcs.C: Fixup paste for change tracking.
6363 * tabular.C: mark added row/columns as new.
6365 * text.C: fix rowLast() to never return -1. Don't allow
6366 spellchecking of deleted text. Track transpose changes. Don't
6367 allow paragraph break or merge where appropriate.
6369 * text2.C: leave cursor at end of selection after a cut.
6371 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6373 * text.C (getLengthMarkerHeight):
6374 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6375 visible on screen too.
6377 2003-02-07 John Levon <levon@movementarian.org>
6379 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6381 2003-02-05 Angus Leeming <leeming@lyx.org>
6383 * lyxserver.C (read_ready): revert my patch of 11 September last year
6384 as it sends PC cpu through the roof. Presumably this means that
6385 the lyxserver will no longer run on an Alpha...
6387 2003-01-30 Angus Leeming <leeming@lyx.org>
6389 * factory.C (createInset): create an InsetCommandParam of type "index"
6390 and use it to 'do the right thing'.
6392 * text2.C (getStringToIndex): ensure that cursor position is always
6393 reset to the reset_cursor position.
6395 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6397 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6400 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6404 * lyxfunc.C: Output messages with identical spelling, punctuation,
6407 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6409 * MenuBackend.C (expandFormats): List only viewable export formats
6412 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6415 * lyxfunc.C (getStatus): Make sure that formats other than
6416 "fax" can also be disabled
6418 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6420 * text3.C (dispatch): put the lfuns that insert insets in 3
6421 groups, and call doInsertInset with appropriate arguments.
6422 (doInsertInset): new function, that creates an inset and inserts
6423 it according to some boolean parameters.
6425 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * buffer.C (readFile): remember to pass on 'par' when calling
6428 readFile recursively.
6430 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6432 * MenuBackend.C (expandFormats): add "..." to import formats.
6434 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6436 * paragraph.C (asString): Remove XForms RTL hacks.
6438 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6439 * buffer.C: fix typo
6441 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * Makefile.am (LIBS): delete var
6444 (lyx_LDADD): add @LIBS@ here instead.
6446 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6448 * Clarify the meaning of "wheel mouse jump"
6450 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6452 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6455 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6457 * importer.C (Loaders): do not preallocate 3 elements in the
6458 vector, since one ends up with 6 elements otherwise
6460 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6462 * DepTable.C (write): write the file name as last element of the
6463 .dep file (because it may contain spaces)
6464 (read): read info in the right order
6466 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6468 * paragraph_pimpl.C (simpleTeXBlanks):
6469 (simpleTeXSpecialChars):
6470 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6472 * tabular.C (latex): add some missing case statements. Reindent.
6474 * MenuBackend.C (expandToc): remove unused variable.
6476 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6485 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6488 2003-01-05 John Levon <levon@movementarian.org>
6491 * BufferView.C: add getEncoding()
6494 * kbsequence.C: do not store last keypress
6497 * lyxfunc.C: store last keypress here instead. Pass encoding
6500 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * lyx_main.C (init): remove annoying error message when following
6503 symbolic links (bug #780)
6505 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * text.C (insertChar):
6508 * lyxrc.C (getDescription): remove extra spaces
6510 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6512 * lyxrc.C (getDescription): remove extra spaces
6514 2002-12-20 John Levon <levon@movementarian.org>
6516 * text3.C: hack fix for page up/down across tall rows
6518 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6520 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6523 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6525 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6526 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6527 thesaurus is not compiled in
6529 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6531 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6533 2002-12-16 Angus Leeming <leeming@lyx.org>
6536 * lyx_main.C (init): remove override_x_deadkeys stuff.
6538 2002-12-12 John Levon <levon@movementarian.org>
6540 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6541 insert. Only remove shift modifier under strict
6544 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * MenuBackend.C (expandToc): fix crash.
6548 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * MenuBackend.C (expandToc): gettext on float names.
6552 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6554 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6555 implement bool empty() [bug 490]
6557 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6561 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * several files: ws changes
6565 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * text2.C (setCounter): clean up a bit, use boost.format.
6568 (updateCounters): initialize par upon declaration.
6570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6571 if the layout exists. We do not just store the layout any more.
6572 (SwitchLayoutsBetweenClasses): use boost.format
6574 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * converter.C (convert): if from and to files are the same, use a
6577 temporary files as intermediary
6579 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6582 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6584 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6586 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6588 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * tabular.C (asciiPrintCell): use string(size, char) instead of
6593 * sgml.C (openTag): fix order of arguments to string constructor
6596 * lyxfunc.C (dispatch): use boost.format
6598 * lots of files: change "c" -> 'c'
6600 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6602 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6604 2002-11-25 Angus Leeming <leeming@lyx.org>
6606 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6608 * lyx_main.C (init): compile fix.
6610 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * lyx_cb.C (start): boost.formatify
6613 do not include <iostream>
6615 * lengthcommon.C: ws only
6617 * boost-inst.C,BoostFormat.h: add more explict instantations
6619 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * lots of files: handle USE_BOOST_FORMAT
6623 2002-11-21 John Levon <levon@movementarian.org>
6625 * pspell.C: fix compile
6627 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6629 * lyxfunc.C (dispatch): use boost::format
6633 * lyxfont.C (stateText): use boost::format
6635 * lyx_main.C (LyX): use boost::format
6637 (queryUserLyXDir): ditto
6640 (typedef boost::function): use the recommened syntax.
6642 * importer.C (Import): use boost::format
6644 * debug.C (showLevel): use boost::format
6646 * converter.C (view): use boost::format
6651 * bufferview_funcs.C (currentState): use boost::format
6653 * bufferlist.C (emergencyWrite): use boost::format
6655 * buffer.C (readLyXformat2): use boost::format
6656 (parseSingleLyXformat2Token): ditto
6658 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6660 * LaTeX.C (run): use boost::format
6662 * Chktex.C (scanLogFile): use boost::format
6664 * BufferView_pimpl.C (savePosition): use boost::format
6665 (restorePosition): ditto
6666 (MenuInsertLyXFile): ditto
6668 * BoostFormat.h: help file for explicit instation.
6670 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6672 * tabular.C (latex): Support for block alignment in fixed width
6675 2002-11-17 John Levon <levon@movementarian.org>
6677 * BufferView_pimpl.C:
6679 * lyxfunc.C: split filedialog into open/save
6681 2002-11-08 Juergen Vigna <jug@sad.it>
6683 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6684 by my last patch (hopefully).
6686 2002-11-08 John Levon <levon@movementarian.org>
6695 * toc.C: ParConstIterator, and use it (from Lars)
6697 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6699 * lyxtextclass.[Ch]: revise and add doxygen comments
6701 2002-11-07 John Levon <levon@movementarian.org>
6703 * text.C: fix progress value for spellchecker
6705 * toc.C: fix navigate menu for insetwrap inside minipage
6707 * paragraph_funcs.C: added FIXME for suspect code
6709 2002-11-07 John Levon <levon@movementarian.org>
6711 * BufferView_pimpl.C: fix redrawing of insets
6714 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6716 * text2.C (updateCounters): fix bug 668
6718 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6720 * text3.C (dispatch): Do not make the buffer dirty when moving the
6723 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * vc-backend.C: STRCONV
6728 * text2.C (setCounter): STRCONV
6730 * paragraph.C (asString): STRCONV
6732 * lyxlength.C (asString): STRCONV
6733 (asLatexString): ditto
6735 * lyxgluelength.C (asString): STRCONV
6736 (asLatexString): ditto
6738 * lyxfunc.C (dispatch): STRCONV
6741 * lyxfont.C (stateText): STRCONV
6743 * importer.C (Import): STRCONV
6745 * counters.C (labelItem): STRCONV
6746 (numberLabel): ditto
6747 (numberLabel): remove unused ostringstream o
6752 * bufferview_funcs.C (currentState): STRCONV
6754 * buffer.C (readFile): STRCONV
6755 (asciiParagraph): ditto
6756 (makeLaTeXFile): ditto
6758 * Spacing.C (writeEnvirBegin): STRCONV
6760 * LaTeXFeatures.C (getLanguages): STRCONV
6761 (getPackages): ditto
6763 (getBabelOptions): ditto
6764 (getTClassPreamble): ditto
6765 (getLyXSGMLEntities): ditto
6766 (getIncludedFiles): ditto
6770 (scanAuxFile): ditto
6773 * LString.h: add the STRCONV macros
6775 * BufferView_pimpl.C (savePosition): STRCONV
6776 (restorePosition): ditto
6777 (MenuInsertLyXFile): ditto
6779 * vc-backend.C (scanMaster): change from submatch[...] to
6782 * funcrequest.C: include config.h
6784 * factory.C: include config.h
6786 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6788 * box.C: include config.h
6790 * LaTeX.C (scanAuxFile): change from submatch[...] to
6794 2002-10-25 Angus Leeming <leeming@lyx.org>
6796 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6798 * ispell.[Ch] (setError): new method.
6799 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6800 Use setError() insetead of goto END.
6802 * lyx_cb.C (AutoSave): move out child process into new class
6805 2002-10-30 John Levon <levon@movementarian.org>
6807 * text3.C: make start appendix undoable
6809 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6811 * lyxlength.C (inPixels): Fix returned value.
6813 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6816 2002-10-24 Angus Leeming <leeming@lyx.org>
6818 * lyxgluelength.h: no need to forward declare BufferParams
6819 or BufferView, so don't.
6821 2002-10-21 John Levon <levon@movementarian.org>
6823 * BufferView.C: menuUndo ->undo, redo
6825 * BufferView.h: document, remove dead, make some methods private
6827 * paragraph_funcs.h:
6828 * paragraph_funcs.C:
6829 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6834 * sgml.C: move sgml open/close tag into sgml.C
6836 * bufferview_funcs.h: unused prototype
6839 * lyxfunc.C: remove unused
6842 * text.C: remove unused
6844 2002-10-21 John Levon <levon@movementarian.org>
6848 * BufferView_pimpl.h:
6849 * BufferView_pimpl.C: fix mouse wheel handling based on
6850 patch from Darren Freeman
6852 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6854 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6856 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6858 * lyxlength.C (inPixels): Fix hanfling of negative length.
6859 Fix LyXLength::MU case.
6861 2002-10-16 John Levon <levon@movementarian.org>
6863 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6865 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6867 * converter.C (view): add support for $$i (file name) and $$p
6868 (file path) for the viewer command. If $$i is not specified, then
6869 it is appended to the command (for compatibility with old syntax)
6871 2002-10-14 Juergen Vigna <jug@sad.it>
6873 * undo_funcs.C (textHandleUndo): alter the order in which the
6874 new undopar is added to the LyXText, as we have to set first
6875 the right prev/next and then add it as otherwise the rebuild of
6876 LyXText is not correct. Also reset the cursor to the right paragraph,
6877 with this IMO we could remove the hack in "redoParagraphs()".
6879 2002-10-09 Angus Leeming <leeming@lyx.org>
6881 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6882 to turn off an optimisation if a new inset is to be inserted.
6884 2002-10-11 André Pönitz <poenitz@gmx.net>
6886 * lyxtext.h: make some functions public to allow access
6887 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6889 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6891 * text3.C (dispatch): when changing layout, avoid an infinite loop
6894 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * lyxrc.C (read): treat a viewer or converter command of "none" as
6899 * MenuBackend.C (expandFormats): for an update, also allow the
6900 formats that are not viewable
6902 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6903 script if it is newer than the lyxrc.defaults in user directory
6905 2002-10-07 André Pönitz <poenitz@gmx.net>
6907 * text.C: Vitaly Lipatov's small i18n fix
6909 2002-09-25 Angus Leeming <leeming@lyx.org>
6911 * ispell.h: doxygen fix.
6913 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6915 * buffer.h (readFile): Add a new argument to the method, to allow
6916 reading of old-format templates.
6918 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6920 * toc.C (getTocList): Get TOC from InsetWrap.
6922 2002-09-16 John Levon <levon@movementarian.org>
6924 * lyxfunc.C: check tabular for cut/copy too
6926 2002-09-12 John Levon <levon@movementarian.org>
6931 * factory.C: add header
6933 * paragraph_funcs.h:
6934 * paragraph_funcs.C: cleanup
6936 2002-09-11 John Levon <levon@movementarian.org>
6938 * PrinterParams.h: odd/even default to true
6940 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6942 * PrinterParams.h: update printer parameters for new xforms dialog
6944 2002-09-11 Angus Leeming <leeming@lyx.org>
6946 * lyxserver.C (read_ready): re-write to make it more transparent
6947 and to make it work in coherent fashion under Tru64 Unix.
6949 2002-09-11 André Pönitz <poenitz@gmx.net>
6953 * text3.C: implement LFUN_WORDSEL
6955 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6957 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6958 make floatlist_ a boost::shared_ptr<FloatList>
6960 * lyxtextclass.C: include FloatList.h
6961 (LyXTextClass): initialize floatlist_
6962 (TextClassTags): add TC_NOFLOAT
6963 (Read): match "nofloat" to TC_NOFLOAT and use it.
6964 (readFloat): modify call to floatlist_
6968 * FloatList.[Ch] (FloatList): remove commented out float
6970 (erase): new function
6972 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6974 * MenuBackend.C (expandToc): fix crash when there is no document
6977 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6979 * many files: Add insetwrap.
6981 2002-09-09 John Levon <levon@movementarian.org>
6983 * text2.C: remove confusing and awkward depth wraparound
6985 2002-09-09 John Levon <levon@movementarian.org>
6987 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6990 * buffer.C: remove getIncludeonlyList()
6993 * lyxfunc.C: remove headers
6995 2002-09-09 Juergen Vigna <jug@sad.it>
6997 * text.C (getColumnNearX): fix form Michael this is most
6998 probably a cut&paste bug.
7000 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7004 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7005 references, ws changes.
7007 * text2.C (init): update counters after init
7008 (insertParagraph): no need to set counter on idividual paragraphs.
7009 (setCounter): access the counters object in the textclass object
7010 on in the buffer object.
7011 (updateCounters): ditto
7013 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7014 shared_ptr<Counters> to avoid loading counters.h in all
7016 (LyXTextClass): initialize ctrs_
7017 (TextClassTags): add TC_COUNTER, and ...
7018 (Read): use it here.
7019 (CounterTags): new tags
7020 (readCounter): new function
7021 (counters): new funtion
7022 (defaultLayoutName): return a const reference
7024 * counters.C (Counters): remove contructor
7025 (newCounter): remove a couple of unneeded statements.
7026 (newCounter): simplify a bit.
7027 (numberLabel): some small formatting changes.
7029 * buffer.[Ch]: remove all traces of counters, move the Counters
7030 object to the LyXTextClass.
7032 2002-09-06 Alain Castera <castera@in2p3.fr>
7034 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7035 package to set the horizontal alignment on fixed width columns.
7038 * lyx_sty.h: added tabularnewline macro def.
7040 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7042 2002-09-06 John Levon <levon@movementarian.org>
7044 * LyXAction.C: tooltips for sub/superscript
7046 * MenuBackend.C: a bit more verbose
7048 * lyxfunc.C: tiny clean
7050 * undo_funcs.C: document undo_frozen
7052 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * counters.C (Counters): add missing algorithm counter.
7056 * text2.C (setCounter): lookup the counter with layouts latexname
7057 instead of by section number.
7058 (setCounter): use a hackish way to lookup the correct enum
7060 a float name->type change
7061 reset enum couners with counter name directly instead of depth value.
7063 * counters.C (Counters): remove the push_backs, change to use the
7064 float type not the float name.
7065 (labelItem): remove unused string, float name->type change
7067 * counters.h: don't include vector, loose the enums and sects vectors
7069 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7072 (Read): add float->TC_FLOAT to textclassTags
7073 (Read): and handle it in the switch
7074 (readFloat): new function
7076 * FloatList.C (FloatList): comment out the hardcoded float
7079 * lyxlayout.h: ws change.
7081 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7083 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7085 2002-09-03 Angus Leeming <leeming@lyx.org>
7087 * BufferView_pimpl.h: qualified name is not allowed in member
7088 declaration: WorkArea & Pimpl::workarea() const;
7090 * factory.C: added using std::endl directive.
7092 * text3.C: added using std::find and std::vector directives.
7094 2002-08-29 André Pönitz <poenitz@gmx.net>
7097 * text2.C: remove unused member number_of_rows
7100 * BufferView2.C: remove file, move contents to...
7101 * BufferView.C: ... here
7103 * BufferView_pimpl.C:
7104 * factory.C: move more inset creation to factory
7106 * vspace.C: avoid direct usage of LyXText, ws changes
7109 don't provide direct access to WorkArea, use two simple
7110 acessors haveSelction() and workHeight() instead
7113 2002-08-29 John Levon <levon@movementarian.org>
7115 * BufferView_pimpl.C (dispatch): do not continue when
7118 2002-08-28 André Pönitz <poenitz@gmx.net>
7120 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7123 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7125 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7127 * buffer.C: increment LYX_FORMAT to 221
7129 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7130 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7132 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7134 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7136 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7138 * factory.C (createInset): use LyXTextClass::floats
7140 * MenuBackend.C (expandFloatListInsert):
7141 (expandFloatInsert):
7144 * text2.C (setCounter):
7146 * LaTeXFeatures.C (useFloat):
7147 (getFloatDefinitions):
7149 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7151 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7152 floatlist_, with accessor floats().
7154 * FloatList.h: remove global FloatList
7156 2002-08-26 André Pönitz <poenitz@gmx.net>
7158 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7162 * BufferView_pimpl.C:
7163 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7165 2002-08-25 John Levon <levon@movementarian.org>
7167 * LyXAction.C: fix margin note description
7169 2002-08-24 John Levon <levon@movementarian.org>
7173 * bufferview_funcs.C:
7175 * undo_funcs.C: cleanups
7177 * lyxfunc.C: disable CUT/COPY when no selection
7179 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7181 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7182 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7184 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7185 Add backward compatibility to "mono", "gray" and "no".
7187 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7189 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7190 (and file_format >= 200).
7192 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7194 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7196 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7198 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7200 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7202 * BufferView_pimpl.C:
7209 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7210 inset and code to make it work with the paragraph code. The inset
7211 can be anywhere in the paragraph, but will only do the expected
7212 thing in LaTeX if the layout file contains the parameter line
7214 (or more generally, a nonzero value) for that layout.
7216 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * paragraph.h: remove the declaration of undefined counters class
7221 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7223 * text2.C (setCounter): fixed enumeration mis-count as reported by
7224 Dr. Richard Hawkins.
7226 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7228 * paragraph_funcs.h: remove some unneeded includes
7230 * text.C (backspace): pasteParagraph now in global scipe
7232 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7233 (pasteSelection): ditto
7235 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7236 * paragraph_funcs.C (pasteParagraph): ... here
7238 2002-08-20 André Pönitz <poenitz@gmx.net>
7240 * commandtags.h: new LFUNs for swapping/copying table row/colums
7243 * lyxfunc.C: support for new lfuns
7245 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * buffer.[Ch]: remove NO_COMPABILITY stuff
7250 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * boost.C (throw_exception): new file, with helper function for
7253 boost compiled without exceptions.
7258 * ParameterStruct.h:
7259 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7261 * bufferlist.C (emergencyWriteAll): use boost bind
7263 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7265 * text.C: include paragraph_funcs.h
7266 (breakParagraph): breakParagraph is now in global scope
7268 * paragraph_funcs.[Ch]: new files
7270 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7273 * buffer.C: include paragraph_funcs.h
7274 (insertStringAsLines): breakParagraph is now in global scope
7276 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7279 * CutAndPaste.C: include paragraph_funcs.h
7280 (cutSelection): breakParagraphConservative is now in global scope
7281 (pasteSelection): ditto
7283 * buffer.h: declare oprator== and operator!= for
7284 Buffer::inset_iterator
7286 * bufferlist.C (emergencyWrite): don't use fmt(...)
7288 * text3.C: add using std::endl
7290 * BufferView.C (moveCursorUpdate): remove default arg
7292 2002-08-20 André Pönitz <poenitz@gmx.net>
7294 * buffer.[Ch]: move inline functions to .C
7297 * BufferView_pimpl.C:
7299 * buffer.[Ch]: use improved inset_iterator
7302 * paragraph.[Ch]: write one paragraph at a time
7304 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7306 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7307 style if style is not specified.
7309 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7311 * text2.C (setCounter): when searching for right label for a
7312 caption, make sure to recurse to parent insets (so that a caption
7313 in a minipage in a figure float works) (bug #568)
7315 2002-08-20 André Pönitz <poenitz@gmx.net>
7317 * text3.C: new file for LyXText::dispatch() and helpers
7319 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7321 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7323 2002-08-19 André Pönitz <poenitz@gmx.net>
7326 * text.C: new LyXText::dispatch()
7328 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7330 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7332 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7334 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7337 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7339 * Makefile.am: use $(variables) instead of @substitutions@
7341 2002-08-15 André Pönitz <poenitz@gmx.net>
7344 * BufferView_pimpl.C: streamlining mathed <-> outer world
7348 * LyXAction.C: remove unused LFUN_MATH
7350 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7354 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * paragraph.C (Paragraph): reformat a bit
7357 (cutIntoMinibuffer): use builtin InsetList function instad of
7361 * buffer.C: include boost/bind.hpp, add using std::for_each
7362 (writeFileAscii): use ParagraphList iterators
7363 (validate): use for_each for validate traversal of paragraphs
7364 (getBibkeyList): use ParagraphList iterators
7365 (resizeInsets): use for_each to resizeInsetsLyXText for all
7367 (getParFromID): use ParagraphList iterators
7369 * BufferView2.C (lockInset): use paragraph list and iterators
7371 2002-08-14 John Levon <levon@movementarian.org>
7373 * lyxserver.C: remove spurious xforms include
7375 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7377 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7379 2002-08-13 André Pönitz <poenitz@gmx.net>
7382 * lyxfunc.C: further cleaning
7384 2002-08-13 André Pönitz <poenitz@gmx.net>
7386 * funcrequest.h: new constructor
7388 * funcrequest.C: move stuff here from .h
7391 * BufferView_pimpl.C:
7394 * lyxfunc.C: subsequent changes
7396 * lyxfunc.h: new view() member function
7398 * lyxfunc.C: subsequent changes
7400 2002-08-13 Angus Leeming <leeming@lyx.org>
7403 * BufferView_pimpl.C:
7411 changes due to the changed LyXView interface that now returns references
7412 to member variables not pointers.
7414 2002-08-13 Angus Leeming <leeming@lyx.org>
7416 * WordLangTuple (word, lang_code): return references to strings,
7421 * lyxtext.h: forward-declare WordLangTuple.
7426 * text.C: #include "WordLangTuple.h".
7429 * text.C: (selectNextWordToSpellcheck): constify return type.
7431 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7437 * paragraph_pimpl.h:
7440 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7442 Made updateCounter always count from start of buffer, and removed
7443 second argument (par).
7444 Reverted floats number display to '#'. Perhaps I'll try again when the
7445 code base is sanitized a bit.
7447 2002-08-12 Angus Leeming <leeming@lyx.org>
7449 * buffer.[Ch] (getLabelList): constify.
7451 2002-08-07 André Pönitz <poenitz@gmx.net>
7453 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7455 * funcrequest.h: extension to keep mouse (x,y) position
7457 2002-08-12 Juergen Vigna <jug@sad.it>
7459 * BufferView2.C (insertErrors): forbid undo when inserting error
7462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7464 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * ParagraphList.[Ch]: new files
7468 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7470 * BufferView2.C (lockInset): ParagraphList changes
7473 * bufferlist.C: ditto
7477 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7480 unused class variable counter_,
7482 * paragraph.[Ch] (getFirstCounter): delete unused function
7484 * counters.C: include LAssert.h
7485 (reset): add a new function with no arg, change other version to
7486 not have def. arg and to not allow empty arg.
7488 * text2.C (setCounter): remove empty arg from call to Counters::reset
7490 2002-08-11 John Levon <levon@movementarian.org>
7492 * Makefile.am: add WordLangTuple.h
7494 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7497 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7499 * insets/insettext.C: InsetList changes
7501 * graphics/GraphicsSupport.C (operator()): InsetList changes
7503 * toc.C (getTocList): InsetList changes
7505 * paragraph_pimpl.[Ch]: InsetList changes
7507 * paragraph.[Ch]: InsetList changes
7509 * buffer.C (inset_iterator): InsetList changes
7510 (setParagraph): ditto
7511 * buffer.h (inset_iterator): ditto
7512 * iterators.C (operator++): ditto
7513 * iterators.h: ditto
7515 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7517 * InsetList.[Ch]: new files, most InsetList handling moved out of
7520 * BufferView2.C (removeAutoInsets): InsetList changes
7522 (ChangeInsets): ditto
7524 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * paragraph_pimpl.h (empty): new function
7528 * paragraph.[Ch] (empty): new function
7530 * other files: use the new Paragraph::empty function
7532 2002-08-09 John Levon <levon@movementarian.org>
7534 * lyxtext.h: remove unused refresh_height
7536 2002-08-09 John Levon <levon@movementarian.org>
7543 * paragraph.C: move sgml char escaping out of paragraph
7546 * paragraph.C: remove id setter
7550 * paragraph_pimpl.C: remove dead tex_code_break_column
7552 * bufferview_funcs.C: small cleanup
7554 * lyxfunc.C: remove dead proto
7556 * lyxtext.h: make some stuff private. Remove some dead stuff.
7558 * lyxgluelength.C: make as[LyX]String() readable
7560 2002-08-08 John Levon <levon@movementarian.org>
7565 * ToolbarDefaults.C:
7568 * toc.C: lyxaction cleanup
7570 2002-08-08 John Levon <levon@movementarian.org>
7572 * BufferView2.C: small cleanup
7575 * lyxfind.C: move unnecessary header into the .C
7577 2002-08-08 John Levon <levon@movementarian.org>
7579 * funcrequest.h: just tedious nonsense
7582 * lyx_main.C: cleanups
7585 * vspace.C: remove dead header lyx_main.h
7587 2002-08-07 Angus Leeming <leeming@lyx.org>
7590 * paragraph_pimpl.h:
7591 Forward declare class Counters in paragraph.h by moving the ctrs member
7592 variable into Paragraph::Pimpl.
7593 (counters): new method, returning a reference to pimpl_->ctrs.
7595 * text2.C: ensuing changes.
7597 2002-08-07 John Levon <levon@movementarian.org>
7599 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7601 * BufferView_pimpl.C: announce X selection on double/triple
7604 * lyx_main.C: use correct bool in batch dispatch
7606 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7608 2002-08-07 André Pönitz <poenitz@gmx.net>
7610 * funcrequest.h: new class to wrap a kb_action and its argument
7613 * BufferView_pimpl[Ch]:
7617 * lyxrc.C: subsequent changes
7620 2002-08-07 John Levon <levon@movementarian.org>
7622 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7623 document options change.
7625 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7630 * makefile.am: move counters functionality over from
7631 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7633 2002-08-06 John Levon <levon@movementarian.org>
7635 * WordLangTuple.h: new file for word + language code tuple
7646 * BufferView2.C: use WordLangTuple
7649 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7651 2002-08-06 John Levon <levon@movementarian.org>
7653 * lyx_main.C: fix cmdline batch handling
7655 2002-08-06 André Pönitz <poenitz@gmx.net>
7657 * lyxrc.C: set default for show_banner to true
7659 2002-08-06 John Levon <levon@movementarian.org>
7661 * pspell.C: fix a crash, and allow new aspell to work
7663 2002-08-06 John Levon <levon@movementarian.org>
7666 * kbmap.C: small cleanup
7669 * vspace.C: add const
7671 2002-08-05 John Levon <levon@movementarian.org>
7673 * LyXAction.C: back to tabular-insert
7675 2002-08-04 John Levon <levon@movementarian.org>
7678 * BufferView.C: cosmetic change
7680 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7690 * BufferView2.C: purge all "Lyx" not "LyX" strings
7693 * lyxcursor.C: attempt to add some documentation
7698 * ToolbarDefaults.C:
7699 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7700 merge with LFUN_TABULAR_INSERT
7707 * pspell.C: split up i/pspell implementations into separate
7708 files, many cleanups
7710 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7712 * text2.C: some cleanup
7714 * lyxfunc.C: don't check for isp_command == "none" any more, it
7715 didn't make any sense
7717 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7722 * makefile.am: move counters functionality over
7723 from text2.C/paragraph.[Ch] to counters.[Ch], and
7725 2002-08-02 John Levon <levon@movementarian.org>
7727 * buffer.C: s/lyxconvert/lyx2lyx/
7729 2002-08-02 Angus Leeming <leeming@lyx.org>
7731 * lyxlex.C: revert John's change as it breaks reading of the user
7734 2002-08-02 Angus Leeming <leeming@lyx.org>
7736 * importer.C (Import):
7737 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7738 changes due to LyXView::view() now returning a boost::shared_ptr.
7740 2002-08-02 John Levon <levon@movementarian.org>
7742 * lyxlex.C: small cleanup
7744 2002-08-02 John Levon <levon@movementarian.org>
7746 * text2.C (status): small cleanup, no logic change
7748 2002-08-01 John Levon <levon@movementarian.org>
7751 * buffer.C (writeFile): don't output alerts, caller
7755 * lyx_cb.C: from above
7757 * lyxfunc.C: allow to open non-existent files
7759 2002-07-31 John Levon <levon@movementarian.org>
7761 * lyxserver.C: don't let incidental errors get
7764 2002-07-30 John Levon <levon@movementarian.org>
7766 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7768 2002-07-30 John Levon <levon@movementarian.org>
7771 * lyxserver.C: remove I/O callback too
7773 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7775 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7778 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * many files: strip,frontStrip -> trim,ltrim,rtrim
7782 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * PrinterParams.h: remove extern containsOnly, and include
7785 support/lstrings.h instead.
7787 * LaTeX.C (scanAuxFile): modify because of strip changes
7789 * buffer.C (makeLaTeXFile): ditto
7790 * bufferparams.C (writeFile): ditt
7791 * lyxfont.C (stateText): ditto
7792 * lyxserver.C (read_ready): ditto
7793 * vc-backend.C (scanMaster): ditto
7795 * BufferView_pimpl.h: ws changes
7797 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7799 2002-07-26 André Pönitz <poenitz@gmx.net>
7801 * kb_sequence.C: remove unnedred usings
7803 2002-07-26 Juergen Vigna <jug@sad.it>
7805 * lyxfind.C (LyXReplace): we have to check better if the returned
7806 text is not of theLockingInset()->getLockingInset().
7808 2002-07-25 Juergen Vigna <jug@sad.it>
7810 * lyxfind.C (LyXReplace): don't replace if we don't get the
7813 * undo_funcs.C (createUndo): remove debugging code.
7815 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7817 * buffer.C (parseSingleLyXformat2Token): Use default placement
7818 when reading old floats.
7820 * FloatList.C (FloatList): Change the default placement of figure
7821 and tables to "tbp".
7823 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7825 * MenuBackend.C: using std::max
7827 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7829 * MenuBackend.C (expandToc):
7830 (expandToc2): code moved from xforms menu frontend. It is now
7831 generic and TOCs are transparent to menu frontends.
7833 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7835 * toc.C (getTocList): protect against buf=0
7837 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7838 Menu as first parameter. Now, this calls itself recursively to
7839 expand a whole tree (this will be useful for TOC handling)
7840 (expandFloatInsert): remove 'wide' version of floats
7842 * MenuBackend.h (submenuname): returns the name of the submenu.
7843 (submenu): returns the submenu itself, provided it has been
7844 created by MenuBackend::expand
7846 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7848 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7849 insets which have noFontChange == true. (bug #172)
7851 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7853 * BufferView_pimpl.C: add connection objects and use them...
7856 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7858 * MenuBackend.C (expandLastfiles):
7861 (expandFloatListInsert):
7862 (expandFloatInsert):
7863 (expand): split expand in parts
7865 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7867 * lyx_gui.C: use lyx_gui::exit()
7869 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7871 * LyXAction.C: show the failing pseudo action
7873 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7875 * buffer.C (readFile): Run the lyxconvert script in order to read
7878 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7882 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7884 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7888 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7890 2002-07-22 Herbert Voss <voss@lyx.org>
7893 * lyxlength.[Ch]: add support for the vertical lengths
7895 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7897 * toc.[Ch]: std:: fixes
7899 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7901 * lyxrc.C: do not include lyx_main.h
7903 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7909 * BufferView2.C: include "lyxlex.h"
7912 * bufferparams.h: do not #include "lyxlex.h"
7914 * lyxtextclasslist.C (Add): remove method
7915 (classlist): renamed to classlist_
7917 * paragraph_pimpl.C:
7921 * bufferview_funcs.C:
7926 * toc.C (getTocList): use BufferParams::getLyXTextClass
7928 * toc.C (getTocList): use InsetFloat::addToToc
7930 * toc.[Ch]: new files, containing helper functions to handle table
7933 * lyxfunc.C (dispatch): no need to remove spaces around command
7935 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7936 first command of the sequence; it is not very clever, but I do not
7937 have a better idea, actually
7939 * LyXAction.C (LookupFunc): make sure to remove space at the
7940 beginning and end of the command
7942 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7944 * MenuBackend.C (getMenubar): new method: return the menubar of
7946 (read): treat differently reading of menu and menubar (in
7947 particular, the menubar has no name now)
7948 (Menu::menubar): remove
7950 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7953 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7955 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7956 a bibitem inset in a RTL paragraph.
7958 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7960 * paragraph_pimpl.C: constify
7962 * BufferView_pimpl.C:
7964 * lyxfunc.C: fix dispatch in a nicer way
7966 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7968 * lyxfunc.C (dispatch):
7969 * BufferView_pimpl.C:
7970 * BufferView_pimpl.h:
7972 * BufferView.h: rename Dispatch() to dispatch()
7974 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7976 * lyxlayout.C (Read): honor DependsOn tag
7978 * lyxlayout.[Ch] (depends_on): new method
7980 * version.C.in: update lyx_docversion
7982 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7984 * paragraph.C (validate): remove from here...
7985 * paragraph_pimpl.C (validate): ... and move here
7986 (isTextAt): make it const
7988 * buffer.C (getLists): ws cleanup
7990 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7992 * language.C (read): Use iso8859-1 encoding in latex_lang
7993 (this prevents LyX from crashing when using iso10646-1 encoding).
7995 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7997 * text2.C (toggleInset): if cursor is inside an inset, close the
7998 inset and leave cursor _after_ it
8000 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8002 * lyxfunc.C: move minibuffer completion handling out of here
8004 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8006 * BufferView_pimpl.C:
8007 * LaTeX.C: fix dispatch calls
8009 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8011 * text.C (drawChars): Fix Arabic text rendering.
8013 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfunc.C: remove message-push/pop
8021 * lyxfunc.C: rationalise some code by removing verboseDispatch
8022 in favour of a bool argument to dispatch()
8024 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * lyx_main.C (init): make sure to read symlinks as absolute paths
8028 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8031 * lyxfunc.C: no need for commandshortcut to be a member
8033 2002-07-15 André Pönitz <poenitz@gmx.net>
8035 * converter.C: add support for $$s (scripts from lib/scripts dir)
8036 * lyx_main.C: white space
8038 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8042 * lyxrc.C: remove second exit confirmation
8044 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8049 * BufferView_pimpl.h:
8050 * BufferView_pimpl.C:
8051 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8053 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8055 * MenuBackend.C (expand): add numeric shortcuts to document menu
8057 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8059 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8061 * lyxfont.C (setLyXFamily):
8068 * buffer.C (asciiParagraph): use ascii_lowercase
8070 2002-07-15 Mike Fabian <mfabian@suse.de>
8072 * lyxlex_pimpl.C (search_kw):
8073 * lyxlex.C (getLongString):
8074 * converter.h (operator<):
8075 * converter.C (operator<):
8076 * buffer.C (parseSingleLyXformat2Token):
8078 * ToolbarDefaults.C (read):
8079 * MenuBackend.C (checkShortcuts):
8081 * LColor.C (getFromGUIName):
8082 (getFromLyXName): use the compare_ascii_no_case instead of
8083 compare_no_case, because in turkish, 'i' is not the lowercase
8084 version of 'I', and thus turkish locale breaks parsing of tags.
8086 2002-07-16 Angus Leeming <leeming@lyx.org>
8088 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8089 now takes a Buffer const & argument.
8091 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8093 * BufferView.C (resize): check there's a buffer to resize
8095 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8097 * lyxfunc.C: remove dead code
8100 * lyxserver.C: use lyx_guii::set_read_callback
8102 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8104 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8105 an inset in a RTL paragraph.
8107 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8109 * lyxfunc.C: repaint after a font size update
8111 2002-07-15 André Pönitz <poenitz@gmx.net>
8113 * lyxlength.C: inBP should be able to return negative values
8115 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8117 * lyxfunc.C: use lyx_gui::update_fonts()
8119 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8121 * lyxfunc.C: use lyx_gui::update_color()
8123 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8129 * lyxrc.C: remove file->new asks for name option, and let
8130 buffer-new take an argument
8132 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8134 * BufferView_pimpl.C: remove unneeded extra repaint()
8136 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8138 * LyXAction.C: allow command-sequence with NoBuffer
8140 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8142 2002-07-10 Angus Leeming <leeming@lyx.org>
8144 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8146 2002-07-09 Angus Leeming <leeming@lyx.org>
8148 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8150 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8152 * lengthcommon.h: whitespace
8154 * lyxfunc.C: update scrollbar after goto paragraph
8156 * lyxtext.h: factor out page break drawing, and fix it so
8157 page break/added space paints as selected nicely
8159 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8161 * BufferView_pimpl.C: add FIXMEs, clean up a little
8163 2002-07-09 André Pönitz <poenitz@gmx.net>
8165 * lyxfont.[Ch]: support for wasy symbols
8167 2002-07-08 André Pönitz <poenitz@gmx.net>
8169 * BufferView_pimpl.C: apply John's patch for #93.
8171 2002-07-05 Angus Leeming <leeming@lyx.org>
8173 * BufferView_pimpl.C (buffer): generate previews if desired.
8175 * LColor.h: add "preview" to the color enum.
8177 * LColor.C (LColor): add a corresponding entry to the items array.
8179 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8182 2002-07-05 Angus Leeming <leeming@lyx.org>
8184 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8185 The body of the code is now in the method that is passed an ostream &
8186 rather than a file name.
8187 Pass an additional only_preamble parameter, useful for the forthcoming
8190 2002-07-03 André Pönitz <poenitz@gmx.net>
8192 * lyxfunc.C: simplify getStatus() a bit for math stuff
8194 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8196 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8198 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * text.C (changeRegionCase): do not change case of all the
8201 document when region ends at paragraph end (bug #461)
8203 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8205 * paragraph.C (startTeXParParams):
8206 (endTeXParParams): add \protect when necessary
8208 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8210 * BufferView_pimpl.C (workAreaExpose): remove warning
8212 2002-06-27 Angus Leeming <leeming@lyx.org>
8214 * Makefile.am: add lyxlayout_ptr_fwd.h.
8216 2002-06-26 André Pönitz <poenitz@gmx.net>
8218 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8220 2002-06-25 Angus Leeming <leeming@lyx.org>
8222 * lyxfunc.C (dispatch): Comment out the call to
8223 grfx::GCache::changeDisplay. The method no longer exists now that the
8224 pixmap generation part of the graphics loader has been moved into
8227 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8229 * text2.C: layout as layout
8231 * text.C: layout as layout
8233 * tabular.C (OldFormatRead): layout as layout
8235 * paragraph_pimpl.C (TeXDeeper): layout as layout
8236 (realizeFont): layout as layout
8238 * paragraph.C (writeFile): layout as layout
8239 (validate): layout as layout
8240 (getFont): layout as layout
8241 (getLabelFont): layout as layout
8242 (getLayoutFont): layout as layout
8243 (breakParagraph): layout as layout
8244 (stripLeadingSpaces): layout as layout
8245 (getEndLabel): layout as layout
8246 (getMaxDepthAfter): layout as layout
8247 (applyLayout): layout as layout
8248 (TeXOnePar): layout as layout
8249 (simpleTeXOnePar): layout as layout
8250 (TeXEnvironment): layout as layout
8251 (layout): layout as layout
8252 (layout): layout as layout
8254 * lyxtextclass.C (compare_name): new functor to work with
8255 shared_ptr, layout as layout
8256 (Read): layout as layout
8257 (hasLayout): layout as layout
8258 (operator): layout as layout
8259 (delete_layout): layout as layout
8260 (defaultLayout): layout as layout
8262 * lyxlayout_ptr_fwd.h: new file
8264 * lyxlayout.C (Read): layout as layout
8266 * lyx_cb.C (MenuInsertLabel): layout as layout
8268 * bufferlist.C (newFile): layout as layout
8270 * buffer.C (readLyXformat2): layout as layout
8271 (parseSingleLyXformat2Token): layout as layout
8272 (insertStringAsLines): layout as layout
8273 (asciiParagraph): layout as layout
8274 (latexParagraphs): layout as layout
8275 (makeLinuxDocFile): layout as layout
8276 (simpleLinuxDocOnePar): layout as layout
8277 (makeDocBookFile): layout as layout
8278 (simpleDocBookOnePar): layout as layout
8279 (getLists): layout as layout
8281 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8283 * CutAndPaste.C (cutSelection): layout as layout
8284 (pasteSelection): layout as layout
8285 (SwitchLayoutsBetweenClasses): layout as layout
8287 * BufferView_pimpl.C (Dispatch): layout as layout
8288 (smartQuote): layout as layout
8290 * BufferView2.C (unlockInset): layout as layout
8292 2002-06-24 André Pönitz <poenitz@gmx.net>
8294 * lyxfunc.C: fix #487
8296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8300 * lyxfunc.C: remove display_shortcuts, show_banner
8302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8304 * Buffer_pimpl.C: oops, update on resize
8306 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8313 * BufferView.C: use repaint()
8315 * BufferView_pimpl.h:
8316 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8317 as it's a clearer description. Remove superfluous
8320 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8322 * text.C: fix bug 488. Not ideal, but getting
8323 getWord() to work properly for the insets that
8324 matter is more difficult ...
8326 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8328 * BufferView_pimpl.C:
8331 * lyxfunc.C: remove the six million index lyxfuncs to just
8332 one, and DTRT (bug 458)
8334 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8338 * BufferView_pimpl.h:
8339 * BufferView_pimpl.C: clean up resize() stuff,
8340 and unnecessary updateScreen()s
8342 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8346 * BufferView_pimpl.h:
8347 * BufferView_pimpl.C:
8350 * minibuffer.C: remove focus management of workarea,
8351 not needed. Use screen's greyOut()
8353 2002-06-17 Herbert Voss <voss@lyx.org>
8355 * converter.C: (convert) do not post a message, when converting
8356 fails, let the calling function decide what to do in this case
8358 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxfunc.C: tidy up a little
8362 2002-06-16 <alstrup@diku.dk>
8364 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8365 Got rid of FORMS_H_LOCATION include. Now we are
8368 2002-06-15 LyX Development team <lyx@rilke>
8370 * buffer.[Ch] (sgmlOpenTag):
8371 (sgmlCloseTag): Added support for avoiding pernicious mixed
8372 content. Return number of lines written.
8375 (makeDocBookFile): Fixed calls to sgml*Tag.
8376 Simple white space clean.
8378 (simpleDocBookOnePar): Simple white space clean.
8380 * tabular.[Ch] (docBook): Renamed to docbook and got another
8381 argument to related with the pernicious mixed content.
8383 (docbookRow): Fixed calls for docbook inset method.
8385 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8387 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8388 so it's X11 independent.
8392 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8394 2002-06-15 Lyx Development team <lyx@electronia>
8396 * intl.h: Renamed getTrans to getTransManager.
8398 2002-06-14 Angus Leeming <leeming@lyx.org>
8400 * Makefile.am: nuke forgotten stl_string_fwd.h.
8402 2002-06-12 Angus Leeming <leeming@lyx.org>
8404 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8406 2002-06-13 Angus Leeming <leeming@lyx.org>
8409 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8411 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8413 * kbmap.C (getiso): add support for cyrillic and greek
8415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8419 * BufferView_pimpl.h:
8420 * BufferView_pimpl.C: move bogus scrolling logic
8423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8426 * BufferView_pimpl.C: view->resize() change
8428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8430 * BufferView_pimpl.C: topCursorVisible
8433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8437 * lyx_gui.C: move to frontends/
8441 * lyx_main.C: changes from above
8443 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8450 * lyx_main.C: minor tidy
8452 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8454 * BufferView_pimpl.h:
8455 * BufferView_pimpl.C:
8457 * BufferView.C: make painter() const,
8460 * BufferView2.C: use screen() accessor
8463 * lyx_main.C: some minor cleanup
8465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView_pimpl.h:
8468 * BufferView_pimpl.C: remove enter/leaveView,
8471 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView_pimpl.h:
8477 * BufferView_pimpl.C: only construct screen once,
8480 * lyxrc.C: remove pointless comment
8482 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8485 * BufferView.C: remove active() and belowMouse()
8487 * BufferView_pimpl.h:
8488 * BufferView_pimpl.C: use workarea() not workarea_,
8489 and make it use a scoped_ptr instead
8491 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8493 * lyx_gui.C: add debug message on BadWindow
8495 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8497 * sp_spell.C: fdopen is not part of the C++ standard.
8499 * paragraph.C (InsetIterator): use >= instead of ==
8501 2002-06-07 Angus Leeming <leeming@lyx.org>
8503 Fixes needed to compile with Compaq cxx 6.5.
8504 * BufferView_pimpl.C:
8511 * lyxtextclasslist.C:
8516 all c-library variables have been moved into namespace std. Wrap
8517 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8522 Add a using std::abs declaration.
8524 * kbmap.h (modifier_pair):
8525 * paragraph.h (InsetTable, InsetList):
8526 * lyxfont.h (FontBits):
8527 type definition made public.
8529 * bufferlist.C (emergencyWriteAll): the compiler complains that
8530 there is more than one possible lyx::class_fun template to choose from.
8531 I re-named the void specialisation as lyx::void_class_fun.
8533 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8535 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8536 the compiler is is unable to find tostr in write_attribute.
8538 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * buffer.C (sgmlError): hide #warning
8542 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8544 * xtl/*: get rid of xtl, which is not in use anyway
8546 * LyXAction.C (init):
8547 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8548 were unimplemented xtl experimentation
8550 2002-06-04 André Pönitz <poenitz@gmx.net>
8552 * lyxfunc.C: disable array operation on simple formulae
8554 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8556 * converter.C: constify a bit
8558 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8560 * lyx_gui.C: check xforms version correctly
8562 2002-04-30 Herbert Voss <voss@lyx.org>
8564 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8567 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8569 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8570 attempt to register it with a VCS)
8572 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8574 * lyx_main.C (init): honor variables LYX_DIR_13x and
8577 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8581 * lyx_main.C: fix a crash on bad command line,
8582 and give a useful exit status on error
8584 * lyxfunc.C (doImport): allow -i lyx to work
8586 2002-03-30 André Pönitz <poenitz@gmx.net>
8588 * lyxfunc.C: mathed font changes
8590 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8605 * trans_mgr.h: srcdocs, and some minor cleanups
8607 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8609 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8610 call getFont all the time)
8612 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * switch from SigC signals to boost::signals
8616 2002-05-29 André Pönitz <poenitz@gmx.net>
8618 * paragraph_pimpl.C (getChar): don't call size() too often...
8620 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * paragraph_pimpl.C (insertChar): do not try to update tables when
8623 appending (pos == size())
8625 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8626 in order to reduce drastically the number of comparisons needed to
8627 parse a large document
8629 2002-05-29 André Pönitz <poenitz@gmx.net>
8635 * textclasslist.[Ch]:
8636 * sp_ispell.h: whitespace change
8638 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8640 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8641 lyxaction directly now.
8643 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8647 * lyxvc.C: remove unused headers
8649 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8656 * undo_funcs.C: some cleanups. Use shared_ptr
8657 and a template for the undo stacks.
8659 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.h:
8662 * BufferView_pimpl.C:
8669 * text2.C: use key_state/mouse_state
8671 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8673 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8676 * chset.C: change include order
8677 (loadFile): use boost regex and get rid of LRegex and LSubstring
8679 * Makefile.am (BOOST_LIBS): new variable
8682 * LaTeX.C: change include order.
8683 (scanAuxFile): use boost regex and get rid of LRegex and
8687 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8692 * FontInfo.C: moved to frontends/xforms/
8695 * FontLoader.C: moved into frontends for GUIIzation
8700 * lyxfunc.C: changes from above
8702 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8704 * LColor.C: remove spurious X include
8706 * BufferView_pimpl.C:
8711 * text2.C: move font metrics to frontends/
8713 2002-05-24 Juergen Vigna <jug@sad.it>
8715 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8716 setting the undo_cursor.
8718 * ParagraphParameters.h: include local includes first.
8720 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8722 * BufferView_pimpl.C:
8723 * BufferView_pimpl.h:
8727 * screen.C: move WorkArea into frontends/
8733 * BufferView2.C: move LyXScreen into frontends/
8737 * lyx_gui.C: move lyxlookup into frontends/xforms/
8739 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8742 * BufferView_pimpl.C:
8752 * bufferview_funcs.C:
8765 * vc-backend.C: move LyX/XFormsView into frontends/
8767 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8779 * text2.C: move Painter to frontends/
8781 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * buffer.C: comment out some some code that depend upon lyx_format
8786 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8787 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8789 * buffer.h (NO_COMPABILITY): turn off compability
8791 * ColorHandler.C: include scoped_array.hpp
8793 * font.C: Use more specific smart_ptr header.
8796 * ShareContainer.h: ditto
8800 * BufferView_pimpl.h: ditto
8801 * ColorHandler.h: ditto
8803 * kbmap.C (defkey): change call to shared_ptr::reset
8805 2002-05-21 Juergen Vigna <jug@sad.it>
8807 * buffer.C (insertErtContents): fix to insert ert asis if it is
8808 non empty. Skip it completely if it contains only whitespaces.
8810 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8812 * BufferView_pimpl.C:
8813 * BufferView2.C: clear selection on paste (bug 393)
8815 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8817 * DepTable.C: include ctime
8819 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8821 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8823 2002-05-14 Juergen Vigna <jug@sad.it>
8825 * text.C (breakParagraph): fixed function to honor the keepempty
8826 layout in the right maner and also to permit the right breaking
8827 algorithm on empty or non empyt keepempty paragraphs.
8829 * paragraph.C (breakParagraph): we have to check also if the par
8830 is really empty (!size()) for isempty otherwise we do the wrong
8833 2002-05-10 Juergen Vigna <jug@sad.it>
8835 * buffer.[Ch] : The following are only changes to the ert
8836 compatibility read reading old LaTeX layout and font stuff and
8837 convert it to ERTInsets.
8839 * buffer.h: added isErtInset().
8841 * buffer.C (struct ErtComp): add a fromlayout bool to check
8842 if we're inside a LaTeX layout.
8843 (isErtInset): new helper function.
8844 (insertErtContents): look for other ert insets before this one
8845 and insert the contents there, so that we don't have subsequent
8846 ERT insets with nothing between them. This way we create only one
8847 inset with multiple paragraphs. Also check if we don't insert only
8848 spaces ' ' as they are ignored anyway afterwards in the .tex file
8849 so if we have only spaces we will ignore this latex part in the
8851 (parseSingleLyXformat2Token \\layout): better compatibility when
8852 reading layout-latex stuff.
8853 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8855 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8856 stuff after reading the inset only get the information back from
8859 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8861 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8863 * LaTeXFeatures.C (getBabelOptions): New method.
8865 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * BufferView_pimpl.C (Dispatch): work around missing argument for
8870 2002-05-08 Juergen Vigna <jug@sad.it>
8872 * text.C (leftMargin): handle paragraph leftindent.
8874 * paragraph.C (writeFile): write the new \\leftindent tag.
8875 (validate): handle leftindent code.
8876 (TeXEnvironment): handle paragraphleftindent code again.
8878 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8880 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8881 for paragrap_extra indent code and new token \\leftindent.
8882 (latexParagraphs): handle the leftindent as environment.
8884 * ParameterStruct.h: added leftindent support.
8886 * ParagraphParameters.C (leftIndent): added support functions for
8887 the paragraph left indent.
8889 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8892 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8894 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8897 * text.C (computeBidiTables): No bidi in insetERT.
8899 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8902 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * version.C.in: pre 5
8906 2002-05-02 José Matos <jamatos@fep.up.pt>
8907 * buffer.C (makeDocBookFile): white space changes, add newline to
8909 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8911 * tabular.C (docBook): fix typo.
8913 2002-05-03 Juergen Vigna <jug@sad.it>
8915 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8916 change in LyXText as we can not be sure it was not freed.
8917 (drawOneRow): remove unused code.
8919 * text.C (drawInset): redo the calculation of the need_break_row as
8920 it could have a row which was already freed.
8921 (draw): look at the return value of drawInset and return false if
8922 it also returned false.
8923 (paintRowText): look at the return value of draw and return false if
8924 it also returned false.
8926 * lyxtext.h: added bool return type to drawInset() and draw() so that
8927 if we have a change in the row so that the rowbreak has to be redone
8928 we abort drawing as it will be called again.
8930 2002-05-02 Juergen Vigna <jug@sad.it>
8932 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8933 a change in the maintext also if we're inside an inset.
8934 (Dispatch): set the cursor again after a break line and after the
8935 screen has been updated as it could be we're in a different row.
8937 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8938 to set the cursor behind the pargraph with > size().
8939 (setCursor): check also for the same paragraph when checking where
8940 to put the cursor if we have a NFR inset.
8942 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8943 parts of layout read further up as it still was in the wrong
8946 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * screen.C (drawFromTo): change sine fullRebreak always return
8951 * buffer.C (parseSingleLyXformat2Token): reindent some
8953 * BufferView_pimpl.C (update): change since fullRebreak always
8955 (Dispatch): git rid of the last hardcoded "Standard"s.
8957 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * text2.[Ch] (fullRebreak): make it return void now that we always
8962 2002-04-30 Juergen Vigna <jug@sad.it>
8964 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8965 ert compatibility check for "latex" layout.
8967 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8969 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8970 minipages: use col% instead of p%, and also use the current font.
8971 (makeLaTeXFile): Fix use babel condition.
8972 (parseSingleLyXformat2Token): Correct font when reading old floats.
8974 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8976 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8977 inserting list of floats.
8979 2002-04-25 Herbert Voss <voss@lyx.org>
8981 * MenuBackend.C (expand): don't add the graphics extensions to the
8984 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8987 non-existing layout, do not complain if it was the default layout
8988 of the original class (bug #342)
8990 2002-04-24 Juergen Vigna <jug@sad.it>
8992 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8993 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8995 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8997 * buffer.C (getBibkeyList): If using \bibliography, return the
8998 option field with the reference itself. Enables us to provide natbib
8999 support when using \bibliography.
9001 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9003 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9005 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9006 natbib is provided by the LaTeX class.
9008 2002-04-23 Juergen Vigna <jug@sad.it>
9010 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9013 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9015 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9017 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9019 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9020 ensuremath around textordmasculine, textordfeminine and
9023 2002-04-19 Juergen Vigna <jug@sad.it>
9025 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9026 reinitializing the buffer otherwise row-dimensions may be wrong.
9027 (update): reset also the selection cursors if they do exits otherwise
9028 their x/y positions may be wrong.
9030 * text2.C (cursorDown): don't enter the inset if we came from a row
9031 above and are one row over the inset.
9033 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9034 really leaving an inset.
9036 2002-04-18 Juergen Vigna <jug@sad.it>
9038 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9039 of the selected paragraph does not have the selected layout also if
9042 * text2.C (setLayout): fixed bug which did not change last selected
9045 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9046 changed the read and substituted \\end_float with \\end_inset!
9048 * BufferView_pimpl.C (cursorPrevious):
9049 (cursorNext): fixed to make it work with rows heigher than the work
9050 area without moving the cursor only the draw of the row.
9051 (workAreaMotionNotify): fix jumping over high rows.
9053 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9058 2002-04-16 Juergen Vigna <jug@sad.it>
9060 * text2.C (setCursor): set also the irow().
9061 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9063 (cursorDown): support for locking an inset if the x_fix value goes
9064 inside it. That way I can transverse insets too with cursor up/down.
9066 * lyxrow.h: added irow helper function same as other (i) functions.
9068 * BufferView_pimpl.C (cursorPrevious):
9069 (cursorNext): fixed for insets!
9071 2002-04-15 Juergen Vigna <jug@sad.it>
9073 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9074 position otherwise it is wrong in some cases.
9076 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9077 inside the inset before the call.
9079 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9081 * buffer.[Ch] (getBibkeyList): make it const.
9083 2002-04-12 Juergen Vigna <jug@sad.it>
9085 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9087 * text2.C (getCursorX): new helper function
9088 (setCursor): compute also ix_
9089 (setCursorFromCoordinates): set also ix.
9091 * lyxcursor.h: added ix_ and helper functions.
9093 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9095 * buffer.C (insertStringAsLines): dont break paragraph if the this
9096 paragraph is inside an inset which does not permit it!
9098 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9099 also with no chars on this paragraph.
9100 (paintRowText): only paint stuff if it's inside the workarea!
9102 * paragraph.C (breakParagraph): honor keepempty flag and break the
9103 paragraph always below not above.
9105 * BufferView2.C (unlockInset): update the paragraph layout on inset
9106 unlock as we changed paragraph in such a case.
9108 * lyxfind.C (LyXFind): clear the former selection if not found!
9110 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9111 again called in insertChar().
9113 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9114 an inset which uses the whole row!
9115 (rightMargin): ditto.
9116 (insertChar): force a rebreak if we inserted an inset!
9118 2002-03-28 Herbert Voss <voss@lyx.org>
9120 * lyxlength.[Ch]: add inBP() to get the right PS-point
9121 units (BigPoint). With inPixels we have rounding errors
9123 2002-04-11 Juergen Vigna <jug@sad.it>
9125 * text2.C (setCursorFromCoordinates): set iy to the right value.
9126 (setCursor): add check if row->previous exists!
9128 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9129 an old float_type as this was the case in the old code!
9131 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9133 * BufferView2.C (showLockedInsetCursor): use iy
9134 (fitLockedInsetCursor): ditto
9136 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9137 locked insets as there we have the right value now.
9139 * lyxcursor.C: added iy_ variable and iy functions to set to the
9140 baseline of cursor-y of the locked inset.
9142 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9143 (setCursor): fixed for insets which need a full row.
9145 * text.C (rowLastPrintable): don't ignore the last space when before
9146 an inset which needs a full row.
9147 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9148 as last character of a row when before a inset which needs a full row.
9150 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9152 * version.C.in: update date
9154 * text2.C (fullRebreak): try to always return true and see what
9157 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * MenuBackend.C (expand): use Floating::listName
9161 * FloatList.C (FloatList): add listName argument to the built-in
9164 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9165 text associated with the float.
9167 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9169 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9171 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * ShareContainer.h: add a couple of missing typenames.
9175 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9177 * lyxrc.C (getDescription): use _() correctly rather than N_().
9179 2002-03-28 Herbert Voss <voss@lyx.org>
9181 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9182 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9184 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9187 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9189 2002-03-29 Juergen Vigna <jug@sad.it>
9191 * lyxfunc.C (dispatch): add a missing fitCursor call.
9193 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9194 it was scrolled by a cursor move, so return the bool status.
9196 * BufferView.C (fitCursor): return the bool flag also to the outside
9197 world as this is needed.
9199 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9201 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9202 call the edit() as it is not needed (and wrong) IMO.
9203 (workAreaButtonPress): set the screen_first variable before evt.
9204 unlock the inset as this may change screen_first and then we have
9205 a wrong y position for the click!
9207 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9209 * MenuBackend.C (expand): another translation that I missed
9211 2002-03-28 Juergen Vigna <jug@sad.it>
9213 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9215 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9217 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9219 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9221 * MenuBackend.C (expand): fix export/view/update when there is no
9224 2002-03-27 Herbert Voss <voss@lyx.org>
9226 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9229 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9231 * bufferview_funcs.C (currentState): only show paragraph number
9232 for is DEVEL_VERSION is set.
9234 * lyxfunc.C (dispatch): put warning in INFO channel
9236 * MenuBackend.C (expand): translate the name of floats
9238 * FloatList.C (FloatList): mark the float names for translation
9240 * converter.C (convert): use LibScriptSearch
9242 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9244 * MenuBackend.C (defaults): fix default menu (we might as well get
9247 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9252 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9254 * lyxvc.C: reorder includes.
9256 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9258 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9261 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9263 * CutAndPaste.C: change layouts earlier on paste
9264 to avoid crashing when calling getFont()
9266 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9268 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9271 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9273 * WorkArea.C: remove 'Pending' debug message.
9275 * most files: ws cleanup
9277 * buffer.[Ch]: ws changes
9279 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9281 2002-03-21 Juergen Vigna <jug@sad.it>
9283 * tabular.C (SetMultiColumn): collapse also the contents of the
9284 cells and set the last border right. Added a Buffer const * param.
9286 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9291 2002-03-19 Juergen Vigna <jug@sad.it>
9293 * text2.C (clearSelection): reset also xsel_cache.
9295 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9296 where it needs to be called (John tells us to do so too :)
9297 (selectionLost): reset sel_cache.
9299 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9301 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9303 * text2.C (setCursorIntern): put debuging code in INSETS channel
9305 2002-03-19 André Pönitz <poenitz@gmx.net>
9307 * lyxfunc.C: tiny whitespace change
9309 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * ToolbarDefaults.C (init):
9312 * LyXAction.C (init):
9314 * BufferView_pimpl.C (Dispatch):
9315 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9317 2002-03-19 Allan Rae <rae@lyx.org>
9319 * exporter.C (Export): removeAutoInsets before doing anything else.
9320 While I've just introduced a dependency on BufferView this really is
9321 the best place to clean the buffer otherwise you need to cleanup in
9322 a dozen places before calling export or cleanup in a dozen functions
9325 * converter.C (runLaTeX):
9326 (scanLog): Better handling of removeAutoInsets and screen updates.
9328 * lyxfunc.C (dispatch): small whitespace changes
9330 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9332 * WorkArea.C (C_WorkAreaEvent): return a value.
9333 (event_cb): return 1 if we handled the event, 0 otherwise.
9335 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9337 2002-03-18 Juergen Vigna <jug@sad.it>
9339 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9340 (GetAdditionalWidth): ditto.
9344 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9345 inset if we're there actually (probably not used right now but this
9346 is the direction to go for unifying code).
9347 (paste): disable code to clear the selection.
9349 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9350 inside an InsetText and move the check further up as it is in the
9353 * text2.C (pasteSelection): set a selection over the pasted text.
9355 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9357 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9358 and libgraphics to build on Cygwin.
9360 2002-03-15 Juergen Vigna <jug@sad.it>
9362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9363 inserting an Inset into the paragraph. I know this is not the best
9364 fix but we already use current_view in CutAndPaste so we will remove
9365 all of it's using at the same time.
9367 * buffer.C (sgmlError): deactivated function till it is rewritten in
9368 the right mode, now it can create problems.
9370 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9371 before accessing it.
9373 2002-03-14 Juergen Vigna <jug@sad.it>
9375 * undo_funcs.C (textHandleUndo): do the right thing when updating
9376 the inset after the undo/redo.
9378 * text2.C (setCursor): just some testcode for #44 not ready yet.
9380 * undo_funcs.C (textHandleUndo): set the next() and previous()
9381 pointers of the paragraph to 0 before deleting otherwise we have
9382 problems with the Paragraph::[destructor].
9384 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9385 on a paragraph insertion.
9387 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * buffer.C (asciiParagraph): use += operator for char append to
9392 * paragraph.C (getFontSettings): compare >= not just >
9393 (highestFontInRange): ditto
9396 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * paragraph.C: change several algorithm to be more appripriate for
9399 the problem domain. This is lookip in FontList and in the InsetList.
9401 2002-03-13 André Pönitz <poenitz@gmx.net>
9404 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9406 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9411 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9413 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * Painter.C (display): anon helper function, adjust code for this
9417 (pixmap): remove function.
9419 * Painter.h: remove private display variable.
9421 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9423 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9425 * WorkArea.[Ch]: remove figinset_canvas cruft.
9427 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * lyxtextclass.C (operator): add one item cache optimization.
9431 * bufferlist.h: doxy changes
9433 * bufferlist.C: ws changes
9435 * DepTable.[Ch] (ext_exist): place const in the right spot.
9437 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9439 (workAreaExpose): call resizeInsets when the with BufferView changes.
9440 (Dispatch): adjust for protectedBlank removal
9441 (specialChar): call updateInset if the insert went ok.
9443 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9444 specialChar instead.
9446 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9448 * BufferView.h: doxy change
9450 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9452 * lyxtextclass.C (operator[]): remove non-const version
9453 (defaultLayout): remove non-const version
9455 2002-03-12 Juergen Vigna <jug@sad.it>
9457 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9458 did resize the LyXText too.
9460 * buffer.C (readLyXformat2): set layout information on newly allocated
9463 * tabular.C (OldFormatRead): set layout information on the paragraph.
9465 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9467 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9469 2002-03-11 Juergen Vigna <jug@sad.it>
9471 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9473 (resizeCurrentBuffer): force also the insets to resize themselfes.
9474 (moveCursorUpdate): fixed up for InsetText.
9476 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9479 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9480 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9481 value of Dialogs::tooltipsEnabled().
9482 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9484 2002-03-08 Juergen Vigna <jug@sad.it>
9486 * BufferView_pimpl.C (updateInset): update inset inside inset also
9487 if it isn't inside theLockingInset().
9489 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * buffer.C (asciiParagraph): redo some of the word and line length
9493 (getLists): look for Caption instead of caption.
9495 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9497 * buffer.C (Buffer): initialize niceFile to true
9500 (makeDocBookFile): make sure niceFile is true on exit
9502 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9506 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9508 * LyXSendto.C: remove.
9509 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9510 * lyx_gui.C: remove now-redundant comment.
9511 * ColorHandler.h: remove forward declaration of class WorkArea.
9512 * lyxfunc.C: remove #include "WorkArea.h".
9514 2002-03-07 Juergen Vigna <jug@sad.it>
9516 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9517 got moved away with the DEPM and also set the inset_owner always
9518 right which before could have been omitted.
9520 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9522 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9523 wanted layout is not found.
9525 2002-03-07 Juergen Vigna <jug@sad.it>
9527 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9529 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * paragraph.C (breakParagraph): use default layout not layout of
9533 (Paragraph): clear ParagraphParameters.
9535 2002-03-06 Juergen Vigna <jug@sad.it>
9537 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9538 otherwise it would not be a valid lenght. Fixed a special case in
9539 the minipage compatibility read where we end the document with a
9542 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9543 was set as it could be 0 for InsetTexts first entry.
9545 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * paragraph.C (writeFile): if layout is empty write out
9548 defaultLayoutName().
9550 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9551 file without named layout we set layout to defaultLayoutName().
9553 2002-03-06 Juergen Vigna <jug@sad.it>
9555 * CutAndPaste.C (copySelection): set layout for new paragraph.
9557 * text.C (prepareToPrint): leave ERT inset left aligned
9558 (leftMargin): don't indent paragraphs inside ERT insets
9560 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9562 * paragraph.C (breakParagraph): dont call clear do the work manually
9564 * paragraph.[Ch] (clear): remove function
9566 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9568 * paragraph.C (Paragraph): dont call clear, the work has already
9571 * lyxtextclass.C (operator): assert if n is empty
9573 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9574 work manually instead.
9576 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9578 * BufferView_pimpl.C: protect selectionLost against text == 0
9580 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * text.C (breakParagraph): fix a setting layout to '0' problem.
9584 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9586 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9587 final location of file, for the included files, and graphics.
9589 2002-03-05 Juergen Vigna <jug@sad.it>
9591 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9593 2002-03-04 Juergen Vigna <jug@sad.it>
9595 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9597 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9598 last column of multicolumn cells.
9599 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9601 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9603 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9604 file if it doesn't go to a temporary file.
9606 * buffer.C (sgmlOpenTag):
9607 (sgmlCloseTag): remove extra newline insertion.
9609 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * text.C (getRowNearY): comment out debug msg
9613 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * text2.C: first -> first_y
9617 * text.C (getRowNearY): add some attemts at a possible
9618 optimization, not working.
9620 * tabular.[Ch]: add BufferParams to several function so that newly
9621 created paragraph can be initialized to he default layotu for the
9624 * tabular-old.C (ReadOld): add buf->params to call of Init
9626 * screen.C: rename text->first to text->first_y
9628 * paragraph.C (breakParagraph): always set layout in the broken
9631 * lyxtextclass.C (Read): remove lowercase
9634 (delete_layout): ditto
9636 * lyxtext.h: rename first -> first_y
9638 * lyxlayout.C (Read): remove lowercase
9641 (obsoleted_by): ditto
9643 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9645 * buffer.C (insertErtContents): add params are to InsetERT
9646 (parseSingleLyXformat2Token): add code to check if a paragraphs
9647 layout really exist.
9648 (parseSingleLyXformat2Token): add params to several inset
9650 (asciiParagraph): remove lowercase, do the layout comparisons with
9653 * BufferView_pimpl.C (cursorNext): first -> first_y
9654 (resizeCurrentBuffer): first -> first_y
9655 (updateScrollbar): first -> first_y
9656 (scrollCB): first -> first_y
9657 (workAreaMotionNotify): first -> first_y
9658 (workAreaButtonPress): first -> first_y
9659 (checkInsetHit): first -> first_y
9660 (cursorPrevious): first -> first_y
9661 (cursorNext): first -> first_y
9662 (Dispatch): add buffer_->params to severl inset contructors
9664 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9666 * lyxlayout.C (Read): remove some debug info that I forgot.
9668 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9669 clean up the code slightly.
9670 (makeLinuxDocFile): ditto
9671 (makeDocBookFile): ditto
9673 * text2.C: layout as string
9675 * text.C: layout as string
9677 * paragraph_pimpl.C: layout as string
9679 * paragraph.[Ch]: layout as string
9681 * lyxtextclasslist.[Ch]: layout as string
9683 * lyxtextclass.[Ch]: layout as string
9685 * lyxtext.h: layout as string
9687 * lyxlayout.[Ch]: layout as string
9689 * lyx_cb.C: layout as string
9691 * bufferview_funcs.C: layout as string
9693 * bufferparams.C: layout as string
9695 * buffer.C: layout as string
9697 * LyXView.[Ch]: layout as string
9699 * LaTeXFeatures.[Ch]: layout as string
9701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9703 * BufferView_pimpl.C: change current_layout to string, remove
9708 (workAreaButtonRelease): layout as string
9710 * BufferView2.C (unlockInset): adjust
9712 * vspace.C (asLatexCommand): use an explict temp variable.
9714 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9716 * Makefile.am: use FRONTEND_*
9718 2002-03-01 Juergen Vigna <jug@sad.it>
9720 * tabular.C (SetWidthOfMulticolCell): changed to something better
9721 I hope but still work in progress.
9722 (recalculateMulticolumnsOfColumn): renamed function from
9723 recalculateMulticolCells as it is more appropriate now.
9724 (SetWidthOfCell): calculate multicols better.
9726 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9730 * lyxfunc.C (processKeySym): print sequence also if it is
9731 `deleted' (complete)
9733 * kbsequence.C (print): print sequence even if it is deleted
9734 (complete would be a better word, actually).
9736 * lyxfunc.C (dispatch): print complete options after a prefix key
9738 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9740 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9742 * text2.C (setCharFont): eliminate setCharFont code duplication.
9744 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9747 LFUN_TABULAR_FEATURE (bug #177)
9749 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9751 * Makefile.am: remove figure.h
9753 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9755 * Bufferview_pimpl.C:
9767 * text2.C: remove #include "lyx_gui_misc.h".
9769 * LaTeX.C: added #include <cstdio>
9771 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9774 that the paragraph following this one can have.
9776 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9778 * vspace.C (asLatexCommand): fix bogus gcc warning
9780 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9782 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9784 * text2.C (setLayout): get rid of redundant code
9786 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9788 * text2.C (incDepth): make sure depth cannot be increased beyond
9791 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9793 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9794 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9796 * PainterBase.h (image):
9797 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9800 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9804 * BufferView_pimpl.C:
9805 * BufferView_pimpl.h:
9825 * sp_spell.C: remove fig inset, and the crap house of
9826 cards that follows it
9828 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9834 * nt_defines.h: move .h into support/
9836 * vms_defines.h: remove
9838 * WorkArea.C: add space in debug output
9842 * buffer.C: add WITH_WARNINGS
9846 * bufferlist.C: s/retrive/retrieve/, add docs
9857 * lyxgui.C: add ID to X error handler
9859 * lyxtestclass.c: fix typo
9861 2002-02-26 Juergen Vigna <jug@sad.it>
9863 * tabular_funcs.C (write_attribute): changed so that some default
9864 attributes are not written at all.
9865 (getTokenValue): set default values before trying to read the
9866 value so we have the return value always set as default if we don't
9867 find the token we search for.
9869 * tabular.C (Write): write bools as bools not as strings!
9871 2002-02-22 Juergen Vigna <jug@sad.it>
9873 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9874 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9876 * text.C (leftMargin): don't add an indent for paragraphs inside
9877 tabular cells (fix #208).
9879 2002-02-21 José Matos <jamatos@fep.up.pt>
9881 * tabular.C (docBook): fixed support for long tables.
9883 2002-02-20 Juergen Vigna <jug@sad.it>
9885 * text2.C (getFont): get the drawing font of the Inset if this
9886 paragraph is inside an inset (only important for InsetERT for now).
9888 * buffer.C (insertErtContents): use new lanugage params in ERT
9891 * CutAndPaste.C: commenting out seemingly uneeded code.
9893 2002-02-19 Allan Rae <rae@lyx.org>
9895 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9896 Iterators might be simple to use but they also get invalidated.
9897 (removeAutoInsets): renamed saved cursor tracking variables and added
9898 some comments to clarify what everything does.
9900 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9907 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9908 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9911 * vc-backend.h: remove #include "support/syscall.h"
9915 * converter.C: rearrange #includes in Lars' approved fashion.
9917 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9918 forward declare class Timeout in the header file.
9920 * XFormsView.C: changes due to the above.
9922 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9925 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9926 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9928 2002-02-18 José Matos <jamatos@fep.up.pt>
9930 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9933 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9935 * a lot of small ws changes
9936 * add a lot of using std::XXX
9937 * use std construcs some places where approp.
9938 * use some exisint stuff from lyxfunctional where approp.
9939 * Make file changes to use partial linking (lets test this now...)
9941 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9945 remove #include "support/syscontr.h" as it's redundant. Always has been.
9953 change Systemcalls::System to Systemcalls::Wait and
9954 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9955 No change of functionality, just reflects the stripped down Systemcalls
9958 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9960 * debug.[Ch]: add a GRAPHICS type to the enum.
9962 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9966 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9969 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9972 match the changes below.
9974 * text2.C (toggleInset): if there is not editable inset at cursor
9975 position, try to see if cursor is _inside_ a collapsable inset
9978 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9981 document menu has a nice checkbox
9983 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * lyxlength.C (asLatexString): change PW to output as percent of
9988 * lengthcommon.C: change '%' to 't%'
9990 * lyxfunc.C (dispatch): a few comments from Martin
9992 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.h:
9997 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10000 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10002 * vspace.C (inPixels): fix compiler warning
10004 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * lyxfunc.C (getStatus): fix status message for disabled commands.
10008 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10010 * BufferView_pimpl.C: fix crash on close buffer
10011 during selection (#227)
10013 2002-01-27 Herbert Voss <voss@lyx.org>
10015 * buffer.C: link old Figure to new graphic inset
10017 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10019 * FontLoader.C (getFontinfo): Change the latex font names in order
10020 to match the names of type1inst.
10022 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10024 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10026 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10027 (extchanged): ditto
10029 (remove_files_with_extension): ditto
10030 (remove_file): ditto
10033 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10034 document is smaller than the work area height. Do not initialize
10035 static variables to 0.
10037 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10041 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10042 LFUN_LAYOUT_PARAGRAPHS.
10044 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10045 tabular. It is possible to provide a possible cell, which will
10046 typically be the actcell from the corresponding insettabular
10048 * lyxfunc.C (getStatus): small cleanup; disable
10049 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10052 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10056 * paragraph.C (startTeXParParams):
10057 (endTeXParParams): new methods. The LaTeX code to
10058 start/end paragraph formatting
10059 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10060 empty (fixes bug #200)
10062 * vspace.C (inPixels): adapt to the change below
10063 (inPixels): [later] more cleanups (remove unused variables)
10065 * lyxlength.C (inPixels): change to use a width and a height as
10068 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10071 Replaced with \paperwidth
10073 * DepTable.C (insert): add std:: qualifier
10075 2002-01-18 Allan Rae <rae@lyx.org>
10077 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10080 * text.C (drawInset): Turned out I didn't know enough about how
10081 rebreaking worked. This fixes most of the redraw problems. I see
10082 an occasional cursor trail when a line is broken now and the cursor
10083 placement can seem out by a few pixels also after a rebreak.
10085 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10087 * buffer.C (parseSingleLyXformat2Token): update because minipage
10088 width is now a LyXLength
10090 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10092 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10095 2002-01-17 Juergen Vigna <jug@sad.it>
10097 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10099 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10100 is set correctly and the inset is updated correctly.
10102 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10105 the beginning of the loop.
10107 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10109 * lyxrc.C: improve help for use_scalable_fonts
10111 2002-01-17 Allan Rae <rae@lyx.org>
10113 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10115 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10117 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10118 make sure to set their inset_owner to the right value (bug #171)
10120 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10123 * DepTable.C: Implement mtime checking to reduce time spent doing
10126 2002-01-16 Juergen Vigna <jug@sad.it>
10128 * tabular.C (GetAdditionalHeight): one of error fixed.
10130 * lyxrc.C (output): small fix in writing use_pspell.
10132 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10134 * sp_base.h: #include LString.h
10136 2002-01-16 Allan Rae <rae@lyx.org>
10138 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10139 Can someone check this please?
10141 * text.C (drawInset): It was possible that p.row would be removed by
10142 breakAgainOneRow upsetting a few other settings. There may be another
10143 small tweak possible by setting need_break_row = 0 when p.row has been
10144 removed but I don't know enough about the logic here.
10146 2002-01-15 Allan Rae <rae@lyx.org>
10148 * text.C (insertChar): removed conditional truism.
10150 * BufferView2.C (removeAutoInsets): More tweaks.
10151 cur_par_prev could be a stray pointer. Check for trailing empty line
10152 in case last line was cur_par and only had an error inset on it.
10154 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10156 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10159 * vc-backend.C (most methods):
10160 * exporter.C (Export):
10161 * converter.C (convert):
10163 * LyXSendto.C (SendtoApplyCB):
10164 * lyxfunc.C (dispatch):
10168 * lyx_cb.C (AutoSave):
10170 * BufferView_pimpl.C (MenuInsertLyXFile):
10171 * buffer.C (runChktex): use Buffer::filePath().
10173 * buffer.h: rename filename to filename_; rename filepath to
10174 filepath_ and make it private
10175 (filePath): new method
10177 * buffer.C (writeFile): use fileName()
10180 * lyx_main.C (init): fix starting of LyX when the binary is a
10181 link from so,ewhere else.
10183 * minibuffer.C: include <cctype> for isprint
10185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10187 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10188 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10189 name clash with InsetCollapsable's width function.
10191 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * lastfiles.C: include <iterator>
10195 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10197 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10200 * buffer.C (makeLaTeXFile): ditto.
10201 Also make loop operation more transparent.
10203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10205 * ToolbarDefaults.C: remove trailing comma closing namespace.
10207 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10209 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10212 * trans.C (Load): comment out unused variable, allowed.
10214 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10216 * minibuffer.[Ch] (append_char): new method to recieve input from the
10217 drop-down completion browser. If a key was pressed, then recieve this
10218 char and append it to the existing string.
10219 (peek_event): modify the positioning data passed to the completion
10220 browser so that it can be placed above the minibuffer rather than below.
10221 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * LyXAction.C (init): alloe error-next for readonly documents.
10225 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10228 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10230 * bufferlist.C (readFile): create the buffer _after_ checking that
10233 * lyxfunc.C (verboseDispatch): fix handling of arguments
10235 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10237 * lyxrc.C: use string::erase() instead of initializing to "".
10240 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10242 * BufferView_pimpl.h:
10243 * BufferView_pimpl.C:
10246 * text2.C: tell X when we have made a selection for copying
10248 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * BufferView_pimpl.C (MenuInsertLyXFile):
10251 * lyxfunc.C (menuNew):
10253 (doImport): add shortcuts to directory buttons
10255 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10258 * lyxfunc.C (setStatusMessage):
10259 (getStatusMessage): new methods
10260 (getStatus):use setStatusMessage instead of setErrorMessage
10261 (dispatch): when function is disabled, set error message here
10262 [instead of in getStatus previously]
10264 * BufferView_pimpl.C (workAreaButtonRelease): update
10265 toolbar/menubar here too.
10267 2002-01-13 Allan Rae <rae@lyx.org>
10269 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10270 Now seems indestructible. Remaining task is to audit all other
10271 code affected by deleteEmptyParagraphMechanism. One small quirk
10272 left is that an empty document with an error in the preamble can
10273 be made to report an error but no error box appears. I don't know
10275 (removeAutoInsets): Improved comments.
10277 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10280 * Thesaurus.C: update for Aiksaurus 0.14
10282 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10284 * text2.C (firstParagraph): removed member function, all uses
10285 replaces with ownerParagraph
10286 (redoParagraphs): here
10287 (updateInset): here
10288 (toggleAppendix): here
10289 * BufferView2.C (insertErrors): here
10290 (setCursorFromRow): here
10292 2002-01-13 Allan Rae <rae@lyx.org>
10294 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10295 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10296 There is still a way to segfault this although you may have to do this
10297 multiple times: Have an InsetERT with an unknown command in it.
10298 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10299 <down-arrow>, <Enter> again, View->DVI, BANG!
10301 * text2.C (setCursor):
10302 (deleteEmptyParagraphMechanism):
10303 * lyxtext.h (setCursor):
10304 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10305 Making use of the return value may help fix other bugs.
10307 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10311 * LyXView.C (updateMenubar): call MenuBar::update here
10312 (updateToolbar): but not here
10313 (showState): do not update toolbar/menubar
10315 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10316 should need to care about that.
10318 * lyxfunc.C (verboseDispatch): simplify a bit
10319 (getStatus): have a version which takes a pseudoaction, and
10320 another which requires a (kb_action,string).
10322 * LyXAction.C (retrieveActionArg): make it work also when action
10323 is not a pseudo-action.
10324 (getActionName): simplify a bit
10327 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * lyxfunc.C (verboseDispatch): new families of methods with
10330 several ways to specify a command and a bool to indicate whether
10331 the command name and shortcut should be displayed in minibuffer
10332 (eventually, we could extend that to a finer bitmask like
10333 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10334 (dispatch): the pristine dispatch command which just, well,
10335 dispatchs! Note it still sets its result to minibuffer; I'm not
10338 * lyxfunc.h: remove setHintMessage
10340 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10342 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10344 * BufferView_pimpl.C (specialChar): delete new inset if we have
10345 not been able to insert it.
10347 * kbmap.C: revert to using int instead of kb_action, since all we
10348 are dealing with is pseudo-actions.
10350 * LyXAction.C (searchActionArg): change to return int instead of
10351 kb_action, since the result is a pseudoaction.
10353 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10355 * buffer.C (insertErtContents): Fix (partially) the font bug.
10357 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10359 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10360 as the other one is broken on my machine!
10362 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10365 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10367 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10369 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10370 reflect their actual use. Provide compatibility code for older lyxrc
10373 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10375 change names of popup font variables in line with the changes to lyxrc.C
10377 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10379 * buffer.C (asciiParagraph): avoid outputing a word twice after
10382 * lyxrc.C (getDescription): document that document_path and
10383 template_path can be empty.
10385 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * LaTeXFeatures.C (getMacros):
10388 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10390 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10392 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10394 (getPackages): rename feature "floats" to "float". Use an array to
10395 iterate over 'simple' features (i.e. just a \usepackage). Add
10396 handling of "amsmath" (renamed from "amsstyle").
10398 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10400 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10403 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10405 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10406 FuncStaus::FuncStatus & FuncStaus::some_method().
10408 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10410 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10411 of the func_satus stuff. Edited and massaged in various ways by
10414 * lyxfunc.C (getStatus): use FuncStatus
10416 2002-01-08 Juergen Vigna <jug@sad.it>
10418 * text.C (nextBreakPoint): use function Inset::isChar().
10420 * paragraph.C (TeXOnePar): use function
10421 Inset::forceDefaultParagraphs.
10423 * buffer.C (latexParagraphs): use function
10424 Inset::forceDefaultParagraphs.
10426 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10428 * lyx_gui.C (init): set the style of the menu popups to
10429 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10431 2002-01-07 Juergen Vigna <jug@sad.it>
10433 * text.C (setHeightOfRow): small fix
10434 (prepareToPrint): don't look at alignment if we don't have the place
10437 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10439 * box.C: New file. Move the Box methods and functions out of box.h,
10440 following Lars' suggestion.
10442 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10444 * box.h: #include "support/LOstream.h", needed for inlined function.
10447 * lyxtextclasslist.C: added some using std declarations.
10449 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10451 * box.h: make signed dimensions to allow insets wider than
10452 the screen (bug #162)
10454 * BufferView_pimpl.C: add some insetHit debug
10456 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10458 * vc-backend.C: add FIXME
10460 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10462 * lyxfunc.C (getStatus): enable code for showing math font status
10465 2002-01-07 Juergen Vigna <jug@sad.it>
10467 * text.C (nextBreakPoint): removed debug output not needed anymore.
10469 2002-01-06 Juergen Vigna <jug@sad.it>
10471 * text.C (nextBreakPoint): fixed up this function we had this bug
10472 since ever but now hopefully we break row better.
10473 (insertChar): we have to check if an inset is the next char as it
10474 could now happen that a large inset is causing a break.
10476 2002-01-05 Juergen Vigna <jug@sad.it>
10478 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10479 if it doesn't like to be drawed.
10481 2002-01-04 Juergen Vigna <jug@sad.it>
10483 * BufferView2.C (lockInset): forgot to set a cursor.
10485 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10487 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10489 * FormMathsPanel.C:
10492 * form_maths_panel.C:
10493 * form_maths_panel.h:
10494 * form_maths_panel.fd: implemented sub- and super- buttons in math
10497 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10498 (or ^ space) to be used as in TeX (req'd by André).
10500 * lyxfunc.C: Allow ^ and _ again to be used both as
10501 super/subscript (mathed) and as themselves (in text).
10503 2002-01-03 Allan Rae <rae@lyx.org>
10505 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10506 "LyX" or the filename of the current buffer if it has one. This is a
10507 modified form of John Levon's patch.
10509 * XFormsView.C (setWindowTitle): also set icon title.
10511 * LyXView.h (setWindowTitle): signature changed.
10512 * XFormsView.h (setWindowTitle): ditto.
10514 2002-01-02 Juergen Vigna <jug@sad.it>
10516 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10518 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10520 * screen.C (topCursorVisible): introduce a temp var for
10521 text->cursor.row(), handle the case where this row is null. (kindo
10524 * text2.C (setCursor): add a couple of asserts.
10526 * paragraph.h (inset_iterator): add -> operator
10528 * paragraph.[Ch] (autoDeleteInsets): remove member function
10530 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10531 cursor pos correctly and handle inset deletion by itself.
10532 (insertErrors): move iterator declaration out of for expression
10534 * lyxtextclass.C: add <algorithm>
10536 * Makefile.am: added the new files to sources, removed layout.C
10538 * layout.C: removed file
10540 * layout.h: remove LYX_DUMMY_LAYOUT
10542 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10546 * lyxtextclass.[Ch]:
10547 * lyxtextclasslist.[Ch]: new files
10549 * include order changes to a lot of files, also changes because of
10552 2001-12-27 Juergen Vigna <jug@sad.it>
10554 * buffer.C (asciiParagraph): more fixes.
10556 * tabular.C (ascii): make ascii export support export of only the
10557 data separated by a column-delimiter.
10558 (ascii): better support for ascii export.
10560 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10562 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10564 * tabular_funcs.C: use a "using std::getline" instead of the
10565 previous fix from Angus (necessary for cxx + lyxstring)
10567 2001-12-24 Juergen Vigna <jug@sad.it>
10569 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10571 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10572 problems. First check a minipage also if we have some ert-contents
10573 (not only on par->size(), second set the right depth of the paragraph
10574 on the relink to the root-paragraph-list!
10576 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10577 which then did not anymore update the main paragraphs on undo/redo!
10579 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10581 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10582 code. Support all font-changing funcs (even those which are not in
10583 menu currently). Support for reporting font settings in
10584 mathed (disabled until Andre provides a function on mathed's side).
10586 * func_status.h (toggle): small helper function to set toggle
10589 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10591 * tabular_funcs.C: getline -> std::getline
10593 2001-12-21 Juergen Vigna <jug@sad.it>
10595 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10596 accessed and could be 0 (I couldn't generate this but it seems
10599 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10602 * tabular_funcs.h: here and include iosfwd
10604 2001-12-20 Juergen Vigna <jug@sad.it>
10606 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10607 inside inset but undo_par was.
10609 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10611 * Thesaurus.C: always include <config.h> in sources.
10615 * box.h: do not include <config.h> in header files
10617 * text.C (paintLastRow): remove unused variable
10619 * text.C (transformChar):
10621 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10623 * Painter.C (text):
10624 * font.C (width): rewrite to use uppercase() instead of
10627 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10629 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10631 * lyxfind.C: clean up of find failure position change
10633 2001-12-20 Juergen Vigna <jug@sad.it>
10635 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10637 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10638 (TeXRow): added to LaTeX a single tabular row.
10639 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10640 (Latex): simplified and finally good LT-h/f support.
10641 (various_functions): just small adaptions for LT-h/f support.
10643 * tabular_funcs.[hC]: added and moved here all not classfunctions
10646 2001-12-19 Juergen Vigna <jug@sad.it>
10648 * tabular.[Ch]: better support for longtabular options (not finished
10651 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * text.C (paintLastRow): use the label font instead of the font of
10654 the last character to compute the size of *_BOX. This makes more
10655 sense and avoids a crash with empty paragraphs.
10656 Use Painter::rectangle to draw EMPTY_BOX.
10658 2001-12-19 Juergen Vigna <jug@sad.it>
10660 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10661 the paragraphs if the replaced paragraph is not the first one!
10662 Tried to delete not used paragraphs but does not work yet so for
10663 now it's inside #ifdef's and by default off!
10665 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * MenuBackend.C: include "lyx_main.h" instead of declaring
10668 lastfiles (actually was declared as LastFiles* instead of a
10671 2001-12-17 Juergen Vigna <jug@sad.it>
10673 * tabular.C (AppendColumn): applied John's fix
10675 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10679 * BufferView_pimpl.h:
10680 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10683 * box.h: new start of class for above
10685 * lyxfunc.C: ignore space-only minibuffer dispatches.
10686 Show the command name when it doesn't exist
10688 * minibuffer.C: don't add empty lines to the history
10690 * minibuffer.C: add a space on dropdown completion
10692 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10694 * text.C: fix line above/below drawing in insets
10696 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * lyxlength.C (LyXLength): Initialize private variables.
10700 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10703 when inserting error insets.
10705 2001-12-13 Juergen Vigna <jug@sad.it>
10707 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10708 actually sometimes the before-paragraph.
10709 (setUndo): don't clear the redostack if we're not actually undoing!
10711 2001-12-06 Juergen Vigna <jug@sad.it>
10713 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10714 and fixed redoing of main paragraph, so we can use it now ;)
10716 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10718 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10723 2001-12-13 André Pönitz <poenitz@gmx.net>
10726 * undo_func.C: minor cleanup
10728 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10730 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10731 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10732 font in urw-fonts package which is marked as -urw-fontspecific and
10733 does not work (incidentally, changing the encoding in the
10734 fonts.dir of this package to -adobe-fontspecific fixes the
10737 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10738 is a crash when undoing first paragraph (Juergen, please take a
10739 look). THis does not mean the undo fix is wrong, just that it
10742 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10743 the (Paragraph*) version when needed instead of duplicating the
10746 * text.C (workWidth): use Inset::parOwner to find out where the
10747 inset has been inserted. This is a huge performance gain for large
10748 documents with lots of insets. If Inset::parOwner is not set, fall
10749 back on the brute force method
10751 * paragraph_pimpl.C (insertInset):
10752 * paragraph.C (Paragraph):
10753 (cutIntoMinibuffer): set parOwner of insets when
10754 inserting/removing them
10756 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10758 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10764 * mathed/formulabase.C:
10765 * mathed/math_cursor.[Ch]:
10766 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10769 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10771 * lyxlength.[Ch] (operator!=): new function
10773 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * text.C (workWidth): use Inset::parOwner to find out where the
10776 inset has been inserted. This is a huge performance gain for large
10777 documents with lots of insets. If Inset::parOwner is not set, fall
10778 back on the brute force method
10780 * paragraph_pimpl.C (insertInset):
10781 * paragraph.C (Paragraph):
10782 (cutIntoMinibuffer): set parOwner of insets when
10783 inserting/removing them
10785 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10787 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * tabular-old.C (getTokenValue):
10790 * tabular.C (getTokenValue):
10791 (write_attribute): new versions for LyXLength
10792 (everywhere): adjust the use of widths
10794 * tabular.h: change the type of widths from string to LyXLength
10796 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10798 * paragraph.C: fixed missing line number count when exporting
10799 Environments to LaTeX file
10801 * buffer.C: added informational message for checking line numbers.
10803 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10806 paragraph, do the 'double space' part, but not the 'empty
10809 * text.C (workWidth): small optimization
10810 (getLengthMarkerHeight): use minimal size for negative lengths.
10812 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10814 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10816 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10818 2001-12-11 André Pönitz <poenitz@gmx.net>
10821 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10823 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10825 * text2.C: keep selection on a setFont()
10827 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10829 * lyx_cb.C: another bv->text misuse, from insert label
10831 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10834 * kbsequence.C: re-instate nmodifier mask
10836 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10838 * lyx_main.h: make lyxGUI private.
10840 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10842 * lyxfind.C: place the cursor correctly on failed search
10844 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10846 * text.C (getLengthMarkerHeight): for small heights, the arrows
10847 are not always on top/bottom of the text
10848 (drawLengthMarker): smaller arrows; take the left margin in
10849 account; draw also vfills.
10851 (paintLastRow): remove special code for vfill and standard spaces,
10852 since everything is handled in drawLengthMarker now.
10854 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * buffer.C (insertErtContents): try to handle font and language
10857 interaction a bit better.g
10859 * ColorHandler.C (updateColor): change the hash to cover the whole
10860 LColor enum, ws cleanup
10861 (getGCLinepars): ditto
10862 (getGCLinepars): only lookup in the linecache once.
10864 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10866 * iterators.C (operator++): Make the iterator more robust
10868 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10875 * text.C: better added space drawing
10877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10880 * BufferView2.C: fix layout combo update on inset unlock
10882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10884 * Makefile.am: don't compile unused files
10886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10890 * LyXAction.C: remove old LFUN_LAYOUTNO
10892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10894 * paragraph_pimpl.h:
10895 * paragraph_pimpl.C: isTextAt() doesn't need font param
10897 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10900 * lyxlex.C: little cleanup
10902 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10904 * BufferView_pimpl.C: fix insertAscii for insets
10906 2001-12-05 Juergen Vigna <jug@sad.it>
10908 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10909 set the right font on the "multi" paragraph paste!
10911 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10917 * lyxlength.C: remove out-commented code.
10919 * BufferView_pimpl:
10933 * vc-backend.C: change "while(" to "while ("
10935 * lyxlength.[Ch]: add zero function to check if length is zero or
10937 * lyxgluelength.C: use it
10939 2001-12-05 Allan Rae <rae@lyx.org>
10941 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10942 Works for 2.95.3, from what I understand of Garst's reports this should
10943 work for other g++ versions. We're screwed if the abs(int) definition
10944 changed between bugfix releases of gcc.
10946 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10948 * text.C: fix chapter label offset !
10950 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10953 * text.C: fix hfill at end of line, clean up
10955 2001-12-04 Juergen Vigna <jug@sad.it>
10957 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10958 that we force an update of the inset and it's owners if neccessary.
10960 2001-12-03 Juergen Vigna <jug@sad.it>
10962 * text.C (rowLast): simplified code
10964 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10966 * lyxfunc.C: fix show options on timeout
10968 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * screen.C (topCursorVisible): scroll half a page when the cursor
10971 reached top of bottom of screen
10973 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10975 * minibuffer.C: deactivate on loss of focus
10977 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10979 * vspace.[Ch] (operator!=): add operator.
10981 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10983 * BufferView_pimpl.C: refuse to open an inset when
10984 there's a selection.
10986 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10988 * BufferView_pimpl.C: allow to click on RHS of full row insets
10990 2001-11-30 Juergen Vigna <jug@sad.it>
10992 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10993 insets for undo reasons.
10995 2001-11-28 André Pönitz <poenitz@gmx.net>
10997 * vspace.[Ch]: cosmetical changes
10999 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11009 * kbsequence.C: part re-write of old kb code
11012 * WorkArea.C: remove Lgb_bug_find_hack
11014 2001-11-30 José Matos <jamatos@fep.up.pt>
11016 * buffer.C (makeDocBookFile): add a comment to point a hack.
11017 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11018 Fixed a double write of labels.
11020 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11023 * LaTeX.h Fixed bug in LaTeX class where it would not
11024 re-run latex if no depfiles were changed, but the .dvi was removed.
11026 2001-11-28 André Pönitz <poenitz@gmx.net>
11028 * all the files from the change on 2001/11/26:
11029 use lyx::layout_type instead of LyXTextClass::size_type
11030 use lyx::textclass_type instead of LyXTextClassList::size_type
11032 2001-11-29 Juergen Vigna <jug@sad.it>
11034 * text.C: added support for paragraph::isFreeSpacing()
11036 * buffer.C: same as above
11038 * paragraph.h: inserted isFreeSpacing() function to enable
11039 FreeSpacing inside InsetERT.
11041 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11042 of the paragraph's in the cut/copy buffer to 0!
11044 * text2.C (removeRow): remove the assert as it can!
11046 * lyxtext.h: added helper function firstRow returning firstrow and
11047 made firstrow private again.
11049 * BufferView2.C (lockInset): don't relock if we're already locked!
11051 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11052 the only paragraph.
11053 (removeRow): added Assert::(firstrow)
11055 * debug.C: forgot to add INSETTEXT here.
11057 2001-11-28 Juergen Vigna <jug@sad.it>
11059 * sp_spell.C (initialize): changed error text to more general
11060 spellchecker command use (not only ispell!)
11062 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11064 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11066 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11068 * vspace.C: initialise lyxgluelength on failure
11070 2001-11-28 Allan Rae <rae@lyx.org>
11072 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11073 declaration & definition that looks like a function declaration.
11075 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11077 * BufferView2.C (copy):
11078 (copyEnvironment): do not clear the selection when doing a copy.
11080 * text.C (paintFirstRow): compilation fix
11082 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11084 * tabular.C (Latex): correct line count when writing latex.
11086 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11088 * paragraph_pimpl.h:
11089 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11096 * LColor.C: change vfillline->added_space
11098 * text.C: add markers and text for added space
11100 * vspace.C: fix comment
11102 2001-11-28 André Pönitz <poenitz@gmx.net>
11104 * paragraph.C: whitespace changes
11105 * all the other files from the change on 2001/11/26:
11106 change *::pos_type into lyx::pos_type
11108 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11110 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11111 language of the document when inserting error insets.
11113 2001-11-26 André Pönitz <poenitz@gmx.net>
11115 * BufferView_pimpl.[Ch]:
11123 * paragraph_pimpl.[Ch]:
11126 * text2.C: reduce header dependencies, introduce type for positions
11128 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11130 * <various>: change to use Alert.h
11132 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11134 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11135 when encountering an unknown token.
11136 (readLyXformat2): Show an error message if there were unknown tokens.
11138 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11141 * BufferView_pimpl.C:
11145 * text2.C: use par->isInset()
11147 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11149 * paragraph_pimpl.h:
11150 * paragraph_pimpl.C: cleanup
11152 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * text2.C (removeRow):
11155 * text.C (setHeightOfRow): remove useless (and costly) call to
11158 2001-11-20 Allan Rae <rae@lyx.org>
11160 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11161 Now need Inset*::checkInsertChar() to return true for appropriate
11162 cases so that the characters in the minibuffer will actually be
11165 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * text.C: change the order of the includes.
11168 (workWidth): initialize it at once.
11169 (workWidth): make maxw unsigned
11170 (setHeightOfRow): remove unused variable (inset)
11171 (selectSelectedWord): remove unused variable (inset)
11172 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11174 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11176 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11177 server is not running.
11179 (closeConnection): add debug info when server is disabled.
11181 * ColorHandler.C (getGCForeground): send debug message to GUI
11184 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11186 * kbmap.C (bind): modify because return conventions of
11187 kb_sequence::parse have changed.
11189 * kbsequence.C (parse): only ignore spaces and not any stupid
11190 control character. This avoids tests like s[i] <= ' ', which are
11191 guaranteed to fail with 8bit characters and signed chars.
11192 Change return code to string::npos when there have been no error
11193 (0 was a bad idea when error is at first character)
11195 2001-11-14 José Matos <jamatos@fep.up.pt>
11198 * buffer.C (simpleDocBookOnePar): removed unused argument.
11200 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11203 insets which are part of a word. Paragraph::isLetter takes care of
11204 that now. Use Paragraph::isInset to identify insets.
11205 (selectSelectedWord): do not test for hyphenation break.
11207 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11208 that protected spaces are considered as spaces.
11210 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11213 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11216 * lyxserver.C: fix it. and small cleanup.
11218 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11220 * BufferView_pimpl.C: use inline helpers
11223 * LaTeXFeatures.C: fix typos
11226 * Spacing.C: move spacing_string into class
11228 * ToolbarDefaults.C: move stuff into namespace anon
11230 * layout.h: update enum
11232 * lyxfunc.C: use better debug
11234 * minibuffer.h: fix typo
11238 * WorkArea.C: add and use Debug::WORKAREA
11242 * text2.C: code re-organisation, inline helpers
11244 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11246 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11247 std::vector.empty().
11249 2001-11-09 Allan Rae <rae@lyx.org>
11251 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11252 '\n's after tables. Tabular and ERT inset work now makes this no
11255 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11258 * minibuffer.C: fix crash, improve drop-down completion
11260 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11263 * lyxserver.C: invalidate fd's when doing endPipe()
11265 2001-11-08 José Matos <jamatos@fep.up.pt>
11267 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11268 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11271 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11273 2001-11-07 José Matos <jamatos@fep.up.pt>
11276 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11279 * buffer.C (sgmlOpenTag):
11280 * buffer.C (sgmlCloseTag): removed debug info.
11282 * buffer.h (sgmlOpenTag):
11283 * buffer.h (sgmlCloseTag): made public.
11285 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * buffer.C (saveParamsAsDefaults):
11288 * lyx_cb.C (MenuLayoutSave): remove
11290 * LyXAction.C (init):
11292 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11294 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11296 * buffer.C (setPaperStuff): removed from here...
11298 * bufferparams.C (setPaperStuff): ... and moved there.
11300 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11304 * XFormsView.C: add support for drop-down completion
11306 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11308 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11311 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11316 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11318 * lyx_main.C: change ref to known bugs
11320 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11322 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11323 to work around older babel problems.
11325 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11327 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11329 2001-10-24 Juergen Vigna <jug@sad.it>
11331 * tabular-old.C (ReadOld): below variable changes reflected.
11333 * tabular.[Ch]: added ltType struct for longtable header/footer
11334 defines and changed all instances where they are used. Added
11335 future support for double top/bottom rows.
11337 2001-10-24 José Matos <jamatos@fep.up.pt>
11339 * buffer.h (docbookHandleCaption):
11340 * buffer.C (docbookHandleCaption): removed unused function.
11341 (makeDocBookFile): moved docbook supported version to v4.1.
11343 2001-10-24 José Matos <jamatos@fep.up.pt>
11346 * tabular.C (docbookRow): new function to export docbook code of a row.
11347 (DocBook): now honors the longtable flags.
11349 2001-10-23 José Matos <jamatos@fep.up.pt>
11352 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11353 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11355 * buffer.C (makeLinuxDocFile):
11356 (makeDocBookFile): reworked the preamble, more clean, and with
11357 support for lyx defined entities. Changed the document declaration
11358 to be more XML friendly.
11360 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11361 if we need to output XML that should be done with a filter.
11363 2001-10-22 Juergen Vigna <jug@sad.it>
11365 * sp_pspell.h (class PSpell): add alive function needed in the
11366 controller to see if the spellchecker could be started.
11368 2001-10-22 Juergen Vigna <jug@sad.it>
11370 * buffer.C (insertStringAsLines): modify the font for inserting
11371 chars in certain conditions by calling checkInsertChar(font).
11373 2001-10-19 Juergen Vigna <jug@sad.it>
11375 * text.C (workWidth): use getRow instead of wrong algorithm.
11376 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11378 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11383 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11385 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11387 * text.C (workWidth): do not search for the exact row when
11388 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11389 optimization for big documents.
11391 2001-10-18 Juergen Vigna <jug@sad.it>
11393 * text.C (workWidth): new function with added Inset * parameter.
11395 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11397 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11399 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11400 change return type of getColumnNearX.
11403 * text.C (changeRegionCase): use uppercase/lowercase instead of
11406 (rightMargin): simplify code by factoring out the uses of
11411 (appendParagraph): use Paragraph::size_type
11413 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11415 * vspace.C (asLatexString): add a missing break
11417 2001-10-15 Herbert Voss <voss@perce.de>
11419 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11421 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11426 2001-10-10 André Pönitz <poenitz@gmx.net>
11428 * lyxfunc.C: removed greek_kb_flag.
11430 2001-10-10 Herbert Voss <voss@perce.de>
11432 * lyx_main.C: delete global string help_lyxdir.
11434 2001-10-09 Herbert Voss <voss@perce.de>
11436 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11438 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11440 * lyx_main.C: added global string help_lyxdir.
11442 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11444 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11446 * lyxrc.C (set_font_norm_type): support iso8859-4
11448 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11450 * LaTeX.C (deplog): add another regex for MikTeX
11452 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11454 * lyxrc.C (set_font_norm_type): support iso8859-3
11456 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11458 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11460 * LaTeXFeatures.C: remove special case of french and index
11462 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11463 before \begin{document}). This solves several incompatibilities.
11465 2001-10-03 Garst Reese <reese@isn.net>
11467 * lyx_cb.C: change CheckTex error msg.
11469 2001-10-03 José Matos <jamatos@fep.up.pt>
11471 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11473 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11475 * .cvsignore: update
11477 * lyx_main.C (commandLineVersionInfo): use new style version info.
11479 * buffer.C (writeFile):
11481 (makeLinuxDocFile):
11482 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11484 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11486 * version.h: update to use stuff in version.C
11488 * version.C.in: new file. Contains version information determined
11489 at compile time. This is a merging of version.h and
11492 2001-10-03 Juergen Vigna <jug@sad.it>
11494 * BufferView_pimpl.C (update): don't change "dirty" status in
11497 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11499 * WorkArea.C (c-tor): re-position version string slightly.
11501 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11503 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11504 revert to previous code.
11506 WorkArea.[Ch]: (show, destroySplash): methods removed.
11508 WorkArea.C: rework code so that it's an amalgam of the codes before and
11509 after the splash screen was moved to WorkArea.
11511 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * vspace.C (inPixels):
11517 * buffer.C (insertStringAsLines):
11518 (asciiParagraph): fix types to be large enough
11520 * lyxlex_pimpl.h: change member status from short to int
11522 * layout.h: fix type of endlabeltype
11525 * kbsequence.C (parse): change return type to string::size_type
11527 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11530 * Bullet.C (bulletSize):
11531 (bulletEntry): do not use short ints as parameters
11533 * BufferView2.C (insertLyXFile): change a char to an int.
11535 * WorkArea.C (WorkArea): remove unneeded floats in computation
11537 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11539 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11541 * paragraph.C (asString): Do not ignore newline/hfill chars when
11542 copying to the clipboard.
11544 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11546 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11547 after a multi-line inset.
11549 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11551 * paragraph.C (validate): Set NeedLyXFootnoteCode
11553 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11555 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11556 and decrease-error to decrease.
11558 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11561 it more readable (should be equivalent)
11563 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11565 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11567 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11569 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11570 of a cursor (row, etc.) after a character has been deleted
11571 (deleteEmptyParagraphMechanism): call the method above on _all_
11572 cursors held by the LyXText when a double space has been
11575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11577 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11579 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11581 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11582 background. Use greyOut() and the new show() methods to toggle between
11583 the foreground and background. Add code to remove the splash after
11584 its initial showing.
11586 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11587 (create_forms): no longer call Dialogs::showSplash.
11589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * .cvsignore: add version_info.h
11593 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11595 * version_info.h.in: new file
11597 * Makefile.am: add version_info.h.in
11599 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11600 version_info.h instead of VERSION_INFO
11602 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11604 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11605 The ERT inset now returns string().
11607 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11609 * lyxtext.h, text.C (selectNextWord): renamed as
11610 selectNextWordToSpellcheck.
11612 * text.C (selectNextWordToSpellcheck): Modified to not select
11613 words inside an ERT inset.
11615 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * lyx_cb.C (MenuLayoutSave): change a bit the question
11619 * sp_base.h: include <sys/types.h>
11621 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11623 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11625 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11627 * several files: fix typos in user-visible strings
11629 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11631 * text2.C (pasteSelection): do not set the selection, since it
11632 will be cleared later. Actually, the intent was to fix the way the
11633 selection was set, but I figured rmoving the code was just as good.
11635 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11637 * FontLoader.C (available): Check if font is available without
11640 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11642 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11644 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11646 * lyxrc.[Ch]: added display_graphics variable and associated code.
11648 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11650 * bufferparams.C (hasClassDefaults): new method. Returns true if
11651 the buffer parameters correspond to known class defaults
11653 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11655 * XFormsView.C (show): set minimum size to the main window.
11657 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * text2.C (copySelection):
11661 * lyxfind.C (LyXReplace):
11662 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11663 LyXText::selectionAsString.
11665 * paragraph.C (asString): add "label" argument to the second form
11667 * text2.C (selectionAsString): add "label" argument and pass it to
11668 Paragraph::asString.
11670 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11672 * lyx_main.C (commandLineHelp): remove version information
11674 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11676 * lyx_main.C: add -version commandline option
11678 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * paragraph.h: make the optional constructor arg required instead.
11681 some modifications to other files because of this.
11683 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11685 * lyxserver.C (C_LyXComm_callback): make it static
11687 * lyx_main.C (error_handler): make it static
11689 * lyx_gui.C (LyX_XErrHandler): make it static
11691 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11693 * WorkArea.C: make the extern "C" methods static.
11695 * Makefile.am (lyx_LDADD): simplify
11697 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11699 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11700 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11702 * LyXAction.C (init):
11703 * lyxfunc.C (dispatch): associated code removal.
11705 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * lyxfont.h (isSymbolFont): shut off warning
11709 * text.C (setHeightOfRow):
11710 (getVisibleRow): fix crash with empty paragraphs which have a
11713 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11715 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11718 2001-09-04 José Matos <jamatos@fep.up.pt>
11721 * tabular.C (docbook): rename docBook method to docbook.
11723 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11725 * Makefile.am: add dependencies to main.o.
11727 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11729 * FontLoader.C (available): Return false if !lyxrc.use_gui
11731 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11733 * FontInfo.C (query):
11734 * converter.C (view):
11735 * importer.C (Import):
11736 * exporter.C (Export): Can not -> cannot.
11738 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11740 * BufferView_pimpl.C: allow to create index inset even if
11743 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11745 * buffer.C (getLists): replace boost::tie code with an explicit pair
11746 as boost::tie can break some compilers.
11748 * iterators.h: Added a std:: declaration to the return type of
11751 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11753 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11756 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11758 * iterators.[Ch]: New files. Provide paragraph iterators.
11760 * buffer.C (changeLanguage): Use paragraph iterators.
11761 (isMultiLingual): ditto
11763 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11765 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11767 * FontLoader.C: Support for cmr font.
11769 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11771 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11772 (available): New method.
11774 * FontInfo.C (getFontname): Use scalable fonts even when
11775 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11778 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11780 * converter.C (Formats::view): reverted! Incorrect fix.
11782 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11784 * converter.C (Formats::view): only output the -paper option
11785 if the dvi viewer is xdvi, thereby fixing bug #233429.
11787 2001-08-23 Herbert Voss <voss@perce>
11789 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11791 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11793 * Spacing.h (Spacing): Set space to Default on in the default
11796 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * vc-backend.h (RCS::versionString): add RCS to version
11799 (CVS::versionString): add CVS to version
11801 * vc-backend.C (scanMaster): do not add CVS to version.
11802 (scanMaster): do not add RCS to version
11804 * lyxvc.C (versionString): new method
11806 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11808 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * Spacing.C (set): initialize fval
11812 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11814 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11817 2001-08-16 Juergen Vigna <jug@sad.it>
11819 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11821 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11823 * BufferView_pimpl.C:
11826 * text2.C: setParagraph takes linespacing now
11828 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11830 * LyxAction.C: add internal LFUN_CITATION_INSERT
11832 * LyXView.C: actually apply fix
11834 * bufferlist.C: fix open non-existent file
11836 * lyxfind.C: fix indentation
11838 * lyxfunc.C: remove unneeded assert, fix typo
11840 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11842 * MenuBackend.C: use "Floatname List"
11844 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11846 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11847 when converting LaTeX layout to insetERT.
11848 Generate a non-collapsed float when reading old float
11850 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11852 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11855 2001-08-13 Juergen Vigna <jug@sad.it>
11857 * text.C (fill): return 0 instead of 20 as this seems to be the more
11860 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11862 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11865 2001-08-13 Juergen Vigna <jug@sad.it>
11867 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11869 (SearchBackward): comment out the unlocking of the inset_owner this
11870 should not be needed!
11872 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11874 * Many files: Remove inherit_language, and add latex_language
11876 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11877 collapsible insets.
11879 2001-08-10 Juergen Vigna <jug@sad.it>
11881 * text.C (prepareToPrint): fixed hfill-width in draw!
11883 * BufferView2.C (selectLastWord): save the selection cursor as this
11884 now is cleared in the function LyXText::clearSelection!
11886 2001-08-08 Juergen Vigna <jug@sad.it>
11888 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11889 BACKSPACE type functions.
11891 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11892 is only cutted from the document but not put in the cut-buffer, where
11893 still the old stuff should be.
11895 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11897 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11899 * tabular.C (SetWidthOfCell): fixed special case where the width
11901 (LeftLine): handle '|' in align_special.
11903 (LeftAlreadyDrawed): ditto
11904 (SetWidthOfCell): ditto
11906 2001-08-07 Juergen Vigna <jug@sad.it>
11908 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11910 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11913 * lyxlex.[hC]: ditto
11915 2001-08-06 Juergen Vigna <jug@sad.it>
11917 * text.C (getVisibleRow): fix up row clearing a bit.
11919 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * minibuffer.C: make sure the X server sees the changes in the input.
11923 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * paragraph.C (getFont): split into...
11926 (getLabelFont): this
11927 (getLayoutFont): and this
11928 * paragraph_pimpl.C (realizeFont): calling this
11930 * text2.C (getFont): split into...
11931 (getLayoutFont): this
11932 (getLabelFont): and this
11933 (realizeFont): all three calling this
11935 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11938 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11940 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11942 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11944 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11945 layouts from the Quote inset insertion.
11947 2001-08-03 Juergen Vigna <jug@sad.it>
11949 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11951 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11952 only if status not is already CHANGED_IN_DRAW (second level).
11954 * text.C (draw): don't set the need_break_row when inside an
11957 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * buffer.C (parseSingleLyXformat2Token): handle more latex
11962 * bufferview_funcs.[hC]: change function names to
11963 begin with small char, adjust other files.
11965 2001-08-02 André Pönitz <poenitz@gmx.net>
11968 BufferView_pimpl.C: remove broken special code for math-greek
11970 2001-08-02 Juergen Vigna <jug@sad.it>
11972 * BufferView_pimpl.C (update): redone this function so that we
11973 update the text again if there was a CHANGE_IN_DRAW.
11975 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11976 (drawFromTo): added a new internal bool which is used by draw() and
11978 (general): some cursor drawing problems fixed.
11980 2001-08-01 Juergen Vigna <jug@sad.it>
11982 * lyxfind.C (LyXFind): fixed
11983 (SearchForward): ditto
11984 (SearchBackward): ditto
11986 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11987 spurius drawing of the cursor in the main area.
11989 * text2.C (status): small fix which could lead to a segfault!
11990 (clearSelection): remove unneeded BufferView param.
11992 2001-08-01 André Pönitz <poenitz@gmx.net>
11994 * lyxfunc.C: small change due to changed mathed interface
11996 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11998 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12000 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12002 * lyxfunc.c: fail gracefully if file doesn't exist
12007 * BufferView_pimpl.C: IsDirWriteable() proto changed
12009 * LyXView.C: fix updateWindowTitle() to store the last title
12011 2001-07-31 Juergen Vigna <jug@sad.it>
12013 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12014 the font (wrong since using of Paragraph::highestFontInRange).
12016 * paragraph.C (highestFontInRange): added a default_size parameter.
12018 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12019 (setHeightOfRow): reformat
12021 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * converter.[hC] + affected files: move to (inital-char)lowercase
12026 * ParagraphParameters.C (ParagraphParameters): remove commented code
12028 * PainterBase.[Ch]: remove commented code
12030 * LaTeXFeatures.h: add "bool floats" for float.sty
12032 * LaTeXFeatures.C (LaTeXFeatures): init floats
12033 (require): handle float
12034 (getPackages): do it with floats
12036 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12038 * BufferView_pimpl.C (Dispatch): improve handling of
12039 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12041 * commandtags.h: #include lyxfont.h here temporarily to avoid
12044 * bufferlist.h: include LString.h here.
12046 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * text2.C (getStringToIndex): new method.
12050 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12052 * *: Reduced header file dependencies all over.
12054 2001-07-30 Baruch Even <baruch@lyx.org>
12056 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12058 2001-07-29 Baruch Even <baruch@lyx.org>
12060 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12062 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * ParameterStruct.h (endif): add a default constructor to make
12065 sure that all variables is initialized.
12067 * ParagraphParameters.C (ParagraphParameters): adjust
12069 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12071 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12072 index; also, check that there is something to index, and that it
12073 does not span over several paragraphs.
12074 (doubleClick): use WHOLE_WORD_STRICT for double click.
12076 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12078 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12081 2001-07-26 Baruch Even <baruch@lyx.org>
12083 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12084 an InsetFig figure, backwards compatible reading of old figure code.
12086 2001-07-27 Juergen Vigna <jug@sad.it>
12088 * text2.C: font.realize function adaption.
12090 * text.C (draw): add a warnings lyxerr text if needed.
12092 * layout.C: font.realize function adaption.
12094 * language.C: add inherit_language and implement it's handlings
12096 * bufferview_funcs.C (StyleReset): remove language parameter from
12097 font creation (should be language_inherit now).
12099 * bufferparams.C (writeFile): handle ignore_language.
12101 * paragraph.C (getFontSettings): the language has to be resolved
12102 otherwise we have problems in LyXFont!
12104 * lyxfont.C (lyxWriteChanges): added document_language parameter
12105 (update): removed unneeded language parameter
12107 * paragraph.C (validate): fixed wrong output of color-package when
12108 using interface colors for certain fonts in certain environments,
12109 which should not seen as that on the final output.
12111 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12113 * BufferView_pimpl.C:
12118 * LyXAction.C: add thesaurus support
12121 * lyxfind.C: add "once" parameter, for thesaurus, to not
12122 move to the next match
12124 2001-07-26 Juergen Vigna <jug@sad.it>
12126 * lyxfont.C (realize): honor ignore_language too!
12129 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12131 * text.C (draw): one place more for ignore_language to not draw
12134 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12136 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12138 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12140 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12141 the minipage conversion problem.
12143 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12145 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12148 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * BufferView.h: don't forward declare WorkArea
12152 * BufferView.C: don't include WorkArea.h
12154 2001-07-25 André Pönitz <poenitz@gmx.net>
12158 * lyxfunc.C: new LFUN 'math-space'
12160 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12162 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * text2.C (toggleInset): call open/close
12166 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * lyxfunc.C (dispatch): add debug for the disabled case
12170 * font.C (buttonText): make similar to rectText
12172 * buffer.C (readInset): comment out parsing of insetlist and
12175 * PainterBase.C (rectText): small correction
12177 * BufferView_pimpl.C: comment out insettheorem and insetlist
12178 * LyXAction.C: ditto
12179 * commandtags.h: ditto
12181 2001-07-24 Juergen Vigna <jug@sad.it>
12183 * text.C (draw): honor the ignore_language.
12185 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12187 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12189 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12192 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12194 * lyxtext.h: remove unused (and unimplemented) methods
12196 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12198 * text.C (getVisibleRow): honor background color
12201 * Painter.h: remove default color argument for fillRectangle
12203 * text.C (backgroundColor): new method
12205 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * text.C (getVisibleRow): adjust
12209 * font.[Ch] (rectText): new method, metrics
12210 (buttonText): new method, metrics
12212 * PainterBase.[hC]: make rectText and buttonText always draw and take
12215 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12217 * ToolbarDefaults.C (read):
12218 * MenuBackend.C (read): allow escaping in all strings
12220 * BufferView_pimpl.C (insertAndEditInset): new method.
12221 (Dispatch): use insertAndEditInset whenever appropriate.
12223 * BufferView_pimpl.C (insertNote): removed
12225 * BufferView_pimpl.C (smartQuote): new method, moved from
12226 BufferView; if an insetquote cannot be inserted, insert a '"'
12229 * BufferView2.C: remove insertCorrectQuote();
12231 * lyxfunc.C (getStatus): Add support for all remaingin
12232 inset-insert lfuns.
12234 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12236 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12237 command (necessary to pass " as parameter of self-insert.
12239 * text.C (selectWordWhenUnderCursor):
12240 (selectWord): add word_location parameter
12241 (selectWordWhenUnderCursor): same + remove special code for word
12243 (selectNextWord): use kind() to guess type of insetspecialchar,
12246 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12247 (insertErtContents): create ert insets as collapsed.
12248 (readInset): better compatibility code for Info inset.
12250 2001-07-20 Juergen Vigna <jug@sad.it>
12252 * lyxfunc.C (dispatch): use always LyXFind now!
12254 * text2.C (init): add a reinit flag so that the LyXText can be
12255 reinited instead of deleted and reallocated (used in InsetText).
12257 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12263 2001-07-18 Juergen Vigna <jug@sad.it>
12265 * text.C (selectNextWord): handle insets inside inset by calling
12266 always the bv->text functions so that we can go up the_locking_inset!
12268 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12269 in strange locations when inside an inset!
12271 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12272 handling to include insets.
12274 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12276 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12278 * LyXAction.C (init):
12280 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12281 LIGATURE_BREAK, since the name is so stupid.
12283 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12285 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12288 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12290 * sp_form.[Ch]: remove.
12292 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12294 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12297 * src/buffer.C (readInset): ditto.
12299 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12301 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12302 menuSeparator(), endOfSentenceDot(), ldots() and
12303 hyphenationPoint(), which are therefore removed.
12304 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12306 * LyXAction.C (init):
12307 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12309 * paragraph.C (getWord): removed.
12311 * BufferView_pimpl.C (Dispatch): use last word or selection for
12312 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12314 * lyx_main.C (queryUserLyXDir): do not ask before creating
12315 user_dir, except if it has been named explicitely.
12317 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12319 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12320 a document of zero size.
12322 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12324 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12325 approriately in the c-tor and in require().
12326 (getPackages): output the appropriate LaTeX for natbib support.
12328 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12329 variables "use_natbib" and "use_numerical_citations" when reading the
12331 (readInset): read the various natbib cite commands.
12332 (validate): white-space change.
12334 * bufferparams.[Ch]: new variables "bool use_natbib" and
12335 "bool use_numerical_citations".
12336 (writeFile): output them in the LyX file.
12338 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12340 * lyxfunc.C (getStatus): add support for all the inset insertion
12343 * text2.C (insertInset):
12344 * paragraph.C (insetAllowed):
12345 * BufferView_pimpl.C (insertInset): update to take in account the
12346 renaming of insertInsetAllowed
12348 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12350 * text2.C (getInset): new method. returns inset at cursor position.
12352 * BufferView_pimpl.C (Dispatch): changes because of this.
12354 * LyXAction.C (init): rename open-stuff to inset-toggle.
12356 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12358 * text2.C (toggleInset): renamed from openStuff; use
12361 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12363 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12365 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12367 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12369 * buffer.C (readLyXformat2): Add filename to the error dialog
12371 2001-07-18 Juergen Vigna <jug@sad.it>
12373 * tabular.C (GetCellNumber): put an assert here instead of the check!
12375 2001-07-17 Juergen Vigna <jug@sad.it>
12377 * BufferView_pimpl.C (toggleSelection): adapted too.
12379 * text.C (selectNextWord): adapted for use with insets.
12380 (selectSelectedWord): ditto
12382 2001-07-17 Juergen Vigna <jug@sad.it>
12384 * sp_spell.C (PSpell): fix initialitation order.
12386 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12388 * paragraph.C: spacing
12390 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12392 * sp_spell.C: repair language selection for pspell
12394 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * lyxfunc.h: change more methods to begin with lower char.
12398 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12400 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12401 for unknown layouts.
12403 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12405 * buffer.C (readLyXformat2): Generate an error dialog if there are
12408 2001-07-16 Juergen Vigna <jug@sad.it>
12410 * sp_spell.C: always compile ISpell part.
12412 * lyxrc.C: added use_pspell entry and it's handling.
12414 2001-07-13 Juergen Vigna <jug@sad.it>
12416 * sp_spell.C: removed double includes.
12418 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12420 Consistent use of Lsstream.h:
12421 * Lsstream.h: added using std::stringstream for consistencies sake.
12423 * buffer.C: removed using std::stringstream
12425 * lyxfont.C (stateText):
12426 * paragraph.C (asString):
12427 * text.C (selectNextWord, selectSelectedWord):
12428 * text2.C (setCounter):
12429 * vspace.C (asString, asLatexString):
12430 std::ostringstream -> ostringstream.
12432 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12434 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12435 * commandtags.h: add LFUN_HELP_ABOUTLYX
12436 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12440 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12442 * lyx_gui_misc.C: remove spellchecker
12443 * lyxfunc.C: showSpellchecker
12445 * sp_ispell.h: added
12446 * sp_pspell.h: added
12447 * sp_spell.C: added
12448 * sp_form.[Ch]: removed
12449 * spellchecker.[Ch]: removed
12451 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12453 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12455 (simpleTeXSpecialChars): Simply print the input character without
12456 any special translation if pass_thru is set.
12458 * layout.h: Added bool pass_thru to layout class for being able to
12459 implement pass through of a paragraph for Literate Programming.
12461 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12462 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12463 * layout.C (Read): add "passthru" to list of layout tags and add
12464 code to set the pass_thru boolean when it is read.
12466 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * trans_decl.h: remove allowed from KmodInfo
12470 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12471 remove allowed code
12474 * paragraph_pimpl.C (erase): use boost::prior
12476 * Painter.C (text): use data() instead of c_str() when length is
12478 * WorkArea.C (putClipboard): ditto
12479 * font.h (width): ditto
12481 * BufferView2.C: use it-> instead of (*it). for iterators
12483 * paragraph_pimpl.C: ditto
12484 * paragraph.C: ditto
12485 * minibuffer.C: ditto
12486 * language.C: ditto
12488 * encoding.C: ditto
12489 * counters.C: ditto
12490 * converter.C: ditto
12492 * Variables.C: ditto
12493 * TextCache.C: ditto
12494 * MenuBackend.C: ditto
12495 * LyXAction.C: ditto
12497 * FloatList.C: ditto
12498 * DepTable.C: ditto
12499 * ColorHandler.C (LyXColorHandler): ditto
12501 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12505 * text2.C (openStuff): reintroduce this method (which had been
12506 nuked in NEW_INSETS frenzy).
12508 * lyxfunc.C (Dispatch): when an action has not been handled, use
12509 its name in the error message, not its number.
12511 * paragraph.C (inInset): change method name to begin with lowercase.
12514 * text2.C: updates because of this.
12516 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12518 * ToolbarDefaults.C (add): add spaces in error message
12520 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12523 (readLyXformat2): rename return_par to first_par, use lyxlex's
12524 pushToken and remove the manual push handling.
12525 (parseSingleLyXformat2Token): add another ert comp. variable:
12526 in_tabular, rename return_par to first_par. handle newlines better
12528 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12530 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12532 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * text2.C (getParFromID): removed
12536 * buffer.C (getParFromID): new method moved form lyxtext.
12537 * BufferView2.C (insertErrors): adjust
12538 (setCursorFromRow): adjust
12539 * BufferView_pimpl.C (restorePosition): adjust
12540 * lyxfunc.C (Dispatch): adjust
12541 * undo_funcs.C (textUndo): adjust
12543 (textHandleUndo): adjust
12544 (textHandleUndo): adjust
12546 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * buffer.C: up' the LYX_FORMAT
12550 * lyxfont.h: turn NO_LATEX on as default
12552 * buffer.C (insertErtContents): new methods of tex style compability.
12553 (parseSingleLyXformat2Token): use it several places.
12554 * tabular.C (OldFormatRead): and here
12556 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * text2.C: remove some commented code.
12561 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12562 * trans.C: changes because of the above.
12564 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12566 * text2.C (setCounter): Fix counters bug with bibliography layout.
12568 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12571 own member functions
12572 (simpleTeXSpecialChars): ditto
12574 2001-07-06 Juergen Vigna <jug@sad.it>
12576 * a lot of files: changed the access to LyXText::status and the
12577 call of undo-functions.
12579 * undo.[Ch]: added a inset_id to the undo informations.
12581 * undo_funcs.[Ch]: added and moved here all undo functions.
12583 * lyxtext.h: give the status enum a weight, made status_ a private
12584 variable and made accessor functions for it, removed the whole bunch
12585 of undo-functions as they are now in their own file, make some
12586 functions publically available. Added function ownerParagraph with
12589 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12590 made InInset() a const function, added getParFromID() function.
12592 * buffer.[Ch]: added const version for inset_iterator functions,
12593 added getInsetFromID() function.
12595 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12596 changed undo functions for new version.
12598 2001-07-05 Juergen Vigna <jug@sad.it>
12600 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12601 unknow mechanism does not call the proper constructor but only this
12602 one also if I request the other!?
12604 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12608 * text2.C (LyXText): use initialization lists.
12610 * lyxtext.h (Selection): initialize set_ and mark_
12611 (init): remove method
12613 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12615 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12617 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * screen.[Ch]: change method names to begin with lowercase
12621 * BufferView_pimpl.C (updateScrollbar): simplify further and
12622 hopefully make it a bit faster.
12624 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12627 calling directly xforms functions.
12629 * Painter.C (Painter):
12630 * lyx_cb.C (MenuWrite):
12631 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12634 * lyx_gui.C: remove bogus guiruntime extern declaration.
12636 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12640 (redoDrawingOfParagraph): ditto
12641 (redoParagraphs): ditto
12642 (cutSelection): don't create a object for CutAndPaste use the
12643 static method directly
12644 (pasteSelection): ditto
12646 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12649 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * modifications to some other files because of this.
12653 * Makefile.am (lyx_SOURCES): add XFormsView
12655 * XFormsView.[Ch]: new files
12657 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12658 the main window. Move the gui dependent stuff to XFormsView
12660 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * tabular.C (GetCellInset): update cur_cell also in the row/col
12663 version of this function.
12665 * lyxfunc.C: no need to include figure_form.h here.
12671 * lyxvc.C: no need to include forms.h here.
12673 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12675 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12677 * lyxfunc.C (Dispatch):
12679 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12680 constructor argument.
12682 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * paragraph.C (Paragraph): dont't clear, and just set layout.
12685 (makeSameLayout): use params's copy contructor.
12687 * ParagraphParameters.[Ch] (makeSame): delete method
12689 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12691 * Variables.[Ch]: fix indentation, rename set to isSet
12693 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * lyxfunc.C (Dispatch): fix typo
12697 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12702 * bufferlist.C: include assert.h for emergencyWrite().
12704 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12706 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12707 give up at last (bug #425202) !
12709 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12715 * spellchecker.C: strip spellchecker options and bring up
12716 preferences tab instead
12718 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12721 the istringstream constructor
12723 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * paragraph.C (getLayout): fix return value
12727 * paragraph.h: do not declare getLayout as inline.
12729 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12731 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * lyxcursor.h (operator<): new func
12734 (operator>): new func
12735 (operator>=): new func
12736 (operator<=): new func
12738 * text.C (changeCase): use selection.start and selection.end
12739 (changeRegionCase): require from to be <= to. Require par to be a
12742 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12744 2001-06-27 Juergen Vigna <jug@sad.it>
12746 * text.C (cursorLeftOneWord): changed to return the cursor and added
12747 overlay with BufferView * parameter which calls this one.
12749 (selectWord): use new getWord function.
12750 (changeCase): renamed from changeWordCase as and extended to work
12751 also on selections.
12753 * lyxtext.h: added enum word_location
12755 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12756 changeCase as this operates now also on selections.
12758 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12760 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12762 * many files: send debug output to Debug::INFO instead of
12765 * converter.C (View):
12767 (Move): send debug output to Debug::FILES instead of console.
12769 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12771 * lyxfunc.C (getStatus): use func_status
12773 * func_status.h: new header, describing the results of
12774 LyXFunc::getStatus;
12776 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12779 2001-06-25 The LyX Project <jug@sad.it>
12781 * buffer.C (sgmlOpenTag):
12783 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12785 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12787 * text2.C: remove some dead code
12789 * tabular.C (GetCellInset): store the last cell checked (gotten)
12791 * tabular.h: add the helper for the speedup
12793 * lyxtext.h: remove some dead code
12795 2001-06-26 The LyX Project <Asger>
12797 * paragraph.C: Change export to LaTeX of alignment to
12798 \begin{center} and family for better roundtrip work with reLyX.
12800 * Tune the math drawing a bit.
12802 2001-06-25 The LyX Project <Asger>
12804 * LColor.C (LColor): New color for math background. New color
12807 2001-06-25 The LyX Project <jug@sad.it>
12809 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12811 * lyxfunc.C (Open):
12812 * bufferlist.C (newFile): do not restrict to files ending with
12815 * BufferView_pimpl.C (MenuInsertLyXFile):
12817 2001-06-24 The LyX Project <jug@sad.it>
12819 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12822 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * lyxtext.h: rename most methods to begin with a small char.
12825 Lots of changes because of this.
12827 * paragraph.C (Paragraph): do not call fitToSize
12828 (erase): call Pimpl::erase
12829 (insertChar): call Pimpl::insertChar
12830 (insertInset): call Pipl::insertInset
12831 (breakParagraph): do not call fitToSize
12832 (breakParagraphConservative): do not call fitToSize
12833 (fitToSize): remove method
12835 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12837 2001-06-24 The LyX Project <Asger>
12839 * Fix Qt compilation^2
12841 2001-06-24 The LyX Project <jug@sad.it>
12843 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12844 depthHook(getDepth()-1).
12847 * ParagraphParameters.h:
12848 * ParameterStruct.h: change type of depth to unsigned int ==
12849 depth_type. Many adaptations to other files before of that.
12851 2001-06-24 The LyX Project <Asger>
12853 * Fix Qt compilation.
12855 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * paragraph.h: renamed several methods to begin with small letter.
12858 several changes to many parts of the code because of this.
12860 2001-06-23 The LyX Project <jug@sad.it>
12862 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12863 rewritten to discard all double spaces when KeepEmpty is off
12864 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12865 to only handle newlines but not fiddle with spaces and friends.
12867 * lyxfunc.C (MenuNew): when doing 'new from template', use
12868 template_path as default directory
12870 2001-06-23 The LyX Project <Asger>
12872 * Clean-up of header file includes all over
12873 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12875 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * paragraph.h: renamed from lyxparagraph.h
12879 2001-06-23 Asger <lyx@violet.home.sad.it>
12881 * Buffer.h: Removed Buffer::resize
12882 * BufferList.h: Removed BufferList::resize
12883 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12884 the document lazily when we change the width, or the font settings.
12886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12888 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12890 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12892 * buffer.h: remove out of date comment
12894 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12897 * screen.C: fix "theoretical" GC leak
12899 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * LaTeX.C (scanAuxFile):
12902 (deplog): remove trailing \r when reading stream (useful under
12905 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12907 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12908 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12909 and BufferView::theLockingInset(Inset*), so should use them and not
12910 access bv_->text->the_locking_inset directly.
12912 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12914 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12917 * tex-defs.h: remove old unused file
12919 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12921 * BufferView_pimpl.C: fix typo, remove minibuffer message
12922 when buffer has loaded
12924 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * lyxfunc.C (Dispatch): use stringstream
12927 (MenuNew): use stringstream
12928 (Open): use stringstream
12930 * importer.C (Import): use stringstream
12932 * bufferview_funcs.C (CurrentState): use stringstream
12934 * LaTeX.C (run): use stringstream
12936 * BufferView_pimpl.C (savePosition): use stringstream
12937 (restorePosition): use stringstream
12938 (MenuInsertLyXFile): use stringstream
12940 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12953 * vspace.C: removed // -*- C++ -*- as first line.
12956 * version.h: added // -*- C++ -*- as first line.
12958 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12962 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12965 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12970 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12972 * gettext.C: include LString.h even when --disable-nls is on.
12974 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12976 * converter.h (Get): changed argument type from int to
12977 FormatList::size_type to avoid unnecessary conversion.
12979 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12982 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * gettext.h: include LString.h even when --disable-nls is on.
12986 2001-06-07 Juergen Vigna <jug@sad.it>
12988 * text.C (BreakAgain): subst spaces with tabs.
12990 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12991 (resizeInsetsLyXText): set force on resizeLyXText.
12993 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12995 * gettext.h (gettext_init):
12996 (locale_init): use a real definition instead of a macro
12998 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13000 * Bufferview_pimpl.C:
13002 * LColor.C: further lcolor tidies
13004 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13006 * BufferView_pimpl.C (updateScrollbar): simplify.
13008 * BufferView2.C: don't include insets/insetinfo.h, change
13009 prototype for insertInset and call the Pimpl version. let
13010 updateInset call Pimpl version.
13012 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13013 gotoInset to BufferView::Pimpl
13015 2001-06-01 Juergen Vigna <jug@sad.it>
13017 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13018 inside a LockingInset (is the update needed at all?).
13020 2001-05-31 Juergen Vigna <jug@sad.it>
13022 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13023 here not the old one otherwise how should we compare it afterwards
13026 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * FontInfo.C: bring C functions into global namespace when
13034 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13036 * LString.h: make sure config.h has been loaded before LString.h.
13038 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13039 (one for each char read by EatLine!).
13041 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13044 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13047 to the same as the par we break from
13049 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13053 * MenuBackend.C (expand): also create menu entries for wide
13054 versions of the floats.
13056 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13058 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13060 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13061 frontends/Makefile.am
13067 * tabular.C (getTokenValue): add std::
13069 * tabular-old.C (getTokenValue): add std::
13070 (getTokenValue): ditto
13071 (getTokenValue): ditto
13073 * screen.C (ToggleSelection): adjust
13075 * lyxtext.h: put selection cursors inside a Selection struct.
13077 * lyxfunc.C (moveCursorUpdate): adjust
13079 * lyxfont.C (latexWriteStartChanges): add std::
13081 * lyxfind.C: adjust
13083 * font.h: delete with(char const *, LyXFont const &)
13085 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13087 * FontInfo.C (getFontname): add std::
13089 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13090 (workAreaButtonPress): adjust
13091 (tripleClick): adjust
13093 (moveCursorUpdate): adjust
13096 * BufferView2.C (gotoInset): adjust
13098 2001-05-30 Juergen Vigna <jug@sad.it>
13100 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13101 to check pspell I add this as default as I now have new pspell
13102 libraries and they seem to use this.
13104 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * text2.C (CutSelection): make the cursor valid before the call to
13109 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13112 relied on 0 terminated strings and other horrors. Bug found due to
13113 the new assert in lyxstring!
13115 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13118 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13123 * lyxfunc.C (processKeySym): change method of getting to the
13126 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13127 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13128 * BufferView_pimpl.[Ch]: here as private methods.
13130 2001-05-28 Juergen Vigna <jug@sad.it>
13132 * text.C (SetHeightOfRow): added the update() call again as it is
13133 needed to initialize inset dimensions!
13135 2001-05-16 Juergen Vigna <jug@sad.it>
13137 * text2.C (SetCharFont): Add new function with BufferView * and
13138 bool toggleall parameters for setting insets internal fonts.
13139 (SetFont): Freeze the undo as we may change fonts in Insets and
13140 all this change should be inside only one Undo!
13142 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13143 setting font's in insets as for them we have the SetFont function!
13145 2001-05-15 Juergen Vigna <jug@sad.it>
13147 * text2.C (ClearSelection): to be sure we REALLY don't have any
13150 * tabular.C (TeXCellPreamble): fixed the left border problem for
13153 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13155 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13158 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13161 LFUN_BREAKPARAGRAPH.
13163 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13164 help test to "internal only", similar for LFUN_INSERT_URL
13166 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13167 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13168 auto_region_delete and deadkeys.
13170 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13173 * LColor.C: remove some dead entries, tidy a little
13175 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13179 (Dispatch): implement LFUN_ESCAPE
13181 * commandtags.h: add LFUN_ESCAPE
13183 * LyXAction.C (init): add entry for LFUN_ESCAPE
13185 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13186 Remove commented code.
13187 (insertNote): moved here
13188 (open_new_inset): moved here
13190 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13193 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * kbmap.C (findbinding): clean it up and make it work correctly.
13197 * lyx_main.C (init): do not pass argc and argv as parameters
13199 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13201 * buffer.C: fix path for OS/2 & Win32
13205 * lyx_main.C: Added os:: class.
13207 * os2_defines.h: update
13209 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13212 better by trying again with reduced state.
13214 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * lyxrc.C (read): print error about invalid key sequence only when
13217 debugging (because not all latinX keysyms are known to some X
13220 * kbsequence.C (getiso): add a few std:: qualifiers
13221 (getiso): comment out extra return statement.
13223 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13227 (Dispatch): enhance the accent inset a bit. (not perfect)
13229 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13231 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13233 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13235 * bufferlist.C (emergencyWrite): fix assert() call
13237 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13239 * text.C (InsertChar): Added trivial patch to only send the "you
13240 can not do multiple spaces this way" message once during a
13243 2001-05-08 Baruch Even <baruch@lyx.org>
13245 * Makefile.am: Changed order of libraries to get LyX to link properly
13246 with the gnome frontend.
13248 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * LaTeXFeatures.h: add a std:: qualifier
13252 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * paragraph.C (String): use stringstream
13256 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * paragraph.C (writeFile): remove footflag arg
13260 * buffer.C (makeLaTeXFile): use stringstream
13261 (latexParagraphs): remove footnot gurba
13263 * LaTeXFeatures.C (getPackages): use stringstream
13264 (getMacros): likewise
13265 (getTClassPreamble): likewise
13266 (getFloatDefinitions): new method
13268 * paragraph.C (writeFile): reindent
13271 * WorkArea.h: revert the xpos + etc changes.
13273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13275 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13277 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13278 (pasteSelection): likewise
13279 * text2.C (CreateUndo): likewise
13281 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * minibuffer.C (peek_event): temporarily reduce the functionality
13284 of the minibuffer (to allow args on lfuns)
13286 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13287 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13289 * buffer.C (readInset): add compability reading of old float
13290 lists, add reading of new style float list.
13291 (readInset): avoid reevaluation of inscmd.getCmdName()
13292 (getLists): reindent
13294 * MenuBackend.C (MenuItem): implement parsing of
13295 md_floatlistinsert and md_floatinsert.
13296 (expand::LastFiles): move initalizaton of iterators out of loop,
13297 avoid reevaluation.
13298 (expand::Documents): introduce typdedef vector<string> Strings,
13300 (expand::ExportFormats): introduce typedef vector<Format const *>
13301 Formats, and use it.
13302 (expand): implement FloatListInsert and FloatInsert.
13304 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13305 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13306 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13308 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13310 (Dispatch::LFUN_FLOAT_LIST): implement
13312 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13314 * LaTeX.C (run): Fix problem with --export code.
13316 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13318 * BufferView.[Ch] (workarea): removed.
13319 (getClipboard) new method; wrapper for workarea()->getClipboard()
13321 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13324 * WorkArea.h (width, height, xpos, ypos): These methods all
13325 returned the dimensions of the work_area sub-area of WorkArea,
13326 resulting in a position error if the WorkArea were resized. Now
13327 return the dimensions of the entire WorkArea.
13329 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13331 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * LaTeX.C (deplog): correct the syntax of regex reg1
13335 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * undo.C: remove !NEW_INSETS cruft
13339 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * text2.C: remove !NEW_INSETS cruft
13343 * text.C: remove !NEW_INSETS cruft
13345 * tabular.C: remove !NEW_INSETS cruft
13347 * spellchecker.C: remove !NEW_INSETS cruft
13349 * lyxtext.h: remove !NEW_INSETS cruft
13351 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13353 * lyxfunc.C: remove !NEW_INSETS cruft
13355 * lyxfind.C: remove !NEW_INSETS cruft
13357 * lyx_cb.C: remove !NEW_INSETS cruft
13359 * figureForm.C: remove !NEW_INSETS cruft
13361 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13363 * buffer.[Ch]: remove !NEW_INSETS cruft
13365 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13367 * CutAndPaste.C: remove !NEW_INSETS cruft
13369 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13371 * BufferView2.C: remove !NEW_INSETS cruft
13373 * BufferView.h: remove !NEW_INSETS cruft
13375 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13377 * Lsstream.h: include LString.h before the sstream headers to
13378 fix problem with gcc 2.95.3 and lyxstring
13380 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13382 * lyx_main.C: add using directives when needed for C functions
13383 declared in std:: namespace.
13385 2001-04-27 Juergen Vigna <jug@sad.it>
13387 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13388 (SetHeightOfRow): comment out the update call should not be needed!
13390 2001-04-13 Juergen Vigna <jug@sad.it>
13392 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13393 (LyXTabular): tried to minimize operator= operations (and realized
13394 hopfully Lars wish).
13396 2001-04-27 Juergen Vigna <jug@sad.it>
13398 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13400 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13404 * buffer.C (readInset): hack to make listof algorithm work
13406 * BufferView_pimpl.C: hack to make listof algorithm work
13408 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * LyXAction.C: removed all !NEW_INSETS cruft
13411 (init): moved lfun_item in method
13413 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13415 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13417 * BufferView2.C (theLockingInset): white space.
13419 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * minibuffer.C: include <iostream>
13423 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13425 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13427 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13429 * text.[Ch] (TransposeChars): new method
13431 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13433 * call message directly through LyXView instead of through LyXFunc
13434 * BufferView2.C: adjust
13435 * BufferView_pimpl.C: adjust
13436 * FontLoader.C: adjust
13438 * bufferview_funcs.C: adjust
13439 * converter.C: adjust
13440 * figureForm.C: adjust
13441 * importer.C: adjust
13443 * lyx_gui_misc.C: adjust
13444 * lyxfunc.C: adjust
13447 + more files in subdirs
13449 * lyxparagraph.h (size): move up int file
13452 * adjust all uses of Assert to lyx::Assert.
13454 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13455 lyxfunctional in namespace lyx
13456 * layout.C (hasLayout): ditto
13459 (delete_layout): ditto
13460 (NumberOfClass): ditto
13461 * converter.C (GetFormat): ditto
13466 * bufferlist.C (getFileNames): ditto
13467 (emergencyWriteAll): ditto
13470 * MenuBackend.C (hasSubmenu): ditto
13473 * BufferView_pimpl.C (getInsetByCode): ditto
13475 2001-04-18 Juergen Vigna <jug@sad.it>
13477 * vspace.C (asLatexString): fixed the 100% problem.
13479 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13481 * lyxfunc.C (Dispatch):
13483 * minibuffer.h: add a few std:: qualifiers
13485 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * minibuffer.[Ch]: reimplement so that commands is initiated and
13488 run from lyxfunc, simplified som handling, and made the completion
13489 and history code for complete. wip.
13491 * lyxfunc.C (processKeySym): call message
13492 (miniDispatch): new temporary method
13493 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13494 (LFUN_MESSAGE): implement
13495 (LFUN_MESSAGE_PUSH): implement
13496 (LFUN_MESSAGE_POP): implement
13497 (initMiniBuffer): the initial/defualt minibuffer message.
13499 * lyxfont.[Ch]: inline some more getters
13501 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13503 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13505 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13506 (AutoSave): use LFUN_MESSAGE
13507 (Reconfigure): ditto
13509 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13511 * figureForm.C: use LFUN_MESSAGE
13513 * converter.C (runLaTeX): use LFUN_MESSAGE
13515 * bufferview_funcs.C: use LFUN_MESSAGE
13517 (changeDepth): ditto
13519 * bufferparams.h: use boost::
13521 * bufferlist.h: inherit privately from noncopyable
13523 * bufferlist.C (loadLyXFile): remove some commented code.
13525 * buffer.C (runChktex): use LFUN_MESSAGE
13527 * ShareContainer.h: inherit privately from noncopyable
13529 * ParagraphParameters.[hC] (depth): inline it.
13531 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13533 (message): new method
13534 (messagePush): ditto
13535 (messagePop): ditto
13536 (show): init minibuffer
13537 (showState): direct call
13539 * LaTeX.[Ch]: inherit privately from noncopyable
13540 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13541 instead of WriteStatus.
13543 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13545 * BufferView_pimpl.C (buffer): don't init minibuffer
13546 (workAreaButtonPress): use LFUN_MESSAGE
13547 (workAreaButtonRelease): ditto
13548 (savePosition): ditto
13549 (restorePosition): ditto
13550 (MenuInsertLyXFile): ditto
13551 (workAreaExpose): don't init minibuffer
13552 (update): remove commented code, simplify
13554 * BufferView2.C (openStuff): use LFUN_MESSAGE
13555 (toggleFloat): ditto
13558 (copyEnvironment): ditto
13559 (pasteEnvironment): ditto
13564 (updateInset): remove some commented code
13566 * lastfiles.h: inherit privately from noncopyable
13569 * lyx_main.h: ditto
13571 * lyxlex_pimpl.h: ditto
13573 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13574 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13575 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13577 * LyXAction.h: inherit privately from noncopyable, add methods
13578 func_begin, func_end, returning iterators to the func map.
13580 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13581 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13582 (func_begin): new method
13583 (func_end): new method
13585 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13587 (copySelection): ditto
13588 (pasteSelection): ditto
13590 * BufferView.C: whitespace change
13591 * BufferView.h: inherit privately from noncopyable
13593 2001-04-16 Allan Rae <rae@lyx.org>
13595 * tabular-old.C (l_getline):
13596 * spellchecker.C (sc_check_word):
13597 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13598 an unrecognised preprocessor directive. So ensure they're wrapped.
13600 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13602 * src/exporter.C (Export): Give an error message when path to file
13605 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13607 * LaTeX.C (deplog): Always check that foundfile exists.
13609 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13614 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * tabular.[Ch] (getLabelList): implement new method
13618 * minibuffer.h: comment ouf setTiimer
13620 * minibuffer.C (ExecutingCB): constify res
13621 (peek_event): constify s
13622 (Set): constify ntext
13623 (Init): constify nicename
13625 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13627 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13628 (savePosition): use two params to Minibuffer::Set
13629 (restorePosition): ditto
13631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13633 * lyx_main.C: include language.h
13635 * Makefile.am (lyx_main.o): add language.h
13637 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13643 * CutAndPaste.C: include gettext.h
13645 * lyxfont.h: remove old hack with ON and OFF.
13648 * lyxfont.h: do not include language.h...
13653 * bufferview_funcs.C:
13659 * paragraph.C: ... but do it here instead
13661 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13665 * tabular.C: small reformat
13667 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13670 (BreakParagraph): ditto
13671 (SetOnlyLayout): ditto
13674 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13677 * lastfiles.C: removed most using decl, add std:: where needed
13679 * buffer.C: ws changes
13681 * MenuBackend.C (class compare_format): put into anon namespace
13682 (expand): constify label, names, action, action2
13685 * text.C (SingleWidth): constify font
13686 (IsBoundary): constify rtl2
13687 (GetVisibleRow): constify ww
13689 * LaTeX.C (deplog): constify logfile
13691 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13693 (workAreaExpose): constify widthChange, heightChange
13695 * lyxrow.C (par): moved
13698 * lyxrow.h: as inlines here
13700 * lyxfont.h (shape): moved from lyxfont.C
13701 (emph): moved from lyxfont.C
13703 * lyxfont.C (LyXFont): use initialization list for all
13705 (shape): move to lyxfont.h as inline
13706 (emph): move to lyxfont.h as inline
13709 2001-04-04 Juergen Vigna <jug@sad.it>
13711 * vspace.C: had to include stdio.h for use of sscanf
13713 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13716 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13717 independent of xforms.
13719 2001-04-02 Juergen Vigna <jug@sad.it>
13721 * spellchecker.C: fixed namespace placing!
13723 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13725 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13726 the LyXParagraph * is 0.
13728 2001-03-29 Juergen Vigna <jug@sad.it>
13730 * vspace.C: added support for %, c%, p%, l%.
13731 (stringFromUnit): added helper function.
13732 (asLatexString): changed to give right results for the %-values.
13734 * buffer.C: convert the widthp in a width%.
13736 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13738 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13741 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13742 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13744 * lyx_cb.[Ch]: see above.
13746 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13750 * lyx.[Ch]: replaced by figure_form.[Ch].
13754 * lyxfunc.C: changed headers associated with above changes.
13756 2001-03-27 Juergen Vigna <jug@sad.it>
13758 * BufferView_pimpl.C: set the temporary cursor right!
13760 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13762 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13764 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13766 * LString.h: removed "using std::getline"!
13768 * BufferView_pimpl.C (Dispatch): changes due to changes in
13769 InsetInclude::Params.
13771 * buffer.C (tag_name): removed redundant break statements as they were
13772 producing lots of warnings with my compiler.
13774 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * LString.h: add "using std::getline" when using the real <string>.
13778 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13780 * buffer.C: removed bitset usage.
13781 PAR_TAG moved to an anonymous name space.
13782 (tag_name): new funtion, also in the anonymous namespace.
13783 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13784 (makeDocBookFile): clean code. Completed transition from string arrays
13786 (SimpleDocBookOnePar): code clean.
13788 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13790 * tabular.C: add some comments.
13792 2001-03-22 Juergen Vigna <jug@sad.it>
13794 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13795 compatibility read a bit and fixed bug with minipage in different
13798 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13800 * buffer.C (pop_tag): removed.
13801 (push_tag): removed.
13802 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13803 array replaced with vector. Added support for CDATA sections.
13804 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13806 (makeDocBookFile): XML conformant declaration of CDATA section,
13807 fixed bug related to <emphasis> in the first paragraph char.
13808 (sgmlOpenTag): exclude empty tags.
13809 (sgmlCloseTag): ditto.
13811 * buffer.h (pop_tag): removed.
13812 (push_tag): removed.
13814 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13816 * language.h (Languages): added size_type and size().
13818 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13820 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13821 response on compability reading of minipages. One probliem is that
13822 the old usage of minipages was «flertydig»
13824 * several files here and in subdirs: don't use static at file
13825 scope use anon namespaces instead.
13827 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13829 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13830 LaTeX output. This is necessary for Literate document
13833 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13835 * buffer.C: insert hfill when needed.
13837 * tabular.C (l_getline): use string::erase, small whitespace change.
13839 * BufferView_pimpl.C: try the anon namespace.
13840 * WorkArea.C: ditto
13842 2001-03-16 Juergen Vigna <jug@sad.it>
13844 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13845 otherwise it won't open options-dialogs.
13847 * buffer.C: honor pextraWidth(p) on converting minipages.
13849 * tabular.C (l_getline): changed the functions to strip trailing \r.
13851 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13853 * BufferView_pimpl.C:
13854 * minibuffer..C: added "using SigC::slot" declaration.
13856 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13858 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13864 * paragraph.C: ditto
13866 * lyxtext.h: NO_PEXTRA
13868 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13870 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13871 * ParameterStruct.h: ditto
13872 * ParagraphParameters.h: ditto
13873 * lyxparagraph.h: ditto
13875 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13877 * buffer.C: add compability for minipage alignment.
13878 (latexParagraphs): remove unwanted pextra check.
13880 * several files: remove CXX_WORKING_NAMESPACES
13882 * buffer.C (pop_tag): tie is in namespace boost
13884 * BufferView.h: noncopyable is in namespace boost
13886 * lyx_main.h: ditto
13889 * lastfiles.h: ditto
13890 * bufferlist.h: ditto
13891 * ShareContainer.h: ditto
13893 * LyXAction.h: ditto
13896 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13898 * Merging changes from BRANCH_MVC back into HEAD.
13900 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13902 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13904 * BufferView_pimpl.C: change from intl.C
13908 * Makefile.am: move combox.*
13914 * intl.C: remove dialog (covered by prefs)
13916 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13918 * lyxfunc.C (Dispatch): removed redundant break statement.
13920 2001-03-14 Juergen Vigna <jug@sad.it>
13922 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13924 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13926 * buffer.C: add hack to fix compability reading of minipages.
13928 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13930 * buffer.C (getLists): Cleanup.
13932 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * lyxfont.C (update): don't honor toggleall on font size.
13936 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13940 * Makefile.am: moved to frontends/xforms/
13944 * BufferView_pimpl.C: changes for moved mathpanel
13946 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13948 * gettext.h: fix gettext_init() in --disable-nls
13950 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13954 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13957 * lyx.h: strip external form
13959 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13961 * BufferView_pimpl.C: add comment, destroySplash()
13963 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13965 * BufferView_pimpl.C:
13969 * lyxfunc.C: use re-worked insetinclude
13971 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13973 * buffer.C: add using std::stringstream.
13975 * lyx_cb.C: readd using std::ios.
13977 * buffer.C: add using std::map.
13979 * BufferView_pimpl.C: add using std::vector.
13981 * ShareContainer.h: add std:: to swap.
13983 * buffer.h: add some typedefs
13984 * buffer.C (getLists): use them
13985 (getLists): renamed from getTocList.
13986 add a counter for the different float types and use it in the
13988 (getLists): use the same counter for the NEW_INSETS and the "non"
13991 * lyx_cb.h: remove unused items, includes, using etc.
13993 * ShareContainer.h: remove some commented code, add more comments
13994 and "documentation".
13996 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13998 * buffer.C (getTocList): make the list also when NEW_INSETS is
14001 * buffer.h: remove TocType
14003 * buffer.C (getTocList): change to return a map<string,
14004 vector<TocItem> >, implement for dynamic number of list.
14006 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14007 * text2.C (PasteSelection): adjust
14008 * CutAndPaste.C (pasteSelection): adjust
14010 * FloatList.C (FloatList): update from the new_insets branch.
14011 * Floating.[Ch]: ditto
14012 * LaTeXFeatures.C: ditto
14014 * lyxlex_pimpl.C: ditto
14016 * paragraph.C (Last): remove when NEW_INSETS is defined.
14018 * other file: changes because of the above.
14020 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14022 * lyxparagraph.h: rename next to next_, previous to previous_,
14023 make them private for NEW_INSETS. Rename Next() to next(),
14024 Previous() to previous().
14026 * other files: changes because of the above.
14028 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14031 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14034 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14036 * main.C (main): pass lyx_localedir to gettext_init().
14038 * gettext.h: remove locale_init and gettext_init macros
14040 * gettext.C (locale_init): new function
14041 (gettext_init): new function
14043 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14046 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14048 * Moved credits to frontends:
14049 * credits.[Ch]: removed
14050 * credits_form.[Ch]: removed
14051 * lyx_gui_misc.C: remove credits stuff
14054 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14056 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14058 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14059 unneeded destructor.
14061 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14062 a standalone pointer again.
14064 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14066 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14072 * ToolbarDefaults.C:
14081 * BufferView_pimpl.C: use new file dialog in GUII
14084 * lyx_cb.C: remove LayoutsCB to Toolbar
14086 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * ShareContainer.h (get): add std:: qualifier
14090 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14092 * ShareContainer.h: define a proper ShareContainer::value_type
14093 type (and use typename to please compaq cxx)
14095 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14097 * lyxparagraph.h: move serveral local vars to
14098 ParameterStruct/ParagraphParameters., use ShareContainer in
14099 FontTable., make vars in FontTable private and add getter and
14102 * paragraph.C: changes because of the above.
14104 * lyxfont.h: remove copy constructor and copy assignment. (the
14105 default ones is ok), move number inside FontBits. move inlines to
14108 * lyxfont.C: add number to initializaton of statics, move several
14109 inlines here. constify several local vars. some whitespace
14110 cleanup. Dont hide outerscope variables.
14112 * Spacing.h: add two new constructors to match the set methods.
14114 * ShareContainer.h: new file, will perhaps be moved to support
14116 * ParameterStruct.h: new file
14118 * ParagraphParameters.h: new file
14120 * ParagraphParameters.C: new file
14122 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14123 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14125 * BufferView_pimpl.C: ParagraphParameter changes.
14126 * buffer.C: Likewise.
14127 * bufferview_funcs.C: Likewise.
14128 * text.C: Likewise.
14129 * text2.C: Likewise.
14131 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * lyxfind.C (LyXReplace): do not redefine default argument in
14135 (IsStringInText): ditto
14136 (SearchForward): ditto
14137 (SearchBackward): ditto
14139 2001-03-06 Juergen Vigna <jug@sad.it>
14141 * lyxfind.C (IsStringInText): put parentes around expressions.
14143 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14145 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14147 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14149 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14151 * stl_string_fwd.h: add comment
14153 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14156 * tabular.C: remove unused DocBook methods
14162 killed DO_USE_DEFAULT_LANGUAGE
14164 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * lyx_gui.C: do not include language.h.
14168 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14169 arguments in function implementation.
14171 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14173 * BufferView_pimpl.C: add <ctime>
14175 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14177 * BufferView_pimpl.C: add using std::find_if
14179 2001-02-27 José Matos <jamatos@fep.up.pt>
14181 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14184 2001-02-11 José Matos <jamatos@fep.up.pt>
14186 * buffer.C (makeDocBookFile): command styles now have a parameter as
14187 "title" by default.
14189 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14191 * layout_forms.[Ch]: removed
14192 * lyx_cb.[Ch]: out character
14193 * lyx_gui.C: out character
14194 * lyx_gui_misc.C: out character
14195 * bufferview_funcs.C: : out character,
14196 added toggleall as parameter in ToggleAndShow
14198 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14200 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14202 * text2.C (SetCurrentFont): Disable number property at boundary.
14204 2001-02-26 Juergen Vigna <jug@sad.it>
14206 * lyxfunc.C (getStatus): added a string argument override function so
14207 that this is correctly called from LyXFunc::Dispatch if it contains a
14208 do_not_use_argument which is used!
14209 (Dispatch): added check for "custom" export and call appropriate func.
14211 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14213 * lyxrc.C: Add language_command_local, language_use_babel and
14214 language_global_options.
14216 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14218 * buffer.C (makeLaTeXFile): Use language_use_babel and
14219 language_global_options.
14221 2001-02-23 Juergen Vigna <jug@sad.it>
14223 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14224 which works with LyXText and putted it inside BufferView. Here now we
14225 only call for that part the BufferView::Dispatch() function.
14227 * BufferView.C (Dispatch): added.
14229 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14230 functions which needs to use a LyXText over from LyXFunc.
14231 (MenuInsertLyXFile): added
14232 (getInsetByCode): added
14233 (moveCursorUpdate): added
14234 (static TEXT): added
14236 2001-02-22 Juergen Vigna <jug@sad.it>
14238 * BufferView_pimpl.C (update): call a status update to see if LyXText
14241 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14243 * vc-backend.C (revert): implement for CVS
14244 (getLog): implement for CVS
14246 2001-02-20 Juergen Vigna <jug@sad.it>
14248 * text2.C (ClearSelection): added BufferView param for inset_owner call
14250 * lyxfunc.C (TEXT): added this function and use it instead of
14251 directly owner->view()-text of getLyXText().
14253 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14255 * src/layout_forms.C: out preamble
14256 * src/layout_forms.h: out preamble
14257 * src/lyx_cb.C: out preamble
14258 * src/lyx_cb.h: out preamble
14259 * src/lyx_gui.C: out preamble
14260 * src/lyx_gui_misc.C: out preamble
14261 * src/lyxfunc.C: connect with guii preamble
14263 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14265 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14267 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14269 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14270 whether to run bibtex.
14272 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14274 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14276 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14278 * Makefile.am (lyx_SOURCES): removed bibforms.h
14280 * vspace.h: doxygen
14282 * text.C (GetVisibleRow): make several local vars const
14284 * tabular.C: small cleanup.
14286 * lyxserver.C (callback): use compare instead of strncmp
14288 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14289 inlines to after class or to paragraph.C
14291 * lyxfont.h: remove friend operator!=
14293 * converter.h: move friend bool operator< to non friend and after
14296 * combox.h: small cleanup
14298 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14299 to inlines after class def.
14301 * buffer.C (pop_tag): use string operations instead of strcmp
14303 * bmtable.c: doxygen, small cleanup
14305 * LaTeX.h: remove friend operator==
14307 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14319 * BufferView_pimpl.C:
14320 * BufferView.[Ch]: remove cruft
14322 2001-02-14 Juergen Vigna <jug@sad.it>
14324 * lyxfunc.C: removed #if 0 unused code
14326 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14328 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14330 * text2.C (SetSelection): added a BufferView * parameter
14332 2001-02-13 Juergen Vigna <jug@sad.it>
14334 * lyxfunc.C (Dispatch): fixed protected blank problem.
14335 * BufferView2.C (protectedBlank): added LyxText * parameter.
14337 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14338 (AppendColumn): same as above for column_info.
14340 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14341 (moveCursorUpdate): use a LyXText param for support of InsetText.
14343 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14344 (tripleClick): ditto
14346 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14348 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14350 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14352 * text2.C (SetSelection): set correct update status if inset_owner
14353 (ToggleFree): ditto
14355 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14357 * tabular.C: remove some commented code.
14359 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14361 * BufferView_pimpl.C: call hideSplash()
14363 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14366 * bibforms.h: remove
14369 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14370 add LFUN_CHILD_CREATE
14372 * counters.h: fix tiny typo
14377 * lyx.C: move splash to frontends/xforms/
14379 * lyx_gui_misc.C: move Include and Bibform to frontends
14381 * lyxvc.h: clarify comment
14383 * vspace.C: tiny housekeeping
14385 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14387 * text.C (PrepareToPrint): RTL Fix.
14389 * paragraph.C (GetUChar): New method.
14390 (String): Use GetUChar.
14392 * buffer.C (asciiParagraph): Use GetUChar.
14394 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14396 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14398 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14401 * buffer.C: rename to getLogName(), handle
14402 build log / latex log nicely
14404 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14407 * MenuBackend.h: remove support for reference menuitem type.
14409 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14411 * BufferView_pimpl.C: housekeeping
14412 * BufferView_pimpl.h:
14417 * minibuffer.h: move Timeout GUI-I
14419 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14421 * lyxrc.C (read): Update converters data-structures.
14423 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14425 * LaTeX.h (operator!=): add operator != for Aux_Info
14427 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14429 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14431 * LaTeXLog.C: deleted, useful code moved to Buffer
14434 * buffer.C: new function getLatexLogName()
14440 * lyxfunc.C: use frontends for LaTeX and VC logs
14442 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14444 * LaTeX.h: yet another std:: that Allan forgot.
14446 * Variables.C (set): renamed from isset(), because this clashes
14447 with some HP-UX macros (grr).
14449 2001-02-06 Allan Rae <rae@lyx.org>
14451 * LaTeX.h: Another bug fix. Missing std:: this time.
14453 2001-02-04 Allan Rae <rae@lyx.org>
14455 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14456 floats problem. I've left it commented out because it's not quite
14457 correct. It should also test that the current object is a table or
14458 figure inset. But I haven't gotten around to figuring out how to do
14459 that. I *think* it'll be something like: "table" == inset.type()
14461 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14464 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14466 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14467 all the citation/databases/styles in the auxilary file.
14468 (run): Rerun latex if there was a babel language error.
14470 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14472 * text.C (Backspace): Preserve the font when changing newline char
14474 (BreakParagraph): If the cursor is before a space, delete the space.
14476 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14478 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14480 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14481 new argument (code).
14482 (ChangeCitationsIfUnique): New method.
14484 * paragraph.C (GetPositionOfInset): Handle bibkey.
14486 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14488 * BufferView_pimpl.h: change type of Position::par_pos to
14489 LyXParagraph::size_type.
14491 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14493 * BufferView_pimpl.C (savePosition, restorePosition): Write
14494 messages to minibuffer.
14496 2001-01-28 José Matos <jamatos@fep.up.pt>
14498 * buffer.C (makeDocBookFile): adds support for document language.
14499 A silly restriction on the name of LatexCommand types where removed.
14500 Added support for CDATA sections, allows to chars unescaped, used
14501 among others in code, to avoid escape < and >.
14503 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14505 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14506 saved positions instrad of a stack. Furthermore, a position is
14507 stored using paragraph id/paragraph position.
14509 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14510 Remove LFUN_REF_BACK.
14512 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14514 * converter.C (dvipdfm_options): New method.
14516 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14518 * vspace.C (isValidLength): Fix for empty input string.
14520 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * LyXAction.C (init): change description of LFUN_FIGURE to
14525 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14527 * LaTeX.C: add using directive
14529 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14531 * MenuBackend.C (expand): Fix the sorting of the formats.
14533 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14535 * lyx_main.C: tiny error message fix
14537 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14539 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14540 calling fl_initialize(). This fixes the problem with ',' as
14541 decimal separator in text files.
14543 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14545 * trans.C (process): Fix the keymap bug.
14547 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14549 * LaTeX.C (scanAuxFiles): New method. Provides support for
14550 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14551 (scanLogFile) Scan for "run BibTeX" messages.
14553 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14554 OT1 font encoding. Also, load the aecompl package if the ae
14557 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14559 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14561 * texrow.C (increasePos): turn two error messages into debug
14564 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14566 * LaTeX.C (scanAux): Handle the \@input macro.
14567 (runBibTeX): Use scanAux().
14569 * language.C (latex_options_): New field.
14571 * LaTeXFeatures.C (getMacros): Add language macros.
14573 * buffer.C (makeLaTeXFile): Small fix.
14575 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14577 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14579 * text2.C: add a using directive.
14581 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14586 * lyxfunc.C: kill LyXBell.
14588 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14590 * text.C (IsBoundary): Remove the error message
14592 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14594 * lyxrc.C (setDefaults): Correct initialization value for
14597 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14599 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14602 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14603 and GotoNextNote().
14605 * src/LyXAction.C: Added reference-next.
14607 * text.C (InsertChar): Use contains instead of strchr.
14609 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14611 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14613 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14614 alignment commands (when needed).
14616 * text.C (InsertChar): Add ':' to number separator chars.