2 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
6 2004-02-04 André Pönitz <poenitz@gmx.net>
8 * BufferView.[Ch] (insertInset):
9 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
14 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
16 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
17 on the default clause of the switch
18 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
19 wasn't catched by LCursor::dispatch
21 2004-02-03 André Pönitz <poenitz@gmx.net>
24 * cursor.[Ch]: some additional asserts
26 * undo.[Ch]: remove LyXText dependency in interface
30 * lyxtext.h (firstPar, lastPar): remove dead functions
35 * paragraph.[Ch]: adjust
37 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
39 * lyxfind.C (find): fix argument order in call to ::find
41 2004-02-02 André Pönitz <poenitz@gmx.net>
43 * cursor.[Ch]: remove direct access to anchor
45 * text.C: remove findText() hack
47 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
49 * iterators.[Ch] (lockPath): remove in favour of...
50 * BufferView.[Ch] (setCursor): this addition
51 * BufferView.C (putSelectionAt): adjust
52 * undo.C (performUndoOrRedo): adjust
53 * lyxfunc.C (dispatch): adjust
55 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
57 * iterators.C (lockPath): add a missing slice
58 * undo.C (performUndoOrRedo): remove redundant positioning code
60 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * vc-backend.C (scanMaster): ";" -> ';'
64 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
66 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
69 * lyxtextclass.C (compare_name): rename to...
70 (LayoutNamesEqual): ...this
72 * lyxlex_pimpl.C (compare_tags): inherit from
73 std::binary_function, put back into anon namespace
75 * lyxfind.C (MatchString): inherig from std::binary_function
76 (findChange): use empty() istead of !size()
78 * format.C (FormatNamesEqual): new functor
85 * converter.C (compare_Converter): rename to...
86 (ConverterEqual): ...this, and fixup a bit.
87 (getConverter): use it, and make function const
88 (getNumber): use it, and make function const
92 * bufferlist.C: add using boost::bind
94 * MenuBackend.C (MenuNamesEqual): new functor
95 (hasMenu): use it, and make function const
96 (hasSubmenu): use nested bind to get rid of compare_memfun.
98 2004-01-30 André Pönitz <poenitz@gmx.net>
100 * BufferView_pimpl.C:
111 * text3.C: move some of the edit(x,y) handling to the insets
112 some coordinate changes.
114 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
116 * text.C: add using statements for std::advance and std::distance
118 * paragraph.C: add using statement for std::distance
120 * lyxfind.C: add using statement for std::advance
122 * cursor.C (region): remove std:: from swap
123 (openable): use nucleus in stead of operator->
125 * BufferView.C: add using statements for std::distance and std::swap
127 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * iterators.C: Remove the pimple, move the needed structures to
130 the header file. Create accessor for the positions stack.
131 (asPosIterator): remove function
133 * PosIterator.C (PosIterator): move constructors to top of file
134 (PosIterator): reimplement the constructor taking a ParIterator in
136 (setFrom): new function
137 (operator!=): inline it
139 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
141 * lyxfind.C (replaceAll): use std::advance
143 * iterators.h: inherit from std::iterator.
145 * PosIterator.C (advance, distance): remove
146 * PosIterator.h: interit from std::iterator.
148 2004-01-26 André Pönitz <poenitz@gmx.net>
151 * BufferView_pimpl.[Ch]:
155 * bufferview_funcs.C:
166 * output_plaintext.C:
168 * paragraph_funcs.[Ch]:
169 * paragraph_pimpl.[Ch]:
175 * text3.C: more IU: dumps most of the rest of the mathcursor
176 implementation into cursor.[Ch]; "globalize" a bit of it.
178 2004-01-25 Angus Leeming <leeming@lyx.org>
180 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
182 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * LaTeXFeatures.h: add nice_ and nice() const
185 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
187 2004-01-20 André Pönitz <poenitz@gmx.net>
190 * BufferView_pimpl.C:
192 * bufferview_funcs.C:
205 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
206 LCursor and mathcursor parts to LCursor and InsetBase.
208 2004-01-15 André Pönitz <poenitz@gmx.net>
210 * cursor_slice.[Ch]: add a few covienience functions
212 * funcrequest.[Ch]: remove BufferView * member
214 * BufferView_pimpl.C:
221 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
223 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
225 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
226 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
228 2004-01-13 André Pönitz <poenitz@gmx.net>
231 * lyxtext.h: hide cursor and selection anchor behind accessor function
234 * BufferView_pimpl.[Ch]:
236 * bufferview_funcs.C:
246 * cursor_slice.[Ch]: some integer type changes for inset unification
248 * lyxcursor.[hC]: remove, it's CursorSlice now.
251 * BufferView_pimpl.[Ch]:
252 * bufferview_funcs.C:
258 * textcursor.[Ch]: adjust
260 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
262 * text2.C (undoSpan): add and use
263 * text.C (breakParagraph): use undoSpan (fix bug 578)
266 2004-01-08 Angus Leeming <leeming@lyx.org>
268 * BufferView_pimpl.C (MenuInsertLyXFile):
269 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
270 * lyxfunc.C (menuNew, open, doImport):
271 FileFilterList change to the FileDialog open and save functions.
273 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * ShareContainer.h: make isEqual and isUnique adaptable
277 * CutAndPaste.C: make resetOwnerAndChanges adaptable
279 2004-01-07 Angus Leeming <leeming@lyx.org>
282 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
284 * BufferView_pimpl.C (dispatch): act on these LFUNs.
286 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
287 functions replacing find, replace and replaceAll.
289 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
290 LFUN_WORDFIND(FORWARD|BACKWARD).
292 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
294 * text.C (breakParagraph): remove an outdated #warning
296 2004-01-07 André Pönitz <poenitz@gmx.net>
298 * lyxfind.C: somewhat clearer logic
300 * text.C: prevent crash in cursorX on unitialized row cache
302 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
304 * lyxcursor.[Ch] (operator>): add
305 * textcursor.C (selStart, selEnd): use std::min and std::max
307 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
309 * Chktex.C: include boost/format.hpp
311 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
313 * InsetList.C: replace functor MathcIt with adaptable functor
315 (insetIterator): modify accordingly
317 * BranchList.h: move the BranchNamesEqual functor here from...
318 * BranchList.C: ... to here
320 * BranchList.C: new BranchListEqual fuctor, use it. Remove
322 (add): replace a finding loop with std::find_if.
324 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
326 * output_docbook.C: moving LatexParam functionality into
329 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
331 * buffer.C: increment format to 229.
333 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
336 * lyx_sty.[Ch]: remove minipageindent_def
342 * text3.C: remove LFUN_INSET_MINIPAGE
344 2003-12-28 Angus Leeming <leeming@lyx.org>
346 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
348 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
350 * text2.C (setParagraph): fix off-by-one crash
352 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
354 * output_docbook.C: header stuff for AGU
356 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
358 * text2.C (redoCursor): remove
361 * BufferView_pimpl.C: remove calls to redoCursor and
362 setCursor(cursor.par(), cursor.pos()) all around
364 2003-12-15 Angus Leeming <leeming@lyx.org>
366 * buffer.C: up the format to 228.
368 2003-12-15 André Pönitz <poenitz@gmx.net>
370 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
375 * BufferView_pimpl.C:
384 2003-12-15 Angus Leeming <leeming@lyx.org>
386 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
387 than getFromGUIName to manipulate the color.
389 2003-12-14 Angus Leeming <leeming@lyx.org>
391 * BranchList.[Ch]: minimize the API.
392 (Branch::getBranch, getColor): now return a 'const &'.
393 (Branch::setSelected) now returns a bool set to true if the
394 selection status changes.
395 (BranchList::clear, size, getColor, setColor, setSelected,
396 allBranches, allSelected, separator): removed.
397 (BranchList::find): new functions, returning the Branch with
399 (BranchList::add, remove): return a bool indicating that
400 the operation was successful.
402 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
403 new InsetBranch::isBranchSlected member function.
405 * LColor.[Ch]: mimimize the API.
406 (fill): renamed as addColor and made private.
407 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
408 versions of these functions taking a string arg have been removed.
410 * bufferparams.C (readToken):
411 * lyxfunc.C (dispatch):
412 * lyxrc.C (read): changes due to the altered BranchList and
415 * factory.C (createInset, readInset): changes due to altered
418 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * lyxfunc.C: remove insetminipage. "minipage-insert"
422 now produces a frameless minipage box inset.
424 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
426 * textcursor.[Ch] (selStart,selEnd): add new methods
427 remove selection::start, end, use LyXCursor::operator<
428 * lyxcursor.[Ch] (operator<): add
429 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
430 * BufferView.[Ch] (unsetXSel): add
431 * text2.C (clearSelection): use unsetXSel,adjust
434 * rowpainter.C: adjust
435 * bufferview_funcs.C (put_selection_at): adjust
437 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
439 * BufferView_pimpl.C: small coord. correction
441 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
443 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
444 dragging over the splash screen.
446 2003-12-11 Angus Leeming <leeming@lyx.org>
448 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
449 as it is now handled in LyXText::dispatch.
451 * text3.C (doInsertInset): remove a level of nesting.
453 2003-12-11 Angus Leeming <leeming@lyx.org>
455 * factory.C (createInset): changes due to the changed interface to
456 InsetCommandMailer::string2params.
458 2003-12-10 Angus Leeming <leeming@lyx.org>
460 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
461 'dialog-show-new-inset <inset name>'
463 2003-12-10 Angus Leeming <leeming@lyx.org>
465 * buffer.C: up the format to 227.
467 * factory.C: the box inset is now identified simply by 'Box'.
469 2003-12-10 Angus Leeming <leeming@lyx.org>
471 * buffer.C: up the format to 226.
473 * factory.C: the note inset is now identified simply by 'Note'.
475 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
477 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
478 when a pit is enough. Standarize a couple of loops.
480 2003-12-05 Angus Leeming <leeming@lyx.org>
482 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
483 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
484 data to the re-worked "log" dialog.
486 2003-12-03 André Pönitz <poenitz@gmx.net>
494 * text2.C: use Inset::getText instead of Inset::getParagraph
496 2003-12-03 André Pönitz <poenitz@gmx.net>
500 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
501 InsetText::read() as LyXText::read()
503 2003-12-02 Angus Leeming <leeming@lyx.org>
505 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
506 type. Add a comment in the implementation that the function uses
507 the stream's bad() function rather than fail() as the std::streams
510 2003-12-02 André Pönitz <poenitz@gmx.net>
512 * lyxlex.[Ch]: make interface more similar to std::stream
514 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
516 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
518 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
520 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
522 * vspace.[Ch]: remove VSpace::NONE
524 2003-12-01 André Pönitz <poenitz@gmx.net>
527 * lyxtext.h: move ParagraphList member to LyXText
528 rename LyXText::ownerParagraphs to LyXText::paragraph
531 * bufferview_funcs.C:
541 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
543 * undo.C: fix cursor positioning
545 2003-12-01 John Levon <levon@movementarian.org>
547 * BufferView_pimpl.C: fix a crash on exit with
550 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
552 * BranchList.C: fix setSelected() method.
554 2003-11-28 André Pönitz <poenitz@gmx.net>
556 * ParagraphParameters.[Ch]:
557 * ParameterStruct.h: remove space above/below from Paragraph to
560 * BufferView_pimpl.C:
572 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
574 * factory.C: Syntax change for CharStyles
576 2003-11-28 André Pönitz <poenitz@gmx.net>
581 * buffer.[Ch]: move LyXText member
583 2003-11-28 André Pönitz <poenitz@gmx.net>
585 * BufferView.[Ch]: make LyXText * text a private member
587 * BufferView_pimpl.C:
598 * output_plaintext.C: cleanup
600 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
603 * lyxtextclass.[Ch]: parametrize SGML document header
605 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
608 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
611 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
613 * text2.C (setFont): rework using PosIterator (no more recursive)
614 (setCharFont): no more needed
615 (setLayout): no more selection cursors fiddling (done by redoCursor)
616 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
617 destroy remaining ones)
619 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
621 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
623 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
626 * text3.C: adjust + re-allow multi par depth changes
627 * textcursor.C: simplify a bit
629 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
635 * src/output_docbook.C:
636 * src/output_latex.C:
641 * src/text2.C: Introducing a number of tags parametrizing various
642 XML formats that we may want to support
644 2003-11-25 André Pönitz <poenitz@gmx.net>
646 * InsetList.[Ch] (begein, end): inline as suggested by profiler
648 * lyxtext.h (leftMargin/rightMargin): simplify interface
655 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
657 * lyxfunc.C (dispatch): propogate the bibtex databases from the
658 master file to any child files. Fixes bug 546.
660 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
662 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
664 2003-11-24 André Pönitz <poenitz@gmx.net>
666 * rowpainter.C: simplification
668 * text2.C (updateCounters): remove call to redoParagraph on
669 changed labels as this is far too expensive.
671 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
673 * converter.C (convert): fix a crash: this function gets
674 called with buffer == 0 from importer code.
676 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
678 * text3.C (cursorPrevious): make sure that we do not compare
679 iterators form different containers.
682 * rowpainter.C (paintSelection): make sure that we do not compare
683 iterators from different containers.
685 * text3.C (dispatch): [PRIOR] make sure that we do not compare
686 iterators from different ParagraphList containers.
689 * text2.C (LyXText): change order of initialization slightly
690 (operator=): new function. copy all variables except cache_par_
691 (moveUp): make sure that we do not compare iterators from
692 different ParagraphList constainers.
695 * text.C (firstPar): new function
696 (lastPar): new function
697 (endPar): new function
699 * lyxtext.h: move things around and group public functions, public
700 variables, private functions, private variables
702 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
704 * factory.C: change call to InsetERT constructor to avoid
705 additional invocation of method status
706 * text2.C (toggleInset): remove redundant update() call
707 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
708 instead of a Bufferview pointer
710 2003-11-21 André Pönitz <poenitz@gmx.net>
712 * rowpainter.C: simplification
714 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
716 * text3.C (dispatch): make possible to extend a word/row selection
719 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
721 * lyxtext.h: x0_,y0_ -> xo_,yo_
722 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
723 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
724 * rowpainter.C (paintRows): paint full paragraphs
726 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
728 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
731 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
733 * lyxtext.h: add x0_, y0_
734 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
735 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
737 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
739 * text2.C (setCursorIntern): move the x_target update here *
740 * text3.C: change some bv() to true/false in calls to
741 cursorUp/Down/Right/Left
742 * cursor.C: use helper function.
744 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
746 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
747 * paragraph_funcs.[Ch]: correct comment
748 * rowpainter.C: do not paint selections away from bv->cursor()
749 Fix a long standing selection painting bug.
750 * text3.C: generalize mouse-selection code to LyXTexts other that
752 * textcursor.C: do not use y coords if we can use par offsets
754 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
756 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
757 cursor position after e.g. inset insert)
759 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
761 * lyxfind.C (replace): adjust to locking removal + some
764 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
766 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
769 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
772 * output_docbook.C: XML sanitation: new layout
773 parameters InnerTag and CommandDepth
775 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
777 * BufferView_pimpl.C:
779 * text3.C: Fix the insertion and modification of button-style
782 2003-11-13 André Pönitz <poenitz@gmx.net>
784 * InsetList.[Ch]: remove deleteLyXText
786 * paragraph.[Ch]: cache beginOfBody position
791 * text3.C: remove superfluous update() calls
795 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
797 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
798 * BufferView.C (fitLockedInsetCursor): remove
799 * cursor.[Ch] (getDim): add
800 * text.C (getRowNearY): add faster version
801 * text3.C: remove some update calls
803 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
815 * text3.C: The Character Style /XML short element patch.
817 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
820 * factory.C: Small step to solving 'unable to insert some insets'
823 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
825 * cursor.[Ch] (updatePos): new function for updating the y
826 position of the tip inset
827 * bufferview_funcs.C (put_selection_at):
828 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
830 2003-11-11 André Pönitz <poenitz@gmx.net>
832 * text.C: remove big comment on invalid Paragraph pointers as it is
835 2003-11-11 André Pönitz <poenitz@gmx.net>
837 * text_funcs.[Ch]: merge with ...
845 * Makefile.am: remove text_funcs.[Ch]
847 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
849 * cursor.C (getPos): return absolute cached y coord
851 * BufferView_pimpl.C (fitCursor): new simplistic code
852 (workAreaDispatch): add a fitCursor call
854 2003-11-10 André Pönitz <poenitz@gmx.net>
857 * BufferView_pimpl.[Ch]: merge update() and updateInset()
859 2003-11-10 André Pönitz <poenitz@gmx.net>
861 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
862 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
863 indicate that the cursor needs to leave an inset
865 * lyxtext.h: remove inset locking
867 * cursor.[Ch]: re-implement functionality provided by inset locking
870 * BufferView_pimpl.[Ch]:
872 * bufferview_funcs.[Ch]:
884 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
886 * PosIterator.[Ch]: replace the stack with a vector, add inset
888 * iterators.[C]: adjust
890 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
892 * lyxfind.C (replaceAll): mark the buffer dirty if something was
894 * paragraph_funcs.C (readParToken): put the correct id in the
895 error item, not the id of the top paragraph
897 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
899 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
900 * bufferview_funcs.C (put_selection_at): use the above
902 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
904 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
906 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
909 * output_plaintext.h:
911 * output_docbook.h: add #include statements
913 2003-11-05 José Matos <jamatos@lyx.org>
915 * output_docbook.[Ch]:
917 * output_linuxdoc.[Ch]:
918 * output_plaintext.[Ch]: New files for output formats.
919 * output.[Ch]: New file for helper functions.
922 * paragraph_funcs.[Ch]: output functions moved to new files.
924 * outputparams.h: rename of latexrunparams.h
932 * paragraph_funcs.[Ch]:
933 * paragraph_pimpl.[Ch]:
934 * tabular.[Ch]: rename ascii to plaintext
935 and LatexRunParams to OutputParams.
937 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
939 * iterators.[Ch] (text): require bv argument
940 * undo.C (recordUndo):
941 * lyxfunc.C (dispatch):
942 * bufferview_funcs.C (put_selection_at): adjust
944 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
946 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
948 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
950 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
953 2003-11-04 André Pönitz <poenitz@gmx.net>
955 * cursor.[Ch]: restructure
958 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
960 * iterators.[Ch] (asCursor): remove
962 * lfuns.h: remove LFUN_INSET_EDIT
968 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
970 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
972 * lyxfind.[Ch]: complete overhaul
973 * BufferView_pimpl.C:
975 * paragraph.[Ch] (insert): add
977 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
981 * text.C: remove dead spellcheck code
983 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
985 * dispatchresult.h: add a val setter
987 * cursor.C (dispatch): use a tempvar for data_[i]
989 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
991 * PosIterator.[Ch]: compile fix
993 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
995 * text.C (cursorPar): deactivate the cursor cache
997 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
999 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1001 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1003 * text3.C (dispatch): adjust for new DisptchResult semantics.
1005 * lyxfunc.C (dispatch): handle update when return from
1006 Cursor::dispatch, adjust for new DispatchResult semantics.
1008 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1009 DispatchResult(true) mean to not update. Add class functions for
1010 setting dispatched and update, as well as reading.
1012 * cursor.C (dispatch): don't handle update here
1014 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1017 * trans_mgr.C: adjust
1019 * paragraph_funcs.C (readParToken): exception safety
1021 * lyxvc.h: store the vcs pointer in a scoped_ptr
1024 * lyxsocket.C (serverCallback): exception safety
1026 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1028 * ispell.C (clone): make it return a auto_ptr
1030 * factory.C (createInset): exception safety
1031 (readInset): exception safety
1033 * bufferlist.C (newBuffer): exception safety
1035 * Thesaurus.C (Thesaurus): use initialization for aik_
1037 * MenuBackend.C (expandToc): exception safety.
1039 2003-11-03 André Pönitz <poenitz@gmx.net>
1043 * bufferview_funcs.C: remove getInsetFromId()
1046 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1052 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1054 * PosIterator.C (distance, advance): new
1055 * bufferview_funcs.[Ch] (put_selection_at): new
1056 * iterators.[Ch] (lockPath): new
1058 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1060 * iterators.[Ch] (asPosIterator): added
1061 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1062 * PosIterator.[Ch]: added
1064 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * cursor.C (dispatch):
1069 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1071 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1072 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1073 contructor, add a class function dispatched. Remove operator>=
1075 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * debug.C: only use the default constructor for debugstream
1080 * main.C (main): include debug.h and setup the lyxerr streambuf
1083 2003-10-31 José Matos <jamatos@lyx.org>
1085 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1087 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1088 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1089 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1090 * paragraph_pimpl.C (simpleTeXSpecialC):
1091 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1092 add LatexRunParams argument.
1094 * exporter.C (Export): change call accordingly.
1096 * latexrunparams.h: add new member to take care of the other backends.
1097 2003-10-30 José Matos <jamatos@lyx.org>
1099 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1100 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1101 factorise code for paragraph output.
1103 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1106 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * text3.C (dispatch):
1109 * lyxfunc.C (dispatch):
1110 * cursor.C (dispatch):
1111 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1113 * dispatchresult.h: make the dispatch_result_t ctor explicit
1115 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1118 * buffer.C: small refactoring of docbook stuff
1120 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1122 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1125 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1128 operator dispatch_result_t, and operators for == != and >=
1130 * cursor.C (dispatch): adjust for operator dispatch_result_t
1131 removal. comment out call to update
1133 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1135 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1146 * dispatchresult.h: new file, DispatchResult broken out of
1149 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1151 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1153 * text.C (rowBreakPoint): put a hack inside #if 0
1155 2003-10-28 André Pönitz <poenitz@gmx.net>
1159 * paragraph_funcs.C:
1162 * text2.C: general cleanup (lots of small stuff)
1164 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1166 * text2.C (cursorEnd): simple fix to the "end key goes to one
1167 before the end on last row" bug
1169 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1171 * text.C (backspace): fix the "zombie characters"
1173 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1175 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1177 2003-10-27 André Pönitz <poenitz@gmx.net>
1179 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1181 * factory.C: handle new InsetPagebreak, InsetLine
1183 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1184 and move handling into new InsetPagebreak, InsetLine
1186 * BufferView_pimpl.C:
1188 * ParagraphParameters.C:
1189 * ParameterStruct.h:
1194 * paragraph_funcs.C:
1195 * paragraph_pimpl.C:
1201 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1204 * lyxrow_funcs.[Ch]:
1210 * text3.C: remove lastPos uses in favour of Row::endpos
1212 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1214 * undo.C (performUndoOrRedo): fix two crashes by setting a
1215 cursor by hand and reordering some calls. Use bv->lockInset instead
1216 of inset->edit because the latter loses cursor information
1218 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1220 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1222 (rowBreakPoint): fix width. change point to point + 1.
1223 Add a missing check.
1225 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1228 * lyxfunc.C: fix (at least partly) the problems
1229 with the Nav menu and headers inside branch insets
1232 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1234 * paragraph.C (getChar): add strong asserts
1236 * lyxrow_funcs.C (lastPos): remove hideous hack
1238 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1239 (fill): adjust to that (avoid an infinite loop)
1241 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1243 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1245 2003-10-23 André Pönitz <poenitz@gmx.net>
1247 * RowList_fwd.h: change list<> to vector<> to gain speed
1248 after suggestion from Alfredo
1250 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1252 * lyxtext.h: move the bidi stuff from here...
1255 * Bidi.[Ch]: ... to here
1257 2003-10-23 André Pönitz <poenitz@gmx.net>
1260 * text.C (isLastRow, isFirstRow): new functions
1262 * paragraph.h: new width cache member
1264 * rowpainter.C: replace RowList::iterator with Row & where possible
1266 * lyxfunc.C: replace several view()->text with a single call
1268 * toc.C: fix 'unused' warning
1270 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1273 when woring with stream::pos_type
1274 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1276 2003-10-22 André Pönitz <poenitz@gmx.net>
1279 * text.C: use Row & instead of RowList::iterator
1281 * lyxrow.h: rename end() to endpos()
1287 2003-10-22 Angus Leeming <leeming@lyx.org>
1289 * buffer.[Ch] (fully_loaded): new member function, returning true
1290 only when the file has been loaded fully.
1291 Used to prevent the premature generation of previews and by the
1292 citation inset to prevent computation of the natbib-style label.
1294 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1295 templates are all set up.
1297 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1299 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1301 * text.C: fixed an "oops" in the "is a bit silly"
1304 2003-10-21 André Pönitz <poenitz@gmx.net>
1306 * FuncStatus.[Ch]: small stuff, whitespace
1308 * lyxfont.[Ch]: operator<<() for debug reasons
1312 * lyxtext.h: whitespace, spelling
1314 * paragraph.C: naming of variables
1317 * text2.C: small stuff
1320 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1322 * text.C: (1) finish off the inset display() work;
1323 (2) fix the "is a bit silly" bug (accessing char
1326 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1328 * text.C: re-introduce display() for insets, fixing the
1329 various bugs (stretch of line above, math inset
1332 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * text.C (rightMargin): remove spurious semicolon
1336 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1339 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1341 * text3.C: fix one crash due to wrong cursor def
1343 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1345 * vc-backend.C (scanMaster): make the regex static
1347 * LaTeX.C (scanAuxFile): make the regexs static
1349 * text3.C (doInsertInset, dispatch, dispatch):
1350 * text2.C (cursorUp, cursorDown):
1351 * text.C (selectNextWordToSpellcheck):
1352 * BufferView_pimpl.C (dispatch):
1353 * lyxfunc.C (dispatch): localDispatch -> dispatch
1355 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * lyxsocket.C: include <cerrno>
1359 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * lyxfunc.C (dispatch): remove textcache stuff
1363 * bufferlist.C (release): remove textcache stuff
1366 * TextCache.C: delete file
1367 * TextCache.h: delete file
1369 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1371 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1372 delete of the bv_->text.
1373 (resizeCurrentBuffer): remove texcache stuff
1374 (workAreaResize): ditto
1376 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1381 2003-10-16 André Pönitz <poenitz@gmx.net>
1388 * text3.C: speed up by storing y positions per paragraph plus per-row
1389 offset instead of having a 'full' y position in the row.
1391 2003-10-15 André Pönitz <poenitz@gmx.net>
1395 * undo.[Ch]: make undo aware of inner insets
1397 2003-10-14 Angus Leeming <leeming@lyx.org>
1399 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1400 static member functions LyX::ref() and LyX::cref.
1401 (lastfiles): new accessor functions for the new lastfiles_ member var.
1402 (addLyXView, views_): add a new LyXView to the list of views_.
1403 (updateInset): loop over all LyXViews to call their own updateInset
1404 member function, returning a pointer to the Buffer owning the inset.
1406 * BufferView_pimpl.C (loadLyXFile):
1407 * MenuBackend.C (expandLastfiles):
1408 * bufferlist.C (MenuWrite, QuitLyX):
1409 lastfiles is no longer a global variable.
1410 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1412 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1413 static function. Access through LyX::cref().emergencyCleanup().
1415 2003-10-14 André Pönitz <poenitz@gmx.net>
1417 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1419 * undo.[Ch]: restoring part of 'undo in insets'
1422 * undo_funcs.[Ch]: merge with undo.[Ch]
1424 * tabular.C: small cleansing stuff
1426 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1428 * paragraph_funcs.C (readParToken): report unknown insets as error
1429 boxes. Use the outer paragraph as location (also for unknown
1432 * factory.C (readInset): do not abort on reading an unknown inset.
1433 Eat it and return 0.
1435 2003-10-13 Angus Leeming <leeming@lyx.org>
1437 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1439 * lyxrc.C: displayTranslator is now a function,
1440 declared in GraphicsTypes.h.
1442 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1444 * format.C: new placeholder $$a to pass the socket address.
1446 * bufferlist.[Ch]: new function getBufferFromTmp.
1448 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1449 files in the temporary dir.
1451 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1453 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1455 * Makefile.am: add lyxsocket.[Ch].
1457 * lyx_main.C (error_handler): handle SIGPIPE.
1459 2003-10-13 André Pönitz <poenitz@gmx.net>
1461 * BufferView_pimpl.C:
1466 * undo_funcs.[Ch]: use paroffset_type instead of
1467 ParagraphList::iterators to prevent multiple conversion
1468 (and get a more robust interface)
1470 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1474 * text3.C (dispatch): ditto
1476 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1479 move the onlyfile, use onlyfile instead of foundfile in a couple
1482 * DepTable.C (update): flush the error stream a bit more
1484 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * lyxserver.C (callback): adjust
1488 * lyxfunc.C (getStatus): add a missing brace in commented code
1489 (ensureBufferClean): reindent
1490 (dispatch): delete version taking a string
1492 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * LaTeX.C (deplog): move found file handlig from here...
1495 (handleFoundFile): .. to new function here.
1496 (deplog): make sure to discover several files mentioned on the
1499 2003-10-10 André Pönitz <poenitz@gmx.net>
1506 * text3.C: fix some of the tabular crashes
1508 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1510 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1512 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1514 2003-10-09 André Pönitz <poenitz@gmx.net>
1516 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1519 * BufferView_pimpl.C:
1520 * bufferview_funcs.C:
1531 * undo_funcs.C: adjust
1533 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * text2.C (incrementItemDepth): new function, use a backtracking
1536 algorithm to discover the correct item depth.
1537 (resetEnumCounterIfNeeded): new function, use a backtracking
1538 algorithm to discover if counter reset is needed.
1539 (setCounter): use them. Simplify a bit. Add different labels for
1540 different item depths for itemize.
1542 * paragraph.C (Paragraph): remove initialization of enumdepth
1545 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1546 enumerate and itemize. Change the type of itemdepth to signed char.
1548 2003-10-08 André Pönitz <poenitz@gmx.net>
1550 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1555 * tabular.[Ch]: fix crash after 'row-insert'
1557 2003-10-08 Angus Leeming <leeming@lyx.org>
1559 Fix doxygen warnings.
1561 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1562 Remove CutAndPaste:: prefix from header file declaration.
1564 * LColor.h (fill): remove LColor:: prefix from declaration.
1566 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1567 use lyx::depth_type rather than Paragraph::depth_type so that
1568 header file and .C file match.
1570 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1572 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1573 * aspell.C: \file aspell_local.C -> \file aspell.C
1574 * gettext.C: \file gettext.C -> \file src/gettext.C
1575 * gettext.h: \file gettext.h -> \file src/gettext.h
1576 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1577 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1578 * text.C: \file text.C -> \file src/text.C
1580 * toc.C: move comment so that doxygen is not confused.
1582 2003-10-07 Angus Leeming <leeming@lyx.org>
1584 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1586 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1589 * aspell_local.h: add forgotten std::string's.
1591 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1598 * text3.C: The Box patch. Fancybox support, minipage, parbox
1600 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1606 * ParagraphParameters.h:
1616 * lyxtextclasslist.h:
1619 * paragraph_pimpl.C:
1620 * textcursor.h: add <string> and other small fixes to make Lars'
1621 std::string patch compile with STLport.
1623 2003-10-06 Angus Leeming <leeming@lyx.org>
1625 * LColor.h: Add missing #include <string>.
1627 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * All most all file in all subdirs: Make <string> be the prefered
1630 way of getting to std::string, add using declarations.
1632 2003-10-06 André Pönitz <poenitz@gmx.net>
1634 * metricsinfo.C: initialize LyXFont before changing attribute.
1635 (fixes the 'math in \emph is upright' bug)
1637 2003-10-06 André Pönitz <poenitz@gmx.net>
1639 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1641 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1644 * paragraph_pimpl.C: Small fixes to build using STLport
1646 2003-10-02 André Pönitz <poenitz@gmx.net>
1649 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1651 2003-10-01 André Pönitz <poenitz@gmx.net>
1653 * factory.C: assert early
1655 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * lyx_main.C: remove the global debug object
1659 * debug.h: adjust for new debugstream
1661 * debug.C: adjust for new debugstream and keep the global debug
1664 2003-09-22 Angus Leeming <leeming@lyx.org>
1666 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1667 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1668 an incomplete class LyXFont.
1670 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1672 * factory.C: bug fix in branches
1674 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * lyxfunc.C (processKeySym): adjust
1678 (dispatch): change arg name from ev to func, adjust
1679 (sendDispatchMessage): ditto
1681 * lyx_main.C (defaultKeyBindings): adjust keybindings
1682 (deadKeyBindings): ditto
1684 * kbsequence.C (addkey): return a FuncRequest
1686 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1688 * kbmap.C (bind): take a FuncRequest as arg, adjust
1691 (defkey): change to take a FuncRequest as arg, adjust
1692 (findbinding): take a FuncRequest as arg, adjust.
1694 * funcrequest.h (operator=): added
1696 * funcrequest.C (FuncRequest): default kb_action changed from
1697 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1699 * buffer.C (dispatch): simplify
1700 (dispatch): adjust to take a FuncRequest as arg, adjust
1702 * boost.C (assertion_failed): change assertion message slightly
1704 * ToolbarBackend.C (read): simplify
1706 * MenuBackend.C (binding): adjust call to findbinding, add a
1707 message if no binding is found.
1709 (expandToc): correct by adding a empty FuncRequest
1711 * LyXAction.C: include <boost/assert.hpp>
1712 (isPseudoAction): delete function
1713 (LookupFunc): change name to...
1714 (lookupFunc): this. change return type to FuncRequest.
1715 (getActionName): take kb_action as arg, simplify
1716 (funcHasFlag): add an assert, simplify.
1718 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * toc.C (action): return a FuncRequest, simplify
1722 * lyxfunc.C (processKeySym): adjust
1723 (getStatus): delete version that takes an int.
1725 (dispatch): delete version that takes action as int
1727 (sendDispatchMessage): simplify and adjust
1729 * funcrequest.C (getArg): take unsigned int as arg
1731 * ToolbarBackend.C (read): adjust
1732 (add): delete version that takes func as a string.
1733 (getIton): take a FuncRequest as arg
1735 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1738 * MenuBackend.C (MenuItem): add a new construct that only takes a
1739 Kind, simplify the constructor use for submenus.
1741 (expandLastfiles): adjust
1742 (expandDocuments): adjust
1743 (expandFormats): adjust
1744 (expandFloatListInsert): adjust
1745 (expandFloatInsert): adjust
1746 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1748 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1749 Remove class variables lyx_pseudo_map and lyx_arg_map
1751 * LyXAction.C (searchActionArg): delete function
1752 (getPseudoAction): delete function
1753 (retrieveActionArg): delete function
1754 (LookupFunc): make it return kb_action, simplify.
1755 (getActionName): simplify
1757 * factory.C (createInset): fix new bug
1759 2003-09-19 Angus Leeming <leeming@lyx.org>
1761 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1762 masterFilename_ parameter in the include inset.
1764 * factory.C (createInset): changes due to the changes to InsetInclude.
1766 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1768 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1770 2003-09-18 Angus Leeming <leeming@lyx.org>
1773 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1774 Inset::fillWithBibKeys.
1775 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1777 2003-09-18 Angus Leeming <leeming@lyx.org>
1779 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1781 (ctor): pass and store a 'Buffer const &'
1782 (buffer): new member function.
1784 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1785 '*this' to the LaTeXFeatures ctor.
1787 2003-09-18 Angus Leeming <leeming@lyx.org>
1793 * text.C: rename EnumLColor as LColor_color.
1795 2003-09-18 Angus Leeming <leeming@lyx.org>
1797 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1798 remove #include "insets/insetbase.h" from cursor.h.
1800 2003-09-18 Angus Leeming <leeming@lyx.org>
1802 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1803 InsetOld_code to remove #include "inset.h".
1805 * iterators.C: add #include "insets/inset.h"
1807 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1809 * BufferView.C: remove more locking stuff that apparently doesn't
1810 do anything sensible.
1812 2003-09-16 André Pönitz <poenitz@gmx.net>
1815 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1818 2003-09-16 Angus Leeming <leeming@lyx.org>
1820 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1822 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1825 * paragraph.h: remove #include "lyxfont.h". Forward declare
1828 2003-09-16 Angus Leeming <leeming@lyx.org>
1830 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1831 of support/textutils.h.
1832 (isWord): move the contents of support/textutils.h's IsWordChar here.
1838 * text2.C: add #include "paragraph.h".
1841 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1843 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1849 * LaTeX.C: use namespace alias for lyx::support::os
1851 2003-09-16 Angus Leeming <leeming@lyx.org>
1854 * bufferview_funcs.C:
1857 * paragraph_pimpl.C:
1859 * text.C: add #include "LColor.h".
1861 2003-09-16 Angus Leeming <leeming@lyx.org>
1863 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1864 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1866 Store the FontBits::color variable as an int rather than as an
1867 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1870 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1871 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1872 string calls together.
1874 * lyxrc.C: add #include "LColor.h".
1876 2003-09-15 Angus Leeming <leeming@lyx.org>
1878 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1881 2003-09-15 Angus Leeming <leeming@lyx.org>
1883 * LColor.h: add an EnumLColor wrapper for LColor::color.
1885 * lyxfont.[Ch] (color, setColor, realColor):
1886 * lyxtext.h, text.C (backgroundColor):
1887 pass EnumLColor args to/from the functions, rather than LColor::color
1891 * lyxtext.h: forward declare EnumLColor.
1893 * lyx_main.C: add #include "LColor.h".
1895 2003-09-15 Angus Leeming <leeming@lyx.org>
1897 * .cvsignore: add lyx-gtk.
1899 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * ParagraphParameters.C
1908 * bufferview_funcs.C
1918 * vc-backend.C: remove usage of STRCONV
1920 2003-09-15 Angus Leeming <leeming@lyx.org>
1922 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1923 explicitly define the color passed to the painter.
1925 2003-09-15 Angus Leeming <leeming@lyx.org>
1927 * bufferparams.C (BufferParams): reorder member initializers to avoid
1930 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1932 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1933 * text.C (updateRowPositions): remove an unusual nop
1935 2003-09-12 André Pönitz <poenitz@gmx.net>
1937 * BufferView_pimpl.C:
1946 * Counters.[Ch]: finish the 'automatic counters' job
1948 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1950 * aspell.C: include <boost/assert.cpp> (compile fix)
1952 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1954 * boost.C (assertion_failed): use lyx::support::abort instead of
1957 2003-09-10 Angus Leeming <leeming@lyx.org>
1959 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1960 with their _fwd progeny.
1962 2003-09-09 Angus Leeming <leeming@lyx.org>
1964 134 files throughtout the source tree: replace 'using namespace abc;'
1965 directives with the appropriate 'using abc::xyz;' declarations.
1967 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1969 * boost.C (emergencyCleanup): moved here from LAssert.c
1970 (assertion_failed): new function, called by BOOST_ASSERT
1972 * several files: change Assert to BOOST_ASSERT
1974 2003-09-09 Angus Leeming <leeming@lyx.org>
1976 * buffer.[Ch]: Add an Impl class and move Buffer's member
1977 variables into it. As a result move several header files out of
1980 Add header files to lots of .C files all over the tree as a result.
1982 2003-09-09 Angus Leeming <leeming@lyx.org>
1984 * buffer.[Ch]: make Buffer's member variables private. Add
1987 Lots of changes all over the tree as a result.
1989 2003-09-08 Angus Leeming <leeming@lyx.org>
1991 * graph.C: #include <config.h>.
1993 2003-09-08 Angus Leeming <leeming@lyx.org>
1997 * BufferView_pimpl.C:
2026 * toc.C: remove redundant using directives.
2028 2003-09-07 Angus Leeming <leeming@lyx.org>
2030 * LaTeXFeatures.h: remove #include "support/types.h".
2031 * ToolbarBackend.h: remove #include <algorithm>.
2032 * changes.h: remove #include <ctime>.
2033 * debug.h: remove #include <iosfwd>.
2034 * graph.h: remove #include "support/std_string.h".
2035 * lyx_main.h: remove #include <csignal>.
2036 * lyxlex_pimpl.h: remove #include <fstream>.
2037 * sgml.h: remove #include <algorithm>, <utility>.
2038 * toc.h: remove #include "support/std_ostream.h".
2039 Add #include <iosfwd>.
2041 2003-09-07 Angus Leeming <leeming@lyx.org>
2043 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2045 * converter.h: forward declare LatexRunParams.
2046 * encoding.h: remove #include "lyxrc.h".
2047 * lyxtext.h: remove #include "LColor.h".
2048 * lyxtextclass.h: remove #include "support/types.h".
2049 * trans.h: remove #include "tex-accent.h".
2050 * trans_mgr.h: remove #include "tex-accent.h".
2051 * insets/inset.h: remove #include "support/types.h", <vector>.
2052 * insets/insetcollapsable.h: remove #include "LColor.h".
2053 * insets/insetinclude.h: remove #include "dimension.h".
2054 * insets/insetlatexaccent.h: remove #include "dimension.h".
2055 * insets/insetoptarg.h:: remove #include "insettext.h".
2056 * insets/insettext.h: remove #include "dimension.h",
2057 <boost/shared_ptr.hpp>
2059 * insets/renderers.h: add #include "dimension.h".
2060 * insets/updatableinset.h: add #include "support/types.h".
2062 * many .C files: Associated changes.
2064 2003-09-06 Angus Leeming <leeming@lyx.org>
2066 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2067 one, inside testInvariant.
2069 * PrinterParams.C: new file.
2070 * PrinterParams.[Ch]: move the function bodies out of line.
2072 2003-09-06 Angus Leeming <leeming@lyx.org>
2074 * ParagraphParameters.h: forward declare ParameterStruct rather than
2075 including its header file.
2076 (depth): moved out-of-line.
2078 2003-09-06 Angus Leeming <leeming@lyx.org>
2080 * BufferView_pimpl.h:
2083 * lyxfunc.h: forward declare LyXKeySym rather than
2084 #include "frontends/LyXKeySym.h".
2086 * BufferView_pimpl.C:
2089 * lyxfunc.C: associated changes.
2091 2003-09-06 Angus Leeming <leeming@lyx.org>
2093 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2094 As a result, can remove the #include "insets/inset.h" from BufferView.h
2096 2003-09-06 Angus Leeming <leeming@lyx.org>
2098 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2099 As a result, can remove the #include "insets/inset.h" from BufferView.h
2101 2003-09-06 Angus Leeming <leeming@lyx.org>
2107 * bufferview_funcs.C:
2108 * BufferView_pimpl.C:
2113 * ParagraphParameters.C:
2118 * frontends/controllers/ControlDocument.C:
2119 * insets/insetcaption.C: rearrange the #includes into some sort of
2122 * buffer.h: remove #includes ErrorList.h, undo.h
2124 2003-09-06 Angus Leeming <leeming@lyx.org>
2126 * support/types.h: add a 'depth_type' typedef, used to store the
2127 nesting depth of a paragraph.
2130 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2131 defining explicitly.
2134 * paragraph_funcs.h:
2135 * ParagraphParameters.h:
2136 * sgml.h: use lyx::depth_type rather than Paragraph or
2137 ParameterStruct's depth_type.
2140 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2143 * BufferView_pimpl.C:
2145 * ParagraphParameters.C:
2148 * bufferview_funcs.C:
2155 * frontends/LyXView.C:
2156 * frontends/controllers/ControlDocument.C:
2157 * frontends/controllers/ControlErrorList.C:
2158 * insets/insetbibitem.C:
2159 * insets/insetbranch.C:
2160 * insets/insetcaption.C:
2161 * insets/insetcollapsable.C:
2162 * insets/insetenv.C:
2163 * insets/insetert.C:
2164 * insets/insetfloat.C:
2165 * insets/insetfoot.C:
2166 * insets/insetfootlike.C:
2167 * insets/insetnewline.C:
2168 * insets/insetquotes.C:
2169 * insets/insettabular.C:
2170 * insets/insettext.C:
2171 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2173 * frontends/controllers/ControlChanges.C: #include "changes.h".
2175 2003-09-06 Angus Leeming <leeming@lyx.org>
2177 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2178 than #including paragraph.h.
2181 * RowList.h: deleted. Superfluous.
2191 * insets/insettext.h: use ParagraphList_fwd.h rather than
2194 * paragraph.h: don't forward declare ParagraphList.
2197 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2198 rather than ParagraphList.h. paragraph.h is still needed for the
2199 Paragraph::depth_type parameters.
2201 * textcursor.h: enable it to compile stand-alone in light of the
2204 * bufferview_funcs.C:
2216 * frontends/controllers/ControlParagraph.C:
2217 * frontends/controllers/ControlTabular.C:
2218 * insets/insetmarginal.C:
2219 * insets/insetminipage.C:
2220 * insets/insetnote.C:
2221 * insets/insetoptarg.C: add header files needed to compile again.
2223 2003-09-06 Angus Leeming <leeming@lyx.org>
2225 * RowList_fwd.h: new file, forward-declaring Row rather than
2226 #including lyxrow.h.
2231 * insets/insettext.h: use it instead of RowList.h
2233 * bufferview_funcs.C:
2240 * text3.C: #include "RowList.h".
2242 2003-09-05 Angus Leeming <leeming@lyx.org>
2244 * factory.C (createInset):
2245 * vspace.C (c-tor): replace sscanf call with an istringstream.
2246 * ispell.C: re-add missing HP/UX headers.
2247 * lyxserver.C: re-add missing os2 headers.
2249 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2258 * text3.C: re-add missing system headers, needed for 2.95.2.
2260 2003-09-05 Angus Leeming <leeming@lyx.org>
2262 Changes most place everywhere due to the removal of using directives
2263 from support/std_sstream.h.
2265 2003-09-05 Angus Leeming <leeming@lyx.org>
2267 Replace LString.h with support/std_string.h,
2268 Lsstream.h with support/std_sstream.h,
2269 support/LIstream.h with support/std_istream.h,
2270 support/LOstream.h with support/std_ostream.h.
2272 Changes resulting throughout the tree.
2274 2003-09-05 Angus Leeming <leeming@lyx.org>
2276 * sgml.h: ensure that the header file can be compiled stand-alone.
2277 * *.C: strip out redundant #includes. (320 in total.)
2279 2003-09-04 Angus Leeming <leeming@lyx.org>
2281 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2282 here (from getPackages).
2284 * debug.[Ch]: add a new EXTERNAL tag.
2286 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2288 * text2.C (cursorEnd): simplify
2290 (getColumnNearX): adjust
2292 * text.C (computeBidiTables): adjust
2295 * rowpainter.C (paintChars): adjust
2296 (paintSelection): adjust
2297 (paintChangeBar): adjust
2300 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2302 (numberOfSeparators): adjust
2304 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2310 * text3.C: Restricts the mouse click functionality
2311 of insets like bibtex, include, toc and floatlist to the visible
2312 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2313 up the dialogs. Cursor has to be in front of the inset (i.e.
2314 start of row) for this to function.
2316 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2318 * bufferview_funcs.C (currentState): output row information
2320 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2322 * bufferview_funcs.C (currentState): output paragraph position
2324 2003-09-04 Angus Leeming <leeming@lyx.org>
2326 * FloatList.h: move out #include "Floating.h".
2327 * LaTeX.h: move out #include "DepTable.h".
2328 * LyXAction.h: move out #include "funcrequest.h".
2329 * buffer.h: move out #include "author.h", "iterators.h".
2330 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2331 * lyx_main.h: move out #include "errorlist.h".
2332 * lyxfunc.h: move out #include "FuncStatus.h".
2333 * lyxtext: move out #include "lyxcursor.h".
2334 * paragraph_pimpl.h: move out #include "counters.h".
2336 2003-09-03 Angus Leeming <leeming@lyx.org>
2338 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2339 preamble_snippets list, enabling us to add snippets to the preamble
2340 only if the snippet was not there already.
2342 2003-09-04 Angus Leeming <leeming@lyx.org>
2344 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2346 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2348 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2351 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2353 * BranchList.C: point fix, earlier forgotten
2355 2003-09-02 Angus Leeming <leeming@lyx.org>
2357 * box.C (contains): renamed from 'contained' after a fantastic
2360 2003-09-02 John Levon <levon@movementarian.org>
2366 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2368 2003-09-02 John Levon <levon@movementarian.org>
2370 * text2.C: simplification of cursorEnd(), including partial
2373 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * buffer.C (readFile): add a space
2377 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2379 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2381 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * buffer.C (readFile): new function, take a filename and a
2384 ParagraphList::iterator
2386 (readFile): adjust, make it private. don't use setStream, make
2387 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2388 always contain the filename.
2390 * BufferView.C (insertLyXFile): simplify and make it work for
2393 2003-08-30 John Levon <levon@movementarian.org>
2395 * Makefile.am: fix dist (from Kayvan)
2397 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * most files: change to use const Buffer refs
2401 2003-08-27 André Pönitz <poenitz@gmx.net>
2403 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2404 on top of ownerPar().
2406 2003-08-27 John Levon <levon@movementarian.org>
2408 * funcrequest.C: properly initialise POD members
2410 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2412 * lyxtext.h (top_y): move top_y from here
2417 * BufferView_pimpl.[Ch]: to here
2418 * frontends/screen.C:
2419 * insets/insettabular.C:
2420 * insets/insettext.C: adjust
2421 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2423 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2426 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2428 2003-08-26 André Pönitz <poenitz@gmx.net>
2430 * paragraph_func.[Ch] (outerPar): new function
2433 * paragraph_funcs.C:
2434 * paragraph_funcs.h:
2435 * paragraph_pimpl.C:
2436 * text2.C: remove Inset::par_owner
2438 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2443 * text2.C: eliminates the needFullRow/display() stuff
2444 altogether, putting the logic in metrics/draw in the insets.
2446 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2448 * text2.C (redoParagraphInternal, redoParagraphs):
2449 * text.C (redoParagraph): add a call to updateRowPositions at the
2450 end of each 'metrics-like' call. Remove all others.
2451 (getRow): remove the 'y-computing' version.
2452 (getRowNearY): do not compute nor return the real y. Solve the
2453 'y < 0' problem and simplify.
2455 2003-08-22 Angus Leeming <leeming@lyx.org>
2457 * *.[Ch]: clean-up of licence and author blurbs.
2458 Also move config.h out of a few .h files and into a few .C files.
2460 2003-08-22 André Pönitz <poenitz@gmx.net>
2462 * lyxrow.[Ch]: add x_ and *fill_ members
2467 * text2.C: adjust/remove prepareToPrint() calls
2469 2003-08-22 André Pönitz <poenitz@gmx.net>
2471 * lyxrow.[Ch]: add end_ member
2473 * lyxrow_funcs.C: use LyXRow::end_
2475 * lyxtext.h (singleWidth): add LyXFont parameter
2478 * text2.C: adjust LyXText::singleWidth() calls
2480 * text.C (redoParagraph): simplify row breaking logic
2483 2003-08-19 André Pönitz <poenitz@gmx.net>
2485 * funcrequest.C: initialize button_ member
2488 * rowpainter.[Ch]: interface consolidation
2490 2003-08-18 André Pönitz <poenitz@gmx.net>
2493 * BufferView_pimpl.C:
2495 * paragraph_funcs.C:
2497 * text3.C: remove LyXScreen::draw() and fitCursor calls
2499 * BranchList.h: remove spurious semicolons
2501 * MenuBackend.C: fix branchlist related crash
2503 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2511 * bufferparams.[Ch]:
2515 * text3.C: implements the 'branch inset'
2516 idea. This allows the output of various versions of a document
2517 from a single source version, selectively outputing or suppressing
2518 output of parts of the text.
2519 This implementation contains a 'branch list editor' in a separate
2520 tab of the document settings dialog. Branches are user definable
2521 and have a "display colour" to distinguish them on-screen.
2523 ColorHandler was somewhat cleaned up.
2524 (1) make possible a dynamically growing LColor list by allowing
2525 the graphic context cache to grow along (vector);
2526 (2) eliminate an IMHO unnecessary step in colour allocation.
2528 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2530 * BufferView_pimpl.C: compile fix
2532 2003-08-15 André Pönitz <poenitz@gmx.net>
2534 * rowpainter.C: remove extra metrics calls
2536 * lyxtext.h: merge the two constructors into a single one,
2537 pass reference to owner's par list
2539 * BufferView_pimpl.C:
2543 2003-08-15 André Pönitz <poenitz@gmx.net>
2545 * lyxrow_funcs.[Ch]:
2548 * paragraph_funcs.C:
2553 * text_funcs.C: split LyXText::rowlist_ into individual
2554 Paragraph::rows_ chunks
2557 * BufferView_pimpl.[Ch]:
2560 * text3.C: remove toggleSelection()
2562 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2564 * bufferlist.C: beautify two alerts (shorter text of buttons)
2565 * buffer.C: Remove redundant ' ' from message
2567 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2568 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2569 rename VALIGN_CENTER to VALIGN_MIDDLE
2571 2003-08-11 André Pönitz <poenitz@gmx.net>
2573 * lyxtext.h (getPar):
2574 * text.C: new function
2576 2003-08-11 André Pönitz <poenitz@gmx.net>
2579 * tracer.[Ch]: remove unneeded files
2581 * InsetList.[Ch]: remove resizeInsetsLyXText()
2586 * text3.C: merge insertParagraphs() and appendParagraph()
2587 remove breakAgain(), update()
2589 * BufferView_pimpl.[Ch]:
2590 * bufferview_funcs.[Ch]:
2594 * tabular.C: adjust after text & InsetList changes.
2596 2003-08-08 André Pönitz <poenitz@gmx.net>
2598 * text.C (insertChar, backspace): replace rowlist fiddling
2599 with rebreak of full par
2602 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2603 checkParagraph, updateInset): removed
2605 2003-08-07 André Pönitz <poenitz@gmx.net>
2608 * text3.C: merge some LFUN handlers, remove dead code
2610 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2614 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2616 * text2.C (DEPM): fix part of bug 1255 and 1256
2618 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * BufferView_pimpl.C (workAreaDispatch): change to use
2621 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2622 that are no mouse related.
2624 2003-08-05 André Pönitz <poenitz@gmx.net>
2627 * BufferView_pimpl.[Ch]:
2628 * bufferview_funcs.C:
2630 * text3.C: rip out "deep update"
2632 * textcursor.[Ch] (last_sel_cursor): remove unused member
2634 2003-08-04 André Pönitz <poenitz@gmx.net>
2637 * BufferView_pimpl.[Ch]:
2638 * ParagraphParameters.C:
2639 * bufferview_funcs.C:
2645 * text3.C: replace "complicated" BufferView::update(...) calls with
2648 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2650 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2652 * Makefile.am (lyx_SOURCES): add paper.h
2654 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2656 * Makefile.am: move things around so that both lyx-qt and
2657 lyx-xforms can be built (according to --with-frontend). Then lyx
2658 is a symbolic link to lyx-[firstfrontend]
2660 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2662 * Always use std::endl with lyxerr
2664 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2666 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2668 2003-08-01 André Pönitz <poenitz@gmx.net>
2671 * BufferView_pimpl.[Ch]:
2673 * text3.C: merge BufferView::repaint() and BufferView::update()
2675 2003-08-01 José Matos <jamatos@lyx.org>
2677 * buffer.[Ch]: file_format is no longer a buffer data element.
2679 2003-08-01 André Pönitz <poenitz@gmx.net>
2684 * text2.C: make redoParagraph more independent of current cursor
2686 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2688 * text2.C: remove unneeded members
2690 2003-07-30 André Pönitz <poenitz@gmx.net>
2692 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2694 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2695 create a single function...
2697 * paragraph_funcs.C (moveItem): ... here.
2700 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2702 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2704 * LColor.[Ch]: Add comment and greyedout logical colors.
2706 2003-07-30 André Pönitz <poenitz@gmx.net>
2708 * tabular.C: don't use Assert too heavily. This crashes where it
2711 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2713 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2714 is disabled (bug 1232)
2716 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2718 * factory.C: limited 'arg' scope
2720 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2722 * factory.C: fixed Note submenu issues
2724 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2726 * factory.C: submenu for Note/Comment/Greyedout
2728 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2731 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2733 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2736 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2737 greyedout. Patch provided by Jürgen Spitzmüller.
2739 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2741 * kbmap.C (read): fix error message when reading bind files
2743 2003-07-29 Angus Leeming <leeming@lyx.org>
2745 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2746 certainly does not do what it purports to do. I am doing it, and
2747 us, a favour by killing it.
2749 2003-07-28 José Matos <jamatos@lyx.org>
2751 * buffer.C (readBody, do_writeFile):
2752 * paragraph.C(readParagraph): \end_document replaces \the_end.
2754 2003-07-29 André Pönitz <poenitz@gmx.net>
2757 * BufferView_pimpl.[Ch]:
2761 * textcursor.[Ch]: remove toggleToggle & Co
2763 2003-07-28 José Matos <jamatos@fep.up.pt>
2765 * buffer.C (readParagraph):
2766 * params_func (readParToken, readParagraph):
2767 * paragraph.C (write): \layout -> \begin_layout.
2769 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * lyxlex_pimpl.C (setFile): clean up slightly.
2773 * bufferparams.h: add compressed var
2775 * buffer_funcs.C (readFile): adjust for LyXLex change
2776 (newFile): ditto + simplify
2778 * buffer.C (writeFile): handle writing of compressed files
2780 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2781 Check if the file is compressed and set a bufferparm if so.
2783 * Makefile.am (lyx_LDADD): remove explicit -lz
2785 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2787 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2788 makeDocBookFile): put the real LyX version in the first line of
2792 * version.C.in: remove lyx_docversion
2794 * tabular.C (write_attribute): add a template-based version to
2795 write enums properly
2797 2003-07-28 André Pönitz <poenitz@gmx.net>
2802 * text3.C: use doubles again for x-coordinates. They are needed.
2804 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * messages.C (getLocaleDir): use lyx_localedir()
2808 * lyxlex_pimpl.C (setFile): compress stuff
2810 * buffer.C (writeFile): add some compression stuff
2811 (do_writeFile): new func, dont call expliti close... will this
2814 * Makefile.am (lyx_LDADD): add -lz
2816 2003-07-28 José Matos <jamatos@fep.up.pt>
2818 * buffer.C: increment file format.
2819 * paragraph_funcs (readParagraph, readParToken):
2820 * paragraph.C (readParagraph): add \end_layout.
2822 2003-07-27 Angus Leeming <leeming@lyx.org>
2824 * Makefile.am: remove special casing for configure-time setting of
2825 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2827 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2828 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2830 2003-07-26 André Pönitz <poenitz@gmx.net>
2832 * paragraph_func.[Ch]:
2833 * paragraph.C (realizeFont): inline it whereever it is used
2838 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2841 2003-07-26 André Pönitz <poenitz@gmx.net>
2845 * text2.C: get rid of LyXText::need_break_row
2847 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * toc.[Ch]: put namespace toc inside namespace lyx
2851 * MenuBackend.C (expandToc2): adjust for lyx::toc
2854 * lyxfunc.C (dispatch): adjust for lyx::find
2856 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2857 lyx::find instead. Reorganize a bit.
2858 (LyXReplace): rename to replace
2859 (LyXFind): rename to find
2861 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2864 2003-07-26 André Pönitz <poenitz@gmx.net>
2866 * text.C (setHeightOfRow): restrict scope of temporary variable
2868 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2869 code (never has been used?)
2871 2003-07-27 Asger Alstrup <alstrup@local>
2873 * text.C (fill): Optimise algorithm to exploit that we can reuse
2874 the LyXFont for many characters.
2875 (setHeightOfRow): Same thing.
2876 (rowBreakPoint): Same thing.
2878 2003-07-26 Asger Alstrup <alstrup@local>
2880 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2882 * text.C (singleWidth): Spurious font copying in hot-spot
2883 singleWidth avoided. Reorder tests for arabic for efficiency.
2885 * text.C (fill): handle empty paragraphs better.
2887 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2890 * encoding.h: add includes
2892 * lyxrc.C: remove reading of bind files
2894 * lyx_main.C (init): setup bindings and menus only if we have a
2897 * kbmap.C (read): new method. Do the actual reading of bind
2900 * converter.C (dvipdfm_options):
2903 (output): adapt PAPER_* enums.
2905 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2907 * bufferparams.h: remove paper-related enums from there
2909 * paper.h: New file. A trivial header file to hold paper-related
2910 enums. It should later expand to contain many paper-related
2913 * lyxrc.C: declare extern displayTranslator
2915 2003-07-27 José Matos <jamatos@fep.up.pt>
2917 * tabular.[Ch] (linuxdoc): add support for tables and figures
2920 2003-07-27 José Matos <jamatos@fep.up.pt>
2922 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2923 consistency in both functions.
2924 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2926 2003-07-26 Asger Alstrup <alstrup@local>
2928 * rowpainter.C (paintRows): Change algorithm to work directly on
2929 the insets rather than asking every character in the document
2930 whether its an inset.
2932 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2934 * buffer.C (openFileWrite): factorize some code
2936 2003-07-26 Angus Leeming <leeming@lyx.org>
2939 * lyx_main.[Ch]: replace occurances of system_tempdir with
2942 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * rename Inset to InsetOld
2946 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2948 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2949 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2950 which I think is a bit clearer. EDIT is gone, since it was
2951 premature optimisation, and broken for mathed anyway.
2952 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2953 with cursor positioning in insets as well (math insets still do not
2954 work, but that's a different story anyway.) It mysteriously
2955 crashes sometimes with undo in the first paragraph, but I'm fairly
2956 confident that this is a compiler bug.
2958 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * paragraph.C (Paragraph): adjust for new clone return type
2962 (copyIntoMinibuffer): ditto
2964 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2966 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2967 by not having a special case, and always doing a full rebreak of
2968 the document after undo.
2970 2003-07-23 Angus Leeming <leeming@lyx.org>
2972 * factory.C (createInset): InsetExternal::setParams now takes a
2975 2003-07-23 Angus Leeming <leeming@lyx.org>
2977 * factory.C (createInset): changed interface to the external and
2978 graphics mailers' string2params functions.
2980 2003-07-23 Angus Leeming <leeming@lyx.org>
2982 * factory.C (createInset): pass a
2983 Buffer const * parameter to InsetExternalMailer's string2params.
2985 2003-07-22 John Levon <levon@movementarian.org>
2987 * Thesaurus.h: include the right aiksaurus header
2989 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2991 * MenuBackend.C (expand): check menu shortcuts unconditionally
2993 2003-07-21 Angus Leeming <leeming@lyx.org>
2995 * factory.C (createInset): pass a
2996 buffer_path parameter to InsetGraphicsMailer's string2params.
2998 2003-07-21 Angus Leeming <leeming@lyx.org>
3000 * BufferView_pimpl.C (buffer):
3003 * lyxfunc.C (dispatch):
3004 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3005 rather than the grfx shortcut.
3007 2003-07-21 André Pönitz <poenitz@gmx.net>
3009 * rowpainter.C: remove unused variables
3012 * tabular_funcs.h: move to tabular.C
3013 * Makefile.am: adjust
3015 * tabular.[Ch]: basic optical cleaning
3017 * author.h: pass references, not values
3019 2003-07-18 André Pönitz <poenitz@gmx.net>
3027 * text3.C: two-phase drawing for InsetText and InsetTabular
3028 some float -> int changes.
3030 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3032 * lyx_main.C: fix the fix
3034 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3036 * lyx_main.C: fix a crash in batch mode if no files specified
3039 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3041 * format.[Ch] (papersize): moved to BufferParams
3042 * converter.[Ch] (dvips_options): moved to BufferParams
3043 (dvipdfm_options): moved to anon namespace
3044 * bufferparams.[Ch]: added above functions.
3046 2003-07-17 André Pönitz <poenitz@gmx.net>
3050 * text2.C: don't call inset->update() anymore
3052 * metricsinfo.[Ch]: add convenience constructor
3054 2003-07-16 André Pönitz <poenitz@gmx.net>
3059 * text2.C: replace the LyXCursor::irow_ member with
3060 on-demand computation of the value
3062 2003-07-16 John Levon <levon@movementarian.org>
3064 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3066 2003-07-15 André Pönitz <poenitz@gmx.net>
3069 * text2.C: remove no more needed refresh_row
3071 2003-07-15 André Pönitz <poenitz@gmx.net>
3076 * text3.C: refresh_status tristate -> need_update bool
3078 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3080 * lyxtext.h (init): remove reinit argument (act as if always true)
3081 * text2.C: adjust to that
3083 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3085 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3086 * text3.C: use it to delete selections in some cases
3087 (bugs 441, 673, 702, 954).
3089 2003-07-14 André Pönitz <poenitz@gmx.net>
3091 * rowpainter.[Ch]: reduce interface
3093 2003-07-14 André Pönitz <poenitz@gmx.net>
3095 * BufferView_pimpl.C:
3096 * text2.C: adjust after removing unused BufferView * argument
3098 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3100 * text2.C (init): fix a crash fired on resize
3102 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3104 * buffer.[Ch]: added new closing signal
3105 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3106 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3107 BufferView::Pimpl via the closing the signal
3109 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3111 * buffer.[Ch]: take out all bv-related from buffer
3113 * BufferView_pimpl.[Ch]: connect to new signals
3114 * CutAndPaste.C: removed useless asserts
3115 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3118 * lyxfunc.C: moved view-related funciontality from vc here
3119 * paragraph.C: removed outdated comments
3122 2003-07-10 André Pönitz <poenitz@gmx.net>
3124 * BufferView_pimpl.C:
3128 * text2.C: remove InsetText::InnerCache, clean up consequences
3130 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3132 * ispell.C: fix two typos in error messages
3134 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3136 * Extend Note inset to other forms of annotation like Comment
3137 and Greyedout. Right button click gives dialog.
3139 Files modified or added (+):
3143 * ControlNote.[Ch] +
3145 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3146 frontends/controllers
3150 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3152 * aspell.C: add missing namespace lyx::support
3154 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3156 * BufferView.[Ch] (newFile): Add
3157 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3158 * LaTeX.[Ch] (message): added this signal and use it
3159 * buffer.[Ch] (busy, message): added these signals and use them
3160 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3164 * importer.C: use buffer signals instead of direct bv calling
3165 * lyx_cb.[Ch] (ShowMessage): removed
3168 * paragraph_funcs.C:
3169 * text2.C: use buffer signals
3171 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * introduce namespace lyx::graphics
3175 2003-07-02 André Pönitz <poenitz@gmx.net>
3177 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3179 2003-07-01 André Pönitz <poenitz@gmx.net>
3186 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3187 text*.C to text_func.C
3189 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * introduce namespace lyx::support
3193 2003-06-30 André Pönitz <poenitz@gmx.net>
3198 * text.C: re-enable --with-included-string
3200 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * textcursor.C: add <config.h>
3204 * text.C (getWord): remove const from word_location arg
3206 * lyxvc.C (getLogFile): fix const type order
3208 * lyxtext.h: remove const from word_location arg, add arg name
3210 * lyxlayout.h: currect type on labeltype.
3212 * importer.C: correct \file
3214 * converter.C (intToFormat): use std:: on ret val, ws changes
3216 * bufferlist.h: correct \file
3218 * buffer.C (makeLinuxDocFile): fix const type order
3219 (makeDocBookFile): ditto
3220 (fillWithBibKeys): use std:: on stdlib args.
3222 * CutAndPaste.C: fix authors.
3223 (availableSelections): use std:: on return vector
3225 2003-06-27 André Pönitz <poenitz@gmx.net>
3227 * BufferView_pimpl.C:
3228 * bufferview_funcs.C:
3236 * text3.C: remove LyXCursor::row_ member
3239 * text.C: rename fullRebreak() to partialRebreak() and implement
3240 a fullRebreak() that really bereks fully
3242 * textcursor.h: new struct for cursor-related data
3244 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3246 * lyx_main.C (LyX): get full path of document loaded on the
3249 2003-06-26 André Pönitz <poenitz@gmx.net>
3251 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3252 remove unused/broken operator>,<,>=.
3254 * text.C: remove only use of broken operator<= in an Assert().
3256 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3258 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3259 moved errorlist_.clear to showErrorList
3261 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3263 * converter.C (scanLog, runLaTeX):
3264 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3265 move the bv->showErrorList call to the callers
3266 * lyxfunc.C: i.e. here...
3268 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3269 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3270 namespace, the second to...
3271 * buffer_funcs (BufferFormat, parseErrors): added
3272 * errorlist.C (ErrorList(TeXErrors const &)): removed
3274 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3276 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3278 2003-06-24 "Garst R. Reese" <reese@isn.net>
3282 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3284 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3286 * version.C.in: change docversion to 1.4
3288 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3290 * buffer.C: fix a bug just introduced
3292 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3294 * buffer.[Ch]: added the parseError signal and use it, removed
3296 * BufferView.[Ch] (addError): moved to ...
3297 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3298 to the Buffer::parseError signal to catch (guess what) parse errors
3299 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3301 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3303 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3304 ability to create a buffer and to return an existing one from
3305 the list. Moved these functions to...
3306 * buffer_funcs.[Ch]: added
3307 * BufferView.[Ch] (loadLyXFile): added
3308 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3309 job removed from bufferlist::loadLyXFile.
3310 * buffer.C (setReadOnly): make it work without view
3311 (i.e added an if (users))
3313 2003-06-19 Angus Leeming <leeming@lyx.org>
3316 * LyXAction.C (init):
3317 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3318 with LFUN_DIALOG_SHOW <name> <data>.
3320 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3322 * CutAndPaste.C (availableSelections): small compilation fix for
3323 ancient (gcc 2.9x) compilers
3325 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * text3.C (cursorNext): add tmp var
3329 * text2.C (updateCounters): for function calling out of for clause
3330 (replaceSelectionWithString): ditto
3331 (insertStringAsParagraphs): ditto
3332 (getColumnNearX): add tmp var
3333 (setCursorFromCoordinates): add tmp var
3334 (cursorDownParagraph): add tmp var
3335 (deleteEmptyParagraphMechanism): add tmp var
3337 * text.C (insertChar): add tmp var
3339 * rowpainter.C (paintDepthBar): add tmp var
3341 * CutAndPaste.C (availableSelections): potentially check all
3342 paragraphs in a cut to fill the shown strings.
3344 2003-06-18 André Pönitz <poenitz@gmx.net>
3346 * kbmap.[Ch]: use vector<> instead of list<>
3348 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3350 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3351 pasteSelection with index
3353 * text2.C (pasteSelection): modify, call pasteSelection with index
3355 * paragraph.C (asString): reimplement version with no interval to
3356 call the one with interval.
3358 * lyxtext.h: add index arg to pasteSelection
3360 * MenuBackend.C (MenuItem): handle PasteRecent
3361 (Menu::read::Menutags): add md_pasterecent
3363 (expandPasteRecent): new function
3366 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3368 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3370 (availableSelections): new function
3372 2003-06-17 Angus Leeming <leeming@lyx.org>
3374 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3376 2003-06-17 Angus Leeming <leeming@lyx.org>
3379 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3381 * lyxfunc.C (dispatch): invoke it.
3383 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3385 * iterators.C (operator++, ParPosition): reintroduce some
3386 const_cast for the benefit of older compilers.
3388 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3390 * text3.C (dispatch): do not modify clipboard when doing
3391 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3392 LFUN_DELETE_SKIP on a selection selection
3394 2003-06-16 André Pönitz <poenitz@gmx.net>
3400 * tabular.[Ch]: IU of clone() and getLabelList();
3402 2003-06-13 André Pönitz <poenitz@gmx.net>
3404 * tabular.h: compactification
3406 2003-06-12 André Pönitz <poenitz@gmx.net>
3410 * tabular_funcs.h: some renaming plus whitespace
3412 2003-06-12 André Pönitz <poenitz@gmx.net>
3415 * BufferView_pimpl.C:
3421 * toc.C: Return a Paragraph & for ParIterator::operator*()
3423 2003-06-11 John Levon <levon@movementarian.org>
3427 * ToolbarBackend.C: add "Toolbars" section and
3430 2003-06-10 Angus Leeming <leeming@lyx.org>
3433 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3435 * lyxfunc.C (dispatch): invoke it.
3437 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * main.C: protect <ios> with HAVE_IOS
3440 (main): protect sync_with_stdio with HAVE_IOS
3442 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3444 * text2.C (cutSelection): adjust
3445 (pasteSelection): adjust
3447 * messages.C: handle get of empty string
3449 * main.C (main): use sync_with_stdio(false)
3451 * lyxfunc.C (dispatch): adjust
3453 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3454 (WriteAs): remove unneeded BufferView arg.
3456 * bufferparams.h: use correct types on papersize, papersize2 and
3459 * bufferparams.C (readToken): adjust for type
3460 (writeLaTeX): add missing cases to switch.
3462 * bufferlist.C (quitWriteBuffer): adjust
3465 * buffer.C (asciiParagraph): remove some commented code.
3467 * CutAndPaste.C: remove current_view extern variable.
3468 (cutSelection): add BufferParams arg.
3469 (eraseSelection): add BufferParams arg.
3470 (pasteSelection): add Buffer const & arg
3472 2003-06-07 John Levon <levon@movementarian.org>
3475 * paragraph_funcs.C:
3476 * paragraph_pimpl.C:
3480 * paragraph.C: allow InsetERT to freely space lines,
3481 and some consolidation of code
3483 2003-06-06 José Matos <jamatos@fep.up.pt>
3485 * buffer.C (makeDocBookFile): fix bug #821
3487 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3489 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3491 2003-06-04 Angus Leeming <leeming@lyx.org>
3493 * buffer.C: bump format to 224.
3495 2003-06-05 André Pönitz <poenitz@gmx.net>
3497 * text2.C (redoParagraphs): remove two const_cast<>
3499 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3501 * ParagraphList.h: remove last remnants of NO_STD_LIST
3503 2003-06-03 Angus Leeming <leeming@lyx.org>
3505 * factory.C (createInset): small change to the way InsetExternal's params
3508 2003-06-04 André Pönitz <poenitz@gmx.net>
3510 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3512 * paragraph_pimpl.h:
3513 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3515 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3517 * undo_funcs.C: make some simple cases of undo work again
3519 2003-06-03 John Levon <levon@movementarian.org>
3521 * ispell.C: HPUX doesn't have sys/select.h
3524 2003-06-03 John Levon <levon@movementarian.org>
3526 * CutAndPaste.C: update tabular and include inset
3531 * paragraph.C: remove owningBuffer(), don't pass Buffer
3534 * factory.C: insetGraphicsParams changed
3536 2003-06-02 John Levon <levon@movementarian.org>
3542 * text3.C: remove insetparent
3544 2003-06-02 John Levon <levon@movementarian.org>
3547 * buffer.C: fix inset_iterator.end(), move out of line
3550 2003-06-01 John Levon <levon@movementarian.org>
3552 * text3.C: use a proper cut/paste when doing inset
3553 insert (from Jürgen Spitzmüller)
3555 2003-06-01 John Levon <levon@movementarian.org>
3557 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3559 2003-05-30 André Pönitz <poenitz@gmx.net>
3561 * rowpainter.C: unify second drawing phase
3563 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * trans_mgr.C: remove one case of current_view
3567 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3569 * paragraph_funcs.h: remove paragraph.h include
3571 * paragraph.h: delete NO_STD_LIST stuff
3573 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3575 * buffer.h: remove paragraph.h include
3577 * ParagraphList.C: delete file
3579 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3581 * toc.C (getTocList): adjust
3583 * paragraph_pimpl.C (validate): adjust
3585 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3587 * paragraph.C (Paragraph): adjust
3588 (getPositionOfInset): use const_iterator, adjust
3589 (bibitem): use const_iterator, adjust
3590 (setInsetOwner): adjust
3592 * iterators.C (operator++): adjust
3594 * InsetList.[Ch]: Replace selfmade iterator with standard
3595 vector::iterator also introduce const_iterator. Remove getPos,
3596 getInset and setInset from InsetTable. Adjust accordingly.
3598 * BufferView.C (lockInset): adjust
3599 (ChangeInsets): adjust
3601 * tabular.[Ch]: delete commented same_id functions
3603 2003-05-28 John Levon <levon@movementarian.org>
3605 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3607 2003-05-28 André Pönitz <poenitz@gmx.net>
3609 * metricsinfo.[Ch]: remove 'fullredraw' member
3611 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3613 * lyxtextclass.C (operator): remove caching.
3615 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * text2.C (cursorBottom): adjust
3620 (setCounter): use ParagraphList::find, adjust
3622 * text.C (workWidth): use ParagraphList::find, adjust
3624 * lyxcursor.C (LyXCursor): adjust
3626 * buffer.C (inset_iterator): adjust
3628 * ParagraphList.h: make iterator(value_type) private, make
3629 ParagraphList a friend of iterator.
3631 * ParagraphList.C (find): new function
3633 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3635 2003-05-27 André Pönitz <poenitz@gmx.net>
3637 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3639 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3641 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3643 2003-05-26 John Levon <levon@movementarian.org>
3645 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3647 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * remove same_id from function signatures, adjust.
3651 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3655 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3657 * paragraph.C (Paragraph): get rid of same_ids parameter
3659 * ParagraphList.C (insert): adjust
3662 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * paragraph_funcs.C (breakParagraph): adjust
3665 (breakParagraphConservative): adjust
3667 * buffer.C (readParagraph): adjust
3669 * ParagraphList.C (insert): take a reference instead of a pointer
3672 * paragraph.[Ch] (id): new function
3674 * bufferlist.C (newFile): adjust
3676 * ParagraphList.C (ParagraphList): adjust
3678 (push_back): take a reference instead of a pointer.
3680 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3682 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3685 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3686 set else use old code.
3688 * ParagraphList.C: remove all NO_NEXT code and only compile this
3689 code of NO_STD_LIST is set.
3691 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3693 * BufferView_pimpl.C:
3703 * graphics/GraphicsConverter.C:
3704 * graphics/PreviewLoader.C: header adjustment
3706 2003-05-23 Angus Leeming <leeming@lyx.org>
3708 * LaTeXFeatures.[Ch] (useBabel): new method.
3709 * bufferparams.C (writeLaTeX): use it.
3711 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * ParagraphList.h (set): remove unused function.
3715 2003-05-23 André Pönitz <poenitz@gmx.net>
3718 * BufferView_pimpl.C:
3722 * undo_funcs.C: setUndo reworked
3724 * iterators.[Ch]: add access to topmost ParagraphList
3726 * lyxtext.[Ch] (workWidth): add a const
3728 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3730 * texrow.[Ch] (increasePos): remove function
3731 * exporter.C (export): removed unused var and outdated comment
3733 2003-05-23 Angus Leeming <leeming@lyx.org>
3735 * latexrunparams.h: rename fragile as moving_arg.
3736 * paragraph.C (simpleTeXOnePar): ditto.
3737 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3739 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3743 (textUndoOrRedo): comment out a currently unused var.
3745 * paragraph.h (NO_NEXT): enable NO_NEXT
3747 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3749 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3751 * exporter.C (Export): adjust for removeAutoInsets removal.
3753 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3755 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3757 * BufferView.[Ch] (removeAutoInsets): delete function
3759 2003-05-22 Angus Leeming <leeming@lyx.org>
3761 * latexrunparams.h: add a free_spacing variable.
3763 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3764 to pass moving_arg, as the data is stored in runparams.fragile.
3766 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3767 to Inset::latexOptional or to simpleTeXOnePar.
3769 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3770 free_spacing arg to Inset::latexOptional.
3772 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3775 2003-05-22 Angus Leeming <leeming@lyx.org>
3777 * latexrunparams.h: add fragile and use_babel variables.
3779 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3780 * buffer.C (makeLaTeXFile): store this returned value in
3781 runparams.use_babel, thus passing it to the inset::latex methods.
3783 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3784 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3786 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3787 longer has a fragile arg, as it is stored in runparams.fragile.
3789 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3790 moving_arg parameter as the data is stored in runparams.fragile.
3792 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3793 a fragile parameter as the data is stored in runparams.fragile.
3795 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3799 2003-05-22 Angus Leeming <leeming@lyx.org>
3801 * latexrunparams.h: add a 'bool nice' which defaults to false.
3803 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3804 now encapsulated within runparams.
3806 * bufferlist.C (updateIncludedTeXfiles):
3807 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3809 2003-05-22 Angus Leeming <leeming@lyx.org>
3811 * latexrunparams.h: new file containing struct LatexRunParams.
3812 * Makefile.am: add new file.
3814 * LaTeX.[Ch] (c-tor, run):
3815 * buffer.[Ch] (makeLaTeXFile):
3816 * bufferlist.[Ch] (updateIncludedTeXfiles):
3817 * converter.C (convert, scanLog):
3818 * converter.[Ch] (runLaTeX):
3819 * exporter.C (Export):
3820 * paragraph.[Ch] (simpleTeXOnePar):
3821 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3822 * paragraph_funcs.[Ch] (latexParagraphs):
3823 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3824 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3825 pass around a LatexRunParams parameter.
3827 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * paragraph.[Ch]: remove unused constructor
3831 * ParagraphList.C (erase): new function, taking two iterators
3833 2003-05-22 André Pönitz <poenitz@gmx.net>
3835 * undo_funcs.C: remove duplicated code
3837 * iterator.[Ch]: operator=
3839 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * tabular.C (SetMultiColumn): ws changes
3843 * rowpainter.C (paintFirst): get rid of a ->previous
3845 * lyx_cb.C (getPossibleLabel): parlist simplification
3847 * BufferView.C (ChangeInsets): simplify slightly.
3849 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3851 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3852 * lfuns.h: new LFUN_SPACE
3853 * lyxfunc.C: protected space has a new lfun
3854 * paragraph_funcs.C: read new space insets
3856 * factory.C: handle new space insets
3858 2003-05-22 André Pönitz <poenitz@gmx.net>
3861 * BufferView_pimpl.C:
3864 * undo_funcs.C: return a ParIterator from getParFromID.
3866 * iterators.[Ch]: add two const's
3868 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * toc.C (getTocList): adjust
3872 * iterators.[Ch]: rework for parlist
3874 * buffer.C (par_iterator_begin): adjust
3875 (par_iterator_end): adjust
3877 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3879 * BufferView.C (removeAutoInsets): adjust
3880 (ChangeInsets): adjust
3882 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3884 * text.C (top_y): fix bug 1110
3886 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3888 * errorlist.[Ch]: added
3891 * BufferView_pimpl.C:
3892 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3895 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * Makefile.am: ensure that lyx is relinked upon changes to the
3898 various "convenience" libs.
3900 2003-05-20 Angus Leeming <leeming@lyx.org>
3902 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3903 files are compiled in alphabetical order again.
3905 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3907 2003-05-19 Angus Leeming <leeming@lyx.org>
3909 * gettext.[Ch]: remove "char const * _(char const *)".
3911 2003-05-19 André Pönitz <poenitz@gmx.net>
3913 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3922 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3924 2003-05-19 André Pönitz <poenitz@gmx.net>
3928 * lyxtextclass.[Ch]:
3930 * paragraph_funcs.[Ch]:
3932 * text3.C: more insetenv work
3934 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3936 * ParagraphParameters.C (params2string): small bug fixed
3938 2003-05-16 André Pönitz <poenitz@gmx.net>
3941 * bufferview_funcs.C: patch from Kornel Benko to prevent
3942 crash when _(...) is called twice in a statement
3944 2003-05-16 André Pönitz <poenitz@gmx.net>
3951 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3953 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3955 * lyx_main.C (init): remove spurious static_cast
3957 2003-05-14 André Pönitz <poenitz@gmx.net>
3959 * BufferView.C: fix format string
3961 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3963 * BufferView.[Ch] (insertErrors): removed
3964 * BufferView.[Ch] (showErrorList): added
3965 * buffer.C (runChkTeX):
3966 * converter.C (scanLog): call showErrorList instead of inserterrors
3968 2003-05-13 André Pönitz <poenitz@gmx.net>
3970 * BufferView_pimpl.C:
3972 * bufferview_func.C:
3979 * tabular_funcs.h: tostr() from its own header
3981 * ParagraphParameters.C:
3986 * text3.C: STRCONV()
3988 2003-05-12 André Pönitz <poenitz@gmx.net>
3991 * BufferView_pimpl.C:
3995 * ParagraphParameters.C:
3999 * bufferview_funcs.C:
4012 * paragraph_funcs.C:
4016 * text3.C: boost::format -> bformat all over the place
4019 2003-05-09 André Pönitz <poenitz@gmx.net>
4021 * LColor.[Ch]: Pimpl the #include <map> away
4023 2003-05-09 John Levon <levon@movementarian.org>
4025 * bufferlist.C: never remove emergency saves
4027 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * Makefile.am: better lib building
4031 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4035 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4036 (simpleTeXSpecialChars): adjust
4037 (simpleTeXSpecialChars): adjust
4038 * paragraph.C (simpleTeXOnePar): adjust
4039 * buffer.C (makeLaTeXFile): adjust
4041 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4043 * text2.C (changeDepth): parlist cleanup
4044 (getColumnNearX): ditto
4046 * rowpainter.C (getLabelFont): parlist cleanup
4048 * bufferlist.C (newFile): parlist cleanup
4050 * CutAndPaste.C (eraseSelection): parlist cleanup
4052 * BufferView_pimpl.C (trackChanges): parlist cleanup
4055 * BufferView.C (lockInset): parlist cleanup.
4056 (ChangeInsets): ditto
4058 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * CutAndPaste.h: Update file header.
4062 * CutAndPaste.C: Update file header.
4063 Store the parts cut out of the Document in a limited_stack.
4064 (copySelection): adjust
4065 (pasteSelection): new function, takes the index in the limited stack.
4066 (nrOfParagraphs): adjust
4067 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4068 simplify error inset insertion.
4069 (checkPastePossible): adjust
4071 2003-05-06 John Levon <levon@movementarian.org>
4073 * text2.C: don't cast wrap inset to float
4075 2003-05-05 André Pönitz <poenitz@gmx.net>
4078 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4080 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4081 few naked Paragraph *.
4083 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4085 * bufferparams.C: Output warning if a document with missing
4086 TeX document class is loaded
4087 * exporter.C: Disable TeX exports if the document class is missing
4090 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4091 isTeXClassAvailable()
4093 2003-05-03 John Levon <levon@movementarian.org>
4096 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4097 explicit cursor show/hide
4099 * BufferView_pimpl.h:
4100 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4101 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4103 * lyxfunc.C: hide cursor before dispatching.
4108 * text3.C: remove explicit cursor hides
4110 2003-05-02 André Pönitz <poenitz@gmx.net>
4112 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4115 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4118 * text2.C: tiny whitespace
4120 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * undo_funcs.C: almost only ws changes.
4124 * ParagraphList.C (splice): just return if pl is empty.
4126 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4128 * ParagraphList.C (splice): new function.
4130 * CutAndPaste.C (pasteSelection): use it
4132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * CutAndPaste.C (pasteSelection): remove the last next and
4135 previous from this file.
4137 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4139 * CutAndPaste.C (pasteSelection): more clean up, user proper
4140 ParagraphList functions for pasteing.
4142 * ParagraphList.C (insert): new function, three arg insert
4144 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * ParagraphList.C (insert): new function, three arg insert
4148 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4151 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4155 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4159 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4162 (copySelection): clean up a bit.
4163 (pasteSelection): use make_pair
4165 * ParagraphList.C (ParagraphList): implement copy constructor
4166 (operator=): implement, base on copy constructor.
4169 * paragraph.C (erase): return a bool
4171 * paragraph_pimpl.C (erasePos): remove function, move contents...
4172 (erase): ... here. Return a bool.
4173 (erase): call erase instead of erasePos.
4175 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4177 * ParagraphList.h: define PitPosPair
4178 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4179 ParagraphList, fix a bug on pasting multiple pars
4180 * text2.C: change interface to C&P
4182 2003-04-30 André Pönitz <poenitz@gmx.net>
4184 * undo_func.C: revert part of yesterday's patch 2
4186 2003-04-30 John Levon <levon@movementarian.org>
4188 * LColor.C: s/tabular/table/
4190 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * text3.C (dispatch): do not convert iterator -> pointer
4193 * undo_funcs.C (setCursorParUndo): ditto
4194 * text_funcs.C (transposeChars): ditto
4196 * text2.C (setLayout): ws changes only
4198 * text.C (breakParagraph): do not convert iterator -> pointer
4200 (acceptChange): ditto
4201 (rejectChange): ditto
4206 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4209 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4211 * text3.C (gotoInset): YABG (yet another bad getChar)
4213 2003-04-29 André Pönitz <poenitz@gmx.net>
4215 * paragraph.h: make operator= private unimplemented as long as
4218 * ParagraphList.C: whitespace
4221 * paragraph_pimpl.[Ch]:
4222 * paragraph_funcs.C:
4224 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4227 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4229 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4231 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4232 * paragraph.[Ch] (erase):
4233 * paragraph_pimpl.[Ch] (erase): change return type and value
4234 * text2.C (cutSelection): some rework
4236 2003-04-28 John Levon <levon@movementarian.org>
4238 * bufferlist.C: changes for unsaved changes dialog
4240 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * bufferlist.C (newFile): set language (messages_) for new
4245 * buffer.C (readFile): ws changes only.
4247 2003-04-28 André Pönitz <poenitz@gmx.net>
4252 * BufferView_pimpl.C:
4253 * BufferView.C: getParFromID related ParagraphList::iterator changes
4255 2003-04-28 André Pönitz <poenitz@gmx.net>
4257 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4260 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * messages.C: remove one more localedir class variable.
4264 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * messages.C (getLocaleDir): singleton generation function
4268 (Messages): add a default constructor.
4270 * main.C (main): do not setup localedir here, do not call
4273 * gettext.C (_): use it.
4274 (gettext_init): delete funciton
4276 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * gettext.C (getLyXMessages): new singleton generating function.
4280 * buffer.C (updateDocLang): adjust
4282 * Makefile.am (messages.o): add target
4283 (main.o): remove target
4285 2003-04-27 John Levon <levon@movementarian.org>
4290 * lyxvc.C: specify cancel button in Alert::prompt
4292 2003-04-26 John Levon <levon@movementarian.org>
4297 * LyXAction.C: add LFUN_INSET_SETTINGS
4299 * lyxfunc.C: don't enable tabular-feature when there's
4300 just any locking inset
4302 2003-04-26 John Levon <levon@movementarian.org>
4304 * bufferlist.C: re-add Cancel to buffer close question
4306 * lyxfunc.C: fix import UI a bit
4308 2003-04-25 John Levon <levon@movementarian.org>
4310 * gettext.C: remove the broken asserts for now
4312 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * messages.C: make case where setlocale cannot comply work better.
4316 * buffer.C (updateDocLang): new function
4317 (changeLanguage): use it
4320 * text2.C (setCounter): use B_ a bit.
4322 * lyxlayout.C (Read): be sure to trim the label strings.
4324 * messages.C (Messages): fix typo in comment
4326 * buffer.C (readFile): set message_ after file is loaded.
4327 (makeDocBookFile): remove double return
4328 (changeLanguage): reset message_ upon language change.
4329 (B_): new func, use this to get translated buffer strings.
4331 * main.C: add myself and Jean Marc as authors.
4333 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * messages.[hC]: pimplify Messages, and three different pimpls to be
4336 used in different circumstances.
4338 * gettext.[Ch]: change for use with new message code.
4340 2003-04-24 André Pönitz <poenitz@gmx.net>
4342 * factory.C: support for eqref
4344 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * messages.[Ch]: add missing char
4348 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4350 * messages.[Ch]: New files
4352 2003-04-18 John Levon <levon@movementarian.org>
4356 * BufferView_pimpl.C:
4360 * text2.C: remove layout-copy/paste (bug 778)
4362 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4364 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4366 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4368 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4369 if they succeed. Act accordingly.
4371 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * text2.C (setCharFont): adjust
4374 (setCounter): adjust
4375 (insertStringAsLines): adjust
4377 * text.C (leftMargin): adjust
4378 (setHeightOfRow): adjust
4380 * rowpainter.C (paintFirst): adjust
4383 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4385 (isFirstInSequence): ditto
4386 (getEndLabel): ditto
4389 * paragraph.C (getParLanguage): comment out some hard stuff.
4391 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4393 (simpleDocBookOnePar): ditto
4394 (makeDocBookFile): use ParagraphList::iterator
4396 * CutAndPaste.C (pasteSelection): adjust
4398 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * text2.C (getFont): adjust
4401 (getLayoutFont): adjust
4402 (getLabelFont): adjust
4404 * paragraph_funcs.C (TeXOnePar): adjust
4406 * buffer.C (simpleLinuxDocOnePar): adjust
4407 (simpleDocBookOnePar): adjust
4409 * CutAndPaste.C (pasteSelection): adjust
4411 * BufferView.C (getEncoding): adjust
4413 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4415 2003-04-16 John Levon <levon@movementarian.org>
4417 * lyxfind.C: use parlist stuff for search/changes
4419 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4423 * text2.C (deleteEmptyParagraphMechanism): adjust
4425 * text2.[Ch] (ownerParagraph): delete func (both of them
4427 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4431 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * ParagraphList.C: prepare for NO_NEXT
4435 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * text2.C (getFont): adjust
4438 (getLayoutFont): adjust
4439 (getLabelFont): adjust
4441 * paragraph.C (getFont): adjust
4442 (getLabelFont): adjust
4443 (getLayoutFont): adjust
4445 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4447 2003-04-15 John Levon <levon@movementarian.org>
4451 * lyx_main.C: handle Include in .ui files
4453 2003-04-15 John Levon <levon@movementarian.org>
4455 * MenuBackend.C: make the doc files length shorter
4458 * ToolbarBackend.C: handle toolbar placement flags,
4461 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4466 * paragraph_funcs.C (TeXOnePar): adjust
4468 * paragraph.C (getLabelFont): add outerfont arg, adjust
4469 (getLayoutFont): ditto
4470 (simpleTeXOnePar): adjust
4472 * paragraph_pimpl.C (realizeFont): delete func
4474 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4476 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4477 row argument, constify cur argument.
4479 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * text2.C (getFont): adjust
4482 (getLayoutFont): adjust
4483 (getLabelFont): adjust
4485 * paragraph_funcs.C (TeXOnePar): adjust
4486 (outerFont): new func...
4487 (realizeFont): ...moved out from here, changed this to facilitate
4490 * paragraph.C (getFont): take outerfont as arg, adjust
4491 (simpleTeXOnePar): add outerfont arg, adjust
4493 * buffer.C (simpleLinuxDocOnePar): adjust
4494 (simpleDocBookOnePar): adjust
4496 * CutAndPaste.C (pasteSelection): adjust
4498 * BufferView.C (getEncoding): adjust
4500 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * text2.C (setCharFont): adjust
4503 (setCounter): adjust
4505 * text.C (leftMargin): adjust
4506 (setHeightOfRow): adjust
4508 * rowpainter.C (paintFirst): adjust
4511 * paragraph_pimpl.C (realizeFont): adjust
4513 * paragraph.C (isFirstInSequence): move from here...
4514 * paragraph_funcs.C (isFirstInSequence): ...to here
4516 * paragraph.C (outerHook): move from here...
4517 * paragraph_funcs.C (outerHook): ...to here
4519 * paragraph.C (depthHook): move from here...
4520 * paragraph_funcs.C (depthHook): ...to here
4522 * paragraph.C (getEndLabel): move from here...
4523 * paragraph_funcs.C (getEndLabel): ...to here
4525 * text2.C (realizeFont): move from here...
4526 * paragraph_funcs.C (realizeFont): ...to here
4528 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4532 2003-04-14 Angus Leeming <leeming@lyx.org>
4534 * LColor.[Ch]: scrap LColor mathcursor.
4536 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * lyxlex.[Ch] (text): delete function
4539 * trans.C (Load): adjust
4540 * paragraph_funcs.C (readParToken): adjust
4542 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4545 vector<char> instead of a char[].
4547 * lyxlex_pimpl.C (getString): adjust
4549 (lex): use getString
4553 * lyxlex.C (text): use pimpl_->getString()
4557 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4560 (makeFontEntriesLayoutSpecific): temp var for par.size()
4561 (setLayout): temp var for ownerParagraphs().end()
4562 (fullRebreak): temp var for rows().end()
4563 (selectionAsString): temp var for boost::next(startpit), realize
4564 that the while really is a regular for loop.
4565 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4566 setCursor in one place.
4567 (setParagraph): temp vr for ownerParagraphs().end()
4568 (updateCounters): make the while loop a for loop
4569 (cutSelection): temp var for ownerParagraphs().end()
4570 (updateInset): make the do {} while() a regular for loop
4571 (getCursorX): use temp vars
4572 (setCurrentFont): use temp vars
4573 (getColumnNearX): use temp vars
4575 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * text.C (transformChar): use temp var for getChar
4578 (computeBidiTables): use temp var for row->par()
4579 (fill): move temp vars for row->par() and pit->layout() earlier in
4581 (labelFill): use temp var for row->par()
4582 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4583 asc and desc, realize that pit never changes and that firstpit is
4584 just a duplicate and not needed. Exchange rit->par() with pit in a
4586 (breakAgain): use a temp var for boost::next(rit)
4587 (breakAgainOneRow): ditto
4588 (breakParagraph): use a temp var for rows().begin()
4589 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4590 (cursorRightOneWord): use temp var for cursor.par() and
4591 cursor.pos(), remove usage of tmpcursor.
4592 (cursorLeftOneWord): use temp var for cursor.par() and
4593 cursor.pos() only set cur at end of function.
4595 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * text.C, text2.C: exchange all usage of Paragraph::next with
4598 boost::next(ParagraphList::iterator)
4600 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4602 * text2.C (cursorTop): simplify implementation
4603 (cursorBottom): ditto
4604 (setParagraph): use ParagraphList::iterator
4605 (setCurrentFont): adjust
4606 (getColumnNearX): adjust
4607 (cursorRight): adjust
4608 (cursorLeft): remove usage of Paragraph::previous
4609 (cursorUpParagraph): ditto
4610 (deleteEmptyParagraphMechanism): slight cleanup
4612 * text.C (isBoundary): take a Paragraph const & instead of a
4614 (addressBreakPoint): ditto
4615 (leftMargin): remove usage of Paragraph::previous.
4616 (setHeightOfRow): ditto
4617 (cursorLeftOneWord): ditto
4618 (selectNextWordToSpellcheck): ditto
4621 (breakParagraph): remove one usage of Paragraph::next
4622 (redoParagraph): ditto
4623 (acceptChange): ditto
4624 (insertChar): adjust
4625 (rowBreakPoint): adjust
4627 * bufferview_funcs.C (toggleAndShow): adjust
4629 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4631 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4632 methods to access it.
4634 * text.C: Added updateRowPositions to compute all row positions.
4635 Make top_y and getRowNearY() to use the cached y position
4637 2003-04-11 John Levon <levon@movementarian.org>
4639 * text.C (rowBreakPoint): reintroduce the labelEnd
4640 checks, code copied from the row fill stuff. Deep voodoo.
4642 * text.C (fill): add a comment and debugging for the
4645 2003-04-11 John Levon <levon@movementarian.org>
4647 * text.C: make sure fullrow insets get wrapped to the next line,
4648 even when they're in a manual label
4650 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * text2.C (insertParagraph): make it take ParagraphList::iterator
4654 (setLayout): make it return ParagraphList::iterator
4655 (redoParagraphs): ditto
4657 (checkParagraph): ditto
4659 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4661 * text2.C: adjust several funcs.
4662 (realizeFont): take a ParagraphList::iterator as arg.
4663 (getLayoutFont): ditto
4664 (getLabelFont): ditto
4665 (setCharFont): ditto
4667 * text.C: adjust several funcs.
4669 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4671 * text.C (selectNextWordToSpellcheck): don't accidentally
4674 2003-04-10 John Levon <levon@movementarian.org>
4676 * ToolbarBackend.C (getIcon): special handling for
4679 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4681 * text2.C (cursorRight): a getChar assert fixed
4683 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * text2.C (getFont): change to take a ParagraphList::iterator
4686 instead of Paragraph*
4687 Adjust several functions.
4689 * text.C (transformChar): change to take a ParagraphList::iterator
4690 instead of Paragraph*
4691 (singleWidth): ditto
4692 Adjust several functions.
4694 * rowpainter.C: adjust several functions
4695 * rowpainter.h:store a ParagraphList::iterator and not a
4699 2003-04-09 John Levon <levon@movementarian.org>
4704 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4705 and the "help" bits as well
4707 2003-04-09 John Levon <levon@movementarian.org>
4710 * ToolbarBackend.C: allow multiple toolbars
4712 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * undo_funcs.C (setCursorParUndo): adjust
4716 * text_funcs.C (transposeChars): adjust
4718 * text3.C (gotoNextInset): adjust
4721 * text2.C (setLayout): adjust
4722 (changeDepth): adjust
4724 (redoParagraphs): adjust
4725 (selectionAsString): adjust
4726 (setParagraph): adjust
4727 (insertInset): adjust
4728 (cutSelection): adjust
4729 (copySelection): adjust
4730 (pasteSelection): adjust
4731 (insertStringAsLines): adjust
4732 (updateInset): adjust
4733 (setCursor): change to take a ParagraphList::iterator parameter
4734 (setCursorIntern): change to take a ParagraphList::iterator parameter
4735 (setCurrentFont): adjust
4736 (cursorLeft): adjust
4737 (cursorRight): adjust
4738 (deleteEmptyParagraphMechanism): adjust
4740 * text.C (breakParagraph): adjust
4741 (insertChar): adjust
4742 (acceptChange): adjust
4743 (rejectChange): adjust
4744 (selectNextWordToSpellcheck): adjust
4745 (changeCase): adjust
4749 * lyxfind.C (SearchForward): adjust
4750 (SearchBackward): adjust
4751 (nextChange): adjust
4753 * lyxcursor.C (par): adjust
4755 * lyxcursor.h: store a ParagraphList::iterator instead of a
4758 * lyx_cb.C (getPossibleLabel): adjust
4760 * bufferview_funcs.C (toggleAndShow): adjust
4762 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4765 * BufferView.C (removeAutoInsets): adjust
4766 (lockedInsetStoreUndo): adjust
4768 2003-04-09 John Levon <levon@movementarian.org>
4770 * ToolbarBackend.C: try icon without argument
4771 if with argument fails
4773 2003-04-08 John Levon <levon@movementarian.org>
4776 * ToolbarBackend.C: add getIcon(), handle tooltip,
4777 and change from "Icon" to "Item".
4779 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4781 * BufferView.C (lockInset): another bad getchar crunched
4783 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4785 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4788 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4790 * lyxfind.C (searchForward, searchBackwards): bug 782
4792 2003-04-07 John Levon <levon@movementarian.org>
4794 * paragraph.C: remove dead comment
4796 * text.C: remove troublesome depth-fiddling code
4797 in leftMargin() and rightMargin() (bug 1017)
4799 * text.C: fix breaking of rows in nested lists
4802 * text2.C (updateCounters): fix up depth values
4805 2003-04-07 John Levon <levon@movementarian.org>
4807 * BufferView_pimpl.C: clear message when doc finishes resizing,
4808 and after a mouse event
4810 * lyxfunc.C: clear message after exiting inset
4812 2003-04-07 John Levon <levon@movementarian.org>
4814 * bufferview_funcs.C: show math status not outside
4815 status in the statusbar
4817 2003-04-07 John Levon <levon@movementarian.org>
4819 * lyxfunc.C: note status changed after a depth change
4821 2003-04-04 Angus Leeming <leeming@lyx.org>
4823 * LaTeX.h: move AuxInfo operator==, != out of line.
4824 Remove LaTeX virtual destructor; nothing derives from it.
4825 Move operator()() out of public area and rename it startscript().
4826 Change protected for private.
4828 2003-04-04 Angus Leeming <leeming@lyx.org>
4831 * text2.C: remove unneeded #includes.
4833 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4835 * text2.C (dEPM): fix the heigth of the next row
4837 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4839 * text.C: squashed an invalid getChar requester + some ws changes
4841 2003-04-03 John Levon <levon@movementarian.org>
4843 * bufferview_funcs.h:
4844 * bufferview_funcs.C:
4847 * text2.C: make getStatus work for the env depth lfuns
4849 2003-04-03 John Levon <levon@movementarian.org>
4851 * bufferview_funcs.h:
4852 * bufferview_funcs.C:
4855 * text2.C: parlistize decDepth(), by merging it with incDepth()
4857 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * lyxrow.h: store a ParagraphList::iterator instead of a
4860 Paragraph* and adjust other class functions to suit.
4862 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4865 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4867 * text2.C (setCursor): do not anchor to cursor row for the time being
4869 2003-04-02 John Levon <levon@movementarian.org>
4876 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4878 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * paragraph.h: make ParagraphList and ParagraphList::iterator
4881 friends of Paragraph.
4883 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4885 * ParagraphList.C: Use the private next_ and previous_ from
4888 2003-04-01 John Levon <levon@movementarian.org>
4892 * Makefile.am: rename, remove defaults gunk
4895 * MenuBackend.C: remove defaults gunk
4898 * Languages.C: remove defaults gunk
4901 * lyx_main.C: error out if files couldn't be found.
4903 2003-04-02 John Levon <levon@movementarian.org>
4905 * text2.C: make incDepth() use parlist
4907 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * undo_funcs.C (firstUndoParagraph): adjust
4911 * text3.C (gotoInset): adjust
4912 (dispatch): adjust, and rewrite loop.
4914 * text2.C (init): adjust, and rewrite loop.
4915 (redoParagraphs): adjust
4916 (updateInset): adjust, and rewrite loop.
4917 (deleteEmptyParagraphMechanism): adjust
4919 * tabular.C (LyXTabular): adjust
4920 (SetMultiColumn): adjust
4923 * lyxtext.[Ch] (ownerParagraph): delete function
4924 (ownerParagraphs): new function returns a ParagraphList.
4926 * BufferView.C (removeAutoInsets): adjust
4927 (insertErrors): adjust
4928 (setCursorFromRow): adjust
4930 2003-04-01 Angus Leeming <leeming@lyx.org>
4932 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4935 2003-04-02 John Levon <levon@movementarian.org>
4941 * text_funcs.C: make transposeChars a free function
4943 * lyxrow_funcs.C: remove wrong comment
4945 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * rowpainter.C: adjust
4953 * lyxrow_funcs. [Ch]: new files
4955 * lyxrow.[Ch]: remove next and previous pointers
4956 (next,previous): remove accessor functions
4957 (isParEnd): move to lyxrow_funcs
4958 (lastPos): move to lyxrow_funcs
4959 (nextRowIsAllInset): move to lyxrow_funcs
4960 (lastPrintablePos): move to lyxrow_funcs
4961 (numberOfSeparators): move to lyxrow_funcs
4962 (numberOfHfills): move to lyxrow_funcs
4963 (numberOfLabelHfills): move to lyxrow_funcs
4964 (hfillExpansion): move to lyxrow_funcs
4968 * bufferview_funcs.C (toggleAndShow): adjust
4970 * RowList.h: Remove class RowList from file leave just a
4973 * RowList.C: delete file
4975 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4978 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * text3.C (cursorPrevious): adjust
4981 (cursorNext): adjust
4984 * text2.C (redoHeightOfParagraph): adjust
4985 (redoDrawingOfParagraph): adjust
4988 * text.C (breakParagraph): adjust
4989 (insertChar): adjust
4992 * rowpainter.C (RowPainter): adjust
4993 (leftMargin): simplify and adjust
4994 (most rowpainter functions): adjust.
4996 * rowpainter.h: store the row as RowList::iterator not as Row*
4998 * lyxcursor.C (row): taka RowList::iterator as arg
5001 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5004 2003-04-01 Angus Leeming <leeming@lyx.org>
5006 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5007 stuff like bool Bool.
5009 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5011 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5014 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5019 * lyxtext.h (rows): drop one version and leve a const variant that
5020 returns a RowList::iterator.
5022 2003-03-31 Angus Leeming <leeming@lyx.org>
5024 * text.C (fill): ensure that the signature is the same as that in the
5027 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * text2.C (redoParagraphs): adjust
5030 (updateCounters): adjust
5031 (checkParagraph): adjust
5032 (getColumnNearX): adjust and reformat a bit.
5034 * text.C (top_y): adjust
5036 (leftMargin): adjust
5037 (prepareToPrint): adjust
5039 (getRowNearY): adjust
5041 * lyxtext.h: make rowlist_ mutable.
5043 * RowList.h: add const_iterator
5044 * RowList.C: adjust for RowList::const_iterator.
5046 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5049 2003-03-31 John Levon <levon@movementarian.org>
5052 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5054 * lyx_main.C: set default fonts from using lyx_gui funcs
5056 * exporter.C: pdf_mode moved from lyxrc
5059 * lyxfunc.C: changes from above
5061 2003-03-31 John Levon <levon@movementarian.org>
5063 * lyx_main.C: fix to the last fix
5065 2003-03-31 John Levon <levon@movementarian.org>
5067 * bufferlist.C: "Load original" -> "Load Original"
5073 * format.C: more Alert cleanups
5075 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * text2.C (removeParagraph): make it take a RowList::iterator as
5079 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5080 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5082 * text.C (anchor_row): make it take a RowList::iterator as arg,
5084 (computeBidiTables): make it take a const reference to Row instead
5085 of Row pointer, adjust.
5086 (leftMargin): make it take a RowList::iterator as arg, adjust.
5087 (rowBreakPoint): adjust
5088 (breakAgainOneRow): make it take a RowList::iterator as arg,
5090 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5092 * bufferview_funcs.C (toggleAndShow): adjust
5094 2003-03-30 John Levon <levon@movementarian.org>
5098 * boost-inst.C: moved to support
5100 * several files: changes as a result
5102 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * text2.C (LyXText): adjust.
5106 (removeRow): make it take a RowList::iterator as arg, adjust.
5107 (fullRebreak): adjust
5108 (deleteEmptyParagraphMechanism): adjust
5109 (clearPaint): adjust
5112 * text.C (top_y): adjust
5113 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5114 (breakAgain): make it take a RowList::iterator as arg, adjust.
5115 (breakParagraph): adjust
5116 (insertChar): adjust
5119 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5120 need_break_row, and refresh_row.
5122 * text3.C (dispatch): adjust
5124 * text2.C (checkParagraph): adjust
5126 (setCursorFromCoordinates): adjust
5128 * text.C (top_y): adjust
5130 (getRow): make it return a RowList::iterator, adjust
5131 (getRowNearY): make it return a RowList::iterator, adjust
5133 * text2.C (init): adjust
5134 (insertRow): remove function
5135 (insertParagraph): adjust
5136 (redoParagraphs): adjust
5137 (fullRebreak): adjust
5138 (updateCounters): adjust
5140 * text.C (top_y): rewrite to use RowList iterators.
5142 (setHeightOfRow): rewrite to sue RowList iterators.
5143 (appendParagraph): adjust
5144 (breakAgain): adjust
5145 (breakAgainOneRow): adjust
5146 (breakParagraph): adjust
5148 (getRowNearY): adjust, and remove commented code.
5150 * lyxtext.h (firstRow): delete function
5151 (lastRow): delete function
5152 (rows): new function (const and non-const versions.)
5153 (insertRow): delete function
5155 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5157 2003-03-29 John Levon <levon@movementarian.org>
5159 * BufferView_pimpl.C: always update scrollbar top
5160 because pasting text when we're anchored could mean we
5161 miss an update altogether
5163 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * text2.C (init): use rowlist_.end() and not 0.
5166 (insertRow): change to take a RowList::iterator as arg, adjust
5168 (insertParagraph): change to take a RowList::iterator as arg,
5170 (redoParagraphs): remove some debug msgs.
5172 * text.C (appendParagraph): change to take a RowList::iterator
5173 arg, adjust for this.
5174 (breakAgain): add an assert
5175 (breakAgainOneRow): ditto
5177 2003-03-29 John Levon <levon@movementarian.org>
5179 * text2.C: do not clear selection after inc/decDepth
5182 2003-03-29 John Levon <levon@movementarian.org>
5185 * buffer.C: fix broken strerrors according to Lars
5187 2003-03-29 John Levon <levon@movementarian.org>
5189 * converters.C: more Alert cleanups
5191 2003-03-29 John Levon <levon@movementarian.org>
5193 * bufferview_funcs.C: remove pointless Alert
5195 * buffer.C: fix confusing error message when
5196 a template is chmoded 000
5198 2003-03-29 John Levon <levon@movementarian.org>
5202 * BufferView_pimpl.C: Alert fixes
5206 * tabular-old.C: remove unused table compat reading
5208 2003-03-29 John Levon <levon@movementarian.org>
5213 * lyx_cb.C: more Alert cleanups
5215 * lyxfunc.C: don't allow chktex if not latex document
5217 2003-03-29 John Levon <levon@movementarian.org>
5221 * buffer.C: warnings pushed down from support/,
5224 2003-03-29 John Levon <levon@movementarian.org>
5226 * lyxfunc.C: safety check for C-r (revert)
5228 2003-03-29 John Levon <levon@movementarian.org>
5231 * bufferlist.C: several UI fixes using Alert::prompt.
5232 Fix the pointless looping quit code. Fix stupid revert
5237 * lyx_cb.C: use Alert::prompt
5239 * lyx_main.C: remove a silly question
5241 * lyxfunc.C: remove a couple of silly questions,
5244 2003-03-28 John Levon <levon@movementarian.org>
5246 * text2.C: fix bug 974 (End on empty par)
5248 2003-03-28 John Levon <levon@movementarian.org>
5250 * BufferView_pimpl.C:
5252 * lfuns.h: remove do-nothing math greek lfuns
5254 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * lyxgluelength.h (isValidGlueLength): add default arg on
5257 parameter 2. Remove default arg from friend in class.
5259 * lyxlength.h (isValidLength): add default arg on parameter 2.
5260 Remove default arg from friend in class.
5262 * text2.C (LyXText): adjust, initialize refresh_row.
5266 (insertParagraph): adjst
5267 (redoParagraphs): adjust
5268 (fullRebreak): adjust
5269 (updateCounters): adjust
5270 (deleteEmptyParagraphMechanism): first attempt at fixing a
5273 * text.C (top_y): adjust
5274 (setHeightOfRow): adjust
5276 (getRowNearY): adjust
5278 * lyxtext.h: include RowList.h
5279 (~LyXText): not needed anymore, deleted.
5280 (firstRow): modify for RowList
5281 (lastRow): new function
5282 Delete firstrow and lastrow class variables, add a Rowlist
5283 rowlist_ class variable.
5285 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5288 * RowList.C (insert): fix case where it == begin().
5290 2003-03-26 Angus Leeming <leeming@lyx.org>
5292 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5293 the thesaurus dialog.
5295 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5299 * RowList.[Ch]: new files
5301 * ParagraphList.C (erase): handle the case where it == begin
5304 2003-03-25 John Levon <levon@movementarian.org>
5308 * aspell.C: add new aspell support
5311 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5314 2003-03-25 Angus Leeming <leeming@lyx.org>
5317 * LyXAction.C (init): new LFUN_INSET_INSERT.
5319 * BufferView_pimpl.C (dispatch): split out part of the
5320 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5322 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5325 2003-03-25 Angus Leeming <leeming@lyx.org>
5327 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5329 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5332 * text3.C: remove useless row->height(0)
5334 2003-03-25 John Levon <levon@movementarian.org>
5338 * text3.C: rename the refreshing stuff to better names
5340 2003-03-24 John Levon <levon@movementarian.org>
5342 * BufferView_pimpl.h:
5343 * BufferView_pimpl.C: update layout choice on a mouse
5346 2003-03-23 John Levon <levon@movementarian.org>
5348 * Makefile.am: fix commandtags.h reference
5350 2003-03-22 John Levon <levon@movementarian.org>
5352 * BufferView_pimpl.C:
5357 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5359 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5362 * text.C: take the rtl methods out of line
5364 2003-03-21 André Pönitz <poenitz@gmx.net>
5366 * metricsinfo.[Ch]: new files containing structures to be passed around
5367 during the two-phase-drawing...
5369 2003-03-21 André Pönitz <poenitz@gmx.net>
5371 * lyxtextclass.C: read 'environment' tag.
5373 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5375 * text2.C (removeRow): fix bug 964
5377 2003-03-20 John Levon <levon@movementarian.org>
5381 * text2.C: paint cleanups. Inset::update() dropped font
5384 2003-03-19 John Levon <levon@movementarian.org>
5386 * lyxfunc.C: only fitcursor/markDirty if available()
5388 2003-03-19 John Levon <levon@movementarian.org>
5390 * commandtags.h: rename to ...
5392 * lfuns.h: ... this, and renumber / cleanup
5394 2003-03-19 John Levon <levon@movementarian.org>
5396 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5397 fit the cursor after an lfun
5401 * BufferView_pimpl.h:
5402 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5404 * LyXAction.C: layout-character should have ReadOnly
5406 * ParagraphParameters.C:
5408 * bufferview_funcs.C:
5415 * undo_funcs.C: changes from above
5417 2003-03-18 John Levon <levon@movementarian.org>
5419 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5420 remove it from update()
5422 * lyxfunc.C: update layout choice after an lfun
5424 * text3.C: remove extra updateLayoutChoice()s
5426 2003-03-18 John Levon <levon@movementarian.org>
5428 * text.C: top_y change means full repaint, fix
5429 a drawing bug with cursor movement
5431 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5435 * text2.C: anchor row on setCursor
5437 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5439 * lyxtext.h: remove almost all mutable keywords
5442 * text3.C: remove const keywords accordingly
5444 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5448 (TeXEnvironment): ditto
5451 2003-03-17 John Levon <levon@movementarian.org>
5453 * text.C (rowBreakPoint): remove attempt to fix displayed
5454 math insets inside a manual label
5456 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * lyxtext.h: remove BufferView* as first arg from almost all class
5460 * other files: adjust.
5462 2003-03-17 John Levon <levon@movementarian.org>
5466 * text2.C: more paint cleanups
5468 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5471 * rowpainter.C: remove "smart" background painting code
5473 2003-03-16 John Levon <levon@movementarian.org>
5478 * text3.C: add helper functions for setting refresh_row/y
5480 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5482 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5483 newline inset which *can* get inserted in the pass_thru layouts.
5484 This is primarily for literate documents.
5486 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5488 * buffer.C: increment LYX_FORMAT to 223
5490 2003-03-14 André Pönitz <poenitz@gmx.net>
5492 * textclass.h: prepare for environment handling, ws changes
5493 * lyxlayout.C: read latexheader and latexfooter tags
5495 2003-03-14 John Levon <levon@movementarian.org>
5497 * text2.C: rewrite ::status() a bit
5499 2003-03-13 John Levon <levon@movementarian.org>
5501 * lyxtext.h: add some docs
5503 2003-03-13 John Levon <levon@movementarian.org>
5508 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5510 2003-03-13 John Levon <levon@movementarian.org>
5512 * text3.C: fix appendix redrawing
5514 2003-03-13 John Levon <levon@movementarian.org>
5516 * text.C (setHeightOfRow):
5518 * rowpainter.C: make appendix mark have the text
5519 "Appendix" so the user knows what it is
5522 * LColor.C: s/appendixline/appendix/ from above
5524 2003-03-13 John Levon <levon@movementarian.org>
5526 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5528 * text.C: fix a getChar(pos) bug properly
5530 2003-03-13 Angus Leeming <leeming@lyx.org>
5533 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5534 Probably only temporary. Let's see how things pan out.
5536 * BufferView.C (unlockInset):
5537 * BufferView_pimpl.C (fitCursor):
5538 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5540 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5541 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5543 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5544 new functions that convert ParagraphParameters to and from a string.
5546 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5547 BufferView::Pimpl's dispatch.
5548 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5550 2003-03-13 André Pönitz <poenitz@gmx.net>
5554 * factory.C: make it aware of InsetEnv
5556 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * text2.C (setCursor): never ask for one past last
5559 (setCursor): add some debugging messages.
5561 * text.C (singleWidth): never ask for one past last
5562 (singleWidth): ditto
5564 (rightMargin): ditto
5565 (rowBreakPoint): ditto
5566 (setHeightOfRow): ditto
5567 (prepareToPrint): ditto
5569 * rowpainter.C (paintBackground): never ask for one past last
5570 (paintText): never ask for one past last
5572 * paragraph_pimpl.C (getChar): make the assert stricter, never
5573 allow the one past last pos to be taken
5575 * paragraph.C (getChar): ws changes only
5577 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5578 (numberOfSeparators): ditto
5579 (numberOfHfills): ditto
5581 2003-03-12 John Levon <levon@movementarian.org>
5587 * paragraph_funcs.C: fix per-buffer authorlists
5589 2003-03-12 John Levon <levon@movementarian.org>
5591 * text.C: fix newline in right address
5593 2003-03-12 Angus Leeming <leeming@lyx.org>
5595 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5596 duplicate those in LyXFunc::dispatch.
5600 * ToolbarDefaults.C:
5601 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5602 Add LFUN_FONTFREE_UPDATE.
5604 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5605 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5607 * bufferview_func.[Ch]: several new functions to facilliate
5608 transfer of data to and from the character dialog.
5610 2003-03-12 John Levon <levon@movementarian.org>
5615 * paragraph_funcs.C:
5616 * paragraph_pimpl.C:
5620 * text3.C: remove META_NEWLINE in favour of an inset
5623 * rowpainter.C: remove paintNewline (done by inset)
5625 2003-03-12 John Levon <levon@movementarian.org>
5627 * paragraph_pimpl.C: complain about bad getChar()s
5628 for a while at least
5630 2003-03-12 John Levon <levon@movementarian.org>
5633 * buffer.C: move paragraph read into a separate function,
5634 a little renaming to reflect that.
5637 * bufferparams.C: remove the author_ids map, not necessary now
5640 * factory.C: moved Buffer::readInset to here
5642 * paragraph_funcs.h:
5643 * paragraph_funcs.C: readParagraph free function moved from
5646 * tabular.C: name change
5648 2003-03-12 John Levon <levon@movementarian.org>
5651 * ParagraphParameters.C: move par params input to
5654 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5655 behave like a normal read from the stream wrt reading
5656 a line vs. a \\token
5658 2003-03-12 John Levon <levon@movementarian.org>
5661 * ParagraphParameters.h:
5662 * ParagraphParameters.C: move output code to a
5665 2003-03-12 John Levon <levon@movementarian.org>
5667 * BufferView.C (insertLyXFile):
5670 * tabular.C: use a parlist iterator for creating the
5673 2003-03-12 John Levon <levon@movementarian.org>
5675 * buffer.C: make current_change static local not
5678 2003-03-12 John Levon <levon@movementarian.org>
5680 * buffer.C: fix insertStringAsLines for change tracking
5682 2003-03-12 John Levon <levon@movementarian.org>
5689 * bufferparams.C: move author list into params. Rename some
5690 functions. Move the header reading into a separate token
5691 loop. Move the header token reading into BufferParams.
5693 2003-03-12 John Levon <levon@movementarian.org>
5695 * changes.C: put debug inside lyxerr.debugging() checks
5697 2003-03-11 André Pönitz <poenitz@gmx.net>
5699 * factory.C: make it aware of InsetHFill
5701 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * buffer.C (latexParagraphs): move function from here...
5704 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5707 2003-03-10 Angus Leeming <leeming@lyx.org>
5709 * LyXAction.C (init): fix bug in poplating array with multiple entries
5710 with the same LFUN (spotted by JMarc).
5712 2003-03-10 John Levon <levon@movementarian.org>
5715 * text2.C: move getColumnNearX() near its
5718 2003-03-10 John Levon <levon@movementarian.org>
5720 * text.C: fix break before a minipage
5722 2003-03-10 John Levon <levon@movementarian.org>
5724 * text.C: fix the last commit
5726 2003-03-09 John Levon <levon@movementarian.org>
5730 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5731 bug 365 (don't break before insets unless needed). Don't
5732 return a value > last under any circumstances.
5734 2003-03-09 Angus Leeming <leeming@lyx.org>
5736 * BufferView_pimpl.C (trackChanges, dispatch): call
5737 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5739 2003-03-09 Angus Leeming <leeming@lyx.org>
5741 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5742 than Dialogs::showAboutlyx().
5744 2003-03-09 Angus Leeming <leeming@lyx.org>
5746 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5747 than Dialogs::showTabularCreate().
5749 2003-03-09 John Levon <levon@movementarian.org>
5753 * text2.C: 3rd arg to nextBreakPoint was always the same.
5756 2003-03-08 John Levon <levon@movementarian.org>
5763 * text2.C: Remove the "main" bit from the "main body"
5766 2003-03-08 John Levon <levon@movementarian.org>
5768 * text.C (leftMargin): The left margin of an empty
5769 manual label paragraph should not include the label width
5772 * text.C (prepareToPrint): don't attempt to measure hfills
5773 for empty manual label paragraphs - the answer should be 0
5775 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5777 * CutAndPaste.C: remove commented code and reindent.
5779 2003-03-08 John Levon <levon@movementarian.org>
5782 * lyxfunc.C: move reloadBuffer()
5785 * BufferView.C: to here
5787 * lyxvc.C: add comment
5790 * vc-backend.C: call bv->reload() to avoid
5791 getStatus() check on MENURELOAD
5793 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5795 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5796 to an old format .dep file.
5798 2003-03-07 Angus Leeming <leeming@lyx.org>
5800 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5801 when the LFUN_MOUSE_RELEASE should have been handled by
5802 inset->localDispatch.
5804 2003-03-07 Angus Leeming <leeming@lyx.org>
5806 * BufferView_pimpl.C (dispatch):
5807 * LyXAction.C (init):
5808 * ToolbarDefaults.C (init):
5810 * lyxfunc.C (getStatus):
5811 remove LFUN_INSET_GRAPHICS.
5813 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5815 2003-03-07 Angus Leeming <leeming@lyx.org>
5818 * LyXAction.C (init):
5819 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5821 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5824 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5826 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5827 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5829 2003-03-07 Angus Leeming <leeming@lyx.org>
5831 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5834 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * ParagraphList.C (front): new function
5839 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5841 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5842 and top_row_offset_. removed var first_y.
5844 * text2.C (LyXText, removeRow):
5846 * BufferView_pimpl.C:
5847 use these methods instead of using first_y
5849 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * text2.C (pasteSelection): adjust for checkPastePossible
5853 * CutAndPaste.C: remove Paragraph * buf and replace with
5854 ParagraphList paragraphs.
5855 (DeleteBuffer): delete
5856 (cutSelection): change the tc type to textclass_type
5857 (copySelection): change the tc type to textclass_type
5858 (copySelection): adjust for ParagraphList
5859 (pasteSelection): change the tc type to textclass_type
5860 (pasteSelection): adjust for Paragraphlist
5861 (nrOfParagraphs): simplify for ParagraphList
5862 (checkPastePossible): simplify for ParagraphList
5863 (checkPastePossible): remove unused arg
5865 * ParagraphList.C (insert): handle the case where there are no
5868 * CutAndPaste.h: make CutAndPaste a namespace.
5870 * text3.C (dispatch): adjust
5872 * text.C (breakParagraph): add a ParagraphList as arg
5874 * paragraph_funcs.C (breakParagraph): change to take a
5875 BufferParams and a ParagraphList as args.
5876 (breakParagraphConservative): ditto
5877 (mergeParagraph): ditto
5878 (TeXDeeper): add a ParagraphList arg
5879 (TeXEnvironment): ditto
5882 * buffer.C (readLyXformat2): adjust
5883 (insertStringAsLines): adjust
5884 (latexParagraphs): adjust
5886 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5887 (cutSelection): adjust
5888 (pasteSelection): adjust
5890 * BufferView_pimpl.C (insertInset): adjust
5892 2003-03-05 Angus Leeming <leeming@lyx.org>
5895 * LyXAction.C (init):
5896 * BufferView_pimpl.C (dispatch):
5897 * lyxfunc.C (getStatus):
5898 remove LFUN_CHILD_INSERT.
5900 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5902 2003-03-05 Angus Leeming <leeming@lyx.org>
5905 * LyXAction.C (init):
5906 * src/factory.C (createInset):
5907 * lyxfunc.C (getStatus):
5908 * text3.C (dispatch):
5909 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5911 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5913 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * ParagraphList.C (insert): handle insert right before end()
5916 (erase): fix cases where it can be first or last paragraph.
5918 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5921 Paragraph::next and Paragraph::previous
5924 * text.C (breakParagraph): adjust
5926 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5927 BufferParams& as arg.
5928 (breakParagraph): use ParagraphList::insert
5929 (breakParagraphConservative): take a Buffer* instead of a
5930 BufferParams& as arg.
5931 (breakParagraphConservative): use ParagraphList::insert.
5933 * buffer.C (insertStringAsLines): un-const it
5934 (insertStringAsLines): adjust
5936 * ParagraphList.C (insert): new function
5938 * CutAndPaste.C (pasteSelection): adjust
5940 * text.C (backspace): adjust
5942 * tabular.C (SetMultiColumn): adjust
5944 * CutAndPaste.C (cutSelection): adjust
5945 (pasteSelection): adjust
5947 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5948 Buffer const * as arg
5950 * ParagraphList.C (erase): new function
5951 * paragraph_funcs.C (mergeParagraph): use it
5952 (mergeParagraph): make it take a Buffer* instead of a
5953 BufferParams* as arg
5955 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5957 (breakParagraphConservative): ditto
5959 * paragraph.h: remove the breakParagraph friend
5961 * paragraph.C (eraseIntern): new function
5962 (setChange): new function
5964 * paragraph_funcs.C (mergeParagraph): make it take a
5965 ParagraphList::iterator instead of a Paragraph *, adjust
5968 * paragraph.h: move an #endif so that the change tracking stuff
5969 also works in the NO_NEXT case.
5971 2003-03-04 Angus Leeming <leeming@lyx.org>
5974 * LyXAction.C: new LFUN_INSET_MODIFY.
5976 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5977 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5979 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * several files: ws changes only
5983 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5984 (TeXEnvironment): ditto
5987 * buffer.C (makeLaTeXFile): adjust
5988 (latexParagraphs): make it take ParagraphList::iterator as args
5990 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * buffer.C (latexParagraphs): adjust
5994 * paragraph.C (TeXOnePar): move function...
5995 (optArgInset): move function...
5996 (TeXEnvironment): move function...
5997 * paragraph_pimpl.C (TeXDeeper): move function...
5998 * paragraph_funcs.C: ...here
6000 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6002 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * buffer.C (readInset): remove compability code for old Figure and
6007 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6009 * buffer.C: ws changes
6012 * BufferView_pimpl.C: ditto
6015 * bufferlist.h: ditto
6019 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6021 * converter.[Ch]: split into itself +
6024 * Makefile.am: += graph.[Ch] + format.[Ch]
6031 * lyxrc.C: added #include "format.h"
6033 2003-02-27 Angus Leeming <leeming@lyx.org>
6035 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6038 * factory.C (createInset): add "label" to the factory.
6040 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6041 string and do no more.
6043 2003-02-27 Angus Leeming <leeming@lyx.org>
6046 * LyXAction.C (init):
6047 * factory.C (createInset):
6048 * BufferView_pimpl.C (dispatch):
6049 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6051 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6053 * lyxfunc.C (dispatch):
6054 * text3.C (dispatch): pass name to params2string.
6056 2003-02-26 Angus Leeming <leeming@lyx.org>
6058 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6060 Rearrange the ~includes. Strip out the unnecessary ones.
6062 * factory.C (createInset): reformat.
6063 create new insets for the various LFUN_XYZ_APPLY lfuns.
6065 2003-02-26 John Levon <levon@movementarian.org>
6068 * lyxrow.C: add isParStart,isParEnd helpers
6070 * paragraph.h: make isInserted/DeletedText take refs
6072 * paragraph_funcs.h:
6073 * paragraph_funcs.C: remove #if 0'd code
6078 * text.C: use lyxrow helpers above.
6079 Move draw and paint routines to RowPainter.
6080 Make several methods use refs not pointers.
6081 Make backgroundColor() const.
6082 Add markChangeInDraw(), isInInset().
6083 Merge changeRegionCase into changeCase.
6084 Make workWidth() shouldn't-happen code into an Assert.
6087 * rowpainter.C: new class for painting a row.
6090 * vspace.C: make inPixels take a ref
6092 2003-02-26 Angus Leeming <leeming@lyx.org>
6094 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6097 2003-02-25 John Levon <levon@movementarian.org>
6099 * ispell.C: give the forked command a more accurate name
6101 2003-02-22 John Levon <levon@movementarian.org>
6104 * toc.C: make TocItem store an id not a Paragraph *
6107 2003-02-21 Angus Leeming <leeming@lyx.org>
6109 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6110 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6111 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6112 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6113 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6114 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6116 * BufferView_pimpl.C (dispatch):
6117 * LyXAction.C (init):
6118 * factory.C (createInset):
6119 * lyxfunc.C (getStatus, dispatch):
6120 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6122 2003-02-21 Angus Leeming <leeming@lyx.org>
6124 * BufferView_pimpl.C (MenuInsertLyXFile):
6125 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6126 * lyxfunc.C (menuNew, open, doImport):
6127 no longer pass a LyXView & to fileDlg.
6129 2003-02-21 Angus Leeming <leeming@lyx.org>
6131 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6132 * LyXAction.C: change, BIBKEY to BIBITEM.
6133 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6134 Change InsetBibKey to InsetBibitem.
6135 Change BIBKEY_CODE to BIBITEM_CODE.
6136 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6137 * factory.C: replace insetbib.h with insetbibitem.h.
6138 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6139 * paragraph.C: replace insetbib.h with insetbibitem.h.
6140 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6141 Change bibkey() to bibitem().
6142 * text.C: remove insetbib.h.
6143 * text2.C: replace insetbib.h with insetbibitem.h.
6144 change bibkey() to bibitem().
6145 * text3.C: remove insetbib.h.
6146 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6148 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6150 * lyxrc.C (output): enclose user email in quotes (in case there are
6153 2003-02-18 John Levon <levon@movementarian.org>
6155 * buffer.h: add std::
6157 2003-02-17 John Levon <levon@movementarian.org>
6163 * pspell.C: reworking. Especially in ispell, a large
6164 number of clean ups and bug fixes.
6166 * lyxfunc.C: fix revert to behave sensibly
6168 2003-02-17 André Pönitz <poenitz@gmx.net>
6171 * commandtags.h: new LFUN_INSERT_BIBKEY
6181 * paragraph_func.C: remove special bibkey handling
6183 2003-02-17 John Levon <levon@movementarian.org>
6185 * text.C (Delete): fix case where delete at the end of
6186 the very first paragraph would not merge the pars
6188 2003-02-17 John Levon <levon@movementarian.org>
6190 * lyxrow.C: fix lastPrintablePos()
6192 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6194 * bufferparams.C (writeLaTeX): add a std:here
6196 * buffer.C: and remove a using directive there
6198 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6200 * buffer.C (makeLaTeXFile): move the code that generates the
6203 * bufferparams.C (writeLaTeX): ... in this new method
6205 * LaTeXFeatures.C (getEncodingSet): make const
6206 (getLanguages): make const
6208 * MenuBackend.C (binding): returns the binding associated to this
6210 (add): sets the status of each item by calling getStatus. Adds
6212 (read): add support for OptSubMenu
6213 (expand): remove extra separator at the end of expanded menu
6215 2003-02-15 John Levon <levon@movementarian.org>
6218 * BufferView_pimpl.C:
6220 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6221 inset code that had no actual effect. Remove unneeded status
6224 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6226 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6229 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6231 * text.C (drawLengthMarker): also draw an arrow marker for
6232 symbolic lengths (medskip...)
6234 2003-02-14 John Levon <levon@movementarian.org>
6237 * tabular.C: better method names
6239 2003-02-14 John Levon <levon@movementarian.org>
6241 * BufferView_pimpl.C:
6246 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6247 it's a more accurate name. Remove some pointless uses.
6249 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * text2.C (LyXText): change order of initilizers to shut off
6254 2003-02-14 John Levon <levon@movementarian.org>
6256 * buffer.C: use ParIterator for getParFromID()
6260 * paragraph_pimpl.h:
6261 * paragraph_pimpl.C: remove unused getParFromID()
6263 2003-02-14 John Levon <levon@movementarian.org>
6265 * buffer.C: remove some very old #if 0'd parse code
6267 2003-02-13 John Levon <levon@movementarian.org>
6271 * text2.C: move hfillExpansion(), numberOfSeparators(),
6272 rowLast(), rowLastPrintable(), numberofHfills(),
6273 numberOfLabelHfills() ...
6276 * lyxrow.C: ... to member functions here.
6281 * text.C: remove LyXText::beginningOfMainBody(), and call
6282 p->beginningOfMainBody() directly. Move the check for
6283 LABEL_MANUAL into the latter.
6290 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6296 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6297 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6299 2003-02-13 John Levon <levon@movementarian.org>
6301 * CutAndPaste.C: remove debug
6303 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * paragraph.C (asString): remove two unused variables
6307 * lyxtextclass.C (readTitleType):
6309 (LyXTextClass): handle new members titletype_ and titlename_
6311 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6313 2003-02-09 John Levon <levon@movementarian.org>
6316 * buffer.C: replace hand-coded list with a map for the dep clean
6318 2003-02-08 John Levon <levon@movementarian.org>
6320 * LaTeX.C: consolidate code into showRunMessage() helper
6322 2003-02-08 John Levon <levon@movementarian.org>
6327 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6328 and pass the size in explicitly
6330 * BufferView_pimpl.h:
6331 * BufferView_pimpl.C:
6333 * BufferView.C: add getCurrentChange()
6335 * BufferView_pimpl.h:
6336 * BufferView_pimpl.C: handle change lfuns
6338 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6339 for changes. Mark pasted paragraphs as new.
6341 * support/lyxtime.h:
6342 * support/lyxtime.C:
6343 * DepTable.C: abstract time_t as lyx::time_type
6346 * LColor.C: add colours for new text, deleted text, changebars
6348 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6349 package use "usenames" option.
6353 * LyXAction.C: add change lfuns
6357 * author.C: author handling
6360 * buffer.C: add a per-buffer author list, with first entry as
6361 current author. Handle new .lyx tokens for change tracking. Output
6362 author list to .lyx file. Output dvipost stuff to .tex preamble.
6363 Bump lyx format to 222.
6366 * bufferlist.C: add setCurrentAuthor() to reset current author details
6370 * bufferparams.C: add param for tracking
6372 * bufferview_funcs.C: output change info in minibuffer
6376 * changes.C: add change-tracking structure
6379 * debug.C: add CHANGES debug flag
6382 * lyxfind.C: add code for finding the next change piece
6385 * lyxrc.C: add user_name and user_email
6388 * lyxrow.C: add a metric for the top of the text line
6391 * text.C: implement accept/rejectChange()
6394 * text.C: paint changebars. Paint new/deleted text in the chosen
6395 colours. Strike through deleted text.
6399 * paragraph_pimpl.h:
6400 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6401 in the current change to the insert functions. Rework erase to
6402 mark text as deleted, adding an eraseIntern() and a range-based
6403 erase(). Implement per-paragraph change lookup and
6406 * paragraph_funcs.C: Fixup paste for change tracking.
6408 * tabular.C: mark added row/columns as new.
6410 * text.C: fix rowLast() to never return -1. Don't allow
6411 spellchecking of deleted text. Track transpose changes. Don't
6412 allow paragraph break or merge where appropriate.
6414 * text2.C: leave cursor at end of selection after a cut.
6416 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * text.C (getLengthMarkerHeight):
6419 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6420 visible on screen too.
6422 2003-02-07 John Levon <levon@movementarian.org>
6424 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6426 2003-02-05 Angus Leeming <leeming@lyx.org>
6428 * lyxserver.C (read_ready): revert my patch of 11 September last year
6429 as it sends PC cpu through the roof. Presumably this means that
6430 the lyxserver will no longer run on an Alpha...
6432 2003-01-30 Angus Leeming <leeming@lyx.org>
6434 * factory.C (createInset): create an InsetCommandParam of type "index"
6435 and use it to 'do the right thing'.
6437 * text2.C (getStringToIndex): ensure that cursor position is always
6438 reset to the reset_cursor position.
6440 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6442 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6445 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6449 * lyxfunc.C: Output messages with identical spelling, punctuation,
6452 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6454 * MenuBackend.C (expandFormats): List only viewable export formats
6457 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6460 * lyxfunc.C (getStatus): Make sure that formats other than
6461 "fax" can also be disabled
6463 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6465 * text3.C (dispatch): put the lfuns that insert insets in 3
6466 groups, and call doInsertInset with appropriate arguments.
6467 (doInsertInset): new function, that creates an inset and inserts
6468 it according to some boolean parameters.
6470 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * buffer.C (readFile): remember to pass on 'par' when calling
6473 readFile recursively.
6475 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6477 * MenuBackend.C (expandFormats): add "..." to import formats.
6479 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6481 * paragraph.C (asString): Remove XForms RTL hacks.
6483 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6484 * buffer.C: fix typo
6486 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6488 * Makefile.am (LIBS): delete var
6489 (lyx_LDADD): add @LIBS@ here instead.
6491 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6493 * Clarify the meaning of "wheel mouse jump"
6495 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6497 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6500 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * importer.C (Loaders): do not preallocate 3 elements in the
6503 vector, since one ends up with 6 elements otherwise
6505 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * DepTable.C (write): write the file name as last element of the
6508 .dep file (because it may contain spaces)
6509 (read): read info in the right order
6511 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6513 * paragraph_pimpl.C (simpleTeXBlanks):
6514 (simpleTeXSpecialChars):
6515 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6517 * tabular.C (latex): add some missing case statements. Reindent.
6519 * MenuBackend.C (expandToc): remove unused variable.
6521 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6530 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6533 2003-01-05 John Levon <levon@movementarian.org>
6536 * BufferView.C: add getEncoding()
6539 * kbsequence.C: do not store last keypress
6542 * lyxfunc.C: store last keypress here instead. Pass encoding
6545 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6547 * lyx_main.C (init): remove annoying error message when following
6548 symbolic links (bug #780)
6550 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6552 * text.C (insertChar):
6553 * lyxrc.C (getDescription): remove extra spaces
6555 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6557 * lyxrc.C (getDescription): remove extra spaces
6559 2002-12-20 John Levon <levon@movementarian.org>
6561 * text3.C: hack fix for page up/down across tall rows
6563 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6565 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6568 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6570 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6571 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6572 thesaurus is not compiled in
6574 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6576 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6578 2002-12-16 Angus Leeming <leeming@lyx.org>
6581 * lyx_main.C (init): remove override_x_deadkeys stuff.
6583 2002-12-12 John Levon <levon@movementarian.org>
6585 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6586 insert. Only remove shift modifier under strict
6589 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * MenuBackend.C (expandToc): fix crash.
6593 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * MenuBackend.C (expandToc): gettext on float names.
6597 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6599 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6600 implement bool empty() [bug 490]
6602 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6606 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * several files: ws changes
6610 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * text2.C (setCounter): clean up a bit, use boost.format.
6613 (updateCounters): initialize par upon declaration.
6615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6616 if the layout exists. We do not just store the layout any more.
6617 (SwitchLayoutsBetweenClasses): use boost.format
6619 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6621 * converter.C (convert): if from and to files are the same, use a
6622 temporary files as intermediary
6624 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6629 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6631 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6633 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * tabular.C (asciiPrintCell): use string(size, char) instead of
6638 * sgml.C (openTag): fix order of arguments to string constructor
6641 * lyxfunc.C (dispatch): use boost.format
6643 * lots of files: change "c" -> 'c'
6645 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6647 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6649 2002-11-25 Angus Leeming <leeming@lyx.org>
6651 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6653 * lyx_main.C (init): compile fix.
6655 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * lyx_cb.C (start): boost.formatify
6658 do not include <iostream>
6660 * lengthcommon.C: ws only
6662 * boost-inst.C,BoostFormat.h: add more explict instantations
6664 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * lots of files: handle USE_BOOST_FORMAT
6668 2002-11-21 John Levon <levon@movementarian.org>
6670 * pspell.C: fix compile
6672 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6674 * lyxfunc.C (dispatch): use boost::format
6678 * lyxfont.C (stateText): use boost::format
6680 * lyx_main.C (LyX): use boost::format
6682 (queryUserLyXDir): ditto
6685 (typedef boost::function): use the recommened syntax.
6687 * importer.C (Import): use boost::format
6689 * debug.C (showLevel): use boost::format
6691 * converter.C (view): use boost::format
6696 * bufferview_funcs.C (currentState): use boost::format
6698 * bufferlist.C (emergencyWrite): use boost::format
6700 * buffer.C (readLyXformat2): use boost::format
6701 (parseSingleLyXformat2Token): ditto
6703 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6705 * LaTeX.C (run): use boost::format
6707 * Chktex.C (scanLogFile): use boost::format
6709 * BufferView_pimpl.C (savePosition): use boost::format
6710 (restorePosition): ditto
6711 (MenuInsertLyXFile): ditto
6713 * BoostFormat.h: help file for explicit instation.
6715 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6717 * tabular.C (latex): Support for block alignment in fixed width
6720 2002-11-17 John Levon <levon@movementarian.org>
6722 * BufferView_pimpl.C:
6724 * lyxfunc.C: split filedialog into open/save
6726 2002-11-08 Juergen Vigna <jug@sad.it>
6728 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6729 by my last patch (hopefully).
6731 2002-11-08 John Levon <levon@movementarian.org>
6740 * toc.C: ParConstIterator, and use it (from Lars)
6742 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6744 * lyxtextclass.[Ch]: revise and add doxygen comments
6746 2002-11-07 John Levon <levon@movementarian.org>
6748 * text.C: fix progress value for spellchecker
6750 * toc.C: fix navigate menu for insetwrap inside minipage
6752 * paragraph_funcs.C: added FIXME for suspect code
6754 2002-11-07 John Levon <levon@movementarian.org>
6756 * BufferView_pimpl.C: fix redrawing of insets
6759 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6761 * text2.C (updateCounters): fix bug 668
6763 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6765 * text3.C (dispatch): Do not make the buffer dirty when moving the
6768 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6770 * vc-backend.C: STRCONV
6773 * text2.C (setCounter): STRCONV
6775 * paragraph.C (asString): STRCONV
6777 * lyxlength.C (asString): STRCONV
6778 (asLatexString): ditto
6780 * lyxgluelength.C (asString): STRCONV
6781 (asLatexString): ditto
6783 * lyxfunc.C (dispatch): STRCONV
6786 * lyxfont.C (stateText): STRCONV
6788 * importer.C (Import): STRCONV
6790 * counters.C (labelItem): STRCONV
6791 (numberLabel): ditto
6792 (numberLabel): remove unused ostringstream o
6797 * bufferview_funcs.C (currentState): STRCONV
6799 * buffer.C (readFile): STRCONV
6800 (asciiParagraph): ditto
6801 (makeLaTeXFile): ditto
6803 * Spacing.C (writeEnvirBegin): STRCONV
6805 * LaTeXFeatures.C (getLanguages): STRCONV
6806 (getPackages): ditto
6808 (getBabelOptions): ditto
6809 (getTClassPreamble): ditto
6810 (getLyXSGMLEntities): ditto
6811 (getIncludedFiles): ditto
6815 (scanAuxFile): ditto
6818 * LString.h: add the STRCONV macros
6820 * BufferView_pimpl.C (savePosition): STRCONV
6821 (restorePosition): ditto
6822 (MenuInsertLyXFile): ditto
6824 * vc-backend.C (scanMaster): change from submatch[...] to
6827 * funcrequest.C: include config.h
6829 * factory.C: include config.h
6831 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6833 * box.C: include config.h
6835 * LaTeX.C (scanAuxFile): change from submatch[...] to
6839 2002-10-25 Angus Leeming <leeming@lyx.org>
6841 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6843 * ispell.[Ch] (setError): new method.
6844 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6845 Use setError() insetead of goto END.
6847 * lyx_cb.C (AutoSave): move out child process into new class
6850 2002-10-30 John Levon <levon@movementarian.org>
6852 * text3.C: make start appendix undoable
6854 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6856 * lyxlength.C (inPixels): Fix returned value.
6858 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6861 2002-10-24 Angus Leeming <leeming@lyx.org>
6863 * lyxgluelength.h: no need to forward declare BufferParams
6864 or BufferView, so don't.
6866 2002-10-21 John Levon <levon@movementarian.org>
6868 * BufferView.C: menuUndo ->undo, redo
6870 * BufferView.h: document, remove dead, make some methods private
6872 * paragraph_funcs.h:
6873 * paragraph_funcs.C:
6874 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6879 * sgml.C: move sgml open/close tag into sgml.C
6881 * bufferview_funcs.h: unused prototype
6884 * lyxfunc.C: remove unused
6887 * text.C: remove unused
6889 2002-10-21 John Levon <levon@movementarian.org>
6893 * BufferView_pimpl.h:
6894 * BufferView_pimpl.C: fix mouse wheel handling based on
6895 patch from Darren Freeman
6897 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6899 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6901 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6903 * lyxlength.C (inPixels): Fix hanfling of negative length.
6904 Fix LyXLength::MU case.
6906 2002-10-16 John Levon <levon@movementarian.org>
6908 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6910 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6912 * converter.C (view): add support for $$i (file name) and $$p
6913 (file path) for the viewer command. If $$i is not specified, then
6914 it is appended to the command (for compatibility with old syntax)
6916 2002-10-14 Juergen Vigna <jug@sad.it>
6918 * undo_funcs.C (textHandleUndo): alter the order in which the
6919 new undopar is added to the LyXText, as we have to set first
6920 the right prev/next and then add it as otherwise the rebuild of
6921 LyXText is not correct. Also reset the cursor to the right paragraph,
6922 with this IMO we could remove the hack in "redoParagraphs()".
6924 2002-10-09 Angus Leeming <leeming@lyx.org>
6926 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6927 to turn off an optimisation if a new inset is to be inserted.
6929 2002-10-11 André Pönitz <poenitz@gmx.net>
6931 * lyxtext.h: make some functions public to allow access
6932 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6934 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6936 * text3.C (dispatch): when changing layout, avoid an infinite loop
6939 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6941 * lyxrc.C (read): treat a viewer or converter command of "none" as
6944 * MenuBackend.C (expandFormats): for an update, also allow the
6945 formats that are not viewable
6947 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6948 script if it is newer than the lyxrc.defaults in user directory
6950 2002-10-07 André Pönitz <poenitz@gmx.net>
6952 * text.C: Vitaly Lipatov's small i18n fix
6954 2002-09-25 Angus Leeming <leeming@lyx.org>
6956 * ispell.h: doxygen fix.
6958 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6960 * buffer.h (readFile): Add a new argument to the method, to allow
6961 reading of old-format templates.
6963 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6965 * toc.C (getTocList): Get TOC from InsetWrap.
6967 2002-09-16 John Levon <levon@movementarian.org>
6969 * lyxfunc.C: check tabular for cut/copy too
6971 2002-09-12 John Levon <levon@movementarian.org>
6976 * factory.C: add header
6978 * paragraph_funcs.h:
6979 * paragraph_funcs.C: cleanup
6981 2002-09-11 John Levon <levon@movementarian.org>
6983 * PrinterParams.h: odd/even default to true
6985 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6987 * PrinterParams.h: update printer parameters for new xforms dialog
6989 2002-09-11 Angus Leeming <leeming@lyx.org>
6991 * lyxserver.C (read_ready): re-write to make it more transparent
6992 and to make it work in coherent fashion under Tru64 Unix.
6994 2002-09-11 André Pönitz <poenitz@gmx.net>
6998 * text3.C: implement LFUN_WORDSEL
7000 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7003 make floatlist_ a boost::shared_ptr<FloatList>
7005 * lyxtextclass.C: include FloatList.h
7006 (LyXTextClass): initialize floatlist_
7007 (TextClassTags): add TC_NOFLOAT
7008 (Read): match "nofloat" to TC_NOFLOAT and use it.
7009 (readFloat): modify call to floatlist_
7013 * FloatList.[Ch] (FloatList): remove commented out float
7015 (erase): new function
7017 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7019 * MenuBackend.C (expandToc): fix crash when there is no document
7022 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7024 * many files: Add insetwrap.
7026 2002-09-09 John Levon <levon@movementarian.org>
7028 * text2.C: remove confusing and awkward depth wraparound
7030 2002-09-09 John Levon <levon@movementarian.org>
7032 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7035 * buffer.C: remove getIncludeonlyList()
7038 * lyxfunc.C: remove headers
7040 2002-09-09 Juergen Vigna <jug@sad.it>
7042 * text.C (getColumnNearX): fix form Michael this is most
7043 probably a cut&paste bug.
7045 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7049 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7050 references, ws changes.
7052 * text2.C (init): update counters after init
7053 (insertParagraph): no need to set counter on idividual paragraphs.
7054 (setCounter): access the counters object in the textclass object
7055 on in the buffer object.
7056 (updateCounters): ditto
7058 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7059 shared_ptr<Counters> to avoid loading counters.h in all
7061 (LyXTextClass): initialize ctrs_
7062 (TextClassTags): add TC_COUNTER, and ...
7063 (Read): use it here.
7064 (CounterTags): new tags
7065 (readCounter): new function
7066 (counters): new funtion
7067 (defaultLayoutName): return a const reference
7069 * counters.C (Counters): remove contructor
7070 (newCounter): remove a couple of unneeded statements.
7071 (newCounter): simplify a bit.
7072 (numberLabel): some small formatting changes.
7074 * buffer.[Ch]: remove all traces of counters, move the Counters
7075 object to the LyXTextClass.
7077 2002-09-06 Alain Castera <castera@in2p3.fr>
7079 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7080 package to set the horizontal alignment on fixed width columns.
7083 * lyx_sty.h: added tabularnewline macro def.
7085 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7087 2002-09-06 John Levon <levon@movementarian.org>
7089 * LyXAction.C: tooltips for sub/superscript
7091 * MenuBackend.C: a bit more verbose
7093 * lyxfunc.C: tiny clean
7095 * undo_funcs.C: document undo_frozen
7097 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * counters.C (Counters): add missing algorithm counter.
7101 * text2.C (setCounter): lookup the counter with layouts latexname
7102 instead of by section number.
7103 (setCounter): use a hackish way to lookup the correct enum
7105 a float name->type change
7106 reset enum couners with counter name directly instead of depth value.
7108 * counters.C (Counters): remove the push_backs, change to use the
7109 float type not the float name.
7110 (labelItem): remove unused string, float name->type change
7112 * counters.h: don't include vector, loose the enums and sects vectors
7114 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7117 (Read): add float->TC_FLOAT to textclassTags
7118 (Read): and handle it in the switch
7119 (readFloat): new function
7121 * FloatList.C (FloatList): comment out the hardcoded float
7124 * lyxlayout.h: ws change.
7126 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7128 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7130 2002-09-03 Angus Leeming <leeming@lyx.org>
7132 * BufferView_pimpl.h: qualified name is not allowed in member
7133 declaration: WorkArea & Pimpl::workarea() const;
7135 * factory.C: added using std::endl directive.
7137 * text3.C: added using std::find and std::vector directives.
7139 2002-08-29 André Pönitz <poenitz@gmx.net>
7142 * text2.C: remove unused member number_of_rows
7145 * BufferView2.C: remove file, move contents to...
7146 * BufferView.C: ... here
7148 * BufferView_pimpl.C:
7149 * factory.C: move more inset creation to factory
7151 * vspace.C: avoid direct usage of LyXText, ws changes
7154 don't provide direct access to WorkArea, use two simple
7155 acessors haveSelction() and workHeight() instead
7158 2002-08-29 John Levon <levon@movementarian.org>
7160 * BufferView_pimpl.C (dispatch): do not continue when
7163 2002-08-28 André Pönitz <poenitz@gmx.net>
7165 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7168 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7170 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7172 * buffer.C: increment LYX_FORMAT to 221
7174 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7175 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7177 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7179 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7181 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * factory.C (createInset): use LyXTextClass::floats
7185 * MenuBackend.C (expandFloatListInsert):
7186 (expandFloatInsert):
7189 * text2.C (setCounter):
7191 * LaTeXFeatures.C (useFloat):
7192 (getFloatDefinitions):
7194 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7196 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7197 floatlist_, with accessor floats().
7199 * FloatList.h: remove global FloatList
7201 2002-08-26 André Pönitz <poenitz@gmx.net>
7203 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7207 * BufferView_pimpl.C:
7208 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7210 2002-08-25 John Levon <levon@movementarian.org>
7212 * LyXAction.C: fix margin note description
7214 2002-08-24 John Levon <levon@movementarian.org>
7218 * bufferview_funcs.C:
7220 * undo_funcs.C: cleanups
7222 * lyxfunc.C: disable CUT/COPY when no selection
7224 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7226 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7227 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7229 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7230 Add backward compatibility to "mono", "gray" and "no".
7232 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7234 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7235 (and file_format >= 200).
7237 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7239 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7241 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7243 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7245 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7247 * BufferView_pimpl.C:
7254 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7255 inset and code to make it work with the paragraph code. The inset
7256 can be anywhere in the paragraph, but will only do the expected
7257 thing in LaTeX if the layout file contains the parameter line
7259 (or more generally, a nonzero value) for that layout.
7261 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * paragraph.h: remove the declaration of undefined counters class
7266 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7268 * text2.C (setCounter): fixed enumeration mis-count as reported by
7269 Dr. Richard Hawkins.
7271 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7273 * paragraph_funcs.h: remove some unneeded includes
7275 * text.C (backspace): pasteParagraph now in global scipe
7277 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7278 (pasteSelection): ditto
7280 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7281 * paragraph_funcs.C (pasteParagraph): ... here
7283 2002-08-20 André Pönitz <poenitz@gmx.net>
7285 * commandtags.h: new LFUNs for swapping/copying table row/colums
7288 * lyxfunc.C: support for new lfuns
7290 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * buffer.[Ch]: remove NO_COMPABILITY stuff
7295 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * boost.C (throw_exception): new file, with helper function for
7298 boost compiled without exceptions.
7303 * ParameterStruct.h:
7304 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7306 * bufferlist.C (emergencyWriteAll): use boost bind
7308 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7310 * text.C: include paragraph_funcs.h
7311 (breakParagraph): breakParagraph is now in global scope
7313 * paragraph_funcs.[Ch]: new files
7315 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7318 * buffer.C: include paragraph_funcs.h
7319 (insertStringAsLines): breakParagraph is now in global scope
7321 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7324 * CutAndPaste.C: include paragraph_funcs.h
7325 (cutSelection): breakParagraphConservative is now in global scope
7326 (pasteSelection): ditto
7328 * buffer.h: declare oprator== and operator!= for
7329 Buffer::inset_iterator
7331 * bufferlist.C (emergencyWrite): don't use fmt(...)
7333 * text3.C: add using std::endl
7335 * BufferView.C (moveCursorUpdate): remove default arg
7337 2002-08-20 André Pönitz <poenitz@gmx.net>
7339 * buffer.[Ch]: move inline functions to .C
7342 * BufferView_pimpl.C:
7344 * buffer.[Ch]: use improved inset_iterator
7347 * paragraph.[Ch]: write one paragraph at a time
7349 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7351 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7352 style if style is not specified.
7354 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7356 * text2.C (setCounter): when searching for right label for a
7357 caption, make sure to recurse to parent insets (so that a caption
7358 in a minipage in a figure float works) (bug #568)
7360 2002-08-20 André Pönitz <poenitz@gmx.net>
7362 * text3.C: new file for LyXText::dispatch() and helpers
7364 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7366 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7368 2002-08-19 André Pönitz <poenitz@gmx.net>
7371 * text.C: new LyXText::dispatch()
7373 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7375 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7377 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7379 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7382 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * Makefile.am: use $(variables) instead of @substitutions@
7386 2002-08-15 André Pönitz <poenitz@gmx.net>
7389 * BufferView_pimpl.C: streamlining mathed <-> outer world
7393 * LyXAction.C: remove unused LFUN_MATH
7395 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7399 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * paragraph.C (Paragraph): reformat a bit
7402 (cutIntoMinibuffer): use builtin InsetList function instad of
7406 * buffer.C: include boost/bind.hpp, add using std::for_each
7407 (writeFileAscii): use ParagraphList iterators
7408 (validate): use for_each for validate traversal of paragraphs
7409 (getBibkeyList): use ParagraphList iterators
7410 (resizeInsets): use for_each to resizeInsetsLyXText for all
7412 (getParFromID): use ParagraphList iterators
7414 * BufferView2.C (lockInset): use paragraph list and iterators
7416 2002-08-14 John Levon <levon@movementarian.org>
7418 * lyxserver.C: remove spurious xforms include
7420 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7422 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7424 2002-08-13 André Pönitz <poenitz@gmx.net>
7427 * lyxfunc.C: further cleaning
7429 2002-08-13 André Pönitz <poenitz@gmx.net>
7431 * funcrequest.h: new constructor
7433 * funcrequest.C: move stuff here from .h
7436 * BufferView_pimpl.C:
7439 * lyxfunc.C: subsequent changes
7441 * lyxfunc.h: new view() member function
7443 * lyxfunc.C: subsequent changes
7445 2002-08-13 Angus Leeming <leeming@lyx.org>
7448 * BufferView_pimpl.C:
7456 changes due to the changed LyXView interface that now returns references
7457 to member variables not pointers.
7459 2002-08-13 Angus Leeming <leeming@lyx.org>
7461 * WordLangTuple (word, lang_code): return references to strings,
7466 * lyxtext.h: forward-declare WordLangTuple.
7471 * text.C: #include "WordLangTuple.h".
7474 * text.C: (selectNextWordToSpellcheck): constify return type.
7476 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7482 * paragraph_pimpl.h:
7485 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7487 Made updateCounter always count from start of buffer, and removed
7488 second argument (par).
7489 Reverted floats number display to '#'. Perhaps I'll try again when the
7490 code base is sanitized a bit.
7492 2002-08-12 Angus Leeming <leeming@lyx.org>
7494 * buffer.[Ch] (getLabelList): constify.
7496 2002-08-07 André Pönitz <poenitz@gmx.net>
7498 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7500 * funcrequest.h: extension to keep mouse (x,y) position
7502 2002-08-12 Juergen Vigna <jug@sad.it>
7504 * BufferView2.C (insertErrors): forbid undo when inserting error
7507 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7509 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * ParagraphList.[Ch]: new files
7513 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7515 * BufferView2.C (lockInset): ParagraphList changes
7518 * bufferlist.C: ditto
7522 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7525 unused class variable counter_,
7527 * paragraph.[Ch] (getFirstCounter): delete unused function
7529 * counters.C: include LAssert.h
7530 (reset): add a new function with no arg, change other version to
7531 not have def. arg and to not allow empty arg.
7533 * text2.C (setCounter): remove empty arg from call to Counters::reset
7535 2002-08-11 John Levon <levon@movementarian.org>
7537 * Makefile.am: add WordLangTuple.h
7539 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7541 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7542 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7544 * insets/insettext.C: InsetList changes
7546 * graphics/GraphicsSupport.C (operator()): InsetList changes
7548 * toc.C (getTocList): InsetList changes
7550 * paragraph_pimpl.[Ch]: InsetList changes
7552 * paragraph.[Ch]: InsetList changes
7554 * buffer.C (inset_iterator): InsetList changes
7555 (setParagraph): ditto
7556 * buffer.h (inset_iterator): ditto
7557 * iterators.C (operator++): ditto
7558 * iterators.h: ditto
7560 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7562 * InsetList.[Ch]: new files, most InsetList handling moved out of
7565 * BufferView2.C (removeAutoInsets): InsetList changes
7567 (ChangeInsets): ditto
7569 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * paragraph_pimpl.h (empty): new function
7573 * paragraph.[Ch] (empty): new function
7575 * other files: use the new Paragraph::empty function
7577 2002-08-09 John Levon <levon@movementarian.org>
7579 * lyxtext.h: remove unused refresh_height
7581 2002-08-09 John Levon <levon@movementarian.org>
7588 * paragraph.C: move sgml char escaping out of paragraph
7591 * paragraph.C: remove id setter
7595 * paragraph_pimpl.C: remove dead tex_code_break_column
7597 * bufferview_funcs.C: small cleanup
7599 * lyxfunc.C: remove dead proto
7601 * lyxtext.h: make some stuff private. Remove some dead stuff.
7603 * lyxgluelength.C: make as[LyX]String() readable
7605 2002-08-08 John Levon <levon@movementarian.org>
7610 * ToolbarDefaults.C:
7613 * toc.C: lyxaction cleanup
7615 2002-08-08 John Levon <levon@movementarian.org>
7617 * BufferView2.C: small cleanup
7620 * lyxfind.C: move unnecessary header into the .C
7622 2002-08-08 John Levon <levon@movementarian.org>
7624 * funcrequest.h: just tedious nonsense
7627 * lyx_main.C: cleanups
7630 * vspace.C: remove dead header lyx_main.h
7632 2002-08-07 Angus Leeming <leeming@lyx.org>
7635 * paragraph_pimpl.h:
7636 Forward declare class Counters in paragraph.h by moving the ctrs member
7637 variable into Paragraph::Pimpl.
7638 (counters): new method, returning a reference to pimpl_->ctrs.
7640 * text2.C: ensuing changes.
7642 2002-08-07 John Levon <levon@movementarian.org>
7644 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7646 * BufferView_pimpl.C: announce X selection on double/triple
7649 * lyx_main.C: use correct bool in batch dispatch
7651 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7653 2002-08-07 André Pönitz <poenitz@gmx.net>
7655 * funcrequest.h: new class to wrap a kb_action and its argument
7658 * BufferView_pimpl[Ch]:
7662 * lyxrc.C: subsequent changes
7665 2002-08-07 John Levon <levon@movementarian.org>
7667 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7668 document options change.
7670 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7675 * makefile.am: move counters functionality over from
7676 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7678 2002-08-06 John Levon <levon@movementarian.org>
7680 * WordLangTuple.h: new file for word + language code tuple
7691 * BufferView2.C: use WordLangTuple
7694 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7696 2002-08-06 John Levon <levon@movementarian.org>
7698 * lyx_main.C: fix cmdline batch handling
7700 2002-08-06 André Pönitz <poenitz@gmx.net>
7702 * lyxrc.C: set default for show_banner to true
7704 2002-08-06 John Levon <levon@movementarian.org>
7706 * pspell.C: fix a crash, and allow new aspell to work
7708 2002-08-06 John Levon <levon@movementarian.org>
7711 * kbmap.C: small cleanup
7714 * vspace.C: add const
7716 2002-08-05 John Levon <levon@movementarian.org>
7718 * LyXAction.C: back to tabular-insert
7720 2002-08-04 John Levon <levon@movementarian.org>
7723 * BufferView.C: cosmetic change
7725 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7735 * BufferView2.C: purge all "Lyx" not "LyX" strings
7738 * lyxcursor.C: attempt to add some documentation
7743 * ToolbarDefaults.C:
7744 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7745 merge with LFUN_TABULAR_INSERT
7752 * pspell.C: split up i/pspell implementations into separate
7753 files, many cleanups
7755 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7757 * text2.C: some cleanup
7759 * lyxfunc.C: don't check for isp_command == "none" any more, it
7760 didn't make any sense
7762 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7767 * makefile.am: move counters functionality over
7768 from text2.C/paragraph.[Ch] to counters.[Ch], and
7770 2002-08-02 John Levon <levon@movementarian.org>
7772 * buffer.C: s/lyxconvert/lyx2lyx/
7774 2002-08-02 Angus Leeming <leeming@lyx.org>
7776 * lyxlex.C: revert John's change as it breaks reading of the user
7779 2002-08-02 Angus Leeming <leeming@lyx.org>
7781 * importer.C (Import):
7782 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7783 changes due to LyXView::view() now returning a boost::shared_ptr.
7785 2002-08-02 John Levon <levon@movementarian.org>
7787 * lyxlex.C: small cleanup
7789 2002-08-02 John Levon <levon@movementarian.org>
7791 * text2.C (status): small cleanup, no logic change
7793 2002-08-01 John Levon <levon@movementarian.org>
7796 * buffer.C (writeFile): don't output alerts, caller
7800 * lyx_cb.C: from above
7802 * lyxfunc.C: allow to open non-existent files
7804 2002-07-31 John Levon <levon@movementarian.org>
7806 * lyxserver.C: don't let incidental errors get
7809 2002-07-30 John Levon <levon@movementarian.org>
7811 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7813 2002-07-30 John Levon <levon@movementarian.org>
7816 * lyxserver.C: remove I/O callback too
7818 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7823 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * many files: strip,frontStrip -> trim,ltrim,rtrim
7827 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * PrinterParams.h: remove extern containsOnly, and include
7830 support/lstrings.h instead.
7832 * LaTeX.C (scanAuxFile): modify because of strip changes
7834 * buffer.C (makeLaTeXFile): ditto
7835 * bufferparams.C (writeFile): ditt
7836 * lyxfont.C (stateText): ditto
7837 * lyxserver.C (read_ready): ditto
7838 * vc-backend.C (scanMaster): ditto
7840 * BufferView_pimpl.h: ws changes
7842 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7844 2002-07-26 André Pönitz <poenitz@gmx.net>
7846 * kb_sequence.C: remove unnedred usings
7848 2002-07-26 Juergen Vigna <jug@sad.it>
7850 * lyxfind.C (LyXReplace): we have to check better if the returned
7851 text is not of theLockingInset()->getLockingInset().
7853 2002-07-25 Juergen Vigna <jug@sad.it>
7855 * lyxfind.C (LyXReplace): don't replace if we don't get the
7858 * undo_funcs.C (createUndo): remove debugging code.
7860 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7862 * buffer.C (parseSingleLyXformat2Token): Use default placement
7863 when reading old floats.
7865 * FloatList.C (FloatList): Change the default placement of figure
7866 and tables to "tbp".
7868 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7870 * MenuBackend.C: using std::max
7872 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * MenuBackend.C (expandToc):
7875 (expandToc2): code moved from xforms menu frontend. It is now
7876 generic and TOCs are transparent to menu frontends.
7878 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7880 * toc.C (getTocList): protect against buf=0
7882 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7883 Menu as first parameter. Now, this calls itself recursively to
7884 expand a whole tree (this will be useful for TOC handling)
7885 (expandFloatInsert): remove 'wide' version of floats
7887 * MenuBackend.h (submenuname): returns the name of the submenu.
7888 (submenu): returns the submenu itself, provided it has been
7889 created by MenuBackend::expand
7891 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7893 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7894 insets which have noFontChange == true. (bug #172)
7896 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7898 * BufferView_pimpl.C: add connection objects and use them...
7901 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * MenuBackend.C (expandLastfiles):
7906 (expandFloatListInsert):
7907 (expandFloatInsert):
7908 (expand): split expand in parts
7910 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7912 * lyx_gui.C: use lyx_gui::exit()
7914 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7916 * LyXAction.C: show the failing pseudo action
7918 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7920 * buffer.C (readFile): Run the lyxconvert script in order to read
7923 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7927 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7929 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7933 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7935 2002-07-22 Herbert Voss <voss@lyx.org>
7938 * lyxlength.[Ch]: add support for the vertical lengths
7940 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7942 * toc.[Ch]: std:: fixes
7944 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7946 * lyxrc.C: do not include lyx_main.h
7948 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7954 * BufferView2.C: include "lyxlex.h"
7957 * bufferparams.h: do not #include "lyxlex.h"
7959 * lyxtextclasslist.C (Add): remove method
7960 (classlist): renamed to classlist_
7962 * paragraph_pimpl.C:
7966 * bufferview_funcs.C:
7971 * toc.C (getTocList): use BufferParams::getLyXTextClass
7973 * toc.C (getTocList): use InsetFloat::addToToc
7975 * toc.[Ch]: new files, containing helper functions to handle table
7978 * lyxfunc.C (dispatch): no need to remove spaces around command
7980 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7981 first command of the sequence; it is not very clever, but I do not
7982 have a better idea, actually
7984 * LyXAction.C (LookupFunc): make sure to remove space at the
7985 beginning and end of the command
7987 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7989 * MenuBackend.C (getMenubar): new method: return the menubar of
7991 (read): treat differently reading of menu and menubar (in
7992 particular, the menubar has no name now)
7993 (Menu::menubar): remove
7995 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7998 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8000 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8001 a bibitem inset in a RTL paragraph.
8003 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8005 * paragraph_pimpl.C: constify
8007 * BufferView_pimpl.C:
8009 * lyxfunc.C: fix dispatch in a nicer way
8011 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8013 * lyxfunc.C (dispatch):
8014 * BufferView_pimpl.C:
8015 * BufferView_pimpl.h:
8017 * BufferView.h: rename Dispatch() to dispatch()
8019 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8021 * lyxlayout.C (Read): honor DependsOn tag
8023 * lyxlayout.[Ch] (depends_on): new method
8025 * version.C.in: update lyx_docversion
8027 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8029 * paragraph.C (validate): remove from here...
8030 * paragraph_pimpl.C (validate): ... and move here
8031 (isTextAt): make it const
8033 * buffer.C (getLists): ws cleanup
8035 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8037 * language.C (read): Use iso8859-1 encoding in latex_lang
8038 (this prevents LyX from crashing when using iso10646-1 encoding).
8040 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8042 * text2.C (toggleInset): if cursor is inside an inset, close the
8043 inset and leave cursor _after_ it
8045 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8047 * lyxfunc.C: move minibuffer completion handling out of here
8049 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8051 * BufferView_pimpl.C:
8052 * LaTeX.C: fix dispatch calls
8054 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8056 * text.C (drawChars): Fix Arabic text rendering.
8058 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8062 * lyxfunc.C: remove message-push/pop
8066 * lyxfunc.C: rationalise some code by removing verboseDispatch
8067 in favour of a bool argument to dispatch()
8069 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8071 * lyx_main.C (init): make sure to read symlinks as absolute paths
8073 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8076 * lyxfunc.C: no need for commandshortcut to be a member
8078 2002-07-15 André Pönitz <poenitz@gmx.net>
8080 * converter.C: add support for $$s (scripts from lib/scripts dir)
8081 * lyx_main.C: white space
8083 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8087 * lyxrc.C: remove second exit confirmation
8089 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8094 * BufferView_pimpl.h:
8095 * BufferView_pimpl.C:
8096 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8098 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * MenuBackend.C (expand): add numeric shortcuts to document menu
8102 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8104 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8106 * lyxfont.C (setLyXFamily):
8113 * buffer.C (asciiParagraph): use ascii_lowercase
8115 2002-07-15 Mike Fabian <mfabian@suse.de>
8117 * lyxlex_pimpl.C (search_kw):
8118 * lyxlex.C (getLongString):
8119 * converter.h (operator<):
8120 * converter.C (operator<):
8121 * buffer.C (parseSingleLyXformat2Token):
8123 * ToolbarDefaults.C (read):
8124 * MenuBackend.C (checkShortcuts):
8126 * LColor.C (getFromGUIName):
8127 (getFromLyXName): use the compare_ascii_no_case instead of
8128 compare_no_case, because in turkish, 'i' is not the lowercase
8129 version of 'I', and thus turkish locale breaks parsing of tags.
8131 2002-07-16 Angus Leeming <leeming@lyx.org>
8133 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8134 now takes a Buffer const & argument.
8136 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8138 * BufferView.C (resize): check there's a buffer to resize
8140 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8142 * lyxfunc.C: remove dead code
8145 * lyxserver.C: use lyx_guii::set_read_callback
8147 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8149 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8150 an inset in a RTL paragraph.
8152 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8154 * lyxfunc.C: repaint after a font size update
8156 2002-07-15 André Pönitz <poenitz@gmx.net>
8158 * lyxlength.C: inBP should be able to return negative values
8160 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8162 * lyxfunc.C: use lyx_gui::update_fonts()
8164 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8166 * lyxfunc.C: use lyx_gui::update_color()
8168 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8174 * lyxrc.C: remove file->new asks for name option, and let
8175 buffer-new take an argument
8177 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8179 * BufferView_pimpl.C: remove unneeded extra repaint()
8181 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8183 * LyXAction.C: allow command-sequence with NoBuffer
8185 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8187 2002-07-10 Angus Leeming <leeming@lyx.org>
8189 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8191 2002-07-09 Angus Leeming <leeming@lyx.org>
8193 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8195 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8197 * lengthcommon.h: whitespace
8199 * lyxfunc.C: update scrollbar after goto paragraph
8201 * lyxtext.h: factor out page break drawing, and fix it so
8202 page break/added space paints as selected nicely
8204 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8206 * BufferView_pimpl.C: add FIXMEs, clean up a little
8208 2002-07-09 André Pönitz <poenitz@gmx.net>
8210 * lyxfont.[Ch]: support for wasy symbols
8212 2002-07-08 André Pönitz <poenitz@gmx.net>
8214 * BufferView_pimpl.C: apply John's patch for #93.
8216 2002-07-05 Angus Leeming <leeming@lyx.org>
8218 * BufferView_pimpl.C (buffer): generate previews if desired.
8220 * LColor.h: add "preview" to the color enum.
8222 * LColor.C (LColor): add a corresponding entry to the items array.
8224 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8227 2002-07-05 Angus Leeming <leeming@lyx.org>
8229 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8230 The body of the code is now in the method that is passed an ostream &
8231 rather than a file name.
8232 Pass an additional only_preamble parameter, useful for the forthcoming
8235 2002-07-03 André Pönitz <poenitz@gmx.net>
8237 * lyxfunc.C: simplify getStatus() a bit for math stuff
8239 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8241 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8243 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8245 * text.C (changeRegionCase): do not change case of all the
8246 document when region ends at paragraph end (bug #461)
8248 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8250 * paragraph.C (startTeXParParams):
8251 (endTeXParParams): add \protect when necessary
8253 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8255 * BufferView_pimpl.C (workAreaExpose): remove warning
8257 2002-06-27 Angus Leeming <leeming@lyx.org>
8259 * Makefile.am: add lyxlayout_ptr_fwd.h.
8261 2002-06-26 André Pönitz <poenitz@gmx.net>
8263 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8265 2002-06-25 Angus Leeming <leeming@lyx.org>
8267 * lyxfunc.C (dispatch): Comment out the call to
8268 grfx::GCache::changeDisplay. The method no longer exists now that the
8269 pixmap generation part of the graphics loader has been moved into
8272 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8274 * text2.C: layout as layout
8276 * text.C: layout as layout
8278 * tabular.C (OldFormatRead): layout as layout
8280 * paragraph_pimpl.C (TeXDeeper): layout as layout
8281 (realizeFont): layout as layout
8283 * paragraph.C (writeFile): layout as layout
8284 (validate): layout as layout
8285 (getFont): layout as layout
8286 (getLabelFont): layout as layout
8287 (getLayoutFont): layout as layout
8288 (breakParagraph): layout as layout
8289 (stripLeadingSpaces): layout as layout
8290 (getEndLabel): layout as layout
8291 (getMaxDepthAfter): layout as layout
8292 (applyLayout): layout as layout
8293 (TeXOnePar): layout as layout
8294 (simpleTeXOnePar): layout as layout
8295 (TeXEnvironment): layout as layout
8296 (layout): layout as layout
8297 (layout): layout as layout
8299 * lyxtextclass.C (compare_name): new functor to work with
8300 shared_ptr, layout as layout
8301 (Read): layout as layout
8302 (hasLayout): layout as layout
8303 (operator): layout as layout
8304 (delete_layout): layout as layout
8305 (defaultLayout): layout as layout
8307 * lyxlayout_ptr_fwd.h: new file
8309 * lyxlayout.C (Read): layout as layout
8311 * lyx_cb.C (MenuInsertLabel): layout as layout
8313 * bufferlist.C (newFile): layout as layout
8315 * buffer.C (readLyXformat2): layout as layout
8316 (parseSingleLyXformat2Token): layout as layout
8317 (insertStringAsLines): layout as layout
8318 (asciiParagraph): layout as layout
8319 (latexParagraphs): layout as layout
8320 (makeLinuxDocFile): layout as layout
8321 (simpleLinuxDocOnePar): layout as layout
8322 (makeDocBookFile): layout as layout
8323 (simpleDocBookOnePar): layout as layout
8324 (getLists): layout as layout
8326 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8328 * CutAndPaste.C (cutSelection): layout as layout
8329 (pasteSelection): layout as layout
8330 (SwitchLayoutsBetweenClasses): layout as layout
8332 * BufferView_pimpl.C (Dispatch): layout as layout
8333 (smartQuote): layout as layout
8335 * BufferView2.C (unlockInset): layout as layout
8337 2002-06-24 André Pönitz <poenitz@gmx.net>
8339 * lyxfunc.C: fix #487
8341 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8345 * lyxfunc.C: remove display_shortcuts, show_banner
8347 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8349 * Buffer_pimpl.C: oops, update on resize
8351 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8358 * BufferView.C: use repaint()
8360 * BufferView_pimpl.h:
8361 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8362 as it's a clearer description. Remove superfluous
8365 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8367 * text.C: fix bug 488. Not ideal, but getting
8368 getWord() to work properly for the insets that
8369 matter is more difficult ...
8371 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8373 * BufferView_pimpl.C:
8376 * lyxfunc.C: remove the six million index lyxfuncs to just
8377 one, and DTRT (bug 458)
8379 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8383 * BufferView_pimpl.h:
8384 * BufferView_pimpl.C: clean up resize() stuff,
8385 and unnecessary updateScreen()s
8387 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8391 * BufferView_pimpl.h:
8392 * BufferView_pimpl.C:
8395 * minibuffer.C: remove focus management of workarea,
8396 not needed. Use screen's greyOut()
8398 2002-06-17 Herbert Voss <voss@lyx.org>
8400 * converter.C: (convert) do not post a message, when converting
8401 fails, let the calling function decide what to do in this case
8403 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8405 * lyxfunc.C: tidy up a little
8407 2002-06-16 <alstrup@diku.dk>
8409 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8410 Got rid of FORMS_H_LOCATION include. Now we are
8413 2002-06-15 LyX Development team <lyx@rilke>
8415 * buffer.[Ch] (sgmlOpenTag):
8416 (sgmlCloseTag): Added support for avoiding pernicious mixed
8417 content. Return number of lines written.
8420 (makeDocBookFile): Fixed calls to sgml*Tag.
8421 Simple white space clean.
8423 (simpleDocBookOnePar): Simple white space clean.
8425 * tabular.[Ch] (docBook): Renamed to docbook and got another
8426 argument to related with the pernicious mixed content.
8428 (docbookRow): Fixed calls for docbook inset method.
8430 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8432 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8433 so it's X11 independent.
8437 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8439 2002-06-15 Lyx Development team <lyx@electronia>
8441 * intl.h: Renamed getTrans to getTransManager.
8443 2002-06-14 Angus Leeming <leeming@lyx.org>
8445 * Makefile.am: nuke forgotten stl_string_fwd.h.
8447 2002-06-12 Angus Leeming <leeming@lyx.org>
8449 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8451 2002-06-13 Angus Leeming <leeming@lyx.org>
8454 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8456 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8458 * kbmap.C (getiso): add support for cyrillic and greek
8460 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8464 * BufferView_pimpl.h:
8465 * BufferView_pimpl.C: move bogus scrolling logic
8468 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8471 * BufferView_pimpl.C: view->resize() change
8473 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8475 * BufferView_pimpl.C: topCursorVisible
8478 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8482 * lyx_gui.C: move to frontends/
8486 * lyx_main.C: changes from above
8488 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8495 * lyx_main.C: minor tidy
8497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8499 * BufferView_pimpl.h:
8500 * BufferView_pimpl.C:
8502 * BufferView.C: make painter() const,
8505 * BufferView2.C: use screen() accessor
8508 * lyx_main.C: some minor cleanup
8510 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8512 * BufferView_pimpl.h:
8513 * BufferView_pimpl.C: remove enter/leaveView,
8516 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8521 * BufferView_pimpl.h:
8522 * BufferView_pimpl.C: only construct screen once,
8525 * lyxrc.C: remove pointless comment
8527 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8530 * BufferView.C: remove active() and belowMouse()
8532 * BufferView_pimpl.h:
8533 * BufferView_pimpl.C: use workarea() not workarea_,
8534 and make it use a scoped_ptr instead
8536 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8538 * lyx_gui.C: add debug message on BadWindow
8540 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * sp_spell.C: fdopen is not part of the C++ standard.
8544 * paragraph.C (InsetIterator): use >= instead of ==
8546 2002-06-07 Angus Leeming <leeming@lyx.org>
8548 Fixes needed to compile with Compaq cxx 6.5.
8549 * BufferView_pimpl.C:
8556 * lyxtextclasslist.C:
8561 all c-library variables have been moved into namespace std. Wrap
8562 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8567 Add a using std::abs declaration.
8569 * kbmap.h (modifier_pair):
8570 * paragraph.h (InsetTable, InsetList):
8571 * lyxfont.h (FontBits):
8572 type definition made public.
8574 * bufferlist.C (emergencyWriteAll): the compiler complains that
8575 there is more than one possible lyx::class_fun template to choose from.
8576 I re-named the void specialisation as lyx::void_class_fun.
8578 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8580 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8581 the compiler is is unable to find tostr in write_attribute.
8583 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8585 * buffer.C (sgmlError): hide #warning
8587 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8589 * xtl/*: get rid of xtl, which is not in use anyway
8591 * LyXAction.C (init):
8592 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8593 were unimplemented xtl experimentation
8595 2002-06-04 André Pönitz <poenitz@gmx.net>
8597 * lyxfunc.C: disable array operation on simple formulae
8599 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8601 * converter.C: constify a bit
8603 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8605 * lyx_gui.C: check xforms version correctly
8607 2002-04-30 Herbert Voss <voss@lyx.org>
8609 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8612 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8614 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8615 attempt to register it with a VCS)
8617 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8619 * lyx_main.C (init): honor variables LYX_DIR_13x and
8622 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8626 * lyx_main.C: fix a crash on bad command line,
8627 and give a useful exit status on error
8629 * lyxfunc.C (doImport): allow -i lyx to work
8631 2002-03-30 André Pönitz <poenitz@gmx.net>
8633 * lyxfunc.C: mathed font changes
8635 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8650 * trans_mgr.h: srcdocs, and some minor cleanups
8652 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8654 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8655 call getFont all the time)
8657 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8659 * switch from SigC signals to boost::signals
8661 2002-05-29 André Pönitz <poenitz@gmx.net>
8663 * paragraph_pimpl.C (getChar): don't call size() too often...
8665 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * paragraph_pimpl.C (insertChar): do not try to update tables when
8668 appending (pos == size())
8670 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8671 in order to reduce drastically the number of comparisons needed to
8672 parse a large document
8674 2002-05-29 André Pönitz <poenitz@gmx.net>
8680 * textclasslist.[Ch]:
8681 * sp_ispell.h: whitespace change
8683 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8685 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8686 lyxaction directly now.
8688 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8692 * lyxvc.C: remove unused headers
8694 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8701 * undo_funcs.C: some cleanups. Use shared_ptr
8702 and a template for the undo stacks.
8704 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8706 * BufferView_pimpl.h:
8707 * BufferView_pimpl.C:
8714 * text2.C: use key_state/mouse_state
8716 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8718 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8721 * chset.C: change include order
8722 (loadFile): use boost regex and get rid of LRegex and LSubstring
8724 * Makefile.am (BOOST_LIBS): new variable
8727 * LaTeX.C: change include order.
8728 (scanAuxFile): use boost regex and get rid of LRegex and
8732 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8737 * FontInfo.C: moved to frontends/xforms/
8740 * FontLoader.C: moved into frontends for GUIIzation
8745 * lyxfunc.C: changes from above
8747 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8749 * LColor.C: remove spurious X include
8751 * BufferView_pimpl.C:
8756 * text2.C: move font metrics to frontends/
8758 2002-05-24 Juergen Vigna <jug@sad.it>
8760 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8761 setting the undo_cursor.
8763 * ParagraphParameters.h: include local includes first.
8765 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.C:
8768 * BufferView_pimpl.h:
8772 * screen.C: move WorkArea into frontends/
8778 * BufferView2.C: move LyXScreen into frontends/
8782 * lyx_gui.C: move lyxlookup into frontends/xforms/
8784 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8787 * BufferView_pimpl.C:
8797 * bufferview_funcs.C:
8810 * vc-backend.C: move LyX/XFormsView into frontends/
8812 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8824 * text2.C: move Painter to frontends/
8826 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * buffer.C: comment out some some code that depend upon lyx_format
8831 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8832 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8834 * buffer.h (NO_COMPABILITY): turn off compability
8836 * ColorHandler.C: include scoped_array.hpp
8838 * font.C: Use more specific smart_ptr header.
8841 * ShareContainer.h: ditto
8845 * BufferView_pimpl.h: ditto
8846 * ColorHandler.h: ditto
8848 * kbmap.C (defkey): change call to shared_ptr::reset
8850 2002-05-21 Juergen Vigna <jug@sad.it>
8852 * buffer.C (insertErtContents): fix to insert ert asis if it is
8853 non empty. Skip it completely if it contains only whitespaces.
8855 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8857 * BufferView_pimpl.C:
8858 * BufferView2.C: clear selection on paste (bug 393)
8860 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * DepTable.C: include ctime
8864 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8866 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8868 2002-05-14 Juergen Vigna <jug@sad.it>
8870 * text.C (breakParagraph): fixed function to honor the keepempty
8871 layout in the right maner and also to permit the right breaking
8872 algorithm on empty or non empyt keepempty paragraphs.
8874 * paragraph.C (breakParagraph): we have to check also if the par
8875 is really empty (!size()) for isempty otherwise we do the wrong
8878 2002-05-10 Juergen Vigna <jug@sad.it>
8880 * buffer.[Ch] : The following are only changes to the ert
8881 compatibility read reading old LaTeX layout and font stuff and
8882 convert it to ERTInsets.
8884 * buffer.h: added isErtInset().
8886 * buffer.C (struct ErtComp): add a fromlayout bool to check
8887 if we're inside a LaTeX layout.
8888 (isErtInset): new helper function.
8889 (insertErtContents): look for other ert insets before this one
8890 and insert the contents there, so that we don't have subsequent
8891 ERT insets with nothing between them. This way we create only one
8892 inset with multiple paragraphs. Also check if we don't insert only
8893 spaces ' ' as they are ignored anyway afterwards in the .tex file
8894 so if we have only spaces we will ignore this latex part in the
8896 (parseSingleLyXformat2Token \\layout): better compatibility when
8897 reading layout-latex stuff.
8898 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8900 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8901 stuff after reading the inset only get the information back from
8904 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8906 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8908 * LaTeXFeatures.C (getBabelOptions): New method.
8910 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * BufferView_pimpl.C (Dispatch): work around missing argument for
8915 2002-05-08 Juergen Vigna <jug@sad.it>
8917 * text.C (leftMargin): handle paragraph leftindent.
8919 * paragraph.C (writeFile): write the new \\leftindent tag.
8920 (validate): handle leftindent code.
8921 (TeXEnvironment): handle paragraphleftindent code again.
8923 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8925 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8926 for paragrap_extra indent code and new token \\leftindent.
8927 (latexParagraphs): handle the leftindent as environment.
8929 * ParameterStruct.h: added leftindent support.
8931 * ParagraphParameters.C (leftIndent): added support functions for
8932 the paragraph left indent.
8934 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8937 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8939 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8942 * text.C (computeBidiTables): No bidi in insetERT.
8944 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8947 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * version.C.in: pre 5
8951 2002-05-02 José Matos <jamatos@fep.up.pt>
8952 * buffer.C (makeDocBookFile): white space changes, add newline to
8954 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8956 * tabular.C (docBook): fix typo.
8958 2002-05-03 Juergen Vigna <jug@sad.it>
8960 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8961 change in LyXText as we can not be sure it was not freed.
8962 (drawOneRow): remove unused code.
8964 * text.C (drawInset): redo the calculation of the need_break_row as
8965 it could have a row which was already freed.
8966 (draw): look at the return value of drawInset and return false if
8967 it also returned false.
8968 (paintRowText): look at the return value of draw and return false if
8969 it also returned false.
8971 * lyxtext.h: added bool return type to drawInset() and draw() so that
8972 if we have a change in the row so that the rowbreak has to be redone
8973 we abort drawing as it will be called again.
8975 2002-05-02 Juergen Vigna <jug@sad.it>
8977 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8978 a change in the maintext also if we're inside an inset.
8979 (Dispatch): set the cursor again after a break line and after the
8980 screen has been updated as it could be we're in a different row.
8982 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8983 to set the cursor behind the pargraph with > size().
8984 (setCursor): check also for the same paragraph when checking where
8985 to put the cursor if we have a NFR inset.
8987 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8988 parts of layout read further up as it still was in the wrong
8991 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * screen.C (drawFromTo): change sine fullRebreak always return
8996 * buffer.C (parseSingleLyXformat2Token): reindent some
8998 * BufferView_pimpl.C (update): change since fullRebreak always
9000 (Dispatch): git rid of the last hardcoded "Standard"s.
9002 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9004 * text2.[Ch] (fullRebreak): make it return void now that we always
9007 2002-04-30 Juergen Vigna <jug@sad.it>
9009 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9010 ert compatibility check for "latex" layout.
9012 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9014 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9015 minipages: use col% instead of p%, and also use the current font.
9016 (makeLaTeXFile): Fix use babel condition.
9017 (parseSingleLyXformat2Token): Correct font when reading old floats.
9019 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9021 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9022 inserting list of floats.
9024 2002-04-25 Herbert Voss <voss@lyx.org>
9026 * MenuBackend.C (expand): don't add the graphics extensions to the
9029 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9032 non-existing layout, do not complain if it was the default layout
9033 of the original class (bug #342)
9035 2002-04-24 Juergen Vigna <jug@sad.it>
9037 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9038 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9040 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9042 * buffer.C (getBibkeyList): If using \bibliography, return the
9043 option field with the reference itself. Enables us to provide natbib
9044 support when using \bibliography.
9046 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9048 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9050 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9051 natbib is provided by the LaTeX class.
9053 2002-04-23 Juergen Vigna <jug@sad.it>
9055 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9058 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9060 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9062 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9064 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9065 ensuremath around textordmasculine, textordfeminine and
9068 2002-04-19 Juergen Vigna <jug@sad.it>
9070 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9071 reinitializing the buffer otherwise row-dimensions may be wrong.
9072 (update): reset also the selection cursors if they do exits otherwise
9073 their x/y positions may be wrong.
9075 * text2.C (cursorDown): don't enter the inset if we came from a row
9076 above and are one row over the inset.
9078 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9079 really leaving an inset.
9081 2002-04-18 Juergen Vigna <jug@sad.it>
9083 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9084 of the selected paragraph does not have the selected layout also if
9087 * text2.C (setLayout): fixed bug which did not change last selected
9090 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9091 changed the read and substituted \\end_float with \\end_inset!
9093 * BufferView_pimpl.C (cursorPrevious):
9094 (cursorNext): fixed to make it work with rows heigher than the work
9095 area without moving the cursor only the draw of the row.
9096 (workAreaMotionNotify): fix jumping over high rows.
9098 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9103 2002-04-16 Juergen Vigna <jug@sad.it>
9105 * text2.C (setCursor): set also the irow().
9106 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9108 (cursorDown): support for locking an inset if the x_fix value goes
9109 inside it. That way I can transverse insets too with cursor up/down.
9111 * lyxrow.h: added irow helper function same as other (i) functions.
9113 * BufferView_pimpl.C (cursorPrevious):
9114 (cursorNext): fixed for insets!
9116 2002-04-15 Juergen Vigna <jug@sad.it>
9118 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9119 position otherwise it is wrong in some cases.
9121 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9122 inside the inset before the call.
9124 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9126 * buffer.[Ch] (getBibkeyList): make it const.
9128 2002-04-12 Juergen Vigna <jug@sad.it>
9130 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9132 * text2.C (getCursorX): new helper function
9133 (setCursor): compute also ix_
9134 (setCursorFromCoordinates): set also ix.
9136 * lyxcursor.h: added ix_ and helper functions.
9138 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9140 * buffer.C (insertStringAsLines): dont break paragraph if the this
9141 paragraph is inside an inset which does not permit it!
9143 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9144 also with no chars on this paragraph.
9145 (paintRowText): only paint stuff if it's inside the workarea!
9147 * paragraph.C (breakParagraph): honor keepempty flag and break the
9148 paragraph always below not above.
9150 * BufferView2.C (unlockInset): update the paragraph layout on inset
9151 unlock as we changed paragraph in such a case.
9153 * lyxfind.C (LyXFind): clear the former selection if not found!
9155 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9156 again called in insertChar().
9158 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9159 an inset which uses the whole row!
9160 (rightMargin): ditto.
9161 (insertChar): force a rebreak if we inserted an inset!
9163 2002-03-28 Herbert Voss <voss@lyx.org>
9165 * lyxlength.[Ch]: add inBP() to get the right PS-point
9166 units (BigPoint). With inPixels we have rounding errors
9168 2002-04-11 Juergen Vigna <jug@sad.it>
9170 * text2.C (setCursorFromCoordinates): set iy to the right value.
9171 (setCursor): add check if row->previous exists!
9173 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9174 an old float_type as this was the case in the old code!
9176 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9178 * BufferView2.C (showLockedInsetCursor): use iy
9179 (fitLockedInsetCursor): ditto
9181 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9182 locked insets as there we have the right value now.
9184 * lyxcursor.C: added iy_ variable and iy functions to set to the
9185 baseline of cursor-y of the locked inset.
9187 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9188 (setCursor): fixed for insets which need a full row.
9190 * text.C (rowLastPrintable): don't ignore the last space when before
9191 an inset which needs a full row.
9192 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9193 as last character of a row when before a inset which needs a full row.
9195 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * version.C.in: update date
9199 * text2.C (fullRebreak): try to always return true and see what
9202 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9204 * MenuBackend.C (expand): use Floating::listName
9206 * FloatList.C (FloatList): add listName argument to the built-in
9209 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9210 text associated with the float.
9212 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9214 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9216 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9218 * ShareContainer.h: add a couple of missing typenames.
9220 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9222 * lyxrc.C (getDescription): use _() correctly rather than N_().
9224 2002-03-28 Herbert Voss <voss@lyx.org>
9226 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9227 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9229 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9231 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9232 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9234 2002-03-29 Juergen Vigna <jug@sad.it>
9236 * lyxfunc.C (dispatch): add a missing fitCursor call.
9238 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9239 it was scrolled by a cursor move, so return the bool status.
9241 * BufferView.C (fitCursor): return the bool flag also to the outside
9242 world as this is needed.
9244 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9246 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9247 call the edit() as it is not needed (and wrong) IMO.
9248 (workAreaButtonPress): set the screen_first variable before evt.
9249 unlock the inset as this may change screen_first and then we have
9250 a wrong y position for the click!
9252 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * MenuBackend.C (expand): another translation that I missed
9256 2002-03-28 Juergen Vigna <jug@sad.it>
9258 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9260 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9262 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9266 * MenuBackend.C (expand): fix export/view/update when there is no
9269 2002-03-27 Herbert Voss <voss@lyx.org>
9271 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9274 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9276 * bufferview_funcs.C (currentState): only show paragraph number
9277 for is DEVEL_VERSION is set.
9279 * lyxfunc.C (dispatch): put warning in INFO channel
9281 * MenuBackend.C (expand): translate the name of floats
9283 * FloatList.C (FloatList): mark the float names for translation
9285 * converter.C (convert): use LibScriptSearch
9287 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * MenuBackend.C (defaults): fix default menu (we might as well get
9292 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9297 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * lyxvc.C: reorder includes.
9301 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9303 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9306 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9308 * CutAndPaste.C: change layouts earlier on paste
9309 to avoid crashing when calling getFont()
9311 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9313 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9316 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * WorkArea.C: remove 'Pending' debug message.
9320 * most files: ws cleanup
9322 * buffer.[Ch]: ws changes
9324 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9326 2002-03-21 Juergen Vigna <jug@sad.it>
9328 * tabular.C (SetMultiColumn): collapse also the contents of the
9329 cells and set the last border right. Added a Buffer const * param.
9331 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9336 2002-03-19 Juergen Vigna <jug@sad.it>
9338 * text2.C (clearSelection): reset also xsel_cache.
9340 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9341 where it needs to be called (John tells us to do so too :)
9342 (selectionLost): reset sel_cache.
9344 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9346 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * text2.C (setCursorIntern): put debuging code in INSETS channel
9350 2002-03-19 André Pönitz <poenitz@gmx.net>
9352 * lyxfunc.C: tiny whitespace change
9354 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * ToolbarDefaults.C (init):
9357 * LyXAction.C (init):
9359 * BufferView_pimpl.C (Dispatch):
9360 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9362 2002-03-19 Allan Rae <rae@lyx.org>
9364 * exporter.C (Export): removeAutoInsets before doing anything else.
9365 While I've just introduced a dependency on BufferView this really is
9366 the best place to clean the buffer otherwise you need to cleanup in
9367 a dozen places before calling export or cleanup in a dozen functions
9370 * converter.C (runLaTeX):
9371 (scanLog): Better handling of removeAutoInsets and screen updates.
9373 * lyxfunc.C (dispatch): small whitespace changes
9375 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9377 * WorkArea.C (C_WorkAreaEvent): return a value.
9378 (event_cb): return 1 if we handled the event, 0 otherwise.
9380 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9382 2002-03-18 Juergen Vigna <jug@sad.it>
9384 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9385 (GetAdditionalWidth): ditto.
9389 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9390 inset if we're there actually (probably not used right now but this
9391 is the direction to go for unifying code).
9392 (paste): disable code to clear the selection.
9394 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9395 inside an InsetText and move the check further up as it is in the
9398 * text2.C (pasteSelection): set a selection over the pasted text.
9400 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9402 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9403 and libgraphics to build on Cygwin.
9405 2002-03-15 Juergen Vigna <jug@sad.it>
9407 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9408 inserting an Inset into the paragraph. I know this is not the best
9409 fix but we already use current_view in CutAndPaste so we will remove
9410 all of it's using at the same time.
9412 * buffer.C (sgmlError): deactivated function till it is rewritten in
9413 the right mode, now it can create problems.
9415 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9416 before accessing it.
9418 2002-03-14 Juergen Vigna <jug@sad.it>
9420 * undo_funcs.C (textHandleUndo): do the right thing when updating
9421 the inset after the undo/redo.
9423 * text2.C (setCursor): just some testcode for #44 not ready yet.
9425 * undo_funcs.C (textHandleUndo): set the next() and previous()
9426 pointers of the paragraph to 0 before deleting otherwise we have
9427 problems with the Paragraph::[destructor].
9429 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9430 on a paragraph insertion.
9432 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9434 * buffer.C (asciiParagraph): use += operator for char append to
9437 * paragraph.C (getFontSettings): compare >= not just >
9438 (highestFontInRange): ditto
9441 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9443 * paragraph.C: change several algorithm to be more appripriate for
9444 the problem domain. This is lookip in FontList and in the InsetList.
9446 2002-03-13 André Pönitz <poenitz@gmx.net>
9449 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9451 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9456 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9458 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9460 * Painter.C (display): anon helper function, adjust code for this
9462 (pixmap): remove function.
9464 * Painter.h: remove private display variable.
9466 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9468 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9470 * WorkArea.[Ch]: remove figinset_canvas cruft.
9472 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * lyxtextclass.C (operator): add one item cache optimization.
9476 * bufferlist.h: doxy changes
9478 * bufferlist.C: ws changes
9480 * DepTable.[Ch] (ext_exist): place const in the right spot.
9482 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9484 (workAreaExpose): call resizeInsets when the with BufferView changes.
9485 (Dispatch): adjust for protectedBlank removal
9486 (specialChar): call updateInset if the insert went ok.
9488 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9489 specialChar instead.
9491 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9493 * BufferView.h: doxy change
9495 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9497 * lyxtextclass.C (operator[]): remove non-const version
9498 (defaultLayout): remove non-const version
9500 2002-03-12 Juergen Vigna <jug@sad.it>
9502 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9503 did resize the LyXText too.
9505 * buffer.C (readLyXformat2): set layout information on newly allocated
9508 * tabular.C (OldFormatRead): set layout information on the paragraph.
9510 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9512 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9514 2002-03-11 Juergen Vigna <jug@sad.it>
9516 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9518 (resizeCurrentBuffer): force also the insets to resize themselfes.
9519 (moveCursorUpdate): fixed up for InsetText.
9521 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9524 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9525 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9526 value of Dialogs::tooltipsEnabled().
9527 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9529 2002-03-08 Juergen Vigna <jug@sad.it>
9531 * BufferView_pimpl.C (updateInset): update inset inside inset also
9532 if it isn't inside theLockingInset().
9534 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * buffer.C (asciiParagraph): redo some of the word and line length
9538 (getLists): look for Caption instead of caption.
9540 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * buffer.C (Buffer): initialize niceFile to true
9545 (makeDocBookFile): make sure niceFile is true on exit
9547 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9551 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9553 * LyXSendto.C: remove.
9554 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9555 * lyx_gui.C: remove now-redundant comment.
9556 * ColorHandler.h: remove forward declaration of class WorkArea.
9557 * lyxfunc.C: remove #include "WorkArea.h".
9559 2002-03-07 Juergen Vigna <jug@sad.it>
9561 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9562 got moved away with the DEPM and also set the inset_owner always
9563 right which before could have been omitted.
9565 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9568 wanted layout is not found.
9570 2002-03-07 Juergen Vigna <jug@sad.it>
9572 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9574 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9576 * paragraph.C (breakParagraph): use default layout not layout of
9578 (Paragraph): clear ParagraphParameters.
9580 2002-03-06 Juergen Vigna <jug@sad.it>
9582 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9583 otherwise it would not be a valid lenght. Fixed a special case in
9584 the minipage compatibility read where we end the document with a
9587 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9588 was set as it could be 0 for InsetTexts first entry.
9590 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * paragraph.C (writeFile): if layout is empty write out
9593 defaultLayoutName().
9595 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9596 file without named layout we set layout to defaultLayoutName().
9598 2002-03-06 Juergen Vigna <jug@sad.it>
9600 * CutAndPaste.C (copySelection): set layout for new paragraph.
9602 * text.C (prepareToPrint): leave ERT inset left aligned
9603 (leftMargin): don't indent paragraphs inside ERT insets
9605 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * paragraph.C (breakParagraph): dont call clear do the work manually
9609 * paragraph.[Ch] (clear): remove function
9611 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * paragraph.C (Paragraph): dont call clear, the work has already
9616 * lyxtextclass.C (operator): assert if n is empty
9618 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9619 work manually instead.
9621 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9623 * BufferView_pimpl.C: protect selectionLost against text == 0
9625 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9627 * text.C (breakParagraph): fix a setting layout to '0' problem.
9629 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9631 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9632 final location of file, for the included files, and graphics.
9634 2002-03-05 Juergen Vigna <jug@sad.it>
9636 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9638 2002-03-04 Juergen Vigna <jug@sad.it>
9640 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9642 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9643 last column of multicolumn cells.
9644 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9646 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9648 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9649 file if it doesn't go to a temporary file.
9651 * buffer.C (sgmlOpenTag):
9652 (sgmlCloseTag): remove extra newline insertion.
9654 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * text.C (getRowNearY): comment out debug msg
9658 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9660 * text2.C: first -> first_y
9662 * text.C (getRowNearY): add some attemts at a possible
9663 optimization, not working.
9665 * tabular.[Ch]: add BufferParams to several function so that newly
9666 created paragraph can be initialized to he default layotu for the
9669 * tabular-old.C (ReadOld): add buf->params to call of Init
9671 * screen.C: rename text->first to text->first_y
9673 * paragraph.C (breakParagraph): always set layout in the broken
9676 * lyxtextclass.C (Read): remove lowercase
9679 (delete_layout): ditto
9681 * lyxtext.h: rename first -> first_y
9683 * lyxlayout.C (Read): remove lowercase
9686 (obsoleted_by): ditto
9688 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9690 * buffer.C (insertErtContents): add params are to InsetERT
9691 (parseSingleLyXformat2Token): add code to check if a paragraphs
9692 layout really exist.
9693 (parseSingleLyXformat2Token): add params to several inset
9695 (asciiParagraph): remove lowercase, do the layout comparisons with
9698 * BufferView_pimpl.C (cursorNext): first -> first_y
9699 (resizeCurrentBuffer): first -> first_y
9700 (updateScrollbar): first -> first_y
9701 (scrollCB): first -> first_y
9702 (workAreaMotionNotify): first -> first_y
9703 (workAreaButtonPress): first -> first_y
9704 (checkInsetHit): first -> first_y
9705 (cursorPrevious): first -> first_y
9706 (cursorNext): first -> first_y
9707 (Dispatch): add buffer_->params to severl inset contructors
9709 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * lyxlayout.C (Read): remove some debug info that I forgot.
9713 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9714 clean up the code slightly.
9715 (makeLinuxDocFile): ditto
9716 (makeDocBookFile): ditto
9718 * text2.C: layout as string
9720 * text.C: layout as string
9722 * paragraph_pimpl.C: layout as string
9724 * paragraph.[Ch]: layout as string
9726 * lyxtextclasslist.[Ch]: layout as string
9728 * lyxtextclass.[Ch]: layout as string
9730 * lyxtext.h: layout as string
9732 * lyxlayout.[Ch]: layout as string
9734 * lyx_cb.C: layout as string
9736 * bufferview_funcs.C: layout as string
9738 * bufferparams.C: layout as string
9740 * buffer.C: layout as string
9742 * LyXView.[Ch]: layout as string
9744 * LaTeXFeatures.[Ch]: layout as string
9746 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9748 * BufferView_pimpl.C: change current_layout to string, remove
9753 (workAreaButtonRelease): layout as string
9755 * BufferView2.C (unlockInset): adjust
9757 * vspace.C (asLatexCommand): use an explict temp variable.
9759 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9761 * Makefile.am: use FRONTEND_*
9763 2002-03-01 Juergen Vigna <jug@sad.it>
9765 * tabular.C (SetWidthOfMulticolCell): changed to something better
9766 I hope but still work in progress.
9767 (recalculateMulticolumnsOfColumn): renamed function from
9768 recalculateMulticolCells as it is more appropriate now.
9769 (SetWidthOfCell): calculate multicols better.
9771 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9775 * lyxfunc.C (processKeySym): print sequence also if it is
9776 `deleted' (complete)
9778 * kbsequence.C (print): print sequence even if it is deleted
9779 (complete would be a better word, actually).
9781 * lyxfunc.C (dispatch): print complete options after a prefix key
9783 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9785 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9787 * text2.C (setCharFont): eliminate setCharFont code duplication.
9789 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9792 LFUN_TABULAR_FEATURE (bug #177)
9794 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9796 * Makefile.am: remove figure.h
9798 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9800 * Bufferview_pimpl.C:
9812 * text2.C: remove #include "lyx_gui_misc.h".
9814 * LaTeX.C: added #include <cstdio>
9816 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9818 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9819 that the paragraph following this one can have.
9821 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9823 * vspace.C (asLatexCommand): fix bogus gcc warning
9825 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9827 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9829 * text2.C (setLayout): get rid of redundant code
9831 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9833 * text2.C (incDepth): make sure depth cannot be increased beyond
9836 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9838 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9839 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9841 * PainterBase.h (image):
9842 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9845 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9849 * BufferView_pimpl.C:
9850 * BufferView_pimpl.h:
9870 * sp_spell.C: remove fig inset, and the crap house of
9871 cards that follows it
9873 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9879 * nt_defines.h: move .h into support/
9881 * vms_defines.h: remove
9883 * WorkArea.C: add space in debug output
9887 * buffer.C: add WITH_WARNINGS
9891 * bufferlist.C: s/retrive/retrieve/, add docs
9902 * lyxgui.C: add ID to X error handler
9904 * lyxtestclass.c: fix typo
9906 2002-02-26 Juergen Vigna <jug@sad.it>
9908 * tabular_funcs.C (write_attribute): changed so that some default
9909 attributes are not written at all.
9910 (getTokenValue): set default values before trying to read the
9911 value so we have the return value always set as default if we don't
9912 find the token we search for.
9914 * tabular.C (Write): write bools as bools not as strings!
9916 2002-02-22 Juergen Vigna <jug@sad.it>
9918 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9919 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9921 * text.C (leftMargin): don't add an indent for paragraphs inside
9922 tabular cells (fix #208).
9924 2002-02-21 José Matos <jamatos@fep.up.pt>
9926 * tabular.C (docBook): fixed support for long tables.
9928 2002-02-20 Juergen Vigna <jug@sad.it>
9930 * text2.C (getFont): get the drawing font of the Inset if this
9931 paragraph is inside an inset (only important for InsetERT for now).
9933 * buffer.C (insertErtContents): use new lanugage params in ERT
9936 * CutAndPaste.C: commenting out seemingly uneeded code.
9938 2002-02-19 Allan Rae <rae@lyx.org>
9940 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9941 Iterators might be simple to use but they also get invalidated.
9942 (removeAutoInsets): renamed saved cursor tracking variables and added
9943 some comments to clarify what everything does.
9945 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9952 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9953 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9956 * vc-backend.h: remove #include "support/syscall.h"
9960 * converter.C: rearrange #includes in Lars' approved fashion.
9962 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9963 forward declare class Timeout in the header file.
9965 * XFormsView.C: changes due to the above.
9967 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9970 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9971 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9973 2002-02-18 José Matos <jamatos@fep.up.pt>
9975 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9978 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9980 * a lot of small ws changes
9981 * add a lot of using std::XXX
9982 * use std construcs some places where approp.
9983 * use some exisint stuff from lyxfunctional where approp.
9984 * Make file changes to use partial linking (lets test this now...)
9986 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9990 remove #include "support/syscontr.h" as it's redundant. Always has been.
9998 change Systemcalls::System to Systemcalls::Wait and
9999 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10000 No change of functionality, just reflects the stripped down Systemcalls
10003 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10005 * debug.[Ch]: add a GRAPHICS type to the enum.
10007 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10011 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10014 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10017 match the changes below.
10019 * text2.C (toggleInset): if there is not editable inset at cursor
10020 position, try to see if cursor is _inside_ a collapsable inset
10023 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10025 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10026 document menu has a nice checkbox
10028 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10030 * lyxlength.C (asLatexString): change PW to output as percent of
10033 * lengthcommon.C: change '%' to 't%'
10035 * lyxfunc.C (dispatch): a few comments from Martin
10037 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10041 * BufferView_pimpl.h:
10042 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10045 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10047 * vspace.C (inPixels): fix compiler warning
10049 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * lyxfunc.C (getStatus): fix status message for disabled commands.
10053 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10055 * BufferView_pimpl.C: fix crash on close buffer
10056 during selection (#227)
10058 2002-01-27 Herbert Voss <voss@lyx.org>
10060 * buffer.C: link old Figure to new graphic inset
10062 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10064 * FontLoader.C (getFontinfo): Change the latex font names in order
10065 to match the names of type1inst.
10067 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10071 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10072 (extchanged): ditto
10074 (remove_files_with_extension): ditto
10075 (remove_file): ditto
10078 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10079 document is smaller than the work area height. Do not initialize
10080 static variables to 0.
10082 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10084 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10086 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10087 LFUN_LAYOUT_PARAGRAPHS.
10089 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10090 tabular. It is possible to provide a possible cell, which will
10091 typically be the actcell from the corresponding insettabular
10093 * lyxfunc.C (getStatus): small cleanup; disable
10094 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10097 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10101 * paragraph.C (startTeXParParams):
10102 (endTeXParParams): new methods. The LaTeX code to
10103 start/end paragraph formatting
10104 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10105 empty (fixes bug #200)
10107 * vspace.C (inPixels): adapt to the change below
10108 (inPixels): [later] more cleanups (remove unused variables)
10110 * lyxlength.C (inPixels): change to use a width and a height as
10113 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10116 Replaced with \paperwidth
10118 * DepTable.C (insert): add std:: qualifier
10120 2002-01-18 Allan Rae <rae@lyx.org>
10122 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10125 * text.C (drawInset): Turned out I didn't know enough about how
10126 rebreaking worked. This fixes most of the redraw problems. I see
10127 an occasional cursor trail when a line is broken now and the cursor
10128 placement can seem out by a few pixels also after a rebreak.
10130 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * buffer.C (parseSingleLyXformat2Token): update because minipage
10133 width is now a LyXLength
10135 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10137 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10140 2002-01-17 Juergen Vigna <jug@sad.it>
10142 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10144 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10145 is set correctly and the inset is updated correctly.
10147 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10150 the beginning of the loop.
10152 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10154 * lyxrc.C: improve help for use_scalable_fonts
10156 2002-01-17 Allan Rae <rae@lyx.org>
10158 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10160 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10163 make sure to set their inset_owner to the right value (bug #171)
10165 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10168 * DepTable.C: Implement mtime checking to reduce time spent doing
10171 2002-01-16 Juergen Vigna <jug@sad.it>
10173 * tabular.C (GetAdditionalHeight): one of error fixed.
10175 * lyxrc.C (output): small fix in writing use_pspell.
10177 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10179 * sp_base.h: #include LString.h
10181 2002-01-16 Allan Rae <rae@lyx.org>
10183 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10184 Can someone check this please?
10186 * text.C (drawInset): It was possible that p.row would be removed by
10187 breakAgainOneRow upsetting a few other settings. There may be another
10188 small tweak possible by setting need_break_row = 0 when p.row has been
10189 removed but I don't know enough about the logic here.
10191 2002-01-15 Allan Rae <rae@lyx.org>
10193 * text.C (insertChar): removed conditional truism.
10195 * BufferView2.C (removeAutoInsets): More tweaks.
10196 cur_par_prev could be a stray pointer. Check for trailing empty line
10197 in case last line was cur_par and only had an error inset on it.
10199 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10201 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10204 * vc-backend.C (most methods):
10205 * exporter.C (Export):
10206 * converter.C (convert):
10208 * LyXSendto.C (SendtoApplyCB):
10209 * lyxfunc.C (dispatch):
10213 * lyx_cb.C (AutoSave):
10215 * BufferView_pimpl.C (MenuInsertLyXFile):
10216 * buffer.C (runChktex): use Buffer::filePath().
10218 * buffer.h: rename filename to filename_; rename filepath to
10219 filepath_ and make it private
10220 (filePath): new method
10222 * buffer.C (writeFile): use fileName()
10225 * lyx_main.C (init): fix starting of LyX when the binary is a
10226 link from so,ewhere else.
10228 * minibuffer.C: include <cctype> for isprint
10230 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10232 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10233 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10234 name clash with InsetCollapsable's width function.
10236 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10238 * lastfiles.C: include <iterator>
10240 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10242 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10245 * buffer.C (makeLaTeXFile): ditto.
10246 Also make loop operation more transparent.
10248 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10250 * ToolbarDefaults.C: remove trailing comma closing namespace.
10252 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10254 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10257 * trans.C (Load): comment out unused variable, allowed.
10259 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10261 * minibuffer.[Ch] (append_char): new method to recieve input from the
10262 drop-down completion browser. If a key was pressed, then recieve this
10263 char and append it to the existing string.
10264 (peek_event): modify the positioning data passed to the completion
10265 browser so that it can be placed above the minibuffer rather than below.
10266 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10268 * LyXAction.C (init): alloe error-next for readonly documents.
10270 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10273 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10275 * bufferlist.C (readFile): create the buffer _after_ checking that
10278 * lyxfunc.C (verboseDispatch): fix handling of arguments
10280 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10282 * lyxrc.C: use string::erase() instead of initializing to "".
10285 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10287 * BufferView_pimpl.h:
10288 * BufferView_pimpl.C:
10291 * text2.C: tell X when we have made a selection for copying
10293 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * BufferView_pimpl.C (MenuInsertLyXFile):
10296 * lyxfunc.C (menuNew):
10298 (doImport): add shortcuts to directory buttons
10300 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10303 * lyxfunc.C (setStatusMessage):
10304 (getStatusMessage): new methods
10305 (getStatus):use setStatusMessage instead of setErrorMessage
10306 (dispatch): when function is disabled, set error message here
10307 [instead of in getStatus previously]
10309 * BufferView_pimpl.C (workAreaButtonRelease): update
10310 toolbar/menubar here too.
10312 2002-01-13 Allan Rae <rae@lyx.org>
10314 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10315 Now seems indestructible. Remaining task is to audit all other
10316 code affected by deleteEmptyParagraphMechanism. One small quirk
10317 left is that an empty document with an error in the preamble can
10318 be made to report an error but no error box appears. I don't know
10320 (removeAutoInsets): Improved comments.
10322 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10325 * Thesaurus.C: update for Aiksaurus 0.14
10327 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * text2.C (firstParagraph): removed member function, all uses
10330 replaces with ownerParagraph
10331 (redoParagraphs): here
10332 (updateInset): here
10333 (toggleAppendix): here
10334 * BufferView2.C (insertErrors): here
10335 (setCursorFromRow): here
10337 2002-01-13 Allan Rae <rae@lyx.org>
10339 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10340 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10341 There is still a way to segfault this although you may have to do this
10342 multiple times: Have an InsetERT with an unknown command in it.
10343 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10344 <down-arrow>, <Enter> again, View->DVI, BANG!
10346 * text2.C (setCursor):
10347 (deleteEmptyParagraphMechanism):
10348 * lyxtext.h (setCursor):
10349 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10350 Making use of the return value may help fix other bugs.
10352 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10356 * LyXView.C (updateMenubar): call MenuBar::update here
10357 (updateToolbar): but not here
10358 (showState): do not update toolbar/menubar
10360 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10361 should need to care about that.
10363 * lyxfunc.C (verboseDispatch): simplify a bit
10364 (getStatus): have a version which takes a pseudoaction, and
10365 another which requires a (kb_action,string).
10367 * LyXAction.C (retrieveActionArg): make it work also when action
10368 is not a pseudo-action.
10369 (getActionName): simplify a bit
10372 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * lyxfunc.C (verboseDispatch): new families of methods with
10375 several ways to specify a command and a bool to indicate whether
10376 the command name and shortcut should be displayed in minibuffer
10377 (eventually, we could extend that to a finer bitmask like
10378 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10379 (dispatch): the pristine dispatch command which just, well,
10380 dispatchs! Note it still sets its result to minibuffer; I'm not
10383 * lyxfunc.h: remove setHintMessage
10385 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10387 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * BufferView_pimpl.C (specialChar): delete new inset if we have
10390 not been able to insert it.
10392 * kbmap.C: revert to using int instead of kb_action, since all we
10393 are dealing with is pseudo-actions.
10395 * LyXAction.C (searchActionArg): change to return int instead of
10396 kb_action, since the result is a pseudoaction.
10398 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10400 * buffer.C (insertErtContents): Fix (partially) the font bug.
10402 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10404 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10405 as the other one is broken on my machine!
10407 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10410 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10412 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10414 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10415 reflect their actual use. Provide compatibility code for older lyxrc
10418 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10420 change names of popup font variables in line with the changes to lyxrc.C
10422 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * buffer.C (asciiParagraph): avoid outputing a word twice after
10427 * lyxrc.C (getDescription): document that document_path and
10428 template_path can be empty.
10430 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * LaTeXFeatures.C (getMacros):
10433 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10435 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10437 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10439 (getPackages): rename feature "floats" to "float". Use an array to
10440 iterate over 'simple' features (i.e. just a \usepackage). Add
10441 handling of "amsmath" (renamed from "amsstyle").
10443 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10445 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10448 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10450 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10451 FuncStaus::FuncStatus & FuncStaus::some_method().
10453 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10455 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10456 of the func_satus stuff. Edited and massaged in various ways by
10459 * lyxfunc.C (getStatus): use FuncStatus
10461 2002-01-08 Juergen Vigna <jug@sad.it>
10463 * text.C (nextBreakPoint): use function Inset::isChar().
10465 * paragraph.C (TeXOnePar): use function
10466 Inset::forceDefaultParagraphs.
10468 * buffer.C (latexParagraphs): use function
10469 Inset::forceDefaultParagraphs.
10471 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10473 * lyx_gui.C (init): set the style of the menu popups to
10474 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10476 2002-01-07 Juergen Vigna <jug@sad.it>
10478 * text.C (setHeightOfRow): small fix
10479 (prepareToPrint): don't look at alignment if we don't have the place
10482 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10484 * box.C: New file. Move the Box methods and functions out of box.h,
10485 following Lars' suggestion.
10487 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10489 * box.h: #include "support/LOstream.h", needed for inlined function.
10492 * lyxtextclasslist.C: added some using std declarations.
10494 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10496 * box.h: make signed dimensions to allow insets wider than
10497 the screen (bug #162)
10499 * BufferView_pimpl.C: add some insetHit debug
10501 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10503 * vc-backend.C: add FIXME
10505 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * lyxfunc.C (getStatus): enable code for showing math font status
10510 2002-01-07 Juergen Vigna <jug@sad.it>
10512 * text.C (nextBreakPoint): removed debug output not needed anymore.
10514 2002-01-06 Juergen Vigna <jug@sad.it>
10516 * text.C (nextBreakPoint): fixed up this function we had this bug
10517 since ever but now hopefully we break row better.
10518 (insertChar): we have to check if an inset is the next char as it
10519 could now happen that a large inset is causing a break.
10521 2002-01-05 Juergen Vigna <jug@sad.it>
10523 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10524 if it doesn't like to be drawed.
10526 2002-01-04 Juergen Vigna <jug@sad.it>
10528 * BufferView2.C (lockInset): forgot to set a cursor.
10530 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10532 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10534 * FormMathsPanel.C:
10537 * form_maths_panel.C:
10538 * form_maths_panel.h:
10539 * form_maths_panel.fd: implemented sub- and super- buttons in math
10542 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10543 (or ^ space) to be used as in TeX (req'd by André).
10545 * lyxfunc.C: Allow ^ and _ again to be used both as
10546 super/subscript (mathed) and as themselves (in text).
10548 2002-01-03 Allan Rae <rae@lyx.org>
10550 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10551 "LyX" or the filename of the current buffer if it has one. This is a
10552 modified form of John Levon's patch.
10554 * XFormsView.C (setWindowTitle): also set icon title.
10556 * LyXView.h (setWindowTitle): signature changed.
10557 * XFormsView.h (setWindowTitle): ditto.
10559 2002-01-02 Juergen Vigna <jug@sad.it>
10561 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10563 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10565 * screen.C (topCursorVisible): introduce a temp var for
10566 text->cursor.row(), handle the case where this row is null. (kindo
10569 * text2.C (setCursor): add a couple of asserts.
10571 * paragraph.h (inset_iterator): add -> operator
10573 * paragraph.[Ch] (autoDeleteInsets): remove member function
10575 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10576 cursor pos correctly and handle inset deletion by itself.
10577 (insertErrors): move iterator declaration out of for expression
10579 * lyxtextclass.C: add <algorithm>
10581 * Makefile.am: added the new files to sources, removed layout.C
10583 * layout.C: removed file
10585 * layout.h: remove LYX_DUMMY_LAYOUT
10587 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10591 * lyxtextclass.[Ch]:
10592 * lyxtextclasslist.[Ch]: new files
10594 * include order changes to a lot of files, also changes because of
10597 2001-12-27 Juergen Vigna <jug@sad.it>
10599 * buffer.C (asciiParagraph): more fixes.
10601 * tabular.C (ascii): make ascii export support export of only the
10602 data separated by a column-delimiter.
10603 (ascii): better support for ascii export.
10605 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10607 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10609 * tabular_funcs.C: use a "using std::getline" instead of the
10610 previous fix from Angus (necessary for cxx + lyxstring)
10612 2001-12-24 Juergen Vigna <jug@sad.it>
10614 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10616 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10617 problems. First check a minipage also if we have some ert-contents
10618 (not only on par->size(), second set the right depth of the paragraph
10619 on the relink to the root-paragraph-list!
10621 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10622 which then did not anymore update the main paragraphs on undo/redo!
10624 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10626 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10627 code. Support all font-changing funcs (even those which are not in
10628 menu currently). Support for reporting font settings in
10629 mathed (disabled until Andre provides a function on mathed's side).
10631 * func_status.h (toggle): small helper function to set toggle
10634 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10636 * tabular_funcs.C: getline -> std::getline
10638 2001-12-21 Juergen Vigna <jug@sad.it>
10640 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10641 accessed and could be 0 (I couldn't generate this but it seems
10644 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10646 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10647 * tabular_funcs.h: here and include iosfwd
10649 2001-12-20 Juergen Vigna <jug@sad.it>
10651 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10652 inside inset but undo_par was.
10654 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10656 * Thesaurus.C: always include <config.h> in sources.
10660 * box.h: do not include <config.h> in header files
10662 * text.C (paintLastRow): remove unused variable
10664 * text.C (transformChar):
10666 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10668 * Painter.C (text):
10669 * font.C (width): rewrite to use uppercase() instead of
10672 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10674 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10676 * lyxfind.C: clean up of find failure position change
10678 2001-12-20 Juergen Vigna <jug@sad.it>
10680 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10682 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10683 (TeXRow): added to LaTeX a single tabular row.
10684 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10685 (Latex): simplified and finally good LT-h/f support.
10686 (various_functions): just small adaptions for LT-h/f support.
10688 * tabular_funcs.[hC]: added and moved here all not classfunctions
10691 2001-12-19 Juergen Vigna <jug@sad.it>
10693 * tabular.[Ch]: better support for longtabular options (not finished
10696 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * text.C (paintLastRow): use the label font instead of the font of
10699 the last character to compute the size of *_BOX. This makes more
10700 sense and avoids a crash with empty paragraphs.
10701 Use Painter::rectangle to draw EMPTY_BOX.
10703 2001-12-19 Juergen Vigna <jug@sad.it>
10705 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10706 the paragraphs if the replaced paragraph is not the first one!
10707 Tried to delete not used paragraphs but does not work yet so for
10708 now it's inside #ifdef's and by default off!
10710 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * MenuBackend.C: include "lyx_main.h" instead of declaring
10713 lastfiles (actually was declared as LastFiles* instead of a
10716 2001-12-17 Juergen Vigna <jug@sad.it>
10718 * tabular.C (AppendColumn): applied John's fix
10720 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10724 * BufferView_pimpl.h:
10725 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10728 * box.h: new start of class for above
10730 * lyxfunc.C: ignore space-only minibuffer dispatches.
10731 Show the command name when it doesn't exist
10733 * minibuffer.C: don't add empty lines to the history
10735 * minibuffer.C: add a space on dropdown completion
10737 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10739 * text.C: fix line above/below drawing in insets
10741 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * lyxlength.C (LyXLength): Initialize private variables.
10745 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10748 when inserting error insets.
10750 2001-12-13 Juergen Vigna <jug@sad.it>
10752 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10753 actually sometimes the before-paragraph.
10754 (setUndo): don't clear the redostack if we're not actually undoing!
10756 2001-12-06 Juergen Vigna <jug@sad.it>
10758 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10759 and fixed redoing of main paragraph, so we can use it now ;)
10761 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10763 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10768 2001-12-13 André Pönitz <poenitz@gmx.net>
10771 * undo_func.C: minor cleanup
10773 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10776 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10777 font in urw-fonts package which is marked as -urw-fontspecific and
10778 does not work (incidentally, changing the encoding in the
10779 fonts.dir of this package to -adobe-fontspecific fixes the
10782 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10783 is a crash when undoing first paragraph (Juergen, please take a
10784 look). THis does not mean the undo fix is wrong, just that it
10787 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10788 the (Paragraph*) version when needed instead of duplicating the
10791 * text.C (workWidth): use Inset::parOwner to find out where the
10792 inset has been inserted. This is a huge performance gain for large
10793 documents with lots of insets. If Inset::parOwner is not set, fall
10794 back on the brute force method
10796 * paragraph_pimpl.C (insertInset):
10797 * paragraph.C (Paragraph):
10798 (cutIntoMinibuffer): set parOwner of insets when
10799 inserting/removing them
10801 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10803 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10809 * mathed/formulabase.C:
10810 * mathed/math_cursor.[Ch]:
10811 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10814 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10816 * lyxlength.[Ch] (operator!=): new function
10818 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10820 * text.C (workWidth): use Inset::parOwner to find out where the
10821 inset has been inserted. This is a huge performance gain for large
10822 documents with lots of insets. If Inset::parOwner is not set, fall
10823 back on the brute force method
10825 * paragraph_pimpl.C (insertInset):
10826 * paragraph.C (Paragraph):
10827 (cutIntoMinibuffer): set parOwner of insets when
10828 inserting/removing them
10830 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10832 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * tabular-old.C (getTokenValue):
10835 * tabular.C (getTokenValue):
10836 (write_attribute): new versions for LyXLength
10837 (everywhere): adjust the use of widths
10839 * tabular.h: change the type of widths from string to LyXLength
10841 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10843 * paragraph.C: fixed missing line number count when exporting
10844 Environments to LaTeX file
10846 * buffer.C: added informational message for checking line numbers.
10848 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10851 paragraph, do the 'double space' part, but not the 'empty
10854 * text.C (workWidth): small optimization
10855 (getLengthMarkerHeight): use minimal size for negative lengths.
10857 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10859 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10861 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10863 2001-12-11 André Pönitz <poenitz@gmx.net>
10866 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10868 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10870 * text2.C: keep selection on a setFont()
10872 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10874 * lyx_cb.C: another bv->text misuse, from insert label
10876 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10879 * kbsequence.C: re-instate nmodifier mask
10881 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10883 * lyx_main.h: make lyxGUI private.
10885 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10887 * lyxfind.C: place the cursor correctly on failed search
10889 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * text.C (getLengthMarkerHeight): for small heights, the arrows
10892 are not always on top/bottom of the text
10893 (drawLengthMarker): smaller arrows; take the left margin in
10894 account; draw also vfills.
10896 (paintLastRow): remove special code for vfill and standard spaces,
10897 since everything is handled in drawLengthMarker now.
10899 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * buffer.C (insertErtContents): try to handle font and language
10902 interaction a bit better.g
10904 * ColorHandler.C (updateColor): change the hash to cover the whole
10905 LColor enum, ws cleanup
10906 (getGCLinepars): ditto
10907 (getGCLinepars): only lookup in the linecache once.
10909 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10911 * iterators.C (operator++): Make the iterator more robust
10913 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10917 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10920 * text.C: better added space drawing
10922 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10925 * BufferView2.C: fix layout combo update on inset unlock
10927 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10929 * Makefile.am: don't compile unused files
10931 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10935 * LyXAction.C: remove old LFUN_LAYOUTNO
10937 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10939 * paragraph_pimpl.h:
10940 * paragraph_pimpl.C: isTextAt() doesn't need font param
10942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10945 * lyxlex.C: little cleanup
10947 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10949 * BufferView_pimpl.C: fix insertAscii for insets
10951 2001-12-05 Juergen Vigna <jug@sad.it>
10953 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10954 set the right font on the "multi" paragraph paste!
10956 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10962 * lyxlength.C: remove out-commented code.
10964 * BufferView_pimpl:
10978 * vc-backend.C: change "while(" to "while ("
10980 * lyxlength.[Ch]: add zero function to check if length is zero or
10982 * lyxgluelength.C: use it
10984 2001-12-05 Allan Rae <rae@lyx.org>
10986 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10987 Works for 2.95.3, from what I understand of Garst's reports this should
10988 work for other g++ versions. We're screwed if the abs(int) definition
10989 changed between bugfix releases of gcc.
10991 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10993 * text.C: fix chapter label offset !
10995 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10998 * text.C: fix hfill at end of line, clean up
11000 2001-12-04 Juergen Vigna <jug@sad.it>
11002 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11003 that we force an update of the inset and it's owners if neccessary.
11005 2001-12-03 Juergen Vigna <jug@sad.it>
11007 * text.C (rowLast): simplified code
11009 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11011 * lyxfunc.C: fix show options on timeout
11013 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11015 * screen.C (topCursorVisible): scroll half a page when the cursor
11016 reached top of bottom of screen
11018 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11020 * minibuffer.C: deactivate on loss of focus
11022 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11024 * vspace.[Ch] (operator!=): add operator.
11026 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11028 * BufferView_pimpl.C: refuse to open an inset when
11029 there's a selection.
11031 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11033 * BufferView_pimpl.C: allow to click on RHS of full row insets
11035 2001-11-30 Juergen Vigna <jug@sad.it>
11037 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11038 insets for undo reasons.
11040 2001-11-28 André Pönitz <poenitz@gmx.net>
11042 * vspace.[Ch]: cosmetical changes
11044 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11054 * kbsequence.C: part re-write of old kb code
11057 * WorkArea.C: remove Lgb_bug_find_hack
11059 2001-11-30 José Matos <jamatos@fep.up.pt>
11061 * buffer.C (makeDocBookFile): add a comment to point a hack.
11062 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11063 Fixed a double write of labels.
11065 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11068 * LaTeX.h Fixed bug in LaTeX class where it would not
11069 re-run latex if no depfiles were changed, but the .dvi was removed.
11071 2001-11-28 André Pönitz <poenitz@gmx.net>
11073 * all the files from the change on 2001/11/26:
11074 use lyx::layout_type instead of LyXTextClass::size_type
11075 use lyx::textclass_type instead of LyXTextClassList::size_type
11077 2001-11-29 Juergen Vigna <jug@sad.it>
11079 * text.C: added support for paragraph::isFreeSpacing()
11081 * buffer.C: same as above
11083 * paragraph.h: inserted isFreeSpacing() function to enable
11084 FreeSpacing inside InsetERT.
11086 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11087 of the paragraph's in the cut/copy buffer to 0!
11089 * text2.C (removeRow): remove the assert as it can!
11091 * lyxtext.h: added helper function firstRow returning firstrow and
11092 made firstrow private again.
11094 * BufferView2.C (lockInset): don't relock if we're already locked!
11096 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11097 the only paragraph.
11098 (removeRow): added Assert::(firstrow)
11100 * debug.C: forgot to add INSETTEXT here.
11102 2001-11-28 Juergen Vigna <jug@sad.it>
11104 * sp_spell.C (initialize): changed error text to more general
11105 spellchecker command use (not only ispell!)
11107 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11109 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11111 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11113 * vspace.C: initialise lyxgluelength on failure
11115 2001-11-28 Allan Rae <rae@lyx.org>
11117 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11118 declaration & definition that looks like a function declaration.
11120 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11122 * BufferView2.C (copy):
11123 (copyEnvironment): do not clear the selection when doing a copy.
11125 * text.C (paintFirstRow): compilation fix
11127 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11129 * tabular.C (Latex): correct line count when writing latex.
11131 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11133 * paragraph_pimpl.h:
11134 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11137 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11141 * LColor.C: change vfillline->added_space
11143 * text.C: add markers and text for added space
11145 * vspace.C: fix comment
11147 2001-11-28 André Pönitz <poenitz@gmx.net>
11149 * paragraph.C: whitespace changes
11150 * all the other files from the change on 2001/11/26:
11151 change *::pos_type into lyx::pos_type
11153 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11155 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11156 language of the document when inserting error insets.
11158 2001-11-26 André Pönitz <poenitz@gmx.net>
11160 * BufferView_pimpl.[Ch]:
11168 * paragraph_pimpl.[Ch]:
11171 * text2.C: reduce header dependencies, introduce type for positions
11173 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11175 * <various>: change to use Alert.h
11177 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11179 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11180 when encountering an unknown token.
11181 (readLyXformat2): Show an error message if there were unknown tokens.
11183 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11186 * BufferView_pimpl.C:
11190 * text2.C: use par->isInset()
11192 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11194 * paragraph_pimpl.h:
11195 * paragraph_pimpl.C: cleanup
11197 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11199 * text2.C (removeRow):
11200 * text.C (setHeightOfRow): remove useless (and costly) call to
11203 2001-11-20 Allan Rae <rae@lyx.org>
11205 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11206 Now need Inset*::checkInsertChar() to return true for appropriate
11207 cases so that the characters in the minibuffer will actually be
11210 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11212 * text.C: change the order of the includes.
11213 (workWidth): initialize it at once.
11214 (workWidth): make maxw unsigned
11215 (setHeightOfRow): remove unused variable (inset)
11216 (selectSelectedWord): remove unused variable (inset)
11217 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11219 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11222 server is not running.
11224 (closeConnection): add debug info when server is disabled.
11226 * ColorHandler.C (getGCForeground): send debug message to GUI
11229 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11231 * kbmap.C (bind): modify because return conventions of
11232 kb_sequence::parse have changed.
11234 * kbsequence.C (parse): only ignore spaces and not any stupid
11235 control character. This avoids tests like s[i] <= ' ', which are
11236 guaranteed to fail with 8bit characters and signed chars.
11237 Change return code to string::npos when there have been no error
11238 (0 was a bad idea when error is at first character)
11240 2001-11-14 José Matos <jamatos@fep.up.pt>
11243 * buffer.C (simpleDocBookOnePar): removed unused argument.
11245 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11247 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11248 insets which are part of a word. Paragraph::isLetter takes care of
11249 that now. Use Paragraph::isInset to identify insets.
11250 (selectSelectedWord): do not test for hyphenation break.
11252 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11253 that protected spaces are considered as spaces.
11255 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11258 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11261 * lyxserver.C: fix it. and small cleanup.
11263 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11265 * BufferView_pimpl.C: use inline helpers
11268 * LaTeXFeatures.C: fix typos
11271 * Spacing.C: move spacing_string into class
11273 * ToolbarDefaults.C: move stuff into namespace anon
11275 * layout.h: update enum
11277 * lyxfunc.C: use better debug
11279 * minibuffer.h: fix typo
11283 * WorkArea.C: add and use Debug::WORKAREA
11287 * text2.C: code re-organisation, inline helpers
11289 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11291 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11292 std::vector.empty().
11294 2001-11-09 Allan Rae <rae@lyx.org>
11296 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11297 '\n's after tables. Tabular and ERT inset work now makes this no
11300 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11303 * minibuffer.C: fix crash, improve drop-down completion
11305 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11308 * lyxserver.C: invalidate fd's when doing endPipe()
11310 2001-11-08 José Matos <jamatos@fep.up.pt>
11312 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11313 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11316 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11318 2001-11-07 José Matos <jamatos@fep.up.pt>
11321 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11324 * buffer.C (sgmlOpenTag):
11325 * buffer.C (sgmlCloseTag): removed debug info.
11327 * buffer.h (sgmlOpenTag):
11328 * buffer.h (sgmlCloseTag): made public.
11330 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11332 * buffer.C (saveParamsAsDefaults):
11333 * lyx_cb.C (MenuLayoutSave): remove
11335 * LyXAction.C (init):
11337 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11339 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11341 * buffer.C (setPaperStuff): removed from here...
11343 * bufferparams.C (setPaperStuff): ... and moved there.
11345 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11349 * XFormsView.C: add support for drop-down completion
11351 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11353 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11356 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11358 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11361 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11363 * lyx_main.C: change ref to known bugs
11365 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11367 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11368 to work around older babel problems.
11370 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11372 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11374 2001-10-24 Juergen Vigna <jug@sad.it>
11376 * tabular-old.C (ReadOld): below variable changes reflected.
11378 * tabular.[Ch]: added ltType struct for longtable header/footer
11379 defines and changed all instances where they are used. Added
11380 future support for double top/bottom rows.
11382 2001-10-24 José Matos <jamatos@fep.up.pt>
11384 * buffer.h (docbookHandleCaption):
11385 * buffer.C (docbookHandleCaption): removed unused function.
11386 (makeDocBookFile): moved docbook supported version to v4.1.
11388 2001-10-24 José Matos <jamatos@fep.up.pt>
11391 * tabular.C (docbookRow): new function to export docbook code of a row.
11392 (DocBook): now honors the longtable flags.
11394 2001-10-23 José Matos <jamatos@fep.up.pt>
11397 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11398 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11400 * buffer.C (makeLinuxDocFile):
11401 (makeDocBookFile): reworked the preamble, more clean, and with
11402 support for lyx defined entities. Changed the document declaration
11403 to be more XML friendly.
11405 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11406 if we need to output XML that should be done with a filter.
11408 2001-10-22 Juergen Vigna <jug@sad.it>
11410 * sp_pspell.h (class PSpell): add alive function needed in the
11411 controller to see if the spellchecker could be started.
11413 2001-10-22 Juergen Vigna <jug@sad.it>
11415 * buffer.C (insertStringAsLines): modify the font for inserting
11416 chars in certain conditions by calling checkInsertChar(font).
11418 2001-10-19 Juergen Vigna <jug@sad.it>
11420 * text.C (workWidth): use getRow instead of wrong algorithm.
11421 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11423 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11428 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11430 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11432 * text.C (workWidth): do not search for the exact row when
11433 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11434 optimization for big documents.
11436 2001-10-18 Juergen Vigna <jug@sad.it>
11438 * text.C (workWidth): new function with added Inset * parameter.
11440 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11442 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11444 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11445 change return type of getColumnNearX.
11448 * text.C (changeRegionCase): use uppercase/lowercase instead of
11451 (rightMargin): simplify code by factoring out the uses of
11456 (appendParagraph): use Paragraph::size_type
11458 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11460 * vspace.C (asLatexString): add a missing break
11462 2001-10-15 Herbert Voss <voss@perce.de>
11464 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11466 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11468 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11471 2001-10-10 André Pönitz <poenitz@gmx.net>
11473 * lyxfunc.C: removed greek_kb_flag.
11475 2001-10-10 Herbert Voss <voss@perce.de>
11477 * lyx_main.C: delete global string help_lyxdir.
11479 2001-10-09 Herbert Voss <voss@perce.de>
11481 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11483 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11485 * lyx_main.C: added global string help_lyxdir.
11487 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11489 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11491 * lyxrc.C (set_font_norm_type): support iso8859-4
11493 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11495 * LaTeX.C (deplog): add another regex for MikTeX
11497 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11499 * lyxrc.C (set_font_norm_type): support iso8859-3
11501 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11503 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11505 * LaTeXFeatures.C: remove special case of french and index
11507 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11508 before \begin{document}). This solves several incompatibilities.
11510 2001-10-03 Garst Reese <reese@isn.net>
11512 * lyx_cb.C: change CheckTex error msg.
11514 2001-10-03 José Matos <jamatos@fep.up.pt>
11516 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11518 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * .cvsignore: update
11522 * lyx_main.C (commandLineVersionInfo): use new style version info.
11524 * buffer.C (writeFile):
11526 (makeLinuxDocFile):
11527 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11529 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11531 * version.h: update to use stuff in version.C
11533 * version.C.in: new file. Contains version information determined
11534 at compile time. This is a merging of version.h and
11537 2001-10-03 Juergen Vigna <jug@sad.it>
11539 * BufferView_pimpl.C (update): don't change "dirty" status in
11542 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11544 * WorkArea.C (c-tor): re-position version string slightly.
11546 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11548 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11549 revert to previous code.
11551 WorkArea.[Ch]: (show, destroySplash): methods removed.
11553 WorkArea.C: rework code so that it's an amalgam of the codes before and
11554 after the splash screen was moved to WorkArea.
11556 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * vspace.C (inPixels):
11562 * buffer.C (insertStringAsLines):
11563 (asciiParagraph): fix types to be large enough
11565 * lyxlex_pimpl.h: change member status from short to int
11567 * layout.h: fix type of endlabeltype
11570 * kbsequence.C (parse): change return type to string::size_type
11572 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11575 * Bullet.C (bulletSize):
11576 (bulletEntry): do not use short ints as parameters
11578 * BufferView2.C (insertLyXFile): change a char to an int.
11580 * WorkArea.C (WorkArea): remove unneeded floats in computation
11582 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11584 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11586 * paragraph.C (asString): Do not ignore newline/hfill chars when
11587 copying to the clipboard.
11589 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11591 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11592 after a multi-line inset.
11594 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11596 * paragraph.C (validate): Set NeedLyXFootnoteCode
11598 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11600 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11601 and decrease-error to decrease.
11603 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11606 it more readable (should be equivalent)
11608 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11610 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11612 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11614 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11615 of a cursor (row, etc.) after a character has been deleted
11616 (deleteEmptyParagraphMechanism): call the method above on _all_
11617 cursors held by the LyXText when a double space has been
11620 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11622 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11624 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11626 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11627 background. Use greyOut() and the new show() methods to toggle between
11628 the foreground and background. Add code to remove the splash after
11629 its initial showing.
11631 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11632 (create_forms): no longer call Dialogs::showSplash.
11634 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * .cvsignore: add version_info.h
11638 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * version_info.h.in: new file
11642 * Makefile.am: add version_info.h.in
11644 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11645 version_info.h instead of VERSION_INFO
11647 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11649 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11650 The ERT inset now returns string().
11652 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11654 * lyxtext.h, text.C (selectNextWord): renamed as
11655 selectNextWordToSpellcheck.
11657 * text.C (selectNextWordToSpellcheck): Modified to not select
11658 words inside an ERT inset.
11660 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11662 * lyx_cb.C (MenuLayoutSave): change a bit the question
11664 * sp_base.h: include <sys/types.h>
11666 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11668 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11670 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11672 * several files: fix typos in user-visible strings
11674 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * text2.C (pasteSelection): do not set the selection, since it
11677 will be cleared later. Actually, the intent was to fix the way the
11678 selection was set, but I figured rmoving the code was just as good.
11680 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11682 * FontLoader.C (available): Check if font is available without
11685 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11687 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11689 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11691 * lyxrc.[Ch]: added display_graphics variable and associated code.
11693 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11695 * bufferparams.C (hasClassDefaults): new method. Returns true if
11696 the buffer parameters correspond to known class defaults
11698 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11700 * XFormsView.C (show): set minimum size to the main window.
11702 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11704 * text2.C (copySelection):
11706 * lyxfind.C (LyXReplace):
11707 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11708 LyXText::selectionAsString.
11710 * paragraph.C (asString): add "label" argument to the second form
11712 * text2.C (selectionAsString): add "label" argument and pass it to
11713 Paragraph::asString.
11715 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11717 * lyx_main.C (commandLineHelp): remove version information
11719 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11721 * lyx_main.C: add -version commandline option
11723 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * paragraph.h: make the optional constructor arg required instead.
11726 some modifications to other files because of this.
11728 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11730 * lyxserver.C (C_LyXComm_callback): make it static
11732 * lyx_main.C (error_handler): make it static
11734 * lyx_gui.C (LyX_XErrHandler): make it static
11736 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11738 * WorkArea.C: make the extern "C" methods static.
11740 * Makefile.am (lyx_LDADD): simplify
11742 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11744 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11745 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11747 * LyXAction.C (init):
11748 * lyxfunc.C (dispatch): associated code removal.
11750 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * lyxfont.h (isSymbolFont): shut off warning
11754 * text.C (setHeightOfRow):
11755 (getVisibleRow): fix crash with empty paragraphs which have a
11758 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11760 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11763 2001-09-04 José Matos <jamatos@fep.up.pt>
11766 * tabular.C (docbook): rename docBook method to docbook.
11768 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11770 * Makefile.am: add dependencies to main.o.
11772 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11774 * FontLoader.C (available): Return false if !lyxrc.use_gui
11776 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11778 * FontInfo.C (query):
11779 * converter.C (view):
11780 * importer.C (Import):
11781 * exporter.C (Export): Can not -> cannot.
11783 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11785 * BufferView_pimpl.C: allow to create index inset even if
11788 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11790 * buffer.C (getLists): replace boost::tie code with an explicit pair
11791 as boost::tie can break some compilers.
11793 * iterators.h: Added a std:: declaration to the return type of
11796 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11798 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11801 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11803 * iterators.[Ch]: New files. Provide paragraph iterators.
11805 * buffer.C (changeLanguage): Use paragraph iterators.
11806 (isMultiLingual): ditto
11808 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11810 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11812 * FontLoader.C: Support for cmr font.
11814 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11816 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11817 (available): New method.
11819 * FontInfo.C (getFontname): Use scalable fonts even when
11820 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11823 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11825 * converter.C (Formats::view): reverted! Incorrect fix.
11827 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11829 * converter.C (Formats::view): only output the -paper option
11830 if the dvi viewer is xdvi, thereby fixing bug #233429.
11832 2001-08-23 Herbert Voss <voss@perce>
11834 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11836 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11838 * Spacing.h (Spacing): Set space to Default on in the default
11841 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11843 * vc-backend.h (RCS::versionString): add RCS to version
11844 (CVS::versionString): add CVS to version
11846 * vc-backend.C (scanMaster): do not add CVS to version.
11847 (scanMaster): do not add RCS to version
11849 * lyxvc.C (versionString): new method
11851 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11853 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * Spacing.C (set): initialize fval
11857 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11859 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11862 2001-08-16 Juergen Vigna <jug@sad.it>
11864 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11866 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11868 * BufferView_pimpl.C:
11871 * text2.C: setParagraph takes linespacing now
11873 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11875 * LyxAction.C: add internal LFUN_CITATION_INSERT
11877 * LyXView.C: actually apply fix
11879 * bufferlist.C: fix open non-existent file
11881 * lyxfind.C: fix indentation
11883 * lyxfunc.C: remove unneeded assert, fix typo
11885 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11887 * MenuBackend.C: use "Floatname List"
11889 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11891 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11892 when converting LaTeX layout to insetERT.
11893 Generate a non-collapsed float when reading old float
11895 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11897 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11900 2001-08-13 Juergen Vigna <jug@sad.it>
11902 * text.C (fill): return 0 instead of 20 as this seems to be the more
11905 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11907 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11910 2001-08-13 Juergen Vigna <jug@sad.it>
11912 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11914 (SearchBackward): comment out the unlocking of the inset_owner this
11915 should not be needed!
11917 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11919 * Many files: Remove inherit_language, and add latex_language
11921 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11922 collapsible insets.
11924 2001-08-10 Juergen Vigna <jug@sad.it>
11926 * text.C (prepareToPrint): fixed hfill-width in draw!
11928 * BufferView2.C (selectLastWord): save the selection cursor as this
11929 now is cleared in the function LyXText::clearSelection!
11931 2001-08-08 Juergen Vigna <jug@sad.it>
11933 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11934 BACKSPACE type functions.
11936 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11937 is only cutted from the document but not put in the cut-buffer, where
11938 still the old stuff should be.
11940 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11942 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11944 * tabular.C (SetWidthOfCell): fixed special case where the width
11946 (LeftLine): handle '|' in align_special.
11948 (LeftAlreadyDrawed): ditto
11949 (SetWidthOfCell): ditto
11951 2001-08-07 Juergen Vigna <jug@sad.it>
11953 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11955 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11958 * lyxlex.[hC]: ditto
11960 2001-08-06 Juergen Vigna <jug@sad.it>
11962 * text.C (getVisibleRow): fix up row clearing a bit.
11964 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * minibuffer.C: make sure the X server sees the changes in the input.
11968 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11970 * paragraph.C (getFont): split into...
11971 (getLabelFont): this
11972 (getLayoutFont): and this
11973 * paragraph_pimpl.C (realizeFont): calling this
11975 * text2.C (getFont): split into...
11976 (getLayoutFont): this
11977 (getLabelFont): and this
11978 (realizeFont): all three calling this
11980 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11983 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11987 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11989 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11990 layouts from the Quote inset insertion.
11992 2001-08-03 Juergen Vigna <jug@sad.it>
11994 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11996 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11997 only if status not is already CHANGED_IN_DRAW (second level).
11999 * text.C (draw): don't set the need_break_row when inside an
12002 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * buffer.C (parseSingleLyXformat2Token): handle more latex
12007 * bufferview_funcs.[hC]: change function names to
12008 begin with small char, adjust other files.
12010 2001-08-02 André Pönitz <poenitz@gmx.net>
12013 BufferView_pimpl.C: remove broken special code for math-greek
12015 2001-08-02 Juergen Vigna <jug@sad.it>
12017 * BufferView_pimpl.C (update): redone this function so that we
12018 update the text again if there was a CHANGE_IN_DRAW.
12020 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12021 (drawFromTo): added a new internal bool which is used by draw() and
12023 (general): some cursor drawing problems fixed.
12025 2001-08-01 Juergen Vigna <jug@sad.it>
12027 * lyxfind.C (LyXFind): fixed
12028 (SearchForward): ditto
12029 (SearchBackward): ditto
12031 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12032 spurius drawing of the cursor in the main area.
12034 * text2.C (status): small fix which could lead to a segfault!
12035 (clearSelection): remove unneeded BufferView param.
12037 2001-08-01 André Pönitz <poenitz@gmx.net>
12039 * lyxfunc.C: small change due to changed mathed interface
12041 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12045 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12047 * lyxfunc.c: fail gracefully if file doesn't exist
12052 * BufferView_pimpl.C: IsDirWriteable() proto changed
12054 * LyXView.C: fix updateWindowTitle() to store the last title
12056 2001-07-31 Juergen Vigna <jug@sad.it>
12058 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12059 the font (wrong since using of Paragraph::highestFontInRange).
12061 * paragraph.C (highestFontInRange): added a default_size parameter.
12063 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12064 (setHeightOfRow): reformat
12066 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12068 * converter.[hC] + affected files: move to (inital-char)lowercase
12071 * ParagraphParameters.C (ParagraphParameters): remove commented code
12073 * PainterBase.[Ch]: remove commented code
12075 * LaTeXFeatures.h: add "bool floats" for float.sty
12077 * LaTeXFeatures.C (LaTeXFeatures): init floats
12078 (require): handle float
12079 (getPackages): do it with floats
12081 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * BufferView_pimpl.C (Dispatch): improve handling of
12084 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12086 * commandtags.h: #include lyxfont.h here temporarily to avoid
12089 * bufferlist.h: include LString.h here.
12091 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * text2.C (getStringToIndex): new method.
12095 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12097 * *: Reduced header file dependencies all over.
12099 2001-07-30 Baruch Even <baruch@lyx.org>
12101 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12103 2001-07-29 Baruch Even <baruch@lyx.org>
12105 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12107 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * ParameterStruct.h (endif): add a default constructor to make
12110 sure that all variables is initialized.
12112 * ParagraphParameters.C (ParagraphParameters): adjust
12114 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12116 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12117 index; also, check that there is something to index, and that it
12118 does not span over several paragraphs.
12119 (doubleClick): use WHOLE_WORD_STRICT for double click.
12121 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12123 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12126 2001-07-26 Baruch Even <baruch@lyx.org>
12128 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12129 an InsetFig figure, backwards compatible reading of old figure code.
12131 2001-07-27 Juergen Vigna <jug@sad.it>
12133 * text2.C: font.realize function adaption.
12135 * text.C (draw): add a warnings lyxerr text if needed.
12137 * layout.C: font.realize function adaption.
12139 * language.C: add inherit_language and implement it's handlings
12141 * bufferview_funcs.C (StyleReset): remove language parameter from
12142 font creation (should be language_inherit now).
12144 * bufferparams.C (writeFile): handle ignore_language.
12146 * paragraph.C (getFontSettings): the language has to be resolved
12147 otherwise we have problems in LyXFont!
12149 * lyxfont.C (lyxWriteChanges): added document_language parameter
12150 (update): removed unneeded language parameter
12152 * paragraph.C (validate): fixed wrong output of color-package when
12153 using interface colors for certain fonts in certain environments,
12154 which should not seen as that on the final output.
12156 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12158 * BufferView_pimpl.C:
12163 * LyXAction.C: add thesaurus support
12166 * lyxfind.C: add "once" parameter, for thesaurus, to not
12167 move to the next match
12169 2001-07-26 Juergen Vigna <jug@sad.it>
12171 * lyxfont.C (realize): honor ignore_language too!
12174 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12176 * text.C (draw): one place more for ignore_language to not draw
12179 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12181 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12183 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12186 the minipage conversion problem.
12188 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12193 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * BufferView.h: don't forward declare WorkArea
12197 * BufferView.C: don't include WorkArea.h
12199 2001-07-25 André Pönitz <poenitz@gmx.net>
12203 * lyxfunc.C: new LFUN 'math-space'
12205 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12207 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * text2.C (toggleInset): call open/close
12211 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * lyxfunc.C (dispatch): add debug for the disabled case
12215 * font.C (buttonText): make similar to rectText
12217 * buffer.C (readInset): comment out parsing of insetlist and
12220 * PainterBase.C (rectText): small correction
12222 * BufferView_pimpl.C: comment out insettheorem and insetlist
12223 * LyXAction.C: ditto
12224 * commandtags.h: ditto
12226 2001-07-24 Juergen Vigna <jug@sad.it>
12228 * text.C (draw): honor the ignore_language.
12230 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12232 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12234 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12237 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12239 * lyxtext.h: remove unused (and unimplemented) methods
12241 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12243 * text.C (getVisibleRow): honor background color
12246 * Painter.h: remove default color argument for fillRectangle
12248 * text.C (backgroundColor): new method
12250 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12252 * text.C (getVisibleRow): adjust
12254 * font.[Ch] (rectText): new method, metrics
12255 (buttonText): new method, metrics
12257 * PainterBase.[hC]: make rectText and buttonText always draw and take
12260 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12262 * ToolbarDefaults.C (read):
12263 * MenuBackend.C (read): allow escaping in all strings
12265 * BufferView_pimpl.C (insertAndEditInset): new method.
12266 (Dispatch): use insertAndEditInset whenever appropriate.
12268 * BufferView_pimpl.C (insertNote): removed
12270 * BufferView_pimpl.C (smartQuote): new method, moved from
12271 BufferView; if an insetquote cannot be inserted, insert a '"'
12274 * BufferView2.C: remove insertCorrectQuote();
12276 * lyxfunc.C (getStatus): Add support for all remaingin
12277 inset-insert lfuns.
12279 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12281 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12282 command (necessary to pass " as parameter of self-insert.
12284 * text.C (selectWordWhenUnderCursor):
12285 (selectWord): add word_location parameter
12286 (selectWordWhenUnderCursor): same + remove special code for word
12288 (selectNextWord): use kind() to guess type of insetspecialchar,
12291 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12292 (insertErtContents): create ert insets as collapsed.
12293 (readInset): better compatibility code for Info inset.
12295 2001-07-20 Juergen Vigna <jug@sad.it>
12297 * lyxfunc.C (dispatch): use always LyXFind now!
12299 * text2.C (init): add a reinit flag so that the LyXText can be
12300 reinited instead of deleted and reallocated (used in InsetText).
12302 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12308 2001-07-18 Juergen Vigna <jug@sad.it>
12310 * text.C (selectNextWord): handle insets inside inset by calling
12311 always the bv->text functions so that we can go up the_locking_inset!
12313 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12314 in strange locations when inside an inset!
12316 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12317 handling to include insets.
12319 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12321 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * LyXAction.C (init):
12325 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12326 LIGATURE_BREAK, since the name is so stupid.
12328 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12330 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12333 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12335 * sp_form.[Ch]: remove.
12337 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12339 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12342 * src/buffer.C (readInset): ditto.
12344 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12346 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12347 menuSeparator(), endOfSentenceDot(), ldots() and
12348 hyphenationPoint(), which are therefore removed.
12349 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12351 * LyXAction.C (init):
12352 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12354 * paragraph.C (getWord): removed.
12356 * BufferView_pimpl.C (Dispatch): use last word or selection for
12357 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12359 * lyx_main.C (queryUserLyXDir): do not ask before creating
12360 user_dir, except if it has been named explicitely.
12362 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12364 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12365 a document of zero size.
12367 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12369 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12370 approriately in the c-tor and in require().
12371 (getPackages): output the appropriate LaTeX for natbib support.
12373 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12374 variables "use_natbib" and "use_numerical_citations" when reading the
12376 (readInset): read the various natbib cite commands.
12377 (validate): white-space change.
12379 * bufferparams.[Ch]: new variables "bool use_natbib" and
12380 "bool use_numerical_citations".
12381 (writeFile): output them in the LyX file.
12383 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12385 * lyxfunc.C (getStatus): add support for all the inset insertion
12388 * text2.C (insertInset):
12389 * paragraph.C (insetAllowed):
12390 * BufferView_pimpl.C (insertInset): update to take in account the
12391 renaming of insertInsetAllowed
12393 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12395 * text2.C (getInset): new method. returns inset at cursor position.
12397 * BufferView_pimpl.C (Dispatch): changes because of this.
12399 * LyXAction.C (init): rename open-stuff to inset-toggle.
12401 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12403 * text2.C (toggleInset): renamed from openStuff; use
12406 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12408 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12410 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12412 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12414 * buffer.C (readLyXformat2): Add filename to the error dialog
12416 2001-07-18 Juergen Vigna <jug@sad.it>
12418 * tabular.C (GetCellNumber): put an assert here instead of the check!
12420 2001-07-17 Juergen Vigna <jug@sad.it>
12422 * BufferView_pimpl.C (toggleSelection): adapted too.
12424 * text.C (selectNextWord): adapted for use with insets.
12425 (selectSelectedWord): ditto
12427 2001-07-17 Juergen Vigna <jug@sad.it>
12429 * sp_spell.C (PSpell): fix initialitation order.
12431 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * paragraph.C: spacing
12435 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12437 * sp_spell.C: repair language selection for pspell
12439 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12441 * lyxfunc.h: change more methods to begin with lower char.
12443 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12445 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12446 for unknown layouts.
12448 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12450 * buffer.C (readLyXformat2): Generate an error dialog if there are
12453 2001-07-16 Juergen Vigna <jug@sad.it>
12455 * sp_spell.C: always compile ISpell part.
12457 * lyxrc.C: added use_pspell entry and it's handling.
12459 2001-07-13 Juergen Vigna <jug@sad.it>
12461 * sp_spell.C: removed double includes.
12463 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12465 Consistent use of Lsstream.h:
12466 * Lsstream.h: added using std::stringstream for consistencies sake.
12468 * buffer.C: removed using std::stringstream
12470 * lyxfont.C (stateText):
12471 * paragraph.C (asString):
12472 * text.C (selectNextWord, selectSelectedWord):
12473 * text2.C (setCounter):
12474 * vspace.C (asString, asLatexString):
12475 std::ostringstream -> ostringstream.
12477 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12479 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12480 * commandtags.h: add LFUN_HELP_ABOUTLYX
12481 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12483 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12485 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12487 * lyx_gui_misc.C: remove spellchecker
12488 * lyxfunc.C: showSpellchecker
12490 * sp_ispell.h: added
12491 * sp_pspell.h: added
12492 * sp_spell.C: added
12493 * sp_form.[Ch]: removed
12494 * spellchecker.[Ch]: removed
12496 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12498 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12500 (simpleTeXSpecialChars): Simply print the input character without
12501 any special translation if pass_thru is set.
12503 * layout.h: Added bool pass_thru to layout class for being able to
12504 implement pass through of a paragraph for Literate Programming.
12506 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12507 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12508 * layout.C (Read): add "passthru" to list of layout tags and add
12509 code to set the pass_thru boolean when it is read.
12511 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12513 * trans_decl.h: remove allowed from KmodInfo
12515 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12516 remove allowed code
12519 * paragraph_pimpl.C (erase): use boost::prior
12521 * Painter.C (text): use data() instead of c_str() when length is
12523 * WorkArea.C (putClipboard): ditto
12524 * font.h (width): ditto
12526 * BufferView2.C: use it-> instead of (*it). for iterators
12528 * paragraph_pimpl.C: ditto
12529 * paragraph.C: ditto
12530 * minibuffer.C: ditto
12531 * language.C: ditto
12533 * encoding.C: ditto
12534 * counters.C: ditto
12535 * converter.C: ditto
12537 * Variables.C: ditto
12538 * TextCache.C: ditto
12539 * MenuBackend.C: ditto
12540 * LyXAction.C: ditto
12542 * FloatList.C: ditto
12543 * DepTable.C: ditto
12544 * ColorHandler.C (LyXColorHandler): ditto
12546 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12548 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12550 * text2.C (openStuff): reintroduce this method (which had been
12551 nuked in NEW_INSETS frenzy).
12553 * lyxfunc.C (Dispatch): when an action has not been handled, use
12554 its name in the error message, not its number.
12556 * paragraph.C (inInset): change method name to begin with lowercase.
12559 * text2.C: updates because of this.
12561 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12563 * ToolbarDefaults.C (add): add spaces in error message
12565 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12568 (readLyXformat2): rename return_par to first_par, use lyxlex's
12569 pushToken and remove the manual push handling.
12570 (parseSingleLyXformat2Token): add another ert comp. variable:
12571 in_tabular, rename return_par to first_par. handle newlines better
12573 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12575 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12577 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * text2.C (getParFromID): removed
12581 * buffer.C (getParFromID): new method moved form lyxtext.
12582 * BufferView2.C (insertErrors): adjust
12583 (setCursorFromRow): adjust
12584 * BufferView_pimpl.C (restorePosition): adjust
12585 * lyxfunc.C (Dispatch): adjust
12586 * undo_funcs.C (textUndo): adjust
12588 (textHandleUndo): adjust
12589 (textHandleUndo): adjust
12591 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * buffer.C: up' the LYX_FORMAT
12595 * lyxfont.h: turn NO_LATEX on as default
12597 * buffer.C (insertErtContents): new methods of tex style compability.
12598 (parseSingleLyXformat2Token): use it several places.
12599 * tabular.C (OldFormatRead): and here
12601 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * text2.C: remove some commented code.
12606 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12607 * trans.C: changes because of the above.
12609 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12611 * text2.C (setCounter): Fix counters bug with bibliography layout.
12613 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12616 own member functions
12617 (simpleTeXSpecialChars): ditto
12619 2001-07-06 Juergen Vigna <jug@sad.it>
12621 * a lot of files: changed the access to LyXText::status and the
12622 call of undo-functions.
12624 * undo.[Ch]: added a inset_id to the undo informations.
12626 * undo_funcs.[Ch]: added and moved here all undo functions.
12628 * lyxtext.h: give the status enum a weight, made status_ a private
12629 variable and made accessor functions for it, removed the whole bunch
12630 of undo-functions as they are now in their own file, make some
12631 functions publically available. Added function ownerParagraph with
12634 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12635 made InInset() a const function, added getParFromID() function.
12637 * buffer.[Ch]: added const version for inset_iterator functions,
12638 added getInsetFromID() function.
12640 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12641 changed undo functions for new version.
12643 2001-07-05 Juergen Vigna <jug@sad.it>
12645 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12646 unknow mechanism does not call the proper constructor but only this
12647 one also if I request the other!?
12649 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12653 * text2.C (LyXText): use initialization lists.
12655 * lyxtext.h (Selection): initialize set_ and mark_
12656 (init): remove method
12658 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12660 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12662 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * screen.[Ch]: change method names to begin with lowercase
12666 * BufferView_pimpl.C (updateScrollbar): simplify further and
12667 hopefully make it a bit faster.
12669 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12671 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12672 calling directly xforms functions.
12674 * Painter.C (Painter):
12675 * lyx_cb.C (MenuWrite):
12676 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12679 * lyx_gui.C: remove bogus guiruntime extern declaration.
12681 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12685 (redoDrawingOfParagraph): ditto
12686 (redoParagraphs): ditto
12687 (cutSelection): don't create a object for CutAndPaste use the
12688 static method directly
12689 (pasteSelection): ditto
12691 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12694 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * modifications to some other files because of this.
12698 * Makefile.am (lyx_SOURCES): add XFormsView
12700 * XFormsView.[Ch]: new files
12702 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12703 the main window. Move the gui dependent stuff to XFormsView
12705 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * tabular.C (GetCellInset): update cur_cell also in the row/col
12708 version of this function.
12710 * lyxfunc.C: no need to include figure_form.h here.
12716 * lyxvc.C: no need to include forms.h here.
12718 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12722 * lyxfunc.C (Dispatch):
12724 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12725 constructor argument.
12727 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * paragraph.C (Paragraph): dont't clear, and just set layout.
12730 (makeSameLayout): use params's copy contructor.
12732 * ParagraphParameters.[Ch] (makeSame): delete method
12734 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12736 * Variables.[Ch]: fix indentation, rename set to isSet
12738 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * lyxfunc.C (Dispatch): fix typo
12742 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12744 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12747 * bufferlist.C: include assert.h for emergencyWrite().
12749 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12751 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12752 give up at last (bug #425202) !
12754 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12760 * spellchecker.C: strip spellchecker options and bring up
12761 preferences tab instead
12763 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12766 the istringstream constructor
12768 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12770 * paragraph.C (getLayout): fix return value
12772 * paragraph.h: do not declare getLayout as inline.
12774 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12776 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * lyxcursor.h (operator<): new func
12779 (operator>): new func
12780 (operator>=): new func
12781 (operator<=): new func
12783 * text.C (changeCase): use selection.start and selection.end
12784 (changeRegionCase): require from to be <= to. Require par to be a
12787 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12789 2001-06-27 Juergen Vigna <jug@sad.it>
12791 * text.C (cursorLeftOneWord): changed to return the cursor and added
12792 overlay with BufferView * parameter which calls this one.
12794 (selectWord): use new getWord function.
12795 (changeCase): renamed from changeWordCase as and extended to work
12796 also on selections.
12798 * lyxtext.h: added enum word_location
12800 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12801 changeCase as this operates now also on selections.
12803 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12805 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12807 * many files: send debug output to Debug::INFO instead of
12810 * converter.C (View):
12812 (Move): send debug output to Debug::FILES instead of console.
12814 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12816 * lyxfunc.C (getStatus): use func_status
12818 * func_status.h: new header, describing the results of
12819 LyXFunc::getStatus;
12821 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12824 2001-06-25 The LyX Project <jug@sad.it>
12826 * buffer.C (sgmlOpenTag):
12828 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12830 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * text2.C: remove some dead code
12834 * tabular.C (GetCellInset): store the last cell checked (gotten)
12836 * tabular.h: add the helper for the speedup
12838 * lyxtext.h: remove some dead code
12840 2001-06-26 The LyX Project <Asger>
12842 * paragraph.C: Change export to LaTeX of alignment to
12843 \begin{center} and family for better roundtrip work with reLyX.
12845 * Tune the math drawing a bit.
12847 2001-06-25 The LyX Project <Asger>
12849 * LColor.C (LColor): New color for math background. New color
12852 2001-06-25 The LyX Project <jug@sad.it>
12854 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12856 * lyxfunc.C (Open):
12857 * bufferlist.C (newFile): do not restrict to files ending with
12860 * BufferView_pimpl.C (MenuInsertLyXFile):
12862 2001-06-24 The LyX Project <jug@sad.it>
12864 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12867 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * lyxtext.h: rename most methods to begin with a small char.
12870 Lots of changes because of this.
12872 * paragraph.C (Paragraph): do not call fitToSize
12873 (erase): call Pimpl::erase
12874 (insertChar): call Pimpl::insertChar
12875 (insertInset): call Pipl::insertInset
12876 (breakParagraph): do not call fitToSize
12877 (breakParagraphConservative): do not call fitToSize
12878 (fitToSize): remove method
12880 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12882 2001-06-24 The LyX Project <Asger>
12884 * Fix Qt compilation^2
12886 2001-06-24 The LyX Project <jug@sad.it>
12888 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12889 depthHook(getDepth()-1).
12892 * ParagraphParameters.h:
12893 * ParameterStruct.h: change type of depth to unsigned int ==
12894 depth_type. Many adaptations to other files before of that.
12896 2001-06-24 The LyX Project <Asger>
12898 * Fix Qt compilation.
12900 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * paragraph.h: renamed several methods to begin with small letter.
12903 several changes to many parts of the code because of this.
12905 2001-06-23 The LyX Project <jug@sad.it>
12907 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12908 rewritten to discard all double spaces when KeepEmpty is off
12909 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12910 to only handle newlines but not fiddle with spaces and friends.
12912 * lyxfunc.C (MenuNew): when doing 'new from template', use
12913 template_path as default directory
12915 2001-06-23 The LyX Project <Asger>
12917 * Clean-up of header file includes all over
12918 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12920 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * paragraph.h: renamed from lyxparagraph.h
12924 2001-06-23 Asger <lyx@violet.home.sad.it>
12926 * Buffer.h: Removed Buffer::resize
12927 * BufferList.h: Removed BufferList::resize
12928 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12929 the document lazily when we change the width, or the font settings.
12931 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12933 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12935 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12937 * buffer.h: remove out of date comment
12939 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12942 * screen.C: fix "theoretical" GC leak
12944 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * LaTeX.C (scanAuxFile):
12947 (deplog): remove trailing \r when reading stream (useful under
12950 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12952 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12953 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12954 and BufferView::theLockingInset(Inset*), so should use them and not
12955 access bv_->text->the_locking_inset directly.
12957 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12959 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12962 * tex-defs.h: remove old unused file
12964 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12966 * BufferView_pimpl.C: fix typo, remove minibuffer message
12967 when buffer has loaded
12969 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * lyxfunc.C (Dispatch): use stringstream
12972 (MenuNew): use stringstream
12973 (Open): use stringstream
12975 * importer.C (Import): use stringstream
12977 * bufferview_funcs.C (CurrentState): use stringstream
12979 * LaTeX.C (run): use stringstream
12981 * BufferView_pimpl.C (savePosition): use stringstream
12982 (restorePosition): use stringstream
12983 (MenuInsertLyXFile): use stringstream
12985 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12998 * vspace.C: removed // -*- C++ -*- as first line.
13001 * version.h: added // -*- C++ -*- as first line.
13003 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13005 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13007 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13010 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13015 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * gettext.C: include LString.h even when --disable-nls is on.
13019 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13021 * converter.h (Get): changed argument type from int to
13022 FormatList::size_type to avoid unnecessary conversion.
13024 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13027 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * gettext.h: include LString.h even when --disable-nls is on.
13031 2001-06-07 Juergen Vigna <jug@sad.it>
13033 * text.C (BreakAgain): subst spaces with tabs.
13035 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13036 (resizeInsetsLyXText): set force on resizeLyXText.
13038 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * gettext.h (gettext_init):
13041 (locale_init): use a real definition instead of a macro
13043 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13045 * Bufferview_pimpl.C:
13047 * LColor.C: further lcolor tidies
13049 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * BufferView_pimpl.C (updateScrollbar): simplify.
13053 * BufferView2.C: don't include insets/insetinfo.h, change
13054 prototype for insertInset and call the Pimpl version. let
13055 updateInset call Pimpl version.
13057 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13058 gotoInset to BufferView::Pimpl
13060 2001-06-01 Juergen Vigna <jug@sad.it>
13062 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13063 inside a LockingInset (is the update needed at all?).
13065 2001-05-31 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13068 here not the old one otherwise how should we compare it afterwards
13071 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * FontInfo.C: bring C functions into global namespace when
13079 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13081 * LString.h: make sure config.h has been loaded before LString.h.
13083 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13084 (one for each char read by EatLine!).
13086 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13089 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13092 to the same as the par we break from
13094 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13098 * MenuBackend.C (expand): also create menu entries for wide
13099 versions of the floats.
13101 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13103 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13105 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13106 frontends/Makefile.am
13112 * tabular.C (getTokenValue): add std::
13114 * tabular-old.C (getTokenValue): add std::
13115 (getTokenValue): ditto
13116 (getTokenValue): ditto
13118 * screen.C (ToggleSelection): adjust
13120 * lyxtext.h: put selection cursors inside a Selection struct.
13122 * lyxfunc.C (moveCursorUpdate): adjust
13124 * lyxfont.C (latexWriteStartChanges): add std::
13126 * lyxfind.C: adjust
13128 * font.h: delete with(char const *, LyXFont const &)
13130 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13132 * FontInfo.C (getFontname): add std::
13134 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13135 (workAreaButtonPress): adjust
13136 (tripleClick): adjust
13138 (moveCursorUpdate): adjust
13141 * BufferView2.C (gotoInset): adjust
13143 2001-05-30 Juergen Vigna <jug@sad.it>
13145 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13146 to check pspell I add this as default as I now have new pspell
13147 libraries and they seem to use this.
13149 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * text2.C (CutSelection): make the cursor valid before the call to
13154 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13157 relied on 0 terminated strings and other horrors. Bug found due to
13158 the new assert in lyxstring!
13160 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13163 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13168 * lyxfunc.C (processKeySym): change method of getting to the
13171 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13172 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13173 * BufferView_pimpl.[Ch]: here as private methods.
13175 2001-05-28 Juergen Vigna <jug@sad.it>
13177 * text.C (SetHeightOfRow): added the update() call again as it is
13178 needed to initialize inset dimensions!
13180 2001-05-16 Juergen Vigna <jug@sad.it>
13182 * text2.C (SetCharFont): Add new function with BufferView * and
13183 bool toggleall parameters for setting insets internal fonts.
13184 (SetFont): Freeze the undo as we may change fonts in Insets and
13185 all this change should be inside only one Undo!
13187 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13188 setting font's in insets as for them we have the SetFont function!
13190 2001-05-15 Juergen Vigna <jug@sad.it>
13192 * text2.C (ClearSelection): to be sure we REALLY don't have any
13195 * tabular.C (TeXCellPreamble): fixed the left border problem for
13198 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13200 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13203 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13206 LFUN_BREAKPARAGRAPH.
13208 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13209 help test to "internal only", similar for LFUN_INSERT_URL
13211 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13212 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13213 auto_region_delete and deadkeys.
13215 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13218 * LColor.C: remove some dead entries, tidy a little
13220 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13224 (Dispatch): implement LFUN_ESCAPE
13226 * commandtags.h: add LFUN_ESCAPE
13228 * LyXAction.C (init): add entry for LFUN_ESCAPE
13230 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13231 Remove commented code.
13232 (insertNote): moved here
13233 (open_new_inset): moved here
13235 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13238 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * kbmap.C (findbinding): clean it up and make it work correctly.
13242 * lyx_main.C (init): do not pass argc and argv as parameters
13244 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13246 * buffer.C: fix path for OS/2 & Win32
13250 * lyx_main.C: Added os:: class.
13252 * os2_defines.h: update
13254 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13257 better by trying again with reduced state.
13259 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13261 * lyxrc.C (read): print error about invalid key sequence only when
13262 debugging (because not all latinX keysyms are known to some X
13265 * kbsequence.C (getiso): add a few std:: qualifiers
13266 (getiso): comment out extra return statement.
13268 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13272 (Dispatch): enhance the accent inset a bit. (not perfect)
13274 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13278 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13280 * bufferlist.C (emergencyWrite): fix assert() call
13282 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13284 * text.C (InsertChar): Added trivial patch to only send the "you
13285 can not do multiple spaces this way" message once during a
13288 2001-05-08 Baruch Even <baruch@lyx.org>
13290 * Makefile.am: Changed order of libraries to get LyX to link properly
13291 with the gnome frontend.
13293 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * LaTeXFeatures.h: add a std:: qualifier
13297 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * paragraph.C (String): use stringstream
13301 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * paragraph.C (writeFile): remove footflag arg
13305 * buffer.C (makeLaTeXFile): use stringstream
13306 (latexParagraphs): remove footnot gurba
13308 * LaTeXFeatures.C (getPackages): use stringstream
13309 (getMacros): likewise
13310 (getTClassPreamble): likewise
13311 (getFloatDefinitions): new method
13313 * paragraph.C (writeFile): reindent
13316 * WorkArea.h: revert the xpos + etc changes.
13318 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13320 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13322 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13323 (pasteSelection): likewise
13324 * text2.C (CreateUndo): likewise
13326 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * minibuffer.C (peek_event): temporarily reduce the functionality
13329 of the minibuffer (to allow args on lfuns)
13331 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13332 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13334 * buffer.C (readInset): add compability reading of old float
13335 lists, add reading of new style float list.
13336 (readInset): avoid reevaluation of inscmd.getCmdName()
13337 (getLists): reindent
13339 * MenuBackend.C (MenuItem): implement parsing of
13340 md_floatlistinsert and md_floatinsert.
13341 (expand::LastFiles): move initalizaton of iterators out of loop,
13342 avoid reevaluation.
13343 (expand::Documents): introduce typdedef vector<string> Strings,
13345 (expand::ExportFormats): introduce typedef vector<Format const *>
13346 Formats, and use it.
13347 (expand): implement FloatListInsert and FloatInsert.
13349 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13350 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13351 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13353 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13355 (Dispatch::LFUN_FLOAT_LIST): implement
13357 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13359 * LaTeX.C (run): Fix problem with --export code.
13361 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13363 * BufferView.[Ch] (workarea): removed.
13364 (getClipboard) new method; wrapper for workarea()->getClipboard()
13366 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13369 * WorkArea.h (width, height, xpos, ypos): These methods all
13370 returned the dimensions of the work_area sub-area of WorkArea,
13371 resulting in a position error if the WorkArea were resized. Now
13372 return the dimensions of the entire WorkArea.
13374 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13376 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * LaTeX.C (deplog): correct the syntax of regex reg1
13380 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * undo.C: remove !NEW_INSETS cruft
13384 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13386 * text2.C: remove !NEW_INSETS cruft
13388 * text.C: remove !NEW_INSETS cruft
13390 * tabular.C: remove !NEW_INSETS cruft
13392 * spellchecker.C: remove !NEW_INSETS cruft
13394 * lyxtext.h: remove !NEW_INSETS cruft
13396 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13398 * lyxfunc.C: remove !NEW_INSETS cruft
13400 * lyxfind.C: remove !NEW_INSETS cruft
13402 * lyx_cb.C: remove !NEW_INSETS cruft
13404 * figureForm.C: remove !NEW_INSETS cruft
13406 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13408 * buffer.[Ch]: remove !NEW_INSETS cruft
13410 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13412 * CutAndPaste.C: remove !NEW_INSETS cruft
13414 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13416 * BufferView2.C: remove !NEW_INSETS cruft
13418 * BufferView.h: remove !NEW_INSETS cruft
13420 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13422 * Lsstream.h: include LString.h before the sstream headers to
13423 fix problem with gcc 2.95.3 and lyxstring
13425 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * lyx_main.C: add using directives when needed for C functions
13428 declared in std:: namespace.
13430 2001-04-27 Juergen Vigna <jug@sad.it>
13432 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13433 (SetHeightOfRow): comment out the update call should not be needed!
13435 2001-04-13 Juergen Vigna <jug@sad.it>
13437 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13438 (LyXTabular): tried to minimize operator= operations (and realized
13439 hopfully Lars wish).
13441 2001-04-27 Juergen Vigna <jug@sad.it>
13443 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13445 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13449 * buffer.C (readInset): hack to make listof algorithm work
13451 * BufferView_pimpl.C: hack to make listof algorithm work
13453 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13455 * LyXAction.C: removed all !NEW_INSETS cruft
13456 (init): moved lfun_item in method
13458 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13460 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13462 * BufferView2.C (theLockingInset): white space.
13464 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * minibuffer.C: include <iostream>
13468 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13470 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13472 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13474 * text.[Ch] (TransposeChars): new method
13476 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * call message directly through LyXView instead of through LyXFunc
13479 * BufferView2.C: adjust
13480 * BufferView_pimpl.C: adjust
13481 * FontLoader.C: adjust
13483 * bufferview_funcs.C: adjust
13484 * converter.C: adjust
13485 * figureForm.C: adjust
13486 * importer.C: adjust
13488 * lyx_gui_misc.C: adjust
13489 * lyxfunc.C: adjust
13492 + more files in subdirs
13494 * lyxparagraph.h (size): move up int file
13497 * adjust all uses of Assert to lyx::Assert.
13499 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13500 lyxfunctional in namespace lyx
13501 * layout.C (hasLayout): ditto
13504 (delete_layout): ditto
13505 (NumberOfClass): ditto
13506 * converter.C (GetFormat): ditto
13511 * bufferlist.C (getFileNames): ditto
13512 (emergencyWriteAll): ditto
13515 * MenuBackend.C (hasSubmenu): ditto
13518 * BufferView_pimpl.C (getInsetByCode): ditto
13520 2001-04-18 Juergen Vigna <jug@sad.it>
13522 * vspace.C (asLatexString): fixed the 100% problem.
13524 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13526 * lyxfunc.C (Dispatch):
13528 * minibuffer.h: add a few std:: qualifiers
13530 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * minibuffer.[Ch]: reimplement so that commands is initiated and
13533 run from lyxfunc, simplified som handling, and made the completion
13534 and history code for complete. wip.
13536 * lyxfunc.C (processKeySym): call message
13537 (miniDispatch): new temporary method
13538 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13539 (LFUN_MESSAGE): implement
13540 (LFUN_MESSAGE_PUSH): implement
13541 (LFUN_MESSAGE_POP): implement
13542 (initMiniBuffer): the initial/defualt minibuffer message.
13544 * lyxfont.[Ch]: inline some more getters
13546 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13548 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13550 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13551 (AutoSave): use LFUN_MESSAGE
13552 (Reconfigure): ditto
13554 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13556 * figureForm.C: use LFUN_MESSAGE
13558 * converter.C (runLaTeX): use LFUN_MESSAGE
13560 * bufferview_funcs.C: use LFUN_MESSAGE
13562 (changeDepth): ditto
13564 * bufferparams.h: use boost::
13566 * bufferlist.h: inherit privately from noncopyable
13568 * bufferlist.C (loadLyXFile): remove some commented code.
13570 * buffer.C (runChktex): use LFUN_MESSAGE
13572 * ShareContainer.h: inherit privately from noncopyable
13574 * ParagraphParameters.[hC] (depth): inline it.
13576 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13578 (message): new method
13579 (messagePush): ditto
13580 (messagePop): ditto
13581 (show): init minibuffer
13582 (showState): direct call
13584 * LaTeX.[Ch]: inherit privately from noncopyable
13585 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13586 instead of WriteStatus.
13588 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13590 * BufferView_pimpl.C (buffer): don't init minibuffer
13591 (workAreaButtonPress): use LFUN_MESSAGE
13592 (workAreaButtonRelease): ditto
13593 (savePosition): ditto
13594 (restorePosition): ditto
13595 (MenuInsertLyXFile): ditto
13596 (workAreaExpose): don't init minibuffer
13597 (update): remove commented code, simplify
13599 * BufferView2.C (openStuff): use LFUN_MESSAGE
13600 (toggleFloat): ditto
13603 (copyEnvironment): ditto
13604 (pasteEnvironment): ditto
13609 (updateInset): remove some commented code
13611 * lastfiles.h: inherit privately from noncopyable
13614 * lyx_main.h: ditto
13616 * lyxlex_pimpl.h: ditto
13618 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13619 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13620 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13622 * LyXAction.h: inherit privately from noncopyable, add methods
13623 func_begin, func_end, returning iterators to the func map.
13625 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13626 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13627 (func_begin): new method
13628 (func_end): new method
13630 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13632 (copySelection): ditto
13633 (pasteSelection): ditto
13635 * BufferView.C: whitespace change
13636 * BufferView.h: inherit privately from noncopyable
13638 2001-04-16 Allan Rae <rae@lyx.org>
13640 * tabular-old.C (l_getline):
13641 * spellchecker.C (sc_check_word):
13642 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13643 an unrecognised preprocessor directive. So ensure they're wrapped.
13645 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13647 * src/exporter.C (Export): Give an error message when path to file
13650 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13652 * LaTeX.C (deplog): Always check that foundfile exists.
13654 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13659 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * tabular.[Ch] (getLabelList): implement new method
13663 * minibuffer.h: comment ouf setTiimer
13665 * minibuffer.C (ExecutingCB): constify res
13666 (peek_event): constify s
13667 (Set): constify ntext
13668 (Init): constify nicename
13670 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13672 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13673 (savePosition): use two params to Minibuffer::Set
13674 (restorePosition): ditto
13676 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * lyx_main.C: include language.h
13680 * Makefile.am (lyx_main.o): add language.h
13682 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * CutAndPaste.C: include gettext.h
13690 * lyxfont.h: remove old hack with ON and OFF.
13693 * lyxfont.h: do not include language.h...
13698 * bufferview_funcs.C:
13704 * paragraph.C: ... but do it here instead
13706 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13710 * tabular.C: small reformat
13712 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13715 (BreakParagraph): ditto
13716 (SetOnlyLayout): ditto
13719 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13722 * lastfiles.C: removed most using decl, add std:: where needed
13724 * buffer.C: ws changes
13726 * MenuBackend.C (class compare_format): put into anon namespace
13727 (expand): constify label, names, action, action2
13730 * text.C (SingleWidth): constify font
13731 (IsBoundary): constify rtl2
13732 (GetVisibleRow): constify ww
13734 * LaTeX.C (deplog): constify logfile
13736 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13738 (workAreaExpose): constify widthChange, heightChange
13740 * lyxrow.C (par): moved
13743 * lyxrow.h: as inlines here
13745 * lyxfont.h (shape): moved from lyxfont.C
13746 (emph): moved from lyxfont.C
13748 * lyxfont.C (LyXFont): use initialization list for all
13750 (shape): move to lyxfont.h as inline
13751 (emph): move to lyxfont.h as inline
13754 2001-04-04 Juergen Vigna <jug@sad.it>
13756 * vspace.C: had to include stdio.h for use of sscanf
13758 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13761 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13762 independent of xforms.
13764 2001-04-02 Juergen Vigna <jug@sad.it>
13766 * spellchecker.C: fixed namespace placing!
13768 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13770 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13771 the LyXParagraph * is 0.
13773 2001-03-29 Juergen Vigna <jug@sad.it>
13775 * vspace.C: added support for %, c%, p%, l%.
13776 (stringFromUnit): added helper function.
13777 (asLatexString): changed to give right results for the %-values.
13779 * buffer.C: convert the widthp in a width%.
13781 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13783 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13786 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13787 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13789 * lyx_cb.[Ch]: see above.
13791 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13795 * lyx.[Ch]: replaced by figure_form.[Ch].
13799 * lyxfunc.C: changed headers associated with above changes.
13801 2001-03-27 Juergen Vigna <jug@sad.it>
13803 * BufferView_pimpl.C: set the temporary cursor right!
13805 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13807 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13809 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13811 * LString.h: removed "using std::getline"!
13813 * BufferView_pimpl.C (Dispatch): changes due to changes in
13814 InsetInclude::Params.
13816 * buffer.C (tag_name): removed redundant break statements as they were
13817 producing lots of warnings with my compiler.
13819 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13821 * LString.h: add "using std::getline" when using the real <string>.
13823 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13825 * buffer.C: removed bitset usage.
13826 PAR_TAG moved to an anonymous name space.
13827 (tag_name): new funtion, also in the anonymous namespace.
13828 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13829 (makeDocBookFile): clean code. Completed transition from string arrays
13831 (SimpleDocBookOnePar): code clean.
13833 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13835 * tabular.C: add some comments.
13837 2001-03-22 Juergen Vigna <jug@sad.it>
13839 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13840 compatibility read a bit and fixed bug with minipage in different
13843 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13845 * buffer.C (pop_tag): removed.
13846 (push_tag): removed.
13847 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13848 array replaced with vector. Added support for CDATA sections.
13849 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13851 (makeDocBookFile): XML conformant declaration of CDATA section,
13852 fixed bug related to <emphasis> in the first paragraph char.
13853 (sgmlOpenTag): exclude empty tags.
13854 (sgmlCloseTag): ditto.
13856 * buffer.h (pop_tag): removed.
13857 (push_tag): removed.
13859 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13861 * language.h (Languages): added size_type and size().
13863 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13865 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13866 response on compability reading of minipages. One probliem is that
13867 the old usage of minipages was «flertydig»
13869 * several files here and in subdirs: don't use static at file
13870 scope use anon namespaces instead.
13872 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13874 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13875 LaTeX output. This is necessary for Literate document
13878 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13880 * buffer.C: insert hfill when needed.
13882 * tabular.C (l_getline): use string::erase, small whitespace change.
13884 * BufferView_pimpl.C: try the anon namespace.
13885 * WorkArea.C: ditto
13887 2001-03-16 Juergen Vigna <jug@sad.it>
13889 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13890 otherwise it won't open options-dialogs.
13892 * buffer.C: honor pextraWidth(p) on converting minipages.
13894 * tabular.C (l_getline): changed the functions to strip trailing \r.
13896 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13898 * BufferView_pimpl.C:
13899 * minibuffer..C: added "using SigC::slot" declaration.
13901 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13903 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13909 * paragraph.C: ditto
13911 * lyxtext.h: NO_PEXTRA
13913 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13915 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13916 * ParameterStruct.h: ditto
13917 * ParagraphParameters.h: ditto
13918 * lyxparagraph.h: ditto
13920 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13922 * buffer.C: add compability for minipage alignment.
13923 (latexParagraphs): remove unwanted pextra check.
13925 * several files: remove CXX_WORKING_NAMESPACES
13927 * buffer.C (pop_tag): tie is in namespace boost
13929 * BufferView.h: noncopyable is in namespace boost
13931 * lyx_main.h: ditto
13934 * lastfiles.h: ditto
13935 * bufferlist.h: ditto
13936 * ShareContainer.h: ditto
13938 * LyXAction.h: ditto
13941 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13943 * Merging changes from BRANCH_MVC back into HEAD.
13945 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13947 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13949 * BufferView_pimpl.C: change from intl.C
13953 * Makefile.am: move combox.*
13959 * intl.C: remove dialog (covered by prefs)
13961 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13963 * lyxfunc.C (Dispatch): removed redundant break statement.
13965 2001-03-14 Juergen Vigna <jug@sad.it>
13967 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13969 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13971 * buffer.C: add hack to fix compability reading of minipages.
13973 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13975 * buffer.C (getLists): Cleanup.
13977 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13979 * lyxfont.C (update): don't honor toggleall on font size.
13981 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13985 * Makefile.am: moved to frontends/xforms/
13989 * BufferView_pimpl.C: changes for moved mathpanel
13991 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13993 * gettext.h: fix gettext_init() in --disable-nls
13995 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13999 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14002 * lyx.h: strip external form
14004 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14006 * BufferView_pimpl.C: add comment, destroySplash()
14008 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14010 * BufferView_pimpl.C:
14014 * lyxfunc.C: use re-worked insetinclude
14016 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14018 * buffer.C: add using std::stringstream.
14020 * lyx_cb.C: readd using std::ios.
14022 * buffer.C: add using std::map.
14024 * BufferView_pimpl.C: add using std::vector.
14026 * ShareContainer.h: add std:: to swap.
14028 * buffer.h: add some typedefs
14029 * buffer.C (getLists): use them
14030 (getLists): renamed from getTocList.
14031 add a counter for the different float types and use it in the
14033 (getLists): use the same counter for the NEW_INSETS and the "non"
14036 * lyx_cb.h: remove unused items, includes, using etc.
14038 * ShareContainer.h: remove some commented code, add more comments
14039 and "documentation".
14041 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14043 * buffer.C (getTocList): make the list also when NEW_INSETS is
14046 * buffer.h: remove TocType
14048 * buffer.C (getTocList): change to return a map<string,
14049 vector<TocItem> >, implement for dynamic number of list.
14051 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14052 * text2.C (PasteSelection): adjust
14053 * CutAndPaste.C (pasteSelection): adjust
14055 * FloatList.C (FloatList): update from the new_insets branch.
14056 * Floating.[Ch]: ditto
14057 * LaTeXFeatures.C: ditto
14059 * lyxlex_pimpl.C: ditto
14061 * paragraph.C (Last): remove when NEW_INSETS is defined.
14063 * other file: changes because of the above.
14065 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14067 * lyxparagraph.h: rename next to next_, previous to previous_,
14068 make them private for NEW_INSETS. Rename Next() to next(),
14069 Previous() to previous().
14071 * other files: changes because of the above.
14073 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14076 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14079 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14081 * main.C (main): pass lyx_localedir to gettext_init().
14083 * gettext.h: remove locale_init and gettext_init macros
14085 * gettext.C (locale_init): new function
14086 (gettext_init): new function
14088 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14091 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14093 * Moved credits to frontends:
14094 * credits.[Ch]: removed
14095 * credits_form.[Ch]: removed
14096 * lyx_gui_misc.C: remove credits stuff
14099 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14101 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14103 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14104 unneeded destructor.
14106 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14107 a standalone pointer again.
14109 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14111 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14117 * ToolbarDefaults.C:
14126 * BufferView_pimpl.C: use new file dialog in GUII
14129 * lyx_cb.C: remove LayoutsCB to Toolbar
14131 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * ShareContainer.h (get): add std:: qualifier
14135 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14137 * ShareContainer.h: define a proper ShareContainer::value_type
14138 type (and use typename to please compaq cxx)
14140 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14142 * lyxparagraph.h: move serveral local vars to
14143 ParameterStruct/ParagraphParameters., use ShareContainer in
14144 FontTable., make vars in FontTable private and add getter and
14147 * paragraph.C: changes because of the above.
14149 * lyxfont.h: remove copy constructor and copy assignment. (the
14150 default ones is ok), move number inside FontBits. move inlines to
14153 * lyxfont.C: add number to initializaton of statics, move several
14154 inlines here. constify several local vars. some whitespace
14155 cleanup. Dont hide outerscope variables.
14157 * Spacing.h: add two new constructors to match the set methods.
14159 * ShareContainer.h: new file, will perhaps be moved to support
14161 * ParameterStruct.h: new file
14163 * ParagraphParameters.h: new file
14165 * ParagraphParameters.C: new file
14167 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14168 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14170 * BufferView_pimpl.C: ParagraphParameter changes.
14171 * buffer.C: Likewise.
14172 * bufferview_funcs.C: Likewise.
14173 * text.C: Likewise.
14174 * text2.C: Likewise.
14176 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14178 * lyxfind.C (LyXReplace): do not redefine default argument in
14180 (IsStringInText): ditto
14181 (SearchForward): ditto
14182 (SearchBackward): ditto
14184 2001-03-06 Juergen Vigna <jug@sad.it>
14186 * lyxfind.C (IsStringInText): put parentes around expressions.
14188 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14190 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14192 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14194 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14196 * stl_string_fwd.h: add comment
14198 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14201 * tabular.C: remove unused DocBook methods
14207 killed DO_USE_DEFAULT_LANGUAGE
14209 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * lyx_gui.C: do not include language.h.
14213 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14214 arguments in function implementation.
14216 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14218 * BufferView_pimpl.C: add <ctime>
14220 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14222 * BufferView_pimpl.C: add using std::find_if
14224 2001-02-27 José Matos <jamatos@fep.up.pt>
14226 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14229 2001-02-11 José Matos <jamatos@fep.up.pt>
14231 * buffer.C (makeDocBookFile): command styles now have a parameter as
14232 "title" by default.
14234 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14236 * layout_forms.[Ch]: removed
14237 * lyx_cb.[Ch]: out character
14238 * lyx_gui.C: out character
14239 * lyx_gui_misc.C: out character
14240 * bufferview_funcs.C: : out character,
14241 added toggleall as parameter in ToggleAndShow
14243 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14245 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14247 * text2.C (SetCurrentFont): Disable number property at boundary.
14249 2001-02-26 Juergen Vigna <jug@sad.it>
14251 * lyxfunc.C (getStatus): added a string argument override function so
14252 that this is correctly called from LyXFunc::Dispatch if it contains a
14253 do_not_use_argument which is used!
14254 (Dispatch): added check for "custom" export and call appropriate func.
14256 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14258 * lyxrc.C: Add language_command_local, language_use_babel and
14259 language_global_options.
14261 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14263 * buffer.C (makeLaTeXFile): Use language_use_babel and
14264 language_global_options.
14266 2001-02-23 Juergen Vigna <jug@sad.it>
14268 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14269 which works with LyXText and putted it inside BufferView. Here now we
14270 only call for that part the BufferView::Dispatch() function.
14272 * BufferView.C (Dispatch): added.
14274 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14275 functions which needs to use a LyXText over from LyXFunc.
14276 (MenuInsertLyXFile): added
14277 (getInsetByCode): added
14278 (moveCursorUpdate): added
14279 (static TEXT): added
14281 2001-02-22 Juergen Vigna <jug@sad.it>
14283 * BufferView_pimpl.C (update): call a status update to see if LyXText
14286 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14288 * vc-backend.C (revert): implement for CVS
14289 (getLog): implement for CVS
14291 2001-02-20 Juergen Vigna <jug@sad.it>
14293 * text2.C (ClearSelection): added BufferView param for inset_owner call
14295 * lyxfunc.C (TEXT): added this function and use it instead of
14296 directly owner->view()-text of getLyXText().
14298 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14300 * src/layout_forms.C: out preamble
14301 * src/layout_forms.h: out preamble
14302 * src/lyx_cb.C: out preamble
14303 * src/lyx_cb.h: out preamble
14304 * src/lyx_gui.C: out preamble
14305 * src/lyx_gui_misc.C: out preamble
14306 * src/lyxfunc.C: connect with guii preamble
14308 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14310 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14312 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14314 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14315 whether to run bibtex.
14317 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14319 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14321 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14323 * Makefile.am (lyx_SOURCES): removed bibforms.h
14325 * vspace.h: doxygen
14327 * text.C (GetVisibleRow): make several local vars const
14329 * tabular.C: small cleanup.
14331 * lyxserver.C (callback): use compare instead of strncmp
14333 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14334 inlines to after class or to paragraph.C
14336 * lyxfont.h: remove friend operator!=
14338 * converter.h: move friend bool operator< to non friend and after
14341 * combox.h: small cleanup
14343 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14344 to inlines after class def.
14346 * buffer.C (pop_tag): use string operations instead of strcmp
14348 * bmtable.c: doxygen, small cleanup
14350 * LaTeX.h: remove friend operator==
14352 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14364 * BufferView_pimpl.C:
14365 * BufferView.[Ch]: remove cruft
14367 2001-02-14 Juergen Vigna <jug@sad.it>
14369 * lyxfunc.C: removed #if 0 unused code
14371 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14373 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14375 * text2.C (SetSelection): added a BufferView * parameter
14377 2001-02-13 Juergen Vigna <jug@sad.it>
14379 * lyxfunc.C (Dispatch): fixed protected blank problem.
14380 * BufferView2.C (protectedBlank): added LyxText * parameter.
14382 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14383 (AppendColumn): same as above for column_info.
14385 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14386 (moveCursorUpdate): use a LyXText param for support of InsetText.
14388 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14389 (tripleClick): ditto
14391 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14393 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14395 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14397 * text2.C (SetSelection): set correct update status if inset_owner
14398 (ToggleFree): ditto
14400 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14402 * tabular.C: remove some commented code.
14404 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14406 * BufferView_pimpl.C: call hideSplash()
14408 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14411 * bibforms.h: remove
14414 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14415 add LFUN_CHILD_CREATE
14417 * counters.h: fix tiny typo
14422 * lyx.C: move splash to frontends/xforms/
14424 * lyx_gui_misc.C: move Include and Bibform to frontends
14426 * lyxvc.h: clarify comment
14428 * vspace.C: tiny housekeeping
14430 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14432 * text.C (PrepareToPrint): RTL Fix.
14434 * paragraph.C (GetUChar): New method.
14435 (String): Use GetUChar.
14437 * buffer.C (asciiParagraph): Use GetUChar.
14439 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14441 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14443 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14446 * buffer.C: rename to getLogName(), handle
14447 build log / latex log nicely
14449 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * MenuBackend.h: remove support for reference menuitem type.
14454 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14456 * BufferView_pimpl.C: housekeeping
14457 * BufferView_pimpl.h:
14462 * minibuffer.h: move Timeout GUI-I
14464 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14466 * lyxrc.C (read): Update converters data-structures.
14468 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14470 * LaTeX.h (operator!=): add operator != for Aux_Info
14472 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14474 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14476 * LaTeXLog.C: deleted, useful code moved to Buffer
14479 * buffer.C: new function getLatexLogName()
14485 * lyxfunc.C: use frontends for LaTeX and VC logs
14487 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14489 * LaTeX.h: yet another std:: that Allan forgot.
14491 * Variables.C (set): renamed from isset(), because this clashes
14492 with some HP-UX macros (grr).
14494 2001-02-06 Allan Rae <rae@lyx.org>
14496 * LaTeX.h: Another bug fix. Missing std:: this time.
14498 2001-02-04 Allan Rae <rae@lyx.org>
14500 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14501 floats problem. I've left it commented out because it's not quite
14502 correct. It should also test that the current object is a table or
14503 figure inset. But I haven't gotten around to figuring out how to do
14504 that. I *think* it'll be something like: "table" == inset.type()
14506 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14509 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14511 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14512 all the citation/databases/styles in the auxilary file.
14513 (run): Rerun latex if there was a babel language error.
14515 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14517 * text.C (Backspace): Preserve the font when changing newline char
14519 (BreakParagraph): If the cursor is before a space, delete the space.
14521 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14523 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14525 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14526 new argument (code).
14527 (ChangeCitationsIfUnique): New method.
14529 * paragraph.C (GetPositionOfInset): Handle bibkey.
14531 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14533 * BufferView_pimpl.h: change type of Position::par_pos to
14534 LyXParagraph::size_type.
14536 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14538 * BufferView_pimpl.C (savePosition, restorePosition): Write
14539 messages to minibuffer.
14541 2001-01-28 José Matos <jamatos@fep.up.pt>
14543 * buffer.C (makeDocBookFile): adds support for document language.
14544 A silly restriction on the name of LatexCommand types where removed.
14545 Added support for CDATA sections, allows to chars unescaped, used
14546 among others in code, to avoid escape < and >.
14548 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14550 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14551 saved positions instrad of a stack. Furthermore, a position is
14552 stored using paragraph id/paragraph position.
14554 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14555 Remove LFUN_REF_BACK.
14557 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14559 * converter.C (dvipdfm_options): New method.
14561 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14563 * vspace.C (isValidLength): Fix for empty input string.
14565 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14567 * LyXAction.C (init): change description of LFUN_FIGURE to
14570 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * LaTeX.C: add using directive
14574 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14576 * MenuBackend.C (expand): Fix the sorting of the formats.
14578 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14580 * lyx_main.C: tiny error message fix
14582 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14584 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14585 calling fl_initialize(). This fixes the problem with ',' as
14586 decimal separator in text files.
14588 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14590 * trans.C (process): Fix the keymap bug.
14592 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14594 * LaTeX.C (scanAuxFiles): New method. Provides support for
14595 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14596 (scanLogFile) Scan for "run BibTeX" messages.
14598 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14599 OT1 font encoding. Also, load the aecompl package if the ae
14602 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14604 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14606 * texrow.C (increasePos): turn two error messages into debug
14609 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14611 * LaTeX.C (scanAux): Handle the \@input macro.
14612 (runBibTeX): Use scanAux().
14614 * language.C (latex_options_): New field.
14616 * LaTeXFeatures.C (getMacros): Add language macros.
14618 * buffer.C (makeLaTeXFile): Small fix.
14620 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14624 * text2.C: add a using directive.
14626 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14631 * lyxfunc.C: kill LyXBell.
14633 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14635 * text.C (IsBoundary): Remove the error message
14637 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14639 * lyxrc.C (setDefaults): Correct initialization value for
14642 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14644 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14647 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14648 and GotoNextNote().
14650 * src/LyXAction.C: Added reference-next.
14652 * text.C (InsertChar): Use contains instead of strchr.
14654 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14656 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14658 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14659 alignment commands (when needed).
14661 * text.C (InsertChar): Add ':' to number separator chars.