1 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * vc-backend.C (scanMaster): ";" -> ';'
5 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
10 * lyxtextclass.C (compare_name): rename to...
11 (LayoutNamesEqual): ...this
13 * lyxlex_pimpl.C (compare_tags): inherit from
14 std::binary_function, put back into anon namespace
16 * lyxfind.C (MatchString): inherig from std::binary_function
17 (findChange): use empty() istead of !size()
19 * format.C (FormatNamesEqual): new functor
26 * converter.C (compare_Converter): rename to...
27 (ConverterEqual): ...this, and fixup a bit.
28 (getConverter): use it, and make function const
29 (getNumber): use it, and make function const
33 * bufferlist.C: add using boost::bind
35 * MenuBackend.C (MenuNamesEqual): new functor
36 (hasMenu): use it, and make function const
37 (hasSubmenu): use nested bind to get rid of compare_memfun.
39 2004-01-30 André Pönitz <poenitz@gmx.net>
52 * text3.C: move some of the edit(x,y) handling to the insets
53 some coordinate changes.
55 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
57 * text.C: add using statements for std::advance and std::distance
59 * paragraph.C: add using statement for std::distance
61 * lyxfind.C: add using statement for std::advance
63 * cursor.C (region): remove std:: from swap
64 (openable): use nucleus in stead of operator->
66 * BufferView.C: add using statements for std::distance and std::swap
68 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * iterators.C: Remove the pimple, move the needed structures to
71 the header file. Create accessor for the positions stack.
72 (asPosIterator): remove function
74 * PosIterator.C (PosIterator): move constructors to top of file
75 (PosIterator): reimplement the constructor taking a ParIterator in
77 (setFrom): new function
78 (operator!=): inline it
80 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
82 * lyxfind.C (replaceAll): use std::advance
84 * iterators.h: inherit from std::iterator.
86 * PosIterator.C (advance, distance): remove
87 * PosIterator.h: interit from std::iterator.
89 2004-01-26 André Pönitz <poenitz@gmx.net>
92 * BufferView_pimpl.[Ch]:
107 * output_plaintext.C:
109 * paragraph_funcs.[Ch]:
110 * paragraph_pimpl.[Ch]:
116 * text3.C: more IU: dumps most of the rest of the mathcursor
117 implementation into cursor.[Ch]; "globalize" a bit of it.
119 2004-01-25 Angus Leeming <leeming@lyx.org>
121 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
123 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
125 * LaTeXFeatures.h: add nice_ and nice() const
126 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
128 2004-01-20 André Pönitz <poenitz@gmx.net>
131 * BufferView_pimpl.C:
133 * bufferview_funcs.C:
146 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
147 LCursor and mathcursor parts to LCursor and InsetBase.
149 2004-01-15 André Pönitz <poenitz@gmx.net>
151 * cursor_slice.[Ch]: add a few covienience functions
153 * funcrequest.[Ch]: remove BufferView * member
155 * BufferView_pimpl.C:
162 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
164 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
166 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
167 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
169 2004-01-13 André Pönitz <poenitz@gmx.net>
172 * lyxtext.h: hide cursor and selection anchor behind accessor function
175 * BufferView_pimpl.[Ch]:
177 * bufferview_funcs.C:
187 * cursor_slice.[Ch]: some integer type changes for inset unification
189 * lyxcursor.[hC]: remove, it's CursorSlice now.
192 * BufferView_pimpl.[Ch]:
193 * bufferview_funcs.C:
199 * textcursor.[Ch]: adjust
201 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
203 * text2.C (undoSpan): add and use
204 * text.C (breakParagraph): use undoSpan (fix bug 578)
207 2004-01-08 Angus Leeming <leeming@lyx.org>
209 * BufferView_pimpl.C (MenuInsertLyXFile):
210 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
211 * lyxfunc.C (menuNew, open, doImport):
212 FileFilterList change to the FileDialog open and save functions.
214 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
216 * ShareContainer.h: make isEqual and isUnique adaptable
218 * CutAndPaste.C: make resetOwnerAndChanges adaptable
220 2004-01-07 Angus Leeming <leeming@lyx.org>
223 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
225 * BufferView_pimpl.C (dispatch): act on these LFUNs.
227 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
228 functions replacing find, replace and replaceAll.
230 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
231 LFUN_WORDFIND(FORWARD|BACKWARD).
233 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
235 * text.C (breakParagraph): remove an outdated #warning
237 2004-01-07 André Pönitz <poenitz@gmx.net>
239 * lyxfind.C: somewhat clearer logic
241 * text.C: prevent crash in cursorX on unitialized row cache
243 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
245 * lyxcursor.[Ch] (operator>): add
246 * textcursor.C (selStart, selEnd): use std::min and std::max
248 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
250 * Chktex.C: include boost/format.hpp
252 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
254 * InsetList.C: replace functor MathcIt with adaptable functor
256 (insetIterator): modify accordingly
258 * BranchList.h: move the BranchNamesEqual functor here from...
259 * BranchList.C: ... to here
261 * BranchList.C: new BranchListEqual fuctor, use it. Remove
263 (add): replace a finding loop with std::find_if.
265 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
267 * output_docbook.C: moving LatexParam functionality into
270 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
272 * buffer.C: increment format to 229.
274 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
277 * lyx_sty.[Ch]: remove minipageindent_def
283 * text3.C: remove LFUN_INSET_MINIPAGE
285 2003-12-28 Angus Leeming <leeming@lyx.org>
287 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
289 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
291 * text2.C (setParagraph): fix off-by-one crash
293 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
295 * output_docbook.C: header stuff for AGU
297 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
299 * text2.C (redoCursor): remove
302 * BufferView_pimpl.C: remove calls to redoCursor and
303 setCursor(cursor.par(), cursor.pos()) all around
305 2003-12-15 Angus Leeming <leeming@lyx.org>
307 * buffer.C: up the format to 228.
309 2003-12-15 André Pönitz <poenitz@gmx.net>
311 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
316 * BufferView_pimpl.C:
325 2003-12-15 Angus Leeming <leeming@lyx.org>
327 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
328 than getFromGUIName to manipulate the color.
330 2003-12-14 Angus Leeming <leeming@lyx.org>
332 * BranchList.[Ch]: minimize the API.
333 (Branch::getBranch, getColor): now return a 'const &'.
334 (Branch::setSelected) now returns a bool set to true if the
335 selection status changes.
336 (BranchList::clear, size, getColor, setColor, setSelected,
337 allBranches, allSelected, separator): removed.
338 (BranchList::find): new functions, returning the Branch with
340 (BranchList::add, remove): return a bool indicating that
341 the operation was successful.
343 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
344 new InsetBranch::isBranchSlected member function.
346 * LColor.[Ch]: mimimize the API.
347 (fill): renamed as addColor and made private.
348 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
349 versions of these functions taking a string arg have been removed.
351 * bufferparams.C (readToken):
352 * lyxfunc.C (dispatch):
353 * lyxrc.C (read): changes due to the altered BranchList and
356 * factory.C (createInset, readInset): changes due to altered
359 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * lyxfunc.C: remove insetminipage. "minipage-insert"
363 now produces a frameless minipage box inset.
365 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
367 * textcursor.[Ch] (selStart,selEnd): add new methods
368 remove selection::start, end, use LyXCursor::operator<
369 * lyxcursor.[Ch] (operator<): add
370 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
371 * BufferView.[Ch] (unsetXSel): add
372 * text2.C (clearSelection): use unsetXSel,adjust
375 * rowpainter.C: adjust
376 * bufferview_funcs.C (put_selection_at): adjust
378 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
380 * BufferView_pimpl.C: small coord. correction
382 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
384 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
385 dragging over the splash screen.
387 2003-12-11 Angus Leeming <leeming@lyx.org>
389 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
390 as it is now handled in LyXText::dispatch.
392 * text3.C (doInsertInset): remove a level of nesting.
394 2003-12-11 Angus Leeming <leeming@lyx.org>
396 * factory.C (createInset): changes due to the changed interface to
397 InsetCommandMailer::string2params.
399 2003-12-10 Angus Leeming <leeming@lyx.org>
401 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
402 'dialog-show-new-inset <inset name>'
404 2003-12-10 Angus Leeming <leeming@lyx.org>
406 * buffer.C: up the format to 227.
408 * factory.C: the box inset is now identified simply by 'Box'.
410 2003-12-10 Angus Leeming <leeming@lyx.org>
412 * buffer.C: up the format to 226.
414 * factory.C: the note inset is now identified simply by 'Note'.
416 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
418 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
419 when a pit is enough. Standarize a couple of loops.
421 2003-12-05 Angus Leeming <leeming@lyx.org>
423 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
424 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
425 data to the re-worked "log" dialog.
427 2003-12-03 André Pönitz <poenitz@gmx.net>
435 * text2.C: use Inset::getText instead of Inset::getParagraph
437 2003-12-03 André Pönitz <poenitz@gmx.net>
441 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
442 InsetText::read() as LyXText::read()
444 2003-12-02 Angus Leeming <leeming@lyx.org>
446 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
447 type. Add a comment in the implementation that the function uses
448 the stream's bad() function rather than fail() as the std::streams
451 2003-12-02 André Pönitz <poenitz@gmx.net>
453 * lyxlex.[Ch]: make interface more similar to std::stream
455 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
457 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
459 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
461 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
463 * vspace.[Ch]: remove VSpace::NONE
465 2003-12-01 André Pönitz <poenitz@gmx.net>
468 * lyxtext.h: move ParagraphList member to LyXText
469 rename LyXText::ownerParagraphs to LyXText::paragraph
472 * bufferview_funcs.C:
482 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
484 * undo.C: fix cursor positioning
486 2003-12-01 John Levon <levon@movementarian.org>
488 * BufferView_pimpl.C: fix a crash on exit with
491 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
493 * BranchList.C: fix setSelected() method.
495 2003-11-28 André Pönitz <poenitz@gmx.net>
497 * ParagraphParameters.[Ch]:
498 * ParameterStruct.h: remove space above/below from Paragraph to
501 * BufferView_pimpl.C:
513 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
515 * factory.C: Syntax change for CharStyles
517 2003-11-28 André Pönitz <poenitz@gmx.net>
522 * buffer.[Ch]: move LyXText member
524 2003-11-28 André Pönitz <poenitz@gmx.net>
526 * BufferView.[Ch]: make LyXText * text a private member
528 * BufferView_pimpl.C:
539 * output_plaintext.C: cleanup
541 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
544 * lyxtextclass.[Ch]: parametrize SGML document header
546 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
549 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
552 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
554 * text2.C (setFont): rework using PosIterator (no more recursive)
555 (setCharFont): no more needed
556 (setLayout): no more selection cursors fiddling (done by redoCursor)
557 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
558 destroy remaining ones)
560 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
562 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
564 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
567 * text3.C: adjust + re-allow multi par depth changes
568 * textcursor.C: simplify a bit
570 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
576 * src/output_docbook.C:
577 * src/output_latex.C:
582 * src/text2.C: Introducing a number of tags parametrizing various
583 XML formats that we may want to support
585 2003-11-25 André Pönitz <poenitz@gmx.net>
587 * InsetList.[Ch] (begein, end): inline as suggested by profiler
589 * lyxtext.h (leftMargin/rightMargin): simplify interface
596 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
598 * lyxfunc.C (dispatch): propogate the bibtex databases from the
599 master file to any child files. Fixes bug 546.
601 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
603 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
605 2003-11-24 André Pönitz <poenitz@gmx.net>
607 * rowpainter.C: simplification
609 * text2.C (updateCounters): remove call to redoParagraph on
610 changed labels as this is far too expensive.
612 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
614 * converter.C (convert): fix a crash: this function gets
615 called with buffer == 0 from importer code.
617 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
619 * text3.C (cursorPrevious): make sure that we do not compare
620 iterators form different containers.
623 * rowpainter.C (paintSelection): make sure that we do not compare
624 iterators from different containers.
626 * text3.C (dispatch): [PRIOR] make sure that we do not compare
627 iterators from different ParagraphList containers.
630 * text2.C (LyXText): change order of initialization slightly
631 (operator=): new function. copy all variables except cache_par_
632 (moveUp): make sure that we do not compare iterators from
633 different ParagraphList constainers.
636 * text.C (firstPar): new function
637 (lastPar): new function
638 (endPar): new function
640 * lyxtext.h: move things around and group public functions, public
641 variables, private functions, private variables
643 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
645 * factory.C: change call to InsetERT constructor to avoid
646 additional invocation of method status
647 * text2.C (toggleInset): remove redundant update() call
648 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
649 instead of a Bufferview pointer
651 2003-11-21 André Pönitz <poenitz@gmx.net>
653 * rowpainter.C: simplification
655 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
657 * text3.C (dispatch): make possible to extend a word/row selection
660 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
662 * lyxtext.h: x0_,y0_ -> xo_,yo_
663 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
664 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
665 * rowpainter.C (paintRows): paint full paragraphs
667 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
669 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
672 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
674 * lyxtext.h: add x0_, y0_
675 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
676 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
678 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
680 * text2.C (setCursorIntern): move the x_target update here *
681 * text3.C: change some bv() to true/false in calls to
682 cursorUp/Down/Right/Left
683 * cursor.C: use helper function.
685 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
687 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
688 * paragraph_funcs.[Ch]: correct comment
689 * rowpainter.C: do not paint selections away from bv->cursor()
690 Fix a long standing selection painting bug.
691 * text3.C: generalize mouse-selection code to LyXTexts other that
693 * textcursor.C: do not use y coords if we can use par offsets
695 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
697 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
698 cursor position after e.g. inset insert)
700 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
702 * lyxfind.C (replace): adjust to locking removal + some
705 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
707 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
710 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
713 * output_docbook.C: XML sanitation: new layout
714 parameters InnerTag and CommandDepth
716 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
718 * BufferView_pimpl.C:
720 * text3.C: Fix the insertion and modification of button-style
723 2003-11-13 André Pönitz <poenitz@gmx.net>
725 * InsetList.[Ch]: remove deleteLyXText
727 * paragraph.[Ch]: cache beginOfBody position
732 * text3.C: remove superfluous update() calls
736 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
738 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
739 * BufferView.C (fitLockedInsetCursor): remove
740 * cursor.[Ch] (getDim): add
741 * text.C (getRowNearY): add faster version
742 * text3.C: remove some update calls
744 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
756 * text3.C: The Character Style /XML short element patch.
758 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
761 * factory.C: Small step to solving 'unable to insert some insets'
764 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
766 * cursor.[Ch] (updatePos): new function for updating the y
767 position of the tip inset
768 * bufferview_funcs.C (put_selection_at):
769 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
771 2003-11-11 André Pönitz <poenitz@gmx.net>
773 * text.C: remove big comment on invalid Paragraph pointers as it is
776 2003-11-11 André Pönitz <poenitz@gmx.net>
778 * text_funcs.[Ch]: merge with ...
786 * Makefile.am: remove text_funcs.[Ch]
788 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
790 * cursor.C (getPos): return absolute cached y coord
792 * BufferView_pimpl.C (fitCursor): new simplistic code
793 (workAreaDispatch): add a fitCursor call
795 2003-11-10 André Pönitz <poenitz@gmx.net>
798 * BufferView_pimpl.[Ch]: merge update() and updateInset()
800 2003-11-10 André Pönitz <poenitz@gmx.net>
802 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
803 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
804 indicate that the cursor needs to leave an inset
806 * lyxtext.h: remove inset locking
808 * cursor.[Ch]: re-implement functionality provided by inset locking
811 * BufferView_pimpl.[Ch]:
813 * bufferview_funcs.[Ch]:
825 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
827 * PosIterator.[Ch]: replace the stack with a vector, add inset
829 * iterators.[C]: adjust
831 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
833 * lyxfind.C (replaceAll): mark the buffer dirty if something was
835 * paragraph_funcs.C (readParToken): put the correct id in the
836 error item, not the id of the top paragraph
838 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
840 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
841 * bufferview_funcs.C (put_selection_at): use the above
843 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
845 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
847 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * output_plaintext.h:
852 * output_docbook.h: add #include statements
854 2003-11-05 José Matos <jamatos@lyx.org>
856 * output_docbook.[Ch]:
858 * output_linuxdoc.[Ch]:
859 * output_plaintext.[Ch]: New files for output formats.
860 * output.[Ch]: New file for helper functions.
863 * paragraph_funcs.[Ch]: output functions moved to new files.
865 * outputparams.h: rename of latexrunparams.h
873 * paragraph_funcs.[Ch]:
874 * paragraph_pimpl.[Ch]:
875 * tabular.[Ch]: rename ascii to plaintext
876 and LatexRunParams to OutputParams.
878 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
880 * iterators.[Ch] (text): require bv argument
881 * undo.C (recordUndo):
882 * lyxfunc.C (dispatch):
883 * bufferview_funcs.C (put_selection_at): adjust
885 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
887 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
889 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
891 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
894 2003-11-04 André Pönitz <poenitz@gmx.net>
896 * cursor.[Ch]: restructure
899 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
901 * iterators.[Ch] (asCursor): remove
903 * lfuns.h: remove LFUN_INSET_EDIT
909 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
911 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
913 * lyxfind.[Ch]: complete overhaul
914 * BufferView_pimpl.C:
916 * paragraph.[Ch] (insert): add
918 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
922 * text.C: remove dead spellcheck code
924 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * dispatchresult.h: add a val setter
928 * cursor.C (dispatch): use a tempvar for data_[i]
930 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
932 * PosIterator.[Ch]: compile fix
934 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
936 * text.C (cursorPar): deactivate the cursor cache
938 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
940 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
942 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * text3.C (dispatch): adjust for new DisptchResult semantics.
946 * lyxfunc.C (dispatch): handle update when return from
947 Cursor::dispatch, adjust for new DispatchResult semantics.
949 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
950 DispatchResult(true) mean to not update. Add class functions for
951 setting dispatched and update, as well as reading.
953 * cursor.C (dispatch): don't handle update here
955 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
958 * trans_mgr.C: adjust
960 * paragraph_funcs.C (readParToken): exception safety
962 * lyxvc.h: store the vcs pointer in a scoped_ptr
965 * lyxsocket.C (serverCallback): exception safety
967 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
969 * ispell.C (clone): make it return a auto_ptr
971 * factory.C (createInset): exception safety
972 (readInset): exception safety
974 * bufferlist.C (newBuffer): exception safety
976 * Thesaurus.C (Thesaurus): use initialization for aik_
978 * MenuBackend.C (expandToc): exception safety.
980 2003-11-03 André Pönitz <poenitz@gmx.net>
984 * bufferview_funcs.C: remove getInsetFromId()
987 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
993 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
995 * PosIterator.C (distance, advance): new
996 * bufferview_funcs.[Ch] (put_selection_at): new
997 * iterators.[Ch] (lockPath): new
999 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1001 * iterators.[Ch] (asPosIterator): added
1002 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1003 * PosIterator.[Ch]: added
1005 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1009 * cursor.C (dispatch):
1010 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1012 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1013 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1014 contructor, add a class function dispatched. Remove operator>=
1016 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * debug.C: only use the default constructor for debugstream
1021 * main.C (main): include debug.h and setup the lyxerr streambuf
1024 2003-10-31 José Matos <jamatos@lyx.org>
1026 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1028 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1029 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1030 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1031 * paragraph_pimpl.C (simpleTeXSpecialC):
1032 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1033 add LatexRunParams argument.
1035 * exporter.C (Export): change call accordingly.
1037 * latexrunparams.h: add new member to take care of the other backends.
1038 2003-10-30 José Matos <jamatos@lyx.org>
1040 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1041 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1042 factorise code for paragraph output.
1044 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1047 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1049 * text3.C (dispatch):
1050 * lyxfunc.C (dispatch):
1051 * cursor.C (dispatch):
1052 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1054 * dispatchresult.h: make the dispatch_result_t ctor explicit
1056 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1059 * buffer.C: small refactoring of docbook stuff
1061 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1066 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1069 operator dispatch_result_t, and operators for == != and >=
1071 * cursor.C (dispatch): adjust for operator dispatch_result_t
1072 removal. comment out call to update
1074 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1076 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1087 * dispatchresult.h: new file, DispatchResult broken out of
1090 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1092 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1094 * text.C (rowBreakPoint): put a hack inside #if 0
1096 2003-10-28 André Pönitz <poenitz@gmx.net>
1100 * paragraph_funcs.C:
1103 * text2.C: general cleanup (lots of small stuff)
1105 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1107 * text2.C (cursorEnd): simple fix to the "end key goes to one
1108 before the end on last row" bug
1110 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1112 * text.C (backspace): fix the "zombie characters"
1114 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1116 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1118 2003-10-27 André Pönitz <poenitz@gmx.net>
1120 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1122 * factory.C: handle new InsetPagebreak, InsetLine
1124 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1125 and move handling into new InsetPagebreak, InsetLine
1127 * BufferView_pimpl.C:
1129 * ParagraphParameters.C:
1130 * ParameterStruct.h:
1135 * paragraph_funcs.C:
1136 * paragraph_pimpl.C:
1142 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1145 * lyxrow_funcs.[Ch]:
1151 * text3.C: remove lastPos uses in favour of Row::endpos
1153 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1155 * undo.C (performUndoOrRedo): fix two crashes by setting a
1156 cursor by hand and reordering some calls. Use bv->lockInset instead
1157 of inset->edit because the latter loses cursor information
1159 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1161 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1163 (rowBreakPoint): fix width. change point to point + 1.
1164 Add a missing check.
1166 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1169 * lyxfunc.C: fix (at least partly) the problems
1170 with the Nav menu and headers inside branch insets
1173 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1175 * paragraph.C (getChar): add strong asserts
1177 * lyxrow_funcs.C (lastPos): remove hideous hack
1179 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1180 (fill): adjust to that (avoid an infinite loop)
1182 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1184 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1186 2003-10-23 André Pönitz <poenitz@gmx.net>
1188 * RowList_fwd.h: change list<> to vector<> to gain speed
1189 after suggestion from Alfredo
1191 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1193 * lyxtext.h: move the bidi stuff from here...
1196 * Bidi.[Ch]: ... to here
1198 2003-10-23 André Pönitz <poenitz@gmx.net>
1201 * text.C (isLastRow, isFirstRow): new functions
1203 * paragraph.h: new width cache member
1205 * rowpainter.C: replace RowList::iterator with Row & where possible
1207 * lyxfunc.C: replace several view()->text with a single call
1209 * toc.C: fix 'unused' warning
1211 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1213 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1214 when woring with stream::pos_type
1215 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1217 2003-10-22 André Pönitz <poenitz@gmx.net>
1220 * text.C: use Row & instead of RowList::iterator
1222 * lyxrow.h: rename end() to endpos()
1228 2003-10-22 Angus Leeming <leeming@lyx.org>
1230 * buffer.[Ch] (fully_loaded): new member function, returning true
1231 only when the file has been loaded fully.
1232 Used to prevent the premature generation of previews and by the
1233 citation inset to prevent computation of the natbib-style label.
1235 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1236 templates are all set up.
1238 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1240 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1242 * text.C: fixed an "oops" in the "is a bit silly"
1245 2003-10-21 André Pönitz <poenitz@gmx.net>
1247 * FuncStatus.[Ch]: small stuff, whitespace
1249 * lyxfont.[Ch]: operator<<() for debug reasons
1253 * lyxtext.h: whitespace, spelling
1255 * paragraph.C: naming of variables
1258 * text2.C: small stuff
1261 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1263 * text.C: (1) finish off the inset display() work;
1264 (2) fix the "is a bit silly" bug (accessing char
1267 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1269 * text.C: re-introduce display() for insets, fixing the
1270 various bugs (stretch of line above, math inset
1273 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1275 * text.C (rightMargin): remove spurious semicolon
1277 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1280 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1282 * text3.C: fix one crash due to wrong cursor def
1284 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * vc-backend.C (scanMaster): make the regex static
1288 * LaTeX.C (scanAuxFile): make the regexs static
1290 * text3.C (doInsertInset, dispatch, dispatch):
1291 * text2.C (cursorUp, cursorDown):
1292 * text.C (selectNextWordToSpellcheck):
1293 * BufferView_pimpl.C (dispatch):
1294 * lyxfunc.C (dispatch): localDispatch -> dispatch
1296 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * lyxsocket.C: include <cerrno>
1300 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * lyxfunc.C (dispatch): remove textcache stuff
1304 * bufferlist.C (release): remove textcache stuff
1307 * TextCache.C: delete file
1308 * TextCache.h: delete file
1310 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1312 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1313 delete of the bv_->text.
1314 (resizeCurrentBuffer): remove texcache stuff
1315 (workAreaResize): ditto
1317 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1322 2003-10-16 André Pönitz <poenitz@gmx.net>
1329 * text3.C: speed up by storing y positions per paragraph plus per-row
1330 offset instead of having a 'full' y position in the row.
1332 2003-10-15 André Pönitz <poenitz@gmx.net>
1336 * undo.[Ch]: make undo aware of inner insets
1338 2003-10-14 Angus Leeming <leeming@lyx.org>
1340 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1341 static member functions LyX::ref() and LyX::cref.
1342 (lastfiles): new accessor functions for the new lastfiles_ member var.
1343 (addLyXView, views_): add a new LyXView to the list of views_.
1344 (updateInset): loop over all LyXViews to call their own updateInset
1345 member function, returning a pointer to the Buffer owning the inset.
1347 * BufferView_pimpl.C (loadLyXFile):
1348 * MenuBackend.C (expandLastfiles):
1349 * bufferlist.C (MenuWrite, QuitLyX):
1350 lastfiles is no longer a global variable.
1351 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1353 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1354 static function. Access through LyX::cref().emergencyCleanup().
1356 2003-10-14 André Pönitz <poenitz@gmx.net>
1358 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1360 * undo.[Ch]: restoring part of 'undo in insets'
1363 * undo_funcs.[Ch]: merge with undo.[Ch]
1365 * tabular.C: small cleansing stuff
1367 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1369 * paragraph_funcs.C (readParToken): report unknown insets as error
1370 boxes. Use the outer paragraph as location (also for unknown
1373 * factory.C (readInset): do not abort on reading an unknown inset.
1374 Eat it and return 0.
1376 2003-10-13 Angus Leeming <leeming@lyx.org>
1378 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1380 * lyxrc.C: displayTranslator is now a function,
1381 declared in GraphicsTypes.h.
1383 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1385 * format.C: new placeholder $$a to pass the socket address.
1387 * bufferlist.[Ch]: new function getBufferFromTmp.
1389 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1390 files in the temporary dir.
1392 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1394 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1396 * Makefile.am: add lyxsocket.[Ch].
1398 * lyx_main.C (error_handler): handle SIGPIPE.
1400 2003-10-13 André Pönitz <poenitz@gmx.net>
1402 * BufferView_pimpl.C:
1407 * undo_funcs.[Ch]: use paroffset_type instead of
1408 ParagraphList::iterators to prevent multiple conversion
1409 (and get a more robust interface)
1411 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1415 * text3.C (dispatch): ditto
1417 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1420 move the onlyfile, use onlyfile instead of foundfile in a couple
1423 * DepTable.C (update): flush the error stream a bit more
1425 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * lyxserver.C (callback): adjust
1429 * lyxfunc.C (getStatus): add a missing brace in commented code
1430 (ensureBufferClean): reindent
1431 (dispatch): delete version taking a string
1433 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * LaTeX.C (deplog): move found file handlig from here...
1436 (handleFoundFile): .. to new function here.
1437 (deplog): make sure to discover several files mentioned on the
1440 2003-10-10 André Pönitz <poenitz@gmx.net>
1447 * text3.C: fix some of the tabular crashes
1449 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1451 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1453 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1455 2003-10-09 André Pönitz <poenitz@gmx.net>
1457 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1460 * BufferView_pimpl.C:
1461 * bufferview_funcs.C:
1472 * undo_funcs.C: adjust
1474 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * text2.C (incrementItemDepth): new function, use a backtracking
1477 algorithm to discover the correct item depth.
1478 (resetEnumCounterIfNeeded): new function, use a backtracking
1479 algorithm to discover if counter reset is needed.
1480 (setCounter): use them. Simplify a bit. Add different labels for
1481 different item depths for itemize.
1483 * paragraph.C (Paragraph): remove initialization of enumdepth
1486 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1487 enumerate and itemize. Change the type of itemdepth to signed char.
1489 2003-10-08 André Pönitz <poenitz@gmx.net>
1491 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1496 * tabular.[Ch]: fix crash after 'row-insert'
1498 2003-10-08 Angus Leeming <leeming@lyx.org>
1500 Fix doxygen warnings.
1502 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1503 Remove CutAndPaste:: prefix from header file declaration.
1505 * LColor.h (fill): remove LColor:: prefix from declaration.
1507 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1508 use lyx::depth_type rather than Paragraph::depth_type so that
1509 header file and .C file match.
1511 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1513 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1514 * aspell.C: \file aspell_local.C -> \file aspell.C
1515 * gettext.C: \file gettext.C -> \file src/gettext.C
1516 * gettext.h: \file gettext.h -> \file src/gettext.h
1517 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1518 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1519 * text.C: \file text.C -> \file src/text.C
1521 * toc.C: move comment so that doxygen is not confused.
1523 2003-10-07 Angus Leeming <leeming@lyx.org>
1525 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1527 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1530 * aspell_local.h: add forgotten std::string's.
1532 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1539 * text3.C: The Box patch. Fancybox support, minipage, parbox
1541 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1547 * ParagraphParameters.h:
1557 * lyxtextclasslist.h:
1560 * paragraph_pimpl.C:
1561 * textcursor.h: add <string> and other small fixes to make Lars'
1562 std::string patch compile with STLport.
1564 2003-10-06 Angus Leeming <leeming@lyx.org>
1566 * LColor.h: Add missing #include <string>.
1568 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * All most all file in all subdirs: Make <string> be the prefered
1571 way of getting to std::string, add using declarations.
1573 2003-10-06 André Pönitz <poenitz@gmx.net>
1575 * metricsinfo.C: initialize LyXFont before changing attribute.
1576 (fixes the 'math in \emph is upright' bug)
1578 2003-10-06 André Pönitz <poenitz@gmx.net>
1580 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1582 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1585 * paragraph_pimpl.C: Small fixes to build using STLport
1587 2003-10-02 André Pönitz <poenitz@gmx.net>
1590 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1592 2003-10-01 André Pönitz <poenitz@gmx.net>
1594 * factory.C: assert early
1596 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * lyx_main.C: remove the global debug object
1600 * debug.h: adjust for new debugstream
1602 * debug.C: adjust for new debugstream and keep the global debug
1605 2003-09-22 Angus Leeming <leeming@lyx.org>
1607 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1608 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1609 an incomplete class LyXFont.
1611 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1613 * factory.C: bug fix in branches
1615 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * lyxfunc.C (processKeySym): adjust
1619 (dispatch): change arg name from ev to func, adjust
1620 (sendDispatchMessage): ditto
1622 * lyx_main.C (defaultKeyBindings): adjust keybindings
1623 (deadKeyBindings): ditto
1625 * kbsequence.C (addkey): return a FuncRequest
1627 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1629 * kbmap.C (bind): take a FuncRequest as arg, adjust
1632 (defkey): change to take a FuncRequest as arg, adjust
1633 (findbinding): take a FuncRequest as arg, adjust.
1635 * funcrequest.h (operator=): added
1637 * funcrequest.C (FuncRequest): default kb_action changed from
1638 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1640 * buffer.C (dispatch): simplify
1641 (dispatch): adjust to take a FuncRequest as arg, adjust
1643 * boost.C (assertion_failed): change assertion message slightly
1645 * ToolbarBackend.C (read): simplify
1647 * MenuBackend.C (binding): adjust call to findbinding, add a
1648 message if no binding is found.
1650 (expandToc): correct by adding a empty FuncRequest
1652 * LyXAction.C: include <boost/assert.hpp>
1653 (isPseudoAction): delete function
1654 (LookupFunc): change name to...
1655 (lookupFunc): this. change return type to FuncRequest.
1656 (getActionName): take kb_action as arg, simplify
1657 (funcHasFlag): add an assert, simplify.
1659 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * toc.C (action): return a FuncRequest, simplify
1663 * lyxfunc.C (processKeySym): adjust
1664 (getStatus): delete version that takes an int.
1666 (dispatch): delete version that takes action as int
1668 (sendDispatchMessage): simplify and adjust
1670 * funcrequest.C (getArg): take unsigned int as arg
1672 * ToolbarBackend.C (read): adjust
1673 (add): delete version that takes func as a string.
1674 (getIton): take a FuncRequest as arg
1676 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1679 * MenuBackend.C (MenuItem): add a new construct that only takes a
1680 Kind, simplify the constructor use for submenus.
1682 (expandLastfiles): adjust
1683 (expandDocuments): adjust
1684 (expandFormats): adjust
1685 (expandFloatListInsert): adjust
1686 (expandFloatInsert): adjust
1687 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1689 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1690 Remove class variables lyx_pseudo_map and lyx_arg_map
1692 * LyXAction.C (searchActionArg): delete function
1693 (getPseudoAction): delete function
1694 (retrieveActionArg): delete function
1695 (LookupFunc): make it return kb_action, simplify.
1696 (getActionName): simplify
1698 * factory.C (createInset): fix new bug
1700 2003-09-19 Angus Leeming <leeming@lyx.org>
1702 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1703 masterFilename_ parameter in the include inset.
1705 * factory.C (createInset): changes due to the changes to InsetInclude.
1707 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1709 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1711 2003-09-18 Angus Leeming <leeming@lyx.org>
1714 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1715 Inset::fillWithBibKeys.
1716 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1718 2003-09-18 Angus Leeming <leeming@lyx.org>
1720 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1722 (ctor): pass and store a 'Buffer const &'
1723 (buffer): new member function.
1725 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1726 '*this' to the LaTeXFeatures ctor.
1728 2003-09-18 Angus Leeming <leeming@lyx.org>
1734 * text.C: rename EnumLColor as LColor_color.
1736 2003-09-18 Angus Leeming <leeming@lyx.org>
1738 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1739 remove #include "insets/insetbase.h" from cursor.h.
1741 2003-09-18 Angus Leeming <leeming@lyx.org>
1743 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1744 InsetOld_code to remove #include "inset.h".
1746 * iterators.C: add #include "insets/inset.h"
1748 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1750 * BufferView.C: remove more locking stuff that apparently doesn't
1751 do anything sensible.
1753 2003-09-16 André Pönitz <poenitz@gmx.net>
1756 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1759 2003-09-16 Angus Leeming <leeming@lyx.org>
1761 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1763 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1766 * paragraph.h: remove #include "lyxfont.h". Forward declare
1769 2003-09-16 Angus Leeming <leeming@lyx.org>
1771 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1772 of support/textutils.h.
1773 (isWord): move the contents of support/textutils.h's IsWordChar here.
1779 * text2.C: add #include "paragraph.h".
1782 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1784 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1790 * LaTeX.C: use namespace alias for lyx::support::os
1792 2003-09-16 Angus Leeming <leeming@lyx.org>
1795 * bufferview_funcs.C:
1798 * paragraph_pimpl.C:
1800 * text.C: add #include "LColor.h".
1802 2003-09-16 Angus Leeming <leeming@lyx.org>
1804 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1805 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1807 Store the FontBits::color variable as an int rather than as an
1808 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1811 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1812 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1813 string calls together.
1815 * lyxrc.C: add #include "LColor.h".
1817 2003-09-15 Angus Leeming <leeming@lyx.org>
1819 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1822 2003-09-15 Angus Leeming <leeming@lyx.org>
1824 * LColor.h: add an EnumLColor wrapper for LColor::color.
1826 * lyxfont.[Ch] (color, setColor, realColor):
1827 * lyxtext.h, text.C (backgroundColor):
1828 pass EnumLColor args to/from the functions, rather than LColor::color
1832 * lyxtext.h: forward declare EnumLColor.
1834 * lyx_main.C: add #include "LColor.h".
1836 2003-09-15 Angus Leeming <leeming@lyx.org>
1838 * .cvsignore: add lyx-gtk.
1840 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * ParagraphParameters.C
1849 * bufferview_funcs.C
1859 * vc-backend.C: remove usage of STRCONV
1861 2003-09-15 Angus Leeming <leeming@lyx.org>
1863 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1864 explicitly define the color passed to the painter.
1866 2003-09-15 Angus Leeming <leeming@lyx.org>
1868 * bufferparams.C (BufferParams): reorder member initializers to avoid
1871 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1873 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1874 * text.C (updateRowPositions): remove an unusual nop
1876 2003-09-12 André Pönitz <poenitz@gmx.net>
1878 * BufferView_pimpl.C:
1887 * Counters.[Ch]: finish the 'automatic counters' job
1889 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1891 * aspell.C: include <boost/assert.cpp> (compile fix)
1893 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1895 * boost.C (assertion_failed): use lyx::support::abort instead of
1898 2003-09-10 Angus Leeming <leeming@lyx.org>
1900 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1901 with their _fwd progeny.
1903 2003-09-09 Angus Leeming <leeming@lyx.org>
1905 134 files throughtout the source tree: replace 'using namespace abc;'
1906 directives with the appropriate 'using abc::xyz;' declarations.
1908 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1910 * boost.C (emergencyCleanup): moved here from LAssert.c
1911 (assertion_failed): new function, called by BOOST_ASSERT
1913 * several files: change Assert to BOOST_ASSERT
1915 2003-09-09 Angus Leeming <leeming@lyx.org>
1917 * buffer.[Ch]: Add an Impl class and move Buffer's member
1918 variables into it. As a result move several header files out of
1921 Add header files to lots of .C files all over the tree as a result.
1923 2003-09-09 Angus Leeming <leeming@lyx.org>
1925 * buffer.[Ch]: make Buffer's member variables private. Add
1928 Lots of changes all over the tree as a result.
1930 2003-09-08 Angus Leeming <leeming@lyx.org>
1932 * graph.C: #include <config.h>.
1934 2003-09-08 Angus Leeming <leeming@lyx.org>
1938 * BufferView_pimpl.C:
1967 * toc.C: remove redundant using directives.
1969 2003-09-07 Angus Leeming <leeming@lyx.org>
1971 * LaTeXFeatures.h: remove #include "support/types.h".
1972 * ToolbarBackend.h: remove #include <algorithm>.
1973 * changes.h: remove #include <ctime>.
1974 * debug.h: remove #include <iosfwd>.
1975 * graph.h: remove #include "support/std_string.h".
1976 * lyx_main.h: remove #include <csignal>.
1977 * lyxlex_pimpl.h: remove #include <fstream>.
1978 * sgml.h: remove #include <algorithm>, <utility>.
1979 * toc.h: remove #include "support/std_ostream.h".
1980 Add #include <iosfwd>.
1982 2003-09-07 Angus Leeming <leeming@lyx.org>
1984 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1986 * converter.h: forward declare LatexRunParams.
1987 * encoding.h: remove #include "lyxrc.h".
1988 * lyxtext.h: remove #include "LColor.h".
1989 * lyxtextclass.h: remove #include "support/types.h".
1990 * trans.h: remove #include "tex-accent.h".
1991 * trans_mgr.h: remove #include "tex-accent.h".
1992 * insets/inset.h: remove #include "support/types.h", <vector>.
1993 * insets/insetcollapsable.h: remove #include "LColor.h".
1994 * insets/insetinclude.h: remove #include "dimension.h".
1995 * insets/insetlatexaccent.h: remove #include "dimension.h".
1996 * insets/insetoptarg.h:: remove #include "insettext.h".
1997 * insets/insettext.h: remove #include "dimension.h",
1998 <boost/shared_ptr.hpp>
2000 * insets/renderers.h: add #include "dimension.h".
2001 * insets/updatableinset.h: add #include "support/types.h".
2003 * many .C files: Associated changes.
2005 2003-09-06 Angus Leeming <leeming@lyx.org>
2007 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2008 one, inside testInvariant.
2010 * PrinterParams.C: new file.
2011 * PrinterParams.[Ch]: move the function bodies out of line.
2013 2003-09-06 Angus Leeming <leeming@lyx.org>
2015 * ParagraphParameters.h: forward declare ParameterStruct rather than
2016 including its header file.
2017 (depth): moved out-of-line.
2019 2003-09-06 Angus Leeming <leeming@lyx.org>
2021 * BufferView_pimpl.h:
2024 * lyxfunc.h: forward declare LyXKeySym rather than
2025 #include "frontends/LyXKeySym.h".
2027 * BufferView_pimpl.C:
2030 * lyxfunc.C: associated changes.
2032 2003-09-06 Angus Leeming <leeming@lyx.org>
2034 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2035 As a result, can remove the #include "insets/inset.h" from BufferView.h
2037 2003-09-06 Angus Leeming <leeming@lyx.org>
2039 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2040 As a result, can remove the #include "insets/inset.h" from BufferView.h
2042 2003-09-06 Angus Leeming <leeming@lyx.org>
2048 * bufferview_funcs.C:
2049 * BufferView_pimpl.C:
2054 * ParagraphParameters.C:
2059 * frontends/controllers/ControlDocument.C:
2060 * insets/insetcaption.C: rearrange the #includes into some sort of
2063 * buffer.h: remove #includes ErrorList.h, undo.h
2065 2003-09-06 Angus Leeming <leeming@lyx.org>
2067 * support/types.h: add a 'depth_type' typedef, used to store the
2068 nesting depth of a paragraph.
2071 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2072 defining explicitly.
2075 * paragraph_funcs.h:
2076 * ParagraphParameters.h:
2077 * sgml.h: use lyx::depth_type rather than Paragraph or
2078 ParameterStruct's depth_type.
2081 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2084 * BufferView_pimpl.C:
2086 * ParagraphParameters.C:
2089 * bufferview_funcs.C:
2096 * frontends/LyXView.C:
2097 * frontends/controllers/ControlDocument.C:
2098 * frontends/controllers/ControlErrorList.C:
2099 * insets/insetbibitem.C:
2100 * insets/insetbranch.C:
2101 * insets/insetcaption.C:
2102 * insets/insetcollapsable.C:
2103 * insets/insetenv.C:
2104 * insets/insetert.C:
2105 * insets/insetfloat.C:
2106 * insets/insetfoot.C:
2107 * insets/insetfootlike.C:
2108 * insets/insetnewline.C:
2109 * insets/insetquotes.C:
2110 * insets/insettabular.C:
2111 * insets/insettext.C:
2112 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2114 * frontends/controllers/ControlChanges.C: #include "changes.h".
2116 2003-09-06 Angus Leeming <leeming@lyx.org>
2118 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2119 than #including paragraph.h.
2122 * RowList.h: deleted. Superfluous.
2132 * insets/insettext.h: use ParagraphList_fwd.h rather than
2135 * paragraph.h: don't forward declare ParagraphList.
2138 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2139 rather than ParagraphList.h. paragraph.h is still needed for the
2140 Paragraph::depth_type parameters.
2142 * textcursor.h: enable it to compile stand-alone in light of the
2145 * bufferview_funcs.C:
2157 * frontends/controllers/ControlParagraph.C:
2158 * frontends/controllers/ControlTabular.C:
2159 * insets/insetmarginal.C:
2160 * insets/insetminipage.C:
2161 * insets/insetnote.C:
2162 * insets/insetoptarg.C: add header files needed to compile again.
2164 2003-09-06 Angus Leeming <leeming@lyx.org>
2166 * RowList_fwd.h: new file, forward-declaring Row rather than
2167 #including lyxrow.h.
2172 * insets/insettext.h: use it instead of RowList.h
2174 * bufferview_funcs.C:
2181 * text3.C: #include "RowList.h".
2183 2003-09-05 Angus Leeming <leeming@lyx.org>
2185 * factory.C (createInset):
2186 * vspace.C (c-tor): replace sscanf call with an istringstream.
2187 * ispell.C: re-add missing HP/UX headers.
2188 * lyxserver.C: re-add missing os2 headers.
2190 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2199 * text3.C: re-add missing system headers, needed for 2.95.2.
2201 2003-09-05 Angus Leeming <leeming@lyx.org>
2203 Changes most place everywhere due to the removal of using directives
2204 from support/std_sstream.h.
2206 2003-09-05 Angus Leeming <leeming@lyx.org>
2208 Replace LString.h with support/std_string.h,
2209 Lsstream.h with support/std_sstream.h,
2210 support/LIstream.h with support/std_istream.h,
2211 support/LOstream.h with support/std_ostream.h.
2213 Changes resulting throughout the tree.
2215 2003-09-05 Angus Leeming <leeming@lyx.org>
2217 * sgml.h: ensure that the header file can be compiled stand-alone.
2218 * *.C: strip out redundant #includes. (320 in total.)
2220 2003-09-04 Angus Leeming <leeming@lyx.org>
2222 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2223 here (from getPackages).
2225 * debug.[Ch]: add a new EXTERNAL tag.
2227 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2229 * text2.C (cursorEnd): simplify
2231 (getColumnNearX): adjust
2233 * text.C (computeBidiTables): adjust
2236 * rowpainter.C (paintChars): adjust
2237 (paintSelection): adjust
2238 (paintChangeBar): adjust
2241 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2243 (numberOfSeparators): adjust
2245 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2251 * text3.C: Restricts the mouse click functionality
2252 of insets like bibtex, include, toc and floatlist to the visible
2253 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2254 up the dialogs. Cursor has to be in front of the inset (i.e.
2255 start of row) for this to function.
2257 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2259 * bufferview_funcs.C (currentState): output row information
2261 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2263 * bufferview_funcs.C (currentState): output paragraph position
2265 2003-09-04 Angus Leeming <leeming@lyx.org>
2267 * FloatList.h: move out #include "Floating.h".
2268 * LaTeX.h: move out #include "DepTable.h".
2269 * LyXAction.h: move out #include "funcrequest.h".
2270 * buffer.h: move out #include "author.h", "iterators.h".
2271 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2272 * lyx_main.h: move out #include "errorlist.h".
2273 * lyxfunc.h: move out #include "FuncStatus.h".
2274 * lyxtext: move out #include "lyxcursor.h".
2275 * paragraph_pimpl.h: move out #include "counters.h".
2277 2003-09-03 Angus Leeming <leeming@lyx.org>
2279 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2280 preamble_snippets list, enabling us to add snippets to the preamble
2281 only if the snippet was not there already.
2283 2003-09-04 Angus Leeming <leeming@lyx.org>
2285 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2287 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2292 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2294 * BranchList.C: point fix, earlier forgotten
2296 2003-09-02 Angus Leeming <leeming@lyx.org>
2298 * box.C (contains): renamed from 'contained' after a fantastic
2301 2003-09-02 John Levon <levon@movementarian.org>
2307 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2309 2003-09-02 John Levon <levon@movementarian.org>
2311 * text2.C: simplification of cursorEnd(), including partial
2314 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * buffer.C (readFile): add a space
2318 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2320 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2322 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2324 * buffer.C (readFile): new function, take a filename and a
2325 ParagraphList::iterator
2327 (readFile): adjust, make it private. don't use setStream, make
2328 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2329 always contain the filename.
2331 * BufferView.C (insertLyXFile): simplify and make it work for
2334 2003-08-30 John Levon <levon@movementarian.org>
2336 * Makefile.am: fix dist (from Kayvan)
2338 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2340 * most files: change to use const Buffer refs
2342 2003-08-27 André Pönitz <poenitz@gmx.net>
2344 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2345 on top of ownerPar().
2347 2003-08-27 John Levon <levon@movementarian.org>
2349 * funcrequest.C: properly initialise POD members
2351 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2353 * lyxtext.h (top_y): move top_y from here
2358 * BufferView_pimpl.[Ch]: to here
2359 * frontends/screen.C:
2360 * insets/insettabular.C:
2361 * insets/insettext.C: adjust
2362 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2364 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2367 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2369 2003-08-26 André Pönitz <poenitz@gmx.net>
2371 * paragraph_func.[Ch] (outerPar): new function
2374 * paragraph_funcs.C:
2375 * paragraph_funcs.h:
2376 * paragraph_pimpl.C:
2377 * text2.C: remove Inset::par_owner
2379 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2384 * text2.C: eliminates the needFullRow/display() stuff
2385 altogether, putting the logic in metrics/draw in the insets.
2387 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2389 * text2.C (redoParagraphInternal, redoParagraphs):
2390 * text.C (redoParagraph): add a call to updateRowPositions at the
2391 end of each 'metrics-like' call. Remove all others.
2392 (getRow): remove the 'y-computing' version.
2393 (getRowNearY): do not compute nor return the real y. Solve the
2394 'y < 0' problem and simplify.
2396 2003-08-22 Angus Leeming <leeming@lyx.org>
2398 * *.[Ch]: clean-up of licence and author blurbs.
2399 Also move config.h out of a few .h files and into a few .C files.
2401 2003-08-22 André Pönitz <poenitz@gmx.net>
2403 * lyxrow.[Ch]: add x_ and *fill_ members
2408 * text2.C: adjust/remove prepareToPrint() calls
2410 2003-08-22 André Pönitz <poenitz@gmx.net>
2412 * lyxrow.[Ch]: add end_ member
2414 * lyxrow_funcs.C: use LyXRow::end_
2416 * lyxtext.h (singleWidth): add LyXFont parameter
2419 * text2.C: adjust LyXText::singleWidth() calls
2421 * text.C (redoParagraph): simplify row breaking logic
2424 2003-08-19 André Pönitz <poenitz@gmx.net>
2426 * funcrequest.C: initialize button_ member
2429 * rowpainter.[Ch]: interface consolidation
2431 2003-08-18 André Pönitz <poenitz@gmx.net>
2434 * BufferView_pimpl.C:
2436 * paragraph_funcs.C:
2438 * text3.C: remove LyXScreen::draw() and fitCursor calls
2440 * BranchList.h: remove spurious semicolons
2442 * MenuBackend.C: fix branchlist related crash
2444 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2452 * bufferparams.[Ch]:
2456 * text3.C: implements the 'branch inset'
2457 idea. This allows the output of various versions of a document
2458 from a single source version, selectively outputing or suppressing
2459 output of parts of the text.
2460 This implementation contains a 'branch list editor' in a separate
2461 tab of the document settings dialog. Branches are user definable
2462 and have a "display colour" to distinguish them on-screen.
2464 ColorHandler was somewhat cleaned up.
2465 (1) make possible a dynamically growing LColor list by allowing
2466 the graphic context cache to grow along (vector);
2467 (2) eliminate an IMHO unnecessary step in colour allocation.
2469 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2471 * BufferView_pimpl.C: compile fix
2473 2003-08-15 André Pönitz <poenitz@gmx.net>
2475 * rowpainter.C: remove extra metrics calls
2477 * lyxtext.h: merge the two constructors into a single one,
2478 pass reference to owner's par list
2480 * BufferView_pimpl.C:
2484 2003-08-15 André Pönitz <poenitz@gmx.net>
2486 * lyxrow_funcs.[Ch]:
2489 * paragraph_funcs.C:
2494 * text_funcs.C: split LyXText::rowlist_ into individual
2495 Paragraph::rows_ chunks
2498 * BufferView_pimpl.[Ch]:
2501 * text3.C: remove toggleSelection()
2503 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2505 * bufferlist.C: beautify two alerts (shorter text of buttons)
2506 * buffer.C: Remove redundant ' ' from message
2508 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2509 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2510 rename VALIGN_CENTER to VALIGN_MIDDLE
2512 2003-08-11 André Pönitz <poenitz@gmx.net>
2514 * lyxtext.h (getPar):
2515 * text.C: new function
2517 2003-08-11 André Pönitz <poenitz@gmx.net>
2520 * tracer.[Ch]: remove unneeded files
2522 * InsetList.[Ch]: remove resizeInsetsLyXText()
2527 * text3.C: merge insertParagraphs() and appendParagraph()
2528 remove breakAgain(), update()
2530 * BufferView_pimpl.[Ch]:
2531 * bufferview_funcs.[Ch]:
2535 * tabular.C: adjust after text & InsetList changes.
2537 2003-08-08 André Pönitz <poenitz@gmx.net>
2539 * text.C (insertChar, backspace): replace rowlist fiddling
2540 with rebreak of full par
2543 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2544 checkParagraph, updateInset): removed
2546 2003-08-07 André Pönitz <poenitz@gmx.net>
2549 * text3.C: merge some LFUN handlers, remove dead code
2551 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2553 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2555 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2557 * text2.C (DEPM): fix part of bug 1255 and 1256
2559 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 * BufferView_pimpl.C (workAreaDispatch): change to use
2562 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2563 that are no mouse related.
2565 2003-08-05 André Pönitz <poenitz@gmx.net>
2568 * BufferView_pimpl.[Ch]:
2569 * bufferview_funcs.C:
2571 * text3.C: rip out "deep update"
2573 * textcursor.[Ch] (last_sel_cursor): remove unused member
2575 2003-08-04 André Pönitz <poenitz@gmx.net>
2578 * BufferView_pimpl.[Ch]:
2579 * ParagraphParameters.C:
2580 * bufferview_funcs.C:
2586 * text3.C: replace "complicated" BufferView::update(...) calls with
2589 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2591 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2593 * Makefile.am (lyx_SOURCES): add paper.h
2595 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2597 * Makefile.am: move things around so that both lyx-qt and
2598 lyx-xforms can be built (according to --with-frontend). Then lyx
2599 is a symbolic link to lyx-[firstfrontend]
2601 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2603 * Always use std::endl with lyxerr
2605 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2607 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2609 2003-08-01 André Pönitz <poenitz@gmx.net>
2612 * BufferView_pimpl.[Ch]:
2614 * text3.C: merge BufferView::repaint() and BufferView::update()
2616 2003-08-01 José Matos <jamatos@lyx.org>
2618 * buffer.[Ch]: file_format is no longer a buffer data element.
2620 2003-08-01 André Pönitz <poenitz@gmx.net>
2625 * text2.C: make redoParagraph more independent of current cursor
2627 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2629 * text2.C: remove unneeded members
2631 2003-07-30 André Pönitz <poenitz@gmx.net>
2633 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2635 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2636 create a single function...
2638 * paragraph_funcs.C (moveItem): ... here.
2641 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2643 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2645 * LColor.[Ch]: Add comment and greyedout logical colors.
2647 2003-07-30 André Pönitz <poenitz@gmx.net>
2649 * tabular.C: don't use Assert too heavily. This crashes where it
2652 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2654 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2655 is disabled (bug 1232)
2657 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2659 * factory.C: limited 'arg' scope
2661 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2663 * factory.C: fixed Note submenu issues
2665 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2667 * factory.C: submenu for Note/Comment/Greyedout
2669 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2672 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2674 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2677 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2678 greyedout. Patch provided by Jürgen Spitzmüller.
2680 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2682 * kbmap.C (read): fix error message when reading bind files
2684 2003-07-29 Angus Leeming <leeming@lyx.org>
2686 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2687 certainly does not do what it purports to do. I am doing it, and
2688 us, a favour by killing it.
2690 2003-07-28 José Matos <jamatos@lyx.org>
2692 * buffer.C (readBody, do_writeFile):
2693 * paragraph.C(readParagraph): \end_document replaces \the_end.
2695 2003-07-29 André Pönitz <poenitz@gmx.net>
2698 * BufferView_pimpl.[Ch]:
2702 * textcursor.[Ch]: remove toggleToggle & Co
2704 2003-07-28 José Matos <jamatos@fep.up.pt>
2706 * buffer.C (readParagraph):
2707 * params_func (readParToken, readParagraph):
2708 * paragraph.C (write): \layout -> \begin_layout.
2710 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * lyxlex_pimpl.C (setFile): clean up slightly.
2714 * bufferparams.h: add compressed var
2716 * buffer_funcs.C (readFile): adjust for LyXLex change
2717 (newFile): ditto + simplify
2719 * buffer.C (writeFile): handle writing of compressed files
2721 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2722 Check if the file is compressed and set a bufferparm if so.
2724 * Makefile.am (lyx_LDADD): remove explicit -lz
2726 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2728 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2729 makeDocBookFile): put the real LyX version in the first line of
2733 * version.C.in: remove lyx_docversion
2735 * tabular.C (write_attribute): add a template-based version to
2736 write enums properly
2738 2003-07-28 André Pönitz <poenitz@gmx.net>
2743 * text3.C: use doubles again for x-coordinates. They are needed.
2745 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * messages.C (getLocaleDir): use lyx_localedir()
2749 * lyxlex_pimpl.C (setFile): compress stuff
2751 * buffer.C (writeFile): add some compression stuff
2752 (do_writeFile): new func, dont call expliti close... will this
2755 * Makefile.am (lyx_LDADD): add -lz
2757 2003-07-28 José Matos <jamatos@fep.up.pt>
2759 * buffer.C: increment file format.
2760 * paragraph_funcs (readParagraph, readParToken):
2761 * paragraph.C (readParagraph): add \end_layout.
2763 2003-07-27 Angus Leeming <leeming@lyx.org>
2765 * Makefile.am: remove special casing for configure-time setting of
2766 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2768 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2769 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2771 2003-07-26 André Pönitz <poenitz@gmx.net>
2773 * paragraph_func.[Ch]:
2774 * paragraph.C (realizeFont): inline it whereever it is used
2779 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2782 2003-07-26 André Pönitz <poenitz@gmx.net>
2786 * text2.C: get rid of LyXText::need_break_row
2788 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * toc.[Ch]: put namespace toc inside namespace lyx
2792 * MenuBackend.C (expandToc2): adjust for lyx::toc
2795 * lyxfunc.C (dispatch): adjust for lyx::find
2797 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2798 lyx::find instead. Reorganize a bit.
2799 (LyXReplace): rename to replace
2800 (LyXFind): rename to find
2802 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2805 2003-07-26 André Pönitz <poenitz@gmx.net>
2807 * text.C (setHeightOfRow): restrict scope of temporary variable
2809 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2810 code (never has been used?)
2812 2003-07-27 Asger Alstrup <alstrup@local>
2814 * text.C (fill): Optimise algorithm to exploit that we can reuse
2815 the LyXFont for many characters.
2816 (setHeightOfRow): Same thing.
2817 (rowBreakPoint): Same thing.
2819 2003-07-26 Asger Alstrup <alstrup@local>
2821 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2823 * text.C (singleWidth): Spurious font copying in hot-spot
2824 singleWidth avoided. Reorder tests for arabic for efficiency.
2826 * text.C (fill): handle empty paragraphs better.
2828 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * encoding.h: add includes
2833 * lyxrc.C: remove reading of bind files
2835 * lyx_main.C (init): setup bindings and menus only if we have a
2838 * kbmap.C (read): new method. Do the actual reading of bind
2841 * converter.C (dvipdfm_options):
2844 (output): adapt PAPER_* enums.
2846 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2848 * bufferparams.h: remove paper-related enums from there
2850 * paper.h: New file. A trivial header file to hold paper-related
2851 enums. It should later expand to contain many paper-related
2854 * lyxrc.C: declare extern displayTranslator
2856 2003-07-27 José Matos <jamatos@fep.up.pt>
2858 * tabular.[Ch] (linuxdoc): add support for tables and figures
2861 2003-07-27 José Matos <jamatos@fep.up.pt>
2863 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2864 consistency in both functions.
2865 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2867 2003-07-26 Asger Alstrup <alstrup@local>
2869 * rowpainter.C (paintRows): Change algorithm to work directly on
2870 the insets rather than asking every character in the document
2871 whether its an inset.
2873 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2875 * buffer.C (openFileWrite): factorize some code
2877 2003-07-26 Angus Leeming <leeming@lyx.org>
2880 * lyx_main.[Ch]: replace occurances of system_tempdir with
2883 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * rename Inset to InsetOld
2887 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2889 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2890 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2891 which I think is a bit clearer. EDIT is gone, since it was
2892 premature optimisation, and broken for mathed anyway.
2893 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2894 with cursor positioning in insets as well (math insets still do not
2895 work, but that's a different story anyway.) It mysteriously
2896 crashes sometimes with undo in the first paragraph, but I'm fairly
2897 confident that this is a compiler bug.
2899 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * paragraph.C (Paragraph): adjust for new clone return type
2903 (copyIntoMinibuffer): ditto
2905 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2907 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2908 by not having a special case, and always doing a full rebreak of
2909 the document after undo.
2911 2003-07-23 Angus Leeming <leeming@lyx.org>
2913 * factory.C (createInset): InsetExternal::setParams now takes a
2916 2003-07-23 Angus Leeming <leeming@lyx.org>
2918 * factory.C (createInset): changed interface to the external and
2919 graphics mailers' string2params functions.
2921 2003-07-23 Angus Leeming <leeming@lyx.org>
2923 * factory.C (createInset): pass a
2924 Buffer const * parameter to InsetExternalMailer's string2params.
2926 2003-07-22 John Levon <levon@movementarian.org>
2928 * Thesaurus.h: include the right aiksaurus header
2930 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2932 * MenuBackend.C (expand): check menu shortcuts unconditionally
2934 2003-07-21 Angus Leeming <leeming@lyx.org>
2936 * factory.C (createInset): pass a
2937 buffer_path parameter to InsetGraphicsMailer's string2params.
2939 2003-07-21 Angus Leeming <leeming@lyx.org>
2941 * BufferView_pimpl.C (buffer):
2944 * lyxfunc.C (dispatch):
2945 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2946 rather than the grfx shortcut.
2948 2003-07-21 André Pönitz <poenitz@gmx.net>
2950 * rowpainter.C: remove unused variables
2953 * tabular_funcs.h: move to tabular.C
2954 * Makefile.am: adjust
2956 * tabular.[Ch]: basic optical cleaning
2958 * author.h: pass references, not values
2960 2003-07-18 André Pönitz <poenitz@gmx.net>
2968 * text3.C: two-phase drawing for InsetText and InsetTabular
2969 some float -> int changes.
2971 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2973 * lyx_main.C: fix the fix
2975 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2977 * lyx_main.C: fix a crash in batch mode if no files specified
2980 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2982 * format.[Ch] (papersize): moved to BufferParams
2983 * converter.[Ch] (dvips_options): moved to BufferParams
2984 (dvipdfm_options): moved to anon namespace
2985 * bufferparams.[Ch]: added above functions.
2987 2003-07-17 André Pönitz <poenitz@gmx.net>
2991 * text2.C: don't call inset->update() anymore
2993 * metricsinfo.[Ch]: add convenience constructor
2995 2003-07-16 André Pönitz <poenitz@gmx.net>
3000 * text2.C: replace the LyXCursor::irow_ member with
3001 on-demand computation of the value
3003 2003-07-16 John Levon <levon@movementarian.org>
3005 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3007 2003-07-15 André Pönitz <poenitz@gmx.net>
3010 * text2.C: remove no more needed refresh_row
3012 2003-07-15 André Pönitz <poenitz@gmx.net>
3017 * text3.C: refresh_status tristate -> need_update bool
3019 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3021 * lyxtext.h (init): remove reinit argument (act as if always true)
3022 * text2.C: adjust to that
3024 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3026 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3027 * text3.C: use it to delete selections in some cases
3028 (bugs 441, 673, 702, 954).
3030 2003-07-14 André Pönitz <poenitz@gmx.net>
3032 * rowpainter.[Ch]: reduce interface
3034 2003-07-14 André Pönitz <poenitz@gmx.net>
3036 * BufferView_pimpl.C:
3037 * text2.C: adjust after removing unused BufferView * argument
3039 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3041 * text2.C (init): fix a crash fired on resize
3043 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3045 * buffer.[Ch]: added new closing signal
3046 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3047 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3048 BufferView::Pimpl via the closing the signal
3050 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3052 * buffer.[Ch]: take out all bv-related from buffer
3054 * BufferView_pimpl.[Ch]: connect to new signals
3055 * CutAndPaste.C: removed useless asserts
3056 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3059 * lyxfunc.C: moved view-related funciontality from vc here
3060 * paragraph.C: removed outdated comments
3063 2003-07-10 André Pönitz <poenitz@gmx.net>
3065 * BufferView_pimpl.C:
3069 * text2.C: remove InsetText::InnerCache, clean up consequences
3071 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3073 * ispell.C: fix two typos in error messages
3075 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3077 * Extend Note inset to other forms of annotation like Comment
3078 and Greyedout. Right button click gives dialog.
3080 Files modified or added (+):
3084 * ControlNote.[Ch] +
3086 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3087 frontends/controllers
3091 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3093 * aspell.C: add missing namespace lyx::support
3095 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3097 * BufferView.[Ch] (newFile): Add
3098 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3099 * LaTeX.[Ch] (message): added this signal and use it
3100 * buffer.[Ch] (busy, message): added these signals and use them
3101 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3105 * importer.C: use buffer signals instead of direct bv calling
3106 * lyx_cb.[Ch] (ShowMessage): removed
3109 * paragraph_funcs.C:
3110 * text2.C: use buffer signals
3112 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * introduce namespace lyx::graphics
3116 2003-07-02 André Pönitz <poenitz@gmx.net>
3118 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3120 2003-07-01 André Pönitz <poenitz@gmx.net>
3127 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3128 text*.C to text_func.C
3130 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * introduce namespace lyx::support
3134 2003-06-30 André Pönitz <poenitz@gmx.net>
3139 * text.C: re-enable --with-included-string
3141 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * textcursor.C: add <config.h>
3145 * text.C (getWord): remove const from word_location arg
3147 * lyxvc.C (getLogFile): fix const type order
3149 * lyxtext.h: remove const from word_location arg, add arg name
3151 * lyxlayout.h: currect type on labeltype.
3153 * importer.C: correct \file
3155 * converter.C (intToFormat): use std:: on ret val, ws changes
3157 * bufferlist.h: correct \file
3159 * buffer.C (makeLinuxDocFile): fix const type order
3160 (makeDocBookFile): ditto
3161 (fillWithBibKeys): use std:: on stdlib args.
3163 * CutAndPaste.C: fix authors.
3164 (availableSelections): use std:: on return vector
3166 2003-06-27 André Pönitz <poenitz@gmx.net>
3168 * BufferView_pimpl.C:
3169 * bufferview_funcs.C:
3177 * text3.C: remove LyXCursor::row_ member
3180 * text.C: rename fullRebreak() to partialRebreak() and implement
3181 a fullRebreak() that really bereks fully
3183 * textcursor.h: new struct for cursor-related data
3185 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3187 * lyx_main.C (LyX): get full path of document loaded on the
3190 2003-06-26 André Pönitz <poenitz@gmx.net>
3192 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3193 remove unused/broken operator>,<,>=.
3195 * text.C: remove only use of broken operator<= in an Assert().
3197 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3199 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3200 moved errorlist_.clear to showErrorList
3202 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3204 * converter.C (scanLog, runLaTeX):
3205 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3206 move the bv->showErrorList call to the callers
3207 * lyxfunc.C: i.e. here...
3209 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3210 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3211 namespace, the second to...
3212 * buffer_funcs (BufferFormat, parseErrors): added
3213 * errorlist.C (ErrorList(TeXErrors const &)): removed
3215 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3217 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3219 2003-06-24 "Garst R. Reese" <reese@isn.net>
3223 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3225 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3227 * version.C.in: change docversion to 1.4
3229 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3231 * buffer.C: fix a bug just introduced
3233 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3235 * buffer.[Ch]: added the parseError signal and use it, removed
3237 * BufferView.[Ch] (addError): moved to ...
3238 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3239 to the Buffer::parseError signal to catch (guess what) parse errors
3240 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3242 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3244 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3245 ability to create a buffer and to return an existing one from
3246 the list. Moved these functions to...
3247 * buffer_funcs.[Ch]: added
3248 * BufferView.[Ch] (loadLyXFile): added
3249 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3250 job removed from bufferlist::loadLyXFile.
3251 * buffer.C (setReadOnly): make it work without view
3252 (i.e added an if (users))
3254 2003-06-19 Angus Leeming <leeming@lyx.org>
3257 * LyXAction.C (init):
3258 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3259 with LFUN_DIALOG_SHOW <name> <data>.
3261 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3263 * CutAndPaste.C (availableSelections): small compilation fix for
3264 ancient (gcc 2.9x) compilers
3266 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * text3.C (cursorNext): add tmp var
3270 * text2.C (updateCounters): for function calling out of for clause
3271 (replaceSelectionWithString): ditto
3272 (insertStringAsParagraphs): ditto
3273 (getColumnNearX): add tmp var
3274 (setCursorFromCoordinates): add tmp var
3275 (cursorDownParagraph): add tmp var
3276 (deleteEmptyParagraphMechanism): add tmp var
3278 * text.C (insertChar): add tmp var
3280 * rowpainter.C (paintDepthBar): add tmp var
3282 * CutAndPaste.C (availableSelections): potentially check all
3283 paragraphs in a cut to fill the shown strings.
3285 2003-06-18 André Pönitz <poenitz@gmx.net>
3287 * kbmap.[Ch]: use vector<> instead of list<>
3289 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3291 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3292 pasteSelection with index
3294 * text2.C (pasteSelection): modify, call pasteSelection with index
3296 * paragraph.C (asString): reimplement version with no interval to
3297 call the one with interval.
3299 * lyxtext.h: add index arg to pasteSelection
3301 * MenuBackend.C (MenuItem): handle PasteRecent
3302 (Menu::read::Menutags): add md_pasterecent
3304 (expandPasteRecent): new function
3307 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3309 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3311 (availableSelections): new function
3313 2003-06-17 Angus Leeming <leeming@lyx.org>
3315 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3317 2003-06-17 Angus Leeming <leeming@lyx.org>
3320 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3322 * lyxfunc.C (dispatch): invoke it.
3324 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3326 * iterators.C (operator++, ParPosition): reintroduce some
3327 const_cast for the benefit of older compilers.
3329 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3331 * text3.C (dispatch): do not modify clipboard when doing
3332 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3333 LFUN_DELETE_SKIP on a selection selection
3335 2003-06-16 André Pönitz <poenitz@gmx.net>
3341 * tabular.[Ch]: IU of clone() and getLabelList();
3343 2003-06-13 André Pönitz <poenitz@gmx.net>
3345 * tabular.h: compactification
3347 2003-06-12 André Pönitz <poenitz@gmx.net>
3351 * tabular_funcs.h: some renaming plus whitespace
3353 2003-06-12 André Pönitz <poenitz@gmx.net>
3356 * BufferView_pimpl.C:
3362 * toc.C: Return a Paragraph & for ParIterator::operator*()
3364 2003-06-11 John Levon <levon@movementarian.org>
3368 * ToolbarBackend.C: add "Toolbars" section and
3371 2003-06-10 Angus Leeming <leeming@lyx.org>
3374 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3376 * lyxfunc.C (dispatch): invoke it.
3378 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * main.C: protect <ios> with HAVE_IOS
3381 (main): protect sync_with_stdio with HAVE_IOS
3383 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3385 * text2.C (cutSelection): adjust
3386 (pasteSelection): adjust
3388 * messages.C: handle get of empty string
3390 * main.C (main): use sync_with_stdio(false)
3392 * lyxfunc.C (dispatch): adjust
3394 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3395 (WriteAs): remove unneeded BufferView arg.
3397 * bufferparams.h: use correct types on papersize, papersize2 and
3400 * bufferparams.C (readToken): adjust for type
3401 (writeLaTeX): add missing cases to switch.
3403 * bufferlist.C (quitWriteBuffer): adjust
3406 * buffer.C (asciiParagraph): remove some commented code.
3408 * CutAndPaste.C: remove current_view extern variable.
3409 (cutSelection): add BufferParams arg.
3410 (eraseSelection): add BufferParams arg.
3411 (pasteSelection): add Buffer const & arg
3413 2003-06-07 John Levon <levon@movementarian.org>
3416 * paragraph_funcs.C:
3417 * paragraph_pimpl.C:
3421 * paragraph.C: allow InsetERT to freely space lines,
3422 and some consolidation of code
3424 2003-06-06 José Matos <jamatos@fep.up.pt>
3426 * buffer.C (makeDocBookFile): fix bug #821
3428 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3430 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3432 2003-06-04 Angus Leeming <leeming@lyx.org>
3434 * buffer.C: bump format to 224.
3436 2003-06-05 André Pönitz <poenitz@gmx.net>
3438 * text2.C (redoParagraphs): remove two const_cast<>
3440 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3442 * ParagraphList.h: remove last remnants of NO_STD_LIST
3444 2003-06-03 Angus Leeming <leeming@lyx.org>
3446 * factory.C (createInset): small change to the way InsetExternal's params
3449 2003-06-04 André Pönitz <poenitz@gmx.net>
3451 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3453 * paragraph_pimpl.h:
3454 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3456 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3458 * undo_funcs.C: make some simple cases of undo work again
3460 2003-06-03 John Levon <levon@movementarian.org>
3462 * ispell.C: HPUX doesn't have sys/select.h
3465 2003-06-03 John Levon <levon@movementarian.org>
3467 * CutAndPaste.C: update tabular and include inset
3472 * paragraph.C: remove owningBuffer(), don't pass Buffer
3475 * factory.C: insetGraphicsParams changed
3477 2003-06-02 John Levon <levon@movementarian.org>
3483 * text3.C: remove insetparent
3485 2003-06-02 John Levon <levon@movementarian.org>
3488 * buffer.C: fix inset_iterator.end(), move out of line
3491 2003-06-01 John Levon <levon@movementarian.org>
3493 * text3.C: use a proper cut/paste when doing inset
3494 insert (from Jürgen Spitzmüller)
3496 2003-06-01 John Levon <levon@movementarian.org>
3498 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3500 2003-05-30 André Pönitz <poenitz@gmx.net>
3502 * rowpainter.C: unify second drawing phase
3504 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3506 * trans_mgr.C: remove one case of current_view
3508 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3510 * paragraph_funcs.h: remove paragraph.h include
3512 * paragraph.h: delete NO_STD_LIST stuff
3514 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3516 * buffer.h: remove paragraph.h include
3518 * ParagraphList.C: delete file
3520 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3522 * toc.C (getTocList): adjust
3524 * paragraph_pimpl.C (validate): adjust
3526 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3528 * paragraph.C (Paragraph): adjust
3529 (getPositionOfInset): use const_iterator, adjust
3530 (bibitem): use const_iterator, adjust
3531 (setInsetOwner): adjust
3533 * iterators.C (operator++): adjust
3535 * InsetList.[Ch]: Replace selfmade iterator with standard
3536 vector::iterator also introduce const_iterator. Remove getPos,
3537 getInset and setInset from InsetTable. Adjust accordingly.
3539 * BufferView.C (lockInset): adjust
3540 (ChangeInsets): adjust
3542 * tabular.[Ch]: delete commented same_id functions
3544 2003-05-28 John Levon <levon@movementarian.org>
3546 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3548 2003-05-28 André Pönitz <poenitz@gmx.net>
3550 * metricsinfo.[Ch]: remove 'fullredraw' member
3552 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3554 * lyxtextclass.C (operator): remove caching.
3556 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * text2.C (cursorBottom): adjust
3561 (setCounter): use ParagraphList::find, adjust
3563 * text.C (workWidth): use ParagraphList::find, adjust
3565 * lyxcursor.C (LyXCursor): adjust
3567 * buffer.C (inset_iterator): adjust
3569 * ParagraphList.h: make iterator(value_type) private, make
3570 ParagraphList a friend of iterator.
3572 * ParagraphList.C (find): new function
3574 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3576 2003-05-27 André Pönitz <poenitz@gmx.net>
3578 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3580 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3582 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3584 2003-05-26 John Levon <levon@movementarian.org>
3586 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3588 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * remove same_id from function signatures, adjust.
3592 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3596 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3598 * paragraph.C (Paragraph): get rid of same_ids parameter
3600 * ParagraphList.C (insert): adjust
3603 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * paragraph_funcs.C (breakParagraph): adjust
3606 (breakParagraphConservative): adjust
3608 * buffer.C (readParagraph): adjust
3610 * ParagraphList.C (insert): take a reference instead of a pointer
3613 * paragraph.[Ch] (id): new function
3615 * bufferlist.C (newFile): adjust
3617 * ParagraphList.C (ParagraphList): adjust
3619 (push_back): take a reference instead of a pointer.
3621 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3623 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3626 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3627 set else use old code.
3629 * ParagraphList.C: remove all NO_NEXT code and only compile this
3630 code of NO_STD_LIST is set.
3632 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3634 * BufferView_pimpl.C:
3644 * graphics/GraphicsConverter.C:
3645 * graphics/PreviewLoader.C: header adjustment
3647 2003-05-23 Angus Leeming <leeming@lyx.org>
3649 * LaTeXFeatures.[Ch] (useBabel): new method.
3650 * bufferparams.C (writeLaTeX): use it.
3652 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * ParagraphList.h (set): remove unused function.
3656 2003-05-23 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.C:
3663 * undo_funcs.C: setUndo reworked
3665 * iterators.[Ch]: add access to topmost ParagraphList
3667 * lyxtext.[Ch] (workWidth): add a const
3669 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3671 * texrow.[Ch] (increasePos): remove function
3672 * exporter.C (export): removed unused var and outdated comment
3674 2003-05-23 Angus Leeming <leeming@lyx.org>
3676 * latexrunparams.h: rename fragile as moving_arg.
3677 * paragraph.C (simpleTeXOnePar): ditto.
3678 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3680 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3684 (textUndoOrRedo): comment out a currently unused var.
3686 * paragraph.h (NO_NEXT): enable NO_NEXT
3688 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3690 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3692 * exporter.C (Export): adjust for removeAutoInsets removal.
3694 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3696 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3698 * BufferView.[Ch] (removeAutoInsets): delete function
3700 2003-05-22 Angus Leeming <leeming@lyx.org>
3702 * latexrunparams.h: add a free_spacing variable.
3704 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3705 to pass moving_arg, as the data is stored in runparams.fragile.
3707 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3708 to Inset::latexOptional or to simpleTeXOnePar.
3710 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3711 free_spacing arg to Inset::latexOptional.
3713 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3716 2003-05-22 Angus Leeming <leeming@lyx.org>
3718 * latexrunparams.h: add fragile and use_babel variables.
3720 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3721 * buffer.C (makeLaTeXFile): store this returned value in
3722 runparams.use_babel, thus passing it to the inset::latex methods.
3724 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3725 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3727 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3728 longer has a fragile arg, as it is stored in runparams.fragile.
3730 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3731 moving_arg parameter as the data is stored in runparams.fragile.
3733 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3734 a fragile parameter as the data is stored in runparams.fragile.
3736 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3740 2003-05-22 Angus Leeming <leeming@lyx.org>
3742 * latexrunparams.h: add a 'bool nice' which defaults to false.
3744 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3745 now encapsulated within runparams.
3747 * bufferlist.C (updateIncludedTeXfiles):
3748 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3750 2003-05-22 Angus Leeming <leeming@lyx.org>
3752 * latexrunparams.h: new file containing struct LatexRunParams.
3753 * Makefile.am: add new file.
3755 * LaTeX.[Ch] (c-tor, run):
3756 * buffer.[Ch] (makeLaTeXFile):
3757 * bufferlist.[Ch] (updateIncludedTeXfiles):
3758 * converter.C (convert, scanLog):
3759 * converter.[Ch] (runLaTeX):
3760 * exporter.C (Export):
3761 * paragraph.[Ch] (simpleTeXOnePar):
3762 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3763 * paragraph_funcs.[Ch] (latexParagraphs):
3764 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3765 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3766 pass around a LatexRunParams parameter.
3768 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * paragraph.[Ch]: remove unused constructor
3772 * ParagraphList.C (erase): new function, taking two iterators
3774 2003-05-22 André Pönitz <poenitz@gmx.net>
3776 * undo_funcs.C: remove duplicated code
3778 * iterator.[Ch]: operator=
3780 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * tabular.C (SetMultiColumn): ws changes
3784 * rowpainter.C (paintFirst): get rid of a ->previous
3786 * lyx_cb.C (getPossibleLabel): parlist simplification
3788 * BufferView.C (ChangeInsets): simplify slightly.
3790 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3792 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3793 * lfuns.h: new LFUN_SPACE
3794 * lyxfunc.C: protected space has a new lfun
3795 * paragraph_funcs.C: read new space insets
3797 * factory.C: handle new space insets
3799 2003-05-22 André Pönitz <poenitz@gmx.net>
3802 * BufferView_pimpl.C:
3805 * undo_funcs.C: return a ParIterator from getParFromID.
3807 * iterators.[Ch]: add two const's
3809 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * toc.C (getTocList): adjust
3813 * iterators.[Ch]: rework for parlist
3815 * buffer.C (par_iterator_begin): adjust
3816 (par_iterator_end): adjust
3818 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3820 * BufferView.C (removeAutoInsets): adjust
3821 (ChangeInsets): adjust
3823 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3825 * text.C (top_y): fix bug 1110
3827 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3829 * errorlist.[Ch]: added
3832 * BufferView_pimpl.C:
3833 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3836 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * Makefile.am: ensure that lyx is relinked upon changes to the
3839 various "convenience" libs.
3841 2003-05-20 Angus Leeming <leeming@lyx.org>
3843 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3844 files are compiled in alphabetical order again.
3846 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3848 2003-05-19 Angus Leeming <leeming@lyx.org>
3850 * gettext.[Ch]: remove "char const * _(char const *)".
3852 2003-05-19 André Pönitz <poenitz@gmx.net>
3854 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3863 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3865 2003-05-19 André Pönitz <poenitz@gmx.net>
3869 * lyxtextclass.[Ch]:
3871 * paragraph_funcs.[Ch]:
3873 * text3.C: more insetenv work
3875 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3877 * ParagraphParameters.C (params2string): small bug fixed
3879 2003-05-16 André Pönitz <poenitz@gmx.net>
3882 * bufferview_funcs.C: patch from Kornel Benko to prevent
3883 crash when _(...) is called twice in a statement
3885 2003-05-16 André Pönitz <poenitz@gmx.net>
3892 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3894 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3896 * lyx_main.C (init): remove spurious static_cast
3898 2003-05-14 André Pönitz <poenitz@gmx.net>
3900 * BufferView.C: fix format string
3902 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3904 * BufferView.[Ch] (insertErrors): removed
3905 * BufferView.[Ch] (showErrorList): added
3906 * buffer.C (runChkTeX):
3907 * converter.C (scanLog): call showErrorList instead of inserterrors
3909 2003-05-13 André Pönitz <poenitz@gmx.net>
3911 * BufferView_pimpl.C:
3913 * bufferview_func.C:
3920 * tabular_funcs.h: tostr() from its own header
3922 * ParagraphParameters.C:
3927 * text3.C: STRCONV()
3929 2003-05-12 André Pönitz <poenitz@gmx.net>
3932 * BufferView_pimpl.C:
3936 * ParagraphParameters.C:
3940 * bufferview_funcs.C:
3953 * paragraph_funcs.C:
3957 * text3.C: boost::format -> bformat all over the place
3960 2003-05-09 André Pönitz <poenitz@gmx.net>
3962 * LColor.[Ch]: Pimpl the #include <map> away
3964 2003-05-09 John Levon <levon@movementarian.org>
3966 * bufferlist.C: never remove emergency saves
3968 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * Makefile.am: better lib building
3972 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3976 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3977 (simpleTeXSpecialChars): adjust
3978 (simpleTeXSpecialChars): adjust
3979 * paragraph.C (simpleTeXOnePar): adjust
3980 * buffer.C (makeLaTeXFile): adjust
3982 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3984 * text2.C (changeDepth): parlist cleanup
3985 (getColumnNearX): ditto
3987 * rowpainter.C (getLabelFont): parlist cleanup
3989 * bufferlist.C (newFile): parlist cleanup
3991 * CutAndPaste.C (eraseSelection): parlist cleanup
3993 * BufferView_pimpl.C (trackChanges): parlist cleanup
3996 * BufferView.C (lockInset): parlist cleanup.
3997 (ChangeInsets): ditto
3999 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * CutAndPaste.h: Update file header.
4003 * CutAndPaste.C: Update file header.
4004 Store the parts cut out of the Document in a limited_stack.
4005 (copySelection): adjust
4006 (pasteSelection): new function, takes the index in the limited stack.
4007 (nrOfParagraphs): adjust
4008 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4009 simplify error inset insertion.
4010 (checkPastePossible): adjust
4012 2003-05-06 John Levon <levon@movementarian.org>
4014 * text2.C: don't cast wrap inset to float
4016 2003-05-05 André Pönitz <poenitz@gmx.net>
4019 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4021 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4022 few naked Paragraph *.
4024 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4026 * bufferparams.C: Output warning if a document with missing
4027 TeX document class is loaded
4028 * exporter.C: Disable TeX exports if the document class is missing
4031 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4032 isTeXClassAvailable()
4034 2003-05-03 John Levon <levon@movementarian.org>
4037 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4038 explicit cursor show/hide
4040 * BufferView_pimpl.h:
4041 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4042 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4044 * lyxfunc.C: hide cursor before dispatching.
4049 * text3.C: remove explicit cursor hides
4051 2003-05-02 André Pönitz <poenitz@gmx.net>
4053 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4056 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4059 * text2.C: tiny whitespace
4061 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * undo_funcs.C: almost only ws changes.
4065 * ParagraphList.C (splice): just return if pl is empty.
4067 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * ParagraphList.C (splice): new function.
4071 * CutAndPaste.C (pasteSelection): use it
4073 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * CutAndPaste.C (pasteSelection): remove the last next and
4076 previous from this file.
4078 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4080 * CutAndPaste.C (pasteSelection): more clean up, user proper
4081 ParagraphList functions for pasteing.
4083 * ParagraphList.C (insert): new function, three arg insert
4085 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * ParagraphList.C (insert): new function, three arg insert
4089 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4096 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4100 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4103 (copySelection): clean up a bit.
4104 (pasteSelection): use make_pair
4106 * ParagraphList.C (ParagraphList): implement copy constructor
4107 (operator=): implement, base on copy constructor.
4110 * paragraph.C (erase): return a bool
4112 * paragraph_pimpl.C (erasePos): remove function, move contents...
4113 (erase): ... here. Return a bool.
4114 (erase): call erase instead of erasePos.
4116 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4118 * ParagraphList.h: define PitPosPair
4119 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4120 ParagraphList, fix a bug on pasting multiple pars
4121 * text2.C: change interface to C&P
4123 2003-04-30 André Pönitz <poenitz@gmx.net>
4125 * undo_func.C: revert part of yesterday's patch 2
4127 2003-04-30 John Levon <levon@movementarian.org>
4129 * LColor.C: s/tabular/table/
4131 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text3.C (dispatch): do not convert iterator -> pointer
4134 * undo_funcs.C (setCursorParUndo): ditto
4135 * text_funcs.C (transposeChars): ditto
4137 * text2.C (setLayout): ws changes only
4139 * text.C (breakParagraph): do not convert iterator -> pointer
4141 (acceptChange): ditto
4142 (rejectChange): ditto
4147 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4150 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4152 * text3.C (gotoInset): YABG (yet another bad getChar)
4154 2003-04-29 André Pönitz <poenitz@gmx.net>
4156 * paragraph.h: make operator= private unimplemented as long as
4159 * ParagraphList.C: whitespace
4162 * paragraph_pimpl.[Ch]:
4163 * paragraph_funcs.C:
4165 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4168 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4170 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4172 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4173 * paragraph.[Ch] (erase):
4174 * paragraph_pimpl.[Ch] (erase): change return type and value
4175 * text2.C (cutSelection): some rework
4177 2003-04-28 John Levon <levon@movementarian.org>
4179 * bufferlist.C: changes for unsaved changes dialog
4181 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * bufferlist.C (newFile): set language (messages_) for new
4186 * buffer.C (readFile): ws changes only.
4188 2003-04-28 André Pönitz <poenitz@gmx.net>
4193 * BufferView_pimpl.C:
4194 * BufferView.C: getParFromID related ParagraphList::iterator changes
4196 2003-04-28 André Pönitz <poenitz@gmx.net>
4198 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4201 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * messages.C: remove one more localedir class variable.
4205 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * messages.C (getLocaleDir): singleton generation function
4209 (Messages): add a default constructor.
4211 * main.C (main): do not setup localedir here, do not call
4214 * gettext.C (_): use it.
4215 (gettext_init): delete funciton
4217 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * gettext.C (getLyXMessages): new singleton generating function.
4221 * buffer.C (updateDocLang): adjust
4223 * Makefile.am (messages.o): add target
4224 (main.o): remove target
4226 2003-04-27 John Levon <levon@movementarian.org>
4231 * lyxvc.C: specify cancel button in Alert::prompt
4233 2003-04-26 John Levon <levon@movementarian.org>
4238 * LyXAction.C: add LFUN_INSET_SETTINGS
4240 * lyxfunc.C: don't enable tabular-feature when there's
4241 just any locking inset
4243 2003-04-26 John Levon <levon@movementarian.org>
4245 * bufferlist.C: re-add Cancel to buffer close question
4247 * lyxfunc.C: fix import UI a bit
4249 2003-04-25 John Levon <levon@movementarian.org>
4251 * gettext.C: remove the broken asserts for now
4253 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * messages.C: make case where setlocale cannot comply work better.
4257 * buffer.C (updateDocLang): new function
4258 (changeLanguage): use it
4261 * text2.C (setCounter): use B_ a bit.
4263 * lyxlayout.C (Read): be sure to trim the label strings.
4265 * messages.C (Messages): fix typo in comment
4267 * buffer.C (readFile): set message_ after file is loaded.
4268 (makeDocBookFile): remove double return
4269 (changeLanguage): reset message_ upon language change.
4270 (B_): new func, use this to get translated buffer strings.
4272 * main.C: add myself and Jean Marc as authors.
4274 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * messages.[hC]: pimplify Messages, and three different pimpls to be
4277 used in different circumstances.
4279 * gettext.[Ch]: change for use with new message code.
4281 2003-04-24 André Pönitz <poenitz@gmx.net>
4283 * factory.C: support for eqref
4285 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4287 * messages.[Ch]: add missing char
4289 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4291 * messages.[Ch]: New files
4293 2003-04-18 John Levon <levon@movementarian.org>
4297 * BufferView_pimpl.C:
4301 * text2.C: remove layout-copy/paste (bug 778)
4303 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4305 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4307 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4309 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4310 if they succeed. Act accordingly.
4312 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * text2.C (setCharFont): adjust
4315 (setCounter): adjust
4316 (insertStringAsLines): adjust
4318 * text.C (leftMargin): adjust
4319 (setHeightOfRow): adjust
4321 * rowpainter.C (paintFirst): adjust
4324 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4326 (isFirstInSequence): ditto
4327 (getEndLabel): ditto
4330 * paragraph.C (getParLanguage): comment out some hard stuff.
4332 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4334 (simpleDocBookOnePar): ditto
4335 (makeDocBookFile): use ParagraphList::iterator
4337 * CutAndPaste.C (pasteSelection): adjust
4339 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * text2.C (getFont): adjust
4342 (getLayoutFont): adjust
4343 (getLabelFont): adjust
4345 * paragraph_funcs.C (TeXOnePar): adjust
4347 * buffer.C (simpleLinuxDocOnePar): adjust
4348 (simpleDocBookOnePar): adjust
4350 * CutAndPaste.C (pasteSelection): adjust
4352 * BufferView.C (getEncoding): adjust
4354 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4356 2003-04-16 John Levon <levon@movementarian.org>
4358 * lyxfind.C: use parlist stuff for search/changes
4360 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4364 * text2.C (deleteEmptyParagraphMechanism): adjust
4366 * text2.[Ch] (ownerParagraph): delete func (both of them
4368 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4372 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * ParagraphList.C: prepare for NO_NEXT
4376 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * text2.C (getFont): adjust
4379 (getLayoutFont): adjust
4380 (getLabelFont): adjust
4382 * paragraph.C (getFont): adjust
4383 (getLabelFont): adjust
4384 (getLayoutFont): adjust
4386 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4388 2003-04-15 John Levon <levon@movementarian.org>
4392 * lyx_main.C: handle Include in .ui files
4394 2003-04-15 John Levon <levon@movementarian.org>
4396 * MenuBackend.C: make the doc files length shorter
4399 * ToolbarBackend.C: handle toolbar placement flags,
4402 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4407 * paragraph_funcs.C (TeXOnePar): adjust
4409 * paragraph.C (getLabelFont): add outerfont arg, adjust
4410 (getLayoutFont): ditto
4411 (simpleTeXOnePar): adjust
4413 * paragraph_pimpl.C (realizeFont): delete func
4415 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4417 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4418 row argument, constify cur argument.
4420 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4422 * text2.C (getFont): adjust
4423 (getLayoutFont): adjust
4424 (getLabelFont): adjust
4426 * paragraph_funcs.C (TeXOnePar): adjust
4427 (outerFont): new func...
4428 (realizeFont): ...moved out from here, changed this to facilitate
4431 * paragraph.C (getFont): take outerfont as arg, adjust
4432 (simpleTeXOnePar): add outerfont arg, adjust
4434 * buffer.C (simpleLinuxDocOnePar): adjust
4435 (simpleDocBookOnePar): adjust
4437 * CutAndPaste.C (pasteSelection): adjust
4439 * BufferView.C (getEncoding): adjust
4441 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * text2.C (setCharFont): adjust
4444 (setCounter): adjust
4446 * text.C (leftMargin): adjust
4447 (setHeightOfRow): adjust
4449 * rowpainter.C (paintFirst): adjust
4452 * paragraph_pimpl.C (realizeFont): adjust
4454 * paragraph.C (isFirstInSequence): move from here...
4455 * paragraph_funcs.C (isFirstInSequence): ...to here
4457 * paragraph.C (outerHook): move from here...
4458 * paragraph_funcs.C (outerHook): ...to here
4460 * paragraph.C (depthHook): move from here...
4461 * paragraph_funcs.C (depthHook): ...to here
4463 * paragraph.C (getEndLabel): move from here...
4464 * paragraph_funcs.C (getEndLabel): ...to here
4466 * text2.C (realizeFont): move from here...
4467 * paragraph_funcs.C (realizeFont): ...to here
4469 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4473 2003-04-14 Angus Leeming <leeming@lyx.org>
4475 * LColor.[Ch]: scrap LColor mathcursor.
4477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * lyxlex.[Ch] (text): delete function
4480 * trans.C (Load): adjust
4481 * paragraph_funcs.C (readParToken): adjust
4483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4486 vector<char> instead of a char[].
4488 * lyxlex_pimpl.C (getString): adjust
4490 (lex): use getString
4494 * lyxlex.C (text): use pimpl_->getString()
4498 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4501 (makeFontEntriesLayoutSpecific): temp var for par.size()
4502 (setLayout): temp var for ownerParagraphs().end()
4503 (fullRebreak): temp var for rows().end()
4504 (selectionAsString): temp var for boost::next(startpit), realize
4505 that the while really is a regular for loop.
4506 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4507 setCursor in one place.
4508 (setParagraph): temp vr for ownerParagraphs().end()
4509 (updateCounters): make the while loop a for loop
4510 (cutSelection): temp var for ownerParagraphs().end()
4511 (updateInset): make the do {} while() a regular for loop
4512 (getCursorX): use temp vars
4513 (setCurrentFont): use temp vars
4514 (getColumnNearX): use temp vars
4516 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * text.C (transformChar): use temp var for getChar
4519 (computeBidiTables): use temp var for row->par()
4520 (fill): move temp vars for row->par() and pit->layout() earlier in
4522 (labelFill): use temp var for row->par()
4523 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4524 asc and desc, realize that pit never changes and that firstpit is
4525 just a duplicate and not needed. Exchange rit->par() with pit in a
4527 (breakAgain): use a temp var for boost::next(rit)
4528 (breakAgainOneRow): ditto
4529 (breakParagraph): use a temp var for rows().begin()
4530 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4531 (cursorRightOneWord): use temp var for cursor.par() and
4532 cursor.pos(), remove usage of tmpcursor.
4533 (cursorLeftOneWord): use temp var for cursor.par() and
4534 cursor.pos() only set cur at end of function.
4536 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * text.C, text2.C: exchange all usage of Paragraph::next with
4539 boost::next(ParagraphList::iterator)
4541 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4543 * text2.C (cursorTop): simplify implementation
4544 (cursorBottom): ditto
4545 (setParagraph): use ParagraphList::iterator
4546 (setCurrentFont): adjust
4547 (getColumnNearX): adjust
4548 (cursorRight): adjust
4549 (cursorLeft): remove usage of Paragraph::previous
4550 (cursorUpParagraph): ditto
4551 (deleteEmptyParagraphMechanism): slight cleanup
4553 * text.C (isBoundary): take a Paragraph const & instead of a
4555 (addressBreakPoint): ditto
4556 (leftMargin): remove usage of Paragraph::previous.
4557 (setHeightOfRow): ditto
4558 (cursorLeftOneWord): ditto
4559 (selectNextWordToSpellcheck): ditto
4562 (breakParagraph): remove one usage of Paragraph::next
4563 (redoParagraph): ditto
4564 (acceptChange): ditto
4565 (insertChar): adjust
4566 (rowBreakPoint): adjust
4568 * bufferview_funcs.C (toggleAndShow): adjust
4570 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4572 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4573 methods to access it.
4575 * text.C: Added updateRowPositions to compute all row positions.
4576 Make top_y and getRowNearY() to use the cached y position
4578 2003-04-11 John Levon <levon@movementarian.org>
4580 * text.C (rowBreakPoint): reintroduce the labelEnd
4581 checks, code copied from the row fill stuff. Deep voodoo.
4583 * text.C (fill): add a comment and debugging for the
4586 2003-04-11 John Levon <levon@movementarian.org>
4588 * text.C: make sure fullrow insets get wrapped to the next line,
4589 even when they're in a manual label
4591 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * text2.C (insertParagraph): make it take ParagraphList::iterator
4595 (setLayout): make it return ParagraphList::iterator
4596 (redoParagraphs): ditto
4598 (checkParagraph): ditto
4600 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4602 * text2.C: adjust several funcs.
4603 (realizeFont): take a ParagraphList::iterator as arg.
4604 (getLayoutFont): ditto
4605 (getLabelFont): ditto
4606 (setCharFont): ditto
4608 * text.C: adjust several funcs.
4610 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4612 * text.C (selectNextWordToSpellcheck): don't accidentally
4615 2003-04-10 John Levon <levon@movementarian.org>
4617 * ToolbarBackend.C (getIcon): special handling for
4620 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4622 * text2.C (cursorRight): a getChar assert fixed
4624 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * text2.C (getFont): change to take a ParagraphList::iterator
4627 instead of Paragraph*
4628 Adjust several functions.
4630 * text.C (transformChar): change to take a ParagraphList::iterator
4631 instead of Paragraph*
4632 (singleWidth): ditto
4633 Adjust several functions.
4635 * rowpainter.C: adjust several functions
4636 * rowpainter.h:store a ParagraphList::iterator and not a
4640 2003-04-09 John Levon <levon@movementarian.org>
4645 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4646 and the "help" bits as well
4648 2003-04-09 John Levon <levon@movementarian.org>
4651 * ToolbarBackend.C: allow multiple toolbars
4653 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * undo_funcs.C (setCursorParUndo): adjust
4657 * text_funcs.C (transposeChars): adjust
4659 * text3.C (gotoNextInset): adjust
4662 * text2.C (setLayout): adjust
4663 (changeDepth): adjust
4665 (redoParagraphs): adjust
4666 (selectionAsString): adjust
4667 (setParagraph): adjust
4668 (insertInset): adjust
4669 (cutSelection): adjust
4670 (copySelection): adjust
4671 (pasteSelection): adjust
4672 (insertStringAsLines): adjust
4673 (updateInset): adjust
4674 (setCursor): change to take a ParagraphList::iterator parameter
4675 (setCursorIntern): change to take a ParagraphList::iterator parameter
4676 (setCurrentFont): adjust
4677 (cursorLeft): adjust
4678 (cursorRight): adjust
4679 (deleteEmptyParagraphMechanism): adjust
4681 * text.C (breakParagraph): adjust
4682 (insertChar): adjust
4683 (acceptChange): adjust
4684 (rejectChange): adjust
4685 (selectNextWordToSpellcheck): adjust
4686 (changeCase): adjust
4690 * lyxfind.C (SearchForward): adjust
4691 (SearchBackward): adjust
4692 (nextChange): adjust
4694 * lyxcursor.C (par): adjust
4696 * lyxcursor.h: store a ParagraphList::iterator instead of a
4699 * lyx_cb.C (getPossibleLabel): adjust
4701 * bufferview_funcs.C (toggleAndShow): adjust
4703 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4706 * BufferView.C (removeAutoInsets): adjust
4707 (lockedInsetStoreUndo): adjust
4709 2003-04-09 John Levon <levon@movementarian.org>
4711 * ToolbarBackend.C: try icon without argument
4712 if with argument fails
4714 2003-04-08 John Levon <levon@movementarian.org>
4717 * ToolbarBackend.C: add getIcon(), handle tooltip,
4718 and change from "Icon" to "Item".
4720 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4722 * BufferView.C (lockInset): another bad getchar crunched
4724 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4726 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4729 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4731 * lyxfind.C (searchForward, searchBackwards): bug 782
4733 2003-04-07 John Levon <levon@movementarian.org>
4735 * paragraph.C: remove dead comment
4737 * text.C: remove troublesome depth-fiddling code
4738 in leftMargin() and rightMargin() (bug 1017)
4740 * text.C: fix breaking of rows in nested lists
4743 * text2.C (updateCounters): fix up depth values
4746 2003-04-07 John Levon <levon@movementarian.org>
4748 * BufferView_pimpl.C: clear message when doc finishes resizing,
4749 and after a mouse event
4751 * lyxfunc.C: clear message after exiting inset
4753 2003-04-07 John Levon <levon@movementarian.org>
4755 * bufferview_funcs.C: show math status not outside
4756 status in the statusbar
4758 2003-04-07 John Levon <levon@movementarian.org>
4760 * lyxfunc.C: note status changed after a depth change
4762 2003-04-04 Angus Leeming <leeming@lyx.org>
4764 * LaTeX.h: move AuxInfo operator==, != out of line.
4765 Remove LaTeX virtual destructor; nothing derives from it.
4766 Move operator()() out of public area and rename it startscript().
4767 Change protected for private.
4769 2003-04-04 Angus Leeming <leeming@lyx.org>
4772 * text2.C: remove unneeded #includes.
4774 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4776 * text2.C (dEPM): fix the heigth of the next row
4778 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4780 * text.C: squashed an invalid getChar requester + some ws changes
4782 2003-04-03 John Levon <levon@movementarian.org>
4784 * bufferview_funcs.h:
4785 * bufferview_funcs.C:
4788 * text2.C: make getStatus work for the env depth lfuns
4790 2003-04-03 John Levon <levon@movementarian.org>
4792 * bufferview_funcs.h:
4793 * bufferview_funcs.C:
4796 * text2.C: parlistize decDepth(), by merging it with incDepth()
4798 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * lyxrow.h: store a ParagraphList::iterator instead of a
4801 Paragraph* and adjust other class functions to suit.
4803 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4806 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4808 * text2.C (setCursor): do not anchor to cursor row for the time being
4810 2003-04-02 John Levon <levon@movementarian.org>
4817 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4819 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * paragraph.h: make ParagraphList and ParagraphList::iterator
4822 friends of Paragraph.
4824 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4826 * ParagraphList.C: Use the private next_ and previous_ from
4829 2003-04-01 John Levon <levon@movementarian.org>
4833 * Makefile.am: rename, remove defaults gunk
4836 * MenuBackend.C: remove defaults gunk
4839 * Languages.C: remove defaults gunk
4842 * lyx_main.C: error out if files couldn't be found.
4844 2003-04-02 John Levon <levon@movementarian.org>
4846 * text2.C: make incDepth() use parlist
4848 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * undo_funcs.C (firstUndoParagraph): adjust
4852 * text3.C (gotoInset): adjust
4853 (dispatch): adjust, and rewrite loop.
4855 * text2.C (init): adjust, and rewrite loop.
4856 (redoParagraphs): adjust
4857 (updateInset): adjust, and rewrite loop.
4858 (deleteEmptyParagraphMechanism): adjust
4860 * tabular.C (LyXTabular): adjust
4861 (SetMultiColumn): adjust
4864 * lyxtext.[Ch] (ownerParagraph): delete function
4865 (ownerParagraphs): new function returns a ParagraphList.
4867 * BufferView.C (removeAutoInsets): adjust
4868 (insertErrors): adjust
4869 (setCursorFromRow): adjust
4871 2003-04-01 Angus Leeming <leeming@lyx.org>
4873 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4876 2003-04-02 John Levon <levon@movementarian.org>
4882 * text_funcs.C: make transposeChars a free function
4884 * lyxrow_funcs.C: remove wrong comment
4886 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4889 * rowpainter.C: adjust
4894 * lyxrow_funcs. [Ch]: new files
4896 * lyxrow.[Ch]: remove next and previous pointers
4897 (next,previous): remove accessor functions
4898 (isParEnd): move to lyxrow_funcs
4899 (lastPos): move to lyxrow_funcs
4900 (nextRowIsAllInset): move to lyxrow_funcs
4901 (lastPrintablePos): move to lyxrow_funcs
4902 (numberOfSeparators): move to lyxrow_funcs
4903 (numberOfHfills): move to lyxrow_funcs
4904 (numberOfLabelHfills): move to lyxrow_funcs
4905 (hfillExpansion): move to lyxrow_funcs
4909 * bufferview_funcs.C (toggleAndShow): adjust
4911 * RowList.h: Remove class RowList from file leave just a
4914 * RowList.C: delete file
4916 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4919 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * text3.C (cursorPrevious): adjust
4922 (cursorNext): adjust
4925 * text2.C (redoHeightOfParagraph): adjust
4926 (redoDrawingOfParagraph): adjust
4929 * text.C (breakParagraph): adjust
4930 (insertChar): adjust
4933 * rowpainter.C (RowPainter): adjust
4934 (leftMargin): simplify and adjust
4935 (most rowpainter functions): adjust.
4937 * rowpainter.h: store the row as RowList::iterator not as Row*
4939 * lyxcursor.C (row): taka RowList::iterator as arg
4942 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4945 2003-04-01 Angus Leeming <leeming@lyx.org>
4947 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4948 stuff like bool Bool.
4950 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4952 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4955 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4960 * lyxtext.h (rows): drop one version and leve a const variant that
4961 returns a RowList::iterator.
4963 2003-03-31 Angus Leeming <leeming@lyx.org>
4965 * text.C (fill): ensure that the signature is the same as that in the
4968 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * text2.C (redoParagraphs): adjust
4971 (updateCounters): adjust
4972 (checkParagraph): adjust
4973 (getColumnNearX): adjust and reformat a bit.
4975 * text.C (top_y): adjust
4977 (leftMargin): adjust
4978 (prepareToPrint): adjust
4980 (getRowNearY): adjust
4982 * lyxtext.h: make rowlist_ mutable.
4984 * RowList.h: add const_iterator
4985 * RowList.C: adjust for RowList::const_iterator.
4987 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4990 2003-03-31 John Levon <levon@movementarian.org>
4993 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4995 * lyx_main.C: set default fonts from using lyx_gui funcs
4997 * exporter.C: pdf_mode moved from lyxrc
5000 * lyxfunc.C: changes from above
5002 2003-03-31 John Levon <levon@movementarian.org>
5004 * lyx_main.C: fix to the last fix
5006 2003-03-31 John Levon <levon@movementarian.org>
5008 * bufferlist.C: "Load original" -> "Load Original"
5014 * format.C: more Alert cleanups
5016 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * text2.C (removeParagraph): make it take a RowList::iterator as
5020 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5021 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5023 * text.C (anchor_row): make it take a RowList::iterator as arg,
5025 (computeBidiTables): make it take a const reference to Row instead
5026 of Row pointer, adjust.
5027 (leftMargin): make it take a RowList::iterator as arg, adjust.
5028 (rowBreakPoint): adjust
5029 (breakAgainOneRow): make it take a RowList::iterator as arg,
5031 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5033 * bufferview_funcs.C (toggleAndShow): adjust
5035 2003-03-30 John Levon <levon@movementarian.org>
5039 * boost-inst.C: moved to support
5041 * several files: changes as a result
5043 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * text2.C (LyXText): adjust.
5047 (removeRow): make it take a RowList::iterator as arg, adjust.
5048 (fullRebreak): adjust
5049 (deleteEmptyParagraphMechanism): adjust
5050 (clearPaint): adjust
5053 * text.C (top_y): adjust
5054 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5055 (breakAgain): make it take a RowList::iterator as arg, adjust.
5056 (breakParagraph): adjust
5057 (insertChar): adjust
5060 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5061 need_break_row, and refresh_row.
5063 * text3.C (dispatch): adjust
5065 * text2.C (checkParagraph): adjust
5067 (setCursorFromCoordinates): adjust
5069 * text.C (top_y): adjust
5071 (getRow): make it return a RowList::iterator, adjust
5072 (getRowNearY): make it return a RowList::iterator, adjust
5074 * text2.C (init): adjust
5075 (insertRow): remove function
5076 (insertParagraph): adjust
5077 (redoParagraphs): adjust
5078 (fullRebreak): adjust
5079 (updateCounters): adjust
5081 * text.C (top_y): rewrite to use RowList iterators.
5083 (setHeightOfRow): rewrite to sue RowList iterators.
5084 (appendParagraph): adjust
5085 (breakAgain): adjust
5086 (breakAgainOneRow): adjust
5087 (breakParagraph): adjust
5089 (getRowNearY): adjust, and remove commented code.
5091 * lyxtext.h (firstRow): delete function
5092 (lastRow): delete function
5093 (rows): new function (const and non-const versions.)
5094 (insertRow): delete function
5096 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5098 2003-03-29 John Levon <levon@movementarian.org>
5100 * BufferView_pimpl.C: always update scrollbar top
5101 because pasting text when we're anchored could mean we
5102 miss an update altogether
5104 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5106 * text2.C (init): use rowlist_.end() and not 0.
5107 (insertRow): change to take a RowList::iterator as arg, adjust
5109 (insertParagraph): change to take a RowList::iterator as arg,
5111 (redoParagraphs): remove some debug msgs.
5113 * text.C (appendParagraph): change to take a RowList::iterator
5114 arg, adjust for this.
5115 (breakAgain): add an assert
5116 (breakAgainOneRow): ditto
5118 2003-03-29 John Levon <levon@movementarian.org>
5120 * text2.C: do not clear selection after inc/decDepth
5123 2003-03-29 John Levon <levon@movementarian.org>
5126 * buffer.C: fix broken strerrors according to Lars
5128 2003-03-29 John Levon <levon@movementarian.org>
5130 * converters.C: more Alert cleanups
5132 2003-03-29 John Levon <levon@movementarian.org>
5134 * bufferview_funcs.C: remove pointless Alert
5136 * buffer.C: fix confusing error message when
5137 a template is chmoded 000
5139 2003-03-29 John Levon <levon@movementarian.org>
5143 * BufferView_pimpl.C: Alert fixes
5147 * tabular-old.C: remove unused table compat reading
5149 2003-03-29 John Levon <levon@movementarian.org>
5154 * lyx_cb.C: more Alert cleanups
5156 * lyxfunc.C: don't allow chktex if not latex document
5158 2003-03-29 John Levon <levon@movementarian.org>
5162 * buffer.C: warnings pushed down from support/,
5165 2003-03-29 John Levon <levon@movementarian.org>
5167 * lyxfunc.C: safety check for C-r (revert)
5169 2003-03-29 John Levon <levon@movementarian.org>
5172 * bufferlist.C: several UI fixes using Alert::prompt.
5173 Fix the pointless looping quit code. Fix stupid revert
5178 * lyx_cb.C: use Alert::prompt
5180 * lyx_main.C: remove a silly question
5182 * lyxfunc.C: remove a couple of silly questions,
5185 2003-03-28 John Levon <levon@movementarian.org>
5187 * text2.C: fix bug 974 (End on empty par)
5189 2003-03-28 John Levon <levon@movementarian.org>
5191 * BufferView_pimpl.C:
5193 * lfuns.h: remove do-nothing math greek lfuns
5195 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * lyxgluelength.h (isValidGlueLength): add default arg on
5198 parameter 2. Remove default arg from friend in class.
5200 * lyxlength.h (isValidLength): add default arg on parameter 2.
5201 Remove default arg from friend in class.
5203 * text2.C (LyXText): adjust, initialize refresh_row.
5207 (insertParagraph): adjst
5208 (redoParagraphs): adjust
5209 (fullRebreak): adjust
5210 (updateCounters): adjust
5211 (deleteEmptyParagraphMechanism): first attempt at fixing a
5214 * text.C (top_y): adjust
5215 (setHeightOfRow): adjust
5217 (getRowNearY): adjust
5219 * lyxtext.h: include RowList.h
5220 (~LyXText): not needed anymore, deleted.
5221 (firstRow): modify for RowList
5222 (lastRow): new function
5223 Delete firstrow and lastrow class variables, add a Rowlist
5224 rowlist_ class variable.
5226 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5229 * RowList.C (insert): fix case where it == begin().
5231 2003-03-26 Angus Leeming <leeming@lyx.org>
5233 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5234 the thesaurus dialog.
5236 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5240 * RowList.[Ch]: new files
5242 * ParagraphList.C (erase): handle the case where it == begin
5245 2003-03-25 John Levon <levon@movementarian.org>
5249 * aspell.C: add new aspell support
5252 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5255 2003-03-25 Angus Leeming <leeming@lyx.org>
5258 * LyXAction.C (init): new LFUN_INSET_INSERT.
5260 * BufferView_pimpl.C (dispatch): split out part of the
5261 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5263 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5266 2003-03-25 Angus Leeming <leeming@lyx.org>
5268 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5270 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5273 * text3.C: remove useless row->height(0)
5275 2003-03-25 John Levon <levon@movementarian.org>
5279 * text3.C: rename the refreshing stuff to better names
5281 2003-03-24 John Levon <levon@movementarian.org>
5283 * BufferView_pimpl.h:
5284 * BufferView_pimpl.C: update layout choice on a mouse
5287 2003-03-23 John Levon <levon@movementarian.org>
5289 * Makefile.am: fix commandtags.h reference
5291 2003-03-22 John Levon <levon@movementarian.org>
5293 * BufferView_pimpl.C:
5298 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5300 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5303 * text.C: take the rtl methods out of line
5305 2003-03-21 André Pönitz <poenitz@gmx.net>
5307 * metricsinfo.[Ch]: new files containing structures to be passed around
5308 during the two-phase-drawing...
5310 2003-03-21 André Pönitz <poenitz@gmx.net>
5312 * lyxtextclass.C: read 'environment' tag.
5314 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5316 * text2.C (removeRow): fix bug 964
5318 2003-03-20 John Levon <levon@movementarian.org>
5322 * text2.C: paint cleanups. Inset::update() dropped font
5325 2003-03-19 John Levon <levon@movementarian.org>
5327 * lyxfunc.C: only fitcursor/markDirty if available()
5329 2003-03-19 John Levon <levon@movementarian.org>
5331 * commandtags.h: rename to ...
5333 * lfuns.h: ... this, and renumber / cleanup
5335 2003-03-19 John Levon <levon@movementarian.org>
5337 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5338 fit the cursor after an lfun
5342 * BufferView_pimpl.h:
5343 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5345 * LyXAction.C: layout-character should have ReadOnly
5347 * ParagraphParameters.C:
5349 * bufferview_funcs.C:
5356 * undo_funcs.C: changes from above
5358 2003-03-18 John Levon <levon@movementarian.org>
5360 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5361 remove it from update()
5363 * lyxfunc.C: update layout choice after an lfun
5365 * text3.C: remove extra updateLayoutChoice()s
5367 2003-03-18 John Levon <levon@movementarian.org>
5369 * text.C: top_y change means full repaint, fix
5370 a drawing bug with cursor movement
5372 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5376 * text2.C: anchor row on setCursor
5378 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5380 * lyxtext.h: remove almost all mutable keywords
5383 * text3.C: remove const keywords accordingly
5385 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5387 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5389 (TeXEnvironment): ditto
5392 2003-03-17 John Levon <levon@movementarian.org>
5394 * text.C (rowBreakPoint): remove attempt to fix displayed
5395 math insets inside a manual label
5397 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * lyxtext.h: remove BufferView* as first arg from almost all class
5401 * other files: adjust.
5403 2003-03-17 John Levon <levon@movementarian.org>
5407 * text2.C: more paint cleanups
5409 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5412 * rowpainter.C: remove "smart" background painting code
5414 2003-03-16 John Levon <levon@movementarian.org>
5419 * text3.C: add helper functions for setting refresh_row/y
5421 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5423 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5424 newline inset which *can* get inserted in the pass_thru layouts.
5425 This is primarily for literate documents.
5427 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5429 * buffer.C: increment LYX_FORMAT to 223
5431 2003-03-14 André Pönitz <poenitz@gmx.net>
5433 * textclass.h: prepare for environment handling, ws changes
5434 * lyxlayout.C: read latexheader and latexfooter tags
5436 2003-03-14 John Levon <levon@movementarian.org>
5438 * text2.C: rewrite ::status() a bit
5440 2003-03-13 John Levon <levon@movementarian.org>
5442 * lyxtext.h: add some docs
5444 2003-03-13 John Levon <levon@movementarian.org>
5449 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5451 2003-03-13 John Levon <levon@movementarian.org>
5453 * text3.C: fix appendix redrawing
5455 2003-03-13 John Levon <levon@movementarian.org>
5457 * text.C (setHeightOfRow):
5459 * rowpainter.C: make appendix mark have the text
5460 "Appendix" so the user knows what it is
5463 * LColor.C: s/appendixline/appendix/ from above
5465 2003-03-13 John Levon <levon@movementarian.org>
5467 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5469 * text.C: fix a getChar(pos) bug properly
5471 2003-03-13 Angus Leeming <leeming@lyx.org>
5474 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5475 Probably only temporary. Let's see how things pan out.
5477 * BufferView.C (unlockInset):
5478 * BufferView_pimpl.C (fitCursor):
5479 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5481 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5482 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5484 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5485 new functions that convert ParagraphParameters to and from a string.
5487 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5488 BufferView::Pimpl's dispatch.
5489 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5491 2003-03-13 André Pönitz <poenitz@gmx.net>
5495 * factory.C: make it aware of InsetEnv
5497 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * text2.C (setCursor): never ask for one past last
5500 (setCursor): add some debugging messages.
5502 * text.C (singleWidth): never ask for one past last
5503 (singleWidth): ditto
5505 (rightMargin): ditto
5506 (rowBreakPoint): ditto
5507 (setHeightOfRow): ditto
5508 (prepareToPrint): ditto
5510 * rowpainter.C (paintBackground): never ask for one past last
5511 (paintText): never ask for one past last
5513 * paragraph_pimpl.C (getChar): make the assert stricter, never
5514 allow the one past last pos to be taken
5516 * paragraph.C (getChar): ws changes only
5518 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5519 (numberOfSeparators): ditto
5520 (numberOfHfills): ditto
5522 2003-03-12 John Levon <levon@movementarian.org>
5528 * paragraph_funcs.C: fix per-buffer authorlists
5530 2003-03-12 John Levon <levon@movementarian.org>
5532 * text.C: fix newline in right address
5534 2003-03-12 Angus Leeming <leeming@lyx.org>
5536 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5537 duplicate those in LyXFunc::dispatch.
5541 * ToolbarDefaults.C:
5542 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5543 Add LFUN_FONTFREE_UPDATE.
5545 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5546 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5548 * bufferview_func.[Ch]: several new functions to facilliate
5549 transfer of data to and from the character dialog.
5551 2003-03-12 John Levon <levon@movementarian.org>
5556 * paragraph_funcs.C:
5557 * paragraph_pimpl.C:
5561 * text3.C: remove META_NEWLINE in favour of an inset
5564 * rowpainter.C: remove paintNewline (done by inset)
5566 2003-03-12 John Levon <levon@movementarian.org>
5568 * paragraph_pimpl.C: complain about bad getChar()s
5569 for a while at least
5571 2003-03-12 John Levon <levon@movementarian.org>
5574 * buffer.C: move paragraph read into a separate function,
5575 a little renaming to reflect that.
5578 * bufferparams.C: remove the author_ids map, not necessary now
5581 * factory.C: moved Buffer::readInset to here
5583 * paragraph_funcs.h:
5584 * paragraph_funcs.C: readParagraph free function moved from
5587 * tabular.C: name change
5589 2003-03-12 John Levon <levon@movementarian.org>
5592 * ParagraphParameters.C: move par params input to
5595 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5596 behave like a normal read from the stream wrt reading
5597 a line vs. a \\token
5599 2003-03-12 John Levon <levon@movementarian.org>
5602 * ParagraphParameters.h:
5603 * ParagraphParameters.C: move output code to a
5606 2003-03-12 John Levon <levon@movementarian.org>
5608 * BufferView.C (insertLyXFile):
5611 * tabular.C: use a parlist iterator for creating the
5614 2003-03-12 John Levon <levon@movementarian.org>
5616 * buffer.C: make current_change static local not
5619 2003-03-12 John Levon <levon@movementarian.org>
5621 * buffer.C: fix insertStringAsLines for change tracking
5623 2003-03-12 John Levon <levon@movementarian.org>
5630 * bufferparams.C: move author list into params. Rename some
5631 functions. Move the header reading into a separate token
5632 loop. Move the header token reading into BufferParams.
5634 2003-03-12 John Levon <levon@movementarian.org>
5636 * changes.C: put debug inside lyxerr.debugging() checks
5638 2003-03-11 André Pönitz <poenitz@gmx.net>
5640 * factory.C: make it aware of InsetHFill
5642 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5644 * buffer.C (latexParagraphs): move function from here...
5645 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5648 2003-03-10 Angus Leeming <leeming@lyx.org>
5650 * LyXAction.C (init): fix bug in poplating array with multiple entries
5651 with the same LFUN (spotted by JMarc).
5653 2003-03-10 John Levon <levon@movementarian.org>
5656 * text2.C: move getColumnNearX() near its
5659 2003-03-10 John Levon <levon@movementarian.org>
5661 * text.C: fix break before a minipage
5663 2003-03-10 John Levon <levon@movementarian.org>
5665 * text.C: fix the last commit
5667 2003-03-09 John Levon <levon@movementarian.org>
5671 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5672 bug 365 (don't break before insets unless needed). Don't
5673 return a value > last under any circumstances.
5675 2003-03-09 Angus Leeming <leeming@lyx.org>
5677 * BufferView_pimpl.C (trackChanges, dispatch): call
5678 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5680 2003-03-09 Angus Leeming <leeming@lyx.org>
5682 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5683 than Dialogs::showAboutlyx().
5685 2003-03-09 Angus Leeming <leeming@lyx.org>
5687 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5688 than Dialogs::showTabularCreate().
5690 2003-03-09 John Levon <levon@movementarian.org>
5694 * text2.C: 3rd arg to nextBreakPoint was always the same.
5697 2003-03-08 John Levon <levon@movementarian.org>
5704 * text2.C: Remove the "main" bit from the "main body"
5707 2003-03-08 John Levon <levon@movementarian.org>
5709 * text.C (leftMargin): The left margin of an empty
5710 manual label paragraph should not include the label width
5713 * text.C (prepareToPrint): don't attempt to measure hfills
5714 for empty manual label paragraphs - the answer should be 0
5716 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * CutAndPaste.C: remove commented code and reindent.
5720 2003-03-08 John Levon <levon@movementarian.org>
5723 * lyxfunc.C: move reloadBuffer()
5726 * BufferView.C: to here
5728 * lyxvc.C: add comment
5731 * vc-backend.C: call bv->reload() to avoid
5732 getStatus() check on MENURELOAD
5734 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5736 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5737 to an old format .dep file.
5739 2003-03-07 Angus Leeming <leeming@lyx.org>
5741 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5742 when the LFUN_MOUSE_RELEASE should have been handled by
5743 inset->localDispatch.
5745 2003-03-07 Angus Leeming <leeming@lyx.org>
5747 * BufferView_pimpl.C (dispatch):
5748 * LyXAction.C (init):
5749 * ToolbarDefaults.C (init):
5751 * lyxfunc.C (getStatus):
5752 remove LFUN_INSET_GRAPHICS.
5754 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5756 2003-03-07 Angus Leeming <leeming@lyx.org>
5759 * LyXAction.C (init):
5760 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5762 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5765 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5767 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5768 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5770 2003-03-07 Angus Leeming <leeming@lyx.org>
5772 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5775 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5777 * ParagraphList.C (front): new function
5780 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5782 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5783 and top_row_offset_. removed var first_y.
5785 * text2.C (LyXText, removeRow):
5787 * BufferView_pimpl.C:
5788 use these methods instead of using first_y
5790 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5792 * text2.C (pasteSelection): adjust for checkPastePossible
5794 * CutAndPaste.C: remove Paragraph * buf and replace with
5795 ParagraphList paragraphs.
5796 (DeleteBuffer): delete
5797 (cutSelection): change the tc type to textclass_type
5798 (copySelection): change the tc type to textclass_type
5799 (copySelection): adjust for ParagraphList
5800 (pasteSelection): change the tc type to textclass_type
5801 (pasteSelection): adjust for Paragraphlist
5802 (nrOfParagraphs): simplify for ParagraphList
5803 (checkPastePossible): simplify for ParagraphList
5804 (checkPastePossible): remove unused arg
5806 * ParagraphList.C (insert): handle the case where there are no
5809 * CutAndPaste.h: make CutAndPaste a namespace.
5811 * text3.C (dispatch): adjust
5813 * text.C (breakParagraph): add a ParagraphList as arg
5815 * paragraph_funcs.C (breakParagraph): change to take a
5816 BufferParams and a ParagraphList as args.
5817 (breakParagraphConservative): ditto
5818 (mergeParagraph): ditto
5819 (TeXDeeper): add a ParagraphList arg
5820 (TeXEnvironment): ditto
5823 * buffer.C (readLyXformat2): adjust
5824 (insertStringAsLines): adjust
5825 (latexParagraphs): adjust
5827 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5828 (cutSelection): adjust
5829 (pasteSelection): adjust
5831 * BufferView_pimpl.C (insertInset): adjust
5833 2003-03-05 Angus Leeming <leeming@lyx.org>
5836 * LyXAction.C (init):
5837 * BufferView_pimpl.C (dispatch):
5838 * lyxfunc.C (getStatus):
5839 remove LFUN_CHILD_INSERT.
5841 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5843 2003-03-05 Angus Leeming <leeming@lyx.org>
5846 * LyXAction.C (init):
5847 * src/factory.C (createInset):
5848 * lyxfunc.C (getStatus):
5849 * text3.C (dispatch):
5850 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5852 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5854 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * ParagraphList.C (insert): handle insert right before end()
5857 (erase): fix cases where it can be first or last paragraph.
5859 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5862 Paragraph::next and Paragraph::previous
5865 * text.C (breakParagraph): adjust
5867 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5868 BufferParams& as arg.
5869 (breakParagraph): use ParagraphList::insert
5870 (breakParagraphConservative): take a Buffer* instead of a
5871 BufferParams& as arg.
5872 (breakParagraphConservative): use ParagraphList::insert.
5874 * buffer.C (insertStringAsLines): un-const it
5875 (insertStringAsLines): adjust
5877 * ParagraphList.C (insert): new function
5879 * CutAndPaste.C (pasteSelection): adjust
5881 * text.C (backspace): adjust
5883 * tabular.C (SetMultiColumn): adjust
5885 * CutAndPaste.C (cutSelection): adjust
5886 (pasteSelection): adjust
5888 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5889 Buffer const * as arg
5891 * ParagraphList.C (erase): new function
5892 * paragraph_funcs.C (mergeParagraph): use it
5893 (mergeParagraph): make it take a Buffer* instead of a
5894 BufferParams* as arg
5896 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5898 (breakParagraphConservative): ditto
5900 * paragraph.h: remove the breakParagraph friend
5902 * paragraph.C (eraseIntern): new function
5903 (setChange): new function
5905 * paragraph_funcs.C (mergeParagraph): make it take a
5906 ParagraphList::iterator instead of a Paragraph *, adjust
5909 * paragraph.h: move an #endif so that the change tracking stuff
5910 also works in the NO_NEXT case.
5912 2003-03-04 Angus Leeming <leeming@lyx.org>
5915 * LyXAction.C: new LFUN_INSET_MODIFY.
5917 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5918 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5920 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5922 * several files: ws changes only
5924 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5925 (TeXEnvironment): ditto
5928 * buffer.C (makeLaTeXFile): adjust
5929 (latexParagraphs): make it take ParagraphList::iterator as args
5931 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * buffer.C (latexParagraphs): adjust
5935 * paragraph.C (TeXOnePar): move function...
5936 (optArgInset): move function...
5937 (TeXEnvironment): move function...
5938 * paragraph_pimpl.C (TeXDeeper): move function...
5939 * paragraph_funcs.C: ...here
5941 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5943 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * buffer.C (readInset): remove compability code for old Figure and
5948 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * buffer.C: ws changes
5953 * BufferView_pimpl.C: ditto
5956 * bufferlist.h: ditto
5960 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5962 * converter.[Ch]: split into itself +
5965 * Makefile.am: += graph.[Ch] + format.[Ch]
5972 * lyxrc.C: added #include "format.h"
5974 2003-02-27 Angus Leeming <leeming@lyx.org>
5976 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5979 * factory.C (createInset): add "label" to the factory.
5981 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5982 string and do no more.
5984 2003-02-27 Angus Leeming <leeming@lyx.org>
5987 * LyXAction.C (init):
5988 * factory.C (createInset):
5989 * BufferView_pimpl.C (dispatch):
5990 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5992 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5994 * lyxfunc.C (dispatch):
5995 * text3.C (dispatch): pass name to params2string.
5997 2003-02-26 Angus Leeming <leeming@lyx.org>
5999 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6001 Rearrange the ~includes. Strip out the unnecessary ones.
6003 * factory.C (createInset): reformat.
6004 create new insets for the various LFUN_XYZ_APPLY lfuns.
6006 2003-02-26 John Levon <levon@movementarian.org>
6009 * lyxrow.C: add isParStart,isParEnd helpers
6011 * paragraph.h: make isInserted/DeletedText take refs
6013 * paragraph_funcs.h:
6014 * paragraph_funcs.C: remove #if 0'd code
6019 * text.C: use lyxrow helpers above.
6020 Move draw and paint routines to RowPainter.
6021 Make several methods use refs not pointers.
6022 Make backgroundColor() const.
6023 Add markChangeInDraw(), isInInset().
6024 Merge changeRegionCase into changeCase.
6025 Make workWidth() shouldn't-happen code into an Assert.
6028 * rowpainter.C: new class for painting a row.
6031 * vspace.C: make inPixels take a ref
6033 2003-02-26 Angus Leeming <leeming@lyx.org>
6035 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6038 2003-02-25 John Levon <levon@movementarian.org>
6040 * ispell.C: give the forked command a more accurate name
6042 2003-02-22 John Levon <levon@movementarian.org>
6045 * toc.C: make TocItem store an id not a Paragraph *
6048 2003-02-21 Angus Leeming <leeming@lyx.org>
6050 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6051 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6052 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6053 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6054 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6055 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6057 * BufferView_pimpl.C (dispatch):
6058 * LyXAction.C (init):
6059 * factory.C (createInset):
6060 * lyxfunc.C (getStatus, dispatch):
6061 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6063 2003-02-21 Angus Leeming <leeming@lyx.org>
6065 * BufferView_pimpl.C (MenuInsertLyXFile):
6066 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6067 * lyxfunc.C (menuNew, open, doImport):
6068 no longer pass a LyXView & to fileDlg.
6070 2003-02-21 Angus Leeming <leeming@lyx.org>
6072 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6073 * LyXAction.C: change, BIBKEY to BIBITEM.
6074 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6075 Change InsetBibKey to InsetBibitem.
6076 Change BIBKEY_CODE to BIBITEM_CODE.
6077 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6078 * factory.C: replace insetbib.h with insetbibitem.h.
6079 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6080 * paragraph.C: replace insetbib.h with insetbibitem.h.
6081 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6082 Change bibkey() to bibitem().
6083 * text.C: remove insetbib.h.
6084 * text2.C: replace insetbib.h with insetbibitem.h.
6085 change bibkey() to bibitem().
6086 * text3.C: remove insetbib.h.
6087 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6089 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6091 * lyxrc.C (output): enclose user email in quotes (in case there are
6094 2003-02-18 John Levon <levon@movementarian.org>
6096 * buffer.h: add std::
6098 2003-02-17 John Levon <levon@movementarian.org>
6104 * pspell.C: reworking. Especially in ispell, a large
6105 number of clean ups and bug fixes.
6107 * lyxfunc.C: fix revert to behave sensibly
6109 2003-02-17 André Pönitz <poenitz@gmx.net>
6112 * commandtags.h: new LFUN_INSERT_BIBKEY
6122 * paragraph_func.C: remove special bibkey handling
6124 2003-02-17 John Levon <levon@movementarian.org>
6126 * text.C (Delete): fix case where delete at the end of
6127 the very first paragraph would not merge the pars
6129 2003-02-17 John Levon <levon@movementarian.org>
6131 * lyxrow.C: fix lastPrintablePos()
6133 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6135 * bufferparams.C (writeLaTeX): add a std:here
6137 * buffer.C: and remove a using directive there
6139 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6141 * buffer.C (makeLaTeXFile): move the code that generates the
6144 * bufferparams.C (writeLaTeX): ... in this new method
6146 * LaTeXFeatures.C (getEncodingSet): make const
6147 (getLanguages): make const
6149 * MenuBackend.C (binding): returns the binding associated to this
6151 (add): sets the status of each item by calling getStatus. Adds
6153 (read): add support for OptSubMenu
6154 (expand): remove extra separator at the end of expanded menu
6156 2003-02-15 John Levon <levon@movementarian.org>
6159 * BufferView_pimpl.C:
6161 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6162 inset code that had no actual effect. Remove unneeded status
6165 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6170 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6172 * text.C (drawLengthMarker): also draw an arrow marker for
6173 symbolic lengths (medskip...)
6175 2003-02-14 John Levon <levon@movementarian.org>
6178 * tabular.C: better method names
6180 2003-02-14 John Levon <levon@movementarian.org>
6182 * BufferView_pimpl.C:
6187 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6188 it's a more accurate name. Remove some pointless uses.
6190 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6192 * text2.C (LyXText): change order of initilizers to shut off
6195 2003-02-14 John Levon <levon@movementarian.org>
6197 * buffer.C: use ParIterator for getParFromID()
6201 * paragraph_pimpl.h:
6202 * paragraph_pimpl.C: remove unused getParFromID()
6204 2003-02-14 John Levon <levon@movementarian.org>
6206 * buffer.C: remove some very old #if 0'd parse code
6208 2003-02-13 John Levon <levon@movementarian.org>
6212 * text2.C: move hfillExpansion(), numberOfSeparators(),
6213 rowLast(), rowLastPrintable(), numberofHfills(),
6214 numberOfLabelHfills() ...
6217 * lyxrow.C: ... to member functions here.
6222 * text.C: remove LyXText::beginningOfMainBody(), and call
6223 p->beginningOfMainBody() directly. Move the check for
6224 LABEL_MANUAL into the latter.
6231 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6237 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6238 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6240 2003-02-13 John Levon <levon@movementarian.org>
6242 * CutAndPaste.C: remove debug
6244 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6246 * paragraph.C (asString): remove two unused variables
6248 * lyxtextclass.C (readTitleType):
6250 (LyXTextClass): handle new members titletype_ and titlename_
6252 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6254 2003-02-09 John Levon <levon@movementarian.org>
6257 * buffer.C: replace hand-coded list with a map for the dep clean
6259 2003-02-08 John Levon <levon@movementarian.org>
6261 * LaTeX.C: consolidate code into showRunMessage() helper
6263 2003-02-08 John Levon <levon@movementarian.org>
6268 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6269 and pass the size in explicitly
6271 * BufferView_pimpl.h:
6272 * BufferView_pimpl.C:
6274 * BufferView.C: add getCurrentChange()
6276 * BufferView_pimpl.h:
6277 * BufferView_pimpl.C: handle change lfuns
6279 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6280 for changes. Mark pasted paragraphs as new.
6282 * support/lyxtime.h:
6283 * support/lyxtime.C:
6284 * DepTable.C: abstract time_t as lyx::time_type
6287 * LColor.C: add colours for new text, deleted text, changebars
6289 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6290 package use "usenames" option.
6294 * LyXAction.C: add change lfuns
6298 * author.C: author handling
6301 * buffer.C: add a per-buffer author list, with first entry as
6302 current author. Handle new .lyx tokens for change tracking. Output
6303 author list to .lyx file. Output dvipost stuff to .tex preamble.
6304 Bump lyx format to 222.
6307 * bufferlist.C: add setCurrentAuthor() to reset current author details
6311 * bufferparams.C: add param for tracking
6313 * bufferview_funcs.C: output change info in minibuffer
6317 * changes.C: add change-tracking structure
6320 * debug.C: add CHANGES debug flag
6323 * lyxfind.C: add code for finding the next change piece
6326 * lyxrc.C: add user_name and user_email
6329 * lyxrow.C: add a metric for the top of the text line
6332 * text.C: implement accept/rejectChange()
6335 * text.C: paint changebars. Paint new/deleted text in the chosen
6336 colours. Strike through deleted text.
6340 * paragraph_pimpl.h:
6341 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6342 in the current change to the insert functions. Rework erase to
6343 mark text as deleted, adding an eraseIntern() and a range-based
6344 erase(). Implement per-paragraph change lookup and
6347 * paragraph_funcs.C: Fixup paste for change tracking.
6349 * tabular.C: mark added row/columns as new.
6351 * text.C: fix rowLast() to never return -1. Don't allow
6352 spellchecking of deleted text. Track transpose changes. Don't
6353 allow paragraph break or merge where appropriate.
6355 * text2.C: leave cursor at end of selection after a cut.
6357 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6359 * text.C (getLengthMarkerHeight):
6360 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6361 visible on screen too.
6363 2003-02-07 John Levon <levon@movementarian.org>
6365 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6367 2003-02-05 Angus Leeming <leeming@lyx.org>
6369 * lyxserver.C (read_ready): revert my patch of 11 September last year
6370 as it sends PC cpu through the roof. Presumably this means that
6371 the lyxserver will no longer run on an Alpha...
6373 2003-01-30 Angus Leeming <leeming@lyx.org>
6375 * factory.C (createInset): create an InsetCommandParam of type "index"
6376 and use it to 'do the right thing'.
6378 * text2.C (getStringToIndex): ensure that cursor position is always
6379 reset to the reset_cursor position.
6381 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6383 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6386 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6390 * lyxfunc.C: Output messages with identical spelling, punctuation,
6393 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6395 * MenuBackend.C (expandFormats): List only viewable export formats
6398 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6401 * lyxfunc.C (getStatus): Make sure that formats other than
6402 "fax" can also be disabled
6404 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6406 * text3.C (dispatch): put the lfuns that insert insets in 3
6407 groups, and call doInsertInset with appropriate arguments.
6408 (doInsertInset): new function, that creates an inset and inserts
6409 it according to some boolean parameters.
6411 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * buffer.C (readFile): remember to pass on 'par' when calling
6414 readFile recursively.
6416 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * MenuBackend.C (expandFormats): add "..." to import formats.
6420 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6422 * paragraph.C (asString): Remove XForms RTL hacks.
6424 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6425 * buffer.C: fix typo
6427 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * Makefile.am (LIBS): delete var
6430 (lyx_LDADD): add @LIBS@ here instead.
6432 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6434 * Clarify the meaning of "wheel mouse jump"
6436 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6438 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6441 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6443 * importer.C (Loaders): do not preallocate 3 elements in the
6444 vector, since one ends up with 6 elements otherwise
6446 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6448 * DepTable.C (write): write the file name as last element of the
6449 .dep file (because it may contain spaces)
6450 (read): read info in the right order
6452 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6454 * paragraph_pimpl.C (simpleTeXBlanks):
6455 (simpleTeXSpecialChars):
6456 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6458 * tabular.C (latex): add some missing case statements. Reindent.
6460 * MenuBackend.C (expandToc): remove unused variable.
6462 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6471 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6474 2003-01-05 John Levon <levon@movementarian.org>
6477 * BufferView.C: add getEncoding()
6480 * kbsequence.C: do not store last keypress
6483 * lyxfunc.C: store last keypress here instead. Pass encoding
6486 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6488 * lyx_main.C (init): remove annoying error message when following
6489 symbolic links (bug #780)
6491 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6493 * text.C (insertChar):
6494 * lyxrc.C (getDescription): remove extra spaces
6496 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6498 * lyxrc.C (getDescription): remove extra spaces
6500 2002-12-20 John Levon <levon@movementarian.org>
6502 * text3.C: hack fix for page up/down across tall rows
6504 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6506 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6509 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6512 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6513 thesaurus is not compiled in
6515 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6517 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6519 2002-12-16 Angus Leeming <leeming@lyx.org>
6522 * lyx_main.C (init): remove override_x_deadkeys stuff.
6524 2002-12-12 John Levon <levon@movementarian.org>
6526 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6527 insert. Only remove shift modifier under strict
6530 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * MenuBackend.C (expandToc): fix crash.
6534 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * MenuBackend.C (expandToc): gettext on float names.
6538 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6540 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6541 implement bool empty() [bug 490]
6543 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6547 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * several files: ws changes
6551 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * text2.C (setCounter): clean up a bit, use boost.format.
6554 (updateCounters): initialize par upon declaration.
6556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6557 if the layout exists. We do not just store the layout any more.
6558 (SwitchLayoutsBetweenClasses): use boost.format
6560 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * converter.C (convert): if from and to files are the same, use a
6563 temporary files as intermediary
6565 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6568 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6570 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6572 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6574 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6576 * tabular.C (asciiPrintCell): use string(size, char) instead of
6579 * sgml.C (openTag): fix order of arguments to string constructor
6582 * lyxfunc.C (dispatch): use boost.format
6584 * lots of files: change "c" -> 'c'
6586 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6588 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6590 2002-11-25 Angus Leeming <leeming@lyx.org>
6592 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6594 * lyx_main.C (init): compile fix.
6596 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * lyx_cb.C (start): boost.formatify
6599 do not include <iostream>
6601 * lengthcommon.C: ws only
6603 * boost-inst.C,BoostFormat.h: add more explict instantations
6605 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * lots of files: handle USE_BOOST_FORMAT
6609 2002-11-21 John Levon <levon@movementarian.org>
6611 * pspell.C: fix compile
6613 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6615 * lyxfunc.C (dispatch): use boost::format
6619 * lyxfont.C (stateText): use boost::format
6621 * lyx_main.C (LyX): use boost::format
6623 (queryUserLyXDir): ditto
6626 (typedef boost::function): use the recommened syntax.
6628 * importer.C (Import): use boost::format
6630 * debug.C (showLevel): use boost::format
6632 * converter.C (view): use boost::format
6637 * bufferview_funcs.C (currentState): use boost::format
6639 * bufferlist.C (emergencyWrite): use boost::format
6641 * buffer.C (readLyXformat2): use boost::format
6642 (parseSingleLyXformat2Token): ditto
6644 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6646 * LaTeX.C (run): use boost::format
6648 * Chktex.C (scanLogFile): use boost::format
6650 * BufferView_pimpl.C (savePosition): use boost::format
6651 (restorePosition): ditto
6652 (MenuInsertLyXFile): ditto
6654 * BoostFormat.h: help file for explicit instation.
6656 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6658 * tabular.C (latex): Support for block alignment in fixed width
6661 2002-11-17 John Levon <levon@movementarian.org>
6663 * BufferView_pimpl.C:
6665 * lyxfunc.C: split filedialog into open/save
6667 2002-11-08 Juergen Vigna <jug@sad.it>
6669 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6670 by my last patch (hopefully).
6672 2002-11-08 John Levon <levon@movementarian.org>
6681 * toc.C: ParConstIterator, and use it (from Lars)
6683 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6685 * lyxtextclass.[Ch]: revise and add doxygen comments
6687 2002-11-07 John Levon <levon@movementarian.org>
6689 * text.C: fix progress value for spellchecker
6691 * toc.C: fix navigate menu for insetwrap inside minipage
6693 * paragraph_funcs.C: added FIXME for suspect code
6695 2002-11-07 John Levon <levon@movementarian.org>
6697 * BufferView_pimpl.C: fix redrawing of insets
6700 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6702 * text2.C (updateCounters): fix bug 668
6704 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6706 * text3.C (dispatch): Do not make the buffer dirty when moving the
6709 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * vc-backend.C: STRCONV
6714 * text2.C (setCounter): STRCONV
6716 * paragraph.C (asString): STRCONV
6718 * lyxlength.C (asString): STRCONV
6719 (asLatexString): ditto
6721 * lyxgluelength.C (asString): STRCONV
6722 (asLatexString): ditto
6724 * lyxfunc.C (dispatch): STRCONV
6727 * lyxfont.C (stateText): STRCONV
6729 * importer.C (Import): STRCONV
6731 * counters.C (labelItem): STRCONV
6732 (numberLabel): ditto
6733 (numberLabel): remove unused ostringstream o
6738 * bufferview_funcs.C (currentState): STRCONV
6740 * buffer.C (readFile): STRCONV
6741 (asciiParagraph): ditto
6742 (makeLaTeXFile): ditto
6744 * Spacing.C (writeEnvirBegin): STRCONV
6746 * LaTeXFeatures.C (getLanguages): STRCONV
6747 (getPackages): ditto
6749 (getBabelOptions): ditto
6750 (getTClassPreamble): ditto
6751 (getLyXSGMLEntities): ditto
6752 (getIncludedFiles): ditto
6756 (scanAuxFile): ditto
6759 * LString.h: add the STRCONV macros
6761 * BufferView_pimpl.C (savePosition): STRCONV
6762 (restorePosition): ditto
6763 (MenuInsertLyXFile): ditto
6765 * vc-backend.C (scanMaster): change from submatch[...] to
6768 * funcrequest.C: include config.h
6770 * factory.C: include config.h
6772 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6774 * box.C: include config.h
6776 * LaTeX.C (scanAuxFile): change from submatch[...] to
6780 2002-10-25 Angus Leeming <leeming@lyx.org>
6782 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6784 * ispell.[Ch] (setError): new method.
6785 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6786 Use setError() insetead of goto END.
6788 * lyx_cb.C (AutoSave): move out child process into new class
6791 2002-10-30 John Levon <levon@movementarian.org>
6793 * text3.C: make start appendix undoable
6795 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6797 * lyxlength.C (inPixels): Fix returned value.
6799 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6802 2002-10-24 Angus Leeming <leeming@lyx.org>
6804 * lyxgluelength.h: no need to forward declare BufferParams
6805 or BufferView, so don't.
6807 2002-10-21 John Levon <levon@movementarian.org>
6809 * BufferView.C: menuUndo ->undo, redo
6811 * BufferView.h: document, remove dead, make some methods private
6813 * paragraph_funcs.h:
6814 * paragraph_funcs.C:
6815 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6820 * sgml.C: move sgml open/close tag into sgml.C
6822 * bufferview_funcs.h: unused prototype
6825 * lyxfunc.C: remove unused
6828 * text.C: remove unused
6830 2002-10-21 John Levon <levon@movementarian.org>
6834 * BufferView_pimpl.h:
6835 * BufferView_pimpl.C: fix mouse wheel handling based on
6836 patch from Darren Freeman
6838 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6840 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6842 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6844 * lyxlength.C (inPixels): Fix hanfling of negative length.
6845 Fix LyXLength::MU case.
6847 2002-10-16 John Levon <levon@movementarian.org>
6849 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6851 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6853 * converter.C (view): add support for $$i (file name) and $$p
6854 (file path) for the viewer command. If $$i is not specified, then
6855 it is appended to the command (for compatibility with old syntax)
6857 2002-10-14 Juergen Vigna <jug@sad.it>
6859 * undo_funcs.C (textHandleUndo): alter the order in which the
6860 new undopar is added to the LyXText, as we have to set first
6861 the right prev/next and then add it as otherwise the rebuild of
6862 LyXText is not correct. Also reset the cursor to the right paragraph,
6863 with this IMO we could remove the hack in "redoParagraphs()".
6865 2002-10-09 Angus Leeming <leeming@lyx.org>
6867 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6868 to turn off an optimisation if a new inset is to be inserted.
6870 2002-10-11 André Pönitz <poenitz@gmx.net>
6872 * lyxtext.h: make some functions public to allow access
6873 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6875 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6877 * text3.C (dispatch): when changing layout, avoid an infinite loop
6880 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6882 * lyxrc.C (read): treat a viewer or converter command of "none" as
6885 * MenuBackend.C (expandFormats): for an update, also allow the
6886 formats that are not viewable
6888 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6889 script if it is newer than the lyxrc.defaults in user directory
6891 2002-10-07 André Pönitz <poenitz@gmx.net>
6893 * text.C: Vitaly Lipatov's small i18n fix
6895 2002-09-25 Angus Leeming <leeming@lyx.org>
6897 * ispell.h: doxygen fix.
6899 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6901 * buffer.h (readFile): Add a new argument to the method, to allow
6902 reading of old-format templates.
6904 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6906 * toc.C (getTocList): Get TOC from InsetWrap.
6908 2002-09-16 John Levon <levon@movementarian.org>
6910 * lyxfunc.C: check tabular for cut/copy too
6912 2002-09-12 John Levon <levon@movementarian.org>
6917 * factory.C: add header
6919 * paragraph_funcs.h:
6920 * paragraph_funcs.C: cleanup
6922 2002-09-11 John Levon <levon@movementarian.org>
6924 * PrinterParams.h: odd/even default to true
6926 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6928 * PrinterParams.h: update printer parameters for new xforms dialog
6930 2002-09-11 Angus Leeming <leeming@lyx.org>
6932 * lyxserver.C (read_ready): re-write to make it more transparent
6933 and to make it work in coherent fashion under Tru64 Unix.
6935 2002-09-11 André Pönitz <poenitz@gmx.net>
6939 * text3.C: implement LFUN_WORDSEL
6941 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6944 make floatlist_ a boost::shared_ptr<FloatList>
6946 * lyxtextclass.C: include FloatList.h
6947 (LyXTextClass): initialize floatlist_
6948 (TextClassTags): add TC_NOFLOAT
6949 (Read): match "nofloat" to TC_NOFLOAT and use it.
6950 (readFloat): modify call to floatlist_
6954 * FloatList.[Ch] (FloatList): remove commented out float
6956 (erase): new function
6958 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6960 * MenuBackend.C (expandToc): fix crash when there is no document
6963 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6965 * many files: Add insetwrap.
6967 2002-09-09 John Levon <levon@movementarian.org>
6969 * text2.C: remove confusing and awkward depth wraparound
6971 2002-09-09 John Levon <levon@movementarian.org>
6973 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6976 * buffer.C: remove getIncludeonlyList()
6979 * lyxfunc.C: remove headers
6981 2002-09-09 Juergen Vigna <jug@sad.it>
6983 * text.C (getColumnNearX): fix form Michael this is most
6984 probably a cut&paste bug.
6986 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6990 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6991 references, ws changes.
6993 * text2.C (init): update counters after init
6994 (insertParagraph): no need to set counter on idividual paragraphs.
6995 (setCounter): access the counters object in the textclass object
6996 on in the buffer object.
6997 (updateCounters): ditto
6999 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7000 shared_ptr<Counters> to avoid loading counters.h in all
7002 (LyXTextClass): initialize ctrs_
7003 (TextClassTags): add TC_COUNTER, and ...
7004 (Read): use it here.
7005 (CounterTags): new tags
7006 (readCounter): new function
7007 (counters): new funtion
7008 (defaultLayoutName): return a const reference
7010 * counters.C (Counters): remove contructor
7011 (newCounter): remove a couple of unneeded statements.
7012 (newCounter): simplify a bit.
7013 (numberLabel): some small formatting changes.
7015 * buffer.[Ch]: remove all traces of counters, move the Counters
7016 object to the LyXTextClass.
7018 2002-09-06 Alain Castera <castera@in2p3.fr>
7020 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7021 package to set the horizontal alignment on fixed width columns.
7024 * lyx_sty.h: added tabularnewline macro def.
7026 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7028 2002-09-06 John Levon <levon@movementarian.org>
7030 * LyXAction.C: tooltips for sub/superscript
7032 * MenuBackend.C: a bit more verbose
7034 * lyxfunc.C: tiny clean
7036 * undo_funcs.C: document undo_frozen
7038 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * counters.C (Counters): add missing algorithm counter.
7042 * text2.C (setCounter): lookup the counter with layouts latexname
7043 instead of by section number.
7044 (setCounter): use a hackish way to lookup the correct enum
7046 a float name->type change
7047 reset enum couners with counter name directly instead of depth value.
7049 * counters.C (Counters): remove the push_backs, change to use the
7050 float type not the float name.
7051 (labelItem): remove unused string, float name->type change
7053 * counters.h: don't include vector, loose the enums and sects vectors
7055 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7058 (Read): add float->TC_FLOAT to textclassTags
7059 (Read): and handle it in the switch
7060 (readFloat): new function
7062 * FloatList.C (FloatList): comment out the hardcoded float
7065 * lyxlayout.h: ws change.
7067 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7069 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7071 2002-09-03 Angus Leeming <leeming@lyx.org>
7073 * BufferView_pimpl.h: qualified name is not allowed in member
7074 declaration: WorkArea & Pimpl::workarea() const;
7076 * factory.C: added using std::endl directive.
7078 * text3.C: added using std::find and std::vector directives.
7080 2002-08-29 André Pönitz <poenitz@gmx.net>
7083 * text2.C: remove unused member number_of_rows
7086 * BufferView2.C: remove file, move contents to...
7087 * BufferView.C: ... here
7089 * BufferView_pimpl.C:
7090 * factory.C: move more inset creation to factory
7092 * vspace.C: avoid direct usage of LyXText, ws changes
7095 don't provide direct access to WorkArea, use two simple
7096 acessors haveSelction() and workHeight() instead
7099 2002-08-29 John Levon <levon@movementarian.org>
7101 * BufferView_pimpl.C (dispatch): do not continue when
7104 2002-08-28 André Pönitz <poenitz@gmx.net>
7106 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7109 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7111 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7113 * buffer.C: increment LYX_FORMAT to 221
7115 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7116 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7118 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7120 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7122 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * factory.C (createInset): use LyXTextClass::floats
7126 * MenuBackend.C (expandFloatListInsert):
7127 (expandFloatInsert):
7130 * text2.C (setCounter):
7132 * LaTeXFeatures.C (useFloat):
7133 (getFloatDefinitions):
7135 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7137 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7138 floatlist_, with accessor floats().
7140 * FloatList.h: remove global FloatList
7142 2002-08-26 André Pönitz <poenitz@gmx.net>
7144 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7148 * BufferView_pimpl.C:
7149 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7151 2002-08-25 John Levon <levon@movementarian.org>
7153 * LyXAction.C: fix margin note description
7155 2002-08-24 John Levon <levon@movementarian.org>
7159 * bufferview_funcs.C:
7161 * undo_funcs.C: cleanups
7163 * lyxfunc.C: disable CUT/COPY when no selection
7165 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7167 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7168 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7170 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7171 Add backward compatibility to "mono", "gray" and "no".
7173 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7175 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7176 (and file_format >= 200).
7178 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7180 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7182 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7184 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7186 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7188 * BufferView_pimpl.C:
7195 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7196 inset and code to make it work with the paragraph code. The inset
7197 can be anywhere in the paragraph, but will only do the expected
7198 thing in LaTeX if the layout file contains the parameter line
7200 (or more generally, a nonzero value) for that layout.
7202 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * paragraph.h: remove the declaration of undefined counters class
7207 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7209 * text2.C (setCounter): fixed enumeration mis-count as reported by
7210 Dr. Richard Hawkins.
7212 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7214 * paragraph_funcs.h: remove some unneeded includes
7216 * text.C (backspace): pasteParagraph now in global scipe
7218 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7219 (pasteSelection): ditto
7221 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7222 * paragraph_funcs.C (pasteParagraph): ... here
7224 2002-08-20 André Pönitz <poenitz@gmx.net>
7226 * commandtags.h: new LFUNs for swapping/copying table row/colums
7229 * lyxfunc.C: support for new lfuns
7231 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * buffer.[Ch]: remove NO_COMPABILITY stuff
7236 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * boost.C (throw_exception): new file, with helper function for
7239 boost compiled without exceptions.
7244 * ParameterStruct.h:
7245 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7247 * bufferlist.C (emergencyWriteAll): use boost bind
7249 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7251 * text.C: include paragraph_funcs.h
7252 (breakParagraph): breakParagraph is now in global scope
7254 * paragraph_funcs.[Ch]: new files
7256 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7259 * buffer.C: include paragraph_funcs.h
7260 (insertStringAsLines): breakParagraph is now in global scope
7262 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7265 * CutAndPaste.C: include paragraph_funcs.h
7266 (cutSelection): breakParagraphConservative is now in global scope
7267 (pasteSelection): ditto
7269 * buffer.h: declare oprator== and operator!= for
7270 Buffer::inset_iterator
7272 * bufferlist.C (emergencyWrite): don't use fmt(...)
7274 * text3.C: add using std::endl
7276 * BufferView.C (moveCursorUpdate): remove default arg
7278 2002-08-20 André Pönitz <poenitz@gmx.net>
7280 * buffer.[Ch]: move inline functions to .C
7283 * BufferView_pimpl.C:
7285 * buffer.[Ch]: use improved inset_iterator
7288 * paragraph.[Ch]: write one paragraph at a time
7290 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7292 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7293 style if style is not specified.
7295 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7297 * text2.C (setCounter): when searching for right label for a
7298 caption, make sure to recurse to parent insets (so that a caption
7299 in a minipage in a figure float works) (bug #568)
7301 2002-08-20 André Pönitz <poenitz@gmx.net>
7303 * text3.C: new file for LyXText::dispatch() and helpers
7305 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7307 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7309 2002-08-19 André Pönitz <poenitz@gmx.net>
7312 * text.C: new LyXText::dispatch()
7314 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7316 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7318 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7320 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7323 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * Makefile.am: use $(variables) instead of @substitutions@
7327 2002-08-15 André Pönitz <poenitz@gmx.net>
7330 * BufferView_pimpl.C: streamlining mathed <-> outer world
7334 * LyXAction.C: remove unused LFUN_MATH
7336 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7340 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * paragraph.C (Paragraph): reformat a bit
7343 (cutIntoMinibuffer): use builtin InsetList function instad of
7347 * buffer.C: include boost/bind.hpp, add using std::for_each
7348 (writeFileAscii): use ParagraphList iterators
7349 (validate): use for_each for validate traversal of paragraphs
7350 (getBibkeyList): use ParagraphList iterators
7351 (resizeInsets): use for_each to resizeInsetsLyXText for all
7353 (getParFromID): use ParagraphList iterators
7355 * BufferView2.C (lockInset): use paragraph list and iterators
7357 2002-08-14 John Levon <levon@movementarian.org>
7359 * lyxserver.C: remove spurious xforms include
7361 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7363 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7365 2002-08-13 André Pönitz <poenitz@gmx.net>
7368 * lyxfunc.C: further cleaning
7370 2002-08-13 André Pönitz <poenitz@gmx.net>
7372 * funcrequest.h: new constructor
7374 * funcrequest.C: move stuff here from .h
7377 * BufferView_pimpl.C:
7380 * lyxfunc.C: subsequent changes
7382 * lyxfunc.h: new view() member function
7384 * lyxfunc.C: subsequent changes
7386 2002-08-13 Angus Leeming <leeming@lyx.org>
7389 * BufferView_pimpl.C:
7397 changes due to the changed LyXView interface that now returns references
7398 to member variables not pointers.
7400 2002-08-13 Angus Leeming <leeming@lyx.org>
7402 * WordLangTuple (word, lang_code): return references to strings,
7407 * lyxtext.h: forward-declare WordLangTuple.
7412 * text.C: #include "WordLangTuple.h".
7415 * text.C: (selectNextWordToSpellcheck): constify return type.
7417 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7423 * paragraph_pimpl.h:
7426 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7428 Made updateCounter always count from start of buffer, and removed
7429 second argument (par).
7430 Reverted floats number display to '#'. Perhaps I'll try again when the
7431 code base is sanitized a bit.
7433 2002-08-12 Angus Leeming <leeming@lyx.org>
7435 * buffer.[Ch] (getLabelList): constify.
7437 2002-08-07 André Pönitz <poenitz@gmx.net>
7439 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7441 * funcrequest.h: extension to keep mouse (x,y) position
7443 2002-08-12 Juergen Vigna <jug@sad.it>
7445 * BufferView2.C (insertErrors): forbid undo when inserting error
7448 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7450 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7452 * ParagraphList.[Ch]: new files
7454 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7456 * BufferView2.C (lockInset): ParagraphList changes
7459 * bufferlist.C: ditto
7463 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7466 unused class variable counter_,
7468 * paragraph.[Ch] (getFirstCounter): delete unused function
7470 * counters.C: include LAssert.h
7471 (reset): add a new function with no arg, change other version to
7472 not have def. arg and to not allow empty arg.
7474 * text2.C (setCounter): remove empty arg from call to Counters::reset
7476 2002-08-11 John Levon <levon@movementarian.org>
7478 * Makefile.am: add WordLangTuple.h
7480 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7483 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7485 * insets/insettext.C: InsetList changes
7487 * graphics/GraphicsSupport.C (operator()): InsetList changes
7489 * toc.C (getTocList): InsetList changes
7491 * paragraph_pimpl.[Ch]: InsetList changes
7493 * paragraph.[Ch]: InsetList changes
7495 * buffer.C (inset_iterator): InsetList changes
7496 (setParagraph): ditto
7497 * buffer.h (inset_iterator): ditto
7498 * iterators.C (operator++): ditto
7499 * iterators.h: ditto
7501 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7503 * InsetList.[Ch]: new files, most InsetList handling moved out of
7506 * BufferView2.C (removeAutoInsets): InsetList changes
7508 (ChangeInsets): ditto
7510 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * paragraph_pimpl.h (empty): new function
7514 * paragraph.[Ch] (empty): new function
7516 * other files: use the new Paragraph::empty function
7518 2002-08-09 John Levon <levon@movementarian.org>
7520 * lyxtext.h: remove unused refresh_height
7522 2002-08-09 John Levon <levon@movementarian.org>
7529 * paragraph.C: move sgml char escaping out of paragraph
7532 * paragraph.C: remove id setter
7536 * paragraph_pimpl.C: remove dead tex_code_break_column
7538 * bufferview_funcs.C: small cleanup
7540 * lyxfunc.C: remove dead proto
7542 * lyxtext.h: make some stuff private. Remove some dead stuff.
7544 * lyxgluelength.C: make as[LyX]String() readable
7546 2002-08-08 John Levon <levon@movementarian.org>
7551 * ToolbarDefaults.C:
7554 * toc.C: lyxaction cleanup
7556 2002-08-08 John Levon <levon@movementarian.org>
7558 * BufferView2.C: small cleanup
7561 * lyxfind.C: move unnecessary header into the .C
7563 2002-08-08 John Levon <levon@movementarian.org>
7565 * funcrequest.h: just tedious nonsense
7568 * lyx_main.C: cleanups
7571 * vspace.C: remove dead header lyx_main.h
7573 2002-08-07 Angus Leeming <leeming@lyx.org>
7576 * paragraph_pimpl.h:
7577 Forward declare class Counters in paragraph.h by moving the ctrs member
7578 variable into Paragraph::Pimpl.
7579 (counters): new method, returning a reference to pimpl_->ctrs.
7581 * text2.C: ensuing changes.
7583 2002-08-07 John Levon <levon@movementarian.org>
7585 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7587 * BufferView_pimpl.C: announce X selection on double/triple
7590 * lyx_main.C: use correct bool in batch dispatch
7592 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7594 2002-08-07 André Pönitz <poenitz@gmx.net>
7596 * funcrequest.h: new class to wrap a kb_action and its argument
7599 * BufferView_pimpl[Ch]:
7603 * lyxrc.C: subsequent changes
7606 2002-08-07 John Levon <levon@movementarian.org>
7608 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7609 document options change.
7611 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7616 * makefile.am: move counters functionality over from
7617 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7619 2002-08-06 John Levon <levon@movementarian.org>
7621 * WordLangTuple.h: new file for word + language code tuple
7632 * BufferView2.C: use WordLangTuple
7635 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7637 2002-08-06 John Levon <levon@movementarian.org>
7639 * lyx_main.C: fix cmdline batch handling
7641 2002-08-06 André Pönitz <poenitz@gmx.net>
7643 * lyxrc.C: set default for show_banner to true
7645 2002-08-06 John Levon <levon@movementarian.org>
7647 * pspell.C: fix a crash, and allow new aspell to work
7649 2002-08-06 John Levon <levon@movementarian.org>
7652 * kbmap.C: small cleanup
7655 * vspace.C: add const
7657 2002-08-05 John Levon <levon@movementarian.org>
7659 * LyXAction.C: back to tabular-insert
7661 2002-08-04 John Levon <levon@movementarian.org>
7664 * BufferView.C: cosmetic change
7666 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7676 * BufferView2.C: purge all "Lyx" not "LyX" strings
7679 * lyxcursor.C: attempt to add some documentation
7684 * ToolbarDefaults.C:
7685 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7686 merge with LFUN_TABULAR_INSERT
7693 * pspell.C: split up i/pspell implementations into separate
7694 files, many cleanups
7696 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7698 * text2.C: some cleanup
7700 * lyxfunc.C: don't check for isp_command == "none" any more, it
7701 didn't make any sense
7703 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7708 * makefile.am: move counters functionality over
7709 from text2.C/paragraph.[Ch] to counters.[Ch], and
7711 2002-08-02 John Levon <levon@movementarian.org>
7713 * buffer.C: s/lyxconvert/lyx2lyx/
7715 2002-08-02 Angus Leeming <leeming@lyx.org>
7717 * lyxlex.C: revert John's change as it breaks reading of the user
7720 2002-08-02 Angus Leeming <leeming@lyx.org>
7722 * importer.C (Import):
7723 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7724 changes due to LyXView::view() now returning a boost::shared_ptr.
7726 2002-08-02 John Levon <levon@movementarian.org>
7728 * lyxlex.C: small cleanup
7730 2002-08-02 John Levon <levon@movementarian.org>
7732 * text2.C (status): small cleanup, no logic change
7734 2002-08-01 John Levon <levon@movementarian.org>
7737 * buffer.C (writeFile): don't output alerts, caller
7741 * lyx_cb.C: from above
7743 * lyxfunc.C: allow to open non-existent files
7745 2002-07-31 John Levon <levon@movementarian.org>
7747 * lyxserver.C: don't let incidental errors get
7750 2002-07-30 John Levon <levon@movementarian.org>
7752 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7754 2002-07-30 John Levon <levon@movementarian.org>
7757 * lyxserver.C: remove I/O callback too
7759 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7764 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * many files: strip,frontStrip -> trim,ltrim,rtrim
7768 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * PrinterParams.h: remove extern containsOnly, and include
7771 support/lstrings.h instead.
7773 * LaTeX.C (scanAuxFile): modify because of strip changes
7775 * buffer.C (makeLaTeXFile): ditto
7776 * bufferparams.C (writeFile): ditt
7777 * lyxfont.C (stateText): ditto
7778 * lyxserver.C (read_ready): ditto
7779 * vc-backend.C (scanMaster): ditto
7781 * BufferView_pimpl.h: ws changes
7783 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7785 2002-07-26 André Pönitz <poenitz@gmx.net>
7787 * kb_sequence.C: remove unnedred usings
7789 2002-07-26 Juergen Vigna <jug@sad.it>
7791 * lyxfind.C (LyXReplace): we have to check better if the returned
7792 text is not of theLockingInset()->getLockingInset().
7794 2002-07-25 Juergen Vigna <jug@sad.it>
7796 * lyxfind.C (LyXReplace): don't replace if we don't get the
7799 * undo_funcs.C (createUndo): remove debugging code.
7801 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7803 * buffer.C (parseSingleLyXformat2Token): Use default placement
7804 when reading old floats.
7806 * FloatList.C (FloatList): Change the default placement of figure
7807 and tables to "tbp".
7809 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7811 * MenuBackend.C: using std::max
7813 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * MenuBackend.C (expandToc):
7816 (expandToc2): code moved from xforms menu frontend. It is now
7817 generic and TOCs are transparent to menu frontends.
7819 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7821 * toc.C (getTocList): protect against buf=0
7823 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7824 Menu as first parameter. Now, this calls itself recursively to
7825 expand a whole tree (this will be useful for TOC handling)
7826 (expandFloatInsert): remove 'wide' version of floats
7828 * MenuBackend.h (submenuname): returns the name of the submenu.
7829 (submenu): returns the submenu itself, provided it has been
7830 created by MenuBackend::expand
7832 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7834 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7835 insets which have noFontChange == true. (bug #172)
7837 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * BufferView_pimpl.C: add connection objects and use them...
7842 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * MenuBackend.C (expandLastfiles):
7847 (expandFloatListInsert):
7848 (expandFloatInsert):
7849 (expand): split expand in parts
7851 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7853 * lyx_gui.C: use lyx_gui::exit()
7855 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7857 * LyXAction.C: show the failing pseudo action
7859 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7861 * buffer.C (readFile): Run the lyxconvert script in order to read
7864 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7868 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7870 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7874 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7876 2002-07-22 Herbert Voss <voss@lyx.org>
7879 * lyxlength.[Ch]: add support for the vertical lengths
7881 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7883 * toc.[Ch]: std:: fixes
7885 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7887 * lyxrc.C: do not include lyx_main.h
7889 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7895 * BufferView2.C: include "lyxlex.h"
7898 * bufferparams.h: do not #include "lyxlex.h"
7900 * lyxtextclasslist.C (Add): remove method
7901 (classlist): renamed to classlist_
7903 * paragraph_pimpl.C:
7907 * bufferview_funcs.C:
7912 * toc.C (getTocList): use BufferParams::getLyXTextClass
7914 * toc.C (getTocList): use InsetFloat::addToToc
7916 * toc.[Ch]: new files, containing helper functions to handle table
7919 * lyxfunc.C (dispatch): no need to remove spaces around command
7921 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7922 first command of the sequence; it is not very clever, but I do not
7923 have a better idea, actually
7925 * LyXAction.C (LookupFunc): make sure to remove space at the
7926 beginning and end of the command
7928 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7930 * MenuBackend.C (getMenubar): new method: return the menubar of
7932 (read): treat differently reading of menu and menubar (in
7933 particular, the menubar has no name now)
7934 (Menu::menubar): remove
7936 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7939 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7941 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7942 a bibitem inset in a RTL paragraph.
7944 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7946 * paragraph_pimpl.C: constify
7948 * BufferView_pimpl.C:
7950 * lyxfunc.C: fix dispatch in a nicer way
7952 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * lyxfunc.C (dispatch):
7955 * BufferView_pimpl.C:
7956 * BufferView_pimpl.h:
7958 * BufferView.h: rename Dispatch() to dispatch()
7960 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7962 * lyxlayout.C (Read): honor DependsOn tag
7964 * lyxlayout.[Ch] (depends_on): new method
7966 * version.C.in: update lyx_docversion
7968 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7970 * paragraph.C (validate): remove from here...
7971 * paragraph_pimpl.C (validate): ... and move here
7972 (isTextAt): make it const
7974 * buffer.C (getLists): ws cleanup
7976 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7978 * language.C (read): Use iso8859-1 encoding in latex_lang
7979 (this prevents LyX from crashing when using iso10646-1 encoding).
7981 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7983 * text2.C (toggleInset): if cursor is inside an inset, close the
7984 inset and leave cursor _after_ it
7986 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7988 * lyxfunc.C: move minibuffer completion handling out of here
7990 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7992 * BufferView_pimpl.C:
7993 * LaTeX.C: fix dispatch calls
7995 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7997 * text.C (drawChars): Fix Arabic text rendering.
7999 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8003 * lyxfunc.C: remove message-push/pop
8007 * lyxfunc.C: rationalise some code by removing verboseDispatch
8008 in favour of a bool argument to dispatch()
8010 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8012 * lyx_main.C (init): make sure to read symlinks as absolute paths
8014 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfunc.C: no need for commandshortcut to be a member
8019 2002-07-15 André Pönitz <poenitz@gmx.net>
8021 * converter.C: add support for $$s (scripts from lib/scripts dir)
8022 * lyx_main.C: white space
8024 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8028 * lyxrc.C: remove second exit confirmation
8030 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8035 * BufferView_pimpl.h:
8036 * BufferView_pimpl.C:
8037 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8039 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8041 * MenuBackend.C (expand): add numeric shortcuts to document menu
8043 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8045 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8047 * lyxfont.C (setLyXFamily):
8054 * buffer.C (asciiParagraph): use ascii_lowercase
8056 2002-07-15 Mike Fabian <mfabian@suse.de>
8058 * lyxlex_pimpl.C (search_kw):
8059 * lyxlex.C (getLongString):
8060 * converter.h (operator<):
8061 * converter.C (operator<):
8062 * buffer.C (parseSingleLyXformat2Token):
8064 * ToolbarDefaults.C (read):
8065 * MenuBackend.C (checkShortcuts):
8067 * LColor.C (getFromGUIName):
8068 (getFromLyXName): use the compare_ascii_no_case instead of
8069 compare_no_case, because in turkish, 'i' is not the lowercase
8070 version of 'I', and thus turkish locale breaks parsing of tags.
8072 2002-07-16 Angus Leeming <leeming@lyx.org>
8074 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8075 now takes a Buffer const & argument.
8077 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8079 * BufferView.C (resize): check there's a buffer to resize
8081 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8083 * lyxfunc.C: remove dead code
8086 * lyxserver.C: use lyx_guii::set_read_callback
8088 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8090 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8091 an inset in a RTL paragraph.
8093 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8095 * lyxfunc.C: repaint after a font size update
8097 2002-07-15 André Pönitz <poenitz@gmx.net>
8099 * lyxlength.C: inBP should be able to return negative values
8101 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8103 * lyxfunc.C: use lyx_gui::update_fonts()
8105 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8107 * lyxfunc.C: use lyx_gui::update_color()
8109 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8115 * lyxrc.C: remove file->new asks for name option, and let
8116 buffer-new take an argument
8118 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8120 * BufferView_pimpl.C: remove unneeded extra repaint()
8122 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8124 * LyXAction.C: allow command-sequence with NoBuffer
8126 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8128 2002-07-10 Angus Leeming <leeming@lyx.org>
8130 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8132 2002-07-09 Angus Leeming <leeming@lyx.org>
8134 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8136 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8138 * lengthcommon.h: whitespace
8140 * lyxfunc.C: update scrollbar after goto paragraph
8142 * lyxtext.h: factor out page break drawing, and fix it so
8143 page break/added space paints as selected nicely
8145 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8147 * BufferView_pimpl.C: add FIXMEs, clean up a little
8149 2002-07-09 André Pönitz <poenitz@gmx.net>
8151 * lyxfont.[Ch]: support for wasy symbols
8153 2002-07-08 André Pönitz <poenitz@gmx.net>
8155 * BufferView_pimpl.C: apply John's patch for #93.
8157 2002-07-05 Angus Leeming <leeming@lyx.org>
8159 * BufferView_pimpl.C (buffer): generate previews if desired.
8161 * LColor.h: add "preview" to the color enum.
8163 * LColor.C (LColor): add a corresponding entry to the items array.
8165 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8168 2002-07-05 Angus Leeming <leeming@lyx.org>
8170 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8171 The body of the code is now in the method that is passed an ostream &
8172 rather than a file name.
8173 Pass an additional only_preamble parameter, useful for the forthcoming
8176 2002-07-03 André Pönitz <poenitz@gmx.net>
8178 * lyxfunc.C: simplify getStatus() a bit for math stuff
8180 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8184 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8186 * text.C (changeRegionCase): do not change case of all the
8187 document when region ends at paragraph end (bug #461)
8189 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * paragraph.C (startTeXParParams):
8192 (endTeXParParams): add \protect when necessary
8194 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * BufferView_pimpl.C (workAreaExpose): remove warning
8198 2002-06-27 Angus Leeming <leeming@lyx.org>
8200 * Makefile.am: add lyxlayout_ptr_fwd.h.
8202 2002-06-26 André Pönitz <poenitz@gmx.net>
8204 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8206 2002-06-25 Angus Leeming <leeming@lyx.org>
8208 * lyxfunc.C (dispatch): Comment out the call to
8209 grfx::GCache::changeDisplay. The method no longer exists now that the
8210 pixmap generation part of the graphics loader has been moved into
8213 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8215 * text2.C: layout as layout
8217 * text.C: layout as layout
8219 * tabular.C (OldFormatRead): layout as layout
8221 * paragraph_pimpl.C (TeXDeeper): layout as layout
8222 (realizeFont): layout as layout
8224 * paragraph.C (writeFile): layout as layout
8225 (validate): layout as layout
8226 (getFont): layout as layout
8227 (getLabelFont): layout as layout
8228 (getLayoutFont): layout as layout
8229 (breakParagraph): layout as layout
8230 (stripLeadingSpaces): layout as layout
8231 (getEndLabel): layout as layout
8232 (getMaxDepthAfter): layout as layout
8233 (applyLayout): layout as layout
8234 (TeXOnePar): layout as layout
8235 (simpleTeXOnePar): layout as layout
8236 (TeXEnvironment): layout as layout
8237 (layout): layout as layout
8238 (layout): layout as layout
8240 * lyxtextclass.C (compare_name): new functor to work with
8241 shared_ptr, layout as layout
8242 (Read): layout as layout
8243 (hasLayout): layout as layout
8244 (operator): layout as layout
8245 (delete_layout): layout as layout
8246 (defaultLayout): layout as layout
8248 * lyxlayout_ptr_fwd.h: new file
8250 * lyxlayout.C (Read): layout as layout
8252 * lyx_cb.C (MenuInsertLabel): layout as layout
8254 * bufferlist.C (newFile): layout as layout
8256 * buffer.C (readLyXformat2): layout as layout
8257 (parseSingleLyXformat2Token): layout as layout
8258 (insertStringAsLines): layout as layout
8259 (asciiParagraph): layout as layout
8260 (latexParagraphs): layout as layout
8261 (makeLinuxDocFile): layout as layout
8262 (simpleLinuxDocOnePar): layout as layout
8263 (makeDocBookFile): layout as layout
8264 (simpleDocBookOnePar): layout as layout
8265 (getLists): layout as layout
8267 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8269 * CutAndPaste.C (cutSelection): layout as layout
8270 (pasteSelection): layout as layout
8271 (SwitchLayoutsBetweenClasses): layout as layout
8273 * BufferView_pimpl.C (Dispatch): layout as layout
8274 (smartQuote): layout as layout
8276 * BufferView2.C (unlockInset): layout as layout
8278 2002-06-24 André Pönitz <poenitz@gmx.net>
8280 * lyxfunc.C: fix #487
8282 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8286 * lyxfunc.C: remove display_shortcuts, show_banner
8288 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8290 * Buffer_pimpl.C: oops, update on resize
8292 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8299 * BufferView.C: use repaint()
8301 * BufferView_pimpl.h:
8302 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8303 as it's a clearer description. Remove superfluous
8306 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8308 * text.C: fix bug 488. Not ideal, but getting
8309 getWord() to work properly for the insets that
8310 matter is more difficult ...
8312 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8314 * BufferView_pimpl.C:
8317 * lyxfunc.C: remove the six million index lyxfuncs to just
8318 one, and DTRT (bug 458)
8320 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8324 * BufferView_pimpl.h:
8325 * BufferView_pimpl.C: clean up resize() stuff,
8326 and unnecessary updateScreen()s
8328 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.h:
8333 * BufferView_pimpl.C:
8336 * minibuffer.C: remove focus management of workarea,
8337 not needed. Use screen's greyOut()
8339 2002-06-17 Herbert Voss <voss@lyx.org>
8341 * converter.C: (convert) do not post a message, when converting
8342 fails, let the calling function decide what to do in this case
8344 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8346 * lyxfunc.C: tidy up a little
8348 2002-06-16 <alstrup@diku.dk>
8350 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8351 Got rid of FORMS_H_LOCATION include. Now we are
8354 2002-06-15 LyX Development team <lyx@rilke>
8356 * buffer.[Ch] (sgmlOpenTag):
8357 (sgmlCloseTag): Added support for avoiding pernicious mixed
8358 content. Return number of lines written.
8361 (makeDocBookFile): Fixed calls to sgml*Tag.
8362 Simple white space clean.
8364 (simpleDocBookOnePar): Simple white space clean.
8366 * tabular.[Ch] (docBook): Renamed to docbook and got another
8367 argument to related with the pernicious mixed content.
8369 (docbookRow): Fixed calls for docbook inset method.
8371 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8373 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8374 so it's X11 independent.
8378 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8380 2002-06-15 Lyx Development team <lyx@electronia>
8382 * intl.h: Renamed getTrans to getTransManager.
8384 2002-06-14 Angus Leeming <leeming@lyx.org>
8386 * Makefile.am: nuke forgotten stl_string_fwd.h.
8388 2002-06-12 Angus Leeming <leeming@lyx.org>
8390 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8392 2002-06-13 Angus Leeming <leeming@lyx.org>
8395 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8397 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8399 * kbmap.C (getiso): add support for cyrillic and greek
8401 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8405 * BufferView_pimpl.h:
8406 * BufferView_pimpl.C: move bogus scrolling logic
8409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8412 * BufferView_pimpl.C: view->resize() change
8414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8416 * BufferView_pimpl.C: topCursorVisible
8419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8423 * lyx_gui.C: move to frontends/
8427 * lyx_main.C: changes from above
8429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8436 * lyx_main.C: minor tidy
8438 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8440 * BufferView_pimpl.h:
8441 * BufferView_pimpl.C:
8443 * BufferView.C: make painter() const,
8446 * BufferView2.C: use screen() accessor
8449 * lyx_main.C: some minor cleanup
8451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8453 * BufferView_pimpl.h:
8454 * BufferView_pimpl.C: remove enter/leaveView,
8457 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8462 * BufferView_pimpl.h:
8463 * BufferView_pimpl.C: only construct screen once,
8466 * lyxrc.C: remove pointless comment
8468 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8471 * BufferView.C: remove active() and belowMouse()
8473 * BufferView_pimpl.h:
8474 * BufferView_pimpl.C: use workarea() not workarea_,
8475 and make it use a scoped_ptr instead
8477 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8479 * lyx_gui.C: add debug message on BadWindow
8481 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * sp_spell.C: fdopen is not part of the C++ standard.
8485 * paragraph.C (InsetIterator): use >= instead of ==
8487 2002-06-07 Angus Leeming <leeming@lyx.org>
8489 Fixes needed to compile with Compaq cxx 6.5.
8490 * BufferView_pimpl.C:
8497 * lyxtextclasslist.C:
8502 all c-library variables have been moved into namespace std. Wrap
8503 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8508 Add a using std::abs declaration.
8510 * kbmap.h (modifier_pair):
8511 * paragraph.h (InsetTable, InsetList):
8512 * lyxfont.h (FontBits):
8513 type definition made public.
8515 * bufferlist.C (emergencyWriteAll): the compiler complains that
8516 there is more than one possible lyx::class_fun template to choose from.
8517 I re-named the void specialisation as lyx::void_class_fun.
8519 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8521 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8522 the compiler is is unable to find tostr in write_attribute.
8524 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8526 * buffer.C (sgmlError): hide #warning
8528 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8530 * xtl/*: get rid of xtl, which is not in use anyway
8532 * LyXAction.C (init):
8533 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8534 were unimplemented xtl experimentation
8536 2002-06-04 André Pönitz <poenitz@gmx.net>
8538 * lyxfunc.C: disable array operation on simple formulae
8540 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8542 * converter.C: constify a bit
8544 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8546 * lyx_gui.C: check xforms version correctly
8548 2002-04-30 Herbert Voss <voss@lyx.org>
8550 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8553 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8555 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8556 attempt to register it with a VCS)
8558 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * lyx_main.C (init): honor variables LYX_DIR_13x and
8563 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8567 * lyx_main.C: fix a crash on bad command line,
8568 and give a useful exit status on error
8570 * lyxfunc.C (doImport): allow -i lyx to work
8572 2002-03-30 André Pönitz <poenitz@gmx.net>
8574 * lyxfunc.C: mathed font changes
8576 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8591 * trans_mgr.h: srcdocs, and some minor cleanups
8593 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8596 call getFont all the time)
8598 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8600 * switch from SigC signals to boost::signals
8602 2002-05-29 André Pönitz <poenitz@gmx.net>
8604 * paragraph_pimpl.C (getChar): don't call size() too often...
8606 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8608 * paragraph_pimpl.C (insertChar): do not try to update tables when
8609 appending (pos == size())
8611 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8612 in order to reduce drastically the number of comparisons needed to
8613 parse a large document
8615 2002-05-29 André Pönitz <poenitz@gmx.net>
8621 * textclasslist.[Ch]:
8622 * sp_ispell.h: whitespace change
8624 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8626 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8627 lyxaction directly now.
8629 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8633 * lyxvc.C: remove unused headers
8635 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8642 * undo_funcs.C: some cleanups. Use shared_ptr
8643 and a template for the undo stacks.
8645 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8647 * BufferView_pimpl.h:
8648 * BufferView_pimpl.C:
8655 * text2.C: use key_state/mouse_state
8657 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8659 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8662 * chset.C: change include order
8663 (loadFile): use boost regex and get rid of LRegex and LSubstring
8665 * Makefile.am (BOOST_LIBS): new variable
8668 * LaTeX.C: change include order.
8669 (scanAuxFile): use boost regex and get rid of LRegex and
8673 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8678 * FontInfo.C: moved to frontends/xforms/
8681 * FontLoader.C: moved into frontends for GUIIzation
8686 * lyxfunc.C: changes from above
8688 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8690 * LColor.C: remove spurious X include
8692 * BufferView_pimpl.C:
8697 * text2.C: move font metrics to frontends/
8699 2002-05-24 Juergen Vigna <jug@sad.it>
8701 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8702 setting the undo_cursor.
8704 * ParagraphParameters.h: include local includes first.
8706 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8708 * BufferView_pimpl.C:
8709 * BufferView_pimpl.h:
8713 * screen.C: move WorkArea into frontends/
8719 * BufferView2.C: move LyXScreen into frontends/
8723 * lyx_gui.C: move lyxlookup into frontends/xforms/
8725 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8728 * BufferView_pimpl.C:
8738 * bufferview_funcs.C:
8751 * vc-backend.C: move LyX/XFormsView into frontends/
8753 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8765 * text2.C: move Painter to frontends/
8767 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8769 * buffer.C: comment out some some code that depend upon lyx_format
8772 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8773 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8775 * buffer.h (NO_COMPABILITY): turn off compability
8777 * ColorHandler.C: include scoped_array.hpp
8779 * font.C: Use more specific smart_ptr header.
8782 * ShareContainer.h: ditto
8786 * BufferView_pimpl.h: ditto
8787 * ColorHandler.h: ditto
8789 * kbmap.C (defkey): change call to shared_ptr::reset
8791 2002-05-21 Juergen Vigna <jug@sad.it>
8793 * buffer.C (insertErtContents): fix to insert ert asis if it is
8794 non empty. Skip it completely if it contains only whitespaces.
8796 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8798 * BufferView_pimpl.C:
8799 * BufferView2.C: clear selection on paste (bug 393)
8801 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * DepTable.C: include ctime
8805 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8807 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8809 2002-05-14 Juergen Vigna <jug@sad.it>
8811 * text.C (breakParagraph): fixed function to honor the keepempty
8812 layout in the right maner and also to permit the right breaking
8813 algorithm on empty or non empyt keepempty paragraphs.
8815 * paragraph.C (breakParagraph): we have to check also if the par
8816 is really empty (!size()) for isempty otherwise we do the wrong
8819 2002-05-10 Juergen Vigna <jug@sad.it>
8821 * buffer.[Ch] : The following are only changes to the ert
8822 compatibility read reading old LaTeX layout and font stuff and
8823 convert it to ERTInsets.
8825 * buffer.h: added isErtInset().
8827 * buffer.C (struct ErtComp): add a fromlayout bool to check
8828 if we're inside a LaTeX layout.
8829 (isErtInset): new helper function.
8830 (insertErtContents): look for other ert insets before this one
8831 and insert the contents there, so that we don't have subsequent
8832 ERT insets with nothing between them. This way we create only one
8833 inset with multiple paragraphs. Also check if we don't insert only
8834 spaces ' ' as they are ignored anyway afterwards in the .tex file
8835 so if we have only spaces we will ignore this latex part in the
8837 (parseSingleLyXformat2Token \\layout): better compatibility when
8838 reading layout-latex stuff.
8839 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8841 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8842 stuff after reading the inset only get the information back from
8845 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8847 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8849 * LaTeXFeatures.C (getBabelOptions): New method.
8851 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * BufferView_pimpl.C (Dispatch): work around missing argument for
8856 2002-05-08 Juergen Vigna <jug@sad.it>
8858 * text.C (leftMargin): handle paragraph leftindent.
8860 * paragraph.C (writeFile): write the new \\leftindent tag.
8861 (validate): handle leftindent code.
8862 (TeXEnvironment): handle paragraphleftindent code again.
8864 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8866 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8867 for paragrap_extra indent code and new token \\leftindent.
8868 (latexParagraphs): handle the leftindent as environment.
8870 * ParameterStruct.h: added leftindent support.
8872 * ParagraphParameters.C (leftIndent): added support functions for
8873 the paragraph left indent.
8875 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8878 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8880 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8883 * text.C (computeBidiTables): No bidi in insetERT.
8885 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8888 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * version.C.in: pre 5
8892 2002-05-02 José Matos <jamatos@fep.up.pt>
8893 * buffer.C (makeDocBookFile): white space changes, add newline to
8895 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8897 * tabular.C (docBook): fix typo.
8899 2002-05-03 Juergen Vigna <jug@sad.it>
8901 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8902 change in LyXText as we can not be sure it was not freed.
8903 (drawOneRow): remove unused code.
8905 * text.C (drawInset): redo the calculation of the need_break_row as
8906 it could have a row which was already freed.
8907 (draw): look at the return value of drawInset and return false if
8908 it also returned false.
8909 (paintRowText): look at the return value of draw and return false if
8910 it also returned false.
8912 * lyxtext.h: added bool return type to drawInset() and draw() so that
8913 if we have a change in the row so that the rowbreak has to be redone
8914 we abort drawing as it will be called again.
8916 2002-05-02 Juergen Vigna <jug@sad.it>
8918 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8919 a change in the maintext also if we're inside an inset.
8920 (Dispatch): set the cursor again after a break line and after the
8921 screen has been updated as it could be we're in a different row.
8923 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8924 to set the cursor behind the pargraph with > size().
8925 (setCursor): check also for the same paragraph when checking where
8926 to put the cursor if we have a NFR inset.
8928 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8929 parts of layout read further up as it still was in the wrong
8932 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8934 * screen.C (drawFromTo): change sine fullRebreak always return
8937 * buffer.C (parseSingleLyXformat2Token): reindent some
8939 * BufferView_pimpl.C (update): change since fullRebreak always
8941 (Dispatch): git rid of the last hardcoded "Standard"s.
8943 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * text2.[Ch] (fullRebreak): make it return void now that we always
8948 2002-04-30 Juergen Vigna <jug@sad.it>
8950 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8951 ert compatibility check for "latex" layout.
8953 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8955 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8956 minipages: use col% instead of p%, and also use the current font.
8957 (makeLaTeXFile): Fix use babel condition.
8958 (parseSingleLyXformat2Token): Correct font when reading old floats.
8960 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8962 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8963 inserting list of floats.
8965 2002-04-25 Herbert Voss <voss@lyx.org>
8967 * MenuBackend.C (expand): don't add the graphics extensions to the
8970 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8973 non-existing layout, do not complain if it was the default layout
8974 of the original class (bug #342)
8976 2002-04-24 Juergen Vigna <jug@sad.it>
8978 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8979 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8981 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8983 * buffer.C (getBibkeyList): If using \bibliography, return the
8984 option field with the reference itself. Enables us to provide natbib
8985 support when using \bibliography.
8987 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8989 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8991 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8992 natbib is provided by the LaTeX class.
8994 2002-04-23 Juergen Vigna <jug@sad.it>
8996 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8999 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9001 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9003 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9005 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9006 ensuremath around textordmasculine, textordfeminine and
9009 2002-04-19 Juergen Vigna <jug@sad.it>
9011 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9012 reinitializing the buffer otherwise row-dimensions may be wrong.
9013 (update): reset also the selection cursors if they do exits otherwise
9014 their x/y positions may be wrong.
9016 * text2.C (cursorDown): don't enter the inset if we came from a row
9017 above and are one row over the inset.
9019 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9020 really leaving an inset.
9022 2002-04-18 Juergen Vigna <jug@sad.it>
9024 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9025 of the selected paragraph does not have the selected layout also if
9028 * text2.C (setLayout): fixed bug which did not change last selected
9031 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9032 changed the read and substituted \\end_float with \\end_inset!
9034 * BufferView_pimpl.C (cursorPrevious):
9035 (cursorNext): fixed to make it work with rows heigher than the work
9036 area without moving the cursor only the draw of the row.
9037 (workAreaMotionNotify): fix jumping over high rows.
9039 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9041 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9044 2002-04-16 Juergen Vigna <jug@sad.it>
9046 * text2.C (setCursor): set also the irow().
9047 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9049 (cursorDown): support for locking an inset if the x_fix value goes
9050 inside it. That way I can transverse insets too with cursor up/down.
9052 * lyxrow.h: added irow helper function same as other (i) functions.
9054 * BufferView_pimpl.C (cursorPrevious):
9055 (cursorNext): fixed for insets!
9057 2002-04-15 Juergen Vigna <jug@sad.it>
9059 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9060 position otherwise it is wrong in some cases.
9062 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9063 inside the inset before the call.
9065 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9067 * buffer.[Ch] (getBibkeyList): make it const.
9069 2002-04-12 Juergen Vigna <jug@sad.it>
9071 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9073 * text2.C (getCursorX): new helper function
9074 (setCursor): compute also ix_
9075 (setCursorFromCoordinates): set also ix.
9077 * lyxcursor.h: added ix_ and helper functions.
9079 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9081 * buffer.C (insertStringAsLines): dont break paragraph if the this
9082 paragraph is inside an inset which does not permit it!
9084 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9085 also with no chars on this paragraph.
9086 (paintRowText): only paint stuff if it's inside the workarea!
9088 * paragraph.C (breakParagraph): honor keepempty flag and break the
9089 paragraph always below not above.
9091 * BufferView2.C (unlockInset): update the paragraph layout on inset
9092 unlock as we changed paragraph in such a case.
9094 * lyxfind.C (LyXFind): clear the former selection if not found!
9096 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9097 again called in insertChar().
9099 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9100 an inset which uses the whole row!
9101 (rightMargin): ditto.
9102 (insertChar): force a rebreak if we inserted an inset!
9104 2002-03-28 Herbert Voss <voss@lyx.org>
9106 * lyxlength.[Ch]: add inBP() to get the right PS-point
9107 units (BigPoint). With inPixels we have rounding errors
9109 2002-04-11 Juergen Vigna <jug@sad.it>
9111 * text2.C (setCursorFromCoordinates): set iy to the right value.
9112 (setCursor): add check if row->previous exists!
9114 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9115 an old float_type as this was the case in the old code!
9117 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9119 * BufferView2.C (showLockedInsetCursor): use iy
9120 (fitLockedInsetCursor): ditto
9122 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9123 locked insets as there we have the right value now.
9125 * lyxcursor.C: added iy_ variable and iy functions to set to the
9126 baseline of cursor-y of the locked inset.
9128 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9129 (setCursor): fixed for insets which need a full row.
9131 * text.C (rowLastPrintable): don't ignore the last space when before
9132 an inset which needs a full row.
9133 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9134 as last character of a row when before a inset which needs a full row.
9136 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9138 * version.C.in: update date
9140 * text2.C (fullRebreak): try to always return true and see what
9143 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9145 * MenuBackend.C (expand): use Floating::listName
9147 * FloatList.C (FloatList): add listName argument to the built-in
9150 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9151 text associated with the float.
9153 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9155 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9157 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9159 * ShareContainer.h: add a couple of missing typenames.
9161 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9163 * lyxrc.C (getDescription): use _() correctly rather than N_().
9165 2002-03-28 Herbert Voss <voss@lyx.org>
9167 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9168 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9170 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9172 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9173 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9175 2002-03-29 Juergen Vigna <jug@sad.it>
9177 * lyxfunc.C (dispatch): add a missing fitCursor call.
9179 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9180 it was scrolled by a cursor move, so return the bool status.
9182 * BufferView.C (fitCursor): return the bool flag also to the outside
9183 world as this is needed.
9185 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9187 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9188 call the edit() as it is not needed (and wrong) IMO.
9189 (workAreaButtonPress): set the screen_first variable before evt.
9190 unlock the inset as this may change screen_first and then we have
9191 a wrong y position for the click!
9193 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * MenuBackend.C (expand): another translation that I missed
9197 2002-03-28 Juergen Vigna <jug@sad.it>
9199 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9201 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9203 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9205 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9207 * MenuBackend.C (expand): fix export/view/update when there is no
9210 2002-03-27 Herbert Voss <voss@lyx.org>
9212 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9215 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9217 * bufferview_funcs.C (currentState): only show paragraph number
9218 for is DEVEL_VERSION is set.
9220 * lyxfunc.C (dispatch): put warning in INFO channel
9222 * MenuBackend.C (expand): translate the name of floats
9224 * FloatList.C (FloatList): mark the float names for translation
9226 * converter.C (convert): use LibScriptSearch
9228 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9230 * MenuBackend.C (defaults): fix default menu (we might as well get
9233 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9235 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9238 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9240 * lyxvc.C: reorder includes.
9242 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9244 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9247 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9249 * CutAndPaste.C: change layouts earlier on paste
9250 to avoid crashing when calling getFont()
9252 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9254 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9257 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * WorkArea.C: remove 'Pending' debug message.
9261 * most files: ws cleanup
9263 * buffer.[Ch]: ws changes
9265 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9267 2002-03-21 Juergen Vigna <jug@sad.it>
9269 * tabular.C (SetMultiColumn): collapse also the contents of the
9270 cells and set the last border right. Added a Buffer const * param.
9272 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9274 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9277 2002-03-19 Juergen Vigna <jug@sad.it>
9279 * text2.C (clearSelection): reset also xsel_cache.
9281 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9282 where it needs to be called (John tells us to do so too :)
9283 (selectionLost): reset sel_cache.
9285 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9287 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * text2.C (setCursorIntern): put debuging code in INSETS channel
9291 2002-03-19 André Pönitz <poenitz@gmx.net>
9293 * lyxfunc.C: tiny whitespace change
9295 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9297 * ToolbarDefaults.C (init):
9298 * LyXAction.C (init):
9300 * BufferView_pimpl.C (Dispatch):
9301 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9303 2002-03-19 Allan Rae <rae@lyx.org>
9305 * exporter.C (Export): removeAutoInsets before doing anything else.
9306 While I've just introduced a dependency on BufferView this really is
9307 the best place to clean the buffer otherwise you need to cleanup in
9308 a dozen places before calling export or cleanup in a dozen functions
9311 * converter.C (runLaTeX):
9312 (scanLog): Better handling of removeAutoInsets and screen updates.
9314 * lyxfunc.C (dispatch): small whitespace changes
9316 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * WorkArea.C (C_WorkAreaEvent): return a value.
9319 (event_cb): return 1 if we handled the event, 0 otherwise.
9321 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9323 2002-03-18 Juergen Vigna <jug@sad.it>
9325 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9326 (GetAdditionalWidth): ditto.
9330 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9331 inset if we're there actually (probably not used right now but this
9332 is the direction to go for unifying code).
9333 (paste): disable code to clear the selection.
9335 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9336 inside an InsetText and move the check further up as it is in the
9339 * text2.C (pasteSelection): set a selection over the pasted text.
9341 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9343 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9344 and libgraphics to build on Cygwin.
9346 2002-03-15 Juergen Vigna <jug@sad.it>
9348 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9349 inserting an Inset into the paragraph. I know this is not the best
9350 fix but we already use current_view in CutAndPaste so we will remove
9351 all of it's using at the same time.
9353 * buffer.C (sgmlError): deactivated function till it is rewritten in
9354 the right mode, now it can create problems.
9356 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9357 before accessing it.
9359 2002-03-14 Juergen Vigna <jug@sad.it>
9361 * undo_funcs.C (textHandleUndo): do the right thing when updating
9362 the inset after the undo/redo.
9364 * text2.C (setCursor): just some testcode for #44 not ready yet.
9366 * undo_funcs.C (textHandleUndo): set the next() and previous()
9367 pointers of the paragraph to 0 before deleting otherwise we have
9368 problems with the Paragraph::[destructor].
9370 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9371 on a paragraph insertion.
9373 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * buffer.C (asciiParagraph): use += operator for char append to
9378 * paragraph.C (getFontSettings): compare >= not just >
9379 (highestFontInRange): ditto
9382 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * paragraph.C: change several algorithm to be more appripriate for
9385 the problem domain. This is lookip in FontList and in the InsetList.
9387 2002-03-13 André Pönitz <poenitz@gmx.net>
9390 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9392 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9397 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9399 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * Painter.C (display): anon helper function, adjust code for this
9403 (pixmap): remove function.
9405 * Painter.h: remove private display variable.
9407 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9409 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9411 * WorkArea.[Ch]: remove figinset_canvas cruft.
9413 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * lyxtextclass.C (operator): add one item cache optimization.
9417 * bufferlist.h: doxy changes
9419 * bufferlist.C: ws changes
9421 * DepTable.[Ch] (ext_exist): place const in the right spot.
9423 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9425 (workAreaExpose): call resizeInsets when the with BufferView changes.
9426 (Dispatch): adjust for protectedBlank removal
9427 (specialChar): call updateInset if the insert went ok.
9429 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9430 specialChar instead.
9432 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9434 * BufferView.h: doxy change
9436 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9438 * lyxtextclass.C (operator[]): remove non-const version
9439 (defaultLayout): remove non-const version
9441 2002-03-12 Juergen Vigna <jug@sad.it>
9443 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9444 did resize the LyXText too.
9446 * buffer.C (readLyXformat2): set layout information on newly allocated
9449 * tabular.C (OldFormatRead): set layout information on the paragraph.
9451 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9453 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9455 2002-03-11 Juergen Vigna <jug@sad.it>
9457 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9459 (resizeCurrentBuffer): force also the insets to resize themselfes.
9460 (moveCursorUpdate): fixed up for InsetText.
9462 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9465 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9466 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9467 value of Dialogs::tooltipsEnabled().
9468 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9470 2002-03-08 Juergen Vigna <jug@sad.it>
9472 * BufferView_pimpl.C (updateInset): update inset inside inset also
9473 if it isn't inside theLockingInset().
9475 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * buffer.C (asciiParagraph): redo some of the word and line length
9479 (getLists): look for Caption instead of caption.
9481 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9483 * buffer.C (Buffer): initialize niceFile to true
9486 (makeDocBookFile): make sure niceFile is true on exit
9488 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9492 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9494 * LyXSendto.C: remove.
9495 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9496 * lyx_gui.C: remove now-redundant comment.
9497 * ColorHandler.h: remove forward declaration of class WorkArea.
9498 * lyxfunc.C: remove #include "WorkArea.h".
9500 2002-03-07 Juergen Vigna <jug@sad.it>
9502 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9503 got moved away with the DEPM and also set the inset_owner always
9504 right which before could have been omitted.
9506 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9509 wanted layout is not found.
9511 2002-03-07 Juergen Vigna <jug@sad.it>
9513 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9515 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * paragraph.C (breakParagraph): use default layout not layout of
9519 (Paragraph): clear ParagraphParameters.
9521 2002-03-06 Juergen Vigna <jug@sad.it>
9523 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9524 otherwise it would not be a valid lenght. Fixed a special case in
9525 the minipage compatibility read where we end the document with a
9528 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9529 was set as it could be 0 for InsetTexts first entry.
9531 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9533 * paragraph.C (writeFile): if layout is empty write out
9534 defaultLayoutName().
9536 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9537 file without named layout we set layout to defaultLayoutName().
9539 2002-03-06 Juergen Vigna <jug@sad.it>
9541 * CutAndPaste.C (copySelection): set layout for new paragraph.
9543 * text.C (prepareToPrint): leave ERT inset left aligned
9544 (leftMargin): don't indent paragraphs inside ERT insets
9546 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * paragraph.C (breakParagraph): dont call clear do the work manually
9550 * paragraph.[Ch] (clear): remove function
9552 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * paragraph.C (Paragraph): dont call clear, the work has already
9557 * lyxtextclass.C (operator): assert if n is empty
9559 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9560 work manually instead.
9562 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9564 * BufferView_pimpl.C: protect selectionLost against text == 0
9566 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9568 * text.C (breakParagraph): fix a setting layout to '0' problem.
9570 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9572 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9573 final location of file, for the included files, and graphics.
9575 2002-03-05 Juergen Vigna <jug@sad.it>
9577 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9579 2002-03-04 Juergen Vigna <jug@sad.it>
9581 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9583 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9584 last column of multicolumn cells.
9585 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9587 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9589 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9590 file if it doesn't go to a temporary file.
9592 * buffer.C (sgmlOpenTag):
9593 (sgmlCloseTag): remove extra newline insertion.
9595 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * text.C (getRowNearY): comment out debug msg
9599 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * text2.C: first -> first_y
9603 * text.C (getRowNearY): add some attemts at a possible
9604 optimization, not working.
9606 * tabular.[Ch]: add BufferParams to several function so that newly
9607 created paragraph can be initialized to he default layotu for the
9610 * tabular-old.C (ReadOld): add buf->params to call of Init
9612 * screen.C: rename text->first to text->first_y
9614 * paragraph.C (breakParagraph): always set layout in the broken
9617 * lyxtextclass.C (Read): remove lowercase
9620 (delete_layout): ditto
9622 * lyxtext.h: rename first -> first_y
9624 * lyxlayout.C (Read): remove lowercase
9627 (obsoleted_by): ditto
9629 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9631 * buffer.C (insertErtContents): add params are to InsetERT
9632 (parseSingleLyXformat2Token): add code to check if a paragraphs
9633 layout really exist.
9634 (parseSingleLyXformat2Token): add params to several inset
9636 (asciiParagraph): remove lowercase, do the layout comparisons with
9639 * BufferView_pimpl.C (cursorNext): first -> first_y
9640 (resizeCurrentBuffer): first -> first_y
9641 (updateScrollbar): first -> first_y
9642 (scrollCB): first -> first_y
9643 (workAreaMotionNotify): first -> first_y
9644 (workAreaButtonPress): first -> first_y
9645 (checkInsetHit): first -> first_y
9646 (cursorPrevious): first -> first_y
9647 (cursorNext): first -> first_y
9648 (Dispatch): add buffer_->params to severl inset contructors
9650 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * lyxlayout.C (Read): remove some debug info that I forgot.
9654 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9655 clean up the code slightly.
9656 (makeLinuxDocFile): ditto
9657 (makeDocBookFile): ditto
9659 * text2.C: layout as string
9661 * text.C: layout as string
9663 * paragraph_pimpl.C: layout as string
9665 * paragraph.[Ch]: layout as string
9667 * lyxtextclasslist.[Ch]: layout as string
9669 * lyxtextclass.[Ch]: layout as string
9671 * lyxtext.h: layout as string
9673 * lyxlayout.[Ch]: layout as string
9675 * lyx_cb.C: layout as string
9677 * bufferview_funcs.C: layout as string
9679 * bufferparams.C: layout as string
9681 * buffer.C: layout as string
9683 * LyXView.[Ch]: layout as string
9685 * LaTeXFeatures.[Ch]: layout as string
9687 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9689 * BufferView_pimpl.C: change current_layout to string, remove
9694 (workAreaButtonRelease): layout as string
9696 * BufferView2.C (unlockInset): adjust
9698 * vspace.C (asLatexCommand): use an explict temp variable.
9700 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9702 * Makefile.am: use FRONTEND_*
9704 2002-03-01 Juergen Vigna <jug@sad.it>
9706 * tabular.C (SetWidthOfMulticolCell): changed to something better
9707 I hope but still work in progress.
9708 (recalculateMulticolumnsOfColumn): renamed function from
9709 recalculateMulticolCells as it is more appropriate now.
9710 (SetWidthOfCell): calculate multicols better.
9712 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9714 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9716 * lyxfunc.C (processKeySym): print sequence also if it is
9717 `deleted' (complete)
9719 * kbsequence.C (print): print sequence even if it is deleted
9720 (complete would be a better word, actually).
9722 * lyxfunc.C (dispatch): print complete options after a prefix key
9724 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9726 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9728 * text2.C (setCharFont): eliminate setCharFont code duplication.
9730 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9733 LFUN_TABULAR_FEATURE (bug #177)
9735 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9737 * Makefile.am: remove figure.h
9739 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9741 * Bufferview_pimpl.C:
9753 * text2.C: remove #include "lyx_gui_misc.h".
9755 * LaTeX.C: added #include <cstdio>
9757 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9760 that the paragraph following this one can have.
9762 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9764 * vspace.C (asLatexCommand): fix bogus gcc warning
9766 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9768 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9770 * text2.C (setLayout): get rid of redundant code
9772 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9774 * text2.C (incDepth): make sure depth cannot be increased beyond
9777 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9779 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9780 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9782 * PainterBase.h (image):
9783 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9786 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9790 * BufferView_pimpl.C:
9791 * BufferView_pimpl.h:
9811 * sp_spell.C: remove fig inset, and the crap house of
9812 cards that follows it
9814 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9820 * nt_defines.h: move .h into support/
9822 * vms_defines.h: remove
9824 * WorkArea.C: add space in debug output
9828 * buffer.C: add WITH_WARNINGS
9832 * bufferlist.C: s/retrive/retrieve/, add docs
9843 * lyxgui.C: add ID to X error handler
9845 * lyxtestclass.c: fix typo
9847 2002-02-26 Juergen Vigna <jug@sad.it>
9849 * tabular_funcs.C (write_attribute): changed so that some default
9850 attributes are not written at all.
9851 (getTokenValue): set default values before trying to read the
9852 value so we have the return value always set as default if we don't
9853 find the token we search for.
9855 * tabular.C (Write): write bools as bools not as strings!
9857 2002-02-22 Juergen Vigna <jug@sad.it>
9859 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9860 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9862 * text.C (leftMargin): don't add an indent for paragraphs inside
9863 tabular cells (fix #208).
9865 2002-02-21 José Matos <jamatos@fep.up.pt>
9867 * tabular.C (docBook): fixed support for long tables.
9869 2002-02-20 Juergen Vigna <jug@sad.it>
9871 * text2.C (getFont): get the drawing font of the Inset if this
9872 paragraph is inside an inset (only important for InsetERT for now).
9874 * buffer.C (insertErtContents): use new lanugage params in ERT
9877 * CutAndPaste.C: commenting out seemingly uneeded code.
9879 2002-02-19 Allan Rae <rae@lyx.org>
9881 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9882 Iterators might be simple to use but they also get invalidated.
9883 (removeAutoInsets): renamed saved cursor tracking variables and added
9884 some comments to clarify what everything does.
9886 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9893 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9894 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9897 * vc-backend.h: remove #include "support/syscall.h"
9901 * converter.C: rearrange #includes in Lars' approved fashion.
9903 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9904 forward declare class Timeout in the header file.
9906 * XFormsView.C: changes due to the above.
9908 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9911 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9912 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9914 2002-02-18 José Matos <jamatos@fep.up.pt>
9916 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9919 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9921 * a lot of small ws changes
9922 * add a lot of using std::XXX
9923 * use std construcs some places where approp.
9924 * use some exisint stuff from lyxfunctional where approp.
9925 * Make file changes to use partial linking (lets test this now...)
9927 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9931 remove #include "support/syscontr.h" as it's redundant. Always has been.
9939 change Systemcalls::System to Systemcalls::Wait and
9940 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9941 No change of functionality, just reflects the stripped down Systemcalls
9944 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9946 * debug.[Ch]: add a GRAPHICS type to the enum.
9948 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9952 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9955 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9957 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9958 match the changes below.
9960 * text2.C (toggleInset): if there is not editable inset at cursor
9961 position, try to see if cursor is _inside_ a collapsable inset
9964 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9967 document menu has a nice checkbox
9969 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * lyxlength.C (asLatexString): change PW to output as percent of
9974 * lengthcommon.C: change '%' to 't%'
9976 * lyxfunc.C (dispatch): a few comments from Martin
9978 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9982 * BufferView_pimpl.h:
9983 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9986 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * vspace.C (inPixels): fix compiler warning
9990 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * lyxfunc.C (getStatus): fix status message for disabled commands.
9994 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.C: fix crash on close buffer
9997 during selection (#227)
9999 2002-01-27 Herbert Voss <voss@lyx.org>
10001 * buffer.C: link old Figure to new graphic inset
10003 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10005 * FontLoader.C (getFontinfo): Change the latex font names in order
10006 to match the names of type1inst.
10008 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10012 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10013 (extchanged): ditto
10015 (remove_files_with_extension): ditto
10016 (remove_file): ditto
10019 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10020 document is smaller than the work area height. Do not initialize
10021 static variables to 0.
10023 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10025 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10027 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10028 LFUN_LAYOUT_PARAGRAPHS.
10030 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10031 tabular. It is possible to provide a possible cell, which will
10032 typically be the actcell from the corresponding insettabular
10034 * lyxfunc.C (getStatus): small cleanup; disable
10035 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10038 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10042 * paragraph.C (startTeXParParams):
10043 (endTeXParParams): new methods. The LaTeX code to
10044 start/end paragraph formatting
10045 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10046 empty (fixes bug #200)
10048 * vspace.C (inPixels): adapt to the change below
10049 (inPixels): [later] more cleanups (remove unused variables)
10051 * lyxlength.C (inPixels): change to use a width and a height as
10054 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10057 Replaced with \paperwidth
10059 * DepTable.C (insert): add std:: qualifier
10061 2002-01-18 Allan Rae <rae@lyx.org>
10063 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10066 * text.C (drawInset): Turned out I didn't know enough about how
10067 rebreaking worked. This fixes most of the redraw problems. I see
10068 an occasional cursor trail when a line is broken now and the cursor
10069 placement can seem out by a few pixels also after a rebreak.
10071 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * buffer.C (parseSingleLyXformat2Token): update because minipage
10074 width is now a LyXLength
10076 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10078 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10081 2002-01-17 Juergen Vigna <jug@sad.it>
10083 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10085 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10086 is set correctly and the inset is updated correctly.
10088 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10091 the beginning of the loop.
10093 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10095 * lyxrc.C: improve help for use_scalable_fonts
10097 2002-01-17 Allan Rae <rae@lyx.org>
10099 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10101 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10103 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10104 make sure to set their inset_owner to the right value (bug #171)
10106 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10109 * DepTable.C: Implement mtime checking to reduce time spent doing
10112 2002-01-16 Juergen Vigna <jug@sad.it>
10114 * tabular.C (GetAdditionalHeight): one of error fixed.
10116 * lyxrc.C (output): small fix in writing use_pspell.
10118 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10120 * sp_base.h: #include LString.h
10122 2002-01-16 Allan Rae <rae@lyx.org>
10124 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10125 Can someone check this please?
10127 * text.C (drawInset): It was possible that p.row would be removed by
10128 breakAgainOneRow upsetting a few other settings. There may be another
10129 small tweak possible by setting need_break_row = 0 when p.row has been
10130 removed but I don't know enough about the logic here.
10132 2002-01-15 Allan Rae <rae@lyx.org>
10134 * text.C (insertChar): removed conditional truism.
10136 * BufferView2.C (removeAutoInsets): More tweaks.
10137 cur_par_prev could be a stray pointer. Check for trailing empty line
10138 in case last line was cur_par and only had an error inset on it.
10140 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10142 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10145 * vc-backend.C (most methods):
10146 * exporter.C (Export):
10147 * converter.C (convert):
10149 * LyXSendto.C (SendtoApplyCB):
10150 * lyxfunc.C (dispatch):
10154 * lyx_cb.C (AutoSave):
10156 * BufferView_pimpl.C (MenuInsertLyXFile):
10157 * buffer.C (runChktex): use Buffer::filePath().
10159 * buffer.h: rename filename to filename_; rename filepath to
10160 filepath_ and make it private
10161 (filePath): new method
10163 * buffer.C (writeFile): use fileName()
10166 * lyx_main.C (init): fix starting of LyX when the binary is a
10167 link from so,ewhere else.
10169 * minibuffer.C: include <cctype> for isprint
10171 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10173 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10174 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10175 name clash with InsetCollapsable's width function.
10177 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * lastfiles.C: include <iterator>
10181 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10183 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10186 * buffer.C (makeLaTeXFile): ditto.
10187 Also make loop operation more transparent.
10189 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10191 * ToolbarDefaults.C: remove trailing comma closing namespace.
10193 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10195 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10198 * trans.C (Load): comment out unused variable, allowed.
10200 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10202 * minibuffer.[Ch] (append_char): new method to recieve input from the
10203 drop-down completion browser. If a key was pressed, then recieve this
10204 char and append it to the existing string.
10205 (peek_event): modify the positioning data passed to the completion
10206 browser so that it can be placed above the minibuffer rather than below.
10207 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * LyXAction.C (init): alloe error-next for readonly documents.
10211 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10214 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10216 * bufferlist.C (readFile): create the buffer _after_ checking that
10219 * lyxfunc.C (verboseDispatch): fix handling of arguments
10221 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10223 * lyxrc.C: use string::erase() instead of initializing to "".
10226 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10228 * BufferView_pimpl.h:
10229 * BufferView_pimpl.C:
10232 * text2.C: tell X when we have made a selection for copying
10234 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * BufferView_pimpl.C (MenuInsertLyXFile):
10237 * lyxfunc.C (menuNew):
10239 (doImport): add shortcuts to directory buttons
10241 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10244 * lyxfunc.C (setStatusMessage):
10245 (getStatusMessage): new methods
10246 (getStatus):use setStatusMessage instead of setErrorMessage
10247 (dispatch): when function is disabled, set error message here
10248 [instead of in getStatus previously]
10250 * BufferView_pimpl.C (workAreaButtonRelease): update
10251 toolbar/menubar here too.
10253 2002-01-13 Allan Rae <rae@lyx.org>
10255 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10256 Now seems indestructible. Remaining task is to audit all other
10257 code affected by deleteEmptyParagraphMechanism. One small quirk
10258 left is that an empty document with an error in the preamble can
10259 be made to report an error but no error box appears. I don't know
10261 (removeAutoInsets): Improved comments.
10263 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10266 * Thesaurus.C: update for Aiksaurus 0.14
10268 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * text2.C (firstParagraph): removed member function, all uses
10271 replaces with ownerParagraph
10272 (redoParagraphs): here
10273 (updateInset): here
10274 (toggleAppendix): here
10275 * BufferView2.C (insertErrors): here
10276 (setCursorFromRow): here
10278 2002-01-13 Allan Rae <rae@lyx.org>
10280 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10281 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10282 There is still a way to segfault this although you may have to do this
10283 multiple times: Have an InsetERT with an unknown command in it.
10284 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10285 <down-arrow>, <Enter> again, View->DVI, BANG!
10287 * text2.C (setCursor):
10288 (deleteEmptyParagraphMechanism):
10289 * lyxtext.h (setCursor):
10290 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10291 Making use of the return value may help fix other bugs.
10293 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10297 * LyXView.C (updateMenubar): call MenuBar::update here
10298 (updateToolbar): but not here
10299 (showState): do not update toolbar/menubar
10301 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10302 should need to care about that.
10304 * lyxfunc.C (verboseDispatch): simplify a bit
10305 (getStatus): have a version which takes a pseudoaction, and
10306 another which requires a (kb_action,string).
10308 * LyXAction.C (retrieveActionArg): make it work also when action
10309 is not a pseudo-action.
10310 (getActionName): simplify a bit
10313 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10315 * lyxfunc.C (verboseDispatch): new families of methods with
10316 several ways to specify a command and a bool to indicate whether
10317 the command name and shortcut should be displayed in minibuffer
10318 (eventually, we could extend that to a finer bitmask like
10319 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10320 (dispatch): the pristine dispatch command which just, well,
10321 dispatchs! Note it still sets its result to minibuffer; I'm not
10324 * lyxfunc.h: remove setHintMessage
10326 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10328 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * BufferView_pimpl.C (specialChar): delete new inset if we have
10331 not been able to insert it.
10333 * kbmap.C: revert to using int instead of kb_action, since all we
10334 are dealing with is pseudo-actions.
10336 * LyXAction.C (searchActionArg): change to return int instead of
10337 kb_action, since the result is a pseudoaction.
10339 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10341 * buffer.C (insertErtContents): Fix (partially) the font bug.
10343 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10345 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10346 as the other one is broken on my machine!
10348 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10351 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10353 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10355 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10356 reflect their actual use. Provide compatibility code for older lyxrc
10359 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10361 change names of popup font variables in line with the changes to lyxrc.C
10363 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * buffer.C (asciiParagraph): avoid outputing a word twice after
10368 * lyxrc.C (getDescription): document that document_path and
10369 template_path can be empty.
10371 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * LaTeXFeatures.C (getMacros):
10374 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10376 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10378 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10380 (getPackages): rename feature "floats" to "float". Use an array to
10381 iterate over 'simple' features (i.e. just a \usepackage). Add
10382 handling of "amsmath" (renamed from "amsstyle").
10384 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10386 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10389 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10391 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10392 FuncStaus::FuncStatus & FuncStaus::some_method().
10394 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10396 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10397 of the func_satus stuff. Edited and massaged in various ways by
10400 * lyxfunc.C (getStatus): use FuncStatus
10402 2002-01-08 Juergen Vigna <jug@sad.it>
10404 * text.C (nextBreakPoint): use function Inset::isChar().
10406 * paragraph.C (TeXOnePar): use function
10407 Inset::forceDefaultParagraphs.
10409 * buffer.C (latexParagraphs): use function
10410 Inset::forceDefaultParagraphs.
10412 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10414 * lyx_gui.C (init): set the style of the menu popups to
10415 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10417 2002-01-07 Juergen Vigna <jug@sad.it>
10419 * text.C (setHeightOfRow): small fix
10420 (prepareToPrint): don't look at alignment if we don't have the place
10423 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10425 * box.C: New file. Move the Box methods and functions out of box.h,
10426 following Lars' suggestion.
10428 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10430 * box.h: #include "support/LOstream.h", needed for inlined function.
10433 * lyxtextclasslist.C: added some using std declarations.
10435 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10437 * box.h: make signed dimensions to allow insets wider than
10438 the screen (bug #162)
10440 * BufferView_pimpl.C: add some insetHit debug
10442 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10444 * vc-backend.C: add FIXME
10446 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * lyxfunc.C (getStatus): enable code for showing math font status
10451 2002-01-07 Juergen Vigna <jug@sad.it>
10453 * text.C (nextBreakPoint): removed debug output not needed anymore.
10455 2002-01-06 Juergen Vigna <jug@sad.it>
10457 * text.C (nextBreakPoint): fixed up this function we had this bug
10458 since ever but now hopefully we break row better.
10459 (insertChar): we have to check if an inset is the next char as it
10460 could now happen that a large inset is causing a break.
10462 2002-01-05 Juergen Vigna <jug@sad.it>
10464 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10465 if it doesn't like to be drawed.
10467 2002-01-04 Juergen Vigna <jug@sad.it>
10469 * BufferView2.C (lockInset): forgot to set a cursor.
10471 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10473 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10475 * FormMathsPanel.C:
10478 * form_maths_panel.C:
10479 * form_maths_panel.h:
10480 * form_maths_panel.fd: implemented sub- and super- buttons in math
10483 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10484 (or ^ space) to be used as in TeX (req'd by André).
10486 * lyxfunc.C: Allow ^ and _ again to be used both as
10487 super/subscript (mathed) and as themselves (in text).
10489 2002-01-03 Allan Rae <rae@lyx.org>
10491 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10492 "LyX" or the filename of the current buffer if it has one. This is a
10493 modified form of John Levon's patch.
10495 * XFormsView.C (setWindowTitle): also set icon title.
10497 * LyXView.h (setWindowTitle): signature changed.
10498 * XFormsView.h (setWindowTitle): ditto.
10500 2002-01-02 Juergen Vigna <jug@sad.it>
10502 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10504 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * screen.C (topCursorVisible): introduce a temp var for
10507 text->cursor.row(), handle the case where this row is null. (kindo
10510 * text2.C (setCursor): add a couple of asserts.
10512 * paragraph.h (inset_iterator): add -> operator
10514 * paragraph.[Ch] (autoDeleteInsets): remove member function
10516 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10517 cursor pos correctly and handle inset deletion by itself.
10518 (insertErrors): move iterator declaration out of for expression
10520 * lyxtextclass.C: add <algorithm>
10522 * Makefile.am: added the new files to sources, removed layout.C
10524 * layout.C: removed file
10526 * layout.h: remove LYX_DUMMY_LAYOUT
10528 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10532 * lyxtextclass.[Ch]:
10533 * lyxtextclasslist.[Ch]: new files
10535 * include order changes to a lot of files, also changes because of
10538 2001-12-27 Juergen Vigna <jug@sad.it>
10540 * buffer.C (asciiParagraph): more fixes.
10542 * tabular.C (ascii): make ascii export support export of only the
10543 data separated by a column-delimiter.
10544 (ascii): better support for ascii export.
10546 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10548 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10550 * tabular_funcs.C: use a "using std::getline" instead of the
10551 previous fix from Angus (necessary for cxx + lyxstring)
10553 2001-12-24 Juergen Vigna <jug@sad.it>
10555 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10557 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10558 problems. First check a minipage also if we have some ert-contents
10559 (not only on par->size(), second set the right depth of the paragraph
10560 on the relink to the root-paragraph-list!
10562 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10563 which then did not anymore update the main paragraphs on undo/redo!
10565 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10567 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10568 code. Support all font-changing funcs (even those which are not in
10569 menu currently). Support for reporting font settings in
10570 mathed (disabled until Andre provides a function on mathed's side).
10572 * func_status.h (toggle): small helper function to set toggle
10575 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10577 * tabular_funcs.C: getline -> std::getline
10579 2001-12-21 Juergen Vigna <jug@sad.it>
10581 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10582 accessed and could be 0 (I couldn't generate this but it seems
10585 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10588 * tabular_funcs.h: here and include iosfwd
10590 2001-12-20 Juergen Vigna <jug@sad.it>
10592 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10593 inside inset but undo_par was.
10595 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * Thesaurus.C: always include <config.h> in sources.
10601 * box.h: do not include <config.h> in header files
10603 * text.C (paintLastRow): remove unused variable
10605 * text.C (transformChar):
10607 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10609 * Painter.C (text):
10610 * font.C (width): rewrite to use uppercase() instead of
10613 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10615 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10617 * lyxfind.C: clean up of find failure position change
10619 2001-12-20 Juergen Vigna <jug@sad.it>
10621 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10623 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10624 (TeXRow): added to LaTeX a single tabular row.
10625 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10626 (Latex): simplified and finally good LT-h/f support.
10627 (various_functions): just small adaptions for LT-h/f support.
10629 * tabular_funcs.[hC]: added and moved here all not classfunctions
10632 2001-12-19 Juergen Vigna <jug@sad.it>
10634 * tabular.[Ch]: better support for longtabular options (not finished
10637 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10639 * text.C (paintLastRow): use the label font instead of the font of
10640 the last character to compute the size of *_BOX. This makes more
10641 sense and avoids a crash with empty paragraphs.
10642 Use Painter::rectangle to draw EMPTY_BOX.
10644 2001-12-19 Juergen Vigna <jug@sad.it>
10646 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10647 the paragraphs if the replaced paragraph is not the first one!
10648 Tried to delete not used paragraphs but does not work yet so for
10649 now it's inside #ifdef's and by default off!
10651 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * MenuBackend.C: include "lyx_main.h" instead of declaring
10654 lastfiles (actually was declared as LastFiles* instead of a
10657 2001-12-17 Juergen Vigna <jug@sad.it>
10659 * tabular.C (AppendColumn): applied John's fix
10661 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10665 * BufferView_pimpl.h:
10666 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10669 * box.h: new start of class for above
10671 * lyxfunc.C: ignore space-only minibuffer dispatches.
10672 Show the command name when it doesn't exist
10674 * minibuffer.C: don't add empty lines to the history
10676 * minibuffer.C: add a space on dropdown completion
10678 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10680 * text.C: fix line above/below drawing in insets
10682 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10684 * lyxlength.C (LyXLength): Initialize private variables.
10686 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10689 when inserting error insets.
10691 2001-12-13 Juergen Vigna <jug@sad.it>
10693 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10694 actually sometimes the before-paragraph.
10695 (setUndo): don't clear the redostack if we're not actually undoing!
10697 2001-12-06 Juergen Vigna <jug@sad.it>
10699 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10700 and fixed redoing of main paragraph, so we can use it now ;)
10702 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10704 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10709 2001-12-13 André Pönitz <poenitz@gmx.net>
10712 * undo_func.C: minor cleanup
10714 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10716 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10717 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10718 font in urw-fonts package which is marked as -urw-fontspecific and
10719 does not work (incidentally, changing the encoding in the
10720 fonts.dir of this package to -adobe-fontspecific fixes the
10723 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10724 is a crash when undoing first paragraph (Juergen, please take a
10725 look). THis does not mean the undo fix is wrong, just that it
10728 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10729 the (Paragraph*) version when needed instead of duplicating the
10732 * text.C (workWidth): use Inset::parOwner to find out where the
10733 inset has been inserted. This is a huge performance gain for large
10734 documents with lots of insets. If Inset::parOwner is not set, fall
10735 back on the brute force method
10737 * paragraph_pimpl.C (insertInset):
10738 * paragraph.C (Paragraph):
10739 (cutIntoMinibuffer): set parOwner of insets when
10740 inserting/removing them
10742 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10744 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10750 * mathed/formulabase.C:
10751 * mathed/math_cursor.[Ch]:
10752 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10755 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * lyxlength.[Ch] (operator!=): new function
10759 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * text.C (workWidth): use Inset::parOwner to find out where the
10762 inset has been inserted. This is a huge performance gain for large
10763 documents with lots of insets. If Inset::parOwner is not set, fall
10764 back on the brute force method
10766 * paragraph_pimpl.C (insertInset):
10767 * paragraph.C (Paragraph):
10768 (cutIntoMinibuffer): set parOwner of insets when
10769 inserting/removing them
10771 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10773 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * tabular-old.C (getTokenValue):
10776 * tabular.C (getTokenValue):
10777 (write_attribute): new versions for LyXLength
10778 (everywhere): adjust the use of widths
10780 * tabular.h: change the type of widths from string to LyXLength
10782 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10784 * paragraph.C: fixed missing line number count when exporting
10785 Environments to LaTeX file
10787 * buffer.C: added informational message for checking line numbers.
10789 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10791 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10792 paragraph, do the 'double space' part, but not the 'empty
10795 * text.C (workWidth): small optimization
10796 (getLengthMarkerHeight): use minimal size for negative lengths.
10798 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10800 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10802 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10804 2001-12-11 André Pönitz <poenitz@gmx.net>
10807 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10809 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10811 * text2.C: keep selection on a setFont()
10813 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10815 * lyx_cb.C: another bv->text misuse, from insert label
10817 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10820 * kbsequence.C: re-instate nmodifier mask
10822 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10824 * lyx_main.h: make lyxGUI private.
10826 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10828 * lyxfind.C: place the cursor correctly on failed search
10830 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * text.C (getLengthMarkerHeight): for small heights, the arrows
10833 are not always on top/bottom of the text
10834 (drawLengthMarker): smaller arrows; take the left margin in
10835 account; draw also vfills.
10837 (paintLastRow): remove special code for vfill and standard spaces,
10838 since everything is handled in drawLengthMarker now.
10840 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * buffer.C (insertErtContents): try to handle font and language
10843 interaction a bit better.g
10845 * ColorHandler.C (updateColor): change the hash to cover the whole
10846 LColor enum, ws cleanup
10847 (getGCLinepars): ditto
10848 (getGCLinepars): only lookup in the linecache once.
10850 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10852 * iterators.C (operator++): Make the iterator more robust
10854 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10861 * text.C: better added space drawing
10863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10866 * BufferView2.C: fix layout combo update on inset unlock
10868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10870 * Makefile.am: don't compile unused files
10872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10876 * LyXAction.C: remove old LFUN_LAYOUTNO
10878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10880 * paragraph_pimpl.h:
10881 * paragraph_pimpl.C: isTextAt() doesn't need font param
10883 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10886 * lyxlex.C: little cleanup
10888 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10890 * BufferView_pimpl.C: fix insertAscii for insets
10892 2001-12-05 Juergen Vigna <jug@sad.it>
10894 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10895 set the right font on the "multi" paragraph paste!
10897 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10903 * lyxlength.C: remove out-commented code.
10905 * BufferView_pimpl:
10919 * vc-backend.C: change "while(" to "while ("
10921 * lyxlength.[Ch]: add zero function to check if length is zero or
10923 * lyxgluelength.C: use it
10925 2001-12-05 Allan Rae <rae@lyx.org>
10927 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10928 Works for 2.95.3, from what I understand of Garst's reports this should
10929 work for other g++ versions. We're screwed if the abs(int) definition
10930 changed between bugfix releases of gcc.
10932 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10934 * text.C: fix chapter label offset !
10936 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10939 * text.C: fix hfill at end of line, clean up
10941 2001-12-04 Juergen Vigna <jug@sad.it>
10943 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10944 that we force an update of the inset and it's owners if neccessary.
10946 2001-12-03 Juergen Vigna <jug@sad.it>
10948 * text.C (rowLast): simplified code
10950 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10952 * lyxfunc.C: fix show options on timeout
10954 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10956 * screen.C (topCursorVisible): scroll half a page when the cursor
10957 reached top of bottom of screen
10959 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10961 * minibuffer.C: deactivate on loss of focus
10963 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10965 * vspace.[Ch] (operator!=): add operator.
10967 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10969 * BufferView_pimpl.C: refuse to open an inset when
10970 there's a selection.
10972 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10974 * BufferView_pimpl.C: allow to click on RHS of full row insets
10976 2001-11-30 Juergen Vigna <jug@sad.it>
10978 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10979 insets for undo reasons.
10981 2001-11-28 André Pönitz <poenitz@gmx.net>
10983 * vspace.[Ch]: cosmetical changes
10985 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10995 * kbsequence.C: part re-write of old kb code
10998 * WorkArea.C: remove Lgb_bug_find_hack
11000 2001-11-30 José Matos <jamatos@fep.up.pt>
11002 * buffer.C (makeDocBookFile): add a comment to point a hack.
11003 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11004 Fixed a double write of labels.
11006 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11009 * LaTeX.h Fixed bug in LaTeX class where it would not
11010 re-run latex if no depfiles were changed, but the .dvi was removed.
11012 2001-11-28 André Pönitz <poenitz@gmx.net>
11014 * all the files from the change on 2001/11/26:
11015 use lyx::layout_type instead of LyXTextClass::size_type
11016 use lyx::textclass_type instead of LyXTextClassList::size_type
11018 2001-11-29 Juergen Vigna <jug@sad.it>
11020 * text.C: added support for paragraph::isFreeSpacing()
11022 * buffer.C: same as above
11024 * paragraph.h: inserted isFreeSpacing() function to enable
11025 FreeSpacing inside InsetERT.
11027 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11028 of the paragraph's in the cut/copy buffer to 0!
11030 * text2.C (removeRow): remove the assert as it can!
11032 * lyxtext.h: added helper function firstRow returning firstrow and
11033 made firstrow private again.
11035 * BufferView2.C (lockInset): don't relock if we're already locked!
11037 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11038 the only paragraph.
11039 (removeRow): added Assert::(firstrow)
11041 * debug.C: forgot to add INSETTEXT here.
11043 2001-11-28 Juergen Vigna <jug@sad.it>
11045 * sp_spell.C (initialize): changed error text to more general
11046 spellchecker command use (not only ispell!)
11048 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11050 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11052 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11054 * vspace.C: initialise lyxgluelength on failure
11056 2001-11-28 Allan Rae <rae@lyx.org>
11058 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11059 declaration & definition that looks like a function declaration.
11061 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * BufferView2.C (copy):
11064 (copyEnvironment): do not clear the selection when doing a copy.
11066 * text.C (paintFirstRow): compilation fix
11068 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11070 * tabular.C (Latex): correct line count when writing latex.
11072 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11074 * paragraph_pimpl.h:
11075 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11078 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11082 * LColor.C: change vfillline->added_space
11084 * text.C: add markers and text for added space
11086 * vspace.C: fix comment
11088 2001-11-28 André Pönitz <poenitz@gmx.net>
11090 * paragraph.C: whitespace changes
11091 * all the other files from the change on 2001/11/26:
11092 change *::pos_type into lyx::pos_type
11094 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11096 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11097 language of the document when inserting error insets.
11099 2001-11-26 André Pönitz <poenitz@gmx.net>
11101 * BufferView_pimpl.[Ch]:
11109 * paragraph_pimpl.[Ch]:
11112 * text2.C: reduce header dependencies, introduce type for positions
11114 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11116 * <various>: change to use Alert.h
11118 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11120 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11121 when encountering an unknown token.
11122 (readLyXformat2): Show an error message if there were unknown tokens.
11124 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11127 * BufferView_pimpl.C:
11131 * text2.C: use par->isInset()
11133 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11135 * paragraph_pimpl.h:
11136 * paragraph_pimpl.C: cleanup
11138 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * text2.C (removeRow):
11141 * text.C (setHeightOfRow): remove useless (and costly) call to
11144 2001-11-20 Allan Rae <rae@lyx.org>
11146 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11147 Now need Inset*::checkInsertChar() to return true for appropriate
11148 cases so that the characters in the minibuffer will actually be
11151 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * text.C: change the order of the includes.
11154 (workWidth): initialize it at once.
11155 (workWidth): make maxw unsigned
11156 (setHeightOfRow): remove unused variable (inset)
11157 (selectSelectedWord): remove unused variable (inset)
11158 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11160 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11162 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11163 server is not running.
11165 (closeConnection): add debug info when server is disabled.
11167 * ColorHandler.C (getGCForeground): send debug message to GUI
11170 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11172 * kbmap.C (bind): modify because return conventions of
11173 kb_sequence::parse have changed.
11175 * kbsequence.C (parse): only ignore spaces and not any stupid
11176 control character. This avoids tests like s[i] <= ' ', which are
11177 guaranteed to fail with 8bit characters and signed chars.
11178 Change return code to string::npos when there have been no error
11179 (0 was a bad idea when error is at first character)
11181 2001-11-14 José Matos <jamatos@fep.up.pt>
11184 * buffer.C (simpleDocBookOnePar): removed unused argument.
11186 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11189 insets which are part of a word. Paragraph::isLetter takes care of
11190 that now. Use Paragraph::isInset to identify insets.
11191 (selectSelectedWord): do not test for hyphenation break.
11193 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11194 that protected spaces are considered as spaces.
11196 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11199 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11202 * lyxserver.C: fix it. and small cleanup.
11204 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11206 * BufferView_pimpl.C: use inline helpers
11209 * LaTeXFeatures.C: fix typos
11212 * Spacing.C: move spacing_string into class
11214 * ToolbarDefaults.C: move stuff into namespace anon
11216 * layout.h: update enum
11218 * lyxfunc.C: use better debug
11220 * minibuffer.h: fix typo
11224 * WorkArea.C: add and use Debug::WORKAREA
11228 * text2.C: code re-organisation, inline helpers
11230 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11232 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11233 std::vector.empty().
11235 2001-11-09 Allan Rae <rae@lyx.org>
11237 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11238 '\n's after tables. Tabular and ERT inset work now makes this no
11241 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11244 * minibuffer.C: fix crash, improve drop-down completion
11246 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxserver.C: invalidate fd's when doing endPipe()
11251 2001-11-08 José Matos <jamatos@fep.up.pt>
11253 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11254 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11257 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11259 2001-11-07 José Matos <jamatos@fep.up.pt>
11262 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11265 * buffer.C (sgmlOpenTag):
11266 * buffer.C (sgmlCloseTag): removed debug info.
11268 * buffer.h (sgmlOpenTag):
11269 * buffer.h (sgmlCloseTag): made public.
11271 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * buffer.C (saveParamsAsDefaults):
11274 * lyx_cb.C (MenuLayoutSave): remove
11276 * LyXAction.C (init):
11278 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11280 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * buffer.C (setPaperStuff): removed from here...
11284 * bufferparams.C (setPaperStuff): ... and moved there.
11286 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11290 * XFormsView.C: add support for drop-down completion
11292 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11294 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11297 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11299 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11302 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11304 * lyx_main.C: change ref to known bugs
11306 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11308 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11309 to work around older babel problems.
11311 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11313 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11315 2001-10-24 Juergen Vigna <jug@sad.it>
11317 * tabular-old.C (ReadOld): below variable changes reflected.
11319 * tabular.[Ch]: added ltType struct for longtable header/footer
11320 defines and changed all instances where they are used. Added
11321 future support for double top/bottom rows.
11323 2001-10-24 José Matos <jamatos@fep.up.pt>
11325 * buffer.h (docbookHandleCaption):
11326 * buffer.C (docbookHandleCaption): removed unused function.
11327 (makeDocBookFile): moved docbook supported version to v4.1.
11329 2001-10-24 José Matos <jamatos@fep.up.pt>
11332 * tabular.C (docbookRow): new function to export docbook code of a row.
11333 (DocBook): now honors the longtable flags.
11335 2001-10-23 José Matos <jamatos@fep.up.pt>
11338 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11339 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11341 * buffer.C (makeLinuxDocFile):
11342 (makeDocBookFile): reworked the preamble, more clean, and with
11343 support for lyx defined entities. Changed the document declaration
11344 to be more XML friendly.
11346 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11347 if we need to output XML that should be done with a filter.
11349 2001-10-22 Juergen Vigna <jug@sad.it>
11351 * sp_pspell.h (class PSpell): add alive function needed in the
11352 controller to see if the spellchecker could be started.
11354 2001-10-22 Juergen Vigna <jug@sad.it>
11356 * buffer.C (insertStringAsLines): modify the font for inserting
11357 chars in certain conditions by calling checkInsertChar(font).
11359 2001-10-19 Juergen Vigna <jug@sad.it>
11361 * text.C (workWidth): use getRow instead of wrong algorithm.
11362 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11364 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11369 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11371 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11373 * text.C (workWidth): do not search for the exact row when
11374 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11375 optimization for big documents.
11377 2001-10-18 Juergen Vigna <jug@sad.it>
11379 * text.C (workWidth): new function with added Inset * parameter.
11381 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11383 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11385 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11386 change return type of getColumnNearX.
11389 * text.C (changeRegionCase): use uppercase/lowercase instead of
11392 (rightMargin): simplify code by factoring out the uses of
11397 (appendParagraph): use Paragraph::size_type
11399 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11401 * vspace.C (asLatexString): add a missing break
11403 2001-10-15 Herbert Voss <voss@perce.de>
11405 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11407 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11409 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11412 2001-10-10 André Pönitz <poenitz@gmx.net>
11414 * lyxfunc.C: removed greek_kb_flag.
11416 2001-10-10 Herbert Voss <voss@perce.de>
11418 * lyx_main.C: delete global string help_lyxdir.
11420 2001-10-09 Herbert Voss <voss@perce.de>
11422 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11424 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11426 * lyx_main.C: added global string help_lyxdir.
11428 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11430 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11432 * lyxrc.C (set_font_norm_type): support iso8859-4
11434 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11436 * LaTeX.C (deplog): add another regex for MikTeX
11438 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11440 * lyxrc.C (set_font_norm_type): support iso8859-3
11442 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11444 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11446 * LaTeXFeatures.C: remove special case of french and index
11448 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11449 before \begin{document}). This solves several incompatibilities.
11451 2001-10-03 Garst Reese <reese@isn.net>
11453 * lyx_cb.C: change CheckTex error msg.
11455 2001-10-03 José Matos <jamatos@fep.up.pt>
11457 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11459 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11461 * .cvsignore: update
11463 * lyx_main.C (commandLineVersionInfo): use new style version info.
11465 * buffer.C (writeFile):
11467 (makeLinuxDocFile):
11468 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11470 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11472 * version.h: update to use stuff in version.C
11474 * version.C.in: new file. Contains version information determined
11475 at compile time. This is a merging of version.h and
11478 2001-10-03 Juergen Vigna <jug@sad.it>
11480 * BufferView_pimpl.C (update): don't change "dirty" status in
11483 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11485 * WorkArea.C (c-tor): re-position version string slightly.
11487 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11489 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11490 revert to previous code.
11492 WorkArea.[Ch]: (show, destroySplash): methods removed.
11494 WorkArea.C: rework code so that it's an amalgam of the codes before and
11495 after the splash screen was moved to WorkArea.
11497 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11500 * vspace.C (inPixels):
11503 * buffer.C (insertStringAsLines):
11504 (asciiParagraph): fix types to be large enough
11506 * lyxlex_pimpl.h: change member status from short to int
11508 * layout.h: fix type of endlabeltype
11511 * kbsequence.C (parse): change return type to string::size_type
11513 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11516 * Bullet.C (bulletSize):
11517 (bulletEntry): do not use short ints as parameters
11519 * BufferView2.C (insertLyXFile): change a char to an int.
11521 * WorkArea.C (WorkArea): remove unneeded floats in computation
11523 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11525 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11527 * paragraph.C (asString): Do not ignore newline/hfill chars when
11528 copying to the clipboard.
11530 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11532 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11533 after a multi-line inset.
11535 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11537 * paragraph.C (validate): Set NeedLyXFootnoteCode
11539 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11541 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11542 and decrease-error to decrease.
11544 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11546 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11547 it more readable (should be equivalent)
11549 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11551 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11553 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11555 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11556 of a cursor (row, etc.) after a character has been deleted
11557 (deleteEmptyParagraphMechanism): call the method above on _all_
11558 cursors held by the LyXText when a double space has been
11561 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11563 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11565 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11567 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11568 background. Use greyOut() and the new show() methods to toggle between
11569 the foreground and background. Add code to remove the splash after
11570 its initial showing.
11572 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11573 (create_forms): no longer call Dialogs::showSplash.
11575 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11577 * .cvsignore: add version_info.h
11579 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * version_info.h.in: new file
11583 * Makefile.am: add version_info.h.in
11585 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11586 version_info.h instead of VERSION_INFO
11588 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11590 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11591 The ERT inset now returns string().
11593 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11595 * lyxtext.h, text.C (selectNextWord): renamed as
11596 selectNextWordToSpellcheck.
11598 * text.C (selectNextWordToSpellcheck): Modified to not select
11599 words inside an ERT inset.
11601 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11603 * lyx_cb.C (MenuLayoutSave): change a bit the question
11605 * sp_base.h: include <sys/types.h>
11607 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11609 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11611 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11613 * several files: fix typos in user-visible strings
11615 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * text2.C (pasteSelection): do not set the selection, since it
11618 will be cleared later. Actually, the intent was to fix the way the
11619 selection was set, but I figured rmoving the code was just as good.
11621 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11623 * FontLoader.C (available): Check if font is available without
11626 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11628 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11630 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11632 * lyxrc.[Ch]: added display_graphics variable and associated code.
11634 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * bufferparams.C (hasClassDefaults): new method. Returns true if
11637 the buffer parameters correspond to known class defaults
11639 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11641 * XFormsView.C (show): set minimum size to the main window.
11643 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11645 * text2.C (copySelection):
11647 * lyxfind.C (LyXReplace):
11648 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11649 LyXText::selectionAsString.
11651 * paragraph.C (asString): add "label" argument to the second form
11653 * text2.C (selectionAsString): add "label" argument and pass it to
11654 Paragraph::asString.
11656 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11658 * lyx_main.C (commandLineHelp): remove version information
11660 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11662 * lyx_main.C: add -version commandline option
11664 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * paragraph.h: make the optional constructor arg required instead.
11667 some modifications to other files because of this.
11669 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11671 * lyxserver.C (C_LyXComm_callback): make it static
11673 * lyx_main.C (error_handler): make it static
11675 * lyx_gui.C (LyX_XErrHandler): make it static
11677 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11679 * WorkArea.C: make the extern "C" methods static.
11681 * Makefile.am (lyx_LDADD): simplify
11683 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11685 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11686 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11688 * LyXAction.C (init):
11689 * lyxfunc.C (dispatch): associated code removal.
11691 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11693 * lyxfont.h (isSymbolFont): shut off warning
11695 * text.C (setHeightOfRow):
11696 (getVisibleRow): fix crash with empty paragraphs which have a
11699 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11701 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11704 2001-09-04 José Matos <jamatos@fep.up.pt>
11707 * tabular.C (docbook): rename docBook method to docbook.
11709 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11711 * Makefile.am: add dependencies to main.o.
11713 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11715 * FontLoader.C (available): Return false if !lyxrc.use_gui
11717 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11719 * FontInfo.C (query):
11720 * converter.C (view):
11721 * importer.C (Import):
11722 * exporter.C (Export): Can not -> cannot.
11724 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11726 * BufferView_pimpl.C: allow to create index inset even if
11729 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11731 * buffer.C (getLists): replace boost::tie code with an explicit pair
11732 as boost::tie can break some compilers.
11734 * iterators.h: Added a std:: declaration to the return type of
11737 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11739 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11742 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11744 * iterators.[Ch]: New files. Provide paragraph iterators.
11746 * buffer.C (changeLanguage): Use paragraph iterators.
11747 (isMultiLingual): ditto
11749 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11751 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11753 * FontLoader.C: Support for cmr font.
11755 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11757 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11758 (available): New method.
11760 * FontInfo.C (getFontname): Use scalable fonts even when
11761 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11764 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11766 * converter.C (Formats::view): reverted! Incorrect fix.
11768 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11770 * converter.C (Formats::view): only output the -paper option
11771 if the dvi viewer is xdvi, thereby fixing bug #233429.
11773 2001-08-23 Herbert Voss <voss@perce>
11775 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11777 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11779 * Spacing.h (Spacing): Set space to Default on in the default
11782 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * vc-backend.h (RCS::versionString): add RCS to version
11785 (CVS::versionString): add CVS to version
11787 * vc-backend.C (scanMaster): do not add CVS to version.
11788 (scanMaster): do not add RCS to version
11790 * lyxvc.C (versionString): new method
11792 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11794 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * Spacing.C (set): initialize fval
11798 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11800 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11803 2001-08-16 Juergen Vigna <jug@sad.it>
11805 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11807 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11809 * BufferView_pimpl.C:
11812 * text2.C: setParagraph takes linespacing now
11814 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11816 * LyxAction.C: add internal LFUN_CITATION_INSERT
11818 * LyXView.C: actually apply fix
11820 * bufferlist.C: fix open non-existent file
11822 * lyxfind.C: fix indentation
11824 * lyxfunc.C: remove unneeded assert, fix typo
11826 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11828 * MenuBackend.C: use "Floatname List"
11830 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11832 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11833 when converting LaTeX layout to insetERT.
11834 Generate a non-collapsed float when reading old float
11836 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11838 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11841 2001-08-13 Juergen Vigna <jug@sad.it>
11843 * text.C (fill): return 0 instead of 20 as this seems to be the more
11846 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11848 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11851 2001-08-13 Juergen Vigna <jug@sad.it>
11853 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11855 (SearchBackward): comment out the unlocking of the inset_owner this
11856 should not be needed!
11858 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11860 * Many files: Remove inherit_language, and add latex_language
11862 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11863 collapsible insets.
11865 2001-08-10 Juergen Vigna <jug@sad.it>
11867 * text.C (prepareToPrint): fixed hfill-width in draw!
11869 * BufferView2.C (selectLastWord): save the selection cursor as this
11870 now is cleared in the function LyXText::clearSelection!
11872 2001-08-08 Juergen Vigna <jug@sad.it>
11874 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11875 BACKSPACE type functions.
11877 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11878 is only cutted from the document but not put in the cut-buffer, where
11879 still the old stuff should be.
11881 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11883 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11885 * tabular.C (SetWidthOfCell): fixed special case where the width
11887 (LeftLine): handle '|' in align_special.
11889 (LeftAlreadyDrawed): ditto
11890 (SetWidthOfCell): ditto
11892 2001-08-07 Juergen Vigna <jug@sad.it>
11894 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11896 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11899 * lyxlex.[hC]: ditto
11901 2001-08-06 Juergen Vigna <jug@sad.it>
11903 * text.C (getVisibleRow): fix up row clearing a bit.
11905 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * minibuffer.C: make sure the X server sees the changes in the input.
11909 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * paragraph.C (getFont): split into...
11912 (getLabelFont): this
11913 (getLayoutFont): and this
11914 * paragraph_pimpl.C (realizeFont): calling this
11916 * text2.C (getFont): split into...
11917 (getLayoutFont): this
11918 (getLabelFont): and this
11919 (realizeFont): all three calling this
11921 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11924 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11926 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11928 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11930 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11931 layouts from the Quote inset insertion.
11933 2001-08-03 Juergen Vigna <jug@sad.it>
11935 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11937 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11938 only if status not is already CHANGED_IN_DRAW (second level).
11940 * text.C (draw): don't set the need_break_row when inside an
11943 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11945 * buffer.C (parseSingleLyXformat2Token): handle more latex
11948 * bufferview_funcs.[hC]: change function names to
11949 begin with small char, adjust other files.
11951 2001-08-02 André Pönitz <poenitz@gmx.net>
11954 BufferView_pimpl.C: remove broken special code for math-greek
11956 2001-08-02 Juergen Vigna <jug@sad.it>
11958 * BufferView_pimpl.C (update): redone this function so that we
11959 update the text again if there was a CHANGE_IN_DRAW.
11961 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11962 (drawFromTo): added a new internal bool which is used by draw() and
11964 (general): some cursor drawing problems fixed.
11966 2001-08-01 Juergen Vigna <jug@sad.it>
11968 * lyxfind.C (LyXFind): fixed
11969 (SearchForward): ditto
11970 (SearchBackward): ditto
11972 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11973 spurius drawing of the cursor in the main area.
11975 * text2.C (status): small fix which could lead to a segfault!
11976 (clearSelection): remove unneeded BufferView param.
11978 2001-08-01 André Pönitz <poenitz@gmx.net>
11980 * lyxfunc.C: small change due to changed mathed interface
11982 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11986 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11988 * lyxfunc.c: fail gracefully if file doesn't exist
11993 * BufferView_pimpl.C: IsDirWriteable() proto changed
11995 * LyXView.C: fix updateWindowTitle() to store the last title
11997 2001-07-31 Juergen Vigna <jug@sad.it>
11999 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12000 the font (wrong since using of Paragraph::highestFontInRange).
12002 * paragraph.C (highestFontInRange): added a default_size parameter.
12004 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12005 (setHeightOfRow): reformat
12007 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * converter.[hC] + affected files: move to (inital-char)lowercase
12012 * ParagraphParameters.C (ParagraphParameters): remove commented code
12014 * PainterBase.[Ch]: remove commented code
12016 * LaTeXFeatures.h: add "bool floats" for float.sty
12018 * LaTeXFeatures.C (LaTeXFeatures): init floats
12019 (require): handle float
12020 (getPackages): do it with floats
12022 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * BufferView_pimpl.C (Dispatch): improve handling of
12025 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12027 * commandtags.h: #include lyxfont.h here temporarily to avoid
12030 * bufferlist.h: include LString.h here.
12032 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12034 * text2.C (getStringToIndex): new method.
12036 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12038 * *: Reduced header file dependencies all over.
12040 2001-07-30 Baruch Even <baruch@lyx.org>
12042 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12044 2001-07-29 Baruch Even <baruch@lyx.org>
12046 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12048 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * ParameterStruct.h (endif): add a default constructor to make
12051 sure that all variables is initialized.
12053 * ParagraphParameters.C (ParagraphParameters): adjust
12055 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12058 index; also, check that there is something to index, and that it
12059 does not span over several paragraphs.
12060 (doubleClick): use WHOLE_WORD_STRICT for double click.
12062 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12064 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12067 2001-07-26 Baruch Even <baruch@lyx.org>
12069 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12070 an InsetFig figure, backwards compatible reading of old figure code.
12072 2001-07-27 Juergen Vigna <jug@sad.it>
12074 * text2.C: font.realize function adaption.
12076 * text.C (draw): add a warnings lyxerr text if needed.
12078 * layout.C: font.realize function adaption.
12080 * language.C: add inherit_language and implement it's handlings
12082 * bufferview_funcs.C (StyleReset): remove language parameter from
12083 font creation (should be language_inherit now).
12085 * bufferparams.C (writeFile): handle ignore_language.
12087 * paragraph.C (getFontSettings): the language has to be resolved
12088 otherwise we have problems in LyXFont!
12090 * lyxfont.C (lyxWriteChanges): added document_language parameter
12091 (update): removed unneeded language parameter
12093 * paragraph.C (validate): fixed wrong output of color-package when
12094 using interface colors for certain fonts in certain environments,
12095 which should not seen as that on the final output.
12097 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12099 * BufferView_pimpl.C:
12104 * LyXAction.C: add thesaurus support
12107 * lyxfind.C: add "once" parameter, for thesaurus, to not
12108 move to the next match
12110 2001-07-26 Juergen Vigna <jug@sad.it>
12112 * lyxfont.C (realize): honor ignore_language too!
12115 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12117 * text.C (draw): one place more for ignore_language to not draw
12120 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12122 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12124 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12127 the minipage conversion problem.
12129 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12134 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * BufferView.h: don't forward declare WorkArea
12138 * BufferView.C: don't include WorkArea.h
12140 2001-07-25 André Pönitz <poenitz@gmx.net>
12144 * lyxfunc.C: new LFUN 'math-space'
12146 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12148 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * text2.C (toggleInset): call open/close
12152 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12154 * lyxfunc.C (dispatch): add debug for the disabled case
12156 * font.C (buttonText): make similar to rectText
12158 * buffer.C (readInset): comment out parsing of insetlist and
12161 * PainterBase.C (rectText): small correction
12163 * BufferView_pimpl.C: comment out insettheorem and insetlist
12164 * LyXAction.C: ditto
12165 * commandtags.h: ditto
12167 2001-07-24 Juergen Vigna <jug@sad.it>
12169 * text.C (draw): honor the ignore_language.
12171 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12173 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12178 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12180 * lyxtext.h: remove unused (and unimplemented) methods
12182 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12184 * text.C (getVisibleRow): honor background color
12187 * Painter.h: remove default color argument for fillRectangle
12189 * text.C (backgroundColor): new method
12191 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12193 * text.C (getVisibleRow): adjust
12195 * font.[Ch] (rectText): new method, metrics
12196 (buttonText): new method, metrics
12198 * PainterBase.[hC]: make rectText and buttonText always draw and take
12201 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12203 * ToolbarDefaults.C (read):
12204 * MenuBackend.C (read): allow escaping in all strings
12206 * BufferView_pimpl.C (insertAndEditInset): new method.
12207 (Dispatch): use insertAndEditInset whenever appropriate.
12209 * BufferView_pimpl.C (insertNote): removed
12211 * BufferView_pimpl.C (smartQuote): new method, moved from
12212 BufferView; if an insetquote cannot be inserted, insert a '"'
12215 * BufferView2.C: remove insertCorrectQuote();
12217 * lyxfunc.C (getStatus): Add support for all remaingin
12218 inset-insert lfuns.
12220 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12222 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12223 command (necessary to pass " as parameter of self-insert.
12225 * text.C (selectWordWhenUnderCursor):
12226 (selectWord): add word_location parameter
12227 (selectWordWhenUnderCursor): same + remove special code for word
12229 (selectNextWord): use kind() to guess type of insetspecialchar,
12232 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12233 (insertErtContents): create ert insets as collapsed.
12234 (readInset): better compatibility code for Info inset.
12236 2001-07-20 Juergen Vigna <jug@sad.it>
12238 * lyxfunc.C (dispatch): use always LyXFind now!
12240 * text2.C (init): add a reinit flag so that the LyXText can be
12241 reinited instead of deleted and reallocated (used in InsetText).
12243 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12249 2001-07-18 Juergen Vigna <jug@sad.it>
12251 * text.C (selectNextWord): handle insets inside inset by calling
12252 always the bv->text functions so that we can go up the_locking_inset!
12254 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12255 in strange locations when inside an inset!
12257 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12258 handling to include insets.
12260 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12262 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12264 * LyXAction.C (init):
12266 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12267 LIGATURE_BREAK, since the name is so stupid.
12269 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12271 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12274 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12276 * sp_form.[Ch]: remove.
12278 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12280 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12283 * src/buffer.C (readInset): ditto.
12285 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12287 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12288 menuSeparator(), endOfSentenceDot(), ldots() and
12289 hyphenationPoint(), which are therefore removed.
12290 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12292 * LyXAction.C (init):
12293 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12295 * paragraph.C (getWord): removed.
12297 * BufferView_pimpl.C (Dispatch): use last word or selection for
12298 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12300 * lyx_main.C (queryUserLyXDir): do not ask before creating
12301 user_dir, except if it has been named explicitely.
12303 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12305 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12306 a document of zero size.
12308 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12310 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12311 approriately in the c-tor and in require().
12312 (getPackages): output the appropriate LaTeX for natbib support.
12314 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12315 variables "use_natbib" and "use_numerical_citations" when reading the
12317 (readInset): read the various natbib cite commands.
12318 (validate): white-space change.
12320 * bufferparams.[Ch]: new variables "bool use_natbib" and
12321 "bool use_numerical_citations".
12322 (writeFile): output them in the LyX file.
12324 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12326 * lyxfunc.C (getStatus): add support for all the inset insertion
12329 * text2.C (insertInset):
12330 * paragraph.C (insetAllowed):
12331 * BufferView_pimpl.C (insertInset): update to take in account the
12332 renaming of insertInsetAllowed
12334 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12336 * text2.C (getInset): new method. returns inset at cursor position.
12338 * BufferView_pimpl.C (Dispatch): changes because of this.
12340 * LyXAction.C (init): rename open-stuff to inset-toggle.
12342 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12344 * text2.C (toggleInset): renamed from openStuff; use
12347 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12349 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12351 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12353 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12355 * buffer.C (readLyXformat2): Add filename to the error dialog
12357 2001-07-18 Juergen Vigna <jug@sad.it>
12359 * tabular.C (GetCellNumber): put an assert here instead of the check!
12361 2001-07-17 Juergen Vigna <jug@sad.it>
12363 * BufferView_pimpl.C (toggleSelection): adapted too.
12365 * text.C (selectNextWord): adapted for use with insets.
12366 (selectSelectedWord): ditto
12368 2001-07-17 Juergen Vigna <jug@sad.it>
12370 * sp_spell.C (PSpell): fix initialitation order.
12372 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12374 * paragraph.C: spacing
12376 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12378 * sp_spell.C: repair language selection for pspell
12380 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * lyxfunc.h: change more methods to begin with lower char.
12384 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12386 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12387 for unknown layouts.
12389 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12391 * buffer.C (readLyXformat2): Generate an error dialog if there are
12394 2001-07-16 Juergen Vigna <jug@sad.it>
12396 * sp_spell.C: always compile ISpell part.
12398 * lyxrc.C: added use_pspell entry and it's handling.
12400 2001-07-13 Juergen Vigna <jug@sad.it>
12402 * sp_spell.C: removed double includes.
12404 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12406 Consistent use of Lsstream.h:
12407 * Lsstream.h: added using std::stringstream for consistencies sake.
12409 * buffer.C: removed using std::stringstream
12411 * lyxfont.C (stateText):
12412 * paragraph.C (asString):
12413 * text.C (selectNextWord, selectSelectedWord):
12414 * text2.C (setCounter):
12415 * vspace.C (asString, asLatexString):
12416 std::ostringstream -> ostringstream.
12418 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12420 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12421 * commandtags.h: add LFUN_HELP_ABOUTLYX
12422 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12424 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12426 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12428 * lyx_gui_misc.C: remove spellchecker
12429 * lyxfunc.C: showSpellchecker
12431 * sp_ispell.h: added
12432 * sp_pspell.h: added
12433 * sp_spell.C: added
12434 * sp_form.[Ch]: removed
12435 * spellchecker.[Ch]: removed
12437 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12439 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12441 (simpleTeXSpecialChars): Simply print the input character without
12442 any special translation if pass_thru is set.
12444 * layout.h: Added bool pass_thru to layout class for being able to
12445 implement pass through of a paragraph for Literate Programming.
12447 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12448 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12449 * layout.C (Read): add "passthru" to list of layout tags and add
12450 code to set the pass_thru boolean when it is read.
12452 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * trans_decl.h: remove allowed from KmodInfo
12456 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12457 remove allowed code
12460 * paragraph_pimpl.C (erase): use boost::prior
12462 * Painter.C (text): use data() instead of c_str() when length is
12464 * WorkArea.C (putClipboard): ditto
12465 * font.h (width): ditto
12467 * BufferView2.C: use it-> instead of (*it). for iterators
12469 * paragraph_pimpl.C: ditto
12470 * paragraph.C: ditto
12471 * minibuffer.C: ditto
12472 * language.C: ditto
12474 * encoding.C: ditto
12475 * counters.C: ditto
12476 * converter.C: ditto
12478 * Variables.C: ditto
12479 * TextCache.C: ditto
12480 * MenuBackend.C: ditto
12481 * LyXAction.C: ditto
12483 * FloatList.C: ditto
12484 * DepTable.C: ditto
12485 * ColorHandler.C (LyXColorHandler): ditto
12487 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12491 * text2.C (openStuff): reintroduce this method (which had been
12492 nuked in NEW_INSETS frenzy).
12494 * lyxfunc.C (Dispatch): when an action has not been handled, use
12495 its name in the error message, not its number.
12497 * paragraph.C (inInset): change method name to begin with lowercase.
12500 * text2.C: updates because of this.
12502 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * ToolbarDefaults.C (add): add spaces in error message
12506 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12509 (readLyXformat2): rename return_par to first_par, use lyxlex's
12510 pushToken and remove the manual push handling.
12511 (parseSingleLyXformat2Token): add another ert comp. variable:
12512 in_tabular, rename return_par to first_par. handle newlines better
12514 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12516 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12518 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * text2.C (getParFromID): removed
12522 * buffer.C (getParFromID): new method moved form lyxtext.
12523 * BufferView2.C (insertErrors): adjust
12524 (setCursorFromRow): adjust
12525 * BufferView_pimpl.C (restorePosition): adjust
12526 * lyxfunc.C (Dispatch): adjust
12527 * undo_funcs.C (textUndo): adjust
12529 (textHandleUndo): adjust
12530 (textHandleUndo): adjust
12532 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * buffer.C: up' the LYX_FORMAT
12536 * lyxfont.h: turn NO_LATEX on as default
12538 * buffer.C (insertErtContents): new methods of tex style compability.
12539 (parseSingleLyXformat2Token): use it several places.
12540 * tabular.C (OldFormatRead): and here
12542 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * text2.C: remove some commented code.
12547 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12548 * trans.C: changes because of the above.
12550 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12552 * text2.C (setCounter): Fix counters bug with bibliography layout.
12554 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12557 own member functions
12558 (simpleTeXSpecialChars): ditto
12560 2001-07-06 Juergen Vigna <jug@sad.it>
12562 * a lot of files: changed the access to LyXText::status and the
12563 call of undo-functions.
12565 * undo.[Ch]: added a inset_id to the undo informations.
12567 * undo_funcs.[Ch]: added and moved here all undo functions.
12569 * lyxtext.h: give the status enum a weight, made status_ a private
12570 variable and made accessor functions for it, removed the whole bunch
12571 of undo-functions as they are now in their own file, make some
12572 functions publically available. Added function ownerParagraph with
12575 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12576 made InInset() a const function, added getParFromID() function.
12578 * buffer.[Ch]: added const version for inset_iterator functions,
12579 added getInsetFromID() function.
12581 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12582 changed undo functions for new version.
12584 2001-07-05 Juergen Vigna <jug@sad.it>
12586 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12587 unknow mechanism does not call the proper constructor but only this
12588 one also if I request the other!?
12590 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12594 * text2.C (LyXText): use initialization lists.
12596 * lyxtext.h (Selection): initialize set_ and mark_
12597 (init): remove method
12599 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12601 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12603 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * screen.[Ch]: change method names to begin with lowercase
12607 * BufferView_pimpl.C (updateScrollbar): simplify further and
12608 hopefully make it a bit faster.
12610 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12613 calling directly xforms functions.
12615 * Painter.C (Painter):
12616 * lyx_cb.C (MenuWrite):
12617 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12620 * lyx_gui.C: remove bogus guiruntime extern declaration.
12622 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12626 (redoDrawingOfParagraph): ditto
12627 (redoParagraphs): ditto
12628 (cutSelection): don't create a object for CutAndPaste use the
12629 static method directly
12630 (pasteSelection): ditto
12632 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12635 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * modifications to some other files because of this.
12639 * Makefile.am (lyx_SOURCES): add XFormsView
12641 * XFormsView.[Ch]: new files
12643 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12644 the main window. Move the gui dependent stuff to XFormsView
12646 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12648 * tabular.C (GetCellInset): update cur_cell also in the row/col
12649 version of this function.
12651 * lyxfunc.C: no need to include figure_form.h here.
12657 * lyxvc.C: no need to include forms.h here.
12659 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12663 * lyxfunc.C (Dispatch):
12665 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12666 constructor argument.
12668 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * paragraph.C (Paragraph): dont't clear, and just set layout.
12671 (makeSameLayout): use params's copy contructor.
12673 * ParagraphParameters.[Ch] (makeSame): delete method
12675 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12677 * Variables.[Ch]: fix indentation, rename set to isSet
12679 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * lyxfunc.C (Dispatch): fix typo
12683 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12685 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12688 * bufferlist.C: include assert.h for emergencyWrite().
12690 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12692 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12693 give up at last (bug #425202) !
12695 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12701 * spellchecker.C: strip spellchecker options and bring up
12702 preferences tab instead
12704 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12706 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12707 the istringstream constructor
12709 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12711 * paragraph.C (getLayout): fix return value
12713 * paragraph.h: do not declare getLayout as inline.
12715 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12717 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * lyxcursor.h (operator<): new func
12720 (operator>): new func
12721 (operator>=): new func
12722 (operator<=): new func
12724 * text.C (changeCase): use selection.start and selection.end
12725 (changeRegionCase): require from to be <= to. Require par to be a
12728 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12730 2001-06-27 Juergen Vigna <jug@sad.it>
12732 * text.C (cursorLeftOneWord): changed to return the cursor and added
12733 overlay with BufferView * parameter which calls this one.
12735 (selectWord): use new getWord function.
12736 (changeCase): renamed from changeWordCase as and extended to work
12737 also on selections.
12739 * lyxtext.h: added enum word_location
12741 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12742 changeCase as this operates now also on selections.
12744 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12746 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12748 * many files: send debug output to Debug::INFO instead of
12751 * converter.C (View):
12753 (Move): send debug output to Debug::FILES instead of console.
12755 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12757 * lyxfunc.C (getStatus): use func_status
12759 * func_status.h: new header, describing the results of
12760 LyXFunc::getStatus;
12762 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12765 2001-06-25 The LyX Project <jug@sad.it>
12767 * buffer.C (sgmlOpenTag):
12769 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12771 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * text2.C: remove some dead code
12775 * tabular.C (GetCellInset): store the last cell checked (gotten)
12777 * tabular.h: add the helper for the speedup
12779 * lyxtext.h: remove some dead code
12781 2001-06-26 The LyX Project <Asger>
12783 * paragraph.C: Change export to LaTeX of alignment to
12784 \begin{center} and family for better roundtrip work with reLyX.
12786 * Tune the math drawing a bit.
12788 2001-06-25 The LyX Project <Asger>
12790 * LColor.C (LColor): New color for math background. New color
12793 2001-06-25 The LyX Project <jug@sad.it>
12795 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12797 * lyxfunc.C (Open):
12798 * bufferlist.C (newFile): do not restrict to files ending with
12801 * BufferView_pimpl.C (MenuInsertLyXFile):
12803 2001-06-24 The LyX Project <jug@sad.it>
12805 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12808 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * lyxtext.h: rename most methods to begin with a small char.
12811 Lots of changes because of this.
12813 * paragraph.C (Paragraph): do not call fitToSize
12814 (erase): call Pimpl::erase
12815 (insertChar): call Pimpl::insertChar
12816 (insertInset): call Pipl::insertInset
12817 (breakParagraph): do not call fitToSize
12818 (breakParagraphConservative): do not call fitToSize
12819 (fitToSize): remove method
12821 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12823 2001-06-24 The LyX Project <Asger>
12825 * Fix Qt compilation^2
12827 2001-06-24 The LyX Project <jug@sad.it>
12829 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12830 depthHook(getDepth()-1).
12833 * ParagraphParameters.h:
12834 * ParameterStruct.h: change type of depth to unsigned int ==
12835 depth_type. Many adaptations to other files before of that.
12837 2001-06-24 The LyX Project <Asger>
12839 * Fix Qt compilation.
12841 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * paragraph.h: renamed several methods to begin with small letter.
12844 several changes to many parts of the code because of this.
12846 2001-06-23 The LyX Project <jug@sad.it>
12848 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12849 rewritten to discard all double spaces when KeepEmpty is off
12850 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12851 to only handle newlines but not fiddle with spaces and friends.
12853 * lyxfunc.C (MenuNew): when doing 'new from template', use
12854 template_path as default directory
12856 2001-06-23 The LyX Project <Asger>
12858 * Clean-up of header file includes all over
12859 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12861 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * paragraph.h: renamed from lyxparagraph.h
12865 2001-06-23 Asger <lyx@violet.home.sad.it>
12867 * Buffer.h: Removed Buffer::resize
12868 * BufferList.h: Removed BufferList::resize
12869 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12870 the document lazily when we change the width, or the font settings.
12872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12874 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12876 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12878 * buffer.h: remove out of date comment
12880 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12883 * screen.C: fix "theoretical" GC leak
12885 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12887 * LaTeX.C (scanAuxFile):
12888 (deplog): remove trailing \r when reading stream (useful under
12891 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12893 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12894 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12895 and BufferView::theLockingInset(Inset*), so should use them and not
12896 access bv_->text->the_locking_inset directly.
12898 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12900 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12903 * tex-defs.h: remove old unused file
12905 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12907 * BufferView_pimpl.C: fix typo, remove minibuffer message
12908 when buffer has loaded
12910 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * lyxfunc.C (Dispatch): use stringstream
12913 (MenuNew): use stringstream
12914 (Open): use stringstream
12916 * importer.C (Import): use stringstream
12918 * bufferview_funcs.C (CurrentState): use stringstream
12920 * LaTeX.C (run): use stringstream
12922 * BufferView_pimpl.C (savePosition): use stringstream
12923 (restorePosition): use stringstream
12924 (MenuInsertLyXFile): use stringstream
12926 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12939 * vspace.C: removed // -*- C++ -*- as first line.
12942 * version.h: added // -*- C++ -*- as first line.
12944 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12948 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12951 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12956 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * gettext.C: include LString.h even when --disable-nls is on.
12960 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12962 * converter.h (Get): changed argument type from int to
12963 FormatList::size_type to avoid unnecessary conversion.
12965 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12968 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12970 * gettext.h: include LString.h even when --disable-nls is on.
12972 2001-06-07 Juergen Vigna <jug@sad.it>
12974 * text.C (BreakAgain): subst spaces with tabs.
12976 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12977 (resizeInsetsLyXText): set force on resizeLyXText.
12979 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * gettext.h (gettext_init):
12982 (locale_init): use a real definition instead of a macro
12984 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12986 * Bufferview_pimpl.C:
12988 * LColor.C: further lcolor tidies
12990 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * BufferView_pimpl.C (updateScrollbar): simplify.
12994 * BufferView2.C: don't include insets/insetinfo.h, change
12995 prototype for insertInset and call the Pimpl version. let
12996 updateInset call Pimpl version.
12998 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12999 gotoInset to BufferView::Pimpl
13001 2001-06-01 Juergen Vigna <jug@sad.it>
13003 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13004 inside a LockingInset (is the update needed at all?).
13006 2001-05-31 Juergen Vigna <jug@sad.it>
13008 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13009 here not the old one otherwise how should we compare it afterwards
13012 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * FontInfo.C: bring C functions into global namespace when
13020 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13022 * LString.h: make sure config.h has been loaded before LString.h.
13024 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13025 (one for each char read by EatLine!).
13027 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13030 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13033 to the same as the par we break from
13035 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13039 * MenuBackend.C (expand): also create menu entries for wide
13040 versions of the floats.
13042 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13044 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13046 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13047 frontends/Makefile.am
13053 * tabular.C (getTokenValue): add std::
13055 * tabular-old.C (getTokenValue): add std::
13056 (getTokenValue): ditto
13057 (getTokenValue): ditto
13059 * screen.C (ToggleSelection): adjust
13061 * lyxtext.h: put selection cursors inside a Selection struct.
13063 * lyxfunc.C (moveCursorUpdate): adjust
13065 * lyxfont.C (latexWriteStartChanges): add std::
13067 * lyxfind.C: adjust
13069 * font.h: delete with(char const *, LyXFont const &)
13071 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13073 * FontInfo.C (getFontname): add std::
13075 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13076 (workAreaButtonPress): adjust
13077 (tripleClick): adjust
13079 (moveCursorUpdate): adjust
13082 * BufferView2.C (gotoInset): adjust
13084 2001-05-30 Juergen Vigna <jug@sad.it>
13086 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13087 to check pspell I add this as default as I now have new pspell
13088 libraries and they seem to use this.
13090 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * text2.C (CutSelection): make the cursor valid before the call to
13095 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13097 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13098 relied on 0 terminated strings and other horrors. Bug found due to
13099 the new assert in lyxstring!
13101 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13104 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13109 * lyxfunc.C (processKeySym): change method of getting to the
13112 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13113 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13114 * BufferView_pimpl.[Ch]: here as private methods.
13116 2001-05-28 Juergen Vigna <jug@sad.it>
13118 * text.C (SetHeightOfRow): added the update() call again as it is
13119 needed to initialize inset dimensions!
13121 2001-05-16 Juergen Vigna <jug@sad.it>
13123 * text2.C (SetCharFont): Add new function with BufferView * and
13124 bool toggleall parameters for setting insets internal fonts.
13125 (SetFont): Freeze the undo as we may change fonts in Insets and
13126 all this change should be inside only one Undo!
13128 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13129 setting font's in insets as for them we have the SetFont function!
13131 2001-05-15 Juergen Vigna <jug@sad.it>
13133 * text2.C (ClearSelection): to be sure we REALLY don't have any
13136 * tabular.C (TeXCellPreamble): fixed the left border problem for
13139 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13141 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13144 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13147 LFUN_BREAKPARAGRAPH.
13149 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13150 help test to "internal only", similar for LFUN_INSERT_URL
13152 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13153 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13154 auto_region_delete and deadkeys.
13156 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13159 * LColor.C: remove some dead entries, tidy a little
13161 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13163 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13165 (Dispatch): implement LFUN_ESCAPE
13167 * commandtags.h: add LFUN_ESCAPE
13169 * LyXAction.C (init): add entry for LFUN_ESCAPE
13171 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13172 Remove commented code.
13173 (insertNote): moved here
13174 (open_new_inset): moved here
13176 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13179 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * kbmap.C (findbinding): clean it up and make it work correctly.
13183 * lyx_main.C (init): do not pass argc and argv as parameters
13185 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13187 * buffer.C: fix path for OS/2 & Win32
13191 * lyx_main.C: Added os:: class.
13193 * os2_defines.h: update
13195 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13198 better by trying again with reduced state.
13200 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13202 * lyxrc.C (read): print error about invalid key sequence only when
13203 debugging (because not all latinX keysyms are known to some X
13206 * kbsequence.C (getiso): add a few std:: qualifiers
13207 (getiso): comment out extra return statement.
13209 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13213 (Dispatch): enhance the accent inset a bit. (not perfect)
13215 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13219 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * bufferlist.C (emergencyWrite): fix assert() call
13223 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13225 * text.C (InsertChar): Added trivial patch to only send the "you
13226 can not do multiple spaces this way" message once during a
13229 2001-05-08 Baruch Even <baruch@lyx.org>
13231 * Makefile.am: Changed order of libraries to get LyX to link properly
13232 with the gnome frontend.
13234 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13236 * LaTeXFeatures.h: add a std:: qualifier
13238 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * paragraph.C (String): use stringstream
13242 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * paragraph.C (writeFile): remove footflag arg
13246 * buffer.C (makeLaTeXFile): use stringstream
13247 (latexParagraphs): remove footnot gurba
13249 * LaTeXFeatures.C (getPackages): use stringstream
13250 (getMacros): likewise
13251 (getTClassPreamble): likewise
13252 (getFloatDefinitions): new method
13254 * paragraph.C (writeFile): reindent
13257 * WorkArea.h: revert the xpos + etc changes.
13259 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13261 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13263 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13264 (pasteSelection): likewise
13265 * text2.C (CreateUndo): likewise
13267 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * minibuffer.C (peek_event): temporarily reduce the functionality
13270 of the minibuffer (to allow args on lfuns)
13272 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13273 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13275 * buffer.C (readInset): add compability reading of old float
13276 lists, add reading of new style float list.
13277 (readInset): avoid reevaluation of inscmd.getCmdName()
13278 (getLists): reindent
13280 * MenuBackend.C (MenuItem): implement parsing of
13281 md_floatlistinsert and md_floatinsert.
13282 (expand::LastFiles): move initalizaton of iterators out of loop,
13283 avoid reevaluation.
13284 (expand::Documents): introduce typdedef vector<string> Strings,
13286 (expand::ExportFormats): introduce typedef vector<Format const *>
13287 Formats, and use it.
13288 (expand): implement FloatListInsert and FloatInsert.
13290 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13291 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13292 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13294 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13296 (Dispatch::LFUN_FLOAT_LIST): implement
13298 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13300 * LaTeX.C (run): Fix problem with --export code.
13302 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13304 * BufferView.[Ch] (workarea): removed.
13305 (getClipboard) new method; wrapper for workarea()->getClipboard()
13307 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13310 * WorkArea.h (width, height, xpos, ypos): These methods all
13311 returned the dimensions of the work_area sub-area of WorkArea,
13312 resulting in a position error if the WorkArea were resized. Now
13313 return the dimensions of the entire WorkArea.
13315 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13317 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * LaTeX.C (deplog): correct the syntax of regex reg1
13321 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * undo.C: remove !NEW_INSETS cruft
13325 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13327 * text2.C: remove !NEW_INSETS cruft
13329 * text.C: remove !NEW_INSETS cruft
13331 * tabular.C: remove !NEW_INSETS cruft
13333 * spellchecker.C: remove !NEW_INSETS cruft
13335 * lyxtext.h: remove !NEW_INSETS cruft
13337 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13339 * lyxfunc.C: remove !NEW_INSETS cruft
13341 * lyxfind.C: remove !NEW_INSETS cruft
13343 * lyx_cb.C: remove !NEW_INSETS cruft
13345 * figureForm.C: remove !NEW_INSETS cruft
13347 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13349 * buffer.[Ch]: remove !NEW_INSETS cruft
13351 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13353 * CutAndPaste.C: remove !NEW_INSETS cruft
13355 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13357 * BufferView2.C: remove !NEW_INSETS cruft
13359 * BufferView.h: remove !NEW_INSETS cruft
13361 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * Lsstream.h: include LString.h before the sstream headers to
13364 fix problem with gcc 2.95.3 and lyxstring
13366 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13368 * lyx_main.C: add using directives when needed for C functions
13369 declared in std:: namespace.
13371 2001-04-27 Juergen Vigna <jug@sad.it>
13373 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13374 (SetHeightOfRow): comment out the update call should not be needed!
13376 2001-04-13 Juergen Vigna <jug@sad.it>
13378 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13379 (LyXTabular): tried to minimize operator= operations (and realized
13380 hopfully Lars wish).
13382 2001-04-27 Juergen Vigna <jug@sad.it>
13384 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13386 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13390 * buffer.C (readInset): hack to make listof algorithm work
13392 * BufferView_pimpl.C: hack to make listof algorithm work
13394 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * LyXAction.C: removed all !NEW_INSETS cruft
13397 (init): moved lfun_item in method
13399 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13401 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13403 * BufferView2.C (theLockingInset): white space.
13405 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * minibuffer.C: include <iostream>
13409 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13411 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13413 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13415 * text.[Ch] (TransposeChars): new method
13417 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * call message directly through LyXView instead of through LyXFunc
13420 * BufferView2.C: adjust
13421 * BufferView_pimpl.C: adjust
13422 * FontLoader.C: adjust
13424 * bufferview_funcs.C: adjust
13425 * converter.C: adjust
13426 * figureForm.C: adjust
13427 * importer.C: adjust
13429 * lyx_gui_misc.C: adjust
13430 * lyxfunc.C: adjust
13433 + more files in subdirs
13435 * lyxparagraph.h (size): move up int file
13438 * adjust all uses of Assert to lyx::Assert.
13440 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13441 lyxfunctional in namespace lyx
13442 * layout.C (hasLayout): ditto
13445 (delete_layout): ditto
13446 (NumberOfClass): ditto
13447 * converter.C (GetFormat): ditto
13452 * bufferlist.C (getFileNames): ditto
13453 (emergencyWriteAll): ditto
13456 * MenuBackend.C (hasSubmenu): ditto
13459 * BufferView_pimpl.C (getInsetByCode): ditto
13461 2001-04-18 Juergen Vigna <jug@sad.it>
13463 * vspace.C (asLatexString): fixed the 100% problem.
13465 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * lyxfunc.C (Dispatch):
13469 * minibuffer.h: add a few std:: qualifiers
13471 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * minibuffer.[Ch]: reimplement so that commands is initiated and
13474 run from lyxfunc, simplified som handling, and made the completion
13475 and history code for complete. wip.
13477 * lyxfunc.C (processKeySym): call message
13478 (miniDispatch): new temporary method
13479 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13480 (LFUN_MESSAGE): implement
13481 (LFUN_MESSAGE_PUSH): implement
13482 (LFUN_MESSAGE_POP): implement
13483 (initMiniBuffer): the initial/defualt minibuffer message.
13485 * lyxfont.[Ch]: inline some more getters
13487 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13489 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13491 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13492 (AutoSave): use LFUN_MESSAGE
13493 (Reconfigure): ditto
13495 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13497 * figureForm.C: use LFUN_MESSAGE
13499 * converter.C (runLaTeX): use LFUN_MESSAGE
13501 * bufferview_funcs.C: use LFUN_MESSAGE
13503 (changeDepth): ditto
13505 * bufferparams.h: use boost::
13507 * bufferlist.h: inherit privately from noncopyable
13509 * bufferlist.C (loadLyXFile): remove some commented code.
13511 * buffer.C (runChktex): use LFUN_MESSAGE
13513 * ShareContainer.h: inherit privately from noncopyable
13515 * ParagraphParameters.[hC] (depth): inline it.
13517 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13519 (message): new method
13520 (messagePush): ditto
13521 (messagePop): ditto
13522 (show): init minibuffer
13523 (showState): direct call
13525 * LaTeX.[Ch]: inherit privately from noncopyable
13526 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13527 instead of WriteStatus.
13529 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13531 * BufferView_pimpl.C (buffer): don't init minibuffer
13532 (workAreaButtonPress): use LFUN_MESSAGE
13533 (workAreaButtonRelease): ditto
13534 (savePosition): ditto
13535 (restorePosition): ditto
13536 (MenuInsertLyXFile): ditto
13537 (workAreaExpose): don't init minibuffer
13538 (update): remove commented code, simplify
13540 * BufferView2.C (openStuff): use LFUN_MESSAGE
13541 (toggleFloat): ditto
13544 (copyEnvironment): ditto
13545 (pasteEnvironment): ditto
13550 (updateInset): remove some commented code
13552 * lastfiles.h: inherit privately from noncopyable
13555 * lyx_main.h: ditto
13557 * lyxlex_pimpl.h: ditto
13559 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13560 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13561 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13563 * LyXAction.h: inherit privately from noncopyable, add methods
13564 func_begin, func_end, returning iterators to the func map.
13566 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13567 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13568 (func_begin): new method
13569 (func_end): new method
13571 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13573 (copySelection): ditto
13574 (pasteSelection): ditto
13576 * BufferView.C: whitespace change
13577 * BufferView.h: inherit privately from noncopyable
13579 2001-04-16 Allan Rae <rae@lyx.org>
13581 * tabular-old.C (l_getline):
13582 * spellchecker.C (sc_check_word):
13583 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13584 an unrecognised preprocessor directive. So ensure they're wrapped.
13586 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13588 * src/exporter.C (Export): Give an error message when path to file
13591 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13593 * LaTeX.C (deplog): Always check that foundfile exists.
13595 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13600 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * tabular.[Ch] (getLabelList): implement new method
13604 * minibuffer.h: comment ouf setTiimer
13606 * minibuffer.C (ExecutingCB): constify res
13607 (peek_event): constify s
13608 (Set): constify ntext
13609 (Init): constify nicename
13611 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13613 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13614 (savePosition): use two params to Minibuffer::Set
13615 (restorePosition): ditto
13617 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * lyx_main.C: include language.h
13621 * Makefile.am (lyx_main.o): add language.h
13623 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * CutAndPaste.C: include gettext.h
13631 * lyxfont.h: remove old hack with ON and OFF.
13634 * lyxfont.h: do not include language.h...
13639 * bufferview_funcs.C:
13645 * paragraph.C: ... but do it here instead
13647 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13651 * tabular.C: small reformat
13653 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13656 (BreakParagraph): ditto
13657 (SetOnlyLayout): ditto
13660 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13663 * lastfiles.C: removed most using decl, add std:: where needed
13665 * buffer.C: ws changes
13667 * MenuBackend.C (class compare_format): put into anon namespace
13668 (expand): constify label, names, action, action2
13671 * text.C (SingleWidth): constify font
13672 (IsBoundary): constify rtl2
13673 (GetVisibleRow): constify ww
13675 * LaTeX.C (deplog): constify logfile
13677 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13679 (workAreaExpose): constify widthChange, heightChange
13681 * lyxrow.C (par): moved
13684 * lyxrow.h: as inlines here
13686 * lyxfont.h (shape): moved from lyxfont.C
13687 (emph): moved from lyxfont.C
13689 * lyxfont.C (LyXFont): use initialization list for all
13691 (shape): move to lyxfont.h as inline
13692 (emph): move to lyxfont.h as inline
13695 2001-04-04 Juergen Vigna <jug@sad.it>
13697 * vspace.C: had to include stdio.h for use of sscanf
13699 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13702 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13703 independent of xforms.
13705 2001-04-02 Juergen Vigna <jug@sad.it>
13707 * spellchecker.C: fixed namespace placing!
13709 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13711 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13712 the LyXParagraph * is 0.
13714 2001-03-29 Juergen Vigna <jug@sad.it>
13716 * vspace.C: added support for %, c%, p%, l%.
13717 (stringFromUnit): added helper function.
13718 (asLatexString): changed to give right results for the %-values.
13720 * buffer.C: convert the widthp in a width%.
13722 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13724 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13727 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13728 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13730 * lyx_cb.[Ch]: see above.
13732 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13736 * lyx.[Ch]: replaced by figure_form.[Ch].
13740 * lyxfunc.C: changed headers associated with above changes.
13742 2001-03-27 Juergen Vigna <jug@sad.it>
13744 * BufferView_pimpl.C: set the temporary cursor right!
13746 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13748 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13750 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13752 * LString.h: removed "using std::getline"!
13754 * BufferView_pimpl.C (Dispatch): changes due to changes in
13755 InsetInclude::Params.
13757 * buffer.C (tag_name): removed redundant break statements as they were
13758 producing lots of warnings with my compiler.
13760 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * LString.h: add "using std::getline" when using the real <string>.
13764 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13766 * buffer.C: removed bitset usage.
13767 PAR_TAG moved to an anonymous name space.
13768 (tag_name): new funtion, also in the anonymous namespace.
13769 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13770 (makeDocBookFile): clean code. Completed transition from string arrays
13772 (SimpleDocBookOnePar): code clean.
13774 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13776 * tabular.C: add some comments.
13778 2001-03-22 Juergen Vigna <jug@sad.it>
13780 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13781 compatibility read a bit and fixed bug with minipage in different
13784 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13786 * buffer.C (pop_tag): removed.
13787 (push_tag): removed.
13788 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13789 array replaced with vector. Added support for CDATA sections.
13790 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13792 (makeDocBookFile): XML conformant declaration of CDATA section,
13793 fixed bug related to <emphasis> in the first paragraph char.
13794 (sgmlOpenTag): exclude empty tags.
13795 (sgmlCloseTag): ditto.
13797 * buffer.h (pop_tag): removed.
13798 (push_tag): removed.
13800 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13802 * language.h (Languages): added size_type and size().
13804 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13806 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13807 response on compability reading of minipages. One probliem is that
13808 the old usage of minipages was «flertydig»
13810 * several files here and in subdirs: don't use static at file
13811 scope use anon namespaces instead.
13813 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13815 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13816 LaTeX output. This is necessary for Literate document
13819 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13821 * buffer.C: insert hfill when needed.
13823 * tabular.C (l_getline): use string::erase, small whitespace change.
13825 * BufferView_pimpl.C: try the anon namespace.
13826 * WorkArea.C: ditto
13828 2001-03-16 Juergen Vigna <jug@sad.it>
13830 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13831 otherwise it won't open options-dialogs.
13833 * buffer.C: honor pextraWidth(p) on converting minipages.
13835 * tabular.C (l_getline): changed the functions to strip trailing \r.
13837 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13839 * BufferView_pimpl.C:
13840 * minibuffer..C: added "using SigC::slot" declaration.
13842 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13844 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13850 * paragraph.C: ditto
13852 * lyxtext.h: NO_PEXTRA
13854 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13856 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13857 * ParameterStruct.h: ditto
13858 * ParagraphParameters.h: ditto
13859 * lyxparagraph.h: ditto
13861 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13863 * buffer.C: add compability for minipage alignment.
13864 (latexParagraphs): remove unwanted pextra check.
13866 * several files: remove CXX_WORKING_NAMESPACES
13868 * buffer.C (pop_tag): tie is in namespace boost
13870 * BufferView.h: noncopyable is in namespace boost
13872 * lyx_main.h: ditto
13875 * lastfiles.h: ditto
13876 * bufferlist.h: ditto
13877 * ShareContainer.h: ditto
13879 * LyXAction.h: ditto
13882 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13884 * Merging changes from BRANCH_MVC back into HEAD.
13886 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13888 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13890 * BufferView_pimpl.C: change from intl.C
13894 * Makefile.am: move combox.*
13900 * intl.C: remove dialog (covered by prefs)
13902 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13904 * lyxfunc.C (Dispatch): removed redundant break statement.
13906 2001-03-14 Juergen Vigna <jug@sad.it>
13908 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13910 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13912 * buffer.C: add hack to fix compability reading of minipages.
13914 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13916 * buffer.C (getLists): Cleanup.
13918 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * lyxfont.C (update): don't honor toggleall on font size.
13922 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13926 * Makefile.am: moved to frontends/xforms/
13930 * BufferView_pimpl.C: changes for moved mathpanel
13932 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13934 * gettext.h: fix gettext_init() in --disable-nls
13936 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13938 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13940 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13943 * lyx.h: strip external form
13945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13947 * BufferView_pimpl.C: add comment, destroySplash()
13949 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13951 * BufferView_pimpl.C:
13955 * lyxfunc.C: use re-worked insetinclude
13957 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13959 * buffer.C: add using std::stringstream.
13961 * lyx_cb.C: readd using std::ios.
13963 * buffer.C: add using std::map.
13965 * BufferView_pimpl.C: add using std::vector.
13967 * ShareContainer.h: add std:: to swap.
13969 * buffer.h: add some typedefs
13970 * buffer.C (getLists): use them
13971 (getLists): renamed from getTocList.
13972 add a counter for the different float types and use it in the
13974 (getLists): use the same counter for the NEW_INSETS and the "non"
13977 * lyx_cb.h: remove unused items, includes, using etc.
13979 * ShareContainer.h: remove some commented code, add more comments
13980 and "documentation".
13982 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13984 * buffer.C (getTocList): make the list also when NEW_INSETS is
13987 * buffer.h: remove TocType
13989 * buffer.C (getTocList): change to return a map<string,
13990 vector<TocItem> >, implement for dynamic number of list.
13992 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13993 * text2.C (PasteSelection): adjust
13994 * CutAndPaste.C (pasteSelection): adjust
13996 * FloatList.C (FloatList): update from the new_insets branch.
13997 * Floating.[Ch]: ditto
13998 * LaTeXFeatures.C: ditto
14000 * lyxlex_pimpl.C: ditto
14002 * paragraph.C (Last): remove when NEW_INSETS is defined.
14004 * other file: changes because of the above.
14006 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14008 * lyxparagraph.h: rename next to next_, previous to previous_,
14009 make them private for NEW_INSETS. Rename Next() to next(),
14010 Previous() to previous().
14012 * other files: changes because of the above.
14014 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14017 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14020 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * main.C (main): pass lyx_localedir to gettext_init().
14024 * gettext.h: remove locale_init and gettext_init macros
14026 * gettext.C (locale_init): new function
14027 (gettext_init): new function
14029 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14032 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14034 * Moved credits to frontends:
14035 * credits.[Ch]: removed
14036 * credits_form.[Ch]: removed
14037 * lyx_gui_misc.C: remove credits stuff
14040 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14042 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14044 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14045 unneeded destructor.
14047 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14048 a standalone pointer again.
14050 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14052 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14058 * ToolbarDefaults.C:
14067 * BufferView_pimpl.C: use new file dialog in GUII
14070 * lyx_cb.C: remove LayoutsCB to Toolbar
14072 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * ShareContainer.h (get): add std:: qualifier
14076 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * ShareContainer.h: define a proper ShareContainer::value_type
14079 type (and use typename to please compaq cxx)
14081 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14083 * lyxparagraph.h: move serveral local vars to
14084 ParameterStruct/ParagraphParameters., use ShareContainer in
14085 FontTable., make vars in FontTable private and add getter and
14088 * paragraph.C: changes because of the above.
14090 * lyxfont.h: remove copy constructor and copy assignment. (the
14091 default ones is ok), move number inside FontBits. move inlines to
14094 * lyxfont.C: add number to initializaton of statics, move several
14095 inlines here. constify several local vars. some whitespace
14096 cleanup. Dont hide outerscope variables.
14098 * Spacing.h: add two new constructors to match the set methods.
14100 * ShareContainer.h: new file, will perhaps be moved to support
14102 * ParameterStruct.h: new file
14104 * ParagraphParameters.h: new file
14106 * ParagraphParameters.C: new file
14108 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14109 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14111 * BufferView_pimpl.C: ParagraphParameter changes.
14112 * buffer.C: Likewise.
14113 * bufferview_funcs.C: Likewise.
14114 * text.C: Likewise.
14115 * text2.C: Likewise.
14117 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14119 * lyxfind.C (LyXReplace): do not redefine default argument in
14121 (IsStringInText): ditto
14122 (SearchForward): ditto
14123 (SearchBackward): ditto
14125 2001-03-06 Juergen Vigna <jug@sad.it>
14127 * lyxfind.C (IsStringInText): put parentes around expressions.
14129 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14131 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14133 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14135 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14137 * stl_string_fwd.h: add comment
14139 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14142 * tabular.C: remove unused DocBook methods
14148 killed DO_USE_DEFAULT_LANGUAGE
14150 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * lyx_gui.C: do not include language.h.
14154 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14155 arguments in function implementation.
14157 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14159 * BufferView_pimpl.C: add <ctime>
14161 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14163 * BufferView_pimpl.C: add using std::find_if
14165 2001-02-27 José Matos <jamatos@fep.up.pt>
14167 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14170 2001-02-11 José Matos <jamatos@fep.up.pt>
14172 * buffer.C (makeDocBookFile): command styles now have a parameter as
14173 "title" by default.
14175 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14177 * layout_forms.[Ch]: removed
14178 * lyx_cb.[Ch]: out character
14179 * lyx_gui.C: out character
14180 * lyx_gui_misc.C: out character
14181 * bufferview_funcs.C: : out character,
14182 added toggleall as parameter in ToggleAndShow
14184 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14186 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14188 * text2.C (SetCurrentFont): Disable number property at boundary.
14190 2001-02-26 Juergen Vigna <jug@sad.it>
14192 * lyxfunc.C (getStatus): added a string argument override function so
14193 that this is correctly called from LyXFunc::Dispatch if it contains a
14194 do_not_use_argument which is used!
14195 (Dispatch): added check for "custom" export and call appropriate func.
14197 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14199 * lyxrc.C: Add language_command_local, language_use_babel and
14200 language_global_options.
14202 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14204 * buffer.C (makeLaTeXFile): Use language_use_babel and
14205 language_global_options.
14207 2001-02-23 Juergen Vigna <jug@sad.it>
14209 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14210 which works with LyXText and putted it inside BufferView. Here now we
14211 only call for that part the BufferView::Dispatch() function.
14213 * BufferView.C (Dispatch): added.
14215 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14216 functions which needs to use a LyXText over from LyXFunc.
14217 (MenuInsertLyXFile): added
14218 (getInsetByCode): added
14219 (moveCursorUpdate): added
14220 (static TEXT): added
14222 2001-02-22 Juergen Vigna <jug@sad.it>
14224 * BufferView_pimpl.C (update): call a status update to see if LyXText
14227 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14229 * vc-backend.C (revert): implement for CVS
14230 (getLog): implement for CVS
14232 2001-02-20 Juergen Vigna <jug@sad.it>
14234 * text2.C (ClearSelection): added BufferView param for inset_owner call
14236 * lyxfunc.C (TEXT): added this function and use it instead of
14237 directly owner->view()-text of getLyXText().
14239 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14241 * src/layout_forms.C: out preamble
14242 * src/layout_forms.h: out preamble
14243 * src/lyx_cb.C: out preamble
14244 * src/lyx_cb.h: out preamble
14245 * src/lyx_gui.C: out preamble
14246 * src/lyx_gui_misc.C: out preamble
14247 * src/lyxfunc.C: connect with guii preamble
14249 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14251 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14253 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14255 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14256 whether to run bibtex.
14258 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14260 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14262 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14264 * Makefile.am (lyx_SOURCES): removed bibforms.h
14266 * vspace.h: doxygen
14268 * text.C (GetVisibleRow): make several local vars const
14270 * tabular.C: small cleanup.
14272 * lyxserver.C (callback): use compare instead of strncmp
14274 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14275 inlines to after class or to paragraph.C
14277 * lyxfont.h: remove friend operator!=
14279 * converter.h: move friend bool operator< to non friend and after
14282 * combox.h: small cleanup
14284 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14285 to inlines after class def.
14287 * buffer.C (pop_tag): use string operations instead of strcmp
14289 * bmtable.c: doxygen, small cleanup
14291 * LaTeX.h: remove friend operator==
14293 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14305 * BufferView_pimpl.C:
14306 * BufferView.[Ch]: remove cruft
14308 2001-02-14 Juergen Vigna <jug@sad.it>
14310 * lyxfunc.C: removed #if 0 unused code
14312 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14314 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14316 * text2.C (SetSelection): added a BufferView * parameter
14318 2001-02-13 Juergen Vigna <jug@sad.it>
14320 * lyxfunc.C (Dispatch): fixed protected blank problem.
14321 * BufferView2.C (protectedBlank): added LyxText * parameter.
14323 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14324 (AppendColumn): same as above for column_info.
14326 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14327 (moveCursorUpdate): use a LyXText param for support of InsetText.
14329 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14330 (tripleClick): ditto
14332 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14334 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14336 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14338 * text2.C (SetSelection): set correct update status if inset_owner
14339 (ToggleFree): ditto
14341 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14343 * tabular.C: remove some commented code.
14345 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14347 * BufferView_pimpl.C: call hideSplash()
14349 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14352 * bibforms.h: remove
14355 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14356 add LFUN_CHILD_CREATE
14358 * counters.h: fix tiny typo
14363 * lyx.C: move splash to frontends/xforms/
14365 * lyx_gui_misc.C: move Include and Bibform to frontends
14367 * lyxvc.h: clarify comment
14369 * vspace.C: tiny housekeeping
14371 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14373 * text.C (PrepareToPrint): RTL Fix.
14375 * paragraph.C (GetUChar): New method.
14376 (String): Use GetUChar.
14378 * buffer.C (asciiParagraph): Use GetUChar.
14380 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14382 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14384 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14387 * buffer.C: rename to getLogName(), handle
14388 build log / latex log nicely
14390 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * MenuBackend.h: remove support for reference menuitem type.
14395 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14397 * BufferView_pimpl.C: housekeeping
14398 * BufferView_pimpl.h:
14403 * minibuffer.h: move Timeout GUI-I
14405 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14407 * lyxrc.C (read): Update converters data-structures.
14409 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14411 * LaTeX.h (operator!=): add operator != for Aux_Info
14413 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14415 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14417 * LaTeXLog.C: deleted, useful code moved to Buffer
14420 * buffer.C: new function getLatexLogName()
14426 * lyxfunc.C: use frontends for LaTeX and VC logs
14428 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * LaTeX.h: yet another std:: that Allan forgot.
14432 * Variables.C (set): renamed from isset(), because this clashes
14433 with some HP-UX macros (grr).
14435 2001-02-06 Allan Rae <rae@lyx.org>
14437 * LaTeX.h: Another bug fix. Missing std:: this time.
14439 2001-02-04 Allan Rae <rae@lyx.org>
14441 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14442 floats problem. I've left it commented out because it's not quite
14443 correct. It should also test that the current object is a table or
14444 figure inset. But I haven't gotten around to figuring out how to do
14445 that. I *think* it'll be something like: "table" == inset.type()
14447 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14450 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14452 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14453 all the citation/databases/styles in the auxilary file.
14454 (run): Rerun latex if there was a babel language error.
14456 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14458 * text.C (Backspace): Preserve the font when changing newline char
14460 (BreakParagraph): If the cursor is before a space, delete the space.
14462 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14464 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14466 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14467 new argument (code).
14468 (ChangeCitationsIfUnique): New method.
14470 * paragraph.C (GetPositionOfInset): Handle bibkey.
14472 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14474 * BufferView_pimpl.h: change type of Position::par_pos to
14475 LyXParagraph::size_type.
14477 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14479 * BufferView_pimpl.C (savePosition, restorePosition): Write
14480 messages to minibuffer.
14482 2001-01-28 José Matos <jamatos@fep.up.pt>
14484 * buffer.C (makeDocBookFile): adds support for document language.
14485 A silly restriction on the name of LatexCommand types where removed.
14486 Added support for CDATA sections, allows to chars unescaped, used
14487 among others in code, to avoid escape < and >.
14489 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14491 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14492 saved positions instrad of a stack. Furthermore, a position is
14493 stored using paragraph id/paragraph position.
14495 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14496 Remove LFUN_REF_BACK.
14498 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14500 * converter.C (dvipdfm_options): New method.
14502 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14504 * vspace.C (isValidLength): Fix for empty input string.
14506 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14508 * LyXAction.C (init): change description of LFUN_FIGURE to
14511 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14513 * LaTeX.C: add using directive
14515 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14517 * MenuBackend.C (expand): Fix the sorting of the formats.
14519 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14521 * lyx_main.C: tiny error message fix
14523 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14526 calling fl_initialize(). This fixes the problem with ',' as
14527 decimal separator in text files.
14529 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14531 * trans.C (process): Fix the keymap bug.
14533 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14535 * LaTeX.C (scanAuxFiles): New method. Provides support for
14536 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14537 (scanLogFile) Scan for "run BibTeX" messages.
14539 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14540 OT1 font encoding. Also, load the aecompl package if the ae
14543 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14545 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * texrow.C (increasePos): turn two error messages into debug
14550 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14552 * LaTeX.C (scanAux): Handle the \@input macro.
14553 (runBibTeX): Use scanAux().
14555 * language.C (latex_options_): New field.
14557 * LaTeXFeatures.C (getMacros): Add language macros.
14559 * buffer.C (makeLaTeXFile): Small fix.
14561 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14565 * text2.C: add a using directive.
14567 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14572 * lyxfunc.C: kill LyXBell.
14574 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14576 * text.C (IsBoundary): Remove the error message
14578 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14580 * lyxrc.C (setDefaults): Correct initialization value for
14583 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14585 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14588 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14589 and GotoNextNote().
14591 * src/LyXAction.C: Added reference-next.
14593 * text.C (InsertChar): Use contains instead of strchr.
14595 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14597 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14599 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14600 alignment commands (when needed).
14602 * text.C (InsertChar): Add ':' to number separator chars.