1 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
6 * lyxtextclass.C (compare_name): rename to...
7 (LayoutNamesEqual): ...this
9 * lyxlex_pimpl.C (compare_tags): inherit from
10 std::binary_function, put back into anon namespace
12 * lyxfind.C (MatchString): inherig from std::binary_function
13 (findChange): use empty() istead of !size()
15 * format.C (FormatNamesEqual): new functor
22 * converter.C (compare_Converter): rename to...
23 (ConverterEqual): ...this, and fixup a bit.
24 (getConverter): use it, and make function const
25 (getNumber): use it, and make function const
29 * bufferlist.C: add using boost::bind
31 * MenuBackend.C (MenuNamesEqual): new functor
32 (hasMenu): use it, and make function const
33 (hasSubmenu): use nested bind to get rid of compare_memfun.
35 2004-01-30 André Pönitz <poenitz@gmx.net>
48 * text3.C: move some of the edit(x,y) handling to the insets
49 some coordinate changes.
51 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
53 * text.C: add using statements for std::advance and std::distance
55 * paragraph.C: add using statement for std::distance
57 * lyxfind.C: add using statement for std::advance
59 * cursor.C (region): remove std:: from swap
60 (openable): use nucleus in stead of operator->
62 * BufferView.C: add using statements for std::distance and std::swap
64 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
66 * iterators.C: Remove the pimple, move the needed structures to
67 the header file. Create accessor for the positions stack.
68 (asPosIterator): remove function
70 * PosIterator.C (PosIterator): move constructors to top of file
71 (PosIterator): reimplement the constructor taking a ParIterator in
73 (setFrom): new function
74 (operator!=): inline it
76 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
78 * lyxfind.C (replaceAll): use std::advance
80 * iterators.h: inherit from std::iterator.
82 * PosIterator.C (advance, distance): remove
83 * PosIterator.h: interit from std::iterator.
85 2004-01-26 André Pönitz <poenitz@gmx.net>
88 * BufferView_pimpl.[Ch]:
103 * output_plaintext.C:
105 * paragraph_funcs.[Ch]:
106 * paragraph_pimpl.[Ch]:
112 * text3.C: more IU: dumps most of the rest of the mathcursor
113 implementation into cursor.[Ch]; "globalize" a bit of it.
115 2004-01-25 Angus Leeming <leeming@lyx.org>
117 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
119 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * LaTeXFeatures.h: add nice_ and nice() const
122 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
124 2004-01-20 André Pönitz <poenitz@gmx.net>
127 * BufferView_pimpl.C:
129 * bufferview_funcs.C:
142 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
143 LCursor and mathcursor parts to LCursor and InsetBase.
145 2004-01-15 André Pönitz <poenitz@gmx.net>
147 * cursor_slice.[Ch]: add a few covienience functions
149 * funcrequest.[Ch]: remove BufferView * member
151 * BufferView_pimpl.C:
158 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
160 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
162 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
163 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
165 2004-01-13 André Pönitz <poenitz@gmx.net>
168 * lyxtext.h: hide cursor and selection anchor behind accessor function
171 * BufferView_pimpl.[Ch]:
173 * bufferview_funcs.C:
183 * cursor_slice.[Ch]: some integer type changes for inset unification
185 * lyxcursor.[hC]: remove, it's CursorSlice now.
188 * BufferView_pimpl.[Ch]:
189 * bufferview_funcs.C:
195 * textcursor.[Ch]: adjust
197 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
199 * text2.C (undoSpan): add and use
200 * text.C (breakParagraph): use undoSpan (fix bug 578)
203 2004-01-08 Angus Leeming <leeming@lyx.org>
205 * BufferView_pimpl.C (MenuInsertLyXFile):
206 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
207 * lyxfunc.C (menuNew, open, doImport):
208 FileFilterList change to the FileDialog open and save functions.
210 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
212 * ShareContainer.h: make isEqual and isUnique adaptable
214 * CutAndPaste.C: make resetOwnerAndChanges adaptable
216 2004-01-07 Angus Leeming <leeming@lyx.org>
219 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
221 * BufferView_pimpl.C (dispatch): act on these LFUNs.
223 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
224 functions replacing find, replace and replaceAll.
226 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
227 LFUN_WORDFIND(FORWARD|BACKWARD).
229 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
231 * text.C (breakParagraph): remove an outdated #warning
233 2004-01-07 André Pönitz <poenitz@gmx.net>
235 * lyxfind.C: somewhat clearer logic
237 * text.C: prevent crash in cursorX on unitialized row cache
239 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
241 * lyxcursor.[Ch] (operator>): add
242 * textcursor.C (selStart, selEnd): use std::min and std::max
244 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
246 * Chktex.C: include boost/format.hpp
248 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
250 * InsetList.C: replace functor MathcIt with adaptable functor
252 (insetIterator): modify accordingly
254 * BranchList.h: move the BranchNamesEqual functor here from...
255 * BranchList.C: ... to here
257 * BranchList.C: new BranchListEqual fuctor, use it. Remove
259 (add): replace a finding loop with std::find_if.
261 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
263 * output_docbook.C: moving LatexParam functionality into
266 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * buffer.C: increment format to 229.
270 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
273 * lyx_sty.[Ch]: remove minipageindent_def
279 * text3.C: remove LFUN_INSET_MINIPAGE
281 2003-12-28 Angus Leeming <leeming@lyx.org>
283 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
285 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
287 * text2.C (setParagraph): fix off-by-one crash
289 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
291 * output_docbook.C: header stuff for AGU
293 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
295 * text2.C (redoCursor): remove
298 * BufferView_pimpl.C: remove calls to redoCursor and
299 setCursor(cursor.par(), cursor.pos()) all around
301 2003-12-15 Angus Leeming <leeming@lyx.org>
303 * buffer.C: up the format to 228.
305 2003-12-15 André Pönitz <poenitz@gmx.net>
307 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
312 * BufferView_pimpl.C:
321 2003-12-15 Angus Leeming <leeming@lyx.org>
323 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
324 than getFromGUIName to manipulate the color.
326 2003-12-14 Angus Leeming <leeming@lyx.org>
328 * BranchList.[Ch]: minimize the API.
329 (Branch::getBranch, getColor): now return a 'const &'.
330 (Branch::setSelected) now returns a bool set to true if the
331 selection status changes.
332 (BranchList::clear, size, getColor, setColor, setSelected,
333 allBranches, allSelected, separator): removed.
334 (BranchList::find): new functions, returning the Branch with
336 (BranchList::add, remove): return a bool indicating that
337 the operation was successful.
339 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
340 new InsetBranch::isBranchSlected member function.
342 * LColor.[Ch]: mimimize the API.
343 (fill): renamed as addColor and made private.
344 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
345 versions of these functions taking a string arg have been removed.
347 * bufferparams.C (readToken):
348 * lyxfunc.C (dispatch):
349 * lyxrc.C (read): changes due to the altered BranchList and
352 * factory.C (createInset, readInset): changes due to altered
355 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * lyxfunc.C: remove insetminipage. "minipage-insert"
359 now produces a frameless minipage box inset.
361 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
363 * textcursor.[Ch] (selStart,selEnd): add new methods
364 remove selection::start, end, use LyXCursor::operator<
365 * lyxcursor.[Ch] (operator<): add
366 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
367 * BufferView.[Ch] (unsetXSel): add
368 * text2.C (clearSelection): use unsetXSel,adjust
371 * rowpainter.C: adjust
372 * bufferview_funcs.C (put_selection_at): adjust
374 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
376 * BufferView_pimpl.C: small coord. correction
378 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
380 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
381 dragging over the splash screen.
383 2003-12-11 Angus Leeming <leeming@lyx.org>
385 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
386 as it is now handled in LyXText::dispatch.
388 * text3.C (doInsertInset): remove a level of nesting.
390 2003-12-11 Angus Leeming <leeming@lyx.org>
392 * factory.C (createInset): changes due to the changed interface to
393 InsetCommandMailer::string2params.
395 2003-12-10 Angus Leeming <leeming@lyx.org>
397 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
398 'dialog-show-new-inset <inset name>'
400 2003-12-10 Angus Leeming <leeming@lyx.org>
402 * buffer.C: up the format to 227.
404 * factory.C: the box inset is now identified simply by 'Box'.
406 2003-12-10 Angus Leeming <leeming@lyx.org>
408 * buffer.C: up the format to 226.
410 * factory.C: the note inset is now identified simply by 'Note'.
412 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
414 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
415 when a pit is enough. Standarize a couple of loops.
417 2003-12-05 Angus Leeming <leeming@lyx.org>
419 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
420 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
421 data to the re-worked "log" dialog.
423 2003-12-03 André Pönitz <poenitz@gmx.net>
431 * text2.C: use Inset::getText instead of Inset::getParagraph
433 2003-12-03 André Pönitz <poenitz@gmx.net>
437 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
438 InsetText::read() as LyXText::read()
440 2003-12-02 Angus Leeming <leeming@lyx.org>
442 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
443 type. Add a comment in the implementation that the function uses
444 the stream's bad() function rather than fail() as the std::streams
447 2003-12-02 André Pönitz <poenitz@gmx.net>
449 * lyxlex.[Ch]: make interface more similar to std::stream
451 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
453 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
455 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
457 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
459 * vspace.[Ch]: remove VSpace::NONE
461 2003-12-01 André Pönitz <poenitz@gmx.net>
464 * lyxtext.h: move ParagraphList member to LyXText
465 rename LyXText::ownerParagraphs to LyXText::paragraph
468 * bufferview_funcs.C:
478 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
480 * undo.C: fix cursor positioning
482 2003-12-01 John Levon <levon@movementarian.org>
484 * BufferView_pimpl.C: fix a crash on exit with
487 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
489 * BranchList.C: fix setSelected() method.
491 2003-11-28 André Pönitz <poenitz@gmx.net>
493 * ParagraphParameters.[Ch]:
494 * ParameterStruct.h: remove space above/below from Paragraph to
497 * BufferView_pimpl.C:
509 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
511 * factory.C: Syntax change for CharStyles
513 2003-11-28 André Pönitz <poenitz@gmx.net>
518 * buffer.[Ch]: move LyXText member
520 2003-11-28 André Pönitz <poenitz@gmx.net>
522 * BufferView.[Ch]: make LyXText * text a private member
524 * BufferView_pimpl.C:
535 * output_plaintext.C: cleanup
537 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
540 * lyxtextclass.[Ch]: parametrize SGML document header
542 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
545 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
548 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
550 * text2.C (setFont): rework using PosIterator (no more recursive)
551 (setCharFont): no more needed
552 (setLayout): no more selection cursors fiddling (done by redoCursor)
553 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
554 destroy remaining ones)
556 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
558 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
560 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
563 * text3.C: adjust + re-allow multi par depth changes
564 * textcursor.C: simplify a bit
566 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
572 * src/output_docbook.C:
573 * src/output_latex.C:
578 * src/text2.C: Introducing a number of tags parametrizing various
579 XML formats that we may want to support
581 2003-11-25 André Pönitz <poenitz@gmx.net>
583 * InsetList.[Ch] (begein, end): inline as suggested by profiler
585 * lyxtext.h (leftMargin/rightMargin): simplify interface
592 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
594 * lyxfunc.C (dispatch): propogate the bibtex databases from the
595 master file to any child files. Fixes bug 546.
597 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
599 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
601 2003-11-24 André Pönitz <poenitz@gmx.net>
603 * rowpainter.C: simplification
605 * text2.C (updateCounters): remove call to redoParagraph on
606 changed labels as this is far too expensive.
608 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
610 * converter.C (convert): fix a crash: this function gets
611 called with buffer == 0 from importer code.
613 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
615 * text3.C (cursorPrevious): make sure that we do not compare
616 iterators form different containers.
619 * rowpainter.C (paintSelection): make sure that we do not compare
620 iterators from different containers.
622 * text3.C (dispatch): [PRIOR] make sure that we do not compare
623 iterators from different ParagraphList containers.
626 * text2.C (LyXText): change order of initialization slightly
627 (operator=): new function. copy all variables except cache_par_
628 (moveUp): make sure that we do not compare iterators from
629 different ParagraphList constainers.
632 * text.C (firstPar): new function
633 (lastPar): new function
634 (endPar): new function
636 * lyxtext.h: move things around and group public functions, public
637 variables, private functions, private variables
639 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
641 * factory.C: change call to InsetERT constructor to avoid
642 additional invocation of method status
643 * text2.C (toggleInset): remove redundant update() call
644 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
645 instead of a Bufferview pointer
647 2003-11-21 André Pönitz <poenitz@gmx.net>
649 * rowpainter.C: simplification
651 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
653 * text3.C (dispatch): make possible to extend a word/row selection
656 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
658 * lyxtext.h: x0_,y0_ -> xo_,yo_
659 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
660 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
661 * rowpainter.C (paintRows): paint full paragraphs
663 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
665 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
668 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
670 * lyxtext.h: add x0_, y0_
671 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
672 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
674 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
676 * text2.C (setCursorIntern): move the x_target update here *
677 * text3.C: change some bv() to true/false in calls to
678 cursorUp/Down/Right/Left
679 * cursor.C: use helper function.
681 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
683 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
684 * paragraph_funcs.[Ch]: correct comment
685 * rowpainter.C: do not paint selections away from bv->cursor()
686 Fix a long standing selection painting bug.
687 * text3.C: generalize mouse-selection code to LyXTexts other that
689 * textcursor.C: do not use y coords if we can use par offsets
691 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
693 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
694 cursor position after e.g. inset insert)
696 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
698 * lyxfind.C (replace): adjust to locking removal + some
701 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
703 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
706 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
709 * output_docbook.C: XML sanitation: new layout
710 parameters InnerTag and CommandDepth
712 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
714 * BufferView_pimpl.C:
716 * text3.C: Fix the insertion and modification of button-style
719 2003-11-13 André Pönitz <poenitz@gmx.net>
721 * InsetList.[Ch]: remove deleteLyXText
723 * paragraph.[Ch]: cache beginOfBody position
728 * text3.C: remove superfluous update() calls
732 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
734 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
735 * BufferView.C (fitLockedInsetCursor): remove
736 * cursor.[Ch] (getDim): add
737 * text.C (getRowNearY): add faster version
738 * text3.C: remove some update calls
740 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
752 * text3.C: The Character Style /XML short element patch.
754 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
757 * factory.C: Small step to solving 'unable to insert some insets'
760 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
762 * cursor.[Ch] (updatePos): new function for updating the y
763 position of the tip inset
764 * bufferview_funcs.C (put_selection_at):
765 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
767 2003-11-11 André Pönitz <poenitz@gmx.net>
769 * text.C: remove big comment on invalid Paragraph pointers as it is
772 2003-11-11 André Pönitz <poenitz@gmx.net>
774 * text_funcs.[Ch]: merge with ...
782 * Makefile.am: remove text_funcs.[Ch]
784 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
786 * cursor.C (getPos): return absolute cached y coord
788 * BufferView_pimpl.C (fitCursor): new simplistic code
789 (workAreaDispatch): add a fitCursor call
791 2003-11-10 André Pönitz <poenitz@gmx.net>
794 * BufferView_pimpl.[Ch]: merge update() and updateInset()
796 2003-11-10 André Pönitz <poenitz@gmx.net>
798 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
799 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
800 indicate that the cursor needs to leave an inset
802 * lyxtext.h: remove inset locking
804 * cursor.[Ch]: re-implement functionality provided by inset locking
807 * BufferView_pimpl.[Ch]:
809 * bufferview_funcs.[Ch]:
821 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
823 * PosIterator.[Ch]: replace the stack with a vector, add inset
825 * iterators.[C]: adjust
827 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
829 * lyxfind.C (replaceAll): mark the buffer dirty if something was
831 * paragraph_funcs.C (readParToken): put the correct id in the
832 error item, not the id of the top paragraph
834 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
836 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
837 * bufferview_funcs.C (put_selection_at): use the above
839 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
841 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
843 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * output_plaintext.h:
848 * output_docbook.h: add #include statements
850 2003-11-05 José Matos <jamatos@lyx.org>
852 * output_docbook.[Ch]:
854 * output_linuxdoc.[Ch]:
855 * output_plaintext.[Ch]: New files for output formats.
856 * output.[Ch]: New file for helper functions.
859 * paragraph_funcs.[Ch]: output functions moved to new files.
861 * outputparams.h: rename of latexrunparams.h
869 * paragraph_funcs.[Ch]:
870 * paragraph_pimpl.[Ch]:
871 * tabular.[Ch]: rename ascii to plaintext
872 and LatexRunParams to OutputParams.
874 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
876 * iterators.[Ch] (text): require bv argument
877 * undo.C (recordUndo):
878 * lyxfunc.C (dispatch):
879 * bufferview_funcs.C (put_selection_at): adjust
881 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
883 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
885 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
887 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
890 2003-11-04 André Pönitz <poenitz@gmx.net>
892 * cursor.[Ch]: restructure
895 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
897 * iterators.[Ch] (asCursor): remove
899 * lfuns.h: remove LFUN_INSET_EDIT
905 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
907 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
909 * lyxfind.[Ch]: complete overhaul
910 * BufferView_pimpl.C:
912 * paragraph.[Ch] (insert): add
914 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
918 * text.C: remove dead spellcheck code
920 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * dispatchresult.h: add a val setter
924 * cursor.C (dispatch): use a tempvar for data_[i]
926 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
928 * PosIterator.[Ch]: compile fix
930 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
932 * text.C (cursorPar): deactivate the cursor cache
934 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
936 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
938 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * text3.C (dispatch): adjust for new DisptchResult semantics.
942 * lyxfunc.C (dispatch): handle update when return from
943 Cursor::dispatch, adjust for new DispatchResult semantics.
945 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
946 DispatchResult(true) mean to not update. Add class functions for
947 setting dispatched and update, as well as reading.
949 * cursor.C (dispatch): don't handle update here
951 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
954 * trans_mgr.C: adjust
956 * paragraph_funcs.C (readParToken): exception safety
958 * lyxvc.h: store the vcs pointer in a scoped_ptr
961 * lyxsocket.C (serverCallback): exception safety
963 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
965 * ispell.C (clone): make it return a auto_ptr
967 * factory.C (createInset): exception safety
968 (readInset): exception safety
970 * bufferlist.C (newBuffer): exception safety
972 * Thesaurus.C (Thesaurus): use initialization for aik_
974 * MenuBackend.C (expandToc): exception safety.
976 2003-11-03 André Pönitz <poenitz@gmx.net>
980 * bufferview_funcs.C: remove getInsetFromId()
983 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
989 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
991 * PosIterator.C (distance, advance): new
992 * bufferview_funcs.[Ch] (put_selection_at): new
993 * iterators.[Ch] (lockPath): new
995 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
997 * iterators.[Ch] (asPosIterator): added
998 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
999 * PosIterator.[Ch]: added
1001 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1005 * cursor.C (dispatch):
1006 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1008 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1009 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1010 contructor, add a class function dispatched. Remove operator>=
1012 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * debug.C: only use the default constructor for debugstream
1017 * main.C (main): include debug.h and setup the lyxerr streambuf
1020 2003-10-31 José Matos <jamatos@lyx.org>
1022 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1024 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1025 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1026 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1027 * paragraph_pimpl.C (simpleTeXSpecialC):
1028 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1029 add LatexRunParams argument.
1031 * exporter.C (Export): change call accordingly.
1033 * latexrunparams.h: add new member to take care of the other backends.
1034 2003-10-30 José Matos <jamatos@lyx.org>
1036 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1037 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1038 factorise code for paragraph output.
1040 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1043 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * text3.C (dispatch):
1046 * lyxfunc.C (dispatch):
1047 * cursor.C (dispatch):
1048 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1050 * dispatchresult.h: make the dispatch_result_t ctor explicit
1052 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1055 * buffer.C: small refactoring of docbook stuff
1057 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1062 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1065 operator dispatch_result_t, and operators for == != and >=
1067 * cursor.C (dispatch): adjust for operator dispatch_result_t
1068 removal. comment out call to update
1070 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1072 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1083 * dispatchresult.h: new file, DispatchResult broken out of
1086 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1088 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1090 * text.C (rowBreakPoint): put a hack inside #if 0
1092 2003-10-28 André Pönitz <poenitz@gmx.net>
1096 * paragraph_funcs.C:
1099 * text2.C: general cleanup (lots of small stuff)
1101 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1103 * text2.C (cursorEnd): simple fix to the "end key goes to one
1104 before the end on last row" bug
1106 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1108 * text.C (backspace): fix the "zombie characters"
1110 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1112 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1114 2003-10-27 André Pönitz <poenitz@gmx.net>
1116 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1118 * factory.C: handle new InsetPagebreak, InsetLine
1120 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1121 and move handling into new InsetPagebreak, InsetLine
1123 * BufferView_pimpl.C:
1125 * ParagraphParameters.C:
1126 * ParameterStruct.h:
1131 * paragraph_funcs.C:
1132 * paragraph_pimpl.C:
1138 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1141 * lyxrow_funcs.[Ch]:
1147 * text3.C: remove lastPos uses in favour of Row::endpos
1149 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1151 * undo.C (performUndoOrRedo): fix two crashes by setting a
1152 cursor by hand and reordering some calls. Use bv->lockInset instead
1153 of inset->edit because the latter loses cursor information
1155 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1157 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1159 (rowBreakPoint): fix width. change point to point + 1.
1160 Add a missing check.
1162 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1165 * lyxfunc.C: fix (at least partly) the problems
1166 with the Nav menu and headers inside branch insets
1169 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1171 * paragraph.C (getChar): add strong asserts
1173 * lyxrow_funcs.C (lastPos): remove hideous hack
1175 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1176 (fill): adjust to that (avoid an infinite loop)
1178 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1180 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1182 2003-10-23 André Pönitz <poenitz@gmx.net>
1184 * RowList_fwd.h: change list<> to vector<> to gain speed
1185 after suggestion from Alfredo
1187 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1189 * lyxtext.h: move the bidi stuff from here...
1192 * Bidi.[Ch]: ... to here
1194 2003-10-23 André Pönitz <poenitz@gmx.net>
1197 * text.C (isLastRow, isFirstRow): new functions
1199 * paragraph.h: new width cache member
1201 * rowpainter.C: replace RowList::iterator with Row & where possible
1203 * lyxfunc.C: replace several view()->text with a single call
1205 * toc.C: fix 'unused' warning
1207 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1209 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1210 when woring with stream::pos_type
1211 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1213 2003-10-22 André Pönitz <poenitz@gmx.net>
1216 * text.C: use Row & instead of RowList::iterator
1218 * lyxrow.h: rename end() to endpos()
1224 2003-10-22 Angus Leeming <leeming@lyx.org>
1226 * buffer.[Ch] (fully_loaded): new member function, returning true
1227 only when the file has been loaded fully.
1228 Used to prevent the premature generation of previews and by the
1229 citation inset to prevent computation of the natbib-style label.
1231 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1232 templates are all set up.
1234 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1236 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1238 * text.C: fixed an "oops" in the "is a bit silly"
1241 2003-10-21 André Pönitz <poenitz@gmx.net>
1243 * FuncStatus.[Ch]: small stuff, whitespace
1245 * lyxfont.[Ch]: operator<<() for debug reasons
1249 * lyxtext.h: whitespace, spelling
1251 * paragraph.C: naming of variables
1254 * text2.C: small stuff
1257 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1259 * text.C: (1) finish off the inset display() work;
1260 (2) fix the "is a bit silly" bug (accessing char
1263 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1265 * text.C: re-introduce display() for insets, fixing the
1266 various bugs (stretch of line above, math inset
1269 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * text.C (rightMargin): remove spurious semicolon
1273 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1276 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1278 * text3.C: fix one crash due to wrong cursor def
1280 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1282 * vc-backend.C (scanMaster): make the regex static
1284 * LaTeX.C (scanAuxFile): make the regexs static
1286 * text3.C (doInsertInset, dispatch, dispatch):
1287 * text2.C (cursorUp, cursorDown):
1288 * text.C (selectNextWordToSpellcheck):
1289 * BufferView_pimpl.C (dispatch):
1290 * lyxfunc.C (dispatch): localDispatch -> dispatch
1292 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1294 * lyxsocket.C: include <cerrno>
1296 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1298 * lyxfunc.C (dispatch): remove textcache stuff
1300 * bufferlist.C (release): remove textcache stuff
1303 * TextCache.C: delete file
1304 * TextCache.h: delete file
1306 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1308 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1309 delete of the bv_->text.
1310 (resizeCurrentBuffer): remove texcache stuff
1311 (workAreaResize): ditto
1313 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1318 2003-10-16 André Pönitz <poenitz@gmx.net>
1325 * text3.C: speed up by storing y positions per paragraph plus per-row
1326 offset instead of having a 'full' y position in the row.
1328 2003-10-15 André Pönitz <poenitz@gmx.net>
1332 * undo.[Ch]: make undo aware of inner insets
1334 2003-10-14 Angus Leeming <leeming@lyx.org>
1336 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1337 static member functions LyX::ref() and LyX::cref.
1338 (lastfiles): new accessor functions for the new lastfiles_ member var.
1339 (addLyXView, views_): add a new LyXView to the list of views_.
1340 (updateInset): loop over all LyXViews to call their own updateInset
1341 member function, returning a pointer to the Buffer owning the inset.
1343 * BufferView_pimpl.C (loadLyXFile):
1344 * MenuBackend.C (expandLastfiles):
1345 * bufferlist.C (MenuWrite, QuitLyX):
1346 lastfiles is no longer a global variable.
1347 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1349 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1350 static function. Access through LyX::cref().emergencyCleanup().
1352 2003-10-14 André Pönitz <poenitz@gmx.net>
1354 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1356 * undo.[Ch]: restoring part of 'undo in insets'
1359 * undo_funcs.[Ch]: merge with undo.[Ch]
1361 * tabular.C: small cleansing stuff
1363 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1365 * paragraph_funcs.C (readParToken): report unknown insets as error
1366 boxes. Use the outer paragraph as location (also for unknown
1369 * factory.C (readInset): do not abort on reading an unknown inset.
1370 Eat it and return 0.
1372 2003-10-13 Angus Leeming <leeming@lyx.org>
1374 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1376 * lyxrc.C: displayTranslator is now a function,
1377 declared in GraphicsTypes.h.
1379 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1381 * format.C: new placeholder $$a to pass the socket address.
1383 * bufferlist.[Ch]: new function getBufferFromTmp.
1385 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1386 files in the temporary dir.
1388 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1390 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1392 * Makefile.am: add lyxsocket.[Ch].
1394 * lyx_main.C (error_handler): handle SIGPIPE.
1396 2003-10-13 André Pönitz <poenitz@gmx.net>
1398 * BufferView_pimpl.C:
1403 * undo_funcs.[Ch]: use paroffset_type instead of
1404 ParagraphList::iterators to prevent multiple conversion
1405 (and get a more robust interface)
1407 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1411 * text3.C (dispatch): ditto
1413 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1416 move the onlyfile, use onlyfile instead of foundfile in a couple
1419 * DepTable.C (update): flush the error stream a bit more
1421 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * lyxserver.C (callback): adjust
1425 * lyxfunc.C (getStatus): add a missing brace in commented code
1426 (ensureBufferClean): reindent
1427 (dispatch): delete version taking a string
1429 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * LaTeX.C (deplog): move found file handlig from here...
1432 (handleFoundFile): .. to new function here.
1433 (deplog): make sure to discover several files mentioned on the
1436 2003-10-10 André Pönitz <poenitz@gmx.net>
1443 * text3.C: fix some of the tabular crashes
1445 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1447 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1449 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1451 2003-10-09 André Pönitz <poenitz@gmx.net>
1453 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1456 * BufferView_pimpl.C:
1457 * bufferview_funcs.C:
1468 * undo_funcs.C: adjust
1470 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * text2.C (incrementItemDepth): new function, use a backtracking
1473 algorithm to discover the correct item depth.
1474 (resetEnumCounterIfNeeded): new function, use a backtracking
1475 algorithm to discover if counter reset is needed.
1476 (setCounter): use them. Simplify a bit. Add different labels for
1477 different item depths for itemize.
1479 * paragraph.C (Paragraph): remove initialization of enumdepth
1482 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1483 enumerate and itemize. Change the type of itemdepth to signed char.
1485 2003-10-08 André Pönitz <poenitz@gmx.net>
1487 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1492 * tabular.[Ch]: fix crash after 'row-insert'
1494 2003-10-08 Angus Leeming <leeming@lyx.org>
1496 Fix doxygen warnings.
1498 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1499 Remove CutAndPaste:: prefix from header file declaration.
1501 * LColor.h (fill): remove LColor:: prefix from declaration.
1503 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1504 use lyx::depth_type rather than Paragraph::depth_type so that
1505 header file and .C file match.
1507 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1509 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1510 * aspell.C: \file aspell_local.C -> \file aspell.C
1511 * gettext.C: \file gettext.C -> \file src/gettext.C
1512 * gettext.h: \file gettext.h -> \file src/gettext.h
1513 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1514 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1515 * text.C: \file text.C -> \file src/text.C
1517 * toc.C: move comment so that doxygen is not confused.
1519 2003-10-07 Angus Leeming <leeming@lyx.org>
1521 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1523 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1526 * aspell_local.h: add forgotten std::string's.
1528 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1535 * text3.C: The Box patch. Fancybox support, minipage, parbox
1537 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1543 * ParagraphParameters.h:
1553 * lyxtextclasslist.h:
1556 * paragraph_pimpl.C:
1557 * textcursor.h: add <string> and other small fixes to make Lars'
1558 std::string patch compile with STLport.
1560 2003-10-06 Angus Leeming <leeming@lyx.org>
1562 * LColor.h: Add missing #include <string>.
1564 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * All most all file in all subdirs: Make <string> be the prefered
1567 way of getting to std::string, add using declarations.
1569 2003-10-06 André Pönitz <poenitz@gmx.net>
1571 * metricsinfo.C: initialize LyXFont before changing attribute.
1572 (fixes the 'math in \emph is upright' bug)
1574 2003-10-06 André Pönitz <poenitz@gmx.net>
1576 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1578 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1581 * paragraph_pimpl.C: Small fixes to build using STLport
1583 2003-10-02 André Pönitz <poenitz@gmx.net>
1586 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1588 2003-10-01 André Pönitz <poenitz@gmx.net>
1590 * factory.C: assert early
1592 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * lyx_main.C: remove the global debug object
1596 * debug.h: adjust for new debugstream
1598 * debug.C: adjust for new debugstream and keep the global debug
1601 2003-09-22 Angus Leeming <leeming@lyx.org>
1603 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1604 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1605 an incomplete class LyXFont.
1607 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1609 * factory.C: bug fix in branches
1611 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * lyxfunc.C (processKeySym): adjust
1615 (dispatch): change arg name from ev to func, adjust
1616 (sendDispatchMessage): ditto
1618 * lyx_main.C (defaultKeyBindings): adjust keybindings
1619 (deadKeyBindings): ditto
1621 * kbsequence.C (addkey): return a FuncRequest
1623 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1625 * kbmap.C (bind): take a FuncRequest as arg, adjust
1628 (defkey): change to take a FuncRequest as arg, adjust
1629 (findbinding): take a FuncRequest as arg, adjust.
1631 * funcrequest.h (operator=): added
1633 * funcrequest.C (FuncRequest): default kb_action changed from
1634 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1636 * buffer.C (dispatch): simplify
1637 (dispatch): adjust to take a FuncRequest as arg, adjust
1639 * boost.C (assertion_failed): change assertion message slightly
1641 * ToolbarBackend.C (read): simplify
1643 * MenuBackend.C (binding): adjust call to findbinding, add a
1644 message if no binding is found.
1646 (expandToc): correct by adding a empty FuncRequest
1648 * LyXAction.C: include <boost/assert.hpp>
1649 (isPseudoAction): delete function
1650 (LookupFunc): change name to...
1651 (lookupFunc): this. change return type to FuncRequest.
1652 (getActionName): take kb_action as arg, simplify
1653 (funcHasFlag): add an assert, simplify.
1655 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * toc.C (action): return a FuncRequest, simplify
1659 * lyxfunc.C (processKeySym): adjust
1660 (getStatus): delete version that takes an int.
1662 (dispatch): delete version that takes action as int
1664 (sendDispatchMessage): simplify and adjust
1666 * funcrequest.C (getArg): take unsigned int as arg
1668 * ToolbarBackend.C (read): adjust
1669 (add): delete version that takes func as a string.
1670 (getIton): take a FuncRequest as arg
1672 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1675 * MenuBackend.C (MenuItem): add a new construct that only takes a
1676 Kind, simplify the constructor use for submenus.
1678 (expandLastfiles): adjust
1679 (expandDocuments): adjust
1680 (expandFormats): adjust
1681 (expandFloatListInsert): adjust
1682 (expandFloatInsert): adjust
1683 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1685 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1686 Remove class variables lyx_pseudo_map and lyx_arg_map
1688 * LyXAction.C (searchActionArg): delete function
1689 (getPseudoAction): delete function
1690 (retrieveActionArg): delete function
1691 (LookupFunc): make it return kb_action, simplify.
1692 (getActionName): simplify
1694 * factory.C (createInset): fix new bug
1696 2003-09-19 Angus Leeming <leeming@lyx.org>
1698 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1699 masterFilename_ parameter in the include inset.
1701 * factory.C (createInset): changes due to the changes to InsetInclude.
1703 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1705 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1707 2003-09-18 Angus Leeming <leeming@lyx.org>
1710 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1711 Inset::fillWithBibKeys.
1712 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1714 2003-09-18 Angus Leeming <leeming@lyx.org>
1716 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1718 (ctor): pass and store a 'Buffer const &'
1719 (buffer): new member function.
1721 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1722 '*this' to the LaTeXFeatures ctor.
1724 2003-09-18 Angus Leeming <leeming@lyx.org>
1730 * text.C: rename EnumLColor as LColor_color.
1732 2003-09-18 Angus Leeming <leeming@lyx.org>
1734 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1735 remove #include "insets/insetbase.h" from cursor.h.
1737 2003-09-18 Angus Leeming <leeming@lyx.org>
1739 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1740 InsetOld_code to remove #include "inset.h".
1742 * iterators.C: add #include "insets/inset.h"
1744 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1746 * BufferView.C: remove more locking stuff that apparently doesn't
1747 do anything sensible.
1749 2003-09-16 André Pönitz <poenitz@gmx.net>
1752 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1755 2003-09-16 Angus Leeming <leeming@lyx.org>
1757 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1759 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1762 * paragraph.h: remove #include "lyxfont.h". Forward declare
1765 2003-09-16 Angus Leeming <leeming@lyx.org>
1767 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1768 of support/textutils.h.
1769 (isWord): move the contents of support/textutils.h's IsWordChar here.
1775 * text2.C: add #include "paragraph.h".
1778 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1780 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * LaTeX.C: use namespace alias for lyx::support::os
1788 2003-09-16 Angus Leeming <leeming@lyx.org>
1791 * bufferview_funcs.C:
1794 * paragraph_pimpl.C:
1796 * text.C: add #include "LColor.h".
1798 2003-09-16 Angus Leeming <leeming@lyx.org>
1800 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1801 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1803 Store the FontBits::color variable as an int rather than as an
1804 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1807 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1808 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1809 string calls together.
1811 * lyxrc.C: add #include "LColor.h".
1813 2003-09-15 Angus Leeming <leeming@lyx.org>
1815 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1818 2003-09-15 Angus Leeming <leeming@lyx.org>
1820 * LColor.h: add an EnumLColor wrapper for LColor::color.
1822 * lyxfont.[Ch] (color, setColor, realColor):
1823 * lyxtext.h, text.C (backgroundColor):
1824 pass EnumLColor args to/from the functions, rather than LColor::color
1828 * lyxtext.h: forward declare EnumLColor.
1830 * lyx_main.C: add #include "LColor.h".
1832 2003-09-15 Angus Leeming <leeming@lyx.org>
1834 * .cvsignore: add lyx-gtk.
1836 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1841 * ParagraphParameters.C
1845 * bufferview_funcs.C
1855 * vc-backend.C: remove usage of STRCONV
1857 2003-09-15 Angus Leeming <leeming@lyx.org>
1859 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1860 explicitly define the color passed to the painter.
1862 2003-09-15 Angus Leeming <leeming@lyx.org>
1864 * bufferparams.C (BufferParams): reorder member initializers to avoid
1867 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1869 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1870 * text.C (updateRowPositions): remove an unusual nop
1872 2003-09-12 André Pönitz <poenitz@gmx.net>
1874 * BufferView_pimpl.C:
1883 * Counters.[Ch]: finish the 'automatic counters' job
1885 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1887 * aspell.C: include <boost/assert.cpp> (compile fix)
1889 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1891 * boost.C (assertion_failed): use lyx::support::abort instead of
1894 2003-09-10 Angus Leeming <leeming@lyx.org>
1896 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1897 with their _fwd progeny.
1899 2003-09-09 Angus Leeming <leeming@lyx.org>
1901 134 files throughtout the source tree: replace 'using namespace abc;'
1902 directives with the appropriate 'using abc::xyz;' declarations.
1904 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1906 * boost.C (emergencyCleanup): moved here from LAssert.c
1907 (assertion_failed): new function, called by BOOST_ASSERT
1909 * several files: change Assert to BOOST_ASSERT
1911 2003-09-09 Angus Leeming <leeming@lyx.org>
1913 * buffer.[Ch]: Add an Impl class and move Buffer's member
1914 variables into it. As a result move several header files out of
1917 Add header files to lots of .C files all over the tree as a result.
1919 2003-09-09 Angus Leeming <leeming@lyx.org>
1921 * buffer.[Ch]: make Buffer's member variables private. Add
1924 Lots of changes all over the tree as a result.
1926 2003-09-08 Angus Leeming <leeming@lyx.org>
1928 * graph.C: #include <config.h>.
1930 2003-09-08 Angus Leeming <leeming@lyx.org>
1934 * BufferView_pimpl.C:
1963 * toc.C: remove redundant using directives.
1965 2003-09-07 Angus Leeming <leeming@lyx.org>
1967 * LaTeXFeatures.h: remove #include "support/types.h".
1968 * ToolbarBackend.h: remove #include <algorithm>.
1969 * changes.h: remove #include <ctime>.
1970 * debug.h: remove #include <iosfwd>.
1971 * graph.h: remove #include "support/std_string.h".
1972 * lyx_main.h: remove #include <csignal>.
1973 * lyxlex_pimpl.h: remove #include <fstream>.
1974 * sgml.h: remove #include <algorithm>, <utility>.
1975 * toc.h: remove #include "support/std_ostream.h".
1976 Add #include <iosfwd>.
1978 2003-09-07 Angus Leeming <leeming@lyx.org>
1980 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1982 * converter.h: forward declare LatexRunParams.
1983 * encoding.h: remove #include "lyxrc.h".
1984 * lyxtext.h: remove #include "LColor.h".
1985 * lyxtextclass.h: remove #include "support/types.h".
1986 * trans.h: remove #include "tex-accent.h".
1987 * trans_mgr.h: remove #include "tex-accent.h".
1988 * insets/inset.h: remove #include "support/types.h", <vector>.
1989 * insets/insetcollapsable.h: remove #include "LColor.h".
1990 * insets/insetinclude.h: remove #include "dimension.h".
1991 * insets/insetlatexaccent.h: remove #include "dimension.h".
1992 * insets/insetoptarg.h:: remove #include "insettext.h".
1993 * insets/insettext.h: remove #include "dimension.h",
1994 <boost/shared_ptr.hpp>
1996 * insets/renderers.h: add #include "dimension.h".
1997 * insets/updatableinset.h: add #include "support/types.h".
1999 * many .C files: Associated changes.
2001 2003-09-06 Angus Leeming <leeming@lyx.org>
2003 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2004 one, inside testInvariant.
2006 * PrinterParams.C: new file.
2007 * PrinterParams.[Ch]: move the function bodies out of line.
2009 2003-09-06 Angus Leeming <leeming@lyx.org>
2011 * ParagraphParameters.h: forward declare ParameterStruct rather than
2012 including its header file.
2013 (depth): moved out-of-line.
2015 2003-09-06 Angus Leeming <leeming@lyx.org>
2017 * BufferView_pimpl.h:
2020 * lyxfunc.h: forward declare LyXKeySym rather than
2021 #include "frontends/LyXKeySym.h".
2023 * BufferView_pimpl.C:
2026 * lyxfunc.C: associated changes.
2028 2003-09-06 Angus Leeming <leeming@lyx.org>
2030 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2031 As a result, can remove the #include "insets/inset.h" from BufferView.h
2033 2003-09-06 Angus Leeming <leeming@lyx.org>
2035 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2036 As a result, can remove the #include "insets/inset.h" from BufferView.h
2038 2003-09-06 Angus Leeming <leeming@lyx.org>
2044 * bufferview_funcs.C:
2045 * BufferView_pimpl.C:
2050 * ParagraphParameters.C:
2055 * frontends/controllers/ControlDocument.C:
2056 * insets/insetcaption.C: rearrange the #includes into some sort of
2059 * buffer.h: remove #includes ErrorList.h, undo.h
2061 2003-09-06 Angus Leeming <leeming@lyx.org>
2063 * support/types.h: add a 'depth_type' typedef, used to store the
2064 nesting depth of a paragraph.
2067 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2068 defining explicitly.
2071 * paragraph_funcs.h:
2072 * ParagraphParameters.h:
2073 * sgml.h: use lyx::depth_type rather than Paragraph or
2074 ParameterStruct's depth_type.
2077 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2080 * BufferView_pimpl.C:
2082 * ParagraphParameters.C:
2085 * bufferview_funcs.C:
2092 * frontends/LyXView.C:
2093 * frontends/controllers/ControlDocument.C:
2094 * frontends/controllers/ControlErrorList.C:
2095 * insets/insetbibitem.C:
2096 * insets/insetbranch.C:
2097 * insets/insetcaption.C:
2098 * insets/insetcollapsable.C:
2099 * insets/insetenv.C:
2100 * insets/insetert.C:
2101 * insets/insetfloat.C:
2102 * insets/insetfoot.C:
2103 * insets/insetfootlike.C:
2104 * insets/insetnewline.C:
2105 * insets/insetquotes.C:
2106 * insets/insettabular.C:
2107 * insets/insettext.C:
2108 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2110 * frontends/controllers/ControlChanges.C: #include "changes.h".
2112 2003-09-06 Angus Leeming <leeming@lyx.org>
2114 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2115 than #including paragraph.h.
2118 * RowList.h: deleted. Superfluous.
2128 * insets/insettext.h: use ParagraphList_fwd.h rather than
2131 * paragraph.h: don't forward declare ParagraphList.
2134 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2135 rather than ParagraphList.h. paragraph.h is still needed for the
2136 Paragraph::depth_type parameters.
2138 * textcursor.h: enable it to compile stand-alone in light of the
2141 * bufferview_funcs.C:
2153 * frontends/controllers/ControlParagraph.C:
2154 * frontends/controllers/ControlTabular.C:
2155 * insets/insetmarginal.C:
2156 * insets/insetminipage.C:
2157 * insets/insetnote.C:
2158 * insets/insetoptarg.C: add header files needed to compile again.
2160 2003-09-06 Angus Leeming <leeming@lyx.org>
2162 * RowList_fwd.h: new file, forward-declaring Row rather than
2163 #including lyxrow.h.
2168 * insets/insettext.h: use it instead of RowList.h
2170 * bufferview_funcs.C:
2177 * text3.C: #include "RowList.h".
2179 2003-09-05 Angus Leeming <leeming@lyx.org>
2181 * factory.C (createInset):
2182 * vspace.C (c-tor): replace sscanf call with an istringstream.
2183 * ispell.C: re-add missing HP/UX headers.
2184 * lyxserver.C: re-add missing os2 headers.
2186 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2195 * text3.C: re-add missing system headers, needed for 2.95.2.
2197 2003-09-05 Angus Leeming <leeming@lyx.org>
2199 Changes most place everywhere due to the removal of using directives
2200 from support/std_sstream.h.
2202 2003-09-05 Angus Leeming <leeming@lyx.org>
2204 Replace LString.h with support/std_string.h,
2205 Lsstream.h with support/std_sstream.h,
2206 support/LIstream.h with support/std_istream.h,
2207 support/LOstream.h with support/std_ostream.h.
2209 Changes resulting throughout the tree.
2211 2003-09-05 Angus Leeming <leeming@lyx.org>
2213 * sgml.h: ensure that the header file can be compiled stand-alone.
2214 * *.C: strip out redundant #includes. (320 in total.)
2216 2003-09-04 Angus Leeming <leeming@lyx.org>
2218 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2219 here (from getPackages).
2221 * debug.[Ch]: add a new EXTERNAL tag.
2223 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2225 * text2.C (cursorEnd): simplify
2227 (getColumnNearX): adjust
2229 * text.C (computeBidiTables): adjust
2232 * rowpainter.C (paintChars): adjust
2233 (paintSelection): adjust
2234 (paintChangeBar): adjust
2237 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2239 (numberOfSeparators): adjust
2241 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2247 * text3.C: Restricts the mouse click functionality
2248 of insets like bibtex, include, toc and floatlist to the visible
2249 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2250 up the dialogs. Cursor has to be in front of the inset (i.e.
2251 start of row) for this to function.
2253 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2255 * bufferview_funcs.C (currentState): output row information
2257 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2259 * bufferview_funcs.C (currentState): output paragraph position
2261 2003-09-04 Angus Leeming <leeming@lyx.org>
2263 * FloatList.h: move out #include "Floating.h".
2264 * LaTeX.h: move out #include "DepTable.h".
2265 * LyXAction.h: move out #include "funcrequest.h".
2266 * buffer.h: move out #include "author.h", "iterators.h".
2267 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2268 * lyx_main.h: move out #include "errorlist.h".
2269 * lyxfunc.h: move out #include "FuncStatus.h".
2270 * lyxtext: move out #include "lyxcursor.h".
2271 * paragraph_pimpl.h: move out #include "counters.h".
2273 2003-09-03 Angus Leeming <leeming@lyx.org>
2275 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2276 preamble_snippets list, enabling us to add snippets to the preamble
2277 only if the snippet was not there already.
2279 2003-09-04 Angus Leeming <leeming@lyx.org>
2281 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2283 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2288 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2290 * BranchList.C: point fix, earlier forgotten
2292 2003-09-02 Angus Leeming <leeming@lyx.org>
2294 * box.C (contains): renamed from 'contained' after a fantastic
2297 2003-09-02 John Levon <levon@movementarian.org>
2303 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2305 2003-09-02 John Levon <levon@movementarian.org>
2307 * text2.C: simplification of cursorEnd(), including partial
2310 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * buffer.C (readFile): add a space
2314 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2316 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2318 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2320 * buffer.C (readFile): new function, take a filename and a
2321 ParagraphList::iterator
2323 (readFile): adjust, make it private. don't use setStream, make
2324 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2325 always contain the filename.
2327 * BufferView.C (insertLyXFile): simplify and make it work for
2330 2003-08-30 John Levon <levon@movementarian.org>
2332 * Makefile.am: fix dist (from Kayvan)
2334 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * most files: change to use const Buffer refs
2338 2003-08-27 André Pönitz <poenitz@gmx.net>
2340 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2341 on top of ownerPar().
2343 2003-08-27 John Levon <levon@movementarian.org>
2345 * funcrequest.C: properly initialise POD members
2347 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2349 * lyxtext.h (top_y): move top_y from here
2354 * BufferView_pimpl.[Ch]: to here
2355 * frontends/screen.C:
2356 * insets/insettabular.C:
2357 * insets/insettext.C: adjust
2358 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2360 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2363 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2365 2003-08-26 André Pönitz <poenitz@gmx.net>
2367 * paragraph_func.[Ch] (outerPar): new function
2370 * paragraph_funcs.C:
2371 * paragraph_funcs.h:
2372 * paragraph_pimpl.C:
2373 * text2.C: remove Inset::par_owner
2375 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2380 * text2.C: eliminates the needFullRow/display() stuff
2381 altogether, putting the logic in metrics/draw in the insets.
2383 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2385 * text2.C (redoParagraphInternal, redoParagraphs):
2386 * text.C (redoParagraph): add a call to updateRowPositions at the
2387 end of each 'metrics-like' call. Remove all others.
2388 (getRow): remove the 'y-computing' version.
2389 (getRowNearY): do not compute nor return the real y. Solve the
2390 'y < 0' problem and simplify.
2392 2003-08-22 Angus Leeming <leeming@lyx.org>
2394 * *.[Ch]: clean-up of licence and author blurbs.
2395 Also move config.h out of a few .h files and into a few .C files.
2397 2003-08-22 André Pönitz <poenitz@gmx.net>
2399 * lyxrow.[Ch]: add x_ and *fill_ members
2404 * text2.C: adjust/remove prepareToPrint() calls
2406 2003-08-22 André Pönitz <poenitz@gmx.net>
2408 * lyxrow.[Ch]: add end_ member
2410 * lyxrow_funcs.C: use LyXRow::end_
2412 * lyxtext.h (singleWidth): add LyXFont parameter
2415 * text2.C: adjust LyXText::singleWidth() calls
2417 * text.C (redoParagraph): simplify row breaking logic
2420 2003-08-19 André Pönitz <poenitz@gmx.net>
2422 * funcrequest.C: initialize button_ member
2425 * rowpainter.[Ch]: interface consolidation
2427 2003-08-18 André Pönitz <poenitz@gmx.net>
2430 * BufferView_pimpl.C:
2432 * paragraph_funcs.C:
2434 * text3.C: remove LyXScreen::draw() and fitCursor calls
2436 * BranchList.h: remove spurious semicolons
2438 * MenuBackend.C: fix branchlist related crash
2440 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2448 * bufferparams.[Ch]:
2452 * text3.C: implements the 'branch inset'
2453 idea. This allows the output of various versions of a document
2454 from a single source version, selectively outputing or suppressing
2455 output of parts of the text.
2456 This implementation contains a 'branch list editor' in a separate
2457 tab of the document settings dialog. Branches are user definable
2458 and have a "display colour" to distinguish them on-screen.
2460 ColorHandler was somewhat cleaned up.
2461 (1) make possible a dynamically growing LColor list by allowing
2462 the graphic context cache to grow along (vector);
2463 (2) eliminate an IMHO unnecessary step in colour allocation.
2465 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2467 * BufferView_pimpl.C: compile fix
2469 2003-08-15 André Pönitz <poenitz@gmx.net>
2471 * rowpainter.C: remove extra metrics calls
2473 * lyxtext.h: merge the two constructors into a single one,
2474 pass reference to owner's par list
2476 * BufferView_pimpl.C:
2480 2003-08-15 André Pönitz <poenitz@gmx.net>
2482 * lyxrow_funcs.[Ch]:
2485 * paragraph_funcs.C:
2490 * text_funcs.C: split LyXText::rowlist_ into individual
2491 Paragraph::rows_ chunks
2494 * BufferView_pimpl.[Ch]:
2497 * text3.C: remove toggleSelection()
2499 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2501 * bufferlist.C: beautify two alerts (shorter text of buttons)
2502 * buffer.C: Remove redundant ' ' from message
2504 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2505 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2506 rename VALIGN_CENTER to VALIGN_MIDDLE
2508 2003-08-11 André Pönitz <poenitz@gmx.net>
2510 * lyxtext.h (getPar):
2511 * text.C: new function
2513 2003-08-11 André Pönitz <poenitz@gmx.net>
2516 * tracer.[Ch]: remove unneeded files
2518 * InsetList.[Ch]: remove resizeInsetsLyXText()
2523 * text3.C: merge insertParagraphs() and appendParagraph()
2524 remove breakAgain(), update()
2526 * BufferView_pimpl.[Ch]:
2527 * bufferview_funcs.[Ch]:
2531 * tabular.C: adjust after text & InsetList changes.
2533 2003-08-08 André Pönitz <poenitz@gmx.net>
2535 * text.C (insertChar, backspace): replace rowlist fiddling
2536 with rebreak of full par
2539 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2540 checkParagraph, updateInset): removed
2542 2003-08-07 André Pönitz <poenitz@gmx.net>
2545 * text3.C: merge some LFUN handlers, remove dead code
2547 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2551 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2553 * text2.C (DEPM): fix part of bug 1255 and 1256
2555 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2557 * BufferView_pimpl.C (workAreaDispatch): change to use
2558 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2559 that are no mouse related.
2561 2003-08-05 André Pönitz <poenitz@gmx.net>
2564 * BufferView_pimpl.[Ch]:
2565 * bufferview_funcs.C:
2567 * text3.C: rip out "deep update"
2569 * textcursor.[Ch] (last_sel_cursor): remove unused member
2571 2003-08-04 André Pönitz <poenitz@gmx.net>
2574 * BufferView_pimpl.[Ch]:
2575 * ParagraphParameters.C:
2576 * bufferview_funcs.C:
2582 * text3.C: replace "complicated" BufferView::update(...) calls with
2585 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2587 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2589 * Makefile.am (lyx_SOURCES): add paper.h
2591 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2593 * Makefile.am: move things around so that both lyx-qt and
2594 lyx-xforms can be built (according to --with-frontend). Then lyx
2595 is a symbolic link to lyx-[firstfrontend]
2597 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2599 * Always use std::endl with lyxerr
2601 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2603 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2605 2003-08-01 André Pönitz <poenitz@gmx.net>
2608 * BufferView_pimpl.[Ch]:
2610 * text3.C: merge BufferView::repaint() and BufferView::update()
2612 2003-08-01 José Matos <jamatos@lyx.org>
2614 * buffer.[Ch]: file_format is no longer a buffer data element.
2616 2003-08-01 André Pönitz <poenitz@gmx.net>
2621 * text2.C: make redoParagraph more independent of current cursor
2623 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2625 * text2.C: remove unneeded members
2627 2003-07-30 André Pönitz <poenitz@gmx.net>
2629 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2631 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2632 create a single function...
2634 * paragraph_funcs.C (moveItem): ... here.
2637 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2639 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2641 * LColor.[Ch]: Add comment and greyedout logical colors.
2643 2003-07-30 André Pönitz <poenitz@gmx.net>
2645 * tabular.C: don't use Assert too heavily. This crashes where it
2648 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2650 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2651 is disabled (bug 1232)
2653 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2655 * factory.C: limited 'arg' scope
2657 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2659 * factory.C: fixed Note submenu issues
2661 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2663 * factory.C: submenu for Note/Comment/Greyedout
2665 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2668 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2670 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2673 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2674 greyedout. Patch provided by Jürgen Spitzmüller.
2676 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * kbmap.C (read): fix error message when reading bind files
2680 2003-07-29 Angus Leeming <leeming@lyx.org>
2682 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2683 certainly does not do what it purports to do. I am doing it, and
2684 us, a favour by killing it.
2686 2003-07-28 José Matos <jamatos@lyx.org>
2688 * buffer.C (readBody, do_writeFile):
2689 * paragraph.C(readParagraph): \end_document replaces \the_end.
2691 2003-07-29 André Pönitz <poenitz@gmx.net>
2694 * BufferView_pimpl.[Ch]:
2698 * textcursor.[Ch]: remove toggleToggle & Co
2700 2003-07-28 José Matos <jamatos@fep.up.pt>
2702 * buffer.C (readParagraph):
2703 * params_func (readParToken, readParagraph):
2704 * paragraph.C (write): \layout -> \begin_layout.
2706 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * lyxlex_pimpl.C (setFile): clean up slightly.
2710 * bufferparams.h: add compressed var
2712 * buffer_funcs.C (readFile): adjust for LyXLex change
2713 (newFile): ditto + simplify
2715 * buffer.C (writeFile): handle writing of compressed files
2717 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2718 Check if the file is compressed and set a bufferparm if so.
2720 * Makefile.am (lyx_LDADD): remove explicit -lz
2722 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2724 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2725 makeDocBookFile): put the real LyX version in the first line of
2729 * version.C.in: remove lyx_docversion
2731 * tabular.C (write_attribute): add a template-based version to
2732 write enums properly
2734 2003-07-28 André Pönitz <poenitz@gmx.net>
2739 * text3.C: use doubles again for x-coordinates. They are needed.
2741 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * messages.C (getLocaleDir): use lyx_localedir()
2745 * lyxlex_pimpl.C (setFile): compress stuff
2747 * buffer.C (writeFile): add some compression stuff
2748 (do_writeFile): new func, dont call expliti close... will this
2751 * Makefile.am (lyx_LDADD): add -lz
2753 2003-07-28 José Matos <jamatos@fep.up.pt>
2755 * buffer.C: increment file format.
2756 * paragraph_funcs (readParagraph, readParToken):
2757 * paragraph.C (readParagraph): add \end_layout.
2759 2003-07-27 Angus Leeming <leeming@lyx.org>
2761 * Makefile.am: remove special casing for configure-time setting of
2762 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2764 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2765 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2767 2003-07-26 André Pönitz <poenitz@gmx.net>
2769 * paragraph_func.[Ch]:
2770 * paragraph.C (realizeFont): inline it whereever it is used
2775 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2778 2003-07-26 André Pönitz <poenitz@gmx.net>
2782 * text2.C: get rid of LyXText::need_break_row
2784 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * toc.[Ch]: put namespace toc inside namespace lyx
2788 * MenuBackend.C (expandToc2): adjust for lyx::toc
2791 * lyxfunc.C (dispatch): adjust for lyx::find
2793 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2794 lyx::find instead. Reorganize a bit.
2795 (LyXReplace): rename to replace
2796 (LyXFind): rename to find
2798 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2801 2003-07-26 André Pönitz <poenitz@gmx.net>
2803 * text.C (setHeightOfRow): restrict scope of temporary variable
2805 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2806 code (never has been used?)
2808 2003-07-27 Asger Alstrup <alstrup@local>
2810 * text.C (fill): Optimise algorithm to exploit that we can reuse
2811 the LyXFont for many characters.
2812 (setHeightOfRow): Same thing.
2813 (rowBreakPoint): Same thing.
2815 2003-07-26 Asger Alstrup <alstrup@local>
2817 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2819 * text.C (singleWidth): Spurious font copying in hot-spot
2820 singleWidth avoided. Reorder tests for arabic for efficiency.
2822 * text.C (fill): handle empty paragraphs better.
2824 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2827 * encoding.h: add includes
2829 * lyxrc.C: remove reading of bind files
2831 * lyx_main.C (init): setup bindings and menus only if we have a
2834 * kbmap.C (read): new method. Do the actual reading of bind
2837 * converter.C (dvipdfm_options):
2840 (output): adapt PAPER_* enums.
2842 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2844 * bufferparams.h: remove paper-related enums from there
2846 * paper.h: New file. A trivial header file to hold paper-related
2847 enums. It should later expand to contain many paper-related
2850 * lyxrc.C: declare extern displayTranslator
2852 2003-07-27 José Matos <jamatos@fep.up.pt>
2854 * tabular.[Ch] (linuxdoc): add support for tables and figures
2857 2003-07-27 José Matos <jamatos@fep.up.pt>
2859 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2860 consistency in both functions.
2861 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2863 2003-07-26 Asger Alstrup <alstrup@local>
2865 * rowpainter.C (paintRows): Change algorithm to work directly on
2866 the insets rather than asking every character in the document
2867 whether its an inset.
2869 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2871 * buffer.C (openFileWrite): factorize some code
2873 2003-07-26 Angus Leeming <leeming@lyx.org>
2876 * lyx_main.[Ch]: replace occurances of system_tempdir with
2879 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * rename Inset to InsetOld
2883 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2885 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2886 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2887 which I think is a bit clearer. EDIT is gone, since it was
2888 premature optimisation, and broken for mathed anyway.
2889 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2890 with cursor positioning in insets as well (math insets still do not
2891 work, but that's a different story anyway.) It mysteriously
2892 crashes sometimes with undo in the first paragraph, but I'm fairly
2893 confident that this is a compiler bug.
2895 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * paragraph.C (Paragraph): adjust for new clone return type
2899 (copyIntoMinibuffer): ditto
2901 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2903 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2904 by not having a special case, and always doing a full rebreak of
2905 the document after undo.
2907 2003-07-23 Angus Leeming <leeming@lyx.org>
2909 * factory.C (createInset): InsetExternal::setParams now takes a
2912 2003-07-23 Angus Leeming <leeming@lyx.org>
2914 * factory.C (createInset): changed interface to the external and
2915 graphics mailers' string2params functions.
2917 2003-07-23 Angus Leeming <leeming@lyx.org>
2919 * factory.C (createInset): pass a
2920 Buffer const * parameter to InsetExternalMailer's string2params.
2922 2003-07-22 John Levon <levon@movementarian.org>
2924 * Thesaurus.h: include the right aiksaurus header
2926 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2928 * MenuBackend.C (expand): check menu shortcuts unconditionally
2930 2003-07-21 Angus Leeming <leeming@lyx.org>
2932 * factory.C (createInset): pass a
2933 buffer_path parameter to InsetGraphicsMailer's string2params.
2935 2003-07-21 Angus Leeming <leeming@lyx.org>
2937 * BufferView_pimpl.C (buffer):
2940 * lyxfunc.C (dispatch):
2941 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2942 rather than the grfx shortcut.
2944 2003-07-21 André Pönitz <poenitz@gmx.net>
2946 * rowpainter.C: remove unused variables
2949 * tabular_funcs.h: move to tabular.C
2950 * Makefile.am: adjust
2952 * tabular.[Ch]: basic optical cleaning
2954 * author.h: pass references, not values
2956 2003-07-18 André Pönitz <poenitz@gmx.net>
2964 * text3.C: two-phase drawing for InsetText and InsetTabular
2965 some float -> int changes.
2967 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2969 * lyx_main.C: fix the fix
2971 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2973 * lyx_main.C: fix a crash in batch mode if no files specified
2976 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2978 * format.[Ch] (papersize): moved to BufferParams
2979 * converter.[Ch] (dvips_options): moved to BufferParams
2980 (dvipdfm_options): moved to anon namespace
2981 * bufferparams.[Ch]: added above functions.
2983 2003-07-17 André Pönitz <poenitz@gmx.net>
2987 * text2.C: don't call inset->update() anymore
2989 * metricsinfo.[Ch]: add convenience constructor
2991 2003-07-16 André Pönitz <poenitz@gmx.net>
2996 * text2.C: replace the LyXCursor::irow_ member with
2997 on-demand computation of the value
2999 2003-07-16 John Levon <levon@movementarian.org>
3001 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3003 2003-07-15 André Pönitz <poenitz@gmx.net>
3006 * text2.C: remove no more needed refresh_row
3008 2003-07-15 André Pönitz <poenitz@gmx.net>
3013 * text3.C: refresh_status tristate -> need_update bool
3015 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3017 * lyxtext.h (init): remove reinit argument (act as if always true)
3018 * text2.C: adjust to that
3020 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3022 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3023 * text3.C: use it to delete selections in some cases
3024 (bugs 441, 673, 702, 954).
3026 2003-07-14 André Pönitz <poenitz@gmx.net>
3028 * rowpainter.[Ch]: reduce interface
3030 2003-07-14 André Pönitz <poenitz@gmx.net>
3032 * BufferView_pimpl.C:
3033 * text2.C: adjust after removing unused BufferView * argument
3035 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3037 * text2.C (init): fix a crash fired on resize
3039 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3041 * buffer.[Ch]: added new closing signal
3042 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3043 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3044 BufferView::Pimpl via the closing the signal
3046 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3048 * buffer.[Ch]: take out all bv-related from buffer
3050 * BufferView_pimpl.[Ch]: connect to new signals
3051 * CutAndPaste.C: removed useless asserts
3052 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3055 * lyxfunc.C: moved view-related funciontality from vc here
3056 * paragraph.C: removed outdated comments
3059 2003-07-10 André Pönitz <poenitz@gmx.net>
3061 * BufferView_pimpl.C:
3065 * text2.C: remove InsetText::InnerCache, clean up consequences
3067 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3069 * ispell.C: fix two typos in error messages
3071 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3073 * Extend Note inset to other forms of annotation like Comment
3074 and Greyedout. Right button click gives dialog.
3076 Files modified or added (+):
3080 * ControlNote.[Ch] +
3082 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3083 frontends/controllers
3087 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3089 * aspell.C: add missing namespace lyx::support
3091 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3093 * BufferView.[Ch] (newFile): Add
3094 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3095 * LaTeX.[Ch] (message): added this signal and use it
3096 * buffer.[Ch] (busy, message): added these signals and use them
3097 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3101 * importer.C: use buffer signals instead of direct bv calling
3102 * lyx_cb.[Ch] (ShowMessage): removed
3105 * paragraph_funcs.C:
3106 * text2.C: use buffer signals
3108 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * introduce namespace lyx::graphics
3112 2003-07-02 André Pönitz <poenitz@gmx.net>
3114 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3116 2003-07-01 André Pönitz <poenitz@gmx.net>
3123 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3124 text*.C to text_func.C
3126 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * introduce namespace lyx::support
3130 2003-06-30 André Pönitz <poenitz@gmx.net>
3135 * text.C: re-enable --with-included-string
3137 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * textcursor.C: add <config.h>
3141 * text.C (getWord): remove const from word_location arg
3143 * lyxvc.C (getLogFile): fix const type order
3145 * lyxtext.h: remove const from word_location arg, add arg name
3147 * lyxlayout.h: currect type on labeltype.
3149 * importer.C: correct \file
3151 * converter.C (intToFormat): use std:: on ret val, ws changes
3153 * bufferlist.h: correct \file
3155 * buffer.C (makeLinuxDocFile): fix const type order
3156 (makeDocBookFile): ditto
3157 (fillWithBibKeys): use std:: on stdlib args.
3159 * CutAndPaste.C: fix authors.
3160 (availableSelections): use std:: on return vector
3162 2003-06-27 André Pönitz <poenitz@gmx.net>
3164 * BufferView_pimpl.C:
3165 * bufferview_funcs.C:
3173 * text3.C: remove LyXCursor::row_ member
3176 * text.C: rename fullRebreak() to partialRebreak() and implement
3177 a fullRebreak() that really bereks fully
3179 * textcursor.h: new struct for cursor-related data
3181 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3183 * lyx_main.C (LyX): get full path of document loaded on the
3186 2003-06-26 André Pönitz <poenitz@gmx.net>
3188 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3189 remove unused/broken operator>,<,>=.
3191 * text.C: remove only use of broken operator<= in an Assert().
3193 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3195 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3196 moved errorlist_.clear to showErrorList
3198 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3200 * converter.C (scanLog, runLaTeX):
3201 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3202 move the bv->showErrorList call to the callers
3203 * lyxfunc.C: i.e. here...
3205 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3206 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3207 namespace, the second to...
3208 * buffer_funcs (BufferFormat, parseErrors): added
3209 * errorlist.C (ErrorList(TeXErrors const &)): removed
3211 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3213 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3215 2003-06-24 "Garst R. Reese" <reese@isn.net>
3219 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3221 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3223 * version.C.in: change docversion to 1.4
3225 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3227 * buffer.C: fix a bug just introduced
3229 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3231 * buffer.[Ch]: added the parseError signal and use it, removed
3233 * BufferView.[Ch] (addError): moved to ...
3234 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3235 to the Buffer::parseError signal to catch (guess what) parse errors
3236 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3238 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3240 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3241 ability to create a buffer and to return an existing one from
3242 the list. Moved these functions to...
3243 * buffer_funcs.[Ch]: added
3244 * BufferView.[Ch] (loadLyXFile): added
3245 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3246 job removed from bufferlist::loadLyXFile.
3247 * buffer.C (setReadOnly): make it work without view
3248 (i.e added an if (users))
3250 2003-06-19 Angus Leeming <leeming@lyx.org>
3253 * LyXAction.C (init):
3254 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3255 with LFUN_DIALOG_SHOW <name> <data>.
3257 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3259 * CutAndPaste.C (availableSelections): small compilation fix for
3260 ancient (gcc 2.9x) compilers
3262 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * text3.C (cursorNext): add tmp var
3266 * text2.C (updateCounters): for function calling out of for clause
3267 (replaceSelectionWithString): ditto
3268 (insertStringAsParagraphs): ditto
3269 (getColumnNearX): add tmp var
3270 (setCursorFromCoordinates): add tmp var
3271 (cursorDownParagraph): add tmp var
3272 (deleteEmptyParagraphMechanism): add tmp var
3274 * text.C (insertChar): add tmp var
3276 * rowpainter.C (paintDepthBar): add tmp var
3278 * CutAndPaste.C (availableSelections): potentially check all
3279 paragraphs in a cut to fill the shown strings.
3281 2003-06-18 André Pönitz <poenitz@gmx.net>
3283 * kbmap.[Ch]: use vector<> instead of list<>
3285 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3287 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3288 pasteSelection with index
3290 * text2.C (pasteSelection): modify, call pasteSelection with index
3292 * paragraph.C (asString): reimplement version with no interval to
3293 call the one with interval.
3295 * lyxtext.h: add index arg to pasteSelection
3297 * MenuBackend.C (MenuItem): handle PasteRecent
3298 (Menu::read::Menutags): add md_pasterecent
3300 (expandPasteRecent): new function
3303 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3305 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3307 (availableSelections): new function
3309 2003-06-17 Angus Leeming <leeming@lyx.org>
3311 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3313 2003-06-17 Angus Leeming <leeming@lyx.org>
3316 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3318 * lyxfunc.C (dispatch): invoke it.
3320 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3322 * iterators.C (operator++, ParPosition): reintroduce some
3323 const_cast for the benefit of older compilers.
3325 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3327 * text3.C (dispatch): do not modify clipboard when doing
3328 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3329 LFUN_DELETE_SKIP on a selection selection
3331 2003-06-16 André Pönitz <poenitz@gmx.net>
3337 * tabular.[Ch]: IU of clone() and getLabelList();
3339 2003-06-13 André Pönitz <poenitz@gmx.net>
3341 * tabular.h: compactification
3343 2003-06-12 André Pönitz <poenitz@gmx.net>
3347 * tabular_funcs.h: some renaming plus whitespace
3349 2003-06-12 André Pönitz <poenitz@gmx.net>
3352 * BufferView_pimpl.C:
3358 * toc.C: Return a Paragraph & for ParIterator::operator*()
3360 2003-06-11 John Levon <levon@movementarian.org>
3364 * ToolbarBackend.C: add "Toolbars" section and
3367 2003-06-10 Angus Leeming <leeming@lyx.org>
3370 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3372 * lyxfunc.C (dispatch): invoke it.
3374 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * main.C: protect <ios> with HAVE_IOS
3377 (main): protect sync_with_stdio with HAVE_IOS
3379 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3381 * text2.C (cutSelection): adjust
3382 (pasteSelection): adjust
3384 * messages.C: handle get of empty string
3386 * main.C (main): use sync_with_stdio(false)
3388 * lyxfunc.C (dispatch): adjust
3390 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3391 (WriteAs): remove unneeded BufferView arg.
3393 * bufferparams.h: use correct types on papersize, papersize2 and
3396 * bufferparams.C (readToken): adjust for type
3397 (writeLaTeX): add missing cases to switch.
3399 * bufferlist.C (quitWriteBuffer): adjust
3402 * buffer.C (asciiParagraph): remove some commented code.
3404 * CutAndPaste.C: remove current_view extern variable.
3405 (cutSelection): add BufferParams arg.
3406 (eraseSelection): add BufferParams arg.
3407 (pasteSelection): add Buffer const & arg
3409 2003-06-07 John Levon <levon@movementarian.org>
3412 * paragraph_funcs.C:
3413 * paragraph_pimpl.C:
3417 * paragraph.C: allow InsetERT to freely space lines,
3418 and some consolidation of code
3420 2003-06-06 José Matos <jamatos@fep.up.pt>
3422 * buffer.C (makeDocBookFile): fix bug #821
3424 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3426 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3428 2003-06-04 Angus Leeming <leeming@lyx.org>
3430 * buffer.C: bump format to 224.
3432 2003-06-05 André Pönitz <poenitz@gmx.net>
3434 * text2.C (redoParagraphs): remove two const_cast<>
3436 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3438 * ParagraphList.h: remove last remnants of NO_STD_LIST
3440 2003-06-03 Angus Leeming <leeming@lyx.org>
3442 * factory.C (createInset): small change to the way InsetExternal's params
3445 2003-06-04 André Pönitz <poenitz@gmx.net>
3447 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3449 * paragraph_pimpl.h:
3450 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3452 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3454 * undo_funcs.C: make some simple cases of undo work again
3456 2003-06-03 John Levon <levon@movementarian.org>
3458 * ispell.C: HPUX doesn't have sys/select.h
3461 2003-06-03 John Levon <levon@movementarian.org>
3463 * CutAndPaste.C: update tabular and include inset
3468 * paragraph.C: remove owningBuffer(), don't pass Buffer
3471 * factory.C: insetGraphicsParams changed
3473 2003-06-02 John Levon <levon@movementarian.org>
3479 * text3.C: remove insetparent
3481 2003-06-02 John Levon <levon@movementarian.org>
3484 * buffer.C: fix inset_iterator.end(), move out of line
3487 2003-06-01 John Levon <levon@movementarian.org>
3489 * text3.C: use a proper cut/paste when doing inset
3490 insert (from Jürgen Spitzmüller)
3492 2003-06-01 John Levon <levon@movementarian.org>
3494 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3496 2003-05-30 André Pönitz <poenitz@gmx.net>
3498 * rowpainter.C: unify second drawing phase
3500 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3502 * trans_mgr.C: remove one case of current_view
3504 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3506 * paragraph_funcs.h: remove paragraph.h include
3508 * paragraph.h: delete NO_STD_LIST stuff
3510 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3512 * buffer.h: remove paragraph.h include
3514 * ParagraphList.C: delete file
3516 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3518 * toc.C (getTocList): adjust
3520 * paragraph_pimpl.C (validate): adjust
3522 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3524 * paragraph.C (Paragraph): adjust
3525 (getPositionOfInset): use const_iterator, adjust
3526 (bibitem): use const_iterator, adjust
3527 (setInsetOwner): adjust
3529 * iterators.C (operator++): adjust
3531 * InsetList.[Ch]: Replace selfmade iterator with standard
3532 vector::iterator also introduce const_iterator. Remove getPos,
3533 getInset and setInset from InsetTable. Adjust accordingly.
3535 * BufferView.C (lockInset): adjust
3536 (ChangeInsets): adjust
3538 * tabular.[Ch]: delete commented same_id functions
3540 2003-05-28 John Levon <levon@movementarian.org>
3542 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3544 2003-05-28 André Pönitz <poenitz@gmx.net>
3546 * metricsinfo.[Ch]: remove 'fullredraw' member
3548 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3550 * lyxtextclass.C (operator): remove caching.
3552 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * text2.C (cursorBottom): adjust
3557 (setCounter): use ParagraphList::find, adjust
3559 * text.C (workWidth): use ParagraphList::find, adjust
3561 * lyxcursor.C (LyXCursor): adjust
3563 * buffer.C (inset_iterator): adjust
3565 * ParagraphList.h: make iterator(value_type) private, make
3566 ParagraphList a friend of iterator.
3568 * ParagraphList.C (find): new function
3570 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3572 2003-05-27 André Pönitz <poenitz@gmx.net>
3574 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3576 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3578 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3580 2003-05-26 John Levon <levon@movementarian.org>
3582 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3584 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * remove same_id from function signatures, adjust.
3588 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3592 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3594 * paragraph.C (Paragraph): get rid of same_ids parameter
3596 * ParagraphList.C (insert): adjust
3599 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * paragraph_funcs.C (breakParagraph): adjust
3602 (breakParagraphConservative): adjust
3604 * buffer.C (readParagraph): adjust
3606 * ParagraphList.C (insert): take a reference instead of a pointer
3609 * paragraph.[Ch] (id): new function
3611 * bufferlist.C (newFile): adjust
3613 * ParagraphList.C (ParagraphList): adjust
3615 (push_back): take a reference instead of a pointer.
3617 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3619 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3622 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3623 set else use old code.
3625 * ParagraphList.C: remove all NO_NEXT code and only compile this
3626 code of NO_STD_LIST is set.
3628 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3630 * BufferView_pimpl.C:
3640 * graphics/GraphicsConverter.C:
3641 * graphics/PreviewLoader.C: header adjustment
3643 2003-05-23 Angus Leeming <leeming@lyx.org>
3645 * LaTeXFeatures.[Ch] (useBabel): new method.
3646 * bufferparams.C (writeLaTeX): use it.
3648 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * ParagraphList.h (set): remove unused function.
3652 2003-05-23 André Pönitz <poenitz@gmx.net>
3655 * BufferView_pimpl.C:
3659 * undo_funcs.C: setUndo reworked
3661 * iterators.[Ch]: add access to topmost ParagraphList
3663 * lyxtext.[Ch] (workWidth): add a const
3665 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3667 * texrow.[Ch] (increasePos): remove function
3668 * exporter.C (export): removed unused var and outdated comment
3670 2003-05-23 Angus Leeming <leeming@lyx.org>
3672 * latexrunparams.h: rename fragile as moving_arg.
3673 * paragraph.C (simpleTeXOnePar): ditto.
3674 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3676 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3680 (textUndoOrRedo): comment out a currently unused var.
3682 * paragraph.h (NO_NEXT): enable NO_NEXT
3684 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3686 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3688 * exporter.C (Export): adjust for removeAutoInsets removal.
3690 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3692 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3694 * BufferView.[Ch] (removeAutoInsets): delete function
3696 2003-05-22 Angus Leeming <leeming@lyx.org>
3698 * latexrunparams.h: add a free_spacing variable.
3700 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3701 to pass moving_arg, as the data is stored in runparams.fragile.
3703 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3704 to Inset::latexOptional or to simpleTeXOnePar.
3706 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3707 free_spacing arg to Inset::latexOptional.
3709 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3712 2003-05-22 Angus Leeming <leeming@lyx.org>
3714 * latexrunparams.h: add fragile and use_babel variables.
3716 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3717 * buffer.C (makeLaTeXFile): store this returned value in
3718 runparams.use_babel, thus passing it to the inset::latex methods.
3720 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3721 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3723 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3724 longer has a fragile arg, as it is stored in runparams.fragile.
3726 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3727 moving_arg parameter as the data is stored in runparams.fragile.
3729 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3730 a fragile parameter as the data is stored in runparams.fragile.
3732 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3736 2003-05-22 Angus Leeming <leeming@lyx.org>
3738 * latexrunparams.h: add a 'bool nice' which defaults to false.
3740 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3741 now encapsulated within runparams.
3743 * bufferlist.C (updateIncludedTeXfiles):
3744 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3746 2003-05-22 Angus Leeming <leeming@lyx.org>
3748 * latexrunparams.h: new file containing struct LatexRunParams.
3749 * Makefile.am: add new file.
3751 * LaTeX.[Ch] (c-tor, run):
3752 * buffer.[Ch] (makeLaTeXFile):
3753 * bufferlist.[Ch] (updateIncludedTeXfiles):
3754 * converter.C (convert, scanLog):
3755 * converter.[Ch] (runLaTeX):
3756 * exporter.C (Export):
3757 * paragraph.[Ch] (simpleTeXOnePar):
3758 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3759 * paragraph_funcs.[Ch] (latexParagraphs):
3760 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3761 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3762 pass around a LatexRunParams parameter.
3764 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * paragraph.[Ch]: remove unused constructor
3768 * ParagraphList.C (erase): new function, taking two iterators
3770 2003-05-22 André Pönitz <poenitz@gmx.net>
3772 * undo_funcs.C: remove duplicated code
3774 * iterator.[Ch]: operator=
3776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * tabular.C (SetMultiColumn): ws changes
3780 * rowpainter.C (paintFirst): get rid of a ->previous
3782 * lyx_cb.C (getPossibleLabel): parlist simplification
3784 * BufferView.C (ChangeInsets): simplify slightly.
3786 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3788 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3789 * lfuns.h: new LFUN_SPACE
3790 * lyxfunc.C: protected space has a new lfun
3791 * paragraph_funcs.C: read new space insets
3793 * factory.C: handle new space insets
3795 2003-05-22 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.C:
3801 * undo_funcs.C: return a ParIterator from getParFromID.
3803 * iterators.[Ch]: add two const's
3805 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * toc.C (getTocList): adjust
3809 * iterators.[Ch]: rework for parlist
3811 * buffer.C (par_iterator_begin): adjust
3812 (par_iterator_end): adjust
3814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3816 * BufferView.C (removeAutoInsets): adjust
3817 (ChangeInsets): adjust
3819 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3821 * text.C (top_y): fix bug 1110
3823 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3825 * errorlist.[Ch]: added
3828 * BufferView_pimpl.C:
3829 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3832 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * Makefile.am: ensure that lyx is relinked upon changes to the
3835 various "convenience" libs.
3837 2003-05-20 Angus Leeming <leeming@lyx.org>
3839 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3840 files are compiled in alphabetical order again.
3842 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3844 2003-05-19 Angus Leeming <leeming@lyx.org>
3846 * gettext.[Ch]: remove "char const * _(char const *)".
3848 2003-05-19 André Pönitz <poenitz@gmx.net>
3850 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3859 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3861 2003-05-19 André Pönitz <poenitz@gmx.net>
3865 * lyxtextclass.[Ch]:
3867 * paragraph_funcs.[Ch]:
3869 * text3.C: more insetenv work
3871 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3873 * ParagraphParameters.C (params2string): small bug fixed
3875 2003-05-16 André Pönitz <poenitz@gmx.net>
3878 * bufferview_funcs.C: patch from Kornel Benko to prevent
3879 crash when _(...) is called twice in a statement
3881 2003-05-16 André Pönitz <poenitz@gmx.net>
3888 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3890 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3892 * lyx_main.C (init): remove spurious static_cast
3894 2003-05-14 André Pönitz <poenitz@gmx.net>
3896 * BufferView.C: fix format string
3898 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3900 * BufferView.[Ch] (insertErrors): removed
3901 * BufferView.[Ch] (showErrorList): added
3902 * buffer.C (runChkTeX):
3903 * converter.C (scanLog): call showErrorList instead of inserterrors
3905 2003-05-13 André Pönitz <poenitz@gmx.net>
3907 * BufferView_pimpl.C:
3909 * bufferview_func.C:
3916 * tabular_funcs.h: tostr() from its own header
3918 * ParagraphParameters.C:
3923 * text3.C: STRCONV()
3925 2003-05-12 André Pönitz <poenitz@gmx.net>
3928 * BufferView_pimpl.C:
3932 * ParagraphParameters.C:
3936 * bufferview_funcs.C:
3949 * paragraph_funcs.C:
3953 * text3.C: boost::format -> bformat all over the place
3956 2003-05-09 André Pönitz <poenitz@gmx.net>
3958 * LColor.[Ch]: Pimpl the #include <map> away
3960 2003-05-09 John Levon <levon@movementarian.org>
3962 * bufferlist.C: never remove emergency saves
3964 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * Makefile.am: better lib building
3968 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3972 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3973 (simpleTeXSpecialChars): adjust
3974 (simpleTeXSpecialChars): adjust
3975 * paragraph.C (simpleTeXOnePar): adjust
3976 * buffer.C (makeLaTeXFile): adjust
3978 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3980 * text2.C (changeDepth): parlist cleanup
3981 (getColumnNearX): ditto
3983 * rowpainter.C (getLabelFont): parlist cleanup
3985 * bufferlist.C (newFile): parlist cleanup
3987 * CutAndPaste.C (eraseSelection): parlist cleanup
3989 * BufferView_pimpl.C (trackChanges): parlist cleanup
3992 * BufferView.C (lockInset): parlist cleanup.
3993 (ChangeInsets): ditto
3995 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * CutAndPaste.h: Update file header.
3999 * CutAndPaste.C: Update file header.
4000 Store the parts cut out of the Document in a limited_stack.
4001 (copySelection): adjust
4002 (pasteSelection): new function, takes the index in the limited stack.
4003 (nrOfParagraphs): adjust
4004 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4005 simplify error inset insertion.
4006 (checkPastePossible): adjust
4008 2003-05-06 John Levon <levon@movementarian.org>
4010 * text2.C: don't cast wrap inset to float
4012 2003-05-05 André Pönitz <poenitz@gmx.net>
4015 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4017 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4018 few naked Paragraph *.
4020 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4022 * bufferparams.C: Output warning if a document with missing
4023 TeX document class is loaded
4024 * exporter.C: Disable TeX exports if the document class is missing
4027 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4028 isTeXClassAvailable()
4030 2003-05-03 John Levon <levon@movementarian.org>
4033 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4034 explicit cursor show/hide
4036 * BufferView_pimpl.h:
4037 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4038 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4040 * lyxfunc.C: hide cursor before dispatching.
4045 * text3.C: remove explicit cursor hides
4047 2003-05-02 André Pönitz <poenitz@gmx.net>
4049 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4052 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4055 * text2.C: tiny whitespace
4057 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * undo_funcs.C: almost only ws changes.
4061 * ParagraphList.C (splice): just return if pl is empty.
4063 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * ParagraphList.C (splice): new function.
4067 * CutAndPaste.C (pasteSelection): use it
4069 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * CutAndPaste.C (pasteSelection): remove the last next and
4072 previous from this file.
4074 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * CutAndPaste.C (pasteSelection): more clean up, user proper
4077 ParagraphList functions for pasteing.
4079 * ParagraphList.C (insert): new function, three arg insert
4081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * ParagraphList.C (insert): new function, three arg insert
4085 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4088 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4096 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4099 (copySelection): clean up a bit.
4100 (pasteSelection): use make_pair
4102 * ParagraphList.C (ParagraphList): implement copy constructor
4103 (operator=): implement, base on copy constructor.
4106 * paragraph.C (erase): return a bool
4108 * paragraph_pimpl.C (erasePos): remove function, move contents...
4109 (erase): ... here. Return a bool.
4110 (erase): call erase instead of erasePos.
4112 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4114 * ParagraphList.h: define PitPosPair
4115 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4116 ParagraphList, fix a bug on pasting multiple pars
4117 * text2.C: change interface to C&P
4119 2003-04-30 André Pönitz <poenitz@gmx.net>
4121 * undo_func.C: revert part of yesterday's patch 2
4123 2003-04-30 John Levon <levon@movementarian.org>
4125 * LColor.C: s/tabular/table/
4127 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * text3.C (dispatch): do not convert iterator -> pointer
4130 * undo_funcs.C (setCursorParUndo): ditto
4131 * text_funcs.C (transposeChars): ditto
4133 * text2.C (setLayout): ws changes only
4135 * text.C (breakParagraph): do not convert iterator -> pointer
4137 (acceptChange): ditto
4138 (rejectChange): ditto
4143 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4146 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4148 * text3.C (gotoInset): YABG (yet another bad getChar)
4150 2003-04-29 André Pönitz <poenitz@gmx.net>
4152 * paragraph.h: make operator= private unimplemented as long as
4155 * ParagraphList.C: whitespace
4158 * paragraph_pimpl.[Ch]:
4159 * paragraph_funcs.C:
4161 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4164 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4166 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4168 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4169 * paragraph.[Ch] (erase):
4170 * paragraph_pimpl.[Ch] (erase): change return type and value
4171 * text2.C (cutSelection): some rework
4173 2003-04-28 John Levon <levon@movementarian.org>
4175 * bufferlist.C: changes for unsaved changes dialog
4177 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * bufferlist.C (newFile): set language (messages_) for new
4182 * buffer.C (readFile): ws changes only.
4184 2003-04-28 André Pönitz <poenitz@gmx.net>
4189 * BufferView_pimpl.C:
4190 * BufferView.C: getParFromID related ParagraphList::iterator changes
4192 2003-04-28 André Pönitz <poenitz@gmx.net>
4194 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4197 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * messages.C: remove one more localedir class variable.
4201 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * messages.C (getLocaleDir): singleton generation function
4205 (Messages): add a default constructor.
4207 * main.C (main): do not setup localedir here, do not call
4210 * gettext.C (_): use it.
4211 (gettext_init): delete funciton
4213 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * gettext.C (getLyXMessages): new singleton generating function.
4217 * buffer.C (updateDocLang): adjust
4219 * Makefile.am (messages.o): add target
4220 (main.o): remove target
4222 2003-04-27 John Levon <levon@movementarian.org>
4227 * lyxvc.C: specify cancel button in Alert::prompt
4229 2003-04-26 John Levon <levon@movementarian.org>
4234 * LyXAction.C: add LFUN_INSET_SETTINGS
4236 * lyxfunc.C: don't enable tabular-feature when there's
4237 just any locking inset
4239 2003-04-26 John Levon <levon@movementarian.org>
4241 * bufferlist.C: re-add Cancel to buffer close question
4243 * lyxfunc.C: fix import UI a bit
4245 2003-04-25 John Levon <levon@movementarian.org>
4247 * gettext.C: remove the broken asserts for now
4249 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * messages.C: make case where setlocale cannot comply work better.
4253 * buffer.C (updateDocLang): new function
4254 (changeLanguage): use it
4257 * text2.C (setCounter): use B_ a bit.
4259 * lyxlayout.C (Read): be sure to trim the label strings.
4261 * messages.C (Messages): fix typo in comment
4263 * buffer.C (readFile): set message_ after file is loaded.
4264 (makeDocBookFile): remove double return
4265 (changeLanguage): reset message_ upon language change.
4266 (B_): new func, use this to get translated buffer strings.
4268 * main.C: add myself and Jean Marc as authors.
4270 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * messages.[hC]: pimplify Messages, and three different pimpls to be
4273 used in different circumstances.
4275 * gettext.[Ch]: change for use with new message code.
4277 2003-04-24 André Pönitz <poenitz@gmx.net>
4279 * factory.C: support for eqref
4281 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4283 * messages.[Ch]: add missing char
4285 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4287 * messages.[Ch]: New files
4289 2003-04-18 John Levon <levon@movementarian.org>
4293 * BufferView_pimpl.C:
4297 * text2.C: remove layout-copy/paste (bug 778)
4299 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4301 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4303 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4305 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4306 if they succeed. Act accordingly.
4308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * text2.C (setCharFont): adjust
4311 (setCounter): adjust
4312 (insertStringAsLines): adjust
4314 * text.C (leftMargin): adjust
4315 (setHeightOfRow): adjust
4317 * rowpainter.C (paintFirst): adjust
4320 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4322 (isFirstInSequence): ditto
4323 (getEndLabel): ditto
4326 * paragraph.C (getParLanguage): comment out some hard stuff.
4328 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4330 (simpleDocBookOnePar): ditto
4331 (makeDocBookFile): use ParagraphList::iterator
4333 * CutAndPaste.C (pasteSelection): adjust
4335 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * text2.C (getFont): adjust
4338 (getLayoutFont): adjust
4339 (getLabelFont): adjust
4341 * paragraph_funcs.C (TeXOnePar): adjust
4343 * buffer.C (simpleLinuxDocOnePar): adjust
4344 (simpleDocBookOnePar): adjust
4346 * CutAndPaste.C (pasteSelection): adjust
4348 * BufferView.C (getEncoding): adjust
4350 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4352 2003-04-16 John Levon <levon@movementarian.org>
4354 * lyxfind.C: use parlist stuff for search/changes
4356 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4360 * text2.C (deleteEmptyParagraphMechanism): adjust
4362 * text2.[Ch] (ownerParagraph): delete func (both of them
4364 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4368 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * ParagraphList.C: prepare for NO_NEXT
4372 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * text2.C (getFont): adjust
4375 (getLayoutFont): adjust
4376 (getLabelFont): adjust
4378 * paragraph.C (getFont): adjust
4379 (getLabelFont): adjust
4380 (getLayoutFont): adjust
4382 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4384 2003-04-15 John Levon <levon@movementarian.org>
4388 * lyx_main.C: handle Include in .ui files
4390 2003-04-15 John Levon <levon@movementarian.org>
4392 * MenuBackend.C: make the doc files length shorter
4395 * ToolbarBackend.C: handle toolbar placement flags,
4398 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4403 * paragraph_funcs.C (TeXOnePar): adjust
4405 * paragraph.C (getLabelFont): add outerfont arg, adjust
4406 (getLayoutFont): ditto
4407 (simpleTeXOnePar): adjust
4409 * paragraph_pimpl.C (realizeFont): delete func
4411 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4413 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4414 row argument, constify cur argument.
4416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * text2.C (getFont): adjust
4419 (getLayoutFont): adjust
4420 (getLabelFont): adjust
4422 * paragraph_funcs.C (TeXOnePar): adjust
4423 (outerFont): new func...
4424 (realizeFont): ...moved out from here, changed this to facilitate
4427 * paragraph.C (getFont): take outerfont as arg, adjust
4428 (simpleTeXOnePar): add outerfont arg, adjust
4430 * buffer.C (simpleLinuxDocOnePar): adjust
4431 (simpleDocBookOnePar): adjust
4433 * CutAndPaste.C (pasteSelection): adjust
4435 * BufferView.C (getEncoding): adjust
4437 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * text2.C (setCharFont): adjust
4440 (setCounter): adjust
4442 * text.C (leftMargin): adjust
4443 (setHeightOfRow): adjust
4445 * rowpainter.C (paintFirst): adjust
4448 * paragraph_pimpl.C (realizeFont): adjust
4450 * paragraph.C (isFirstInSequence): move from here...
4451 * paragraph_funcs.C (isFirstInSequence): ...to here
4453 * paragraph.C (outerHook): move from here...
4454 * paragraph_funcs.C (outerHook): ...to here
4456 * paragraph.C (depthHook): move from here...
4457 * paragraph_funcs.C (depthHook): ...to here
4459 * paragraph.C (getEndLabel): move from here...
4460 * paragraph_funcs.C (getEndLabel): ...to here
4462 * text2.C (realizeFont): move from here...
4463 * paragraph_funcs.C (realizeFont): ...to here
4465 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4469 2003-04-14 Angus Leeming <leeming@lyx.org>
4471 * LColor.[Ch]: scrap LColor mathcursor.
4473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * lyxlex.[Ch] (text): delete function
4476 * trans.C (Load): adjust
4477 * paragraph_funcs.C (readParToken): adjust
4479 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4482 vector<char> instead of a char[].
4484 * lyxlex_pimpl.C (getString): adjust
4486 (lex): use getString
4490 * lyxlex.C (text): use pimpl_->getString()
4494 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4497 (makeFontEntriesLayoutSpecific): temp var for par.size()
4498 (setLayout): temp var for ownerParagraphs().end()
4499 (fullRebreak): temp var for rows().end()
4500 (selectionAsString): temp var for boost::next(startpit), realize
4501 that the while really is a regular for loop.
4502 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4503 setCursor in one place.
4504 (setParagraph): temp vr for ownerParagraphs().end()
4505 (updateCounters): make the while loop a for loop
4506 (cutSelection): temp var for ownerParagraphs().end()
4507 (updateInset): make the do {} while() a regular for loop
4508 (getCursorX): use temp vars
4509 (setCurrentFont): use temp vars
4510 (getColumnNearX): use temp vars
4512 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * text.C (transformChar): use temp var for getChar
4515 (computeBidiTables): use temp var for row->par()
4516 (fill): move temp vars for row->par() and pit->layout() earlier in
4518 (labelFill): use temp var for row->par()
4519 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4520 asc and desc, realize that pit never changes and that firstpit is
4521 just a duplicate and not needed. Exchange rit->par() with pit in a
4523 (breakAgain): use a temp var for boost::next(rit)
4524 (breakAgainOneRow): ditto
4525 (breakParagraph): use a temp var for rows().begin()
4526 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4527 (cursorRightOneWord): use temp var for cursor.par() and
4528 cursor.pos(), remove usage of tmpcursor.
4529 (cursorLeftOneWord): use temp var for cursor.par() and
4530 cursor.pos() only set cur at end of function.
4532 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * text.C, text2.C: exchange all usage of Paragraph::next with
4535 boost::next(ParagraphList::iterator)
4537 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4539 * text2.C (cursorTop): simplify implementation
4540 (cursorBottom): ditto
4541 (setParagraph): use ParagraphList::iterator
4542 (setCurrentFont): adjust
4543 (getColumnNearX): adjust
4544 (cursorRight): adjust
4545 (cursorLeft): remove usage of Paragraph::previous
4546 (cursorUpParagraph): ditto
4547 (deleteEmptyParagraphMechanism): slight cleanup
4549 * text.C (isBoundary): take a Paragraph const & instead of a
4551 (addressBreakPoint): ditto
4552 (leftMargin): remove usage of Paragraph::previous.
4553 (setHeightOfRow): ditto
4554 (cursorLeftOneWord): ditto
4555 (selectNextWordToSpellcheck): ditto
4558 (breakParagraph): remove one usage of Paragraph::next
4559 (redoParagraph): ditto
4560 (acceptChange): ditto
4561 (insertChar): adjust
4562 (rowBreakPoint): adjust
4564 * bufferview_funcs.C (toggleAndShow): adjust
4566 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4568 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4569 methods to access it.
4571 * text.C: Added updateRowPositions to compute all row positions.
4572 Make top_y and getRowNearY() to use the cached y position
4574 2003-04-11 John Levon <levon@movementarian.org>
4576 * text.C (rowBreakPoint): reintroduce the labelEnd
4577 checks, code copied from the row fill stuff. Deep voodoo.
4579 * text.C (fill): add a comment and debugging for the
4582 2003-04-11 John Levon <levon@movementarian.org>
4584 * text.C: make sure fullrow insets get wrapped to the next line,
4585 even when they're in a manual label
4587 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * text2.C (insertParagraph): make it take ParagraphList::iterator
4591 (setLayout): make it return ParagraphList::iterator
4592 (redoParagraphs): ditto
4594 (checkParagraph): ditto
4596 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4598 * text2.C: adjust several funcs.
4599 (realizeFont): take a ParagraphList::iterator as arg.
4600 (getLayoutFont): ditto
4601 (getLabelFont): ditto
4602 (setCharFont): ditto
4604 * text.C: adjust several funcs.
4606 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4608 * text.C (selectNextWordToSpellcheck): don't accidentally
4611 2003-04-10 John Levon <levon@movementarian.org>
4613 * ToolbarBackend.C (getIcon): special handling for
4616 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4618 * text2.C (cursorRight): a getChar assert fixed
4620 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * text2.C (getFont): change to take a ParagraphList::iterator
4623 instead of Paragraph*
4624 Adjust several functions.
4626 * text.C (transformChar): change to take a ParagraphList::iterator
4627 instead of Paragraph*
4628 (singleWidth): ditto
4629 Adjust several functions.
4631 * rowpainter.C: adjust several functions
4632 * rowpainter.h:store a ParagraphList::iterator and not a
4636 2003-04-09 John Levon <levon@movementarian.org>
4641 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4642 and the "help" bits as well
4644 2003-04-09 John Levon <levon@movementarian.org>
4647 * ToolbarBackend.C: allow multiple toolbars
4649 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * undo_funcs.C (setCursorParUndo): adjust
4653 * text_funcs.C (transposeChars): adjust
4655 * text3.C (gotoNextInset): adjust
4658 * text2.C (setLayout): adjust
4659 (changeDepth): adjust
4661 (redoParagraphs): adjust
4662 (selectionAsString): adjust
4663 (setParagraph): adjust
4664 (insertInset): adjust
4665 (cutSelection): adjust
4666 (copySelection): adjust
4667 (pasteSelection): adjust
4668 (insertStringAsLines): adjust
4669 (updateInset): adjust
4670 (setCursor): change to take a ParagraphList::iterator parameter
4671 (setCursorIntern): change to take a ParagraphList::iterator parameter
4672 (setCurrentFont): adjust
4673 (cursorLeft): adjust
4674 (cursorRight): adjust
4675 (deleteEmptyParagraphMechanism): adjust
4677 * text.C (breakParagraph): adjust
4678 (insertChar): adjust
4679 (acceptChange): adjust
4680 (rejectChange): adjust
4681 (selectNextWordToSpellcheck): adjust
4682 (changeCase): adjust
4686 * lyxfind.C (SearchForward): adjust
4687 (SearchBackward): adjust
4688 (nextChange): adjust
4690 * lyxcursor.C (par): adjust
4692 * lyxcursor.h: store a ParagraphList::iterator instead of a
4695 * lyx_cb.C (getPossibleLabel): adjust
4697 * bufferview_funcs.C (toggleAndShow): adjust
4699 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4702 * BufferView.C (removeAutoInsets): adjust
4703 (lockedInsetStoreUndo): adjust
4705 2003-04-09 John Levon <levon@movementarian.org>
4707 * ToolbarBackend.C: try icon without argument
4708 if with argument fails
4710 2003-04-08 John Levon <levon@movementarian.org>
4713 * ToolbarBackend.C: add getIcon(), handle tooltip,
4714 and change from "Icon" to "Item".
4716 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4718 * BufferView.C (lockInset): another bad getchar crunched
4720 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4722 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4725 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4727 * lyxfind.C (searchForward, searchBackwards): bug 782
4729 2003-04-07 John Levon <levon@movementarian.org>
4731 * paragraph.C: remove dead comment
4733 * text.C: remove troublesome depth-fiddling code
4734 in leftMargin() and rightMargin() (bug 1017)
4736 * text.C: fix breaking of rows in nested lists
4739 * text2.C (updateCounters): fix up depth values
4742 2003-04-07 John Levon <levon@movementarian.org>
4744 * BufferView_pimpl.C: clear message when doc finishes resizing,
4745 and after a mouse event
4747 * lyxfunc.C: clear message after exiting inset
4749 2003-04-07 John Levon <levon@movementarian.org>
4751 * bufferview_funcs.C: show math status not outside
4752 status in the statusbar
4754 2003-04-07 John Levon <levon@movementarian.org>
4756 * lyxfunc.C: note status changed after a depth change
4758 2003-04-04 Angus Leeming <leeming@lyx.org>
4760 * LaTeX.h: move AuxInfo operator==, != out of line.
4761 Remove LaTeX virtual destructor; nothing derives from it.
4762 Move operator()() out of public area and rename it startscript().
4763 Change protected for private.
4765 2003-04-04 Angus Leeming <leeming@lyx.org>
4768 * text2.C: remove unneeded #includes.
4770 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4772 * text2.C (dEPM): fix the heigth of the next row
4774 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4776 * text.C: squashed an invalid getChar requester + some ws changes
4778 2003-04-03 John Levon <levon@movementarian.org>
4780 * bufferview_funcs.h:
4781 * bufferview_funcs.C:
4784 * text2.C: make getStatus work for the env depth lfuns
4786 2003-04-03 John Levon <levon@movementarian.org>
4788 * bufferview_funcs.h:
4789 * bufferview_funcs.C:
4792 * text2.C: parlistize decDepth(), by merging it with incDepth()
4794 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * lyxrow.h: store a ParagraphList::iterator instead of a
4797 Paragraph* and adjust other class functions to suit.
4799 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4802 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4804 * text2.C (setCursor): do not anchor to cursor row for the time being
4806 2003-04-02 John Levon <levon@movementarian.org>
4813 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4815 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * paragraph.h: make ParagraphList and ParagraphList::iterator
4818 friends of Paragraph.
4820 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4822 * ParagraphList.C: Use the private next_ and previous_ from
4825 2003-04-01 John Levon <levon@movementarian.org>
4829 * Makefile.am: rename, remove defaults gunk
4832 * MenuBackend.C: remove defaults gunk
4835 * Languages.C: remove defaults gunk
4838 * lyx_main.C: error out if files couldn't be found.
4840 2003-04-02 John Levon <levon@movementarian.org>
4842 * text2.C: make incDepth() use parlist
4844 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * undo_funcs.C (firstUndoParagraph): adjust
4848 * text3.C (gotoInset): adjust
4849 (dispatch): adjust, and rewrite loop.
4851 * text2.C (init): adjust, and rewrite loop.
4852 (redoParagraphs): adjust
4853 (updateInset): adjust, and rewrite loop.
4854 (deleteEmptyParagraphMechanism): adjust
4856 * tabular.C (LyXTabular): adjust
4857 (SetMultiColumn): adjust
4860 * lyxtext.[Ch] (ownerParagraph): delete function
4861 (ownerParagraphs): new function returns a ParagraphList.
4863 * BufferView.C (removeAutoInsets): adjust
4864 (insertErrors): adjust
4865 (setCursorFromRow): adjust
4867 2003-04-01 Angus Leeming <leeming@lyx.org>
4869 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4872 2003-04-02 John Levon <levon@movementarian.org>
4878 * text_funcs.C: make transposeChars a free function
4880 * lyxrow_funcs.C: remove wrong comment
4882 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * rowpainter.C: adjust
4890 * lyxrow_funcs. [Ch]: new files
4892 * lyxrow.[Ch]: remove next and previous pointers
4893 (next,previous): remove accessor functions
4894 (isParEnd): move to lyxrow_funcs
4895 (lastPos): move to lyxrow_funcs
4896 (nextRowIsAllInset): move to lyxrow_funcs
4897 (lastPrintablePos): move to lyxrow_funcs
4898 (numberOfSeparators): move to lyxrow_funcs
4899 (numberOfHfills): move to lyxrow_funcs
4900 (numberOfLabelHfills): move to lyxrow_funcs
4901 (hfillExpansion): move to lyxrow_funcs
4905 * bufferview_funcs.C (toggleAndShow): adjust
4907 * RowList.h: Remove class RowList from file leave just a
4910 * RowList.C: delete file
4912 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4915 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * text3.C (cursorPrevious): adjust
4918 (cursorNext): adjust
4921 * text2.C (redoHeightOfParagraph): adjust
4922 (redoDrawingOfParagraph): adjust
4925 * text.C (breakParagraph): adjust
4926 (insertChar): adjust
4929 * rowpainter.C (RowPainter): adjust
4930 (leftMargin): simplify and adjust
4931 (most rowpainter functions): adjust.
4933 * rowpainter.h: store the row as RowList::iterator not as Row*
4935 * lyxcursor.C (row): taka RowList::iterator as arg
4938 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4941 2003-04-01 Angus Leeming <leeming@lyx.org>
4943 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4944 stuff like bool Bool.
4946 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4948 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4951 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4956 * lyxtext.h (rows): drop one version and leve a const variant that
4957 returns a RowList::iterator.
4959 2003-03-31 Angus Leeming <leeming@lyx.org>
4961 * text.C (fill): ensure that the signature is the same as that in the
4964 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * text2.C (redoParagraphs): adjust
4967 (updateCounters): adjust
4968 (checkParagraph): adjust
4969 (getColumnNearX): adjust and reformat a bit.
4971 * text.C (top_y): adjust
4973 (leftMargin): adjust
4974 (prepareToPrint): adjust
4976 (getRowNearY): adjust
4978 * lyxtext.h: make rowlist_ mutable.
4980 * RowList.h: add const_iterator
4981 * RowList.C: adjust for RowList::const_iterator.
4983 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4986 2003-03-31 John Levon <levon@movementarian.org>
4989 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4991 * lyx_main.C: set default fonts from using lyx_gui funcs
4993 * exporter.C: pdf_mode moved from lyxrc
4996 * lyxfunc.C: changes from above
4998 2003-03-31 John Levon <levon@movementarian.org>
5000 * lyx_main.C: fix to the last fix
5002 2003-03-31 John Levon <levon@movementarian.org>
5004 * bufferlist.C: "Load original" -> "Load Original"
5010 * format.C: more Alert cleanups
5012 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * text2.C (removeParagraph): make it take a RowList::iterator as
5016 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5017 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5019 * text.C (anchor_row): make it take a RowList::iterator as arg,
5021 (computeBidiTables): make it take a const reference to Row instead
5022 of Row pointer, adjust.
5023 (leftMargin): make it take a RowList::iterator as arg, adjust.
5024 (rowBreakPoint): adjust
5025 (breakAgainOneRow): make it take a RowList::iterator as arg,
5027 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5029 * bufferview_funcs.C (toggleAndShow): adjust
5031 2003-03-30 John Levon <levon@movementarian.org>
5035 * boost-inst.C: moved to support
5037 * several files: changes as a result
5039 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * text2.C (LyXText): adjust.
5043 (removeRow): make it take a RowList::iterator as arg, adjust.
5044 (fullRebreak): adjust
5045 (deleteEmptyParagraphMechanism): adjust
5046 (clearPaint): adjust
5049 * text.C (top_y): adjust
5050 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5051 (breakAgain): make it take a RowList::iterator as arg, adjust.
5052 (breakParagraph): adjust
5053 (insertChar): adjust
5056 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5057 need_break_row, and refresh_row.
5059 * text3.C (dispatch): adjust
5061 * text2.C (checkParagraph): adjust
5063 (setCursorFromCoordinates): adjust
5065 * text.C (top_y): adjust
5067 (getRow): make it return a RowList::iterator, adjust
5068 (getRowNearY): make it return a RowList::iterator, adjust
5070 * text2.C (init): adjust
5071 (insertRow): remove function
5072 (insertParagraph): adjust
5073 (redoParagraphs): adjust
5074 (fullRebreak): adjust
5075 (updateCounters): adjust
5077 * text.C (top_y): rewrite to use RowList iterators.
5079 (setHeightOfRow): rewrite to sue RowList iterators.
5080 (appendParagraph): adjust
5081 (breakAgain): adjust
5082 (breakAgainOneRow): adjust
5083 (breakParagraph): adjust
5085 (getRowNearY): adjust, and remove commented code.
5087 * lyxtext.h (firstRow): delete function
5088 (lastRow): delete function
5089 (rows): new function (const and non-const versions.)
5090 (insertRow): delete function
5092 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5094 2003-03-29 John Levon <levon@movementarian.org>
5096 * BufferView_pimpl.C: always update scrollbar top
5097 because pasting text when we're anchored could mean we
5098 miss an update altogether
5100 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5102 * text2.C (init): use rowlist_.end() and not 0.
5103 (insertRow): change to take a RowList::iterator as arg, adjust
5105 (insertParagraph): change to take a RowList::iterator as arg,
5107 (redoParagraphs): remove some debug msgs.
5109 * text.C (appendParagraph): change to take a RowList::iterator
5110 arg, adjust for this.
5111 (breakAgain): add an assert
5112 (breakAgainOneRow): ditto
5114 2003-03-29 John Levon <levon@movementarian.org>
5116 * text2.C: do not clear selection after inc/decDepth
5119 2003-03-29 John Levon <levon@movementarian.org>
5122 * buffer.C: fix broken strerrors according to Lars
5124 2003-03-29 John Levon <levon@movementarian.org>
5126 * converters.C: more Alert cleanups
5128 2003-03-29 John Levon <levon@movementarian.org>
5130 * bufferview_funcs.C: remove pointless Alert
5132 * buffer.C: fix confusing error message when
5133 a template is chmoded 000
5135 2003-03-29 John Levon <levon@movementarian.org>
5139 * BufferView_pimpl.C: Alert fixes
5143 * tabular-old.C: remove unused table compat reading
5145 2003-03-29 John Levon <levon@movementarian.org>
5150 * lyx_cb.C: more Alert cleanups
5152 * lyxfunc.C: don't allow chktex if not latex document
5154 2003-03-29 John Levon <levon@movementarian.org>
5158 * buffer.C: warnings pushed down from support/,
5161 2003-03-29 John Levon <levon@movementarian.org>
5163 * lyxfunc.C: safety check for C-r (revert)
5165 2003-03-29 John Levon <levon@movementarian.org>
5168 * bufferlist.C: several UI fixes using Alert::prompt.
5169 Fix the pointless looping quit code. Fix stupid revert
5174 * lyx_cb.C: use Alert::prompt
5176 * lyx_main.C: remove a silly question
5178 * lyxfunc.C: remove a couple of silly questions,
5181 2003-03-28 John Levon <levon@movementarian.org>
5183 * text2.C: fix bug 974 (End on empty par)
5185 2003-03-28 John Levon <levon@movementarian.org>
5187 * BufferView_pimpl.C:
5189 * lfuns.h: remove do-nothing math greek lfuns
5191 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * lyxgluelength.h (isValidGlueLength): add default arg on
5194 parameter 2. Remove default arg from friend in class.
5196 * lyxlength.h (isValidLength): add default arg on parameter 2.
5197 Remove default arg from friend in class.
5199 * text2.C (LyXText): adjust, initialize refresh_row.
5203 (insertParagraph): adjst
5204 (redoParagraphs): adjust
5205 (fullRebreak): adjust
5206 (updateCounters): adjust
5207 (deleteEmptyParagraphMechanism): first attempt at fixing a
5210 * text.C (top_y): adjust
5211 (setHeightOfRow): adjust
5213 (getRowNearY): adjust
5215 * lyxtext.h: include RowList.h
5216 (~LyXText): not needed anymore, deleted.
5217 (firstRow): modify for RowList
5218 (lastRow): new function
5219 Delete firstrow and lastrow class variables, add a Rowlist
5220 rowlist_ class variable.
5222 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5225 * RowList.C (insert): fix case where it == begin().
5227 2003-03-26 Angus Leeming <leeming@lyx.org>
5229 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5230 the thesaurus dialog.
5232 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5234 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5236 * RowList.[Ch]: new files
5238 * ParagraphList.C (erase): handle the case where it == begin
5241 2003-03-25 John Levon <levon@movementarian.org>
5245 * aspell.C: add new aspell support
5248 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5251 2003-03-25 Angus Leeming <leeming@lyx.org>
5254 * LyXAction.C (init): new LFUN_INSET_INSERT.
5256 * BufferView_pimpl.C (dispatch): split out part of the
5257 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5259 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5262 2003-03-25 Angus Leeming <leeming@lyx.org>
5264 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5266 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5269 * text3.C: remove useless row->height(0)
5271 2003-03-25 John Levon <levon@movementarian.org>
5275 * text3.C: rename the refreshing stuff to better names
5277 2003-03-24 John Levon <levon@movementarian.org>
5279 * BufferView_pimpl.h:
5280 * BufferView_pimpl.C: update layout choice on a mouse
5283 2003-03-23 John Levon <levon@movementarian.org>
5285 * Makefile.am: fix commandtags.h reference
5287 2003-03-22 John Levon <levon@movementarian.org>
5289 * BufferView_pimpl.C:
5294 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5296 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5299 * text.C: take the rtl methods out of line
5301 2003-03-21 André Pönitz <poenitz@gmx.net>
5303 * metricsinfo.[Ch]: new files containing structures to be passed around
5304 during the two-phase-drawing...
5306 2003-03-21 André Pönitz <poenitz@gmx.net>
5308 * lyxtextclass.C: read 'environment' tag.
5310 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5312 * text2.C (removeRow): fix bug 964
5314 2003-03-20 John Levon <levon@movementarian.org>
5318 * text2.C: paint cleanups. Inset::update() dropped font
5321 2003-03-19 John Levon <levon@movementarian.org>
5323 * lyxfunc.C: only fitcursor/markDirty if available()
5325 2003-03-19 John Levon <levon@movementarian.org>
5327 * commandtags.h: rename to ...
5329 * lfuns.h: ... this, and renumber / cleanup
5331 2003-03-19 John Levon <levon@movementarian.org>
5333 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5334 fit the cursor after an lfun
5338 * BufferView_pimpl.h:
5339 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5341 * LyXAction.C: layout-character should have ReadOnly
5343 * ParagraphParameters.C:
5345 * bufferview_funcs.C:
5352 * undo_funcs.C: changes from above
5354 2003-03-18 John Levon <levon@movementarian.org>
5356 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5357 remove it from update()
5359 * lyxfunc.C: update layout choice after an lfun
5361 * text3.C: remove extra updateLayoutChoice()s
5363 2003-03-18 John Levon <levon@movementarian.org>
5365 * text.C: top_y change means full repaint, fix
5366 a drawing bug with cursor movement
5368 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5372 * text2.C: anchor row on setCursor
5374 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5376 * lyxtext.h: remove almost all mutable keywords
5379 * text3.C: remove const keywords accordingly
5381 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5385 (TeXEnvironment): ditto
5388 2003-03-17 John Levon <levon@movementarian.org>
5390 * text.C (rowBreakPoint): remove attempt to fix displayed
5391 math insets inside a manual label
5393 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * lyxtext.h: remove BufferView* as first arg from almost all class
5397 * other files: adjust.
5399 2003-03-17 John Levon <levon@movementarian.org>
5403 * text2.C: more paint cleanups
5405 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5408 * rowpainter.C: remove "smart" background painting code
5410 2003-03-16 John Levon <levon@movementarian.org>
5415 * text3.C: add helper functions for setting refresh_row/y
5417 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5419 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5420 newline inset which *can* get inserted in the pass_thru layouts.
5421 This is primarily for literate documents.
5423 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5425 * buffer.C: increment LYX_FORMAT to 223
5427 2003-03-14 André Pönitz <poenitz@gmx.net>
5429 * textclass.h: prepare for environment handling, ws changes
5430 * lyxlayout.C: read latexheader and latexfooter tags
5432 2003-03-14 John Levon <levon@movementarian.org>
5434 * text2.C: rewrite ::status() a bit
5436 2003-03-13 John Levon <levon@movementarian.org>
5438 * lyxtext.h: add some docs
5440 2003-03-13 John Levon <levon@movementarian.org>
5445 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5447 2003-03-13 John Levon <levon@movementarian.org>
5449 * text3.C: fix appendix redrawing
5451 2003-03-13 John Levon <levon@movementarian.org>
5453 * text.C (setHeightOfRow):
5455 * rowpainter.C: make appendix mark have the text
5456 "Appendix" so the user knows what it is
5459 * LColor.C: s/appendixline/appendix/ from above
5461 2003-03-13 John Levon <levon@movementarian.org>
5463 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5465 * text.C: fix a getChar(pos) bug properly
5467 2003-03-13 Angus Leeming <leeming@lyx.org>
5470 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5471 Probably only temporary. Let's see how things pan out.
5473 * BufferView.C (unlockInset):
5474 * BufferView_pimpl.C (fitCursor):
5475 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5477 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5478 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5480 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5481 new functions that convert ParagraphParameters to and from a string.
5483 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5484 BufferView::Pimpl's dispatch.
5485 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5487 2003-03-13 André Pönitz <poenitz@gmx.net>
5491 * factory.C: make it aware of InsetEnv
5493 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * text2.C (setCursor): never ask for one past last
5496 (setCursor): add some debugging messages.
5498 * text.C (singleWidth): never ask for one past last
5499 (singleWidth): ditto
5501 (rightMargin): ditto
5502 (rowBreakPoint): ditto
5503 (setHeightOfRow): ditto
5504 (prepareToPrint): ditto
5506 * rowpainter.C (paintBackground): never ask for one past last
5507 (paintText): never ask for one past last
5509 * paragraph_pimpl.C (getChar): make the assert stricter, never
5510 allow the one past last pos to be taken
5512 * paragraph.C (getChar): ws changes only
5514 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5515 (numberOfSeparators): ditto
5516 (numberOfHfills): ditto
5518 2003-03-12 John Levon <levon@movementarian.org>
5524 * paragraph_funcs.C: fix per-buffer authorlists
5526 2003-03-12 John Levon <levon@movementarian.org>
5528 * text.C: fix newline in right address
5530 2003-03-12 Angus Leeming <leeming@lyx.org>
5532 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5533 duplicate those in LyXFunc::dispatch.
5537 * ToolbarDefaults.C:
5538 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5539 Add LFUN_FONTFREE_UPDATE.
5541 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5542 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5544 * bufferview_func.[Ch]: several new functions to facilliate
5545 transfer of data to and from the character dialog.
5547 2003-03-12 John Levon <levon@movementarian.org>
5552 * paragraph_funcs.C:
5553 * paragraph_pimpl.C:
5557 * text3.C: remove META_NEWLINE in favour of an inset
5560 * rowpainter.C: remove paintNewline (done by inset)
5562 2003-03-12 John Levon <levon@movementarian.org>
5564 * paragraph_pimpl.C: complain about bad getChar()s
5565 for a while at least
5567 2003-03-12 John Levon <levon@movementarian.org>
5570 * buffer.C: move paragraph read into a separate function,
5571 a little renaming to reflect that.
5574 * bufferparams.C: remove the author_ids map, not necessary now
5577 * factory.C: moved Buffer::readInset to here
5579 * paragraph_funcs.h:
5580 * paragraph_funcs.C: readParagraph free function moved from
5583 * tabular.C: name change
5585 2003-03-12 John Levon <levon@movementarian.org>
5588 * ParagraphParameters.C: move par params input to
5591 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5592 behave like a normal read from the stream wrt reading
5593 a line vs. a \\token
5595 2003-03-12 John Levon <levon@movementarian.org>
5598 * ParagraphParameters.h:
5599 * ParagraphParameters.C: move output code to a
5602 2003-03-12 John Levon <levon@movementarian.org>
5604 * BufferView.C (insertLyXFile):
5607 * tabular.C: use a parlist iterator for creating the
5610 2003-03-12 John Levon <levon@movementarian.org>
5612 * buffer.C: make current_change static local not
5615 2003-03-12 John Levon <levon@movementarian.org>
5617 * buffer.C: fix insertStringAsLines for change tracking
5619 2003-03-12 John Levon <levon@movementarian.org>
5626 * bufferparams.C: move author list into params. Rename some
5627 functions. Move the header reading into a separate token
5628 loop. Move the header token reading into BufferParams.
5630 2003-03-12 John Levon <levon@movementarian.org>
5632 * changes.C: put debug inside lyxerr.debugging() checks
5634 2003-03-11 André Pönitz <poenitz@gmx.net>
5636 * factory.C: make it aware of InsetHFill
5638 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5640 * buffer.C (latexParagraphs): move function from here...
5641 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5644 2003-03-10 Angus Leeming <leeming@lyx.org>
5646 * LyXAction.C (init): fix bug in poplating array with multiple entries
5647 with the same LFUN (spotted by JMarc).
5649 2003-03-10 John Levon <levon@movementarian.org>
5652 * text2.C: move getColumnNearX() near its
5655 2003-03-10 John Levon <levon@movementarian.org>
5657 * text.C: fix break before a minipage
5659 2003-03-10 John Levon <levon@movementarian.org>
5661 * text.C: fix the last commit
5663 2003-03-09 John Levon <levon@movementarian.org>
5667 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5668 bug 365 (don't break before insets unless needed). Don't
5669 return a value > last under any circumstances.
5671 2003-03-09 Angus Leeming <leeming@lyx.org>
5673 * BufferView_pimpl.C (trackChanges, dispatch): call
5674 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5676 2003-03-09 Angus Leeming <leeming@lyx.org>
5678 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5679 than Dialogs::showAboutlyx().
5681 2003-03-09 Angus Leeming <leeming@lyx.org>
5683 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5684 than Dialogs::showTabularCreate().
5686 2003-03-09 John Levon <levon@movementarian.org>
5690 * text2.C: 3rd arg to nextBreakPoint was always the same.
5693 2003-03-08 John Levon <levon@movementarian.org>
5700 * text2.C: Remove the "main" bit from the "main body"
5703 2003-03-08 John Levon <levon@movementarian.org>
5705 * text.C (leftMargin): The left margin of an empty
5706 manual label paragraph should not include the label width
5709 * text.C (prepareToPrint): don't attempt to measure hfills
5710 for empty manual label paragraphs - the answer should be 0
5712 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * CutAndPaste.C: remove commented code and reindent.
5716 2003-03-08 John Levon <levon@movementarian.org>
5719 * lyxfunc.C: move reloadBuffer()
5722 * BufferView.C: to here
5724 * lyxvc.C: add comment
5727 * vc-backend.C: call bv->reload() to avoid
5728 getStatus() check on MENURELOAD
5730 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5732 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5733 to an old format .dep file.
5735 2003-03-07 Angus Leeming <leeming@lyx.org>
5737 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5738 when the LFUN_MOUSE_RELEASE should have been handled by
5739 inset->localDispatch.
5741 2003-03-07 Angus Leeming <leeming@lyx.org>
5743 * BufferView_pimpl.C (dispatch):
5744 * LyXAction.C (init):
5745 * ToolbarDefaults.C (init):
5747 * lyxfunc.C (getStatus):
5748 remove LFUN_INSET_GRAPHICS.
5750 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5752 2003-03-07 Angus Leeming <leeming@lyx.org>
5755 * LyXAction.C (init):
5756 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5758 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5761 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5763 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5764 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5766 2003-03-07 Angus Leeming <leeming@lyx.org>
5768 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5771 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * ParagraphList.C (front): new function
5776 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5778 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5779 and top_row_offset_. removed var first_y.
5781 * text2.C (LyXText, removeRow):
5783 * BufferView_pimpl.C:
5784 use these methods instead of using first_y
5786 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * text2.C (pasteSelection): adjust for checkPastePossible
5790 * CutAndPaste.C: remove Paragraph * buf and replace with
5791 ParagraphList paragraphs.
5792 (DeleteBuffer): delete
5793 (cutSelection): change the tc type to textclass_type
5794 (copySelection): change the tc type to textclass_type
5795 (copySelection): adjust for ParagraphList
5796 (pasteSelection): change the tc type to textclass_type
5797 (pasteSelection): adjust for Paragraphlist
5798 (nrOfParagraphs): simplify for ParagraphList
5799 (checkPastePossible): simplify for ParagraphList
5800 (checkPastePossible): remove unused arg
5802 * ParagraphList.C (insert): handle the case where there are no
5805 * CutAndPaste.h: make CutAndPaste a namespace.
5807 * text3.C (dispatch): adjust
5809 * text.C (breakParagraph): add a ParagraphList as arg
5811 * paragraph_funcs.C (breakParagraph): change to take a
5812 BufferParams and a ParagraphList as args.
5813 (breakParagraphConservative): ditto
5814 (mergeParagraph): ditto
5815 (TeXDeeper): add a ParagraphList arg
5816 (TeXEnvironment): ditto
5819 * buffer.C (readLyXformat2): adjust
5820 (insertStringAsLines): adjust
5821 (latexParagraphs): adjust
5823 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5824 (cutSelection): adjust
5825 (pasteSelection): adjust
5827 * BufferView_pimpl.C (insertInset): adjust
5829 2003-03-05 Angus Leeming <leeming@lyx.org>
5832 * LyXAction.C (init):
5833 * BufferView_pimpl.C (dispatch):
5834 * lyxfunc.C (getStatus):
5835 remove LFUN_CHILD_INSERT.
5837 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5839 2003-03-05 Angus Leeming <leeming@lyx.org>
5842 * LyXAction.C (init):
5843 * src/factory.C (createInset):
5844 * lyxfunc.C (getStatus):
5845 * text3.C (dispatch):
5846 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5848 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5850 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5852 * ParagraphList.C (insert): handle insert right before end()
5853 (erase): fix cases where it can be first or last paragraph.
5855 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5857 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5858 Paragraph::next and Paragraph::previous
5861 * text.C (breakParagraph): adjust
5863 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5864 BufferParams& as arg.
5865 (breakParagraph): use ParagraphList::insert
5866 (breakParagraphConservative): take a Buffer* instead of a
5867 BufferParams& as arg.
5868 (breakParagraphConservative): use ParagraphList::insert.
5870 * buffer.C (insertStringAsLines): un-const it
5871 (insertStringAsLines): adjust
5873 * ParagraphList.C (insert): new function
5875 * CutAndPaste.C (pasteSelection): adjust
5877 * text.C (backspace): adjust
5879 * tabular.C (SetMultiColumn): adjust
5881 * CutAndPaste.C (cutSelection): adjust
5882 (pasteSelection): adjust
5884 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5885 Buffer const * as arg
5887 * ParagraphList.C (erase): new function
5888 * paragraph_funcs.C (mergeParagraph): use it
5889 (mergeParagraph): make it take a Buffer* instead of a
5890 BufferParams* as arg
5892 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5894 (breakParagraphConservative): ditto
5896 * paragraph.h: remove the breakParagraph friend
5898 * paragraph.C (eraseIntern): new function
5899 (setChange): new function
5901 * paragraph_funcs.C (mergeParagraph): make it take a
5902 ParagraphList::iterator instead of a Paragraph *, adjust
5905 * paragraph.h: move an #endif so that the change tracking stuff
5906 also works in the NO_NEXT case.
5908 2003-03-04 Angus Leeming <leeming@lyx.org>
5911 * LyXAction.C: new LFUN_INSET_MODIFY.
5913 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5914 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5916 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * several files: ws changes only
5920 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5921 (TeXEnvironment): ditto
5924 * buffer.C (makeLaTeXFile): adjust
5925 (latexParagraphs): make it take ParagraphList::iterator as args
5927 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * buffer.C (latexParagraphs): adjust
5931 * paragraph.C (TeXOnePar): move function...
5932 (optArgInset): move function...
5933 (TeXEnvironment): move function...
5934 * paragraph_pimpl.C (TeXDeeper): move function...
5935 * paragraph_funcs.C: ...here
5937 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5939 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * buffer.C (readInset): remove compability code for old Figure and
5944 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * buffer.C: ws changes
5949 * BufferView_pimpl.C: ditto
5952 * bufferlist.h: ditto
5956 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5958 * converter.[Ch]: split into itself +
5961 * Makefile.am: += graph.[Ch] + format.[Ch]
5968 * lyxrc.C: added #include "format.h"
5970 2003-02-27 Angus Leeming <leeming@lyx.org>
5972 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5975 * factory.C (createInset): add "label" to the factory.
5977 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5978 string and do no more.
5980 2003-02-27 Angus Leeming <leeming@lyx.org>
5983 * LyXAction.C (init):
5984 * factory.C (createInset):
5985 * BufferView_pimpl.C (dispatch):
5986 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5988 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5990 * lyxfunc.C (dispatch):
5991 * text3.C (dispatch): pass name to params2string.
5993 2003-02-26 Angus Leeming <leeming@lyx.org>
5995 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5997 Rearrange the ~includes. Strip out the unnecessary ones.
5999 * factory.C (createInset): reformat.
6000 create new insets for the various LFUN_XYZ_APPLY lfuns.
6002 2003-02-26 John Levon <levon@movementarian.org>
6005 * lyxrow.C: add isParStart,isParEnd helpers
6007 * paragraph.h: make isInserted/DeletedText take refs
6009 * paragraph_funcs.h:
6010 * paragraph_funcs.C: remove #if 0'd code
6015 * text.C: use lyxrow helpers above.
6016 Move draw and paint routines to RowPainter.
6017 Make several methods use refs not pointers.
6018 Make backgroundColor() const.
6019 Add markChangeInDraw(), isInInset().
6020 Merge changeRegionCase into changeCase.
6021 Make workWidth() shouldn't-happen code into an Assert.
6024 * rowpainter.C: new class for painting a row.
6027 * vspace.C: make inPixels take a ref
6029 2003-02-26 Angus Leeming <leeming@lyx.org>
6031 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6034 2003-02-25 John Levon <levon@movementarian.org>
6036 * ispell.C: give the forked command a more accurate name
6038 2003-02-22 John Levon <levon@movementarian.org>
6041 * toc.C: make TocItem store an id not a Paragraph *
6044 2003-02-21 Angus Leeming <leeming@lyx.org>
6046 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6047 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6048 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6049 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6050 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6051 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6053 * BufferView_pimpl.C (dispatch):
6054 * LyXAction.C (init):
6055 * factory.C (createInset):
6056 * lyxfunc.C (getStatus, dispatch):
6057 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6059 2003-02-21 Angus Leeming <leeming@lyx.org>
6061 * BufferView_pimpl.C (MenuInsertLyXFile):
6062 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6063 * lyxfunc.C (menuNew, open, doImport):
6064 no longer pass a LyXView & to fileDlg.
6066 2003-02-21 Angus Leeming <leeming@lyx.org>
6068 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6069 * LyXAction.C: change, BIBKEY to BIBITEM.
6070 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6071 Change InsetBibKey to InsetBibitem.
6072 Change BIBKEY_CODE to BIBITEM_CODE.
6073 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6074 * factory.C: replace insetbib.h with insetbibitem.h.
6075 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6076 * paragraph.C: replace insetbib.h with insetbibitem.h.
6077 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6078 Change bibkey() to bibitem().
6079 * text.C: remove insetbib.h.
6080 * text2.C: replace insetbib.h with insetbibitem.h.
6081 change bibkey() to bibitem().
6082 * text3.C: remove insetbib.h.
6083 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6085 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6087 * lyxrc.C (output): enclose user email in quotes (in case there are
6090 2003-02-18 John Levon <levon@movementarian.org>
6092 * buffer.h: add std::
6094 2003-02-17 John Levon <levon@movementarian.org>
6100 * pspell.C: reworking. Especially in ispell, a large
6101 number of clean ups and bug fixes.
6103 * lyxfunc.C: fix revert to behave sensibly
6105 2003-02-17 André Pönitz <poenitz@gmx.net>
6108 * commandtags.h: new LFUN_INSERT_BIBKEY
6118 * paragraph_func.C: remove special bibkey handling
6120 2003-02-17 John Levon <levon@movementarian.org>
6122 * text.C (Delete): fix case where delete at the end of
6123 the very first paragraph would not merge the pars
6125 2003-02-17 John Levon <levon@movementarian.org>
6127 * lyxrow.C: fix lastPrintablePos()
6129 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6131 * bufferparams.C (writeLaTeX): add a std:here
6133 * buffer.C: and remove a using directive there
6135 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6137 * buffer.C (makeLaTeXFile): move the code that generates the
6140 * bufferparams.C (writeLaTeX): ... in this new method
6142 * LaTeXFeatures.C (getEncodingSet): make const
6143 (getLanguages): make const
6145 * MenuBackend.C (binding): returns the binding associated to this
6147 (add): sets the status of each item by calling getStatus. Adds
6149 (read): add support for OptSubMenu
6150 (expand): remove extra separator at the end of expanded menu
6152 2003-02-15 John Levon <levon@movementarian.org>
6155 * BufferView_pimpl.C:
6157 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6158 inset code that had no actual effect. Remove unneeded status
6161 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6163 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6166 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6168 * text.C (drawLengthMarker): also draw an arrow marker for
6169 symbolic lengths (medskip...)
6171 2003-02-14 John Levon <levon@movementarian.org>
6174 * tabular.C: better method names
6176 2003-02-14 John Levon <levon@movementarian.org>
6178 * BufferView_pimpl.C:
6183 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6184 it's a more accurate name. Remove some pointless uses.
6186 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * text2.C (LyXText): change order of initilizers to shut off
6191 2003-02-14 John Levon <levon@movementarian.org>
6193 * buffer.C: use ParIterator for getParFromID()
6197 * paragraph_pimpl.h:
6198 * paragraph_pimpl.C: remove unused getParFromID()
6200 2003-02-14 John Levon <levon@movementarian.org>
6202 * buffer.C: remove some very old #if 0'd parse code
6204 2003-02-13 John Levon <levon@movementarian.org>
6208 * text2.C: move hfillExpansion(), numberOfSeparators(),
6209 rowLast(), rowLastPrintable(), numberofHfills(),
6210 numberOfLabelHfills() ...
6213 * lyxrow.C: ... to member functions here.
6218 * text.C: remove LyXText::beginningOfMainBody(), and call
6219 p->beginningOfMainBody() directly. Move the check for
6220 LABEL_MANUAL into the latter.
6227 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6233 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6234 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6236 2003-02-13 John Levon <levon@movementarian.org>
6238 * CutAndPaste.C: remove debug
6240 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6242 * paragraph.C (asString): remove two unused variables
6244 * lyxtextclass.C (readTitleType):
6246 (LyXTextClass): handle new members titletype_ and titlename_
6248 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6250 2003-02-09 John Levon <levon@movementarian.org>
6253 * buffer.C: replace hand-coded list with a map for the dep clean
6255 2003-02-08 John Levon <levon@movementarian.org>
6257 * LaTeX.C: consolidate code into showRunMessage() helper
6259 2003-02-08 John Levon <levon@movementarian.org>
6264 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6265 and pass the size in explicitly
6267 * BufferView_pimpl.h:
6268 * BufferView_pimpl.C:
6270 * BufferView.C: add getCurrentChange()
6272 * BufferView_pimpl.h:
6273 * BufferView_pimpl.C: handle change lfuns
6275 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6276 for changes. Mark pasted paragraphs as new.
6278 * support/lyxtime.h:
6279 * support/lyxtime.C:
6280 * DepTable.C: abstract time_t as lyx::time_type
6283 * LColor.C: add colours for new text, deleted text, changebars
6285 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6286 package use "usenames" option.
6290 * LyXAction.C: add change lfuns
6294 * author.C: author handling
6297 * buffer.C: add a per-buffer author list, with first entry as
6298 current author. Handle new .lyx tokens for change tracking. Output
6299 author list to .lyx file. Output dvipost stuff to .tex preamble.
6300 Bump lyx format to 222.
6303 * bufferlist.C: add setCurrentAuthor() to reset current author details
6307 * bufferparams.C: add param for tracking
6309 * bufferview_funcs.C: output change info in minibuffer
6313 * changes.C: add change-tracking structure
6316 * debug.C: add CHANGES debug flag
6319 * lyxfind.C: add code for finding the next change piece
6322 * lyxrc.C: add user_name and user_email
6325 * lyxrow.C: add a metric for the top of the text line
6328 * text.C: implement accept/rejectChange()
6331 * text.C: paint changebars. Paint new/deleted text in the chosen
6332 colours. Strike through deleted text.
6336 * paragraph_pimpl.h:
6337 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6338 in the current change to the insert functions. Rework erase to
6339 mark text as deleted, adding an eraseIntern() and a range-based
6340 erase(). Implement per-paragraph change lookup and
6343 * paragraph_funcs.C: Fixup paste for change tracking.
6345 * tabular.C: mark added row/columns as new.
6347 * text.C: fix rowLast() to never return -1. Don't allow
6348 spellchecking of deleted text. Track transpose changes. Don't
6349 allow paragraph break or merge where appropriate.
6351 * text2.C: leave cursor at end of selection after a cut.
6353 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6355 * text.C (getLengthMarkerHeight):
6356 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6357 visible on screen too.
6359 2003-02-07 John Levon <levon@movementarian.org>
6361 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6363 2003-02-05 Angus Leeming <leeming@lyx.org>
6365 * lyxserver.C (read_ready): revert my patch of 11 September last year
6366 as it sends PC cpu through the roof. Presumably this means that
6367 the lyxserver will no longer run on an Alpha...
6369 2003-01-30 Angus Leeming <leeming@lyx.org>
6371 * factory.C (createInset): create an InsetCommandParam of type "index"
6372 and use it to 'do the right thing'.
6374 * text2.C (getStringToIndex): ensure that cursor position is always
6375 reset to the reset_cursor position.
6377 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6379 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6382 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6386 * lyxfunc.C: Output messages with identical spelling, punctuation,
6389 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6391 * MenuBackend.C (expandFormats): List only viewable export formats
6394 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6397 * lyxfunc.C (getStatus): Make sure that formats other than
6398 "fax" can also be disabled
6400 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6402 * text3.C (dispatch): put the lfuns that insert insets in 3
6403 groups, and call doInsertInset with appropriate arguments.
6404 (doInsertInset): new function, that creates an inset and inserts
6405 it according to some boolean parameters.
6407 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * buffer.C (readFile): remember to pass on 'par' when calling
6410 readFile recursively.
6412 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6414 * MenuBackend.C (expandFormats): add "..." to import formats.
6416 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6418 * paragraph.C (asString): Remove XForms RTL hacks.
6420 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6421 * buffer.C: fix typo
6423 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * Makefile.am (LIBS): delete var
6426 (lyx_LDADD): add @LIBS@ here instead.
6428 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6430 * Clarify the meaning of "wheel mouse jump"
6432 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6434 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6437 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6439 * importer.C (Loaders): do not preallocate 3 elements in the
6440 vector, since one ends up with 6 elements otherwise
6442 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * DepTable.C (write): write the file name as last element of the
6445 .dep file (because it may contain spaces)
6446 (read): read info in the right order
6448 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6450 * paragraph_pimpl.C (simpleTeXBlanks):
6451 (simpleTeXSpecialChars):
6452 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6454 * tabular.C (latex): add some missing case statements. Reindent.
6456 * MenuBackend.C (expandToc): remove unused variable.
6458 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6467 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6470 2003-01-05 John Levon <levon@movementarian.org>
6473 * BufferView.C: add getEncoding()
6476 * kbsequence.C: do not store last keypress
6479 * lyxfunc.C: store last keypress here instead. Pass encoding
6482 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6484 * lyx_main.C (init): remove annoying error message when following
6485 symbolic links (bug #780)
6487 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6489 * text.C (insertChar):
6490 * lyxrc.C (getDescription): remove extra spaces
6492 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6494 * lyxrc.C (getDescription): remove extra spaces
6496 2002-12-20 John Levon <levon@movementarian.org>
6498 * text3.C: hack fix for page up/down across tall rows
6500 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6505 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6508 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6509 thesaurus is not compiled in
6511 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6513 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6515 2002-12-16 Angus Leeming <leeming@lyx.org>
6518 * lyx_main.C (init): remove override_x_deadkeys stuff.
6520 2002-12-12 John Levon <levon@movementarian.org>
6522 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6523 insert. Only remove shift modifier under strict
6526 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * MenuBackend.C (expandToc): fix crash.
6530 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * MenuBackend.C (expandToc): gettext on float names.
6534 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6536 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6537 implement bool empty() [bug 490]
6539 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6543 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * several files: ws changes
6547 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * text2.C (setCounter): clean up a bit, use boost.format.
6550 (updateCounters): initialize par upon declaration.
6552 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6553 if the layout exists. We do not just store the layout any more.
6554 (SwitchLayoutsBetweenClasses): use boost.format
6556 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * converter.C (convert): if from and to files are the same, use a
6559 temporary files as intermediary
6561 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6564 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6566 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6568 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6570 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * tabular.C (asciiPrintCell): use string(size, char) instead of
6575 * sgml.C (openTag): fix order of arguments to string constructor
6578 * lyxfunc.C (dispatch): use boost.format
6580 * lots of files: change "c" -> 'c'
6582 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6584 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6586 2002-11-25 Angus Leeming <leeming@lyx.org>
6588 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6590 * lyx_main.C (init): compile fix.
6592 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * lyx_cb.C (start): boost.formatify
6595 do not include <iostream>
6597 * lengthcommon.C: ws only
6599 * boost-inst.C,BoostFormat.h: add more explict instantations
6601 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * lots of files: handle USE_BOOST_FORMAT
6605 2002-11-21 John Levon <levon@movementarian.org>
6607 * pspell.C: fix compile
6609 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6611 * lyxfunc.C (dispatch): use boost::format
6615 * lyxfont.C (stateText): use boost::format
6617 * lyx_main.C (LyX): use boost::format
6619 (queryUserLyXDir): ditto
6622 (typedef boost::function): use the recommened syntax.
6624 * importer.C (Import): use boost::format
6626 * debug.C (showLevel): use boost::format
6628 * converter.C (view): use boost::format
6633 * bufferview_funcs.C (currentState): use boost::format
6635 * bufferlist.C (emergencyWrite): use boost::format
6637 * buffer.C (readLyXformat2): use boost::format
6638 (parseSingleLyXformat2Token): ditto
6640 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6642 * LaTeX.C (run): use boost::format
6644 * Chktex.C (scanLogFile): use boost::format
6646 * BufferView_pimpl.C (savePosition): use boost::format
6647 (restorePosition): ditto
6648 (MenuInsertLyXFile): ditto
6650 * BoostFormat.h: help file for explicit instation.
6652 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6654 * tabular.C (latex): Support for block alignment in fixed width
6657 2002-11-17 John Levon <levon@movementarian.org>
6659 * BufferView_pimpl.C:
6661 * lyxfunc.C: split filedialog into open/save
6663 2002-11-08 Juergen Vigna <jug@sad.it>
6665 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6666 by my last patch (hopefully).
6668 2002-11-08 John Levon <levon@movementarian.org>
6677 * toc.C: ParConstIterator, and use it (from Lars)
6679 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6681 * lyxtextclass.[Ch]: revise and add doxygen comments
6683 2002-11-07 John Levon <levon@movementarian.org>
6685 * text.C: fix progress value for spellchecker
6687 * toc.C: fix navigate menu for insetwrap inside minipage
6689 * paragraph_funcs.C: added FIXME for suspect code
6691 2002-11-07 John Levon <levon@movementarian.org>
6693 * BufferView_pimpl.C: fix redrawing of insets
6696 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * text2.C (updateCounters): fix bug 668
6700 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6702 * text3.C (dispatch): Do not make the buffer dirty when moving the
6705 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * vc-backend.C: STRCONV
6710 * text2.C (setCounter): STRCONV
6712 * paragraph.C (asString): STRCONV
6714 * lyxlength.C (asString): STRCONV
6715 (asLatexString): ditto
6717 * lyxgluelength.C (asString): STRCONV
6718 (asLatexString): ditto
6720 * lyxfunc.C (dispatch): STRCONV
6723 * lyxfont.C (stateText): STRCONV
6725 * importer.C (Import): STRCONV
6727 * counters.C (labelItem): STRCONV
6728 (numberLabel): ditto
6729 (numberLabel): remove unused ostringstream o
6734 * bufferview_funcs.C (currentState): STRCONV
6736 * buffer.C (readFile): STRCONV
6737 (asciiParagraph): ditto
6738 (makeLaTeXFile): ditto
6740 * Spacing.C (writeEnvirBegin): STRCONV
6742 * LaTeXFeatures.C (getLanguages): STRCONV
6743 (getPackages): ditto
6745 (getBabelOptions): ditto
6746 (getTClassPreamble): ditto
6747 (getLyXSGMLEntities): ditto
6748 (getIncludedFiles): ditto
6752 (scanAuxFile): ditto
6755 * LString.h: add the STRCONV macros
6757 * BufferView_pimpl.C (savePosition): STRCONV
6758 (restorePosition): ditto
6759 (MenuInsertLyXFile): ditto
6761 * vc-backend.C (scanMaster): change from submatch[...] to
6764 * funcrequest.C: include config.h
6766 * factory.C: include config.h
6768 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6770 * box.C: include config.h
6772 * LaTeX.C (scanAuxFile): change from submatch[...] to
6776 2002-10-25 Angus Leeming <leeming@lyx.org>
6778 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6780 * ispell.[Ch] (setError): new method.
6781 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6782 Use setError() insetead of goto END.
6784 * lyx_cb.C (AutoSave): move out child process into new class
6787 2002-10-30 John Levon <levon@movementarian.org>
6789 * text3.C: make start appendix undoable
6791 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6793 * lyxlength.C (inPixels): Fix returned value.
6795 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6798 2002-10-24 Angus Leeming <leeming@lyx.org>
6800 * lyxgluelength.h: no need to forward declare BufferParams
6801 or BufferView, so don't.
6803 2002-10-21 John Levon <levon@movementarian.org>
6805 * BufferView.C: menuUndo ->undo, redo
6807 * BufferView.h: document, remove dead, make some methods private
6809 * paragraph_funcs.h:
6810 * paragraph_funcs.C:
6811 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6816 * sgml.C: move sgml open/close tag into sgml.C
6818 * bufferview_funcs.h: unused prototype
6821 * lyxfunc.C: remove unused
6824 * text.C: remove unused
6826 2002-10-21 John Levon <levon@movementarian.org>
6830 * BufferView_pimpl.h:
6831 * BufferView_pimpl.C: fix mouse wheel handling based on
6832 patch from Darren Freeman
6834 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6836 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6838 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6840 * lyxlength.C (inPixels): Fix hanfling of negative length.
6841 Fix LyXLength::MU case.
6843 2002-10-16 John Levon <levon@movementarian.org>
6845 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6847 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6849 * converter.C (view): add support for $$i (file name) and $$p
6850 (file path) for the viewer command. If $$i is not specified, then
6851 it is appended to the command (for compatibility with old syntax)
6853 2002-10-14 Juergen Vigna <jug@sad.it>
6855 * undo_funcs.C (textHandleUndo): alter the order in which the
6856 new undopar is added to the LyXText, as we have to set first
6857 the right prev/next and then add it as otherwise the rebuild of
6858 LyXText is not correct. Also reset the cursor to the right paragraph,
6859 with this IMO we could remove the hack in "redoParagraphs()".
6861 2002-10-09 Angus Leeming <leeming@lyx.org>
6863 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6864 to turn off an optimisation if a new inset is to be inserted.
6866 2002-10-11 André Pönitz <poenitz@gmx.net>
6868 * lyxtext.h: make some functions public to allow access
6869 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6871 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6873 * text3.C (dispatch): when changing layout, avoid an infinite loop
6876 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * lyxrc.C (read): treat a viewer or converter command of "none" as
6881 * MenuBackend.C (expandFormats): for an update, also allow the
6882 formats that are not viewable
6884 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6885 script if it is newer than the lyxrc.defaults in user directory
6887 2002-10-07 André Pönitz <poenitz@gmx.net>
6889 * text.C: Vitaly Lipatov's small i18n fix
6891 2002-09-25 Angus Leeming <leeming@lyx.org>
6893 * ispell.h: doxygen fix.
6895 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6897 * buffer.h (readFile): Add a new argument to the method, to allow
6898 reading of old-format templates.
6900 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6902 * toc.C (getTocList): Get TOC from InsetWrap.
6904 2002-09-16 John Levon <levon@movementarian.org>
6906 * lyxfunc.C: check tabular for cut/copy too
6908 2002-09-12 John Levon <levon@movementarian.org>
6913 * factory.C: add header
6915 * paragraph_funcs.h:
6916 * paragraph_funcs.C: cleanup
6918 2002-09-11 John Levon <levon@movementarian.org>
6920 * PrinterParams.h: odd/even default to true
6922 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6924 * PrinterParams.h: update printer parameters for new xforms dialog
6926 2002-09-11 Angus Leeming <leeming@lyx.org>
6928 * lyxserver.C (read_ready): re-write to make it more transparent
6929 and to make it work in coherent fashion under Tru64 Unix.
6931 2002-09-11 André Pönitz <poenitz@gmx.net>
6935 * text3.C: implement LFUN_WORDSEL
6937 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6940 make floatlist_ a boost::shared_ptr<FloatList>
6942 * lyxtextclass.C: include FloatList.h
6943 (LyXTextClass): initialize floatlist_
6944 (TextClassTags): add TC_NOFLOAT
6945 (Read): match "nofloat" to TC_NOFLOAT and use it.
6946 (readFloat): modify call to floatlist_
6950 * FloatList.[Ch] (FloatList): remove commented out float
6952 (erase): new function
6954 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6956 * MenuBackend.C (expandToc): fix crash when there is no document
6959 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6961 * many files: Add insetwrap.
6963 2002-09-09 John Levon <levon@movementarian.org>
6965 * text2.C: remove confusing and awkward depth wraparound
6967 2002-09-09 John Levon <levon@movementarian.org>
6969 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6972 * buffer.C: remove getIncludeonlyList()
6975 * lyxfunc.C: remove headers
6977 2002-09-09 Juergen Vigna <jug@sad.it>
6979 * text.C (getColumnNearX): fix form Michael this is most
6980 probably a cut&paste bug.
6982 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6986 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6987 references, ws changes.
6989 * text2.C (init): update counters after init
6990 (insertParagraph): no need to set counter on idividual paragraphs.
6991 (setCounter): access the counters object in the textclass object
6992 on in the buffer object.
6993 (updateCounters): ditto
6995 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6996 shared_ptr<Counters> to avoid loading counters.h in all
6998 (LyXTextClass): initialize ctrs_
6999 (TextClassTags): add TC_COUNTER, and ...
7000 (Read): use it here.
7001 (CounterTags): new tags
7002 (readCounter): new function
7003 (counters): new funtion
7004 (defaultLayoutName): return a const reference
7006 * counters.C (Counters): remove contructor
7007 (newCounter): remove a couple of unneeded statements.
7008 (newCounter): simplify a bit.
7009 (numberLabel): some small formatting changes.
7011 * buffer.[Ch]: remove all traces of counters, move the Counters
7012 object to the LyXTextClass.
7014 2002-09-06 Alain Castera <castera@in2p3.fr>
7016 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7017 package to set the horizontal alignment on fixed width columns.
7020 * lyx_sty.h: added tabularnewline macro def.
7022 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7024 2002-09-06 John Levon <levon@movementarian.org>
7026 * LyXAction.C: tooltips for sub/superscript
7028 * MenuBackend.C: a bit more verbose
7030 * lyxfunc.C: tiny clean
7032 * undo_funcs.C: document undo_frozen
7034 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * counters.C (Counters): add missing algorithm counter.
7038 * text2.C (setCounter): lookup the counter with layouts latexname
7039 instead of by section number.
7040 (setCounter): use a hackish way to lookup the correct enum
7042 a float name->type change
7043 reset enum couners with counter name directly instead of depth value.
7045 * counters.C (Counters): remove the push_backs, change to use the
7046 float type not the float name.
7047 (labelItem): remove unused string, float name->type change
7049 * counters.h: don't include vector, loose the enums and sects vectors
7051 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7054 (Read): add float->TC_FLOAT to textclassTags
7055 (Read): and handle it in the switch
7056 (readFloat): new function
7058 * FloatList.C (FloatList): comment out the hardcoded float
7061 * lyxlayout.h: ws change.
7063 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7065 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7067 2002-09-03 Angus Leeming <leeming@lyx.org>
7069 * BufferView_pimpl.h: qualified name is not allowed in member
7070 declaration: WorkArea & Pimpl::workarea() const;
7072 * factory.C: added using std::endl directive.
7074 * text3.C: added using std::find and std::vector directives.
7076 2002-08-29 André Pönitz <poenitz@gmx.net>
7079 * text2.C: remove unused member number_of_rows
7082 * BufferView2.C: remove file, move contents to...
7083 * BufferView.C: ... here
7085 * BufferView_pimpl.C:
7086 * factory.C: move more inset creation to factory
7088 * vspace.C: avoid direct usage of LyXText, ws changes
7091 don't provide direct access to WorkArea, use two simple
7092 acessors haveSelction() and workHeight() instead
7095 2002-08-29 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.C (dispatch): do not continue when
7100 2002-08-28 André Pönitz <poenitz@gmx.net>
7102 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7105 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7107 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7109 * buffer.C: increment LYX_FORMAT to 221
7111 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7112 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7114 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7116 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7118 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7120 * factory.C (createInset): use LyXTextClass::floats
7122 * MenuBackend.C (expandFloatListInsert):
7123 (expandFloatInsert):
7126 * text2.C (setCounter):
7128 * LaTeXFeatures.C (useFloat):
7129 (getFloatDefinitions):
7131 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7133 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7134 floatlist_, with accessor floats().
7136 * FloatList.h: remove global FloatList
7138 2002-08-26 André Pönitz <poenitz@gmx.net>
7140 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7144 * BufferView_pimpl.C:
7145 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7147 2002-08-25 John Levon <levon@movementarian.org>
7149 * LyXAction.C: fix margin note description
7151 2002-08-24 John Levon <levon@movementarian.org>
7155 * bufferview_funcs.C:
7157 * undo_funcs.C: cleanups
7159 * lyxfunc.C: disable CUT/COPY when no selection
7161 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7163 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7164 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7166 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7167 Add backward compatibility to "mono", "gray" and "no".
7169 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7171 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7172 (and file_format >= 200).
7174 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7176 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7178 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7180 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7182 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7184 * BufferView_pimpl.C:
7191 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7192 inset and code to make it work with the paragraph code. The inset
7193 can be anywhere in the paragraph, but will only do the expected
7194 thing in LaTeX if the layout file contains the parameter line
7196 (or more generally, a nonzero value) for that layout.
7198 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * paragraph.h: remove the declaration of undefined counters class
7203 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7205 * text2.C (setCounter): fixed enumeration mis-count as reported by
7206 Dr. Richard Hawkins.
7208 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7210 * paragraph_funcs.h: remove some unneeded includes
7212 * text.C (backspace): pasteParagraph now in global scipe
7214 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7215 (pasteSelection): ditto
7217 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7218 * paragraph_funcs.C (pasteParagraph): ... here
7220 2002-08-20 André Pönitz <poenitz@gmx.net>
7222 * commandtags.h: new LFUNs for swapping/copying table row/colums
7225 * lyxfunc.C: support for new lfuns
7227 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * buffer.[Ch]: remove NO_COMPABILITY stuff
7232 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * boost.C (throw_exception): new file, with helper function for
7235 boost compiled without exceptions.
7240 * ParameterStruct.h:
7241 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7243 * bufferlist.C (emergencyWriteAll): use boost bind
7245 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7247 * text.C: include paragraph_funcs.h
7248 (breakParagraph): breakParagraph is now in global scope
7250 * paragraph_funcs.[Ch]: new files
7252 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7255 * buffer.C: include paragraph_funcs.h
7256 (insertStringAsLines): breakParagraph is now in global scope
7258 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7261 * CutAndPaste.C: include paragraph_funcs.h
7262 (cutSelection): breakParagraphConservative is now in global scope
7263 (pasteSelection): ditto
7265 * buffer.h: declare oprator== and operator!= for
7266 Buffer::inset_iterator
7268 * bufferlist.C (emergencyWrite): don't use fmt(...)
7270 * text3.C: add using std::endl
7272 * BufferView.C (moveCursorUpdate): remove default arg
7274 2002-08-20 André Pönitz <poenitz@gmx.net>
7276 * buffer.[Ch]: move inline functions to .C
7279 * BufferView_pimpl.C:
7281 * buffer.[Ch]: use improved inset_iterator
7284 * paragraph.[Ch]: write one paragraph at a time
7286 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7288 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7289 style if style is not specified.
7291 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7293 * text2.C (setCounter): when searching for right label for a
7294 caption, make sure to recurse to parent insets (so that a caption
7295 in a minipage in a figure float works) (bug #568)
7297 2002-08-20 André Pönitz <poenitz@gmx.net>
7299 * text3.C: new file for LyXText::dispatch() and helpers
7301 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7303 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7305 2002-08-19 André Pönitz <poenitz@gmx.net>
7308 * text.C: new LyXText::dispatch()
7310 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7312 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7314 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7316 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7319 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7321 * Makefile.am: use $(variables) instead of @substitutions@
7323 2002-08-15 André Pönitz <poenitz@gmx.net>
7326 * BufferView_pimpl.C: streamlining mathed <-> outer world
7330 * LyXAction.C: remove unused LFUN_MATH
7332 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7336 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * paragraph.C (Paragraph): reformat a bit
7339 (cutIntoMinibuffer): use builtin InsetList function instad of
7343 * buffer.C: include boost/bind.hpp, add using std::for_each
7344 (writeFileAscii): use ParagraphList iterators
7345 (validate): use for_each for validate traversal of paragraphs
7346 (getBibkeyList): use ParagraphList iterators
7347 (resizeInsets): use for_each to resizeInsetsLyXText for all
7349 (getParFromID): use ParagraphList iterators
7351 * BufferView2.C (lockInset): use paragraph list and iterators
7353 2002-08-14 John Levon <levon@movementarian.org>
7355 * lyxserver.C: remove spurious xforms include
7357 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7359 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7361 2002-08-13 André Pönitz <poenitz@gmx.net>
7364 * lyxfunc.C: further cleaning
7366 2002-08-13 André Pönitz <poenitz@gmx.net>
7368 * funcrequest.h: new constructor
7370 * funcrequest.C: move stuff here from .h
7373 * BufferView_pimpl.C:
7376 * lyxfunc.C: subsequent changes
7378 * lyxfunc.h: new view() member function
7380 * lyxfunc.C: subsequent changes
7382 2002-08-13 Angus Leeming <leeming@lyx.org>
7385 * BufferView_pimpl.C:
7393 changes due to the changed LyXView interface that now returns references
7394 to member variables not pointers.
7396 2002-08-13 Angus Leeming <leeming@lyx.org>
7398 * WordLangTuple (word, lang_code): return references to strings,
7403 * lyxtext.h: forward-declare WordLangTuple.
7408 * text.C: #include "WordLangTuple.h".
7411 * text.C: (selectNextWordToSpellcheck): constify return type.
7413 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7419 * paragraph_pimpl.h:
7422 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7424 Made updateCounter always count from start of buffer, and removed
7425 second argument (par).
7426 Reverted floats number display to '#'. Perhaps I'll try again when the
7427 code base is sanitized a bit.
7429 2002-08-12 Angus Leeming <leeming@lyx.org>
7431 * buffer.[Ch] (getLabelList): constify.
7433 2002-08-07 André Pönitz <poenitz@gmx.net>
7435 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7437 * funcrequest.h: extension to keep mouse (x,y) position
7439 2002-08-12 Juergen Vigna <jug@sad.it>
7441 * BufferView2.C (insertErrors): forbid undo when inserting error
7444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7446 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * ParagraphList.[Ch]: new files
7450 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7452 * BufferView2.C (lockInset): ParagraphList changes
7455 * bufferlist.C: ditto
7459 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7462 unused class variable counter_,
7464 * paragraph.[Ch] (getFirstCounter): delete unused function
7466 * counters.C: include LAssert.h
7467 (reset): add a new function with no arg, change other version to
7468 not have def. arg and to not allow empty arg.
7470 * text2.C (setCounter): remove empty arg from call to Counters::reset
7472 2002-08-11 John Levon <levon@movementarian.org>
7474 * Makefile.am: add WordLangTuple.h
7476 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7478 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7479 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7481 * insets/insettext.C: InsetList changes
7483 * graphics/GraphicsSupport.C (operator()): InsetList changes
7485 * toc.C (getTocList): InsetList changes
7487 * paragraph_pimpl.[Ch]: InsetList changes
7489 * paragraph.[Ch]: InsetList changes
7491 * buffer.C (inset_iterator): InsetList changes
7492 (setParagraph): ditto
7493 * buffer.h (inset_iterator): ditto
7494 * iterators.C (operator++): ditto
7495 * iterators.h: ditto
7497 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7499 * InsetList.[Ch]: new files, most InsetList handling moved out of
7502 * BufferView2.C (removeAutoInsets): InsetList changes
7504 (ChangeInsets): ditto
7506 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * paragraph_pimpl.h (empty): new function
7510 * paragraph.[Ch] (empty): new function
7512 * other files: use the new Paragraph::empty function
7514 2002-08-09 John Levon <levon@movementarian.org>
7516 * lyxtext.h: remove unused refresh_height
7518 2002-08-09 John Levon <levon@movementarian.org>
7525 * paragraph.C: move sgml char escaping out of paragraph
7528 * paragraph.C: remove id setter
7532 * paragraph_pimpl.C: remove dead tex_code_break_column
7534 * bufferview_funcs.C: small cleanup
7536 * lyxfunc.C: remove dead proto
7538 * lyxtext.h: make some stuff private. Remove some dead stuff.
7540 * lyxgluelength.C: make as[LyX]String() readable
7542 2002-08-08 John Levon <levon@movementarian.org>
7547 * ToolbarDefaults.C:
7550 * toc.C: lyxaction cleanup
7552 2002-08-08 John Levon <levon@movementarian.org>
7554 * BufferView2.C: small cleanup
7557 * lyxfind.C: move unnecessary header into the .C
7559 2002-08-08 John Levon <levon@movementarian.org>
7561 * funcrequest.h: just tedious nonsense
7564 * lyx_main.C: cleanups
7567 * vspace.C: remove dead header lyx_main.h
7569 2002-08-07 Angus Leeming <leeming@lyx.org>
7572 * paragraph_pimpl.h:
7573 Forward declare class Counters in paragraph.h by moving the ctrs member
7574 variable into Paragraph::Pimpl.
7575 (counters): new method, returning a reference to pimpl_->ctrs.
7577 * text2.C: ensuing changes.
7579 2002-08-07 John Levon <levon@movementarian.org>
7581 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7583 * BufferView_pimpl.C: announce X selection on double/triple
7586 * lyx_main.C: use correct bool in batch dispatch
7588 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7590 2002-08-07 André Pönitz <poenitz@gmx.net>
7592 * funcrequest.h: new class to wrap a kb_action and its argument
7595 * BufferView_pimpl[Ch]:
7599 * lyxrc.C: subsequent changes
7602 2002-08-07 John Levon <levon@movementarian.org>
7604 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7605 document options change.
7607 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7612 * makefile.am: move counters functionality over from
7613 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7615 2002-08-06 John Levon <levon@movementarian.org>
7617 * WordLangTuple.h: new file for word + language code tuple
7628 * BufferView2.C: use WordLangTuple
7631 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7633 2002-08-06 John Levon <levon@movementarian.org>
7635 * lyx_main.C: fix cmdline batch handling
7637 2002-08-06 André Pönitz <poenitz@gmx.net>
7639 * lyxrc.C: set default for show_banner to true
7641 2002-08-06 John Levon <levon@movementarian.org>
7643 * pspell.C: fix a crash, and allow new aspell to work
7645 2002-08-06 John Levon <levon@movementarian.org>
7648 * kbmap.C: small cleanup
7651 * vspace.C: add const
7653 2002-08-05 John Levon <levon@movementarian.org>
7655 * LyXAction.C: back to tabular-insert
7657 2002-08-04 John Levon <levon@movementarian.org>
7660 * BufferView.C: cosmetic change
7662 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7672 * BufferView2.C: purge all "Lyx" not "LyX" strings
7675 * lyxcursor.C: attempt to add some documentation
7680 * ToolbarDefaults.C:
7681 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7682 merge with LFUN_TABULAR_INSERT
7689 * pspell.C: split up i/pspell implementations into separate
7690 files, many cleanups
7692 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7694 * text2.C: some cleanup
7696 * lyxfunc.C: don't check for isp_command == "none" any more, it
7697 didn't make any sense
7699 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7704 * makefile.am: move counters functionality over
7705 from text2.C/paragraph.[Ch] to counters.[Ch], and
7707 2002-08-02 John Levon <levon@movementarian.org>
7709 * buffer.C: s/lyxconvert/lyx2lyx/
7711 2002-08-02 Angus Leeming <leeming@lyx.org>
7713 * lyxlex.C: revert John's change as it breaks reading of the user
7716 2002-08-02 Angus Leeming <leeming@lyx.org>
7718 * importer.C (Import):
7719 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7720 changes due to LyXView::view() now returning a boost::shared_ptr.
7722 2002-08-02 John Levon <levon@movementarian.org>
7724 * lyxlex.C: small cleanup
7726 2002-08-02 John Levon <levon@movementarian.org>
7728 * text2.C (status): small cleanup, no logic change
7730 2002-08-01 John Levon <levon@movementarian.org>
7733 * buffer.C (writeFile): don't output alerts, caller
7737 * lyx_cb.C: from above
7739 * lyxfunc.C: allow to open non-existent files
7741 2002-07-31 John Levon <levon@movementarian.org>
7743 * lyxserver.C: don't let incidental errors get
7746 2002-07-30 John Levon <levon@movementarian.org>
7748 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7750 2002-07-30 John Levon <levon@movementarian.org>
7753 * lyxserver.C: remove I/O callback too
7755 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7760 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * many files: strip,frontStrip -> trim,ltrim,rtrim
7764 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * PrinterParams.h: remove extern containsOnly, and include
7767 support/lstrings.h instead.
7769 * LaTeX.C (scanAuxFile): modify because of strip changes
7771 * buffer.C (makeLaTeXFile): ditto
7772 * bufferparams.C (writeFile): ditt
7773 * lyxfont.C (stateText): ditto
7774 * lyxserver.C (read_ready): ditto
7775 * vc-backend.C (scanMaster): ditto
7777 * BufferView_pimpl.h: ws changes
7779 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7781 2002-07-26 André Pönitz <poenitz@gmx.net>
7783 * kb_sequence.C: remove unnedred usings
7785 2002-07-26 Juergen Vigna <jug@sad.it>
7787 * lyxfind.C (LyXReplace): we have to check better if the returned
7788 text is not of theLockingInset()->getLockingInset().
7790 2002-07-25 Juergen Vigna <jug@sad.it>
7792 * lyxfind.C (LyXReplace): don't replace if we don't get the
7795 * undo_funcs.C (createUndo): remove debugging code.
7797 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7799 * buffer.C (parseSingleLyXformat2Token): Use default placement
7800 when reading old floats.
7802 * FloatList.C (FloatList): Change the default placement of figure
7803 and tables to "tbp".
7805 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7807 * MenuBackend.C: using std::max
7809 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7811 * MenuBackend.C (expandToc):
7812 (expandToc2): code moved from xforms menu frontend. It is now
7813 generic and TOCs are transparent to menu frontends.
7815 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7817 * toc.C (getTocList): protect against buf=0
7819 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7820 Menu as first parameter. Now, this calls itself recursively to
7821 expand a whole tree (this will be useful for TOC handling)
7822 (expandFloatInsert): remove 'wide' version of floats
7824 * MenuBackend.h (submenuname): returns the name of the submenu.
7825 (submenu): returns the submenu itself, provided it has been
7826 created by MenuBackend::expand
7828 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7831 insets which have noFontChange == true. (bug #172)
7833 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * BufferView_pimpl.C: add connection objects and use them...
7838 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7840 * MenuBackend.C (expandLastfiles):
7843 (expandFloatListInsert):
7844 (expandFloatInsert):
7845 (expand): split expand in parts
7847 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7849 * lyx_gui.C: use lyx_gui::exit()
7851 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7853 * LyXAction.C: show the failing pseudo action
7855 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7857 * buffer.C (readFile): Run the lyxconvert script in order to read
7860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7864 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7866 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7870 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7872 2002-07-22 Herbert Voss <voss@lyx.org>
7875 * lyxlength.[Ch]: add support for the vertical lengths
7877 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7879 * toc.[Ch]: std:: fixes
7881 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7883 * lyxrc.C: do not include lyx_main.h
7885 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7891 * BufferView2.C: include "lyxlex.h"
7894 * bufferparams.h: do not #include "lyxlex.h"
7896 * lyxtextclasslist.C (Add): remove method
7897 (classlist): renamed to classlist_
7899 * paragraph_pimpl.C:
7903 * bufferview_funcs.C:
7908 * toc.C (getTocList): use BufferParams::getLyXTextClass
7910 * toc.C (getTocList): use InsetFloat::addToToc
7912 * toc.[Ch]: new files, containing helper functions to handle table
7915 * lyxfunc.C (dispatch): no need to remove spaces around command
7917 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7918 first command of the sequence; it is not very clever, but I do not
7919 have a better idea, actually
7921 * LyXAction.C (LookupFunc): make sure to remove space at the
7922 beginning and end of the command
7924 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7926 * MenuBackend.C (getMenubar): new method: return the menubar of
7928 (read): treat differently reading of menu and menubar (in
7929 particular, the menubar has no name now)
7930 (Menu::menubar): remove
7932 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7935 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7937 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7938 a bibitem inset in a RTL paragraph.
7940 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7942 * paragraph_pimpl.C: constify
7944 * BufferView_pimpl.C:
7946 * lyxfunc.C: fix dispatch in a nicer way
7948 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * lyxfunc.C (dispatch):
7951 * BufferView_pimpl.C:
7952 * BufferView_pimpl.h:
7954 * BufferView.h: rename Dispatch() to dispatch()
7956 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7958 * lyxlayout.C (Read): honor DependsOn tag
7960 * lyxlayout.[Ch] (depends_on): new method
7962 * version.C.in: update lyx_docversion
7964 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7966 * paragraph.C (validate): remove from here...
7967 * paragraph_pimpl.C (validate): ... and move here
7968 (isTextAt): make it const
7970 * buffer.C (getLists): ws cleanup
7972 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7974 * language.C (read): Use iso8859-1 encoding in latex_lang
7975 (this prevents LyX from crashing when using iso10646-1 encoding).
7977 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7979 * text2.C (toggleInset): if cursor is inside an inset, close the
7980 inset and leave cursor _after_ it
7982 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7984 * lyxfunc.C: move minibuffer completion handling out of here
7986 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7988 * BufferView_pimpl.C:
7989 * LaTeX.C: fix dispatch calls
7991 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7993 * text.C (drawChars): Fix Arabic text rendering.
7995 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7999 * lyxfunc.C: remove message-push/pop
8003 * lyxfunc.C: rationalise some code by removing verboseDispatch
8004 in favour of a bool argument to dispatch()
8006 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8008 * lyx_main.C (init): make sure to read symlinks as absolute paths
8010 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8013 * lyxfunc.C: no need for commandshortcut to be a member
8015 2002-07-15 André Pönitz <poenitz@gmx.net>
8017 * converter.C: add support for $$s (scripts from lib/scripts dir)
8018 * lyx_main.C: white space
8020 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8024 * lyxrc.C: remove second exit confirmation
8026 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.h:
8032 * BufferView_pimpl.C:
8033 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8035 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * MenuBackend.C (expand): add numeric shortcuts to document menu
8039 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8041 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * lyxfont.C (setLyXFamily):
8050 * buffer.C (asciiParagraph): use ascii_lowercase
8052 2002-07-15 Mike Fabian <mfabian@suse.de>
8054 * lyxlex_pimpl.C (search_kw):
8055 * lyxlex.C (getLongString):
8056 * converter.h (operator<):
8057 * converter.C (operator<):
8058 * buffer.C (parseSingleLyXformat2Token):
8060 * ToolbarDefaults.C (read):
8061 * MenuBackend.C (checkShortcuts):
8063 * LColor.C (getFromGUIName):
8064 (getFromLyXName): use the compare_ascii_no_case instead of
8065 compare_no_case, because in turkish, 'i' is not the lowercase
8066 version of 'I', and thus turkish locale breaks parsing of tags.
8068 2002-07-16 Angus Leeming <leeming@lyx.org>
8070 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8071 now takes a Buffer const & argument.
8073 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8075 * BufferView.C (resize): check there's a buffer to resize
8077 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8079 * lyxfunc.C: remove dead code
8082 * lyxserver.C: use lyx_guii::set_read_callback
8084 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8086 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8087 an inset in a RTL paragraph.
8089 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8091 * lyxfunc.C: repaint after a font size update
8093 2002-07-15 André Pönitz <poenitz@gmx.net>
8095 * lyxlength.C: inBP should be able to return negative values
8097 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8099 * lyxfunc.C: use lyx_gui::update_fonts()
8101 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8103 * lyxfunc.C: use lyx_gui::update_color()
8105 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8111 * lyxrc.C: remove file->new asks for name option, and let
8112 buffer-new take an argument
8114 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8116 * BufferView_pimpl.C: remove unneeded extra repaint()
8118 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8120 * LyXAction.C: allow command-sequence with NoBuffer
8122 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8124 2002-07-10 Angus Leeming <leeming@lyx.org>
8126 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8128 2002-07-09 Angus Leeming <leeming@lyx.org>
8130 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8132 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8134 * lengthcommon.h: whitespace
8136 * lyxfunc.C: update scrollbar after goto paragraph
8138 * lyxtext.h: factor out page break drawing, and fix it so
8139 page break/added space paints as selected nicely
8141 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8143 * BufferView_pimpl.C: add FIXMEs, clean up a little
8145 2002-07-09 André Pönitz <poenitz@gmx.net>
8147 * lyxfont.[Ch]: support for wasy symbols
8149 2002-07-08 André Pönitz <poenitz@gmx.net>
8151 * BufferView_pimpl.C: apply John's patch for #93.
8153 2002-07-05 Angus Leeming <leeming@lyx.org>
8155 * BufferView_pimpl.C (buffer): generate previews if desired.
8157 * LColor.h: add "preview" to the color enum.
8159 * LColor.C (LColor): add a corresponding entry to the items array.
8161 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8164 2002-07-05 Angus Leeming <leeming@lyx.org>
8166 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8167 The body of the code is now in the method that is passed an ostream &
8168 rather than a file name.
8169 Pass an additional only_preamble parameter, useful for the forthcoming
8172 2002-07-03 André Pönitz <poenitz@gmx.net>
8174 * lyxfunc.C: simplify getStatus() a bit for math stuff
8176 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8178 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8180 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8182 * text.C (changeRegionCase): do not change case of all the
8183 document when region ends at paragraph end (bug #461)
8185 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8187 * paragraph.C (startTeXParParams):
8188 (endTeXParParams): add \protect when necessary
8190 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8192 * BufferView_pimpl.C (workAreaExpose): remove warning
8194 2002-06-27 Angus Leeming <leeming@lyx.org>
8196 * Makefile.am: add lyxlayout_ptr_fwd.h.
8198 2002-06-26 André Pönitz <poenitz@gmx.net>
8200 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8202 2002-06-25 Angus Leeming <leeming@lyx.org>
8204 * lyxfunc.C (dispatch): Comment out the call to
8205 grfx::GCache::changeDisplay. The method no longer exists now that the
8206 pixmap generation part of the graphics loader has been moved into
8209 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * text2.C: layout as layout
8213 * text.C: layout as layout
8215 * tabular.C (OldFormatRead): layout as layout
8217 * paragraph_pimpl.C (TeXDeeper): layout as layout
8218 (realizeFont): layout as layout
8220 * paragraph.C (writeFile): layout as layout
8221 (validate): layout as layout
8222 (getFont): layout as layout
8223 (getLabelFont): layout as layout
8224 (getLayoutFont): layout as layout
8225 (breakParagraph): layout as layout
8226 (stripLeadingSpaces): layout as layout
8227 (getEndLabel): layout as layout
8228 (getMaxDepthAfter): layout as layout
8229 (applyLayout): layout as layout
8230 (TeXOnePar): layout as layout
8231 (simpleTeXOnePar): layout as layout
8232 (TeXEnvironment): layout as layout
8233 (layout): layout as layout
8234 (layout): layout as layout
8236 * lyxtextclass.C (compare_name): new functor to work with
8237 shared_ptr, layout as layout
8238 (Read): layout as layout
8239 (hasLayout): layout as layout
8240 (operator): layout as layout
8241 (delete_layout): layout as layout
8242 (defaultLayout): layout as layout
8244 * lyxlayout_ptr_fwd.h: new file
8246 * lyxlayout.C (Read): layout as layout
8248 * lyx_cb.C (MenuInsertLabel): layout as layout
8250 * bufferlist.C (newFile): layout as layout
8252 * buffer.C (readLyXformat2): layout as layout
8253 (parseSingleLyXformat2Token): layout as layout
8254 (insertStringAsLines): layout as layout
8255 (asciiParagraph): layout as layout
8256 (latexParagraphs): layout as layout
8257 (makeLinuxDocFile): layout as layout
8258 (simpleLinuxDocOnePar): layout as layout
8259 (makeDocBookFile): layout as layout
8260 (simpleDocBookOnePar): layout as layout
8261 (getLists): layout as layout
8263 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8265 * CutAndPaste.C (cutSelection): layout as layout
8266 (pasteSelection): layout as layout
8267 (SwitchLayoutsBetweenClasses): layout as layout
8269 * BufferView_pimpl.C (Dispatch): layout as layout
8270 (smartQuote): layout as layout
8272 * BufferView2.C (unlockInset): layout as layout
8274 2002-06-24 André Pönitz <poenitz@gmx.net>
8276 * lyxfunc.C: fix #487
8278 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8282 * lyxfunc.C: remove display_shortcuts, show_banner
8284 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8286 * Buffer_pimpl.C: oops, update on resize
8288 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8295 * BufferView.C: use repaint()
8297 * BufferView_pimpl.h:
8298 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8299 as it's a clearer description. Remove superfluous
8302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8304 * text.C: fix bug 488. Not ideal, but getting
8305 getWord() to work properly for the insets that
8306 matter is more difficult ...
8308 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8310 * BufferView_pimpl.C:
8313 * lyxfunc.C: remove the six million index lyxfuncs to just
8314 one, and DTRT (bug 458)
8316 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8320 * BufferView_pimpl.h:
8321 * BufferView_pimpl.C: clean up resize() stuff,
8322 and unnecessary updateScreen()s
8324 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8328 * BufferView_pimpl.h:
8329 * BufferView_pimpl.C:
8332 * minibuffer.C: remove focus management of workarea,
8333 not needed. Use screen's greyOut()
8335 2002-06-17 Herbert Voss <voss@lyx.org>
8337 * converter.C: (convert) do not post a message, when converting
8338 fails, let the calling function decide what to do in this case
8340 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8342 * lyxfunc.C: tidy up a little
8344 2002-06-16 <alstrup@diku.dk>
8346 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8347 Got rid of FORMS_H_LOCATION include. Now we are
8350 2002-06-15 LyX Development team <lyx@rilke>
8352 * buffer.[Ch] (sgmlOpenTag):
8353 (sgmlCloseTag): Added support for avoiding pernicious mixed
8354 content. Return number of lines written.
8357 (makeDocBookFile): Fixed calls to sgml*Tag.
8358 Simple white space clean.
8360 (simpleDocBookOnePar): Simple white space clean.
8362 * tabular.[Ch] (docBook): Renamed to docbook and got another
8363 argument to related with the pernicious mixed content.
8365 (docbookRow): Fixed calls for docbook inset method.
8367 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8369 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8370 so it's X11 independent.
8374 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8376 2002-06-15 Lyx Development team <lyx@electronia>
8378 * intl.h: Renamed getTrans to getTransManager.
8380 2002-06-14 Angus Leeming <leeming@lyx.org>
8382 * Makefile.am: nuke forgotten stl_string_fwd.h.
8384 2002-06-12 Angus Leeming <leeming@lyx.org>
8386 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8388 2002-06-13 Angus Leeming <leeming@lyx.org>
8391 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8393 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8395 * kbmap.C (getiso): add support for cyrillic and greek
8397 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8401 * BufferView_pimpl.h:
8402 * BufferView_pimpl.C: move bogus scrolling logic
8405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8408 * BufferView_pimpl.C: view->resize() change
8410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8412 * BufferView_pimpl.C: topCursorVisible
8415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8419 * lyx_gui.C: move to frontends/
8423 * lyx_main.C: changes from above
8425 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8432 * lyx_main.C: minor tidy
8434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8436 * BufferView_pimpl.h:
8437 * BufferView_pimpl.C:
8439 * BufferView.C: make painter() const,
8442 * BufferView2.C: use screen() accessor
8445 * lyx_main.C: some minor cleanup
8447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8449 * BufferView_pimpl.h:
8450 * BufferView_pimpl.C: remove enter/leaveView,
8453 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8458 * BufferView_pimpl.h:
8459 * BufferView_pimpl.C: only construct screen once,
8462 * lyxrc.C: remove pointless comment
8464 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView.C: remove active() and belowMouse()
8469 * BufferView_pimpl.h:
8470 * BufferView_pimpl.C: use workarea() not workarea_,
8471 and make it use a scoped_ptr instead
8473 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8475 * lyx_gui.C: add debug message on BadWindow
8477 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8479 * sp_spell.C: fdopen is not part of the C++ standard.
8481 * paragraph.C (InsetIterator): use >= instead of ==
8483 2002-06-07 Angus Leeming <leeming@lyx.org>
8485 Fixes needed to compile with Compaq cxx 6.5.
8486 * BufferView_pimpl.C:
8493 * lyxtextclasslist.C:
8498 all c-library variables have been moved into namespace std. Wrap
8499 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8504 Add a using std::abs declaration.
8506 * kbmap.h (modifier_pair):
8507 * paragraph.h (InsetTable, InsetList):
8508 * lyxfont.h (FontBits):
8509 type definition made public.
8511 * bufferlist.C (emergencyWriteAll): the compiler complains that
8512 there is more than one possible lyx::class_fun template to choose from.
8513 I re-named the void specialisation as lyx::void_class_fun.
8515 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8517 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8518 the compiler is is unable to find tostr in write_attribute.
8520 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8522 * buffer.C (sgmlError): hide #warning
8524 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8526 * xtl/*: get rid of xtl, which is not in use anyway
8528 * LyXAction.C (init):
8529 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8530 were unimplemented xtl experimentation
8532 2002-06-04 André Pönitz <poenitz@gmx.net>
8534 * lyxfunc.C: disable array operation on simple formulae
8536 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8538 * converter.C: constify a bit
8540 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8542 * lyx_gui.C: check xforms version correctly
8544 2002-04-30 Herbert Voss <voss@lyx.org>
8546 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8549 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8551 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8552 attempt to register it with a VCS)
8554 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8556 * lyx_main.C (init): honor variables LYX_DIR_13x and
8559 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8563 * lyx_main.C: fix a crash on bad command line,
8564 and give a useful exit status on error
8566 * lyxfunc.C (doImport): allow -i lyx to work
8568 2002-03-30 André Pönitz <poenitz@gmx.net>
8570 * lyxfunc.C: mathed font changes
8572 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8587 * trans_mgr.h: srcdocs, and some minor cleanups
8589 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8592 call getFont all the time)
8594 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8596 * switch from SigC signals to boost::signals
8598 2002-05-29 André Pönitz <poenitz@gmx.net>
8600 * paragraph_pimpl.C (getChar): don't call size() too often...
8602 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8604 * paragraph_pimpl.C (insertChar): do not try to update tables when
8605 appending (pos == size())
8607 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8608 in order to reduce drastically the number of comparisons needed to
8609 parse a large document
8611 2002-05-29 André Pönitz <poenitz@gmx.net>
8617 * textclasslist.[Ch]:
8618 * sp_ispell.h: whitespace change
8620 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8623 lyxaction directly now.
8625 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8629 * lyxvc.C: remove unused headers
8631 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8638 * undo_funcs.C: some cleanups. Use shared_ptr
8639 and a template for the undo stacks.
8641 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8643 * BufferView_pimpl.h:
8644 * BufferView_pimpl.C:
8651 * text2.C: use key_state/mouse_state
8653 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8658 * chset.C: change include order
8659 (loadFile): use boost regex and get rid of LRegex and LSubstring
8661 * Makefile.am (BOOST_LIBS): new variable
8664 * LaTeX.C: change include order.
8665 (scanAuxFile): use boost regex and get rid of LRegex and
8669 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8674 * FontInfo.C: moved to frontends/xforms/
8677 * FontLoader.C: moved into frontends for GUIIzation
8682 * lyxfunc.C: changes from above
8684 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8686 * LColor.C: remove spurious X include
8688 * BufferView_pimpl.C:
8693 * text2.C: move font metrics to frontends/
8695 2002-05-24 Juergen Vigna <jug@sad.it>
8697 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8698 setting the undo_cursor.
8700 * ParagraphParameters.h: include local includes first.
8702 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C:
8705 * BufferView_pimpl.h:
8709 * screen.C: move WorkArea into frontends/
8715 * BufferView2.C: move LyXScreen into frontends/
8719 * lyx_gui.C: move lyxlookup into frontends/xforms/
8721 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8724 * BufferView_pimpl.C:
8734 * bufferview_funcs.C:
8747 * vc-backend.C: move LyX/XFormsView into frontends/
8749 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8761 * text2.C: move Painter to frontends/
8763 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8765 * buffer.C: comment out some some code that depend upon lyx_format
8768 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8769 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8771 * buffer.h (NO_COMPABILITY): turn off compability
8773 * ColorHandler.C: include scoped_array.hpp
8775 * font.C: Use more specific smart_ptr header.
8778 * ShareContainer.h: ditto
8782 * BufferView_pimpl.h: ditto
8783 * ColorHandler.h: ditto
8785 * kbmap.C (defkey): change call to shared_ptr::reset
8787 2002-05-21 Juergen Vigna <jug@sad.it>
8789 * buffer.C (insertErtContents): fix to insert ert asis if it is
8790 non empty. Skip it completely if it contains only whitespaces.
8792 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8794 * BufferView_pimpl.C:
8795 * BufferView2.C: clear selection on paste (bug 393)
8797 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * DepTable.C: include ctime
8801 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8803 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8805 2002-05-14 Juergen Vigna <jug@sad.it>
8807 * text.C (breakParagraph): fixed function to honor the keepempty
8808 layout in the right maner and also to permit the right breaking
8809 algorithm on empty or non empyt keepempty paragraphs.
8811 * paragraph.C (breakParagraph): we have to check also if the par
8812 is really empty (!size()) for isempty otherwise we do the wrong
8815 2002-05-10 Juergen Vigna <jug@sad.it>
8817 * buffer.[Ch] : The following are only changes to the ert
8818 compatibility read reading old LaTeX layout and font stuff and
8819 convert it to ERTInsets.
8821 * buffer.h: added isErtInset().
8823 * buffer.C (struct ErtComp): add a fromlayout bool to check
8824 if we're inside a LaTeX layout.
8825 (isErtInset): new helper function.
8826 (insertErtContents): look for other ert insets before this one
8827 and insert the contents there, so that we don't have subsequent
8828 ERT insets with nothing between them. This way we create only one
8829 inset with multiple paragraphs. Also check if we don't insert only
8830 spaces ' ' as they are ignored anyway afterwards in the .tex file
8831 so if we have only spaces we will ignore this latex part in the
8833 (parseSingleLyXformat2Token \\layout): better compatibility when
8834 reading layout-latex stuff.
8835 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8837 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8838 stuff after reading the inset only get the information back from
8841 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8843 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8845 * LaTeXFeatures.C (getBabelOptions): New method.
8847 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * BufferView_pimpl.C (Dispatch): work around missing argument for
8852 2002-05-08 Juergen Vigna <jug@sad.it>
8854 * text.C (leftMargin): handle paragraph leftindent.
8856 * paragraph.C (writeFile): write the new \\leftindent tag.
8857 (validate): handle leftindent code.
8858 (TeXEnvironment): handle paragraphleftindent code again.
8860 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8862 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8863 for paragrap_extra indent code and new token \\leftindent.
8864 (latexParagraphs): handle the leftindent as environment.
8866 * ParameterStruct.h: added leftindent support.
8868 * ParagraphParameters.C (leftIndent): added support functions for
8869 the paragraph left indent.
8871 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8874 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8876 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8879 * text.C (computeBidiTables): No bidi in insetERT.
8881 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8884 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8886 * version.C.in: pre 5
8888 2002-05-02 José Matos <jamatos@fep.up.pt>
8889 * buffer.C (makeDocBookFile): white space changes, add newline to
8891 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8893 * tabular.C (docBook): fix typo.
8895 2002-05-03 Juergen Vigna <jug@sad.it>
8897 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8898 change in LyXText as we can not be sure it was not freed.
8899 (drawOneRow): remove unused code.
8901 * text.C (drawInset): redo the calculation of the need_break_row as
8902 it could have a row which was already freed.
8903 (draw): look at the return value of drawInset and return false if
8904 it also returned false.
8905 (paintRowText): look at the return value of draw and return false if
8906 it also returned false.
8908 * lyxtext.h: added bool return type to drawInset() and draw() so that
8909 if we have a change in the row so that the rowbreak has to be redone
8910 we abort drawing as it will be called again.
8912 2002-05-02 Juergen Vigna <jug@sad.it>
8914 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8915 a change in the maintext also if we're inside an inset.
8916 (Dispatch): set the cursor again after a break line and after the
8917 screen has been updated as it could be we're in a different row.
8919 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8920 to set the cursor behind the pargraph with > size().
8921 (setCursor): check also for the same paragraph when checking where
8922 to put the cursor if we have a NFR inset.
8924 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8925 parts of layout read further up as it still was in the wrong
8928 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * screen.C (drawFromTo): change sine fullRebreak always return
8933 * buffer.C (parseSingleLyXformat2Token): reindent some
8935 * BufferView_pimpl.C (update): change since fullRebreak always
8937 (Dispatch): git rid of the last hardcoded "Standard"s.
8939 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8941 * text2.[Ch] (fullRebreak): make it return void now that we always
8944 2002-04-30 Juergen Vigna <jug@sad.it>
8946 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8947 ert compatibility check for "latex" layout.
8949 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8951 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8952 minipages: use col% instead of p%, and also use the current font.
8953 (makeLaTeXFile): Fix use babel condition.
8954 (parseSingleLyXformat2Token): Correct font when reading old floats.
8956 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8958 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8959 inserting list of floats.
8961 2002-04-25 Herbert Voss <voss@lyx.org>
8963 * MenuBackend.C (expand): don't add the graphics extensions to the
8966 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8969 non-existing layout, do not complain if it was the default layout
8970 of the original class (bug #342)
8972 2002-04-24 Juergen Vigna <jug@sad.it>
8974 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8975 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8977 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8979 * buffer.C (getBibkeyList): If using \bibliography, return the
8980 option field with the reference itself. Enables us to provide natbib
8981 support when using \bibliography.
8983 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8985 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8987 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8988 natbib is provided by the LaTeX class.
8990 2002-04-23 Juergen Vigna <jug@sad.it>
8992 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8995 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8997 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8999 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9001 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9002 ensuremath around textordmasculine, textordfeminine and
9005 2002-04-19 Juergen Vigna <jug@sad.it>
9007 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9008 reinitializing the buffer otherwise row-dimensions may be wrong.
9009 (update): reset also the selection cursors if they do exits otherwise
9010 their x/y positions may be wrong.
9012 * text2.C (cursorDown): don't enter the inset if we came from a row
9013 above and are one row over the inset.
9015 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9016 really leaving an inset.
9018 2002-04-18 Juergen Vigna <jug@sad.it>
9020 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9021 of the selected paragraph does not have the selected layout also if
9024 * text2.C (setLayout): fixed bug which did not change last selected
9027 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9028 changed the read and substituted \\end_float with \\end_inset!
9030 * BufferView_pimpl.C (cursorPrevious):
9031 (cursorNext): fixed to make it work with rows heigher than the work
9032 area without moving the cursor only the draw of the row.
9033 (workAreaMotionNotify): fix jumping over high rows.
9035 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9040 2002-04-16 Juergen Vigna <jug@sad.it>
9042 * text2.C (setCursor): set also the irow().
9043 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9045 (cursorDown): support for locking an inset if the x_fix value goes
9046 inside it. That way I can transverse insets too with cursor up/down.
9048 * lyxrow.h: added irow helper function same as other (i) functions.
9050 * BufferView_pimpl.C (cursorPrevious):
9051 (cursorNext): fixed for insets!
9053 2002-04-15 Juergen Vigna <jug@sad.it>
9055 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9056 position otherwise it is wrong in some cases.
9058 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9059 inside the inset before the call.
9061 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9063 * buffer.[Ch] (getBibkeyList): make it const.
9065 2002-04-12 Juergen Vigna <jug@sad.it>
9067 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9069 * text2.C (getCursorX): new helper function
9070 (setCursor): compute also ix_
9071 (setCursorFromCoordinates): set also ix.
9073 * lyxcursor.h: added ix_ and helper functions.
9075 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9077 * buffer.C (insertStringAsLines): dont break paragraph if the this
9078 paragraph is inside an inset which does not permit it!
9080 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9081 also with no chars on this paragraph.
9082 (paintRowText): only paint stuff if it's inside the workarea!
9084 * paragraph.C (breakParagraph): honor keepempty flag and break the
9085 paragraph always below not above.
9087 * BufferView2.C (unlockInset): update the paragraph layout on inset
9088 unlock as we changed paragraph in such a case.
9090 * lyxfind.C (LyXFind): clear the former selection if not found!
9092 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9093 again called in insertChar().
9095 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9096 an inset which uses the whole row!
9097 (rightMargin): ditto.
9098 (insertChar): force a rebreak if we inserted an inset!
9100 2002-03-28 Herbert Voss <voss@lyx.org>
9102 * lyxlength.[Ch]: add inBP() to get the right PS-point
9103 units (BigPoint). With inPixels we have rounding errors
9105 2002-04-11 Juergen Vigna <jug@sad.it>
9107 * text2.C (setCursorFromCoordinates): set iy to the right value.
9108 (setCursor): add check if row->previous exists!
9110 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9111 an old float_type as this was the case in the old code!
9113 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9115 * BufferView2.C (showLockedInsetCursor): use iy
9116 (fitLockedInsetCursor): ditto
9118 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9119 locked insets as there we have the right value now.
9121 * lyxcursor.C: added iy_ variable and iy functions to set to the
9122 baseline of cursor-y of the locked inset.
9124 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9125 (setCursor): fixed for insets which need a full row.
9127 * text.C (rowLastPrintable): don't ignore the last space when before
9128 an inset which needs a full row.
9129 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9130 as last character of a row when before a inset which needs a full row.
9132 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9134 * version.C.in: update date
9136 * text2.C (fullRebreak): try to always return true and see what
9139 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9141 * MenuBackend.C (expand): use Floating::listName
9143 * FloatList.C (FloatList): add listName argument to the built-in
9146 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9147 text associated with the float.
9149 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9153 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * ShareContainer.h: add a couple of missing typenames.
9157 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9159 * lyxrc.C (getDescription): use _() correctly rather than N_().
9161 2002-03-28 Herbert Voss <voss@lyx.org>
9163 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9164 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9166 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9169 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9171 2002-03-29 Juergen Vigna <jug@sad.it>
9173 * lyxfunc.C (dispatch): add a missing fitCursor call.
9175 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9176 it was scrolled by a cursor move, so return the bool status.
9178 * BufferView.C (fitCursor): return the bool flag also to the outside
9179 world as this is needed.
9181 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9183 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9184 call the edit() as it is not needed (and wrong) IMO.
9185 (workAreaButtonPress): set the screen_first variable before evt.
9186 unlock the inset as this may change screen_first and then we have
9187 a wrong y position for the click!
9189 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9191 * MenuBackend.C (expand): another translation that I missed
9193 2002-03-28 Juergen Vigna <jug@sad.it>
9195 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9197 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9199 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9203 * MenuBackend.C (expand): fix export/view/update when there is no
9206 2002-03-27 Herbert Voss <voss@lyx.org>
9208 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9211 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9213 * bufferview_funcs.C (currentState): only show paragraph number
9214 for is DEVEL_VERSION is set.
9216 * lyxfunc.C (dispatch): put warning in INFO channel
9218 * MenuBackend.C (expand): translate the name of floats
9220 * FloatList.C (FloatList): mark the float names for translation
9222 * converter.C (convert): use LibScriptSearch
9224 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9226 * MenuBackend.C (defaults): fix default menu (we might as well get
9229 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9231 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9234 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9236 * lyxvc.C: reorder includes.
9238 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9240 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9243 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9245 * CutAndPaste.C: change layouts earlier on paste
9246 to avoid crashing when calling getFont()
9248 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9250 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9253 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * WorkArea.C: remove 'Pending' debug message.
9257 * most files: ws cleanup
9259 * buffer.[Ch]: ws changes
9261 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9263 2002-03-21 Juergen Vigna <jug@sad.it>
9265 * tabular.C (SetMultiColumn): collapse also the contents of the
9266 cells and set the last border right. Added a Buffer const * param.
9268 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9273 2002-03-19 Juergen Vigna <jug@sad.it>
9275 * text2.C (clearSelection): reset also xsel_cache.
9277 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9278 where it needs to be called (John tells us to do so too :)
9279 (selectionLost): reset sel_cache.
9281 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9283 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9285 * text2.C (setCursorIntern): put debuging code in INSETS channel
9287 2002-03-19 André Pönitz <poenitz@gmx.net>
9289 * lyxfunc.C: tiny whitespace change
9291 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * ToolbarDefaults.C (init):
9294 * LyXAction.C (init):
9296 * BufferView_pimpl.C (Dispatch):
9297 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9299 2002-03-19 Allan Rae <rae@lyx.org>
9301 * exporter.C (Export): removeAutoInsets before doing anything else.
9302 While I've just introduced a dependency on BufferView this really is
9303 the best place to clean the buffer otherwise you need to cleanup in
9304 a dozen places before calling export or cleanup in a dozen functions
9307 * converter.C (runLaTeX):
9308 (scanLog): Better handling of removeAutoInsets and screen updates.
9310 * lyxfunc.C (dispatch): small whitespace changes
9312 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * WorkArea.C (C_WorkAreaEvent): return a value.
9315 (event_cb): return 1 if we handled the event, 0 otherwise.
9317 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9319 2002-03-18 Juergen Vigna <jug@sad.it>
9321 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9322 (GetAdditionalWidth): ditto.
9326 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9327 inset if we're there actually (probably not used right now but this
9328 is the direction to go for unifying code).
9329 (paste): disable code to clear the selection.
9331 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9332 inside an InsetText and move the check further up as it is in the
9335 * text2.C (pasteSelection): set a selection over the pasted text.
9337 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9339 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9340 and libgraphics to build on Cygwin.
9342 2002-03-15 Juergen Vigna <jug@sad.it>
9344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9345 inserting an Inset into the paragraph. I know this is not the best
9346 fix but we already use current_view in CutAndPaste so we will remove
9347 all of it's using at the same time.
9349 * buffer.C (sgmlError): deactivated function till it is rewritten in
9350 the right mode, now it can create problems.
9352 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9353 before accessing it.
9355 2002-03-14 Juergen Vigna <jug@sad.it>
9357 * undo_funcs.C (textHandleUndo): do the right thing when updating
9358 the inset after the undo/redo.
9360 * text2.C (setCursor): just some testcode for #44 not ready yet.
9362 * undo_funcs.C (textHandleUndo): set the next() and previous()
9363 pointers of the paragraph to 0 before deleting otherwise we have
9364 problems with the Paragraph::[destructor].
9366 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9367 on a paragraph insertion.
9369 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * buffer.C (asciiParagraph): use += operator for char append to
9374 * paragraph.C (getFontSettings): compare >= not just >
9375 (highestFontInRange): ditto
9378 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * paragraph.C: change several algorithm to be more appripriate for
9381 the problem domain. This is lookip in FontList and in the InsetList.
9383 2002-03-13 André Pönitz <poenitz@gmx.net>
9386 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9388 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9393 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9395 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9397 * Painter.C (display): anon helper function, adjust code for this
9399 (pixmap): remove function.
9401 * Painter.h: remove private display variable.
9403 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9405 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9407 * WorkArea.[Ch]: remove figinset_canvas cruft.
9409 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9411 * lyxtextclass.C (operator): add one item cache optimization.
9413 * bufferlist.h: doxy changes
9415 * bufferlist.C: ws changes
9417 * DepTable.[Ch] (ext_exist): place const in the right spot.
9419 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9421 (workAreaExpose): call resizeInsets when the with BufferView changes.
9422 (Dispatch): adjust for protectedBlank removal
9423 (specialChar): call updateInset if the insert went ok.
9425 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9426 specialChar instead.
9428 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9430 * BufferView.h: doxy change
9432 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9434 * lyxtextclass.C (operator[]): remove non-const version
9435 (defaultLayout): remove non-const version
9437 2002-03-12 Juergen Vigna <jug@sad.it>
9439 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9440 did resize the LyXText too.
9442 * buffer.C (readLyXformat2): set layout information on newly allocated
9445 * tabular.C (OldFormatRead): set layout information on the paragraph.
9447 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9449 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9451 2002-03-11 Juergen Vigna <jug@sad.it>
9453 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9455 (resizeCurrentBuffer): force also the insets to resize themselfes.
9456 (moveCursorUpdate): fixed up for InsetText.
9458 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9461 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9462 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9463 value of Dialogs::tooltipsEnabled().
9464 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9466 2002-03-08 Juergen Vigna <jug@sad.it>
9468 * BufferView_pimpl.C (updateInset): update inset inside inset also
9469 if it isn't inside theLockingInset().
9471 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * buffer.C (asciiParagraph): redo some of the word and line length
9475 (getLists): look for Caption instead of caption.
9477 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * buffer.C (Buffer): initialize niceFile to true
9482 (makeDocBookFile): make sure niceFile is true on exit
9484 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9488 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9490 * LyXSendto.C: remove.
9491 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9492 * lyx_gui.C: remove now-redundant comment.
9493 * ColorHandler.h: remove forward declaration of class WorkArea.
9494 * lyxfunc.C: remove #include "WorkArea.h".
9496 2002-03-07 Juergen Vigna <jug@sad.it>
9498 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9499 got moved away with the DEPM and also set the inset_owner always
9500 right which before could have been omitted.
9502 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9504 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9505 wanted layout is not found.
9507 2002-03-07 Juergen Vigna <jug@sad.it>
9509 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * paragraph.C (breakParagraph): use default layout not layout of
9515 (Paragraph): clear ParagraphParameters.
9517 2002-03-06 Juergen Vigna <jug@sad.it>
9519 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9520 otherwise it would not be a valid lenght. Fixed a special case in
9521 the minipage compatibility read where we end the document with a
9524 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9525 was set as it could be 0 for InsetTexts first entry.
9527 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9529 * paragraph.C (writeFile): if layout is empty write out
9530 defaultLayoutName().
9532 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9533 file without named layout we set layout to defaultLayoutName().
9535 2002-03-06 Juergen Vigna <jug@sad.it>
9537 * CutAndPaste.C (copySelection): set layout for new paragraph.
9539 * text.C (prepareToPrint): leave ERT inset left aligned
9540 (leftMargin): don't indent paragraphs inside ERT insets
9542 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9544 * paragraph.C (breakParagraph): dont call clear do the work manually
9546 * paragraph.[Ch] (clear): remove function
9548 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * paragraph.C (Paragraph): dont call clear, the work has already
9553 * lyxtextclass.C (operator): assert if n is empty
9555 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9556 work manually instead.
9558 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C: protect selectionLost against text == 0
9562 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * text.C (breakParagraph): fix a setting layout to '0' problem.
9566 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9568 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9569 final location of file, for the included files, and graphics.
9571 2002-03-05 Juergen Vigna <jug@sad.it>
9573 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9575 2002-03-04 Juergen Vigna <jug@sad.it>
9577 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9579 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9580 last column of multicolumn cells.
9581 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9583 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9585 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9586 file if it doesn't go to a temporary file.
9588 * buffer.C (sgmlOpenTag):
9589 (sgmlCloseTag): remove extra newline insertion.
9591 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * text.C (getRowNearY): comment out debug msg
9595 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * text2.C: first -> first_y
9599 * text.C (getRowNearY): add some attemts at a possible
9600 optimization, not working.
9602 * tabular.[Ch]: add BufferParams to several function so that newly
9603 created paragraph can be initialized to he default layotu for the
9606 * tabular-old.C (ReadOld): add buf->params to call of Init
9608 * screen.C: rename text->first to text->first_y
9610 * paragraph.C (breakParagraph): always set layout in the broken
9613 * lyxtextclass.C (Read): remove lowercase
9616 (delete_layout): ditto
9618 * lyxtext.h: rename first -> first_y
9620 * lyxlayout.C (Read): remove lowercase
9623 (obsoleted_by): ditto
9625 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9627 * buffer.C (insertErtContents): add params are to InsetERT
9628 (parseSingleLyXformat2Token): add code to check if a paragraphs
9629 layout really exist.
9630 (parseSingleLyXformat2Token): add params to several inset
9632 (asciiParagraph): remove lowercase, do the layout comparisons with
9635 * BufferView_pimpl.C (cursorNext): first -> first_y
9636 (resizeCurrentBuffer): first -> first_y
9637 (updateScrollbar): first -> first_y
9638 (scrollCB): first -> first_y
9639 (workAreaMotionNotify): first -> first_y
9640 (workAreaButtonPress): first -> first_y
9641 (checkInsetHit): first -> first_y
9642 (cursorPrevious): first -> first_y
9643 (cursorNext): first -> first_y
9644 (Dispatch): add buffer_->params to severl inset contructors
9646 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * lyxlayout.C (Read): remove some debug info that I forgot.
9650 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9651 clean up the code slightly.
9652 (makeLinuxDocFile): ditto
9653 (makeDocBookFile): ditto
9655 * text2.C: layout as string
9657 * text.C: layout as string
9659 * paragraph_pimpl.C: layout as string
9661 * paragraph.[Ch]: layout as string
9663 * lyxtextclasslist.[Ch]: layout as string
9665 * lyxtextclass.[Ch]: layout as string
9667 * lyxtext.h: layout as string
9669 * lyxlayout.[Ch]: layout as string
9671 * lyx_cb.C: layout as string
9673 * bufferview_funcs.C: layout as string
9675 * bufferparams.C: layout as string
9677 * buffer.C: layout as string
9679 * LyXView.[Ch]: layout as string
9681 * LaTeXFeatures.[Ch]: layout as string
9683 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9685 * BufferView_pimpl.C: change current_layout to string, remove
9690 (workAreaButtonRelease): layout as string
9692 * BufferView2.C (unlockInset): adjust
9694 * vspace.C (asLatexCommand): use an explict temp variable.
9696 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9698 * Makefile.am: use FRONTEND_*
9700 2002-03-01 Juergen Vigna <jug@sad.it>
9702 * tabular.C (SetWidthOfMulticolCell): changed to something better
9703 I hope but still work in progress.
9704 (recalculateMulticolumnsOfColumn): renamed function from
9705 recalculateMulticolCells as it is more appropriate now.
9706 (SetWidthOfCell): calculate multicols better.
9708 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9712 * lyxfunc.C (processKeySym): print sequence also if it is
9713 `deleted' (complete)
9715 * kbsequence.C (print): print sequence even if it is deleted
9716 (complete would be a better word, actually).
9718 * lyxfunc.C (dispatch): print complete options after a prefix key
9720 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9722 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9724 * text2.C (setCharFont): eliminate setCharFont code duplication.
9726 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9729 LFUN_TABULAR_FEATURE (bug #177)
9731 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9733 * Makefile.am: remove figure.h
9735 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9737 * Bufferview_pimpl.C:
9749 * text2.C: remove #include "lyx_gui_misc.h".
9751 * LaTeX.C: added #include <cstdio>
9753 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9756 that the paragraph following this one can have.
9758 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9760 * vspace.C (asLatexCommand): fix bogus gcc warning
9762 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9764 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9766 * text2.C (setLayout): get rid of redundant code
9768 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9770 * text2.C (incDepth): make sure depth cannot be increased beyond
9773 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9775 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9776 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9778 * PainterBase.h (image):
9779 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9782 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9786 * BufferView_pimpl.C:
9787 * BufferView_pimpl.h:
9807 * sp_spell.C: remove fig inset, and the crap house of
9808 cards that follows it
9810 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9816 * nt_defines.h: move .h into support/
9818 * vms_defines.h: remove
9820 * WorkArea.C: add space in debug output
9824 * buffer.C: add WITH_WARNINGS
9828 * bufferlist.C: s/retrive/retrieve/, add docs
9839 * lyxgui.C: add ID to X error handler
9841 * lyxtestclass.c: fix typo
9843 2002-02-26 Juergen Vigna <jug@sad.it>
9845 * tabular_funcs.C (write_attribute): changed so that some default
9846 attributes are not written at all.
9847 (getTokenValue): set default values before trying to read the
9848 value so we have the return value always set as default if we don't
9849 find the token we search for.
9851 * tabular.C (Write): write bools as bools not as strings!
9853 2002-02-22 Juergen Vigna <jug@sad.it>
9855 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9856 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9858 * text.C (leftMargin): don't add an indent for paragraphs inside
9859 tabular cells (fix #208).
9861 2002-02-21 José Matos <jamatos@fep.up.pt>
9863 * tabular.C (docBook): fixed support for long tables.
9865 2002-02-20 Juergen Vigna <jug@sad.it>
9867 * text2.C (getFont): get the drawing font of the Inset if this
9868 paragraph is inside an inset (only important for InsetERT for now).
9870 * buffer.C (insertErtContents): use new lanugage params in ERT
9873 * CutAndPaste.C: commenting out seemingly uneeded code.
9875 2002-02-19 Allan Rae <rae@lyx.org>
9877 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9878 Iterators might be simple to use but they also get invalidated.
9879 (removeAutoInsets): renamed saved cursor tracking variables and added
9880 some comments to clarify what everything does.
9882 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9889 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9890 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9893 * vc-backend.h: remove #include "support/syscall.h"
9897 * converter.C: rearrange #includes in Lars' approved fashion.
9899 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9900 forward declare class Timeout in the header file.
9902 * XFormsView.C: changes due to the above.
9904 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9907 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9908 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9910 2002-02-18 José Matos <jamatos@fep.up.pt>
9912 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9915 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9917 * a lot of small ws changes
9918 * add a lot of using std::XXX
9919 * use std construcs some places where approp.
9920 * use some exisint stuff from lyxfunctional where approp.
9921 * Make file changes to use partial linking (lets test this now...)
9923 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9927 remove #include "support/syscontr.h" as it's redundant. Always has been.
9935 change Systemcalls::System to Systemcalls::Wait and
9936 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9937 No change of functionality, just reflects the stripped down Systemcalls
9940 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9942 * debug.[Ch]: add a GRAPHICS type to the enum.
9944 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9948 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9951 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9953 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9954 match the changes below.
9956 * text2.C (toggleInset): if there is not editable inset at cursor
9957 position, try to see if cursor is _inside_ a collapsable inset
9960 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9963 document menu has a nice checkbox
9965 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * lyxlength.C (asLatexString): change PW to output as percent of
9970 * lengthcommon.C: change '%' to 't%'
9972 * lyxfunc.C (dispatch): a few comments from Martin
9974 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9978 * BufferView_pimpl.h:
9979 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9982 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * vspace.C (inPixels): fix compiler warning
9986 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * lyxfunc.C (getStatus): fix status message for disabled commands.
9990 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9992 * BufferView_pimpl.C: fix crash on close buffer
9993 during selection (#227)
9995 2002-01-27 Herbert Voss <voss@lyx.org>
9997 * buffer.C: link old Figure to new graphic inset
9999 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10001 * FontLoader.C (getFontinfo): Change the latex font names in order
10002 to match the names of type1inst.
10004 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10008 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10009 (extchanged): ditto
10011 (remove_files_with_extension): ditto
10012 (remove_file): ditto
10015 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10016 document is smaller than the work area height. Do not initialize
10017 static variables to 0.
10019 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10021 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10023 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10024 LFUN_LAYOUT_PARAGRAPHS.
10026 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10027 tabular. It is possible to provide a possible cell, which will
10028 typically be the actcell from the corresponding insettabular
10030 * lyxfunc.C (getStatus): small cleanup; disable
10031 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10034 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10038 * paragraph.C (startTeXParParams):
10039 (endTeXParParams): new methods. The LaTeX code to
10040 start/end paragraph formatting
10041 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10042 empty (fixes bug #200)
10044 * vspace.C (inPixels): adapt to the change below
10045 (inPixels): [later] more cleanups (remove unused variables)
10047 * lyxlength.C (inPixels): change to use a width and a height as
10050 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10052 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10053 Replaced with \paperwidth
10055 * DepTable.C (insert): add std:: qualifier
10057 2002-01-18 Allan Rae <rae@lyx.org>
10059 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10062 * text.C (drawInset): Turned out I didn't know enough about how
10063 rebreaking worked. This fixes most of the redraw problems. I see
10064 an occasional cursor trail when a line is broken now and the cursor
10065 placement can seem out by a few pixels also after a rebreak.
10067 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * buffer.C (parseSingleLyXformat2Token): update because minipage
10070 width is now a LyXLength
10072 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10074 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10077 2002-01-17 Juergen Vigna <jug@sad.it>
10079 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10081 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10082 is set correctly and the inset is updated correctly.
10084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10087 the beginning of the loop.
10089 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10091 * lyxrc.C: improve help for use_scalable_fonts
10093 2002-01-17 Allan Rae <rae@lyx.org>
10095 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10097 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10100 make sure to set their inset_owner to the right value (bug #171)
10102 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10105 * DepTable.C: Implement mtime checking to reduce time spent doing
10108 2002-01-16 Juergen Vigna <jug@sad.it>
10110 * tabular.C (GetAdditionalHeight): one of error fixed.
10112 * lyxrc.C (output): small fix in writing use_pspell.
10114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10116 * sp_base.h: #include LString.h
10118 2002-01-16 Allan Rae <rae@lyx.org>
10120 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10121 Can someone check this please?
10123 * text.C (drawInset): It was possible that p.row would be removed by
10124 breakAgainOneRow upsetting a few other settings. There may be another
10125 small tweak possible by setting need_break_row = 0 when p.row has been
10126 removed but I don't know enough about the logic here.
10128 2002-01-15 Allan Rae <rae@lyx.org>
10130 * text.C (insertChar): removed conditional truism.
10132 * BufferView2.C (removeAutoInsets): More tweaks.
10133 cur_par_prev could be a stray pointer. Check for trailing empty line
10134 in case last line was cur_par and only had an error inset on it.
10136 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10141 * vc-backend.C (most methods):
10142 * exporter.C (Export):
10143 * converter.C (convert):
10145 * LyXSendto.C (SendtoApplyCB):
10146 * lyxfunc.C (dispatch):
10150 * lyx_cb.C (AutoSave):
10152 * BufferView_pimpl.C (MenuInsertLyXFile):
10153 * buffer.C (runChktex): use Buffer::filePath().
10155 * buffer.h: rename filename to filename_; rename filepath to
10156 filepath_ and make it private
10157 (filePath): new method
10159 * buffer.C (writeFile): use fileName()
10162 * lyx_main.C (init): fix starting of LyX when the binary is a
10163 link from so,ewhere else.
10165 * minibuffer.C: include <cctype> for isprint
10167 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10169 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10170 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10171 name clash with InsetCollapsable's width function.
10173 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * lastfiles.C: include <iterator>
10177 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10179 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10182 * buffer.C (makeLaTeXFile): ditto.
10183 Also make loop operation more transparent.
10185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10187 * ToolbarDefaults.C: remove trailing comma closing namespace.
10189 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10191 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10194 * trans.C (Load): comment out unused variable, allowed.
10196 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10198 * minibuffer.[Ch] (append_char): new method to recieve input from the
10199 drop-down completion browser. If a key was pressed, then recieve this
10200 char and append it to the existing string.
10201 (peek_event): modify the positioning data passed to the completion
10202 browser so that it can be placed above the minibuffer rather than below.
10203 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * LyXAction.C (init): alloe error-next for readonly documents.
10207 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10210 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * bufferlist.C (readFile): create the buffer _after_ checking that
10215 * lyxfunc.C (verboseDispatch): fix handling of arguments
10217 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10219 * lyxrc.C: use string::erase() instead of initializing to "".
10222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10224 * BufferView_pimpl.h:
10225 * BufferView_pimpl.C:
10228 * text2.C: tell X when we have made a selection for copying
10230 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * BufferView_pimpl.C (MenuInsertLyXFile):
10233 * lyxfunc.C (menuNew):
10235 (doImport): add shortcuts to directory buttons
10237 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10240 * lyxfunc.C (setStatusMessage):
10241 (getStatusMessage): new methods
10242 (getStatus):use setStatusMessage instead of setErrorMessage
10243 (dispatch): when function is disabled, set error message here
10244 [instead of in getStatus previously]
10246 * BufferView_pimpl.C (workAreaButtonRelease): update
10247 toolbar/menubar here too.
10249 2002-01-13 Allan Rae <rae@lyx.org>
10251 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10252 Now seems indestructible. Remaining task is to audit all other
10253 code affected by deleteEmptyParagraphMechanism. One small quirk
10254 left is that an empty document with an error in the preamble can
10255 be made to report an error but no error box appears. I don't know
10257 (removeAutoInsets): Improved comments.
10259 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10262 * Thesaurus.C: update for Aiksaurus 0.14
10264 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10266 * text2.C (firstParagraph): removed member function, all uses
10267 replaces with ownerParagraph
10268 (redoParagraphs): here
10269 (updateInset): here
10270 (toggleAppendix): here
10271 * BufferView2.C (insertErrors): here
10272 (setCursorFromRow): here
10274 2002-01-13 Allan Rae <rae@lyx.org>
10276 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10277 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10278 There is still a way to segfault this although you may have to do this
10279 multiple times: Have an InsetERT with an unknown command in it.
10280 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10281 <down-arrow>, <Enter> again, View->DVI, BANG!
10283 * text2.C (setCursor):
10284 (deleteEmptyParagraphMechanism):
10285 * lyxtext.h (setCursor):
10286 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10287 Making use of the return value may help fix other bugs.
10289 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10293 * LyXView.C (updateMenubar): call MenuBar::update here
10294 (updateToolbar): but not here
10295 (showState): do not update toolbar/menubar
10297 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10298 should need to care about that.
10300 * lyxfunc.C (verboseDispatch): simplify a bit
10301 (getStatus): have a version which takes a pseudoaction, and
10302 another which requires a (kb_action,string).
10304 * LyXAction.C (retrieveActionArg): make it work also when action
10305 is not a pseudo-action.
10306 (getActionName): simplify a bit
10309 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10311 * lyxfunc.C (verboseDispatch): new families of methods with
10312 several ways to specify a command and a bool to indicate whether
10313 the command name and shortcut should be displayed in minibuffer
10314 (eventually, we could extend that to a finer bitmask like
10315 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10316 (dispatch): the pristine dispatch command which just, well,
10317 dispatchs! Note it still sets its result to minibuffer; I'm not
10320 * lyxfunc.h: remove setHintMessage
10322 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10324 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * BufferView_pimpl.C (specialChar): delete new inset if we have
10327 not been able to insert it.
10329 * kbmap.C: revert to using int instead of kb_action, since all we
10330 are dealing with is pseudo-actions.
10332 * LyXAction.C (searchActionArg): change to return int instead of
10333 kb_action, since the result is a pseudoaction.
10335 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10337 * buffer.C (insertErtContents): Fix (partially) the font bug.
10339 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10341 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10342 as the other one is broken on my machine!
10344 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10347 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10349 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10351 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10352 reflect their actual use. Provide compatibility code for older lyxrc
10355 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10357 change names of popup font variables in line with the changes to lyxrc.C
10359 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10361 * buffer.C (asciiParagraph): avoid outputing a word twice after
10364 * lyxrc.C (getDescription): document that document_path and
10365 template_path can be empty.
10367 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * LaTeXFeatures.C (getMacros):
10370 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10372 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10374 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10376 (getPackages): rename feature "floats" to "float". Use an array to
10377 iterate over 'simple' features (i.e. just a \usepackage). Add
10378 handling of "amsmath" (renamed from "amsstyle").
10380 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10382 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10385 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10387 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10388 FuncStaus::FuncStatus & FuncStaus::some_method().
10390 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10392 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10393 of the func_satus stuff. Edited and massaged in various ways by
10396 * lyxfunc.C (getStatus): use FuncStatus
10398 2002-01-08 Juergen Vigna <jug@sad.it>
10400 * text.C (nextBreakPoint): use function Inset::isChar().
10402 * paragraph.C (TeXOnePar): use function
10403 Inset::forceDefaultParagraphs.
10405 * buffer.C (latexParagraphs): use function
10406 Inset::forceDefaultParagraphs.
10408 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10410 * lyx_gui.C (init): set the style of the menu popups to
10411 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10413 2002-01-07 Juergen Vigna <jug@sad.it>
10415 * text.C (setHeightOfRow): small fix
10416 (prepareToPrint): don't look at alignment if we don't have the place
10419 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10421 * box.C: New file. Move the Box methods and functions out of box.h,
10422 following Lars' suggestion.
10424 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10426 * box.h: #include "support/LOstream.h", needed for inlined function.
10429 * lyxtextclasslist.C: added some using std declarations.
10431 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10433 * box.h: make signed dimensions to allow insets wider than
10434 the screen (bug #162)
10436 * BufferView_pimpl.C: add some insetHit debug
10438 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10440 * vc-backend.C: add FIXME
10442 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * lyxfunc.C (getStatus): enable code for showing math font status
10447 2002-01-07 Juergen Vigna <jug@sad.it>
10449 * text.C (nextBreakPoint): removed debug output not needed anymore.
10451 2002-01-06 Juergen Vigna <jug@sad.it>
10453 * text.C (nextBreakPoint): fixed up this function we had this bug
10454 since ever but now hopefully we break row better.
10455 (insertChar): we have to check if an inset is the next char as it
10456 could now happen that a large inset is causing a break.
10458 2002-01-05 Juergen Vigna <jug@sad.it>
10460 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10461 if it doesn't like to be drawed.
10463 2002-01-04 Juergen Vigna <jug@sad.it>
10465 * BufferView2.C (lockInset): forgot to set a cursor.
10467 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10469 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10471 * FormMathsPanel.C:
10474 * form_maths_panel.C:
10475 * form_maths_panel.h:
10476 * form_maths_panel.fd: implemented sub- and super- buttons in math
10479 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10480 (or ^ space) to be used as in TeX (req'd by André).
10482 * lyxfunc.C: Allow ^ and _ again to be used both as
10483 super/subscript (mathed) and as themselves (in text).
10485 2002-01-03 Allan Rae <rae@lyx.org>
10487 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10488 "LyX" or the filename of the current buffer if it has one. This is a
10489 modified form of John Levon's patch.
10491 * XFormsView.C (setWindowTitle): also set icon title.
10493 * LyXView.h (setWindowTitle): signature changed.
10494 * XFormsView.h (setWindowTitle): ditto.
10496 2002-01-02 Juergen Vigna <jug@sad.it>
10498 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10500 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * screen.C (topCursorVisible): introduce a temp var for
10503 text->cursor.row(), handle the case where this row is null. (kindo
10506 * text2.C (setCursor): add a couple of asserts.
10508 * paragraph.h (inset_iterator): add -> operator
10510 * paragraph.[Ch] (autoDeleteInsets): remove member function
10512 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10513 cursor pos correctly and handle inset deletion by itself.
10514 (insertErrors): move iterator declaration out of for expression
10516 * lyxtextclass.C: add <algorithm>
10518 * Makefile.am: added the new files to sources, removed layout.C
10520 * layout.C: removed file
10522 * layout.h: remove LYX_DUMMY_LAYOUT
10524 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10528 * lyxtextclass.[Ch]:
10529 * lyxtextclasslist.[Ch]: new files
10531 * include order changes to a lot of files, also changes because of
10534 2001-12-27 Juergen Vigna <jug@sad.it>
10536 * buffer.C (asciiParagraph): more fixes.
10538 * tabular.C (ascii): make ascii export support export of only the
10539 data separated by a column-delimiter.
10540 (ascii): better support for ascii export.
10542 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10544 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10546 * tabular_funcs.C: use a "using std::getline" instead of the
10547 previous fix from Angus (necessary for cxx + lyxstring)
10549 2001-12-24 Juergen Vigna <jug@sad.it>
10551 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10553 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10554 problems. First check a minipage also if we have some ert-contents
10555 (not only on par->size(), second set the right depth of the paragraph
10556 on the relink to the root-paragraph-list!
10558 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10559 which then did not anymore update the main paragraphs on undo/redo!
10561 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10564 code. Support all font-changing funcs (even those which are not in
10565 menu currently). Support for reporting font settings in
10566 mathed (disabled until Andre provides a function on mathed's side).
10568 * func_status.h (toggle): small helper function to set toggle
10571 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10573 * tabular_funcs.C: getline -> std::getline
10575 2001-12-21 Juergen Vigna <jug@sad.it>
10577 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10578 accessed and could be 0 (I couldn't generate this but it seems
10581 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10584 * tabular_funcs.h: here and include iosfwd
10586 2001-12-20 Juergen Vigna <jug@sad.it>
10588 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10589 inside inset but undo_par was.
10591 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * Thesaurus.C: always include <config.h> in sources.
10597 * box.h: do not include <config.h> in header files
10599 * text.C (paintLastRow): remove unused variable
10601 * text.C (transformChar):
10603 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10605 * Painter.C (text):
10606 * font.C (width): rewrite to use uppercase() instead of
10609 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10611 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10613 * lyxfind.C: clean up of find failure position change
10615 2001-12-20 Juergen Vigna <jug@sad.it>
10617 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10619 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10620 (TeXRow): added to LaTeX a single tabular row.
10621 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10622 (Latex): simplified and finally good LT-h/f support.
10623 (various_functions): just small adaptions for LT-h/f support.
10625 * tabular_funcs.[hC]: added and moved here all not classfunctions
10628 2001-12-19 Juergen Vigna <jug@sad.it>
10630 * tabular.[Ch]: better support for longtabular options (not finished
10633 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10635 * text.C (paintLastRow): use the label font instead of the font of
10636 the last character to compute the size of *_BOX. This makes more
10637 sense and avoids a crash with empty paragraphs.
10638 Use Painter::rectangle to draw EMPTY_BOX.
10640 2001-12-19 Juergen Vigna <jug@sad.it>
10642 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10643 the paragraphs if the replaced paragraph is not the first one!
10644 Tried to delete not used paragraphs but does not work yet so for
10645 now it's inside #ifdef's and by default off!
10647 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * MenuBackend.C: include "lyx_main.h" instead of declaring
10650 lastfiles (actually was declared as LastFiles* instead of a
10653 2001-12-17 Juergen Vigna <jug@sad.it>
10655 * tabular.C (AppendColumn): applied John's fix
10657 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10661 * BufferView_pimpl.h:
10662 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10665 * box.h: new start of class for above
10667 * lyxfunc.C: ignore space-only minibuffer dispatches.
10668 Show the command name when it doesn't exist
10670 * minibuffer.C: don't add empty lines to the history
10672 * minibuffer.C: add a space on dropdown completion
10674 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10676 * text.C: fix line above/below drawing in insets
10678 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10680 * lyxlength.C (LyXLength): Initialize private variables.
10682 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10685 when inserting error insets.
10687 2001-12-13 Juergen Vigna <jug@sad.it>
10689 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10690 actually sometimes the before-paragraph.
10691 (setUndo): don't clear the redostack if we're not actually undoing!
10693 2001-12-06 Juergen Vigna <jug@sad.it>
10695 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10696 and fixed redoing of main paragraph, so we can use it now ;)
10698 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10700 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10705 2001-12-13 André Pönitz <poenitz@gmx.net>
10708 * undo_func.C: minor cleanup
10710 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10713 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10714 font in urw-fonts package which is marked as -urw-fontspecific and
10715 does not work (incidentally, changing the encoding in the
10716 fonts.dir of this package to -adobe-fontspecific fixes the
10719 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10720 is a crash when undoing first paragraph (Juergen, please take a
10721 look). THis does not mean the undo fix is wrong, just that it
10724 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10725 the (Paragraph*) version when needed instead of duplicating the
10728 * text.C (workWidth): use Inset::parOwner to find out where the
10729 inset has been inserted. This is a huge performance gain for large
10730 documents with lots of insets. If Inset::parOwner is not set, fall
10731 back on the brute force method
10733 * paragraph_pimpl.C (insertInset):
10734 * paragraph.C (Paragraph):
10735 (cutIntoMinibuffer): set parOwner of insets when
10736 inserting/removing them
10738 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10740 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10746 * mathed/formulabase.C:
10747 * mathed/math_cursor.[Ch]:
10748 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10751 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * lyxlength.[Ch] (operator!=): new function
10755 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10757 * text.C (workWidth): use Inset::parOwner to find out where the
10758 inset has been inserted. This is a huge performance gain for large
10759 documents with lots of insets. If Inset::parOwner is not set, fall
10760 back on the brute force method
10762 * paragraph_pimpl.C (insertInset):
10763 * paragraph.C (Paragraph):
10764 (cutIntoMinibuffer): set parOwner of insets when
10765 inserting/removing them
10767 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10769 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * tabular-old.C (getTokenValue):
10772 * tabular.C (getTokenValue):
10773 (write_attribute): new versions for LyXLength
10774 (everywhere): adjust the use of widths
10776 * tabular.h: change the type of widths from string to LyXLength
10778 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10780 * paragraph.C: fixed missing line number count when exporting
10781 Environments to LaTeX file
10783 * buffer.C: added informational message for checking line numbers.
10785 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10788 paragraph, do the 'double space' part, but not the 'empty
10791 * text.C (workWidth): small optimization
10792 (getLengthMarkerHeight): use minimal size for negative lengths.
10794 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10796 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10798 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10800 2001-12-11 André Pönitz <poenitz@gmx.net>
10803 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10805 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10807 * text2.C: keep selection on a setFont()
10809 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10811 * lyx_cb.C: another bv->text misuse, from insert label
10813 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10816 * kbsequence.C: re-instate nmodifier mask
10818 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10820 * lyx_main.h: make lyxGUI private.
10822 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10824 * lyxfind.C: place the cursor correctly on failed search
10826 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * text.C (getLengthMarkerHeight): for small heights, the arrows
10829 are not always on top/bottom of the text
10830 (drawLengthMarker): smaller arrows; take the left margin in
10831 account; draw also vfills.
10833 (paintLastRow): remove special code for vfill and standard spaces,
10834 since everything is handled in drawLengthMarker now.
10836 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * buffer.C (insertErtContents): try to handle font and language
10839 interaction a bit better.g
10841 * ColorHandler.C (updateColor): change the hash to cover the whole
10842 LColor enum, ws cleanup
10843 (getGCLinepars): ditto
10844 (getGCLinepars): only lookup in the linecache once.
10846 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10848 * iterators.C (operator++): Make the iterator more robust
10850 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10852 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10854 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10857 * text.C: better added space drawing
10859 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10862 * BufferView2.C: fix layout combo update on inset unlock
10864 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10866 * Makefile.am: don't compile unused files
10868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10872 * LyXAction.C: remove old LFUN_LAYOUTNO
10874 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10876 * paragraph_pimpl.h:
10877 * paragraph_pimpl.C: isTextAt() doesn't need font param
10879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10882 * lyxlex.C: little cleanup
10884 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10886 * BufferView_pimpl.C: fix insertAscii for insets
10888 2001-12-05 Juergen Vigna <jug@sad.it>
10890 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10891 set the right font on the "multi" paragraph paste!
10893 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * lyxlength.C: remove out-commented code.
10901 * BufferView_pimpl:
10915 * vc-backend.C: change "while(" to "while ("
10917 * lyxlength.[Ch]: add zero function to check if length is zero or
10919 * lyxgluelength.C: use it
10921 2001-12-05 Allan Rae <rae@lyx.org>
10923 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10924 Works for 2.95.3, from what I understand of Garst's reports this should
10925 work for other g++ versions. We're screwed if the abs(int) definition
10926 changed between bugfix releases of gcc.
10928 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10930 * text.C: fix chapter label offset !
10932 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10935 * text.C: fix hfill at end of line, clean up
10937 2001-12-04 Juergen Vigna <jug@sad.it>
10939 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10940 that we force an update of the inset and it's owners if neccessary.
10942 2001-12-03 Juergen Vigna <jug@sad.it>
10944 * text.C (rowLast): simplified code
10946 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10948 * lyxfunc.C: fix show options on timeout
10950 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * screen.C (topCursorVisible): scroll half a page when the cursor
10953 reached top of bottom of screen
10955 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10957 * minibuffer.C: deactivate on loss of focus
10959 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10961 * vspace.[Ch] (operator!=): add operator.
10963 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.C: refuse to open an inset when
10966 there's a selection.
10968 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10970 * BufferView_pimpl.C: allow to click on RHS of full row insets
10972 2001-11-30 Juergen Vigna <jug@sad.it>
10974 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10975 insets for undo reasons.
10977 2001-11-28 André Pönitz <poenitz@gmx.net>
10979 * vspace.[Ch]: cosmetical changes
10981 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10991 * kbsequence.C: part re-write of old kb code
10994 * WorkArea.C: remove Lgb_bug_find_hack
10996 2001-11-30 José Matos <jamatos@fep.up.pt>
10998 * buffer.C (makeDocBookFile): add a comment to point a hack.
10999 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11000 Fixed a double write of labels.
11002 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11005 * LaTeX.h Fixed bug in LaTeX class where it would not
11006 re-run latex if no depfiles were changed, but the .dvi was removed.
11008 2001-11-28 André Pönitz <poenitz@gmx.net>
11010 * all the files from the change on 2001/11/26:
11011 use lyx::layout_type instead of LyXTextClass::size_type
11012 use lyx::textclass_type instead of LyXTextClassList::size_type
11014 2001-11-29 Juergen Vigna <jug@sad.it>
11016 * text.C: added support for paragraph::isFreeSpacing()
11018 * buffer.C: same as above
11020 * paragraph.h: inserted isFreeSpacing() function to enable
11021 FreeSpacing inside InsetERT.
11023 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11024 of the paragraph's in the cut/copy buffer to 0!
11026 * text2.C (removeRow): remove the assert as it can!
11028 * lyxtext.h: added helper function firstRow returning firstrow and
11029 made firstrow private again.
11031 * BufferView2.C (lockInset): don't relock if we're already locked!
11033 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11034 the only paragraph.
11035 (removeRow): added Assert::(firstrow)
11037 * debug.C: forgot to add INSETTEXT here.
11039 2001-11-28 Juergen Vigna <jug@sad.it>
11041 * sp_spell.C (initialize): changed error text to more general
11042 spellchecker command use (not only ispell!)
11044 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11046 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11048 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11050 * vspace.C: initialise lyxgluelength on failure
11052 2001-11-28 Allan Rae <rae@lyx.org>
11054 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11055 declaration & definition that looks like a function declaration.
11057 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11059 * BufferView2.C (copy):
11060 (copyEnvironment): do not clear the selection when doing a copy.
11062 * text.C (paintFirstRow): compilation fix
11064 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11066 * tabular.C (Latex): correct line count when writing latex.
11068 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11070 * paragraph_pimpl.h:
11071 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11074 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11078 * LColor.C: change vfillline->added_space
11080 * text.C: add markers and text for added space
11082 * vspace.C: fix comment
11084 2001-11-28 André Pönitz <poenitz@gmx.net>
11086 * paragraph.C: whitespace changes
11087 * all the other files from the change on 2001/11/26:
11088 change *::pos_type into lyx::pos_type
11090 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11092 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11093 language of the document when inserting error insets.
11095 2001-11-26 André Pönitz <poenitz@gmx.net>
11097 * BufferView_pimpl.[Ch]:
11105 * paragraph_pimpl.[Ch]:
11108 * text2.C: reduce header dependencies, introduce type for positions
11110 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11112 * <various>: change to use Alert.h
11114 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11116 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11117 when encountering an unknown token.
11118 (readLyXformat2): Show an error message if there were unknown tokens.
11120 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView_pimpl.C:
11127 * text2.C: use par->isInset()
11129 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11131 * paragraph_pimpl.h:
11132 * paragraph_pimpl.C: cleanup
11134 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11136 * text2.C (removeRow):
11137 * text.C (setHeightOfRow): remove useless (and costly) call to
11140 2001-11-20 Allan Rae <rae@lyx.org>
11142 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11143 Now need Inset*::checkInsertChar() to return true for appropriate
11144 cases so that the characters in the minibuffer will actually be
11147 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11149 * text.C: change the order of the includes.
11150 (workWidth): initialize it at once.
11151 (workWidth): make maxw unsigned
11152 (setHeightOfRow): remove unused variable (inset)
11153 (selectSelectedWord): remove unused variable (inset)
11154 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11156 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11158 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11159 server is not running.
11161 (closeConnection): add debug info when server is disabled.
11163 * ColorHandler.C (getGCForeground): send debug message to GUI
11166 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11168 * kbmap.C (bind): modify because return conventions of
11169 kb_sequence::parse have changed.
11171 * kbsequence.C (parse): only ignore spaces and not any stupid
11172 control character. This avoids tests like s[i] <= ' ', which are
11173 guaranteed to fail with 8bit characters and signed chars.
11174 Change return code to string::npos when there have been no error
11175 (0 was a bad idea when error is at first character)
11177 2001-11-14 José Matos <jamatos@fep.up.pt>
11180 * buffer.C (simpleDocBookOnePar): removed unused argument.
11182 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11184 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11185 insets which are part of a word. Paragraph::isLetter takes care of
11186 that now. Use Paragraph::isInset to identify insets.
11187 (selectSelectedWord): do not test for hyphenation break.
11189 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11190 that protected spaces are considered as spaces.
11192 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11195 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11198 * lyxserver.C: fix it. and small cleanup.
11200 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.C: use inline helpers
11205 * LaTeXFeatures.C: fix typos
11208 * Spacing.C: move spacing_string into class
11210 * ToolbarDefaults.C: move stuff into namespace anon
11212 * layout.h: update enum
11214 * lyxfunc.C: use better debug
11216 * minibuffer.h: fix typo
11220 * WorkArea.C: add and use Debug::WORKAREA
11224 * text2.C: code re-organisation, inline helpers
11226 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11228 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11229 std::vector.empty().
11231 2001-11-09 Allan Rae <rae@lyx.org>
11233 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11234 '\n's after tables. Tabular and ERT inset work now makes this no
11237 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11240 * minibuffer.C: fix crash, improve drop-down completion
11242 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11245 * lyxserver.C: invalidate fd's when doing endPipe()
11247 2001-11-08 José Matos <jamatos@fep.up.pt>
11249 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11250 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11253 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11255 2001-11-07 José Matos <jamatos@fep.up.pt>
11258 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11261 * buffer.C (sgmlOpenTag):
11262 * buffer.C (sgmlCloseTag): removed debug info.
11264 * buffer.h (sgmlOpenTag):
11265 * buffer.h (sgmlCloseTag): made public.
11267 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11269 * buffer.C (saveParamsAsDefaults):
11270 * lyx_cb.C (MenuLayoutSave): remove
11272 * LyXAction.C (init):
11274 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11276 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * buffer.C (setPaperStuff): removed from here...
11280 * bufferparams.C (setPaperStuff): ... and moved there.
11282 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11286 * XFormsView.C: add support for drop-down completion
11288 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11290 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11293 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11295 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11298 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11300 * lyx_main.C: change ref to known bugs
11302 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11304 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11305 to work around older babel problems.
11307 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11309 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11311 2001-10-24 Juergen Vigna <jug@sad.it>
11313 * tabular-old.C (ReadOld): below variable changes reflected.
11315 * tabular.[Ch]: added ltType struct for longtable header/footer
11316 defines and changed all instances where they are used. Added
11317 future support for double top/bottom rows.
11319 2001-10-24 José Matos <jamatos@fep.up.pt>
11321 * buffer.h (docbookHandleCaption):
11322 * buffer.C (docbookHandleCaption): removed unused function.
11323 (makeDocBookFile): moved docbook supported version to v4.1.
11325 2001-10-24 José Matos <jamatos@fep.up.pt>
11328 * tabular.C (docbookRow): new function to export docbook code of a row.
11329 (DocBook): now honors the longtable flags.
11331 2001-10-23 José Matos <jamatos@fep.up.pt>
11334 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11335 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11337 * buffer.C (makeLinuxDocFile):
11338 (makeDocBookFile): reworked the preamble, more clean, and with
11339 support for lyx defined entities. Changed the document declaration
11340 to be more XML friendly.
11342 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11343 if we need to output XML that should be done with a filter.
11345 2001-10-22 Juergen Vigna <jug@sad.it>
11347 * sp_pspell.h (class PSpell): add alive function needed in the
11348 controller to see if the spellchecker could be started.
11350 2001-10-22 Juergen Vigna <jug@sad.it>
11352 * buffer.C (insertStringAsLines): modify the font for inserting
11353 chars in certain conditions by calling checkInsertChar(font).
11355 2001-10-19 Juergen Vigna <jug@sad.it>
11357 * text.C (workWidth): use getRow instead of wrong algorithm.
11358 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11360 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11365 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11367 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11369 * text.C (workWidth): do not search for the exact row when
11370 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11371 optimization for big documents.
11373 2001-10-18 Juergen Vigna <jug@sad.it>
11375 * text.C (workWidth): new function with added Inset * parameter.
11377 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11379 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11381 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11382 change return type of getColumnNearX.
11385 * text.C (changeRegionCase): use uppercase/lowercase instead of
11388 (rightMargin): simplify code by factoring out the uses of
11393 (appendParagraph): use Paragraph::size_type
11395 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11397 * vspace.C (asLatexString): add a missing break
11399 2001-10-15 Herbert Voss <voss@perce.de>
11401 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11403 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11405 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11408 2001-10-10 André Pönitz <poenitz@gmx.net>
11410 * lyxfunc.C: removed greek_kb_flag.
11412 2001-10-10 Herbert Voss <voss@perce.de>
11414 * lyx_main.C: delete global string help_lyxdir.
11416 2001-10-09 Herbert Voss <voss@perce.de>
11418 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11420 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11422 * lyx_main.C: added global string help_lyxdir.
11424 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11426 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11428 * lyxrc.C (set_font_norm_type): support iso8859-4
11430 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11432 * LaTeX.C (deplog): add another regex for MikTeX
11434 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11436 * lyxrc.C (set_font_norm_type): support iso8859-3
11438 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11442 * LaTeXFeatures.C: remove special case of french and index
11444 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11445 before \begin{document}). This solves several incompatibilities.
11447 2001-10-03 Garst Reese <reese@isn.net>
11449 * lyx_cb.C: change CheckTex error msg.
11451 2001-10-03 José Matos <jamatos@fep.up.pt>
11453 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11455 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11457 * .cvsignore: update
11459 * lyx_main.C (commandLineVersionInfo): use new style version info.
11461 * buffer.C (writeFile):
11463 (makeLinuxDocFile):
11464 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11466 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11468 * version.h: update to use stuff in version.C
11470 * version.C.in: new file. Contains version information determined
11471 at compile time. This is a merging of version.h and
11474 2001-10-03 Juergen Vigna <jug@sad.it>
11476 * BufferView_pimpl.C (update): don't change "dirty" status in
11479 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11481 * WorkArea.C (c-tor): re-position version string slightly.
11483 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11485 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11486 revert to previous code.
11488 WorkArea.[Ch]: (show, destroySplash): methods removed.
11490 WorkArea.C: rework code so that it's an amalgam of the codes before and
11491 after the splash screen was moved to WorkArea.
11493 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * vspace.C (inPixels):
11499 * buffer.C (insertStringAsLines):
11500 (asciiParagraph): fix types to be large enough
11502 * lyxlex_pimpl.h: change member status from short to int
11504 * layout.h: fix type of endlabeltype
11507 * kbsequence.C (parse): change return type to string::size_type
11509 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11512 * Bullet.C (bulletSize):
11513 (bulletEntry): do not use short ints as parameters
11515 * BufferView2.C (insertLyXFile): change a char to an int.
11517 * WorkArea.C (WorkArea): remove unneeded floats in computation
11519 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11521 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11523 * paragraph.C (asString): Do not ignore newline/hfill chars when
11524 copying to the clipboard.
11526 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11528 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11529 after a multi-line inset.
11531 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11533 * paragraph.C (validate): Set NeedLyXFootnoteCode
11535 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11537 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11538 and decrease-error to decrease.
11540 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11542 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11543 it more readable (should be equivalent)
11545 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11547 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11549 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11551 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11552 of a cursor (row, etc.) after a character has been deleted
11553 (deleteEmptyParagraphMechanism): call the method above on _all_
11554 cursors held by the LyXText when a double space has been
11557 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11559 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11561 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11563 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11564 background. Use greyOut() and the new show() methods to toggle between
11565 the foreground and background. Add code to remove the splash after
11566 its initial showing.
11568 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11569 (create_forms): no longer call Dialogs::showSplash.
11571 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11573 * .cvsignore: add version_info.h
11575 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11577 * version_info.h.in: new file
11579 * Makefile.am: add version_info.h.in
11581 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11582 version_info.h instead of VERSION_INFO
11584 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11586 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11587 The ERT inset now returns string().
11589 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11591 * lyxtext.h, text.C (selectNextWord): renamed as
11592 selectNextWordToSpellcheck.
11594 * text.C (selectNextWordToSpellcheck): Modified to not select
11595 words inside an ERT inset.
11597 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * lyx_cb.C (MenuLayoutSave): change a bit the question
11601 * sp_base.h: include <sys/types.h>
11603 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11605 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11607 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11609 * several files: fix typos in user-visible strings
11611 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11613 * text2.C (pasteSelection): do not set the selection, since it
11614 will be cleared later. Actually, the intent was to fix the way the
11615 selection was set, but I figured rmoving the code was just as good.
11617 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11619 * FontLoader.C (available): Check if font is available without
11622 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11624 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11626 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11628 * lyxrc.[Ch]: added display_graphics variable and associated code.
11630 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * bufferparams.C (hasClassDefaults): new method. Returns true if
11633 the buffer parameters correspond to known class defaults
11635 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11637 * XFormsView.C (show): set minimum size to the main window.
11639 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * text2.C (copySelection):
11643 * lyxfind.C (LyXReplace):
11644 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11645 LyXText::selectionAsString.
11647 * paragraph.C (asString): add "label" argument to the second form
11649 * text2.C (selectionAsString): add "label" argument and pass it to
11650 Paragraph::asString.
11652 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11654 * lyx_main.C (commandLineHelp): remove version information
11656 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11658 * lyx_main.C: add -version commandline option
11660 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * paragraph.h: make the optional constructor arg required instead.
11663 some modifications to other files because of this.
11665 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11667 * lyxserver.C (C_LyXComm_callback): make it static
11669 * lyx_main.C (error_handler): make it static
11671 * lyx_gui.C (LyX_XErrHandler): make it static
11673 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11675 * WorkArea.C: make the extern "C" methods static.
11677 * Makefile.am (lyx_LDADD): simplify
11679 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11681 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11682 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11684 * LyXAction.C (init):
11685 * lyxfunc.C (dispatch): associated code removal.
11687 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11689 * lyxfont.h (isSymbolFont): shut off warning
11691 * text.C (setHeightOfRow):
11692 (getVisibleRow): fix crash with empty paragraphs which have a
11695 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11697 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11700 2001-09-04 José Matos <jamatos@fep.up.pt>
11703 * tabular.C (docbook): rename docBook method to docbook.
11705 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11707 * Makefile.am: add dependencies to main.o.
11709 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11711 * FontLoader.C (available): Return false if !lyxrc.use_gui
11713 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11715 * FontInfo.C (query):
11716 * converter.C (view):
11717 * importer.C (Import):
11718 * exporter.C (Export): Can not -> cannot.
11720 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11722 * BufferView_pimpl.C: allow to create index inset even if
11725 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11727 * buffer.C (getLists): replace boost::tie code with an explicit pair
11728 as boost::tie can break some compilers.
11730 * iterators.h: Added a std:: declaration to the return type of
11733 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11735 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11738 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11740 * iterators.[Ch]: New files. Provide paragraph iterators.
11742 * buffer.C (changeLanguage): Use paragraph iterators.
11743 (isMultiLingual): ditto
11745 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11747 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11749 * FontLoader.C: Support for cmr font.
11751 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11753 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11754 (available): New method.
11756 * FontInfo.C (getFontname): Use scalable fonts even when
11757 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11760 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11762 * converter.C (Formats::view): reverted! Incorrect fix.
11764 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11766 * converter.C (Formats::view): only output the -paper option
11767 if the dvi viewer is xdvi, thereby fixing bug #233429.
11769 2001-08-23 Herbert Voss <voss@perce>
11771 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11773 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11775 * Spacing.h (Spacing): Set space to Default on in the default
11778 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * vc-backend.h (RCS::versionString): add RCS to version
11781 (CVS::versionString): add CVS to version
11783 * vc-backend.C (scanMaster): do not add CVS to version.
11784 (scanMaster): do not add RCS to version
11786 * lyxvc.C (versionString): new method
11788 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11790 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * Spacing.C (set): initialize fval
11794 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11796 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11799 2001-08-16 Juergen Vigna <jug@sad.it>
11801 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11803 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11805 * BufferView_pimpl.C:
11808 * text2.C: setParagraph takes linespacing now
11810 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11812 * LyxAction.C: add internal LFUN_CITATION_INSERT
11814 * LyXView.C: actually apply fix
11816 * bufferlist.C: fix open non-existent file
11818 * lyxfind.C: fix indentation
11820 * lyxfunc.C: remove unneeded assert, fix typo
11822 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11824 * MenuBackend.C: use "Floatname List"
11826 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11828 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11829 when converting LaTeX layout to insetERT.
11830 Generate a non-collapsed float when reading old float
11832 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11834 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11837 2001-08-13 Juergen Vigna <jug@sad.it>
11839 * text.C (fill): return 0 instead of 20 as this seems to be the more
11842 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11844 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11847 2001-08-13 Juergen Vigna <jug@sad.it>
11849 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11851 (SearchBackward): comment out the unlocking of the inset_owner this
11852 should not be needed!
11854 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11856 * Many files: Remove inherit_language, and add latex_language
11858 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11859 collapsible insets.
11861 2001-08-10 Juergen Vigna <jug@sad.it>
11863 * text.C (prepareToPrint): fixed hfill-width in draw!
11865 * BufferView2.C (selectLastWord): save the selection cursor as this
11866 now is cleared in the function LyXText::clearSelection!
11868 2001-08-08 Juergen Vigna <jug@sad.it>
11870 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11871 BACKSPACE type functions.
11873 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11874 is only cutted from the document but not put in the cut-buffer, where
11875 still the old stuff should be.
11877 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11879 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11881 * tabular.C (SetWidthOfCell): fixed special case where the width
11883 (LeftLine): handle '|' in align_special.
11885 (LeftAlreadyDrawed): ditto
11886 (SetWidthOfCell): ditto
11888 2001-08-07 Juergen Vigna <jug@sad.it>
11890 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11892 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11894 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11895 * lyxlex.[hC]: ditto
11897 2001-08-06 Juergen Vigna <jug@sad.it>
11899 * text.C (getVisibleRow): fix up row clearing a bit.
11901 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * minibuffer.C: make sure the X server sees the changes in the input.
11905 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * paragraph.C (getFont): split into...
11908 (getLabelFont): this
11909 (getLayoutFont): and this
11910 * paragraph_pimpl.C (realizeFont): calling this
11912 * text2.C (getFont): split into...
11913 (getLayoutFont): this
11914 (getLabelFont): and this
11915 (realizeFont): all three calling this
11917 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11920 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11922 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11924 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11926 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11927 layouts from the Quote inset insertion.
11929 2001-08-03 Juergen Vigna <jug@sad.it>
11931 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11933 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11934 only if status not is already CHANGED_IN_DRAW (second level).
11936 * text.C (draw): don't set the need_break_row when inside an
11939 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11941 * buffer.C (parseSingleLyXformat2Token): handle more latex
11944 * bufferview_funcs.[hC]: change function names to
11945 begin with small char, adjust other files.
11947 2001-08-02 André Pönitz <poenitz@gmx.net>
11950 BufferView_pimpl.C: remove broken special code for math-greek
11952 2001-08-02 Juergen Vigna <jug@sad.it>
11954 * BufferView_pimpl.C (update): redone this function so that we
11955 update the text again if there was a CHANGE_IN_DRAW.
11957 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11958 (drawFromTo): added a new internal bool which is used by draw() and
11960 (general): some cursor drawing problems fixed.
11962 2001-08-01 Juergen Vigna <jug@sad.it>
11964 * lyxfind.C (LyXFind): fixed
11965 (SearchForward): ditto
11966 (SearchBackward): ditto
11968 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11969 spurius drawing of the cursor in the main area.
11971 * text2.C (status): small fix which could lead to a segfault!
11972 (clearSelection): remove unneeded BufferView param.
11974 2001-08-01 André Pönitz <poenitz@gmx.net>
11976 * lyxfunc.C: small change due to changed mathed interface
11978 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11980 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11982 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11984 * lyxfunc.c: fail gracefully if file doesn't exist
11989 * BufferView_pimpl.C: IsDirWriteable() proto changed
11991 * LyXView.C: fix updateWindowTitle() to store the last title
11993 2001-07-31 Juergen Vigna <jug@sad.it>
11995 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11996 the font (wrong since using of Paragraph::highestFontInRange).
11998 * paragraph.C (highestFontInRange): added a default_size parameter.
12000 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12001 (setHeightOfRow): reformat
12003 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * converter.[hC] + affected files: move to (inital-char)lowercase
12008 * ParagraphParameters.C (ParagraphParameters): remove commented code
12010 * PainterBase.[Ch]: remove commented code
12012 * LaTeXFeatures.h: add "bool floats" for float.sty
12014 * LaTeXFeatures.C (LaTeXFeatures): init floats
12015 (require): handle float
12016 (getPackages): do it with floats
12018 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12020 * BufferView_pimpl.C (Dispatch): improve handling of
12021 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12023 * commandtags.h: #include lyxfont.h here temporarily to avoid
12026 * bufferlist.h: include LString.h here.
12028 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12030 * text2.C (getStringToIndex): new method.
12032 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12034 * *: Reduced header file dependencies all over.
12036 2001-07-30 Baruch Even <baruch@lyx.org>
12038 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12040 2001-07-29 Baruch Even <baruch@lyx.org>
12042 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12044 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * ParameterStruct.h (endif): add a default constructor to make
12047 sure that all variables is initialized.
12049 * ParagraphParameters.C (ParagraphParameters): adjust
12051 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12054 index; also, check that there is something to index, and that it
12055 does not span over several paragraphs.
12056 (doubleClick): use WHOLE_WORD_STRICT for double click.
12058 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12060 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12063 2001-07-26 Baruch Even <baruch@lyx.org>
12065 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12066 an InsetFig figure, backwards compatible reading of old figure code.
12068 2001-07-27 Juergen Vigna <jug@sad.it>
12070 * text2.C: font.realize function adaption.
12072 * text.C (draw): add a warnings lyxerr text if needed.
12074 * layout.C: font.realize function adaption.
12076 * language.C: add inherit_language and implement it's handlings
12078 * bufferview_funcs.C (StyleReset): remove language parameter from
12079 font creation (should be language_inherit now).
12081 * bufferparams.C (writeFile): handle ignore_language.
12083 * paragraph.C (getFontSettings): the language has to be resolved
12084 otherwise we have problems in LyXFont!
12086 * lyxfont.C (lyxWriteChanges): added document_language parameter
12087 (update): removed unneeded language parameter
12089 * paragraph.C (validate): fixed wrong output of color-package when
12090 using interface colors for certain fonts in certain environments,
12091 which should not seen as that on the final output.
12093 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12095 * BufferView_pimpl.C:
12100 * LyXAction.C: add thesaurus support
12103 * lyxfind.C: add "once" parameter, for thesaurus, to not
12104 move to the next match
12106 2001-07-26 Juergen Vigna <jug@sad.it>
12108 * lyxfont.C (realize): honor ignore_language too!
12111 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12113 * text.C (draw): one place more for ignore_language to not draw
12116 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12118 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12120 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12123 the minipage conversion problem.
12125 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12130 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * BufferView.h: don't forward declare WorkArea
12134 * BufferView.C: don't include WorkArea.h
12136 2001-07-25 André Pönitz <poenitz@gmx.net>
12140 * lyxfunc.C: new LFUN 'math-space'
12142 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12144 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * text2.C (toggleInset): call open/close
12148 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * lyxfunc.C (dispatch): add debug for the disabled case
12152 * font.C (buttonText): make similar to rectText
12154 * buffer.C (readInset): comment out parsing of insetlist and
12157 * PainterBase.C (rectText): small correction
12159 * BufferView_pimpl.C: comment out insettheorem and insetlist
12160 * LyXAction.C: ditto
12161 * commandtags.h: ditto
12163 2001-07-24 Juergen Vigna <jug@sad.it>
12165 * text.C (draw): honor the ignore_language.
12167 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12169 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12174 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12176 * lyxtext.h: remove unused (and unimplemented) methods
12178 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12180 * text.C (getVisibleRow): honor background color
12183 * Painter.h: remove default color argument for fillRectangle
12185 * text.C (backgroundColor): new method
12187 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * text.C (getVisibleRow): adjust
12191 * font.[Ch] (rectText): new method, metrics
12192 (buttonText): new method, metrics
12194 * PainterBase.[hC]: make rectText and buttonText always draw and take
12197 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12199 * ToolbarDefaults.C (read):
12200 * MenuBackend.C (read): allow escaping in all strings
12202 * BufferView_pimpl.C (insertAndEditInset): new method.
12203 (Dispatch): use insertAndEditInset whenever appropriate.
12205 * BufferView_pimpl.C (insertNote): removed
12207 * BufferView_pimpl.C (smartQuote): new method, moved from
12208 BufferView; if an insetquote cannot be inserted, insert a '"'
12211 * BufferView2.C: remove insertCorrectQuote();
12213 * lyxfunc.C (getStatus): Add support for all remaingin
12214 inset-insert lfuns.
12216 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12218 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12219 command (necessary to pass " as parameter of self-insert.
12221 * text.C (selectWordWhenUnderCursor):
12222 (selectWord): add word_location parameter
12223 (selectWordWhenUnderCursor): same + remove special code for word
12225 (selectNextWord): use kind() to guess type of insetspecialchar,
12228 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12229 (insertErtContents): create ert insets as collapsed.
12230 (readInset): better compatibility code for Info inset.
12232 2001-07-20 Juergen Vigna <jug@sad.it>
12234 * lyxfunc.C (dispatch): use always LyXFind now!
12236 * text2.C (init): add a reinit flag so that the LyXText can be
12237 reinited instead of deleted and reallocated (used in InsetText).
12239 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12245 2001-07-18 Juergen Vigna <jug@sad.it>
12247 * text.C (selectNextWord): handle insets inside inset by calling
12248 always the bv->text functions so that we can go up the_locking_inset!
12250 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12251 in strange locations when inside an inset!
12253 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12254 handling to include insets.
12256 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12258 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * LyXAction.C (init):
12262 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12263 LIGATURE_BREAK, since the name is so stupid.
12265 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12267 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12270 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12272 * sp_form.[Ch]: remove.
12274 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12276 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12279 * src/buffer.C (readInset): ditto.
12281 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12283 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12284 menuSeparator(), endOfSentenceDot(), ldots() and
12285 hyphenationPoint(), which are therefore removed.
12286 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12288 * LyXAction.C (init):
12289 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12291 * paragraph.C (getWord): removed.
12293 * BufferView_pimpl.C (Dispatch): use last word or selection for
12294 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12296 * lyx_main.C (queryUserLyXDir): do not ask before creating
12297 user_dir, except if it has been named explicitely.
12299 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12301 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12302 a document of zero size.
12304 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12306 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12307 approriately in the c-tor and in require().
12308 (getPackages): output the appropriate LaTeX for natbib support.
12310 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12311 variables "use_natbib" and "use_numerical_citations" when reading the
12313 (readInset): read the various natbib cite commands.
12314 (validate): white-space change.
12316 * bufferparams.[Ch]: new variables "bool use_natbib" and
12317 "bool use_numerical_citations".
12318 (writeFile): output them in the LyX file.
12320 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12322 * lyxfunc.C (getStatus): add support for all the inset insertion
12325 * text2.C (insertInset):
12326 * paragraph.C (insetAllowed):
12327 * BufferView_pimpl.C (insertInset): update to take in account the
12328 renaming of insertInsetAllowed
12330 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12332 * text2.C (getInset): new method. returns inset at cursor position.
12334 * BufferView_pimpl.C (Dispatch): changes because of this.
12336 * LyXAction.C (init): rename open-stuff to inset-toggle.
12338 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12340 * text2.C (toggleInset): renamed from openStuff; use
12343 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12345 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12347 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12349 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12351 * buffer.C (readLyXformat2): Add filename to the error dialog
12353 2001-07-18 Juergen Vigna <jug@sad.it>
12355 * tabular.C (GetCellNumber): put an assert here instead of the check!
12357 2001-07-17 Juergen Vigna <jug@sad.it>
12359 * BufferView_pimpl.C (toggleSelection): adapted too.
12361 * text.C (selectNextWord): adapted for use with insets.
12362 (selectSelectedWord): ditto
12364 2001-07-17 Juergen Vigna <jug@sad.it>
12366 * sp_spell.C (PSpell): fix initialitation order.
12368 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * paragraph.C: spacing
12372 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12374 * sp_spell.C: repair language selection for pspell
12376 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * lyxfunc.h: change more methods to begin with lower char.
12380 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12382 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12383 for unknown layouts.
12385 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12387 * buffer.C (readLyXformat2): Generate an error dialog if there are
12390 2001-07-16 Juergen Vigna <jug@sad.it>
12392 * sp_spell.C: always compile ISpell part.
12394 * lyxrc.C: added use_pspell entry and it's handling.
12396 2001-07-13 Juergen Vigna <jug@sad.it>
12398 * sp_spell.C: removed double includes.
12400 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12402 Consistent use of Lsstream.h:
12403 * Lsstream.h: added using std::stringstream for consistencies sake.
12405 * buffer.C: removed using std::stringstream
12407 * lyxfont.C (stateText):
12408 * paragraph.C (asString):
12409 * text.C (selectNextWord, selectSelectedWord):
12410 * text2.C (setCounter):
12411 * vspace.C (asString, asLatexString):
12412 std::ostringstream -> ostringstream.
12414 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12416 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12417 * commandtags.h: add LFUN_HELP_ABOUTLYX
12418 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12420 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12422 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12424 * lyx_gui_misc.C: remove spellchecker
12425 * lyxfunc.C: showSpellchecker
12427 * sp_ispell.h: added
12428 * sp_pspell.h: added
12429 * sp_spell.C: added
12430 * sp_form.[Ch]: removed
12431 * spellchecker.[Ch]: removed
12433 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12435 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12437 (simpleTeXSpecialChars): Simply print the input character without
12438 any special translation if pass_thru is set.
12440 * layout.h: Added bool pass_thru to layout class for being able to
12441 implement pass through of a paragraph for Literate Programming.
12443 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12444 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12445 * layout.C (Read): add "passthru" to list of layout tags and add
12446 code to set the pass_thru boolean when it is read.
12448 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * trans_decl.h: remove allowed from KmodInfo
12452 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12453 remove allowed code
12456 * paragraph_pimpl.C (erase): use boost::prior
12458 * Painter.C (text): use data() instead of c_str() when length is
12460 * WorkArea.C (putClipboard): ditto
12461 * font.h (width): ditto
12463 * BufferView2.C: use it-> instead of (*it). for iterators
12465 * paragraph_pimpl.C: ditto
12466 * paragraph.C: ditto
12467 * minibuffer.C: ditto
12468 * language.C: ditto
12470 * encoding.C: ditto
12471 * counters.C: ditto
12472 * converter.C: ditto
12474 * Variables.C: ditto
12475 * TextCache.C: ditto
12476 * MenuBackend.C: ditto
12477 * LyXAction.C: ditto
12479 * FloatList.C: ditto
12480 * DepTable.C: ditto
12481 * ColorHandler.C (LyXColorHandler): ditto
12483 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12487 * text2.C (openStuff): reintroduce this method (which had been
12488 nuked in NEW_INSETS frenzy).
12490 * lyxfunc.C (Dispatch): when an action has not been handled, use
12491 its name in the error message, not its number.
12493 * paragraph.C (inInset): change method name to begin with lowercase.
12496 * text2.C: updates because of this.
12498 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12500 * ToolbarDefaults.C (add): add spaces in error message
12502 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12504 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12505 (readLyXformat2): rename return_par to first_par, use lyxlex's
12506 pushToken and remove the manual push handling.
12507 (parseSingleLyXformat2Token): add another ert comp. variable:
12508 in_tabular, rename return_par to first_par. handle newlines better
12510 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12512 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12514 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12516 * text2.C (getParFromID): removed
12518 * buffer.C (getParFromID): new method moved form lyxtext.
12519 * BufferView2.C (insertErrors): adjust
12520 (setCursorFromRow): adjust
12521 * BufferView_pimpl.C (restorePosition): adjust
12522 * lyxfunc.C (Dispatch): adjust
12523 * undo_funcs.C (textUndo): adjust
12525 (textHandleUndo): adjust
12526 (textHandleUndo): adjust
12528 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * buffer.C: up' the LYX_FORMAT
12532 * lyxfont.h: turn NO_LATEX on as default
12534 * buffer.C (insertErtContents): new methods of tex style compability.
12535 (parseSingleLyXformat2Token): use it several places.
12536 * tabular.C (OldFormatRead): and here
12538 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * text2.C: remove some commented code.
12543 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12544 * trans.C: changes because of the above.
12546 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12548 * text2.C (setCounter): Fix counters bug with bibliography layout.
12550 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12552 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12553 own member functions
12554 (simpleTeXSpecialChars): ditto
12556 2001-07-06 Juergen Vigna <jug@sad.it>
12558 * a lot of files: changed the access to LyXText::status and the
12559 call of undo-functions.
12561 * undo.[Ch]: added a inset_id to the undo informations.
12563 * undo_funcs.[Ch]: added and moved here all undo functions.
12565 * lyxtext.h: give the status enum a weight, made status_ a private
12566 variable and made accessor functions for it, removed the whole bunch
12567 of undo-functions as they are now in their own file, make some
12568 functions publically available. Added function ownerParagraph with
12571 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12572 made InInset() a const function, added getParFromID() function.
12574 * buffer.[Ch]: added const version for inset_iterator functions,
12575 added getInsetFromID() function.
12577 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12578 changed undo functions for new version.
12580 2001-07-05 Juergen Vigna <jug@sad.it>
12582 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12583 unknow mechanism does not call the proper constructor but only this
12584 one also if I request the other!?
12586 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12590 * text2.C (LyXText): use initialization lists.
12592 * lyxtext.h (Selection): initialize set_ and mark_
12593 (init): remove method
12595 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12597 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12599 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * screen.[Ch]: change method names to begin with lowercase
12603 * BufferView_pimpl.C (updateScrollbar): simplify further and
12604 hopefully make it a bit faster.
12606 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12608 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12609 calling directly xforms functions.
12611 * Painter.C (Painter):
12612 * lyx_cb.C (MenuWrite):
12613 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12616 * lyx_gui.C: remove bogus guiruntime extern declaration.
12618 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12622 (redoDrawingOfParagraph): ditto
12623 (redoParagraphs): ditto
12624 (cutSelection): don't create a object for CutAndPaste use the
12625 static method directly
12626 (pasteSelection): ditto
12628 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12631 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * modifications to some other files because of this.
12635 * Makefile.am (lyx_SOURCES): add XFormsView
12637 * XFormsView.[Ch]: new files
12639 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12640 the main window. Move the gui dependent stuff to XFormsView
12642 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * tabular.C (GetCellInset): update cur_cell also in the row/col
12645 version of this function.
12647 * lyxfunc.C: no need to include figure_form.h here.
12653 * lyxvc.C: no need to include forms.h here.
12655 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12659 * lyxfunc.C (Dispatch):
12661 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12662 constructor argument.
12664 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12666 * paragraph.C (Paragraph): dont't clear, and just set layout.
12667 (makeSameLayout): use params's copy contructor.
12669 * ParagraphParameters.[Ch] (makeSame): delete method
12671 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12673 * Variables.[Ch]: fix indentation, rename set to isSet
12675 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * lyxfunc.C (Dispatch): fix typo
12679 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12684 * bufferlist.C: include assert.h for emergencyWrite().
12686 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12688 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12689 give up at last (bug #425202) !
12691 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12697 * spellchecker.C: strip spellchecker options and bring up
12698 preferences tab instead
12700 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12702 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12703 the istringstream constructor
12705 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * paragraph.C (getLayout): fix return value
12709 * paragraph.h: do not declare getLayout as inline.
12711 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12713 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * lyxcursor.h (operator<): new func
12716 (operator>): new func
12717 (operator>=): new func
12718 (operator<=): new func
12720 * text.C (changeCase): use selection.start and selection.end
12721 (changeRegionCase): require from to be <= to. Require par to be a
12724 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12726 2001-06-27 Juergen Vigna <jug@sad.it>
12728 * text.C (cursorLeftOneWord): changed to return the cursor and added
12729 overlay with BufferView * parameter which calls this one.
12731 (selectWord): use new getWord function.
12732 (changeCase): renamed from changeWordCase as and extended to work
12733 also on selections.
12735 * lyxtext.h: added enum word_location
12737 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12738 changeCase as this operates now also on selections.
12740 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12742 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12744 * many files: send debug output to Debug::INFO instead of
12747 * converter.C (View):
12749 (Move): send debug output to Debug::FILES instead of console.
12751 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12753 * lyxfunc.C (getStatus): use func_status
12755 * func_status.h: new header, describing the results of
12756 LyXFunc::getStatus;
12758 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12761 2001-06-25 The LyX Project <jug@sad.it>
12763 * buffer.C (sgmlOpenTag):
12765 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12767 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * text2.C: remove some dead code
12771 * tabular.C (GetCellInset): store the last cell checked (gotten)
12773 * tabular.h: add the helper for the speedup
12775 * lyxtext.h: remove some dead code
12777 2001-06-26 The LyX Project <Asger>
12779 * paragraph.C: Change export to LaTeX of alignment to
12780 \begin{center} and family for better roundtrip work with reLyX.
12782 * Tune the math drawing a bit.
12784 2001-06-25 The LyX Project <Asger>
12786 * LColor.C (LColor): New color for math background. New color
12789 2001-06-25 The LyX Project <jug@sad.it>
12791 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12793 * lyxfunc.C (Open):
12794 * bufferlist.C (newFile): do not restrict to files ending with
12797 * BufferView_pimpl.C (MenuInsertLyXFile):
12799 2001-06-24 The LyX Project <jug@sad.it>
12801 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12804 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * lyxtext.h: rename most methods to begin with a small char.
12807 Lots of changes because of this.
12809 * paragraph.C (Paragraph): do not call fitToSize
12810 (erase): call Pimpl::erase
12811 (insertChar): call Pimpl::insertChar
12812 (insertInset): call Pipl::insertInset
12813 (breakParagraph): do not call fitToSize
12814 (breakParagraphConservative): do not call fitToSize
12815 (fitToSize): remove method
12817 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12819 2001-06-24 The LyX Project <Asger>
12821 * Fix Qt compilation^2
12823 2001-06-24 The LyX Project <jug@sad.it>
12825 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12826 depthHook(getDepth()-1).
12829 * ParagraphParameters.h:
12830 * ParameterStruct.h: change type of depth to unsigned int ==
12831 depth_type. Many adaptations to other files before of that.
12833 2001-06-24 The LyX Project <Asger>
12835 * Fix Qt compilation.
12837 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * paragraph.h: renamed several methods to begin with small letter.
12840 several changes to many parts of the code because of this.
12842 2001-06-23 The LyX Project <jug@sad.it>
12844 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12845 rewritten to discard all double spaces when KeepEmpty is off
12846 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12847 to only handle newlines but not fiddle with spaces and friends.
12849 * lyxfunc.C (MenuNew): when doing 'new from template', use
12850 template_path as default directory
12852 2001-06-23 The LyX Project <Asger>
12854 * Clean-up of header file includes all over
12855 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12857 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * paragraph.h: renamed from lyxparagraph.h
12861 2001-06-23 Asger <lyx@violet.home.sad.it>
12863 * Buffer.h: Removed Buffer::resize
12864 * BufferList.h: Removed BufferList::resize
12865 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12866 the document lazily when we change the width, or the font settings.
12868 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12870 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12874 * buffer.h: remove out of date comment
12876 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12879 * screen.C: fix "theoretical" GC leak
12881 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12883 * LaTeX.C (scanAuxFile):
12884 (deplog): remove trailing \r when reading stream (useful under
12887 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12889 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12890 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12891 and BufferView::theLockingInset(Inset*), so should use them and not
12892 access bv_->text->the_locking_inset directly.
12894 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12896 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12899 * tex-defs.h: remove old unused file
12901 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12903 * BufferView_pimpl.C: fix typo, remove minibuffer message
12904 when buffer has loaded
12906 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * lyxfunc.C (Dispatch): use stringstream
12909 (MenuNew): use stringstream
12910 (Open): use stringstream
12912 * importer.C (Import): use stringstream
12914 * bufferview_funcs.C (CurrentState): use stringstream
12916 * LaTeX.C (run): use stringstream
12918 * BufferView_pimpl.C (savePosition): use stringstream
12919 (restorePosition): use stringstream
12920 (MenuInsertLyXFile): use stringstream
12922 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12935 * vspace.C: removed // -*- C++ -*- as first line.
12938 * version.h: added // -*- C++ -*- as first line.
12940 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12944 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12947 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12952 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12954 * gettext.C: include LString.h even when --disable-nls is on.
12956 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12958 * converter.h (Get): changed argument type from int to
12959 FormatList::size_type to avoid unnecessary conversion.
12961 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12964 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12966 * gettext.h: include LString.h even when --disable-nls is on.
12968 2001-06-07 Juergen Vigna <jug@sad.it>
12970 * text.C (BreakAgain): subst spaces with tabs.
12972 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12973 (resizeInsetsLyXText): set force on resizeLyXText.
12975 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12977 * gettext.h (gettext_init):
12978 (locale_init): use a real definition instead of a macro
12980 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12982 * Bufferview_pimpl.C:
12984 * LColor.C: further lcolor tidies
12986 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * BufferView_pimpl.C (updateScrollbar): simplify.
12990 * BufferView2.C: don't include insets/insetinfo.h, change
12991 prototype for insertInset and call the Pimpl version. let
12992 updateInset call Pimpl version.
12994 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12995 gotoInset to BufferView::Pimpl
12997 2001-06-01 Juergen Vigna <jug@sad.it>
12999 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13000 inside a LockingInset (is the update needed at all?).
13002 2001-05-31 Juergen Vigna <jug@sad.it>
13004 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13005 here not the old one otherwise how should we compare it afterwards
13008 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * FontInfo.C: bring C functions into global namespace when
13016 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * LString.h: make sure config.h has been loaded before LString.h.
13020 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13021 (one for each char read by EatLine!).
13023 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13026 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13028 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13029 to the same as the par we break from
13031 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13035 * MenuBackend.C (expand): also create menu entries for wide
13036 versions of the floats.
13038 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13040 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13042 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13043 frontends/Makefile.am
13049 * tabular.C (getTokenValue): add std::
13051 * tabular-old.C (getTokenValue): add std::
13052 (getTokenValue): ditto
13053 (getTokenValue): ditto
13055 * screen.C (ToggleSelection): adjust
13057 * lyxtext.h: put selection cursors inside a Selection struct.
13059 * lyxfunc.C (moveCursorUpdate): adjust
13061 * lyxfont.C (latexWriteStartChanges): add std::
13063 * lyxfind.C: adjust
13065 * font.h: delete with(char const *, LyXFont const &)
13067 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13069 * FontInfo.C (getFontname): add std::
13071 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13072 (workAreaButtonPress): adjust
13073 (tripleClick): adjust
13075 (moveCursorUpdate): adjust
13078 * BufferView2.C (gotoInset): adjust
13080 2001-05-30 Juergen Vigna <jug@sad.it>
13082 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13083 to check pspell I add this as default as I now have new pspell
13084 libraries and they seem to use this.
13086 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13088 * text2.C (CutSelection): make the cursor valid before the call to
13091 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13093 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13094 relied on 0 terminated strings and other horrors. Bug found due to
13095 the new assert in lyxstring!
13097 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13100 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13105 * lyxfunc.C (processKeySym): change method of getting to the
13108 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13109 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13110 * BufferView_pimpl.[Ch]: here as private methods.
13112 2001-05-28 Juergen Vigna <jug@sad.it>
13114 * text.C (SetHeightOfRow): added the update() call again as it is
13115 needed to initialize inset dimensions!
13117 2001-05-16 Juergen Vigna <jug@sad.it>
13119 * text2.C (SetCharFont): Add new function with BufferView * and
13120 bool toggleall parameters for setting insets internal fonts.
13121 (SetFont): Freeze the undo as we may change fonts in Insets and
13122 all this change should be inside only one Undo!
13124 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13125 setting font's in insets as for them we have the SetFont function!
13127 2001-05-15 Juergen Vigna <jug@sad.it>
13129 * text2.C (ClearSelection): to be sure we REALLY don't have any
13132 * tabular.C (TeXCellPreamble): fixed the left border problem for
13135 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13137 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13140 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13142 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13143 LFUN_BREAKPARAGRAPH.
13145 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13146 help test to "internal only", similar for LFUN_INSERT_URL
13148 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13149 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13150 auto_region_delete and deadkeys.
13152 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13155 * LColor.C: remove some dead entries, tidy a little
13157 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13161 (Dispatch): implement LFUN_ESCAPE
13163 * commandtags.h: add LFUN_ESCAPE
13165 * LyXAction.C (init): add entry for LFUN_ESCAPE
13167 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13168 Remove commented code.
13169 (insertNote): moved here
13170 (open_new_inset): moved here
13172 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13175 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * kbmap.C (findbinding): clean it up and make it work correctly.
13179 * lyx_main.C (init): do not pass argc and argv as parameters
13181 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13183 * buffer.C: fix path for OS/2 & Win32
13187 * lyx_main.C: Added os:: class.
13189 * os2_defines.h: update
13191 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13194 better by trying again with reduced state.
13196 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * lyxrc.C (read): print error about invalid key sequence only when
13199 debugging (because not all latinX keysyms are known to some X
13202 * kbsequence.C (getiso): add a few std:: qualifiers
13203 (getiso): comment out extra return statement.
13205 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13209 (Dispatch): enhance the accent inset a bit. (not perfect)
13211 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13215 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * bufferlist.C (emergencyWrite): fix assert() call
13219 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13221 * text.C (InsertChar): Added trivial patch to only send the "you
13222 can not do multiple spaces this way" message once during a
13225 2001-05-08 Baruch Even <baruch@lyx.org>
13227 * Makefile.am: Changed order of libraries to get LyX to link properly
13228 with the gnome frontend.
13230 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * LaTeXFeatures.h: add a std:: qualifier
13234 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * paragraph.C (String): use stringstream
13238 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * paragraph.C (writeFile): remove footflag arg
13242 * buffer.C (makeLaTeXFile): use stringstream
13243 (latexParagraphs): remove footnot gurba
13245 * LaTeXFeatures.C (getPackages): use stringstream
13246 (getMacros): likewise
13247 (getTClassPreamble): likewise
13248 (getFloatDefinitions): new method
13250 * paragraph.C (writeFile): reindent
13253 * WorkArea.h: revert the xpos + etc changes.
13255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13257 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13259 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13260 (pasteSelection): likewise
13261 * text2.C (CreateUndo): likewise
13263 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * minibuffer.C (peek_event): temporarily reduce the functionality
13266 of the minibuffer (to allow args on lfuns)
13268 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13269 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13271 * buffer.C (readInset): add compability reading of old float
13272 lists, add reading of new style float list.
13273 (readInset): avoid reevaluation of inscmd.getCmdName()
13274 (getLists): reindent
13276 * MenuBackend.C (MenuItem): implement parsing of
13277 md_floatlistinsert and md_floatinsert.
13278 (expand::LastFiles): move initalizaton of iterators out of loop,
13279 avoid reevaluation.
13280 (expand::Documents): introduce typdedef vector<string> Strings,
13282 (expand::ExportFormats): introduce typedef vector<Format const *>
13283 Formats, and use it.
13284 (expand): implement FloatListInsert and FloatInsert.
13286 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13287 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13288 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13290 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13292 (Dispatch::LFUN_FLOAT_LIST): implement
13294 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13296 * LaTeX.C (run): Fix problem with --export code.
13298 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13300 * BufferView.[Ch] (workarea): removed.
13301 (getClipboard) new method; wrapper for workarea()->getClipboard()
13303 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13306 * WorkArea.h (width, height, xpos, ypos): These methods all
13307 returned the dimensions of the work_area sub-area of WorkArea,
13308 resulting in a position error if the WorkArea were resized. Now
13309 return the dimensions of the entire WorkArea.
13311 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13313 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * LaTeX.C (deplog): correct the syntax of regex reg1
13317 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * undo.C: remove !NEW_INSETS cruft
13321 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * text2.C: remove !NEW_INSETS cruft
13325 * text.C: remove !NEW_INSETS cruft
13327 * tabular.C: remove !NEW_INSETS cruft
13329 * spellchecker.C: remove !NEW_INSETS cruft
13331 * lyxtext.h: remove !NEW_INSETS cruft
13333 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13335 * lyxfunc.C: remove !NEW_INSETS cruft
13337 * lyxfind.C: remove !NEW_INSETS cruft
13339 * lyx_cb.C: remove !NEW_INSETS cruft
13341 * figureForm.C: remove !NEW_INSETS cruft
13343 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13345 * buffer.[Ch]: remove !NEW_INSETS cruft
13347 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13349 * CutAndPaste.C: remove !NEW_INSETS cruft
13351 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13353 * BufferView2.C: remove !NEW_INSETS cruft
13355 * BufferView.h: remove !NEW_INSETS cruft
13357 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * Lsstream.h: include LString.h before the sstream headers to
13360 fix problem with gcc 2.95.3 and lyxstring
13362 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13364 * lyx_main.C: add using directives when needed for C functions
13365 declared in std:: namespace.
13367 2001-04-27 Juergen Vigna <jug@sad.it>
13369 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13370 (SetHeightOfRow): comment out the update call should not be needed!
13372 2001-04-13 Juergen Vigna <jug@sad.it>
13374 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13375 (LyXTabular): tried to minimize operator= operations (and realized
13376 hopfully Lars wish).
13378 2001-04-27 Juergen Vigna <jug@sad.it>
13380 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13382 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13386 * buffer.C (readInset): hack to make listof algorithm work
13388 * BufferView_pimpl.C: hack to make listof algorithm work
13390 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * LyXAction.C: removed all !NEW_INSETS cruft
13393 (init): moved lfun_item in method
13395 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13397 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13399 * BufferView2.C (theLockingInset): white space.
13401 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * minibuffer.C: include <iostream>
13405 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13407 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13409 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13411 * text.[Ch] (TransposeChars): new method
13413 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13415 * call message directly through LyXView instead of through LyXFunc
13416 * BufferView2.C: adjust
13417 * BufferView_pimpl.C: adjust
13418 * FontLoader.C: adjust
13420 * bufferview_funcs.C: adjust
13421 * converter.C: adjust
13422 * figureForm.C: adjust
13423 * importer.C: adjust
13425 * lyx_gui_misc.C: adjust
13426 * lyxfunc.C: adjust
13429 + more files in subdirs
13431 * lyxparagraph.h (size): move up int file
13434 * adjust all uses of Assert to lyx::Assert.
13436 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13437 lyxfunctional in namespace lyx
13438 * layout.C (hasLayout): ditto
13441 (delete_layout): ditto
13442 (NumberOfClass): ditto
13443 * converter.C (GetFormat): ditto
13448 * bufferlist.C (getFileNames): ditto
13449 (emergencyWriteAll): ditto
13452 * MenuBackend.C (hasSubmenu): ditto
13455 * BufferView_pimpl.C (getInsetByCode): ditto
13457 2001-04-18 Juergen Vigna <jug@sad.it>
13459 * vspace.C (asLatexString): fixed the 100% problem.
13461 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13463 * lyxfunc.C (Dispatch):
13465 * minibuffer.h: add a few std:: qualifiers
13467 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * minibuffer.[Ch]: reimplement so that commands is initiated and
13470 run from lyxfunc, simplified som handling, and made the completion
13471 and history code for complete. wip.
13473 * lyxfunc.C (processKeySym): call message
13474 (miniDispatch): new temporary method
13475 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13476 (LFUN_MESSAGE): implement
13477 (LFUN_MESSAGE_PUSH): implement
13478 (LFUN_MESSAGE_POP): implement
13479 (initMiniBuffer): the initial/defualt minibuffer message.
13481 * lyxfont.[Ch]: inline some more getters
13483 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13485 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13487 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13488 (AutoSave): use LFUN_MESSAGE
13489 (Reconfigure): ditto
13491 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13493 * figureForm.C: use LFUN_MESSAGE
13495 * converter.C (runLaTeX): use LFUN_MESSAGE
13497 * bufferview_funcs.C: use LFUN_MESSAGE
13499 (changeDepth): ditto
13501 * bufferparams.h: use boost::
13503 * bufferlist.h: inherit privately from noncopyable
13505 * bufferlist.C (loadLyXFile): remove some commented code.
13507 * buffer.C (runChktex): use LFUN_MESSAGE
13509 * ShareContainer.h: inherit privately from noncopyable
13511 * ParagraphParameters.[hC] (depth): inline it.
13513 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13515 (message): new method
13516 (messagePush): ditto
13517 (messagePop): ditto
13518 (show): init minibuffer
13519 (showState): direct call
13521 * LaTeX.[Ch]: inherit privately from noncopyable
13522 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13523 instead of WriteStatus.
13525 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13527 * BufferView_pimpl.C (buffer): don't init minibuffer
13528 (workAreaButtonPress): use LFUN_MESSAGE
13529 (workAreaButtonRelease): ditto
13530 (savePosition): ditto
13531 (restorePosition): ditto
13532 (MenuInsertLyXFile): ditto
13533 (workAreaExpose): don't init minibuffer
13534 (update): remove commented code, simplify
13536 * BufferView2.C (openStuff): use LFUN_MESSAGE
13537 (toggleFloat): ditto
13540 (copyEnvironment): ditto
13541 (pasteEnvironment): ditto
13546 (updateInset): remove some commented code
13548 * lastfiles.h: inherit privately from noncopyable
13551 * lyx_main.h: ditto
13553 * lyxlex_pimpl.h: ditto
13555 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13556 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13557 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13559 * LyXAction.h: inherit privately from noncopyable, add methods
13560 func_begin, func_end, returning iterators to the func map.
13562 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13563 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13564 (func_begin): new method
13565 (func_end): new method
13567 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13569 (copySelection): ditto
13570 (pasteSelection): ditto
13572 * BufferView.C: whitespace change
13573 * BufferView.h: inherit privately from noncopyable
13575 2001-04-16 Allan Rae <rae@lyx.org>
13577 * tabular-old.C (l_getline):
13578 * spellchecker.C (sc_check_word):
13579 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13580 an unrecognised preprocessor directive. So ensure they're wrapped.
13582 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13584 * src/exporter.C (Export): Give an error message when path to file
13587 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13589 * LaTeX.C (deplog): Always check that foundfile exists.
13591 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13596 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * tabular.[Ch] (getLabelList): implement new method
13600 * minibuffer.h: comment ouf setTiimer
13602 * minibuffer.C (ExecutingCB): constify res
13603 (peek_event): constify s
13604 (Set): constify ntext
13605 (Init): constify nicename
13607 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13609 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13610 (savePosition): use two params to Minibuffer::Set
13611 (restorePosition): ditto
13613 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13615 * lyx_main.C: include language.h
13617 * Makefile.am (lyx_main.o): add language.h
13619 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * CutAndPaste.C: include gettext.h
13627 * lyxfont.h: remove old hack with ON and OFF.
13630 * lyxfont.h: do not include language.h...
13635 * bufferview_funcs.C:
13641 * paragraph.C: ... but do it here instead
13643 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13645 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13647 * tabular.C: small reformat
13649 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13652 (BreakParagraph): ditto
13653 (SetOnlyLayout): ditto
13656 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13659 * lastfiles.C: removed most using decl, add std:: where needed
13661 * buffer.C: ws changes
13663 * MenuBackend.C (class compare_format): put into anon namespace
13664 (expand): constify label, names, action, action2
13667 * text.C (SingleWidth): constify font
13668 (IsBoundary): constify rtl2
13669 (GetVisibleRow): constify ww
13671 * LaTeX.C (deplog): constify logfile
13673 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13675 (workAreaExpose): constify widthChange, heightChange
13677 * lyxrow.C (par): moved
13680 * lyxrow.h: as inlines here
13682 * lyxfont.h (shape): moved from lyxfont.C
13683 (emph): moved from lyxfont.C
13685 * lyxfont.C (LyXFont): use initialization list for all
13687 (shape): move to lyxfont.h as inline
13688 (emph): move to lyxfont.h as inline
13691 2001-04-04 Juergen Vigna <jug@sad.it>
13693 * vspace.C: had to include stdio.h for use of sscanf
13695 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13698 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13699 independent of xforms.
13701 2001-04-02 Juergen Vigna <jug@sad.it>
13703 * spellchecker.C: fixed namespace placing!
13705 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13707 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13708 the LyXParagraph * is 0.
13710 2001-03-29 Juergen Vigna <jug@sad.it>
13712 * vspace.C: added support for %, c%, p%, l%.
13713 (stringFromUnit): added helper function.
13714 (asLatexString): changed to give right results for the %-values.
13716 * buffer.C: convert the widthp in a width%.
13718 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13720 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13723 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13724 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13726 * lyx_cb.[Ch]: see above.
13728 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13732 * lyx.[Ch]: replaced by figure_form.[Ch].
13736 * lyxfunc.C: changed headers associated with above changes.
13738 2001-03-27 Juergen Vigna <jug@sad.it>
13740 * BufferView_pimpl.C: set the temporary cursor right!
13742 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13744 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13746 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13748 * LString.h: removed "using std::getline"!
13750 * BufferView_pimpl.C (Dispatch): changes due to changes in
13751 InsetInclude::Params.
13753 * buffer.C (tag_name): removed redundant break statements as they were
13754 producing lots of warnings with my compiler.
13756 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13758 * LString.h: add "using std::getline" when using the real <string>.
13760 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13762 * buffer.C: removed bitset usage.
13763 PAR_TAG moved to an anonymous name space.
13764 (tag_name): new funtion, also in the anonymous namespace.
13765 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13766 (makeDocBookFile): clean code. Completed transition from string arrays
13768 (SimpleDocBookOnePar): code clean.
13770 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13772 * tabular.C: add some comments.
13774 2001-03-22 Juergen Vigna <jug@sad.it>
13776 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13777 compatibility read a bit and fixed bug with minipage in different
13780 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13782 * buffer.C (pop_tag): removed.
13783 (push_tag): removed.
13784 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13785 array replaced with vector. Added support for CDATA sections.
13786 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13788 (makeDocBookFile): XML conformant declaration of CDATA section,
13789 fixed bug related to <emphasis> in the first paragraph char.
13790 (sgmlOpenTag): exclude empty tags.
13791 (sgmlCloseTag): ditto.
13793 * buffer.h (pop_tag): removed.
13794 (push_tag): removed.
13796 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13798 * language.h (Languages): added size_type and size().
13800 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13802 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13803 response on compability reading of minipages. One probliem is that
13804 the old usage of minipages was «flertydig»
13806 * several files here and in subdirs: don't use static at file
13807 scope use anon namespaces instead.
13809 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13811 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13812 LaTeX output. This is necessary for Literate document
13815 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13817 * buffer.C: insert hfill when needed.
13819 * tabular.C (l_getline): use string::erase, small whitespace change.
13821 * BufferView_pimpl.C: try the anon namespace.
13822 * WorkArea.C: ditto
13824 2001-03-16 Juergen Vigna <jug@sad.it>
13826 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13827 otherwise it won't open options-dialogs.
13829 * buffer.C: honor pextraWidth(p) on converting minipages.
13831 * tabular.C (l_getline): changed the functions to strip trailing \r.
13833 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13835 * BufferView_pimpl.C:
13836 * minibuffer..C: added "using SigC::slot" declaration.
13838 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13840 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13846 * paragraph.C: ditto
13848 * lyxtext.h: NO_PEXTRA
13850 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13852 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13853 * ParameterStruct.h: ditto
13854 * ParagraphParameters.h: ditto
13855 * lyxparagraph.h: ditto
13857 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13859 * buffer.C: add compability for minipage alignment.
13860 (latexParagraphs): remove unwanted pextra check.
13862 * several files: remove CXX_WORKING_NAMESPACES
13864 * buffer.C (pop_tag): tie is in namespace boost
13866 * BufferView.h: noncopyable is in namespace boost
13868 * lyx_main.h: ditto
13871 * lastfiles.h: ditto
13872 * bufferlist.h: ditto
13873 * ShareContainer.h: ditto
13875 * LyXAction.h: ditto
13878 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13880 * Merging changes from BRANCH_MVC back into HEAD.
13882 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13884 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13886 * BufferView_pimpl.C: change from intl.C
13890 * Makefile.am: move combox.*
13896 * intl.C: remove dialog (covered by prefs)
13898 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13900 * lyxfunc.C (Dispatch): removed redundant break statement.
13902 2001-03-14 Juergen Vigna <jug@sad.it>
13904 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13906 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13908 * buffer.C: add hack to fix compability reading of minipages.
13910 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13912 * buffer.C (getLists): Cleanup.
13914 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * lyxfont.C (update): don't honor toggleall on font size.
13918 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13922 * Makefile.am: moved to frontends/xforms/
13926 * BufferView_pimpl.C: changes for moved mathpanel
13928 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13930 * gettext.h: fix gettext_init() in --disable-nls
13932 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13936 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13939 * lyx.h: strip external form
13941 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13943 * BufferView_pimpl.C: add comment, destroySplash()
13945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13947 * BufferView_pimpl.C:
13951 * lyxfunc.C: use re-worked insetinclude
13953 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13955 * buffer.C: add using std::stringstream.
13957 * lyx_cb.C: readd using std::ios.
13959 * buffer.C: add using std::map.
13961 * BufferView_pimpl.C: add using std::vector.
13963 * ShareContainer.h: add std:: to swap.
13965 * buffer.h: add some typedefs
13966 * buffer.C (getLists): use them
13967 (getLists): renamed from getTocList.
13968 add a counter for the different float types and use it in the
13970 (getLists): use the same counter for the NEW_INSETS and the "non"
13973 * lyx_cb.h: remove unused items, includes, using etc.
13975 * ShareContainer.h: remove some commented code, add more comments
13976 and "documentation".
13978 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13980 * buffer.C (getTocList): make the list also when NEW_INSETS is
13983 * buffer.h: remove TocType
13985 * buffer.C (getTocList): change to return a map<string,
13986 vector<TocItem> >, implement for dynamic number of list.
13988 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13989 * text2.C (PasteSelection): adjust
13990 * CutAndPaste.C (pasteSelection): adjust
13992 * FloatList.C (FloatList): update from the new_insets branch.
13993 * Floating.[Ch]: ditto
13994 * LaTeXFeatures.C: ditto
13996 * lyxlex_pimpl.C: ditto
13998 * paragraph.C (Last): remove when NEW_INSETS is defined.
14000 * other file: changes because of the above.
14002 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14004 * lyxparagraph.h: rename next to next_, previous to previous_,
14005 make them private for NEW_INSETS. Rename Next() to next(),
14006 Previous() to previous().
14008 * other files: changes because of the above.
14010 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14013 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14016 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14018 * main.C (main): pass lyx_localedir to gettext_init().
14020 * gettext.h: remove locale_init and gettext_init macros
14022 * gettext.C (locale_init): new function
14023 (gettext_init): new function
14025 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14028 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14030 * Moved credits to frontends:
14031 * credits.[Ch]: removed
14032 * credits_form.[Ch]: removed
14033 * lyx_gui_misc.C: remove credits stuff
14036 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14038 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14040 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14041 unneeded destructor.
14043 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14044 a standalone pointer again.
14046 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14048 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14054 * ToolbarDefaults.C:
14063 * BufferView_pimpl.C: use new file dialog in GUII
14066 * lyx_cb.C: remove LayoutsCB to Toolbar
14068 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * ShareContainer.h (get): add std:: qualifier
14072 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * ShareContainer.h: define a proper ShareContainer::value_type
14075 type (and use typename to please compaq cxx)
14077 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14079 * lyxparagraph.h: move serveral local vars to
14080 ParameterStruct/ParagraphParameters., use ShareContainer in
14081 FontTable., make vars in FontTable private and add getter and
14084 * paragraph.C: changes because of the above.
14086 * lyxfont.h: remove copy constructor and copy assignment. (the
14087 default ones is ok), move number inside FontBits. move inlines to
14090 * lyxfont.C: add number to initializaton of statics, move several
14091 inlines here. constify several local vars. some whitespace
14092 cleanup. Dont hide outerscope variables.
14094 * Spacing.h: add two new constructors to match the set methods.
14096 * ShareContainer.h: new file, will perhaps be moved to support
14098 * ParameterStruct.h: new file
14100 * ParagraphParameters.h: new file
14102 * ParagraphParameters.C: new file
14104 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14105 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14107 * BufferView_pimpl.C: ParagraphParameter changes.
14108 * buffer.C: Likewise.
14109 * bufferview_funcs.C: Likewise.
14110 * text.C: Likewise.
14111 * text2.C: Likewise.
14113 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * lyxfind.C (LyXReplace): do not redefine default argument in
14117 (IsStringInText): ditto
14118 (SearchForward): ditto
14119 (SearchBackward): ditto
14121 2001-03-06 Juergen Vigna <jug@sad.it>
14123 * lyxfind.C (IsStringInText): put parentes around expressions.
14125 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14127 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14129 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14131 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14133 * stl_string_fwd.h: add comment
14135 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14138 * tabular.C: remove unused DocBook methods
14144 killed DO_USE_DEFAULT_LANGUAGE
14146 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * lyx_gui.C: do not include language.h.
14150 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14151 arguments in function implementation.
14153 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14155 * BufferView_pimpl.C: add <ctime>
14157 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14159 * BufferView_pimpl.C: add using std::find_if
14161 2001-02-27 José Matos <jamatos@fep.up.pt>
14163 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14166 2001-02-11 José Matos <jamatos@fep.up.pt>
14168 * buffer.C (makeDocBookFile): command styles now have a parameter as
14169 "title" by default.
14171 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14173 * layout_forms.[Ch]: removed
14174 * lyx_cb.[Ch]: out character
14175 * lyx_gui.C: out character
14176 * lyx_gui_misc.C: out character
14177 * bufferview_funcs.C: : out character,
14178 added toggleall as parameter in ToggleAndShow
14180 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14182 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14184 * text2.C (SetCurrentFont): Disable number property at boundary.
14186 2001-02-26 Juergen Vigna <jug@sad.it>
14188 * lyxfunc.C (getStatus): added a string argument override function so
14189 that this is correctly called from LyXFunc::Dispatch if it contains a
14190 do_not_use_argument which is used!
14191 (Dispatch): added check for "custom" export and call appropriate func.
14193 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14195 * lyxrc.C: Add language_command_local, language_use_babel and
14196 language_global_options.
14198 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14200 * buffer.C (makeLaTeXFile): Use language_use_babel and
14201 language_global_options.
14203 2001-02-23 Juergen Vigna <jug@sad.it>
14205 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14206 which works with LyXText and putted it inside BufferView. Here now we
14207 only call for that part the BufferView::Dispatch() function.
14209 * BufferView.C (Dispatch): added.
14211 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14212 functions which needs to use a LyXText over from LyXFunc.
14213 (MenuInsertLyXFile): added
14214 (getInsetByCode): added
14215 (moveCursorUpdate): added
14216 (static TEXT): added
14218 2001-02-22 Juergen Vigna <jug@sad.it>
14220 * BufferView_pimpl.C (update): call a status update to see if LyXText
14223 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14225 * vc-backend.C (revert): implement for CVS
14226 (getLog): implement for CVS
14228 2001-02-20 Juergen Vigna <jug@sad.it>
14230 * text2.C (ClearSelection): added BufferView param for inset_owner call
14232 * lyxfunc.C (TEXT): added this function and use it instead of
14233 directly owner->view()-text of getLyXText().
14235 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14237 * src/layout_forms.C: out preamble
14238 * src/layout_forms.h: out preamble
14239 * src/lyx_cb.C: out preamble
14240 * src/lyx_cb.h: out preamble
14241 * src/lyx_gui.C: out preamble
14242 * src/lyx_gui_misc.C: out preamble
14243 * src/lyxfunc.C: connect with guii preamble
14245 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14247 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14249 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14251 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14252 whether to run bibtex.
14254 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14256 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14258 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14260 * Makefile.am (lyx_SOURCES): removed bibforms.h
14262 * vspace.h: doxygen
14264 * text.C (GetVisibleRow): make several local vars const
14266 * tabular.C: small cleanup.
14268 * lyxserver.C (callback): use compare instead of strncmp
14270 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14271 inlines to after class or to paragraph.C
14273 * lyxfont.h: remove friend operator!=
14275 * converter.h: move friend bool operator< to non friend and after
14278 * combox.h: small cleanup
14280 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14281 to inlines after class def.
14283 * buffer.C (pop_tag): use string operations instead of strcmp
14285 * bmtable.c: doxygen, small cleanup
14287 * LaTeX.h: remove friend operator==
14289 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14301 * BufferView_pimpl.C:
14302 * BufferView.[Ch]: remove cruft
14304 2001-02-14 Juergen Vigna <jug@sad.it>
14306 * lyxfunc.C: removed #if 0 unused code
14308 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14310 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14312 * text2.C (SetSelection): added a BufferView * parameter
14314 2001-02-13 Juergen Vigna <jug@sad.it>
14316 * lyxfunc.C (Dispatch): fixed protected blank problem.
14317 * BufferView2.C (protectedBlank): added LyxText * parameter.
14319 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14320 (AppendColumn): same as above for column_info.
14322 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14323 (moveCursorUpdate): use a LyXText param for support of InsetText.
14325 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14326 (tripleClick): ditto
14328 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14330 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14332 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14334 * text2.C (SetSelection): set correct update status if inset_owner
14335 (ToggleFree): ditto
14337 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14339 * tabular.C: remove some commented code.
14341 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14343 * BufferView_pimpl.C: call hideSplash()
14345 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14348 * bibforms.h: remove
14351 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14352 add LFUN_CHILD_CREATE
14354 * counters.h: fix tiny typo
14359 * lyx.C: move splash to frontends/xforms/
14361 * lyx_gui_misc.C: move Include and Bibform to frontends
14363 * lyxvc.h: clarify comment
14365 * vspace.C: tiny housekeeping
14367 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14369 * text.C (PrepareToPrint): RTL Fix.
14371 * paragraph.C (GetUChar): New method.
14372 (String): Use GetUChar.
14374 * buffer.C (asciiParagraph): Use GetUChar.
14376 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14378 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14380 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14383 * buffer.C: rename to getLogName(), handle
14384 build log / latex log nicely
14386 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * MenuBackend.h: remove support for reference menuitem type.
14391 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14393 * BufferView_pimpl.C: housekeeping
14394 * BufferView_pimpl.h:
14399 * minibuffer.h: move Timeout GUI-I
14401 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14403 * lyxrc.C (read): Update converters data-structures.
14405 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14407 * LaTeX.h (operator!=): add operator != for Aux_Info
14409 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14411 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14413 * LaTeXLog.C: deleted, useful code moved to Buffer
14416 * buffer.C: new function getLatexLogName()
14422 * lyxfunc.C: use frontends for LaTeX and VC logs
14424 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * LaTeX.h: yet another std:: that Allan forgot.
14428 * Variables.C (set): renamed from isset(), because this clashes
14429 with some HP-UX macros (grr).
14431 2001-02-06 Allan Rae <rae@lyx.org>
14433 * LaTeX.h: Another bug fix. Missing std:: this time.
14435 2001-02-04 Allan Rae <rae@lyx.org>
14437 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14438 floats problem. I've left it commented out because it's not quite
14439 correct. It should also test that the current object is a table or
14440 figure inset. But I haven't gotten around to figuring out how to do
14441 that. I *think* it'll be something like: "table" == inset.type()
14443 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14446 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14448 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14449 all the citation/databases/styles in the auxilary file.
14450 (run): Rerun latex if there was a babel language error.
14452 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14454 * text.C (Backspace): Preserve the font when changing newline char
14456 (BreakParagraph): If the cursor is before a space, delete the space.
14458 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14460 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14462 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14463 new argument (code).
14464 (ChangeCitationsIfUnique): New method.
14466 * paragraph.C (GetPositionOfInset): Handle bibkey.
14468 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * BufferView_pimpl.h: change type of Position::par_pos to
14471 LyXParagraph::size_type.
14473 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14475 * BufferView_pimpl.C (savePosition, restorePosition): Write
14476 messages to minibuffer.
14478 2001-01-28 José Matos <jamatos@fep.up.pt>
14480 * buffer.C (makeDocBookFile): adds support for document language.
14481 A silly restriction on the name of LatexCommand types where removed.
14482 Added support for CDATA sections, allows to chars unescaped, used
14483 among others in code, to avoid escape < and >.
14485 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14487 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14488 saved positions instrad of a stack. Furthermore, a position is
14489 stored using paragraph id/paragraph position.
14491 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14492 Remove LFUN_REF_BACK.
14494 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14496 * converter.C (dvipdfm_options): New method.
14498 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14500 * vspace.C (isValidLength): Fix for empty input string.
14502 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14504 * LyXAction.C (init): change description of LFUN_FIGURE to
14507 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14509 * LaTeX.C: add using directive
14511 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14513 * MenuBackend.C (expand): Fix the sorting of the formats.
14515 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14517 * lyx_main.C: tiny error message fix
14519 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14521 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14522 calling fl_initialize(). This fixes the problem with ',' as
14523 decimal separator in text files.
14525 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14527 * trans.C (process): Fix the keymap bug.
14529 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14531 * LaTeX.C (scanAuxFiles): New method. Provides support for
14532 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14533 (scanLogFile) Scan for "run BibTeX" messages.
14535 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14536 OT1 font encoding. Also, load the aecompl package if the ae
14539 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14541 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * texrow.C (increasePos): turn two error messages into debug
14546 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14548 * LaTeX.C (scanAux): Handle the \@input macro.
14549 (runBibTeX): Use scanAux().
14551 * language.C (latex_options_): New field.
14553 * LaTeXFeatures.C (getMacros): Add language macros.
14555 * buffer.C (makeLaTeXFile): Small fix.
14557 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14561 * text2.C: add a using directive.
14563 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14568 * lyxfunc.C: kill LyXBell.
14570 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14572 * text.C (IsBoundary): Remove the error message
14574 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14576 * lyxrc.C (setDefaults): Correct initialization value for
14579 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14581 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14584 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14585 and GotoNextNote().
14587 * src/LyXAction.C: Added reference-next.
14589 * text.C (InsertChar): Use contains instead of strchr.
14591 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14593 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14595 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14596 alignment commands (when needed).
14598 * text.C (InsertChar): Add ':' to number separator chars.