1 2004-02-16 André Pönitz <poenitz@gmx.net>
3 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
6 * cursor_slice.[Ch]: remove unneeded acessor function
8 * lyxtext.h: rename rtl() to isRTL()
17 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
19 * rowpainter.C (paintSelection): coord fix
21 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * Spacing.C: compile fix
25 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
27 * cursor.C (dispatch): restore current_ before returning
29 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
31 * text2.C (cursorUp, cursorDown): fix coords
34 2004-02-12 André Pönitz <poenitz@gmx.net>
39 * text3.C: add LCursor & parameter to most cursor movement functions
40 remove usage of LyXText::cursorRow() and cursorPar()
42 * cursor.[Ch]: add textRow() needed members
48 * BufferView_pimpl.C: adjust
50 2004-02-11 André Pönitz <poenitz@gmx.net>
54 * BufferView_pimpl.C: shift undo/redo handling
56 * cursor.[Ch]: fix mathed crash
59 * lyxtext.h: move selectionAsText to LCursor
67 * rowpainter.C: fix excessive drawing
69 2004-02-06 André Pönitz <poenitz@gmx.net>
72 * BufferView_pimpl.[Ch]:
73 * text3.C: move some text specific LFUN handling
75 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
77 * text3.C (checkInsetHit): adjust coords
78 * text2.C (getColumnNearX): adjust coords
80 * text.C (getRowNearY): add two asserts
82 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
85 * format.C: add using std::distance to compile on gcc 2.95/stlport
87 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
89 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
91 2004-02-04 André Pönitz <poenitz@gmx.net>
93 * BufferView.[Ch] (insertInset):
94 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
99 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
101 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
102 on the default clause of the switch
103 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
104 wasn't catched by LCursor::dispatch
106 2004-02-03 André Pönitz <poenitz@gmx.net>
109 * cursor.[Ch]: some additional asserts
111 * undo.[Ch]: remove LyXText dependency in interface
115 * lyxtext.h (firstPar, lastPar): remove dead functions
120 * paragraph.[Ch]: adjust
122 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
124 * lyxfind.C (find): fix argument order in call to ::find
126 2004-02-02 André Pönitz <poenitz@gmx.net>
128 * cursor.[Ch]: remove direct access to anchor
130 * text.C: remove findText() hack
132 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
134 * iterators.[Ch] (lockPath): remove in favour of...
135 * BufferView.[Ch] (setCursor): this addition
136 * BufferView.C (putSelectionAt): adjust
137 * undo.C (performUndoOrRedo): adjust
138 * lyxfunc.C (dispatch): adjust
140 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
142 * iterators.C (lockPath): add a missing slice
143 * undo.C (performUndoOrRedo): remove redundant positioning code
145 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
147 * vc-backend.C (scanMaster): ";" -> ';'
149 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
151 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
154 * lyxtextclass.C (compare_name): rename to...
155 (LayoutNamesEqual): ...this
157 * lyxlex_pimpl.C (compare_tags): inherit from
158 std::binary_function, put back into anon namespace
160 * lyxfind.C (MatchString): inherig from std::binary_function
161 (findChange): use empty() istead of !size()
163 * format.C (FormatNamesEqual): new functor
170 * converter.C (compare_Converter): rename to...
171 (ConverterEqual): ...this, and fixup a bit.
172 (getConverter): use it, and make function const
173 (getNumber): use it, and make function const
177 * bufferlist.C: add using boost::bind
179 * MenuBackend.C (MenuNamesEqual): new functor
180 (hasMenu): use it, and make function const
181 (hasSubmenu): use nested bind to get rid of compare_memfun.
183 2004-01-30 André Pönitz <poenitz@gmx.net>
185 * BufferView_pimpl.C:
196 * text3.C: move some of the edit(x,y) handling to the insets
197 some coordinate changes.
199 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
201 * text.C: add using statements for std::advance and std::distance
203 * paragraph.C: add using statement for std::distance
205 * lyxfind.C: add using statement for std::advance
207 * cursor.C (region): remove std:: from swap
208 (openable): use nucleus in stead of operator->
210 * BufferView.C: add using statements for std::distance and std::swap
212 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
214 * iterators.C: Remove the pimple, move the needed structures to
215 the header file. Create accessor for the positions stack.
216 (asPosIterator): remove function
218 * PosIterator.C (PosIterator): move constructors to top of file
219 (PosIterator): reimplement the constructor taking a ParIterator in
221 (setFrom): new function
222 (operator!=): inline it
224 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * lyxfind.C (replaceAll): use std::advance
228 * iterators.h: inherit from std::iterator.
230 * PosIterator.C (advance, distance): remove
231 * PosIterator.h: interit from std::iterator.
233 2004-01-26 André Pönitz <poenitz@gmx.net>
236 * BufferView_pimpl.[Ch]:
240 * bufferview_funcs.C:
251 * output_plaintext.C:
253 * paragraph_funcs.[Ch]:
254 * paragraph_pimpl.[Ch]:
260 * text3.C: more IU: dumps most of the rest of the mathcursor
261 implementation into cursor.[Ch]; "globalize" a bit of it.
263 2004-01-25 Angus Leeming <leeming@lyx.org>
265 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
267 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
269 * LaTeXFeatures.h: add nice_ and nice() const
270 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
272 2004-01-20 André Pönitz <poenitz@gmx.net>
275 * BufferView_pimpl.C:
277 * bufferview_funcs.C:
290 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
291 LCursor and mathcursor parts to LCursor and InsetBase.
293 2004-01-15 André Pönitz <poenitz@gmx.net>
295 * cursor_slice.[Ch]: add a few covienience functions
297 * funcrequest.[Ch]: remove BufferView * member
299 * BufferView_pimpl.C:
306 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
308 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
310 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
311 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
313 2004-01-13 André Pönitz <poenitz@gmx.net>
316 * lyxtext.h: hide cursor and selection anchor behind accessor function
319 * BufferView_pimpl.[Ch]:
321 * bufferview_funcs.C:
331 * cursor_slice.[Ch]: some integer type changes for inset unification
333 * lyxcursor.[hC]: remove, it's CursorSlice now.
336 * BufferView_pimpl.[Ch]:
337 * bufferview_funcs.C:
343 * textcursor.[Ch]: adjust
345 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
347 * text2.C (undoSpan): add and use
348 * text.C (breakParagraph): use undoSpan (fix bug 578)
351 2004-01-08 Angus Leeming <leeming@lyx.org>
353 * BufferView_pimpl.C (MenuInsertLyXFile):
354 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
355 * lyxfunc.C (menuNew, open, doImport):
356 FileFilterList change to the FileDialog open and save functions.
358 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
360 * ShareContainer.h: make isEqual and isUnique adaptable
362 * CutAndPaste.C: make resetOwnerAndChanges adaptable
364 2004-01-07 Angus Leeming <leeming@lyx.org>
367 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
369 * BufferView_pimpl.C (dispatch): act on these LFUNs.
371 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
372 functions replacing find, replace and replaceAll.
374 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
375 LFUN_WORDFIND(FORWARD|BACKWARD).
377 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
379 * text.C (breakParagraph): remove an outdated #warning
381 2004-01-07 André Pönitz <poenitz@gmx.net>
383 * lyxfind.C: somewhat clearer logic
385 * text.C: prevent crash in cursorX on unitialized row cache
387 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
389 * lyxcursor.[Ch] (operator>): add
390 * textcursor.C (selStart, selEnd): use std::min and std::max
392 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
394 * Chktex.C: include boost/format.hpp
396 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * InsetList.C: replace functor MathcIt with adaptable functor
400 (insetIterator): modify accordingly
402 * BranchList.h: move the BranchNamesEqual functor here from...
403 * BranchList.C: ... to here
405 * BranchList.C: new BranchListEqual fuctor, use it. Remove
407 (add): replace a finding loop with std::find_if.
409 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
411 * output_docbook.C: moving LatexParam functionality into
414 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * buffer.C: increment format to 229.
418 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
421 * lyx_sty.[Ch]: remove minipageindent_def
427 * text3.C: remove LFUN_INSET_MINIPAGE
429 2003-12-28 Angus Leeming <leeming@lyx.org>
431 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
433 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
435 * text2.C (setParagraph): fix off-by-one crash
437 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
439 * output_docbook.C: header stuff for AGU
441 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
443 * text2.C (redoCursor): remove
446 * BufferView_pimpl.C: remove calls to redoCursor and
447 setCursor(cursor.par(), cursor.pos()) all around
449 2003-12-15 Angus Leeming <leeming@lyx.org>
451 * buffer.C: up the format to 228.
453 2003-12-15 André Pönitz <poenitz@gmx.net>
455 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
460 * BufferView_pimpl.C:
469 2003-12-15 Angus Leeming <leeming@lyx.org>
471 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
472 than getFromGUIName to manipulate the color.
474 2003-12-14 Angus Leeming <leeming@lyx.org>
476 * BranchList.[Ch]: minimize the API.
477 (Branch::getBranch, getColor): now return a 'const &'.
478 (Branch::setSelected) now returns a bool set to true if the
479 selection status changes.
480 (BranchList::clear, size, getColor, setColor, setSelected,
481 allBranches, allSelected, separator): removed.
482 (BranchList::find): new functions, returning the Branch with
484 (BranchList::add, remove): return a bool indicating that
485 the operation was successful.
487 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
488 new InsetBranch::isBranchSlected member function.
490 * LColor.[Ch]: mimimize the API.
491 (fill): renamed as addColor and made private.
492 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
493 versions of these functions taking a string arg have been removed.
495 * bufferparams.C (readToken):
496 * lyxfunc.C (dispatch):
497 * lyxrc.C (read): changes due to the altered BranchList and
500 * factory.C (createInset, readInset): changes due to altered
503 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
506 * lyxfunc.C: remove insetminipage. "minipage-insert"
507 now produces a frameless minipage box inset.
509 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
511 * textcursor.[Ch] (selStart,selEnd): add new methods
512 remove selection::start, end, use LyXCursor::operator<
513 * lyxcursor.[Ch] (operator<): add
514 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
515 * BufferView.[Ch] (unsetXSel): add
516 * text2.C (clearSelection): use unsetXSel,adjust
519 * rowpainter.C: adjust
520 * bufferview_funcs.C (put_selection_at): adjust
522 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
524 * BufferView_pimpl.C: small coord. correction
526 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
528 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
529 dragging over the splash screen.
531 2003-12-11 Angus Leeming <leeming@lyx.org>
533 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
534 as it is now handled in LyXText::dispatch.
536 * text3.C (doInsertInset): remove a level of nesting.
538 2003-12-11 Angus Leeming <leeming@lyx.org>
540 * factory.C (createInset): changes due to the changed interface to
541 InsetCommandMailer::string2params.
543 2003-12-10 Angus Leeming <leeming@lyx.org>
545 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
546 'dialog-show-new-inset <inset name>'
548 2003-12-10 Angus Leeming <leeming@lyx.org>
550 * buffer.C: up the format to 227.
552 * factory.C: the box inset is now identified simply by 'Box'.
554 2003-12-10 Angus Leeming <leeming@lyx.org>
556 * buffer.C: up the format to 226.
558 * factory.C: the note inset is now identified simply by 'Note'.
560 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
562 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
563 when a pit is enough. Standarize a couple of loops.
565 2003-12-05 Angus Leeming <leeming@lyx.org>
567 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
568 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
569 data to the re-worked "log" dialog.
571 2003-12-03 André Pönitz <poenitz@gmx.net>
579 * text2.C: use Inset::getText instead of Inset::getParagraph
581 2003-12-03 André Pönitz <poenitz@gmx.net>
585 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
586 InsetText::read() as LyXText::read()
588 2003-12-02 Angus Leeming <leeming@lyx.org>
590 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
591 type. Add a comment in the implementation that the function uses
592 the stream's bad() function rather than fail() as the std::streams
595 2003-12-02 André Pönitz <poenitz@gmx.net>
597 * lyxlex.[Ch]: make interface more similar to std::stream
599 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
601 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
603 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
605 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
607 * vspace.[Ch]: remove VSpace::NONE
609 2003-12-01 André Pönitz <poenitz@gmx.net>
612 * lyxtext.h: move ParagraphList member to LyXText
613 rename LyXText::ownerParagraphs to LyXText::paragraph
616 * bufferview_funcs.C:
626 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
628 * undo.C: fix cursor positioning
630 2003-12-01 John Levon <levon@movementarian.org>
632 * BufferView_pimpl.C: fix a crash on exit with
635 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
637 * BranchList.C: fix setSelected() method.
639 2003-11-28 André Pönitz <poenitz@gmx.net>
641 * ParagraphParameters.[Ch]:
642 * ParameterStruct.h: remove space above/below from Paragraph to
645 * BufferView_pimpl.C:
657 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
659 * factory.C: Syntax change for CharStyles
661 2003-11-28 André Pönitz <poenitz@gmx.net>
666 * buffer.[Ch]: move LyXText member
668 2003-11-28 André Pönitz <poenitz@gmx.net>
670 * BufferView.[Ch]: make LyXText * text a private member
672 * BufferView_pimpl.C:
683 * output_plaintext.C: cleanup
685 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
688 * lyxtextclass.[Ch]: parametrize SGML document header
690 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
693 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
696 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
698 * text2.C (setFont): rework using PosIterator (no more recursive)
699 (setCharFont): no more needed
700 (setLayout): no more selection cursors fiddling (done by redoCursor)
701 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
702 destroy remaining ones)
704 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
706 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
708 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
711 * text3.C: adjust + re-allow multi par depth changes
712 * textcursor.C: simplify a bit
714 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
720 * src/output_docbook.C:
721 * src/output_latex.C:
726 * src/text2.C: Introducing a number of tags parametrizing various
727 XML formats that we may want to support
729 2003-11-25 André Pönitz <poenitz@gmx.net>
731 * InsetList.[Ch] (begein, end): inline as suggested by profiler
733 * lyxtext.h (leftMargin/rightMargin): simplify interface
740 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * lyxfunc.C (dispatch): propogate the bibtex databases from the
743 master file to any child files. Fixes bug 546.
745 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
747 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
749 2003-11-24 André Pönitz <poenitz@gmx.net>
751 * rowpainter.C: simplification
753 * text2.C (updateCounters): remove call to redoParagraph on
754 changed labels as this is far too expensive.
756 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
758 * converter.C (convert): fix a crash: this function gets
759 called with buffer == 0 from importer code.
761 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
763 * text3.C (cursorPrevious): make sure that we do not compare
764 iterators form different containers.
767 * rowpainter.C (paintSelection): make sure that we do not compare
768 iterators from different containers.
770 * text3.C (dispatch): [PRIOR] make sure that we do not compare
771 iterators from different ParagraphList containers.
774 * text2.C (LyXText): change order of initialization slightly
775 (operator=): new function. copy all variables except cache_par_
776 (moveUp): make sure that we do not compare iterators from
777 different ParagraphList constainers.
780 * text.C (firstPar): new function
781 (lastPar): new function
782 (endPar): new function
784 * lyxtext.h: move things around and group public functions, public
785 variables, private functions, private variables
787 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
789 * factory.C: change call to InsetERT constructor to avoid
790 additional invocation of method status
791 * text2.C (toggleInset): remove redundant update() call
792 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
793 instead of a Bufferview pointer
795 2003-11-21 André Pönitz <poenitz@gmx.net>
797 * rowpainter.C: simplification
799 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
801 * text3.C (dispatch): make possible to extend a word/row selection
804 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
806 * lyxtext.h: x0_,y0_ -> xo_,yo_
807 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
808 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
809 * rowpainter.C (paintRows): paint full paragraphs
811 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
813 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
816 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
818 * lyxtext.h: add x0_, y0_
819 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
820 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
822 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
824 * text2.C (setCursorIntern): move the x_target update here *
825 * text3.C: change some bv() to true/false in calls to
826 cursorUp/Down/Right/Left
827 * cursor.C: use helper function.
829 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
831 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
832 * paragraph_funcs.[Ch]: correct comment
833 * rowpainter.C: do not paint selections away from bv->cursor()
834 Fix a long standing selection painting bug.
835 * text3.C: generalize mouse-selection code to LyXTexts other that
837 * textcursor.C: do not use y coords if we can use par offsets
839 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
841 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
842 cursor position after e.g. inset insert)
844 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
846 * lyxfind.C (replace): adjust to locking removal + some
849 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
851 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
854 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
857 * output_docbook.C: XML sanitation: new layout
858 parameters InnerTag and CommandDepth
860 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
862 * BufferView_pimpl.C:
864 * text3.C: Fix the insertion and modification of button-style
867 2003-11-13 André Pönitz <poenitz@gmx.net>
869 * InsetList.[Ch]: remove deleteLyXText
871 * paragraph.[Ch]: cache beginOfBody position
876 * text3.C: remove superfluous update() calls
880 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
882 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
883 * BufferView.C (fitLockedInsetCursor): remove
884 * cursor.[Ch] (getDim): add
885 * text.C (getRowNearY): add faster version
886 * text3.C: remove some update calls
888 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
900 * text3.C: The Character Style /XML short element patch.
902 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
905 * factory.C: Small step to solving 'unable to insert some insets'
908 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
910 * cursor.[Ch] (updatePos): new function for updating the y
911 position of the tip inset
912 * bufferview_funcs.C (put_selection_at):
913 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
915 2003-11-11 André Pönitz <poenitz@gmx.net>
917 * text.C: remove big comment on invalid Paragraph pointers as it is
920 2003-11-11 André Pönitz <poenitz@gmx.net>
922 * text_funcs.[Ch]: merge with ...
930 * Makefile.am: remove text_funcs.[Ch]
932 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
934 * cursor.C (getPos): return absolute cached y coord
936 * BufferView_pimpl.C (fitCursor): new simplistic code
937 (workAreaDispatch): add a fitCursor call
939 2003-11-10 André Pönitz <poenitz@gmx.net>
942 * BufferView_pimpl.[Ch]: merge update() and updateInset()
944 2003-11-10 André Pönitz <poenitz@gmx.net>
946 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
947 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
948 indicate that the cursor needs to leave an inset
950 * lyxtext.h: remove inset locking
952 * cursor.[Ch]: re-implement functionality provided by inset locking
955 * BufferView_pimpl.[Ch]:
957 * bufferview_funcs.[Ch]:
969 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
971 * PosIterator.[Ch]: replace the stack with a vector, add inset
973 * iterators.[C]: adjust
975 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
977 * lyxfind.C (replaceAll): mark the buffer dirty if something was
979 * paragraph_funcs.C (readParToken): put the correct id in the
980 error item, not the id of the top paragraph
982 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
984 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
985 * bufferview_funcs.C (put_selection_at): use the above
987 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
989 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
991 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * output_plaintext.h:
996 * output_docbook.h: add #include statements
998 2003-11-05 José Matos <jamatos@lyx.org>
1000 * output_docbook.[Ch]:
1001 * output_latex.[Ch]:
1002 * output_linuxdoc.[Ch]:
1003 * output_plaintext.[Ch]: New files for output formats.
1004 * output.[Ch]: New file for helper functions.
1007 * paragraph_funcs.[Ch]: output functions moved to new files.
1009 * outputparams.h: rename of latexrunparams.h
1017 * paragraph_funcs.[Ch]:
1018 * paragraph_pimpl.[Ch]:
1019 * tabular.[Ch]: rename ascii to plaintext
1020 and LatexRunParams to OutputParams.
1022 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1024 * iterators.[Ch] (text): require bv argument
1025 * undo.C (recordUndo):
1026 * lyxfunc.C (dispatch):
1027 * bufferview_funcs.C (put_selection_at): adjust
1029 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1031 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1033 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1035 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1038 2003-11-04 André Pönitz <poenitz@gmx.net>
1040 * cursor.[Ch]: restructure
1043 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1045 * iterators.[Ch] (asCursor): remove
1047 * lfuns.h: remove LFUN_INSET_EDIT
1053 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1055 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1057 * lyxfind.[Ch]: complete overhaul
1058 * BufferView_pimpl.C:
1060 * paragraph.[Ch] (insert): add
1062 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1066 * text.C: remove dead spellcheck code
1068 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * dispatchresult.h: add a val setter
1072 * cursor.C (dispatch): use a tempvar for data_[i]
1074 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1076 * PosIterator.[Ch]: compile fix
1078 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1080 * text.C (cursorPar): deactivate the cursor cache
1082 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1084 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1086 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * text3.C (dispatch): adjust for new DisptchResult semantics.
1090 * lyxfunc.C (dispatch): handle update when return from
1091 Cursor::dispatch, adjust for new DispatchResult semantics.
1093 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1094 DispatchResult(true) mean to not update. Add class functions for
1095 setting dispatched and update, as well as reading.
1097 * cursor.C (dispatch): don't handle update here
1099 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1102 * trans_mgr.C: adjust
1104 * paragraph_funcs.C (readParToken): exception safety
1106 * lyxvc.h: store the vcs pointer in a scoped_ptr
1109 * lyxsocket.C (serverCallback): exception safety
1111 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1113 * ispell.C (clone): make it return a auto_ptr
1115 * factory.C (createInset): exception safety
1116 (readInset): exception safety
1118 * bufferlist.C (newBuffer): exception safety
1120 * Thesaurus.C (Thesaurus): use initialization for aik_
1122 * MenuBackend.C (expandToc): exception safety.
1124 2003-11-03 André Pönitz <poenitz@gmx.net>
1128 * bufferview_funcs.C: remove getInsetFromId()
1131 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1137 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1139 * PosIterator.C (distance, advance): new
1140 * bufferview_funcs.[Ch] (put_selection_at): new
1141 * iterators.[Ch] (lockPath): new
1143 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1145 * iterators.[Ch] (asPosIterator): added
1146 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1147 * PosIterator.[Ch]: added
1149 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * cursor.C (dispatch):
1154 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1156 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1157 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1158 contructor, add a class function dispatched. Remove operator>=
1160 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * debug.C: only use the default constructor for debugstream
1165 * main.C (main): include debug.h and setup the lyxerr streambuf
1168 2003-10-31 José Matos <jamatos@lyx.org>
1170 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1172 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1173 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1174 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1175 * paragraph_pimpl.C (simpleTeXSpecialC):
1176 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1177 add LatexRunParams argument.
1179 * exporter.C (Export): change call accordingly.
1181 * latexrunparams.h: add new member to take care of the other backends.
1182 2003-10-30 José Matos <jamatos@lyx.org>
1184 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1185 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1186 factorise code for paragraph output.
1188 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1191 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * text3.C (dispatch):
1194 * lyxfunc.C (dispatch):
1195 * cursor.C (dispatch):
1196 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1198 * dispatchresult.h: make the dispatch_result_t ctor explicit
1200 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1203 * buffer.C: small refactoring of docbook stuff
1205 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1210 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1213 operator dispatch_result_t, and operators for == != and >=
1215 * cursor.C (dispatch): adjust for operator dispatch_result_t
1216 removal. comment out call to update
1218 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1220 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1228 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1231 * dispatchresult.h: new file, DispatchResult broken out of
1234 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1236 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1238 * text.C (rowBreakPoint): put a hack inside #if 0
1240 2003-10-28 André Pönitz <poenitz@gmx.net>
1244 * paragraph_funcs.C:
1247 * text2.C: general cleanup (lots of small stuff)
1249 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1251 * text2.C (cursorEnd): simple fix to the "end key goes to one
1252 before the end on last row" bug
1254 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1256 * text.C (backspace): fix the "zombie characters"
1258 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1260 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1262 2003-10-27 André Pönitz <poenitz@gmx.net>
1264 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1266 * factory.C: handle new InsetPagebreak, InsetLine
1268 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1269 and move handling into new InsetPagebreak, InsetLine
1271 * BufferView_pimpl.C:
1273 * ParagraphParameters.C:
1274 * ParameterStruct.h:
1279 * paragraph_funcs.C:
1280 * paragraph_pimpl.C:
1286 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1289 * lyxrow_funcs.[Ch]:
1295 * text3.C: remove lastPos uses in favour of Row::endpos
1297 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1299 * undo.C (performUndoOrRedo): fix two crashes by setting a
1300 cursor by hand and reordering some calls. Use bv->lockInset instead
1301 of inset->edit because the latter loses cursor information
1303 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1305 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1307 (rowBreakPoint): fix width. change point to point + 1.
1308 Add a missing check.
1310 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1313 * lyxfunc.C: fix (at least partly) the problems
1314 with the Nav menu and headers inside branch insets
1317 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1319 * paragraph.C (getChar): add strong asserts
1321 * lyxrow_funcs.C (lastPos): remove hideous hack
1323 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1324 (fill): adjust to that (avoid an infinite loop)
1326 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1328 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1330 2003-10-23 André Pönitz <poenitz@gmx.net>
1332 * RowList_fwd.h: change list<> to vector<> to gain speed
1333 after suggestion from Alfredo
1335 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1337 * lyxtext.h: move the bidi stuff from here...
1340 * Bidi.[Ch]: ... to here
1342 2003-10-23 André Pönitz <poenitz@gmx.net>
1345 * text.C (isLastRow, isFirstRow): new functions
1347 * paragraph.h: new width cache member
1349 * rowpainter.C: replace RowList::iterator with Row & where possible
1351 * lyxfunc.C: replace several view()->text with a single call
1353 * toc.C: fix 'unused' warning
1355 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1358 when woring with stream::pos_type
1359 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1361 2003-10-22 André Pönitz <poenitz@gmx.net>
1364 * text.C: use Row & instead of RowList::iterator
1366 * lyxrow.h: rename end() to endpos()
1372 2003-10-22 Angus Leeming <leeming@lyx.org>
1374 * buffer.[Ch] (fully_loaded): new member function, returning true
1375 only when the file has been loaded fully.
1376 Used to prevent the premature generation of previews and by the
1377 citation inset to prevent computation of the natbib-style label.
1379 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1380 templates are all set up.
1382 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1384 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1386 * text.C: fixed an "oops" in the "is a bit silly"
1389 2003-10-21 André Pönitz <poenitz@gmx.net>
1391 * FuncStatus.[Ch]: small stuff, whitespace
1393 * lyxfont.[Ch]: operator<<() for debug reasons
1397 * lyxtext.h: whitespace, spelling
1399 * paragraph.C: naming of variables
1402 * text2.C: small stuff
1405 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1407 * text.C: (1) finish off the inset display() work;
1408 (2) fix the "is a bit silly" bug (accessing char
1411 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1413 * text.C: re-introduce display() for insets, fixing the
1414 various bugs (stretch of line above, math inset
1417 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * text.C (rightMargin): remove spurious semicolon
1421 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1424 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1426 * text3.C: fix one crash due to wrong cursor def
1428 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * vc-backend.C (scanMaster): make the regex static
1432 * LaTeX.C (scanAuxFile): make the regexs static
1434 * text3.C (doInsertInset, dispatch, dispatch):
1435 * text2.C (cursorUp, cursorDown):
1436 * text.C (selectNextWordToSpellcheck):
1437 * BufferView_pimpl.C (dispatch):
1438 * lyxfunc.C (dispatch): localDispatch -> dispatch
1440 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * lyxsocket.C: include <cerrno>
1444 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * lyxfunc.C (dispatch): remove textcache stuff
1448 * bufferlist.C (release): remove textcache stuff
1451 * TextCache.C: delete file
1452 * TextCache.h: delete file
1454 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1456 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1457 delete of the bv_->text.
1458 (resizeCurrentBuffer): remove texcache stuff
1459 (workAreaResize): ditto
1461 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1466 2003-10-16 André Pönitz <poenitz@gmx.net>
1473 * text3.C: speed up by storing y positions per paragraph plus per-row
1474 offset instead of having a 'full' y position in the row.
1476 2003-10-15 André Pönitz <poenitz@gmx.net>
1480 * undo.[Ch]: make undo aware of inner insets
1482 2003-10-14 Angus Leeming <leeming@lyx.org>
1484 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1485 static member functions LyX::ref() and LyX::cref.
1486 (lastfiles): new accessor functions for the new lastfiles_ member var.
1487 (addLyXView, views_): add a new LyXView to the list of views_.
1488 (updateInset): loop over all LyXViews to call their own updateInset
1489 member function, returning a pointer to the Buffer owning the inset.
1491 * BufferView_pimpl.C (loadLyXFile):
1492 * MenuBackend.C (expandLastfiles):
1493 * bufferlist.C (MenuWrite, QuitLyX):
1494 lastfiles is no longer a global variable.
1495 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1497 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1498 static function. Access through LyX::cref().emergencyCleanup().
1500 2003-10-14 André Pönitz <poenitz@gmx.net>
1502 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1504 * undo.[Ch]: restoring part of 'undo in insets'
1507 * undo_funcs.[Ch]: merge with undo.[Ch]
1509 * tabular.C: small cleansing stuff
1511 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1513 * paragraph_funcs.C (readParToken): report unknown insets as error
1514 boxes. Use the outer paragraph as location (also for unknown
1517 * factory.C (readInset): do not abort on reading an unknown inset.
1518 Eat it and return 0.
1520 2003-10-13 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1524 * lyxrc.C: displayTranslator is now a function,
1525 declared in GraphicsTypes.h.
1527 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1529 * format.C: new placeholder $$a to pass the socket address.
1531 * bufferlist.[Ch]: new function getBufferFromTmp.
1533 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1534 files in the temporary dir.
1536 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1538 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1540 * Makefile.am: add lyxsocket.[Ch].
1542 * lyx_main.C (error_handler): handle SIGPIPE.
1544 2003-10-13 André Pönitz <poenitz@gmx.net>
1546 * BufferView_pimpl.C:
1551 * undo_funcs.[Ch]: use paroffset_type instead of
1552 ParagraphList::iterators to prevent multiple conversion
1553 (and get a more robust interface)
1555 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1557 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1559 * text3.C (dispatch): ditto
1561 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1564 move the onlyfile, use onlyfile instead of foundfile in a couple
1567 * DepTable.C (update): flush the error stream a bit more
1569 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * lyxserver.C (callback): adjust
1573 * lyxfunc.C (getStatus): add a missing brace in commented code
1574 (ensureBufferClean): reindent
1575 (dispatch): delete version taking a string
1577 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * LaTeX.C (deplog): move found file handlig from here...
1580 (handleFoundFile): .. to new function here.
1581 (deplog): make sure to discover several files mentioned on the
1584 2003-10-10 André Pönitz <poenitz@gmx.net>
1591 * text3.C: fix some of the tabular crashes
1593 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1595 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1597 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1599 2003-10-09 André Pönitz <poenitz@gmx.net>
1601 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1604 * BufferView_pimpl.C:
1605 * bufferview_funcs.C:
1616 * undo_funcs.C: adjust
1618 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * text2.C (incrementItemDepth): new function, use a backtracking
1621 algorithm to discover the correct item depth.
1622 (resetEnumCounterIfNeeded): new function, use a backtracking
1623 algorithm to discover if counter reset is needed.
1624 (setCounter): use them. Simplify a bit. Add different labels for
1625 different item depths for itemize.
1627 * paragraph.C (Paragraph): remove initialization of enumdepth
1630 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1631 enumerate and itemize. Change the type of itemdepth to signed char.
1633 2003-10-08 André Pönitz <poenitz@gmx.net>
1635 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1640 * tabular.[Ch]: fix crash after 'row-insert'
1642 2003-10-08 Angus Leeming <leeming@lyx.org>
1644 Fix doxygen warnings.
1646 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1647 Remove CutAndPaste:: prefix from header file declaration.
1649 * LColor.h (fill): remove LColor:: prefix from declaration.
1651 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1652 use lyx::depth_type rather than Paragraph::depth_type so that
1653 header file and .C file match.
1655 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1657 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1658 * aspell.C: \file aspell_local.C -> \file aspell.C
1659 * gettext.C: \file gettext.C -> \file src/gettext.C
1660 * gettext.h: \file gettext.h -> \file src/gettext.h
1661 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1662 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1663 * text.C: \file text.C -> \file src/text.C
1665 * toc.C: move comment so that doxygen is not confused.
1667 2003-10-07 Angus Leeming <leeming@lyx.org>
1669 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1671 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1674 * aspell_local.h: add forgotten std::string's.
1676 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1683 * text3.C: The Box patch. Fancybox support, minipage, parbox
1685 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1691 * ParagraphParameters.h:
1701 * lyxtextclasslist.h:
1704 * paragraph_pimpl.C:
1705 * textcursor.h: add <string> and other small fixes to make Lars'
1706 std::string patch compile with STLport.
1708 2003-10-06 Angus Leeming <leeming@lyx.org>
1710 * LColor.h: Add missing #include <string>.
1712 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * All most all file in all subdirs: Make <string> be the prefered
1715 way of getting to std::string, add using declarations.
1717 2003-10-06 André Pönitz <poenitz@gmx.net>
1719 * metricsinfo.C: initialize LyXFont before changing attribute.
1720 (fixes the 'math in \emph is upright' bug)
1722 2003-10-06 André Pönitz <poenitz@gmx.net>
1724 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1726 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1729 * paragraph_pimpl.C: Small fixes to build using STLport
1731 2003-10-02 André Pönitz <poenitz@gmx.net>
1734 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1736 2003-10-01 André Pönitz <poenitz@gmx.net>
1738 * factory.C: assert early
1740 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * lyx_main.C: remove the global debug object
1744 * debug.h: adjust for new debugstream
1746 * debug.C: adjust for new debugstream and keep the global debug
1749 2003-09-22 Angus Leeming <leeming@lyx.org>
1751 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1752 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1753 an incomplete class LyXFont.
1755 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1757 * factory.C: bug fix in branches
1759 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * lyxfunc.C (processKeySym): adjust
1763 (dispatch): change arg name from ev to func, adjust
1764 (sendDispatchMessage): ditto
1766 * lyx_main.C (defaultKeyBindings): adjust keybindings
1767 (deadKeyBindings): ditto
1769 * kbsequence.C (addkey): return a FuncRequest
1771 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1773 * kbmap.C (bind): take a FuncRequest as arg, adjust
1776 (defkey): change to take a FuncRequest as arg, adjust
1777 (findbinding): take a FuncRequest as arg, adjust.
1779 * funcrequest.h (operator=): added
1781 * funcrequest.C (FuncRequest): default kb_action changed from
1782 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1784 * buffer.C (dispatch): simplify
1785 (dispatch): adjust to take a FuncRequest as arg, adjust
1787 * boost.C (assertion_failed): change assertion message slightly
1789 * ToolbarBackend.C (read): simplify
1791 * MenuBackend.C (binding): adjust call to findbinding, add a
1792 message if no binding is found.
1794 (expandToc): correct by adding a empty FuncRequest
1796 * LyXAction.C: include <boost/assert.hpp>
1797 (isPseudoAction): delete function
1798 (LookupFunc): change name to...
1799 (lookupFunc): this. change return type to FuncRequest.
1800 (getActionName): take kb_action as arg, simplify
1801 (funcHasFlag): add an assert, simplify.
1803 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * toc.C (action): return a FuncRequest, simplify
1807 * lyxfunc.C (processKeySym): adjust
1808 (getStatus): delete version that takes an int.
1810 (dispatch): delete version that takes action as int
1812 (sendDispatchMessage): simplify and adjust
1814 * funcrequest.C (getArg): take unsigned int as arg
1816 * ToolbarBackend.C (read): adjust
1817 (add): delete version that takes func as a string.
1818 (getIton): take a FuncRequest as arg
1820 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1823 * MenuBackend.C (MenuItem): add a new construct that only takes a
1824 Kind, simplify the constructor use for submenus.
1826 (expandLastfiles): adjust
1827 (expandDocuments): adjust
1828 (expandFormats): adjust
1829 (expandFloatListInsert): adjust
1830 (expandFloatInsert): adjust
1831 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1833 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1834 Remove class variables lyx_pseudo_map and lyx_arg_map
1836 * LyXAction.C (searchActionArg): delete function
1837 (getPseudoAction): delete function
1838 (retrieveActionArg): delete function
1839 (LookupFunc): make it return kb_action, simplify.
1840 (getActionName): simplify
1842 * factory.C (createInset): fix new bug
1844 2003-09-19 Angus Leeming <leeming@lyx.org>
1846 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1847 masterFilename_ parameter in the include inset.
1849 * factory.C (createInset): changes due to the changes to InsetInclude.
1851 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1853 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1855 2003-09-18 Angus Leeming <leeming@lyx.org>
1858 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1859 Inset::fillWithBibKeys.
1860 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1862 2003-09-18 Angus Leeming <leeming@lyx.org>
1864 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1866 (ctor): pass and store a 'Buffer const &'
1867 (buffer): new member function.
1869 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1870 '*this' to the LaTeXFeatures ctor.
1872 2003-09-18 Angus Leeming <leeming@lyx.org>
1878 * text.C: rename EnumLColor as LColor_color.
1880 2003-09-18 Angus Leeming <leeming@lyx.org>
1882 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1883 remove #include "insets/insetbase.h" from cursor.h.
1885 2003-09-18 Angus Leeming <leeming@lyx.org>
1887 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1888 InsetOld_code to remove #include "inset.h".
1890 * iterators.C: add #include "insets/inset.h"
1892 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1894 * BufferView.C: remove more locking stuff that apparently doesn't
1895 do anything sensible.
1897 2003-09-16 André Pönitz <poenitz@gmx.net>
1900 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1903 2003-09-16 Angus Leeming <leeming@lyx.org>
1905 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1907 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1910 * paragraph.h: remove #include "lyxfont.h". Forward declare
1913 2003-09-16 Angus Leeming <leeming@lyx.org>
1915 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1916 of support/textutils.h.
1917 (isWord): move the contents of support/textutils.h's IsWordChar here.
1923 * text2.C: add #include "paragraph.h".
1926 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1928 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * LaTeX.C: use namespace alias for lyx::support::os
1936 2003-09-16 Angus Leeming <leeming@lyx.org>
1939 * bufferview_funcs.C:
1942 * paragraph_pimpl.C:
1944 * text.C: add #include "LColor.h".
1946 2003-09-16 Angus Leeming <leeming@lyx.org>
1948 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1949 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1951 Store the FontBits::color variable as an int rather than as an
1952 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1955 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1956 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1957 string calls together.
1959 * lyxrc.C: add #include "LColor.h".
1961 2003-09-15 Angus Leeming <leeming@lyx.org>
1963 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1966 2003-09-15 Angus Leeming <leeming@lyx.org>
1968 * LColor.h: add an EnumLColor wrapper for LColor::color.
1970 * lyxfont.[Ch] (color, setColor, realColor):
1971 * lyxtext.h, text.C (backgroundColor):
1972 pass EnumLColor args to/from the functions, rather than LColor::color
1976 * lyxtext.h: forward declare EnumLColor.
1978 * lyx_main.C: add #include "LColor.h".
1980 2003-09-15 Angus Leeming <leeming@lyx.org>
1982 * .cvsignore: add lyx-gtk.
1984 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * ParagraphParameters.C
1993 * bufferview_funcs.C
2003 * vc-backend.C: remove usage of STRCONV
2005 2003-09-15 Angus Leeming <leeming@lyx.org>
2007 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2008 explicitly define the color passed to the painter.
2010 2003-09-15 Angus Leeming <leeming@lyx.org>
2012 * bufferparams.C (BufferParams): reorder member initializers to avoid
2015 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2017 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2018 * text.C (updateRowPositions): remove an unusual nop
2020 2003-09-12 André Pönitz <poenitz@gmx.net>
2022 * BufferView_pimpl.C:
2031 * Counters.[Ch]: finish the 'automatic counters' job
2033 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2035 * aspell.C: include <boost/assert.cpp> (compile fix)
2037 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2039 * boost.C (assertion_failed): use lyx::support::abort instead of
2042 2003-09-10 Angus Leeming <leeming@lyx.org>
2044 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2045 with their _fwd progeny.
2047 2003-09-09 Angus Leeming <leeming@lyx.org>
2049 134 files throughtout the source tree: replace 'using namespace abc;'
2050 directives with the appropriate 'using abc::xyz;' declarations.
2052 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2054 * boost.C (emergencyCleanup): moved here from LAssert.c
2055 (assertion_failed): new function, called by BOOST_ASSERT
2057 * several files: change Assert to BOOST_ASSERT
2059 2003-09-09 Angus Leeming <leeming@lyx.org>
2061 * buffer.[Ch]: Add an Impl class and move Buffer's member
2062 variables into it. As a result move several header files out of
2065 Add header files to lots of .C files all over the tree as a result.
2067 2003-09-09 Angus Leeming <leeming@lyx.org>
2069 * buffer.[Ch]: make Buffer's member variables private. Add
2072 Lots of changes all over the tree as a result.
2074 2003-09-08 Angus Leeming <leeming@lyx.org>
2076 * graph.C: #include <config.h>.
2078 2003-09-08 Angus Leeming <leeming@lyx.org>
2082 * BufferView_pimpl.C:
2111 * toc.C: remove redundant using directives.
2113 2003-09-07 Angus Leeming <leeming@lyx.org>
2115 * LaTeXFeatures.h: remove #include "support/types.h".
2116 * ToolbarBackend.h: remove #include <algorithm>.
2117 * changes.h: remove #include <ctime>.
2118 * debug.h: remove #include <iosfwd>.
2119 * graph.h: remove #include "support/std_string.h".
2120 * lyx_main.h: remove #include <csignal>.
2121 * lyxlex_pimpl.h: remove #include <fstream>.
2122 * sgml.h: remove #include <algorithm>, <utility>.
2123 * toc.h: remove #include "support/std_ostream.h".
2124 Add #include <iosfwd>.
2126 2003-09-07 Angus Leeming <leeming@lyx.org>
2128 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2130 * converter.h: forward declare LatexRunParams.
2131 * encoding.h: remove #include "lyxrc.h".
2132 * lyxtext.h: remove #include "LColor.h".
2133 * lyxtextclass.h: remove #include "support/types.h".
2134 * trans.h: remove #include "tex-accent.h".
2135 * trans_mgr.h: remove #include "tex-accent.h".
2136 * insets/inset.h: remove #include "support/types.h", <vector>.
2137 * insets/insetcollapsable.h: remove #include "LColor.h".
2138 * insets/insetinclude.h: remove #include "dimension.h".
2139 * insets/insetlatexaccent.h: remove #include "dimension.h".
2140 * insets/insetoptarg.h:: remove #include "insettext.h".
2141 * insets/insettext.h: remove #include "dimension.h",
2142 <boost/shared_ptr.hpp>
2144 * insets/renderers.h: add #include "dimension.h".
2145 * insets/updatableinset.h: add #include "support/types.h".
2147 * many .C files: Associated changes.
2149 2003-09-06 Angus Leeming <leeming@lyx.org>
2151 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2152 one, inside testInvariant.
2154 * PrinterParams.C: new file.
2155 * PrinterParams.[Ch]: move the function bodies out of line.
2157 2003-09-06 Angus Leeming <leeming@lyx.org>
2159 * ParagraphParameters.h: forward declare ParameterStruct rather than
2160 including its header file.
2161 (depth): moved out-of-line.
2163 2003-09-06 Angus Leeming <leeming@lyx.org>
2165 * BufferView_pimpl.h:
2168 * lyxfunc.h: forward declare LyXKeySym rather than
2169 #include "frontends/LyXKeySym.h".
2171 * BufferView_pimpl.C:
2174 * lyxfunc.C: associated changes.
2176 2003-09-06 Angus Leeming <leeming@lyx.org>
2178 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2179 As a result, can remove the #include "insets/inset.h" from BufferView.h
2181 2003-09-06 Angus Leeming <leeming@lyx.org>
2183 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2184 As a result, can remove the #include "insets/inset.h" from BufferView.h
2186 2003-09-06 Angus Leeming <leeming@lyx.org>
2192 * bufferview_funcs.C:
2193 * BufferView_pimpl.C:
2198 * ParagraphParameters.C:
2203 * frontends/controllers/ControlDocument.C:
2204 * insets/insetcaption.C: rearrange the #includes into some sort of
2207 * buffer.h: remove #includes ErrorList.h, undo.h
2209 2003-09-06 Angus Leeming <leeming@lyx.org>
2211 * support/types.h: add a 'depth_type' typedef, used to store the
2212 nesting depth of a paragraph.
2215 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2216 defining explicitly.
2219 * paragraph_funcs.h:
2220 * ParagraphParameters.h:
2221 * sgml.h: use lyx::depth_type rather than Paragraph or
2222 ParameterStruct's depth_type.
2225 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2228 * BufferView_pimpl.C:
2230 * ParagraphParameters.C:
2233 * bufferview_funcs.C:
2240 * frontends/LyXView.C:
2241 * frontends/controllers/ControlDocument.C:
2242 * frontends/controllers/ControlErrorList.C:
2243 * insets/insetbibitem.C:
2244 * insets/insetbranch.C:
2245 * insets/insetcaption.C:
2246 * insets/insetcollapsable.C:
2247 * insets/insetenv.C:
2248 * insets/insetert.C:
2249 * insets/insetfloat.C:
2250 * insets/insetfoot.C:
2251 * insets/insetfootlike.C:
2252 * insets/insetnewline.C:
2253 * insets/insetquotes.C:
2254 * insets/insettabular.C:
2255 * insets/insettext.C:
2256 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2258 * frontends/controllers/ControlChanges.C: #include "changes.h".
2260 2003-09-06 Angus Leeming <leeming@lyx.org>
2262 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2263 than #including paragraph.h.
2266 * RowList.h: deleted. Superfluous.
2276 * insets/insettext.h: use ParagraphList_fwd.h rather than
2279 * paragraph.h: don't forward declare ParagraphList.
2282 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2283 rather than ParagraphList.h. paragraph.h is still needed for the
2284 Paragraph::depth_type parameters.
2286 * textcursor.h: enable it to compile stand-alone in light of the
2289 * bufferview_funcs.C:
2301 * frontends/controllers/ControlParagraph.C:
2302 * frontends/controllers/ControlTabular.C:
2303 * insets/insetmarginal.C:
2304 * insets/insetminipage.C:
2305 * insets/insetnote.C:
2306 * insets/insetoptarg.C: add header files needed to compile again.
2308 2003-09-06 Angus Leeming <leeming@lyx.org>
2310 * RowList_fwd.h: new file, forward-declaring Row rather than
2311 #including lyxrow.h.
2316 * insets/insettext.h: use it instead of RowList.h
2318 * bufferview_funcs.C:
2325 * text3.C: #include "RowList.h".
2327 2003-09-05 Angus Leeming <leeming@lyx.org>
2329 * factory.C (createInset):
2330 * vspace.C (c-tor): replace sscanf call with an istringstream.
2331 * ispell.C: re-add missing HP/UX headers.
2332 * lyxserver.C: re-add missing os2 headers.
2334 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2343 * text3.C: re-add missing system headers, needed for 2.95.2.
2345 2003-09-05 Angus Leeming <leeming@lyx.org>
2347 Changes most place everywhere due to the removal of using directives
2348 from support/std_sstream.h.
2350 2003-09-05 Angus Leeming <leeming@lyx.org>
2352 Replace LString.h with support/std_string.h,
2353 Lsstream.h with support/std_sstream.h,
2354 support/LIstream.h with support/std_istream.h,
2355 support/LOstream.h with support/std_ostream.h.
2357 Changes resulting throughout the tree.
2359 2003-09-05 Angus Leeming <leeming@lyx.org>
2361 * sgml.h: ensure that the header file can be compiled stand-alone.
2362 * *.C: strip out redundant #includes. (320 in total.)
2364 2003-09-04 Angus Leeming <leeming@lyx.org>
2366 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2367 here (from getPackages).
2369 * debug.[Ch]: add a new EXTERNAL tag.
2371 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2373 * text2.C (cursorEnd): simplify
2375 (getColumnNearX): adjust
2377 * text.C (computeBidiTables): adjust
2380 * rowpainter.C (paintChars): adjust
2381 (paintSelection): adjust
2382 (paintChangeBar): adjust
2385 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2387 (numberOfSeparators): adjust
2389 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2395 * text3.C: Restricts the mouse click functionality
2396 of insets like bibtex, include, toc and floatlist to the visible
2397 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2398 up the dialogs. Cursor has to be in front of the inset (i.e.
2399 start of row) for this to function.
2401 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2403 * bufferview_funcs.C (currentState): output row information
2405 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2407 * bufferview_funcs.C (currentState): output paragraph position
2409 2003-09-04 Angus Leeming <leeming@lyx.org>
2411 * FloatList.h: move out #include "Floating.h".
2412 * LaTeX.h: move out #include "DepTable.h".
2413 * LyXAction.h: move out #include "funcrequest.h".
2414 * buffer.h: move out #include "author.h", "iterators.h".
2415 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2416 * lyx_main.h: move out #include "errorlist.h".
2417 * lyxfunc.h: move out #include "FuncStatus.h".
2418 * lyxtext: move out #include "lyxcursor.h".
2419 * paragraph_pimpl.h: move out #include "counters.h".
2421 2003-09-03 Angus Leeming <leeming@lyx.org>
2423 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2424 preamble_snippets list, enabling us to add snippets to the preamble
2425 only if the snippet was not there already.
2427 2003-09-04 Angus Leeming <leeming@lyx.org>
2429 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2431 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2436 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2438 * BranchList.C: point fix, earlier forgotten
2440 2003-09-02 Angus Leeming <leeming@lyx.org>
2442 * box.C (contains): renamed from 'contained' after a fantastic
2445 2003-09-02 John Levon <levon@movementarian.org>
2451 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2453 2003-09-02 John Levon <levon@movementarian.org>
2455 * text2.C: simplification of cursorEnd(), including partial
2458 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * buffer.C (readFile): add a space
2462 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2464 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2466 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * buffer.C (readFile): new function, take a filename and a
2469 ParagraphList::iterator
2471 (readFile): adjust, make it private. don't use setStream, make
2472 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2473 always contain the filename.
2475 * BufferView.C (insertLyXFile): simplify and make it work for
2478 2003-08-30 John Levon <levon@movementarian.org>
2480 * Makefile.am: fix dist (from Kayvan)
2482 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * most files: change to use const Buffer refs
2486 2003-08-27 André Pönitz <poenitz@gmx.net>
2488 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2489 on top of ownerPar().
2491 2003-08-27 John Levon <levon@movementarian.org>
2493 * funcrequest.C: properly initialise POD members
2495 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2497 * lyxtext.h (top_y): move top_y from here
2502 * BufferView_pimpl.[Ch]: to here
2503 * frontends/screen.C:
2504 * insets/insettabular.C:
2505 * insets/insettext.C: adjust
2506 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2508 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2511 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2513 2003-08-26 André Pönitz <poenitz@gmx.net>
2515 * paragraph_func.[Ch] (outerPar): new function
2518 * paragraph_funcs.C:
2519 * paragraph_funcs.h:
2520 * paragraph_pimpl.C:
2521 * text2.C: remove Inset::par_owner
2523 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2528 * text2.C: eliminates the needFullRow/display() stuff
2529 altogether, putting the logic in metrics/draw in the insets.
2531 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2533 * text2.C (redoParagraphInternal, redoParagraphs):
2534 * text.C (redoParagraph): add a call to updateRowPositions at the
2535 end of each 'metrics-like' call. Remove all others.
2536 (getRow): remove the 'y-computing' version.
2537 (getRowNearY): do not compute nor return the real y. Solve the
2538 'y < 0' problem and simplify.
2540 2003-08-22 Angus Leeming <leeming@lyx.org>
2542 * *.[Ch]: clean-up of licence and author blurbs.
2543 Also move config.h out of a few .h files and into a few .C files.
2545 2003-08-22 André Pönitz <poenitz@gmx.net>
2547 * lyxrow.[Ch]: add x_ and *fill_ members
2552 * text2.C: adjust/remove prepareToPrint() calls
2554 2003-08-22 André Pönitz <poenitz@gmx.net>
2556 * lyxrow.[Ch]: add end_ member
2558 * lyxrow_funcs.C: use LyXRow::end_
2560 * lyxtext.h (singleWidth): add LyXFont parameter
2563 * text2.C: adjust LyXText::singleWidth() calls
2565 * text.C (redoParagraph): simplify row breaking logic
2568 2003-08-19 André Pönitz <poenitz@gmx.net>
2570 * funcrequest.C: initialize button_ member
2573 * rowpainter.[Ch]: interface consolidation
2575 2003-08-18 André Pönitz <poenitz@gmx.net>
2578 * BufferView_pimpl.C:
2580 * paragraph_funcs.C:
2582 * text3.C: remove LyXScreen::draw() and fitCursor calls
2584 * BranchList.h: remove spurious semicolons
2586 * MenuBackend.C: fix branchlist related crash
2588 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2596 * bufferparams.[Ch]:
2600 * text3.C: implements the 'branch inset'
2601 idea. This allows the output of various versions of a document
2602 from a single source version, selectively outputing or suppressing
2603 output of parts of the text.
2604 This implementation contains a 'branch list editor' in a separate
2605 tab of the document settings dialog. Branches are user definable
2606 and have a "display colour" to distinguish them on-screen.
2608 ColorHandler was somewhat cleaned up.
2609 (1) make possible a dynamically growing LColor list by allowing
2610 the graphic context cache to grow along (vector);
2611 (2) eliminate an IMHO unnecessary step in colour allocation.
2613 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2615 * BufferView_pimpl.C: compile fix
2617 2003-08-15 André Pönitz <poenitz@gmx.net>
2619 * rowpainter.C: remove extra metrics calls
2621 * lyxtext.h: merge the two constructors into a single one,
2622 pass reference to owner's par list
2624 * BufferView_pimpl.C:
2628 2003-08-15 André Pönitz <poenitz@gmx.net>
2630 * lyxrow_funcs.[Ch]:
2633 * paragraph_funcs.C:
2638 * text_funcs.C: split LyXText::rowlist_ into individual
2639 Paragraph::rows_ chunks
2642 * BufferView_pimpl.[Ch]:
2645 * text3.C: remove toggleSelection()
2647 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2649 * bufferlist.C: beautify two alerts (shorter text of buttons)
2650 * buffer.C: Remove redundant ' ' from message
2652 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2653 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2654 rename VALIGN_CENTER to VALIGN_MIDDLE
2656 2003-08-11 André Pönitz <poenitz@gmx.net>
2658 * lyxtext.h (getPar):
2659 * text.C: new function
2661 2003-08-11 André Pönitz <poenitz@gmx.net>
2664 * tracer.[Ch]: remove unneeded files
2666 * InsetList.[Ch]: remove resizeInsetsLyXText()
2671 * text3.C: merge insertParagraphs() and appendParagraph()
2672 remove breakAgain(), update()
2674 * BufferView_pimpl.[Ch]:
2675 * bufferview_funcs.[Ch]:
2679 * tabular.C: adjust after text & InsetList changes.
2681 2003-08-08 André Pönitz <poenitz@gmx.net>
2683 * text.C (insertChar, backspace): replace rowlist fiddling
2684 with rebreak of full par
2687 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2688 checkParagraph, updateInset): removed
2690 2003-08-07 André Pönitz <poenitz@gmx.net>
2693 * text3.C: merge some LFUN handlers, remove dead code
2695 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2697 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2699 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2701 * text2.C (DEPM): fix part of bug 1255 and 1256
2703 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * BufferView_pimpl.C (workAreaDispatch): change to use
2706 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2707 that are no mouse related.
2709 2003-08-05 André Pönitz <poenitz@gmx.net>
2712 * BufferView_pimpl.[Ch]:
2713 * bufferview_funcs.C:
2715 * text3.C: rip out "deep update"
2717 * textcursor.[Ch] (last_sel_cursor): remove unused member
2719 2003-08-04 André Pönitz <poenitz@gmx.net>
2722 * BufferView_pimpl.[Ch]:
2723 * ParagraphParameters.C:
2724 * bufferview_funcs.C:
2730 * text3.C: replace "complicated" BufferView::update(...) calls with
2733 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2735 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2737 * Makefile.am (lyx_SOURCES): add paper.h
2739 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2741 * Makefile.am: move things around so that both lyx-qt and
2742 lyx-xforms can be built (according to --with-frontend). Then lyx
2743 is a symbolic link to lyx-[firstfrontend]
2745 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2747 * Always use std::endl with lyxerr
2749 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2751 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2753 2003-08-01 André Pönitz <poenitz@gmx.net>
2756 * BufferView_pimpl.[Ch]:
2758 * text3.C: merge BufferView::repaint() and BufferView::update()
2760 2003-08-01 José Matos <jamatos@lyx.org>
2762 * buffer.[Ch]: file_format is no longer a buffer data element.
2764 2003-08-01 André Pönitz <poenitz@gmx.net>
2769 * text2.C: make redoParagraph more independent of current cursor
2771 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2773 * text2.C: remove unneeded members
2775 2003-07-30 André Pönitz <poenitz@gmx.net>
2777 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2779 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2780 create a single function...
2782 * paragraph_funcs.C (moveItem): ... here.
2785 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2787 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2789 * LColor.[Ch]: Add comment and greyedout logical colors.
2791 2003-07-30 André Pönitz <poenitz@gmx.net>
2793 * tabular.C: don't use Assert too heavily. This crashes where it
2796 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2798 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2799 is disabled (bug 1232)
2801 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2803 * factory.C: limited 'arg' scope
2805 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2807 * factory.C: fixed Note submenu issues
2809 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2811 * factory.C: submenu for Note/Comment/Greyedout
2813 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2816 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2818 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2821 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2822 greyedout. Patch provided by Jürgen Spitzmüller.
2824 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2826 * kbmap.C (read): fix error message when reading bind files
2828 2003-07-29 Angus Leeming <leeming@lyx.org>
2830 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2831 certainly does not do what it purports to do. I am doing it, and
2832 us, a favour by killing it.
2834 2003-07-28 José Matos <jamatos@lyx.org>
2836 * buffer.C (readBody, do_writeFile):
2837 * paragraph.C(readParagraph): \end_document replaces \the_end.
2839 2003-07-29 André Pönitz <poenitz@gmx.net>
2842 * BufferView_pimpl.[Ch]:
2846 * textcursor.[Ch]: remove toggleToggle & Co
2848 2003-07-28 José Matos <jamatos@fep.up.pt>
2850 * buffer.C (readParagraph):
2851 * params_func (readParToken, readParagraph):
2852 * paragraph.C (write): \layout -> \begin_layout.
2854 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxlex_pimpl.C (setFile): clean up slightly.
2858 * bufferparams.h: add compressed var
2860 * buffer_funcs.C (readFile): adjust for LyXLex change
2861 (newFile): ditto + simplify
2863 * buffer.C (writeFile): handle writing of compressed files
2865 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2866 Check if the file is compressed and set a bufferparm if so.
2868 * Makefile.am (lyx_LDADD): remove explicit -lz
2870 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2872 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2873 makeDocBookFile): put the real LyX version in the first line of
2877 * version.C.in: remove lyx_docversion
2879 * tabular.C (write_attribute): add a template-based version to
2880 write enums properly
2882 2003-07-28 André Pönitz <poenitz@gmx.net>
2887 * text3.C: use doubles again for x-coordinates. They are needed.
2889 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * messages.C (getLocaleDir): use lyx_localedir()
2893 * lyxlex_pimpl.C (setFile): compress stuff
2895 * buffer.C (writeFile): add some compression stuff
2896 (do_writeFile): new func, dont call expliti close... will this
2899 * Makefile.am (lyx_LDADD): add -lz
2901 2003-07-28 José Matos <jamatos@fep.up.pt>
2903 * buffer.C: increment file format.
2904 * paragraph_funcs (readParagraph, readParToken):
2905 * paragraph.C (readParagraph): add \end_layout.
2907 2003-07-27 Angus Leeming <leeming@lyx.org>
2909 * Makefile.am: remove special casing for configure-time setting of
2910 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2912 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2913 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2915 2003-07-26 André Pönitz <poenitz@gmx.net>
2917 * paragraph_func.[Ch]:
2918 * paragraph.C (realizeFont): inline it whereever it is used
2923 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2926 2003-07-26 André Pönitz <poenitz@gmx.net>
2930 * text2.C: get rid of LyXText::need_break_row
2932 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * toc.[Ch]: put namespace toc inside namespace lyx
2936 * MenuBackend.C (expandToc2): adjust for lyx::toc
2939 * lyxfunc.C (dispatch): adjust for lyx::find
2941 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2942 lyx::find instead. Reorganize a bit.
2943 (LyXReplace): rename to replace
2944 (LyXFind): rename to find
2946 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2949 2003-07-26 André Pönitz <poenitz@gmx.net>
2951 * text.C (setHeightOfRow): restrict scope of temporary variable
2953 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2954 code (never has been used?)
2956 2003-07-27 Asger Alstrup <alstrup@local>
2958 * text.C (fill): Optimise algorithm to exploit that we can reuse
2959 the LyXFont for many characters.
2960 (setHeightOfRow): Same thing.
2961 (rowBreakPoint): Same thing.
2963 2003-07-26 Asger Alstrup <alstrup@local>
2965 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2967 * text.C (singleWidth): Spurious font copying in hot-spot
2968 singleWidth avoided. Reorder tests for arabic for efficiency.
2970 * text.C (fill): handle empty paragraphs better.
2972 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2975 * encoding.h: add includes
2977 * lyxrc.C: remove reading of bind files
2979 * lyx_main.C (init): setup bindings and menus only if we have a
2982 * kbmap.C (read): new method. Do the actual reading of bind
2985 * converter.C (dvipdfm_options):
2988 (output): adapt PAPER_* enums.
2990 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2992 * bufferparams.h: remove paper-related enums from there
2994 * paper.h: New file. A trivial header file to hold paper-related
2995 enums. It should later expand to contain many paper-related
2998 * lyxrc.C: declare extern displayTranslator
3000 2003-07-27 José Matos <jamatos@fep.up.pt>
3002 * tabular.[Ch] (linuxdoc): add support for tables and figures
3005 2003-07-27 José Matos <jamatos@fep.up.pt>
3007 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3008 consistency in both functions.
3009 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3011 2003-07-26 Asger Alstrup <alstrup@local>
3013 * rowpainter.C (paintRows): Change algorithm to work directly on
3014 the insets rather than asking every character in the document
3015 whether its an inset.
3017 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3019 * buffer.C (openFileWrite): factorize some code
3021 2003-07-26 Angus Leeming <leeming@lyx.org>
3024 * lyx_main.[Ch]: replace occurances of system_tempdir with
3027 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * rename Inset to InsetOld
3031 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3033 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3034 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3035 which I think is a bit clearer. EDIT is gone, since it was
3036 premature optimisation, and broken for mathed anyway.
3037 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3038 with cursor positioning in insets as well (math insets still do not
3039 work, but that's a different story anyway.) It mysteriously
3040 crashes sometimes with undo in the first paragraph, but I'm fairly
3041 confident that this is a compiler bug.
3043 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * paragraph.C (Paragraph): adjust for new clone return type
3047 (copyIntoMinibuffer): ditto
3049 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3051 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3052 by not having a special case, and always doing a full rebreak of
3053 the document after undo.
3055 2003-07-23 Angus Leeming <leeming@lyx.org>
3057 * factory.C (createInset): InsetExternal::setParams now takes a
3060 2003-07-23 Angus Leeming <leeming@lyx.org>
3062 * factory.C (createInset): changed interface to the external and
3063 graphics mailers' string2params functions.
3065 2003-07-23 Angus Leeming <leeming@lyx.org>
3067 * factory.C (createInset): pass a
3068 Buffer const * parameter to InsetExternalMailer's string2params.
3070 2003-07-22 John Levon <levon@movementarian.org>
3072 * Thesaurus.h: include the right aiksaurus header
3074 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * MenuBackend.C (expand): check menu shortcuts unconditionally
3078 2003-07-21 Angus Leeming <leeming@lyx.org>
3080 * factory.C (createInset): pass a
3081 buffer_path parameter to InsetGraphicsMailer's string2params.
3083 2003-07-21 Angus Leeming <leeming@lyx.org>
3085 * BufferView_pimpl.C (buffer):
3088 * lyxfunc.C (dispatch):
3089 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3090 rather than the grfx shortcut.
3092 2003-07-21 André Pönitz <poenitz@gmx.net>
3094 * rowpainter.C: remove unused variables
3097 * tabular_funcs.h: move to tabular.C
3098 * Makefile.am: adjust
3100 * tabular.[Ch]: basic optical cleaning
3102 * author.h: pass references, not values
3104 2003-07-18 André Pönitz <poenitz@gmx.net>
3112 * text3.C: two-phase drawing for InsetText and InsetTabular
3113 some float -> int changes.
3115 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3117 * lyx_main.C: fix the fix
3119 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3121 * lyx_main.C: fix a crash in batch mode if no files specified
3124 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3126 * format.[Ch] (papersize): moved to BufferParams
3127 * converter.[Ch] (dvips_options): moved to BufferParams
3128 (dvipdfm_options): moved to anon namespace
3129 * bufferparams.[Ch]: added above functions.
3131 2003-07-17 André Pönitz <poenitz@gmx.net>
3135 * text2.C: don't call inset->update() anymore
3137 * metricsinfo.[Ch]: add convenience constructor
3139 2003-07-16 André Pönitz <poenitz@gmx.net>
3144 * text2.C: replace the LyXCursor::irow_ member with
3145 on-demand computation of the value
3147 2003-07-16 John Levon <levon@movementarian.org>
3149 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3151 2003-07-15 André Pönitz <poenitz@gmx.net>
3154 * text2.C: remove no more needed refresh_row
3156 2003-07-15 André Pönitz <poenitz@gmx.net>
3161 * text3.C: refresh_status tristate -> need_update bool
3163 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3165 * lyxtext.h (init): remove reinit argument (act as if always true)
3166 * text2.C: adjust to that
3168 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3170 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3171 * text3.C: use it to delete selections in some cases
3172 (bugs 441, 673, 702, 954).
3174 2003-07-14 André Pönitz <poenitz@gmx.net>
3176 * rowpainter.[Ch]: reduce interface
3178 2003-07-14 André Pönitz <poenitz@gmx.net>
3180 * BufferView_pimpl.C:
3181 * text2.C: adjust after removing unused BufferView * argument
3183 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3185 * text2.C (init): fix a crash fired on resize
3187 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3189 * buffer.[Ch]: added new closing signal
3190 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3191 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3192 BufferView::Pimpl via the closing the signal
3194 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3196 * buffer.[Ch]: take out all bv-related from buffer
3198 * BufferView_pimpl.[Ch]: connect to new signals
3199 * CutAndPaste.C: removed useless asserts
3200 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3203 * lyxfunc.C: moved view-related funciontality from vc here
3204 * paragraph.C: removed outdated comments
3207 2003-07-10 André Pönitz <poenitz@gmx.net>
3209 * BufferView_pimpl.C:
3213 * text2.C: remove InsetText::InnerCache, clean up consequences
3215 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3217 * ispell.C: fix two typos in error messages
3219 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3221 * Extend Note inset to other forms of annotation like Comment
3222 and Greyedout. Right button click gives dialog.
3224 Files modified or added (+):
3228 * ControlNote.[Ch] +
3230 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3231 frontends/controllers
3235 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3237 * aspell.C: add missing namespace lyx::support
3239 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3241 * BufferView.[Ch] (newFile): Add
3242 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3243 * LaTeX.[Ch] (message): added this signal and use it
3244 * buffer.[Ch] (busy, message): added these signals and use them
3245 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3249 * importer.C: use buffer signals instead of direct bv calling
3250 * lyx_cb.[Ch] (ShowMessage): removed
3253 * paragraph_funcs.C:
3254 * text2.C: use buffer signals
3256 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * introduce namespace lyx::graphics
3260 2003-07-02 André Pönitz <poenitz@gmx.net>
3262 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3264 2003-07-01 André Pönitz <poenitz@gmx.net>
3271 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3272 text*.C to text_func.C
3274 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * introduce namespace lyx::support
3278 2003-06-30 André Pönitz <poenitz@gmx.net>
3283 * text.C: re-enable --with-included-string
3285 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * textcursor.C: add <config.h>
3289 * text.C (getWord): remove const from word_location arg
3291 * lyxvc.C (getLogFile): fix const type order
3293 * lyxtext.h: remove const from word_location arg, add arg name
3295 * lyxlayout.h: currect type on labeltype.
3297 * importer.C: correct \file
3299 * converter.C (intToFormat): use std:: on ret val, ws changes
3301 * bufferlist.h: correct \file
3303 * buffer.C (makeLinuxDocFile): fix const type order
3304 (makeDocBookFile): ditto
3305 (fillWithBibKeys): use std:: on stdlib args.
3307 * CutAndPaste.C: fix authors.
3308 (availableSelections): use std:: on return vector
3310 2003-06-27 André Pönitz <poenitz@gmx.net>
3312 * BufferView_pimpl.C:
3313 * bufferview_funcs.C:
3321 * text3.C: remove LyXCursor::row_ member
3324 * text.C: rename fullRebreak() to partialRebreak() and implement
3325 a fullRebreak() that really bereks fully
3327 * textcursor.h: new struct for cursor-related data
3329 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3331 * lyx_main.C (LyX): get full path of document loaded on the
3334 2003-06-26 André Pönitz <poenitz@gmx.net>
3336 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3337 remove unused/broken operator>,<,>=.
3339 * text.C: remove only use of broken operator<= in an Assert().
3341 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3343 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3344 moved errorlist_.clear to showErrorList
3346 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3348 * converter.C (scanLog, runLaTeX):
3349 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3350 move the bv->showErrorList call to the callers
3351 * lyxfunc.C: i.e. here...
3353 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3354 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3355 namespace, the second to...
3356 * buffer_funcs (BufferFormat, parseErrors): added
3357 * errorlist.C (ErrorList(TeXErrors const &)): removed
3359 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3361 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3363 2003-06-24 "Garst R. Reese" <reese@isn.net>
3367 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3369 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3371 * version.C.in: change docversion to 1.4
3373 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3375 * buffer.C: fix a bug just introduced
3377 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3379 * buffer.[Ch]: added the parseError signal and use it, removed
3381 * BufferView.[Ch] (addError): moved to ...
3382 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3383 to the Buffer::parseError signal to catch (guess what) parse errors
3384 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3386 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3388 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3389 ability to create a buffer and to return an existing one from
3390 the list. Moved these functions to...
3391 * buffer_funcs.[Ch]: added
3392 * BufferView.[Ch] (loadLyXFile): added
3393 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3394 job removed from bufferlist::loadLyXFile.
3395 * buffer.C (setReadOnly): make it work without view
3396 (i.e added an if (users))
3398 2003-06-19 Angus Leeming <leeming@lyx.org>
3401 * LyXAction.C (init):
3402 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3403 with LFUN_DIALOG_SHOW <name> <data>.
3405 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3407 * CutAndPaste.C (availableSelections): small compilation fix for
3408 ancient (gcc 2.9x) compilers
3410 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * text3.C (cursorNext): add tmp var
3414 * text2.C (updateCounters): for function calling out of for clause
3415 (replaceSelectionWithString): ditto
3416 (insertStringAsParagraphs): ditto
3417 (getColumnNearX): add tmp var
3418 (setCursorFromCoordinates): add tmp var
3419 (cursorDownParagraph): add tmp var
3420 (deleteEmptyParagraphMechanism): add tmp var
3422 * text.C (insertChar): add tmp var
3424 * rowpainter.C (paintDepthBar): add tmp var
3426 * CutAndPaste.C (availableSelections): potentially check all
3427 paragraphs in a cut to fill the shown strings.
3429 2003-06-18 André Pönitz <poenitz@gmx.net>
3431 * kbmap.[Ch]: use vector<> instead of list<>
3433 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3435 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3436 pasteSelection with index
3438 * text2.C (pasteSelection): modify, call pasteSelection with index
3440 * paragraph.C (asString): reimplement version with no interval to
3441 call the one with interval.
3443 * lyxtext.h: add index arg to pasteSelection
3445 * MenuBackend.C (MenuItem): handle PasteRecent
3446 (Menu::read::Menutags): add md_pasterecent
3448 (expandPasteRecent): new function
3451 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3453 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3455 (availableSelections): new function
3457 2003-06-17 Angus Leeming <leeming@lyx.org>
3459 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3461 2003-06-17 Angus Leeming <leeming@lyx.org>
3464 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3466 * lyxfunc.C (dispatch): invoke it.
3468 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3470 * iterators.C (operator++, ParPosition): reintroduce some
3471 const_cast for the benefit of older compilers.
3473 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3475 * text3.C (dispatch): do not modify clipboard when doing
3476 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3477 LFUN_DELETE_SKIP on a selection selection
3479 2003-06-16 André Pönitz <poenitz@gmx.net>
3485 * tabular.[Ch]: IU of clone() and getLabelList();
3487 2003-06-13 André Pönitz <poenitz@gmx.net>
3489 * tabular.h: compactification
3491 2003-06-12 André Pönitz <poenitz@gmx.net>
3495 * tabular_funcs.h: some renaming plus whitespace
3497 2003-06-12 André Pönitz <poenitz@gmx.net>
3500 * BufferView_pimpl.C:
3506 * toc.C: Return a Paragraph & for ParIterator::operator*()
3508 2003-06-11 John Levon <levon@movementarian.org>
3512 * ToolbarBackend.C: add "Toolbars" section and
3515 2003-06-10 Angus Leeming <leeming@lyx.org>
3518 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3520 * lyxfunc.C (dispatch): invoke it.
3522 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * main.C: protect <ios> with HAVE_IOS
3525 (main): protect sync_with_stdio with HAVE_IOS
3527 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3529 * text2.C (cutSelection): adjust
3530 (pasteSelection): adjust
3532 * messages.C: handle get of empty string
3534 * main.C (main): use sync_with_stdio(false)
3536 * lyxfunc.C (dispatch): adjust
3538 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3539 (WriteAs): remove unneeded BufferView arg.
3541 * bufferparams.h: use correct types on papersize, papersize2 and
3544 * bufferparams.C (readToken): adjust for type
3545 (writeLaTeX): add missing cases to switch.
3547 * bufferlist.C (quitWriteBuffer): adjust
3550 * buffer.C (asciiParagraph): remove some commented code.
3552 * CutAndPaste.C: remove current_view extern variable.
3553 (cutSelection): add BufferParams arg.
3554 (eraseSelection): add BufferParams arg.
3555 (pasteSelection): add Buffer const & arg
3557 2003-06-07 John Levon <levon@movementarian.org>
3560 * paragraph_funcs.C:
3561 * paragraph_pimpl.C:
3565 * paragraph.C: allow InsetERT to freely space lines,
3566 and some consolidation of code
3568 2003-06-06 José Matos <jamatos@fep.up.pt>
3570 * buffer.C (makeDocBookFile): fix bug #821
3572 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3574 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3576 2003-06-04 Angus Leeming <leeming@lyx.org>
3578 * buffer.C: bump format to 224.
3580 2003-06-05 André Pönitz <poenitz@gmx.net>
3582 * text2.C (redoParagraphs): remove two const_cast<>
3584 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3586 * ParagraphList.h: remove last remnants of NO_STD_LIST
3588 2003-06-03 Angus Leeming <leeming@lyx.org>
3590 * factory.C (createInset): small change to the way InsetExternal's params
3593 2003-06-04 André Pönitz <poenitz@gmx.net>
3595 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3597 * paragraph_pimpl.h:
3598 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3600 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3602 * undo_funcs.C: make some simple cases of undo work again
3604 2003-06-03 John Levon <levon@movementarian.org>
3606 * ispell.C: HPUX doesn't have sys/select.h
3609 2003-06-03 John Levon <levon@movementarian.org>
3611 * CutAndPaste.C: update tabular and include inset
3616 * paragraph.C: remove owningBuffer(), don't pass Buffer
3619 * factory.C: insetGraphicsParams changed
3621 2003-06-02 John Levon <levon@movementarian.org>
3627 * text3.C: remove insetparent
3629 2003-06-02 John Levon <levon@movementarian.org>
3632 * buffer.C: fix inset_iterator.end(), move out of line
3635 2003-06-01 John Levon <levon@movementarian.org>
3637 * text3.C: use a proper cut/paste when doing inset
3638 insert (from Jürgen Spitzmüller)
3640 2003-06-01 John Levon <levon@movementarian.org>
3642 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3644 2003-05-30 André Pönitz <poenitz@gmx.net>
3646 * rowpainter.C: unify second drawing phase
3648 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * trans_mgr.C: remove one case of current_view
3652 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3654 * paragraph_funcs.h: remove paragraph.h include
3656 * paragraph.h: delete NO_STD_LIST stuff
3658 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3660 * buffer.h: remove paragraph.h include
3662 * ParagraphList.C: delete file
3664 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3666 * toc.C (getTocList): adjust
3668 * paragraph_pimpl.C (validate): adjust
3670 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3672 * paragraph.C (Paragraph): adjust
3673 (getPositionOfInset): use const_iterator, adjust
3674 (bibitem): use const_iterator, adjust
3675 (setInsetOwner): adjust
3677 * iterators.C (operator++): adjust
3679 * InsetList.[Ch]: Replace selfmade iterator with standard
3680 vector::iterator also introduce const_iterator. Remove getPos,
3681 getInset and setInset from InsetTable. Adjust accordingly.
3683 * BufferView.C (lockInset): adjust
3684 (ChangeInsets): adjust
3686 * tabular.[Ch]: delete commented same_id functions
3688 2003-05-28 John Levon <levon@movementarian.org>
3690 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3692 2003-05-28 André Pönitz <poenitz@gmx.net>
3694 * metricsinfo.[Ch]: remove 'fullredraw' member
3696 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3698 * lyxtextclass.C (operator): remove caching.
3700 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * text2.C (cursorBottom): adjust
3705 (setCounter): use ParagraphList::find, adjust
3707 * text.C (workWidth): use ParagraphList::find, adjust
3709 * lyxcursor.C (LyXCursor): adjust
3711 * buffer.C (inset_iterator): adjust
3713 * ParagraphList.h: make iterator(value_type) private, make
3714 ParagraphList a friend of iterator.
3716 * ParagraphList.C (find): new function
3718 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3720 2003-05-27 André Pönitz <poenitz@gmx.net>
3722 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3724 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3726 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3728 2003-05-26 John Levon <levon@movementarian.org>
3730 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3732 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * remove same_id from function signatures, adjust.
3736 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3740 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3742 * paragraph.C (Paragraph): get rid of same_ids parameter
3744 * ParagraphList.C (insert): adjust
3747 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * paragraph_funcs.C (breakParagraph): adjust
3750 (breakParagraphConservative): adjust
3752 * buffer.C (readParagraph): adjust
3754 * ParagraphList.C (insert): take a reference instead of a pointer
3757 * paragraph.[Ch] (id): new function
3759 * bufferlist.C (newFile): adjust
3761 * ParagraphList.C (ParagraphList): adjust
3763 (push_back): take a reference instead of a pointer.
3765 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3767 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3770 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3771 set else use old code.
3773 * ParagraphList.C: remove all NO_NEXT code and only compile this
3774 code of NO_STD_LIST is set.
3776 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3778 * BufferView_pimpl.C:
3788 * graphics/GraphicsConverter.C:
3789 * graphics/PreviewLoader.C: header adjustment
3791 2003-05-23 Angus Leeming <leeming@lyx.org>
3793 * LaTeXFeatures.[Ch] (useBabel): new method.
3794 * bufferparams.C (writeLaTeX): use it.
3796 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * ParagraphList.h (set): remove unused function.
3800 2003-05-23 André Pönitz <poenitz@gmx.net>
3803 * BufferView_pimpl.C:
3807 * undo_funcs.C: setUndo reworked
3809 * iterators.[Ch]: add access to topmost ParagraphList
3811 * lyxtext.[Ch] (workWidth): add a const
3813 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3815 * texrow.[Ch] (increasePos): remove function
3816 * exporter.C (export): removed unused var and outdated comment
3818 2003-05-23 Angus Leeming <leeming@lyx.org>
3820 * latexrunparams.h: rename fragile as moving_arg.
3821 * paragraph.C (simpleTeXOnePar): ditto.
3822 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3824 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3828 (textUndoOrRedo): comment out a currently unused var.
3830 * paragraph.h (NO_NEXT): enable NO_NEXT
3832 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3834 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3836 * exporter.C (Export): adjust for removeAutoInsets removal.
3838 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3840 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3842 * BufferView.[Ch] (removeAutoInsets): delete function
3844 2003-05-22 Angus Leeming <leeming@lyx.org>
3846 * latexrunparams.h: add a free_spacing variable.
3848 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3849 to pass moving_arg, as the data is stored in runparams.fragile.
3851 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3852 to Inset::latexOptional or to simpleTeXOnePar.
3854 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3855 free_spacing arg to Inset::latexOptional.
3857 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3860 2003-05-22 Angus Leeming <leeming@lyx.org>
3862 * latexrunparams.h: add fragile and use_babel variables.
3864 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3865 * buffer.C (makeLaTeXFile): store this returned value in
3866 runparams.use_babel, thus passing it to the inset::latex methods.
3868 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3869 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3871 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3872 longer has a fragile arg, as it is stored in runparams.fragile.
3874 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3875 moving_arg parameter as the data is stored in runparams.fragile.
3877 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3878 a fragile parameter as the data is stored in runparams.fragile.
3880 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3884 2003-05-22 Angus Leeming <leeming@lyx.org>
3886 * latexrunparams.h: add a 'bool nice' which defaults to false.
3888 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3889 now encapsulated within runparams.
3891 * bufferlist.C (updateIncludedTeXfiles):
3892 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3894 2003-05-22 Angus Leeming <leeming@lyx.org>
3896 * latexrunparams.h: new file containing struct LatexRunParams.
3897 * Makefile.am: add new file.
3899 * LaTeX.[Ch] (c-tor, run):
3900 * buffer.[Ch] (makeLaTeXFile):
3901 * bufferlist.[Ch] (updateIncludedTeXfiles):
3902 * converter.C (convert, scanLog):
3903 * converter.[Ch] (runLaTeX):
3904 * exporter.C (Export):
3905 * paragraph.[Ch] (simpleTeXOnePar):
3906 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3907 * paragraph_funcs.[Ch] (latexParagraphs):
3908 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3909 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3910 pass around a LatexRunParams parameter.
3912 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * paragraph.[Ch]: remove unused constructor
3916 * ParagraphList.C (erase): new function, taking two iterators
3918 2003-05-22 André Pönitz <poenitz@gmx.net>
3920 * undo_funcs.C: remove duplicated code
3922 * iterator.[Ch]: operator=
3924 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * tabular.C (SetMultiColumn): ws changes
3928 * rowpainter.C (paintFirst): get rid of a ->previous
3930 * lyx_cb.C (getPossibleLabel): parlist simplification
3932 * BufferView.C (ChangeInsets): simplify slightly.
3934 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3936 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3937 * lfuns.h: new LFUN_SPACE
3938 * lyxfunc.C: protected space has a new lfun
3939 * paragraph_funcs.C: read new space insets
3941 * factory.C: handle new space insets
3943 2003-05-22 André Pönitz <poenitz@gmx.net>
3946 * BufferView_pimpl.C:
3949 * undo_funcs.C: return a ParIterator from getParFromID.
3951 * iterators.[Ch]: add two const's
3953 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * toc.C (getTocList): adjust
3957 * iterators.[Ch]: rework for parlist
3959 * buffer.C (par_iterator_begin): adjust
3960 (par_iterator_end): adjust
3962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3964 * BufferView.C (removeAutoInsets): adjust
3965 (ChangeInsets): adjust
3967 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3969 * text.C (top_y): fix bug 1110
3971 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3973 * errorlist.[Ch]: added
3976 * BufferView_pimpl.C:
3977 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3980 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * Makefile.am: ensure that lyx is relinked upon changes to the
3983 various "convenience" libs.
3985 2003-05-20 Angus Leeming <leeming@lyx.org>
3987 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3988 files are compiled in alphabetical order again.
3990 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3992 2003-05-19 Angus Leeming <leeming@lyx.org>
3994 * gettext.[Ch]: remove "char const * _(char const *)".
3996 2003-05-19 André Pönitz <poenitz@gmx.net>
3998 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4007 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4009 2003-05-19 André Pönitz <poenitz@gmx.net>
4013 * lyxtextclass.[Ch]:
4015 * paragraph_funcs.[Ch]:
4017 * text3.C: more insetenv work
4019 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4021 * ParagraphParameters.C (params2string): small bug fixed
4023 2003-05-16 André Pönitz <poenitz@gmx.net>
4026 * bufferview_funcs.C: patch from Kornel Benko to prevent
4027 crash when _(...) is called twice in a statement
4029 2003-05-16 André Pönitz <poenitz@gmx.net>
4036 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4038 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4040 * lyx_main.C (init): remove spurious static_cast
4042 2003-05-14 André Pönitz <poenitz@gmx.net>
4044 * BufferView.C: fix format string
4046 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4048 * BufferView.[Ch] (insertErrors): removed
4049 * BufferView.[Ch] (showErrorList): added
4050 * buffer.C (runChkTeX):
4051 * converter.C (scanLog): call showErrorList instead of inserterrors
4053 2003-05-13 André Pönitz <poenitz@gmx.net>
4055 * BufferView_pimpl.C:
4057 * bufferview_func.C:
4064 * tabular_funcs.h: tostr() from its own header
4066 * ParagraphParameters.C:
4071 * text3.C: STRCONV()
4073 2003-05-12 André Pönitz <poenitz@gmx.net>
4076 * BufferView_pimpl.C:
4080 * ParagraphParameters.C:
4084 * bufferview_funcs.C:
4097 * paragraph_funcs.C:
4101 * text3.C: boost::format -> bformat all over the place
4104 2003-05-09 André Pönitz <poenitz@gmx.net>
4106 * LColor.[Ch]: Pimpl the #include <map> away
4108 2003-05-09 John Levon <levon@movementarian.org>
4110 * bufferlist.C: never remove emergency saves
4112 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * Makefile.am: better lib building
4116 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4120 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4121 (simpleTeXSpecialChars): adjust
4122 (simpleTeXSpecialChars): adjust
4123 * paragraph.C (simpleTeXOnePar): adjust
4124 * buffer.C (makeLaTeXFile): adjust
4126 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4128 * text2.C (changeDepth): parlist cleanup
4129 (getColumnNearX): ditto
4131 * rowpainter.C (getLabelFont): parlist cleanup
4133 * bufferlist.C (newFile): parlist cleanup
4135 * CutAndPaste.C (eraseSelection): parlist cleanup
4137 * BufferView_pimpl.C (trackChanges): parlist cleanup
4140 * BufferView.C (lockInset): parlist cleanup.
4141 (ChangeInsets): ditto
4143 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * CutAndPaste.h: Update file header.
4147 * CutAndPaste.C: Update file header.
4148 Store the parts cut out of the Document in a limited_stack.
4149 (copySelection): adjust
4150 (pasteSelection): new function, takes the index in the limited stack.
4151 (nrOfParagraphs): adjust
4152 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4153 simplify error inset insertion.
4154 (checkPastePossible): adjust
4156 2003-05-06 John Levon <levon@movementarian.org>
4158 * text2.C: don't cast wrap inset to float
4160 2003-05-05 André Pönitz <poenitz@gmx.net>
4163 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4165 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4166 few naked Paragraph *.
4168 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4170 * bufferparams.C: Output warning if a document with missing
4171 TeX document class is loaded
4172 * exporter.C: Disable TeX exports if the document class is missing
4175 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4176 isTeXClassAvailable()
4178 2003-05-03 John Levon <levon@movementarian.org>
4181 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4182 explicit cursor show/hide
4184 * BufferView_pimpl.h:
4185 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4186 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4188 * lyxfunc.C: hide cursor before dispatching.
4193 * text3.C: remove explicit cursor hides
4195 2003-05-02 André Pönitz <poenitz@gmx.net>
4197 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4200 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4203 * text2.C: tiny whitespace
4205 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * undo_funcs.C: almost only ws changes.
4209 * ParagraphList.C (splice): just return if pl is empty.
4211 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4213 * ParagraphList.C (splice): new function.
4215 * CutAndPaste.C (pasteSelection): use it
4217 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * CutAndPaste.C (pasteSelection): remove the last next and
4220 previous from this file.
4222 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * CutAndPaste.C (pasteSelection): more clean up, user proper
4225 ParagraphList functions for pasteing.
4227 * ParagraphList.C (insert): new function, three arg insert
4229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * ParagraphList.C (insert): new function, three arg insert
4233 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4236 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4240 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4244 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4247 (copySelection): clean up a bit.
4248 (pasteSelection): use make_pair
4250 * ParagraphList.C (ParagraphList): implement copy constructor
4251 (operator=): implement, base on copy constructor.
4254 * paragraph.C (erase): return a bool
4256 * paragraph_pimpl.C (erasePos): remove function, move contents...
4257 (erase): ... here. Return a bool.
4258 (erase): call erase instead of erasePos.
4260 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4262 * ParagraphList.h: define PitPosPair
4263 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4264 ParagraphList, fix a bug on pasting multiple pars
4265 * text2.C: change interface to C&P
4267 2003-04-30 André Pönitz <poenitz@gmx.net>
4269 * undo_func.C: revert part of yesterday's patch 2
4271 2003-04-30 John Levon <levon@movementarian.org>
4273 * LColor.C: s/tabular/table/
4275 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * text3.C (dispatch): do not convert iterator -> pointer
4278 * undo_funcs.C (setCursorParUndo): ditto
4279 * text_funcs.C (transposeChars): ditto
4281 * text2.C (setLayout): ws changes only
4283 * text.C (breakParagraph): do not convert iterator -> pointer
4285 (acceptChange): ditto
4286 (rejectChange): ditto
4291 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4294 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4296 * text3.C (gotoInset): YABG (yet another bad getChar)
4298 2003-04-29 André Pönitz <poenitz@gmx.net>
4300 * paragraph.h: make operator= private unimplemented as long as
4303 * ParagraphList.C: whitespace
4306 * paragraph_pimpl.[Ch]:
4307 * paragraph_funcs.C:
4309 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4312 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4314 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4316 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4317 * paragraph.[Ch] (erase):
4318 * paragraph_pimpl.[Ch] (erase): change return type and value
4319 * text2.C (cutSelection): some rework
4321 2003-04-28 John Levon <levon@movementarian.org>
4323 * bufferlist.C: changes for unsaved changes dialog
4325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * bufferlist.C (newFile): set language (messages_) for new
4330 * buffer.C (readFile): ws changes only.
4332 2003-04-28 André Pönitz <poenitz@gmx.net>
4337 * BufferView_pimpl.C:
4338 * BufferView.C: getParFromID related ParagraphList::iterator changes
4340 2003-04-28 André Pönitz <poenitz@gmx.net>
4342 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4345 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * messages.C: remove one more localedir class variable.
4349 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * messages.C (getLocaleDir): singleton generation function
4353 (Messages): add a default constructor.
4355 * main.C (main): do not setup localedir here, do not call
4358 * gettext.C (_): use it.
4359 (gettext_init): delete funciton
4361 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * gettext.C (getLyXMessages): new singleton generating function.
4365 * buffer.C (updateDocLang): adjust
4367 * Makefile.am (messages.o): add target
4368 (main.o): remove target
4370 2003-04-27 John Levon <levon@movementarian.org>
4375 * lyxvc.C: specify cancel button in Alert::prompt
4377 2003-04-26 John Levon <levon@movementarian.org>
4382 * LyXAction.C: add LFUN_INSET_SETTINGS
4384 * lyxfunc.C: don't enable tabular-feature when there's
4385 just any locking inset
4387 2003-04-26 John Levon <levon@movementarian.org>
4389 * bufferlist.C: re-add Cancel to buffer close question
4391 * lyxfunc.C: fix import UI a bit
4393 2003-04-25 John Levon <levon@movementarian.org>
4395 * gettext.C: remove the broken asserts for now
4397 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * messages.C: make case where setlocale cannot comply work better.
4401 * buffer.C (updateDocLang): new function
4402 (changeLanguage): use it
4405 * text2.C (setCounter): use B_ a bit.
4407 * lyxlayout.C (Read): be sure to trim the label strings.
4409 * messages.C (Messages): fix typo in comment
4411 * buffer.C (readFile): set message_ after file is loaded.
4412 (makeDocBookFile): remove double return
4413 (changeLanguage): reset message_ upon language change.
4414 (B_): new func, use this to get translated buffer strings.
4416 * main.C: add myself and Jean Marc as authors.
4418 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * messages.[hC]: pimplify Messages, and three different pimpls to be
4421 used in different circumstances.
4423 * gettext.[Ch]: change for use with new message code.
4425 2003-04-24 André Pönitz <poenitz@gmx.net>
4427 * factory.C: support for eqref
4429 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * messages.[Ch]: add missing char
4433 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4435 * messages.[Ch]: New files
4437 2003-04-18 John Levon <levon@movementarian.org>
4441 * BufferView_pimpl.C:
4445 * text2.C: remove layout-copy/paste (bug 778)
4447 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4449 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4451 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4453 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4454 if they succeed. Act accordingly.
4456 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * text2.C (setCharFont): adjust
4459 (setCounter): adjust
4460 (insertStringAsLines): adjust
4462 * text.C (leftMargin): adjust
4463 (setHeightOfRow): adjust
4465 * rowpainter.C (paintFirst): adjust
4468 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4470 (isFirstInSequence): ditto
4471 (getEndLabel): ditto
4474 * paragraph.C (getParLanguage): comment out some hard stuff.
4476 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4478 (simpleDocBookOnePar): ditto
4479 (makeDocBookFile): use ParagraphList::iterator
4481 * CutAndPaste.C (pasteSelection): adjust
4483 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * text2.C (getFont): adjust
4486 (getLayoutFont): adjust
4487 (getLabelFont): adjust
4489 * paragraph_funcs.C (TeXOnePar): adjust
4491 * buffer.C (simpleLinuxDocOnePar): adjust
4492 (simpleDocBookOnePar): adjust
4494 * CutAndPaste.C (pasteSelection): adjust
4496 * BufferView.C (getEncoding): adjust
4498 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4500 2003-04-16 John Levon <levon@movementarian.org>
4502 * lyxfind.C: use parlist stuff for search/changes
4504 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4508 * text2.C (deleteEmptyParagraphMechanism): adjust
4510 * text2.[Ch] (ownerParagraph): delete func (both of them
4512 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * ParagraphList.C: prepare for NO_NEXT
4520 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * text2.C (getFont): adjust
4523 (getLayoutFont): adjust
4524 (getLabelFont): adjust
4526 * paragraph.C (getFont): adjust
4527 (getLabelFont): adjust
4528 (getLayoutFont): adjust
4530 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4532 2003-04-15 John Levon <levon@movementarian.org>
4536 * lyx_main.C: handle Include in .ui files
4538 2003-04-15 John Levon <levon@movementarian.org>
4540 * MenuBackend.C: make the doc files length shorter
4543 * ToolbarBackend.C: handle toolbar placement flags,
4546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4551 * paragraph_funcs.C (TeXOnePar): adjust
4553 * paragraph.C (getLabelFont): add outerfont arg, adjust
4554 (getLayoutFont): ditto
4555 (simpleTeXOnePar): adjust
4557 * paragraph_pimpl.C (realizeFont): delete func
4559 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4561 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4562 row argument, constify cur argument.
4564 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * text2.C (getFont): adjust
4567 (getLayoutFont): adjust
4568 (getLabelFont): adjust
4570 * paragraph_funcs.C (TeXOnePar): adjust
4571 (outerFont): new func...
4572 (realizeFont): ...moved out from here, changed this to facilitate
4575 * paragraph.C (getFont): take outerfont as arg, adjust
4576 (simpleTeXOnePar): add outerfont arg, adjust
4578 * buffer.C (simpleLinuxDocOnePar): adjust
4579 (simpleDocBookOnePar): adjust
4581 * CutAndPaste.C (pasteSelection): adjust
4583 * BufferView.C (getEncoding): adjust
4585 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * text2.C (setCharFont): adjust
4588 (setCounter): adjust
4590 * text.C (leftMargin): adjust
4591 (setHeightOfRow): adjust
4593 * rowpainter.C (paintFirst): adjust
4596 * paragraph_pimpl.C (realizeFont): adjust
4598 * paragraph.C (isFirstInSequence): move from here...
4599 * paragraph_funcs.C (isFirstInSequence): ...to here
4601 * paragraph.C (outerHook): move from here...
4602 * paragraph_funcs.C (outerHook): ...to here
4604 * paragraph.C (depthHook): move from here...
4605 * paragraph_funcs.C (depthHook): ...to here
4607 * paragraph.C (getEndLabel): move from here...
4608 * paragraph_funcs.C (getEndLabel): ...to here
4610 * text2.C (realizeFont): move from here...
4611 * paragraph_funcs.C (realizeFont): ...to here
4613 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4617 2003-04-14 Angus Leeming <leeming@lyx.org>
4619 * LColor.[Ch]: scrap LColor mathcursor.
4621 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * lyxlex.[Ch] (text): delete function
4624 * trans.C (Load): adjust
4625 * paragraph_funcs.C (readParToken): adjust
4627 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4630 vector<char> instead of a char[].
4632 * lyxlex_pimpl.C (getString): adjust
4634 (lex): use getString
4638 * lyxlex.C (text): use pimpl_->getString()
4642 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4645 (makeFontEntriesLayoutSpecific): temp var for par.size()
4646 (setLayout): temp var for ownerParagraphs().end()
4647 (fullRebreak): temp var for rows().end()
4648 (selectionAsString): temp var for boost::next(startpit), realize
4649 that the while really is a regular for loop.
4650 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4651 setCursor in one place.
4652 (setParagraph): temp vr for ownerParagraphs().end()
4653 (updateCounters): make the while loop a for loop
4654 (cutSelection): temp var for ownerParagraphs().end()
4655 (updateInset): make the do {} while() a regular for loop
4656 (getCursorX): use temp vars
4657 (setCurrentFont): use temp vars
4658 (getColumnNearX): use temp vars
4660 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * text.C (transformChar): use temp var for getChar
4663 (computeBidiTables): use temp var for row->par()
4664 (fill): move temp vars for row->par() and pit->layout() earlier in
4666 (labelFill): use temp var for row->par()
4667 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4668 asc and desc, realize that pit never changes and that firstpit is
4669 just a duplicate and not needed. Exchange rit->par() with pit in a
4671 (breakAgain): use a temp var for boost::next(rit)
4672 (breakAgainOneRow): ditto
4673 (breakParagraph): use a temp var for rows().begin()
4674 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4675 (cursorRightOneWord): use temp var for cursor.par() and
4676 cursor.pos(), remove usage of tmpcursor.
4677 (cursorLeftOneWord): use temp var for cursor.par() and
4678 cursor.pos() only set cur at end of function.
4680 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * text.C, text2.C: exchange all usage of Paragraph::next with
4683 boost::next(ParagraphList::iterator)
4685 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4687 * text2.C (cursorTop): simplify implementation
4688 (cursorBottom): ditto
4689 (setParagraph): use ParagraphList::iterator
4690 (setCurrentFont): adjust
4691 (getColumnNearX): adjust
4692 (cursorRight): adjust
4693 (cursorLeft): remove usage of Paragraph::previous
4694 (cursorUpParagraph): ditto
4695 (deleteEmptyParagraphMechanism): slight cleanup
4697 * text.C (isBoundary): take a Paragraph const & instead of a
4699 (addressBreakPoint): ditto
4700 (leftMargin): remove usage of Paragraph::previous.
4701 (setHeightOfRow): ditto
4702 (cursorLeftOneWord): ditto
4703 (selectNextWordToSpellcheck): ditto
4706 (breakParagraph): remove one usage of Paragraph::next
4707 (redoParagraph): ditto
4708 (acceptChange): ditto
4709 (insertChar): adjust
4710 (rowBreakPoint): adjust
4712 * bufferview_funcs.C (toggleAndShow): adjust
4714 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4716 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4717 methods to access it.
4719 * text.C: Added updateRowPositions to compute all row positions.
4720 Make top_y and getRowNearY() to use the cached y position
4722 2003-04-11 John Levon <levon@movementarian.org>
4724 * text.C (rowBreakPoint): reintroduce the labelEnd
4725 checks, code copied from the row fill stuff. Deep voodoo.
4727 * text.C (fill): add a comment and debugging for the
4730 2003-04-11 John Levon <levon@movementarian.org>
4732 * text.C: make sure fullrow insets get wrapped to the next line,
4733 even when they're in a manual label
4735 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * text2.C (insertParagraph): make it take ParagraphList::iterator
4739 (setLayout): make it return ParagraphList::iterator
4740 (redoParagraphs): ditto
4742 (checkParagraph): ditto
4744 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4746 * text2.C: adjust several funcs.
4747 (realizeFont): take a ParagraphList::iterator as arg.
4748 (getLayoutFont): ditto
4749 (getLabelFont): ditto
4750 (setCharFont): ditto
4752 * text.C: adjust several funcs.
4754 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4756 * text.C (selectNextWordToSpellcheck): don't accidentally
4759 2003-04-10 John Levon <levon@movementarian.org>
4761 * ToolbarBackend.C (getIcon): special handling for
4764 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4766 * text2.C (cursorRight): a getChar assert fixed
4768 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * text2.C (getFont): change to take a ParagraphList::iterator
4771 instead of Paragraph*
4772 Adjust several functions.
4774 * text.C (transformChar): change to take a ParagraphList::iterator
4775 instead of Paragraph*
4776 (singleWidth): ditto
4777 Adjust several functions.
4779 * rowpainter.C: adjust several functions
4780 * rowpainter.h:store a ParagraphList::iterator and not a
4784 2003-04-09 John Levon <levon@movementarian.org>
4789 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4790 and the "help" bits as well
4792 2003-04-09 John Levon <levon@movementarian.org>
4795 * ToolbarBackend.C: allow multiple toolbars
4797 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * undo_funcs.C (setCursorParUndo): adjust
4801 * text_funcs.C (transposeChars): adjust
4803 * text3.C (gotoNextInset): adjust
4806 * text2.C (setLayout): adjust
4807 (changeDepth): adjust
4809 (redoParagraphs): adjust
4810 (selectionAsString): adjust
4811 (setParagraph): adjust
4812 (insertInset): adjust
4813 (cutSelection): adjust
4814 (copySelection): adjust
4815 (pasteSelection): adjust
4816 (insertStringAsLines): adjust
4817 (updateInset): adjust
4818 (setCursor): change to take a ParagraphList::iterator parameter
4819 (setCursorIntern): change to take a ParagraphList::iterator parameter
4820 (setCurrentFont): adjust
4821 (cursorLeft): adjust
4822 (cursorRight): adjust
4823 (deleteEmptyParagraphMechanism): adjust
4825 * text.C (breakParagraph): adjust
4826 (insertChar): adjust
4827 (acceptChange): adjust
4828 (rejectChange): adjust
4829 (selectNextWordToSpellcheck): adjust
4830 (changeCase): adjust
4834 * lyxfind.C (SearchForward): adjust
4835 (SearchBackward): adjust
4836 (nextChange): adjust
4838 * lyxcursor.C (par): adjust
4840 * lyxcursor.h: store a ParagraphList::iterator instead of a
4843 * lyx_cb.C (getPossibleLabel): adjust
4845 * bufferview_funcs.C (toggleAndShow): adjust
4847 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4850 * BufferView.C (removeAutoInsets): adjust
4851 (lockedInsetStoreUndo): adjust
4853 2003-04-09 John Levon <levon@movementarian.org>
4855 * ToolbarBackend.C: try icon without argument
4856 if with argument fails
4858 2003-04-08 John Levon <levon@movementarian.org>
4861 * ToolbarBackend.C: add getIcon(), handle tooltip,
4862 and change from "Icon" to "Item".
4864 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4866 * BufferView.C (lockInset): another bad getchar crunched
4868 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4870 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4873 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4875 * lyxfind.C (searchForward, searchBackwards): bug 782
4877 2003-04-07 John Levon <levon@movementarian.org>
4879 * paragraph.C: remove dead comment
4881 * text.C: remove troublesome depth-fiddling code
4882 in leftMargin() and rightMargin() (bug 1017)
4884 * text.C: fix breaking of rows in nested lists
4887 * text2.C (updateCounters): fix up depth values
4890 2003-04-07 John Levon <levon@movementarian.org>
4892 * BufferView_pimpl.C: clear message when doc finishes resizing,
4893 and after a mouse event
4895 * lyxfunc.C: clear message after exiting inset
4897 2003-04-07 John Levon <levon@movementarian.org>
4899 * bufferview_funcs.C: show math status not outside
4900 status in the statusbar
4902 2003-04-07 John Levon <levon@movementarian.org>
4904 * lyxfunc.C: note status changed after a depth change
4906 2003-04-04 Angus Leeming <leeming@lyx.org>
4908 * LaTeX.h: move AuxInfo operator==, != out of line.
4909 Remove LaTeX virtual destructor; nothing derives from it.
4910 Move operator()() out of public area and rename it startscript().
4911 Change protected for private.
4913 2003-04-04 Angus Leeming <leeming@lyx.org>
4916 * text2.C: remove unneeded #includes.
4918 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4920 * text2.C (dEPM): fix the heigth of the next row
4922 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4924 * text.C: squashed an invalid getChar requester + some ws changes
4926 2003-04-03 John Levon <levon@movementarian.org>
4928 * bufferview_funcs.h:
4929 * bufferview_funcs.C:
4932 * text2.C: make getStatus work for the env depth lfuns
4934 2003-04-03 John Levon <levon@movementarian.org>
4936 * bufferview_funcs.h:
4937 * bufferview_funcs.C:
4940 * text2.C: parlistize decDepth(), by merging it with incDepth()
4942 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * lyxrow.h: store a ParagraphList::iterator instead of a
4945 Paragraph* and adjust other class functions to suit.
4947 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4950 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4952 * text2.C (setCursor): do not anchor to cursor row for the time being
4954 2003-04-02 John Levon <levon@movementarian.org>
4961 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4963 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * paragraph.h: make ParagraphList and ParagraphList::iterator
4966 friends of Paragraph.
4968 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4970 * ParagraphList.C: Use the private next_ and previous_ from
4973 2003-04-01 John Levon <levon@movementarian.org>
4977 * Makefile.am: rename, remove defaults gunk
4980 * MenuBackend.C: remove defaults gunk
4983 * Languages.C: remove defaults gunk
4986 * lyx_main.C: error out if files couldn't be found.
4988 2003-04-02 John Levon <levon@movementarian.org>
4990 * text2.C: make incDepth() use parlist
4992 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * undo_funcs.C (firstUndoParagraph): adjust
4996 * text3.C (gotoInset): adjust
4997 (dispatch): adjust, and rewrite loop.
4999 * text2.C (init): adjust, and rewrite loop.
5000 (redoParagraphs): adjust
5001 (updateInset): adjust, and rewrite loop.
5002 (deleteEmptyParagraphMechanism): adjust
5004 * tabular.C (LyXTabular): adjust
5005 (SetMultiColumn): adjust
5008 * lyxtext.[Ch] (ownerParagraph): delete function
5009 (ownerParagraphs): new function returns a ParagraphList.
5011 * BufferView.C (removeAutoInsets): adjust
5012 (insertErrors): adjust
5013 (setCursorFromRow): adjust
5015 2003-04-01 Angus Leeming <leeming@lyx.org>
5017 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5020 2003-04-02 John Levon <levon@movementarian.org>
5026 * text_funcs.C: make transposeChars a free function
5028 * lyxrow_funcs.C: remove wrong comment
5030 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * rowpainter.C: adjust
5038 * lyxrow_funcs. [Ch]: new files
5040 * lyxrow.[Ch]: remove next and previous pointers
5041 (next,previous): remove accessor functions
5042 (isParEnd): move to lyxrow_funcs
5043 (lastPos): move to lyxrow_funcs
5044 (nextRowIsAllInset): move to lyxrow_funcs
5045 (lastPrintablePos): move to lyxrow_funcs
5046 (numberOfSeparators): move to lyxrow_funcs
5047 (numberOfHfills): move to lyxrow_funcs
5048 (numberOfLabelHfills): move to lyxrow_funcs
5049 (hfillExpansion): move to lyxrow_funcs
5053 * bufferview_funcs.C (toggleAndShow): adjust
5055 * RowList.h: Remove class RowList from file leave just a
5058 * RowList.C: delete file
5060 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5063 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * text3.C (cursorPrevious): adjust
5066 (cursorNext): adjust
5069 * text2.C (redoHeightOfParagraph): adjust
5070 (redoDrawingOfParagraph): adjust
5073 * text.C (breakParagraph): adjust
5074 (insertChar): adjust
5077 * rowpainter.C (RowPainter): adjust
5078 (leftMargin): simplify and adjust
5079 (most rowpainter functions): adjust.
5081 * rowpainter.h: store the row as RowList::iterator not as Row*
5083 * lyxcursor.C (row): taka RowList::iterator as arg
5086 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5089 2003-04-01 Angus Leeming <leeming@lyx.org>
5091 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5092 stuff like bool Bool.
5094 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5096 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5099 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5104 * lyxtext.h (rows): drop one version and leve a const variant that
5105 returns a RowList::iterator.
5107 2003-03-31 Angus Leeming <leeming@lyx.org>
5109 * text.C (fill): ensure that the signature is the same as that in the
5112 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * text2.C (redoParagraphs): adjust
5115 (updateCounters): adjust
5116 (checkParagraph): adjust
5117 (getColumnNearX): adjust and reformat a bit.
5119 * text.C (top_y): adjust
5121 (leftMargin): adjust
5122 (prepareToPrint): adjust
5124 (getRowNearY): adjust
5126 * lyxtext.h: make rowlist_ mutable.
5128 * RowList.h: add const_iterator
5129 * RowList.C: adjust for RowList::const_iterator.
5131 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5134 2003-03-31 John Levon <levon@movementarian.org>
5137 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5139 * lyx_main.C: set default fonts from using lyx_gui funcs
5141 * exporter.C: pdf_mode moved from lyxrc
5144 * lyxfunc.C: changes from above
5146 2003-03-31 John Levon <levon@movementarian.org>
5148 * lyx_main.C: fix to the last fix
5150 2003-03-31 John Levon <levon@movementarian.org>
5152 * bufferlist.C: "Load original" -> "Load Original"
5158 * format.C: more Alert cleanups
5160 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * text2.C (removeParagraph): make it take a RowList::iterator as
5164 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5165 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5167 * text.C (anchor_row): make it take a RowList::iterator as arg,
5169 (computeBidiTables): make it take a const reference to Row instead
5170 of Row pointer, adjust.
5171 (leftMargin): make it take a RowList::iterator as arg, adjust.
5172 (rowBreakPoint): adjust
5173 (breakAgainOneRow): make it take a RowList::iterator as arg,
5175 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5177 * bufferview_funcs.C (toggleAndShow): adjust
5179 2003-03-30 John Levon <levon@movementarian.org>
5183 * boost-inst.C: moved to support
5185 * several files: changes as a result
5187 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * text2.C (LyXText): adjust.
5191 (removeRow): make it take a RowList::iterator as arg, adjust.
5192 (fullRebreak): adjust
5193 (deleteEmptyParagraphMechanism): adjust
5194 (clearPaint): adjust
5197 * text.C (top_y): adjust
5198 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5199 (breakAgain): make it take a RowList::iterator as arg, adjust.
5200 (breakParagraph): adjust
5201 (insertChar): adjust
5204 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5205 need_break_row, and refresh_row.
5207 * text3.C (dispatch): adjust
5209 * text2.C (checkParagraph): adjust
5211 (setCursorFromCoordinates): adjust
5213 * text.C (top_y): adjust
5215 (getRow): make it return a RowList::iterator, adjust
5216 (getRowNearY): make it return a RowList::iterator, adjust
5218 * text2.C (init): adjust
5219 (insertRow): remove function
5220 (insertParagraph): adjust
5221 (redoParagraphs): adjust
5222 (fullRebreak): adjust
5223 (updateCounters): adjust
5225 * text.C (top_y): rewrite to use RowList iterators.
5227 (setHeightOfRow): rewrite to sue RowList iterators.
5228 (appendParagraph): adjust
5229 (breakAgain): adjust
5230 (breakAgainOneRow): adjust
5231 (breakParagraph): adjust
5233 (getRowNearY): adjust, and remove commented code.
5235 * lyxtext.h (firstRow): delete function
5236 (lastRow): delete function
5237 (rows): new function (const and non-const versions.)
5238 (insertRow): delete function
5240 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5242 2003-03-29 John Levon <levon@movementarian.org>
5244 * BufferView_pimpl.C: always update scrollbar top
5245 because pasting text when we're anchored could mean we
5246 miss an update altogether
5248 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * text2.C (init): use rowlist_.end() and not 0.
5251 (insertRow): change to take a RowList::iterator as arg, adjust
5253 (insertParagraph): change to take a RowList::iterator as arg,
5255 (redoParagraphs): remove some debug msgs.
5257 * text.C (appendParagraph): change to take a RowList::iterator
5258 arg, adjust for this.
5259 (breakAgain): add an assert
5260 (breakAgainOneRow): ditto
5262 2003-03-29 John Levon <levon@movementarian.org>
5264 * text2.C: do not clear selection after inc/decDepth
5267 2003-03-29 John Levon <levon@movementarian.org>
5270 * buffer.C: fix broken strerrors according to Lars
5272 2003-03-29 John Levon <levon@movementarian.org>
5274 * converters.C: more Alert cleanups
5276 2003-03-29 John Levon <levon@movementarian.org>
5278 * bufferview_funcs.C: remove pointless Alert
5280 * buffer.C: fix confusing error message when
5281 a template is chmoded 000
5283 2003-03-29 John Levon <levon@movementarian.org>
5287 * BufferView_pimpl.C: Alert fixes
5291 * tabular-old.C: remove unused table compat reading
5293 2003-03-29 John Levon <levon@movementarian.org>
5298 * lyx_cb.C: more Alert cleanups
5300 * lyxfunc.C: don't allow chktex if not latex document
5302 2003-03-29 John Levon <levon@movementarian.org>
5306 * buffer.C: warnings pushed down from support/,
5309 2003-03-29 John Levon <levon@movementarian.org>
5311 * lyxfunc.C: safety check for C-r (revert)
5313 2003-03-29 John Levon <levon@movementarian.org>
5316 * bufferlist.C: several UI fixes using Alert::prompt.
5317 Fix the pointless looping quit code. Fix stupid revert
5322 * lyx_cb.C: use Alert::prompt
5324 * lyx_main.C: remove a silly question
5326 * lyxfunc.C: remove a couple of silly questions,
5329 2003-03-28 John Levon <levon@movementarian.org>
5331 * text2.C: fix bug 974 (End on empty par)
5333 2003-03-28 John Levon <levon@movementarian.org>
5335 * BufferView_pimpl.C:
5337 * lfuns.h: remove do-nothing math greek lfuns
5339 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * lyxgluelength.h (isValidGlueLength): add default arg on
5342 parameter 2. Remove default arg from friend in class.
5344 * lyxlength.h (isValidLength): add default arg on parameter 2.
5345 Remove default arg from friend in class.
5347 * text2.C (LyXText): adjust, initialize refresh_row.
5351 (insertParagraph): adjst
5352 (redoParagraphs): adjust
5353 (fullRebreak): adjust
5354 (updateCounters): adjust
5355 (deleteEmptyParagraphMechanism): first attempt at fixing a
5358 * text.C (top_y): adjust
5359 (setHeightOfRow): adjust
5361 (getRowNearY): adjust
5363 * lyxtext.h: include RowList.h
5364 (~LyXText): not needed anymore, deleted.
5365 (firstRow): modify for RowList
5366 (lastRow): new function
5367 Delete firstrow and lastrow class variables, add a Rowlist
5368 rowlist_ class variable.
5370 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5373 * RowList.C (insert): fix case where it == begin().
5375 2003-03-26 Angus Leeming <leeming@lyx.org>
5377 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5378 the thesaurus dialog.
5380 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5384 * RowList.[Ch]: new files
5386 * ParagraphList.C (erase): handle the case where it == begin
5389 2003-03-25 John Levon <levon@movementarian.org>
5393 * aspell.C: add new aspell support
5396 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5399 2003-03-25 Angus Leeming <leeming@lyx.org>
5402 * LyXAction.C (init): new LFUN_INSET_INSERT.
5404 * BufferView_pimpl.C (dispatch): split out part of the
5405 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5407 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5410 2003-03-25 Angus Leeming <leeming@lyx.org>
5412 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5414 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5417 * text3.C: remove useless row->height(0)
5419 2003-03-25 John Levon <levon@movementarian.org>
5423 * text3.C: rename the refreshing stuff to better names
5425 2003-03-24 John Levon <levon@movementarian.org>
5427 * BufferView_pimpl.h:
5428 * BufferView_pimpl.C: update layout choice on a mouse
5431 2003-03-23 John Levon <levon@movementarian.org>
5433 * Makefile.am: fix commandtags.h reference
5435 2003-03-22 John Levon <levon@movementarian.org>
5437 * BufferView_pimpl.C:
5442 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5444 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5447 * text.C: take the rtl methods out of line
5449 2003-03-21 André Pönitz <poenitz@gmx.net>
5451 * metricsinfo.[Ch]: new files containing structures to be passed around
5452 during the two-phase-drawing...
5454 2003-03-21 André Pönitz <poenitz@gmx.net>
5456 * lyxtextclass.C: read 'environment' tag.
5458 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5460 * text2.C (removeRow): fix bug 964
5462 2003-03-20 John Levon <levon@movementarian.org>
5466 * text2.C: paint cleanups. Inset::update() dropped font
5469 2003-03-19 John Levon <levon@movementarian.org>
5471 * lyxfunc.C: only fitcursor/markDirty if available()
5473 2003-03-19 John Levon <levon@movementarian.org>
5475 * commandtags.h: rename to ...
5477 * lfuns.h: ... this, and renumber / cleanup
5479 2003-03-19 John Levon <levon@movementarian.org>
5481 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5482 fit the cursor after an lfun
5486 * BufferView_pimpl.h:
5487 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5489 * LyXAction.C: layout-character should have ReadOnly
5491 * ParagraphParameters.C:
5493 * bufferview_funcs.C:
5500 * undo_funcs.C: changes from above
5502 2003-03-18 John Levon <levon@movementarian.org>
5504 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5505 remove it from update()
5507 * lyxfunc.C: update layout choice after an lfun
5509 * text3.C: remove extra updateLayoutChoice()s
5511 2003-03-18 John Levon <levon@movementarian.org>
5513 * text.C: top_y change means full repaint, fix
5514 a drawing bug with cursor movement
5516 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5520 * text2.C: anchor row on setCursor
5522 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5524 * lyxtext.h: remove almost all mutable keywords
5527 * text3.C: remove const keywords accordingly
5529 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5533 (TeXEnvironment): ditto
5536 2003-03-17 John Levon <levon@movementarian.org>
5538 * text.C (rowBreakPoint): remove attempt to fix displayed
5539 math insets inside a manual label
5541 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * lyxtext.h: remove BufferView* as first arg from almost all class
5545 * other files: adjust.
5547 2003-03-17 John Levon <levon@movementarian.org>
5551 * text2.C: more paint cleanups
5553 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5556 * rowpainter.C: remove "smart" background painting code
5558 2003-03-16 John Levon <levon@movementarian.org>
5563 * text3.C: add helper functions for setting refresh_row/y
5565 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5567 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5568 newline inset which *can* get inserted in the pass_thru layouts.
5569 This is primarily for literate documents.
5571 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5573 * buffer.C: increment LYX_FORMAT to 223
5575 2003-03-14 André Pönitz <poenitz@gmx.net>
5577 * textclass.h: prepare for environment handling, ws changes
5578 * lyxlayout.C: read latexheader and latexfooter tags
5580 2003-03-14 John Levon <levon@movementarian.org>
5582 * text2.C: rewrite ::status() a bit
5584 2003-03-13 John Levon <levon@movementarian.org>
5586 * lyxtext.h: add some docs
5588 2003-03-13 John Levon <levon@movementarian.org>
5593 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5595 2003-03-13 John Levon <levon@movementarian.org>
5597 * text3.C: fix appendix redrawing
5599 2003-03-13 John Levon <levon@movementarian.org>
5601 * text.C (setHeightOfRow):
5603 * rowpainter.C: make appendix mark have the text
5604 "Appendix" so the user knows what it is
5607 * LColor.C: s/appendixline/appendix/ from above
5609 2003-03-13 John Levon <levon@movementarian.org>
5611 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5613 * text.C: fix a getChar(pos) bug properly
5615 2003-03-13 Angus Leeming <leeming@lyx.org>
5618 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5619 Probably only temporary. Let's see how things pan out.
5621 * BufferView.C (unlockInset):
5622 * BufferView_pimpl.C (fitCursor):
5623 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5625 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5626 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5628 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5629 new functions that convert ParagraphParameters to and from a string.
5631 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5632 BufferView::Pimpl's dispatch.
5633 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5635 2003-03-13 André Pönitz <poenitz@gmx.net>
5639 * factory.C: make it aware of InsetEnv
5641 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * text2.C (setCursor): never ask for one past last
5644 (setCursor): add some debugging messages.
5646 * text.C (singleWidth): never ask for one past last
5647 (singleWidth): ditto
5649 (rightMargin): ditto
5650 (rowBreakPoint): ditto
5651 (setHeightOfRow): ditto
5652 (prepareToPrint): ditto
5654 * rowpainter.C (paintBackground): never ask for one past last
5655 (paintText): never ask for one past last
5657 * paragraph_pimpl.C (getChar): make the assert stricter, never
5658 allow the one past last pos to be taken
5660 * paragraph.C (getChar): ws changes only
5662 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5663 (numberOfSeparators): ditto
5664 (numberOfHfills): ditto
5666 2003-03-12 John Levon <levon@movementarian.org>
5672 * paragraph_funcs.C: fix per-buffer authorlists
5674 2003-03-12 John Levon <levon@movementarian.org>
5676 * text.C: fix newline in right address
5678 2003-03-12 Angus Leeming <leeming@lyx.org>
5680 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5681 duplicate those in LyXFunc::dispatch.
5685 * ToolbarDefaults.C:
5686 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5687 Add LFUN_FONTFREE_UPDATE.
5689 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5690 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5692 * bufferview_func.[Ch]: several new functions to facilliate
5693 transfer of data to and from the character dialog.
5695 2003-03-12 John Levon <levon@movementarian.org>
5700 * paragraph_funcs.C:
5701 * paragraph_pimpl.C:
5705 * text3.C: remove META_NEWLINE in favour of an inset
5708 * rowpainter.C: remove paintNewline (done by inset)
5710 2003-03-12 John Levon <levon@movementarian.org>
5712 * paragraph_pimpl.C: complain about bad getChar()s
5713 for a while at least
5715 2003-03-12 John Levon <levon@movementarian.org>
5718 * buffer.C: move paragraph read into a separate function,
5719 a little renaming to reflect that.
5722 * bufferparams.C: remove the author_ids map, not necessary now
5725 * factory.C: moved Buffer::readInset to here
5727 * paragraph_funcs.h:
5728 * paragraph_funcs.C: readParagraph free function moved from
5731 * tabular.C: name change
5733 2003-03-12 John Levon <levon@movementarian.org>
5736 * ParagraphParameters.C: move par params input to
5739 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5740 behave like a normal read from the stream wrt reading
5741 a line vs. a \\token
5743 2003-03-12 John Levon <levon@movementarian.org>
5746 * ParagraphParameters.h:
5747 * ParagraphParameters.C: move output code to a
5750 2003-03-12 John Levon <levon@movementarian.org>
5752 * BufferView.C (insertLyXFile):
5755 * tabular.C: use a parlist iterator for creating the
5758 2003-03-12 John Levon <levon@movementarian.org>
5760 * buffer.C: make current_change static local not
5763 2003-03-12 John Levon <levon@movementarian.org>
5765 * buffer.C: fix insertStringAsLines for change tracking
5767 2003-03-12 John Levon <levon@movementarian.org>
5774 * bufferparams.C: move author list into params. Rename some
5775 functions. Move the header reading into a separate token
5776 loop. Move the header token reading into BufferParams.
5778 2003-03-12 John Levon <levon@movementarian.org>
5780 * changes.C: put debug inside lyxerr.debugging() checks
5782 2003-03-11 André Pönitz <poenitz@gmx.net>
5784 * factory.C: make it aware of InsetHFill
5786 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * buffer.C (latexParagraphs): move function from here...
5789 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5792 2003-03-10 Angus Leeming <leeming@lyx.org>
5794 * LyXAction.C (init): fix bug in poplating array with multiple entries
5795 with the same LFUN (spotted by JMarc).
5797 2003-03-10 John Levon <levon@movementarian.org>
5800 * text2.C: move getColumnNearX() near its
5803 2003-03-10 John Levon <levon@movementarian.org>
5805 * text.C: fix break before a minipage
5807 2003-03-10 John Levon <levon@movementarian.org>
5809 * text.C: fix the last commit
5811 2003-03-09 John Levon <levon@movementarian.org>
5815 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5816 bug 365 (don't break before insets unless needed). Don't
5817 return a value > last under any circumstances.
5819 2003-03-09 Angus Leeming <leeming@lyx.org>
5821 * BufferView_pimpl.C (trackChanges, dispatch): call
5822 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5824 2003-03-09 Angus Leeming <leeming@lyx.org>
5826 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5827 than Dialogs::showAboutlyx().
5829 2003-03-09 Angus Leeming <leeming@lyx.org>
5831 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5832 than Dialogs::showTabularCreate().
5834 2003-03-09 John Levon <levon@movementarian.org>
5838 * text2.C: 3rd arg to nextBreakPoint was always the same.
5841 2003-03-08 John Levon <levon@movementarian.org>
5848 * text2.C: Remove the "main" bit from the "main body"
5851 2003-03-08 John Levon <levon@movementarian.org>
5853 * text.C (leftMargin): The left margin of an empty
5854 manual label paragraph should not include the label width
5857 * text.C (prepareToPrint): don't attempt to measure hfills
5858 for empty manual label paragraphs - the answer should be 0
5860 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * CutAndPaste.C: remove commented code and reindent.
5864 2003-03-08 John Levon <levon@movementarian.org>
5867 * lyxfunc.C: move reloadBuffer()
5870 * BufferView.C: to here
5872 * lyxvc.C: add comment
5875 * vc-backend.C: call bv->reload() to avoid
5876 getStatus() check on MENURELOAD
5878 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5880 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5881 to an old format .dep file.
5883 2003-03-07 Angus Leeming <leeming@lyx.org>
5885 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5886 when the LFUN_MOUSE_RELEASE should have been handled by
5887 inset->localDispatch.
5889 2003-03-07 Angus Leeming <leeming@lyx.org>
5891 * BufferView_pimpl.C (dispatch):
5892 * LyXAction.C (init):
5893 * ToolbarDefaults.C (init):
5895 * lyxfunc.C (getStatus):
5896 remove LFUN_INSET_GRAPHICS.
5898 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5900 2003-03-07 Angus Leeming <leeming@lyx.org>
5903 * LyXAction.C (init):
5904 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5906 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5909 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5911 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5912 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5914 2003-03-07 Angus Leeming <leeming@lyx.org>
5916 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5919 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * ParagraphList.C (front): new function
5924 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5926 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5927 and top_row_offset_. removed var first_y.
5929 * text2.C (LyXText, removeRow):
5931 * BufferView_pimpl.C:
5932 use these methods instead of using first_y
5934 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * text2.C (pasteSelection): adjust for checkPastePossible
5938 * CutAndPaste.C: remove Paragraph * buf and replace with
5939 ParagraphList paragraphs.
5940 (DeleteBuffer): delete
5941 (cutSelection): change the tc type to textclass_type
5942 (copySelection): change the tc type to textclass_type
5943 (copySelection): adjust for ParagraphList
5944 (pasteSelection): change the tc type to textclass_type
5945 (pasteSelection): adjust for Paragraphlist
5946 (nrOfParagraphs): simplify for ParagraphList
5947 (checkPastePossible): simplify for ParagraphList
5948 (checkPastePossible): remove unused arg
5950 * ParagraphList.C (insert): handle the case where there are no
5953 * CutAndPaste.h: make CutAndPaste a namespace.
5955 * text3.C (dispatch): adjust
5957 * text.C (breakParagraph): add a ParagraphList as arg
5959 * paragraph_funcs.C (breakParagraph): change to take a
5960 BufferParams and a ParagraphList as args.
5961 (breakParagraphConservative): ditto
5962 (mergeParagraph): ditto
5963 (TeXDeeper): add a ParagraphList arg
5964 (TeXEnvironment): ditto
5967 * buffer.C (readLyXformat2): adjust
5968 (insertStringAsLines): adjust
5969 (latexParagraphs): adjust
5971 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5972 (cutSelection): adjust
5973 (pasteSelection): adjust
5975 * BufferView_pimpl.C (insertInset): adjust
5977 2003-03-05 Angus Leeming <leeming@lyx.org>
5980 * LyXAction.C (init):
5981 * BufferView_pimpl.C (dispatch):
5982 * lyxfunc.C (getStatus):
5983 remove LFUN_CHILD_INSERT.
5985 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5987 2003-03-05 Angus Leeming <leeming@lyx.org>
5990 * LyXAction.C (init):
5991 * src/factory.C (createInset):
5992 * lyxfunc.C (getStatus):
5993 * text3.C (dispatch):
5994 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5996 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5998 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * ParagraphList.C (insert): handle insert right before end()
6001 (erase): fix cases where it can be first or last paragraph.
6003 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6006 Paragraph::next and Paragraph::previous
6009 * text.C (breakParagraph): adjust
6011 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6012 BufferParams& as arg.
6013 (breakParagraph): use ParagraphList::insert
6014 (breakParagraphConservative): take a Buffer* instead of a
6015 BufferParams& as arg.
6016 (breakParagraphConservative): use ParagraphList::insert.
6018 * buffer.C (insertStringAsLines): un-const it
6019 (insertStringAsLines): adjust
6021 * ParagraphList.C (insert): new function
6023 * CutAndPaste.C (pasteSelection): adjust
6025 * text.C (backspace): adjust
6027 * tabular.C (SetMultiColumn): adjust
6029 * CutAndPaste.C (cutSelection): adjust
6030 (pasteSelection): adjust
6032 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6033 Buffer const * as arg
6035 * ParagraphList.C (erase): new function
6036 * paragraph_funcs.C (mergeParagraph): use it
6037 (mergeParagraph): make it take a Buffer* instead of a
6038 BufferParams* as arg
6040 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6042 (breakParagraphConservative): ditto
6044 * paragraph.h: remove the breakParagraph friend
6046 * paragraph.C (eraseIntern): new function
6047 (setChange): new function
6049 * paragraph_funcs.C (mergeParagraph): make it take a
6050 ParagraphList::iterator instead of a Paragraph *, adjust
6053 * paragraph.h: move an #endif so that the change tracking stuff
6054 also works in the NO_NEXT case.
6056 2003-03-04 Angus Leeming <leeming@lyx.org>
6059 * LyXAction.C: new LFUN_INSET_MODIFY.
6061 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6062 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6064 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * several files: ws changes only
6068 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6069 (TeXEnvironment): ditto
6072 * buffer.C (makeLaTeXFile): adjust
6073 (latexParagraphs): make it take ParagraphList::iterator as args
6075 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * buffer.C (latexParagraphs): adjust
6079 * paragraph.C (TeXOnePar): move function...
6080 (optArgInset): move function...
6081 (TeXEnvironment): move function...
6082 * paragraph_pimpl.C (TeXDeeper): move function...
6083 * paragraph_funcs.C: ...here
6085 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6087 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * buffer.C (readInset): remove compability code for old Figure and
6092 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6094 * buffer.C: ws changes
6097 * BufferView_pimpl.C: ditto
6100 * bufferlist.h: ditto
6104 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6106 * converter.[Ch]: split into itself +
6109 * Makefile.am: += graph.[Ch] + format.[Ch]
6116 * lyxrc.C: added #include "format.h"
6118 2003-02-27 Angus Leeming <leeming@lyx.org>
6120 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6123 * factory.C (createInset): add "label" to the factory.
6125 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6126 string and do no more.
6128 2003-02-27 Angus Leeming <leeming@lyx.org>
6131 * LyXAction.C (init):
6132 * factory.C (createInset):
6133 * BufferView_pimpl.C (dispatch):
6134 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6136 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6138 * lyxfunc.C (dispatch):
6139 * text3.C (dispatch): pass name to params2string.
6141 2003-02-26 Angus Leeming <leeming@lyx.org>
6143 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6145 Rearrange the ~includes. Strip out the unnecessary ones.
6147 * factory.C (createInset): reformat.
6148 create new insets for the various LFUN_XYZ_APPLY lfuns.
6150 2003-02-26 John Levon <levon@movementarian.org>
6153 * lyxrow.C: add isParStart,isParEnd helpers
6155 * paragraph.h: make isInserted/DeletedText take refs
6157 * paragraph_funcs.h:
6158 * paragraph_funcs.C: remove #if 0'd code
6163 * text.C: use lyxrow helpers above.
6164 Move draw and paint routines to RowPainter.
6165 Make several methods use refs not pointers.
6166 Make backgroundColor() const.
6167 Add markChangeInDraw(), isInInset().
6168 Merge changeRegionCase into changeCase.
6169 Make workWidth() shouldn't-happen code into an Assert.
6172 * rowpainter.C: new class for painting a row.
6175 * vspace.C: make inPixels take a ref
6177 2003-02-26 Angus Leeming <leeming@lyx.org>
6179 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6182 2003-02-25 John Levon <levon@movementarian.org>
6184 * ispell.C: give the forked command a more accurate name
6186 2003-02-22 John Levon <levon@movementarian.org>
6189 * toc.C: make TocItem store an id not a Paragraph *
6192 2003-02-21 Angus Leeming <leeming@lyx.org>
6194 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6195 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6196 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6197 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6198 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6199 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6201 * BufferView_pimpl.C (dispatch):
6202 * LyXAction.C (init):
6203 * factory.C (createInset):
6204 * lyxfunc.C (getStatus, dispatch):
6205 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6207 2003-02-21 Angus Leeming <leeming@lyx.org>
6209 * BufferView_pimpl.C (MenuInsertLyXFile):
6210 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6211 * lyxfunc.C (menuNew, open, doImport):
6212 no longer pass a LyXView & to fileDlg.
6214 2003-02-21 Angus Leeming <leeming@lyx.org>
6216 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6217 * LyXAction.C: change, BIBKEY to BIBITEM.
6218 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6219 Change InsetBibKey to InsetBibitem.
6220 Change BIBKEY_CODE to BIBITEM_CODE.
6221 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6222 * factory.C: replace insetbib.h with insetbibitem.h.
6223 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6224 * paragraph.C: replace insetbib.h with insetbibitem.h.
6225 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6226 Change bibkey() to bibitem().
6227 * text.C: remove insetbib.h.
6228 * text2.C: replace insetbib.h with insetbibitem.h.
6229 change bibkey() to bibitem().
6230 * text3.C: remove insetbib.h.
6231 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6233 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6235 * lyxrc.C (output): enclose user email in quotes (in case there are
6238 2003-02-18 John Levon <levon@movementarian.org>
6240 * buffer.h: add std::
6242 2003-02-17 John Levon <levon@movementarian.org>
6248 * pspell.C: reworking. Especially in ispell, a large
6249 number of clean ups and bug fixes.
6251 * lyxfunc.C: fix revert to behave sensibly
6253 2003-02-17 André Pönitz <poenitz@gmx.net>
6256 * commandtags.h: new LFUN_INSERT_BIBKEY
6266 * paragraph_func.C: remove special bibkey handling
6268 2003-02-17 John Levon <levon@movementarian.org>
6270 * text.C (Delete): fix case where delete at the end of
6271 the very first paragraph would not merge the pars
6273 2003-02-17 John Levon <levon@movementarian.org>
6275 * lyxrow.C: fix lastPrintablePos()
6277 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6279 * bufferparams.C (writeLaTeX): add a std:here
6281 * buffer.C: and remove a using directive there
6283 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6285 * buffer.C (makeLaTeXFile): move the code that generates the
6288 * bufferparams.C (writeLaTeX): ... in this new method
6290 * LaTeXFeatures.C (getEncodingSet): make const
6291 (getLanguages): make const
6293 * MenuBackend.C (binding): returns the binding associated to this
6295 (add): sets the status of each item by calling getStatus. Adds
6297 (read): add support for OptSubMenu
6298 (expand): remove extra separator at the end of expanded menu
6300 2003-02-15 John Levon <levon@movementarian.org>
6303 * BufferView_pimpl.C:
6305 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6306 inset code that had no actual effect. Remove unneeded status
6309 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6311 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6314 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6316 * text.C (drawLengthMarker): also draw an arrow marker for
6317 symbolic lengths (medskip...)
6319 2003-02-14 John Levon <levon@movementarian.org>
6322 * tabular.C: better method names
6324 2003-02-14 John Levon <levon@movementarian.org>
6326 * BufferView_pimpl.C:
6331 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6332 it's a more accurate name. Remove some pointless uses.
6334 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6336 * text2.C (LyXText): change order of initilizers to shut off
6339 2003-02-14 John Levon <levon@movementarian.org>
6341 * buffer.C: use ParIterator for getParFromID()
6345 * paragraph_pimpl.h:
6346 * paragraph_pimpl.C: remove unused getParFromID()
6348 2003-02-14 John Levon <levon@movementarian.org>
6350 * buffer.C: remove some very old #if 0'd parse code
6352 2003-02-13 John Levon <levon@movementarian.org>
6356 * text2.C: move hfillExpansion(), numberOfSeparators(),
6357 rowLast(), rowLastPrintable(), numberofHfills(),
6358 numberOfLabelHfills() ...
6361 * lyxrow.C: ... to member functions here.
6366 * text.C: remove LyXText::beginningOfMainBody(), and call
6367 p->beginningOfMainBody() directly. Move the check for
6368 LABEL_MANUAL into the latter.
6375 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6381 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6382 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6384 2003-02-13 John Levon <levon@movementarian.org>
6386 * CutAndPaste.C: remove debug
6388 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6390 * paragraph.C (asString): remove two unused variables
6392 * lyxtextclass.C (readTitleType):
6394 (LyXTextClass): handle new members titletype_ and titlename_
6396 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6398 2003-02-09 John Levon <levon@movementarian.org>
6401 * buffer.C: replace hand-coded list with a map for the dep clean
6403 2003-02-08 John Levon <levon@movementarian.org>
6405 * LaTeX.C: consolidate code into showRunMessage() helper
6407 2003-02-08 John Levon <levon@movementarian.org>
6412 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6413 and pass the size in explicitly
6415 * BufferView_pimpl.h:
6416 * BufferView_pimpl.C:
6418 * BufferView.C: add getCurrentChange()
6420 * BufferView_pimpl.h:
6421 * BufferView_pimpl.C: handle change lfuns
6423 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6424 for changes. Mark pasted paragraphs as new.
6426 * support/lyxtime.h:
6427 * support/lyxtime.C:
6428 * DepTable.C: abstract time_t as lyx::time_type
6431 * LColor.C: add colours for new text, deleted text, changebars
6433 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6434 package use "usenames" option.
6438 * LyXAction.C: add change lfuns
6442 * author.C: author handling
6445 * buffer.C: add a per-buffer author list, with first entry as
6446 current author. Handle new .lyx tokens for change tracking. Output
6447 author list to .lyx file. Output dvipost stuff to .tex preamble.
6448 Bump lyx format to 222.
6451 * bufferlist.C: add setCurrentAuthor() to reset current author details
6455 * bufferparams.C: add param for tracking
6457 * bufferview_funcs.C: output change info in minibuffer
6461 * changes.C: add change-tracking structure
6464 * debug.C: add CHANGES debug flag
6467 * lyxfind.C: add code for finding the next change piece
6470 * lyxrc.C: add user_name and user_email
6473 * lyxrow.C: add a metric for the top of the text line
6476 * text.C: implement accept/rejectChange()
6479 * text.C: paint changebars. Paint new/deleted text in the chosen
6480 colours. Strike through deleted text.
6484 * paragraph_pimpl.h:
6485 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6486 in the current change to the insert functions. Rework erase to
6487 mark text as deleted, adding an eraseIntern() and a range-based
6488 erase(). Implement per-paragraph change lookup and
6491 * paragraph_funcs.C: Fixup paste for change tracking.
6493 * tabular.C: mark added row/columns as new.
6495 * text.C: fix rowLast() to never return -1. Don't allow
6496 spellchecking of deleted text. Track transpose changes. Don't
6497 allow paragraph break or merge where appropriate.
6499 * text2.C: leave cursor at end of selection after a cut.
6501 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * text.C (getLengthMarkerHeight):
6504 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6505 visible on screen too.
6507 2003-02-07 John Levon <levon@movementarian.org>
6509 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6511 2003-02-05 Angus Leeming <leeming@lyx.org>
6513 * lyxserver.C (read_ready): revert my patch of 11 September last year
6514 as it sends PC cpu through the roof. Presumably this means that
6515 the lyxserver will no longer run on an Alpha...
6517 2003-01-30 Angus Leeming <leeming@lyx.org>
6519 * factory.C (createInset): create an InsetCommandParam of type "index"
6520 and use it to 'do the right thing'.
6522 * text2.C (getStringToIndex): ensure that cursor position is always
6523 reset to the reset_cursor position.
6525 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6527 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6530 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6534 * lyxfunc.C: Output messages with identical spelling, punctuation,
6537 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6539 * MenuBackend.C (expandFormats): List only viewable export formats
6542 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6545 * lyxfunc.C (getStatus): Make sure that formats other than
6546 "fax" can also be disabled
6548 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6550 * text3.C (dispatch): put the lfuns that insert insets in 3
6551 groups, and call doInsertInset with appropriate arguments.
6552 (doInsertInset): new function, that creates an inset and inserts
6553 it according to some boolean parameters.
6555 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * buffer.C (readFile): remember to pass on 'par' when calling
6558 readFile recursively.
6560 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * MenuBackend.C (expandFormats): add "..." to import formats.
6564 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6566 * paragraph.C (asString): Remove XForms RTL hacks.
6568 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6569 * buffer.C: fix typo
6571 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * Makefile.am (LIBS): delete var
6574 (lyx_LDADD): add @LIBS@ here instead.
6576 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6578 * Clarify the meaning of "wheel mouse jump"
6580 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6582 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6585 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6587 * importer.C (Loaders): do not preallocate 3 elements in the
6588 vector, since one ends up with 6 elements otherwise
6590 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6592 * DepTable.C (write): write the file name as last element of the
6593 .dep file (because it may contain spaces)
6594 (read): read info in the right order
6596 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6598 * paragraph_pimpl.C (simpleTeXBlanks):
6599 (simpleTeXSpecialChars):
6600 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6602 * tabular.C (latex): add some missing case statements. Reindent.
6604 * MenuBackend.C (expandToc): remove unused variable.
6606 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6615 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6618 2003-01-05 John Levon <levon@movementarian.org>
6621 * BufferView.C: add getEncoding()
6624 * kbsequence.C: do not store last keypress
6627 * lyxfunc.C: store last keypress here instead. Pass encoding
6630 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * lyx_main.C (init): remove annoying error message when following
6633 symbolic links (bug #780)
6635 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6637 * text.C (insertChar):
6638 * lyxrc.C (getDescription): remove extra spaces
6640 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6642 * lyxrc.C (getDescription): remove extra spaces
6644 2002-12-20 John Levon <levon@movementarian.org>
6646 * text3.C: hack fix for page up/down across tall rows
6648 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6650 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6653 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6655 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6656 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6657 thesaurus is not compiled in
6659 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6661 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6663 2002-12-16 Angus Leeming <leeming@lyx.org>
6666 * lyx_main.C (init): remove override_x_deadkeys stuff.
6668 2002-12-12 John Levon <levon@movementarian.org>
6670 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6671 insert. Only remove shift modifier under strict
6674 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * MenuBackend.C (expandToc): fix crash.
6678 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * MenuBackend.C (expandToc): gettext on float names.
6682 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6684 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6685 implement bool empty() [bug 490]
6687 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6691 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * several files: ws changes
6695 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6697 * text2.C (setCounter): clean up a bit, use boost.format.
6698 (updateCounters): initialize par upon declaration.
6700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6701 if the layout exists. We do not just store the layout any more.
6702 (SwitchLayoutsBetweenClasses): use boost.format
6704 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * converter.C (convert): if from and to files are the same, use a
6707 temporary files as intermediary
6709 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6712 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6714 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6716 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6718 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6720 * tabular.C (asciiPrintCell): use string(size, char) instead of
6723 * sgml.C (openTag): fix order of arguments to string constructor
6726 * lyxfunc.C (dispatch): use boost.format
6728 * lots of files: change "c" -> 'c'
6730 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6732 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6734 2002-11-25 Angus Leeming <leeming@lyx.org>
6736 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6738 * lyx_main.C (init): compile fix.
6740 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * lyx_cb.C (start): boost.formatify
6743 do not include <iostream>
6745 * lengthcommon.C: ws only
6747 * boost-inst.C,BoostFormat.h: add more explict instantations
6749 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * lots of files: handle USE_BOOST_FORMAT
6753 2002-11-21 John Levon <levon@movementarian.org>
6755 * pspell.C: fix compile
6757 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6759 * lyxfunc.C (dispatch): use boost::format
6763 * lyxfont.C (stateText): use boost::format
6765 * lyx_main.C (LyX): use boost::format
6767 (queryUserLyXDir): ditto
6770 (typedef boost::function): use the recommened syntax.
6772 * importer.C (Import): use boost::format
6774 * debug.C (showLevel): use boost::format
6776 * converter.C (view): use boost::format
6781 * bufferview_funcs.C (currentState): use boost::format
6783 * bufferlist.C (emergencyWrite): use boost::format
6785 * buffer.C (readLyXformat2): use boost::format
6786 (parseSingleLyXformat2Token): ditto
6788 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6790 * LaTeX.C (run): use boost::format
6792 * Chktex.C (scanLogFile): use boost::format
6794 * BufferView_pimpl.C (savePosition): use boost::format
6795 (restorePosition): ditto
6796 (MenuInsertLyXFile): ditto
6798 * BoostFormat.h: help file for explicit instation.
6800 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6802 * tabular.C (latex): Support for block alignment in fixed width
6805 2002-11-17 John Levon <levon@movementarian.org>
6807 * BufferView_pimpl.C:
6809 * lyxfunc.C: split filedialog into open/save
6811 2002-11-08 Juergen Vigna <jug@sad.it>
6813 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6814 by my last patch (hopefully).
6816 2002-11-08 John Levon <levon@movementarian.org>
6825 * toc.C: ParConstIterator, and use it (from Lars)
6827 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6829 * lyxtextclass.[Ch]: revise and add doxygen comments
6831 2002-11-07 John Levon <levon@movementarian.org>
6833 * text.C: fix progress value for spellchecker
6835 * toc.C: fix navigate menu for insetwrap inside minipage
6837 * paragraph_funcs.C: added FIXME for suspect code
6839 2002-11-07 John Levon <levon@movementarian.org>
6841 * BufferView_pimpl.C: fix redrawing of insets
6844 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6846 * text2.C (updateCounters): fix bug 668
6848 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6850 * text3.C (dispatch): Do not make the buffer dirty when moving the
6853 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * vc-backend.C: STRCONV
6858 * text2.C (setCounter): STRCONV
6860 * paragraph.C (asString): STRCONV
6862 * lyxlength.C (asString): STRCONV
6863 (asLatexString): ditto
6865 * lyxgluelength.C (asString): STRCONV
6866 (asLatexString): ditto
6868 * lyxfunc.C (dispatch): STRCONV
6871 * lyxfont.C (stateText): STRCONV
6873 * importer.C (Import): STRCONV
6875 * counters.C (labelItem): STRCONV
6876 (numberLabel): ditto
6877 (numberLabel): remove unused ostringstream o
6882 * bufferview_funcs.C (currentState): STRCONV
6884 * buffer.C (readFile): STRCONV
6885 (asciiParagraph): ditto
6886 (makeLaTeXFile): ditto
6888 * Spacing.C (writeEnvirBegin): STRCONV
6890 * LaTeXFeatures.C (getLanguages): STRCONV
6891 (getPackages): ditto
6893 (getBabelOptions): ditto
6894 (getTClassPreamble): ditto
6895 (getLyXSGMLEntities): ditto
6896 (getIncludedFiles): ditto
6900 (scanAuxFile): ditto
6903 * LString.h: add the STRCONV macros
6905 * BufferView_pimpl.C (savePosition): STRCONV
6906 (restorePosition): ditto
6907 (MenuInsertLyXFile): ditto
6909 * vc-backend.C (scanMaster): change from submatch[...] to
6912 * funcrequest.C: include config.h
6914 * factory.C: include config.h
6916 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6918 * box.C: include config.h
6920 * LaTeX.C (scanAuxFile): change from submatch[...] to
6924 2002-10-25 Angus Leeming <leeming@lyx.org>
6926 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6928 * ispell.[Ch] (setError): new method.
6929 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6930 Use setError() insetead of goto END.
6932 * lyx_cb.C (AutoSave): move out child process into new class
6935 2002-10-30 John Levon <levon@movementarian.org>
6937 * text3.C: make start appendix undoable
6939 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6941 * lyxlength.C (inPixels): Fix returned value.
6943 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6946 2002-10-24 Angus Leeming <leeming@lyx.org>
6948 * lyxgluelength.h: no need to forward declare BufferParams
6949 or BufferView, so don't.
6951 2002-10-21 John Levon <levon@movementarian.org>
6953 * BufferView.C: menuUndo ->undo, redo
6955 * BufferView.h: document, remove dead, make some methods private
6957 * paragraph_funcs.h:
6958 * paragraph_funcs.C:
6959 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6964 * sgml.C: move sgml open/close tag into sgml.C
6966 * bufferview_funcs.h: unused prototype
6969 * lyxfunc.C: remove unused
6972 * text.C: remove unused
6974 2002-10-21 John Levon <levon@movementarian.org>
6978 * BufferView_pimpl.h:
6979 * BufferView_pimpl.C: fix mouse wheel handling based on
6980 patch from Darren Freeman
6982 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6984 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6986 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6988 * lyxlength.C (inPixels): Fix hanfling of negative length.
6989 Fix LyXLength::MU case.
6991 2002-10-16 John Levon <levon@movementarian.org>
6993 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6995 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6997 * converter.C (view): add support for $$i (file name) and $$p
6998 (file path) for the viewer command. If $$i is not specified, then
6999 it is appended to the command (for compatibility with old syntax)
7001 2002-10-14 Juergen Vigna <jug@sad.it>
7003 * undo_funcs.C (textHandleUndo): alter the order in which the
7004 new undopar is added to the LyXText, as we have to set first
7005 the right prev/next and then add it as otherwise the rebuild of
7006 LyXText is not correct. Also reset the cursor to the right paragraph,
7007 with this IMO we could remove the hack in "redoParagraphs()".
7009 2002-10-09 Angus Leeming <leeming@lyx.org>
7011 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7012 to turn off an optimisation if a new inset is to be inserted.
7014 2002-10-11 André Pönitz <poenitz@gmx.net>
7016 * lyxtext.h: make some functions public to allow access
7017 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7019 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7021 * text3.C (dispatch): when changing layout, avoid an infinite loop
7024 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * lyxrc.C (read): treat a viewer or converter command of "none" as
7029 * MenuBackend.C (expandFormats): for an update, also allow the
7030 formats that are not viewable
7032 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7033 script if it is newer than the lyxrc.defaults in user directory
7035 2002-10-07 André Pönitz <poenitz@gmx.net>
7037 * text.C: Vitaly Lipatov's small i18n fix
7039 2002-09-25 Angus Leeming <leeming@lyx.org>
7041 * ispell.h: doxygen fix.
7043 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7045 * buffer.h (readFile): Add a new argument to the method, to allow
7046 reading of old-format templates.
7048 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7050 * toc.C (getTocList): Get TOC from InsetWrap.
7052 2002-09-16 John Levon <levon@movementarian.org>
7054 * lyxfunc.C: check tabular for cut/copy too
7056 2002-09-12 John Levon <levon@movementarian.org>
7061 * factory.C: add header
7063 * paragraph_funcs.h:
7064 * paragraph_funcs.C: cleanup
7066 2002-09-11 John Levon <levon@movementarian.org>
7068 * PrinterParams.h: odd/even default to true
7070 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7072 * PrinterParams.h: update printer parameters for new xforms dialog
7074 2002-09-11 Angus Leeming <leeming@lyx.org>
7076 * lyxserver.C (read_ready): re-write to make it more transparent
7077 and to make it work in coherent fashion under Tru64 Unix.
7079 2002-09-11 André Pönitz <poenitz@gmx.net>
7083 * text3.C: implement LFUN_WORDSEL
7085 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7088 make floatlist_ a boost::shared_ptr<FloatList>
7090 * lyxtextclass.C: include FloatList.h
7091 (LyXTextClass): initialize floatlist_
7092 (TextClassTags): add TC_NOFLOAT
7093 (Read): match "nofloat" to TC_NOFLOAT and use it.
7094 (readFloat): modify call to floatlist_
7098 * FloatList.[Ch] (FloatList): remove commented out float
7100 (erase): new function
7102 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * MenuBackend.C (expandToc): fix crash when there is no document
7107 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7109 * many files: Add insetwrap.
7111 2002-09-09 John Levon <levon@movementarian.org>
7113 * text2.C: remove confusing and awkward depth wraparound
7115 2002-09-09 John Levon <levon@movementarian.org>
7117 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7120 * buffer.C: remove getIncludeonlyList()
7123 * lyxfunc.C: remove headers
7125 2002-09-09 Juergen Vigna <jug@sad.it>
7127 * text.C (getColumnNearX): fix form Michael this is most
7128 probably a cut&paste bug.
7130 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7132 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7134 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7135 references, ws changes.
7137 * text2.C (init): update counters after init
7138 (insertParagraph): no need to set counter on idividual paragraphs.
7139 (setCounter): access the counters object in the textclass object
7140 on in the buffer object.
7141 (updateCounters): ditto
7143 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7144 shared_ptr<Counters> to avoid loading counters.h in all
7146 (LyXTextClass): initialize ctrs_
7147 (TextClassTags): add TC_COUNTER, and ...
7148 (Read): use it here.
7149 (CounterTags): new tags
7150 (readCounter): new function
7151 (counters): new funtion
7152 (defaultLayoutName): return a const reference
7154 * counters.C (Counters): remove contructor
7155 (newCounter): remove a couple of unneeded statements.
7156 (newCounter): simplify a bit.
7157 (numberLabel): some small formatting changes.
7159 * buffer.[Ch]: remove all traces of counters, move the Counters
7160 object to the LyXTextClass.
7162 2002-09-06 Alain Castera <castera@in2p3.fr>
7164 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7165 package to set the horizontal alignment on fixed width columns.
7168 * lyx_sty.h: added tabularnewline macro def.
7170 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7172 2002-09-06 John Levon <levon@movementarian.org>
7174 * LyXAction.C: tooltips for sub/superscript
7176 * MenuBackend.C: a bit more verbose
7178 * lyxfunc.C: tiny clean
7180 * undo_funcs.C: document undo_frozen
7182 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * counters.C (Counters): add missing algorithm counter.
7186 * text2.C (setCounter): lookup the counter with layouts latexname
7187 instead of by section number.
7188 (setCounter): use a hackish way to lookup the correct enum
7190 a float name->type change
7191 reset enum couners with counter name directly instead of depth value.
7193 * counters.C (Counters): remove the push_backs, change to use the
7194 float type not the float name.
7195 (labelItem): remove unused string, float name->type change
7197 * counters.h: don't include vector, loose the enums and sects vectors
7199 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7202 (Read): add float->TC_FLOAT to textclassTags
7203 (Read): and handle it in the switch
7204 (readFloat): new function
7206 * FloatList.C (FloatList): comment out the hardcoded float
7209 * lyxlayout.h: ws change.
7211 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7213 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7215 2002-09-03 Angus Leeming <leeming@lyx.org>
7217 * BufferView_pimpl.h: qualified name is not allowed in member
7218 declaration: WorkArea & Pimpl::workarea() const;
7220 * factory.C: added using std::endl directive.
7222 * text3.C: added using std::find and std::vector directives.
7224 2002-08-29 André Pönitz <poenitz@gmx.net>
7227 * text2.C: remove unused member number_of_rows
7230 * BufferView2.C: remove file, move contents to...
7231 * BufferView.C: ... here
7233 * BufferView_pimpl.C:
7234 * factory.C: move more inset creation to factory
7236 * vspace.C: avoid direct usage of LyXText, ws changes
7239 don't provide direct access to WorkArea, use two simple
7240 acessors haveSelction() and workHeight() instead
7243 2002-08-29 John Levon <levon@movementarian.org>
7245 * BufferView_pimpl.C (dispatch): do not continue when
7248 2002-08-28 André Pönitz <poenitz@gmx.net>
7250 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7253 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7255 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7257 * buffer.C: increment LYX_FORMAT to 221
7259 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7260 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7262 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7264 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7266 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7268 * factory.C (createInset): use LyXTextClass::floats
7270 * MenuBackend.C (expandFloatListInsert):
7271 (expandFloatInsert):
7274 * text2.C (setCounter):
7276 * LaTeXFeatures.C (useFloat):
7277 (getFloatDefinitions):
7279 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7281 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7282 floatlist_, with accessor floats().
7284 * FloatList.h: remove global FloatList
7286 2002-08-26 André Pönitz <poenitz@gmx.net>
7288 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7292 * BufferView_pimpl.C:
7293 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7295 2002-08-25 John Levon <levon@movementarian.org>
7297 * LyXAction.C: fix margin note description
7299 2002-08-24 John Levon <levon@movementarian.org>
7303 * bufferview_funcs.C:
7305 * undo_funcs.C: cleanups
7307 * lyxfunc.C: disable CUT/COPY when no selection
7309 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7311 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7312 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7314 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7315 Add backward compatibility to "mono", "gray" and "no".
7317 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7319 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7320 (and file_format >= 200).
7322 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7324 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7326 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7330 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7332 * BufferView_pimpl.C:
7339 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7340 inset and code to make it work with the paragraph code. The inset
7341 can be anywhere in the paragraph, but will only do the expected
7342 thing in LaTeX if the layout file contains the parameter line
7344 (or more generally, a nonzero value) for that layout.
7346 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * paragraph.h: remove the declaration of undefined counters class
7351 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7353 * text2.C (setCounter): fixed enumeration mis-count as reported by
7354 Dr. Richard Hawkins.
7356 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * paragraph_funcs.h: remove some unneeded includes
7360 * text.C (backspace): pasteParagraph now in global scipe
7362 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7363 (pasteSelection): ditto
7365 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7366 * paragraph_funcs.C (pasteParagraph): ... here
7368 2002-08-20 André Pönitz <poenitz@gmx.net>
7370 * commandtags.h: new LFUNs for swapping/copying table row/colums
7373 * lyxfunc.C: support for new lfuns
7375 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * buffer.[Ch]: remove NO_COMPABILITY stuff
7380 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * boost.C (throw_exception): new file, with helper function for
7383 boost compiled without exceptions.
7388 * ParameterStruct.h:
7389 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7391 * bufferlist.C (emergencyWriteAll): use boost bind
7393 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7395 * text.C: include paragraph_funcs.h
7396 (breakParagraph): breakParagraph is now in global scope
7398 * paragraph_funcs.[Ch]: new files
7400 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7403 * buffer.C: include paragraph_funcs.h
7404 (insertStringAsLines): breakParagraph is now in global scope
7406 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7409 * CutAndPaste.C: include paragraph_funcs.h
7410 (cutSelection): breakParagraphConservative is now in global scope
7411 (pasteSelection): ditto
7413 * buffer.h: declare oprator== and operator!= for
7414 Buffer::inset_iterator
7416 * bufferlist.C (emergencyWrite): don't use fmt(...)
7418 * text3.C: add using std::endl
7420 * BufferView.C (moveCursorUpdate): remove default arg
7422 2002-08-20 André Pönitz <poenitz@gmx.net>
7424 * buffer.[Ch]: move inline functions to .C
7427 * BufferView_pimpl.C:
7429 * buffer.[Ch]: use improved inset_iterator
7432 * paragraph.[Ch]: write one paragraph at a time
7434 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7436 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7437 style if style is not specified.
7439 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * text2.C (setCounter): when searching for right label for a
7442 caption, make sure to recurse to parent insets (so that a caption
7443 in a minipage in a figure float works) (bug #568)
7445 2002-08-20 André Pönitz <poenitz@gmx.net>
7447 * text3.C: new file for LyXText::dispatch() and helpers
7449 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7451 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7453 2002-08-19 André Pönitz <poenitz@gmx.net>
7456 * text.C: new LyXText::dispatch()
7458 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7460 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7462 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7464 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7467 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7469 * Makefile.am: use $(variables) instead of @substitutions@
7471 2002-08-15 André Pönitz <poenitz@gmx.net>
7474 * BufferView_pimpl.C: streamlining mathed <-> outer world
7478 * LyXAction.C: remove unused LFUN_MATH
7480 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7484 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * paragraph.C (Paragraph): reformat a bit
7487 (cutIntoMinibuffer): use builtin InsetList function instad of
7491 * buffer.C: include boost/bind.hpp, add using std::for_each
7492 (writeFileAscii): use ParagraphList iterators
7493 (validate): use for_each for validate traversal of paragraphs
7494 (getBibkeyList): use ParagraphList iterators
7495 (resizeInsets): use for_each to resizeInsetsLyXText for all
7497 (getParFromID): use ParagraphList iterators
7499 * BufferView2.C (lockInset): use paragraph list and iterators
7501 2002-08-14 John Levon <levon@movementarian.org>
7503 * lyxserver.C: remove spurious xforms include
7505 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7507 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7509 2002-08-13 André Pönitz <poenitz@gmx.net>
7512 * lyxfunc.C: further cleaning
7514 2002-08-13 André Pönitz <poenitz@gmx.net>
7516 * funcrequest.h: new constructor
7518 * funcrequest.C: move stuff here from .h
7521 * BufferView_pimpl.C:
7524 * lyxfunc.C: subsequent changes
7526 * lyxfunc.h: new view() member function
7528 * lyxfunc.C: subsequent changes
7530 2002-08-13 Angus Leeming <leeming@lyx.org>
7533 * BufferView_pimpl.C:
7541 changes due to the changed LyXView interface that now returns references
7542 to member variables not pointers.
7544 2002-08-13 Angus Leeming <leeming@lyx.org>
7546 * WordLangTuple (word, lang_code): return references to strings,
7551 * lyxtext.h: forward-declare WordLangTuple.
7556 * text.C: #include "WordLangTuple.h".
7559 * text.C: (selectNextWordToSpellcheck): constify return type.
7561 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7567 * paragraph_pimpl.h:
7570 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7572 Made updateCounter always count from start of buffer, and removed
7573 second argument (par).
7574 Reverted floats number display to '#'. Perhaps I'll try again when the
7575 code base is sanitized a bit.
7577 2002-08-12 Angus Leeming <leeming@lyx.org>
7579 * buffer.[Ch] (getLabelList): constify.
7581 2002-08-07 André Pönitz <poenitz@gmx.net>
7583 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7585 * funcrequest.h: extension to keep mouse (x,y) position
7587 2002-08-12 Juergen Vigna <jug@sad.it>
7589 * BufferView2.C (insertErrors): forbid undo when inserting error
7592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7594 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * ParagraphList.[Ch]: new files
7598 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7600 * BufferView2.C (lockInset): ParagraphList changes
7603 * bufferlist.C: ditto
7607 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7610 unused class variable counter_,
7612 * paragraph.[Ch] (getFirstCounter): delete unused function
7614 * counters.C: include LAssert.h
7615 (reset): add a new function with no arg, change other version to
7616 not have def. arg and to not allow empty arg.
7618 * text2.C (setCounter): remove empty arg from call to Counters::reset
7620 2002-08-11 John Levon <levon@movementarian.org>
7622 * Makefile.am: add WordLangTuple.h
7624 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7627 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7629 * insets/insettext.C: InsetList changes
7631 * graphics/GraphicsSupport.C (operator()): InsetList changes
7633 * toc.C (getTocList): InsetList changes
7635 * paragraph_pimpl.[Ch]: InsetList changes
7637 * paragraph.[Ch]: InsetList changes
7639 * buffer.C (inset_iterator): InsetList changes
7640 (setParagraph): ditto
7641 * buffer.h (inset_iterator): ditto
7642 * iterators.C (operator++): ditto
7643 * iterators.h: ditto
7645 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7647 * InsetList.[Ch]: new files, most InsetList handling moved out of
7650 * BufferView2.C (removeAutoInsets): InsetList changes
7652 (ChangeInsets): ditto
7654 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7656 * paragraph_pimpl.h (empty): new function
7658 * paragraph.[Ch] (empty): new function
7660 * other files: use the new Paragraph::empty function
7662 2002-08-09 John Levon <levon@movementarian.org>
7664 * lyxtext.h: remove unused refresh_height
7666 2002-08-09 John Levon <levon@movementarian.org>
7673 * paragraph.C: move sgml char escaping out of paragraph
7676 * paragraph.C: remove id setter
7680 * paragraph_pimpl.C: remove dead tex_code_break_column
7682 * bufferview_funcs.C: small cleanup
7684 * lyxfunc.C: remove dead proto
7686 * lyxtext.h: make some stuff private. Remove some dead stuff.
7688 * lyxgluelength.C: make as[LyX]String() readable
7690 2002-08-08 John Levon <levon@movementarian.org>
7695 * ToolbarDefaults.C:
7698 * toc.C: lyxaction cleanup
7700 2002-08-08 John Levon <levon@movementarian.org>
7702 * BufferView2.C: small cleanup
7705 * lyxfind.C: move unnecessary header into the .C
7707 2002-08-08 John Levon <levon@movementarian.org>
7709 * funcrequest.h: just tedious nonsense
7712 * lyx_main.C: cleanups
7715 * vspace.C: remove dead header lyx_main.h
7717 2002-08-07 Angus Leeming <leeming@lyx.org>
7720 * paragraph_pimpl.h:
7721 Forward declare class Counters in paragraph.h by moving the ctrs member
7722 variable into Paragraph::Pimpl.
7723 (counters): new method, returning a reference to pimpl_->ctrs.
7725 * text2.C: ensuing changes.
7727 2002-08-07 John Levon <levon@movementarian.org>
7729 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7731 * BufferView_pimpl.C: announce X selection on double/triple
7734 * lyx_main.C: use correct bool in batch dispatch
7736 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7738 2002-08-07 André Pönitz <poenitz@gmx.net>
7740 * funcrequest.h: new class to wrap a kb_action and its argument
7743 * BufferView_pimpl[Ch]:
7747 * lyxrc.C: subsequent changes
7750 2002-08-07 John Levon <levon@movementarian.org>
7752 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7753 document options change.
7755 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7760 * makefile.am: move counters functionality over from
7761 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7763 2002-08-06 John Levon <levon@movementarian.org>
7765 * WordLangTuple.h: new file for word + language code tuple
7776 * BufferView2.C: use WordLangTuple
7779 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7781 2002-08-06 John Levon <levon@movementarian.org>
7783 * lyx_main.C: fix cmdline batch handling
7785 2002-08-06 André Pönitz <poenitz@gmx.net>
7787 * lyxrc.C: set default for show_banner to true
7789 2002-08-06 John Levon <levon@movementarian.org>
7791 * pspell.C: fix a crash, and allow new aspell to work
7793 2002-08-06 John Levon <levon@movementarian.org>
7796 * kbmap.C: small cleanup
7799 * vspace.C: add const
7801 2002-08-05 John Levon <levon@movementarian.org>
7803 * LyXAction.C: back to tabular-insert
7805 2002-08-04 John Levon <levon@movementarian.org>
7808 * BufferView.C: cosmetic change
7810 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7820 * BufferView2.C: purge all "Lyx" not "LyX" strings
7823 * lyxcursor.C: attempt to add some documentation
7828 * ToolbarDefaults.C:
7829 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7830 merge with LFUN_TABULAR_INSERT
7837 * pspell.C: split up i/pspell implementations into separate
7838 files, many cleanups
7840 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7842 * text2.C: some cleanup
7844 * lyxfunc.C: don't check for isp_command == "none" any more, it
7845 didn't make any sense
7847 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7852 * makefile.am: move counters functionality over
7853 from text2.C/paragraph.[Ch] to counters.[Ch], and
7855 2002-08-02 John Levon <levon@movementarian.org>
7857 * buffer.C: s/lyxconvert/lyx2lyx/
7859 2002-08-02 Angus Leeming <leeming@lyx.org>
7861 * lyxlex.C: revert John's change as it breaks reading of the user
7864 2002-08-02 Angus Leeming <leeming@lyx.org>
7866 * importer.C (Import):
7867 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7868 changes due to LyXView::view() now returning a boost::shared_ptr.
7870 2002-08-02 John Levon <levon@movementarian.org>
7872 * lyxlex.C: small cleanup
7874 2002-08-02 John Levon <levon@movementarian.org>
7876 * text2.C (status): small cleanup, no logic change
7878 2002-08-01 John Levon <levon@movementarian.org>
7881 * buffer.C (writeFile): don't output alerts, caller
7885 * lyx_cb.C: from above
7887 * lyxfunc.C: allow to open non-existent files
7889 2002-07-31 John Levon <levon@movementarian.org>
7891 * lyxserver.C: don't let incidental errors get
7894 2002-07-30 John Levon <levon@movementarian.org>
7896 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7898 2002-07-30 John Levon <levon@movementarian.org>
7901 * lyxserver.C: remove I/O callback too
7903 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7905 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7908 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * many files: strip,frontStrip -> trim,ltrim,rtrim
7912 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * PrinterParams.h: remove extern containsOnly, and include
7915 support/lstrings.h instead.
7917 * LaTeX.C (scanAuxFile): modify because of strip changes
7919 * buffer.C (makeLaTeXFile): ditto
7920 * bufferparams.C (writeFile): ditt
7921 * lyxfont.C (stateText): ditto
7922 * lyxserver.C (read_ready): ditto
7923 * vc-backend.C (scanMaster): ditto
7925 * BufferView_pimpl.h: ws changes
7927 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7929 2002-07-26 André Pönitz <poenitz@gmx.net>
7931 * kb_sequence.C: remove unnedred usings
7933 2002-07-26 Juergen Vigna <jug@sad.it>
7935 * lyxfind.C (LyXReplace): we have to check better if the returned
7936 text is not of theLockingInset()->getLockingInset().
7938 2002-07-25 Juergen Vigna <jug@sad.it>
7940 * lyxfind.C (LyXReplace): don't replace if we don't get the
7943 * undo_funcs.C (createUndo): remove debugging code.
7945 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7947 * buffer.C (parseSingleLyXformat2Token): Use default placement
7948 when reading old floats.
7950 * FloatList.C (FloatList): Change the default placement of figure
7951 and tables to "tbp".
7953 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7955 * MenuBackend.C: using std::max
7957 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * MenuBackend.C (expandToc):
7960 (expandToc2): code moved from xforms menu frontend. It is now
7961 generic and TOCs are transparent to menu frontends.
7963 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7965 * toc.C (getTocList): protect against buf=0
7967 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7968 Menu as first parameter. Now, this calls itself recursively to
7969 expand a whole tree (this will be useful for TOC handling)
7970 (expandFloatInsert): remove 'wide' version of floats
7972 * MenuBackend.h (submenuname): returns the name of the submenu.
7973 (submenu): returns the submenu itself, provided it has been
7974 created by MenuBackend::expand
7976 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7978 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7979 insets which have noFontChange == true. (bug #172)
7981 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7983 * BufferView_pimpl.C: add connection objects and use them...
7986 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * MenuBackend.C (expandLastfiles):
7991 (expandFloatListInsert):
7992 (expandFloatInsert):
7993 (expand): split expand in parts
7995 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7997 * lyx_gui.C: use lyx_gui::exit()
7999 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8001 * LyXAction.C: show the failing pseudo action
8003 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8005 * buffer.C (readFile): Run the lyxconvert script in order to read
8008 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8012 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8014 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8018 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8020 2002-07-22 Herbert Voss <voss@lyx.org>
8023 * lyxlength.[Ch]: add support for the vertical lengths
8025 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8027 * toc.[Ch]: std:: fixes
8029 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8031 * lyxrc.C: do not include lyx_main.h
8033 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8039 * BufferView2.C: include "lyxlex.h"
8042 * bufferparams.h: do not #include "lyxlex.h"
8044 * lyxtextclasslist.C (Add): remove method
8045 (classlist): renamed to classlist_
8047 * paragraph_pimpl.C:
8051 * bufferview_funcs.C:
8056 * toc.C (getTocList): use BufferParams::getLyXTextClass
8058 * toc.C (getTocList): use InsetFloat::addToToc
8060 * toc.[Ch]: new files, containing helper functions to handle table
8063 * lyxfunc.C (dispatch): no need to remove spaces around command
8065 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8066 first command of the sequence; it is not very clever, but I do not
8067 have a better idea, actually
8069 * LyXAction.C (LookupFunc): make sure to remove space at the
8070 beginning and end of the command
8072 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8074 * MenuBackend.C (getMenubar): new method: return the menubar of
8076 (read): treat differently reading of menu and menubar (in
8077 particular, the menubar has no name now)
8078 (Menu::menubar): remove
8080 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8083 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8085 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8086 a bibitem inset in a RTL paragraph.
8088 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8090 * paragraph_pimpl.C: constify
8092 * BufferView_pimpl.C:
8094 * lyxfunc.C: fix dispatch in a nicer way
8096 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8098 * lyxfunc.C (dispatch):
8099 * BufferView_pimpl.C:
8100 * BufferView_pimpl.h:
8102 * BufferView.h: rename Dispatch() to dispatch()
8104 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8106 * lyxlayout.C (Read): honor DependsOn tag
8108 * lyxlayout.[Ch] (depends_on): new method
8110 * version.C.in: update lyx_docversion
8112 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8114 * paragraph.C (validate): remove from here...
8115 * paragraph_pimpl.C (validate): ... and move here
8116 (isTextAt): make it const
8118 * buffer.C (getLists): ws cleanup
8120 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8122 * language.C (read): Use iso8859-1 encoding in latex_lang
8123 (this prevents LyX from crashing when using iso10646-1 encoding).
8125 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8127 * text2.C (toggleInset): if cursor is inside an inset, close the
8128 inset and leave cursor _after_ it
8130 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8132 * lyxfunc.C: move minibuffer completion handling out of here
8134 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8136 * BufferView_pimpl.C:
8137 * LaTeX.C: fix dispatch calls
8139 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8141 * text.C (drawChars): Fix Arabic text rendering.
8143 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8147 * lyxfunc.C: remove message-push/pop
8151 * lyxfunc.C: rationalise some code by removing verboseDispatch
8152 in favour of a bool argument to dispatch()
8154 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8156 * lyx_main.C (init): make sure to read symlinks as absolute paths
8158 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8161 * lyxfunc.C: no need for commandshortcut to be a member
8163 2002-07-15 André Pönitz <poenitz@gmx.net>
8165 * converter.C: add support for $$s (scripts from lib/scripts dir)
8166 * lyx_main.C: white space
8168 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8172 * lyxrc.C: remove second exit confirmation
8174 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8179 * BufferView_pimpl.h:
8180 * BufferView_pimpl.C:
8181 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8183 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8185 * MenuBackend.C (expand): add numeric shortcuts to document menu
8187 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8189 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * lyxfont.C (setLyXFamily):
8198 * buffer.C (asciiParagraph): use ascii_lowercase
8200 2002-07-15 Mike Fabian <mfabian@suse.de>
8202 * lyxlex_pimpl.C (search_kw):
8203 * lyxlex.C (getLongString):
8204 * converter.h (operator<):
8205 * converter.C (operator<):
8206 * buffer.C (parseSingleLyXformat2Token):
8208 * ToolbarDefaults.C (read):
8209 * MenuBackend.C (checkShortcuts):
8211 * LColor.C (getFromGUIName):
8212 (getFromLyXName): use the compare_ascii_no_case instead of
8213 compare_no_case, because in turkish, 'i' is not the lowercase
8214 version of 'I', and thus turkish locale breaks parsing of tags.
8216 2002-07-16 Angus Leeming <leeming@lyx.org>
8218 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8219 now takes a Buffer const & argument.
8221 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView.C (resize): check there's a buffer to resize
8225 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8227 * lyxfunc.C: remove dead code
8230 * lyxserver.C: use lyx_guii::set_read_callback
8232 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8234 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8235 an inset in a RTL paragraph.
8237 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8239 * lyxfunc.C: repaint after a font size update
8241 2002-07-15 André Pönitz <poenitz@gmx.net>
8243 * lyxlength.C: inBP should be able to return negative values
8245 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8247 * lyxfunc.C: use lyx_gui::update_fonts()
8249 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8251 * lyxfunc.C: use lyx_gui::update_color()
8253 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8259 * lyxrc.C: remove file->new asks for name option, and let
8260 buffer-new take an argument
8262 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8264 * BufferView_pimpl.C: remove unneeded extra repaint()
8266 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8268 * LyXAction.C: allow command-sequence with NoBuffer
8270 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8272 2002-07-10 Angus Leeming <leeming@lyx.org>
8274 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8276 2002-07-09 Angus Leeming <leeming@lyx.org>
8278 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8280 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8282 * lengthcommon.h: whitespace
8284 * lyxfunc.C: update scrollbar after goto paragraph
8286 * lyxtext.h: factor out page break drawing, and fix it so
8287 page break/added space paints as selected nicely
8289 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8291 * BufferView_pimpl.C: add FIXMEs, clean up a little
8293 2002-07-09 André Pönitz <poenitz@gmx.net>
8295 * lyxfont.[Ch]: support for wasy symbols
8297 2002-07-08 André Pönitz <poenitz@gmx.net>
8299 * BufferView_pimpl.C: apply John's patch for #93.
8301 2002-07-05 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.C (buffer): generate previews if desired.
8305 * LColor.h: add "preview" to the color enum.
8307 * LColor.C (LColor): add a corresponding entry to the items array.
8309 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8312 2002-07-05 Angus Leeming <leeming@lyx.org>
8314 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8315 The body of the code is now in the method that is passed an ostream &
8316 rather than a file name.
8317 Pass an additional only_preamble parameter, useful for the forthcoming
8320 2002-07-03 André Pönitz <poenitz@gmx.net>
8322 * lyxfunc.C: simplify getStatus() a bit for math stuff
8324 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8326 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8328 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8330 * text.C (changeRegionCase): do not change case of all the
8331 document when region ends at paragraph end (bug #461)
8333 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * paragraph.C (startTeXParParams):
8336 (endTeXParParams): add \protect when necessary
8338 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8340 * BufferView_pimpl.C (workAreaExpose): remove warning
8342 2002-06-27 Angus Leeming <leeming@lyx.org>
8344 * Makefile.am: add lyxlayout_ptr_fwd.h.
8346 2002-06-26 André Pönitz <poenitz@gmx.net>
8348 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8350 2002-06-25 Angus Leeming <leeming@lyx.org>
8352 * lyxfunc.C (dispatch): Comment out the call to
8353 grfx::GCache::changeDisplay. The method no longer exists now that the
8354 pixmap generation part of the graphics loader has been moved into
8357 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8359 * text2.C: layout as layout
8361 * text.C: layout as layout
8363 * tabular.C (OldFormatRead): layout as layout
8365 * paragraph_pimpl.C (TeXDeeper): layout as layout
8366 (realizeFont): layout as layout
8368 * paragraph.C (writeFile): layout as layout
8369 (validate): layout as layout
8370 (getFont): layout as layout
8371 (getLabelFont): layout as layout
8372 (getLayoutFont): layout as layout
8373 (breakParagraph): layout as layout
8374 (stripLeadingSpaces): layout as layout
8375 (getEndLabel): layout as layout
8376 (getMaxDepthAfter): layout as layout
8377 (applyLayout): layout as layout
8378 (TeXOnePar): layout as layout
8379 (simpleTeXOnePar): layout as layout
8380 (TeXEnvironment): layout as layout
8381 (layout): layout as layout
8382 (layout): layout as layout
8384 * lyxtextclass.C (compare_name): new functor to work with
8385 shared_ptr, layout as layout
8386 (Read): layout as layout
8387 (hasLayout): layout as layout
8388 (operator): layout as layout
8389 (delete_layout): layout as layout
8390 (defaultLayout): layout as layout
8392 * lyxlayout_ptr_fwd.h: new file
8394 * lyxlayout.C (Read): layout as layout
8396 * lyx_cb.C (MenuInsertLabel): layout as layout
8398 * bufferlist.C (newFile): layout as layout
8400 * buffer.C (readLyXformat2): layout as layout
8401 (parseSingleLyXformat2Token): layout as layout
8402 (insertStringAsLines): layout as layout
8403 (asciiParagraph): layout as layout
8404 (latexParagraphs): layout as layout
8405 (makeLinuxDocFile): layout as layout
8406 (simpleLinuxDocOnePar): layout as layout
8407 (makeDocBookFile): layout as layout
8408 (simpleDocBookOnePar): layout as layout
8409 (getLists): layout as layout
8411 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8413 * CutAndPaste.C (cutSelection): layout as layout
8414 (pasteSelection): layout as layout
8415 (SwitchLayoutsBetweenClasses): layout as layout
8417 * BufferView_pimpl.C (Dispatch): layout as layout
8418 (smartQuote): layout as layout
8420 * BufferView2.C (unlockInset): layout as layout
8422 2002-06-24 André Pönitz <poenitz@gmx.net>
8424 * lyxfunc.C: fix #487
8426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8430 * lyxfunc.C: remove display_shortcuts, show_banner
8432 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8434 * Buffer_pimpl.C: oops, update on resize
8436 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8443 * BufferView.C: use repaint()
8445 * BufferView_pimpl.h:
8446 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8447 as it's a clearer description. Remove superfluous
8450 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8452 * text.C: fix bug 488. Not ideal, but getting
8453 getWord() to work properly for the insets that
8454 matter is more difficult ...
8456 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8458 * BufferView_pimpl.C:
8461 * lyxfunc.C: remove the six million index lyxfuncs to just
8462 one, and DTRT (bug 458)
8464 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8468 * BufferView_pimpl.h:
8469 * BufferView_pimpl.C: clean up resize() stuff,
8470 and unnecessary updateScreen()s
8472 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView_pimpl.h:
8477 * BufferView_pimpl.C:
8480 * minibuffer.C: remove focus management of workarea,
8481 not needed. Use screen's greyOut()
8483 2002-06-17 Herbert Voss <voss@lyx.org>
8485 * converter.C: (convert) do not post a message, when converting
8486 fails, let the calling function decide what to do in this case
8488 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8490 * lyxfunc.C: tidy up a little
8492 2002-06-16 <alstrup@diku.dk>
8494 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8495 Got rid of FORMS_H_LOCATION include. Now we are
8498 2002-06-15 LyX Development team <lyx@rilke>
8500 * buffer.[Ch] (sgmlOpenTag):
8501 (sgmlCloseTag): Added support for avoiding pernicious mixed
8502 content. Return number of lines written.
8505 (makeDocBookFile): Fixed calls to sgml*Tag.
8506 Simple white space clean.
8508 (simpleDocBookOnePar): Simple white space clean.
8510 * tabular.[Ch] (docBook): Renamed to docbook and got another
8511 argument to related with the pernicious mixed content.
8513 (docbookRow): Fixed calls for docbook inset method.
8515 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8517 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8518 so it's X11 independent.
8522 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8524 2002-06-15 Lyx Development team <lyx@electronia>
8526 * intl.h: Renamed getTrans to getTransManager.
8528 2002-06-14 Angus Leeming <leeming@lyx.org>
8530 * Makefile.am: nuke forgotten stl_string_fwd.h.
8532 2002-06-12 Angus Leeming <leeming@lyx.org>
8534 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8536 2002-06-13 Angus Leeming <leeming@lyx.org>
8539 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8541 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8543 * kbmap.C (getiso): add support for cyrillic and greek
8545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.h:
8550 * BufferView_pimpl.C: move bogus scrolling logic
8553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8556 * BufferView_pimpl.C: view->resize() change
8558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8560 * BufferView_pimpl.C: topCursorVisible
8563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8567 * lyx_gui.C: move to frontends/
8571 * lyx_main.C: changes from above
8573 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8580 * lyx_main.C: minor tidy
8582 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8584 * BufferView_pimpl.h:
8585 * BufferView_pimpl.C:
8587 * BufferView.C: make painter() const,
8590 * BufferView2.C: use screen() accessor
8593 * lyx_main.C: some minor cleanup
8595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8597 * BufferView_pimpl.h:
8598 * BufferView_pimpl.C: remove enter/leaveView,
8601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8606 * BufferView_pimpl.h:
8607 * BufferView_pimpl.C: only construct screen once,
8610 * lyxrc.C: remove pointless comment
8612 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8615 * BufferView.C: remove active() and belowMouse()
8617 * BufferView_pimpl.h:
8618 * BufferView_pimpl.C: use workarea() not workarea_,
8619 and make it use a scoped_ptr instead
8621 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8623 * lyx_gui.C: add debug message on BadWindow
8625 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8627 * sp_spell.C: fdopen is not part of the C++ standard.
8629 * paragraph.C (InsetIterator): use >= instead of ==
8631 2002-06-07 Angus Leeming <leeming@lyx.org>
8633 Fixes needed to compile with Compaq cxx 6.5.
8634 * BufferView_pimpl.C:
8641 * lyxtextclasslist.C:
8646 all c-library variables have been moved into namespace std. Wrap
8647 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8652 Add a using std::abs declaration.
8654 * kbmap.h (modifier_pair):
8655 * paragraph.h (InsetTable, InsetList):
8656 * lyxfont.h (FontBits):
8657 type definition made public.
8659 * bufferlist.C (emergencyWriteAll): the compiler complains that
8660 there is more than one possible lyx::class_fun template to choose from.
8661 I re-named the void specialisation as lyx::void_class_fun.
8663 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8665 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8666 the compiler is is unable to find tostr in write_attribute.
8668 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8670 * buffer.C (sgmlError): hide #warning
8672 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * xtl/*: get rid of xtl, which is not in use anyway
8676 * LyXAction.C (init):
8677 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8678 were unimplemented xtl experimentation
8680 2002-06-04 André Pönitz <poenitz@gmx.net>
8682 * lyxfunc.C: disable array operation on simple formulae
8684 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8686 * converter.C: constify a bit
8688 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8690 * lyx_gui.C: check xforms version correctly
8692 2002-04-30 Herbert Voss <voss@lyx.org>
8694 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8697 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8699 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8700 attempt to register it with a VCS)
8702 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * lyx_main.C (init): honor variables LYX_DIR_13x and
8707 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8711 * lyx_main.C: fix a crash on bad command line,
8712 and give a useful exit status on error
8714 * lyxfunc.C (doImport): allow -i lyx to work
8716 2002-03-30 André Pönitz <poenitz@gmx.net>
8718 * lyxfunc.C: mathed font changes
8720 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8735 * trans_mgr.h: srcdocs, and some minor cleanups
8737 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8740 call getFont all the time)
8742 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8744 * switch from SigC signals to boost::signals
8746 2002-05-29 André Pönitz <poenitz@gmx.net>
8748 * paragraph_pimpl.C (getChar): don't call size() too often...
8750 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * paragraph_pimpl.C (insertChar): do not try to update tables when
8753 appending (pos == size())
8755 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8756 in order to reduce drastically the number of comparisons needed to
8757 parse a large document
8759 2002-05-29 André Pönitz <poenitz@gmx.net>
8765 * textclasslist.[Ch]:
8766 * sp_ispell.h: whitespace change
8768 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8771 lyxaction directly now.
8773 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8777 * lyxvc.C: remove unused headers
8779 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8786 * undo_funcs.C: some cleanups. Use shared_ptr
8787 and a template for the undo stacks.
8789 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8791 * BufferView_pimpl.h:
8792 * BufferView_pimpl.C:
8799 * text2.C: use key_state/mouse_state
8801 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8806 * chset.C: change include order
8807 (loadFile): use boost regex and get rid of LRegex and LSubstring
8809 * Makefile.am (BOOST_LIBS): new variable
8812 * LaTeX.C: change include order.
8813 (scanAuxFile): use boost regex and get rid of LRegex and
8817 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8822 * FontInfo.C: moved to frontends/xforms/
8825 * FontLoader.C: moved into frontends for GUIIzation
8830 * lyxfunc.C: changes from above
8832 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8834 * LColor.C: remove spurious X include
8836 * BufferView_pimpl.C:
8841 * text2.C: move font metrics to frontends/
8843 2002-05-24 Juergen Vigna <jug@sad.it>
8845 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8846 setting the undo_cursor.
8848 * ParagraphParameters.h: include local includes first.
8850 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8852 * BufferView_pimpl.C:
8853 * BufferView_pimpl.h:
8857 * screen.C: move WorkArea into frontends/
8863 * BufferView2.C: move LyXScreen into frontends/
8867 * lyx_gui.C: move lyxlookup into frontends/xforms/
8869 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8872 * BufferView_pimpl.C:
8882 * bufferview_funcs.C:
8895 * vc-backend.C: move LyX/XFormsView into frontends/
8897 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8909 * text2.C: move Painter to frontends/
8911 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8913 * buffer.C: comment out some some code that depend upon lyx_format
8916 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8917 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8919 * buffer.h (NO_COMPABILITY): turn off compability
8921 * ColorHandler.C: include scoped_array.hpp
8923 * font.C: Use more specific smart_ptr header.
8926 * ShareContainer.h: ditto
8930 * BufferView_pimpl.h: ditto
8931 * ColorHandler.h: ditto
8933 * kbmap.C (defkey): change call to shared_ptr::reset
8935 2002-05-21 Juergen Vigna <jug@sad.it>
8937 * buffer.C (insertErtContents): fix to insert ert asis if it is
8938 non empty. Skip it completely if it contains only whitespaces.
8940 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8942 * BufferView_pimpl.C:
8943 * BufferView2.C: clear selection on paste (bug 393)
8945 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8947 * DepTable.C: include ctime
8949 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8951 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8953 2002-05-14 Juergen Vigna <jug@sad.it>
8955 * text.C (breakParagraph): fixed function to honor the keepempty
8956 layout in the right maner and also to permit the right breaking
8957 algorithm on empty or non empyt keepempty paragraphs.
8959 * paragraph.C (breakParagraph): we have to check also if the par
8960 is really empty (!size()) for isempty otherwise we do the wrong
8963 2002-05-10 Juergen Vigna <jug@sad.it>
8965 * buffer.[Ch] : The following are only changes to the ert
8966 compatibility read reading old LaTeX layout and font stuff and
8967 convert it to ERTInsets.
8969 * buffer.h: added isErtInset().
8971 * buffer.C (struct ErtComp): add a fromlayout bool to check
8972 if we're inside a LaTeX layout.
8973 (isErtInset): new helper function.
8974 (insertErtContents): look for other ert insets before this one
8975 and insert the contents there, so that we don't have subsequent
8976 ERT insets with nothing between them. This way we create only one
8977 inset with multiple paragraphs. Also check if we don't insert only
8978 spaces ' ' as they are ignored anyway afterwards in the .tex file
8979 so if we have only spaces we will ignore this latex part in the
8981 (parseSingleLyXformat2Token \\layout): better compatibility when
8982 reading layout-latex stuff.
8983 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8985 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8986 stuff after reading the inset only get the information back from
8989 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8991 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8993 * LaTeXFeatures.C (getBabelOptions): New method.
8995 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * BufferView_pimpl.C (Dispatch): work around missing argument for
9000 2002-05-08 Juergen Vigna <jug@sad.it>
9002 * text.C (leftMargin): handle paragraph leftindent.
9004 * paragraph.C (writeFile): write the new \\leftindent tag.
9005 (validate): handle leftindent code.
9006 (TeXEnvironment): handle paragraphleftindent code again.
9008 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9010 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9011 for paragrap_extra indent code and new token \\leftindent.
9012 (latexParagraphs): handle the leftindent as environment.
9014 * ParameterStruct.h: added leftindent support.
9016 * ParagraphParameters.C (leftIndent): added support functions for
9017 the paragraph left indent.
9019 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9022 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9024 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9027 * text.C (computeBidiTables): No bidi in insetERT.
9029 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9032 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9034 * version.C.in: pre 5
9036 2002-05-02 José Matos <jamatos@fep.up.pt>
9037 * buffer.C (makeDocBookFile): white space changes, add newline to
9039 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9041 * tabular.C (docBook): fix typo.
9043 2002-05-03 Juergen Vigna <jug@sad.it>
9045 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9046 change in LyXText as we can not be sure it was not freed.
9047 (drawOneRow): remove unused code.
9049 * text.C (drawInset): redo the calculation of the need_break_row as
9050 it could have a row which was already freed.
9051 (draw): look at the return value of drawInset and return false if
9052 it also returned false.
9053 (paintRowText): look at the return value of draw and return false if
9054 it also returned false.
9056 * lyxtext.h: added bool return type to drawInset() and draw() so that
9057 if we have a change in the row so that the rowbreak has to be redone
9058 we abort drawing as it will be called again.
9060 2002-05-02 Juergen Vigna <jug@sad.it>
9062 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9063 a change in the maintext also if we're inside an inset.
9064 (Dispatch): set the cursor again after a break line and after the
9065 screen has been updated as it could be we're in a different row.
9067 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9068 to set the cursor behind the pargraph with > size().
9069 (setCursor): check also for the same paragraph when checking where
9070 to put the cursor if we have a NFR inset.
9072 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9073 parts of layout read further up as it still was in the wrong
9076 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9078 * screen.C (drawFromTo): change sine fullRebreak always return
9081 * buffer.C (parseSingleLyXformat2Token): reindent some
9083 * BufferView_pimpl.C (update): change since fullRebreak always
9085 (Dispatch): git rid of the last hardcoded "Standard"s.
9087 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * text2.[Ch] (fullRebreak): make it return void now that we always
9092 2002-04-30 Juergen Vigna <jug@sad.it>
9094 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9095 ert compatibility check for "latex" layout.
9097 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9099 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9100 minipages: use col% instead of p%, and also use the current font.
9101 (makeLaTeXFile): Fix use babel condition.
9102 (parseSingleLyXformat2Token): Correct font when reading old floats.
9104 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9106 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9107 inserting list of floats.
9109 2002-04-25 Herbert Voss <voss@lyx.org>
9111 * MenuBackend.C (expand): don't add the graphics extensions to the
9114 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9117 non-existing layout, do not complain if it was the default layout
9118 of the original class (bug #342)
9120 2002-04-24 Juergen Vigna <jug@sad.it>
9122 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9123 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9125 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9127 * buffer.C (getBibkeyList): If using \bibliography, return the
9128 option field with the reference itself. Enables us to provide natbib
9129 support when using \bibliography.
9131 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9133 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9135 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9136 natbib is provided by the LaTeX class.
9138 2002-04-23 Juergen Vigna <jug@sad.it>
9140 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9143 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9145 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9147 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9149 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9150 ensuremath around textordmasculine, textordfeminine and
9153 2002-04-19 Juergen Vigna <jug@sad.it>
9155 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9156 reinitializing the buffer otherwise row-dimensions may be wrong.
9157 (update): reset also the selection cursors if they do exits otherwise
9158 their x/y positions may be wrong.
9160 * text2.C (cursorDown): don't enter the inset if we came from a row
9161 above and are one row over the inset.
9163 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9164 really leaving an inset.
9166 2002-04-18 Juergen Vigna <jug@sad.it>
9168 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9169 of the selected paragraph does not have the selected layout also if
9172 * text2.C (setLayout): fixed bug which did not change last selected
9175 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9176 changed the read and substituted \\end_float with \\end_inset!
9178 * BufferView_pimpl.C (cursorPrevious):
9179 (cursorNext): fixed to make it work with rows heigher than the work
9180 area without moving the cursor only the draw of the row.
9181 (workAreaMotionNotify): fix jumping over high rows.
9183 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9185 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9188 2002-04-16 Juergen Vigna <jug@sad.it>
9190 * text2.C (setCursor): set also the irow().
9191 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9193 (cursorDown): support for locking an inset if the x_fix value goes
9194 inside it. That way I can transverse insets too with cursor up/down.
9196 * lyxrow.h: added irow helper function same as other (i) functions.
9198 * BufferView_pimpl.C (cursorPrevious):
9199 (cursorNext): fixed for insets!
9201 2002-04-15 Juergen Vigna <jug@sad.it>
9203 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9204 position otherwise it is wrong in some cases.
9206 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9207 inside the inset before the call.
9209 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9211 * buffer.[Ch] (getBibkeyList): make it const.
9213 2002-04-12 Juergen Vigna <jug@sad.it>
9215 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9217 * text2.C (getCursorX): new helper function
9218 (setCursor): compute also ix_
9219 (setCursorFromCoordinates): set also ix.
9221 * lyxcursor.h: added ix_ and helper functions.
9223 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9225 * buffer.C (insertStringAsLines): dont break paragraph if the this
9226 paragraph is inside an inset which does not permit it!
9228 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9229 also with no chars on this paragraph.
9230 (paintRowText): only paint stuff if it's inside the workarea!
9232 * paragraph.C (breakParagraph): honor keepempty flag and break the
9233 paragraph always below not above.
9235 * BufferView2.C (unlockInset): update the paragraph layout on inset
9236 unlock as we changed paragraph in such a case.
9238 * lyxfind.C (LyXFind): clear the former selection if not found!
9240 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9241 again called in insertChar().
9243 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9244 an inset which uses the whole row!
9245 (rightMargin): ditto.
9246 (insertChar): force a rebreak if we inserted an inset!
9248 2002-03-28 Herbert Voss <voss@lyx.org>
9250 * lyxlength.[Ch]: add inBP() to get the right PS-point
9251 units (BigPoint). With inPixels we have rounding errors
9253 2002-04-11 Juergen Vigna <jug@sad.it>
9255 * text2.C (setCursorFromCoordinates): set iy to the right value.
9256 (setCursor): add check if row->previous exists!
9258 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9259 an old float_type as this was the case in the old code!
9261 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9263 * BufferView2.C (showLockedInsetCursor): use iy
9264 (fitLockedInsetCursor): ditto
9266 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9267 locked insets as there we have the right value now.
9269 * lyxcursor.C: added iy_ variable and iy functions to set to the
9270 baseline of cursor-y of the locked inset.
9272 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9273 (setCursor): fixed for insets which need a full row.
9275 * text.C (rowLastPrintable): don't ignore the last space when before
9276 an inset which needs a full row.
9277 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9278 as last character of a row when before a inset which needs a full row.
9280 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * version.C.in: update date
9284 * text2.C (fullRebreak): try to always return true and see what
9287 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * MenuBackend.C (expand): use Floating::listName
9291 * FloatList.C (FloatList): add listName argument to the built-in
9294 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9295 text associated with the float.
9297 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9299 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9301 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9303 * ShareContainer.h: add a couple of missing typenames.
9305 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9307 * lyxrc.C (getDescription): use _() correctly rather than N_().
9309 2002-03-28 Herbert Voss <voss@lyx.org>
9311 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9312 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9314 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9316 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9317 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9319 2002-03-29 Juergen Vigna <jug@sad.it>
9321 * lyxfunc.C (dispatch): add a missing fitCursor call.
9323 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9324 it was scrolled by a cursor move, so return the bool status.
9326 * BufferView.C (fitCursor): return the bool flag also to the outside
9327 world as this is needed.
9329 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9331 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9332 call the edit() as it is not needed (and wrong) IMO.
9333 (workAreaButtonPress): set the screen_first variable before evt.
9334 unlock the inset as this may change screen_first and then we have
9335 a wrong y position for the click!
9337 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9339 * MenuBackend.C (expand): another translation that I missed
9341 2002-03-28 Juergen Vigna <jug@sad.it>
9343 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9345 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9347 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9349 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9351 * MenuBackend.C (expand): fix export/view/update when there is no
9354 2002-03-27 Herbert Voss <voss@lyx.org>
9356 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9359 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9361 * bufferview_funcs.C (currentState): only show paragraph number
9362 for is DEVEL_VERSION is set.
9364 * lyxfunc.C (dispatch): put warning in INFO channel
9366 * MenuBackend.C (expand): translate the name of floats
9368 * FloatList.C (FloatList): mark the float names for translation
9370 * converter.C (convert): use LibScriptSearch
9372 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * MenuBackend.C (defaults): fix default menu (we might as well get
9377 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9382 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * lyxvc.C: reorder includes.
9386 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9388 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9391 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9393 * CutAndPaste.C: change layouts earlier on paste
9394 to avoid crashing when calling getFont()
9396 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9398 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9401 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9403 * WorkArea.C: remove 'Pending' debug message.
9405 * most files: ws cleanup
9407 * buffer.[Ch]: ws changes
9409 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9411 2002-03-21 Juergen Vigna <jug@sad.it>
9413 * tabular.C (SetMultiColumn): collapse also the contents of the
9414 cells and set the last border right. Added a Buffer const * param.
9416 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9418 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9421 2002-03-19 Juergen Vigna <jug@sad.it>
9423 * text2.C (clearSelection): reset also xsel_cache.
9425 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9426 where it needs to be called (John tells us to do so too :)
9427 (selectionLost): reset sel_cache.
9429 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9431 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * text2.C (setCursorIntern): put debuging code in INSETS channel
9435 2002-03-19 André Pönitz <poenitz@gmx.net>
9437 * lyxfunc.C: tiny whitespace change
9439 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * ToolbarDefaults.C (init):
9442 * LyXAction.C (init):
9444 * BufferView_pimpl.C (Dispatch):
9445 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9447 2002-03-19 Allan Rae <rae@lyx.org>
9449 * exporter.C (Export): removeAutoInsets before doing anything else.
9450 While I've just introduced a dependency on BufferView this really is
9451 the best place to clean the buffer otherwise you need to cleanup in
9452 a dozen places before calling export or cleanup in a dozen functions
9455 * converter.C (runLaTeX):
9456 (scanLog): Better handling of removeAutoInsets and screen updates.
9458 * lyxfunc.C (dispatch): small whitespace changes
9460 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9462 * WorkArea.C (C_WorkAreaEvent): return a value.
9463 (event_cb): return 1 if we handled the event, 0 otherwise.
9465 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9467 2002-03-18 Juergen Vigna <jug@sad.it>
9469 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9470 (GetAdditionalWidth): ditto.
9474 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9475 inset if we're there actually (probably not used right now but this
9476 is the direction to go for unifying code).
9477 (paste): disable code to clear the selection.
9479 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9480 inside an InsetText and move the check further up as it is in the
9483 * text2.C (pasteSelection): set a selection over the pasted text.
9485 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9487 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9488 and libgraphics to build on Cygwin.
9490 2002-03-15 Juergen Vigna <jug@sad.it>
9492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9493 inserting an Inset into the paragraph. I know this is not the best
9494 fix but we already use current_view in CutAndPaste so we will remove
9495 all of it's using at the same time.
9497 * buffer.C (sgmlError): deactivated function till it is rewritten in
9498 the right mode, now it can create problems.
9500 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9501 before accessing it.
9503 2002-03-14 Juergen Vigna <jug@sad.it>
9505 * undo_funcs.C (textHandleUndo): do the right thing when updating
9506 the inset after the undo/redo.
9508 * text2.C (setCursor): just some testcode for #44 not ready yet.
9510 * undo_funcs.C (textHandleUndo): set the next() and previous()
9511 pointers of the paragraph to 0 before deleting otherwise we have
9512 problems with the Paragraph::[destructor].
9514 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9515 on a paragraph insertion.
9517 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9519 * buffer.C (asciiParagraph): use += operator for char append to
9522 * paragraph.C (getFontSettings): compare >= not just >
9523 (highestFontInRange): ditto
9526 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * paragraph.C: change several algorithm to be more appripriate for
9529 the problem domain. This is lookip in FontList and in the InsetList.
9531 2002-03-13 André Pönitz <poenitz@gmx.net>
9534 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9536 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9541 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9543 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9545 * Painter.C (display): anon helper function, adjust code for this
9547 (pixmap): remove function.
9549 * Painter.h: remove private display variable.
9551 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9553 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9555 * WorkArea.[Ch]: remove figinset_canvas cruft.
9557 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * lyxtextclass.C (operator): add one item cache optimization.
9561 * bufferlist.h: doxy changes
9563 * bufferlist.C: ws changes
9565 * DepTable.[Ch] (ext_exist): place const in the right spot.
9567 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9569 (workAreaExpose): call resizeInsets when the with BufferView changes.
9570 (Dispatch): adjust for protectedBlank removal
9571 (specialChar): call updateInset if the insert went ok.
9573 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9574 specialChar instead.
9576 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9578 * BufferView.h: doxy change
9580 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9582 * lyxtextclass.C (operator[]): remove non-const version
9583 (defaultLayout): remove non-const version
9585 2002-03-12 Juergen Vigna <jug@sad.it>
9587 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9588 did resize the LyXText too.
9590 * buffer.C (readLyXformat2): set layout information on newly allocated
9593 * tabular.C (OldFormatRead): set layout information on the paragraph.
9595 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9597 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9599 2002-03-11 Juergen Vigna <jug@sad.it>
9601 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9603 (resizeCurrentBuffer): force also the insets to resize themselfes.
9604 (moveCursorUpdate): fixed up for InsetText.
9606 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9609 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9610 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9611 value of Dialogs::tooltipsEnabled().
9612 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9614 2002-03-08 Juergen Vigna <jug@sad.it>
9616 * BufferView_pimpl.C (updateInset): update inset inside inset also
9617 if it isn't inside theLockingInset().
9619 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9621 * buffer.C (asciiParagraph): redo some of the word and line length
9623 (getLists): look for Caption instead of caption.
9625 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9627 * buffer.C (Buffer): initialize niceFile to true
9630 (makeDocBookFile): make sure niceFile is true on exit
9632 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9636 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9638 * LyXSendto.C: remove.
9639 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9640 * lyx_gui.C: remove now-redundant comment.
9641 * ColorHandler.h: remove forward declaration of class WorkArea.
9642 * lyxfunc.C: remove #include "WorkArea.h".
9644 2002-03-07 Juergen Vigna <jug@sad.it>
9646 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9647 got moved away with the DEPM and also set the inset_owner always
9648 right which before could have been omitted.
9650 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9653 wanted layout is not found.
9655 2002-03-07 Juergen Vigna <jug@sad.it>
9657 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9659 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9661 * paragraph.C (breakParagraph): use default layout not layout of
9663 (Paragraph): clear ParagraphParameters.
9665 2002-03-06 Juergen Vigna <jug@sad.it>
9667 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9668 otherwise it would not be a valid lenght. Fixed a special case in
9669 the minipage compatibility read where we end the document with a
9672 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9673 was set as it could be 0 for InsetTexts first entry.
9675 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9677 * paragraph.C (writeFile): if layout is empty write out
9678 defaultLayoutName().
9680 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9681 file without named layout we set layout to defaultLayoutName().
9683 2002-03-06 Juergen Vigna <jug@sad.it>
9685 * CutAndPaste.C (copySelection): set layout for new paragraph.
9687 * text.C (prepareToPrint): leave ERT inset left aligned
9688 (leftMargin): don't indent paragraphs inside ERT insets
9690 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * paragraph.C (breakParagraph): dont call clear do the work manually
9694 * paragraph.[Ch] (clear): remove function
9696 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * paragraph.C (Paragraph): dont call clear, the work has already
9701 * lyxtextclass.C (operator): assert if n is empty
9703 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9704 work manually instead.
9706 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9708 * BufferView_pimpl.C: protect selectionLost against text == 0
9710 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9712 * text.C (breakParagraph): fix a setting layout to '0' problem.
9714 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9716 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9717 final location of file, for the included files, and graphics.
9719 2002-03-05 Juergen Vigna <jug@sad.it>
9721 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9723 2002-03-04 Juergen Vigna <jug@sad.it>
9725 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9727 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9728 last column of multicolumn cells.
9729 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9731 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9733 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9734 file if it doesn't go to a temporary file.
9736 * buffer.C (sgmlOpenTag):
9737 (sgmlCloseTag): remove extra newline insertion.
9739 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * text.C (getRowNearY): comment out debug msg
9743 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * text2.C: first -> first_y
9747 * text.C (getRowNearY): add some attemts at a possible
9748 optimization, not working.
9750 * tabular.[Ch]: add BufferParams to several function so that newly
9751 created paragraph can be initialized to he default layotu for the
9754 * tabular-old.C (ReadOld): add buf->params to call of Init
9756 * screen.C: rename text->first to text->first_y
9758 * paragraph.C (breakParagraph): always set layout in the broken
9761 * lyxtextclass.C (Read): remove lowercase
9764 (delete_layout): ditto
9766 * lyxtext.h: rename first -> first_y
9768 * lyxlayout.C (Read): remove lowercase
9771 (obsoleted_by): ditto
9773 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9775 * buffer.C (insertErtContents): add params are to InsetERT
9776 (parseSingleLyXformat2Token): add code to check if a paragraphs
9777 layout really exist.
9778 (parseSingleLyXformat2Token): add params to several inset
9780 (asciiParagraph): remove lowercase, do the layout comparisons with
9783 * BufferView_pimpl.C (cursorNext): first -> first_y
9784 (resizeCurrentBuffer): first -> first_y
9785 (updateScrollbar): first -> first_y
9786 (scrollCB): first -> first_y
9787 (workAreaMotionNotify): first -> first_y
9788 (workAreaButtonPress): first -> first_y
9789 (checkInsetHit): first -> first_y
9790 (cursorPrevious): first -> first_y
9791 (cursorNext): first -> first_y
9792 (Dispatch): add buffer_->params to severl inset contructors
9794 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * lyxlayout.C (Read): remove some debug info that I forgot.
9798 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9799 clean up the code slightly.
9800 (makeLinuxDocFile): ditto
9801 (makeDocBookFile): ditto
9803 * text2.C: layout as string
9805 * text.C: layout as string
9807 * paragraph_pimpl.C: layout as string
9809 * paragraph.[Ch]: layout as string
9811 * lyxtextclasslist.[Ch]: layout as string
9813 * lyxtextclass.[Ch]: layout as string
9815 * lyxtext.h: layout as string
9817 * lyxlayout.[Ch]: layout as string
9819 * lyx_cb.C: layout as string
9821 * bufferview_funcs.C: layout as string
9823 * bufferparams.C: layout as string
9825 * buffer.C: layout as string
9827 * LyXView.[Ch]: layout as string
9829 * LaTeXFeatures.[Ch]: layout as string
9831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9833 * BufferView_pimpl.C: change current_layout to string, remove
9838 (workAreaButtonRelease): layout as string
9840 * BufferView2.C (unlockInset): adjust
9842 * vspace.C (asLatexCommand): use an explict temp variable.
9844 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9846 * Makefile.am: use FRONTEND_*
9848 2002-03-01 Juergen Vigna <jug@sad.it>
9850 * tabular.C (SetWidthOfMulticolCell): changed to something better
9851 I hope but still work in progress.
9852 (recalculateMulticolumnsOfColumn): renamed function from
9853 recalculateMulticolCells as it is more appropriate now.
9854 (SetWidthOfCell): calculate multicols better.
9856 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9860 * lyxfunc.C (processKeySym): print sequence also if it is
9861 `deleted' (complete)
9863 * kbsequence.C (print): print sequence even if it is deleted
9864 (complete would be a better word, actually).
9866 * lyxfunc.C (dispatch): print complete options after a prefix key
9868 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9870 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9872 * text2.C (setCharFont): eliminate setCharFont code duplication.
9874 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9877 LFUN_TABULAR_FEATURE (bug #177)
9879 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9881 * Makefile.am: remove figure.h
9883 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9885 * Bufferview_pimpl.C:
9897 * text2.C: remove #include "lyx_gui_misc.h".
9899 * LaTeX.C: added #include <cstdio>
9901 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9904 that the paragraph following this one can have.
9906 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9908 * vspace.C (asLatexCommand): fix bogus gcc warning
9910 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9912 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9914 * text2.C (setLayout): get rid of redundant code
9916 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9918 * text2.C (incDepth): make sure depth cannot be increased beyond
9921 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9923 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9924 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9926 * PainterBase.h (image):
9927 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9930 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9934 * BufferView_pimpl.C:
9935 * BufferView_pimpl.h:
9955 * sp_spell.C: remove fig inset, and the crap house of
9956 cards that follows it
9958 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9964 * nt_defines.h: move .h into support/
9966 * vms_defines.h: remove
9968 * WorkArea.C: add space in debug output
9972 * buffer.C: add WITH_WARNINGS
9976 * bufferlist.C: s/retrive/retrieve/, add docs
9987 * lyxgui.C: add ID to X error handler
9989 * lyxtestclass.c: fix typo
9991 2002-02-26 Juergen Vigna <jug@sad.it>
9993 * tabular_funcs.C (write_attribute): changed so that some default
9994 attributes are not written at all.
9995 (getTokenValue): set default values before trying to read the
9996 value so we have the return value always set as default if we don't
9997 find the token we search for.
9999 * tabular.C (Write): write bools as bools not as strings!
10001 2002-02-22 Juergen Vigna <jug@sad.it>
10003 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10004 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10006 * text.C (leftMargin): don't add an indent for paragraphs inside
10007 tabular cells (fix #208).
10009 2002-02-21 José Matos <jamatos@fep.up.pt>
10011 * tabular.C (docBook): fixed support for long tables.
10013 2002-02-20 Juergen Vigna <jug@sad.it>
10015 * text2.C (getFont): get the drawing font of the Inset if this
10016 paragraph is inside an inset (only important for InsetERT for now).
10018 * buffer.C (insertErtContents): use new lanugage params in ERT
10021 * CutAndPaste.C: commenting out seemingly uneeded code.
10023 2002-02-19 Allan Rae <rae@lyx.org>
10025 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10026 Iterators might be simple to use but they also get invalidated.
10027 (removeAutoInsets): renamed saved cursor tracking variables and added
10028 some comments to clarify what everything does.
10030 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10037 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10038 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10041 * vc-backend.h: remove #include "support/syscall.h"
10045 * converter.C: rearrange #includes in Lars' approved fashion.
10047 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10048 forward declare class Timeout in the header file.
10050 * XFormsView.C: changes due to the above.
10052 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10053 similar to LyXView.
10055 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10056 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10058 2002-02-18 José Matos <jamatos@fep.up.pt>
10060 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10063 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10065 * a lot of small ws changes
10066 * add a lot of using std::XXX
10067 * use std construcs some places where approp.
10068 * use some exisint stuff from lyxfunctional where approp.
10069 * Make file changes to use partial linking (lets test this now...)
10071 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10075 remove #include "support/syscontr.h" as it's redundant. Always has been.
10083 change Systemcalls::System to Systemcalls::Wait and
10084 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10085 No change of functionality, just reflects the stripped down Systemcalls
10088 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10090 * debug.[Ch]: add a GRAPHICS type to the enum.
10092 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10094 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10096 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10099 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10102 match the changes below.
10104 * text2.C (toggleInset): if there is not editable inset at cursor
10105 position, try to see if cursor is _inside_ a collapsable inset
10108 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10111 document menu has a nice checkbox
10113 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * lyxlength.C (asLatexString): change PW to output as percent of
10118 * lengthcommon.C: change '%' to 't%'
10120 * lyxfunc.C (dispatch): a few comments from Martin
10122 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10126 * BufferView_pimpl.h:
10127 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10130 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * vspace.C (inPixels): fix compiler warning
10134 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * lyxfunc.C (getStatus): fix status message for disabled commands.
10138 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10140 * BufferView_pimpl.C: fix crash on close buffer
10141 during selection (#227)
10143 2002-01-27 Herbert Voss <voss@lyx.org>
10145 * buffer.C: link old Figure to new graphic inset
10147 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10149 * FontLoader.C (getFontinfo): Change the latex font names in order
10150 to match the names of type1inst.
10152 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10156 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10157 (extchanged): ditto
10159 (remove_files_with_extension): ditto
10160 (remove_file): ditto
10163 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10164 document is smaller than the work area height. Do not initialize
10165 static variables to 0.
10167 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10169 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10171 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10172 LFUN_LAYOUT_PARAGRAPHS.
10174 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10175 tabular. It is possible to provide a possible cell, which will
10176 typically be the actcell from the corresponding insettabular
10178 * lyxfunc.C (getStatus): small cleanup; disable
10179 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10182 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10186 * paragraph.C (startTeXParParams):
10187 (endTeXParParams): new methods. The LaTeX code to
10188 start/end paragraph formatting
10189 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10190 empty (fixes bug #200)
10192 * vspace.C (inPixels): adapt to the change below
10193 (inPixels): [later] more cleanups (remove unused variables)
10195 * lyxlength.C (inPixels): change to use a width and a height as
10198 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10200 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10201 Replaced with \paperwidth
10203 * DepTable.C (insert): add std:: qualifier
10205 2002-01-18 Allan Rae <rae@lyx.org>
10207 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10210 * text.C (drawInset): Turned out I didn't know enough about how
10211 rebreaking worked. This fixes most of the redraw problems. I see
10212 an occasional cursor trail when a line is broken now and the cursor
10213 placement can seem out by a few pixels also after a rebreak.
10215 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10217 * buffer.C (parseSingleLyXformat2Token): update because minipage
10218 width is now a LyXLength
10220 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10222 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10225 2002-01-17 Juergen Vigna <jug@sad.it>
10227 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10229 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10230 is set correctly and the inset is updated correctly.
10232 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10234 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10235 the beginning of the loop.
10237 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10239 * lyxrc.C: improve help for use_scalable_fonts
10241 2002-01-17 Allan Rae <rae@lyx.org>
10243 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10245 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10248 make sure to set their inset_owner to the right value (bug #171)
10250 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10253 * DepTable.C: Implement mtime checking to reduce time spent doing
10256 2002-01-16 Juergen Vigna <jug@sad.it>
10258 * tabular.C (GetAdditionalHeight): one of error fixed.
10260 * lyxrc.C (output): small fix in writing use_pspell.
10262 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10264 * sp_base.h: #include LString.h
10266 2002-01-16 Allan Rae <rae@lyx.org>
10268 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10269 Can someone check this please?
10271 * text.C (drawInset): It was possible that p.row would be removed by
10272 breakAgainOneRow upsetting a few other settings. There may be another
10273 small tweak possible by setting need_break_row = 0 when p.row has been
10274 removed but I don't know enough about the logic here.
10276 2002-01-15 Allan Rae <rae@lyx.org>
10278 * text.C (insertChar): removed conditional truism.
10280 * BufferView2.C (removeAutoInsets): More tweaks.
10281 cur_par_prev could be a stray pointer. Check for trailing empty line
10282 in case last line was cur_par and only had an error inset on it.
10284 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10289 * vc-backend.C (most methods):
10290 * exporter.C (Export):
10291 * converter.C (convert):
10293 * LyXSendto.C (SendtoApplyCB):
10294 * lyxfunc.C (dispatch):
10298 * lyx_cb.C (AutoSave):
10300 * BufferView_pimpl.C (MenuInsertLyXFile):
10301 * buffer.C (runChktex): use Buffer::filePath().
10303 * buffer.h: rename filename to filename_; rename filepath to
10304 filepath_ and make it private
10305 (filePath): new method
10307 * buffer.C (writeFile): use fileName()
10310 * lyx_main.C (init): fix starting of LyX when the binary is a
10311 link from so,ewhere else.
10313 * minibuffer.C: include <cctype> for isprint
10315 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10317 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10318 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10319 name clash with InsetCollapsable's width function.
10321 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * lastfiles.C: include <iterator>
10325 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10327 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10330 * buffer.C (makeLaTeXFile): ditto.
10331 Also make loop operation more transparent.
10333 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10335 * ToolbarDefaults.C: remove trailing comma closing namespace.
10337 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10339 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10342 * trans.C (Load): comment out unused variable, allowed.
10344 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10346 * minibuffer.[Ch] (append_char): new method to recieve input from the
10347 drop-down completion browser. If a key was pressed, then recieve this
10348 char and append it to the existing string.
10349 (peek_event): modify the positioning data passed to the completion
10350 browser so that it can be placed above the minibuffer rather than below.
10351 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10353 * LyXAction.C (init): alloe error-next for readonly documents.
10355 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10358 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10360 * bufferlist.C (readFile): create the buffer _after_ checking that
10363 * lyxfunc.C (verboseDispatch): fix handling of arguments
10365 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10367 * lyxrc.C: use string::erase() instead of initializing to "".
10370 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.h:
10373 * BufferView_pimpl.C:
10376 * text2.C: tell X when we have made a selection for copying
10378 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10380 * BufferView_pimpl.C (MenuInsertLyXFile):
10381 * lyxfunc.C (menuNew):
10383 (doImport): add shortcuts to directory buttons
10385 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10388 * lyxfunc.C (setStatusMessage):
10389 (getStatusMessage): new methods
10390 (getStatus):use setStatusMessage instead of setErrorMessage
10391 (dispatch): when function is disabled, set error message here
10392 [instead of in getStatus previously]
10394 * BufferView_pimpl.C (workAreaButtonRelease): update
10395 toolbar/menubar here too.
10397 2002-01-13 Allan Rae <rae@lyx.org>
10399 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10400 Now seems indestructible. Remaining task is to audit all other
10401 code affected by deleteEmptyParagraphMechanism. One small quirk
10402 left is that an empty document with an error in the preamble can
10403 be made to report an error but no error box appears. I don't know
10405 (removeAutoInsets): Improved comments.
10407 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10410 * Thesaurus.C: update for Aiksaurus 0.14
10412 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * text2.C (firstParagraph): removed member function, all uses
10415 replaces with ownerParagraph
10416 (redoParagraphs): here
10417 (updateInset): here
10418 (toggleAppendix): here
10419 * BufferView2.C (insertErrors): here
10420 (setCursorFromRow): here
10422 2002-01-13 Allan Rae <rae@lyx.org>
10424 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10425 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10426 There is still a way to segfault this although you may have to do this
10427 multiple times: Have an InsetERT with an unknown command in it.
10428 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10429 <down-arrow>, <Enter> again, View->DVI, BANG!
10431 * text2.C (setCursor):
10432 (deleteEmptyParagraphMechanism):
10433 * lyxtext.h (setCursor):
10434 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10435 Making use of the return value may help fix other bugs.
10437 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10441 * LyXView.C (updateMenubar): call MenuBar::update here
10442 (updateToolbar): but not here
10443 (showState): do not update toolbar/menubar
10445 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10446 should need to care about that.
10448 * lyxfunc.C (verboseDispatch): simplify a bit
10449 (getStatus): have a version which takes a pseudoaction, and
10450 another which requires a (kb_action,string).
10452 * LyXAction.C (retrieveActionArg): make it work also when action
10453 is not a pseudo-action.
10454 (getActionName): simplify a bit
10457 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * lyxfunc.C (verboseDispatch): new families of methods with
10460 several ways to specify a command and a bool to indicate whether
10461 the command name and shortcut should be displayed in minibuffer
10462 (eventually, we could extend that to a finer bitmask like
10463 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10464 (dispatch): the pristine dispatch command which just, well,
10465 dispatchs! Note it still sets its result to minibuffer; I'm not
10468 * lyxfunc.h: remove setHintMessage
10470 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10472 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * BufferView_pimpl.C (specialChar): delete new inset if we have
10475 not been able to insert it.
10477 * kbmap.C: revert to using int instead of kb_action, since all we
10478 are dealing with is pseudo-actions.
10480 * LyXAction.C (searchActionArg): change to return int instead of
10481 kb_action, since the result is a pseudoaction.
10483 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10485 * buffer.C (insertErtContents): Fix (partially) the font bug.
10487 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10489 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10490 as the other one is broken on my machine!
10492 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10495 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10497 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10499 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10500 reflect their actual use. Provide compatibility code for older lyxrc
10503 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10505 change names of popup font variables in line with the changes to lyxrc.C
10507 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10509 * buffer.C (asciiParagraph): avoid outputing a word twice after
10512 * lyxrc.C (getDescription): document that document_path and
10513 template_path can be empty.
10515 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * LaTeXFeatures.C (getMacros):
10518 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10520 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10522 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10524 (getPackages): rename feature "floats" to "float". Use an array to
10525 iterate over 'simple' features (i.e. just a \usepackage). Add
10526 handling of "amsmath" (renamed from "amsstyle").
10528 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10530 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10533 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10535 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10536 FuncStaus::FuncStatus & FuncStaus::some_method().
10538 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10540 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10541 of the func_satus stuff. Edited and massaged in various ways by
10544 * lyxfunc.C (getStatus): use FuncStatus
10546 2002-01-08 Juergen Vigna <jug@sad.it>
10548 * text.C (nextBreakPoint): use function Inset::isChar().
10550 * paragraph.C (TeXOnePar): use function
10551 Inset::forceDefaultParagraphs.
10553 * buffer.C (latexParagraphs): use function
10554 Inset::forceDefaultParagraphs.
10556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10558 * lyx_gui.C (init): set the style of the menu popups to
10559 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10561 2002-01-07 Juergen Vigna <jug@sad.it>
10563 * text.C (setHeightOfRow): small fix
10564 (prepareToPrint): don't look at alignment if we don't have the place
10567 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10569 * box.C: New file. Move the Box methods and functions out of box.h,
10570 following Lars' suggestion.
10572 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10574 * box.h: #include "support/LOstream.h", needed for inlined function.
10577 * lyxtextclasslist.C: added some using std declarations.
10579 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10581 * box.h: make signed dimensions to allow insets wider than
10582 the screen (bug #162)
10584 * BufferView_pimpl.C: add some insetHit debug
10586 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10588 * vc-backend.C: add FIXME
10590 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyxfunc.C (getStatus): enable code for showing math font status
10595 2002-01-07 Juergen Vigna <jug@sad.it>
10597 * text.C (nextBreakPoint): removed debug output not needed anymore.
10599 2002-01-06 Juergen Vigna <jug@sad.it>
10601 * text.C (nextBreakPoint): fixed up this function we had this bug
10602 since ever but now hopefully we break row better.
10603 (insertChar): we have to check if an inset is the next char as it
10604 could now happen that a large inset is causing a break.
10606 2002-01-05 Juergen Vigna <jug@sad.it>
10608 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10609 if it doesn't like to be drawed.
10611 2002-01-04 Juergen Vigna <jug@sad.it>
10613 * BufferView2.C (lockInset): forgot to set a cursor.
10615 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10617 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10619 * FormMathsPanel.C:
10622 * form_maths_panel.C:
10623 * form_maths_panel.h:
10624 * form_maths_panel.fd: implemented sub- and super- buttons in math
10627 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10628 (or ^ space) to be used as in TeX (req'd by André).
10630 * lyxfunc.C: Allow ^ and _ again to be used both as
10631 super/subscript (mathed) and as themselves (in text).
10633 2002-01-03 Allan Rae <rae@lyx.org>
10635 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10636 "LyX" or the filename of the current buffer if it has one. This is a
10637 modified form of John Levon's patch.
10639 * XFormsView.C (setWindowTitle): also set icon title.
10641 * LyXView.h (setWindowTitle): signature changed.
10642 * XFormsView.h (setWindowTitle): ditto.
10644 2002-01-02 Juergen Vigna <jug@sad.it>
10646 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10648 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * screen.C (topCursorVisible): introduce a temp var for
10651 text->cursor.row(), handle the case where this row is null. (kindo
10654 * text2.C (setCursor): add a couple of asserts.
10656 * paragraph.h (inset_iterator): add -> operator
10658 * paragraph.[Ch] (autoDeleteInsets): remove member function
10660 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10661 cursor pos correctly and handle inset deletion by itself.
10662 (insertErrors): move iterator declaration out of for expression
10664 * lyxtextclass.C: add <algorithm>
10666 * Makefile.am: added the new files to sources, removed layout.C
10668 * layout.C: removed file
10670 * layout.h: remove LYX_DUMMY_LAYOUT
10672 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10676 * lyxtextclass.[Ch]:
10677 * lyxtextclasslist.[Ch]: new files
10679 * include order changes to a lot of files, also changes because of
10682 2001-12-27 Juergen Vigna <jug@sad.it>
10684 * buffer.C (asciiParagraph): more fixes.
10686 * tabular.C (ascii): make ascii export support export of only the
10687 data separated by a column-delimiter.
10688 (ascii): better support for ascii export.
10690 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10692 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10694 * tabular_funcs.C: use a "using std::getline" instead of the
10695 previous fix from Angus (necessary for cxx + lyxstring)
10697 2001-12-24 Juergen Vigna <jug@sad.it>
10699 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10701 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10702 problems. First check a minipage also if we have some ert-contents
10703 (not only on par->size(), second set the right depth of the paragraph
10704 on the relink to the root-paragraph-list!
10706 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10707 which then did not anymore update the main paragraphs on undo/redo!
10709 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10712 code. Support all font-changing funcs (even those which are not in
10713 menu currently). Support for reporting font settings in
10714 mathed (disabled until Andre provides a function on mathed's side).
10716 * func_status.h (toggle): small helper function to set toggle
10719 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10721 * tabular_funcs.C: getline -> std::getline
10723 2001-12-21 Juergen Vigna <jug@sad.it>
10725 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10726 accessed and could be 0 (I couldn't generate this but it seems
10729 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10732 * tabular_funcs.h: here and include iosfwd
10734 2001-12-20 Juergen Vigna <jug@sad.it>
10736 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10737 inside inset but undo_par was.
10739 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * Thesaurus.C: always include <config.h> in sources.
10745 * box.h: do not include <config.h> in header files
10747 * text.C (paintLastRow): remove unused variable
10749 * text.C (transformChar):
10751 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10753 * Painter.C (text):
10754 * font.C (width): rewrite to use uppercase() instead of
10757 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10759 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10761 * lyxfind.C: clean up of find failure position change
10763 2001-12-20 Juergen Vigna <jug@sad.it>
10765 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10767 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10768 (TeXRow): added to LaTeX a single tabular row.
10769 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10770 (Latex): simplified and finally good LT-h/f support.
10771 (various_functions): just small adaptions for LT-h/f support.
10773 * tabular_funcs.[hC]: added and moved here all not classfunctions
10776 2001-12-19 Juergen Vigna <jug@sad.it>
10778 * tabular.[Ch]: better support for longtabular options (not finished
10781 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * text.C (paintLastRow): use the label font instead of the font of
10784 the last character to compute the size of *_BOX. This makes more
10785 sense and avoids a crash with empty paragraphs.
10786 Use Painter::rectangle to draw EMPTY_BOX.
10788 2001-12-19 Juergen Vigna <jug@sad.it>
10790 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10791 the paragraphs if the replaced paragraph is not the first one!
10792 Tried to delete not used paragraphs but does not work yet so for
10793 now it's inside #ifdef's and by default off!
10795 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10797 * MenuBackend.C: include "lyx_main.h" instead of declaring
10798 lastfiles (actually was declared as LastFiles* instead of a
10801 2001-12-17 Juergen Vigna <jug@sad.it>
10803 * tabular.C (AppendColumn): applied John's fix
10805 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10809 * BufferView_pimpl.h:
10810 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10813 * box.h: new start of class for above
10815 * lyxfunc.C: ignore space-only minibuffer dispatches.
10816 Show the command name when it doesn't exist
10818 * minibuffer.C: don't add empty lines to the history
10820 * minibuffer.C: add a space on dropdown completion
10822 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10824 * text.C: fix line above/below drawing in insets
10826 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10828 * lyxlength.C (LyXLength): Initialize private variables.
10830 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10833 when inserting error insets.
10835 2001-12-13 Juergen Vigna <jug@sad.it>
10837 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10838 actually sometimes the before-paragraph.
10839 (setUndo): don't clear the redostack if we're not actually undoing!
10841 2001-12-06 Juergen Vigna <jug@sad.it>
10843 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10844 and fixed redoing of main paragraph, so we can use it now ;)
10846 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10848 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10853 2001-12-13 André Pönitz <poenitz@gmx.net>
10856 * undo_func.C: minor cleanup
10858 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10860 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10861 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10862 font in urw-fonts package which is marked as -urw-fontspecific and
10863 does not work (incidentally, changing the encoding in the
10864 fonts.dir of this package to -adobe-fontspecific fixes the
10867 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10868 is a crash when undoing first paragraph (Juergen, please take a
10869 look). THis does not mean the undo fix is wrong, just that it
10872 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10873 the (Paragraph*) version when needed instead of duplicating the
10876 * text.C (workWidth): use Inset::parOwner to find out where the
10877 inset has been inserted. This is a huge performance gain for large
10878 documents with lots of insets. If Inset::parOwner is not set, fall
10879 back on the brute force method
10881 * paragraph_pimpl.C (insertInset):
10882 * paragraph.C (Paragraph):
10883 (cutIntoMinibuffer): set parOwner of insets when
10884 inserting/removing them
10886 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10888 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10894 * mathed/formulabase.C:
10895 * mathed/math_cursor.[Ch]:
10896 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10899 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * lyxlength.[Ch] (operator!=): new function
10903 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10905 * text.C (workWidth): use Inset::parOwner to find out where the
10906 inset has been inserted. This is a huge performance gain for large
10907 documents with lots of insets. If Inset::parOwner is not set, fall
10908 back on the brute force method
10910 * paragraph_pimpl.C (insertInset):
10911 * paragraph.C (Paragraph):
10912 (cutIntoMinibuffer): set parOwner of insets when
10913 inserting/removing them
10915 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10917 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10919 * tabular-old.C (getTokenValue):
10920 * tabular.C (getTokenValue):
10921 (write_attribute): new versions for LyXLength
10922 (everywhere): adjust the use of widths
10924 * tabular.h: change the type of widths from string to LyXLength
10926 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10928 * paragraph.C: fixed missing line number count when exporting
10929 Environments to LaTeX file
10931 * buffer.C: added informational message for checking line numbers.
10933 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10936 paragraph, do the 'double space' part, but not the 'empty
10939 * text.C (workWidth): small optimization
10940 (getLengthMarkerHeight): use minimal size for negative lengths.
10942 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10944 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10946 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10948 2001-12-11 André Pönitz <poenitz@gmx.net>
10951 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10953 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10955 * text2.C: keep selection on a setFont()
10957 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10959 * lyx_cb.C: another bv->text misuse, from insert label
10961 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10964 * kbsequence.C: re-instate nmodifier mask
10966 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10968 * lyx_main.h: make lyxGUI private.
10970 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10972 * lyxfind.C: place the cursor correctly on failed search
10974 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * text.C (getLengthMarkerHeight): for small heights, the arrows
10977 are not always on top/bottom of the text
10978 (drawLengthMarker): smaller arrows; take the left margin in
10979 account; draw also vfills.
10981 (paintLastRow): remove special code for vfill and standard spaces,
10982 since everything is handled in drawLengthMarker now.
10984 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * buffer.C (insertErtContents): try to handle font and language
10987 interaction a bit better.g
10989 * ColorHandler.C (updateColor): change the hash to cover the whole
10990 LColor enum, ws cleanup
10991 (getGCLinepars): ditto
10992 (getGCLinepars): only lookup in the linecache once.
10994 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10996 * iterators.C (operator++): Make the iterator more robust
10998 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11002 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11005 * text.C: better added space drawing
11007 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11010 * BufferView2.C: fix layout combo update on inset unlock
11012 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11014 * Makefile.am: don't compile unused files
11016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11020 * LyXAction.C: remove old LFUN_LAYOUTNO
11022 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11024 * paragraph_pimpl.h:
11025 * paragraph_pimpl.C: isTextAt() doesn't need font param
11027 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11030 * lyxlex.C: little cleanup
11032 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11034 * BufferView_pimpl.C: fix insertAscii for insets
11036 2001-12-05 Juergen Vigna <jug@sad.it>
11038 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11039 set the right font on the "multi" paragraph paste!
11041 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * lyxlength.C: remove out-commented code.
11049 * BufferView_pimpl:
11063 * vc-backend.C: change "while(" to "while ("
11065 * lyxlength.[Ch]: add zero function to check if length is zero or
11067 * lyxgluelength.C: use it
11069 2001-12-05 Allan Rae <rae@lyx.org>
11071 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11072 Works for 2.95.3, from what I understand of Garst's reports this should
11073 work for other g++ versions. We're screwed if the abs(int) definition
11074 changed between bugfix releases of gcc.
11076 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11078 * text.C: fix chapter label offset !
11080 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11083 * text.C: fix hfill at end of line, clean up
11085 2001-12-04 Juergen Vigna <jug@sad.it>
11087 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11088 that we force an update of the inset and it's owners if neccessary.
11090 2001-12-03 Juergen Vigna <jug@sad.it>
11092 * text.C (rowLast): simplified code
11094 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11096 * lyxfunc.C: fix show options on timeout
11098 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11100 * screen.C (topCursorVisible): scroll half a page when the cursor
11101 reached top of bottom of screen
11103 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11105 * minibuffer.C: deactivate on loss of focus
11107 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11109 * vspace.[Ch] (operator!=): add operator.
11111 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11113 * BufferView_pimpl.C: refuse to open an inset when
11114 there's a selection.
11116 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11118 * BufferView_pimpl.C: allow to click on RHS of full row insets
11120 2001-11-30 Juergen Vigna <jug@sad.it>
11122 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11123 insets for undo reasons.
11125 2001-11-28 André Pönitz <poenitz@gmx.net>
11127 * vspace.[Ch]: cosmetical changes
11129 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11139 * kbsequence.C: part re-write of old kb code
11142 * WorkArea.C: remove Lgb_bug_find_hack
11144 2001-11-30 José Matos <jamatos@fep.up.pt>
11146 * buffer.C (makeDocBookFile): add a comment to point a hack.
11147 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11148 Fixed a double write of labels.
11150 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11153 * LaTeX.h Fixed bug in LaTeX class where it would not
11154 re-run latex if no depfiles were changed, but the .dvi was removed.
11156 2001-11-28 André Pönitz <poenitz@gmx.net>
11158 * all the files from the change on 2001/11/26:
11159 use lyx::layout_type instead of LyXTextClass::size_type
11160 use lyx::textclass_type instead of LyXTextClassList::size_type
11162 2001-11-29 Juergen Vigna <jug@sad.it>
11164 * text.C: added support for paragraph::isFreeSpacing()
11166 * buffer.C: same as above
11168 * paragraph.h: inserted isFreeSpacing() function to enable
11169 FreeSpacing inside InsetERT.
11171 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11172 of the paragraph's in the cut/copy buffer to 0!
11174 * text2.C (removeRow): remove the assert as it can!
11176 * lyxtext.h: added helper function firstRow returning firstrow and
11177 made firstrow private again.
11179 * BufferView2.C (lockInset): don't relock if we're already locked!
11181 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11182 the only paragraph.
11183 (removeRow): added Assert::(firstrow)
11185 * debug.C: forgot to add INSETTEXT here.
11187 2001-11-28 Juergen Vigna <jug@sad.it>
11189 * sp_spell.C (initialize): changed error text to more general
11190 spellchecker command use (not only ispell!)
11192 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11194 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11196 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11198 * vspace.C: initialise lyxgluelength on failure
11200 2001-11-28 Allan Rae <rae@lyx.org>
11202 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11203 declaration & definition that looks like a function declaration.
11205 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11207 * BufferView2.C (copy):
11208 (copyEnvironment): do not clear the selection when doing a copy.
11210 * text.C (paintFirstRow): compilation fix
11212 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11214 * tabular.C (Latex): correct line count when writing latex.
11216 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11218 * paragraph_pimpl.h:
11219 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11226 * LColor.C: change vfillline->added_space
11228 * text.C: add markers and text for added space
11230 * vspace.C: fix comment
11232 2001-11-28 André Pönitz <poenitz@gmx.net>
11234 * paragraph.C: whitespace changes
11235 * all the other files from the change on 2001/11/26:
11236 change *::pos_type into lyx::pos_type
11238 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11240 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11241 language of the document when inserting error insets.
11243 2001-11-26 André Pönitz <poenitz@gmx.net>
11245 * BufferView_pimpl.[Ch]:
11253 * paragraph_pimpl.[Ch]:
11256 * text2.C: reduce header dependencies, introduce type for positions
11258 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11260 * <various>: change to use Alert.h
11262 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11264 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11265 when encountering an unknown token.
11266 (readLyXformat2): Show an error message if there were unknown tokens.
11268 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11271 * BufferView_pimpl.C:
11275 * text2.C: use par->isInset()
11277 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11279 * paragraph_pimpl.h:
11280 * paragraph_pimpl.C: cleanup
11282 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11284 * text2.C (removeRow):
11285 * text.C (setHeightOfRow): remove useless (and costly) call to
11288 2001-11-20 Allan Rae <rae@lyx.org>
11290 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11291 Now need Inset*::checkInsertChar() to return true for appropriate
11292 cases so that the characters in the minibuffer will actually be
11295 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * text.C: change the order of the includes.
11298 (workWidth): initialize it at once.
11299 (workWidth): make maxw unsigned
11300 (setHeightOfRow): remove unused variable (inset)
11301 (selectSelectedWord): remove unused variable (inset)
11302 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11304 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11306 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11307 server is not running.
11309 (closeConnection): add debug info when server is disabled.
11311 * ColorHandler.C (getGCForeground): send debug message to GUI
11314 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11316 * kbmap.C (bind): modify because return conventions of
11317 kb_sequence::parse have changed.
11319 * kbsequence.C (parse): only ignore spaces and not any stupid
11320 control character. This avoids tests like s[i] <= ' ', which are
11321 guaranteed to fail with 8bit characters and signed chars.
11322 Change return code to string::npos when there have been no error
11323 (0 was a bad idea when error is at first character)
11325 2001-11-14 José Matos <jamatos@fep.up.pt>
11328 * buffer.C (simpleDocBookOnePar): removed unused argument.
11330 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11332 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11333 insets which are part of a word. Paragraph::isLetter takes care of
11334 that now. Use Paragraph::isInset to identify insets.
11335 (selectSelectedWord): do not test for hyphenation break.
11337 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11338 that protected spaces are considered as spaces.
11340 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11343 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11346 * lyxserver.C: fix it. and small cleanup.
11348 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.C: use inline helpers
11353 * LaTeXFeatures.C: fix typos
11356 * Spacing.C: move spacing_string into class
11358 * ToolbarDefaults.C: move stuff into namespace anon
11360 * layout.h: update enum
11362 * lyxfunc.C: use better debug
11364 * minibuffer.h: fix typo
11368 * WorkArea.C: add and use Debug::WORKAREA
11372 * text2.C: code re-organisation, inline helpers
11374 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11376 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11377 std::vector.empty().
11379 2001-11-09 Allan Rae <rae@lyx.org>
11381 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11382 '\n's after tables. Tabular and ERT inset work now makes this no
11385 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11388 * minibuffer.C: fix crash, improve drop-down completion
11390 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11393 * lyxserver.C: invalidate fd's when doing endPipe()
11395 2001-11-08 José Matos <jamatos@fep.up.pt>
11397 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11398 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11401 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11403 2001-11-07 José Matos <jamatos@fep.up.pt>
11406 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11409 * buffer.C (sgmlOpenTag):
11410 * buffer.C (sgmlCloseTag): removed debug info.
11412 * buffer.h (sgmlOpenTag):
11413 * buffer.h (sgmlCloseTag): made public.
11415 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11417 * buffer.C (saveParamsAsDefaults):
11418 * lyx_cb.C (MenuLayoutSave): remove
11420 * LyXAction.C (init):
11422 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11424 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11426 * buffer.C (setPaperStuff): removed from here...
11428 * bufferparams.C (setPaperStuff): ... and moved there.
11430 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11434 * XFormsView.C: add support for drop-down completion
11436 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11438 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11441 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11443 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11446 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11448 * lyx_main.C: change ref to known bugs
11450 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11452 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11453 to work around older babel problems.
11455 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11457 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11459 2001-10-24 Juergen Vigna <jug@sad.it>
11461 * tabular-old.C (ReadOld): below variable changes reflected.
11463 * tabular.[Ch]: added ltType struct for longtable header/footer
11464 defines and changed all instances where they are used. Added
11465 future support for double top/bottom rows.
11467 2001-10-24 José Matos <jamatos@fep.up.pt>
11469 * buffer.h (docbookHandleCaption):
11470 * buffer.C (docbookHandleCaption): removed unused function.
11471 (makeDocBookFile): moved docbook supported version to v4.1.
11473 2001-10-24 José Matos <jamatos@fep.up.pt>
11476 * tabular.C (docbookRow): new function to export docbook code of a row.
11477 (DocBook): now honors the longtable flags.
11479 2001-10-23 José Matos <jamatos@fep.up.pt>
11482 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11483 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11485 * buffer.C (makeLinuxDocFile):
11486 (makeDocBookFile): reworked the preamble, more clean, and with
11487 support for lyx defined entities. Changed the document declaration
11488 to be more XML friendly.
11490 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11491 if we need to output XML that should be done with a filter.
11493 2001-10-22 Juergen Vigna <jug@sad.it>
11495 * sp_pspell.h (class PSpell): add alive function needed in the
11496 controller to see if the spellchecker could be started.
11498 2001-10-22 Juergen Vigna <jug@sad.it>
11500 * buffer.C (insertStringAsLines): modify the font for inserting
11501 chars in certain conditions by calling checkInsertChar(font).
11503 2001-10-19 Juergen Vigna <jug@sad.it>
11505 * text.C (workWidth): use getRow instead of wrong algorithm.
11506 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11508 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11513 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11515 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11517 * text.C (workWidth): do not search for the exact row when
11518 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11519 optimization for big documents.
11521 2001-10-18 Juergen Vigna <jug@sad.it>
11523 * text.C (workWidth): new function with added Inset * parameter.
11525 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11527 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11529 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11530 change return type of getColumnNearX.
11533 * text.C (changeRegionCase): use uppercase/lowercase instead of
11536 (rightMargin): simplify code by factoring out the uses of
11541 (appendParagraph): use Paragraph::size_type
11543 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11545 * vspace.C (asLatexString): add a missing break
11547 2001-10-15 Herbert Voss <voss@perce.de>
11549 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11551 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11553 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11556 2001-10-10 André Pönitz <poenitz@gmx.net>
11558 * lyxfunc.C: removed greek_kb_flag.
11560 2001-10-10 Herbert Voss <voss@perce.de>
11562 * lyx_main.C: delete global string help_lyxdir.
11564 2001-10-09 Herbert Voss <voss@perce.de>
11566 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11568 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11570 * lyx_main.C: added global string help_lyxdir.
11572 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11574 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11576 * lyxrc.C (set_font_norm_type): support iso8859-4
11578 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11580 * LaTeX.C (deplog): add another regex for MikTeX
11582 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11584 * lyxrc.C (set_font_norm_type): support iso8859-3
11586 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11590 * LaTeXFeatures.C: remove special case of french and index
11592 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11593 before \begin{document}). This solves several incompatibilities.
11595 2001-10-03 Garst Reese <reese@isn.net>
11597 * lyx_cb.C: change CheckTex error msg.
11599 2001-10-03 José Matos <jamatos@fep.up.pt>
11601 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11603 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * .cvsignore: update
11607 * lyx_main.C (commandLineVersionInfo): use new style version info.
11609 * buffer.C (writeFile):
11611 (makeLinuxDocFile):
11612 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11614 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11616 * version.h: update to use stuff in version.C
11618 * version.C.in: new file. Contains version information determined
11619 at compile time. This is a merging of version.h and
11622 2001-10-03 Juergen Vigna <jug@sad.it>
11624 * BufferView_pimpl.C (update): don't change "dirty" status in
11627 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11629 * WorkArea.C (c-tor): re-position version string slightly.
11631 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11633 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11634 revert to previous code.
11636 WorkArea.[Ch]: (show, destroySplash): methods removed.
11638 WorkArea.C: rework code so that it's an amalgam of the codes before and
11639 after the splash screen was moved to WorkArea.
11641 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11644 * vspace.C (inPixels):
11647 * buffer.C (insertStringAsLines):
11648 (asciiParagraph): fix types to be large enough
11650 * lyxlex_pimpl.h: change member status from short to int
11652 * layout.h: fix type of endlabeltype
11655 * kbsequence.C (parse): change return type to string::size_type
11657 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11660 * Bullet.C (bulletSize):
11661 (bulletEntry): do not use short ints as parameters
11663 * BufferView2.C (insertLyXFile): change a char to an int.
11665 * WorkArea.C (WorkArea): remove unneeded floats in computation
11667 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11669 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11671 * paragraph.C (asString): Do not ignore newline/hfill chars when
11672 copying to the clipboard.
11674 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11676 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11677 after a multi-line inset.
11679 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11681 * paragraph.C (validate): Set NeedLyXFootnoteCode
11683 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11685 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11686 and decrease-error to decrease.
11688 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11691 it more readable (should be equivalent)
11693 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11695 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11697 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11699 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11700 of a cursor (row, etc.) after a character has been deleted
11701 (deleteEmptyParagraphMechanism): call the method above on _all_
11702 cursors held by the LyXText when a double space has been
11705 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11707 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11709 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11711 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11712 background. Use greyOut() and the new show() methods to toggle between
11713 the foreground and background. Add code to remove the splash after
11714 its initial showing.
11716 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11717 (create_forms): no longer call Dialogs::showSplash.
11719 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * .cvsignore: add version_info.h
11723 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11725 * version_info.h.in: new file
11727 * Makefile.am: add version_info.h.in
11729 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11730 version_info.h instead of VERSION_INFO
11732 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11734 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11735 The ERT inset now returns string().
11737 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11739 * lyxtext.h, text.C (selectNextWord): renamed as
11740 selectNextWordToSpellcheck.
11742 * text.C (selectNextWordToSpellcheck): Modified to not select
11743 words inside an ERT inset.
11745 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11747 * lyx_cb.C (MenuLayoutSave): change a bit the question
11749 * sp_base.h: include <sys/types.h>
11751 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11753 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11755 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11757 * several files: fix typos in user-visible strings
11759 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * text2.C (pasteSelection): do not set the selection, since it
11762 will be cleared later. Actually, the intent was to fix the way the
11763 selection was set, but I figured rmoving the code was just as good.
11765 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11767 * FontLoader.C (available): Check if font is available without
11770 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11772 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11774 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11776 * lyxrc.[Ch]: added display_graphics variable and associated code.
11778 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11780 * bufferparams.C (hasClassDefaults): new method. Returns true if
11781 the buffer parameters correspond to known class defaults
11783 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11785 * XFormsView.C (show): set minimum size to the main window.
11787 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11789 * text2.C (copySelection):
11791 * lyxfind.C (LyXReplace):
11792 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11793 LyXText::selectionAsString.
11795 * paragraph.C (asString): add "label" argument to the second form
11797 * text2.C (selectionAsString): add "label" argument and pass it to
11798 Paragraph::asString.
11800 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11802 * lyx_main.C (commandLineHelp): remove version information
11804 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11806 * lyx_main.C: add -version commandline option
11808 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * paragraph.h: make the optional constructor arg required instead.
11811 some modifications to other files because of this.
11813 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11815 * lyxserver.C (C_LyXComm_callback): make it static
11817 * lyx_main.C (error_handler): make it static
11819 * lyx_gui.C (LyX_XErrHandler): make it static
11821 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11823 * WorkArea.C: make the extern "C" methods static.
11825 * Makefile.am (lyx_LDADD): simplify
11827 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11829 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11830 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11832 * LyXAction.C (init):
11833 * lyxfunc.C (dispatch): associated code removal.
11835 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * lyxfont.h (isSymbolFont): shut off warning
11839 * text.C (setHeightOfRow):
11840 (getVisibleRow): fix crash with empty paragraphs which have a
11843 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11845 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11848 2001-09-04 José Matos <jamatos@fep.up.pt>
11851 * tabular.C (docbook): rename docBook method to docbook.
11853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11855 * Makefile.am: add dependencies to main.o.
11857 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11859 * FontLoader.C (available): Return false if !lyxrc.use_gui
11861 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11863 * FontInfo.C (query):
11864 * converter.C (view):
11865 * importer.C (Import):
11866 * exporter.C (Export): Can not -> cannot.
11868 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.C: allow to create index inset even if
11873 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11875 * buffer.C (getLists): replace boost::tie code with an explicit pair
11876 as boost::tie can break some compilers.
11878 * iterators.h: Added a std:: declaration to the return type of
11881 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11883 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11886 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11888 * iterators.[Ch]: New files. Provide paragraph iterators.
11890 * buffer.C (changeLanguage): Use paragraph iterators.
11891 (isMultiLingual): ditto
11893 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11895 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11897 * FontLoader.C: Support for cmr font.
11899 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11901 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11902 (available): New method.
11904 * FontInfo.C (getFontname): Use scalable fonts even when
11905 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11908 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11910 * converter.C (Formats::view): reverted! Incorrect fix.
11912 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11914 * converter.C (Formats::view): only output the -paper option
11915 if the dvi viewer is xdvi, thereby fixing bug #233429.
11917 2001-08-23 Herbert Voss <voss@perce>
11919 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11921 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11923 * Spacing.h (Spacing): Set space to Default on in the default
11926 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * vc-backend.h (RCS::versionString): add RCS to version
11929 (CVS::versionString): add CVS to version
11931 * vc-backend.C (scanMaster): do not add CVS to version.
11932 (scanMaster): do not add RCS to version
11934 * lyxvc.C (versionString): new method
11936 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11938 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * Spacing.C (set): initialize fval
11942 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11944 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11947 2001-08-16 Juergen Vigna <jug@sad.it>
11949 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11951 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11953 * BufferView_pimpl.C:
11956 * text2.C: setParagraph takes linespacing now
11958 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11960 * LyxAction.C: add internal LFUN_CITATION_INSERT
11962 * LyXView.C: actually apply fix
11964 * bufferlist.C: fix open non-existent file
11966 * lyxfind.C: fix indentation
11968 * lyxfunc.C: remove unneeded assert, fix typo
11970 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11972 * MenuBackend.C: use "Floatname List"
11974 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11976 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11977 when converting LaTeX layout to insetERT.
11978 Generate a non-collapsed float when reading old float
11980 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11982 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11985 2001-08-13 Juergen Vigna <jug@sad.it>
11987 * text.C (fill): return 0 instead of 20 as this seems to be the more
11990 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11992 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11995 2001-08-13 Juergen Vigna <jug@sad.it>
11997 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11999 (SearchBackward): comment out the unlocking of the inset_owner this
12000 should not be needed!
12002 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12004 * Many files: Remove inherit_language, and add latex_language
12006 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12007 collapsible insets.
12009 2001-08-10 Juergen Vigna <jug@sad.it>
12011 * text.C (prepareToPrint): fixed hfill-width in draw!
12013 * BufferView2.C (selectLastWord): save the selection cursor as this
12014 now is cleared in the function LyXText::clearSelection!
12016 2001-08-08 Juergen Vigna <jug@sad.it>
12018 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12019 BACKSPACE type functions.
12021 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12022 is only cutted from the document but not put in the cut-buffer, where
12023 still the old stuff should be.
12025 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12027 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12029 * tabular.C (SetWidthOfCell): fixed special case where the width
12031 (LeftLine): handle '|' in align_special.
12033 (LeftAlreadyDrawed): ditto
12034 (SetWidthOfCell): ditto
12036 2001-08-07 Juergen Vigna <jug@sad.it>
12038 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12040 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12043 * lyxlex.[hC]: ditto
12045 2001-08-06 Juergen Vigna <jug@sad.it>
12047 * text.C (getVisibleRow): fix up row clearing a bit.
12049 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * minibuffer.C: make sure the X server sees the changes in the input.
12053 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * paragraph.C (getFont): split into...
12056 (getLabelFont): this
12057 (getLayoutFont): and this
12058 * paragraph_pimpl.C (realizeFont): calling this
12060 * text2.C (getFont): split into...
12061 (getLayoutFont): this
12062 (getLabelFont): and this
12063 (realizeFont): all three calling this
12065 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12068 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12070 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12072 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12074 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12075 layouts from the Quote inset insertion.
12077 2001-08-03 Juergen Vigna <jug@sad.it>
12079 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12081 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12082 only if status not is already CHANGED_IN_DRAW (second level).
12084 * text.C (draw): don't set the need_break_row when inside an
12087 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * buffer.C (parseSingleLyXformat2Token): handle more latex
12092 * bufferview_funcs.[hC]: change function names to
12093 begin with small char, adjust other files.
12095 2001-08-02 André Pönitz <poenitz@gmx.net>
12098 BufferView_pimpl.C: remove broken special code for math-greek
12100 2001-08-02 Juergen Vigna <jug@sad.it>
12102 * BufferView_pimpl.C (update): redone this function so that we
12103 update the text again if there was a CHANGE_IN_DRAW.
12105 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12106 (drawFromTo): added a new internal bool which is used by draw() and
12108 (general): some cursor drawing problems fixed.
12110 2001-08-01 Juergen Vigna <jug@sad.it>
12112 * lyxfind.C (LyXFind): fixed
12113 (SearchForward): ditto
12114 (SearchBackward): ditto
12116 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12117 spurius drawing of the cursor in the main area.
12119 * text2.C (status): small fix which could lead to a segfault!
12120 (clearSelection): remove unneeded BufferView param.
12122 2001-08-01 André Pönitz <poenitz@gmx.net>
12124 * lyxfunc.C: small change due to changed mathed interface
12126 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12128 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12130 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12132 * lyxfunc.c: fail gracefully if file doesn't exist
12137 * BufferView_pimpl.C: IsDirWriteable() proto changed
12139 * LyXView.C: fix updateWindowTitle() to store the last title
12141 2001-07-31 Juergen Vigna <jug@sad.it>
12143 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12144 the font (wrong since using of Paragraph::highestFontInRange).
12146 * paragraph.C (highestFontInRange): added a default_size parameter.
12148 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12149 (setHeightOfRow): reformat
12151 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12153 * converter.[hC] + affected files: move to (inital-char)lowercase
12156 * ParagraphParameters.C (ParagraphParameters): remove commented code
12158 * PainterBase.[Ch]: remove commented code
12160 * LaTeXFeatures.h: add "bool floats" for float.sty
12162 * LaTeXFeatures.C (LaTeXFeatures): init floats
12163 (require): handle float
12164 (getPackages): do it with floats
12166 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12168 * BufferView_pimpl.C (Dispatch): improve handling of
12169 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12171 * commandtags.h: #include lyxfont.h here temporarily to avoid
12174 * bufferlist.h: include LString.h here.
12176 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * text2.C (getStringToIndex): new method.
12180 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12182 * *: Reduced header file dependencies all over.
12184 2001-07-30 Baruch Even <baruch@lyx.org>
12186 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12188 2001-07-29 Baruch Even <baruch@lyx.org>
12190 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12192 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * ParameterStruct.h (endif): add a default constructor to make
12195 sure that all variables is initialized.
12197 * ParagraphParameters.C (ParagraphParameters): adjust
12199 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12202 index; also, check that there is something to index, and that it
12203 does not span over several paragraphs.
12204 (doubleClick): use WHOLE_WORD_STRICT for double click.
12206 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12208 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12211 2001-07-26 Baruch Even <baruch@lyx.org>
12213 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12214 an InsetFig figure, backwards compatible reading of old figure code.
12216 2001-07-27 Juergen Vigna <jug@sad.it>
12218 * text2.C: font.realize function adaption.
12220 * text.C (draw): add a warnings lyxerr text if needed.
12222 * layout.C: font.realize function adaption.
12224 * language.C: add inherit_language and implement it's handlings
12226 * bufferview_funcs.C (StyleReset): remove language parameter from
12227 font creation (should be language_inherit now).
12229 * bufferparams.C (writeFile): handle ignore_language.
12231 * paragraph.C (getFontSettings): the language has to be resolved
12232 otherwise we have problems in LyXFont!
12234 * lyxfont.C (lyxWriteChanges): added document_language parameter
12235 (update): removed unneeded language parameter
12237 * paragraph.C (validate): fixed wrong output of color-package when
12238 using interface colors for certain fonts in certain environments,
12239 which should not seen as that on the final output.
12241 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12243 * BufferView_pimpl.C:
12248 * LyXAction.C: add thesaurus support
12251 * lyxfind.C: add "once" parameter, for thesaurus, to not
12252 move to the next match
12254 2001-07-26 Juergen Vigna <jug@sad.it>
12256 * lyxfont.C (realize): honor ignore_language too!
12259 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12261 * text.C (draw): one place more for ignore_language to not draw
12264 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12266 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12268 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12271 the minipage conversion problem.
12273 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12278 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * BufferView.h: don't forward declare WorkArea
12282 * BufferView.C: don't include WorkArea.h
12284 2001-07-25 André Pönitz <poenitz@gmx.net>
12288 * lyxfunc.C: new LFUN 'math-space'
12290 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12292 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * text2.C (toggleInset): call open/close
12296 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * lyxfunc.C (dispatch): add debug for the disabled case
12300 * font.C (buttonText): make similar to rectText
12302 * buffer.C (readInset): comment out parsing of insetlist and
12305 * PainterBase.C (rectText): small correction
12307 * BufferView_pimpl.C: comment out insettheorem and insetlist
12308 * LyXAction.C: ditto
12309 * commandtags.h: ditto
12311 2001-07-24 Juergen Vigna <jug@sad.it>
12313 * text.C (draw): honor the ignore_language.
12315 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12317 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12322 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12324 * lyxtext.h: remove unused (and unimplemented) methods
12326 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12328 * text.C (getVisibleRow): honor background color
12331 * Painter.h: remove default color argument for fillRectangle
12333 * text.C (backgroundColor): new method
12335 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * text.C (getVisibleRow): adjust
12339 * font.[Ch] (rectText): new method, metrics
12340 (buttonText): new method, metrics
12342 * PainterBase.[hC]: make rectText and buttonText always draw and take
12345 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12347 * ToolbarDefaults.C (read):
12348 * MenuBackend.C (read): allow escaping in all strings
12350 * BufferView_pimpl.C (insertAndEditInset): new method.
12351 (Dispatch): use insertAndEditInset whenever appropriate.
12353 * BufferView_pimpl.C (insertNote): removed
12355 * BufferView_pimpl.C (smartQuote): new method, moved from
12356 BufferView; if an insetquote cannot be inserted, insert a '"'
12359 * BufferView2.C: remove insertCorrectQuote();
12361 * lyxfunc.C (getStatus): Add support for all remaingin
12362 inset-insert lfuns.
12364 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12366 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12367 command (necessary to pass " as parameter of self-insert.
12369 * text.C (selectWordWhenUnderCursor):
12370 (selectWord): add word_location parameter
12371 (selectWordWhenUnderCursor): same + remove special code for word
12373 (selectNextWord): use kind() to guess type of insetspecialchar,
12376 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12377 (insertErtContents): create ert insets as collapsed.
12378 (readInset): better compatibility code for Info inset.
12380 2001-07-20 Juergen Vigna <jug@sad.it>
12382 * lyxfunc.C (dispatch): use always LyXFind now!
12384 * text2.C (init): add a reinit flag so that the LyXText can be
12385 reinited instead of deleted and reallocated (used in InsetText).
12387 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12393 2001-07-18 Juergen Vigna <jug@sad.it>
12395 * text.C (selectNextWord): handle insets inside inset by calling
12396 always the bv->text functions so that we can go up the_locking_inset!
12398 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12399 in strange locations when inside an inset!
12401 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12402 handling to include insets.
12404 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12406 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12408 * LyXAction.C (init):
12410 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12411 LIGATURE_BREAK, since the name is so stupid.
12413 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12415 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12418 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12420 * sp_form.[Ch]: remove.
12422 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12424 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12427 * src/buffer.C (readInset): ditto.
12429 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12431 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12432 menuSeparator(), endOfSentenceDot(), ldots() and
12433 hyphenationPoint(), which are therefore removed.
12434 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12436 * LyXAction.C (init):
12437 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12439 * paragraph.C (getWord): removed.
12441 * BufferView_pimpl.C (Dispatch): use last word or selection for
12442 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12444 * lyx_main.C (queryUserLyXDir): do not ask before creating
12445 user_dir, except if it has been named explicitely.
12447 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12449 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12450 a document of zero size.
12452 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12454 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12455 approriately in the c-tor and in require().
12456 (getPackages): output the appropriate LaTeX for natbib support.
12458 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12459 variables "use_natbib" and "use_numerical_citations" when reading the
12461 (readInset): read the various natbib cite commands.
12462 (validate): white-space change.
12464 * bufferparams.[Ch]: new variables "bool use_natbib" and
12465 "bool use_numerical_citations".
12466 (writeFile): output them in the LyX file.
12468 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12470 * lyxfunc.C (getStatus): add support for all the inset insertion
12473 * text2.C (insertInset):
12474 * paragraph.C (insetAllowed):
12475 * BufferView_pimpl.C (insertInset): update to take in account the
12476 renaming of insertInsetAllowed
12478 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12480 * text2.C (getInset): new method. returns inset at cursor position.
12482 * BufferView_pimpl.C (Dispatch): changes because of this.
12484 * LyXAction.C (init): rename open-stuff to inset-toggle.
12486 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12488 * text2.C (toggleInset): renamed from openStuff; use
12491 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12493 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12495 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12497 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12499 * buffer.C (readLyXformat2): Add filename to the error dialog
12501 2001-07-18 Juergen Vigna <jug@sad.it>
12503 * tabular.C (GetCellNumber): put an assert here instead of the check!
12505 2001-07-17 Juergen Vigna <jug@sad.it>
12507 * BufferView_pimpl.C (toggleSelection): adapted too.
12509 * text.C (selectNextWord): adapted for use with insets.
12510 (selectSelectedWord): ditto
12512 2001-07-17 Juergen Vigna <jug@sad.it>
12514 * sp_spell.C (PSpell): fix initialitation order.
12516 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * paragraph.C: spacing
12520 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12522 * sp_spell.C: repair language selection for pspell
12524 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * lyxfunc.h: change more methods to begin with lower char.
12528 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12530 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12531 for unknown layouts.
12533 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12535 * buffer.C (readLyXformat2): Generate an error dialog if there are
12538 2001-07-16 Juergen Vigna <jug@sad.it>
12540 * sp_spell.C: always compile ISpell part.
12542 * lyxrc.C: added use_pspell entry and it's handling.
12544 2001-07-13 Juergen Vigna <jug@sad.it>
12546 * sp_spell.C: removed double includes.
12548 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12550 Consistent use of Lsstream.h:
12551 * Lsstream.h: added using std::stringstream for consistencies sake.
12553 * buffer.C: removed using std::stringstream
12555 * lyxfont.C (stateText):
12556 * paragraph.C (asString):
12557 * text.C (selectNextWord, selectSelectedWord):
12558 * text2.C (setCounter):
12559 * vspace.C (asString, asLatexString):
12560 std::ostringstream -> ostringstream.
12562 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12564 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12565 * commandtags.h: add LFUN_HELP_ABOUTLYX
12566 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12568 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12570 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12572 * lyx_gui_misc.C: remove spellchecker
12573 * lyxfunc.C: showSpellchecker
12575 * sp_ispell.h: added
12576 * sp_pspell.h: added
12577 * sp_spell.C: added
12578 * sp_form.[Ch]: removed
12579 * spellchecker.[Ch]: removed
12581 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12583 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12585 (simpleTeXSpecialChars): Simply print the input character without
12586 any special translation if pass_thru is set.
12588 * layout.h: Added bool pass_thru to layout class for being able to
12589 implement pass through of a paragraph for Literate Programming.
12591 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12592 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12593 * layout.C (Read): add "passthru" to list of layout tags and add
12594 code to set the pass_thru boolean when it is read.
12596 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * trans_decl.h: remove allowed from KmodInfo
12600 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12601 remove allowed code
12604 * paragraph_pimpl.C (erase): use boost::prior
12606 * Painter.C (text): use data() instead of c_str() when length is
12608 * WorkArea.C (putClipboard): ditto
12609 * font.h (width): ditto
12611 * BufferView2.C: use it-> instead of (*it). for iterators
12613 * paragraph_pimpl.C: ditto
12614 * paragraph.C: ditto
12615 * minibuffer.C: ditto
12616 * language.C: ditto
12618 * encoding.C: ditto
12619 * counters.C: ditto
12620 * converter.C: ditto
12622 * Variables.C: ditto
12623 * TextCache.C: ditto
12624 * MenuBackend.C: ditto
12625 * LyXAction.C: ditto
12627 * FloatList.C: ditto
12628 * DepTable.C: ditto
12629 * ColorHandler.C (LyXColorHandler): ditto
12631 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12633 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12635 * text2.C (openStuff): reintroduce this method (which had been
12636 nuked in NEW_INSETS frenzy).
12638 * lyxfunc.C (Dispatch): when an action has not been handled, use
12639 its name in the error message, not its number.
12641 * paragraph.C (inInset): change method name to begin with lowercase.
12644 * text2.C: updates because of this.
12646 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12648 * ToolbarDefaults.C (add): add spaces in error message
12650 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12653 (readLyXformat2): rename return_par to first_par, use lyxlex's
12654 pushToken and remove the manual push handling.
12655 (parseSingleLyXformat2Token): add another ert comp. variable:
12656 in_tabular, rename return_par to first_par. handle newlines better
12658 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12660 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12662 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * text2.C (getParFromID): removed
12666 * buffer.C (getParFromID): new method moved form lyxtext.
12667 * BufferView2.C (insertErrors): adjust
12668 (setCursorFromRow): adjust
12669 * BufferView_pimpl.C (restorePosition): adjust
12670 * lyxfunc.C (Dispatch): adjust
12671 * undo_funcs.C (textUndo): adjust
12673 (textHandleUndo): adjust
12674 (textHandleUndo): adjust
12676 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12678 * buffer.C: up' the LYX_FORMAT
12680 * lyxfont.h: turn NO_LATEX on as default
12682 * buffer.C (insertErtContents): new methods of tex style compability.
12683 (parseSingleLyXformat2Token): use it several places.
12684 * tabular.C (OldFormatRead): and here
12686 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * text2.C: remove some commented code.
12691 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12692 * trans.C: changes because of the above.
12694 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12696 * text2.C (setCounter): Fix counters bug with bibliography layout.
12698 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12701 own member functions
12702 (simpleTeXSpecialChars): ditto
12704 2001-07-06 Juergen Vigna <jug@sad.it>
12706 * a lot of files: changed the access to LyXText::status and the
12707 call of undo-functions.
12709 * undo.[Ch]: added a inset_id to the undo informations.
12711 * undo_funcs.[Ch]: added and moved here all undo functions.
12713 * lyxtext.h: give the status enum a weight, made status_ a private
12714 variable and made accessor functions for it, removed the whole bunch
12715 of undo-functions as they are now in their own file, make some
12716 functions publically available. Added function ownerParagraph with
12719 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12720 made InInset() a const function, added getParFromID() function.
12722 * buffer.[Ch]: added const version for inset_iterator functions,
12723 added getInsetFromID() function.
12725 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12726 changed undo functions for new version.
12728 2001-07-05 Juergen Vigna <jug@sad.it>
12730 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12731 unknow mechanism does not call the proper constructor but only this
12732 one also if I request the other!?
12734 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12738 * text2.C (LyXText): use initialization lists.
12740 * lyxtext.h (Selection): initialize set_ and mark_
12741 (init): remove method
12743 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12745 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12747 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * screen.[Ch]: change method names to begin with lowercase
12751 * BufferView_pimpl.C (updateScrollbar): simplify further and
12752 hopefully make it a bit faster.
12754 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12756 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12757 calling directly xforms functions.
12759 * Painter.C (Painter):
12760 * lyx_cb.C (MenuWrite):
12761 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12764 * lyx_gui.C: remove bogus guiruntime extern declaration.
12766 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12770 (redoDrawingOfParagraph): ditto
12771 (redoParagraphs): ditto
12772 (cutSelection): don't create a object for CutAndPaste use the
12773 static method directly
12774 (pasteSelection): ditto
12776 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12779 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * modifications to some other files because of this.
12783 * Makefile.am (lyx_SOURCES): add XFormsView
12785 * XFormsView.[Ch]: new files
12787 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12788 the main window. Move the gui dependent stuff to XFormsView
12790 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12792 * tabular.C (GetCellInset): update cur_cell also in the row/col
12793 version of this function.
12795 * lyxfunc.C: no need to include figure_form.h here.
12801 * lyxvc.C: no need to include forms.h here.
12803 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12805 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12807 * lyxfunc.C (Dispatch):
12809 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12810 constructor argument.
12812 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * paragraph.C (Paragraph): dont't clear, and just set layout.
12815 (makeSameLayout): use params's copy contructor.
12817 * ParagraphParameters.[Ch] (makeSame): delete method
12819 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12821 * Variables.[Ch]: fix indentation, rename set to isSet
12823 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * lyxfunc.C (Dispatch): fix typo
12827 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12832 * bufferlist.C: include assert.h for emergencyWrite().
12834 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12836 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12837 give up at last (bug #425202) !
12839 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12845 * spellchecker.C: strip spellchecker options and bring up
12846 preferences tab instead
12848 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12851 the istringstream constructor
12853 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * paragraph.C (getLayout): fix return value
12857 * paragraph.h: do not declare getLayout as inline.
12859 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12861 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * lyxcursor.h (operator<): new func
12864 (operator>): new func
12865 (operator>=): new func
12866 (operator<=): new func
12868 * text.C (changeCase): use selection.start and selection.end
12869 (changeRegionCase): require from to be <= to. Require par to be a
12872 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12874 2001-06-27 Juergen Vigna <jug@sad.it>
12876 * text.C (cursorLeftOneWord): changed to return the cursor and added
12877 overlay with BufferView * parameter which calls this one.
12879 (selectWord): use new getWord function.
12880 (changeCase): renamed from changeWordCase as and extended to work
12881 also on selections.
12883 * lyxtext.h: added enum word_location
12885 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12886 changeCase as this operates now also on selections.
12888 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12890 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12892 * many files: send debug output to Debug::INFO instead of
12895 * converter.C (View):
12897 (Move): send debug output to Debug::FILES instead of console.
12899 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12901 * lyxfunc.C (getStatus): use func_status
12903 * func_status.h: new header, describing the results of
12904 LyXFunc::getStatus;
12906 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12909 2001-06-25 The LyX Project <jug@sad.it>
12911 * buffer.C (sgmlOpenTag):
12913 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12915 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * text2.C: remove some dead code
12919 * tabular.C (GetCellInset): store the last cell checked (gotten)
12921 * tabular.h: add the helper for the speedup
12923 * lyxtext.h: remove some dead code
12925 2001-06-26 The LyX Project <Asger>
12927 * paragraph.C: Change export to LaTeX of alignment to
12928 \begin{center} and family for better roundtrip work with reLyX.
12930 * Tune the math drawing a bit.
12932 2001-06-25 The LyX Project <Asger>
12934 * LColor.C (LColor): New color for math background. New color
12937 2001-06-25 The LyX Project <jug@sad.it>
12939 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12941 * lyxfunc.C (Open):
12942 * bufferlist.C (newFile): do not restrict to files ending with
12945 * BufferView_pimpl.C (MenuInsertLyXFile):
12947 2001-06-24 The LyX Project <jug@sad.it>
12949 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12952 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * lyxtext.h: rename most methods to begin with a small char.
12955 Lots of changes because of this.
12957 * paragraph.C (Paragraph): do not call fitToSize
12958 (erase): call Pimpl::erase
12959 (insertChar): call Pimpl::insertChar
12960 (insertInset): call Pipl::insertInset
12961 (breakParagraph): do not call fitToSize
12962 (breakParagraphConservative): do not call fitToSize
12963 (fitToSize): remove method
12965 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12967 2001-06-24 The LyX Project <Asger>
12969 * Fix Qt compilation^2
12971 2001-06-24 The LyX Project <jug@sad.it>
12973 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12974 depthHook(getDepth()-1).
12977 * ParagraphParameters.h:
12978 * ParameterStruct.h: change type of depth to unsigned int ==
12979 depth_type. Many adaptations to other files before of that.
12981 2001-06-24 The LyX Project <Asger>
12983 * Fix Qt compilation.
12985 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * paragraph.h: renamed several methods to begin with small letter.
12988 several changes to many parts of the code because of this.
12990 2001-06-23 The LyX Project <jug@sad.it>
12992 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12993 rewritten to discard all double spaces when KeepEmpty is off
12994 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12995 to only handle newlines but not fiddle with spaces and friends.
12997 * lyxfunc.C (MenuNew): when doing 'new from template', use
12998 template_path as default directory
13000 2001-06-23 The LyX Project <Asger>
13002 * Clean-up of header file includes all over
13003 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13005 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13007 * paragraph.h: renamed from lyxparagraph.h
13009 2001-06-23 Asger <lyx@violet.home.sad.it>
13011 * Buffer.h: Removed Buffer::resize
13012 * BufferList.h: Removed BufferList::resize
13013 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13014 the document lazily when we change the width, or the font settings.
13016 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13018 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13020 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13022 * buffer.h: remove out of date comment
13024 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13027 * screen.C: fix "theoretical" GC leak
13029 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * LaTeX.C (scanAuxFile):
13032 (deplog): remove trailing \r when reading stream (useful under
13035 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13037 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13038 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13039 and BufferView::theLockingInset(Inset*), so should use them and not
13040 access bv_->text->the_locking_inset directly.
13042 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13044 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13047 * tex-defs.h: remove old unused file
13049 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13051 * BufferView_pimpl.C: fix typo, remove minibuffer message
13052 when buffer has loaded
13054 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * lyxfunc.C (Dispatch): use stringstream
13057 (MenuNew): use stringstream
13058 (Open): use stringstream
13060 * importer.C (Import): use stringstream
13062 * bufferview_funcs.C (CurrentState): use stringstream
13064 * LaTeX.C (run): use stringstream
13066 * BufferView_pimpl.C (savePosition): use stringstream
13067 (restorePosition): use stringstream
13068 (MenuInsertLyXFile): use stringstream
13070 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13083 * vspace.C: removed // -*- C++ -*- as first line.
13086 * version.h: added // -*- C++ -*- as first line.
13088 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13092 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13095 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13100 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13102 * gettext.C: include LString.h even when --disable-nls is on.
13104 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13106 * converter.h (Get): changed argument type from int to
13107 FormatList::size_type to avoid unnecessary conversion.
13109 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13112 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * gettext.h: include LString.h even when --disable-nls is on.
13116 2001-06-07 Juergen Vigna <jug@sad.it>
13118 * text.C (BreakAgain): subst spaces with tabs.
13120 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13121 (resizeInsetsLyXText): set force on resizeLyXText.
13123 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13125 * gettext.h (gettext_init):
13126 (locale_init): use a real definition instead of a macro
13128 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13130 * Bufferview_pimpl.C:
13132 * LColor.C: further lcolor tidies
13134 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13136 * BufferView_pimpl.C (updateScrollbar): simplify.
13138 * BufferView2.C: don't include insets/insetinfo.h, change
13139 prototype for insertInset and call the Pimpl version. let
13140 updateInset call Pimpl version.
13142 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13143 gotoInset to BufferView::Pimpl
13145 2001-06-01 Juergen Vigna <jug@sad.it>
13147 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13148 inside a LockingInset (is the update needed at all?).
13150 2001-05-31 Juergen Vigna <jug@sad.it>
13152 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13153 here not the old one otherwise how should we compare it afterwards
13156 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13161 * FontInfo.C: bring C functions into global namespace when
13164 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * LString.h: make sure config.h has been loaded before LString.h.
13168 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13169 (one for each char read by EatLine!).
13171 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13174 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13177 to the same as the par we break from
13179 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13183 * MenuBackend.C (expand): also create menu entries for wide
13184 versions of the floats.
13186 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13188 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13190 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13191 frontends/Makefile.am
13197 * tabular.C (getTokenValue): add std::
13199 * tabular-old.C (getTokenValue): add std::
13200 (getTokenValue): ditto
13201 (getTokenValue): ditto
13203 * screen.C (ToggleSelection): adjust
13205 * lyxtext.h: put selection cursors inside a Selection struct.
13207 * lyxfunc.C (moveCursorUpdate): adjust
13209 * lyxfont.C (latexWriteStartChanges): add std::
13211 * lyxfind.C: adjust
13213 * font.h: delete with(char const *, LyXFont const &)
13215 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13217 * FontInfo.C (getFontname): add std::
13219 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13220 (workAreaButtonPress): adjust
13221 (tripleClick): adjust
13223 (moveCursorUpdate): adjust
13226 * BufferView2.C (gotoInset): adjust
13228 2001-05-30 Juergen Vigna <jug@sad.it>
13230 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13231 to check pspell I add this as default as I now have new pspell
13232 libraries and they seem to use this.
13234 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * text2.C (CutSelection): make the cursor valid before the call to
13239 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13242 relied on 0 terminated strings and other horrors. Bug found due to
13243 the new assert in lyxstring!
13245 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13248 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13253 * lyxfunc.C (processKeySym): change method of getting to the
13256 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13257 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13258 * BufferView_pimpl.[Ch]: here as private methods.
13260 2001-05-28 Juergen Vigna <jug@sad.it>
13262 * text.C (SetHeightOfRow): added the update() call again as it is
13263 needed to initialize inset dimensions!
13265 2001-05-16 Juergen Vigna <jug@sad.it>
13267 * text2.C (SetCharFont): Add new function with BufferView * and
13268 bool toggleall parameters for setting insets internal fonts.
13269 (SetFont): Freeze the undo as we may change fonts in Insets and
13270 all this change should be inside only one Undo!
13272 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13273 setting font's in insets as for them we have the SetFont function!
13275 2001-05-15 Juergen Vigna <jug@sad.it>
13277 * text2.C (ClearSelection): to be sure we REALLY don't have any
13280 * tabular.C (TeXCellPreamble): fixed the left border problem for
13283 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13285 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13288 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13291 LFUN_BREAKPARAGRAPH.
13293 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13294 help test to "internal only", similar for LFUN_INSERT_URL
13296 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13297 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13298 auto_region_delete and deadkeys.
13300 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13303 * LColor.C: remove some dead entries, tidy a little
13305 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13309 (Dispatch): implement LFUN_ESCAPE
13311 * commandtags.h: add LFUN_ESCAPE
13313 * LyXAction.C (init): add entry for LFUN_ESCAPE
13315 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13316 Remove commented code.
13317 (insertNote): moved here
13318 (open_new_inset): moved here
13320 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13323 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13325 * kbmap.C (findbinding): clean it up and make it work correctly.
13327 * lyx_main.C (init): do not pass argc and argv as parameters
13329 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13331 * buffer.C: fix path for OS/2 & Win32
13335 * lyx_main.C: Added os:: class.
13337 * os2_defines.h: update
13339 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13342 better by trying again with reduced state.
13344 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * lyxrc.C (read): print error about invalid key sequence only when
13347 debugging (because not all latinX keysyms are known to some X
13350 * kbsequence.C (getiso): add a few std:: qualifiers
13351 (getiso): comment out extra return statement.
13353 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13357 (Dispatch): enhance the accent inset a bit. (not perfect)
13359 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13363 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * bufferlist.C (emergencyWrite): fix assert() call
13367 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13369 * text.C (InsertChar): Added trivial patch to only send the "you
13370 can not do multiple spaces this way" message once during a
13373 2001-05-08 Baruch Even <baruch@lyx.org>
13375 * Makefile.am: Changed order of libraries to get LyX to link properly
13376 with the gnome frontend.
13378 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13380 * LaTeXFeatures.h: add a std:: qualifier
13382 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * paragraph.C (String): use stringstream
13386 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * paragraph.C (writeFile): remove footflag arg
13390 * buffer.C (makeLaTeXFile): use stringstream
13391 (latexParagraphs): remove footnot gurba
13393 * LaTeXFeatures.C (getPackages): use stringstream
13394 (getMacros): likewise
13395 (getTClassPreamble): likewise
13396 (getFloatDefinitions): new method
13398 * paragraph.C (writeFile): reindent
13401 * WorkArea.h: revert the xpos + etc changes.
13403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13405 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13407 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13408 (pasteSelection): likewise
13409 * text2.C (CreateUndo): likewise
13411 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * minibuffer.C (peek_event): temporarily reduce the functionality
13414 of the minibuffer (to allow args on lfuns)
13416 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13417 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13419 * buffer.C (readInset): add compability reading of old float
13420 lists, add reading of new style float list.
13421 (readInset): avoid reevaluation of inscmd.getCmdName()
13422 (getLists): reindent
13424 * MenuBackend.C (MenuItem): implement parsing of
13425 md_floatlistinsert and md_floatinsert.
13426 (expand::LastFiles): move initalizaton of iterators out of loop,
13427 avoid reevaluation.
13428 (expand::Documents): introduce typdedef vector<string> Strings,
13430 (expand::ExportFormats): introduce typedef vector<Format const *>
13431 Formats, and use it.
13432 (expand): implement FloatListInsert and FloatInsert.
13434 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13435 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13436 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13438 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13440 (Dispatch::LFUN_FLOAT_LIST): implement
13442 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13444 * LaTeX.C (run): Fix problem with --export code.
13446 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13448 * BufferView.[Ch] (workarea): removed.
13449 (getClipboard) new method; wrapper for workarea()->getClipboard()
13451 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13454 * WorkArea.h (width, height, xpos, ypos): These methods all
13455 returned the dimensions of the work_area sub-area of WorkArea,
13456 resulting in a position error if the WorkArea were resized. Now
13457 return the dimensions of the entire WorkArea.
13459 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13461 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13463 * LaTeX.C (deplog): correct the syntax of regex reg1
13465 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * undo.C: remove !NEW_INSETS cruft
13469 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * text2.C: remove !NEW_INSETS cruft
13473 * text.C: remove !NEW_INSETS cruft
13475 * tabular.C: remove !NEW_INSETS cruft
13477 * spellchecker.C: remove !NEW_INSETS cruft
13479 * lyxtext.h: remove !NEW_INSETS cruft
13481 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13483 * lyxfunc.C: remove !NEW_INSETS cruft
13485 * lyxfind.C: remove !NEW_INSETS cruft
13487 * lyx_cb.C: remove !NEW_INSETS cruft
13489 * figureForm.C: remove !NEW_INSETS cruft
13491 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13493 * buffer.[Ch]: remove !NEW_INSETS cruft
13495 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13497 * CutAndPaste.C: remove !NEW_INSETS cruft
13499 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13501 * BufferView2.C: remove !NEW_INSETS cruft
13503 * BufferView.h: remove !NEW_INSETS cruft
13505 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * Lsstream.h: include LString.h before the sstream headers to
13508 fix problem with gcc 2.95.3 and lyxstring
13510 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * lyx_main.C: add using directives when needed for C functions
13513 declared in std:: namespace.
13515 2001-04-27 Juergen Vigna <jug@sad.it>
13517 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13518 (SetHeightOfRow): comment out the update call should not be needed!
13520 2001-04-13 Juergen Vigna <jug@sad.it>
13522 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13523 (LyXTabular): tried to minimize operator= operations (and realized
13524 hopfully Lars wish).
13526 2001-04-27 Juergen Vigna <jug@sad.it>
13528 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13530 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13534 * buffer.C (readInset): hack to make listof algorithm work
13536 * BufferView_pimpl.C: hack to make listof algorithm work
13538 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * LyXAction.C: removed all !NEW_INSETS cruft
13541 (init): moved lfun_item in method
13543 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13545 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13547 * BufferView2.C (theLockingInset): white space.
13549 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13551 * minibuffer.C: include <iostream>
13553 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13555 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13557 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13559 * text.[Ch] (TransposeChars): new method
13561 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * call message directly through LyXView instead of through LyXFunc
13564 * BufferView2.C: adjust
13565 * BufferView_pimpl.C: adjust
13566 * FontLoader.C: adjust
13568 * bufferview_funcs.C: adjust
13569 * converter.C: adjust
13570 * figureForm.C: adjust
13571 * importer.C: adjust
13573 * lyx_gui_misc.C: adjust
13574 * lyxfunc.C: adjust
13577 + more files in subdirs
13579 * lyxparagraph.h (size): move up int file
13582 * adjust all uses of Assert to lyx::Assert.
13584 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13585 lyxfunctional in namespace lyx
13586 * layout.C (hasLayout): ditto
13589 (delete_layout): ditto
13590 (NumberOfClass): ditto
13591 * converter.C (GetFormat): ditto
13596 * bufferlist.C (getFileNames): ditto
13597 (emergencyWriteAll): ditto
13600 * MenuBackend.C (hasSubmenu): ditto
13603 * BufferView_pimpl.C (getInsetByCode): ditto
13605 2001-04-18 Juergen Vigna <jug@sad.it>
13607 * vspace.C (asLatexString): fixed the 100% problem.
13609 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * lyxfunc.C (Dispatch):
13613 * minibuffer.h: add a few std:: qualifiers
13615 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * minibuffer.[Ch]: reimplement so that commands is initiated and
13618 run from lyxfunc, simplified som handling, and made the completion
13619 and history code for complete. wip.
13621 * lyxfunc.C (processKeySym): call message
13622 (miniDispatch): new temporary method
13623 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13624 (LFUN_MESSAGE): implement
13625 (LFUN_MESSAGE_PUSH): implement
13626 (LFUN_MESSAGE_POP): implement
13627 (initMiniBuffer): the initial/defualt minibuffer message.
13629 * lyxfont.[Ch]: inline some more getters
13631 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13633 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13635 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13636 (AutoSave): use LFUN_MESSAGE
13637 (Reconfigure): ditto
13639 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13641 * figureForm.C: use LFUN_MESSAGE
13643 * converter.C (runLaTeX): use LFUN_MESSAGE
13645 * bufferview_funcs.C: use LFUN_MESSAGE
13647 (changeDepth): ditto
13649 * bufferparams.h: use boost::
13651 * bufferlist.h: inherit privately from noncopyable
13653 * bufferlist.C (loadLyXFile): remove some commented code.
13655 * buffer.C (runChktex): use LFUN_MESSAGE
13657 * ShareContainer.h: inherit privately from noncopyable
13659 * ParagraphParameters.[hC] (depth): inline it.
13661 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13663 (message): new method
13664 (messagePush): ditto
13665 (messagePop): ditto
13666 (show): init minibuffer
13667 (showState): direct call
13669 * LaTeX.[Ch]: inherit privately from noncopyable
13670 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13671 instead of WriteStatus.
13673 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13675 * BufferView_pimpl.C (buffer): don't init minibuffer
13676 (workAreaButtonPress): use LFUN_MESSAGE
13677 (workAreaButtonRelease): ditto
13678 (savePosition): ditto
13679 (restorePosition): ditto
13680 (MenuInsertLyXFile): ditto
13681 (workAreaExpose): don't init minibuffer
13682 (update): remove commented code, simplify
13684 * BufferView2.C (openStuff): use LFUN_MESSAGE
13685 (toggleFloat): ditto
13688 (copyEnvironment): ditto
13689 (pasteEnvironment): ditto
13694 (updateInset): remove some commented code
13696 * lastfiles.h: inherit privately from noncopyable
13699 * lyx_main.h: ditto
13701 * lyxlex_pimpl.h: ditto
13703 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13704 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13705 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13707 * LyXAction.h: inherit privately from noncopyable, add methods
13708 func_begin, func_end, returning iterators to the func map.
13710 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13711 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13712 (func_begin): new method
13713 (func_end): new method
13715 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13717 (copySelection): ditto
13718 (pasteSelection): ditto
13720 * BufferView.C: whitespace change
13721 * BufferView.h: inherit privately from noncopyable
13723 2001-04-16 Allan Rae <rae@lyx.org>
13725 * tabular-old.C (l_getline):
13726 * spellchecker.C (sc_check_word):
13727 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13728 an unrecognised preprocessor directive. So ensure they're wrapped.
13730 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13732 * src/exporter.C (Export): Give an error message when path to file
13735 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13737 * LaTeX.C (deplog): Always check that foundfile exists.
13739 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13744 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * tabular.[Ch] (getLabelList): implement new method
13748 * minibuffer.h: comment ouf setTiimer
13750 * minibuffer.C (ExecutingCB): constify res
13751 (peek_event): constify s
13752 (Set): constify ntext
13753 (Init): constify nicename
13755 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13757 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13758 (savePosition): use two params to Minibuffer::Set
13759 (restorePosition): ditto
13761 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13763 * lyx_main.C: include language.h
13765 * Makefile.am (lyx_main.o): add language.h
13767 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13773 * CutAndPaste.C: include gettext.h
13775 * lyxfont.h: remove old hack with ON and OFF.
13778 * lyxfont.h: do not include language.h...
13783 * bufferview_funcs.C:
13789 * paragraph.C: ... but do it here instead
13791 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13795 * tabular.C: small reformat
13797 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13800 (BreakParagraph): ditto
13801 (SetOnlyLayout): ditto
13804 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13807 * lastfiles.C: removed most using decl, add std:: where needed
13809 * buffer.C: ws changes
13811 * MenuBackend.C (class compare_format): put into anon namespace
13812 (expand): constify label, names, action, action2
13815 * text.C (SingleWidth): constify font
13816 (IsBoundary): constify rtl2
13817 (GetVisibleRow): constify ww
13819 * LaTeX.C (deplog): constify logfile
13821 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13823 (workAreaExpose): constify widthChange, heightChange
13825 * lyxrow.C (par): moved
13828 * lyxrow.h: as inlines here
13830 * lyxfont.h (shape): moved from lyxfont.C
13831 (emph): moved from lyxfont.C
13833 * lyxfont.C (LyXFont): use initialization list for all
13835 (shape): move to lyxfont.h as inline
13836 (emph): move to lyxfont.h as inline
13839 2001-04-04 Juergen Vigna <jug@sad.it>
13841 * vspace.C: had to include stdio.h for use of sscanf
13843 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13846 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13847 independent of xforms.
13849 2001-04-02 Juergen Vigna <jug@sad.it>
13851 * spellchecker.C: fixed namespace placing!
13853 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13855 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13856 the LyXParagraph * is 0.
13858 2001-03-29 Juergen Vigna <jug@sad.it>
13860 * vspace.C: added support for %, c%, p%, l%.
13861 (stringFromUnit): added helper function.
13862 (asLatexString): changed to give right results for the %-values.
13864 * buffer.C: convert the widthp in a width%.
13866 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13868 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13871 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13872 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13874 * lyx_cb.[Ch]: see above.
13876 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13880 * lyx.[Ch]: replaced by figure_form.[Ch].
13884 * lyxfunc.C: changed headers associated with above changes.
13886 2001-03-27 Juergen Vigna <jug@sad.it>
13888 * BufferView_pimpl.C: set the temporary cursor right!
13890 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13892 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13894 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13896 * LString.h: removed "using std::getline"!
13898 * BufferView_pimpl.C (Dispatch): changes due to changes in
13899 InsetInclude::Params.
13901 * buffer.C (tag_name): removed redundant break statements as they were
13902 producing lots of warnings with my compiler.
13904 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * LString.h: add "using std::getline" when using the real <string>.
13908 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13910 * buffer.C: removed bitset usage.
13911 PAR_TAG moved to an anonymous name space.
13912 (tag_name): new funtion, also in the anonymous namespace.
13913 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13914 (makeDocBookFile): clean code. Completed transition from string arrays
13916 (SimpleDocBookOnePar): code clean.
13918 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13920 * tabular.C: add some comments.
13922 2001-03-22 Juergen Vigna <jug@sad.it>
13924 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13925 compatibility read a bit and fixed bug with minipage in different
13928 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13930 * buffer.C (pop_tag): removed.
13931 (push_tag): removed.
13932 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13933 array replaced with vector. Added support for CDATA sections.
13934 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13936 (makeDocBookFile): XML conformant declaration of CDATA section,
13937 fixed bug related to <emphasis> in the first paragraph char.
13938 (sgmlOpenTag): exclude empty tags.
13939 (sgmlCloseTag): ditto.
13941 * buffer.h (pop_tag): removed.
13942 (push_tag): removed.
13944 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13946 * language.h (Languages): added size_type and size().
13948 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13950 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13951 response on compability reading of minipages. One probliem is that
13952 the old usage of minipages was «flertydig»
13954 * several files here and in subdirs: don't use static at file
13955 scope use anon namespaces instead.
13957 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13959 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13960 LaTeX output. This is necessary for Literate document
13963 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13965 * buffer.C: insert hfill when needed.
13967 * tabular.C (l_getline): use string::erase, small whitespace change.
13969 * BufferView_pimpl.C: try the anon namespace.
13970 * WorkArea.C: ditto
13972 2001-03-16 Juergen Vigna <jug@sad.it>
13974 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13975 otherwise it won't open options-dialogs.
13977 * buffer.C: honor pextraWidth(p) on converting minipages.
13979 * tabular.C (l_getline): changed the functions to strip trailing \r.
13981 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13983 * BufferView_pimpl.C:
13984 * minibuffer..C: added "using SigC::slot" declaration.
13986 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13988 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13994 * paragraph.C: ditto
13996 * lyxtext.h: NO_PEXTRA
13998 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14000 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14001 * ParameterStruct.h: ditto
14002 * ParagraphParameters.h: ditto
14003 * lyxparagraph.h: ditto
14005 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14007 * buffer.C: add compability for minipage alignment.
14008 (latexParagraphs): remove unwanted pextra check.
14010 * several files: remove CXX_WORKING_NAMESPACES
14012 * buffer.C (pop_tag): tie is in namespace boost
14014 * BufferView.h: noncopyable is in namespace boost
14016 * lyx_main.h: ditto
14019 * lastfiles.h: ditto
14020 * bufferlist.h: ditto
14021 * ShareContainer.h: ditto
14023 * LyXAction.h: ditto
14026 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14028 * Merging changes from BRANCH_MVC back into HEAD.
14030 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14032 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14034 * BufferView_pimpl.C: change from intl.C
14038 * Makefile.am: move combox.*
14044 * intl.C: remove dialog (covered by prefs)
14046 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14048 * lyxfunc.C (Dispatch): removed redundant break statement.
14050 2001-03-14 Juergen Vigna <jug@sad.it>
14052 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14054 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14056 * buffer.C: add hack to fix compability reading of minipages.
14058 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14060 * buffer.C (getLists): Cleanup.
14062 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * lyxfont.C (update): don't honor toggleall on font size.
14066 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14070 * Makefile.am: moved to frontends/xforms/
14074 * BufferView_pimpl.C: changes for moved mathpanel
14076 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14078 * gettext.h: fix gettext_init() in --disable-nls
14080 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14084 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14087 * lyx.h: strip external form
14089 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14091 * BufferView_pimpl.C: add comment, destroySplash()
14093 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14095 * BufferView_pimpl.C:
14099 * lyxfunc.C: use re-worked insetinclude
14101 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14103 * buffer.C: add using std::stringstream.
14105 * lyx_cb.C: readd using std::ios.
14107 * buffer.C: add using std::map.
14109 * BufferView_pimpl.C: add using std::vector.
14111 * ShareContainer.h: add std:: to swap.
14113 * buffer.h: add some typedefs
14114 * buffer.C (getLists): use them
14115 (getLists): renamed from getTocList.
14116 add a counter for the different float types and use it in the
14118 (getLists): use the same counter for the NEW_INSETS and the "non"
14121 * lyx_cb.h: remove unused items, includes, using etc.
14123 * ShareContainer.h: remove some commented code, add more comments
14124 and "documentation".
14126 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14128 * buffer.C (getTocList): make the list also when NEW_INSETS is
14131 * buffer.h: remove TocType
14133 * buffer.C (getTocList): change to return a map<string,
14134 vector<TocItem> >, implement for dynamic number of list.
14136 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14137 * text2.C (PasteSelection): adjust
14138 * CutAndPaste.C (pasteSelection): adjust
14140 * FloatList.C (FloatList): update from the new_insets branch.
14141 * Floating.[Ch]: ditto
14142 * LaTeXFeatures.C: ditto
14144 * lyxlex_pimpl.C: ditto
14146 * paragraph.C (Last): remove when NEW_INSETS is defined.
14148 * other file: changes because of the above.
14150 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14152 * lyxparagraph.h: rename next to next_, previous to previous_,
14153 make them private for NEW_INSETS. Rename Next() to next(),
14154 Previous() to previous().
14156 * other files: changes because of the above.
14158 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14161 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14164 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * main.C (main): pass lyx_localedir to gettext_init().
14168 * gettext.h: remove locale_init and gettext_init macros
14170 * gettext.C (locale_init): new function
14171 (gettext_init): new function
14173 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14176 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14178 * Moved credits to frontends:
14179 * credits.[Ch]: removed
14180 * credits_form.[Ch]: removed
14181 * lyx_gui_misc.C: remove credits stuff
14184 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14186 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14188 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14189 unneeded destructor.
14191 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14192 a standalone pointer again.
14194 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14196 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14202 * ToolbarDefaults.C:
14211 * BufferView_pimpl.C: use new file dialog in GUII
14214 * lyx_cb.C: remove LayoutsCB to Toolbar
14216 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * ShareContainer.h (get): add std:: qualifier
14220 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * ShareContainer.h: define a proper ShareContainer::value_type
14223 type (and use typename to please compaq cxx)
14225 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14227 * lyxparagraph.h: move serveral local vars to
14228 ParameterStruct/ParagraphParameters., use ShareContainer in
14229 FontTable., make vars in FontTable private and add getter and
14232 * paragraph.C: changes because of the above.
14234 * lyxfont.h: remove copy constructor and copy assignment. (the
14235 default ones is ok), move number inside FontBits. move inlines to
14238 * lyxfont.C: add number to initializaton of statics, move several
14239 inlines here. constify several local vars. some whitespace
14240 cleanup. Dont hide outerscope variables.
14242 * Spacing.h: add two new constructors to match the set methods.
14244 * ShareContainer.h: new file, will perhaps be moved to support
14246 * ParameterStruct.h: new file
14248 * ParagraphParameters.h: new file
14250 * ParagraphParameters.C: new file
14252 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14253 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14255 * BufferView_pimpl.C: ParagraphParameter changes.
14256 * buffer.C: Likewise.
14257 * bufferview_funcs.C: Likewise.
14258 * text.C: Likewise.
14259 * text2.C: Likewise.
14261 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14263 * lyxfind.C (LyXReplace): do not redefine default argument in
14265 (IsStringInText): ditto
14266 (SearchForward): ditto
14267 (SearchBackward): ditto
14269 2001-03-06 Juergen Vigna <jug@sad.it>
14271 * lyxfind.C (IsStringInText): put parentes around expressions.
14273 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14275 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14277 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14279 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14281 * stl_string_fwd.h: add comment
14283 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14286 * tabular.C: remove unused DocBook methods
14292 killed DO_USE_DEFAULT_LANGUAGE
14294 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * lyx_gui.C: do not include language.h.
14298 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14299 arguments in function implementation.
14301 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14303 * BufferView_pimpl.C: add <ctime>
14305 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14307 * BufferView_pimpl.C: add using std::find_if
14309 2001-02-27 José Matos <jamatos@fep.up.pt>
14311 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14314 2001-02-11 José Matos <jamatos@fep.up.pt>
14316 * buffer.C (makeDocBookFile): command styles now have a parameter as
14317 "title" by default.
14319 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14321 * layout_forms.[Ch]: removed
14322 * lyx_cb.[Ch]: out character
14323 * lyx_gui.C: out character
14324 * lyx_gui_misc.C: out character
14325 * bufferview_funcs.C: : out character,
14326 added toggleall as parameter in ToggleAndShow
14328 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14330 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14332 * text2.C (SetCurrentFont): Disable number property at boundary.
14334 2001-02-26 Juergen Vigna <jug@sad.it>
14336 * lyxfunc.C (getStatus): added a string argument override function so
14337 that this is correctly called from LyXFunc::Dispatch if it contains a
14338 do_not_use_argument which is used!
14339 (Dispatch): added check for "custom" export and call appropriate func.
14341 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14343 * lyxrc.C: Add language_command_local, language_use_babel and
14344 language_global_options.
14346 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14348 * buffer.C (makeLaTeXFile): Use language_use_babel and
14349 language_global_options.
14351 2001-02-23 Juergen Vigna <jug@sad.it>
14353 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14354 which works with LyXText and putted it inside BufferView. Here now we
14355 only call for that part the BufferView::Dispatch() function.
14357 * BufferView.C (Dispatch): added.
14359 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14360 functions which needs to use a LyXText over from LyXFunc.
14361 (MenuInsertLyXFile): added
14362 (getInsetByCode): added
14363 (moveCursorUpdate): added
14364 (static TEXT): added
14366 2001-02-22 Juergen Vigna <jug@sad.it>
14368 * BufferView_pimpl.C (update): call a status update to see if LyXText
14371 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14373 * vc-backend.C (revert): implement for CVS
14374 (getLog): implement for CVS
14376 2001-02-20 Juergen Vigna <jug@sad.it>
14378 * text2.C (ClearSelection): added BufferView param for inset_owner call
14380 * lyxfunc.C (TEXT): added this function and use it instead of
14381 directly owner->view()-text of getLyXText().
14383 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14385 * src/layout_forms.C: out preamble
14386 * src/layout_forms.h: out preamble
14387 * src/lyx_cb.C: out preamble
14388 * src/lyx_cb.h: out preamble
14389 * src/lyx_gui.C: out preamble
14390 * src/lyx_gui_misc.C: out preamble
14391 * src/lyxfunc.C: connect with guii preamble
14393 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14395 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14397 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14399 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14400 whether to run bibtex.
14402 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14404 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14406 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14408 * Makefile.am (lyx_SOURCES): removed bibforms.h
14410 * vspace.h: doxygen
14412 * text.C (GetVisibleRow): make several local vars const
14414 * tabular.C: small cleanup.
14416 * lyxserver.C (callback): use compare instead of strncmp
14418 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14419 inlines to after class or to paragraph.C
14421 * lyxfont.h: remove friend operator!=
14423 * converter.h: move friend bool operator< to non friend and after
14426 * combox.h: small cleanup
14428 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14429 to inlines after class def.
14431 * buffer.C (pop_tag): use string operations instead of strcmp
14433 * bmtable.c: doxygen, small cleanup
14435 * LaTeX.h: remove friend operator==
14437 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14449 * BufferView_pimpl.C:
14450 * BufferView.[Ch]: remove cruft
14452 2001-02-14 Juergen Vigna <jug@sad.it>
14454 * lyxfunc.C: removed #if 0 unused code
14456 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14458 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14460 * text2.C (SetSelection): added a BufferView * parameter
14462 2001-02-13 Juergen Vigna <jug@sad.it>
14464 * lyxfunc.C (Dispatch): fixed protected blank problem.
14465 * BufferView2.C (protectedBlank): added LyxText * parameter.
14467 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14468 (AppendColumn): same as above for column_info.
14470 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14471 (moveCursorUpdate): use a LyXText param for support of InsetText.
14473 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14474 (tripleClick): ditto
14476 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14478 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14480 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14482 * text2.C (SetSelection): set correct update status if inset_owner
14483 (ToggleFree): ditto
14485 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14487 * tabular.C: remove some commented code.
14489 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14491 * BufferView_pimpl.C: call hideSplash()
14493 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14496 * bibforms.h: remove
14499 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14500 add LFUN_CHILD_CREATE
14502 * counters.h: fix tiny typo
14507 * lyx.C: move splash to frontends/xforms/
14509 * lyx_gui_misc.C: move Include and Bibform to frontends
14511 * lyxvc.h: clarify comment
14513 * vspace.C: tiny housekeeping
14515 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14517 * text.C (PrepareToPrint): RTL Fix.
14519 * paragraph.C (GetUChar): New method.
14520 (String): Use GetUChar.
14522 * buffer.C (asciiParagraph): Use GetUChar.
14524 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14526 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14528 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14531 * buffer.C: rename to getLogName(), handle
14532 build log / latex log nicely
14534 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14537 * MenuBackend.h: remove support for reference menuitem type.
14539 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14541 * BufferView_pimpl.C: housekeeping
14542 * BufferView_pimpl.h:
14547 * minibuffer.h: move Timeout GUI-I
14549 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14551 * lyxrc.C (read): Update converters data-structures.
14553 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14555 * LaTeX.h (operator!=): add operator != for Aux_Info
14557 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14559 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14561 * LaTeXLog.C: deleted, useful code moved to Buffer
14564 * buffer.C: new function getLatexLogName()
14570 * lyxfunc.C: use frontends for LaTeX and VC logs
14572 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14574 * LaTeX.h: yet another std:: that Allan forgot.
14576 * Variables.C (set): renamed from isset(), because this clashes
14577 with some HP-UX macros (grr).
14579 2001-02-06 Allan Rae <rae@lyx.org>
14581 * LaTeX.h: Another bug fix. Missing std:: this time.
14583 2001-02-04 Allan Rae <rae@lyx.org>
14585 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14586 floats problem. I've left it commented out because it's not quite
14587 correct. It should also test that the current object is a table or
14588 figure inset. But I haven't gotten around to figuring out how to do
14589 that. I *think* it'll be something like: "table" == inset.type()
14591 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14594 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14596 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14597 all the citation/databases/styles in the auxilary file.
14598 (run): Rerun latex if there was a babel language error.
14600 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14602 * text.C (Backspace): Preserve the font when changing newline char
14604 (BreakParagraph): If the cursor is before a space, delete the space.
14606 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14608 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14610 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14611 new argument (code).
14612 (ChangeCitationsIfUnique): New method.
14614 * paragraph.C (GetPositionOfInset): Handle bibkey.
14616 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * BufferView_pimpl.h: change type of Position::par_pos to
14619 LyXParagraph::size_type.
14621 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14623 * BufferView_pimpl.C (savePosition, restorePosition): Write
14624 messages to minibuffer.
14626 2001-01-28 José Matos <jamatos@fep.up.pt>
14628 * buffer.C (makeDocBookFile): adds support for document language.
14629 A silly restriction on the name of LatexCommand types where removed.
14630 Added support for CDATA sections, allows to chars unescaped, used
14631 among others in code, to avoid escape < and >.
14633 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14635 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14636 saved positions instrad of a stack. Furthermore, a position is
14637 stored using paragraph id/paragraph position.
14639 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14640 Remove LFUN_REF_BACK.
14642 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14644 * converter.C (dvipdfm_options): New method.
14646 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14648 * vspace.C (isValidLength): Fix for empty input string.
14650 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * LyXAction.C (init): change description of LFUN_FIGURE to
14655 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14657 * LaTeX.C: add using directive
14659 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14661 * MenuBackend.C (expand): Fix the sorting of the formats.
14663 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14665 * lyx_main.C: tiny error message fix
14667 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14669 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14670 calling fl_initialize(). This fixes the problem with ',' as
14671 decimal separator in text files.
14673 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14675 * trans.C (process): Fix the keymap bug.
14677 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14679 * LaTeX.C (scanAuxFiles): New method. Provides support for
14680 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14681 (scanLogFile) Scan for "run BibTeX" messages.
14683 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14684 OT1 font encoding. Also, load the aecompl package if the ae
14687 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14689 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14691 * texrow.C (increasePos): turn two error messages into debug
14694 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14696 * LaTeX.C (scanAux): Handle the \@input macro.
14697 (runBibTeX): Use scanAux().
14699 * language.C (latex_options_): New field.
14701 * LaTeXFeatures.C (getMacros): Add language macros.
14703 * buffer.C (makeLaTeXFile): Small fix.
14705 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14709 * text2.C: add a using directive.
14711 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14716 * lyxfunc.C: kill LyXBell.
14718 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14720 * text.C (IsBoundary): Remove the error message
14722 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14724 * lyxrc.C (setDefaults): Correct initialization value for
14727 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14729 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14732 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14733 and GotoNextNote().
14735 * src/LyXAction.C: Added reference-next.
14737 * text.C (InsertChar): Use contains instead of strchr.
14739 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14741 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14743 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14744 alignment commands (when needed).
14746 * text.C (InsertChar): Add ':' to number separator chars.